@import url("/illustration-motion.css?v=1");
:host {
  display: block;
  width: 100%;
  color: #0b0b0d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  --muted: #626571;
  --border: #d7dbe3;
  --surface: #f5f5f7;
}
*, *::before, *::after { box-sizing: border-box; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-underline-offset: 4px; }
button, a, input, select { outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #17171a; }
h2:focus, .error-message:focus { outline: none; }
svg { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
h2, h3, p, dl, dd { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.panel {
  min-height: 580px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(20 24 35 / 4%);
  display: flex;
  flex-direction: column;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}
.panel-header h2 {
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 720;
}
.progress { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.step {
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  color: #737680;
}
.step.active { color: #111; font-weight: 650; }
.step-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #f0f0f2;
  color: #29292e;
}
.step.active .step-number { background: #080809; color: #fff; }
.step-number svg { width: 19px; height: 19px; }
.step-line { display: block; width: 20px; height: 1px; background: #c9cbd0; }
.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.device-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  aspect-ratio: 1 / 1.03;
  padding: 11px 10px 15px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
}
.device-card:hover { border-color: #777b83; background: #fcfcfd; }
.device-card[aria-pressed="true"] { border-color: #101014; box-shadow: inset 0 0 0 1px #101014; }
.device-card strong { font-size: clamp(14px, 1.45vw, 19px); font-weight: 650; white-space: nowrap; letter-spacing: -.02em; }
.device-art {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("/assets/hero-devices.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}
.art-phone { background-position: 0% 0%; }
.art-computer { background-position: 50% 0%; }
.art-tablet { background-position: 100% 0%; }
.art-console { background-position: 0% 100%; }
.art-watch { background-position: 50% 100%; }
.device-card .device-art { width: min(100%, 175px); margin-bottom: 2px; }
.selection-check {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 23px;
  height: 23px;
  background: #080809;
  border-radius: 50%;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}
.selection-check svg { width: 17px; height: 17px; }
.device-card[aria-pressed="true"] .selection-check { display: flex; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.device-fields { margin-top: 6px; }
label, legend { display: block; font-weight: 620; font-size: 16px; }
label { min-width: 0; }
input:not([type="checkbox"]), select {
  display: block;
  width: 100%;
  height: 47px;
  border: 1px solid #cdd2dc;
  border-radius: 6px;
  background-color: #fff;
  padding: 10px 13px;
  margin-top: 7px;
  color: #26272c;
  font-size: 16px;
  font-weight: 400;
  min-width: 0;
}
input::placeholder { color: #747782; opacity: 1; }
select {
  appearance: none;
  padding-right: 38px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23262629' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
select:disabled { background-color: #f8f8fa; color: #9698a1; }
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e0e3e9;
}
.footer-note { color: var(--muted); font-size: 15px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid #080809;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: none;
}
.button.primary { background: #080809; color: #fff; }
.button.primary:hover:not(:disabled) { background: #28282c; }
.button.secondary { background: #fff; color: #111; }
.button.secondary:hover:not(:disabled) { background: #f5f5f7; }
.button:disabled { opacity: .4; }
.footer-actions { display: flex; align-items: center; gap: 12px; }
.back-button, .text-button, .text-link {
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
  color: #141418;
}
.back-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 16px; }
.text-button { padding: 10px 0; }
.text-link { text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.text-link:disabled { opacity: .5; }
.booking-shortcut { margin: 22px 0 0; text-align: center; font-size: 16px; }
.booking-shortcut a { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.booking-shortcut svg { width: 21px; height: 21px; }
.device-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 18px;
  min-height: 80px;
  background: var(--surface);
}
.device-strip > .device-art { width: 67px; }
.device-strip > div { display: flex; flex-direction: column; min-width: 0; }
.device-strip strong { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.device-strip span:not(.device-art) { color: var(--muted); font-size: 15px; }
.device-strip .text-link { margin-left: auto; flex: 0 0 auto; }
.tier-fieldset legend { margin-bottom: 11px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  text-align: left;
  min-height: 133px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.tier-card[aria-pressed="true"] { border-color: #080809; box-shadow: inset 0 0 0 1px #080809; }
.radio-dot { display: block; flex: 0 0 auto; width: 19px; height: 19px; border: 1.5px solid #777; border-radius: 50%; margin-top: 2px; }
.tier-card[aria-pressed="true"] .radio-dot { border-color: #111; background: #111; box-shadow: inset 0 0 0 4px #fff; }
.tier-content { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.tier-content > strong { font-size: 19px; font-weight: 650; line-height: 1.15; }
.tier-price { font-size: 27px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.tier-price.unpriced { font-size: 17px; line-height: 1.3; letter-spacing: 0; }
.tier-content small { font-size: 13px; color: var(--muted); font-weight: 400; }
.repair-note { display: flex; align-items: flex-start; gap: 10px; padding-top: 13px; color: var(--muted); max-width: 600px; font-size: 15px; }
.estimate-grid, .delivery-grid, .result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; flex: 1; align-items: stretch; }
.summary-card { background: var(--surface); border-radius: 10px; padding: 25px; min-width: 0; }
.device-summary { display: flex; align-items: center; gap: 12px; }
.summary-art { width: 40%; max-width: 190px; }
.summary-details { min-width: 0; }
.summary-details h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 10px; font-weight: 680; }
.summary-details p { color: var(--muted); font-size: 17px; line-height: 1.45; }
.summary-details .text-link { margin-top: 26px; }
.estimate-details { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 8px 0; }
.eyebrow { display: block; color: var(--muted); font-size: 14px; font-weight: 550; letter-spacing: .025em; text-transform: uppercase; }
.amount { display: block; font-size: clamp(44px, 4.6vw, 69px); line-height: 1.1; font-weight: 730; letter-spacing: -.045em; margin-top: 8px; }
.amount.unpriced { font-size: clamp(25px, 3vw, 39px); line-height: 1.18; }
.price-note { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.repair-facts { display: flex; flex-direction: column; gap: 13px; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 23px; }
.repair-facts > div, .booking-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.repair-facts dt, .booking-facts dt { font-weight: 650; flex: 0 0 auto; }
.repair-facts dd { text-align: right; color: var(--muted); }
.next-note { font-size: 15px; color: var(--muted); margin-top: 25px; }
.delivery-grid { grid-template-columns: .91fr 1.09fr; gap: 28px; }
.price-summary { display: flex; flex-direction: column; justify-content: center; }
.price-summary .amount { font-size: clamp(38px, 4.3vw, 62px); }
.price-summary .amount.unpriced { font-size: 30px; }
.summary-divider { height: 1px; background: var(--border); margin: 20px 0; }
.price-summary .summary-details h3 { font-size: 23px; }
.price-summary .summary-details .text-link { margin-top: 14px; }
.delivery-form { display: flex; flex-direction: column; gap: 15px; justify-content: center; min-width: 0; }
.delivery-methods legend { margin-bottom: 10px; font-size: 17px; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #6c6f79; border-radius: 6px; overflow: hidden; }
.segments button { min-height: 43px; background: #fff; border: 0; border-right: 1px solid #c4c7cf; font-weight: 650; }
.segments button:last-child { border-right: 0; }
.segments button[aria-pressed="true"] { background: #080809; color: #fff; }
.segments button:disabled { opacity: .4; }
.segments button:focus-visible { outline-offset: -4px; outline-color: #76767f; }
.delivery-form .fields { gap: 14px; }
.fields.single-field { grid-template-columns: 1fr; }
.sms-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.4; font-weight: 400; color: #4f525b; }
.sms-consent input { margin: 1px 0 0; width: 17px; height: 17px; accent-color: #111; flex: 0 0 auto; }
.contact-note, .channel-note { font-size: 13px; line-height: 1.4; color: var(--muted); }
.channel-note .text-link { font-size: inherit; }
.booking-summary { display: flex; align-items: center; justify-content: center; gap: 38px; background: var(--surface); padding: 24px 35px; border-radius: 10px; flex: 1; }
.booking-art { width: 220px; }
.booking-summary > div { min-width: 0; }
.booking-summary h3 { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.booking-facts { display: flex; flex-direction: column; gap: 13px; margin: 24px 0; }
.booking-facts > div { justify-content: flex-start; }
.booking-facts dt { width: 140px; }
.booking-facts dd { color: var(--muted); }
.booking-next { text-align: center; color: var(--muted); font-size: 17px; }
.result-details { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; padding: 6px 0; }
.result-details h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.03em; }
.result-details > p { color: var(--muted); }
.saved-mark { display: grid; place-items: center; background: #111; border-radius: 50%; color: #fff; width: 42px; height: 42px; }
.saved-mark svg { width: 27px; height: 27px; }
.delivery-results { display: flex; flex-direction: column; gap: 15px; margin: 5px 0; }
.delivery-result { display: flex; gap: 10px; align-items: flex-start; }
.delivery-result > div { display: flex; flex-direction: column; gap: 3px; }
.delivery-result strong { font-weight: 600; font-size: 15px; }
.delivery-result div > span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.status-symbol { color: #737680; }
.status-symbol.accepted, .status-symbol.delivered { color: #111; }
.status-symbol.failed { color: #9b4a40; }
.error-message { color: #9a2929; background: #fff7f7; border-radius: 5px; padding: 10px 12px; margin-top: 16px; font-size: 14px; }
.error-message .text-link { color: inherit; font-size: inherit; }
.loading-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--muted); }
.spinner { display: inline-block; width: 19px; height: 19px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; flex: 0 0 auto; }
@media (max-width: 1050px) {
  .panel { padding: 24px; min-height: 555px; }
  .panel-header h2 { font-size: 27px; }
  .progress { gap: 8px; }
  .step { font-size: 13px; gap: 6px; }
  .step-line { width: 13px; }
  .step-number { width: 26px; height: 26px; }
  .device-card { padding: 8px 7px 13px; }
  .device-card strong { font-size: 15px; }
  .summary-card { padding: 22px; }
  .device-summary { gap: 3px; }
  .summary-details h3 { font-size: 21px; }
  .summary-details p { font-size: 15px; }
  .amount { font-size: 51px; }
  .tier-card { gap: 9px; padding: 15px 12px; }
  .tier-price { font-size: 24px; }
  .footer-actions { gap: 9px; }
  .footer-actions .button { padding: 11px 16px; font-size: 14px; }
  .booking-art { width: 180px; }
}
@media (max-width: 760px) {
  .panel { padding: 21px; min-height: 0; border-radius: 11px; }
  .panel-header { flex-direction: column; align-items: flex-start; gap: 17px; margin-bottom: 23px; }
  .panel-header h2 { font-size: 26px; }
  .progress { gap: 11px; }
  .step { font-size: 14px; }
  .step-line { width: 20px; }
  .device-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .device-card { grid-column: span 2; aspect-ratio: 1 / 1.04; padding: 8px 7px 13px; }
  .device-card:nth-child(4) { grid-column: 2 / span 2; }
  .device-card strong { font-size: 14px; }
  .device-card .device-art { max-width: 160px; }
  .selection-check { width: 20px; height: 20px; right: 7px; top: 7px; }
  .selection-check svg { width: 15px; height: 15px; }
  .fields { gap: 14px; }
  .device-fields { margin-top: 5px; }
  .panel-footer { align-items: stretch; flex-wrap: wrap; gap: 14px; }
  .footer-note { flex-basis: 100%; font-size: 14px; }
  .view-device .panel-footer .button { width: 100%; }
  .footer-actions { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .footer-actions .button { font-size: 16px; min-height: 47px; }
  .view-estimate .panel-footer { flex-direction: column-reverse; }
  .view-estimate .back-button { align-self: flex-start; }
  .estimate-grid, .delivery-grid, .result-grid { grid-template-columns: 1fr; gap: 23px; }
  .estimate-details { padding: 0; }
  .summary-art { width: 130px; }
  .device-summary { gap: 15px; padding: 17px; }
  .summary-details .text-link { margin-top: 17px; }
  .summary-details h3 { font-size: 23px; }
  .amount { font-size: 52px; }
  .price-summary .amount { font-size: 45px; }
  .price-summary .summary-details h3 { font-size: 21px; }
  .price-summary { padding: 22px; }
  .summary-divider { margin: 18px 0; }
  .tier-card { padding: 14px 11px; gap: 9px; }
  .tier-content > strong { font-size: 16px; }
  .tier-price { font-size: 23px; }
  .tier-content small { font-size: 12px; }
  .radio-dot { width: 16px; height: 16px; }
  .device-strip { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 9px; padding: 7px 10px; }
  .device-strip > .device-art { width: 48px; }
  .device-strip strong { font-size: 17px; }
  .device-strip .text-link { font-size: 13px; grid-column: 2; justify-self: start; margin-left: 0; }
  .booking-summary { gap: 18px; padding: 22px; align-items: flex-start; }
  .booking-art { width: 130px; }
  .booking-summary h3 { font-size: 24px; }
  .booking-facts { gap: 12px; margin: 19px 0; font-size: 14px; }
  .booking-facts > div { flex-direction: column; gap: 2px; }
  .booking-facts dt { width: auto; }
  .booking-next { font-size: 15px; }
  .booking-shortcut { font-size: 14px; margin-top: 20px; }
  .loading-panel { min-height: 440px; }
}
@media (max-width: 480px) {
  .panel { padding: 18px 14px; }
  .panel-header h2 { font-size: 25px; }
  .progress { width: 100%; justify-content: space-between; gap: 5px; }
  .step { font-size: 13px; gap: 6px; }
  .step-line { width: 15px; }
  .step-number { width: 25px; height: 25px; }
  .device-grid { gap: 7px; }
  .device-card { padding: 7px 3px 11px; border-radius: 7px; }
  .device-card strong { font-size: 11.5px; letter-spacing: -.025em; }
  .selection-check { width: 17px; height: 17px; right: 5px; top: 5px; }
  .selection-check svg { width: 13px; height: 13px; }
  .fields { grid-template-columns: 1fr; gap: 14px; }
  .device-fields { margin-top: 7px; }
  label { font-size: 15px; }
  .tier-grid { grid-template-columns: 1fr; gap: 10px; }
  .tier-card { min-height: 0; padding: 15px; gap: 12px; }
  .tier-content { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 7px; }
  .tier-content > strong { font-size: 17px; }
  .tier-content small { grid-column: 1 / -1; }
  .tier-price { font-size: 23px; }
  .tier-price.unpriced { font-size: 14px; max-width: 150px; text-align: right; }
  .device-strip { gap: 8px; }
  .device-strip > div { flex: 1; }
  .device-strip .text-link { margin: 0 0 5px 0; }
  .summary-art { width: 98px; }
  .summary-details h3 { font-size: 20px; }
  .summary-details p { font-size: 14px; }
  .device-summary { gap: 10px; padding: 18px 12px; }
  .repair-facts { font-size: 14px; }
  .button { padding: 12px 16px; font-size: 14px; gap: 8px; }
  .back-button { font-size: 14px; }
  .view-delivery .panel-footer, .view-booking .panel-footer, .view-result .panel-footer { flex-direction: column-reverse; }
  .view-delivery .panel-footer .button, .view-booking .panel-footer .button, .view-result .panel-footer .button { width: 100%; }
  .view-delivery .panel-footer .back-button, .view-booking .panel-footer .back-button { align-self: flex-start; }
  .booking-summary { flex-direction: column; gap: 10px; }
  .booking-art { align-self: center; width: 145px; }
  .booking-summary h3 { font-size: 23px; }
  .booking-facts > div { flex-direction: row; align-items: baseline; gap: 12px; }
  .booking-facts dt { width: 105px; flex: 0 0 auto; }
  .booking-shortcut { line-height: 1.8; }
}

.panel { min-height: 0; padding: clamp(16px,2vw,26px); border-color:#dedee2; border-radius:18px; box-shadow:0 6px 22px #17172112; }
.panel-header {margin-bottom:15px}
.panel-header h2 {font-size:clamp(19px,2vw,25px)}
.step {font-size:13px}
.step-number {width:23px;height:23px}
.step-line {width:15px}
.stage {gap:13px}
.device-art {background-size:contain;background-position:center;mix-blend-mode:multiply}
.art-phone {background-image:url('/assets/home-phone.webp')}
.art-computer {background-image:url('/assets/home-computer.webp')}
.art-tablet {background-image:url('/assets/home-tablet.webp')}
.art-console {background-image:url('/assets/home-console.webp')}
.art-watch {background-image:url('/assets/home-watch.webp')}
.device-card {aspect-ratio:1.08;padding:6px;border-radius:10px;transition:box-shadow .18s,border-color .18s}
.device-card .device-art {width:96%;aspect-ratio:1.32;transition:transform .2s ease}
.device-card strong {font-size:clamp(12px,1.15vw,16px)}
@media(hover:hover){.device-card:hover .device-art {transform:translateY(-2px)}}
.selection-check {width:19px;height:19px;top:6px;right:6px}
.device-fields {margin:0}
.device-fields label {font-size:13px}
.device-fields select {height:39px;padding-block:6px;margin-top:4px}
.panel-footer {margin-top:13px;padding-top:12px}
.footer-note,.booking-shortcut {font-size:14px}
.button {border-radius:9px}
@media(max-width:600px){.device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.device-card strong{font-size:12px}.device-card{min-height:78px}.device-card .device-art{width:min(100%,82px)}.device-fields select{font-size:16px}.panel-header{gap:10px}.panel-footer{align-items:stretch}.booking-shortcut{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.device-card,.device-card .device-art{transition:none}.device-card:hover .device-art{transform:none}}
.view-device { padding:clamp(14px,1.6vw,22px);border:1px solid #d9d9dc;border-radius:16px;box-shadow:0 1px 4px #11111105 }
.view-device .panel-header {margin-bottom:12px}
.view-device .panel-header h2 {font-size:clamp(17px,1.4vw,20px);letter-spacing:-.025em}
.view-device .device-grid {gap:8px}
.view-device .device-card {aspect-ratio:1/1.03;border-radius:12px;padding:5px 3px 10px;background:white;border-color:#dedee0}
.view-device .device-card[aria-pressed=true] {border-color:#171719;box-shadow:none}
.view-device .device-art {width:min(90%,175px);aspect-ratio:1;margin:0;background-position:center}
.device-art.art-phone {background-image:url('/assets/illustrated-phone.webp')}
.device-art.art-computer {background-image:url('/assets/illustrated-computer.webp')}
.device-art.art-tablet {background-image:url('/assets/illustrated-tablet.webp')}
.device-art.art-console {background-image:url('/assets/charcoal-device-controller.webp')}
.device-art.art-watch {background-image:url('/assets/illustrated-watch.webp')}
.device-card .selection-check {z-index:1}
.view-device .device-card strong {font-size:clamp(11px,1vw,14px)}
.view-device .device-fields {grid-template-columns:1fr 1fr auto;align-items:end;gap:9px}
.view-device .device-fields select,.view-device .device-fields .button {height:40px;min-height:40px;border-radius:6px;font-size:14px}
.view-device .device-fields .button {padding:0 13px}
@media(max-width:600px){.view-device .device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.view-device .device-card{aspect-ratio:auto}.view-device .device-art{width:min(100%,78px)}.view-device .device-fields{grid-template-columns:1fr 1fr}.view-device .device-fields .button{grid-column:1/-1}.view-device .device-fields select{font-size:16px}}
:host {font-family:var(--reference-type,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif)}

@media(min-width:701px){.view-device .device-grid {grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}}
.view-device .device-card:nth-child(n) {grid-column:auto}
@media(max-width:700px){
  .view-device .device-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .view-device .device-card {aspect-ratio:1.08;min-height:0}
  .view-device .device-art {width:min(82%,112px)}
}
@media(max-width:440px){
  .view-device .device-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .view-device .device-card {aspect-ratio:1.42}
  .view-device .device-art {width:min(64%,80px)}
}

.view-device {padding:clamp(14px,1.7vw,22px)}
.view-device .panel-header {margin:0 0 16px}
.view-device .device-grid {gap:10px}
.view-device .device-card:nth-child(n) {aspect-ratio:auto;height:clamp(104px,9.15vw,124px);padding:6px;gap:4px;border-radius:10px}
.device-card .device-art {position:relative}
.view-device .device-art {width:100%;height:clamp(62px,5.9vw,80px);aspect-ratio:auto;background-size:contain;background-position:center}
.device-card .device-art:before {content:"";position:absolute;left:50%;top:50%;height:90%;aspect-ratio:1;transform:translate(-50%,-50%);background:#f4f4f5;border-radius:50%;z-index:-1}
.device-card {isolation:isolate}
.device-card .device-art {mix-blend-mode:normal}
.device-art.art-phone {background-image:url('/assets/charcoal-device-phone.webp')}
.device-art.art-computer {background-image:url('/assets/charcoal-device-laptop.webp')}
.device-art.art-tablet {background-image:url('/assets/charcoal-device-tablet.webp')}
.device-art.art-console {background-image:url('/assets/charcoal-device-controller.webp')}
.device-art.art-watch {background-image:url('/assets/charcoal-device-watch.webp')}
.view-device .device-fields {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.view-device .device-card strong,.view-device .device-fields label,.view-device .footer-note,.booking-shortcut {font-size:12px}
.view-device .panel-footer {border-top:1px solid #ddd;margin-top:13px;padding-top:12px}
.view-device .button {min-height:44px;border-radius:7px;font-size:13px}
@media(max-width:580px){.view-device .panel-header{align-items:flex-start;gap:8px}.view-device .progress{width:auto}.view-device .step{font-size:11px}.view-device .step-number{width:18px;height:18px}.view-device .step-line{width:9px}.view-device .device-fields{gap:8px}.view-device .device-card:nth-child(n){height:96px}.view-device .device-art{height:59px}.view-device .panel-footer{align-items:center}.view-device .footer-note{max-width:44%}}
.device-card .device-art:before {display:none}
.view-device .device-card:nth-child(n) {background:#fff radial-gradient(circle at 50% 42%,#f4f4f5 0 32%,transparent 33%)}

/* Keep the device and its selection indicator on separate visual layers. */
.view-device .device-card:nth-child(n){
  background:#fff radial-gradient(circle at 50% 42%,#e0e0e3 0 31%,transparent 32%);
}
/* A hover previews the same check and outline as a committed choice. */
.view-device .device-card {
  --marker-fill: #e8e8ea;
  --tick-opacity: 0;
}
.view-device .device-card[aria-pressed=true] {
  --marker-fill: #171719;
  --tick-opacity: 1;
}
.view-device .device-card .selection-check {
  display: grid;
  place-items: center;
  top: 7px;
  right: 7px;
  width: 15px;
  height: 15px;
  background: var(--marker-fill);
  pointer-events: none;
  transition: background-color .16s ease;
}
.view-device .selection-check svg {
  width: 11px;
  height: 11px;
  opacity: var(--tick-opacity);
  transition: opacity .16s ease;
}
@media (hover: hover) and (pointer: fine) {
  .view-device .device-card:hover {
    --marker-fill: #171719;
    --tick-opacity: 1;
    border-color: #171719;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .view-device .device-card {
    transition: transform .18s ease-out, border-color .16s ease;
  }
  .view-device .device-card:hover {
    transform: scale(1.025);
    z-index: 1;
  }
}
.view-device .device-art{max-width:calc(100% - 22px);background-size:contain}
.portal-dialog.iphone-screen-dialog {
 width:min(860px,calc(100vw - 24px)); max-width:calc(100vw - 24px);
 border:1px solid #d6d6da; border-radius:12px!important; background:#fff;
 color:#141414; font-family:inherit; box-shadow:0 6px 24px #1c202622;
}
.iphone-screen-dialog::backdrop { background:#272a312d; backdrop-filter:blur(2px); }
.iphone-screen-dialog > .portal-dialog-header { padding:11px 16px 11px 21px; background:white; border-bottom:1px solid #d4d4d7; }
.iphone-screen-dialog > .portal-dialog-header h2 { font-size:20px; line-height:1.25; font-weight:650; letter-spacing:-.5px; }
.iphone-screen-dialog > .portal-dialog-header > button { height:28px; width:28px; border:0; background:transparent; color:#111; }
.iphone-screen-dialog > .portal-dialog-body { padding:0; }
.screen-choice-intro { padding:15px 21px 17px; }
.screen-choice-intro h3 { margin:0; font-size:20px; line-height:1.25; font-weight:650; letter-spacing:-.45px; }
.screen-choice-intro p { margin:2px 0 0; color:#6b6b72; font-size:15px; line-height:1.35; }
.screen-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; margin:0; padding:0 20px 19px; border:0; min-width:0; }
.screen-choice-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); padding:0; border:0; }
.screen-choice-card { display:flex; flex-direction:column; min-width:0; border:1px solid #cdccd0; border-radius:9px!important; background:white; overflow:hidden; }
.screen-choice-card { --quality-accent:#5f6267; }
.screen-choice-card[data-tone=lavender] { --quality-accent:#60388e; }
.screen-choice-card[data-tone=gold] { --quality-accent:#805e20; }
.screen-choice-card[data-selected=true] { border-color:var(--quality-accent); box-shadow:0 0 0 1px var(--quality-accent); }
.screen-choice-card:has(input:focus-visible) { outline:2px solid var(--quality-accent); outline-offset:3px; }
.screen-choice-label { display:flex; flex:1; flex-direction:column; min-width:0; cursor:pointer; }
.screen-choice-banner { display:flex; align-items:center; justify-content:space-between; gap:5px; min-height:39px; padding:6px 16px; box-sizing:border-box; background:linear-gradient(110deg,#f1f1f2,#ebebed); }
.screen-choice-card[data-tone=lavender] .screen-choice-banner { background:linear-gradient(110deg,#f1e7fb,#e8d6fa); }
.screen-choice-card[data-tone=gold] .screen-choice-banner { background:linear-gradient(110deg,#fff6e6,#faf0de); }
.screen-choice-banner strong { font-size:20px; line-height:1.2; font-weight:650; letter-spacing:-.5px; }
.screen-choice-badge { border-radius:20px; background:var(--quality-accent); color:#fff; padding:3px 8px; font-size:10px; font-weight:650; text-transform:uppercase; line-height:1.4; }
.screen-choice-copy { display:flex; flex:1; flex-direction:column; padding:0 16px; }
.screen-choice-description { display:flex; align-items:center; flex:1; gap:17px; min-height:108px; padding:10px 0; box-sizing:border-box; font-size:15px; line-height:1.27; }
.screen-choice-description img { width:54px; height:86px; flex:none; object-fit:contain; }
.screen-choice-row { display:flex; justify-content:space-between; align-items:baseline; gap:8px; border-top:1px solid #d4d3d6; padding:5px 0; font-size:14px; line-height:1.3; }
.screen-choice-row > :last-child { text-align:right; }
.screen-choice-row strong { font-weight:700; font-variant-numeric:tabular-nums; }
.screen-choice-warranty { margin:0 16px 9px; cursor:pointer; }
.screen-choice-warranty summary { list-style:none; }
.screen-choice-warranty summary::-webkit-details-marker { display:none; }
.screen-choice-warranty summary:is(:hover,:focus-visible) > :last-child { text-decoration:underline; }
.screen-choice-warranty p { margin:4px 0; white-space:pre-line; line-height:1.4; font-size:12px; color:#555; }
.screen-choice-card[data-unavailable=true] .screen-choice-description { opacity:.6; }
.screen-choice-card[data-unavailable=true] label { cursor:default; }
.screen-choice-note { margin:0 20px 16px; font-size:13px; }
.screen-choice-footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; border-top:1px solid #d4d3d6; padding:13px 15px; }
.screen-choice-footer button { min-height:34px; padding:5px 22px; border:1px solid #bebec3; border-radius:5px; background:white; color:#161616; font:inherit; font-size:15px; cursor:pointer; }
.screen-choice-footer .screen-choice-use { background:#27282c; color:white; border-color:#27282c; font-weight:600; }
.screen-choice-use:disabled { opacity:.5; cursor:default; }
@media (min-width:641px) and (max-width:790px) {
 .screen-choice-description { gap:8px; font-size:14px; }
 .screen-choice-banner { padding-inline:10px; }
 .screen-choice-copy { padding-inline:10px; }
 .screen-choice-warranty { margin-inline:10px; }
}
@media (max-width:640px) {
 .screen-choice-grid { grid-template-columns:minmax(0,1fr); padding:0 14px 12px; }
 .screen-choice-intro { padding:12px 14px; }
 .screen-choice-description { min-height:74px; gap:14px; }
 .screen-choice-description img { width:34px; height:54px; }
 .screen-choice-footer { position:sticky; bottom:0; background:white; }
}
.iphone-screen-dialog {padding:0;max-height:90dvh;overflow:auto}
.iphone-screen-dialog h2 {margin:0}
.screen-choice-card {cursor:pointer;font-weight:400}
.screen-choice-card:has(input:checked) {border-color:var(--quality-accent);box-shadow:0 0 0 1px var(--quality-accent)}
.screen-choice-card:not(:has(input:checked)) .screen-choice-badge {visibility:hidden}
.screen-choice-copy {padding-bottom:9px}
.delivery-contacts .reserved-field {order:1}
.delivery-form .reserved-field {visibility:hidden}
.repair-note [data-action="screen-picker"] {margin-left:auto}

.device-summary .summary-art { display:block; width:clamp(54px,28%,104px); height:100px; flex:none; object-fit:contain; }
.device-summary .summary-details { overflow-wrap:anywhere; }
.screen-choice-card { position:relative; }
.screen-choice-card input.screen-choice-sr { inset:0 auto auto 0; width:1px; height:1px; margin:0; padding:0; }
.iphone-screen-dialog { overscroll-behavior:contain; }
@media(max-width:640px) {
  .screen-choice-grid { gap:6px; }
  .screen-choice-card { display:grid; grid-template-columns:minmax(85px,29%) 1fr; }
  .screen-choice-banner { flex-direction:column; align-items:flex-start; justify-content:center; padding:7px; gap:3px; }
  .screen-choice-banner strong { font-size:16px; }
  .screen-choice-copy { padding:5px 8px; }
  .screen-choice-description { min-height:0; padding:2px 0; gap:6px; font-size:12px; }
  .screen-choice-description img { width:23px; height:38px; }
  .screen-choice-row { font-size:11px; padding:3px 0; }
}

.device-art,.summary-art { filter:grayscale(1); }

/* Keep a compact baseline while letting longer steps fit their content. */
.flow-content {
  --quote-panel-height:26rem;
  display:grid; position:relative; isolation:isolate;
  width:100%; min-width:0;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(var(--quote-panel-height),auto) auto;
}
/* Keep the surface mounted while a category, select, or form is re-rendered. */
.flow-content::before {
  content:""; grid-area:1/1; pointer-events:none; z-index:-1;
  border:1px solid #dedee2; border-radius:18px; background:#fff;
  box-shadow:0 6px 22px #17172112;
}
.flow-content > .booking-shortcut { grid-area:2/1; }
.flow-content > .panel {
  visibility:visible; grid-area:1/1; width:100%; height:auto; min-width:0; min-height:0; margin:0;
  border:1px solid transparent; background:transparent; box-shadow:none;
  padding:clamp(16px,2vw,26px);
}
.flow-content .stage,.flow-content .stage > * { min-width:0; }
.flow-content .fields:not(.single-field) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.flow-content .fields > label { min-width:0; }
.flow-content .device-strip > div,.flow-content .summary-details { overflow-wrap:anywhere; }
@media(max-width:760px) {
  .flow-content { --quote-panel-height:32rem; }
  .flow-content .delivery-grid,.flow-content .estimate-grid,.flow-content .result-grid { align-content:start; grid-auto-rows:min-content; gap:14px; }
  .flow-content .delivery-form { gap:10px; }
}
@media(max-width:440px) {
  .flow-content { --quote-panel-height:34rem; }
}

.flow-content .panel-header,.flow-content .panel-footer { flex:none; }
.flow-content .device-strip,.flow-content .delivery-grid,.flow-content .result-grid,.flow-content .estimate-grid { min-width:0; }
@media(max-width:760px) {
  .flow-content .delivery-form input:not([type=checkbox]) { font-size:16px; }
  .flow-content .device-summary { align-self:start; }
}

.repair-loading { display:grid; place-items:center; min-width:10rem; min-height:40px; color:#45454b; }
.repair-loading .spinner { width:22px; height:22px; border:2px solid #dadade; border-top-color:currentColor; }
@media (prefers-reduced-motion:no-preference) {
  .repair-loading .spinner { animation:repair-spin .75s linear infinite; }
  @keyframes repair-spin { to { transform:rotate(1turn); } }
}
select[hidden] { display:none; }
.menu-trigger {
  display:flex; align-items:center; gap:8px; width:100%; min-width:0;
  height:40px; margin-top:5px; padding:0 12px; border:1px solid #d5d5d8;
  border-radius:8px; background:white; color:#242428; line-height:1.25;
  font-family:inherit; font-size:14px; font-weight:400; text-align:left; cursor:pointer;
}
.menu-trigger > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.menu-trigger::after { content:''; flex:none; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin:-3px 1px 0 auto; }
.menu-trigger[aria-expanded=true] { border-color:#525257; }
.menu-trigger:disabled { background:#f7f7f8; color:#8a8a91; cursor:default; }
.widget-menu {
  position:fixed; box-sizing:border-box; margin:0; padding:3px 9px;
  border:1px solid #d9d9dd; border-radius:9px; background:white; color:#202024;
  box-shadow:0 7px 20px #1818201c; overflow:auto; overscroll-behavior:contain;
}
.widget-menu:popover-open { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:no-preference) {
  .widget-menu:popover-open { transition:opacity .15s ease-out,transform .18s ease-out; }
  @starting-style { .widget-menu:popover-open { opacity:0; transform:translateY(-6px); } }
}
.widget-menu [role=option] { display:flex; align-items:center; gap:9px; min-height:40px; padding:6px 4px; font-weight:400; line-height:1.3; font-size:14px; cursor:pointer; }
.widget-menu [role=option]+[role=option] { border-top:1px solid #ececef; }
.widget-menu [role=option]:is(:hover,:focus) { background:#f3f3f5; outline:none; }
.widget-menu [aria-selected=true]::after { content:'✓'; margin-left:auto; }
.menu-icon,.menu-initials { width:20px; height:20px; flex:none; object-fit:contain; }
.menu-initials { display:grid; place-items:center; background:#f1f1f3; color:#4b4b50; border-radius:5px; font:bold 10px/1 system-ui; }

.menu-trigger{background:#f8f8fa;border:1px solid #bfc0c7;border-radius:6px;padding:5px 10px}
.menu-trigger::after{transition:transform .15s ease}
.menu-trigger[aria-expanded=true]::after{transform:rotate(225deg);margin-top:3px}
.widget-menu{border:1px solid #ccc;border-radius:6px;box-shadow:0 5px 14px #0002;padding:4px;background:white;overflow:hidden}
.widget-menu:popover-open{display:flex;flex-direction:column}
.widget-menu input[type=search]{display:block;width:100%;min-height:32px;flex:none;margin:0 0 3px;border:0;border-bottom:1px solid #ddd;border-radius:0;background:white;color:#333;padding:3px 6px;font:400 14px system-ui}
.widget-menu [role=listbox]{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.widget-menu [role=option]{padding:4px 6px;min-height:34px;border-radius:3px;color:#333}
.widget-menu [role=option]+[role=option]{border-top:0}
.widget-menu [role=option]:is(:hover,:focus,[aria-selected=true]){background:#eee}
.widget-menu [role=option][hidden]{display:none}
@media(pointer:coarse){.widget-menu input[type=search]{font-size:16px}.widget-menu [role=option]{min-height:44px}}
