.sae{--sae-navy:#12344d;--sae-blue:#006cb3;--sae-orange:#f58220;--sae-ink:#18384b;--sae-muted:#526778;--sae-border:#dce7ee;--sae-bg:#f3f7fa;max-width:1100px;margin:0 auto 3rem;color:var(--sae-ink);font-family:inherit;line-height:1.55}.sae *{box-sizing:border-box}.sae h1,.sae h2,.sae h3{font-family:inherit;line-height:1.18;letter-spacing:-.025em}.sae h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:.45rem 0 .8rem;color:var(--sae-navy)}.sae h3{font-size:1.25rem;color:var(--sae-navy);margin:.2rem 0 .65rem}.sae p{margin:.5rem 0 1rem}.sae a{color:var(--sae-blue)}.sae a:focus-visible,.sae button:focus-visible,.sae input:focus-visible,.sae select:focus-visible,.sae textarea:focus-visible,.sae summary:focus-visible{outline:3px solid #e77816;outline-offset:3px}.sae-hero{background:linear-gradient(126deg,#12344d,#075483);border-radius:14px;border-top:6px solid var(--sae-orange);padding:clamp(1.5rem,5vw,4rem);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:2rem}.sae-hero h1{font-size:clamp(2.1rem,5.3vw,3.9rem);margin:.65rem 0;color:white;font-weight:760}.sae-hero p{font-size:1.15rem;max-width:38rem;color:#f1f7fc}.sae-hero img{width:100%;height:auto;max-width:180px;background:#fff;padding:12px;border-radius:12px;justify-self:end}.sae-kicker{font-size:.78rem;font-weight:750;letter-spacing:.14em;color:#cde9ff}.sae-blue{color:var(--sae-blue)}.sae-meta{font-weight:650;font-size:1rem;margin:1.1rem 0}.sae-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.25rem}.sae-btn{display:inline-block;max-width:100%;border-radius:7px;padding:.75rem 1.1rem;text-decoration:none!important;font-weight:700;font-size:.95rem;border:2px solid transparent;cursor:pointer;line-height:1.35}.sae .sae-primary{background:var(--sae-orange);color:#162c3b}.sae .sae-primary:hover{background:#ff9d47;color:#12344d}.sae .sae-outline{background:transparent;border-color:#c4e6fb;color:#fff}.sae .sae-dark{background:var(--sae-navy);color:#fff}.sae .sae-dark:hover{background:var(--sae-blue)}.sae-section{padding:clamp(1rem,3vw,2rem);margin:1.3rem 0;border:1px solid var(--sae-border);border-radius:12px;background:white;scroll-margin-top:2rem}.sae-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.7rem;margin-top:1rem}.sae-module{display:flex;gap:.7rem;align-items:center;border:1px solid var(--sae-border);background:var(--sae-bg);padding:.9rem;border-radius:7px;font-weight:600}.sae-module span{flex:none;color:var(--sae-blue);font-size:.88rem;font-weight:800}.sae-days{display:grid;gap:.7rem}.sae-day{border:1px solid var(--sae-border);border-radius:8px;overflow:hidden;background:#fff}.sae-day summary{display:flex;gap:.8rem;align-items:center;padding:1rem;background:var(--sae-bg);cursor:pointer;list-style:none}.sae-day summary::-webkit-details-marker{display:none}.sae-day summary::after{content:'+';margin-left:auto;font-size:1.4rem;color:var(--sae-blue)}.sae-day[open] summary::after{content:'−'}.sae-date{background:var(--sae-blue);color:#fff;padding:.4rem .65rem;border-radius:5px;white-space:nowrap;font-weight:700;font-size:.9rem}.sae-slot{display:grid;grid-template-columns:120px 1fr;gap:.8rem;padding:.65rem 1rem;border-top:1px solid var(--sae-border)}.sae-slot time{font-weight:650;color:var(--sae-blue);font-variant-numeric:tabular-nums}.sae-muted{color:var(--sae-muted);font-size:.92rem}.sae-portal{background:#f6f9fc}.sae-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.sae-portal-grid>div{border:1px solid var(--sae-border);border-top:4px solid var(--sae-orange);border-radius:8px;padding:1.3rem;background:#fff}.sae-private{background:white;border:1px solid var(--sae-border);border-radius:8px;margin-top:1.1rem;padding:1.3rem;scroll-margin-top:2rem}.sae-private h3{margin-top:1.15rem}.sae-filelist{padding-left:1.2rem}.sae-filelist li{padding:.45rem 0}.sae-filelist small{color:var(--sae-muted)}.sae-form{display:grid;gap:1rem}.sae-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.sae-form label,.sae-private form label{display:block;font-weight:650}.sae-form input:not([type=checkbox]),.sae-form select,.sae-form textarea,.sae-private form input[type=text],.sae-private form input[type=password]{display:block;margin:.35rem 0 0;width:100%;padding:.75rem;border:1px solid #b9cbd8;border-radius:6px;background:#fff;color:#18384b;min-height:44px;font:inherit;font-weight:400}.sae-form .sae-check{display:flex;align-items:flex-start;gap:.6rem;font-weight:400}.sae-check input{margin-top:.3rem;flex:none}.sae-form button{justify-self:start}.sae-alert{border-left:4px solid var(--sae-blue);padding:.8rem;background:#eaf4fa;color:var(--sae-navy)}.sae-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.sae-private form{max-width:420px}.sae-private form .button-primary{padding:.75rem 1.1rem;background:var(--sae-navy);color:white;border:0;border-radius:7px;cursor:pointer}.sae #materjalid,.sae #eksam{scroll-margin-top:2rem}@media(max-width:600px){.sae-hero{grid-template-columns:1fr;gap:1rem}.sae-hero img{grid-row:1;justify-self:start;width:86px;padding:6px}.sae-form-grid,.sae-portal-grid{grid-template-columns:1fr}.sae-slot{grid-template-columns:95px 1fr;gap:.55rem;padding:.7rem}.sae-slot time{font-size:.86rem}.sae-section{padding:1rem}.sae-day summary{padding:.7rem;gap:.6rem}.sae-hero .sae-btn{width:100%;text-align:center}}@media(prefers-reduced-motion:reduce){.sae *{scroll-behavior:auto!important}}
.sae .sae-question{border:1px solid #d8e4ec;border-radius:12px;background:white;margin:20px 0;padding:18px;min-width:0}.sae .sae-question legend{font-weight:700;color:#12344d;max-width:100%;white-space:normal;padding:0 6px;line-height:1.5}.sae .sae-question small{font-weight:500;color:#567}.sae .sae-option{display:flex;align-items:flex-start;gap:10px;padding:12px 10px;border-bottom:1px solid #edf2f5;cursor:pointer}.sae .sae-option input{width:auto;flex:none;margin-top:5px}.sae .sae-question textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #b7cbd8;border-radius:7px;resize:vertical}.sae .sae-exam-status{position:sticky;top:32px;z-index:2;background:#12344d;color:white;padding:12px 18px;border-radius:8px;box-shadow:0 2px 6px #0002}.sae #sae-exam-form h3{margin-top:32px;color:#0868a8}.sae #sae-exam-form button{margin:5px 5px 5px 0}@media(max-width:600px){.sae .sae-question{padding:10px}.sae .sae-exam-status{top:0}.sae #sae-exam-form button{width:100%;margin:4px 0}}


/* 2.3.1: container-aware layout and fallback full-width template. */
main#content.sae-page-shell { box-sizing:border-box; width:100%; max-width:none; min-width:0; margin:0; padding:clamp(16px,3vw,40px) clamp(12px,3vw,32px); }
.sae { width:100%; min-width:0; max-width:1100px; container-type:inline-size; overflow-wrap:break-word; word-break:normal; }
.sae .sae-hero { grid-template-columns:minmax(0,1fr) clamp(90px,16%,170px); padding:clamp(20px,4cqi,48px); gap:clamp(12px,3cqi,32px); }
.sae .sae-hero > div { min-width:0; }
.sae .sae-hero h1 { font-size:clamp(24px,4.7cqi,49px); font-weight:750; line-height:1.13; letter-spacing:-.025em; word-break:normal; overflow-wrap:normal; hyphens:none; }
.sae .sae-title-word, .sae .sae-title-level { display:block; }
.sae .sae-title-level { margin-top:.15em; }
.sae .sae-hero img { max-width:170px; min-width:0; height:auto; object-fit:contain; }
.sae .sae-hero p { font-size:clamp(16px,2.1cqi,19px); }
.sae .sae-actions { align-items:stretch; }
.sae .sae-btn { white-space:normal; overflow-wrap:break-word; }
.sae .sae-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); }
.sae .sae-slot > *, .sae .sae-form-grid > *, .sae .sae-portal-grid > * { min-width:0; }
.sae .sae-slot { grid-template-columns:minmax(90px,120px) minmax(0,1fr); }
.sae .sae-module { align-items:flex-start; }
.sae .sae-option { min-width:0; overflow-wrap:anywhere; }
.sae .sae-question { max-width:100%; }
@container (max-width:740px) {
  .sae .sae-hero { grid-template-columns:minmax(0,1fr); }
  .sae .sae-hero img { grid-row:1; justify-self:start; width:84px; padding:6px; }
  .sae .sae-hero h1 { font-size:clamp(24px,6.1cqi,40px); }
  .sae .sae-portal-grid { grid-template-columns:minmax(0,1fr); }
}
@container (max-width:480px) {
  .sae .sae-form-grid { grid-template-columns:minmax(0,1fr); }
  .sae .sae-actions .sae-btn { width:100%; text-align:center; }
  .sae .sae-slot { grid-template-columns:minmax(82px,95px) minmax(0,1fr); gap:.5rem; padding:.7rem; }
  .sae .sae-section, .sae .sae-private { padding:1rem; }
  .sae .sae-hero { padding:18px; }
  .sae .sae-hero h1 { font-size:clamp(21px,7cqi,32px); }
}

/* 2.3.2: shared SA2030 RADA shell, scoped to ESSIA. */
body.sae-rada { --sae-header-bottom:74px; margin:0; max-width:none; }
.sae-rada main#sa3-main.sae-page-shell { box-sizing:border-box; width:100%; max-width:none; min-width:0; margin:0; padding:clamp(16px,3vw,40px) clamp(12px,3vw,32px); }
.sae-rada .sae { margin:0 auto 2rem; }
.sae-rada .sae h1 { line-height:1.13; }
.sae-rada .sae h2 { line-height:1.18; }
.sae-rada .sae h3 { line-height:1.25; }
.sae-rada .sae [id], .sae-rada #sa3-main { scroll-margin-top:calc(var(--sae-header-bottom) + 16px); }
.sae-rada .sae .sae-exam-status { top:calc(var(--sae-header-bottom) + 8px); }
.sae-rada .sa3-nav a[aria-current="page"] { background:var(--soft); }
.sae-rada .sae-rada-privacy { text-align:center; padding:12px; font-size:.85rem; }
