/* Customer account: mobile defaults, enhanced by responsive.css on wide screens. */
:root{
  --radius-control:12px;--radius-card:20px;--control-line:#7D8AA6;
  --motion-press:120ms;--motion-feedback:180ms;
  --type-body:1rem;--type-small:.875rem;--type-caption:.75rem;
}
body{font-size:var(--type-body);line-height:1.5}
/* Installed iOS apps can exclude the home-indicator area from 100dvh. */
html.is-standalone,html.is-standalone body,html.is-standalone .stage{height:100vh}
html.is-standalone,html.is-standalone body{overflow:hidden}
@media(max-width:599px),(orientation:landscape) and (max-height:500px){
  html,body{background-color:var(--surface)}
  body{background-image:linear-gradient(to bottom,var(--chrome-tone,var(--primary)) 0 50%,var(--surface) 50% 100%)}
}
.small,.field>label,.field>.lbl{font-size:var(--type-small);line-height:1.45}
.xs,.field .help{font-size:var(--type-caption);line-height:1.4}
.h1{font-size:1.5rem;line-height:1.3}.h2{font-size:1.125rem;line-height:1.4}
button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:rgba(42,69,212,.12)}
button,a,input,select,textarea{scroll-margin-block:var(--s4)}
.btn,.inp,.pick,.segm{border-radius:var(--radius-control)}
.inp,.pick{border-color:var(--control-line)}
.btn{transition:background-color var(--motion-press),box-shadow var(--motion-press)}
.btn:active{transform:none}.btn.out:active,.btn.sec:active{background:var(--mist)}
.inp:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.iconbtn.sm,.a2hs .cl{min-width:44px;min-height:44px}
.segm button{min-height:44px;white-space:normal}
.overlay,.sheet{overscroll-behavior:contain}
.screen{scroll-padding-block:var(--s4);padding-left:max(var(--s4),env(safe-area-inset-left));padding-right:max(var(--s4),env(safe-area-inset-right))}
.skip-link{position:absolute;left:var(--s4);top:var(--s4);z-index:50;padding:var(--s3);border-radius:var(--radius-control);background:var(--surface);color:var(--primary-dark);transform:translateY(-200%)}
.skip-link:focus{transform:none}
.home-account{display:grid;gap:var(--s5);padding-top:var(--s2)}
.home-account>*{min-width:0}
.home-greeting{display:flex;align-items:center;justify-content:space-between;gap:var(--s3)}
.home-greeting>div{min-width:0}
.home-greeting h2{font-family:var(--font);font-size:1.25rem;line-height:1.4;overflow-wrap:anywhere;text-wrap:pretty}
.home-greeting p{margin-top:var(--s1)}
.home-notifications{position:relative;flex:none;background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink)}
.notification-dot{position:absolute;right:8px;top:8px;width:8px;height:8px;border:2px solid var(--bg);border-radius:50%;background:var(--primary)}
.active-order{padding:20px;border-radius:var(--radius-card)}
.active-order .row{margin-top:0;align-items:center}
.active-order .active-step{margin:0;font-size:var(--type-caption);line-height:1.4;font-weight:500;color:var(--primary-dark);white-space:normal}
.order-status{display:block;margin-top:var(--s3);font-size:1.5rem;line-height:1.35;font-weight:600}
.active-summary{margin-top:var(--s1);font-size:var(--type-small);line-height:1.45}
.active-progress{margin-top:var(--s4)}
.active-progress ol{gap:6px}
.active-progress li{display:block;height:6px;border-radius:4px;background:var(--line)}
.active-progress li.done,.active-progress li.current{background:var(--primary)}
.active-progress li::before,.active-progress .node{display:none}
.active-progress .label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.progress-caption{display:block;margin-top:var(--s2);font-size:var(--type-small);line-height:1.45;color:var(--muted);text-wrap:pretty}
.completion-date{margin-top:var(--s4);padding-top:var(--s3);font-size:var(--type-small);line-height:1.45}
.completion-date .ic{margin-top:2px}
.home-account .bonus-card{padding:0;box-shadow:none;border:0;background:transparent;border-radius:var(--radius-control);min-height:64px}
.home-account .bonus-copy>b{font-size:1.125rem;line-height:1.4}
.home-account .bonus-help{font-size:var(--type-small);line-height:1.45}
.home-account .bonus-card .chev{color:var(--ink)}
.repeat-shortcut{padding-bottom:var(--s5);border-bottom:1px solid var(--line);gap:var(--s2)}
.repeat-shortcut .h2{font-family:var(--font);font-size:1.125rem;line-height:1.4}
.repeat-shortcut .btn{margin-top:var(--s2)}
.home-catalog{gap:var(--s4);scroll-margin-top:var(--s4)}
.home-services{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(8.5rem,calc((100% - var(--s3)) / 2))),1fr))}
.home-service{grid-template-columns:minmax(0,1fr);border-radius:16px;gap:var(--s2);padding:var(--s4);transition:background-color var(--motion-press),box-shadow var(--motion-press)}
.home-service>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.home-service .ico{width:32px;height:32px;background:transparent;border-radius:0;place-items:start}
.home-service .ico svg{width:24px;height:24px}
.home-service b{font-size:1rem;line-height:1.5}
.home-service .small{font-size:var(--type-small);line-height:1.45;font-weight:500}
.home-service .xs{font-size:var(--type-caption);line-height:1.4}
.home-support{display:flex;align-items:center;gap:var(--s3);padding:var(--s2) 0;min-height:48px;text-align:left;color:var(--muted);font-size:var(--type-small);line-height:1.45}
.home-support .ic{flex:none}
.home-empty .h2{font-family:var(--font);font-size:1.125rem}
.tabbar{grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(min(100%,3.6rem),1fr));padding:var(--s1);gap:2px}
/* Extend the tabs into the safe area instead of adding a separate blank strip. */
.tabbar button{align-content:start;gap:var(--s1);min-height:56px;padding:6px 0 max(6px,env(safe-area-inset-bottom,0px));font-size:var(--type-caption);line-height:1.3;border-radius:10px}
.tabbar button[aria-current=page]{background:var(--mist)}
.tabbar button>span:first-of-type{overflow-wrap:normal}
.storage-error{flex:none;margin:0;padding:var(--s3) var(--s4);border-radius:0;border-top:1px solid var(--danger);display:flex;align-items:center;gap:var(--s3)}
.storage-error p{flex:1;min-width:0}
.storage-error .textbtn{width:auto;flex:none;color:inherit;min-width:44px}
.orders-loading .skel{height:104px;border-radius:var(--radius-card);animation:none;background:var(--mist)}
.orders-loading[aria-busy=true]{contain:layout}
.empty{padding:var(--s6) var(--s4)}
.empty .h2{font-family:var(--font);font-size:1.25rem}
@media(hover:hover){
  .btn.pri:hover{background:var(--primary-dark)}
  .btn.out:hover,.btn.sec:hover,.home-service:hover,.home-notifications:hover{background:var(--mist)}
  .active-order:hover{box-shadow:inset 0 0 0 1.5px var(--primary)}
  .bonus-card:hover,.home-support:hover{color:var(--primary-dark)}
}
@media(max-width:359px){.active-order{padding:var(--s4)}.home-service{padding:var(--s3)}}
/* Landscape phone stays a phone, without the portrait presentation bezel. */
@media(orientation:landscape) and (max-height:500px){
  .stage{padding:0}.phone{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
  .screen>.in{max-width:520px;margin-inline:auto}
  .tabbar button{min-height:48px;grid-auto-flow:column;align-content:center;justify-content:center;gap:6px}
  .tabbar{padding-inline:max(var(--s4),env(safe-area-inset-left))}
  .hero{margin-top:calc(-1 * var(--s4))}
}
@media(prefers-reduced-motion:reduce){.btn,.home-service{transition:none}}

/* Rounded transition from the blue hero to the customer workspace. */
.hero::after{display:none}
.hero{padding-bottom:48px}
.home-account{
  position:relative;
  margin:-16px calc(-1 * var(--s4)) 0;
  padding:24px var(--s4) var(--s4);
  border-radius:32px 32px 0 0;
  background:var(--bg);
  isolation:isolate;
}
.home-account::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--primary);
  z-index:-2;
}
.home-account::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--bg);
  z-index:-1;
}
.home-account{margin-top:-32px}
.home-account::before{inset:0 0 auto;height:32px;border-radius:0}

