/* CORE-FM: dark navigation and login, neutral working surfaces for legibility. */
@font-face{font-family:"DM Sans";src:url('/static/fonts/DM-Sans.ttf') format('truetype');font-weight:100 1000;font-display:swap}
:root{font-family:"DM Sans",sans-serif;--green:#165e8e;--orange:#2176a7;--muted:#53677e;--line:#d9e2eb;color:#182a3e;background:#f3f6fa}
body,button,input,select,textarea{font-family:"DM Sans",sans-serif}
body,.shell{background:#f3f6fa}
h1,h2,h3{font-family:"DM Sans",sans-serif}
.sidebar{background:#0b1522;color:#e5eef8;border-color:#26374b}
.sidebar .wordmark{background:#f4f8ff;padding:8px;border-radius:6px}
.sidebar nav a{color:#bdcce0;border-radius:7px}
.sidebar nav a.active{background:#183b55;color:#b9eaff;border:1px solid #315a78}
.sidebar nav a:hover:not(.active){background:#16273b;color:white}
.sidebar .workspace small,.sidebar .profile small,.sidebar .nav-caption,.sidebar .local-indicator{color:#94adc9}
.sidebar .workspace-icon,.sidebar .avatar{background:#19354b;color:#b5eaff;border-color:#31526a}
.sidebar .profile{border-color:#2b3f54}.sidebar .logout{color:#b3cee4}
.topbar{background:white}
.page-heading h1{font-size:34px;font-weight:500;letter-spacing:-.04em;line-height:1.15}
.section-card,.stat,.note-card,dialog{border-radius:10px}
.section-card,.stat,.section-head{background:white;border-color:var(--line)}
.stat.accent{background:#e5f2fc;border-color:#bfd9eb}
.primary,.secondary{border-radius:7px;padding-inline:20px}
.primary{background:#175e8b;color:white}.primary:hover{background:#10456a}
.secondary{background:white;color:#244c6b;border-color:#bccedf}
input,select,textarea{border-radius:7px}
th{background:#edf2f8;color:#53677e}tbody tr:hover{background:#f2f7fc}
.note-card,.access-help,.ops-explainer,.qr-register{background:#e9f3fc}
.login-story{background:linear-gradient(#06101ad9,#06101a99),url('/static/connected-building.png') center/cover;color:#edf6ff;padding:48px 7%;gap:38px;justify-content:center;text-align:left}
.login-story .wordmark{max-width:700px;width:100%;background:#f5f9ff;padding:15px;border-radius:8px}
.login-story h1{font-size:clamp(38px,4.5vw,64px);font-weight:500;letter-spacing:-.045em;line-height:1.08;margin:22px 0;color:#edf6ff}
.login-story p,.login-story .eyebrow,.login-foot{color:#b8cce1}
.login-panel{background:#fff}.login-panel h2{font-size:38px;font-weight:500;letter-spacing:-.04em}
.login-foot{font-size:12px}
.signup-wrap>h1,.demo-welcome h2{font-family:"DM Sans",sans-serif;font-weight:500;letter-spacing:-.04em}
@media(max-width:850px){.page-heading h1{font-size:28px}.login-story{padding:30px}.login-story h1{font-size:38px}}
.login-story .wordmark{background:transparent;padding:0}.login-story .core-logo{filter:brightness(0) invert(1)}
