/* Consistent public and private reading surfaces — 26 Oct 2026 */
/* Paired calls to action share one row geometry; standalone hero spacing stays outside it. */
body.af-layout .aflab__actions{align-items:stretch;gap:12px;flex-wrap:wrap}
body.af-layout .aflab__actions > :is(.aflab__action,.aflab__linkbutton){display:inline-flex;align-items:center;justify-content:center;align-self:stretch;box-sizing:border-box;margin:0;min-height:46px;height:auto;max-width:100%;padding:12px 18px;line-height:1.5;white-space:normal}
@media(max-width:700px){body.af-layout .aflab__actions > :is(.aflab__action,.aflab__linkbutton){flex:1 1 100%;width:100%}}
/* Archive toolbar: compact desktop controls and two deliberate mobile rows. */
html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-actions{align-items:center}
html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-search{display:block;min-width:0;min-height:0;margin:0!important}
html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-search input[type=search]{box-sizing:border-box;height:36px;min-height:36px!important;margin:0;padding:8px 12px;font-size:12px;line-height:18px}
@media(max-width:700px){html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:stretch}html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-actions > button{box-sizing:border-box;min-width:0;width:100%;min-height:44px;align-self:stretch;margin:0;white-space:normal}html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-actions > button:is([data-fm=new],[data-fm=upload]){grid-column:span 2}html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-search{grid-column:1/4;grid-row:2;order:0;width:100%}html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-search input[type=search]{width:100%;height:44px;min-height:44px!important;padding:10px}html body.af-portal-page.af-layout .af-portal .af-fm .af-fm-actions > button[data-fm=view]{grid-column:4;grid-row:2;padding:8px 4px!important}html body.af-portal-page.af-layout .af-portal .af-fm :is(.af-fm-toolbar,.af-fm-selection) > button{min-height:44px;min-width:44px}}
/* Secondary staff action uses the same button geometry as its primary partner. */
html body.af-portal-page .af-portal .af-ops-button.af-ops-button-secondary{background:transparent!important;color:var(--ink)!important;border-color:var(--line)!important}
html body.af-portal-page .af-portal .af-ops-row:has(>.af-ops-button-secondary){align-items:stretch;gap:12px}
html body.af-portal-page .af-portal .af-ops-row:has(>.af-ops-button-secondary)>.af-ops-button{align-self:stretch;white-space:normal}
@media(max-width:700px){html body.af-portal-page .af-portal .af-ops-row:has(>.af-ops-button-secondary)>.af-ops-button{flex:1 1 100%;width:100%}}
.af-review-start{display:grid;grid-template-columns:minmax(0,1fr);border-color:#a68a4d!important;background:linear-gradient(115deg,#153529,#0a1c16)!important;padding:clamp(24px,3vw,48px)!important;margin-block:24px}
.af-review-start>div{max-width:1000px}.af-review-start h2{font-size:clamp(26px,3vw,38px)!important;margin:12px 0 18px!important}.af-review-start p{max-width:85ch}
.af-review-reading,.af-review-questions,.af-review-sizing{padding:24px;border:1px solid #61704a;border-radius:10px;background:#10251c;margin:24px 0}.af-review-sizing h2{font-size:20px!important}.af-review-sizing p{font-size:15px;line-height:1.7}.af-review-sizing a{color:#e3c580;text-underline-offset:4px}
.af-review-glossary{margin:24px 0;border-block:1px solid #385044;padding:16px 0}.af-review-glossary summary{cursor:pointer;color:#e2c887;font-weight:600}.af-review-glossary dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px 24px;line-height:1.7}.af-review-glossary dt{font-weight:bold}.af-review-glossary dd{margin:0;color:#c4d0c6}
body.af-layout .aflab__articlehero h1{font-size:clamp(30px,3.3vw,56px)!important;line-height:1.12!important;text-transform:none!important;max-width:27ch;letter-spacing:-.025em!important;overflow-wrap:break-word}
body.af-layout .aflab__articlehero{padding:clamp(24px,3.5vw,54px)!important}body.af-layout .aflab__articlebody{padding:clamp(22px,4vw,64px)!important}
.aflab__articlebody>p,.aflab__articlebody>ul,.aflab__articlebody>ol,.aflab__articlebody>blockquote,.aflab__articlebody>h2,.aflab__articlebody>h3{max-width:78ch;margin-inline:auto!important}.aflab__articlebody>h2{font-size:clamp(23px,2.2vw,32px)!important;line-height:1.3!important;margin-top:2em!important;text-transform:none!important;scroll-margin-top:120px}
.af-review-reading-time{font:13px/1.6 ui-monospace,monospace;color:#c8b787;margin-bottom:20px!important}.af-article-toc{max-width:78ch;margin:18px auto 36px!important;line-height:1.7}.af-article-toc summary{cursor:pointer;color:#dfc68c}.af-article-toc ol{padding-left:24px}.af-article-toc a{color:#d5e0d5;text-underline-offset:4px}
.af-review-sources{max-width:78ch;margin:40px auto 0;padding-top:24px;border-top:1px solid #435a4b;font-size:14px;line-height:1.7}.af-review-sources h2{font-size:24px!important}.af-review-sources a{overflow-wrap:anywhere}
.af-study-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.af-study-modules h3{font-size:17px!important;line-height:1.5;color:#e3c887!important;min-height:3em}.af-study-modules ol{list-style:none;margin:0;padding:0}.af-study-modules li{border-top:1px solid #345344}.af-study-modules a{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:9px;align-items:start;padding:13px 4px;text-decoration:none;color:#d9e4da;font-size:13px;line-height:1.55}.af-study-modules a[aria-current]{background:#243a27;outline:1px solid #867441;border-radius:4px}.af-study-modules b{font-weight:500}.af-study-modules small{font-size:11px;white-space:nowrap;color:#c9b98b}.af-study-program>p{max-width:80ch;font-size:14px!important}
body.af-layout .af-private-site .af-aula video{height:auto!important;width:100%!important;max-height:calc(100svh - 470px)!important;min-height:0!important;object-fit:contain;aspect-ratio:16/9}.af-aula .af-vault-player{background:#010503}.af-aula-study{min-width:0}
.af-review-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.af-review-video{display:flex;flex-direction:column;padding:28px!important}.af-review-video .af-review-play{display:grid;place-items:center;aspect-ratio:16/9;background:radial-gradient(ellipse,#34543c,#081b14);border:1px solid #566746;border-radius:6px;color:#e0bf72;font-size:42px;margin-bottom:22px}.af-review-video h2{font-size:25px!important;line-height:1.3}.af-review-video p{flex:1}.af-review-video small{font:12px ui-monospace,monospace;color:#d8c187}.af-review-video a{align-self:start;margin-top:15px}
body.af-layout .af-surface-footer{flex-wrap:wrap;gap:16px;line-height:1.7}body.af-layout .af-surface-footer nav{flex-wrap:wrap;gap:12px 20px}.af-surface-footer .af-review-legal{width:100%;border-top:1px solid #34483b;padding-top:14px}.af-review-legal button{font:inherit;background:none;border:0;color:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:4px;padding:0}.af-review-footer-nav{display:flex;gap:16px 28px;flex-wrap:wrap;padding:0 0 24px;margin-bottom:22px;border-bottom:1px solid #384b3e}.af-review-footer-nav a{color:#e0d0a5;text-decoration:none;font-size:14px}
body.af-layout .af-site-links a{font-size:14px!important}body.af-layout .af-site-header{gap:16px}
body.af-portal-page .af-private-site>.af-surface-footer{width:100%!important;max-width:none!important;box-sizing:border-box}.af-review-video a.af-review-play{width:100%;box-sizing:border-box;margin-top:0;align-self:stretch;text-decoration:none}.af-review-video a.af-review-play:hover{border-color:#d8bc7c;background:radial-gradient(ellipse,#486444,#102a20)}
@media(min-width:1600px){body.af-layout .af-site-links{gap:20px}.af-study-modules{gap:30px}}
@media(max-width:1100px){.af-study-modules{grid-template-columns:1fr}.af-study-modules h3{min-height:0}.af-review-videos{grid-template-columns:1fr}.af-review-video{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:10px 25px}.af-review-video .af-review-play{grid-row:1/5;margin:0}.af-review-video p{margin:0}.af-review-video a{margin:0}}
@media(max-width:700px){.af-review-glossary dl{grid-template-columns:1fr;gap:5px}.af-review-glossary dd{margin-bottom:13px}.af-review-video{display:flex}.af-review-video .af-review-play{width:100%;margin-bottom:20px}.af-review-video a{margin-top:18px}body.af-layout .af-private-site .af-aula video{max-height:65svh!important}.af-review-questions,.af-review-sizing{padding:20px}.af-study-modules a{font-size:14px}.af-review-start .aflab__actions{align-items:stretch}.af-review-start .aflab__actions a{white-space:normal}}
@media(max-width:420px){
 body.af-layout .af-site-header{padding:9px 10px!important;gap:6px!important;min-height:64px!important;box-sizing:border-box;width:100%;max-width:100%}
 body.af-layout .af-site-brand{min-width:0!important;gap:7px!important;flex:1 1 120px!important}
 body.af-layout .af-site-brand img{width:27px!important;height:27px!important;flex:none}
 body.af-layout .af-site-brand b{font-size:15px!important;white-space:nowrap}
 body.af-layout .af-site-brand small{font-size:5px!important;letter-spacing:1px!important;white-space:nowrap}
 body.af-layout .af-site-actions{gap:3px!important;flex:0 0 auto!important}
 body.af-layout .af-site-actions :is(.af-site-search,.af-site-menu-toggle,.af-site-menu-button,.af-site-language),body.af-layout .af-site-actions>button,body.af-layout .af-site-actions>.af-language-switcher>summary{width:36px!important;min-width:36px!important;height:44px!important;min-height:44px!important;padding:0!important;box-sizing:border-box}
 body.af-layout .af-site-actions>.af-language-switcher{width:36px!important;min-width:36px!important}
 body.af-layout .af-site-actions>.af-site-account{display:none!important}
 body.af-layout .af-site-actions .af-language-switcher summary{font-size:11px!important;gap:0!important;justify-content:center}
 body.af-layout .af-site-menu{top:68px!important;left:8px!important;right:8px!important;width:auto!important}
 body.admin-bar.af-layout .af-site-menu{top:114px!important}
 .af-private-site{min-width:0}.af-portal-main,.af-portal-grid,.af-login-card{min-width:0!important}.af-portal input{max-width:100%;box-sizing:border-box}
}

