.resource-hub { padding-block: clamp(28px,6vw,76px); color:#f7f2e8; }
.resource-intro { max-width:750px; margin-bottom:28px; }
.resource-intro h1 { line-height:1.08; font-size:clamp(2rem,5vw,3.8rem); }
.resource-hub :where(h2,h3) { scroll-margin-top:100px; }
.resource-card { background:#141e30; border:1px solid #374559; border-radius:16px; padding:clamp(16px,4vw,32px); margin:0 0 20px; scroll-margin-top:110px; }
.resource-card > h2 { margin-top:0; }
.resource-card p,.resource-intro p { color:#d0d8e5; }
.resource-links { display:flex; gap:8px 12px; flex-wrap:wrap; margin-block:16px; }
.resource-hub a { color:#f4d68b; text-decoration:underline; text-underline-offset:3px; }
.resource-links a { background:#172235; border:1px solid #46556a; padding:5px 11px; border-radius:7px; }
.resource-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:20px; }
.resource-grid > :where(form,article) { min-width:0; border:1px solid #46556a; border-radius:10px; padding:16px; }
.resource-grid h3 { margin-top:0; }
.resource-hub label { display:block; margin:8px 0; font-weight:600; }
.resource-hub :is(input:not([type=checkbox]),select,textarea) { box-sizing:border-box; display:block; width:100%; max-width:48rem; min-height:44px; color:#132033; background:#fffaf0; border:1px solid #8f9fb3; border-radius:8px; margin:4px 0 12px; padding:8px 10px; font:inherit; color-scheme:light; }
.resource-hub input[type=checkbox] { accent-color:#eac66f; }
.resource-hub button { min-height:44px; font:inherit; font-weight:700; padding:8px 14px; border:0; border-radius:8px; background:#eac66f; color:#161d29; cursor:pointer; }
.resource-hub :focus-visible { outline:2px solid #f5ce78; outline-offset:3px; }
.resource-hub output { display:block; font-weight:700; margin:10px 0; }
.resource-hub [hidden] { display:none!important; }
.resource-hub img { max-width:100%; height:auto; display:block; margin-bottom:12px; border-radius:8px; }
.resource-hub details { border-top:1px solid #48556b; padding:10px 0; }
.resource-hub summary { cursor:pointer; }
.resource-table { overflow:auto; margin-bottom:14px; }
.resource-table table { width:100%; border-collapse:collapse; color:#f7f2e8; }
.resource-table :is(td,th) { text-align:left; padding:9px 10px; border-bottom:1px solid #46556a; }
.resource-table caption { text-align:left; font-weight:700; padding-bottom:7px; }
.idmg-portal-preview-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr)); gap:16px; margin-block:18px; }
.idmg-main-choice .button:not(.secondary) { background:#eac66f; color:#101828; }
.idmg-main-choice .gradient-text { background:none; color:#f4d68b; }
.idmg-main-choice .home-copy p { color:#eee7dc; }
.idmg-login-choice > div { min-width:180px; }
