/* Intranet Vitória Castro — identidade: vinho #401215 / #541616, cinza claro #dadbda */
:root {
  --wine-900: #2c0c0e; --wine-800: #401215; --wine-700: #541616; --wine-600: #6e2226; --wine-100: #f6eceb; --wine-50: #fbf6f5;
  --ink: #241c1c; --ink-2: #5c5252; --ink-3: #8a8080; --line: #e8e1df; --bg: #f7f4f3; --card: #fff;
  --red: #b42318; --red-bg: #fdecea; --amber: #a15c07; --amber-bg: #fff4e0; --green: #1f7a46; --green-bg: #e7f5ec; --blue: #1f5fa8;
  --c-jur: #8c1d2a; --c-fin: #9a6a00; --c-adm: #1f5fa8; --c-fun: #1f7a46;
  --radius: 12px; --shadow: 0 1px 2px rgba(64,18,21,.06), 0 4px 16px rgba(64,18,21,.05);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--wine-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.55rem; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; font-weight: 650; }
h3 { font-size: .95rem; font-weight: 650; }
code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--wine-50); padding: 1px 5px; border-radius: 5px; }
code.wrap { word-break: break-all; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--ink-3); } .small { font-size: 12.5px; } .center { text-align: center; } .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.danger { color: var(--red); } .ok { color: var(--green); font-weight: 600; } .pos { color: var(--green); }
.mt { margin-top: 12px; } .inline { display: inline; } .hide-sm {}

