/* Source: CHAEN DESIGN.md. Precision service, carbon surfaces, service blue. */
:root{--ink:#080b0f;--green:#1677ff;--muted:#657180;--line:#dce1e7}body{background:#f4f6f8;color:#080b0f}.sidebar{width:230px;background:#080b0f;border-right:1px solid #222a33;color:#fff;padding:36px 26px}.brand{letter-spacing:2px;font-weight:900}.brand:after{content:'';display:block;width:34px;height:3px;background:#1677ff;margin-top:18px}.brand span{font-size:7px;letter-spacing:1.4px}.side-copy{font-size:14px;color:#9ca7b4;font-weight:500;line-height:1.8;margin:45px 0 30px}nav a{border-radius:2px;margin:0;padding:17px 14px;font-size:12px;border-bottom:1px solid #222a33}nav a.active{background:#111f31;color:#49a2ff;border-left:3px solid #1677ff;border-radius:0}.side-bottom{color:#9ca7b4;font-size:10px}.workspace{margin-left:230px}header{height:80px;background:#11161c;color:#fff;padding:0 5%;border-bottom:1px solid #222a33}.breadcrumb{color:#9ca7b4}.breadcrumb span{color:#fff}.install{background:transparent;color:#fff;border:1px solid #515a65;border-radius:2px;min-height:44px}.mobile-wordmark{display:none}main{max-width:1240px;padding:28px 5% 35px}.brand-hero{min-height:365px;position:relative;background:#11161c url('/app/service-hero.png') center center/cover;color:#fff;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#080b0fed,#080b0f55 65%,#080b0f22)}.brand-hero-copy{position:relative;padding:40px 35px 58px;z-index:1}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:900;color:#1677ff}.brand-hero .eyebrow{color:#49a2ff}.brand-hero h1{font-size:36px;line-height:1.14;font-weight:900;letter-spacing:-1.7px;margin:24px 0 18px}.brand-hero-copy>p:not(.eyebrow){font-size:12px;color:#c6cdd5;line-height:1.8}.primary{background:#1677ff;border-radius:2px;min-height:48px;color:#fff;font-weight:800;font-size:12px;padding:14px 22px;transition:background .2s,transform .2s}.primary:hover{background:#0962dc}.primary:active{transform:translateY(1px)}.primary span{margin-left:28px}.brand-hero .primary{margin-top:12px}.hero-caption{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #ffffff26;padding:13px 35px;font-size:8px;letter-spacing:1.5px;color:#a9b4c2;display:flex;justify-content:space-between}.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#11161c;color:#bdc6d1}.trust-strip > a{font-size:10px;padding:18px 16px;border-right:1px solid #303740}.trust-strip b{color:#49a2ff;font-size:9px;margin-right:10px}.section-head{margin:34px 0 17px;align-items:flex-end}.section-head .eyebrow{margin:0 0 9px}.section-head h2{font-size:24px;font-weight:900;letter-spacing:-1px}.system-label{font-size:8px;letter-spacing:1px;color:#75808d}.grid.dashboard{grid-template-columns:1.2fr 1fr;gap:0;border:1px solid #dce1e7}.card{border:1px solid #dce1e7;border-radius:0;padding:25px;background:white}.dashboard .card{border:0}.garage-card{border-right:1px solid #dce1e7!important;min-height:263px}.car-title .eyebrow{margin:0;color:#657180}.tag{font-size:8px;background:#edf3fc;color:#1760be;border-radius:2px;padding:6px 8px}.vehicle-name{font-size:24px;margin:24px 0 7px;letter-spacing:-1px}.plate{font-size:11px;margin:0;color:#657180}.vehicle-spec{display:grid;grid-template-columns:1fr 1fr;margin:22px 0;border-top:1px solid #dce1e7;border-bottom:1px solid #dce1e7}.vehicle-spec>div{padding:13px 0}.vehicle-spec>div+div{border-left:1px solid #dce1e7;padding-left:20px}.vehicle-spec span{display:block;letter-spacing:1px;font-size:8px;color:#657180}.vehicle-spec strong{display:block;font-size:11px;margin-top:7px;font-weight:600}.vehicle-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.vehicle-foot>span{font-size:9px;color:#657180}.outline{border-radius:2px;border-color:#697787;min-height:44px;font-size:10px;padding:11px 15px;background:transparent}.next-card{position:relative;background:#eaf0f7!important;display:flex;flex-direction:column;align-items:flex-start}.next-card>.eyebrow{margin:0;color:#52657a}.schedule-marker{position:absolute;right:25px;top:25px;font-size:8px;font-weight:800;letter-spacing:1px;color:#1760be}.next-card h2{font-size:22px;line-height:1.35;letter-spacing:-.8px;margin:25px 0 10px}.next-card>p{font-size:11px;color:#536375;margin:0 0 18px}.next-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:auto}.next-card small{font-size:9px;color:#596b80;margin-top:10px}.services{gap:0;border-right:1px solid #dce1e7}.service{background:white!important;border:1px solid #dce1e7;border-right:0;border-top:4px solid #1677ff;border-radius:0;padding:23px 20px;color:#080b0f;position:relative;min-height:200px;transition:background .2s}.service:hover{background:#eef5ff!important;border-color:#1677ff;transform:none}.service-no{display:block;font-size:8px;letter-spacing:1.5px;color:#5c6e84}.service .symbol{position:absolute;right:20px;top:17px;background:none;color:#1677ff;font-size:25px;width:30px;height:30px}.service h3{font-size:16px;margin:35px 0 9px;letter-spacing:-.5px;font-weight:800}.service p{color:#657180;font-size:10px;line-height:1.8}.service-action{display:flex;justify-content:space-between;border-top:1px solid #dce1e7;margin-top:20px;padding-top:12px;font-size:9px;font-weight:700}.banner{background:#11161c;color:#fff;border-radius:0;margin-top:26px;padding:24px;align-items:center}.banner .eyebrow{color:#49a2ff;margin:0 0 10px;font-size:8px}.banner strong{font-size:15px}.banner p{color:#a6b1bf;font-size:10px}.banner>span{font-size:24px;color:#49a2ff}.form-card{border-top:4px solid #1677ff}.form-card h2{font-weight:900}.notice{background:#edf2f8;color:#4b6077;border-radius:2px}input,select{border-radius:2px;background:#f7f9fc;border:1px solid #acb7c4;min-height:48px}input:focus,select:focus{outline:2px solid #1677ff;outline-offset:1px}.history-empty{border-top:4px solid #1677ff}.record{border-left:3px solid #1677ff}.danger{min-height:44px}.close{min-width:44px;min-height:44px}dialog{border-radius:2px;border-top:4px solid #1677ff}#toast{border-radius:2px;background:#11161c}footer{background:#080b0f;border-top:3px solid #1677ff;padding:24px 20px;color:#9ca7b4;font-size:9px}button:focus-visible,a:focus-visible{outline:2px solid #49a2ff;outline-offset:3px}
@media(max-width:1050px){.sidebar{width:195px}.workspace{margin-left:195px}.brand-hero h1{font-size:31px}.brand-hero-copy{padding-left:27px}.vehicle-foot{align-items:flex-start;flex-direction:column}.service{padding:20px 16px}.service h3{font-size:14px}}
@media(max-width:760px){.workspace{margin:0}header{height:68px;padding:0 20px}.breadcrumb{font-size:0}.mobile-wordmark{display:inline;color:#fff;letter-spacing:2px;font-size:23px;font-weight:900}.breadcrumb span{display:none}.install{font-size:10px;min-height:40px;padding:9px 12px}main{padding:0 0 26px}.brand-hero{min-height:390px;background-position:62% center}.hero-shade{background:linear-gradient(90deg,#080b0fe8,#080b0f6e),linear-gradient(0deg,#080b0fa6,transparent)}.brand-hero-copy{padding:35px 22px 65px}.brand-hero h1{font-size:32px;line-height:1.15;margin-top:65px;letter-spacing:-1.7px}.brand-hero .eyebrow{font-size:8px;letter-spacing:1.2px}.brand-hero-copy>p:not(.eyebrow){font-size:11px}.brand-hero .primary{margin-top:10px;min-width:190px}.hero-caption{padding:12px 22px;font-size:7px}.trust-strip > a{padding:14px 8px;text-align:center;font-size:8px;line-height:1.6}.trust-strip b{display:block;margin:0 0 4px;font-size:8px}.section-head{margin:29px 20px 15px}.section-head h2{font-size:23px}.section-head .eyebrow{font-size:8px}.system-label{display:none}.grid.dashboard{grid-template-columns:1fr;margin:0 20px;gap:0}.card{padding:23px}.garage-card{min-height:245px;border-right:0!important;border-bottom:1px solid #dce1e7!important}.vehicle-name{font-size:24px;margin-top:23px}.vehicle-foot{flex-direction:row;align-items:center}.vehicle-foot>span{font-size:8px}.next-card h2{font-size:23px;margin-top:22px}.next-card{min-height:265px}.services{display:grid;grid-template-columns:1fr;margin:0 20px;border-right:0}.service{border-right:1px solid #dce1e7;padding:22px;min-height:168px}.service+.service{margin-top:12px}.service h3{font-size:20px;margin:23px 0 8px}.service p{font-size:11px}.service .symbol{right:23px;top:37px;font-size:32px}.service-action{margin-top:20px}.banner{margin:25px 20px 0;padding:23px 20px}.banner strong{font-size:16px;line-height:1.6;display:block}.banner .eyebrow{font-size:7px}.banner p{font-size:10px}#app>h1,#app>p.eyebrow,#app>p.muted{margin-left:20px;margin-right:20px}#app>p.eyebrow{padding-top:24px}#app>.form-card,#app>.record,#app>.history-empty{margin:24px 20px}#mobile-nav{background:#11161c;border-top:1px solid #303944;padding:7px 6px calc(7px + env(safe-area-inset-bottom))}#mobile-nav a{background:transparent;color:#9ca7b4;border:0;border-radius:0;gap:4px;min-height:48px;padding:6px 0;font-size:9px}#mobile-nav a.active{color:#49a2ff;background:#182435;border:0}#mobile-nav .nav-icon{font-size:19px}#mobile-nav a.active{background:#1677ff;color:#fff;font-weight:800}footer{padding-bottom:100px;font-size:8px}.form-card{padding:23px}#app>h1{font-size:28px;letter-spacing:-1.3px}.row{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.nav-icon{display:grid;place-items:center;flex-shrink:0}.nav-icon svg{display:block;width:23px;height:23px}

@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:400;src:url('/app/material-symbols.ttf') format('truetype');font-display:block}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:22px;line-height:1;display:inline-block;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;vertical-align:middle;flex-shrink:0}.nav-icon .material-symbols-outlined{font-size:24px}.primary,.outline,.install,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary .material-symbols-outlined,.outline .material-symbols-outlined,.install .material-symbols-outlined{font-size:19px;margin:0}.next-card .primary .material-symbols-outlined{margin:0}.service .symbol{display:grid;place-items:center}.service .symbol .material-symbols-outlined{font-size:30px}.service-action .material-symbols-outlined{font-size:18px}.vehicle-spec .material-symbols-outlined{font-size:15px;margin-right:4px}.trust-strip .material-symbols-outlined{font-size:20px}.notice>.material-symbols-outlined{font-size:19px;margin-right:7px;color:#1677ff;vertical-align:-4px}label.field .material-symbols-outlined{font-size:18px;margin-right:7px;color:#5d7086;vertical-align:-4px}.empty-symbol .material-symbols-outlined{font-size:42px;color:#1677ff}.danger .material-symbols-outlined{font-size:18px}.close .material-symbols-outlined{font-size:23px}footer .material-symbols-outlined{font-size:12px;vertical-align:-2px}.banner>.material-symbols-outlined{font-size:26px;color:#49a2ff}@media(max-width:760px){.trust-strip b{min-height:22px}.trust-strip .material-symbols-outlined{font-size:20px}.vehicle-foot .outline{white-space:nowrap}}

.trust-strip > a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.trust-strip b{display:block;margin:0;line-height:1}.trust-strip .material-symbols-outlined{padding:0;border:0;line-height:1}.trust-strip > a:last-child{border-right:0}

.header-actions{display:flex;align-items:center;gap:18px}.account-link{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:11px;min-height:44px}.account-link .material-symbols-outlined{font-size:19px}.member-links{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin:24px 0;font-size:12px}.member-links>a:not(.primary):not(.outline){color:#1760be;text-decoration:underline;text-underline-offset:4px}.member-message{color:#ad3333;font-size:12px;line-height:1.8;min-height:20px}.member-note{font-size:10px;color:#657180;line-height:1.8;border-top:1px solid #dce1e7;padding-top:18px}.member-agree{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;margin-top:24px;color:#536375}.member-agree input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin-top:4px;accent-color:#1677ff}.member-booking{border-top:1px solid #dce1e7;padding:20px 0}.member-booking p{font-size:12px;color:#536375;overflow-wrap:anywhere}.member-card input{font-size:16px}.member-card button:disabled{opacity:.5;cursor:wait}@media(max-width:760px){.header-actions{gap:10px}.account-link{font-size:10px;gap:5px}.header-actions .install{font-size:9px;padding:8px}.header-actions .install .material-symbols-outlined{font-size:17px}.member-links{gap:12px}.member-agree{font-size:11px}}

.mobile-wordmark.app-logo{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:900;font-size:23px;letter-spacing:2px;text-decoration:none;min-height:44px;white-space:nowrap}.breadcrumb .chaen-stripe{display:inline-block;width:30px;height:4px;margin:0;background:linear-gradient(90deg,#1677ff 0 33%,#7bc1ff 33% 66%,#fff 66%);flex-shrink:0}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:0}.recovery-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:26px}.recovery-steps>span{font-size:9px;color:#738298;border-top:3px solid #dce1e7;padding-top:10px}.recovery-steps>span.on{border-color:#1677ff;color:#1760be}.app-coupon{border:1px solid #dce1e7;border-left:3px solid #1677ff;margin:18px 0;padding:22px}.app-coupon h2{font-size:36px;margin:18px 0 8px;color:#1677ff}.app-coupon h2 small{font-size:15px}.app-coupon p{font-size:12px}.app-coupon button{margin-top:8px}.app-logo:focus-visible{outline:2px solid #49a2ff;outline-offset:3px}@media(max-width:420px){header{padding:0 13px}.mobile-wordmark.app-logo{font-size:21px;gap:7px;letter-spacing:1px}.breadcrumb .chaen-stripe{width:23px}.header-actions{gap:8px}.header-actions .install{font-size:0;padding:8px}.header-actions .install .material-symbols-outlined{font-size:20px}.account-link{font-size:10px}}

/* CHAEN component patterns informed by Astryx Card, Radio List and App Shell. */
:root {
  --component-radius: 16px;
  --control-radius: 10px;
  --component-accent: #1677ff;
}

.brand-hero {
  border-radius: var(--component-radius);
  isolation: isolate;
}

.trust-strip {
  margin-top: 12px;
  border-radius: var(--control-radius);
  overflow: hidden;
}

.card, .banner, .app-coupon {
  border-radius: var(--component-radius);
}

.grid.dashboard {
  gap: 12px;
  border: 0;
}

.dashboard .card {
  border: 1px solid var(--line) !important;
}

.services {
  gap: 12px;
  border: 0;
}

.service, .service + .service {
  margin-top: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--component-radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.service .symbol {
  position: static;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #edf3fc;
  border-radius: var(--control-radius);
}

.service h3, .service p { margin: 0; }
.service-action { width: 100%; margin-top: auto; padding-top: 12px; }

.primary, .outline, .install {
  border-radius: var(--control-radius);
  min-height: 44px;
}

.primary:disabled { opacity: .55; cursor: wait; }
.primary:active:not(:disabled), .service:active { transform: scale(.985); }

.form-card input:not([type=checkbox]):not([type=radio]),
.form-card select, .form-card textarea {
  min-height: 46px;
  border-radius: var(--control-radius);
  padding-inline: 12px;
  font-size: 16px;
}

.form-card textarea { resize: vertical; }
.notice { border-radius: var(--control-radius); }

.service-choices {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.service-choices legend { margin: 0 0 8px; padding: 0; font-weight: 700; }
.service-choice-list { display: grid; gap: 8px; }
.service-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  cursor: pointer;
}
.service-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--component-accent); }
.service-choice:has(input:checked) { border-color: var(--component-accent); background: #edf3fc; }

#app :is(button, a, input, select, textarea):focus-visible,
header :is(button, a):focus-visible,
#mobile-nav a:focus-visible, #desktop-nav a:focus-visible {
  outline: 2px solid var(--component-accent);
  outline-offset: 3px;
}

#install-dialog {
  box-sizing: border-box;
  max-width: min(460px, calc(100% - 32px));
  border-radius: var(--component-radius);
}

@media (max-width: 760px) {
  .brand-hero { border-radius: 0 0 var(--component-radius) var(--component-radius); }
  .trust-strip { margin-inline: 16px; }
  .services { grid-template-columns: 1fr; }
  #mobile-nav a { border-radius: var(--control-radius); min-height: 48px; }
  #mobile-nav a[aria-current=page] { background: #182435; color: #49a2ff; }
  #install-dialog { inset: auto 0 0; width: 100%; max-width: 100%; margin: 0; border-radius: 20px 20px 0 0; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .primary, .outline, .service { transition: none; }
  .primary:active, .service:active { transform: none; }
}

.booking-note { box-sizing: border-box; width: 100%; font: inherit; padding: 12px; border: 1px solid #acb7c4; }
/* Icon tiles and selection states for service choices and navigation. */
.service-choice {
  min-height: 64px;
  gap: 12px;
}
.choice-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--control-radius);
  background: #edf3fc;
  color: #1760be;
}
.choice-copy {
  flex: 1;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.choice-copy small {
  color: var(--muted);
  font-size: 12px;
}
.service-choice input[type=radio] {
  order: 1;
  flex: 0 0 18px;
  min-height: 0;
}
.service-choice:has(input:checked) .choice-icon {
  background: #1677ff;
  color: white;
}
@media (hover: hover) {
  .service-choice:hover { border-color: var(--component-accent); }
}
.history-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.history-heading h2 { margin: 0; }
.service-action > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf3fc;
  color: #1760be;
}
.service-action { align-items: center; }

@media (max-width: 760px) {
  #mobile-nav a[aria-current=page] { background: transparent; }
  #mobile-nav .nav-icon {
    width: min(48px, 100%);
    height: 29px;
    border-radius: 999px;
  }
  #mobile-nav a[aria-current=page] .nav-icon { background: #182435; }
}

/* Reading size, spacing and touch targets for the mobile app. */
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  .account-link { font-size: 12px; }
  .header-actions .install { min-width: 44px; min-height: 44px; }
  .brand-hero h1 {
    font-size: clamp(26px, 7.5vw, 38px);
    line-height: 1.22;
    margin-top: 28px;
  }
  .brand-hero { min-height: 0; }
  .brand-hero-copy { padding-block: 36px; }
  .brand-hero-copy > p:not(.eyebrow) {
    max-width: 26ch;
    font-size: 15px;
    color: #e2e7ed;
  }
  .trust-strip > a {
    font-size: 11px;
    padding: 12px 6px;
    word-break: keep-all;
  }

  .service p, .plate, .next-card > p, .banner p,
  .form-card > p, #app > p.muted, .member-booking p {
    font-size: 15px;
    line-height: 1.6;
  }
  .service-action, .outline, .member-links { font-size: 14px; }
  .primary { font-size: 15px; }
  .next-card small, .vehicle-foot > span, .member-note,
  .member-message, .notice, footer {
    font-size: 13px;
    line-height: 1.6;
  }

  .vehicle-foot { flex-wrap: wrap; }
  .next-card .primary { box-sizing: border-box; }
  #app > .form-card { margin-inline: 16px; padding: 18px; }
  .form-card :is(.field, legend, .choice-copy strong) { font-size: 15px; }
  .choice-copy small { font-size: 13px; }
  .form-card input:not([type=checkbox]):not([type=radio]),
  .form-card select, .form-card textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
  }
  .member-agree { font-size: 14px; line-height: 1.55; }
  .member-agree input { width: 22px; height: 22px; }
  .booking-feedback:empty { min-height: 0; margin: 0; }
  #booking-form .wide { margin-top: 18px; }
  .member-links > a { display: inline-flex; align-items: center; min-height: 44px; }

  #mobile-nav a {
    min-height: 52px;
    font-size: clamp(11px, 3.1vw, 13px);
    line-height: 1.25;
    text-align: center;
  }
}

