﻿/* Approved light portal: Figma neutrals, navy sections and cobalt accents. */
:root{color-scheme:light;--page:#f4f4f5;--surface:#fff;--ink:#0f172a;--muted:#475569;--blue:#1d4ed8;--line:#d1d5db;color:var(--ink);background:var(--page)}
body{background:var(--page)}.container{max-width:1292px;padding-top:30px}.container.access-container{max-width:1196px}
.demo-bar{background:#eaecef;color:#475569;border-bottom:1px solid #d1d5db}.demo-bar a{color:#1d4ed8}
.btn{border-radius:28px;background:#0f172a;color:white}.btn.primary{background:#0f172a}.btn:hover,.btn.primary:hover{background:#233552}.btn.secondary{color:#1d4ed8;border-color:#1d4ed8;background:transparent}.btn.secondary:hover{background:#eef2ff;border-color:#1d4ed8}
.icon-box,.state-icon{background:#1e293b;color:#f4f4f5}
.hero{background:linear-gradient(105deg,#1e293b,#0f172a);border:0;color:#f9fafb;padding:35px 38px;border-radius:12px;box-shadow:0 12px 24px #0f172a0a}.hero h1{font-size:44px;line-height:1.1}.hero .eyebrow{color:#bfdbfe}.hero .subtitle{color:#d1d5db;font-size:14px;line-height:1.6}
.greeting{padding-left:30px;border-left:1px solid #475569;min-width:205px}.greeting strong{font-size:18px;font-weight:500}.greeting p{font-size:12px;color:#d1d5db;margin-top:6px;line-height:1.6}
.resource-grid{gap:20px}.resource-card{padding:23px;min-height:241px;box-shadow:0 6px 16px #30313308}.resource-card:hover{border-color:#7b96bc;box-shadow:0 12px 24px #30313312}.resource-card .card-top{margin-bottom:19px}.resource-card h3{font-size:19px}.resource-card .icon-box{width:40px;height:40px;border-radius:9px}.resource-card .pill{border:0;padding:0;font-size:10px;color:#64748b}.resource-card .resource-link{padding-top:16px;border-top:1px solid #e4e4e7;font-size:12px;color:#0f172a}.resource-card .resource-link svg{color:#1d4ed8;width:18px;height:18px}
.filter{border-radius:24px;background:transparent;border-color:transparent;color:#475569}.filter.active{background:#0f172a;color:#fff;border-color:#0f172a}.filter:hover:not(.active){background:#e4e4e7}
.help-strip{background:#e4e4e7;border:0}.help-strip h3{font-size:16px}.help-strip p{font-size:12px}
.story-panel{background:linear-gradient(120deg,#1e293b,#0f172a);padding:32px;border-radius:12px;color:#f9fafb}.story-panel h1{font-size:38px}.story-panel .eyebrow{color:#bfdbfe}.story-panel .subtitle,.story-panel .steps-list{color:#d1d5db}.story-panel .steps-list b{background:#334155;color:white}.story-visual{display:none}.split{gap:40px;grid-template-columns:.85fr 1.15fr}
.card,.stat,.table-wrap,.report-frame{background:#fff}.sidebar a.active{background:#0f172a;color:#fff}.sidebar a:hover:not(.active){background:#e4e4e7;color:#0f172a}.stat strong{color:#0f172a}th{background:#1e293b;color:#f4f4f5;border-bottom-color:#1e293b}td{border-color:#e4e4e7}.report-visual{background:#f4f4f5}.chart div{background:linear-gradient(#1d4ed8,#7aa2ed)}.chart-labels{color:#475569}.role-choice:has(input:checked){border-color:#1d4ed8;background:#eef2ff}
.stat small,.feed-item small,.sidebar .eyebrow,.sidebar .side-note{color:#64748b}
@media(max-width:600px){.portal-footer .desktop-value{display:none}}
.portal-footer{background:#0f172a;color:#9ca3af;padding:28px max(26px,calc((100% - 1196px)/2));font-size:12px}.portal-footer-top{display:flex;justify-content:space-between;align-items:center;gap:35px;padding:10px 0 25px}.portal-footer img{display:block;width:210px;height:auto}.portal-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:14px 24px}.portal-footer a:hover{color:#fff}.portal-footer-bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid #374151;padding-top:22px;font-size:11px}.portal-footer-bottom div{display:flex;gap:20px}.demo-start{margin-top:24px}
@media(max-width:760px){.container{padding-top:24px}.hero{padding:28px;display:block}.hero h1{font-size:36px}.hero .subtitle{font-size:13px}.greeting{display:none}.split{grid-template-columns:1fr;gap:25px}.story-panel{padding:26px}.story-panel h1{font-size:32px}.resource-card{padding:23px;min-height:230px}.portal-footer{padding:28px 20px}.portal-footer-top,.portal-footer-bottom{flex-direction:column;align-items:flex-start;gap:22px}.portal-footer nav{justify-content:flex-start;font-size:12px;gap:14px 20px}}

/* Password visibility is explicit, keyboard accessible and off by default. */
.password-control{position:relative}
.password-control input{width:100%;padding-right:54px}
.password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:42px;padding:10px;border:0;border-radius:8px;color:#475569;background:transparent;cursor:pointer}
.password-toggle:hover{background:#f4f4f5;color:#0f172a}
.password-toggle:focus-visible{outline:2px solid #475569;outline-offset:-2px}
.password-toggle svg{width:22px;height:22px}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed=true] .eye-slash{display:block}

.login-captcha{margin:20px 0;max-width:100%;min-height:100px}.login-captcha .subline{margin-top:12px}
.toolbar#real-filter{flex-wrap:wrap}#real-filter .search{flex:1 1 280px;min-width:180px}#real-filter select{width:180px;max-width:100%}

/* Local auth walkthrough uses the approved portal palette and form layout. */
.auth-flow-demo .fields > p,.auth-flow-demo .fields > .notice,.auth-flow-demo .fields > .actions{grid-column:1/-1}
.auth-flow-demo button.text-link{border:0;background:transparent;font:inherit;padding:8px;min-height:44px}
.auth-flow-demo .story-panel .text-link{color:#bfdbfe}
.auth-flow-demo .story-panel .actions{margin-top:24px}
.auth-flow-demo [role="alert"]{color:#a7343b;margin:16px 0}
.auth-flow-demo [role="status"]{margin:16px 0}
/* Shared account reminder: approved light page, dark brand emphasis. */
.manifest-notice{grid-column:1/-1;padding:24px;border-radius:16px;background:#132b31;color:#fff;border-left:5px solid #93d4ce;margin:4px 0 20px;}
.manifest-notice h3{color:#fff;font-size:1.3rem;line-height:1.35;margin:8px 0 12px;}
.manifest-notice p{color:#e4eeee;line-height:1.55;margin:8px 0;}
.manifest-notice .eyebrow{color:#a5e0d8;}
.manifest-notice .text-link{color:#a5e0d8;text-decoration:underline;}
.auth-flow-live .fields>.manifest-notice,.auth-flow-live .fields>p,.auth-flow-live .fields>.notice,.auth-flow-live .fields>.check-label{grid-column:1/-1;}
.auth-flow-live [role=alert]{color:#9f2935;}

/* Approved report layout; scoped to authorized report views. */
.container.report-container{max-width:1520px}.report-container .page-top{align-items:center;margin-bottom:24px}.report-container .page-top .subtitle{margin-top:12px}.report-container .page-top .btn{flex-shrink:0}.report-live{padding:0;overflow:hidden;background:#fff;border:1px solid #dfe3e8;border-radius:16px;box-shadow:0 8px 28px #14213909}.report-live iframe{display:block;width:100%;height:auto;aspect-ratio:1400/800;min-height:480px;border:0}.report-live:fullscreen{border:0;border-radius:0}.report-live:fullscreen iframe{width:100%;height:100%;aspect-ratio:auto}.report-hint{color:#65748b;font-size:13px;margin-top:16px}
@media(max-width:760px){.container.report-container{padding-left:16px;padding-right:16px}.report-container .page-top{align-items:flex-start}.report-container h1{font-size:32px}.report-live{border-radius:10px;overflow-x:auto}.report-live iframe{width:1000px;height:620px;min-height:0;aspect-ratio:auto}.report-live:fullscreen iframe{width:100%;height:100%}.report-hint{font-size:12px}}

.contact-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:20px;margin:16px 0}.contact-consent input{width:16px;height:16px;margin-top:2px;accent-color:#253b50}.contact-consent a{text-decoration:underline}
