/* Shared Repairology visual language. Component state and workflow layout remain owned by their modules. */
:root{--site-ink:#191919;--site-muted:#62656c;--site-line:#e5e5e5;--site-surface:#f6f6f6;--site-radius:14px;--site-gap:16px}
[data-ui-shell] :is(input,select,textarea,button){font-family:inherit}
[data-ui-shell] :is(a,button,input,select,textarea):focus-visible{outline:2px solid #191919;outline-offset:3px}
[data-ui-shell="content"] main{min-width:0}
[data-ui-shell="content"] :is(.section,.store-home-section){padding-top:56px;padding-bottom:56px}
[data-ui-shell="content"] main h1{font-size:clamp(32px,4.2vw,56px)!important;line-height:1.1!important;letter-spacing:-1.5px;margin-top:0;margin-bottom:20px;overflow-wrap:break-word}
[data-ui-shell="content"] main h2{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.8px;margin:0 0 16px}
[data-ui-shell="content"] main h3{font-size:18px;line-height:1.35;letter-spacing:-.2px;margin:0 0 8px}
[data-ui-shell="content"] main .eyebrow{font-size:12px;line-height:1.5;letter-spacing:2px;margin:0 0 12px}
[data-ui-shell="content"] main :is(.hero p,.category-intro>p,.category-editorial>p,.category-reputation>p){font-size:16px;line-height:1.65;color:var(--site-muted);max-width:68ch}
[data-ui-shell="content"] :is(.hero-grid,.category-split,.product-detail-layout,.shop-catalog-layout)>*{min-width:0}
[data-ui-shell="content"] .hero-grid{min-height:0;gap:32px;padding-top:40px;padding-bottom:40px}
[data-ui-shell="content"] .hero-image{height:300px;max-height:36vw;object-fit:contain}
[data-ui-shell="content"] :is(.devices,.benefits,.service-grid,.category-three-grid,.shop-category-links){gap:16px}
[data-ui-shell="content"] :is(.device,.benefits>div,.service-grid>a,.category-three-grid>article){border:1px solid var(--site-line);border-radius:var(--site-radius);background:#fff;padding:22px 18px;min-width:0;box-shadow:none}
[data-ui-shell="content"] :is(.device,.benefits>div,.service-grid>a,.category-three-grid>article) p{font-size:14px;line-height:1.55;color:var(--site-muted);margin:0 0 12px}
[data-ui-shell="content"] .device img{height:130px;max-width:100%;object-fit:contain}
[data-ui-shell="content"] .benefits .number{width:34px;height:34px;display:grid;place-items:center;background:var(--site-surface);color:var(--site-ink);border-radius:8px;font-size:14px;margin-bottom:14px}
/* Device landing pages */
[data-ui-shell="content"] .category-breadcrumb{font-size:13px;padding-top:20px;padding-bottom:20px}
[data-ui-shell="content"] .category-hero{max-width:1240px;margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;padding:24px 40px 40px;background:#fff;min-height:0}
[data-ui-shell="content"] .category-hero-art{height:auto;min-height:0;background:var(--site-surface);border-radius:16px;padding:24px}
[data-ui-shell="content"] .category-hero-art img{display:block;width:100%;height:320px;max-height:100%;object-fit:contain}
[data-ui-shell="content"] .category-hero-copy{padding:0;min-width:0}
[data-ui-shell="content"] .category-hero-copy>p{font-size:16px;line-height:1.6;color:var(--site-muted)}
[data-ui-shell="content"] .category-hero-promises{font-size:14px;line-height:1.55;gap:12px;margin:22px 0}
[data-ui-shell="content"] .category-hero-actions{gap:14px;flex-wrap:wrap}
[data-ui-shell="content"] .category-three-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-ui-shell="content"] :is(.category-step-visual,.category-easy .category-three-grid>article>img){height:170px;min-height:0;border-radius:10px;margin:0 0 18px;overflow:hidden;background:var(--site-surface)}
[data-ui-shell="content"] .category-step-visual img{width:100%;height:100%;object-fit:contain}
[data-ui-shell="content"] .category-easy .category-three-grid>article>img{width:100%;object-fit:contain}
[data-ui-shell="content"] .category-three-grid a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
[data-ui-shell="content"] .category-neighborhood{padding:56px 0;background:var(--site-surface)}
[data-ui-shell="content"] .category-feature-art{min-height:0;border-radius:16px;overflow:hidden}
[data-ui-shell="content"] .category-feature-art img{display:block;width:100%;height:320px;object-fit:cover}
[data-ui-shell="content"] .category-feature-list{font-size:15px;line-height:1.65}
[data-ui-shell="content"] .category-option-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
[data-ui-shell="content"] .category-option-grid>a{padding:18px;border:1px solid var(--site-line);border-radius:12px;background:#fff;font-size:15px;min-height:60px;display:flex;align-items:center;line-height:1.4}
[data-ui-shell="content"] .category-option-grid>a:hover{border-color:#888;background:#fafafa}
[data-ui-shell="content"] .category-editorial article{padding:20px 0;border-bottom:1px solid var(--site-line)}
[data-ui-shell="content"] .category-editorial article p{font-size:15px;line-height:1.65;max-width:75ch;color:var(--site-muted)}
/* FAQ disclosures use the homepage's rounded rows and plus/minus cue. */
[data-ui-shell="content"] :is(.faq,.category-faq-grid){display:grid;gap:10px;min-width:0}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) details{padding:0;border:1px solid var(--site-line);border-radius:14px;background:#fff;min-width:0}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) details[open]{background:#fafafa;border-color:#c7c7c7}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) summary{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:64px;padding:18px 20px;list-style:none;font-size:16px;font-weight:600;line-height:1.45;cursor:pointer}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) summary::-webkit-details-marker{display:none}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) summary::marker{content:''}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) summary::after{content:'+';display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#f0f0f0;font-size:20px;font-weight:400}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) details[open]>summary::after{content:'−'}
[data-ui-shell="content"] :is(.faq,.category-faq-grid) details p{padding:0 20px 20px;margin:0;font-size:15px;line-height:1.65;color:var(--site-muted)}
/* Store directory, guides, shop, and editorial cards */
[data-ui-shell="content"] :is(.corporate-location-grid,.guide-grid,.guide-popular-grid,.store-category-grid,.store-blog-grid,.shop-product-grid){gap:16px}
[data-ui-shell="content"] :is(.corporate-location-card,.guide-grid>article,.guide-grid>a,.guide-popular-grid>a,.shop-product-card,.store-editorial-card,.store-blog-grid>article,.store-benefit-card){border:1px solid var(--site-line);border-radius:14px;box-shadow:none;overflow:hidden;min-width:0}
[data-ui-shell="content"] :is(.guide-card-image,.shop-product-art){height:180px;background:var(--site-surface);padding:16px}
[data-ui-shell="content"] :is(.guide-card-image,.shop-product-art) img{max-height:100%;width:100%;object-fit:contain}
[data-ui-shell="content"] :is(.shop-product-copy,.store-blog-grid>article){padding:20px}
[data-ui-shell="content"] :is(.store-blog-grid>article>img,.store-editorial-card>img){display:block;width:100%;height:190px;object-fit:contain;background:var(--site-surface);border-radius:10px}
[data-ui-shell="content"] :is(.guide-article,.product-description){font-size:16px;line-height:1.7}
[data-ui-shell="content"] .product-main-image{width:100%;height:auto;max-height:420px;object-fit:contain}
[data-ui-shell="content"] :is(.guide-toolbar,.shop-catalog-toolbar){gap:16px;flex-wrap:wrap;padding:18px;border-radius:14px;background:var(--site-surface)}
[data-ui-shell="content"] :is(.guide-search,.shop-search){min-width:0;flex:1 1 220px}
[data-ui-shell="content"] .shop-filters{border:1px solid var(--site-line);border-radius:14px;padding:20px;background:#fff}
[data-ui-shell="content"] :is(.guide-toolbar,.shop-catalog-toolbar,.shop-filters,.form-panel) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #ccc;border-radius:9px;background:#fff;font-size:16px;box-sizing:border-box}
[data-ui-shell="content"] :is(.form-panel,.promo){border-radius:16px;padding:26px;box-shadow:none}
/* Portals and transaction tools inherit the same surfaces without changing their progress or status colors. */
:is([data-ui-shell="portal"],[data-ui-shell="flow"],[data-ui-shell="admin"]) :is(.portal-card,.portal-panel,.hiring-card,.hiring-apply-card,.card,.integration-card){border-radius:14px;border-color:var(--site-line);box-shadow:none}
:is([data-ui-shell="portal"],[data-ui-shell="flow"]) :is(.portal-heading h1,.ti-main h1){font-size:clamp(28px,3vw,38px);line-height:1.2;letter-spacing:-.8px}
[data-ui-shell="portal"] .portal-login{border-radius:16px;padding:28px;box-shadow:none}
:is([data-ui-shell="portal"],[data-ui-shell="flow"]) :is(.portal-field,.hiring-personal,.hiring-day,.ti-question) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px;border-color:#ccc;font-size:16px;max-width:100%;min-width:0}
:is([data-ui-shell="portal"],[data-ui-shell="flow"]) :is(.portal-field,.hiring-personal,.hiring-day,.ti-question) :is(input,select,textarea):hover{border-color:#555}
[data-ui-shell="flow"] .ti-question{margin-bottom:18px;padding-bottom:18px}
[data-ui-shell="flow"] .ti-question h2{font-size:20px;line-height:1.35;letter-spacing:-.2px}
@media(max-width:900px){
 [data-ui-shell="content"] .category-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-left:24px;padding-right:24px}
 [data-ui-shell="content"] .category-hero-art img{height:260px}
 [data-ui-shell="content"] :is(.category-three-grid,.category-option-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 [data-ui-shell="content"] :is(.section,.store-home-section){padding-top:40px;padding-bottom:40px}
 [data-ui-shell="content"] main h1{font-size:32px!important;letter-spacing:-1px}
 [data-ui-shell="content"] main h2{font-size:26px;letter-spacing:-.6px}
 [data-ui-shell="content"] :is(.hero-grid,.category-hero,.category-split){grid-template-columns:minmax(0,1fr);gap:24px}
 [data-ui-shell="content"] .hero-grid{padding-top:30px;padding-bottom:30px}
 [data-ui-shell="content"] .hero-image{height:220px;max-height:none}
 [data-ui-shell="content"] .category-hero{padding:16px 20px 32px}
 [data-ui-shell="content"] .category-hero-art img{height:220px}
 [data-ui-shell="content"] :is(.category-three-grid,.category-option-grid,.benefits,.service-grid){grid-template-columns:minmax(0,1fr);gap:10px}
 [data-ui-shell="content"] :is(.device,.benefits>div,.service-grid>a,.category-three-grid>article){padding:17px 16px;border-radius:12px}
 [data-ui-shell="content"] :is(.category-step-visual,.category-easy .category-three-grid>article>img){height:140px}
 [data-ui-shell="content"] .category-feature-art img{height:220px}
 [data-ui-shell="content"] .category-neighborhood{padding:40px 0}
 [data-ui-shell="content"] :is(.faq,.category-faq-grid){grid-template-columns:minmax(0,1fr)}
 [data-ui-shell="content"] :is(.faq,.category-faq-grid) summary{padding:16px;font-size:16px}
 [data-ui-shell="content"] :is(.faq,.category-faq-grid) details p{padding:0 16px 18px;font-size:14px}
 [data-ui-shell="content"] .shop-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr);padding:16px}
 [data-ui-shell="content"] .shop-search{flex:auto}
 [data-ui-shell="content"] :is(.guide-card-image,.shop-product-art){height:140px;padding:12px}
 [data-ui-shell="content"] .shop-product-copy{padding:14px}
 [data-ui-shell="content"] :is(.form-panel,.promo){padding:20px}
 [data-ui-shell="portal"] .portal-login{padding:22px}
}
@media(prefers-reduced-motion:reduce){[data-ui-shell] :is(.device,.button,.guide-grid>a,.shop-product-card){transition:none}}
[data-ui-shell="content"] .store-home-hero{min-height:0;gap:32px;padding-top:40px;padding-bottom:40px}
[data-ui-shell="content"] .store-home-hero picture img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}
[data-ui-shell="content"] :is(.store-promo-grid,.store-editorial-grid,.store-phone-grid){gap:16px}
[data-ui-shell="content"] :is(.store-promo-grid>a,.store-phone-grid>a,.store-category-grid>a){border:1px solid var(--site-line);border-radius:14px;overflow:hidden;box-shadow:none;background:var(--site-surface);min-width:0}
[data-ui-shell="content"] :is(.store-promo-grid,.store-editorial-grid,.store-phone-grid,.store-blog-grid) h2{font-size:24px;line-height:1.25;letter-spacing:-.4px}
[data-ui-shell="content"] .store-editorial-card{padding:18px;background:#fff}
[data-ui-shell="content"] .guide-card{padding-bottom:18px;background:#fff}
[data-ui-shell="content"] .guide-card h3{font-size:16px;font-weight:600;line-height:1.4;padding:0 16px;margin:16px 0 8px}
[data-ui-shell="content"] .corporate-location-card{padding:22px;border-radius:14px}
[data-ui-shell="content"] .corporate-location-card h3{font-size:18px}
[data-ui-shell="content"] .corporate-location-card p{font-size:14px;line-height:1.6}
[data-ui-shell="content"] .state-directory{margin-top:36px}
[data-ui-shell="content"] .location-state-list{gap:10px}
@media(max-width:650px){
 [data-ui-shell="content"] .store-home-hero{padding-top:30px;padding-bottom:30px;gap:22px}
 [data-ui-shell="content"] .store-home-hero picture img{max-height:240px}
 [data-ui-shell="content"] :is(.store-promo-grid,.store-editorial-grid,.store-blog-grid,.store-phone-grid){grid-template-columns:minmax(0,1fr);gap:12px}
 [data-ui-shell="content"] :is(.store-promo-grid,.store-editorial-grid,.store-phone-grid,.store-blog-grid) h2{font-size:22px}
 [data-ui-shell="content"] .corporate-location-card{padding:18px}
}
/* Device and service routes have independent layout ownership. Do not apply generic content grids. */
[data-ui-shell="repair"] main{min-width:0;width:100%}
[data-ui-shell="repair"] :is(.hero-grid,.category-hero,.category-split,.category-three-grid,.benefits,.related-device-grid)>*{min-width:0}
[data-ui-shell="repair"] :is(.category-hero,.category-three-grid,.category-split,.category-option-grid,.category-faq-grid,.hero-grid,.benefits){box-sizing:border-box}
[data-ui-shell="repair"] .category-intro>p{max-width:74ch;margin-left:auto;margin-right:auto}
[data-ui-shell="repair"] .category-three-grid>article{min-width:0}
[data-ui-shell="repair"] .category-three-grid>article>img{max-width:100%}
[data-ui-shell="repair"] .category-hero-actions .button{min-width:0}
@media(min-width:651px){
 /* Explicit desktop columns restore the layouts used before the site-wide override. */
 [data-ui-shell="repair"] .hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center}
 [data-ui-shell="repair"] .category-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;margin:0;gap:0}
 [data-ui-shell="repair"] .category-hero-art{min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center}
 [data-ui-shell="repair"] .category-hero-copy{min-width:0;align-self:center}
 [data-ui-shell="repair"] .category-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 [data-ui-shell="repair"] .category-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-ui-shell="repair"] .category-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 [data-ui-shell="repair"] .category-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 [data-ui-shell="repair"] .category-hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center}
 [data-ui-shell="repair"] .category-hero-art img{max-width:100%;height:clamp(280px,30vw,440px);object-fit:contain}
 [data-ui-shell="repair"] .hero-image.floating-devices-hero{max-width:100%;height:clamp(260px,30vw,405px);max-height:none;object-fit:contain}
}
@media(min-width:901px){[data-ui-shell="repair"] .benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:651px) and (max-width:900px){[data-ui-shell="repair"] .benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 [data-ui-shell="repair"] :is(.hero-grid,.category-hero,.category-split,.category-three-grid,.category-option-grid,.category-faq-grid,.benefits){grid-template-columns:minmax(0,1fr)}
 [data-ui-shell="repair"] .section{padding-top:40px;padding-bottom:40px}
 [data-ui-shell="repair"] main h1{font-size:32px;line-height:1.15;letter-spacing:-1px}
 [data-ui-shell="repair"] main h2{font-size:26px;line-height:1.25;letter-spacing:-.6px}
 [data-ui-shell="repair"] main h3{font-size:18px;line-height:1.35}
 [data-ui-shell="repair"] .category-three-grid{gap:12px}
 [data-ui-shell="repair"] :is(.category-three-grid>article,.benefits>div){padding:17px 16px;border:1px solid var(--site-line);border-radius:12px;background:#fff}
 [data-ui-shell="repair"] :is(.category-three-grid>article,.benefits>div) p{font-size:14px;line-height:1.55}
 [data-ui-shell="repair"] .category-step-visual{height:140px}
 [data-ui-shell="repair"] .category-step-visual img{height:120px;object-fit:contain}
 [data-ui-shell="repair"] .category-hero-art img,[data-ui-shell="repair"] .hero-image.floating-devices-hero{height:220px;max-height:none;object-fit:contain}
 [data-ui-shell="repair"] .category-easy .category-three-grid>article>img{height:140px}
 [data-ui-shell="repair"] .category-feature-art img{height:220px}
 [data-ui-shell="repair"] .category-option-grid>a{font-size:15px;padding:18px;min-height:56px}
}