.trust-strip > a {
  min-width: 0;
  min-height: 84px;
  margin: 0;
  border-radius: 0;
  color: #d4dce6;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}
.trust-strip > a > .material-symbols-outlined { color: #49a2ff; }
.trust-strip > a > .material-symbols-outlined:last-child { font-size: 16px; }
.trust-strip > a:hover, .trust-strip > a:focus-visible { background: #182435; color: #fff; }
#app .trust-strip > a:focus-visible { outline-offset: -4px; }

.guide-page { max-width: 700px; margin: 0 auto; }
.guide-back, .guide-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #1760be;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-intro { margin: 12px 0 20px; }
.guide-intro h1 {
  margin: 12px 0 8px;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.25;
  word-break: keep-all;
}
.guide-intro p, .guide-sections p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.guide-sections section + section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.guide-sections h2 { font-size: 18px; margin: 0 0 6px; }
.guide-service-link { margin-top: 4px; }
.guide-action { margin-top: 16px; }

@media (max-width: 760px) {
  .trust-strip > a { padding-inline: 6px; font-size: 12px; }
  .guide-page { margin-inline: 16px; padding-top: 12px; }
  .guide-sections { padding: 18px; }
  .guide-action { display: flex; width: 100%; box-sizing: border-box; }
}

#visit-date-trigger:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #acb7c4;
  border-radius: var(--control-radius);
  background: #f7f9fc;
  color: var(--ink);
  text-align: left;
  font-size: 16px;
}
#visit-date-trigger .material-symbols-outlined { color: #1760be; }
#visit-calendar {
  box-sizing: border-box;
  width: min(400px, calc(100% - 24px));
  max-width: none;
  padding: 16px;
  border-radius: var(--component-radius);
}
.calendar-header, .calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.calendar-header h2 { font-size: 19px; margin: 0; }
.calendar-month-nav { margin-block: 8px; }
.calendar-header button, .calendar-month-nav button, .calendar-days button {
  min-height: 44px;
  border: 0;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink);
}
.calendar-header button, .calendar-month-nav button { min-width: 44px; }
.calendar-month-nav button { font-size: 26px; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar-weekdays { padding-block: 6px; color: var(--muted); font-size: 13px; }
.calendar-days button { font-size: 15px; padding: 0; }
.calendar-days button[aria-current=date] { box-shadow: inset 0 0 0 1px #1677ff; }
.calendar-days button[aria-pressed=true] { background: #1760be; color: white; font-weight: 700; }
#visit-calendar button:disabled { color: #88919c; cursor: default; }
#visit-calendar p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  #visit-calendar {
    inset: auto 0 0;
    width: min(100%, 480px);
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    padding: 14px 6px max(18px, env(safe-area-inset-bottom));
  }
  #visit-calendar :is(.calendar-header, p) { margin-inline: 8px; }
  #visit-calendar button:focus-visible { outline-offset: -2px; }
}

.booking-status { margin-top: 0; }
.booking-status .outline { margin-inline-start: 8px; }
@media (max-width: 760px) {
  .booking-status .outline { display: flex; margin: 8px 0 0; }
  #mobile-nav a[aria-current=location] { background: transparent; color: #49a2ff; }
  #mobile-nav a[aria-current=location] .nav-icon { background: #182435; }
}

/* Button hierarchy, icon sizing and action groups adapted from Astryx. */
:root {
  --action-size: 3rem;
  --action-size-large: 3.5rem;
  --action-text: .9375rem;
  --action-text-large: 1.0625rem;
  --action-icon: 1.125rem;
  --action-icon-large: 1.25rem;
  --action-gap: .5rem;
}
.primary, .outline, .danger {
  box-sizing: border-box;
  min-height: var(--action-size);
  max-width: 100%;
  padding: .625rem 1rem;
  gap: var(--action-gap);
  font-size: var(--action-text);
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  border-radius: var(--control-radius);
}
.primary.wide, .brand-hero .primary, .next-card .primary, .guide-action {
  min-height: var(--action-size-large);
  font-size: var(--action-text-large);
}
.primary { background-color: #0962dc; }
.primary:hover { background-color: #0957c1; }
.outline { border-color: #acb7c4; color: var(--ink); }
.outline:hover { background: #edf3fc; }
.danger { color: #ad3333; }
.danger:hover { background: #fff0f0; }
:is(.primary, .outline, .danger) > .material-symbols-outlined {
  font-size: var(--action-icon);
  margin: 0;
}
:is(.primary.wide, .brand-hero .primary, .next-card .primary, .guide-action) > .material-symbols-outlined {
  font-size: var(--action-icon-large);
}
.primary:disabled, .outline:disabled { opacity: .55; }
.action-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem;
}
.action-group > a { margin: 0; }
.guide-back > .material-symbols-outlined,
.calendar-month-nav [data-month="-1"] .material-symbols-outlined { transform: rotate(180deg); }
.guide-back > .material-symbols-outlined, .guide-service-link > .material-symbols-outlined {
  font-size: var(--action-icon);
}
.calendar-header button, .calendar-month-nav button, #install-dialog .close {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  flex-shrink: 0;
}
:is(.calendar-header, .calendar-month-nav) button .material-symbols-outlined,
#install-dialog .close .material-symbols-outlined { font-size: var(--action-icon-large); }
:is(.calendar-header, .calendar-month-nav) button:hover:not(:disabled),
#install-dialog .close:hover { background: #edf3fc; }
.service { text-align: left; }
.service-action { font-size: var(--action-text); }
.service-action > .material-symbols-outlined { flex: 0 0 28px; }

@media (max-width: 760px) {
  .brand-hero .primary, .garage-card .outline, #clear-data,
  #app > .form-card > .primary { width: 100%; }
  .brand-hero .primary { margin-top: 16px; }
  .vehicle-foot { align-items: stretch; gap: .75rem; }
  .vehicle-foot > span { width: 100%; }
  .action-group { grid-template-columns: 1fr; }
  .service-choice { min-height: 4rem; }
  #mobile-nav .nav-icon .material-symbols-outlined { font-size: var(--action-icon-large); }
  #mobile-nav a { min-height: 3.5rem; font-weight: 600; }
}

#vehicle-manager { display: contents; }
@media (max-width: 760px) {
  #vehicle-manager > h1, #vehicle-manager > p {
    margin-inline: 20px;
  }
  #vehicle-manager > .eyebrow { padding-top: 24px; }
  #vehicle-manager > h1 { font-size: 28px; letter-spacing: -1.3px; }
  #vehicle-manager > .form-card { margin: 24px 16px; padding: 18px; }
}
#vehicle-feedback:empty { min-height: 0; margin: 0; }
#vehicle-manager .notice a { text-decoration: underline; text-underline-offset: 2px; }

.vehicle-list ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.vehicle-list .vehicle-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
}
.vehicle-pick strong, .vehicle-pick small { display: block; }
.vehicle-pick strong { font-size: 16px; }
.vehicle-pick small { color: var(--muted); font-size: 13px; }
.vehicle-pick[aria-pressed=true] { border-color: #1677ff; background: #edf3fc; }
.vehicle-list .outline { width: 100%; }

.booking-vehicle-picker {
  margin-block: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #edf3fc;
}
.booking-vehicle-picker .field { margin-top: 0; }
#booking-vehicle { box-sizing: border-box; min-height: 48px; }
