/* ==========================================================
   Conexta - Portal (admin + acceso)
   Prefijos: pt- (portal), au- (acceso)
   ========================================================== */
:root {
  --mint: #5FD6B0;
  --mint-d: #22B594;
  --ink: #0f2a22;
  --ink-2: #4b6159;
  --ink-3: #7b8f87;
  --line: #e1ebe6;
  --bg: #f4f8f6;
  --surface: #ffffff;
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --ok-bg: #e3f6ee; --ok-fg: #0d6b4d;
  --info-bg: #e5effb; --info-fg: #1d5aa8;
  --warn-bg: #fff3dc; --warn-fg: #8a5a00;
  --err-bg: #fde8e6; --err-fg: #a02a1f;
  --ad-bg: #ffe9df; --ad-fg: #a8431a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,42,34,.06), 0 8px 24px rgba(15,42,34,.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8f2ee; --ink-2: #b4c7be; --ink-3: #8aa196;
    --line: #26413a; --bg: #0c1a16; --surface: #12251f;
    --s1: #5a9bec; --s2: #f0875c; --s3: #3cc795;
    --ok-bg: #12382c; --ok-fg: #7fe3bd;
    --info-bg: #14304f; --info-fg: #9cc5f5;
    --warn-bg: #3d2f10; --warn-fg: #f0c874;
    --err-bg: #43201c; --err-fg: #f4a59c;
    --ad-bg: #44261a; --ad-fg: #f4a98a;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
.pt-body, .au-body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
.pt-body h1, .pt-body h2, .pt-body h3, .au-wrap h2 { font-family: Sora, Manrope, sans-serif; margin: 0; }
.pt-muted { color: var(--ink-2); }
small.pt-muted, .pt-muted small { font-size: .82rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Shell ---------- */
.pt-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.pt-side { background: var(--surface); border-right: 1px solid var(--line); padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: .5rem; position: sticky; top: 0; height: 100vh; }
.pt-side-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: Sora, sans-serif; font-weight: 700; font-size: 1.25rem; padding: .25rem .5rem; }
.pt-side-brand b { color: var(--mint-d); }
.pt-side-role { margin: .25rem .5rem 1rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pt-nav { display: flex; flex-direction: column; gap: .15rem; }
.pt-nav-link { display: flex; align-items: center; gap: .7rem; padding: .65rem .75rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s; }
.pt-nav-link:hover { background: var(--bg); color: var(--ink); }
.pt-nav-link.is-active { background: var(--ok-bg); color: var(--ok-fg); }
.pt-nav-link:focus-visible, .pt-btn:focus-visible, .pt-input:focus-visible, .pt-logout:focus-visible, .pt-seg-item:focus-within { outline: 3px solid var(--s1); outline-offset: 2px; }
.pt-side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .75rem; }
.pt-user { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.pt-user-text { display: flex; flex-direction: column; min-width: 0; }
.pt-user-text strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-user-text small { color: var(--ink-3); }
.pt-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--mint-d)); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.pt-logout { width: 100%; background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 10px; padding: .55rem; font: inherit; font-weight: 600; cursor: pointer; }
.pt-logout:hover { background: var(--bg); color: var(--ink); }

.pt-main { min-width: 0; display: flex; flex-direction: column; }
.pt-top { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.75rem; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.pt-page-title { font-size: 1.35rem; flex: 1; }
.pt-demo-tag { font-size: .75rem; font-weight: 700; background: var(--warn-bg); color: var(--warn-fg); padding: .3rem .7rem; border-radius: 999px; }
.pt-burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.pt-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }
.pt-content { padding: 1.5rem 1.75rem 3rem; display: grid; gap: 1.25rem; align-content: start; max-width: 1280px; width: 100%; }

