/* ===========================================================================
   Sewa Setu — Old Age Pension Portal
   One design system for every page: tokens, shell, components.

   Structure:
     1. tokens & base
     2. header, band, footer
     3. page shell & typography
     4. hero, facts, call-to-action
     5. buttons & forms
     6. alerts, notes, pills
     7. tables
     8. receipts
     9. eval dashboard
    10. responsive
   =========================================================================== */

/* --- 1. tokens & base ---------------------------------------------------- */

:root {
  --navy-900: #0c2f56;
  --navy-800: #123f74;
  --navy-700: #145ca6;
  --navy-600: #1a6fc4;
  --navy-100: #e8f0f9;
  --navy-50:  #f4f8fc;

  --gold-700: #b4650b;
  --gold-600: #e08300;
  --gold-500: #f7931e;
  --gold-100: #fdf1df;

  --ink:   #13233f;
  --body:  #37456b;
  --muted: #66748f;

  --line:      #dfe6f0;
  --line-soft: #ecf1f8;

  --bg:   #edf1f7;
  --card: #ffffff;

  --green-700: #177a41;  --green-100: #e5f5eb;
  --red-700:   #b3261e;  --red-100:   #fdeceb;
  --amber-700: #9a5b00;  --amber-100: #fff3df;
  --teal-700:  #0e7490;  --teal-100:  #e0f3f8;
  --slate-700: #5d6b84;  --slate-100: #eef1f6;

  --radius: 12px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 2px rgba(19, 35, 63, .05), 0 14px 34px -18px rgba(19, 35, 63, .25);
  --shadow-btn: 0 1px 2px rgba(19, 35, 63, .14);
  --ring: 0 0 0 3px rgba(20, 113, 184, .22);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto,
          "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas,
          "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--navy-700); }
a:hover { color: var(--navy-800); }

::selection { background: #cfe3f6; color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: #fff;
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.skip-link:focus { left: 0; }

/* --- 2. top strip, header, band, footer ---------------------------------- */

.topbar { background: #252525; color: #e8e8e8; }

.topbar-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.govt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.govt .flag { border-radius: 2px; flex: none; }

.topbar-links { display: inline-flex; align-items: center; flex-wrap: wrap; }

.topbar-links a {
  color: #d9d9d9;
  text-decoration: none;
  font-size: 12px;
  padding: 2px 12px;
  border-left: 1px solid #555;
}

.topbar-links a:first-child { border-left: none; }
.topbar-links a:hover { color: #fff; }
.topbar-links a:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .4); border-radius: 4px; }

.header {
  background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
}

.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.emblem { flex: none; line-height: 0; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }

.brand h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.15;
  color: #fff;
}

.brand .sub {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: #b9cdea;
  letter-spacing: .02em;
  line-height: 1.45;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: #d7e4f5;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }

.nav .nav-cta {
  background: var(--gold-500);
  color: #17223b;
  font-weight: 750;
  padding: 9px 16px;
  margin-left: 6px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.nav .nav-cta:hover { background: #ffa733; color: #17223b; }

.band {
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), #ffc35c 55%, var(--gold-500));
}

.site-footer {
  background: var(--navy-900);
  color: #b9cdea;
  margin-top: 34px;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 30px 24px 22px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 26px;
}

.foot-title {
  font-size: 17px;
  font-weight: 750;
  color: #fff;
  margin-bottom: 8px;
}

.foot-brand p { margin: 0; font-size: 12.5px; line-height: 1.65; }

.foot-col h4 {
  margin: 2px 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold-500);
}

.foot-col a {
  display: block;
  color: #d7e4f5;
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
}

.foot-col a:hover { color: #fff; text-decoration: underline; }

.foot-col p { margin: 0; font-size: 12.5px; line-height: 1.65; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 12px 24px;
  text-align: center;
  font-size: 12px;
  color: #93a9c9;
}

/* --- 3. page shell & typography ----------------------------------------- */

.container {
  max-width: 1024px;
  margin: 28px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 34px 38px;
}

h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.01em;
}

h3 {
  margin: 30px 0 8px;
  font-size: 16.5px;
  font-weight: 650;
  color: var(--navy-800);
}

p { margin: 10px 0; }
h2 + p, h3 + p { margin-top: 4px; }

.note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  font-size: 15.5px;
  color: var(--body);
  max-width: 68ch;
}

ol.note, ul.note { padding-left: 22px; }
ol.note li, ul.note li { margin: 6px 0; }

.text-danger { color: var(--red-700); }

code {
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: .92em;
  color: var(--navy-800);
}

pre.token {
  background: #0e1a30;
  color: #d8e6f7;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.steps {
  margin: 0 0 18px;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps b {
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 3px 11px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* --- 4. banner, stats strip, what's new --------------------------------- */

.banner {
  background:
    radial-gradient(1100px 380px at 85% -60%, rgba(247, 147, 30, .28), transparent 60%),
    radial-gradient(900px 420px at 8% 130%, rgba(26, 111, 196, .5), transparent 65%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--navy-700) 100%);
  color: #fff;
  text-align: center;
}

.banner-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 54px 24px 50px;
}

.banner h2 {
  margin: 0 0 12px;
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -.01em;
  color: #fff;
}

.banner h2 .accent { color: var(--gold-500); }

.banner .tagline {
  margin: 0 auto;
  max-width: 620px;
  font-size: 15.5px;
  color: #d9e5f5;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 6px;
}

.cta-row.center { justify-content: center; margin: 26px 0 0; }

.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 18px 26px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.stat:first-child { border-left: none; }

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--gold-600);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat b.sm { font-size: 15px; padding-top: 8px; }

