/* Hallmark · v2.0.0 · theme: Almanac (brand kept: BPJS blue #005596 / green #00A651) · deal: manual · genre: editorial · scope: app · shape: app screen · redesign: full · signature: the issue register — ruled rows, mono figures, one firm rule under each head · depth: full */
/* critique: the old console was a navy template: rounded cards, drop shadows, tracked uppercase labels, a colour square before every head, and two gradients behind the app. The figures and the rules were fine; the surfaces were generated. */
@charset "utf-8";
/* Hallmark · floors: 2 (state only), 3, 4, 6, 7, 9, 10, 11, 14 enforced below. waive: none. answered: app scope — no hero, no fold, no word budget (flow.md § App screens). */

/* ==========================================================================
   1. TOKENS — Almanac stock, BPJS brand kept
   ========================================================================== */
:root,
[data-theme="light"] {
  --font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ink: #101b26;
  --ink-2: #3d4c5a;
  --muted: #5c6b79;
  --paper: #eef1f3;
  --paper-2: #e2e7ea;
  --ground: #ccd5dd;
  --line: #aeb9c3;
  --line-2: #33414f;
  --rule-hair: 1px;
  --rule-bar: 2px;

  --brand: #005596;
  --brand-green: #00a651;
  --accent: #005596;
  --accent-ink: #003e70;
  --accent-soft: #dae5ee;

  --hdr-bg: #101b26;
  --hdr-top: #0a1219;
  --hdr-ink: #e9eff4;
  --hdr-ink-2: #a9b8c4;
  --hdr-line: rgba(233, 239, 244, .24);
  --hdr-active-bg: transparent;
  --hdr-active-ink: #ffffff;
  --hdr-hover: rgba(233, 239, 244, .12);

  --c1: #005596;
  --c2: #0b7a3e;
  --c3: #a86a00;
  --c4: #5c3a86;
  --c5: #00666e;
  --c6: #a8332a;
  --c7: #6b6414;
  --c8: #55636f;

  --pos: #0b7a3e;
  --neu: #55636f;
  --neg: #a8332a;
  --mix: #8a5a00;
  --info: #00666e;

  --pos-soft: #dcebe1;
  --neu-soft: #dfe4e8;
  --neg-soft: #f0dcd9;
  --mix-soft: #eee4d2;
  --info-soft: #d7e6e6;

  --mark: #efe3b0;
  --mark-ink: #1a2430;

  --th-bg: transparent;
  --th-ink: var(--ink);
  --zebra: var(--paper-2);
  --captcha-bg: #ffffff;
  --captcha-ink: #33414f;

  --r: 0px;
  --r-xs: 2px;
  --r-sm: 0px;
  --r-lg: 0px;
  --shadow-card: none;
  --shadow-hover: none;
  --shadow-float: 0 18px 44px rgba(9, 18, 26, .28);

  --w: 1440px;
  --chart: 230px;
  --chart-sm: 175px;
  --chart-tall: 270px;

  --dur-micro: 90ms;
  --dur-short: 160ms;
}

[data-theme="dark"] {
  --ink: #e7edf2;
  --ink-2: #b3c0cb;
  --muted: #93a2ae;
  --paper: #17222d;
  --paper-2: #1d2935;
  --ground: #101820;
  --line: #2d3b48;
  --line-2: #53667a;

  --brand: #005596;
  --brand-green: #00a651;
  --accent: #7fb6e0;
  --accent-ink: #a8cdea;
  --accent-soft: #1e3549;

  --hdr-bg: #0b131a;
  --hdr-top: #070d12;
  --hdr-ink: #eef3f7;
  --hdr-ink-2: #a4b3bf;
  --hdr-line: rgba(233, 239, 244, .2);
  --hdr-active-bg: transparent;
  --hdr-active-ink: #ffffff;
  --hdr-hover: rgba(233, 239, 244, .1);

  --c1: #6faee0;
  --c2: #4fbf83;
  --c3: #d9a247;
  --c4: #ab8bd4;
  --c5: #4fb3b8;
  --c6: #e07f74;
  --c7: #c2b755;
  --c8: #8b9aa7;

  --pos: #4fbf83;
  --neu: #93a2ae;
  --neg: #e07f74;
  --mix: #d9a247;
  --info: #4fb3b8;

  --pos-soft: #14291f;
  --neu-soft: #202c37;
  --neg-soft: #2e1c1a;
  --mix-soft: #2b2417;
  --info-soft: #12292b;

  --mark: #4a4220;
  --mark-ink: #f2e6b4;

  --th-bg: transparent;
  --th-ink: var(--ink);
  --zebra: var(--paper-2);
  --captcha-bg: #ffffff;
  --captcha-ink: #33414f;

  --shadow-card: none;
  --shadow-hover: none;
  --shadow-float: 0 18px 44px rgba(0, 0, 0, .55);
}

/* ==========================================================================
   2. BASE — the page is a printed register, not a console
   ========================================================================== */
