/* Public page canvases and navigation. Load after the shared surface/header styles.
   Keep admin shells, artwork, controls, availability states and menu behavior intact. */
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"]){
  --site-page-background:#fff;
  background:#fff!important;
}
html:has(>body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])){background:#fff}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"]) main{
  background:#fff!important;
}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>:is(.utility,.header,.store-header,.ti-header,.hiring-public-header,.policy-brand){background:#fff!important}

/* Only page/section canvases: small neutral wells and selected controls retain contrast. */
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"]) :is(
  .hero,.gray,.section-light,.brand-banner,.repair-services-section,.component-quality-section,
  .google-reviews-section,.customer-stories,.home-repair-promise,.home-guides-section,
  .home-shop-section,.home-more-repairs,.home-faq-refined,.category-page,.category-hero,
  .category-brand-strip,.category-neighborhood,.phone-repair-page,.phone-band,
  .careers-page,.careers-hero,.careers-fit,.careers-process,.careers-application-entry,
  .business-page,.business-public-pricing,.business-public-cta,.help-center,
  .guide-popular,.guide-expert,.corporate-neighborhood,.store-home,.store-brands,
  .repair-booking,.booking-fullscreen,.customer-portal,.portal-workspace,
  .hiring-portal,.hiring-portal-main,.ti-page,.ti-footer,.hm-quote,.hm-shop,.quote-hero,
  .repairology-signin,.account-surface,.guest-form-side,.guest-results-side,
  .facility-section,.facility-finder,.facility-search-area,.facility-results,.facility-finder-note,
  .shop-v2,.shop-v2-filters,.shop-v2-help,.shop-v2-pickup,.shop-catalog-toolbar,
  .guide-library,.guide-article,.guide-library-note,.guide-help,.guide-toolbar,
  .careers-role-filters,.help-empty,.guide-no-results,.business-empty,.business-review-note,
  .portal-purchase-dropdown-body,.portal-warranty-panel
){background:#fff!important}

/* Neutral support/filter panels use borders instead of a gray section fill. */
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"]) :is(
  .shop-v2-filters,.shop-v2-help,.shop-v2-pickup,.guide-library-note,.guide-help,
  .help-empty,.guide-no-results,.business-empty,.business-review-note
){border:1px solid #e5e7e9}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"]) #ti-aside{background:#fff!important}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.policy-brand{border-bottom:1px solid #e5e7e9}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.policy-brand img[src="/assets/logo.svg"]{filter:brightness(0)}

/* Menu styling never changes visibility, positioning, animation, pointer events or tab order. */
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-menu-card{
  margin:0;
  border-color:#e3e5e7;
  box-shadow:none;
}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-menu-card:not([aria-disabled="true"]):not([data-commerce-unavailable]):hover{
  border-color:#b7bcc2;
  box-shadow:none;
}
body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-menu-card:focus-visible{
  outline:2px solid #25272a;
  outline-offset:3px;
  border-color:#25272a;
}

@media(min-width:901px){
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks>.repairs-dropdown>:is(#repairs-menu,#services-menu,#resources-menu,#shop-menu){
    grid-template-columns:208px minmax(0,1fr);
    align-items:stretch;
    gap:24px;
    min-height:0;
    padding:24px;
    background:#fff;
    border:1px solid #e2e5e8;
    border-radius:12px;
    box-shadow:0 10px 24px rgb(0 0 0 / 6%);
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-intro{
    padding:8px 22px 8px 0;
    border:0;
    border-right:1px solid #eceeef;
    background:#fff;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-intro>:is(img,svg){width:34px;height:34px;margin-bottom:16px}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-intro h3{font-size:22px;line-height:1.25;letter-spacing:-.4px;margin:0 0 12px}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-intro p{font-size:13px;line-height:1.6;color:#63686e}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-intro .business-resource-link{margin:16px 0 0;padding:4px 0}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .menu-items{
    gap:12px;
    grid-auto-rows:1fr;
    align-items:stretch;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-menu-card{
    min-height:154px;
    padding:0!important;
    border-radius:10px;
    background:#fff;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-picture{
    align-items:center!important;
    height:88px;
    min-height:88px;
    flex:0 0 88px;
    padding:8px 12px;
    background:#fff!important;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-picture img{
    width:100%;
    height:72px;
    max-width:148px;
    object-fit:contain;
    object-position:center;
    transform:none!important;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-picture svg{width:34px;height:34px}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-card-footer{
    flex:1;
    gap:4px;
    min-height:64px;
    padding:11px 12px;
    border-top:1px solid #edf0f2;
    background:#fff;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-card-footer .repair-card-title{margin:0;font-size:14px;font-weight:600;line-height:1.35;color:#25272a}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-card-footer :is(.repair-card-description,small){font-size:11.5px;line-height:1.45;color:#656b72}
}

@media(max-width:900px){
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-menu-card{
    min-height:68px;
    border-radius:10px;
    background:#fff;
  }
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-picture{background:#f7f8f9!important}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .dropdown-picture img{object-position:center;transform:none!important}
  body:is([data-ui-shell="home"],[data-ui-shell="content"],[data-ui-shell="repair"],[data-ui-shell="flow"],[data-ui-shell="careers"],[data-ui-shell="business"],[data-ui-shell="portal"])>.header .navlinks :is(#repairs-menu,#services-menu,#resources-menu,#shop-menu) .repair-card-title{color:#25272a}
}

/* The customer-facing pages share the homepage's type, device art and paper-white surfaces. */
body[data-ui-shell]:not([data-ui-shell="admin"]) {
  --reference-type:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-family:var(--reference-type);
}
body[data-ui-shell]:not([data-ui-shell="admin"]) :is(header.header,main h1,main h2,main h3,main button,main input,main select,main textarea,.reference-footer) {font-family:var(--reference-type)}
body[data-ui-shell]>.header .brand img[src$="wordmark-black.svg"] {filter:none!important}
body:is([data-ui-shell="repair"],[data-ui-shell="content"],[data-ui-shell="business"],[data-ui-shell="careers"]) main {
  background:#fff url('/assets/home-reference-wave.svg') center top/100% clamp(620px,80vw,1100px) no-repeat!important;
}
body[data-ui-shell]:not([data-ui-shell="home"]) main :is(.phone-repair-page,.phone-band,.category-page,.category-hero,.business-page,.careers-page,.careers-hero,.shop-v2,.guide-library,.help-center) {background:transparent!important}
body[data-ui-shell] main :is(.phone-hero-copy,.business-hero-copy,.careers-hero-grid,.corporate-directory,.shop-v2-paused,.guide-library,.help-center) h1 {letter-spacing:-.057em;font-weight:700;line-height:1.04;text-wrap:balance}
body[data-ui-shell] main :is(.phone-section,.business-page,.careers-page,.corporate-directory,.guide-library,.help-center) h2 {letter-spacing:-.045em;line-height:1.12}
body[data-ui-shell] main :is(.phone-brand-card,.phone-issue-card,.business-public-tier,.careers-value-grid article,.facility-finder,.guide-library-note,.shop-v2-paused) {background:#fff;border:1px solid #dfdfe2;border-radius:16px;box-shadow:none}
body[data-ui-shell] main :is(.phone-brand-card,.phone-issue-card):is(:hover,:focus-visible) {border-color:#88888c;background:#fafafa}
body[data-ui-shell] main .phone-hero-art {background:transparent;box-shadow:none}
body[data-ui-shell] main .phone-hero-art img {object-fit:contain;mix-blend-mode:multiply}
body[data-ui-shell] main .phone-hero-art img[src$="device-iphone-black.webp"],
body[data-ui-shell] :is(.phone-hero-art,.phone-other-card,.dropdown-picture) img[src$="menu-phone.png"] {content:url('/assets/illustrated-phone.webp')}
body[data-ui-shell] :is(.phone-hero-art,.phone-other-card,.dropdown-picture) img[src$="menu-tablet.png"] {content:url('/assets/illustrated-tablet.webp')}
body[data-ui-shell] :is(.phone-hero-art,.phone-other-card,.dropdown-picture) img[src$="menu-computer.png"] {content:url('/assets/illustrated-computer.webp')}
body[data-ui-shell] :is(.phone-hero-art,.phone-other-card,.dropdown-picture) img[src$="menu-console.png"] {content:url('/assets/device-controller.svg')}
body[data-ui-shell] main .phone-hero-art img:is([src$="device-iphone-black.webp"],[src*="/menu-"]) {width:min(100%,295px);height:auto;aspect-ratio:1}

@font-face {font-family:RepairologyInter;src:url('/assets/fonts/inter-variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
body[data-ui-shell]:not([data-ui-shell="admin"]) {--reference-type:RepairologyInter,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
body[data-ui-shell]>.header>.wrap.nav {height:48px;min-height:48px;padding-inline:clamp(16px,2vw,32px)}
body[data-ui-shell]>.header .nav .brand .logo {width:136px}
body[data-ui-shell]>.header>.nav>.button[href="/start-repair/"] {height:34px;min-height:34px;padding:6px 16px;font-size:13px}
@media(min-width:901px){
  body[data-ui-shell]>.header>.nav>.navlinks {height:48px;gap:1px}
  body[data-ui-shell]>.header .navlinks>.repairs-dropdown>.repairs-toggle,body[data-ui-shell]>.header .navlinks>a,body[data-ui-shell]>.header .header-store-link {font:500 13px/1.3 var(--reference-type);padding-inline:8px}
}
@media(max-width:900px){body[data-ui-shell]>.header>.wrap.nav {height:48px;min-height:48px}body[data-ui-shell]>.header .menu-toggle {min-height:44px;padding:6px 10px}}
body[data-ui-shell]:is([data-ui-shell="home"],[data-ui-shell="repair"],[data-ui-shell="content"],[data-ui-shell="careers"],[data-ui-shell="business"]) main {
  background:#fff url('/assets/site-continuous-wave.svg') center top/100% 100% no-repeat!important;
}
body[data-ui-shell="home"][data-homepage-design] main :is(.landing-journey,.hm-brands,.hm-specialist,.hm-guides,.hm-faq) {background:transparent!important}
body[data-ui-shell] main :is(.category-brand-strip,.category-neighborhood,.careers-fit,.careers-process,.business-public-pricing,.business-public-cta,.corporate-neighborhood,.store-home,.store-brands,.guide-popular,.guide-expert,.home-faq-refined) {background:transparent!important}

body[data-ui-shell]>.header .nav :is(button,a,small,strong,span,h3,p) {font-family:var(--reference-type)}
body[data-ui-shell]>.header>.nav>.button[href="/start-repair/"] {height:32px;min-height:32px;padding:5px 13px}
@media(min-width:901px){
  body[data-ui-shell]>.header .navlinks>.repairs-dropdown>.repairs-toggle,body[data-ui-shell]>.header .navlinks>a {padding-inline:6px;gap:6px}
}

/* Public service and resource pages share the repair selector's visual scale. */
body[data-ui-shell]:not([data-ui-shell=admin]){
 --repair-line:#dcdce0;--repair-well:#f2f2f4;--repair-ink:#19191c;
}
body[data-ui-shell] main :is(.category-page,.phone-repair-page,.help-center,.store-home,.careers-page,.business-page,.site-directory){
 font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:var(--repair-ink);
}
body[data-ui-shell] main :is(.category-page,.phone-repair-page,.help-center,.store-home,.careers-page,.site-directory) :is(h1,h2){
 letter-spacing:-.045em;line-height:1.09;text-wrap:balance;
}
body[data-ui-shell] main :is(.phone-issue-card,.phone-brand-card,.related-device-card,.repair-service-card,.manufacturer-repair-card,.guide-card,.store-editorial-card,.corporate-location-card,.shop-product-card,.career-job-card,.facility-card,.site-directory-grid nav){
 border:1px solid var(--repair-line);border-radius:12px;box-shadow:none;background-color:white;min-width:0;
}
body[data-ui-shell] main :is(.category-hero-art,.category-feature-art,.phone-hero-art,.repair-service-art,.guide-feature,.store-editorial-grid figure){border-radius:14px;background-color:var(--repair-well)}
body[data-ui-shell] main :is(.category-option-grid,.category-three-grid,.category-faq-grid,.guide-popular-grid,.careers-value-grid){gap:clamp(10px,1.4vw,18px)}
body[data-ui-shell] main img:not([class*="avatar"]){max-width:100%;object-fit:contain!important}
body[data-ui-shell] main :is(.phone-hero-art,.category-hero-art,.category-feature-art,.repair-service-art,.phone-confidence-art,.business-hero-photo,.careers-hero-art,.shop-v2-hero-art,.guide-feature,.guide-expert,.home-promise-art) img{
 object-position:center!important;transform:none!important;clip-path:none!important;
}
body[data-ui-shell] footer.reference-footer{background:#171719!important;color:#fff!important}
body[data-ui-shell] footer.reference-footer :is(summary,h3,.footer-phone){color:#fff}
body[data-ui-shell] footer.reference-footer nav a{color:#e0e0e3}
body[data-ui-shell] footer.reference-footer :is(.footer-contact p,.footer-unavailable,.footer-legal-row p,.footer-disclaimer){color:#bdbdc3}
body[data-ui-shell] footer.reference-footer a:hover{color:white}
body[data-ui-shell] footer.reference-footer .footer-logo img.logo{filter:brightness(0) invert(1)!important;object-fit:contain}
body[data-ui-shell] footer.reference-footer :is(.footer-legal-row,.footer-partners,.footer-column){border-color:#4b4b51}
