/* final plan layer — additive */
.lw-dim{position:fixed;inset:0;z-index:45;background:rgba(6,14,28,.45);opacity:0;pointer-events:none;transition:opacity .2s}
body.lw-menu-open .lw-dim{opacity:1;pointer-events:auto}
.lw-secq{margin:6px 0 14px}.lw-secq .plan-filter{width:100%}.lw-secq-none{color:var(--muted);margin:10px 0 0}
.lw-urgent{margin:34px 0;padding:18px 20px;border-radius:16px;border:1.5px solid rgba(200,40,50,.45);background:rgba(224,71,76,.07)}
.lw-urgent h2{display:flex;gap:10px;align-items:center;font-size:1.2rem;margin:0 0 10px;color:#b3222c}
.lw-urgent h2 span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#c62a35;color:#fff;font-size:.95rem;flex:none}
.lw-urgent ul{margin:0 0 10px;padding-left:20px}.lw-urgent li{margin:4px 0}.lw-urgent p{margin:0}
html[data-theme=dark] .lw-urgent h2{color:#ff8a8f}
.lw-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0 30px}
@media(max-width:640px){.lw-split{grid-template-columns:1fr}}
.lw-card{padding:16px 18px;border-radius:14px;border:1px solid var(--line-2,rgba(16,35,64,.12))}
.lw-card h3{margin:0 0 6px;font-size:1.05rem}.lw-card p{margin:0}
.lw-exp{background:rgba(241,201,142,.13)}.lw-med{background:rgba(94,140,220,.10)}
.lw-cform{display:grid;gap:12px;max-width:620px;margin:26px 0 34px;padding:20px;border-radius:16px;border:1px solid var(--line-2,rgba(16,35,64,.12))}
.lw-cform h2{margin:0 0 4px}.lw-cform label{display:grid;gap:6px;font-weight:600;font-size:.95rem}
.lw-cform input,.lw-cform textarea{font:inherit;padding:11px 12px;border-radius:10px;border:1px solid rgba(16,35,64,.25);background:transparent;color:inherit}
.lw-cform input:focus,.lw-cform textarea:focus{outline:2px solid #c62a35;outline-offset:1px}
.lw-cform .btn{justify-self:start;padding:11px 22px;border-radius:999px;border:0;background:#c62a35;color:#fff;font-weight:700;cursor:pointer}
.lw-cf-note{font-size:.88rem;color:var(--muted);margin:0}.lw-cf-msg{margin:0;font-weight:600}
html[data-theme=dark] .lw-cform input,html[data-theme=dark] .lw-cform textarea{border-color:rgba(255,255,255,.25)}
/* accessibility */
.lw-a11y-btn{position:fixed;left:16px;bottom:70px;z-index:60;width:44px;height:44px;border-radius:50%;border:1px solid rgba(16,35,64,.18);background:#fff;color:#14233c;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px -8px rgba(0,0,0,.35)}
.lw-a11y-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.lw-a11y-btn svg circle{fill:currentColor;stroke:none}
html[data-theme=dark] .lw-a11y-btn{background:#13264a;color:#fff;border-color:rgba(255,255,255,.2)}
body.lw-menu-open .lw-a11y-btn{display:none}
.lw-a11y{position:fixed;left:16px;bottom:122px;z-index:61;width:min(300px,calc(100vw - 32px));padding:14px;border-radius:16px;background:#fff;color:#14233c;border:1px solid rgba(16,35,64,.15);box-shadow:0 20px 50px -18px rgba(0,0,0,.45);display:grid;gap:8px}
html[data-theme=dark] .lw-a11y{background:#0f1f3b;color:#fff;border-color:rgba(255,255,255,.18)}
.lw-a11y[hidden]{display:none}
.lw-a11y button{font:inherit;color:inherit;cursor:pointer}
.lw-a11y-h{display:flex;justify-content:space-between;align-items:center}.lw-a11y-h button{border:0;background:none;font-size:1.5rem;line-height:1;width:34px;height:34px}
.lw-a11y-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.lw-a11y-seg{display:flex;align-items:center;gap:6px}.lw-a11y-seg button{width:40px;height:36px;border-radius:10px;border:1px solid rgba(127,140,160,.4);background:transparent;font-weight:700}
.lw-a11y-z{min-width:44px;text-align:center;font-size:.9rem}
.lw-a11y-t,.lw-a11y-r{text-align:left;padding:10px 12px;border-radius:10px;border:1px solid rgba(127,140,160,.4);background:transparent}
.lw-a11y-t[aria-pressed=true]{background:#c62a35;color:#fff;border-color:#c62a35}
.lw-a11y-r{text-align:center;font-weight:600}
html.lw-zoomed #main{zoom:var(--lw-zoom,1)}
html.lw-hc[data-theme=light] #view,html.lw-hc[data-theme=light] .site-footer{color:#000}
html.lw-hc[data-theme=light] #view p,html.lw-hc[data-theme=light] #view li,html.lw-hc[data-theme=light] #view figcaption,html.lw-hc[data-theme=light] #view small{color:#000!important}
html.lw-hc[data-theme=light]{--muted:#111;--bg:#fff}
html.lw-hc[data-theme=light] body{background:#fff}
html.lw-hc[data-theme=dark] #view p,html.lw-hc[data-theme=dark] #view li,html.lw-hc[data-theme=dark] #view figcaption{color:#fff!important}
html.lw-hc[data-theme=dark]{--muted:#e9eef6;--bg:#000}
html.lw-hc a{text-decoration:underline!important}
html.lw-hc :focus-visible{outline:3px solid #c62a35!important;outline-offset:2px}
html.lw-noanim *,html.lw-noanim *::before,html.lw-noanim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.lw-noanim .reveal{opacity:1!important;transform:none!important}
@media print{.lw-a11y-btn,.lw-a11y,.lw-dim{display:none!important}}
/* 2026-10-17: floating accessibility button only in the free side margin (container 1180px -> needs >= 1280px); otherwise in the footer */
.lw-a11y-btn{left:6px;bottom:22px;width:40px;height:40px}
.lw-a11y-btn svg{width:22px;height:22px}
.lw-a11y-fbtn{margin-top:10px}.lw-a11y-fbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.lw-a11y-fbtn svg circle{fill:currentColor;stroke:none}
@media (max-width:1279px){.lw-a11y-btn{display:none!important}.lw-a11y{bottom:auto;top:50%;transform:translateY(-50%);left:50%;margin-left:max(-150px,calc(-50vw + 16px))}}
@media (min-width:1280px){.lw-a11y-fbtn{display:none}}
.lw-a11y.from-footer{bottom:auto;top:50%;transform:translateY(-50%);left:50%;margin-left:max(-150px,calc(-50vw + 16px))}

/* 2026-10-18: accessibility + text size in the top menu (no floating / footer buttons) */
.lw-a11y-btn,.lw-a11y-fbtn,.tt-footer{display:none!important}
.lw-a11y-hbtn{display:none;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line-2,#ccd5e1);background:var(--surface,#fff);color:var(--text,#14233c);font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.lw-a11y-hbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lw-a11y-hbtn:hover{background:rgba(127,140,160,.12)}
@media (min-width:1260px){.site-header .bar .lw-a11y-hbtn{display:inline-flex}}
@media (min-width:1260px) and (max-width:1439px){.site-header .bar .lw-a11y-hbtn span{display:none}.site-header .bar .lw-a11y-hbtn{width:36px;padding:0;justify-content:center}}
.lw-a11y.from-head{position:fixed;top:70px;right:16px;left:auto;bottom:auto;transform:none;margin:0}
.lw-a11y-mrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 0 24px;margin-top:12px;border-top:1px solid var(--line,#e3e8f0)}
.lw-a11y-mrow .lw-a11y-ml{font-weight:600;margin-right:2px}
.lw-a11y-mrow button{min-width:44px;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line-2,#ccd5e1);background:var(--surface,#fff);color:var(--text,#14233c);font:inherit;font-weight:600;cursor:pointer}
.lw-a11y-mrow .lw-a11y-z{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}
.lw-a11y-mrow .lw-a11y-mopen{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 0 100%;margin-top:4px}
.lw-a11y-mrow .lw-a11y-mopen svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.lw-a11y-mrow .lw-a11y-mopen svg circle{fill:currentColor;stroke:none}
@media (min-width:1260px){.lw-a11y-mrow{display:none}}
#view .font-size{display:none!important} /* 2026-10-18: text size lives in the top menu */

/* t306u: section cover thumbnails in the menu + cover on section pages */
.menu-grid .mthumb{width:56px;height:40px;object-fit:cover;border-radius:8px;flex-shrink:0;display:block;background:var(--surface-2,#eef2f7)}
.menu-grid a{min-height:64px}
.sec-cover{margin:6px 0 16px;border-radius:16px;overflow:hidden;aspect-ratio:16/6;background:var(--surface-2,#eef2f7)}
.sec-cover img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:600px){.sec-cover{aspect-ratio:16/8;border-radius:12px}}

/* t311u: image slot on group cards (section 5) and group headings (other sections) */
.gimg{flex:0 0 auto;width:84px;height:63px;border-radius:12px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:radial-gradient(120% 120% at 30% 20%,#1d3a66 0%,#0d1d38 70%);box-shadow:inset 0 0 0 1px rgba(120,170,255,.18)}
.gimg img{width:100%;height:100%;object-fit:cover;display:block}
.gimg-ph{color:#8fb8ff;position:relative}
.gimg-ph::after{content:"";position:absolute;inset:6px;border:1px dashed rgba(143,184,255,.35);border-radius:9px}
.gimg-ph svg{width:26px;height:26px;opacity:.9}
.s5-card{gap:14px;padding:12px 16px 12px 12px}
h2.plan-group.has-gimg{display:flex;align-items:center;gap:14px}
h2.plan-group.has-gimg .gimg{width:64px;height:48px;border-radius:10px}
h2.plan-group.has-gimg .gimg-ph svg{width:20px;height:20px}
