/* BPRQA portal - design system */
:root {
  --bg: #f3f5f9; --surface: #ffffff; --surface-2: #f8fafc; --border: #e2e8f0; --border-strong: #cbd5e1;
  --text: #0f172a; --text-2: #475569; --text-3: #94a3b8;
  --primary: #1d4ed8; --primary-2: #1e40af; --primary-soft: #dbeafe; --accent: #0f766e; --accent-soft: #ccfbf1;
  --sidebar: #0f172a; --sidebar-2: #1e293b; --sidebar-text: #cbd5e1; --sidebar-active: #22d3ee;
  --green: #16a34a; --green-soft: #dcfce7; --amber: #d97706; --amber-soft: #fef3c7; --red: #dc2626; --red-soft: #fee2e2;
  --blue: #2563eb; --blue-soft: #dbeafe; --purple: #9333ea; --purple-soft: #f3e8ff; --slate: #64748b; --slate-soft: #e2e8f0; --teal: #0d9488; --teal-soft: #ccfbf1; --indigo: #4f46e5; --indigo-soft: #e0e7ff;
  --radius: 12px; --radius-sm: 8px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08); --shadow-lg: 0 12px 32px rgba(15, 23, 42, .14);
  --font: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --sidebar-w: 252px; --topbar-h: 60px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 22px; } h2 { font-size: 17px; } h3 { font-size: 15px; } h4 { font-size: 13px; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.ar, [dir="rtl"] { font-family: var(--font-ar); direction: rtl; text-align: right; unicode-bidi: plaintext; }
.auto { unicode-bidi: plaintext; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); } .small { font-size: 12px; } .xs { font-size: 11px; } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.nowrap { white-space: nowrap; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .right { text-align: right; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .grow { flex: 1; } .col { display: flex; flex-direction: column; gap: 6px; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mb { margin-bottom: 16px; } .mb-s { margin-bottom: 8px; } .ml-auto { margin-left: auto; }
.hidden { display: none !important; }

/* layout */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: linear-gradient(180deg, var(--sidebar) 0%, #111c33 100%); color: var(--sidebar-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand .logo { width: 40px; height: 40px; border-radius: 11px; background: #0b1226; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand .name { font-weight: 700; font-size: 17px; color: #fff; letter-spacing: .02em; }
.brand .sub { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav .group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #64748b; padding: 12px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--sidebar-text); font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav a.active { background: rgba(34, 211, 238, .14); color: #fff; box-shadow: inset 3px 0 0 var(--sidebar-active); }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.nav .badge { margin-left: auto; background: rgba(255,255,255,.1); color: #e2e8f0; font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.sidebar .foot { margin-top: auto; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #94a3b8; }
.userchip { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #6366f1); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: var(--topbar-h); background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; padding: 0 24px; position: sticky; top: 0; z-index: 20; }
.topbar .crumbs { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; min-width: 0; }
.topbar .crumbs .sep { color: var(--text-3); }
.topbar .crumbs b { color: var(--text); font-weight: 600; }
.search { margin-left: auto; position: relative; width: 340px; max-width: 40vw; }
.search input { width: 100%; height: 38px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px 0 36px; background: var(--surface-2); outline: none; }
.search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-soft); }
.search svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--text-3); }
.content { padding: 22px 24px 48px; max-width: 1600px; width: 100%; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--text-2); max-width: 820px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card .card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card .card-b { padding: 16px 18px; }
.card.pad { padding: 16px 18px; }
.grid { display: grid; gap: 16px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.kpi { padding: 14px 16px; }
.kpi .label { font-size: 12px; color: var(--text-2); font-weight: 500; }
.kpi .value { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .hint { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.kpi .value.accent { color: var(--accent); } .kpi .value.warn { color: var(--amber); } .kpi .value.bad { color: var(--red); } .kpi .value.good { color: var(--green); }

/* domain tile */
.tile { display: block; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: inherit; transition: transform .12s, box-shadow .12s, border-color .12s; }
.tile:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.tile.dim { opacity: .72; }
.tile .code { font-weight: 700; font-size: 12px; letter-spacing: .06em; color: var(--primary); }
.tile .title { font-size: 15px; font-weight: 600; margin-top: 2px; }
.tile .ar { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.tile .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tile .stats div { background: var(--surface-2); border-radius: 8px; padding: 6px 8px; }
.tile .stats b { display: block; font-size: 16px; }
.tile .stats span { font-size: 11px; color: var(--text-2); }

/* progress bars */
.bar { height: 8px; background: var(--slate-soft); border-radius: 999px; overflow: hidden; display: flex; }
.bar span { display: block; height: 100%; }
.bar.lg { height: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--text-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* chips & status */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--slate-soft); color: #334155; line-height: 18px; }
.chip.s1 { background: var(--slate-soft); color: #334155; } .chip.s2 { background: var(--amber-soft); color: #92400e; } .chip.s3 { background: var(--indigo-soft); color: #3730a3; } .chip.s4 { background: var(--blue-soft); color: #1e40af; }
.chip.s5 { background: var(--green-soft); color: #166534; } .chip.s6 { background: var(--purple-soft); color: #6b21a8; } .chip.s7 { background: var(--teal-soft); color: #115e59; } .chip.s8 { background: #d1fae5; color: #065f46; } .chip.s0 { background: var(--red-soft); color: #991b1b; }
.chip.pass, .chip.yes, .chip.covered, .chip.resolved, .chip.completed, .chip.live { background: var(--green-soft); color: #166534; }
.chip.open, .chip.partial, .chip.amber, .chip.planned { background: var(--amber-soft); color: #92400e; }
.chip.fail, .chip.no, .chip.red { background: var(--red-soft); color: #991b1b; }
.chip.na, .chip.waived, .chip.deferred, .chip.upcoming { background: var(--slate-soft); color: #475569; }
.chip.green { background: var(--green-soft); color: #166534; } .chip.blue { background: var(--blue-soft); color: #1e40af; }
.chip.engine { background: #ecfeff; color: #155e75; } .chip.manual { background: var(--indigo-soft); color: #3730a3; }
.chip.stage { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-weight: 500; }
.chip.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 11px; color: var(--text-2); }

/* tables */
.table-wrap { overflow: auto; border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
table.tbl th { text-align: left; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); background: var(--surface-2); padding: 10px 12px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
table.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover td { background: #f8fafc; }
table.tbl tr.clickable { cursor: pointer; }
table.tbl td.ar, table.tbl th.ar { text-align: right; }
table.tbl.compact td { padding: 6px 10px; } table.tbl.compact th { padding: 8px 10px; }
.matrix td { text-align: center; padding: 6px 4px; font-size: 11px; }
.matrix .cell { display: inline-block; width: 22px; height: 22px; border-radius: 6px; line-height: 22px; font-weight: 600; }
.cell.on { background: var(--green-soft); color: #166534; } .cell.off { background: #f1f5f9; color: #cbd5e1; }
.cell.Pass { background: var(--green-soft); color: #166534; } .cell.Open { background: var(--amber-soft); color: #92400e; } .cell.Fail { background: var(--red-soft); color: #991b1b; } .cell.NA { background: #f1f5f9; color: #94a3b8; }
.heat { display: inline-block; min-width: 34px; padding: 2px 6px; border-radius: 6px; font-weight: 600; font-size: 12px; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-strong); background: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn.primary:hover { background: var(--primary-2); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--red); border-color: #fca5a5; } .btn.danger:hover { background: var(--red-soft); }
.btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: var(--surface-2); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; } .btn.xs { height: 26px; padding: 0 8px; font-size: 12px; border-radius: 7px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; }
.seg button { height: 32px; padding: 0 12px; border: none; background: #fff; cursor: pointer; font-weight: 500; color: var(--text-2); border-right: 1px solid var(--border); }
.seg button:last-child { border-right: none; } .seg button.on { background: var(--primary-soft); color: var(--primary-2); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.input, select.input, textarea.input { height: 36px; border: 1px solid var(--border-strong); border-radius: 9px; padding: 0 11px; background: #fff; outline: none; width: 100%; }
textarea.input { height: auto; min-height: 76px; padding: 9px 11px; resize: vertical; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.input.sm { height: 30px; font-size: 12.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 14px; }
.filters .field { min-width: 150px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.form-grid .span2 { grid-column: span 2; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

/* tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: none; padding: 10px 14px; cursor: pointer; font-weight: 500; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--primary-2); border-bottom-color: var(--primary); font-weight: 600; }
.tabs .count { margin-left: 6px; font-size: 11px; background: var(--slate-soft); padding: 1px 6px; border-radius: 999px; color: var(--text-2); }

/* misc components */
.empty { padding: 36px 20px; text-align: center; color: var(--text-3); }
.empty b { display: block; color: var(--text-2); font-size: 15px; margin-bottom: 4px; }
.alert { padding: 11px 14px; border-radius: 10px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.alert.warn { background: var(--amber-soft); color: #78350f; border: 1px solid #fcd34d; } .alert.info { background: var(--blue-soft); color: #1e3a8a; border: 1px solid #bfdbfe; } .alert.err { background: var(--red-soft); color: #7f1d1d; border: 1px solid #fca5a5; } .alert.ok { background: var(--green-soft); color: #14532d; border: 1px solid #86efac; }
.timeline { display: flex; gap: 0; align-items: stretch; overflow-x: auto; padding: 4px 0; }
.timeline .step { flex: 1; min-width: 96px; text-align: center; position: relative; padding: 0 4px; }
.timeline .step .dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: #e2e8f0; color: #94a3b8; font-size: 12px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.timeline .step.done .dot { background: var(--green); color: #fff; } .timeline .step.current .dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-soft); } .timeline .step.cancel .dot { background: var(--red); color: #fff; }
.timeline .step::before { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: -1; }
.timeline .step:first-child::before { display: none; }
.timeline .step.done::before { background: var(--green); }
.timeline .label { font-size: 11.5px; color: var(--text-2); line-height: 1.25; }
.doclist { display: flex; flex-direction: column; gap: 6px; }
.docrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.docrow:hover { border-color: var(--border-strong); background: var(--surface-2); }
.docrow .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; flex: none; letter-spacing: .02em; }
.ico.docx { background: #2b579a; } .ico.pdf { background: #c62828; } .ico.xlsx { background: #217346; } .ico.pptx { background: #d24726; } .ico.json { background: #6b7280; } .ico.mp4 { background: #7c3aed; } .ico.png, .ico.jpg, .ico.jpeg { background: #0891b2; } .ico.zip, .ico.rar { background: #a16207; } .ico.doc { background: #2b579a; } .ico.other { background: #64748b; }
.docrow .name { font-weight: 500; min-width: 0; }
.docrow .meta { font-size: 11.5px; color: var(--text-3); }
.stage-h { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.stage-h::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.gate { display: inline-flex; flex-direction: column; align-items: center; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); min-width: 54px; }
.gate b { font-size: 12px; } .gate span { font-size: 10.5px; font-weight: 600; } .gate.PASS span { color: var(--green); } .gate.FAIL span { color: var(--red); } .gate.OPEN span { color: var(--amber); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13px; }
.kv dt { color: var(--text-2); } .kv dd { margin: 0; }
.modal-bg { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { background: #fff; border-radius: 14px; width: min(760px, 100%); max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal .modal-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal .modal-b { padding: 18px 20px; } .modal .modal-f { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 14px 14px; }
.modal.wide { width: min(1100px, 100%); }
.toast-wrap { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 13px; max-width: 420px; }
.toast.err { background: #991b1b; } .toast.ok { background: #166534; }
.dropzone { border: 2px dashed var(--border-strong); border-radius: 12px; padding: 22px; text-align: center; color: var(--text-2); background: var(--surface-2); cursor: pointer; }
.dropzone.over { border-color: var(--primary); background: var(--primary-soft); }
.snippet { font-size: 12.5px; color: var(--text-2); } .snippet mark { background: #fef08a; padding: 0 2px; border-radius: 3px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { padding: 40px; text-align: center; color: var(--text-3); }
.score { font-weight: 700; } .score.good { color: var(--green); } .score.mid { color: var(--amber); } .score.bad { color: var(--red); }
.num { font-variant-numeric: tabular-nums; }
.preview { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; font-size: 13px; max-height: 420px; overflow: auto; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 20% -10%, #1e3a8a 0%, transparent 60%), radial-gradient(900px 500px at 100% 100%, #0f766e 0%, transparent 55%), var(--sidebar); padding: 20px; }
.login { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 30px 30px 26px; box-shadow: var(--shadow-lg); }
.login .brand { padding: 0 0 18px; border: none; } .login .brand .name { color: var(--text); } .login .brand .sub { color: var(--text-2); }
.login h1 { font-size: 20px; margin-bottom: 4px; } .login p { margin: 0 0 18px; color: var(--text-2); }
.login .col { gap: 12px; }
.login .btn { height: 42px; justify-content: center; width: 100%; margin-top: 4px; }
.login .foot { margin-top: 18px; text-align: center; font-size: 12px; color: var(--text-3); }
.donut-wrap { position: relative; height: 220px; }
.chart-wrap { position: relative; height: 240px; }
.sticky-col td:first-child, .sticky-col th:first-child { position: sticky; left: 0; background: #fff; z-index: 2; }
.sticky-col th:first-child { background: var(--surface-2); z-index: 3; }
.result-row { display: grid; grid-template-columns: 90px 1fr 170px; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: start; }
.result-row:last-child { border-bottom: none; }
.result-row .text { font-size: 13px; } .result-row .evidence { font-size: 12px; color: var(--text-2); margin-top: 4px; white-space: pre-wrap; }
.status-select { display: flex; gap: 4px; flex-wrap: wrap; }
.status-select button { height: 26px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--border); background: #fff; font-size: 11.5px; font-weight: 600; cursor: pointer; color: var(--text-2); }
.status-select button.on.Pass, .status-select button.on.Yes { background: var(--green-soft); border-color: #86efac; color: #166534; }
.status-select button.on.Fail, .status-select button.on.No { background: var(--red-soft); border-color: #fca5a5; color: #991b1b; }
.status-select button.on.Open, .status-select button.on.Partial { background: var(--amber-soft); border-color: #fcd34d; color: #92400e; }
.status-select button.on.NA { background: var(--slate-soft); border-color: var(--border-strong); color: #334155; }
@media (max-width: 1000px) { .shell { grid-template-columns: 1fr; } .sidebar { position: relative; height: auto; } .search { width: 200px; } .result-row { grid-template-columns: 1fr; } }
@media print { .sidebar, .topbar, .btn { display: none !important; } .shell { grid-template-columns: 1fr; } .card { box-shadow: none; } }