/* ---------- Cards / layout ---------- */
.pt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--shadow); min-width: 0; }
.pt-card-head { margin-bottom: 1rem; }
.pt-card-head h2 { font-size: 1.05rem; }
.pt-card-head p { margin: .2rem 0 0; font-size: .9rem; }
.pt-card-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pt-count { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.pt-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pt-toolbar p, .pt-lead { margin: 0; }
.pt-more { margin: .75rem 0 0; font-size: .85rem; }
.pt-quick { margin: 0; font-size: .9rem; }
.pt-quick a { color: var(--s1); font-weight: 600; }
.pt-empty-card { text-align: center; padding: 2.5rem 1rem; }

/* ---------- KPIs ---------- */
.pt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.pt-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.pt-kpi p { margin: 0; }
.pt-kpi-label { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.pt-kpi-value { font-family: Sora, sans-serif; font-size: 1.9rem; font-weight: 700; margin: .15rem 0 !important; font-variant-numeric: tabular-nums; }
.pt-kpi-foot { font-size: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pt-delta { font-weight: 700; }
.pt-delta.is-up { color: var(--ok-fg); }
.pt-delta.is-down { color: var(--err-fg); }

/* ---------- Charts ---------- */
.pt-chart { position: relative; height: 260px; }
.pt-chart-wide { height: 300px; }
.pt-data { margin-top: .75rem; font-size: .9rem; }
.pt-data summary { cursor: pointer; color: var(--s1); font-weight: 600; }
.pt-data[open] > div { max-height: 260px; overflow: auto; margin-top: .5rem; }

/* ---------- Tables ---------- */
.pt-table-wrap { overflow-x: auto; }
.pt-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pt-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: .6rem .7rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pt-table th.num { text-align: right; }
.pt-table td { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pt-table tbody tr:hover { background: var(--bg); }
.pt-table-sm td, .pt-table-sm th { padding: .35rem .6rem; }
.pt-empty { text-align: center; color: var(--ink-2); padding: 1.5rem !important; }

/* ---------- Chips ---------- */
.pt-chip { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--bg); color: var(--ink-2); vertical-align: middle; }
.pt-chip-ok { background: var(--ok-bg); color: var(--ok-fg); }
.pt-chip-info { background: var(--info-bg); color: var(--info-fg); }
.pt-chip-muted { background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.pt-chip-ad { background: var(--ad-bg); color: var(--ad-fg); }

/* ---------- Forms ---------- */
.pt-filters { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-end; }
.pt-field { display: flex; flex-direction: column; gap: .3rem; min-width: 150px; }
.pt-field-grow { flex: 1; min-width: 200px; }
.pt-field-actions { flex-direction: row; gap: .5rem; min-width: 0; }
.pt-field label, .pt-fieldset legend { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.pt-input { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; width: 100%; }
.pt-input:disabled { background: var(--bg); color: var(--ink-3); }
textarea.pt-input { resize: vertical; }
.pt-btn { font: inherit; font-weight: 700; border-radius: 10px; padding: .6rem 1.1rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s, background .15s; }
.pt-btn-primary { background: var(--mint-d); color: #fff; }
.pt-btn-primary:hover:not(:disabled) { background: #1c9d81; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(34,181,148,.3); }
.pt-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.pt-btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.pt-btn-ghost:hover { background: var(--bg); }

.pt-seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.pt-seg-item { padding: .4rem .9rem; border-radius: 8px; font-weight: 700; font-size: .88rem; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.pt-seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.pt-seg-item.is-active, .pt-seg-item:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.pt-form { display: grid; gap: 1.25rem; }
.pt-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .8rem; min-width: 0; }
.pt-fieldset legend { padding: 0; margin-bottom: .5rem; font-size: .95rem; color: var(--ink); font-family: Sora, sans-serif; }
.pt-radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.pt-radio-card { border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; cursor: pointer; display: flex; gap: .6rem; align-items: flex-start; }
.pt-radio-card small { display: block; color: var(--ink-2); font-size: .78rem; }
.pt-radio-card:has(input:checked) { border-color: var(--mint-d); background: var(--ok-bg); }
.pt-radio-card input { margin-top: .3rem; accent-color: var(--mint-d); }
.pt-check { display: flex; gap: .6rem; align-items: center; font-size: .92rem; }
.pt-check input[type=checkbox] { accent-color: var(--mint-d); width: 18px; height: 18px; }
.pt-check input[type=hidden] { display: none; }
.pt-opt-list { display: grid; gap: .5rem; }
.pt-opt-row { display: flex; gap: .5rem; }
.pt-form-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
[hidden] { display: none !important; }

.pt-create { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; }
.pt-preview { position: sticky; top: 90px; }
.pt-preview h2 { font-size: 1rem; margin-bottom: .8rem; }
.pt-pv { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; display: grid; gap: .5rem; }
.pt-pv header { display: flex; gap: .6rem; align-items: center; }
.pt-pv h3 { font-size: 1rem; overflow-wrap: anywhere; }
.pt-pv p { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.pt-pv-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pt-pv-opts li { border: 1px solid var(--line); border-radius: 8px; padding: .4rem .7rem; font-size: .88rem; }
.pt-pv-opts .pt-pv-q { border: 0; padding: 0; font-weight: 700; }

/* ---------- Bulk / schedule ---------- */
.pt-steps { margin: 0 0 .75rem; padding-left: 1.2rem; display: grid; gap: .8rem; }
.pt-upload { display: grid; gap: .5rem; }
.pt-sched { list-style: none; margin: 0; padding: 0; display: grid; }
.pt-sched li { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.pt-sched li:last-child { border-bottom: 0; }
.pt-sched-time { font-family: Sora, sans-serif; font-weight: 700; font-size: 1.1rem; min-width: 64px; font-variant-numeric: tabular-nums; }
.pt-sched-body { flex: 1; display: grid; gap: .15rem; min-width: 0; }

/* ---------- Alerts ---------- */
.pt-alert { border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; }
.pt-alert ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.pt-alert-ok { background: var(--ok-bg); color: var(--ok-fg); }
.pt-alert-error { background: var(--err-bg); color: var(--err-fg); }
.pt-alert-warn { background: var(--warn-bg); color: var(--warn-fg); }

/* ==========================================================
   Acceso (login / recuperar)
   ========================================================== */
.au-body { min-height: 100vh; }
.au-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.au-brand { position: relative; overflow: hidden; background: linear-gradient(145deg, #1c9d81 0%, #22B594 45%, #5FD6B0 100%); color: #fff; display: grid; place-items: end center; padding: 3rem 2rem; }
.au-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.au-node { transform-box: fill-box; transform-origin: center; animation: au-pulse 3.2s ease-in-out infinite; }
.au-node-main { animation-duration: 4s; }
@keyframes au-pulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.35); opacity: .6; } }
.au-brand-copy { position: relative; text-align: center; max-width: 360px; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.au-brand-word { font-family: Sora, sans-serif; font-size: 2.4rem; font-weight: 700; }
.au-brand-word b { color: #0f2a22; }
.au-brand-copy p { margin: .5rem 0 0; font-size: 1.05rem; }
.au-panel, .au-solo { display: grid; place-items: center; padding: 2rem 1.25rem; background: var(--bg); min-height: 100vh; }
.au-solo { min-height: 100vh; }
.au-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: .9rem; }
.au-card h2 { font-size: 1.55rem; }
.au-sub { margin: 0; color: var(--ink-2); }
.au-back { color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 600; }
.au-back:hover { color: var(--ink); }
.au-form { display: grid; gap: 1rem; margin-top: .25rem; }
.au-field { position: relative; display: block; }
.au-field input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 1.35rem .9rem .5rem; transition: border-color .15s, box-shadow .15s; }
.au-field input:focus { outline: none; border-color: var(--mint-d); box-shadow: 0 0 0 4px rgba(34,181,148,.18); }
.au-field span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; transition: all .15s ease; font-size: 1rem; }
.au-field input:focus + span,
.au-field input:not(:placeholder-shown) + span { top: .8rem; font-size: .72rem; font-weight: 700; color: var(--mint-d); }
.au-eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--ink-2); font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; padding: .3rem .5rem; }
.au-link { color: var(--s1); font-weight: 600; font-size: .9rem; text-decoration: none; justify-self: start; }
.au-link:hover { text-decoration: underline; }
.au-submit { width: 100%; padding: .8rem; font-size: 1rem; }
.au-note { margin: 0; font-size: .82rem; color: var(--ink-2); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .au-node { animation: none; }
  .pt-btn, .au-field span, .au-field input, .pt-nav-link { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pt-create { grid-template-columns: 1fr; }
  .pt-preview { position: static; }
  .pt-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pt-shell { grid-template-columns: 1fr; }
  .pt-side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 20; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); }
  .is-nav-open .pt-side { transform: none; }
  .pt-burger { display: block; }
  .pt-top, .pt-content { padding-left: 1rem; padding-right: 1rem; }
  .pt-radio-cards { grid-template-columns: 1fr; }
  .au-wrap { grid-template-columns: 1fr; }
  .au-brand { min-height: 190px; padding: 1rem; }
  .au-brand-copy { margin-top: 0; }
  .au-net { display: none; }
  .au-panel { min-height: 0; }
}

/* ---------- Paginación, imágenes adjuntas, ayuda ---------- */
.pt-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .5rem 0; }
.pt-imgs { display: flex; flex-wrap: wrap; gap: .6rem; }
.pt-img { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.pt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-img button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(15,42,34,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.pt-img-status { font-size: .82rem; min-height: 1.2em; }
.pt-img-status.is-error { color: var(--err-fg); }
.pt-seg-item:has(input:disabled) { opacity: .5; cursor: not-allowed; }


/* ---------- Gestionar publicación ---------- */
.pt-link { color: var(--s1); text-decoration: none; font-weight: 700; }
.pt-link:hover { text-decoration: underline; }
.pt-btn-sm { padding: .3rem .75rem; font-size: .82rem; }
.pt-btn-danger { background: #c4382b; color: #fff; }
.pt-btn-danger:hover:not(:disabled) { background: #a02a1f; }
.pt-chip-err { background: var(--err-bg); color: var(--err-fg); }
.pt-manage .pt-form { gap: .9rem; }
textarea.pt-input { resize: vertical; }

.pt-manage { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.pt-manage-side { display: grid; gap: 1.25rem; min-width: 0; }
@media (max-width: 900px) { .pt-manage { grid-template-columns: minmax(0, 1fr); } }

.pt-phone { max-width: 340px; margin: 0 auto; background: #0f2a22; border-radius: 34px; padding: 14px 10px 18px; box-shadow: var(--shadow); }
.pt-phone-notch { width: 84px; height: 6px; border-radius: 6px; background: #2a463d; margin: 0 auto 10px; }
.pt-phone-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 1rem; max-height: 560px; overflow: auto; }
.pt-phone-author { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.pt-phone-author small { color: var(--ink-3); }
.pt-phone-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.pt-phone-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .5rem; }
.pt-phone-title { font-family: Sora, sans-serif; font-size: 1.02rem; margin: .2rem 0 .4rem; }
.pt-phone-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; margin: 0 0 .6rem; }
.pt-phone-price { font-weight: 800; color: var(--mint-d); margin: 0 0 .6rem; }
.pt-phone-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-bottom: .6rem; }
.pt-phone-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pt-phone-images img:only-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.pt-phone-survey { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; display: grid; gap: .4rem; margin-bottom: .6rem; font-size: .9rem; }
.pt-phone-option { border: 1px solid var(--line); border-radius: 10px; padding: .45rem .65rem; }
.pt-phone-stats { display: flex; gap: 1rem; color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--line); padding-top: .6rem; }

/* ---------- Cola de revisión ---------- */
.pt-chip-warn { background: var(--warn-bg); color: var(--warn-fg); }
.pt-review { display: grid; gap: 1rem; }
.pt-review-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pt-review-body { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .pt-review-body { grid-template-columns: minmax(0, 1fr); } }
.pt-review-list { padding: .6rem; max-height: 75vh; overflow: auto; }
.pt-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pt-queue-item { width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .8rem; cursor: pointer; display: grid; gap: .25rem; }
.pt-queue-item:hover { background: var(--bg); }
.pt-queue-item.is-selected { border-color: var(--mint-d); box-shadow: 0 0 0 2px rgba(34,181,148,.25); }
.pt-queue-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-queue-meta { font-size: .8rem; color: var(--ink-3); }
.pt-review-stage { min-height: 320px; }
.pt-review-panel { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 1100px) { .pt-review-panel { grid-template-columns: minmax(0, 1fr); } }
.pt-review.is-wide { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 1rem 1.25rem; overflow: auto; }
.pt-review.is-wide .pt-review-list { max-height: calc(100vh - 6rem); }
.pt-review.is-wide .pt-phone { max-width: 400px; }
.pt-review.is-wide .pt-phone-card { max-height: calc(100vh - 9rem); }
.pt-review:fullscreen { background: var(--bg); padding: 1rem 1.25rem; overflow: auto; }

/* ---------- Cuentas a borrar ---------- */
.pt-tabs { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.pt-tab { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 700; background: var(--surface); }
.pt-tab.is-active { background: var(--mint-d); border-color: var(--mint-d); color: #fff; }
.pt-row-urgent { background: var(--err-bg); }
.pt-timeline { list-style: none; margin: .5rem 0 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.pt-timeline li { position: relative; display: grid; gap: .1rem; }
.pt-timeline li::before { content: ""; position: absolute; left: -1.38rem; top: .35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--line); border: 2px solid var(--surface); }
.pt-timeline li.is-done::before { background: var(--mint-d); }
.pt-timeline time { font-weight: 700; font-size: .9rem; }