/* Service tiles follow the supplied product illustration reference. */
.home-catalog>.h2{font-family:var(--font);font-size:26px;line-height:1.15;font-weight:750;max-width:12ch;margin-bottom:8px}
.home-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.home-service{display:flex;flex-direction:column;align-items:stretch;text-align:left;background:#e8eff8;border:0;border-radius:20px;padding:12px;gap:0;overflow:hidden;box-shadow:none}
.service-tile-heading{display:flex;align-items:center;justify-content:space-between;gap:4px}
.home-service .service-tile-heading b{font-size:20px;line-height:1.25;font-weight:750;color:var(--ink)}
.service-tile-heading svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--primary);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.service-tile-art{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;flex:none;margin:12px 0;background:none}
.service-tile-art svg{display:block;width:100%;height:100%;overflow:hidden}
.home-service .small{color:var(--primary);font-size:16px;line-height:1.25;font-weight:750;margin-top:auto;min-height:40px;display:flex;align-items:center}
.home-service .xs{font-size:12px;line-height:1.4;color:var(--muted)}
@media(max-width:359px){.home-service{padding:10px}.home-service .service-tile-heading b{font-size:18px}.home-service .small{font-size:14px}}


.service-tile-art img{display:block;width:100%;height:100%;object-fit:contain}
.service-tile-art.art-curtain img{width:88%;height:88%}
