:root {
  --bg: #f4f6fa; --panel: #ffffff; --text: #111827; --muted: #6b7280; --line: #e5e7eb;
  --brand: #2563eb; --brand-ink: #ffffff; --brand-soft: #eff4ff;
  --ok: #15803d; --ok-soft: #e8f6ec; --warn: #b45309; --warn-soft: #fdf3e2; --bad: #b91c1c; --bad-soft: #fdecec;
  --side: #0f172a; --side-text: #cbd5e1; --side-active: #1e293b;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120; --panel: #111827; --text: #e5e7eb; --muted: #9ca3af; --line: #1f2937;
    --brand: #3b82f6; --brand-soft: #172554; --ok: #4ade80; --ok-soft: #052e16; --warn: #fbbf24; --warn-soft: #3b2506;
    --bad: #f87171; --bad-soft: #3b0a0a; --side: #020617; --side-active: #111827; --shadow: none;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); text-decoration: none; }
h1 { font-size: 20px; margin: 0; }
h2 { font-size: 16px; margin: 0 0 12px; }
.boot { padding: 40px; text-align: center; color: var(--muted); }

/* Layout */
.layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-text); padding: 16px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; padding: 4px 10px 16px; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; font-size: 15px; }
.tenant { font-size: 12px; color: #94a3b8; padding: 0 10px 14px; border-bottom: 1px solid #1e293b; margin-bottom: 10px; }
.nav-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; padding: 12px 10px 4px; }
.side a { display: block; color: var(--side-text); padding: 8px 10px; border-radius: 7px; }
.side a:hover { background: var(--side-active); color: #fff; }
.side a.active { background: var(--brand); color: #fff; }
.main { min-width: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .user { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.menu-btn { display: none; }
.content { padding: 24px; max-width: 1840px; }

/* Components */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.grid { display: grid; gap: 16px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 12px; }
a.kpi-link { color: var(--text); text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
a.kpi-link:hover { border-color: var(--brand); transform: translateY(-1px); }
.kpi-hint { margin-top: 6px; opacity: 0; transition: opacity .15s; }
a.kpi-link:hover .kpi-hint, a.kpi-link:focus .kpi-hint { opacity: 1; }
.kpi .value { font-size: 26px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.two { grid-template-columns: 1fr 1fr; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

button, .btn { font: inherit; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 7px 13px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
button:hover, .btn:hover { border-color: var(--brand); }
button.primary, .btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
button.danger { color: var(--bad); }
button.sm { padding: 4px 9px; font-size: 12px; }
button:disabled { opacity: .5; cursor: not-allowed; }
input, select, textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
textarea { width: 100%; min-height: 140px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--brand-soft); }
tr.clickable { cursor: pointer; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--line); color: var(--text); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--brand-soft); color: var(--brand); }

.steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.step { padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.step.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.step.current { background: var(--brand); color: #fff; border-color: transparent; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.bar-pair { display: flex; gap: 2px; align-items: flex-end; height: 110px; }
.bar { width: 9px; border-radius: 3px 3px 0 0; }
.bar.in { background: var(--brand); }
.bar.out { background: #f59e0b; }
.bar-col span { font-size: 10px; color: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* Pre-alerta */
.pa-row { display: grid; grid-template-columns: 130px 95px 80px minmax(120px, 1fr) minmax(160px, 1.6fr) 110px 34px; gap: 8px; margin-bottom: 8px; align-items: center; }
.pa-head { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pa-sub { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 90px minmax(160px, 1fr) minmax(160px, 1.2fr); gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.pa-sub input { font-size: 12px; padding: 5px 8px; }
@media (max-width: 900px) { .pa-sub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1200px) {
  .pa-row { grid-template-columns: 1fr 1fr 1fr 1fr 34px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .pa-row [name=sku] { grid-column: 1 / 3; }
  .pa-row [name=description] { grid-column: 3 / 6; }
  .pa-row [name=unit_value] { grid-column: 4; grid-row: 1; }
  .pa-row button { grid-column: 5; grid-row: 1; }
  .pa-head { display: none; }
}
.notice { border: 1px solid var(--line); background: var(--brand-soft); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0 18px; }
.notice.ok { background: var(--ok-soft); border-color: transparent; }
.notice.warn { background: var(--warn-soft); border-color: transparent; }
.notice.bad { background: var(--bad-soft); border-color: transparent; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.step.current.hold { background: var(--bad); }
.bell { position: relative; font-size: 17px; text-decoration: none; padding: 0 4px; }
.bell span { position: absolute; top: -6px; right: -8px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 1px 5px; }
.notif { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--text); }
.notif:last-child { border-bottom: 0; }
.notif:hover { background: var(--brand-soft); }
.notif.unread { border-left: 3px solid var(--brand); background: var(--brand-soft); }
a.badge { text-decoration: none; }

/* Panel de escaneo */
.scan-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.scan-input { flex: 1; min-width: 240px; font-size: 22px; padding: 14px 16px; border-width: 2px; border-color: var(--brand); }
.scan-opts { margin-top: 10px; color: var(--muted); }
.scan-total { font-size: 14px; color: var(--muted); margin-left: 12px; }
.scan-total b { font-size: 24px; color: var(--text); }
.scan-msg { margin-top: 12px; padding: 14px 16px; border-radius: 10px; font-size: 17px; background: var(--bg); border: 1px solid var(--line); }
.scan-msg.ok { background: var(--ok-soft); border-color: var(--ok); }
.scan-msg.warn { background: var(--warn-soft); border-color: var(--warn); }
.scan-msg.bad { background: var(--bad-soft); border-color: var(--bad); }
.scan-line.ok { border-color: var(--ok); }
.scan-count { font-size: 15px; } .scan-count b { font-size: 22px; }
.bar-track { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--brand); transition: width .2s; }
.scan-line.ok .bar-fill { background: var(--ok); }
.warn-chip { border-color: var(--warn); color: var(--warn); }
.bad-chip { border-color: var(--bad); color: var(--bad); }
.gen-box { display: inline-flex; gap: 4px; align-items: center; }
.gen-box input { width: 64px; padding: 4px 6px; }
.scan-recent { max-height: 420px; overflow: auto; }
.scan-row { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.scan-row .mono { font-weight: 600; min-width: 160px; }
.scan-row button:last-child { margin-left: auto; }
.scan-missing { max-height: 200px; overflow: auto; color: var(--muted); line-height: 1.7; }

.scan-active { margin-bottom: 10px; }
.active-box { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 14px; margin-top: 4px; border-radius: 10px; background: var(--brand-soft); border: 1px solid var(--brand); font-size: 16px; }
.active-box .scan-count { margin-left: auto; }
tr.active-row td { background: var(--brand-soft); }
tr.done-row td { opacity: .65; }
.bar-fill.ok { background: var(--ok); }

/* Selector de cliente */
.client-pick { flex-direction: row; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 3px 4px 3px 12px; border: 1px solid var(--line); border-radius: 999px; }
.client-pick select { border: 0; font-weight: 600; padding: 5px 8px; border-radius: 999px; background: var(--bg); }
.client-pick.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.client-pick.on select { color: var(--brand); background: var(--panel); }
.bad-text { color: var(--bad); }

/* Avisos en pantalla */
#live-root { position: fixed; top: 64px; right: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.live { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: live-in .25s ease-out; }
.live-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.live-head .x { margin-left: auto; padding: 0 6px; font-size: 18px; border: 0; background: none; }
@keyframes live-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Bandeja de recibo */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab span { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--text); font-size: 11px; text-align: center; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tab.alert span { background: var(--bad); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 13px; }
.chip.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.kv { display: flex; gap: 18px; flex-wrap: wrap; }
.kv div { min-width: 110px; }
.kv b { font-size: 22px; display: block; font-variant-numeric: tabular-nums; }

.lines-row .serial-box { grid-column: 1 / -1; min-height: 70px; }

/* Seriales */
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
textarea.serial-box { min-height: 80px; font-size: 13px; }
.pa-row .pa-serials { grid-column: 1 / -1; font-size: 12px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 12px; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid var(--panel); }
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.slabel { background: #fff; color: #000; border: 1px dashed #9ca3af; border-radius: 6px; padding: 8px 10px; text-align: center; break-inside: avoid; }
.slabel svg { width: 100%; height: 46px; display: block; margin: 4px 0 2px; }
.lbl-top { display: flex; justify-content: space-between; font-size: 12px; }
.lbl-name { font-size: 11px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbl-serial { font: 700 14px ui-monospace, Consolas, monospace; letter-spacing: .5px; }
.lbl-ref { font-size: 10px; color: #444; }
@media print { .labels { grid-template-columns: repeat(3, 1fr); gap: 4mm; } .slabel { border-color: #000; } }

/* Fotos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.thumb { padding: 0; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; border-radius: 8px; white-space: normal; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--bg); }
.thumb span { font-size: 11px; padding: 5px 6px; text-align: left; color: var(--muted); }
.thumb.dano { border-color: var(--bad); }
.thumb.dano span { color: var(--bad); font-weight: 600; }
.photo-full { text-align: center; background: var(--bg); border-radius: 8px; }
.photo-full img { max-width: 100%; max-height: 68vh; display: inline-block; }
.photo-inputs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photo-inputs label.btn { flex-direction: row; font-size: 14px; color: var(--text); }

/* Lines editor */
.lines-row { display: grid; grid-template-columns: 1fr 120px 34px; gap: 8px; margin-bottom: 8px; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: var(--panel); border-radius: 12px; width: min(720px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.modal header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal header h2 { margin: 0; }
.modal .body { padding: 20px; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.x { border: 0; font-size: 20px; padding: 2px 8px; }

#toast-root { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: #111827; color: #fff; padding: 11px 16px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: 380px; }
.toast.error { background: var(--bad); }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login .card { width: min(380px, 100%); padding: 28px; }
.login h1 { margin-bottom: 4px; }
.login form { display: grid; gap: 14px; margin-top: 20px; }

/* Print: solo el área imprimible */
.print-only { display: none; }
@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; color: #000; }
  .print-area .no-print { display: none; }
  .print-only { display: block; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 250px; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .two { grid-template-columns: 1fr; }
  .content, .top { padding: 14px 16px; }
  .lines-row { grid-template-columns: 1fr 90px 34px; }
}

/* Logos de clientes */
.client-logo { margin: 0 10px 14px; display: grid; place-items: center; }
.client-logo img { max-height: 90px; max-width: 100%; }

/* Buscador de pedidos y panel por pedido (escaneo de recepción) */
.po-finder { border: 2px solid var(--brand); }
.po-finder-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.po-results { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.po-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; font-size: 14px; }
.po-chip:hover { border-color: var(--brand); }
.po-chip.done { opacity: .65; }
.po-chip-count { font-weight: 700; margin-left: 4px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; text-decoration: underline; cursor: pointer; }
.po-head-grid { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; }
.po-big { font-size: 24px; font-weight: 700; }
.ok-text { color: #16a34a; }
.po-serial-list { max-height: 260px; overflow-y: auto; }

/* Botón naranja "Modificar" (línea ya cuadra) */
.btn.orange, button.orange { background: #f97316; border-color: #f97316; color: #fff; }
.btn.orange:hover, button.orange:hover { background: #ea580c; border-color: #ea580c; }

/* Sub-panel flotante (series de una línea) */
.popover { position: absolute; z-index: 60; width: min(360px, calc(100vw - 16px)); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.35); padding: 12px 14px; }
.popover .pop-x { position: absolute; top: 6px; right: 8px; }
.pop-head { display: flex; flex-direction: column; gap: 2px; padding-right: 26px; margin-bottom: 8px; }
.pop-list { max-height: 260px; overflow-y: auto; display: grid; gap: 4px; }
.pop-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; background: var(--bg); }

/* Botones de cada línea del recibo: uno debajo del otro para que quepan completos */
.line-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.line-actions .btn, .line-actions button { justify-content: center; }
/* Tabla del recibo: la columna de botones queda fija a la derecha aunque la tabla se desplace */
.recv-table td:last-child, .recv-table th:last-child { position: sticky; right: 0; background: var(--panel); box-shadow: -6px 0 8px -6px rgba(0,0,0,.45); z-index: 1; }
.recv-table th:last-child { background: var(--bg); z-index: 2; }
.recv-table tr.active-row td:last-child { background: var(--brand-soft); }
/* Series en cuadros individuales (Contar) */
.sf-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.sf-list { display: grid; gap: 6px; max-height: 280px; overflow-y: auto; padding: 2px; }
.sf-row { display: flex; align-items: center; gap: 8px; }
.sf-row input { flex: 1; }
.sf-n { width: 28px; text-align: right; color: var(--muted); font-size: 12px; }
.sf-row input.sf-bad { border-color: var(--bad); outline-color: var(--bad); }
/* Barra de ubicación masiva */
.bulk-bar { border: 2px solid var(--brand); display: grid; gap: 10px; }
.bulk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.bulk-row label { display: flex; align-items: center; gap: 8px; }
.bulk-row select { min-width: 260px; }
.pa-check { width: 18px; height: 18px; cursor: pointer; }
/* Solicitud de picking (Almacén) */
.pk-modes { display: grid; gap: 10px; margin-bottom: 14px; }
.pk-mode { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pk-mode:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pk-mode.disabled { opacity: .55; cursor: not-allowed; }
.pk-mode input { margin-top: 4px; }
.wh-chk, #wh-all { width: 18px; height: 18px; cursor: pointer; }
/* Checklist: fila que sigue después de marcar */
tr.next-row td { background: var(--brand-soft); transition: background .2s; }
tr.next-row td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
/* Picking: modos de solicitud y POD */
.pk-modes.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
a.pk-mode { color: var(--text); text-decoration: none; }
.pk-mode.on { border-color: var(--brand); background: var(--brand-soft); }
.pod-list { display: grid; gap: 8px; }
.pod-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.pod-row span:first-child { flex: 1; }

/* Logo de Navi (blanco y verde con fondo transparente) */
.login-navi { display: grid; place-items: center; padding: 18px 10px; border-radius: 12px; margin-bottom: 10px; }
.login-navi img { width: 230px; max-width: 100%; }
@media (prefers-color-scheme: light) { .login-navi { background: #07073f; } }
.side-navi { padding: 4px 10px 14px; }
.side-navi img { width: 130px; display: block; }
