/* ===== Sistema TASAVAL — estilos ===== */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(../vendor/fonts/manrope-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(../vendor/fonts/manrope-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(../vendor/fonts/manrope-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(../vendor/fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(../vendor/fonts/manrope-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap; src: url(../vendor/fonts/fraunces-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Fraunces; font-weight: 700; font-display: swap; src: url(../vendor/fonts/fraunces-latin-700-normal.woff2) format('woff2'); }

:root {
  --navy: #0F2A44; --navy-2: #163a5c; --navy-3: #1f4a73;
  --gold: #B8893B; --gold-l: #D4A95A; --gold-d: #8C6420;
  --ivory: #F7F4EE; --bg: #F4F2ED; --card: #FFFFFF;
  --ink: #17212B; --muted: #5B6470; --line: #E3DED4; --line-2: #EEEAE2;
  --ok: #1F8A5B; --ok-bg: #E4F4EC; --warn: #B7791F; --warn-bg: #FBF0DC;
  --bad: #C0392B; --bad-bg: #FBE6E3; --info: #2563A8; --info-bg: #E3EDF8;
  --radius: 12px; --shadow: 0 1px 2px rgba(15,42,68,.06), 0 4px 16px rgba(15,42,68,.06);
  --font: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 700; color: var(--navy); }
h3 { font-size: 14px; font-weight: 700; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mono { font-variant-numeric: tabular-nums; }
.bad-text { color: var(--bad); font-weight: 600; }
.ok-text { color: var(--ok); font-weight: 600; }

/* Boot & login */
.boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); background: var(--ivory); }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ivory); }
.login-brand { background: var(--navy); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-brand h2 { color: #fff; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.1; margin: 28px 0 12px; }
.login-brand h2 em { color: var(--gold-l); font-style: normal; }
.login-brand p { color: #c9d4e0; max-width: 420px; }
.brand-row { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; letter-spacing: .14em; }
.login-form-wrap { display: grid; place-content: center; padding: 32px 20px; }
.login-card { width: min(380px, 92vw); }
.login-card h1 { margin-bottom: 6px; }
.login-card form { display: grid; gap: 14px; margin-top: 22px; }
.login-links { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; }
@media (max-width: 820px) { .login { grid-template-columns: 1fr; } .login-brand { padding: 28px 22px; } .login-brand h2 { font-size: 28px; margin-top: 18px; } .login-brand .hide-sm { display: none; } }

/* Shell */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: var(--navy); color: #d6dfe9; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; z-index: 30; }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; font-family: var(--serif); font-size: 19px; letter-spacing: .14em; }
.sb-brand small { display: block; font-family: var(--font); font-size: 9.5px; letter-spacing: .22em; color: var(--gold-l); margin-top: 2px; }
.sb-nav { flex: 1; overflow-y: auto; padding: 6px 10px 12px; }
.sb-group { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8aa0b8; margin: 14px 10px 6px; }
.sb-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #d6dfe9; font-weight: 500; }
.sb-link:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.sb-link.active { background: rgba(212,169,90,.16); color: #fff; box-shadow: inset 3px 0 0 var(--gold-l); }
.sb-link .ico { width: 18px; text-align: center; opacity: .9; }
.sb-link .count { margin-left: auto; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.sb-link .count.gold { background: var(--gold); }
.sb-foot { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8aa0b8; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 24px; background: rgba(244,242,237,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { position: relative; flex: 1; max-width: 520px; }
.search input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B6470' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 11px center; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 380px; overflow: auto; z-index: 50; }
.search-results a { display: block; padding: 9px 12px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.search-results a:hover, .search-results a.sel { background: var(--ivory); text-decoration: none; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 99px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; font-weight: 700; font-size: 12px; }
.demo-banner { background: var(--warn-bg); color: #6b4a12; border-bottom: 1px solid #efd9ad; padding: 8px 24px; font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.view { padding: 22px 24px 60px; max-width: 1400px; width: 100%; }
.only-mobile { display: none; }
.sidebar-backdrop { display: none; }
@media (max-width: 900px) {
  .only-mobile { display: inline-grid; }
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .sidebar.open { transform: none; }
  .sidebar-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 25; }
  .topbar { padding: 8px 12px; }
  .view { padding: 16px 14px 70px; }
  .user-chip .uname { display: none; }
}

/* Page header */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--ink); text-decoration: none !important; }
.btn:hover { border-color: #cfc7b8; background: #fdfcfa; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--gold-d); }
.btn.danger { color: var(--bad); }
.btn.danger.solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(15,42,68,.06); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-grid; place-content: center; font-size: 16px; }

/* Cards & grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.card-b { padding: 14px 16px 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.span2 { grid-column: span 2; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .span2 { grid-column: auto; } }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi .val { font-size: 24px; font-weight: 800; color: var(--navy); margin-top: 4px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi .foot { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.bad .val { color: var(--bad); } .kpi.ok .val { color: var(--ok); } .kpi.gold .val { color: var(--gold-d); }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--navy); opacity: .9; }
.kpi.bad::before { background: var(--bad); } .kpi.ok::before { background: var(--ok); } .kpi.gold::before { background: var(--gold); }
a.kpi:hover { text-decoration: none; border-color: #cfc7b8; }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-l)); border-radius: 99px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FBFAF7; white-space: nowrap; position: sticky; top: 0; }
table.t th.sortable { cursor: pointer; user-select: none; }
table.t th.sortable:hover { color: var(--navy); }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #FBF8F2; }
table.t tfoot td { font-weight: 700; background: #FBFAF7; border-top: 1px solid var(--line); }
table.t .code { font-weight: 700; color: var(--navy); white-space: nowrap; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: var(--muted); font-size: 12.5px; gap: 8px; flex-wrap: wrap; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--line-2); color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.nodot::before { display: none; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px; border-bottom: 1px solid var(--line-2); }
.filters input, .filters select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.filters input[type=search] { flex: 1; min-width: 180px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: transparent; padding: 7px 12px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--navy); color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--navy); border-bottom-color: var(--gold); }

/* Forms */
.form { display: grid; gap: 14px; }
.fgrid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 12px 14px; }
.field { display: grid; gap: 5px; grid-column: span 4; min-width: 0; }
.field.c1 { grid-column: span 1; } .field.c5 { grid-column: span 5; } .field.c2 { grid-column: span 2; } .field.c3 { grid-column: span 3; } .field.c6 { grid-column: span 6; } .field.c8 { grid-column: span 8; } .field.c12 { grid-column: span 12; }
@media (max-width: 760px) { .field, .field.c1, .field.c5, .field.c2, .field.c3, .field.c6, .field.c8 { grid-column: span 12; } }
.field label { font-size: 12px; font-weight: 700; color: var(--muted); }
.field label .req { color: var(--bad); }
.field input, .field select, .field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus, .search input:focus { outline: 2px solid rgba(184,137,59,.35); border-color: var(--gold); }
.field .hint { font-size: 11.5px; color: var(--muted); }
.field.check { display: flex; align-items: center; gap: 8px; padding-top: 22px; }
.field.check input { width: auto; }
.field.check label { font-size: 13px; color: var(--ink); font-weight: 600; }
.fsection { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fsection > h3 { padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.fsection > .fgrid { padding: 14px 16px 16px; }
.inline-calc { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); grid-column: span 12; background: var(--ivory); border-radius: 8px; padding: 8px 12px; }
.inline-calc b { color: var(--navy); }
.sticky-actions { position: sticky; bottom: 0; background: rgba(244,242,237,.95); backdrop-filter: blur(6px); padding: 12px 0; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 6px; z-index: 5; }

/* Detail */
.dl { display: grid; grid-template-columns: 150px 1fr; gap: 7px 12px; font-size: 13px; }
.dl dt { color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; word-break: break-word; }
@media (max-width: 500px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.quick .btn { flex: 1 1 auto; }
.stepper { display: flex; gap: 0; margin: 4px 0 18px; overflow-x: auto; padding-bottom: 4px; }
.step { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: 11.5px; color: var(--muted); font-weight: 600; padding-top: 22px; }
.step::before { content: ""; position: absolute; top: 7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.step::after { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.step:first-child::after { display: none; }
.step.done { color: var(--navy); } .step.done::before { background: var(--navy); border-color: var(--navy); } .step.done::after { background: var(--navy); }
.step.cur { color: var(--gold-d); } .step.cur::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,137,59,.18); } .step.cur::after { background: var(--navy); }
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 8px 0; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 5px; box-shadow: 0 0 0 3px rgba(184,137,59,.15); }
.tl-item.estado .tl-dot { background: var(--navy); } .tl-item.calidad .tl-dot { background: var(--bad); }
.tl-meta { font-size: 11.5px; color: var(--muted); }

/* Kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: #EDEAE3; border-radius: 12px; padding: 10px; min-height: 120px; }
.kcol h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; justify-content: space-between; margin: 2px 4px 10px; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.kcard:hover { border-color: var(--gold-l); }
.kcard .code { font-weight: 800; color: var(--navy); font-size: 12.5px; }
.kcard .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; }
.kcard.late { border-left: 3px solid var(--bad); }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(15,42,68,.42); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .12s; }
.modal { background: #fff; border-radius: 14px; width: min(720px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal.wide { width: min(980px, 100%); } .modal.narrow { width: min(460px, 100%); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.modal-h h2 { font-size: 17px; }
.modal-b { padding: 16px 18px; overflow-y: auto; }
.modal-f { padding: 12px 18px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 600px) { .modal-bg { padding: 0; align-items: end; } .modal { border-radius: 14px 14px 0 0; max-height: 92vh; } }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 200; }
.toast { background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; max-width: 360px; animation: fade .15s; }
.toast.bad { background: var(--bad); } .toast.ok { background: var(--ok); }

/* Charts & map */
.chart-box { position: relative; height: 260px; }
.chart-box.tall { height: 320px; }
.map { height: calc(100vh - 230px); min-height: 420px; border-radius: var(--radius); border: 1px solid var(--line); }
.legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal .dow { background: #FBFAF7; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal .day { min-height: 104px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.cal .day.out { background: #FAF8F4; color: #b3ab9d; }
.cal .day.today { background: #FFF9EE; }
.cal .num { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.cal .ev { display: block; font-size: 11px; padding: 2px 6px; border-radius: 5px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; background: var(--navy-3); cursor: pointer; }
.cal .ev.ent { background: var(--gold); }
.cal .ev.late { background: var(--bad); }
@media (max-width: 700px) { .cal .day { min-height: 64px; padding: 3px; } .cal .ev { font-size: 9.5px; padding: 1px 3px; } }

.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.pill-list { display: flex; gap: 6px; flex-wrap: wrap; }
.note { background: var(--info-bg); color: #1d4677; border-radius: 10px; padding: 10px 14px; font-size: 13px; }
.note.warn { background: var(--warn-bg); color: #6b4a12; }
.note.bad { background: var(--bad-bg); color: #7d2318; }
.list-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.list-row:last-child { border-bottom: 0; }
.list-row .t1 { font-weight: 700; color: var(--navy); }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; }
.drop.over { border-color: var(--gold); background: #FFF9EE; }
@media print { .sidebar, .topbar, .actions, .sticky-actions, .demo-banner, .quick { display: none !important; } .view { padding: 0; } body { background: #fff; } .card { box-shadow: none; } }

/* v2 */
.filters.compact { padding: 10px 12px; gap: 6px; }
.filters.compact input[type=search] { min-width: 160px; }
.filters.compact select { max-width: 210px; }
.filters.compact + .filters.compact { padding-top: 0; }
.gold-text { color: var(--gold-d); font-weight: 600; }
.verif { display: flex; gap: 14px; align-items: flex-start; }
.qr { width: 116px; height: 116px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; }
.qr svg { width: 100%; height: 100%; display: block; }
@media (max-width: 420px) { .verif { flex-direction: column; } }
.fsection > div > .drop { padding: 14px; }
.kpis.mini .val { font-size: 19px; }
.kpis.mini .kpi { padding: 12px; }
