/* ATLAS — FORGEPOINT look (2026-12-02). Loaded after ATLAS's own styles (already turned light by the build).
   Appearance only. Dark sidebar like FORGEPOINT; light workspace like FORGEPOINT's light layer. */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#192a3e;background:#fff;font-synthesis:none}
body{background:#fff;color:#192a3e}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #4bcfca;outline-offset:2px}

/* sidebar */
.shell{grid-template-columns:246px minmax(0,1fr)}
.side{background:#0d1523;border-right:1px solid #263449;padding:26px 15px 20px;gap:4px;position:sticky;top:0;height:100vh;overflow:auto}
.brand{border-bottom:0;padding:5px 10px 22px;margin:0;gap:11px}
.brand .mark{width:41px;height:41px;flex:none;transform:none;border-radius:12px;background:linear-gradient(135deg,#5be0cb,#3594cf);color:#071c27;box-shadow:0 7px 28px #1e9b9f30}
.brand .mark svg{width:23px;height:23px}
.brand strong{font-size:18px;font-weight:800;letter-spacing:1.5px;color:#e8eff9}
.brand small{color:#7588a0;letter-spacing:1.7px}
.nav{color:#a4b7cb;border-radius:10px;padding:12px 13px;margin:1px 0}
.nav:hover{background:#162b39;color:#83ede3}
.nav.active{background:#162b39;color:#83ede3;box-shadow:inset 3px 0 #55d8ce}
.sidefoot{margin-top:auto;border-radius:12px;background:#162637;border:1px solid #2b4358;padding:14px;color:#9bafc4;line-height:1.7}
.statusdot{background:#55d8ce}

/* workspace */
.main{padding:31px 32px 70px}
.eyebrow{color:#17648e;font-weight:750;font-size:11px;letter-spacing:2px}
h1{color:#142b43;font-weight:760}
h2,h3,strong,b{color:#142b43}
p,.muted,.fine,.mini{color:#526982}
.panel,.sourcecard,.group{background:#fff;border:1px solid #d6e2ee;border-radius:14px;box-shadow:0 1px 3px #1531490a}
.kpi{background:#f8fbfe;border:1px solid #d6e2ee;border-radius:14px;box-shadow:0 1px 3px #1531490a}
.kpi label{color:#526982;text-transform:uppercase;font-size:10px;letter-spacing:1.4px;font-weight:800}
.kpi strong{color:#153a5c;font-size:clamp(17px,1.6vw,23px)}
.kpi small{color:#526982}

/* buttons: primary = FORGEPOINT blue, others soft */
.btn{background:#f0f6fb;color:#244b70;border:1px solid #bad1e4;border-radius:9px;padding:9px 14px}
.btn:hover{background:#deedf8;border-color:#8ab5d4;filter:none}
.btn.primary{background:#2479a6;color:#fff;border-color:#2479a6}
.btn.primary:hover{background:#155f89;border-color:#155f89}
.chips button{background:#f0f6fb;color:#244b70;border:1px solid #bad1e4;border-radius:20px}
.sourcecard .delete{color:#a52739}

/* fields; cells you type numbers into keep a soft yellow so they stand out */
.field label{color:#385c79;font-weight:600}
.field input,.field select,.search,.atlas-fin-controls input,.atlas-fin-controls select,.oracle-reason{background:#fff;color:#1b2e43;border:1px solid #b7cadc;border-radius:8px}
.field input:focus,.field select:focus,.search:focus{border-color:#277cae;outline:2px solid #80b8d755;outline-offset:0}
.tbl td input{background:#fff;color:#1b2e43;border:1px solid #b7cadc}
.rate,.sourcecard input,.oracle-final{background:#fff6dc!important;color:#4a3300!important;border:1px solid #e3c27f!important}

/* tables: FORGEPOINT data-table look */
.tablewrap{border:1px solid #d6e2ed;border-radius:10px;background:#fff}
.tbl th{background:#dcecf8;color:#233f59;letter-spacing:.3px}
.tbl td{color:#233447;border-bottom:1px solid #e1e9f2}
.tbl tr:hover td{background:#f2f8fd}
.oracle-revised{background:#eef8f2!important}

/* status colours readable on white */
.positive,.oracle-variance-positive{color:#146b4a!important}
.negative,.oracle-variance-negative{color:#ac2434!important}
.peach,.warntext,.import-bad{color:#995800!important}
.badge{background:#ebf4fa;color:#315c7a;border:1px solid #c5dce8;border-radius:20px}
.badge.good{background:#e1f4e9;color:#16633d;border-color:#a7dcbf}
.badge.warn{background:#fff2da;color:#805000;border-color:#f0cf94}
.notice,.import-notice{background:#fff8e8;border:1px solid #f0cf94;color:#6b4300}
.callout{border-left-color:#378cb7;color:#385c79}
.bar{background:#e1e9f2}.bar div{background:#2c9cad}
.pill{background:#ebf4fa;color:#315c7a}
.oracle-notes strong{color:#805000}

/* budget picker and import window */
.projects-home{background:#fff}
.import-backdrop{background:#152a3b99}
.import-dialog{background:#fff;border:1px solid #c5d9e9;box-shadow:0 28px 80px #1a355b4d}
.import-file{border-color:#d6e2ee}.import-file-head{background:#eaf3fb}
.import-opt{border-color:#d6e2ee}
.import-opt:has(input:checked){border-color:#2479a6;background:#eaf3fb}
.import-opt input{accent-color:#2479a6}

@media(max-width:1120px){.shell{grid-template-columns:75px minmax(0,1fr)}.side{padding:15px 8px}.brand{padding:9px;justify-content:center}.nav{text-align:center;padding:10px}}
@media(max-width:700px){.main{padding:16px 12px 80px}}
@media print{.side{display:none}.shell{grid-template-columns:1fr}}
