/* Accessible controls, readable spacing and responsive photo-led refinements. */
:root{--qa-accent:#94efff;--qa-muted:#c1d1df;--qa-panel:#102438}
[hidden]{display:none!important}
.studio-edition :focus-visible{outline:3px solid #fbbf24!important;outline-offset:3px!important}
.studio-edition :is(button,a.button,input:not([type=radio]):not([type=checkbox]):not([type=range]),select,summary,.nav-cta,.menu-toggle,.filter-btn,.secondary-link){min-height:44px}
.studio-edition :is(button,a.button,select){white-space:normal;line-height:1.35;overflow-wrap:anywhere}
.studio-edition :is(button,a.button){max-width:100%;gap:8px}
.studio-edition button:disabled{opacity:.65;cursor:not-allowed;filter:saturate(.45)}
.studio-edition .hero-start a,.studio-edition footer a,.studio-edition .brief-toc a{display:inline-flex;align-items:center;min-height:44px;line-height:1.35}
.studio-edition footer a{padding-block:4px}
.studio-edition footer .footer-links a{width:fit-content}
.studio-edition .nav nav a[aria-current=page]{color:#a5f3fc;text-decoration:underline;text-underline-offset:7px}
.studio-edition .nav nav a.active{background:transparent;color:#a5f3fc}
.studio-edition .brief-layout{align-items:start;grid-template-columns:minmax(245px,.53fr) minmax(0,1.47fr)}
.studio-edition .brief-sidebar{align-self:start;position:sticky;top:92px;max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;scroll-padding:10px;padding:18px}
.studio-edition .brief-sidebar img{max-height:170px}
.studio-edition .brief-sidebar dl{display:grid;grid-template-columns:auto 1fr;gap:7px 12px;margin:14px 0}
.studio-edition .brief-sidebar dd{margin:0}
.studio-edition .brief-toc{gap:3px;margin-top:14px}
.studio-edition .brief-toc a{padding:8px 0;border-bottom:1px solid #36516a;white-space:normal}
.studio-edition .brief-body{min-width:0}
.studio-edition .brief-body section{scroll-margin-top:100px}
.extra-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:end;width:100%;padding-top:12px;border-top:1px solid #36516a}
.extra-filters label,.faq-search-label{display:grid;gap:6px;font-size:14px;font-weight:650;color:#dce8f2}
.extra-filters select,.faq-search-label input{width:100%;max-width:100%;padding:10px 12px;border:1px solid #617d91;background:#102438;color:#f6f8fb;border-radius:8px;font:inherit}
.extra-filters .small-note{grid-column:1/-1;margin:0}
.faq-search-label{max-width:640px;margin:0 0 12px}
.policy-toc{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.policy-toc a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;color:#b8edfa;border:1px solid #52718a;border-radius:6px;line-height:1.35}
.policy-toc ~ details{scroll-margin-top:100px}
.floating-cart{display:none!important}
.studio-edition .cart-qty button{min-width:44px;min-height:44px}
.studio-edition .cart-item{gap:10px;align-items:center}
.studio-edition .search-type{color:#a5d9e6;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.studio-edition #site-search-results a{display:grid;gap:5px;padding:15px 18px}
.tool-explainer{border-top:1px solid #52718a;margin-top:20px;padding-top:15px}
.tool-explainer h3{font-size:16px;margin:10px 0 4px}
.tool-explainer p{font-size:14px;line-height:1.55;margin:0 0 10px}
.lab-diagram{border:1px solid #46647a;background:#0a1929;border-radius:10px;padding:8px;width:100%;margin:12px 0;display:block;color:#baf1ff}
.lab-diagram text{font-family:system-ui,sans-serif;font-size:12px;fill:#e1f5ff}
.lab-diagram .wire{stroke:#8ee8ff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.lab-diagram .part{stroke:#92e3f9;fill:#193650;stroke-width:1.5}
.lab-diagram .hint{fill:#b3c5d6;font-size:10px}
.study-check{padding:18px;border:1px solid #4b6d85;border-radius:10px;background:#102438;color:#eef6ff}
.study-check h2{margin:0 0 8px;font-size:clamp(23px,2.2vw,30px)}
.study-check p,.study-check li{line-height:1.6}
.study-check ol{padding-left:23px}
.study-check .challenge-options{display:grid;gap:8px;margin:12px 0}
.study-check label{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #496b81;border-radius:6px;min-height:44px;cursor:pointer}
.study-check input[type=radio]{flex:none;accent-color:#8ee8ff;width:20px;height:20px}
.study-check output{display:block;margin-top:12px;min-height:24px;color:#d1f3ff}
.studio-edition :is(.new-quiz,#foundation-quiz) label{min-height:44px;display:flex;align-items:center;gap:10px;cursor:pointer}
.studio-edition :is(.new-quiz,#foundation-quiz) input[type=radio]{width:20px;height:20px;flex:none;accent-color:#74e7fa}
.studio-edition :is(#lesson-status,.lesson-feedback,#quiz-feedback,.quiz-response){min-height:26px;margin:12px 0;overflow-wrap:anywhere;color:#a8eafa}
.studio-edition .page-content h2,.studio-edition .section-wrap h2{overflow-wrap:break-word}
@media(max-width:1120px){.studio-edition .nav nav.open{max-height:calc(100dvh - 84px);overscroll-behavior:contain}.studio-edition .nav nav a[aria-current=page]{background:#1a344a}.studio-edition .brief-layout{grid-template-columns:minmax(210px,.62fr) minmax(0,1.38fr)}}
@media(max-width:820px){.studio-edition .brief-layout{grid-template-columns:1fr}.studio-edition .brief-sidebar{position:static;max-height:none;overflow:visible}.studio-edition .brief-toc{overflow-x:auto;flex-wrap:nowrap;gap:10px;padding:6px 4px;scrollbar-width:thin}.studio-edition .brief-toc a{flex-shrink:0;white-space:nowrap;padding:8px 12px;border:1px solid #43647e;border-radius:6px}.studio-edition.page-index .new-hero.studio-hero .hero-text{order:-1;padding-top:32px;min-height:0}.studio-edition.page-index .new-hero.studio-hero .editorial-visual{order:0}.studio-edition.page-index .new-hero.studio-hero h1{font-size:clamp(34px,8vw,54px)}.studio-edition.page-index .hero-line{margin-top:12px}.studio-edition.page-index .hero-start{margin-top:10px}.studio-edition .floating-cart{display:inline-flex!important;position:fixed;bottom:16px;right:16px;z-index:20;min-height:48px;align-items:center;box-shadow:0 8px 32px #0008}.studio-edition.page-shop footer{padding-bottom:82px}.studio-edition .cart-shortcut{position:static}.studio-edition .tool-explainer{margin-top:15px}}
@media(max-width:600px){.extra-filters{grid-template-columns:1fr}.studio-edition.page-index .section-wrap{padding-top:32px;padding-bottom:32px}.studio-edition.page-index .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-edition.page-index .photo-tile{min-height:0}.studio-edition.page-index .photo-tile img{aspect-ratio:4/3}.studio-edition.page-index .photo-tile-content{padding:12px 10px}.studio-edition.page-index .photo-tile-content h3{font-size:19px;line-height:1.2}.studio-edition.page-index .photo-tile-content p{font-size:13px;line-height:1.45}.studio-edition.page-index .photo-tile-content .section-label{font-size:9px;letter-spacing:0}.studio-edition.page-index .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-edition.page-index .featured-grid .project-body{padding:12px 10px}.studio-edition.page-index .featured-grid .project-body h3{font-size:18px}.studio-edition.page-index .featured-grid .project-body p{font-size:13px;line-height:1.45}.studio-edition.page-index .featured-grid .project-meta{gap:4px;flex-wrap:wrap}.studio-edition.page-index .featured-grid .project-foot{min-height:44px;gap:4px}.studio-edition.page-index .featured-grid .project-foot span{font-size:12px}.studio-edition.page-index .featured-grid .project-no{font-size:9px}.studio-edition .cart-item{flex-wrap:wrap}.studio-edition .cart-qty{flex-shrink:0}}
@media(max-width:350px){.studio-edition.page-index .photo-grid,.studio-edition.page-index .featured-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.studio-edition input[type=range]{min-height:44px;cursor:pointer;accent-color:#77e8fb}
.studio-edition .experiment-control{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.studio-edition .experiment-control input{accent-color:#77e8fb}
.studio-edition .study-check a{color:#a5f3fc;text-underline-offset:3px}
@media(max-width:820px){.studio-edition.page-index .new-hero.studio-hero{flex-direction:column}.studio-edition.page-index .new-hero.studio-hero .editorial-visual{aspect-ratio:16/9}}
.project-study-time{display:block;font-size:12px;line-height:1.4;color:#bce9fa;margin:6px 0 4px}
.studio-edition .extra-filters #clear-project-filters{justify-self:start}
/* Prevent three-way flex shrink from collapsing the catalogue filters. */
.studio-edition .project-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.52fr);align-items:end;gap:18px 24px}
.studio-edition .project-controls .filter-stack,.studio-edition .project-controls .search-wrap{min-width:0;width:100%}
.studio-edition .project-controls .filter-caption{overflow-wrap:normal;word-break:normal}
.studio-edition .project-controls .filter-btn{min-width:fit-content;overflow-wrap:normal;word-break:normal;min-height:44px}
.studio-edition .extra-filters{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}
.studio-edition .extra-filters .small-note{grid-column:1/-1}
@media(max-width:1100px){.studio-edition .project-controls{grid-template-columns:1fr}.studio-edition .extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.studio-edition .project-controls{padding:14px;gap:14px}.studio-edition .extra-filters{grid-template-columns:1fr;gap:9px}.studio-edition .project-controls .filter-btn{font-size:13px;padding:8px 10px}.studio-edition .project-controls .filters{gap:6px}}

/* Release verification: text enlargement and focus. */
html{scroll-padding-top:var(--header-offset,100px)}
.studio-edition main:focus{outline:none}
.studio-edition .nav .brand{min-width:0;max-width:100%}
.studio-edition .nav .brand span{min-width:0;overflow-wrap:anywhere}
.studio-edition .nav nav a{white-space:normal;overflow-wrap:anywhere}
@media(min-width:1121px){.studio-edition .nav{flex-wrap:wrap}.studio-edition .nav nav{flex:1 1 auto;min-width:0;flex-wrap:wrap;justify-content:flex-end}.studio-edition .nav .nav-cta{white-space:normal;max-width:100%}}
.studio-edition .kit-anchor{scroll-margin-top:24px}
.studio-edition .draft-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.studio-edition #message-validation{color:#ffc7c7;margin:8px 0;overflow-wrap:anywhere}
