/* Public portal entrance and private browser-only dashboard */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#071325;color:#f3f2eb;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.65}
h1,h2,h3,p{margin-top:0}
.topbar .inner{min-height:84px}
.portal-topbar .brand{flex:0 1 auto;gap:12px}
.portal-topbar .brand strong{font:700 clamp(20px,2vw,28px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:.035em;white-space:nowrap;color:#f9f5eb}
.portal-topbar .brand small{display:block;margin-top:7px;font:500 10px/1.2 Georgia,serif;letter-spacing:.13em;color:#e2bd7a;white-space:nowrap}
.portal-topbar .site-crest-mark{width:62px;height:62px;object-fit:contain}
.portal-topbar .portal-desktop-nav{gap:clamp(9px,1.25vw,17px)}
.portal-topbar .portal-desktop-nav a{font-size:12px;line-height:1.4;color:#f4e5c7}
.portal-entry-hero{padding:clamp(52px,6vw,88px) 0 61px;overflow:hidden;background:radial-gradient(circle at 86% 18%,rgba(65,108,168,.4),transparent 43%),linear-gradient(125deg,#071427,#102b50 55%,#081728);border-bottom:1px solid rgba(224,189,115,.4)}
.portal-entry-hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.75fr);gap:34px;align-items:center}
.portal-entry-title{font:400 clamp(42px,5.9vw,76px)/1.09 Georgia,'Times New Roman',serif;letter-spacing:-.025em;margin:18px 0 23px;color:#fffaf0}
.portal-entry-title em{font-style:normal;color:#f0d397}
.portal-entry-lede{font-size:clamp(16px,1.6vw,20px);max-width:720px;color:#d8e1ef;line-height:1.78}
.portal-entry-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px;align-items:center}
.portal-entry-note{color:#c8d3e4;font-size:13px;line-height:1.75;margin:20px 0 0;max-width:730px}
.portal-entry-crest{margin:0;text-align:center;max-width:330px;justify-self:center}
.portal-entry-crest img{display:block;width:100%;height:auto;filter:drop-shadow(0 15px 31px rgba(0,0,0,.5))}
.portal-entry-crest figcaption{font-size:10px;color:#e4c58e;letter-spacing:.16em;text-transform:uppercase;margin-top:0}
.portal-entry-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:25px}
.portal-entry-choice{display:flex;flex-direction:column;min-height:318px;gap:11px;border:1px solid rgba(225,190,113,.55);border-radius:16px;background:radial-gradient(circle at 100% 0%,rgba(64,102,158,.29),transparent 55%),linear-gradient(155deg,#142e54,#0c1c37);padding:26px;color:#f9f6ec;text-decoration:none;box-shadow:0 12px 34px #0003;transition:transform .18s,border-color .18s,box-shadow .18s}
.portal-entry-choice:is(:hover,:focus-visible){transform:translateY(-3px);border-color:#f2d69c;box-shadow:0 16px 39px #0006}
.portal-entry-choice-num{color:#e4c384;font-size:12px;letter-spacing:.12em;font-weight:750}
.portal-entry-choice-icon{font:44px Georgia,serif;color:#e9ca8b;line-height:1.1}
.portal-entry-choice h3{font:400 30px/1.2 Georgia,serif;color:#fff5de;margin:0}
.portal-entry-choice p{color:#cbd6e5;line-height:1.7;font-size:14px;flex:1;margin:0}
.portal-entry-choice-link{color:#ffdfa0;font-size:14px;font-weight:800;margin-top:7px}
.portal-entry-notice{margin-top:24px;border-left:3px solid #e2b767;padding:16px 20px;background:#142b4d;border-radius:6px;color:#dce5ee;line-height:1.65}
.portal-entry-two{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:24px;align-items:start}
.portal-entry-quiz{padding:26px;border:1px solid #a58a5a;border-radius:14px;background:#102849;min-width:0}
.portal-entry-quiz fieldset{margin:0 0 18px;border:0;border-top:1px solid #587293;padding:12px 0 0;min-width:0}
.portal-entry-quiz legend{font-weight:650;line-height:1.45;color:#fff2d2;padding:4px 0}
.portal-entry-quiz label{display:flex;gap:11px;align-items:flex-start;padding:7px 0;color:#e1e9f2;font-size:14px;line-height:1.5;cursor:pointer}
.portal-entry-quiz input{flex:none;accent-color:#dcb575;width:17px;height:17px;margin-top:2px}
.portal-dashboard-hero{padding-bottom:48px}
.portal-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
.portal-dashboard-stats .portal-card{min-width:0}
.portal-stat-number{font:400 clamp(33px,4.5vw,50px)/1.1 Georgia,serif;color:#f0d393;margin:13px 0}
.portal-dashboard-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.portal-action-check{display:flex;gap:14px;align-items:flex-start;background:#102c51;border:1px solid rgba(205,174,109,.45);border-radius:11px;padding:18px;cursor:pointer;min-width:0}
.portal-action-check:has(input:checked){background:#1b3c5c;border-color:#e7c78c}
.portal-action-check input{height:23px;width:23px;flex:none;margin-top:1px;accent-color:#d5ad64}
.portal-action-check strong{display:block;font-size:16px;color:#fff3db;margin-bottom:4px}
.portal-action-check small{display:block;font-size:13px;color:#c4d1e2;line-height:1.65}
@media(max-width:1080px){.portal-topbar .portal-desktop-nav{display:none!important}.portal-menu-button{display:inline-flex!important}.portal-topbar .site-crest-mark{width:52px;height:52px}}
@media(max-width:820px){.portal-entry-hero-grid{grid-template-columns:1fr}.portal-entry-crest{max-width:175px;margin:0;justify-self:start}.portal-entry-choice-grid,.portal-dashboard-stats,.portal-entry-two{grid-template-columns:1fr}.portal-entry-choice{min-height:0}.portal-entry-two{gap:30px}}
@media(max-width:540px){.portal-entry-hero{padding:42px 0 46px}.portal-entry-title{font-size:clamp(36px,10vw,50px)}.portal-entry-buttons .portal-action{width:100%;text-align:center}.portal-entry-crest{max-width:115px}.portal-dashboard-checks{grid-template-columns:1fr}.portal-entry-quiz{padding:17px}.portal-entry-choice{padding:21px}.portal-entry-choice h3{font-size:26px}.portal-topbar .brand strong{font-size:18px}.portal-topbar .brand small{font-size:8.5px;letter-spacing:.085em}.portal-topbar .site-crest-mark{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.portal-entry-choice{transition:none}}
/* Display the desktop navigation as a measured, evenly spaced row. */
.portal-topbar .portal-desktop-nav{display:flex;align-items:center;gap:clamp(9px,1.25vw,17px);white-space:nowrap}
