/* /funcionalidades/recuperacion-de-la-organizacion/ — Organization recovery
   inside Settings. What pantallas-demo.css does not already draw: the
   settings shell and its sidebar (components/settings-shell.tsx), and the
   recovery panel's own pieces — the shaded strip that says where packages
   are stored, the points table with its small-capital header and stacked
   cells, the schedule's four facts, and the list of operations. */

.pn-frame[data-screen="organization-recovery"] .st-shell {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ---------- the settings sidebar ---------- */

.pn-frame[data-screen="organization-recovery"] .st-nav {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  gap: 1px;
}

.pn-frame[data-screen="organization-recovery"] .st-nav-head {
  padding: 10px 8px 4px;
  color: var(--ac-dim);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pn-frame[data-screen="organization-recovery"] .st-nav-head:first-child { padding-top: 0; }

.pn-frame[data-screen="organization-recovery"] .st-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--ac-mut);
  font-size: 10.5px;
  white-space: nowrap;
}

.pn-frame[data-screen="organization-recovery"] .st-nav-item em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pn-frame[data-screen="organization-recovery"] .st-nav-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: var(--ac-dim);
}

.pn-frame[data-screen="organization-recovery"] .st-nav-item.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
  color: var(--ac-ink);
  font-weight: 550;
}

.pn-frame[data-screen="organization-recovery"] .st-nav-item.is-on .st-nav-icon { color: var(--ac-accent); }

.pn-frame[data-screen="organization-recovery"] .st-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pn-frame[data-screen="organization-recovery"] .pn-card-head { align-items: center; }
.pn-frame[data-screen="organization-recovery"] .pn-card-head > .md-btn,
.pn-frame[data-screen="organization-recovery"] .pn-card-head > .md-ibtn { flex-shrink: 0; }

/* ---------- where the packages are stored ---------- */

.pn-frame[data-screen="organization-recovery"] .rc-storage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 10px 24px;
  padding: 13px 19px;
  border-bottom: 1px solid var(--ac-line);
  background: #fafafb;
}

.pn-frame[data-screen="organization-recovery"] .rc-storage-title {
  color: var(--ac-ink);
  font-size: 11px;
  font-weight: 550;
}

.pn-frame[data-screen="organization-recovery"] .rc-storage-body {
  margin-top: 3px;
  color: var(--ac-mut);
  font-size: 10.5px;
  line-height: 1.45;
}

.pn-frame[data-screen="organization-recovery"] .rc-storage-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  font-size: 9.5px;
}

.pn-frame[data-screen="organization-recovery"] .rc-storage-facts dt,
.pn-frame[data-screen="organization-recovery"] .rc-schedule dt { color: var(--ac-dim); }

.pn-frame[data-screen="organization-recovery"] .rc-storage-facts,
.pn-frame[data-screen="organization-recovery"] .rc-schedule,
.pn-frame[data-screen="organization-recovery"] .rc-storage-facts dd,
.pn-frame[data-screen="organization-recovery"] .rc-schedule dd { margin: 0; }

.pn-frame[data-screen="organization-recovery"] .rc-storage-facts dd {
  margin-top: 2px;
  color: var(--ac-ink);
  font-weight: 550;
  line-height: 1.4;
}

/* ---------- the points ---------- */

.pn-frame[data-screen="organization-recovery"] .rc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pn-frame[data-screen="organization-recovery"] .rc-table th {
  padding: 7px 13px;
  border-bottom: 1px solid var(--ac-line);
  color: var(--ac-dim);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.pn-frame[data-screen="organization-recovery"] .rc-table th.is-right { text-align: right; }

.pn-frame[data-screen="organization-recovery"] .rc-table td {
  padding: 7px 13px;
  border-bottom: 1px solid var(--ac-line);
  font-size: 11px;
  vertical-align: middle;
}

.pn-frame[data-screen="organization-recovery"] .rc-table tr:last-child td { border-bottom: 0; }

.pn-frame[data-screen="organization-recovery"] .rc-name {
  display: block;
  overflow: hidden;
  color: var(--ac-ink);
  font-size: 10.5px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn-frame[data-screen="organization-recovery"] .rc-faint,
.pn-frame[data-screen="organization-recovery"] .rc-comments {
  display: block;
  margin-top: 1px;
  color: var(--ac-dim);
  font-size: 9.5px;
  line-height: 1.4;
}

.pn-frame[data-screen="organization-recovery"] .rc-comments { color: var(--ac-mut); }
.pn-frame[data-screen="organization-recovery"] .rc-muted { color: var(--ac-mut); }
.pn-frame[data-screen="organization-recovery"] .rc-num { font-variant-numeric: tabular-nums; }

.pn-frame[data-screen="organization-recovery"] .rc-acts {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.pn-frame[data-screen="organization-recovery"] .rc-act {
  width: 13px;
  height: 13px;
  color: var(--ac-mut);
}

.pn-frame[data-screen="organization-recovery"] .rc-act.is-danger { color: var(--ac-bad); }

/* ---------- the schedule ---------- */

.pn-frame[data-screen="organization-recovery"] .rc-schedule {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
}

.pn-frame[data-screen="organization-recovery"] .rc-schedule dd {
  margin-top: 3px;
  color: var(--ac-ink);
}

/* ---------- the operations ---------- */

.pn-frame[data-screen="organization-recovery"] .rc-jobs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pn-frame[data-screen="organization-recovery"] .rc-job {
  padding: 10px 19px;
  border-bottom: 1px solid var(--ac-line);
}

.pn-frame[data-screen="organization-recovery"] .rc-job-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ac-ink);
  font-size: 11px;
}

.pn-frame[data-screen="organization-recovery"] .rc-job-title b { font-weight: 550; }

.pn-frame[data-screen="organization-recovery"] .rc-muted-xs,
.pn-frame[data-screen="organization-recovery"] .rc-faint-xs {
  margin-top: 3px;
  color: var(--ac-mut);
  font-size: 9.5px;
}

.pn-frame[data-screen="organization-recovery"] .rc-faint-xs { color: var(--ac-dim); }
