/* Labs inherits Starpolar's light editorial shell and purple DotGrid. */
body.page-editorial-light[data-page=labs]{background:#efebe6 radial-gradient(circle,rgb(191 58 8 / .23) 0 1.05px,transparent 1.25px) 0 0/38px 38px;color:#17151a}
body[data-page=labs]::after{display:none}
.labs-main{width:var(--content-rail);margin:auto;position:relative;z-index:1}
.labs-intro{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:64px;align-items:end;padding:160px 0 88px}
.labs-intro h1{font:400 clamp(2.8rem,5.5vw,4.6rem)/1.05 alcyone,sans-serif;letter-spacing:-.03em;margin:0;text-wrap:balance}
.labs-intro h1 span{color:#bf3a08}
.labs-hero-copy>p{font-size:1.05rem;line-height:1.75;max-width:48ch;color:#514b51;margin:28px 0}
.labs-primary{display:inline-flex;align-items:center;gap:20px;padding:15px 22px;background:#17151a;color:#f6f2eb;text-decoration:none;border-radius:999px;transition:background .2s ease}
.labs-primary:hover{background:#3a2418}
.labs-hero-aside{padding:0 0 4px}
.labs-hero-aside h2{font-size:1.15rem;font-weight:400;margin-bottom:16px}
.labs-hero-aside p{line-height:1.7;color:#514b51;margin-bottom:20px}
.labs-hero-aside a,.labs-studio a{color:#bf3a08;text-underline-offset:5px}
.labs-tools{border-top:1px solid #cdc5d1;padding:40px 0 64px;scroll-margin-top:100px}
.labs-section-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}
.labs-section-head h2{font-size:2rem;font-weight:400;letter-spacing:-.02em;margin:0 0 10px}
.labs-section-head p,.labs-result-count,.labs-tools-note{color:#514b51;font-size:.94rem;line-height:1.6}
.labs-result-count{white-space:nowrap;font-variant-numeric:tabular-nums}
.labs-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:28px}
.labs-toolbar[hidden],.labs-empty[hidden],.labs-tool[hidden]{display:none}
.labs-toolbar label{display:block;font-size:.85rem;margin-bottom:10px;color:#514b51}
.labs-search-field{display:flex;align-items:center;gap:12px;padding:0 15px;background:#f6f2eb;border:1px solid #bfb6c4;border-radius:12px}
.labs-search-field svg{flex-shrink:0;color:#bf3a08}
.labs-search-field:focus-within{outline:2px solid #bf3a08;outline-offset:3px}
.labs-search input{width:100%;min-width:0;height:50px;border:0;background:transparent;font:inherit;color:#17151a;caret-color:#bf3a08;outline:none}
.labs-search input::placeholder{color:#645b69}
.labs-filter select{width:100%;min-width:0;height:52px;border:1px solid #bfb6c4;border-radius:12px;padding:0 12px;background:#f6f2eb;color:#17151a;font:inherit}
.labs-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.labs-tool{display:flex;flex-direction:column;min-width:0;background:#f6f2eb;border:1px solid #cdc5d1;border-radius:16px;padding:28px}
.labs-tool-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:34px;color:#bf3a08}
.labs-tool-category{font-size:.85rem}
.labs-tool h3{font-size:1.55rem;font-weight:400;letter-spacing:-.02em;line-height:1.25;margin:0 0 16px;overflow-wrap:anywhere}
.labs-tool>p{color:#514b51;line-height:1.75;margin:0 0 30px;flex:1}
.labs-tool-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding-top:20px;border-top:1px solid #ded4cf}
.labs-status{font-size:.8rem;color:#bf3a08;background:#f1e4de;border-radius:999px;padding:6px 10px;white-space:nowrap}
.labs-coming-soon{font-size:.8rem;color:#645b69}
.labs-tools-note{margin-top:22px}
.labs-empty{padding:44px 24px;background:#ece2de;border-radius:16px;text-align:center}
.labs-empty h3{font-size:1.5rem;font-weight:400;margin:0 0 14px}
.labs-empty p{color:#514b51;margin-bottom:20px;line-height:1.65}
.labs-empty button{border:0;background:#17151a;color:#f6f2eb;border-radius:999px;padding:13px 20px;font:inherit;cursor:pointer}
.labs-studio{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:28px 0 100px;scroll-margin-top:100px}
.labs-studio h2{font-size:clamp(2rem,4vw,3.2rem);font-weight:400;line-height:1.15;letter-spacing:-.02em;margin:0}
.labs-studio p{color:#514b51;line-height:1.8;margin:0 0 24px}
.labs-cart-space{visibility:hidden;pointer-events:none}

body[data-page=labs] .labs-nav-active{color:#bf3a08!important}
body[data-page=labs] .site-vignette{background:linear-gradient(180deg,#efebe6 0%,rgb(239 235 230 / .85) 55%,transparent 100%)}
body[data-page=labs] [data-site-footer]{background:#efebe6}
body[data-page=labs] .site-footer--expanded .footer-nl-title{color:#17151a}
body[data-page=labs] .site-footer--expanded .footer-nl-sub,body[data-page=labs] .site-footer--expanded .footer-brand>p,body[data-page=labs] .site-footer--expanded .footer-copyright,body[data-page=labs] .site-footer--expanded .footer-copyright span{color:#514b51;opacity:1}
::selection{background:#eed0c3;color:#17151a}
:focus-visible{outline:2px solid #bf3a08;outline-offset:4px}

@media(max-width:700px){.labs-intro{grid-template-columns:1fr;gap:36px;padding:130px 0 52px}.labs-hero-aside{max-width:38ch}.labs-section-head{align-items:start}.labs-section-head h2{font-size:1.7rem}.labs-toolbar{grid-template-columns:1fr 1fr;gap:16px 12px}.labs-search{grid-column:1/-1}.labs-filter select{font-size:.88rem;padding-inline:9px}.labs-tool-grid{grid-template-columns:1fr}.labs-tool{padding:24px}.labs-tool-top{margin-bottom:28px}.labs-studio{grid-template-columns:1fr;gap:24px;padding:0 0 70px}.labs-cart-space{display:none!important}}
@media(prefers-reduced-motion:reduce){.labs-primary{transition:none}html{scroll-behavior:auto}}
/* A viewport-centered introduction, with space for future transparent artwork. */
.labs-intro{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:130px 0 80px;gap:0}
.labs-hero-copy{width:100%;text-align:center}
.labs-intro h1{font-size:clamp(2.8rem,5.8vw,4.8rem);line-height:1.07;text-wrap:initial}
.labs-hero-copy>p{max-width:53ch;margin:26px auto 34px}
.labs-hero-media:empty{display:none}
.labs-hero-search{display:block;width:min(100%,580px);max-width:100%;margin:0 auto;transition:width .38s cubic-bezier(.16,1,.3,1);text-align:left}
.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:min(100%,800px)}
.labs-hero-search .labs-search>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.labs-hero-search .labs-search-field{height:64px;border-radius:16px;padding:0 18px;gap:14px}
.labs-hero-search .labs-search input{height:60px;font-size:1rem}
.labs-search-submit{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:0;border-radius:50%;background:#17151a;color:#f6f2eb;cursor:pointer}
.labs-search-submit svg{color:inherit}
.labs-search-submit:hover{background:#3a2418}
.labs-filter-reveal{display:grid;grid-template-rows:1fr;transition:grid-template-rows .38s cubic-bezier(.16,1,.3,1),opacity .22s ease;opacity:1}
.labs-filter-inner{min-height:0;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 0 4px;transition:padding .38s cubic-bezier(.16,1,.3,1)}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-reveal{grid-template-rows:0fr;opacity:0}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-inner{padding-block:0}
.labs-browse{display:inline-flex;align-items:center;gap:12px;color:#bf3a08;margin-top:24px;padding:8px 0;text-decoration:none;font-size:.92rem}
.labs-browse:hover{text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){.labs-intro{min-height:100svh;padding:120px 0 60px}.labs-hero-copy>p{font-size:1rem;max-width:34ch}.labs-hero-search .labs-search-field{height:60px;padding-inline:12px;gap:10px}.labs-hero-search .labs-search input{font-size:.93rem;min-width:0}.labs-filter-inner{gap:12px}.labs-search-submit{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.labs-hero-search,.labs-filter-reveal,.labs-filter-inner{transition:none}}
.labs-hero-search .labs-search input:focus-visible{outline:none!important;box-shadow:none!important}
@media(max-width:700px){.labs-hero-search{width:90%}.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%}}
/* User-supplied transparent hero artwork. */
.labs-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:center}
.labs-hero-copy{text-align:left;min-width:0}
.labs-intro h1{font-size:clamp(2.8rem,4.5vw,4rem)}
.labs-hero-copy>p{margin:26px 0 34px;max-width:42ch}
.labs-hero-search{width:88%;margin:0;transition:width .38s cubic-bezier(.16,1,.3,1)}
.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%}
.labs-hero-media{display:flex;align-items:center;justify-content:center;min-width:0;pointer-events:none}
.labs-hero-media img{display:block;width:135%;max-width:none;height:auto;flex-shrink:0}
.labs-hero-search .labs-search input{font-size:.94rem}
@media(max-width:900px) and (min-width:701px){.labs-intro{gap:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.labs-hero-search{width:95%}.labs-search-field{padding-inline:10px!important;gap:8px!important}.labs-hero-search .labs-search input{font-size:.85rem}.labs-filter-inner{gap:10px}.labs-filter select{font-size:.85rem}}
@media(max-width:700px){.labs-intro{grid-template-columns:1fr;gap:28px;padding:120px 0 52px}.labs-hero-copy{text-align:center}.labs-intro h1{font-size:clamp(2.6rem,10.7vw,3.4rem)}.labs-hero-copy>p{margin:24px auto 28px;max-width:34ch}.labs-hero-search{margin:auto;width:90%}.labs-hero-media{width:100%;max-width:430px;margin:auto}.labs-hero-media img{width:115%}.labs-hero-search .labs-search input{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){.labs-hero-search{transition:none}}
/* Quiet search surface; keyboard focus is carried by the surface, not a double frame. */
.labs-hero-search .labs-search-field{border:0;background:#f6f2eb;box-shadow:0 8px 24px rgb(23 21 26 / .06);transition:background .2s ease,box-shadow .25s ease}
.labs-hero-search .labs-search-field:focus-within{outline:none;background:#faf7f2;box-shadow:0 10px 30px rgb(23 21 26 / .09)}
.labs-hero-search .labs-search input:focus{outline:none!important;box-shadow:none!important}
.labs-hero-search .labs-search-submit{background:#bf3a08;transition:background .2s ease,transform .2s cubic-bezier(.16,1,.3,1)}
.labs-hero-search .labs-search-submit:hover{background:#8f2a05;transform:translateX(2px)}
/* Native selects retain their keyboard behavior with a deliberately quiet surface. */
.labs-hero-search .labs-filter-inner{gap:12px;padding-top:16px}
.labs-hero-search .labs-filter{min-width:0;background:rgb(246 242 235 / .88);border-radius:14px;padding:13px 16px 9px;transition:background .2s ease}
.labs-hero-search .labs-filter:hover,.labs-hero-search .labs-filter:focus-within{background:#faf7f2}
.labs-hero-search .labs-filter label{font-size:.72rem;color:#645b69;margin:0 0 4px;line-height:1.4}
.labs-hero-search .labs-filter select{appearance:none;-webkit-appearance:none;height:32px;padding:0 25px 0 0;border:0;border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23bf3a08' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right center/16px no-repeat;font-size:.91rem;cursor:pointer;box-shadow:none;color:#17151a}
.labs-hero-search .labs-filter select:focus{outline:none!important;box-shadow:none!important}
.labs-hero-search .labs-filter:has(select:focus-visible) label{color:#bf3a08;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.labs-browse{display:inline-flex;align-items:center;gap:18px;margin-top:26px;padding:8px 8px 8px 18px;background:rgb(246 242 235 / .8);border-radius:999px;color:#3a2418;font-size:.86rem;text-decoration:none;transition:background .2s ease,color .2s ease}
.labs-browse svg{width:30px;height:30px;padding:7px;border-radius:50%;background:#f1e4de;color:#bf3a08;transition:transform .2s cubic-bezier(.16,1,.3,1)}
.labs-browse:hover{background:#faf7f2;color:#17151a;text-decoration:none}
.labs-browse:hover svg{transform:translateY(2px)}
@media(max-width:700px){.labs-hero-search .labs-filter{padding:12px 13px 8px}.labs-hero-search .labs-filter select{font-size:.85rem}.labs-browse{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.labs-hero-search .labs-search-field,.labs-hero-search .labs-search-submit,.labs-hero-search .labs-filter,.labs-browse,.labs-browse svg{transition:none}}
.labs-tool-open{color:#bf3a08;font-size:.85rem;text-decoration:underline;text-underline-offset:4px}

/* The native select covers the whole filter, including its label and padding. */
.labs-hero-search .labs-filter{position:relative;min-height:74px;padding:13px 16px 9px}
.labs-hero-search .labs-filter label{position:relative;z-index:1;pointer-events:none}
.labs-hero-search .labs-filter select{position:absolute;inset:0;width:100%;height:100%;padding:30px 38px 10px 16px;border-radius:14px;background-position:right 16px bottom 14px}
@media(max-width:700px){.labs-hero-search .labs-filter{padding:12px 13px 8px}.labs-hero-search .labs-filter select{padding:29px 34px 10px 13px;background-position:right 13px bottom 14px}}

/* Tool identities: one symbol per tool, shared stage and category labels. */
.labs-tool{position:relative;border:0;padding:30px;background:#f8f5ef;box-shadow:0 5px 20px rgb(23 21 26 / .035);transition:background-color .2s ease,box-shadow .2s ease}
.labs-tool-top{align-items:flex-start;margin-bottom:28px}
.labs-tool-mark{width:66px;height:66px;display:grid;place-items:center;background:#f7e3da;color:#bf3a08;border-radius:16px}
.labs-tool-mark svg{width:46px;height:46px}
.labs-tool .labs-status{display:inline-flex;align-items:center;gap:7px;background:#f8ebe6;color:#a83207;padding:7px 11px;font-size:.75rem}
.labs-tool .labs-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.labs-tool h3{font-size:1.55rem;margin-bottom:12px}
.labs-tool>p{font-size:.95rem;line-height:1.7;margin-bottom:22px;max-width:45ch}
.labs-tool-features{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:0 0 28px;font-size:.78rem;color:#514b53}
.labs-tool-features li{display:flex;align-items:center;gap:7px}
.labs-tool-features li::before{content:"";height:4px;width:4px;border-radius:50%;background:#b2765c}
.labs-tool-bottom{padding-top:20px;border-top:1px solid #e6dad5;gap:12px}
.labs-tool-category{font-size:.78rem;color:#645b69}
.labs-tool-open{display:inline-flex;align-items:center;gap:12px;font-size:.85rem;text-decoration:none;color:#a83207;min-height:44px}
.labs-tool-open svg{box-sizing:content-box;background:#f7e5dd;border-radius:50%;padding:10px;transition:background-color .2s ease}
.labs-tool-open::after{content:"";position:absolute;inset:0;border-radius:16px}
.labs-tool:has(.labs-tool-open:hover){background:#fcfaf6;box-shadow:0 10px 28px rgb(23 21 26 / .08)}
.labs-tool:has(.labs-tool-open:focus-visible){outline:2px solid #bf3a08;outline-offset:4px}
.labs-tool-open:focus-visible{outline:none}
.labs-tool:has(.labs-tool-open:hover) .labs-tool-open svg{background:#f2d3c5}
@media(max-width:700px){.labs-tool{padding:24px}.labs-tool-top{margin-bottom:24px}.labs-tool h3{font-size:1.4rem}.labs-tool-features{gap:10px 14px}}
@media(prefers-reduced-motion:reduce){.labs-tool,.labs-tool-open svg{transition:none}}

.labs-feedback{display:flex;align-items:center;justify-content:space-between;gap:40px;border-top:1px solid #cdc5d1;padding:36px 0 64px;margin-top:12px}.labs-feedback h2{font-size:clamp(1.6rem,3vw,2rem);font-weight:400;letter-spacing:-.02em;line-height:1.25;margin:0 0 12px}.labs-feedback p{font-size:.95rem;line-height:1.75;color:#514b53;max-width:54ch;margin:0}.labs-feedback>a{display:inline-flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;padding:15px 20px;background:#bf3a08;color:#fff;border-radius:999px;font-size:.9rem;text-decoration:none;min-height:48px;transition:background-color .2s ease}.labs-feedback>a:hover{background:#8f2a05}.labs-feedback>a:focus-visible{outline:2px solid #bf3a08;outline-offset:5px}@media(max-width:700px){.labs-feedback{align-items:flex-start;flex-direction:column;gap:24px;padding:28px 0 48px}}

.glass-navbar .brand .labs-brand-label{font-family:alcyone,sans-serif;font-size:.85rem;font-weight:400;line-height:19px;color:#bf3a08;border-left:1px solid #dec1b4;padding-left:10px;margin-left:10px;letter-spacing:0;text-shadow:none;text-transform:none}.labs-footer .footer-main{border-top:0;padding-top:0}.labs-footer{padding-top:38px}@media(max-width:700px){.glass-navbar .brand .labs-brand-label{font-size:.8rem;padding-left:8px;margin-left:8px}.labs-footer{padding-top:28px}}
.site-footer.labs-footer .footer-main{padding-top:32px}

.labs-footer .labs-footer-brand{display:inline-flex;align-items:center;gap:14px;max-width:100%;text-decoration:none}.labs-footer .labs-footer-brand img{width:150px;height:auto}.labs-footer-brand .labs-brand-label{color:#bf3a08;font-family:alcyone,sans-serif;font-size:1rem;line-height:24px;white-space:nowrap;border-left:1px solid #cbb4aa;padding-left:14px}
/* Labs uses the condensed brand lettering, aligned with the original wordmark. */
.glass-navbar .brand .labs-brand-label{font-family:monigue,sans-serif;font-size:25px;line-height:19px;letter-spacing:.015em;text-transform:uppercase;border:0;padding:0;margin-left:9px;color:#bf3a08;transform:translateY(1px)}
.labs-footer .labs-footer-brand{gap:12px}.labs-footer-brand .labs-brand-label{font-family:monigue,sans-serif;font-size:34px;line-height:26px;text-transform:uppercase;letter-spacing:.015em;border:0;padding:0;transform:translateY(1px)}
@media(max-width:700px){.glass-navbar .brand .labs-brand-label{font-size:24px;margin-left:8px;padding:0}}

/* Tool pages return directly to the gallery collection. */
.bg-heading>a.tool-back,.release-heading>a.tool-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#514b51;text-decoration:none;font-size:.85rem}.tool-back svg{flex:none}.tool-back:hover{text-decoration:underline;text-underline-offset:4px}.tool-back:focus-visible{outline:2px solid #bf3a08;outline-offset:4px;border-radius:4px}

/* One raster lockup aligns actual letterforms instead of font line boxes. */
body[data-page="labs"].page-editorial-light .glass-navbar .brand-lockup{content:normal;height:20px;width:auto;max-width:none;flex:none}
.glass-navbar .brand .labs-brand-label,.labs-footer-brand .labs-brand-label{display:none}
.labs-footer .labs-footer-brand{gap:0}
.labs-footer .labs-footer-brand img{width:211.0px;height:auto}
@media(max-width:700px){body[data-page="labs"].page-editorial-light .glass-navbar .brand-lockup{height:18px}}

/* Tool release history stays secondary to the task. */
.tool-version{position:relative;margin:16px 0 0;font-size:.8rem;color:#514b53;text-align:left}
.tool-version summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;width:fit-content;min-height:44px;font-variant-numeric:tabular-nums}
.tool-version summary::-webkit-details-marker{display:none}
.tool-version summary span{text-decoration:underline;text-underline-offset:4px;color:#bf3a08}
.tool-version summary:focus-visible{outline:2px solid #bf3a08;outline-offset:4px;border-radius:4px}
.tool-version>div{max-width:650px;padding:8px 0 16px;border-bottom:1px solid #cdc5d1}
.tool-version h3{font-size:.9rem;font-weight:400;margin:12px 0}
.tool-version time{margin-left:12px;color:#645b69;font-size:.78rem}
.tool-version ul{padding-left:20px;line-height:1.7;margin:8px 0}
.tool-card-version{font-size:.75rem;color:#645b69;font-variant-numeric:tabular-nums;margin-left:auto;align-self:center}
/* Responsive Labs shell and Help-inspired search. */
.labs-hero-search .labs-search-field{height:64px;padding:0 16px!important;gap:12px!important;border-radius:20px;background:#f7f3ef;box-shadow:0 12px 32px rgb(23 21 26 / .065)}
.labs-hero-search .labs-search-field:focus-within{background:#faf7f2;box-shadow:0 16px 38px rgb(23 21 26 / .085)}
.labs-hero-search .labs-search-field:has(input:focus-visible){outline:2px solid #bf3a08;outline-offset:4px}
.labs-hero-search .labs-search input{flex:1;width:0;min-width:0;height:60px;font-size:16px;background:transparent}
.labs-hero-search .labs-search input::placeholder{color:#645b69}
.labs-hero-search .labs-search-submit{width:44px;height:44px;min-width:44px;flex:none;border-radius:14px;background:#f3e5df;color:#bf3a08;padding:0;display:grid;place-items:center}
.labs-hero-search .labs-search-submit:hover{background:#f0d7cc;transform:none}
.labs-hero-search .labs-filter-inner{gap:20px;padding-top:20px}
.labs-hero-search .labs-filter{border-radius:0;background:transparent;min-height:70px;padding:8px 0 0;border-bottom:1px solid #cfb9b0}
.labs-hero-search .labs-filter:hover,.labs-hero-search .labs-filter:focus-within{background:transparent}
.labs-hero-search .labs-filter label{font-size:.75rem;line-height:1.4;margin:0;color:#645b69}
.labs-hero-search .labs-filter select{border-radius:0;background-position:right 2px bottom 16px;padding:28px 24px 12px 0;font-size:16px;height:100%}
.labs-hero-search .labs-filter:has(select:focus-visible){outline:2px solid #bf3a08;outline-offset:4px}
.labs-hero-search .labs-filter:has(select:focus-visible) label{text-decoration:none}
.labs-browse{background:transparent;border-radius:0;padding:0;min-height:44px;gap:10px;margin-top:24px;color:#bf3a08}
.labs-browse svg{background:transparent;border-radius:0;padding:5px;width:26px;height:26px}
.labs-browse:hover{background:transparent;color:#8f2a05;text-decoration:underline;text-underline-offset:4px}
.labs-tool,.labs-tool-grid>*{min-width:0}.labs-tool h3{overflow-wrap:anywhere}.labs-tool-bottom{align-items:center}
.labs-footer .footer-nav-group a,.labs-footer .footer-mobile-navigation a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5}
.labs-footer .footer-language a,.labs-footer .privacy-settings-link{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1024px){
 .labs-main{width:calc(100% - 64px);max-width:1180px}
 .labs-intro{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100svh;padding:130px 0 70px;gap:0;box-sizing:border-box}
 .labs-hero-copy{position:relative;z-index:1;width:100%;max-width:650px;text-align:center;padding:0}
 .labs-intro h1{font-size:clamp(3rem,6.5vw,4.3rem);line-height:1.06;text-wrap:balance}
 .labs-hero-copy>p{max-width:43ch;margin:24px auto 30px;font-size:1rem;line-height:1.7;text-wrap:balance}
 .labs-hero-search,.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%;max-width:600px;margin:0 auto;transition:none}
 .labs-hero-media{position:absolute;inset:80px 0 0;z-index:0;display:flex;align-items:center;justify-content:center;width:100%;height:calc(100% - 80px);max-width:none;overflow:hidden;margin:0;opacity:.16;pointer-events:none}
 .labs-hero-media img{width:100%;height:100%;max-width:850px;object-fit:contain;object-position:center;flex-shrink:1}
 .labs-tool{padding:26px}.labs-tool-grid{gap:20px}.labs-tool h3{font-size:1.35rem}.labs-tool>p{font-size:.92rem}
 .labs-feedback{gap:28px}.labs-feedback p{max-width:45ch}
}
@media(max-width:700px){
 .labs-main{width:calc(100% - 40px)}
 .labs-intro{padding:110px 0 48px;min-height:100svh}
 .labs-intro h1{font-size:clamp(2.55rem,10.4vw,3.5rem);line-height:1.09}
 .labs-hero-copy>p{font-size:.95rem;max-width:32ch;margin:22px auto 28px}
 .labs-hero-media{inset:76px 0 0;height:calc(100% - 76px);opacity:.13}
 .labs-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
 .labs-hero-search .labs-search-field{height:60px;padding:0 10px 0 14px!important;gap:10px!important;border-radius:18px}
 .labs-hero-search .labs-search input{height:56px;font-size:16px}
 .labs-hero-search .labs-search-field>svg{width:18px;height:18px;flex:none}
 .labs-hero-search .labs-filter-inner{gap:16px;padding-top:18px}
 .labs-hero-search .labs-filter{min-height:76px;padding:8px 0 0}
 .labs-hero-search .labs-filter select{font-size:16px;padding:30px 22px 14px 0;background-position:right 0 bottom 18px}
 .labs-browse{margin-top:22px;font-size:.86rem}
 .labs-tools{padding:32px 0 44px;scroll-margin-top:90px}
 .labs-section-head{align-items:flex-start;gap:16px;margin-bottom:24px}
 .labs-section-head h2{font-size:1.7rem}.labs-section-head p{font-size:.9rem}.labs-result-count{padding-top:8px;font-size:.8rem}
 .labs-tool-grid{grid-template-columns:1fr;gap:20px}.labs-tool{padding:24px}.labs-tool-top{margin-bottom:22px;gap:12px}
 .labs-tool-mark{width:56px;height:56px;border-radius:14px}.labs-tool-mark svg{width:38px;height:38px}
 .labs-tool h3{font-size:1.4rem}.labs-tool-features{font-size:.8rem;line-height:1.5;gap:10px 14px;margin-bottom:20px}
 .labs-tool-bottom{padding-top:16px;gap:10px}.labs-tool-category{font-size:.76rem}.labs-tool-open{font-size:.85rem;gap:8px}
 .labs-feedback{padding:28px 0 40px;gap:22px}.labs-feedback>a{min-height:48px}
 .labs-footer .footer-mobile-navigation ul{column-gap:18px}.labs-footer .footer-mobile-navigation a{min-height:48px;font-size:.85rem}
 .labs-footer .footer-copyright{line-height:1.7}.labs-footer .footer-bottom-row{gap:10px}
}

/* Final dark-state overrides follow all editorial component defaults. */
html[data-theme=dark] body[data-page=labs] .labs-catalog-search{background-color:#1b1921!important;border-color:#49424f!important;color:#f4f0f6!important;box-shadow:0 8px 24px rgb(0 0 0 / .24)}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search input{color:#f4f0f6!important}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search input::placeholder{color:#aaa2b2!important}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search>svg{stroke:#bdb0cb!important}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search button{background:#39251f!important;color:#f2b39a!important}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-catalog-search{background:#1b1921!important;box-shadow:0 12px 32px rgb(0 0 0 / .28)}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-catalog-search:focus-within{background:#211e28!important;box-shadow:0 16px 38px rgb(0 0 0 / .34)}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-catalog-search button{background:#e27650!important;color:#171116!important}
html[data-theme=dark] body[data-page=labs] .labs-stage-filter select{background-color:#1b1921!important;border-color:#49424f!important;color:#f4f0f6!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23bdb6c5' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important}
html[data-theme=dark] body[data-page=labs] .labs-category-pills button{background:#211e27!important;border-color:#39343f!important;color:#c5bdcd!important}
html[data-theme=dark] body[data-page=labs] .labs-category-pills button.is-active{background:#e27650!important;border-color:#e27650!important;color:#171116!important}
@media(max-width:700px){
 html[data-theme=dark] body[data-page=labs].nav-menu-open .glass-navbar #nav-links .glass-item{color:#f4f0f6!important}
 html[data-theme=dark] body[data-page=labs].nav-menu-open .glass-navbar #nav-links .nav-item-secondary{color:#bdb6c5!important}
 html[data-theme=dark] body[data-page=labs].nav-menu-open .glass-navbar #nav-links .nav-cta-pill{color:#f0a181!important}
}
@media(max-width:360px){.labs-hero-search .labs-filter-inner{grid-template-columns:1fr;gap:8px}.labs-intro h1{font-size:2.45rem}.labs-tool{padding:20px}.labs-tool-bottom{flex-direction:column;align-items:flex-start}.labs-tool-open{align-self:flex-end}}
@media(prefers-reduced-motion:reduce){.labs-hero-search .labs-search-field{transition:none}}

/* Dark theme is scoped to Labs. It keeps the editorial layout and DotGrid. */
.glass-navbar #nav-links .labs-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;padding:0!important;border:0!important;border-radius:50%;background:transparent;color:#17151a;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.glass-navbar #nav-links .labs-theme-toggle:hover,.glass-navbar #nav-links .labs-theme-toggle:focus-visible{background:rgb(23 21 26 / .08);color:#17151a}
.labs-theme-icon{width:20px;height:20px;flex:none}
.labs-theme-icon .labs-theme-sun,.labs-theme-icon .labs-theme-rays{display:none}
.labs-theme-toggle[aria-pressed=true] .labs-theme-moon{display:none}
.labs-theme-toggle[aria-pressed=true] .labs-theme-sun,.labs-theme-toggle[aria-pressed=true] .labs-theme-rays{display:block}
.labs-theme-toggle .nav-cart__label{display:none}

html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] body.page-editorial-light[data-page=labs]{background:#111016 radial-gradient(circle,rgb(201 166 224 / .16) 0 1px,transparent 1.2px) 0 0/38px 38px!important;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .site-vignette{background:linear-gradient(180deg,#111016 0%,rgb(17 16 22 / .88) 58%,transparent 100%)}
html[data-theme=dark] body[data-page=labs] [data-site-footer]{background:#111016}
html[data-theme=dark] body[data-page=labs] :is(.labs-hero-copy>p,.labs-hero-aside p,.labs-section-head p,.labs-result-count,.labs-tools-note,.labs-tool>p,.labs-tool-features,.labs-studio p,.labs-empty p,.contribute-heading>p,.contribute-intro p,.contribute-step-copy,.contribute-help,.contribute-credit p,.contribute-policy p,.release-heading>p,.release-onboarding p,.release-import>p,.release-style>p,.release-style-guide p,.release-help,.release-storage-note,.bg-sub,.bg-help,.bg-privacy,.bg-about p){color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] :is(.labs-hero-aside h2,.labs-section-head h2,.labs-tool h3,.labs-empty h3,.labs-studio h2,.contribute-heading h1,.contribute-policy h1,.contribute-policy h2,.contribute-form-wrap [data-step]>h2,.release-heading h1,.release-main h2,.release-main h3,.bg-heading h1,.bg-about h2){color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] :is(a,.labs-studio a,.contribute-heading a,.contribute-policy a,.release-heading>a,.release-help a){color:#e99a79}
html[data-theme=dark] body[data-page=labs] .labs-intro h1 span{color:#e99a79}
html[data-theme=dark] body[data-page=labs] .labs-tools{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .labs-search-field,html[data-theme=dark] body[data-page=labs] .labs-filter select,html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-search-field,html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-filter{background:#1b1921;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-search input,html[data-theme=dark] body[data-page=labs] .labs-filter select{color:#f4f0f6;caret-color:#ee9d7c}
html[data-theme=dark] body[data-page=labs] .labs-search input::placeholder{color:#aaa2b2}
html[data-theme=dark] body[data-page=labs] .labs-search-field,html[data-theme=dark] body[data-page=labs] .labs-filter select{border-color:#49424f}
html[data-theme=dark] body[data-page=labs] .labs-category-pills button{border-color:#39343f;background:#211e27;color:#c5bdcd}
html[data-theme=dark] body[data-page=labs] .labs-category-pills button:hover{border-color:#75647f;background:#292530}
html[data-theme=dark] body[data-page=labs] .labs-category-pills button.is-active{border-color:#e27650;background:#e27650;color:#171116}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search,html[data-theme=dark] body[data-page=labs] .labs-stage-filter select{border-color:#49424f;background-color:#1b1921;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search>svg{stroke:#bdb0cb}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search input{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search input::placeholder{color:#aaa2b2}
html[data-theme=dark] body[data-page=labs] .labs-catalog-search button{background:#39251f;color:#f2b39a}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-search-field{background:#1b1921;box-shadow:0 12px 32px rgb(0 0 0 / .28)}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-search-field:focus-within{background:#211e28;box-shadow:0 16px 38px rgb(0 0 0 / .34)}
html[data-theme=dark] body[data-page=labs] .labs-hero-search .labs-filter label{color:#aaa2b2}
html[data-theme=dark] body[data-page=labs] .labs-tool{background:#1a1820;border-color:#302b36;box-shadow:0 8px 26px rgb(0 0 0 / .18)}
html[data-theme=dark] body[data-page=labs] .labs-tool:hover{background:#201d27;box-shadow:0 14px 34px rgb(0 0 0 / .28)}
html[data-theme=dark] body[data-page=labs] .labs-tool--releases{--tool-icon-bg:#39251f;--tool-icon-color:#f19a76;--tool-dot:#e99a79}
html[data-theme=dark] body[data-page=labs] .labs-tool--color{--tool-icon-bg:#30243c;--tool-icon-color:#c9afe6;--tool-dot:#c9afe6}
html[data-theme=dark] body[data-page=labs] .labs-tool--background{--tool-icon-bg:#1e332f;--tool-icon-color:#8ac4ae;--tool-dot:#8ac4ae}
html[data-theme=dark] body[data-page=labs] .labs-tool .labs-status--beta{background:#39251f;color:#f2b39a}
html[data-theme=dark] body[data-page=labs] .labs-tool .labs-status--experimental{background:#38301e;color:#e8cb8e}
html[data-theme=dark] body[data-page=labs] .labs-tool-bottom{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .labs-tool-category{background:#292630;color:#c5bdcd}
html[data-theme=dark] body[data-page=labs] .labs-tool-open,html[data-theme=dark] body[data-page=labs] .labs-browse{color:#e99a79}
html[data-theme=dark] body[data-page=labs] .labs-tool-open svg{color:#f3e8f7}
html[data-theme=dark] body[data-page=labs] .labs-principles{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .labs-principle{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .labs-principle strong{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-principle span{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .labs-idea-banner{background:#1a1820;border-color:#39343f;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-idea-contours{color:#8a6f9c;opacity:.42}
html[data-theme=dark] body[data-page=labs] .labs-idea-copy p{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .labs-idea-primary{background:#e27650;color:#171116}
html[data-theme=dark] body[data-page=labs] .labs-idea-primary:hover{background:#f08a65}
html[data-theme=dark] body[data-page=labs] .labs-idea-secondary{color:#e99a79}
html[data-theme=dark] body[data-page=labs] .labs-empty{background:#1b1921}
html[data-theme=dark] body[data-page=labs] .labs-empty button{background:#e27650;color:#171116}

/* Contribution and policy pages. */
html[data-theme=dark] body[data-page=labs] .contribute-main{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .contribute-back,html[data-theme=dark] body[data-page=labs] .contribute-process,html[data-theme=dark] body[data-page=labs] .contribute-back-step,html[data-theme=dark] body[data-page=labs] .contribute-new{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .contribute-intro li,html[data-theme=dark] body[data-page=labs] .contribute-progress,html[data-theme=dark] body[data-page=labs] .contribute-credit,html[data-theme=dark] body[data-page=labs] .contribute-process,html[data-theme=dark] body[data-page=labs] #contribute-review div{border-color:#39343f!important}
html[data-theme=dark] body[data-page=labs] .contribute-progress button{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .contribute-progress button[aria-current=step]{color:#f0a181;border-color:#e27650}
html[data-theme=dark] body[data-page=labs] .contribute-form-wrap input:not([type=radio]):not([type=checkbox]),html[data-theme=dark] body[data-page=labs] .contribute-form-wrap textarea,html[data-theme=dark] body[data-page=labs] .contribute-options label{background:#1b1921;border-color:#49424f;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .contribute-options label:has(:checked){background:#39251f;border-color:#88553f;color:#f2b39a}
html[data-theme=dark] body[data-page=labs] .contribute-form-wrap label,html[data-theme=dark] body[data-page=labs] .contribute-form-wrap legend{color:#d7d0dc}
html[data-theme=dark] body[data-page=labs] .contribute-submit{background:#e27650;color:#171116}
html[data-theme=dark] body[data-page=labs] .contribute-submit:hover{background:#f08a65}
html[data-theme=dark] body[data-page=labs] #contribute-review dt{color:#aaa2b2}

/* Release notes workspace. */
html[data-theme=dark] body[data-page=labs] .release-main{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .release-main label,html[data-theme=dark] body[data-page=labs] .release-local-label,html[data-theme=dark] body[data-page=labs] .release-history-head>span,html[data-theme=dark] body[data-page=labs] .release-history-item>p,html[data-theme=dark] body[data-page=labs] .release-history-empty,html[data-theme=dark] body[data-page=labs] .release-language-heading span,html[data-theme=dark] body[data-page=labs] .release-change-meta,html[data-theme=dark] body[data-page=labs] .release-preview-meta,html[data-theme=dark] body[data-page=labs] .release-style-guide p,html[data-theme=dark] body[data-page=labs] #style-suggestion{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .release-main button,html[data-theme=dark] body[data-page=labs] .release-file-button{border-color:#49424f;color:#eee8f1}
html[data-theme=dark] body[data-page=labs] .release-main button:hover,html[data-theme=dark] body[data-page=labs] .release-file-button:hover{background:#292630}
html[data-theme=dark] body[data-page=labs] .release-main .release-primary,html[data-theme=dark] body[data-page=labs] .release-main button.release-primary{background:#e27650;border-color:#e27650;color:#171116}
html[data-theme=dark] body[data-page=labs] .release-main input:not([type=file]),html[data-theme=dark] body[data-page=labs] .release-main textarea,html[data-theme=dark] body[data-page=labs] .release-main select{background:#1b1921;border-color:#49424f;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .release-project-bar,html[data-theme=dark] body[data-page=labs] .release-workspace-nav,html[data-theme=dark] body[data-page=labs] .release-history-item,html[data-theme=dark] body[data-page=labs] .release-import,html[data-theme=dark] body[data-page=labs] .release-changes-section,html[data-theme=dark] body[data-page=labs] .release-change-item,html[data-theme=dark] body[data-page=labs] .release-style-guide,html[data-theme=dark] body[data-page=labs] .release-storage-note{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .release-project-menu>div,html[data-theme=dark] body[data-page=labs] .release-preview{background:#1b1921;color:#f4f0f6;box-shadow:0 12px 40px rgb(0 0 0 / .35)}
html[data-theme=dark] body[data-page=labs] .release-history-item pre{background:#25222b;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .release-tabs button[aria-pressed=true],html[data-theme=dark] body[data-page=labs] #release-languages button[aria-pressed=true]{background:#39251f;border-color:#88553f;color:#f2b39a}

/* Background remover surfaces. Preserve image transparency checker and preview modes. */
html[data-theme=dark] body[data-page=labs] .bg-main{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .bg-main label,html[data-theme=dark] body[data-page=labs] .bg-controls output{color:#d7d0dc}
html[data-theme=dark] body[data-page=labs] .bg-upload{background:#1b1921;border-color:#49424f;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .bg-controls,html[data-theme=dark] body[data-page=labs] .bg-controls details,html[data-theme=dark] body[data-page=labs] .bg-about{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .bg-viewbar select,html[data-theme=dark] body[data-page=labs] .bg-controls input:not([type=checkbox]){color-scheme:dark}
html[data-theme=dark] body[data-page=labs] .bg-modes button[aria-pressed=true]{background:#39251f;border-color:#88553f;color:#f2b39a}
html[data-theme=dark] body[data-page=labs] .bg-controls #bg-auto{background:#e27650;border-color:#e27650;color:#171116}

/* Footer and header retain their geometry in both themes. */
html[data-theme=dark] body[data-page=labs] .site-footer{background:#111016;color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .labs-footer .footer-main{border-color:#39343f}
html[data-theme=dark] body[data-page=labs] .site-footer--expanded .footer-nav-group h2,html[data-theme=dark] body[data-page=labs] .site-footer--expanded .footer-brand>p,html[data-theme=dark] body[data-page=labs] .site-footer--expanded .footer-nl-sub,html[data-theme=dark] body[data-page=labs] .site-footer--expanded .footer-copyright,html[data-theme=dark] body[data-page=labs] .site-footer--expanded .footer-copyright span,html[data-theme=dark] body[data-page=labs] .labs-footer a{color:#bdb6c5}
html[data-theme=dark] body[data-page=labs] .labs-footer .labs-footer-brand .labs-brand-label{color:#f0a181}
html[data-theme=dark] body[data-page=labs] .labs-footer a:hover{color:#fff}
html[data-theme=dark] body[data-page=labs] .footer-socials a{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .footer-language{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .privacy-settings-link{color:#e99a79}
html[data-theme=dark] body[data-page=labs] .glass-navbar{background:rgb(17 16 22 / .78);border-color:rgb(255 255 255 / .11);box-shadow:0 10px 36px rgb(0 0 0 / .25);color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .glass-item:not(.nav-cta-pill){color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .labs-theme-toggle{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .labs-theme-toggle:hover,html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .labs-theme-toggle:focus-visible{background:rgb(255 255 255 / .1);color:#fff}
html[data-theme=dark] body[data-page=labs] .glass-navbar .nav-toggle{color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .glass-navbar .nav-cta-pill{color:#f4f0f6;border-color:rgb(244 240 246 / .65)}
html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .nav-cta-pill{background:transparent!important;color:#f4f0f6!important;border-color:rgb(244 240 246 / .58)!important}
html[data-theme=dark] body[data-page=labs] .labs-nav-active{color:#f0a181!important}
html[data-theme=dark] body[data-page=labs] .labs-theme-toggle .labs-theme-icon{color:inherit}
html[data-theme=dark] body[data-page=labs] .glass-navbar .brand .labs-brand-label{display:inline-block;margin-left:8px;color:#f0a181;font-family:monigue,sans-serif;font-size:1rem;line-height:1;letter-spacing:.015em;text-transform:uppercase}
html[data-theme=dark] body[data-page=labs] .labs-footer-brand .labs-brand-label{display:inline-block;margin-left:10px;color:#f0a181}
html[data-theme=dark] body[data-page=labs] :focus-visible{outline-color:#f0a181}
html[data-theme=dark] body[data-page=labs] ::selection{background:#583929;color:#fff}
html[data-theme=dark] body[data-page=labs] .privacy-banner,html[data-theme=dark] body[data-page=labs] .privacy-dialog{background:#1b1921;color:#f4f0f6;border-color:#49424f}
html[data-theme=dark] body[data-page=labs] .privacy-banner :is(h2,p),html[data-theme=dark] body[data-page=labs] .privacy-dialog :is(h2,h3,p){color:#f4f0f6}
html[data-theme=dark] body[data-page=labs] .privacy-category{border-color:#39343f;background:#211e27}
html[data-theme=dark] body[data-page=labs] .privacy-dialog a{color:#e99a79}
html[data-theme=dark] body[data-page=labs] .privacy-banner button,html[data-theme=dark] body[data-page=labs] .privacy-dialog button{color:#f4f0f6;border-color:#49424f;background:#292630}
html[data-theme=dark] body[data-page=labs] .privacy-banner button[data-consent-action=accept],html[data-theme=dark] body[data-page=labs] .privacy-dialog button[data-consent-action=save]{background:#e27650;color:#171116;border-color:#e27650}
@media(max-width:700px){
 .glass-navbar #nav-links .labs-theme-toggle{width:min(100%,520px);max-width:520px;height:auto;min-height:auto;margin:40px auto 0;padding:22px 0 0!important;justify-content:flex-start;gap:10px!important;border:0!important;border-top:1px solid rgb(255 255 255 / .14)!important;border-radius:0;background:transparent!important;color:rgb(246 241 251 / .72);font-size:.8rem;font-weight:600;letter-spacing:.14em}
 .glass-navbar #nav-links .labs-theme-toggle .nav-cart__label{display:inline}.labs-theme-icon{width:18px;height:18px}
 html[data-theme=dark] body[data-page=labs].nav-menu-open .glass-navbar #nav-links{background:radial-gradient(ellipse at 78% 38%,rgb(126 92 164 / .16),transparent 42%),#111016!important;-webkit-backdrop-filter:blur(16px) saturate(80%);backdrop-filter:blur(16px) saturate(80%)}
 html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .glass-item:not(.nav-cta-pill){color:#f4f0f6}
 html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .nav-item-secondary{color:#bdb6c5}
 html[data-theme=dark] body[data-page=labs] .glass-navbar #nav-links .nav-cta-pill{color:#f0a181!important}
}
@media(max-width:1024px){.labs-hero-media{-webkit-mask-image:radial-gradient(ellipse at center,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse at center,#000 25%,transparent 78%);opacity:.14}}
@media(max-width:700px){.labs-hero-media{opacity:.11;-webkit-mask-image:radial-gradient(ellipse at center,#000 15%,transparent 76%);mask-image:radial-gradient(ellipse at center,#000 15%,transparent 76%)}}

/* Tool cards: editorial product grid with status and release metadata. */
.labs-tool-grid{align-items:stretch;gap:22px}
.labs-tool{padding:30px;background:#f8f5ef;border:0;border-radius:18px;box-shadow:0 7px 24px rgb(35 29 43 / .045);transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}
.labs-tool-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px;color:inherit}
.labs-tool-meta{display:flex;align-items:center;gap:18px;min-width:0}
.labs-tool-mark{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:16px;background:var(--tool-icon-bg);color:var(--tool-icon-color)}
.labs-tool-mark svg{width:36px;height:36px;overflow:visible}
.labs-tool--releases{--tool-icon-bg:#f8e7e1;--tool-icon-color:#bf3a08;--tool-dot:#bb6d4c}
.labs-tool--color{--tool-icon-bg:#ebe4f3;--tool-icon-color:#70528d;--tool-dot:#8b70a5}
.labs-tool--background{--tool-icon-bg:#e1eee9;--tool-icon-color:#397563;--tool-dot:#518a78}
.labs-tool .labs-status{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;font-size:.76rem;line-height:1.2;font-weight:500}
.labs-tool .labs-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.labs-tool .labs-status--beta{background:#f8ebe6;color:#a83207}
.labs-tool .labs-status--experimental{background:#f5ead8;color:#805818}
.labs-tool .tool-card-version{margin:0 0 0 auto;align-self:center;font-size:.76rem;color:#716b76;white-space:nowrap}
.labs-tool h3{margin:0 0 12px;font-size:1.48rem;line-height:1.25;letter-spacing:-.025em}
.labs-tool>p{max-width:50ch;margin:0 0 24px;color:#514b53;font-size:.94rem;line-height:1.7;flex:1}
.labs-tool-features{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 26px;color:#514b53;font-size:.78rem;line-height:1.5}
.labs-tool-features li{align-items:center;gap:7px}
.labs-tool-features li::before{width:4px;height:4px;background:var(--tool-dot)}
.labs-tool-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;border-top:1px solid #e6dad5}
.labs-tool-category{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#efebe7;color:#5f5962;font-size:.76rem;line-height:1.3}
.labs-tool-open{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;color:#a83207;font-size:.85rem;text-decoration:none}
.labs-tool-open svg{box-sizing:content-box;width:18px;height:18px;padding:10px;border-radius:50%;background:#f7e5dd;transition:background-color .2s ease,transform .2s ease}
.labs-tool-open::after{content:"";position:absolute;inset:0;border-radius:18px}
.labs-tool:has(.labs-tool-open:hover){background:#fcfaf6;box-shadow:0 12px 30px rgb(35 29 43 / .09);transform:translateY(-2px)}
.labs-tool:has(.labs-tool-open:hover) .labs-tool-open svg{background:#f2d3c5;transform:translateX(2px)}
.labs-tool:has(.labs-tool-open:focus-visible){outline:2px solid #bf3a08;outline-offset:4px}
.labs-tool-open:focus-visible{outline:none}

/* Contribution area: factual principles above one clear invitation. */
.labs-community{border-top:1px solid #cdc5d1;padding:0 0 72px;margin-top:4px}
.labs-principles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:28px 4px 30px;border-bottom:1px solid #d8d0d6}
.labs-principle{display:flex;align-items:flex-start;gap:12px;min-width:0}
.labs-principle>svg{width:21px;height:21px;flex:0 0 21px;margin-top:1px;fill:none;stroke:#bf3a08;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.labs-principle strong,.labs-principle span{display:block}
.labs-principle strong{margin:0 0 4px;color:#211e25;font-size:.83rem;font-weight:500;line-height:1.35}
.labs-principle span{color:#615a64;font-size:.75rem;line-height:1.5}
.labs-idea-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:36px;min-height:154px;overflow:hidden;margin-top:28px;padding:30px 34px;border:1px solid #d8d0da;border-radius:18px;background:#f7f3ed;box-shadow:0 8px 24px rgb(35 29 43 / .035)}
.labs-idea-copy{position:relative;z-index:1;max-width:58ch}
.labs-idea-copy h2{margin:0 0 8px;font-size:clamp(1.35rem,2.5vw,1.75rem);font-weight:400;letter-spacing:-.025em;line-height:1.25}
.labs-idea-copy p{margin:0;color:#514b53;font-size:.9rem;line-height:1.65}
.labs-idea-contours{position:absolute;z-index:-1;right:115px;top:-26px;width:min(58%,620px);height:calc(100% + 52px);color:#c27a5b;opacity:.13;pointer-events:none}
.labs-idea-contours path{stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
.labs-idea-actions{position:relative;z-index:1;display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:7px}
.labs-idea-primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:0 18px;border-radius:999px;background:#bf3a08;color:#fff;text-decoration:none;font-size:.85rem;transition:background-color .2s ease,transform .2s ease}
.labs-idea-primary:hover{background:#8f2a05;transform:translateY(-1px)}
.labs-idea-primary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.labs-idea-secondary{display:inline-flex;align-items:center;min-height:36px;padding:0 4px;color:#a83207;font-size:.82rem;text-underline-offset:4px}
.labs-idea-primary:focus-visible,.labs-idea-secondary:focus-visible{outline:2px solid #bf3a08;outline-offset:4px}
@media(max-width:900px){.labs-principles{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}.labs-idea-banner{gap:24px;padding:28px}.labs-idea-contours{right:70px;width:65%}}
@media(max-width:700px){.labs-tool-grid{grid-template-columns:1fr;gap:18px}.labs-tool{padding:25px}.labs-tool-top{margin-bottom:24px}.labs-tool-mark{flex-basis:58px;width:58px;height:58px}.labs-tool-mark svg{width:34px;height:34px}.labs-tool-meta{gap:14px}.labs-tool h3{font-size:1.38rem}.labs-tool>p{font-size:.91rem;margin-bottom:20px}.labs-tool-features{margin-bottom:22px}.labs-tool-bottom{padding-top:14px}.labs-community{padding-bottom:48px}.labs-principles{padding:24px 0;gap:20px 16px}.labs-principle{gap:10px}.labs-principle span{font-size:.73rem}.labs-idea-banner{align-items:flex-start;flex-direction:column;gap:22px;margin-top:22px;padding:25px 22px}.labs-idea-copy{max-width:42ch}.labs-idea-actions{align-items:flex-start;gap:7px}.labs-idea-contours{right:-42px;top:0;width:80%;height:100%;opacity:.1}}
@media(max-width:420px){.labs-principles{grid-template-columns:1fr;gap:16px}.labs-principle span{font-size:.76rem}.labs-tool{padding:22px}.labs-tool-bottom{flex-direction:row;align-items:center}.labs-tool-category{max-width:58%;font-size:.72rem}.labs-tool-open{font-size:.8rem;gap:7px}.labs-tool-open svg{padding:8px}.labs-idea-primary{min-height:46px}}
@media(prefers-reduced-motion:reduce){.labs-tool,.labs-tool-open svg,.labs-idea-primary{transition:none}.labs-tool:has(.labs-tool-open:hover),.labs-idea-primary:hover{transform:none}}

/* Catalog controls sit beside the tools they filter. */
.labs-catalog-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 26px}
.labs-category-pills{display:flex;align-items:center;gap:7px;min-width:0}
.labs-category-pills button{min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:999px;background:rgb(248 245 239 / .84);color:#514b53;font:inherit;font-size:.8rem;white-space:nowrap;cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.labs-category-pills button:hover{border-color:#d9cdc8;background:#faf8f4}
.labs-category-pills button.is-active{background:#211e25;color:#fff}
.labs-category-pills button:focus-visible{outline:2px solid #bf3a08;outline-offset:3px}
.labs-catalog-search{display:flex;align-items:center;gap:10px;width:min(100%,270px);height:44px;margin-left:auto;padding:0 6px 0 13px;border:1px solid #e1d9d6;border-radius:999px;background:#f8f5ef;color:#726a77}
.labs-catalog-search:focus-within{border-color:#cc896d;box-shadow:0 0 0 3px rgb(191 58 8 / .12)}
.labs-catalog-search>svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#6d6276;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.labs-catalog-search input{width:100%;min-width:0;height:40px;border:0;outline:0;background:transparent;color:#211e25;font:inherit;font-size:.82rem}
.labs-catalog-search input::placeholder{color:#726a77;opacity:1}
.labs-catalog-search input::-webkit-search-cancel-button{cursor:pointer}
.labs-catalog-search button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:0;border-radius:50%;background:#f6e9e4;color:#bf3a08;cursor:pointer}
.labs-catalog-search button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.labs-catalog-search button:focus-visible,.labs-stage-filter select:focus-visible{outline:2px solid #bf3a08;outline-offset:3px}
.labs-stage-filter{position:relative}
.labs-stage-filter select{height:40px;max-width:150px;padding:0 30px 0 13px;border:1px solid #e1d9d6;border-radius:999px;background:#f8f5ef;color:#514b53;font:inherit;font-size:.8rem;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d6276' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.labs-catalog-toolbar{gap:10px}.labs-category-pills{order:0;flex:1 1 100%;overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}.labs-catalog-search{order:1;margin-left:0;flex:1 1 220px}.labs-stage-filter{order:2}.labs-stage-filter select{max-width:none}}
@media(max-width:560px){.labs-tools{padding-top:30px}.labs-section-head{margin-bottom:20px}.labs-section-head h2{font-size:1.65rem}.labs-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.labs-category-pills{grid-column:1/-1;gap:5px}.labs-category-pills button{min-height:38px;padding:0 12px;font-size:.76rem}.labs-catalog-search{width:100%;min-width:0}.labs-stage-filter select{max-width:140px;height:44px;font-size:.76rem}.labs-section-head p{max-width:32ch}}
@media(prefers-reduced-motion:reduce){.labs-category-pills button,.labs-catalog-search{transition:none}}
.labs-principles{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:26px 4px 28px}
.labs-principle{display:block;padding:0 22px;border-left:1px solid #d8d0d6}
.labs-principle:first-child{padding-left:0;border-left:0}
.labs-principle strong{font-size:.87rem;margin-bottom:5px}
.labs-principle span{font-size:.78rem}
@media(max-width:900px){.labs-principles{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.labs-principle{padding-inline:16px}}
@media(max-width:700px){.labs-principles{grid-template-columns:1fr;gap:0;padding:18px 0}.labs-principle,.labs-principle:first-child{padding:13px 0;border-left:0;border-top:1px solid #d8d0d6}.labs-principle:first-child{border-top:0}.labs-principle strong{margin-bottom:3px}}

/* Give the Labs headline the compact, confident voice of the Starpolar wordmark. */
.labs-intro h1{font-family:monigue,alcyone,sans-serif;font-weight:400;letter-spacing:.025em;line-height:1.08}
.labs-intro h1 span{letter-spacing:.025em}
@media(max-width:700px){.labs-intro h1{letter-spacing:.018em;line-height:1.1}.labs-intro h1 span{letter-spacing:.018em}}

/* Keep discovery in the hero: search widens on focus, filters unfold below. */
.labs-intro h1{font-family:alcyone,sans-serif;font-weight:400;letter-spacing:-.028em;line-height:1.02;text-transform:none}
.labs-intro h1 span{letter-spacing:inherit}
.labs-hero-search{display:grid;grid-template-columns:minmax(0,1fr);width:88%;max-width:100%;margin:0;text-align:left;transition:width .38s cubic-bezier(.16,1,.3,1)}
.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%}
.labs-hero-search .labs-catalog-search{width:100%;max-width:none;height:64px;margin:0;padding:0 10px 0 18px;border:0;border-radius:18px;background:#f7f3ef;box-shadow:0 12px 32px rgb(23 21 26 / .065);gap:12px;transition:background .2s ease,box-shadow .25s ease}
.labs-hero-search .labs-catalog-search:focus-within{background:#faf7f2;box-shadow:0 16px 38px rgb(23 21 26 / .085)}
.labs-hero-search .labs-catalog-search:has(input:focus-visible){outline:2px solid #bf3a08;outline-offset:4px}
.labs-hero-search .labs-catalog-search>svg{width:19px;height:19px;flex:0 0 19px}
.labs-hero-search .labs-catalog-search input{height:60px;flex:1;width:0;min-width:0;font-size:16px;background:transparent}
.labs-hero-search .labs-catalog-search button{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#f3e5df;color:#bf3a08}
.labs-hero-search .labs-catalog-search button:hover{background:#f0d7cc}
.labs-filter-reveal{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .38s cubic-bezier(.16,1,.3,1),opacity .22s ease}
.labs-filter-inner{min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.42fr);align-items:center;gap:16px;padding:16px 0 4px;transition:padding .38s cubic-bezier(.16,1,.3,1)}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-reveal{grid-template-rows:0fr;opacity:0}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-inner{padding-block:0}
.labs-hero-search .labs-category-pills{width:100%;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
.labs-hero-search .labs-category-pills::-webkit-scrollbar{display:none}
.labs-hero-search .labs-stage-filter select{width:100%;max-width:none;height:42px;background-color:#f7f3ef}
.labs-browse{margin-top:18px}
.labs-hero-search{display:flex;flex-direction:column;align-items:stretch;gap:0}
.labs-hero-search .labs-catalog-search{order:0;flex:0 0 64px}
.labs-hero-search .labs-filter-reveal{order:1;flex:0 0 auto;width:100%}
.labs-hero-search .labs-catalog-search input:focus,.labs-hero-search .labs-catalog-search input:focus-visible{outline:none;box-shadow:none}
.labs-filter-reveal{display:block;max-height:180px;overflow:hidden;opacity:1;transition:max-height .32s cubic-bezier(.16,1,.3,1),opacity .22s ease}
.labs-filter-inner{grid-template-columns:minmax(0,1fr) minmax(130px,.42fr);padding:16px 0 4px}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-reveal{max-height:0;opacity:0;pointer-events:none}
.labs-hero-search.is-enhanced:not(.is-expanded) .labs-filter-inner{padding-block:0}
.labs-hero-search .labs-catalog-search input:focus,.labs-hero-search .labs-catalog-search input:focus-visible{outline:0!important;box-shadow:none!important}
@media(max-width:1024px){.labs-intro h1{font-size:clamp(3rem,6.5vw,4.3rem)}.labs-hero-search,.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%;max-width:600px;margin:0 auto;transition:none}}
@media(max-width:700px){.labs-intro h1{font-size:clamp(2.55rem,10.4vw,3.5rem);line-height:1.09;letter-spacing:-.025em}.labs-hero-search,.labs-hero-search:focus-within,.labs-hero-search.is-expanded{width:100%;max-width:600px}.labs-hero-search .labs-catalog-search{height:60px;flex-basis:60px;padding:0 10px 0 14px;border-radius:18px;gap:10px}.labs-hero-search .labs-catalog-search input{height:56px;font-size:16px}.labs-hero-search .labs-catalog-search button{width:40px;height:40px;flex-basis:40px}.labs-filter-inner{grid-template-columns:minmax(0,1fr) minmax(115px,.4fr);gap:10px;padding-top:14px}.labs-hero-search .labs-category-pills{gap:5px}.labs-hero-search .labs-category-pills button{min-height:40px;padding-inline:11px;font-size:.75rem}.labs-hero-search .labs-stage-filter select{height:40px;padding-inline:10px;font-size:16px}.labs-browse{margin-top:18px}}
@media(max-width:560px){.labs-filter-inner{grid-template-columns:1fr;gap:10px;padding-top:14px}.labs-hero-search .labs-category-pills{margin-bottom:0}}
@media(max-width:380px){.labs-filter-inner{grid-template-columns:1fr}.labs-hero-search .labs-category-pills{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.labs-hero-search,.labs-hero-search .labs-catalog-search,.labs-filter-reveal,.labs-filter-inner{transition:none}}

/* Clear contribution close: concrete benefits, one primary route, one quiet alternative. */
.labs-principles{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:30px 0;border-bottom:1px solid #d8d0d6}
.labs-principle{display:flex;align-items:center;gap:13px;min-width:0;padding:0 22px;border-left:1px solid #d8d0d6}
.labs-principle:first-child{padding-left:0;border-left:0}
.labs-principle>svg{display:block;width:36px;height:36px;flex:0 0 36px;margin:0;padding:8px;border-radius:11px;background:#f3e5df;stroke:#bf3a08;stroke-width:1.55}
.labs-principle:nth-child(2)>svg{background:#e3ece8;stroke:#467664}
.labs-principle:nth-child(3)>svg{background:#f2e9dc;stroke:#8b6735}
.labs-principle>div{min-width:0}
.labs-principle strong{margin-bottom:5px;font-size:.88rem;font-weight:500;line-height:1.35}
.labs-principle span{font-size:.78rem;line-height:1.55}
.labs-idea-banner{min-height:174px;margin-top:26px;padding:32px 36px;background:#f7f3ed}
.labs-idea-copy{max-width:62ch}
.labs-idea-copy h2{margin-bottom:9px;font-size:clamp(1.45rem,2.5vw,1.8rem);letter-spacing:-.025em}
.labs-idea-copy p{max-width:58ch;font-size:.94rem;line-height:1.65}
.labs-idea-contours{right:180px;width:min(44%,520px);opacity:.075;mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 74%,transparent 100%)}
.labs-idea-actions{width:270px;align-items:stretch;gap:3px}
.labs-idea-primary{width:100%;min-height:54px;padding:0 21px;border-radius:999px;background:linear-gradient(112deg,#a83207 0%,#c63f0a 48%,#e0541a 100%);background-size:150% 100%;background-position:0 50%;box-shadow:0 9px 22px rgb(191 58 8 / .22);font-size:.9rem;transition:background-position .35s ease,box-shadow .25s ease,transform .25s cubic-bezier(.16,1,.3,1)}
.labs-idea-primary:hover{background-position:100% 50%;box-shadow:0 12px 26px rgb(191 58 8 / .29);transform:translateY(-2px)}
.labs-idea-secondary{align-self:center;justify-content:center;min-height:32px;padding:0 10px;color:#a83207;font-size:.76rem;text-underline-offset:4px}
@media(max-width:900px){.labs-principle{padding-inline:16px}.labs-idea-banner{min-height:166px;padding:28px}.labs-idea-actions{width:240px}.labs-idea-contours{right:150px;width:48%}}
@media(max-width:700px){.labs-principles{grid-template-columns:1fr;gap:0;padding:20px 0}.labs-principle,.labs-principle:first-child{padding:14px 0;border:0;border-top:1px solid #d8d0d6}.labs-principle:first-child{border-top:0}.labs-principle>svg{width:34px;height:34px;flex-basis:34px}.labs-idea-banner{align-items:center;gap:22px;margin-top:20px;padding:25px 22px;text-align:center}.labs-idea-copy{max-width:44ch}.labs-idea-copy h2{font-size:1.5rem}.labs-idea-copy p{font-size:.9rem}.labs-idea-actions{width:100%;align-items:center}.labs-idea-primary{width:min(100%,310px)}.labs-idea-secondary{font-size:.75rem}.labs-idea-contours{right:-30px;top:0;width:88%;height:100%;opacity:.06}}
@media(prefers-reduced-motion:reduce){.labs-idea-primary{transition:none}.labs-idea-primary:hover{transform:none}}

/* Give the extended lockup its own row before social links on narrow phones. */
@media(max-width:480px){
 .labs-footer .footer-brand{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px}
 .labs-footer .footer-brand-lockup{grid-column:1;grid-row:1}
 .labs-footer .footer-socials{grid-column:1;grid-row:2;justify-content:flex-start;margin:0;gap:8px}
 .labs-footer .footer-brand>p{grid-column:1;grid-row:3;margin:0}
}

/* Let the contribution banner read like a complete topographic map. */
.labs-idea-banner .labs-idea-contours{
 inset:0;
 right:auto;
 top:auto;
 width:100%;
 height:100%;
 opacity:.085;
 mask-image:none;
}

/* Keep Alcyone's natural stroke and sentence case. */
.labs-intro h1{
 font-family:alcyone,sans-serif;
 font-size:clamp(2.6rem,4.3vw,3.4rem);
 font-weight:400;
 letter-spacing:.005em;
}
.labs-intro h1 span{letter-spacing:inherit}
@media(max-width:700px){.labs-intro h1{font-size:clamp(2.25rem,7.4vw,2.85rem);line-height:1.09;letter-spacing:.006em}}
