/*
 * The Accounted - "Modern light" (2026-10-28), the design for every page
 * of the website. Loaded last, so it only changes colours and shapes.
 */
html:root{
  --bg:#ffffff; --paper:#f7f8fa; --panel:#ffffff; --border:#e6e8ef; --rule:#dcdfe8;
  --ink:#0f1120; --ink-dim:#4d5165; --ink-faint:#7c8197;
  --gold:#2f5fbf; --gold-dark:#1f4690; --navy:#2f5fbf; --olive:#1f4690; --olive-solid:#2f5fbf;
  --route:#1f4690;
}
::selection{ background:#2f5fbf; color:#fff; }

/* header: black logo, black pill */
.brand-mark{ color:var(--ink); }
nav.nav-links a.current{ border-bottom-color:var(--ink); }
.btn-dashboard{ border-radius:999px; padding:9px 18px; background:var(--ink); }
.btn-dashboard:hover{ background:#262a3b; }

/* buttons */
.btn{ border-radius:999px; }
.btn-primary{ background:var(--ink); }
.btn-primary:hover{ background:#262a3b; }
.btn-quiet{ border-color:var(--rule); background:#fff; }
.text-link{ color:var(--gold); }

/* launch strip: quiet grey band */
.launch-strip{ background:var(--paper); }
.launch-strip a{ color:var(--gold); }

/* footer */
footer.site-footer{ background:var(--paper); }

/* hero: the 1944 map in grey, faded behind the search */
section.hero.fs-section{ background:#fff; }
.hero-map .cam img{ filter:grayscale(1) contrast(.92) brightness(1.06); opacity:.55; }
.hero-map::after{
  background:linear-gradient(to right, #fff 0%, #fff 30%, rgba(255,255,255,.86) 44%, rgba(255,255,255,0) 66%),
             linear-gradient(to top, #fff 0%, #fff 6%, rgba(255,255,255,0) 28%),
             linear-gradient(to bottom, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 12%) !important;
}
@media (max-width:900px){
  .hero-map::after{ background:linear-gradient(to top, #fff 0%, #fff 4%, rgba(255,255,255,0) 34%) !important; }
}
.hm-line{ stroke:var(--route); }
.hm-glow{ fill:#2f5fbf; opacity:.22; }
.hm-tip, .hm-dot{ fill:var(--route); stroke:#fff; }
.hm-ring{ stroke:var(--route); }
.hm-under, .hm-lbl{ stroke:#fff; }
.hm-name{ fill:var(--ink); }
.hm-date{ fill:var(--route); }
.route-rule{ background:repeating-linear-gradient(90deg, var(--route) 0 12px, transparent 12px 20px); }
.route-rule::before{ background:var(--route); }
.route-rule::after{ border-left-color:var(--route); }

/* the search card */
.search-panel{ border-radius:18px; border-color:var(--border); box-shadow:0 1px 2px rgba(15,17,32,.04), 0 8px 28px rgba(15,17,32,.06); padding:22px; }
.search-panel .fs-form input{ background:#fff; border-radius:10px; border-color:var(--rule); }
.search-panel .fs-form input:focus{ border-color:var(--gold); outline:2px solid rgba(47,95,191,.18); outline-offset:0; }
.search-panel .fs-form .fs-submit{ background:var(--ink) !important; border-radius:999px; }
.search-panel .fs-form .fs-submit:hover{ background:#262a3b !important; }

/* cards and panels across the pages */
.card, .record-doc, .step, .about-block, .faq-item{ border-radius:14px; }
.auth-modal{ border-radius:16px; }
.btn-auth-submit{ background:var(--ink) !important; border-radius:999px !important; }
.auth-tab.active{ color:var(--ink) !important; border-bottom-color:var(--ink) !important; }

/* the records strip behind the cards: cooler paper */
.record-doc{ background:#fbfbfd; border-color:var(--border); }

/* the KIA map page (database.html) keeps its own panel colours */
html:root{ --panel2:#f3f4f7; --kia:#8a3226; --mia:#6b6f85; --navy-dim:#1f4690; }