/* ---------- layout */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; background: linear-gradient(180deg, var(--wine-800), var(--wine-900)); color: #efe3e2; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--serif); font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.brand small { display: block; font-family: var(--font); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .65; margin-top: 4px; }
.brand:hover { text-decoration: none; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 6px 10px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; color: #e8d9d8; padding: 9px 12px; border-radius: 9px; margin: 1px 0; font-size: 14px; }
.sidebar nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.sidebar nav a.active { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.sidebar-foot { padding: 10px 18px; font-size: 11px; opacity: .45; }
.pill { background: rgba(255,255,255,.2); border-radius: 20px; padding: 0 7px; font-size: 11px; margin-left: 4px; }
.pill-red { background: #e5484d; color: #fff; }
.main { margin-left: 248px; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 24px; background: rgba(247,244,243,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; color: var(--ink-3); }
.search input { border: 0; outline: 0; padding: 9px 0; width: 100%; background: transparent; font: inherit; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); position: relative; cursor: pointer; }
.bell .dot { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 10.5px; border-radius: 10px; padding: 1px 5px; font-weight: 700; }
.menu-toggle { display: none; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: 10px; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--wine-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.dropdown { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 220px; padding: 6px; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 7px; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--wine-50); text-decoration: none; }
.content { padding: 22px 24px 90px; max-width: 1400px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head p { margin: 2px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.bottom-nav { display: none; }

/* ---------- cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-alert { border-color: #f3c7c3; }
.card-deadline { border-left: 4px solid var(--wine-700); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.grid2 > .card { margin-bottom: 0; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.scroll-x { overflow-x: auto; }
.empty { color: var(--ink-3); padding: 14px 0; list-style: none; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.stat:hover { text-decoration: none; border-color: var(--wine-700); }
.stat b { font-size: 1.6rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 13px; }
.stat-red b { color: var(--red); } .stat-red { background: linear-gradient(0deg, #fff, var(--red-bg)); }
.stat-amber b { color: var(--amber); } .stat-green b { color: var(--green); }
.small-stats .stat b { font-size: 1.2rem; }

/* ---------- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 15px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px var(--font); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--wine-700); text-decoration: none; }
.btn-primary { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }
.btn-primary:hover { background: var(--wine-800); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 11px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.danger, .link.danger { color: var(--red); }
.link { background: none; border: 0; padding: 0; color: var(--wine-700); cursor: pointer; font: inherit; }
.form label, label.inline-label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
label.inline-label { flex-direction: row; align-items: center; margin: 0; font-weight: 500; }
.form label.check, label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500; color: var(--ink); }
input, select, textarea { font: 15px var(--font); color: var(--ink); background: #fff; border: 1px solid #d9d0ce; border-radius: 9px; padding: 9px 11px; width: 100%; min-width: 0; }
input[type=checkbox] { width: auto; margin-top: 3px; accent-color: var(--wine-700); }
input[type=color] { width: 44px; padding: 2px; height: 36px; }
input[type=file] { padding: 7px; background: var(--wine-50); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(84,22,22,.25); border-color: var(--wine-700); }
textarea { resize: vertical; }
.row2, .row3 { display: grid; gap: 12px; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-actions { display: flex; gap: 8px; margin-top: 6px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
legend { font-weight: 650; padding: 0 6px; font-size: 13px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.checks label { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.filters select, .filters input { width: auto; min-width: 150px; padding: 7px 10px; font-size: 14px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.inline-form input, .inline-form select { width: auto; flex: 1 1 160px; }
.helper { background: var(--wine-50); border: 1px dashed #e0c9c7; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: 13.5px; }
.helper .row2 { margin-top: 8px; }
.flow { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.flow:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.status-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* ---------- flash */
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; border: 1px solid; }
.flash-success { background: var(--green-bg); border-color: #b7e0c6; color: #0f5130; }
.flash-error { background: var(--red-bg); border-color: #f3c7c3; color: #8a1c13; }
.flash-info { background: var(--amber-bg); border-color: #f2d7a6; color: #6b3d02; }

/* ---------- badges */
.tag { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 20px; background: #f1ecea; color: var(--ink-2); white-space: nowrap; }
.tag-ok { background: var(--green-bg); color: var(--green); } .tag-warn { background: var(--amber-bg); color: var(--amber); }
.cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; }
.cat-juridico { background: #f7e6e8; color: var(--c-jur); } .cat-financeiro { background: #fbf1d9; color: var(--c-fin); }
.cat-administrativo { background: #e5eef9; color: var(--c-adm); } .cat-funcomp { background: #e3f3ea; color: var(--c-fun); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.st { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 20px; background: #eee; color: #444; white-space: nowrap; }
.st-em_andamento, .pst-agendado { background: #e5eef9; color: var(--blue); }
.st-aguardando, .pst-aguardando_aprovacao, .pst-aprovado { background: var(--amber-bg); color: var(--amber); }
.st-revisao { background: #efe7fb; color: #6b46c1; }
.st-concluida, .pst-pago, .pst-conferido { background: var(--green-bg); color: var(--green); }
.st-cancelada, .pst-cancelado { background: #eee; color: #888; text-decoration: line-through; }
.pri { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; }
.pri-urgente { background: var(--red); color: #fff; } .pri-alta { background: var(--red-bg); color: var(--red); } .pri-baixa { background: #eee; color: #777; }
.due { font-size: 13px; font-weight: 600; white-space: nowrap; }
.due-late { color: var(--red); } .due-today { color: #fff; background: var(--amber); padding: 1px 8px; border-radius: 6px; } .due-soon { color: var(--amber); }
.fatal { font-size: 11px; font-weight: 800; color: #fff; background: var(--wine-700); padding: 1px 6px; border-radius: 5px; letter-spacing: .03em; }
.hol { font-size: 11px; background: repeating-linear-gradient(45deg, #f4eeed, #f4eeed 4px, #ece3e1 4px, #ece3e1 8px); padding: 1px 6px; border-radius: 5px; }

/* ---------- tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs a.active { color: var(--wine-700); border-color: var(--wine-700); font-weight: 650; }
.tabs a:hover { text-decoration: none; color: var(--wine-700); }

/* ---------- lists */
.tasklist, .publist, .notifs, .findings, .history, .atts, .timeline { list-style: none; margin: 0; padding: 0; }
.tasklist li a, .publist li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tasklist li a:hover, .publist li a:hover { background: var(--wine-50); text-decoration: none; }
.tasklist li:last-child a { border-bottom: 0; }
.tasklist li.done .tl-title { text-decoration: line-through; color: var(--ink-3); }
.tl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-title { font-weight: 600; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; flex: none; }
.notifs li a { display: flex; flex-direction: column; gap: 3px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.notifs li.unread a { background: var(--wine-50); }
.notifs li.unread b::before { content: "● "; color: var(--wine-700); }
.findings li { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.findings .sev { font-size: 11px; font-weight: 800; text-transform: uppercase; text-align: center; padding: 3px 6px; border-radius: 6px; }
.sev-critico .sev { background: var(--red); color: #fff; } .sev-alto .sev { background: var(--red-bg); color: var(--red); }
.sev-medio .sev { background: var(--amber-bg); color: var(--amber); } .sev-baixo .sev { background: #eee; color: #666; }
.findings .actions form { display: flex; gap: 4px; } .findings select { width: auto; padding: 5px; font-size: 12px; }
.history li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.atts li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 0; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tdate { font-weight: 650; font-size: 13px; color: var(--wine-700); }
.comment { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv { display: grid; gap: 10px; margin-bottom: 10px; }
.kv > div { display: flex; flex-direction: column; }
.kv span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.kv small { color: var(--ink-3); font-size: 12px; }
.kv-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.big { font-size: 1.25rem; }
.memory { white-space: pre-wrap; font-size: 12.5px; background: var(--wine-50); border-radius: 8px; padding: 10px; max-height: 360px; overflow: auto; }
.prose { white-space: normal; }
.pubtext { font-size: 14px; line-height: 1.6; max-height: 70vh; overflow: auto; }
.rules li { margin-bottom: 8px; }
.examples li { margin-bottom: 8px; font-style: italic; color: var(--ink-2); }
.chips .tag form { display: inline; }
.big-code { font-size: 15px; letter-spacing: .08em; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }

/* ---------- tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 650; padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table.compact td, .table.compact th { padding: 6px 8px; }
.table tfoot th { color: var(--ink); font-size: 13px; }
.row-late td { background: #fff7f6; } .row-soon td { background: #fffaf0; }
.matrix td, .matrix th { text-align: center; } .matrix tbody th { text-align: left; }

/* ---------- board */
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.board .col { background: #efe9e7; border-radius: var(--radius); padding: 10px; min-height: 200px; }
.kcard { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.kfoot { display: flex; justify-content: space-between; align-items: center; }
.kmove select { padding: 4px 6px; font-size: 12px; }

/* ---------- calendar */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: center; }
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head div { padding: 8px; font-size: 12px; text-transform: uppercase; color: var(--ink-3); font-weight: 650; border-bottom: 1px solid var(--line); text-align: center; }
.cal-day { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.out { background: #fbfafa; } .cal-day.out .cal-num a { color: #c4baba; }
.cal-day.weekend { background: #faf8f7; }
.cal-day.holiday { background: repeating-linear-gradient(45deg, #fbf8f7, #fbf8f7 6px, #f4eeec 6px, #f4eeec 12px); }
.cal-day.today .cal-num a { background: var(--wine-700); color: #fff; }
.cal-num a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 650; font-size: 13px; color: var(--ink); }
.cal-hol { font-size: 10.5px; color: var(--ink-2); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev { display: block; font-size: 11.5px; padding: 2px 6px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid; }
.ev:hover { text-decoration: none; filter: brightness(.96); }
.ev-juridico { background: #f7e6e8; border-color: var(--c-jur); color: #5e1019; }
.ev-financeiro { background: #fbf1d9; border-color: var(--c-fin); color: #5c3f00; }
.ev-administrativo { background: #e5eef9; border-color: var(--c-adm); color: #133e70; }
.ev-funcomp { background: #e3f3ea; border-color: var(--c-fun); color: #11502c; }
.ev-fatal { background: var(--wine-700); border-color: var(--wine-900); color: #fff; font-weight: 700; }
.ev-done { opacity: .5; text-decoration: line-through; }
.agenda-list { display: none; }
.agenda-list h3 { margin-top: 14px; color: var(--wine-700); } .agenda-list h3.today::after { content: " — hoje"; }

/* ---------- bars */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 110px; gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 10px; background: #f1ecea; border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--wine-700); border-radius: 6px; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, #efe0de, transparent), var(--bg); flex-direction: column; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 10px 40px rgba(64,18,21,.08); }
.auth-card.wide { max-width: 760px; }
.auth-logo { display: block; max-width: 240px; margin: 0 auto 20px; }
.auth-card h1 { text-align: center; }
.auth-card > p.muted { text-align: center; margin-top: 0; }
.auth-foot { text-align: center; margin: 18px 0 0; }

/* ---------- responsivo */
@media (max-width: 1100px) {
  .grid-side { grid-template-columns: minmax(0, 1fr); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .main { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .hide-sm { display: none; }
  .topbar { padding: 8px 12px; }
  .content { padding: 16px 12px 96px; }
  .row2, .row3, .kv-3 { grid-template-columns: 1fr; }
  .calendar { display: none; }
  .agenda-list { display: block; }
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 25; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; align-items: center; }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; color: var(--ink-2); gap: 2px; }
  .bottom-nav a.fab { width: 50px; height: 50px; border-radius: 50%; background: var(--wine-700); color: #fff; font-size: 28px; justify-content: center; margin-top: -22px; box-shadow: 0 6px 16px rgba(84,22,22,.35); }
  .bottom-nav a:hover { text-decoration: none; }
  .findings li { grid-template-columns: 1fr; }
  .tasklist li a { flex-direction: column; }
  .tl-side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
  .filters select, .filters input { flex: 1 1 140px; min-width: 0; }
  .bar-row { grid-template-columns: 90px 1fr 90px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .sidebar, .topbar, .bottom-nav, .actions, form { display: none !important; }
  .main { margin: 0; } .card { box-shadow: none; }
}