.stat span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-700);
}

.whatsnew-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.whatsnew {
  max-width: 1024px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--navy-800);
  white-space: nowrap;
}

.whatsnew p {
  flex: 1;
  min-width: 220px;
  margin: 0;
  font-size: 13.5px;
  color: var(--body);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1.5px solid #43516b;
  border-radius: 8px;
  color: #22314e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  white-space: nowrap;
}

.btn-outline:hover { background: #f2f5fa; color: #101d36; }

/* --- 5. buttons & forms -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background .15s, border-color .15s, transform .05s;
}

.btn:hover { background: var(--navy-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn.plain {
  background: #fff;
  border-color: var(--line);
  color: var(--navy-800);
}
.btn.plain:hover { background: var(--navy-50); border-color: #c9d8ea; }

.btn.danger { background: var(--red-700); }
.btn.danger:hover { background: #98201a; }

.btn.gold {
  background: var(--gold-500);
  color: #17223b;
  font-weight: 750;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.btn.gold:hover { background: #ffa733; color: #17223b; }

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

.btn.small { padding: 5px 12px; font-size: 13px; border-radius: 8px; }

.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; }

label {
  display: block;
  margin: 18px 0 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

input[type=text],
input[type=password],
input[type=number],
input[type=file],
select,
textarea {
  width: 100%;
  max-width: 440px;
  padding: 10px 12px;
  border: 1px solid #c9d5e6;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: var(--ring);
}

input::placeholder { color: #93a1ba; }

input[type=file]::file-selector-button {
  font: inherit;
  font-weight: 600;
  margin: -2px 12px -2px -4px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--navy-50);
  color: var(--navy-800);
  cursor: pointer;
}

input[type=checkbox] {
  width: auto;
  accent-color: var(--navy-700);
  transform: scale(1.15);
  margin: 0 8px 0 0;
  vertical-align: -1px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-weight: 400;
  color: var(--body);
}

.check input { margin-top: 4px; }

.searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.searchbar input[type=text] { max-width: 260px; }

/* width utilities for form controls (same-or-higher specificity as the base input rule) */
input.w-xs, input[type=text].w-xs { max-width: 120px; }
input.w-sm, input[type=text].w-sm { max-width: 200px; }
input.w-md, input[type=text].w-md { max-width: 280px; }
input.w-lg, input[type=text].w-lg { max-width: 560px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}

.tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s;
}

.tabs a:hover { background: var(--navy-50); }

/* --- 6. alerts, notes, pills -------------------------------------------- */

/* Alert messages. Scoped to block contexts (div/p) so component classes
   such as the dashboard's "mark ok" / "mini ok" spans never inherit them. */
div.flash, p.flash,
div.ok, p.ok,
div.warn, p.warn {
  padding: 12px 16px;
  margin: 16px 0;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: var(--radius);
  font-size: 14.5px;
}

