/* Staff dashboard */
body { background: var(--mist); }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- sign-in ---------- */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--ink); position: relative; overflow: hidden; }
.signin::before { content: ''; position: absolute; inset: 0; opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='36' viewBox='0 0 240 36'%3E%3Cpath d='M0 18c20 0 20-8 40-8s20 8 40 8 20-8 40-8 20 8 40 8 20-8 40-8 20 8 40 8' fill='none' stroke='%2300788f' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E"); }
.signin-card { position: relative; width: min(420px, 100%); background: var(--paper); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-l); }
.signin-card h1 { font-size: 26px; font-weight: 800; margin: 18px 0 4px; }
.signin-card > p { color: var(--ink-2); margin-bottom: 20px; }
.signin-card form { display: grid; gap: 14px; }
.pin-input { font-size: 26px; letter-spacing: .5em; text-align: center; font-weight: 750; height: 58px; }
.signin-err { background: var(--bad-tint); color: var(--bad); padding: 10px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 550; }
.signin-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--ink); color: #c4d6da; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto; }
.side .brand { color: #fff; padding: 4px 8px 18px; }
.side-nav { display: grid; gap: 2px; }
.side-group { font-size: 12px; color: #7f9aa1; padding: 14px 10px 6px; font-weight: 600; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: #c4d6da; text-decoration: none; font-weight: 550; font-size: 14.5px; }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a.on { background: rgba(255, 198, 41, .12); color: #fff; box-shadow: inset 3px 0 0 var(--tag); }
.side-nav a .count { margin-left: auto; background: var(--tag); color: var(--ink); font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 0 7px; line-height: 19px; }
.side-nav a .count.bad { background: #ff7a6e; }
.side-foot { margin-top: auto; padding: 14px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; display: grid; gap: 10px; }
.side-foot .who { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.side-foot .who span.av { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.side-foot button, .side-foot a { background: none; border: 0; color: #a9c0c5; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0; font-size: 13.5px; text-decoration: none; }
.side-foot button:hover, .side-foot a:hover { color: #fff; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(238, 243, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 10px 24px; min-height: 64px; }
.topbar h1 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.menu-btn { display: none; }
.gsearch { position: relative; margin-left: auto; width: min(380px, 40vw); }
.gsearch .input { min-height: 40px; padding-left: 38px; padding-right: 36px; background: var(--paper); }
.gsearch .ic { position: absolute; left: 12px; top: 11px; color: var(--ink-3); }
.gsearch kbd { position: absolute; right: 10px; top: 9px; font: 600 12px var(--font); color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; background: var(--mist); }
.gresults { position: absolute; top: 46px; left: 0; right: 0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-l); border: 1px solid var(--line); overflow: hidden; z-index: 40; max-height: 420px; overflow-y: auto; }
.gresults button { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; padding: 10px 14px; border: 0; background: none; cursor: pointer; border-bottom: 1px solid var(--line-2); }
.gresults button:hover, .gresults button.on { background: var(--teal-tint); }
.gresults b { font-weight: 650; }
.gresults small { color: var(--ink-3); display: block; font-size: 12.5px; }
.gresults .ic { color: var(--ink-3); }
.gresults .none { padding: 14px; color: var(--ink-3); font-size: 14px; }
.live-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; min-height: 40px; padding: 0 12px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.live-btn.on .live-dot { background: #1fc764; box-shadow: 0 0 0 0 rgba(31, 199, 100, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 199, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 199, 100, 0); } }
.content { padding: 22px 24px 60px; display: grid; gap: 18px; align-content: start; }
@media (max-width: 1000px) {
    .app { grid-template-columns: 1fr; }
    .side { position: fixed; z-index: 70; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .25s var(--ease); }
    .side.open { transform: none; box-shadow: var(--shadow-l); }
    .menu-btn { display: inline-grid; }
    .topbar { padding: 10px 14px; flex-wrap: wrap; }
    .gsearch { order: 3; width: 100%; margin-left: 0; }
    .content { padding: 16px 14px 60px; }
}

/* ---------- building blocks ---------- */
.panel { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-size: 16.5px; font-weight: 750; }
.panel-head p { font-size: 13.5px; color: var(--ink-3); }
.panel-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.g-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 1180px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-2-1, .g-1-2 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .g2, .g3 { grid-template-columns: 1fr; } }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .input, .toolbar .select { min-height: 38px; width: auto; padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
.toolbar .grow { flex: 1; min-width: 180px; }
.toolbar .spacer { flex: 1; }
.seg-ctl { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg-ctl button { border: 0; background: none; padding: 6px 11px; border-radius: 7px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.seg-ctl button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* KPI strip: one headline display + quiet figures */
.kpis { display: grid; grid-template-columns: minmax(280px, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 0; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.kpi { padding: 16px 18px; border-left: 1px solid var(--line-2); display: grid; gap: 2px; align-content: start; min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi .lbl { font-size: 13px; color: var(--ink-3); font-weight: 550; }
.kpi .val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.kpi .sub { font-size: 12.5px; color: var(--ink-3); }
.kpi .sub b { color: var(--ink-2); font-weight: 650; }
.kpi .delta { font-size: 12.5px; font-weight: 650; }
.kpi .delta.up { color: var(--good); } .kpi .delta.down { color: var(--bad); }
.kpi-lcd { background: var(--lcd); color: var(--lcd-on); border-left: 0; }
.kpi-lcd .lbl { color: rgba(124, 243, 165, .7); }
.kpi-lcd .lcd-row { font-size: 38px; margin: 4px 0; }
.kpi-lcd .lcd-cur { font-size: 18px; }
.kpi-lcd .sub { color: rgba(124, 243, 165, .65); }
.kpi-lcd .sub b { color: var(--lcd-on); }
@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi-lcd { grid-column: 1 / -1; } .kpi { border-top: 1px solid var(--line-2); } .kpi:nth-child(2n) { border-left: 0; } }

/* attention list */
.attn { display: grid; gap: 2px; }
.attn button { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 9px 8px; border-radius: 10px; cursor: pointer; }
.attn button:hover { background: var(--mist); }
.attn .ai { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.attn .ai.bad { background: var(--bad-tint); color: var(--bad); }
.attn .ai.warn { background: var(--warn-tint); color: var(--warn); }
.attn .ai.info { background: var(--teal-tint); color: var(--teal-2); }
.attn b { font-weight: 650; font-size: 14.5px; display: block; }
.attn small { color: var(--ink-3); font-size: 12.5px; }
.attn .n { font-weight: 800; font-size: 18px; }
.attn-clear { display: flex; gap: 10px; align-items: center; color: var(--good); font-weight: 600; padding: 10px 6px; }

/* feed */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed li.new { animation: flash 1.8s var(--ease); }
@keyframes flash { from { background: rgba(255, 198, 41, .35); } to { background: transparent; } }
.fi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--ink-2); }
.fi .ic { width: 16px; height: 16px; }
.fi.in { background: var(--good-tint); color: var(--good); }
.fi.use { background: var(--teal-tint); color: var(--teal-2); }
.fi.np { background: var(--lilac-tint); color: var(--lilac); }
.fi.fail { background: var(--bad-tint); color: var(--bad); }
.fi.pend { background: var(--warn-tint); color: var(--warn); }
.feed .t b { font-weight: 650; }
.feed .t small { display: block; color: var(--ink-3); font-size: 12.5px; }
.feed .a { text-align: right; font-weight: 700; white-space: nowrap; }
.feed .a small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.feed .a.plus { color: var(--good); }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--paper); }
.tbl th.sortable { cursor: pointer; user-select: none; }
.tbl th.sortable:hover { color: var(--ink); }
.tbl th.sorted::after { content: ' ↓'; }
.tbl th.sorted.asc::after { content: ' ↑'; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #f6fafa; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .c { text-align: center; }
.tbl .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; font-weight: 650; }
.tbl td small { display: block; color: var(--ink-3); font-size: 12.5px; }
.tbl tfoot td { font-weight: 750; border-top: 2px solid var(--line); border-bottom: 0; }
.tbl .neg { color: var(--ink); }
.tbl .pos { color: var(--good); }
.tbl .dim td { color: var(--ink-3); }
.tbl .dim td s { color: var(--ink-3); }
.balbar { display: inline-block; width: 64px; height: 6px; border-radius: 99px; background: var(--line-2); vertical-align: middle; margin-right: 8px; overflow: hidden; }
.balbar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.balbar i.low { background: var(--amber); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.pager .btns { display: flex; gap: 6px; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--ink-3); }
.empty-state .ic { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--ink-3); }
.empty-state b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* drawer */
.drawer-back { position: fixed; inset: 0; background: rgba(9, 26, 32, .35); z-index: 60; animation: fadeIn .2s; }
.drawer { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--mist); box-shadow: var(--shadow-l); display: flex; flex-direction: column; animation: slideIn .28s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { background: var(--paper); padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.drawer-head .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.drawer-head .grow { flex: 1; min-width: 0; }
.drawer-body { overflow-y: auto; padding: 16px 20px 40px; display: grid; gap: 14px; align-content: start; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.d-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 640px) { .d-top { grid-template-columns: 1fr; } }
.d-lcd { font-size: 44px; }
.d-lcd .lcd-cur { font-size: 20px; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; font-weight: 550; min-width: 0; overflow-wrap: anywhere; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 640px) { .minis { grid-template-columns: repeat(2, 1fr); } }
.mini { background: var(--paper); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); }
.mini span { display: block; font-size: 12px; color: var(--ink-3); }
.mini b { font-size: 18px; font-weight: 800; }

/* stations page */
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.st-card { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 10px; border-top: 4px solid var(--good); }
.st-card.maintenance { border-top-color: var(--amber); }
.st-card.offline { border-top-color: var(--bad); }
.st-card h3 { font-size: 17px; font-weight: 750; }
.st-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.st-card .figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-card .figs div { background: var(--mist); border-radius: 8px; padding: 7px 9px; }
.st-card .figs span { display: block; font-size: 11.5px; color: var(--ink-3); }
.st-card .figs b { font-size: 16px; font-weight: 800; }
.st-card .st-note { font-size: 13px; background: var(--warn-tint); color: #6e4000; padding: 7px 9px; border-radius: 8px; }
.st-map { height: 380px; border-radius: 12px; overflow: hidden; background: #dfe9ea; }

/* bar list */
.barlist { display: grid; gap: 8px; }
.barlist .bl { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.barlist .bl:hover { background: var(--mist); }
.barlist .bl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barlist .bl i { display: block; height: 10px; border-radius: 0 4px 4px 0; background: var(--teal); }
.barlist .bl b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* simulator */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 980px) { .sim { grid-template-columns: 1fr; } }
.sim-cab { background: linear-gradient(180deg, #d8e2e4, #b8c7ca); border-radius: 18px 18px 8px 8px; padding: 18px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), var(--shadow-l); }
.sim-cab .lcd { font-size: 54px; }
.sim-cab .head { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.sim-led { width: 11px; height: 11px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 10px #2bd46b; display: inline-block; }
.sim-led.amber { background: #ffb020; box-shadow: 0 0 10px #ffb020; }
.sim-led.red { background: #ff4d3d; box-shadow: 0 0 10px #ff4d3d; }
.sim-port { margin: 22px auto 6px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, #2a3b40 0 34%, #8a9a9e 35% 40%, #c7d3d5 41% 100%); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .35); display: grid; place-items: center; border: 0; cursor: pointer; transition: transform .15s; }
.sim-port:hover { transform: scale(1.04); }
.sim-port .fob-mini { width: 28px; height: 44px; border-radius: 12px; background: var(--tag); box-shadow: 0 4px 8px rgba(0, 0, 0, .4); transform: translateY(-80px); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.sim-port.in .fob-mini { transform: none; opacity: 1; }
.sim-plate { text-align: center; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.sim-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 260px; overflow-y: auto; font-size: 13.5px; }
.sim-log li { padding: 7px 10px; border-radius: 8px; background: var(--mist); }
.sim-log li.ok { background: var(--good-tint); }
.sim-log li.bad { background: var(--bad-tint); }
.sim-log li.warn { background: var(--warn-tint); }

/* emails */
.mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .mail-grid { grid-template-columns: 1fr; } }
.mail-list { display: grid; max-height: calc(100vh - 190px); overflow-y: auto; }
.mail-list button { text-align: left; border: 0; background: none; border-bottom: 1px solid var(--line-2); padding: 10px 6px; cursor: pointer; display: grid; gap: 2px; border-radius: 6px; }
.mail-list button:hover, .mail-list button.on { background: var(--teal-tint); }
.mail-list b { font-size: 14px; font-weight: 650; }
.mail-list small { color: var(--ink-3); font-size: 12.5px; }
.mail-view { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 84px; }
.mail-view .mh { background: var(--ink); color: #fff; padding: 16px 20px; display: flex; gap: 10px; align-items: center; }
.mail-view .mb { padding: 22px; display: grid; gap: 14px; }
.mail-view .mb .lcdline { background: var(--mist); padding: 14px; border-radius: 10px; }

/* settings */
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 700px) { .set-grid { grid-template-columns: 1fr; } }
.switch { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.switch b { display: block; font-weight: 650; }
.switch small { color: var(--ink-3); font-size: 13px; }
.toggle { position: relative; width: 46px; height: 26px; flex: none; }
.toggle input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.toggle span { position: absolute; inset: 0; background: #c5d2d4; border-radius: 99px; transition: background .2s; }
.toggle span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.toggle input:checked + span { background: var(--teal); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:focus-visible + span { outline: 3px solid var(--tag); outline-offset: 2px; }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--teal); width: 0; transition: width .2s; }

/* misc */
.hl-num { font-size: 30px; font-weight: 850; letter-spacing: -0.02em; }
.stack { display: grid; gap: 10px; }
.row-flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.note { font-size: 13.5px; color: var(--ink-3); }
.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.callout.info { background: var(--teal-tint); color: #0b4a57; }
.callout.warn { background: var(--warn-tint); color: #6e4000; }
.callout.good { background: var(--good-tint); color: #145c33; }
.callout.bad { background: var(--bad-tint); color: #7d1f19; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; font-size: 13.5px; cursor: pointer; }
.chip-check input { accent-color: var(--teal); margin: 0; }
.chip-check:has(input:checked) { background: var(--teal-tint); border-color: var(--teal); }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.story > div { border-left: 3px solid var(--teal); padding: 2px 0 2px 14px; }
.story b { font-size: 28px; font-weight: 850; letter-spacing: -0.02em; display: block; }
.story span { color: var(--ink-2); font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-2); cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.hidden-print { }
@media print { .side, .topbar, .hidden-print, .drawer-back { display: none !important; } .app { display: block; } .panel { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; } }