html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font: 400 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* the two gradient washes behind the app were the loudest generated tell */
[data-theme="dark"] body {
  background: var(--ground);
  background-attachment: initial;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

/* every interactive element shows focus instantly (Floor 6) */
:where(a, button, input, select, textarea, [tabindex], summary, .kpi.link, .issue-card, .news, .seg button, .pager button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0;
}

/* numbers that compare are mono and tabular (theme rule) */
.kpi .value,
.mrow b,
.att-stats b,
.delta,
.news .meta,
.rel,
.rank-row b,
.count,
.tick {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   3. CHROME — masthead on the ink band, one firm rule, no pills
   ========================================================================== */
.appheader { background: var(--hdr-bg); }

.welcomebar {
  height: 30px;
  background: var(--hdr-top);
  color: var(--hdr-ink-2);
  font-size: 12px;
  border-bottom: 1px solid var(--hdr-line);
}
.welcomebar .wb-tag { font-weight: 500; letter-spacing: 0; }
.welcomebar .wb-tag::before { display: none; }
.welcomebar .wb-status .dot { border-radius: 0; width: 6px; height: 6px; }

.topbar {
  height: 62px;
  gap: 22px;
  padding: 0 24px;
  background: var(--hdr-bg);
  color: var(--hdr-ink);
  border-bottom: var(--rule-bar) solid var(--brand-green);
  box-shadow: none;
}
[data-theme="dark"] .topbar,
[data-theme="dark"] .appheader {
  background: var(--hdr-bg);
  border-bottom-color: var(--brand-green);
  box-shadow: none;
}

.topbar .brand { gap: 12px; }
.topbar .brand .logo,
.auth-head .logo {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--brand);
  border: 1px solid var(--hdr-line);
  box-shadow: none;
}
.topbar .brand .logo svg { width: 19px; height: 19px; }
.topbar .brand .t1 { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.topbar .brand .t2 {
  font-size: 12px;
  color: var(--hdr-ink-2);
  letter-spacing: 0.01em;
  text-transform: none;
}

/* nav: text with a 2px mark under the current page, never a pill */
nav.tabs { gap: 2px; }
nav.tabs a,
.nav-dd-btn {
  height: 62px;
  padding: 0 13px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--hdr-ink-2);
  background: transparent;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color var(--dur-micro) ease, box-shadow var(--dur-micro) ease;
}
nav.tabs a:hover,
.nav-dd-btn:hover,
.nav-dd.open .nav-dd-btn {
  background: var(--hdr-hover);
  color: var(--hdr-ink);
  box-shadow: inset 0 -2px 0 var(--hdr-line);
}
nav.tabs a.active,
.nav-dd-btn.active {
  background: transparent;
  color: var(--hdr-active-ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand-green);
}
[data-theme="dark"] nav.tabs a.active,
[data-theme="dark"] .nav-dd-btn.active {
  background: transparent;
  color: var(--hdr-active-ink);
  box-shadow: inset 0 -2px 0 var(--brand-green);
}

.nav-dd-menu {
  border-radius: 0;
  background: var(--hdr-bg);
  border: 1px solid var(--hdr-line);
  box-shadow: 0 14px 30px rgba(6, 12, 18, .35);
  padding: 6px 0;
}
.nav-dd-menu a,
.nav-dd-menu .dd-logout {
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--hdr-ink-2);
  border-left: 2px solid transparent;
}
.nav-dd-menu a:hover,
.nav-dd-menu .dd-logout:hover {
  background: var(--hdr-hover);
  color: var(--hdr-ink);
  border-left-color: var(--brand-green);
}

.topbar .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--hdr-line);
  color: var(--hdr-ink-2);
  transition: color var(--dur-micro) ease, border-color var(--dur-micro) ease;
}
.topbar .icon-btn:hover {
  background: var(--hdr-hover);
  border-color: var(--hdr-ink);
  color: var(--hdr-ink);
}
.user-chip-btn {
  border-radius: 0;
  border: 1px solid var(--hdr-line);
  background: transparent;
  padding: 4px 9px;
}
.user-chip-btn .avatar { border-radius: 0; background: var(--brand); }
.user-chip-btn .umeta b { font-weight: 600; font-size: 12.5px; }
.user-chip-btn .umeta span { color: var(--hdr-ink-2); font-size: 11.5px; }
[data-theme="dark"] .user-chip-btn .umeta b { color: var(--hdr-ink); }

/* ==========================================================================
   4. PAGE FRAME
   ========================================================================== */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 22px 24px 8px;
}

.page-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: var(--rule-bar) solid var(--line-2);
}
.page-title h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.page-title h1::before { display: none; }
.page-title .sub {
  color: var(--muted);
  font-size: 12.5px;
  font-family: var(--font);
}

/* ==========================================================================
   5. CONTROLS
   ========================================================================== */
.field label,
.field > label:first-child {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.field input:not([type=checkbox]):not([type=radio]),
.field select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 13px/1 var(--font);
  box-shadow: none;
  transition: border-color var(--dur-micro) ease;
}
.field input:not([type=checkbox]):not([type=radio]):hover,
.field select:hover { border-color: var(--ink-2); }
.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
  box-shadow: none;
}
.field input[type=checkbox] { accent-color: var(--accent); }

.btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid var(--ink-2);
  background: transparent;
  color: var(--ink);
  font: 500 13px/1 var(--font);
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color var(--dur-micro) ease, border-color var(--dur-micro) ease, color var(--dur-micro) ease;
}
.btn:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.btn:active { transform: none; }
.btn.primary,
.btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
[data-theme="dark"] .btn.primary { color: #08131c; }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
[data-theme="dark"] .btn.primary:hover { color: #08131c; }
.btn.ghost { border-color: var(--line); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12px; }

.seg {
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  padding: 2px;
  gap: 2px;
}
.seg button {
  border-radius: 0;
  height: 28px;
  font: 500 12.5px/1 var(--font);
  color: var(--ink-2);
  transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease;
}
.seg button.active,
[data-theme="dark"] .seg button.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}
[data-theme="dark"] .seg button.active { color: #08131c; }

/* ==========================================================================
   6. SURFACES — a sheet with a firm rule at its head, never a box with shadow
   ========================================================================== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
  padding: 16px 18px;
  box-shadow: none;
}
[data-theme="dark"] .card { border-top-color: var(--line-2); }

.card h2 {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.card h2::before { display: none; }

.card .desc {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 14px;
  padding-bottom: 0;
  border-bottom: 0;
  line-height: 1.5;
}
.card-head { align-items: baseline; }

.toolbar.card,
.toolbar.card.periodbar {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 12px 16px;
}
.toolbar { gap: 10px 16px; }

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 0;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  background: var(--paper);
}
.kpi,
.kpi.link {
  --k: var(--c8);
  position: static;
  padding: 13px 16px 14px;
  background: transparent;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.kpi:first-child { border-left: 0; }
.kpi.link:hover {
  background: var(--paper-2);
  transform: none;
  box-shadow: none;
}
.kpi .label {
  display: block;
  font: 500 11.5px/1.3 var(--font);
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.kpi .label::before { display: none; }
.kpi .value {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.kpi.t-pos .value { color: var(--pos); }
.kpi.t-neg .value { color: var(--neg); }
.kpi .meta {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--muted);
  gap: 5px;
}
.kpi .meta .up { color: var(--neg); }
.kpi .meta .down { color: var(--pos); }

.insight {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: var(--rule-bar) solid var(--accent);
  border-radius: 0;
  padding: 15px 18px;
  margin-bottom: 16px;
  box-shadow: none;
}
.insight .finding {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
}
.insight .finding-sub {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.insight .finding-sub span + span::before {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-left: 1px solid var(--line);
  margin: 0 10px;
  vertical-align: 0;
}
.insight b { font-weight: 600; color: var(--accent); }

/* the attention register: three ruled columns, not three cards */
.attention .attention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  border-top: var(--rule-hair) solid var(--line);
}
.attention-item {
  background: transparent;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  border-radius: 0;
  padding: 14px 16px 12px;
  box-shadow: none;
}
.attention-item:first-child { border-left: 0; }
.attention-item:hover { background: var(--paper-2); }
.attention-item .att-rank,
.att-rank {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.att-title {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
}
.att-stats { color: var(--muted); font-size: 11.5px; }

/* ==========================================================================
   7. LISTS, NEWS, ISSUES
   ========================================================================== */
.news-list { gap: 0; border-top: var(--rule-hair) solid var(--line); }
.news {
  background: transparent;
  border: 0;
  border-bottom: var(--rule-hair) solid var(--line);
  border-left: var(--rule-bar) solid transparent;
  border-radius: 0;
  padding: 12px 2px 12px 14px;
  box-shadow: none;
}
.news:hover { background: var(--paper-2); }
.news.positive { border-left-color: var(--pos); }
.news.negative { border-left-color: var(--neg); }
.news.mixed { border-left-color: var(--mix); }
.news .title,
.news h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ink);
}
.news .meta { color: var(--muted); font-size: 11.5px; }

.issue-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-left: 0;
  border-radius: 0;
  padding: 14px 18px;
  box-shadow: none;
  margin-bottom: 12px;
}
.issue-card.negative { border-top-color: var(--neg); }
.issue-card.positive { border-top-color: var(--pos); }
.issue-card.mixed { border-top-color: var(--mix); }
.issue-card .ic-title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   8. LABELS — sentence case, body face, no tracking (Floor 9)
   ========================================================================== */
