/* GSIF Radar — 1435 Capital Management */
:root {
  --font-body: 'Satoshi', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'General Sans', 'Satoshi', 'Segoe UI', system-ui, sans-serif;
  --ink: #0e1013;
  --ink-2: #1e2229;
  --text: #15181d;
  --muted: #5b6472;
  --faint: #8a93a1;
  --line: #e3e6eb;
  --line-2: #d3d8df;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --blue: #005aff;
  --blue-ink: #0047cc;
  --blue-soft: #e8f0ff;
  --ok: #0f7b4f;
  --ok-soft: #e3f4ec;
  --warn: #9a6700;
  --warn-soft: #fff4d6;
  --bad: #b42318;
  --bad-soft: #fde8e6;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(14, 16, 19, .05), 0 1px 1px rgba(14, 16, 19, .03);
  --shadow-lg: 0 18px 50px rgba(14, 16, 19, .18);
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 24px;
  --sidebar: 232px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font-body); font-size: var(--text-base); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.num, td.num, .kpi-value { font-variant-numeric: tabular-nums lining-nums; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; }
h2 { font-size: var(--text-lg); }
h3 { font-size: var(--text-md); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: var(--text-sm); }
.xs { font-size: var(--text-xs); }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- shell */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: #cfd4dc; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.brand { display: flex; gap: 11px; align-items: center; padding: 18px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand b { display: block; color: #fff; font-size: 15px; letter-spacing: .01em; }
.brand span { font-size: 11.5px; color: #8f98a6; }
.nav { padding: 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav .group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6f7886; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; color: #cfd4dc; padding: 8px 10px; border-radius: 6px; font-size: 13.5px; text-decoration: none; }
.nav a svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: rgba(0, 90, 255, .2); color: #fff; box-shadow: inset 2px 0 0 var(--blue); }
.nav .badge-count { margin-left: auto; background: var(--blue); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; line-height: 18px; }
.sidebar-foot { margin-top: auto; padding: 14px 18px; font-size: 11.5px; color: #6f7886; border-top: 1px solid rgba(255,255,255,.07); }
.sidebar-foot b { color: #aab2bf; font-weight: 500; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(245,246,248,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 10px 24px; min-height: 56px; }
.topbar .search { flex: 1; max-width: 460px; position: relative; }
.topbar .search input { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); }
.topbar .search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; color: var(--faint); }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-lg); max-height: 360px; overflow: auto; z-index: 40; }
.search-results a { display: block; padding: 8px 12px; color: var(--text); border-bottom: 1px solid var(--line); }
.search-results a:hover, .search-results a.on { background: var(--blue-soft); text-decoration: none; }
.topbar .spacer { flex: 1; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.btn.menu-btn { display: none; }
.content { padding: 22px 24px 48px; max-width: 1480px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--text-sm); max-width: 760px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- controls */
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--surface); padding: 7px 13px; border-radius: 7px; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; color: var(--text); text-decoration: none; }
.btn:hover { border-color: var(--faint); text-decoration: none; }
.btn svg { width: 15px; height: 15px; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { padding: 4px 9px; font-size: 12.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.input, select.input, textarea.input { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); font-size: 13.5px; }
textarea.input { resize: vertical; min-height: 70px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 500; }
.field .hint { font-size: 12px; color: var(--faint); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters .input { width: auto; min-width: 140px; }
.filters input.input { min-width: 220px; }
.chip-toggle { border: 1px solid var(--line-2); background: var(--surface); border-radius: 20px; padding: 4px 11px; font-size: 12.5px; cursor: pointer; }
.chip-toggle.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.switch input { width: 34px; height: 19px; appearance: none; background: var(--line-2); border-radius: 10px; position: relative; cursor: pointer; transition: background .15s; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--blue); }
.switch input:checked::after { transform: translateX(15px); }

/* ---------- cards & tables */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); gap: 10px; }
.card-head h3 { font-size: 14px; }
.card-body { padding: 14px 16px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 13px 15px; }
.kpi .kpi-label { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.kpi .kpi-value { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; font-family: var(--font-display); }
.kpi .kpi-sub { font-size: 12px; color: var(--faint); }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
table.t td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover { background: #f8f9fb; }
table.t tr.clickable { cursor: pointer; }
table.t .co-name { font-weight: 600; color: var(--text); }
table.t .co-desc { color: var(--muted); font-size: 12px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--text); margin-bottom: 4px; }

/* ---------- badges */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 4px; background: #eef0f3; color: var(--ink-2); white-space: nowrap; line-height: 18px; }
.badge.blue { background: var(--blue-soft); color: var(--blue-ink); }
.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.dark { background: var(--ink); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.likely { background: var(--ok); }
.dot.potential { background: #d99a00; }
.dot.not_eligible { background: #c7ccd4; }
.prog-pills { display: inline-flex; gap: 3px; }
.pp { font-size: 10.5px; font-weight: 600; width: 26px; text-align: center; border-radius: 3px; padding: 1px 0; letter-spacing: .02em; }
.pp.likely { background: var(--ok); color: #fff; }
.pp.potential { background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px #f0d48a; }
.pp.not_eligible { background: #f0f1f4; color: #a3aab5; text-decoration: line-through; }
.fit { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; font-weight: 600; }
.fit .bar { width: 46px; height: 5px; border-radius: 3px; background: #eceef2; overflow: hidden; }
.fit .bar i { display: block; height: 100%; background: var(--blue); }

/* ---------- sector map */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.sector { display: flex; flex-direction: column; }
.sector .card-head { align-items: flex-start; }
.sector .card-head .ind { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.sector .counts { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sector .counts b { font-size: 18px; color: var(--text); display: block; font-variant-numeric: tabular-nums; }
.tier { padding: 10px 16px 12px; border-bottom: 1px dashed var(--line); }
.tier:last-child { border-bottom: 0; }
.tier-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: 7px; display: flex; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.co-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 3px 8px; font-size: 12.5px; cursor: pointer; color: var(--text); max-width: 100%; }
.co-chip:hover { border-color: var(--blue); text-decoration: none; }
.co-chip.inc { background: var(--surface-2); color: var(--muted); }
.co-chip .s { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.co-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- profile */
.profile-head { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.profile-head .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.fitbox { border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 14px; text-align: center; min-width: 86px; background: var(--surface); }
.fitbox b { font-size: 28px; font-family: var(--font-display); display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fitbox span { font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.facts div { padding: 9px 0; border-bottom: 1px solid var(--line); padding-right: 10px; min-width: 0; }
.facts dt { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 2px 0 0; font-weight: 500; font-size: 13.5px; overflow-wrap: anywhere; }
.program { border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: 0; }
.program summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; }
.program summary::-webkit-details-marker { display: none; }
.program summary .nm { flex: 1; font-weight: 600; font-size: 13.5px; }
.program summary .cmp { font-size: 11.5px; color: var(--faint); }
.crit { list-style: none; margin: 0; padding: 0 16px 12px; }
.crit li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 5px 0; font-size: 13px; border-top: 1px solid #f0f2f5; align-items: start; }
.crit li .d { color: var(--muted); font-size: 12px; text-align: right; max-width: 220px; }
.crit .ic { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; margin-top: 1px; }
.crit .ic.pass { background: var(--ok-soft); color: var(--ok); }
.crit .ic.fail { background: var(--bad-soft); color: var(--bad); }
.crit .ic.unknown { background: var(--warn-soft); color: var(--warn); }
.prog-note { padding: 0 16px 12px; font-size: 12px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 11px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 86px 1fr; gap: 10px; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.timeline .ttl { font-weight: 500; font-size: 13.5px; color: var(--text); }
.timeline .sum { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.form-sections { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid .span4 { grid-column: 1 / -1; }

/* ---------- signals */
.sig { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.sig:last-child { border-bottom: 0; }
.sig .ttl { font-weight: 500; color: var(--text); }
.sig .sum { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.sig .who { font-size: 12.5px; margin-top: 5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sig .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.imp { display: inline-flex; gap: 2px; }
.imp i { width: 4px; height: 10px; border-radius: 1px; background: #dfe3e8; display: block; }
.imp i.on { background: var(--blue); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); font-size: 13.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.tabs a.on { color: var(--text); border-color: var(--ink); font-weight: 600; }
.tabs a .n { font-size: 11.5px; color: var(--faint); margin-left: 4px; }

/* ---------- bars */
.bars { display: flex; flex-direction: column; gap: 7px; }
.barrow { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: 12.5px; }
.barrow .track { height: 8px; background: #eef0f3; border-radius: 4px; overflow: hidden; }
.barrow .track i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.barrow .track i.blue { background: var(--blue); }
.barrow .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.barrow .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- monitor */
.status-line { display: flex; gap: 22px; flex-wrap: wrap; }
.status-line div span { display: block; font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.status-line div b { font-weight: 600; font-size: 14px; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 6px; animation: pulse 1.2s infinite ease-in-out; }
@keyframes pulse { 50% { opacity: .25; } }
pre.log { background: var(--ink); color: #cfd4dc; padding: 12px; border-radius: 6px; font-size: 11.5px; overflow: auto; max-height: 260px; white-space: pre-wrap; margin: 8px 0 0; }
.source-row { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.source-row:last-child { border-bottom: 0; }
.feed-list { display: grid; gap: 6px; margin-top: 10px; }
.feed-list label { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.note-callout { background: var(--warn-soft); border: 1px solid #f0d48a; color: #6b4a00; border-radius: 6px; padding: 9px 12px; font-size: 12.5px; }
.info-callout { background: var(--blue-soft); border: 1px solid #c8dafd; color: #10337a; border-radius: 6px; padding: 9px 12px; font-size: 12.5px; }

/* ---------- updates */
.drop { display: block; border: 1.5px dashed var(--line-2); border-radius: 8px; padding: 26px; text-align: center; background: var(--surface-2); cursor: pointer; }
.drop.over { border-color: var(--blue); background: var(--blue-soft); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 20px 150px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checks li:last-child { border-bottom: 0; }

/* ---------- modal & drawer & toast */
.overlay { position: fixed; inset: 0; background: rgba(14,16,19,.45); z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg); width: min(640px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.modal.wide { width: min(880px, 100%); }
.modal-head { padding: 15px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 16px 18px; overflow: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.toasts { position: fixed; bottom: 18px; right: 18px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 7px; font-size: 13px; box-shadow: var(--shadow-lg); max-width: 380px; }
.toast.err { background: var(--bad); }
.skel { background: linear-gradient(90deg, #eceef2 0%, #f6f7f9 50%, #eceef2 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art img { width: 64px; }
.login-art h1 { font-size: 34px; line-height: 1.15; max-width: 460px; margin-top: 24px; }
.login-art p { color: #9aa3b0; max-width: 440px; }
.login-art svg.rings { position: absolute; right: -120px; bottom: -120px; width: 520px; opacity: .14; }
.login-form { display: grid; place-items: center; padding: 40px; background: var(--surface); }
.login-form .box { width: min(380px, 100%); }
.gbtn { width: 100%; justify-content: center; padding: 11px; font-size: 14.5px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; margin: 22px 0 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- responsive */
@media (max-width: 1200px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 70; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .btn.menu-btn { display: inline-flex; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 260px; padding: 28px; }
  .login-art h1 { font-size: 26px; }
}
@media (max-width: 600px) {
  .content { padding: 16px 14px 40px; }
  .topbar { padding: 8px 12px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .map-grid { grid-template-columns: 1fr; }
  .sig { grid-template-columns: 1fr; gap: 6px; }
  .sig .acts { justify-content: flex-start; }
  .barrow { grid-template-columns: 110px 1fr 30px; }
  .user-chip .nm { display: none; }
  .profile-head > div:first-child { flex-basis: 100%; }
  .profile-head .actions { flex-direction: row !important; }
  .topbar .search { max-width: none; }
  .filters .input, .filters input.input { min-width: 0; flex: 1 1 140px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .checks li { grid-template-columns: 20px 1fr; }
  .checks li span:last-child { grid-column: 2; }
}
@media print { .sidebar, .topbar, .actions { display: none !important; } .shell { display: block; } }
