:root,[data-theme=ocean]{--ink:#20314a;--muted:#637187;--green:#245c9d;--dark:#142c4c;--line:#e0e6ee;--paper:#f4f6fa;--accent:#d77635;--soft:#edf3fb;--nav-active:#27476e;--nav-text:#d6e1ef;--accent-soft:#fff0e3}
[data-theme=forest]{--ink:#243b32;--muted:#617269;--green:#216b50;--dark:#173c32;--line:#dfe7e1;--paper:#f4f7f4;--accent:#9a6b27;--soft:#edf5ef;--nav-active:#305947;--nav-text:#deebe4;--accent-soft:#fbf2df}
[data-theme=graphite]{--ink:#30303e;--muted:#6d6d7d;--green:#6650a3;--dark:#292936;--line:#e4e2ec;--paper:#f6f5f9;--accent:#966339;--soft:#f0ecf8;--nav-active:#464058;--nav-text:#e6e1ef;--accent-soft:#fbefdf}
body{font-family:Inter,'Segoe UI',Arial,sans-serif}.sidebar{background:var(--dark)}.sidebar .brand small,.sidebar-label,.sidebar-bottom small{color:var(--nav-text)}.sidebar select{background:var(--nav-active);border-color:#ffffff35}.sidebar nav a{color:var(--nav-text)}.sidebar nav a:hover,.sidebar nav a.active{background:var(--nav-active)}.sidebar nav a.active{box-shadow:inset 3px 0 var(--accent)}.sidebar-bottom{border-color:#ffffff25}.mark{background:var(--accent);color:#fff;border-radius:11px;font-size:29px}.avatar{background:var(--nav-active)}.btn:hover{background:var(--dark)}.btn.secondary:hover{background:var(--soft)}.btn.danger:hover{background:#fbe1da}.metrics article:first-child{border-top-color:var(--accent)}.metrics article>span,label{color:var(--muted)}.revenue{background:var(--green)}.expense{background:var(--accent)}.quick,.onboarding{background:var(--soft)}.eyebrow{color:var(--green)}input:focus,select:focus{outline-color:var(--green)}.topbar{gap:12px}.top-actions{gap:14px}.theme-control{display:flex;gap:7px;align-items:center;margin:0;font-size:11px}.theme-control select{margin:0;padding:7px 24px 7px 9px;min-height:34px;width:145px;font-size:11px}.qa-banner{background:#fff2d7;color:#75521e;padding:9px 15px;border:1px solid #f2dfb6;border-radius:6px;margin-bottom:20px;text-align:center;font-size:11px;font-weight:600}.portal-heading{margin:24px 0 30px}.portal-heading h1{font-size:35px}.portal-date{font-size:12px;color:var(--muted);text-transform:capitalize;white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.section-heading h2{margin:0;font-size:17px}.section-heading>span{font-size:11px;color:var(--muted)}.section-heading .eyebrow{margin-bottom:6px}.indicator-strip{padding:18px 0;box-shadow:0 2px 5px #142c4c03}.indicator-strip strong{font-size:20px}.source{color:var(--muted);line-height:1.7}.portal-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:24px;align-items:start;margin-bottom:10px}.card{box-shadow:0 3px 12px #142c4c03}.notifications{padding:25px}.task-list a{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);color:var(--ink)}.task-list a:hover{text-decoration:none;background:var(--soft)}.task-list a>span:nth-child(2){flex:1}.task-list strong{font-size:13px;font-weight:600}.task-list small{font-size:11px;margin-top:3px}.task-list b{font-size:21px}.task-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--soft);color:var(--green);border-radius:9px;font-size:21px;flex-shrink:0}.deadline-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:25px}.deadline-heading h3{font-size:13px;width:100%;margin:0 0 3px}.deadline-heading+p{line-height:1.6;margin:12px 0}.deadline-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;color:var(--ink);border-bottom:1px solid var(--line);font-size:12px}.deadline-row>span:last-child{text-align:right;white-space:nowrap}.deadline-row small{font-size:11px}.portal-empty{padding:17px;background:var(--paper);color:var(--muted);border-radius:6px;font-size:12px}.system-note{display:flex;flex-direction:column;gap:4px;border-left:3px solid var(--accent);padding:10px 13px;background:var(--accent-soft);margin-top:20px;font-size:11px;color:var(--ink)}.profile-summary{padding:25px;overflow-wrap:anywhere}.profile-top{text-align:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green);font-size:25px;font-weight:650;margin:0 auto 15px}.profile-top .eyebrow{font-size:9px;margin-bottom:7px}.profile-top h2{font-size:18px}.profile-top p{font-size:11px;color:var(--muted);margin-bottom:10px}.profile-summary dl{margin:20px 0}.profile-summary dt{font-size:10px;color:var(--muted);margin-top:13px}.profile-summary dd{margin:4px 0 0;font-size:12px;font-weight:600}.profile-theme{border-top:1px solid var(--line);margin-top:20px}.profile-theme label{margin-bottom:8px}.profile-theme small{font-size:10px;margin-top:8px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 34px}.module-card{display:block;padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink);transition:border-color .15s,transform .15s}.module-card:hover{text-decoration:none}.module-card[href]:hover{border-color:var(--green);transform:translateY(-2px)}.module-card>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.module-number{font-size:11px;letter-spacing:1px;color:var(--green);font-weight:700}.module-arrow{font-size:20px;color:var(--green)}.module-card h3{font-size:17px;margin:0 0 8px}.module-card p{color:var(--muted);font-size:12px;min-height:38px;margin-bottom:18px}.module-state{font-size:10px;color:var(--green)}.module-state:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--green);margin-right:6px}.module-pending{background:var(--paper);border-style:dashed}.portal-finance{padding-top:4px}.login-page{min-height:100vh;display:flex;flex-direction:column;background:#f5f7fb;color:#20314a}.login-header{padding:28px 5vw;display:flex;justify-content:space-between;align-items:center}.login-header .brand{margin:0;font-size:17px;gap:10px}.login-header .brand small{color:#69778b;font-size:8px;letter-spacing:1.6px}.login-header .mark{width:36px;height:38px;font-size:25px;background:#245c9d}.qa-chip{font-size:11px;color:#80551b;background:#fff0d8;padding:6px 11px;border-radius:5px}.login-main{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;max-width:none}.login-card{width:100%;max-width:438px;padding:38px;background:#fff;border:1px solid #e2e7ef;border-radius:14px;box-shadow:0 12px 40px #142c4c08}.login-symbol{position:relative;display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:#edf3fb;color:#245c9d;font-size:29px;font-weight:750;margin-bottom:25px}.login-symbol span{position:absolute;width:10px;height:10px;background:#d77635;border-radius:3px;bottom:2px;right:-3px}.login-card h1{font-size:26px;letter-spacing:-.8px;margin-bottom:9px}.login-card .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:10px}.login-card>p{font-size:13px}.login-card form{margin-top:27px}.login-card label{font-size:12px;margin:20px 0 7px}.login-card input{min-height:46px;font-size:14px;background:#fff;border-color:#dbe2ed;margin:0}.password-field{position:relative}.password-field input{padding-right:75px}.password-field button{position:absolute;right:7px;top:7px;height:32px;border:0;background:transparent;color:#245c9d;font-size:11px;cursor:pointer}.login-submit{width:100%;justify-content:space-between;margin-top:25px;height:46px;background:#245c9d;border-color:#245c9d;font-size:13px}.login-help{padding-top:23px;border-top:1px solid #e6ebf2;margin-top:26px;font-size:11px}.login-help p{color:#647287;line-height:1.7;margin:6px 0 0}.login-environment{font-size:10px;color:#748196;margin:18px 0 0}.login-footer{border:0;margin:0;padding:25px 5vw;color:#718095;font-size:11px}.captcha-wrap{margin-top:20px}.captcha-wrap small{margin-top:6px}
@media(max-width:1150px){.portal-grid{grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr)}.indicator-strip strong{font-size:16px}.notifications .section-heading{align-items:flex-start;flex-direction:column}.top-actions .date{display:none}}
@media(max-width:850px){.portal-grid{grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)}.portal-date{display:none}.sidebar .brand{font-size:17px}.theme-control select{width:135px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.portal-grid{grid-template-columns:1fr}.top-actions>.pill,.breadcrumb{display:none}.topbar{justify-content:flex-end}.module-grid{grid-template-columns:1fr 1fr;gap:10px}.module-card{padding:17px}.module-card p{min-height:54px}.section-heading{align-items:flex-start;flex-wrap:wrap}.indicator-strip strong{font-size:16px}.indicator-strip>div:nth-child(3){border-right:0}.portal-heading h1{font-size:29px}.login-header{padding:22px}.login-card{padding:28px}.login-main{padding-top:15px}.login-footer{font-size:10px;gap:15px}.theme-control{font-size:11px}.task-list strong{font-size:12px}.task-list small{font-size:10px}.task-list a{gap:9px}.profile-summary{margin-bottom:25px}.top-actions{width:100%;justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){.module-card{transition:none}}
@media print{.theme-control,.qa-banner{display:none}}