.tag,
.pill,
.chip,
.side-eyebrow,
.group-note,
.filter-note,
.scope-note,
.banner-err,
.result-head,
.foot-note,
.table-wrap th,
.users-table th {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: 0;
}
.tag,
.pill,
.chip {
  height: auto;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  font-size: 11.5px;
  font-weight: 500;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag.positive, .pill.ok { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.tag.neutral { background: var(--neu-soft); color: var(--ink-2); border-color: transparent; }
.tag.negative, .pill.off, .pill.warn { background: var(--neg-soft); color: var(--neg); border-color: transparent; }
.tag.mixed { background: var(--mix-soft); color: var(--mix); border-color: transparent; }
.tag.newtag { background: var(--neg); color: #ffffff; border-color: transparent; }
.pill.admin { background: var(--accent); color: #ffffff; border-color: transparent; }
[data-theme="dark"] .pill.admin,
[data-theme="dark"] .tag.newtag { color: #08131c; }

.side-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

/* ==========================================================================
   9. TABLES
   ========================================================================== */
.table-wrap { border-top: var(--rule-bar) solid var(--line-2); }
table { width: 100%; border-collapse: collapse; }
.table-wrap th,
.users-table th {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  background: transparent;
  color: var(--th-ink);
  border-bottom: var(--rule-hair) solid var(--line);
  padding: 8px 10px;
}
.table-wrap td,
.users-table td {
  border-top: var(--rule-hair) solid var(--line);
  padding: 9px 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.table-wrap td.num,
.table-wrap .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.table-wrap tbody tr:nth-child(even) { background: transparent; }
.table-wrap tbody tr:hover { background: var(--paper-2); }

/* ==========================================================================
   10. PAGER, MODAL, TOAST, MISC
   ========================================================================== */
.pager { gap: 4px; }
.pager button {
  min-width: 34px;
  height: 34px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  font: 500 13px/1 var(--mono);
}
.pager button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pager button.active,
[data-theme="dark"] .pager button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
[data-theme="dark"] .pager button.active { color: #08131c; }

.modal-card {
  border-radius: 0;
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--ink);
  box-shadow: var(--shadow-float);
}
.modal-body h3::before { display: none; }
.modal-body h3 { font-family: var(--serif); font-weight: 500; }

.toast {
  border-radius: 0;
  border: 1px solid var(--line-2);
  box-shadow: none;
  font-family: var(--font);
}

.empty, .loading, .muted { color: var(--muted); }
.foot-note {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  border-top: var(--rule-hair) solid var(--line);
  padding-top: 10px;
}

.maplegend i {
  border-radius: 0;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--neg));
}
.maptip {
  border-radius: 0;
  border: 1px solid var(--line-2);
  font-family: var(--font);
}

.site-credit,
footer,
.footer { color: var(--muted); font-size: 12px; }

/* ==========================================================================
   11. LOGIN — a title page, not a floating card
   ========================================================================== */
.auth-body,
[data-theme="dark"] .auth-body {
  background: var(--ground);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.auth-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 430px;
}
[data-theme="dark"] .auth-card { border-color: var(--line); border-top-color: var(--line-2); }
.auth-head {
  background: transparent;
  border-bottom: var(--rule-hair) solid var(--line);
  padding: 16px 22px;
}
.auth-head .t1 { font-family: var(--font); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.auth-head .t2 {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.auth-head .logo { background: var(--brand); border: 0; }
.auth-main { padding: 22px; }
.auth-main h1 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.auth-sub { color: var(--muted); font-size: 13px; line-height: 1.5; }
.auth-main label {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.auth-main input {
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  height: 38px;
  font-family: var(--font);
}
.auth-main input:focus { outline: 2px solid var(--accent); outline-offset: 1px; box-shadow: none; border-color: var(--accent); }
.auth-pass .auth-eye { color: var(--accent); font-weight: 500; }
.auth-hint { color: var(--muted); }
.auth-captcha-img { border-radius: 0; border: 1px solid var(--line); }
.auth-submit { height: 40px; width: 100%; }
.auth-note { color: var(--muted); border-top: var(--rule-hair) solid var(--line); padding-top: 12px; }
.auth-credit { color: var(--muted); font-size: 11.5px; }
.auth-credit div + div { color: var(--muted); }

/* ==========================================================================
   12. SITREP — the same register, at command scale
   ========================================================================== */
.sr-app {
  --sr-bg: var(--ground);
  --sr-bg-2: var(--paper);
  --sr-panel: var(--paper);
  --sr-panel-2: var(--paper-2);
  --sr-line: var(--line);
  --sr-line-glow: var(--line-2);
  --sr-ink: var(--ink);
  --sr-ink-2: var(--ink-2);
  --sr-ink-3: var(--muted);
  --sr-accent: var(--accent);
  --sr-cyan: var(--info);
  --sr-green: var(--pos);
  --sr-bpjs: var(--brand);
  --sr-pos: var(--pos);
  --sr-neg: var(--neg);
  --sr-warn: var(--mix);
  --sr-font: var(--font);
  --sr-mono: var(--mono);
  --sr-radius: 0px;
  --sr-radius-sm: 0px;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font);
}

.sr-top {
  background: var(--hdr-bg);
  border-bottom: var(--rule-bar) solid var(--brand-green);
  box-shadow: none;
  color: var(--hdr-ink);
}
.sr-brand .sr-logo {
  background: var(--brand);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font);
  font-weight: 600;
}
.sr-brand-txt strong {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hdr-ink);
  font-size: 16px;
}
.sr-brand-txt span { color: var(--hdr-ink-2); letter-spacing: 0; text-transform: none; }

.sr-live { color: var(--hdr-ink-2); font-family: var(--mono); font-size: 12px; }
.sr-dot { border-radius: 0; background: var(--brand-green); }
.sr-live-txt {
  color: var(--hdr-ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.sr-sep { background: var(--hdr-line); }
.sr-clock { color: var(--hdr-ink); font-family: var(--mono); }
.sr-date { color: var(--hdr-ink-2); font-family: var(--font); }
.sr-spark { opacity: .9; }
.sr-spark-note, .sr-updated { color: var(--hdr-ink-2); font-family: var(--mono); font-size: 11px; }
.sr-btn {
  border-radius: 0;
  border: 1px solid var(--hdr-line);
  background: transparent;
  color: var(--hdr-ink);
  font: 500 12px/1 var(--font);
  box-shadow: none;
  transition: background-color var(--dur-micro) ease, border-color var(--dur-micro) ease;
}
.sr-btn:hover { background: var(--hdr-hover); border-color: var(--hdr-ink); color: var(--hdr-ink); }
.sr-btn[aria-pressed="true"] { border-color: var(--brand-green); color: var(--hdr-ink); }
.sr-btn-ghost { border-color: var(--hdr-line); }
.sr-btn-dash { background: transparent; }

/* alert + banner: a ruled notice, no glow */
.sr-alerts {
  background: var(--neg-soft);
  border: 1px solid var(--neg);
  border-left-width: var(--rule-bar);
  border-radius: 0;
  color: var(--ink);
  box-shadow: none;
}
.sr-banner {
  background: var(--neg-soft);
  border: 1px solid var(--neg);
  border-radius: 0;
  color: var(--ink);
  box-shadow: none;
}

/* the ticker is a ruled band, label in the body face, untracked */
.sr-ticker {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
  color: var(--ink-2);
  box-shadow: none;
}
.sr-ticker-tag {
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-right: var(--rule-hair) solid var(--line);
  padding-right: 12px;
}
.sr-ticker-item { font-family: var(--serif); font-size: 13.5px; color: var(--ink); }
.sr-ticker-count { font-family: var(--mono); color: var(--muted); }

/* KPI strip: one ruled register of figures */
.sr-kpis {
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
}
.sr-kpi {
  background: transparent;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 16px 13px;
}
.sr-kpi:first-child { border-left: 0; }
.sr-k {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.sr-v {
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sr-v.neg { color: var(--neg); }
.sr-v.pos { color: var(--pos); }
.sr-d { font-family: var(--font); font-size: 11px; color: var(--muted); }

/* panels: sheet with a firm head rule */
.sr-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.sr-ph {
  background: transparent;
  border-bottom: var(--rule-hair) solid var(--line);
  padding: 11px 14px;
}
.sr-ph h2 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.006em;
  color: var(--ink);
}
.sr-ph-sub { font-family: var(--font); font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.sr-legend { font-family: var(--font); font-size: 11px; color: var(--muted); }
.sr-legend i,
.sr-legend .l1,
.sr-legend .l2,
.sr-legend .l3,
.sr-legend .l4,
.sr-legend .l5 { border-radius: 0; }
.sr-legend-pulse .lp { border-radius: 0; }

.sr-mapwrap { background: var(--paper-2); }
.sr-mapfoot { border-top: var(--rule-hair) solid var(--line); background: transparent; }
.sr-hot .sr-hotchip,
.sr-hotchip { border-radius: 0; border: 1px solid var(--line); background: transparent; font-family: var(--font); }
.sr-thsum { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.sr-thsum .bits span { border-radius: 0; }

/* threads: ruled rows, serif text */
.sr-threads { background: transparent; }
.sr-threads > li,
.sr-threads li.sr-th {
  border-bottom: var(--rule-hair) solid var(--line);
  border-radius: 0;
  padding: 10px 14px;
}
.sr-threads > li:hover { background: var(--paper-2); }
.sr-th-top { font-family: var(--font); font-size: 11px; color: var(--muted); }
.sr-th-user { color: var(--ink); font-weight: 600; }
.sr-th-text {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}
.sr-sent,
.sr-threads .sr-pill {
  border-radius: var(--r-xs);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.sr-thfoot { border-top: var(--rule-hair) solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

/* wire + issues */
.sr-wire > li { border-bottom: var(--rule-hair) solid var(--line); padding: 9px 14px; }
.sr-wire .sr-wt,
.sr-wire .sr-wtitle {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.sr-wire .sr-wm,
.sr-wire .sr-wmeta { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.sr-issues > li { border-bottom: var(--rule-hair) solid var(--line); padding: 11px 14px; }
.sr-is-title, .sr-issues .sr-it {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.sr-bar, .sr-track { border-radius: 0; }
.sr-bar i, .sr-fill { border-radius: 0; }

/* watch lists (media) */
.sr-watch > li { border-bottom: var(--rule-hair) solid var(--line); padding: 10px 14px; }
.sr-watch .sr-rank { font-family: var(--mono); color: var(--muted); font-size: 11px; }
.sr-watch .sr-wname { font-family: var(--font); font-weight: 600; font-size: 13px; color: var(--ink); }
.sr-watch .sr-wsub, .sr-watch .sr-wmeta { font-family: var(--font); font-size: 11px; color: var(--muted); }
.sr-watch .sr-wbar, .sr-watch .sr-meter { border-radius: 0; }

.sr-foot {
  border-top: var(--rule-bar) solid var(--line-2);
  color: var(--muted);
  font-family: var(--font);
  font-size: 11.5px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* popup + modal */
.sr-pop, .sr-modal-card {
  border-radius: 0;
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-float);
  color: var(--ink-2);
}
.sr-pop-h, .sr-modal-top { border-bottom: var(--rule-hair) solid var(--line); background: transparent; }
.sr-pop-title, #srPopTitle { font-family: var(--font); font-weight: 600; color: var(--ink); }
.sr-pop-sub, .sr-pop-link { font-family: var(--font); font-size: 11.5px; color: var(--muted); }
.sr-pop-list > li { border-bottom: var(--rule-hair) solid var(--line); }
.sr-pop-list .sr-pt { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.sr-modal-body h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.sr-modal-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sr-modal-text { font-family: var(--serif); font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.sr-x {
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
}
.sr-x:hover { border-color: var(--ink); color: var(--ink); }
.sr-tip {
  border-radius: 0;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 11.5px;
  box-shadow: none;
}

/* ==========================================================================
   13. MOTION — state only, and never for someone who asked it to stop
   ========================================================================== */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow, outline-color, text-decoration-color, opacity;
  transition-duration: var(--dur-micro);
  transition-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .sr-ticker-track { animation: none !important; transform: none !important; }
  .sr-alerts, .sr-banner { animation: none !important; }
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .attention .attention-grid { grid-template-columns: 1fr 1fr; }
  .attention-item:nth-child(3) { border-left: 0; border-top: var(--rule-hair) solid var(--line); }
}
@media (max-width: 820px) {
  .container { padding: 16px 14px 8px; }
  .attention .attention-grid { grid-template-columns: 1fr; }
  .attention-item { border-left: 0; border-top: var(--rule-hair) solid var(--line); }
  .attention-item:first-child { border-top: 0; }
  .page-title h1 { font-size: 22px; }
}

/* ==========================================================================
   15. SECOND PASS — the inventory sweep
   Every surface that still carried a pill, a circle, a glow or a hardcoded
   navy from the old console, set straight. Kept after section 12 so the
   document order matches the file a reader opens.
   ========================================================================== */

/* -- pills and circles on the dashboard -------------------------------- */
.page-title .sub {
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line);
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}
.delta {
  border-radius: var(--r-xs);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  padding: 0 5px;
  letter-spacing: 0;
}
.delta.good { background: var(--pos-soft); color: var(--pos); }
.delta.bad { background: var(--neg-soft); color: var(--neg); }
.delta.flat { background: var(--neu-soft); color: var(--ink-2); }

.status-btn { border-radius: 0; }
.stackbar { border-radius: 0; height: 8px; gap: 0; }
.stackbar > * { border-radius: 0; }
.rel i { border-radius: 0; height: 5px; }
.rel i > span { border-radius: 0; }
.rank-row .bar,
.wil-row .bar,
.vps-bar,
.vps-bar > span,
.sent-row .bar { border-radius: 0; }

.att-rank {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.att-top { align-items: center; }
.attention-item {
  background: transparent;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.attention-item:hover { transform: none; box-shadow: none; background: var(--paper-2); }

.user-chip-btn .avatar {
  border-radius: 0;
  background: var(--brand);
  border: 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 11.5px;
}
.auth-tag {
  border-radius: var(--r-xs);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--line);
}
.auth-tag-dot { border-radius: 0; }
.dot, .alert-dot { border-radius: 0; box-shadow: none; }

/* the floating SITREP launcher: square, ink edge, brand fill */
.sitrep-fab,
#sitrepFab,
.sr-fab {
  border-radius: 0;
  box-shadow: none;
  background: var(--brand);
  border: 1px solid var(--brand-green);
  color: #ffffff;
}

/* -- SITREP: chrome ---------------------------------------------------- */
.sr-app { background: var(--ground); }
.sr-top {
  background: var(--hdr-bg);
  border-bottom: var(--rule-bar) solid var(--brand-green);
  box-shadow: none;
  border-radius: 0;
}
.sr-brand .sr-logo,
.sr-btn,
.sr-btn-ghost,
.sr-btn-dash {
  background-image: none;
  box-shadow: none;
  border-radius: 0;
  transform: none;
  transition: background-color var(--dur-micro) ease, border-color var(--dur-micro) ease, color var(--dur-micro) ease;
}
.sr-btn {
  background-color: transparent;
  border: 1px solid var(--hdr-line);
  color: var(--hdr-ink);
  font: 500 12px/1 var(--font);
  padding: 7px 12px;
}
.sr-btn:hover { background-color: var(--hdr-hover); border-color: var(--hdr-ink); filter: none; }
.sr-btn-ghost { background-color: transparent; }

/* -- SITREP: alert banner (the emoji icon goes, the label becomes words) - */
.sr-banner {
  background: var(--neg-soft);
  border: 1px solid var(--neg);
  border-left-width: var(--rule-bar);
  border-radius: 0;
  color: var(--ink);
  box-shadow: none;
  padding: 9px 14px;
  font-size: 12.5px;
  gap: 0;
}
.sr-banner::before {
  content: "Perhatian · ";
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--neg);
}
.sr-banner b { color: var(--ink); }
.sr-alerts { border-radius: 0; box-shadow: none; }

/* -- SITREP: ticker ---------------------------------------------------- */
.sr-ticker {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
  box-shadow: none;
}
.sr-ticker-tag {
  background: transparent;
  color: var(--ink);
  border-right: var(--rule-hair) solid var(--line);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* -- SITREP: the KPI register ------------------------------------------ */
.sr-kpis {
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
}
.sr-kpi {
  background: transparent;
  background-image: none;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  padding: 11px 15px 12px;
}
.sr-kpi:first-child { border-left: 0; }
.sr-kpi::before { display: none; }
.sr-kpi:hover { transform: none; box-shadow: none; border-color: var(--line); background: var(--paper-2); }
.sr-k { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 11.5px; }
.sr-v { font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; }
.sr-sparkline, .sr-kpi svg { opacity: .55; }

/* -- SITREP: panels ---------------------------------------------------- */
.sr-panel,
.sr-panel-priority {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--line-2);
  border-radius: 0;
  box-shadow: none;
}
.sr-panel-priority { border-top-color: var(--neg); }
.sr-panel-priority::before { display: none; }
.sr-ph { background: transparent; border-bottom: var(--rule-hair) solid var(--line); }
.sr-ph h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sr-ph-sub { font-family: var(--font); font-size: 11.5px; color: var(--muted); }
.sr-legend { text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; font-size: 11px; }
.sr-legend .l1 { background: color-mix(in oklab, var(--accent) 22%, var(--paper-2)); }
.sr-legend .l2 { background: color-mix(in oklab, var(--accent) 40%, var(--paper-2)); }
.sr-legend .l3 { background: color-mix(in oklab, var(--accent) 58%, var(--paper-2)); }
.sr-legend .l4 { background: color-mix(in oklab, var(--accent) 76%, var(--paper-2)); }
.sr-legend .l5 { background: color-mix(in oklab, var(--accent) 96%, var(--paper-2)); }
.sr-legend i { border-radius: 0; border: 1px solid var(--line); }

/* the map: a printed chart on paper, five steps of one ink, no glow */
.sr-mapwrap { background: var(--paper-2); }
#srMap { filter: none; }
.sr-mapfoot { background: transparent; border-top: var(--rule-hair) solid var(--line); }
.sr-mapfoot, .sr-mapfoot span, .sr-chip, tags { text-transform: none; }
.sr-prov { fill: color-mix(in oklab, var(--accent) 6%, var(--paper-2)); stroke: var(--line); transition: stroke var(--dur-micro) ease, fill var(--dur-micro) ease; }
.sr-prov.b-m0 { fill: color-mix(in oklab, var(--accent) 4%, var(--paper-2)); stroke: var(--line); stroke-width: 0.9; }
.sr-prov.b-m1 { fill: color-mix(in oklab, var(--accent) 22%, var(--paper-2)); stroke: var(--line); }
.sr-prov.b-m2 { fill: color-mix(in oklab, var(--accent) 42%, var(--paper-2)); stroke: var(--line); }
.sr-prov.b-m3 { fill: color-mix(in oklab, var(--accent) 62%, var(--paper-2)); stroke: var(--ink-2); }
.sr-prov.b-m4 { fill: color-mix(in oklab, var(--accent) 88%, var(--paper-2)); stroke: var(--ink); filter: none; }
.sr-prov[data-neg="1"] { stroke: var(--neg) !important; stroke-width: 1.3 !important; stroke-dasharray: 3 2; filter: none !important; }
.sr-prov:hover { fill: var(--accent) !important; stroke: var(--ink) !important; stroke-width: 1.2 !important; filter: none !important; }
.sr-hotspots .hs-core { fill: var(--accent); }
.sr-hotspots .hs-neg .hs-core { fill: var(--neg); }
.sr-hotspots .hs-halo {
  fill: color-mix(in oklab, var(--accent) 18%, transparent);
  stroke: var(--accent);
  opacity: .3;
  animation: none !important;
}
.sr-hotspots .hs-neg .hs-halo { fill: color-mix(in oklab, var(--neg) 18%, transparent); stroke: var(--neg); }
.sr-hotspots .hs:hover .hs-core { fill: var(--ink); }
.sr-tip {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: none;
  font-family: var(--font);
}
.sr-chip {
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}
.sr-chip:hover { border-color: var(--ink); background: var(--paper); }
.sr-chip .chip-dot { border-radius: 0; }

/* -- SITREP: threads, wire, issues, watch ------------------------------ */
.sr-threads li { border-bottom: var(--rule-hair) solid var(--line); }
.sr-threads li:hover { background: var(--paper-2); }
.sr-threads .th-author { font-weight: 600; font-size: 11px; color: var(--ink); }
.sr-threads .th-time { font-family: var(--mono); font-size: 10px; }
.sr-threads .th-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.sr-threads .th-meta { font-family: var(--mono); font-size: 10px; }
.sr-threads .th-pill,
.sr-threads .th-pill.neg,
.sr-threads .th-pill.pos,
.sr-threads .th-pill.neu {
  border-radius: var(--r-xs);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 1px 6px;
  border: 1px solid transparent;
}
.sr-threads .th-pill.neg { background: var(--neg-soft); border-color: transparent; color: var(--neg); }
.sr-threads .th-pill.pos { background: var(--pos-soft); border-color: transparent; color: var(--pos); }
.sr-threads .th-pill.neu { background: var(--neu-soft); border-color: transparent; color: var(--ink-2); }
.sr-thsum, .sr-thsum .bits, .sr-thsum .bits span { font-family: var(--mono); font-size: 10px; }
.sr-thsum .bits span { border-radius: 0; background: transparent; border: 0; padding: 0; }

.sr-wire li { border-bottom: var(--rule-hair) solid var(--line); }
.wire-li:hover { background: var(--paper-2); }
.wire-dot { border-radius: 0; box-shadow: none; }
.wire-dot.negative, .wire-dot.positive { box-shadow: none; }
.wire-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.wire-meta { font-family: var(--mono); font-size: 10.5px; }
.wire-meta b { font-weight: 500; }

.sr-issues li { border-bottom: var(--rule-hair) solid var(--line); }
.sr-issues li:hover { background: var(--paper-2); }
.i-title { font-family: var(--serif); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.i-rank, .i-trend, .i-meta { font-family: var(--mono); }
.i-bar { border-radius: 0; background: var(--line); }
.i-bar i { border-radius: 0; }

.sr-watch li { border-bottom: var(--rule-hair) solid var(--line); }
.sr-watch li:hover { background: var(--paper-2); }
.sr-watch .w-idx { font-family: var(--mono); font-weight: 500; color: var(--muted); }
.sr-watch .w-title { font-family: var(--font); font-weight: 600; color: var(--ink); }
.sr-watch .w-sub, .sr-watch .w-meta { font-family: var(--font); font-size: 11px; color: var(--muted); }
.sr-watch .w-bar, .sr-watch .w-meter, .sr-watch .w-track { border-radius: 0; }

/* -- SITREP: popup, modal, footer -------------------------------------- */
.sr-pop, .sr-modal-card {
  border-radius: 0;
  border: 1px solid var(--line);
  border-top: var(--rule-bar) solid var(--ink);
  box-shadow: var(--shadow-float);
  background: var(--paper);
}
.sr-pop-h, .sr-modal-top { background: transparent; border-bottom: var(--rule-hair) solid var(--line); }
.sr-pop-list li, .sr-pop li { border-bottom: var(--rule-hair) solid var(--line); }
.sr-modal-title, .sr-modal-body h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.sr-modal-text { font-family: var(--serif); }
.sr-foot { border-top: var(--rule-bar) solid var(--line-2); color: var(--muted); font-family: var(--font); }

/* -- no reveal, no pulse, no glow left anywhere ------------------------ */
@keyframes hsPulse {
  0%, 100% { opacity: .3; transform: none; }
}

/* ==========================================================================
   16. MAP AS A PRINTED CHART
   The aurora, the hex pattern, the vignette, the HUD corner brackets and the
   travelling dashes were the console's one ornament. A chart needs its axes
   and its steps, nothing else.
   ========================================================================== */
.sr-mapwrap::before { display: none; }
.sr-hex, .sr-aurora, .sr-hud { display: none; }
.sr-prov[data-n]:not([data-n="0"]) {
  stroke-dasharray: none;
  animation: none;
}
.sr-hotspots .hs-halo { filter: none; }
.sr-prov.b-m0 { fill: color-mix(in oklab, var(--accent) 7%, var(--paper)); stroke: var(--line); }
.sr-prov.b-m1 { fill: color-mix(in oklab, var(--accent) 26%, var(--paper)); stroke: var(--line); }
.sr-prov.b-m2 { fill: color-mix(in oklab, var(--accent) 46%, var(--paper)); stroke: var(--line-2); }
.sr-prov.b-m3 { fill: color-mix(in oklab, var(--accent) 66%, var(--paper)); stroke: var(--line-2); }
.sr-prov.b-m4 { fill: color-mix(in oklab, var(--accent) 94%, var(--paper)); stroke: var(--ink); }
.sr-legend .l1 { background: color-mix(in oklab, var(--accent) 26%, var(--paper)); }
.sr-legend .l2 { background: color-mix(in oklab, var(--accent) 46%, var(--paper)); }
.sr-legend .l3 { background: color-mix(in oklab, var(--accent) 66%, var(--paper)); }
.sr-legend .l4 { background: color-mix(in oklab, var(--accent) 82%, var(--paper)); }
.sr-legend .l5 { background: color-mix(in oklab, var(--accent) 100%, var(--paper)); }

/* ==========================================================================
   17. DARK PARITY — the old sheet set these in dark only, with higher
   specificity than the token layer. Repeated here with the same weight.
   ========================================================================== */
html[data-theme] .card,
html[data-theme] .kpi,
html[data-theme] .vz-card,
html[data-theme] .vp-card {
  box-shadow: none;
  border-radius: 0;
}
html[data-theme] .kpi {
  background: transparent;
  border: 0;
  border-left: var(--rule-hair) solid var(--line);
  overflow: visible;
}
html[data-theme] .kpi:first-child { border-left: 0; }
html[data-theme] .kpi::before { display: none; }
html[data-theme] .kpi .label,
html[data-theme] .kpi .label span {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
html[data-theme] .kpi .value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
html[data-theme] .kpi .meta,
html[data-theme] .kpi .meta span {
  font-size: 11.5px;
  color: var(--muted);
}
html[data-theme] table thead th {
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: var(--rule-hair) solid var(--line);
}
html[data-theme] table tbody tr:nth-child(even) { background: transparent; }
html[data-theme] table tbody tr:hover { background: var(--paper-2); }
html[data-theme] table tbody td { color: var(--ink-2); border-top: var(--rule-hair) solid var(--line); }
html[data-theme] .btn.primary { color: #ffffff; }
html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .seg button.active,
html[data-theme="dark"] .pager button.active,
html[data-theme="dark"] .pill.admin { color: #08131c; }

/* ==========================================================================
   18. THE SITREP SHELL — an ink spine, not a glowing rail
   ========================================================================== */
:root { --rail: 76px; }

.sitrep-rail {
  background: var(--hdr-bg);
  border-right: 1px solid var(--hdr-line);
}
.sr-brand {
  border-radius: 0;
  background: var(--brand);
  background-image: none;
  box-shadow: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.sr-item {
  border-radius: 0;
  color: var(--hdr-ink-2);
  box-shadow: inset 2px 0 0 transparent;
  transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, box-shadow var(--dur-micro) ease;
}
.sr-item:hover { background: var(--hdr-hover); color: var(--hdr-ink); }
.sr-item.active {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  box-shadow: inset 2px 0 0 var(--brand-green);
}
.sr-item.active svg { stroke: #ffffff; }
.sr-item em {
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
}
.sr-sep { background: var(--hdr-line); }

.sr-flyout {
  border-radius: 0;
  background: var(--hdr-bg);
  border: 1px solid var(--hdr-line);
  box-shadow: 0 16px 34px rgba(5, 11, 17, .45);
}
.sr-flyout a {
  border-radius: 0;
  color: var(--hdr-ink-2);
  border-left: 2px solid transparent;
  font-size: 13px;
}
.sr-flyout a:hover { background: var(--hdr-hover); color: var(--hdr-ink); }
.sr-flyout a.active {
  background: var(--hdr-hover);
  color: var(--hdr-ink);
  border-left-color: var(--brand-green);
}

.sitrep-strip {
  background: var(--hdr-top);
  border-bottom: 1px solid var(--hdr-line);
  color: var(--hdr-ink-2);
  letter-spacing: 0;
  font-family: var(--font);
}
.ss-dot { border-radius: 0; box-shadow: none; }

.sitrep-console {
  background: var(--hdr-top);
  border-bottom: 1px solid var(--hdr-line);
}
.sc-stats { border-bottom: 1px solid var(--hdr-line); }
.sc-stat {
  background: transparent;
  border-right: 1px solid var(--hdr-line);
}
.sc-k {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hdr-ink-2);
}
.sc-v {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--hdr-ink);
}
.sc-stat:nth-child(1) .sc-v,
.sc-stat:nth-child(3) .sc-v,
.sc-stat:nth-child(4) .sc-v { color: var(--hdr-ink); }
.sc-stat:nth-child(2) .sc-v { color: color-mix(in oklab, var(--neg) 62%, #ffffff); }
.sc-stat:nth-child(3) .sc-v { color: color-mix(in oklab, var(--pos) 58%, #ffffff); }
.sc-live {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hdr-ink);
}
.sc-live::before {
  border-radius: 0;
  background: var(--brand-green);
  box-shadow: none;
}
.sc-item { color: var(--hdr-ink-2); font-family: var(--font); }
.sc-item b { color: var(--hdr-ink); font-weight: 600; }

/* the floating switch to SITREP: square, flat, no pulsing badge */
#toSitrep {
  border-radius: 0;
  background: var(--brand);
  background-image: none;
  border: 1px solid var(--brand-green);
  color: #ffffff;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color var(--dur-micro) ease;
}
#toSitrep::after { display: none; }
#toSitrep:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: var(--accent-ink);
}

/* theme-bpjs map page: the same five steps as the SITREP map */
#mapBox path.prov {
  fill: color-mix(in oklab, var(--accent) 14%, var(--paper));
  stroke: var(--line);
}
#mapBox path.prov.empty { fill: color-mix(in oklab, var(--accent) 5%, var(--paper)); stroke: var(--line); }
[data-theme="dark"] #mapBox path.prov { fill: color-mix(in oklab, var(--accent) 22%, var(--paper)); }
[data-theme="dark"] #mapBox path.prov.empty { fill: color-mix(in oklab, var(--accent) 8%, var(--paper)); }
#mapBox path.prov:hover:not(.empty) { fill: var(--accent); stroke: var(--ink); }

/* ==========================================================================
   19. FINISH — the login masthead and the dark map's five steps
   ========================================================================== */
.auth-head { color: var(--ink); }
.auth-head .t1 { color: var(--ink); }
.auth-head .t2 { color: var(--muted); }
.auth-head .auth-theme {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
}
.auth-head .auth-theme:hover { border-color: var(--ink); color: var(--ink); }
.auth-head .auth-theme svg { fill: none; stroke: currentColor; }
.auth-submit { font-weight: 600; letter-spacing: 0; }
.auth-note { font-size: 12px; }

[data-theme="dark"] .sr-prov.b-m0 { fill: color-mix(in oklab, var(--accent) 12%, var(--paper)); stroke: var(--line-2); }
[data-theme="dark"] .sr-prov.b-m1 { fill: color-mix(in oklab, var(--accent) 34%, var(--paper)); stroke: var(--line-2); }
[data-theme="dark"] .sr-prov.b-m2 { fill: color-mix(in oklab, var(--accent) 54%, var(--paper)); stroke: var(--line-2); }
[data-theme="dark"] .sr-prov.b-m3 { fill: color-mix(in oklab, var(--accent) 74%, var(--paper)); stroke: var(--ink-2); }
[data-theme="dark"] .sr-prov.b-m4 { fill: color-mix(in oklab, var(--accent) 96%, var(--paper)); stroke: var(--ink); }
[data-theme="dark"] .sr-legend .l1 { background: color-mix(in oklab, var(--accent) 34%, var(--paper)); }
[data-theme="dark"] .sr-legend .l2 { background: color-mix(in oklab, var(--accent) 54%, var(--paper)); }
[data-theme="dark"] .sr-legend .l3 { background: color-mix(in oklab, var(--accent) 74%, var(--paper)); }
[data-theme="dark"] .sr-legend .l4 { background: color-mix(in oklab, var(--accent) 88%, var(--paper)); }
[data-theme="dark"] .sr-legend .l5 { background: color-mix(in oklab, var(--accent) 100%, var(--paper)); }

/* the keyword cloud is one ink with the accent on the lead words, not a rainbow */
.cloud a, .cloud span, .cloud .w { color: var(--ink-2) !important; }
.cloud a:nth-child(-n+4), .cloud span:nth-child(-n+4) { color: var(--accent) !important; }

/* the map's two generated layers (hex mesh, aurora wash) go for good */
#srMap .sr-hex,
#srMap .sr-aurora,
.sr-hex,
.sr-aurora { display: none !important; opacity: 0 !important; }
.auth-submit { font-weight: 600 !important; }
