/* Task-first layout, shared by the home, guides and existing translations. */
html:has(body[data-experience]) {scroll-padding-top:90px}
body[data-experience] :is(h1,h2,h3){text-wrap:balance}
body[data-experience] :is(a,button,input,summary):focus-visible{outline:3px solid #e56c2e;outline-offset:3px}
body[data-experience] [hidden]{display:none!important}
body[data-experience] .breadcrumbs{white-space:normal;line-height:1.45;padding-block:10px}
body[data-experience] .breadcrumbs [aria-current]{white-space:nowrap;max-width:100%}
body[data-experience] .mast-inner{padding:28px 22px 24px}
body[data-experience] .mast h1{font-family:var(--ui,system-ui);font-size:clamp(1.85rem,3.8vw,3rem);font-weight:850;line-height:1.15;letter-spacing:-.035em;text-transform:none;margin:10px 0 12px;overflow-wrap:break-word;word-break:normal}
body[data-experience] .mast .dek{font-size:1.02rem;line-height:1.55;margin:0;max-width:76ch}
body[data-experience] .meta{margin-top:14px;gap:6px}
body[data-experience] .meta span{font-size:.72rem;padding:5px 9px;line-height:1.4}
body[data-experience] .layout{padding-top:24px;gap:32px;grid-template-columns:minmax(0,780px) minmax(200px,260px)}
body[data-experience] .article :is(h2,.answer-first h2,.snapshot-heading h2){font-family:var(--ui,system-ui);font-size:clamp(1.35rem,2.5vw,1.9rem);font-weight:850;line-height:1.25;letter-spacing:-.025em;text-transform:none;margin:32px 0 12px}
body[data-experience] .article h3{line-height:1.35}
body[data-experience] .article>[data-quick-answer]{margin:0 0 20px;padding:20px;border:1px solid #c4b18b;border-left:4px solid #173a63;border-radius:16px;background:#f4eedf}
body[data-experience] [data-quick-answer] :is(h2,p):first-child{margin-top:0}
body[data-experience] [data-quick-answer] p:last-child{margin-bottom:0}
body[data-experience] .article>[data-quick-answer] h2{margin:6px 0 10px}
body[data-experience] .snapshot-heading{padding:0 0 16px}
body[data-experience] .best-picks div{padding:12px}
body[data-experience] .article-hero{padding:0;margin:24px 0;max-width:100%}
body[data-experience] .article-hero img{display:block;width:100%;height:auto;aspect-ratio:16/7;max-height:300px;object-fit:cover;border-radius:16px}
body[data-experience] .media-disclosure{font-size:.72rem;line-height:1.5;margin-top:6px}
body[data-experience] .toc{padding:14px 18px;border-radius:16px;top:90px;max-height:calc(100dvh - 110px);overflow:auto}
body[data-experience] .toc summary{cursor:pointer;font-size:.9rem;font-weight:850;min-height:32px;align-content:center}
body[data-experience] .toc a{font-size:.82rem;line-height:1.5;margin-top:8px}
body[data-experience=article] .layout{grid-template-columns:minmax(0,780px);justify-content:center}
body[data-experience] .article>.toc{position:static}
body[data-experience] .next-step{border:1px solid #bac7d4;border-radius:14px;padding:16px;margin:22px 0;background:#edf3f8}
.next-step strong{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#173a63;margin-bottom:8px}
.next-step a{font-weight:800;display:inline-block;line-height:1.5}
body[data-experience] .copy-code{min-height:44px;min-width:64px;padding:8px 12px}
body[data-experience] .related h2{font:850 1.7rem/1.2 var(--ui,system-ui);text-transform:none}
body[data-experience] .related-inner{padding:32px 22px}
body[data-experience] .card{line-height:1.5}
body[data-experience] .card b{font-size:1rem}
body[data-experience] .card span{font-size:.78rem;line-height:1.5}
.task-home{background:#efe4c8;border-bottom:1px solid #b6a586}
.task-home-inner{max-width:1180px;margin:auto;padding:32px 22px;display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:center}
.task-home h1{font:850 clamp(2rem,4vw,3.6rem)/1.08 var(--ui,system-ui);text-transform:none;letter-spacing:-.04em;margin:8px 0 14px;max-width:760px}
.task-home p{max-width:64ch;line-height:1.55;margin:0 0 18px}
.task-home img{display:block;width:100%;height:210px;object-fit:cover;border-radius:20px;border:1px solid #a8987c}
.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.task-grid a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:12px;border:1px solid #173a63;border-radius:12px;background:#fffdf7;color:#173a63;font-size:.85rem;font-weight:850;text-decoration:none;line-height:1.3}
.task-grid a:first-child{background:#173a63;color:#fff}
.task-grid a:hover{box-shadow:inset 0 0 0 2px #173a63}
.task-grid a::after{content:'↗';font-size:.85rem}
.guide-directory{background:#fffdf7;border-bottom:1px solid #c6bda9;color:#111316}
.guide-directory-inner{max-width:1180px;margin:auto;padding:28px 22px 34px}
.guide-directory h2{font:850 1.6rem/1.2 var(--ui,system-ui);letter-spacing:-.03em;margin:0 0 18px;text-transform:none}
.directory-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.directory-controls label{flex:1;min-width:210px;font-size:.8rem;font-weight:800}
.directory-controls input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #8d9caf;border-radius:12px;background:#fff;font:inherit;font-size:1rem}
.directory-filters{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}
.directory-filters button{min-height:44px;padding:7px 12px;border:1px solid #a6b4c3;border-radius:999px;background:#fff;font:750 .8rem/1.3 var(--ui,system-ui);cursor:pointer}
.directory-filters button[aria-pressed=true]{background:#173a63;color:#fff}
.directory-links,.directory-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.directory-links a,.directory-results a{display:block;height:100%;padding:14px 16px;border:1px solid #d1d4d5;border-radius:14px;background:#fff;color:#111316;text-decoration:none;line-height:1.45}
.directory-links a:hover,.directory-results a:hover{border-color:#173a63;background:#f1f5f8}
.directory-links b,.directory-results b{font-size:.94rem;display:block}
.directory-links small,.directory-results small{display:block;margin-top:5px;font-size:.75rem;color:#4d5866}
.directory-status{font-size:.8rem;min-height:1.4em;color:#4d5866;margin:12px 0}
.directory-results:empty{display:none}
body[data-experience=home] .section-inner{max-width:1180px;padding:36px 22px}
body[data-experience=home] .section-head{margin-bottom:18px;gap:14px;align-items:start}
body[data-experience=home] .section-title{font:850 clamp(1.6rem,3vw,2.5rem)/1.16 var(--ui,system-ui);text-transform:none;letter-spacing:-.03em}
body[data-experience=home] .section-kicker{font-size:.95rem;line-height:1.5}
body[data-experience=home] .update-item{padding:12px;gap:10px;border-radius:14px;grid-template-columns:110px 1fr}
body[data-experience=home] .update-item .update-type{display:none}
body[data-experience=home] .update-item p{font-size:.88rem;line-height:1.5}
body[data-experience=home] .update-item time{font-size:.8rem}
body[data-experience=home] .update-feed{gap:8px}
body[data-experience=home] .metrics{position:static;margin:0 auto;padding:20px 22px;gap:8px}
body[data-experience=home] .metric{padding:12px}
body[data-experience=home] .metric b{font-size:1.4rem}
body[data-experience=home] .unit-list{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-experience=home] .unit{min-height:125px}
body[data-experience=home] .portrait,body[data-experience=home] .roster-card{min-height:230px}
body[data-experience=home] .portrait-grid,body[data-experience=home] .roster-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-experience=home] .atlas-card{min-height:230px}
body[data-experience=home] .share-copy .section-title{font-size:2.4rem}
.site-menu{position:relative;color:#111316;margin-left:auto;font:750 .85rem/1.4 var(--ui,system-ui)}
.site-menu>summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid #173a63;border-radius:999px;padding:8px 14px;background:#173a63;color:#fff}
.site-menu>summary::after{content:'☰'}
.site-menu-panel{position:absolute;top:calc(100% + 10px);right:0;width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 100px);overflow:auto;background:#fffdf7;border:1px solid #99a7b8;border-radius:16px;padding:12px;box-shadow:0 14px 40px #132c4530;z-index:150}
.site-menu-panel :is(a,button){display:block;width:100%;text-align:left;padding:12px;min-height:44px;border:0;border-radius:9px;background:transparent;color:#173a63;font:inherit;text-decoration:none;box-sizing:border-box;cursor:pointer}
.site-menu-panel :is(a,button):hover{background:#edf2f7}
body[data-experience] .nav,body[data-experience] .nav-wrap{z-index:160}
body[data-experience] .nav-inner{gap:10px}
body[data-experience=home] .nav-wrap .nav{display:flex;align-items:center;gap:12px}
body[data-experience=home] .nav-wrap .nav-links{flex:1}
body[data-experience] .language-switcher{flex-shrink:0}
body[data-experience] .adsense-slot{min-height:180px}
body[data-experience] .adsense-slot .adsbygoogle{min-height:120px}
body[data-experience] .adsense-slot.is-unfilled,body[data-experience] .adsense-slot.is-unavailable{display:none}
@media(max-width:820px){
 body[data-experience] .layout{display:flex;flex-direction:column;padding:20px 16px 40px;gap:0}
 body[data-experience] .toc{position:static;order:0;margin:16px 0;width:100%;max-height:none}
 body[data-experience] .article{width:100%}
 body[data-experience] .nav-links{display:none}
 .task-home-inner{grid-template-columns:1fr 190px;gap:18px}
 .task-home img{height:180px}
 .directory-links,.directory-results{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-experience=home] .unit-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 html:has(body[data-experience]),body[data-experience]{max-width:none;overflow-x:visible}
 body[data-experience] .mast-inner{padding:20px 16px}
 body[data-experience] .mast h1{font-size:1.7rem;line-height:1.18;margin:8px 0 10px;letter-spacing:-.025em}
 body[data-experience] .mast .dek{font-size:.94rem;line-height:1.5}
 body[data-experience] .mast .eyebrow{font-size:.65rem}
 body[data-experience] .meta span{font-size:.64rem}
 body[data-experience] .article>[data-quick-answer]{padding:16px;line-height:1.6}
 body[data-experience] .article-hero img{aspect-ratio:16/8;max-height:210px}
 body[data-experience] .best-picks{grid-template-columns:1fr 1fr}
 body[data-experience] .best-picks dd{font-size:.85rem;line-height:1.5}
 body[data-experience] .best-picks dt{font-size:.65rem}
 .task-home-inner{padding:22px 16px;display:block;position:relative}
 .task-home h1{font-size:2.1rem;max-width:270px;margin-right:65px}
 .task-home p{font-size:.94rem;padding-right:0;margin-bottom:16px}
 .task-home img{position:absolute;right:16px;top:22px;width:68px;height:68px;border-radius:14px}
 .task-grid{grid-template-columns:1fr 1fr;gap:8px}
 .task-grid a{min-height:48px;padding:10px;font-size:.82rem}
 .task-grid a:last-child{grid-column:1/-1}
 .guide-directory-inner{padding:24px 16px}
 .directory-links,.directory-results{grid-template-columns:1fr 1fr}
 .directory-links a,.directory-results a{padding:12px}
 .directory-links b,.directory-results b{font-size:.85rem}
 body[data-experience=home] .section-inner{padding:24px 16px}
 body[data-experience=home] .section-head{display:block}
 body[data-experience=home] .section-kicker{margin-top:10px}
 body[data-experience=home] .update-item{grid-template-columns:84px 1fr;gap:6px}
 body[data-experience=home] .update-item p{grid-column:auto;font-size:.8rem}
 body[data-experience=home] .update-item time{font-size:.72rem}
 body[data-experience=home] .portrait-grid,body[data-experience=home] .roster-gallery{grid-template-columns:1fr 1fr}
 body[data-experience=home] .portrait,body[data-experience=home] .roster-card{min-height:210px}
 body[data-experience] .quick-nav,body[data-experience] .fan-discord-float,body[data-experience] .feedback-launcher,body[data-experience] .back-to-top{display:none!important}
 body[data-experience] .nav .nav-inner{padding:8px 12px}
 body[data-experience=home] .nav{display:flex;gap:8px;padding:8px 12px}
 body[data-experience] .brand span:last-child,body[data-experience] .logo span:last-child{display:none}
 body[data-experience] .site-menu{margin-left:auto}
 body[data-experience] .language-switcher{margin-left:0}
 body[data-experience] .site-menu>summary{font-size:.78rem;padding:8px 12px}
 body[data-experience] .table-wrap{width:100%;overflow-x:auto}
 body[data-experience] [data-code-table]{min-width:0;display:block}
 body[data-experience] [data-code-table] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body[data-experience] [data-code-table] tbody{display:block}
 body[data-experience] [data-code-table] tr{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:16px;border-bottom:1px solid #b8c4cf}
 body[data-experience] [data-code-table] tr:last-child{border-bottom:0}
 body[data-experience] [data-code-table] td{display:block;padding:0;border:0;font-size:.9rem;white-space:normal;line-height:1.55}
 body[data-experience] [data-code-table] td:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-weight:850}
 body[data-experience] [data-code-table] td:not(:first-child)::before{content:attr(data-label) ': ';font-weight:750}
 body[data-experience] [data-code-table] .copy-code{margin:0}
 body[data-experience] .preferred-source-card{margin-block:24px}
}