div.flash, p.flash { background: var(--red-100); border-color: #f0c4c0; border-left-color: var(--red-700); color: #7f1d17; }
div.ok, p.ok       { background: var(--green-100); border-color: #bfe3cd; border-left-color: var(--green-700); color: #135c33; }
div.warn, p.warn   { background: var(--amber-100); border-color: #f0d9ae; border-left-color: var(--gold-600); color: #7a4a04; }

.pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.pill-pending         { background: var(--amber-100); color: var(--amber-700); border-color: #f0d8ab; }
.pill-approved        { background: var(--green-100); color: var(--green-700); border-color: #bfe3cd; }
.pill-deemed_approved { background: var(--teal-100);  color: var(--teal-700);  border-color: #b9e0ea; }
.pill-rejected        { background: var(--red-100);   color: var(--red-700);   border-color: #f0c4c0; }
.pill-withdrawn       { background: var(--slate-100); color: var(--slate-700); border-color: #d8dfea; }

.status { font-weight: 600; color: var(--ink); }

.empty {
  border: 1px dashed #c9d5e6;
  border-radius: var(--radius);
  background: var(--navy-50);
  padding: 22px 24px;
  color: var(--muted);
  text-align: center;
}

/* --- 7. tables ----------------------------------------------------------- */

.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14.5px;
}

.tbl th, .tbl td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }

/* row headers (definition tables): a quiet label column */
.tbl th {
  font-weight: 600;
  color: var(--muted);
  background: var(--navy-50);
  width: 34%;
  min-width: 150px;
}

/* column headers (data tables) */
.tbl thead th {
  background: var(--navy-50);
  color: var(--navy-800);
  width: auto;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }

.tbl tr:first-child th:first-child, .tbl tr:first-child td:first-child { border-top-left-radius: 11px; }
.tbl tr:first-child th:last-child,  .tbl tr:first-child td:last-child  { border-top-right-radius: 11px; }
.tbl tr:last-child  th:first-child, .tbl tr:last-child  td:first-child { border-bottom-left-radius: 11px; }
.tbl tr:last-child  th:last-child,  .tbl tr:last-child  td:last-child  { border-bottom-right-radius: 11px; }

.table-scroll { overflow-x: auto; margin: 14px 0; }
.table-scroll .tbl { margin: 0; }

/* --- 8. receipts --------------------------------------------------------- */

.receipt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
}

.receipt-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.receipt-no {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .02em;
}

/* --- 9. eval dashboard --------------------------------------------------- */

.eval-note { font-size: 13.5px; color: var(--muted); margin: 6px 0 16px; }

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.chip {
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.chip b {
  display: block;
  font-size: 26px;
  font-weight: 650;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.chip.bad b { color: var(--red-700); }
.chip.ok b  { color: var(--green-700); }

.sc-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 20px 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 35, 63, .04);
  background: var(--card);
}

.sc-head {
  padding: 13px 18px 11px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--navy-50);
}

.sc-head h3 { margin: 0 0 3px; font-size: 16px; color: var(--ink); }

.sc-meta { font-size: 12.5px; color: var(--muted); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: 1px;
}

.badge-passed  { background: var(--green-100); color: var(--green-700); border-color: #bfe3cd; }
.badge-failed  { background: var(--red-100);   color: var(--red-700);   border-color: #f0c4c0; }
.badge-skipped { background: var(--slate-100); color: var(--slate-700); border-color: #d8dfea; }

.sc-body { padding: 12px 18px 16px; }

.fix {
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  padding: 9px 14px;
  margin: 10px 0;
  font-size: 13px;
  color: #6b4707;
}

.step {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.step:last-child { border-bottom: none; }

.step .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -5px;
}

.step .mark.ok { background: var(--green-100); }
.step .mark.bad { background: var(--red-100); }

/* drawn tick / cross: identical on every platform, no emoji-font fallback */
.step .mark.ok::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2.5px solid var(--green-700);
  border-bottom: 2.5px solid var(--green-700);
  transform: rotate(-45deg) translate(1px, -1px);
}

.step .mark.bad::before,
.step .mark.bad::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--red-700);
}

.step .mark.bad::before { transform: rotate(45deg); }
.step .mark.bad::after { transform: rotate(-45deg); }

.mini {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  vertical-align: -3px;
}

.mini.ok::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.mini.bad::before,
.mini.bad::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-700);
}

.mini.bad::before { transform: rotate(45deg); }
.mini.bad::after { transform: rotate(-45deg); }

.step .say { color: var(--ink); }
.step .act { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

table.checks {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  margin: 8px 0 2px;
  font-size: 12.5px;
}

table.checks th, table.checks td {
  border-bottom: 1px solid var(--line-soft);
  padding: 5px 10px;
  text-align: left;
  vertical-align: top;
}

table.checks tr:last-child td { border-bottom: none; }

table.checks tr:first-child th {
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

tr.check-bad td { background: var(--red-100); color: #7f1d17; }

table.checks th:nth-child(2), table.checks td:nth-child(2) { width: 30px; text-align: center; }

pre.evid {
  background: #0e1a30;
  color: #cfe0f3;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 8px 0;
}

details summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-700);
}

details summary:hover { color: var(--navy-800); }

.history {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12.5px;
  margin: 8px 0 4px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.history th, .history td {
  border-bottom: 1px solid var(--line-soft);
  padding: 6px 10px;
  text-align: left;
}

.history tr:last-child td { border-bottom: none; }

.history tr:first-child th {
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* --- 10. responsive ------------------------------------------------------ */

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner { padding: 6px 16px; }
  .topbar-links a { padding: 2px 9px; }
  .header-inner { padding: 12px 16px; }
  .brand h1 { font-size: 20px; }
  .brand .sub { font-size: 10.5px; }
  .nav { margin-left: 0; }
  .nav .nav-cta { margin-left: 0; }
  .banner-inner { padding: 38px 18px 36px; }
  .banner h2 { font-size: 28px; }
  .banner .tagline { font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 18px; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(-n+2) { border-top: none; }
  .whatsnew { padding: 12px 18px; align-items: flex-start; }
  .wn-label { padding-top: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px 18px; }
  .container { margin: 14px; padding: 22px 18px; border-radius: 14px; }
  h2 { font-size: 21px; }
  .receipt-no { font-size: 22px; }
  .tbl th { min-width: 120px; }
}

/* --- 11. public-service refresh ----------------------------------------- */
/* The portal's original information architecture is retained, but the visual
   layer is deliberately calm, high-contrast and easy to scan on shared phones.
   Palette: navy/blue public-service theme (variables keep their historical
   --forest-* names). */

:root {
  --forest-900: #0e3560;
  --forest-800: #13508f;
  --forest-700: #1666a8;
  --forest-100: #e6eef8;
  --forest-50: #f3f7fc;
  --coral-700: #b1423b;
  --coral-100: #fceceb;
  --ink: #14283f;
  --body: #3c5064;
  --muted: #5e7286;
  --line: #d5e0ec;
  --line-soft: #e5ecf4;
  --bg: #eef3f9;
  --card: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 14px 34px -25px rgba(13, 53, 96, .40), 0 1px 2px rgba(13, 53, 96, .08);
  --shadow-btn: 0 2px 4px rgba(13, 53, 96, .18);
  --ring: 0 0 0 3px rgba(22, 102, 168, .22);
}

body {
  color: var(--body);
  background: var(--bg);
  font-size: 15.5px;
}

a { color: var(--forest-700); }
a:hover { color: var(--forest-900); }

.topbar {
  background: var(--forest-900);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.topbar-inner { max-width: 1280px; padding: 7px 28px; }
.govt { font-size: 10.5px; letter-spacing: .09em; color: #e2ebf6; }
.topbar-links a { color: #dbe7f4; font-size: 11.5px; }
.topbar-links a:hover { color: #fff; }

.header {
  color: var(--ink);
  background: #fff;
}

.header-inner { max-width: 1280px; min-height: 74px; padding: 13px 28px; }
.brand-link { color: var(--ink); gap: 11px; }
.emblem { box-shadow: none; }
.brand h1 { color: var(--ink); font-size: 22px; font-weight: 760; }
.brand .sub { margin-top: 2px; color: var(--muted); font-size: 11.5px; }

.nav { gap: 3px; }
.nav a {
  color: var(--forest-900);
  font-size: 13.5px;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 7px;
}
.nav a:hover { background: var(--forest-50); color: var(--forest-900); }
.nav .nav-cta {
  margin-left: 7px;
  padding: 9px 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--forest-700);
  box-shadow: none;
}
.nav .nav-cta:hover { color: #fff; background: var(--forest-800); }

.band {
  height: 5px;
  background-color: #fff;
  background-image: radial-gradient(circle at 7px 2px, var(--coral-700) 0 2px, transparent 2.7px);
  background-size: 14px 5px;
  border-top: 1px solid #f1d2ce;
  border-bottom: 1px solid #f1d2ce;
}

.container {
  max-width: 1020px;
  margin: 34px auto;
  padding: 36px 40px;
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

h2 { font-size: 27px; font-weight: 760; color: var(--ink); letter-spacing: -.035em; }
h3 { color: var(--ink); font-weight: 740; }
.lead { color: var(--body); }
.note { color: var(--muted); }
code { color: var(--forest-800); background: var(--forest-50); border-color: var(--line); }

.steps { color: var(--muted); font-size: 11.5px; }
.steps b { background: var(--forest-100); color: var(--forest-800); }

.btn { border-radius: 8px; background: var(--forest-700); font-weight: 720; box-shadow: var(--shadow-btn); }
.btn:hover { background: var(--forest-800); }
.btn.plain { color: var(--forest-800); border-color: var(--forest-700); }
.btn.plain:hover { background: var(--forest-50); border-color: var(--forest-800); }
.btn.danger { background: var(--coral-700); }
.btn.danger:hover { background: #8e302a; }
.btn.gold { background: #f1bc43; color: var(--ink); }
.btn.gold:hover { background: #f5c956; color: var(--ink); }

label { color: var(--ink); font-weight: 700; }
input[type=text], input[type=password], input[type=number], input[type=file], select, textarea {
  max-width: 560px;
  border-color: #aec0d6;
  border-radius: 8px;
  padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { border-color: var(--forest-700); box-shadow: var(--ring); }
input[type=checkbox] { accent-color: var(--forest-700); }
input[type=file]::file-selector-button { background: var(--forest-50); color: var(--forest-800); border-color: var(--line); }

div.flash, p.flash { background: var(--coral-100); border-color: #f2c5c1; border-left-color: var(--coral-700); color: #7e2925; }
div.ok, p.ok { background: var(--forest-100); border-color: #c7d9ee; border-left-color: var(--forest-700); color: var(--forest-900); }
div.warn, p.warn { background: #fff4dd; border-color: #ead49e; border-left-color: #ad7410; color: #76500b; }
.empty { border-color: #b8cae0; background: var(--forest-50); }

.tbl { border-color: var(--line); }
.tbl th { color: var(--muted); background: var(--forest-50); }
.tbl thead th { color: var(--forest-800); background: var(--forest-50); }
.receipt { background: var(--forest-50); border-color: var(--line); }
.receipt-no { color: var(--forest-800); }

/* Home page */
.home-page .container {
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.home-hero { background: linear-gradient(180deg, #ecf2fa 0%, #eef3f9 100%); }
.home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 32px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, .8fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 11px;
  color: var(--forest-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}
.home-hero h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 780;
  letter-spacing: -.06em;
  line-height: 1.05;
}
.home-hero h2 span { color: var(--forest-700); }
.hero-language { margin: 17px 0 0; color: var(--forest-800); font-size: 18px; }
.hero-intro { max-width: 620px; margin: 16px 0 0; color: var(--body); font-size: 17px; line-height: 1.62; }
.cta-row { margin: 25px 0 0; }
.cta-row .btn { min-height: 45px; padding: 11px 19px; }
.deadline-note { margin: 15px 0 0; color: var(--muted); font-size: 12.5px; }

.scheme-card {
  padding: 28px 29px 26px;
  color: #f4f9ff;
  border-radius: 16px;
  background: linear-gradient(145deg, #1466a8 0%, #0f3f6e 100%);
  box-shadow: 0 20px 42px -28px rgba(12, 58, 105, .62);
}
.scheme-kicker { margin: 0; color: #d3e5f7; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.pension-amount { display: flex; align-items: baseline; gap: 4px; margin-top: 12px; color: #fff; font-size: 53px; font-weight: 780; letter-spacing: -.055em; line-height: 1; }
.pension-amount span { font-size: 25px; letter-spacing: -.03em; }
.pension-amount small { margin-left: 3px; color: #d8e7f7; font-size: 14px; font-weight: 650; letter-spacing: 0; }
.scheme-summary { margin: 19px 0 20px; color: #e2edf9; font-size: 14px; line-height: 1.55; }
.scheme-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.scheme-facts div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.scheme-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.scheme-facts dt { color: #c8def4; font-size: 12.5px; }
.scheme-facts dd { margin: 0; color: #fff; font-size: 12.5px; font-weight: 750; text-align: right; }

.home-content { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-card); }
.home-section { padding: 37px 42px; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 690px; }
.section-heading h2 { margin: 0; font-size: 27px; }
.section-heading > p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); }
.prep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 27px; }
.prep-item { display: flex; gap: 12px; align-items: flex-start; }
.step-number { display: grid; flex: 0 0 31px; width: 31px; height: 31px; place-items: center; color: var(--forest-800); border-radius: 50%; background: var(--forest-100); font-size: 13px; font-weight: 800; }
.prep-item h3 { margin: 1px 0 4px; font-size: 15.5px; }
.prep-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.assistant-callout { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 29px; padding: 20px 21px; border: 1px solid #cbdbee; border-radius: 12px; background: var(--forest-50); }
.assistant-callout .eyebrow { margin-bottom: 5px; font-size: 10px; }
.assistant-callout h3 { margin: 0; font-size: 17px; }
.assistant-callout p:not(.eyebrow) { max-width: 620px; margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.assistant-callout .btn { flex: none; white-space: nowrap; }
.process-section { border-bottom: 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; }
.process-grid article { min-height: 148px; padding: 0 23px; border-left: 1px solid #b6cbe4; }
.process-grid article:first-child { padding-left: 0; border-left: 0; }
.process-grid article:last-child { padding-right: 0; }
.process-icon { color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.process-grid h3 { margin: 7px 0 5px; font-size: 15.5px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.service-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 42px; color: var(--body); border-top: 1px solid var(--line); background: #f8fafd; font-size: 13px; }
.service-note strong { color: var(--ink); }
.service-note a { font-weight: 700; white-space: nowrap; }

/* Dense information pages still feel related to the public landing page. */
.container > h2:first-child { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.container > h2:first-child + p { margin-top: 16px; }
.container > form { max-width: 620px; }
.container > .steps + h2 { margin-top: 0; }
.container > .steps + h2 + form,
.container > .steps + h2 + p + form { margin-top: 21px; }

.site-footer { margin-top: 34px; color: #ccdcf0; background: var(--forest-900); }
.footer-inner { max-width: 1280px; padding: 31px 28px 22px; }
.foot-title { color: #fff; }
.foot-col h4 { color: #c9dff5; }
.foot-col a { color: #dbe8f6; }
.foot-col a:hover { color: #fff; }
.footer-bar { color: #a9bfd8; }

@media (max-width: 820px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 29px; padding: 39px 24px 35px; }
  .scheme-card { max-width: 480px; }
  .prep-grid { grid-template-columns: 1fr; gap: 18px; }
  .process-grid { grid-template-columns: 1fr; gap: 18px; }
  .process-grid article, .process-grid article:first-child, .process-grid article:last-child { min-height: auto; padding: 0 0 0 17px; border-left: 2px solid #b6cbe4; }
  .service-note { padding: 17px 25px; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .header-inner { min-height: 0; padding: 12px 17px; gap: 10px; }
  .brand .sub { display: none; }
  .brand h1 { font-size: 20px; }
  .emblem svg { width: 36px; height: 36px; }
  .nav { width: 100%; order: 3; gap: 1px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 1px; }
  .nav a { flex: 0 0 auto; padding: 6px 8px; font-size: 12px; }
  .nav .nav-cta { margin-left: 2px; padding: 7px 10px; }
  .container { margin: 18px 14px; padding: 26px 20px; }
  .home-page .container { margin: 0 14px 22px; }
  .home-hero h2 { font-size: 38px; }
  .hero-intro { font-size: 16px; }
  .scheme-card { padding: 23px; }
  .home-section { padding: 29px 24px; }
  .section-heading h2 { font-size: 23px; }
  .assistant-callout { align-items: flex-start; flex-direction: column; }
  .service-note { align-items: flex-start; flex-direction: column; padding: 17px 24px; }
}

/* Assistant connection guide */
.assistant-page { max-width: 1020px; }
.assistant-intro { max-width: 700px; }
.assistant-intro h2 { margin: 0; border: 0 !important; font-size: 34px; }
.assistant-intro > p:not(.eyebrow) { margin: 10px 0 0; color: var(--body); font-size: 16px; line-height: 1.7; }
.text-link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 750; }
.connection-address,
.officer-address {
  margin-top: 30px;
  padding: 23px 24px;
  border: 1px solid #cbdbee;
  border-radius: 13px;
  background: var(--forest-50);
}
.connection-address h3,
.officer-address h3 { margin: 0; font-size: 19px; }
.connection-address .eyebrow,
.officer-address .eyebrow { margin-bottom: 5px; }
.connection-address > div > p:not(.eyebrow),
.officer-address > div > p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 13.5px; }
.copy-field { display: flex; align-items: stretch; gap: 10px; margin-top: 17px; }
.copy-field code { display: flex; flex: 1; align-items: center; min-width: 0; overflow-x: auto; padding: 11px 13px; background: #fff; border-radius: 8px; white-space: nowrap; }
.copy-field .btn { flex: 0 0 auto; }
.assistant-section { margin-top: 37px; }
.assistant-section > h2 { margin: 0; border: 0 !important; font-size: 27px; }
.assistant-section > .note { margin-top: 5px; }
.assistant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.assistant-card { min-height: 275px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.assistant-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; font-size: 14px; font-weight: 850; }
.assistant-mark-chat { color: #fff; background: #1c5f9f; }
.assistant-mark-claude { color: #633b1d; background: #f1d4bd; }
.assistant-mark-gemini { color: #fff; background: #4974ca; }
.assistant-card h3 { margin: 13px 0 4px; font-size: 18px; }
.assistant-card p { min-height: 43px; margin: 0; color: var(--body); font-size: 13px; line-height: 1.55; }
.assistant-card ol { margin: 15px 0 0; padding-left: 19px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.assistant-card li + li { margin-top: 6px; }
.sign-in-section { padding-top: 36px; border-top: 1px solid var(--line); }
.ai-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; }
.ai-process-grid article { padding: 0 20px; border-left: 1px solid #b7cce3; }
.ai-process-grid article:first-child { padding-left: 0; border-left: 0; }
.ai-process-grid article:last-child { padding-right: 0; }
.ai-process-grid span { color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ai-process-grid h3 { margin: 7px 0 4px; font-size: 15px; }
.ai-process-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.assistant-page blockquote { margin: 25px 0 0; padding: 13px 17px; color: var(--forest-900); border-left: 3px solid var(--forest-700); background: var(--forest-50); font-size: 14px; }
.technical-details { margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); }
.technical-details summary { color: var(--ink); font-size: 15px; }
.technical-details > div { max-width: 750px; margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.technical-details p { margin: 8px 0; }
.officer-address { margin-top: 28px; background: #fbfcfe; }
.assessment-note { margin: 19px 0 0; color: var(--muted); font-size: 12.5px; }

@media (max-width: 720px) {
  .assistant-intro h2 { font-size: 28px; }
  .connection-address, .officer-address { padding: 20px; }
  .copy-field { flex-direction: column; }
  .copy-field .btn { align-self: flex-start; }
  .assistant-grid, .ai-process-grid { grid-template-columns: 1fr; }
  .assistant-card { min-height: 0; }
  .ai-process-grid { gap: 18px; }
  .ai-process-grid article, .ai-process-grid article:first-child, .ai-process-grid article:last-child { padding: 0 0 0 16px; border-left: 2px solid #b7cce3; }
}

@media print {
  .topbar, .header, .band, .site-footer, .cta-row, .nav, .banner { display: none; }
  body { background: #fff; }
  .container { box-shadow: none; border: none; margin: 0; padding: 0; }
}

/* --- 13. professional eval dashboard & pilot notes ----------------------- */
/* The evidence page gets a data-dashboard treatment on the same blue palette:
   verdict strip, KPI tiles, meta grid, status-accented scenario cards. */

body.eval-page .container { max-width: 1200px; }

.eval-head { margin-bottom: 2px; }
.eval-head .eval-note { margin: 6px 0 0; max-width: 880px; }

.eval-verdict {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 0;
  padding: 13px 18px;
  border: 1px solid;
  border-radius: 12px;
}

.eval-verdict .verdict-dot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; }
.eval-verdict .verdict-text { display: flex; flex-direction: column; gap: 1px; }
.eval-verdict .verdict-text b { font-size: 14.5px; letter-spacing: -.01em; }
.eval-verdict .verdict-text span { font-size: 12.5px; opacity: .82; }
.eval-verdict.ok { background: #eaf7f0; border-color: #bfe3cd; color: #155c36; }
.eval-verdict.ok .verdict-dot { background: #2f9e63; }
.eval-verdict.bad { background: #fdf1f0; border-color: #f0c4c0; color: #8a2620; }
.eval-verdict.bad .verdict-dot { background: #c2453d; }

body.eval-page .chips { margin: 16px 0 12px; }

body.eval-page .chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid #9db3cd;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(13, 53, 96, .05);
  font-size: 12px;
  color: var(--muted);
}

body.eval-page .chip b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

body.eval-page .chip.ok { border-top-color: #2f9e63; }
body.eval-page .chip.ok b { color: #1d7a4a; }
body.eval-page .chip.bad { border-top-color: #c2453d; }
body.eval-page .chip.bad b { color: #b3372f; }
body.eval-page .chip.skip { border-top-color: #d99a2b; }
body.eval-page .chip.skip b { color: #a8741a; }

.eval-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 10px 22px;
  margin: 14px 0 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(13, 53, 96, .05);
}

.eval-meta > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.eval-meta .k { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.eval-meta .v { font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.eval-meta .v.mono { font-family: var(--mono); font-size: 12px; }

body.eval-page details { margin: 12px 0; }

body.eval-page details > summary {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(13, 53, 96, .05);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--forest-800);
  list-style: none;
}

body.eval-page details > summary::-webkit-details-marker { display: none; }
body.eval-page details > summary::before { content: "\25B8\00a0"; color: var(--forest-700); }
body.eval-page details[open] > summary::before { content: "\25BE\00a0"; }
body.eval-page details > summary:hover { border-color: var(--forest-700); color: var(--forest-900); }

body.eval-page .sc-card {
  border: 1px solid var(--line);
  border-left: 4px solid #9db3cd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 53, 96, .06);
  margin: 18px 0;
}

body.eval-page .sc-card.sc-passed { border-left-color: #2f9e63; }
body.eval-page .sc-card.sc-failed { border-left-color: #c2453d; }
body.eval-page .sc-card.sc-skipped { border-left-color: #d99a2b; }

body.eval-page .sc-head {
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
}

body.eval-page .sc-head h3 { margin: 0 0 3px; font-size: 16.5px; letter-spacing: -.01em; }
body.eval-page .sc-meta { font-size: 12.5px; color: var(--muted); }

body.eval-page .badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

body.eval-page .sc-body { padding: 13px 20px 17px; }
body.eval-page .sc-body > .note { margin: 6px 0; }

body.eval-page .step { padding: 10px 0; border-bottom: 1px dashed #dfe8f3; }
body.eval-page .step:last-child { border-bottom: none; }

body.eval-page .step .act {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 10px;
  background: #f4f7fb;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #3a5069;
}

body.eval-page table.checks,
body.eval-page .history {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}

body.eval-page table.checks th,
body.eval-page .history th {
  background: #f2f6fb;
  color: #33507a;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.eval-page table.checks td:first-child { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: #2c3f57; }
body.eval-page table.checks td:nth-child(3) { font-family: var(--mono); font-size: 11.5px; color: #3a5069; }
body.eval-page table.checks tr:nth-child(even) td { background: #fafcfe; }
body.eval-page .history tbody tr:nth-child(even) td { background: #fafcfe; }
body.eval-page table.checks tr.check-bad td { background: #fdf1f0; color: #8a2620; }

/* pilot notes on OTP screens */
.pilot-note {
  margin: 14px 0;
  padding: 11px 14px;
  background: #eef4fb;
  border: 1px solid #cfe0f2;
  border-left: 4px solid var(--forest-700);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--ink);
}

.pilot-note a { font-weight: 650; }

@media (max-width: 720px) {
  body.eval-page .chip b { font-size: 24px; }
}
