:root {
    --brand: #087f78;
    --brand-dark: #075f5b;
    --brand-soft: #e8f8f5;
    --accent: #ffb400;
    --ink: #142b33;
    --muted: #65757b;
    --line: #dfe8e9;
    --surface: #ffffff;
    --canvas: #f6f9f9;
    --shadow: 0 14px 40px rgba(20, 43, 51, .09);
    --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; color: var(--ink); background: var(--canvas); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar { min-height: 72px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; gap: 28px; align-items: center; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 23px; font-weight: 850; letter-spacing: -.05em; }
.site-logo > span:last-child > span { color: var(--brand); }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0da49a, var(--brand-dark)); border-radius: 12px; box-shadow: 0 8px 18px rgba(8,127,120,.23); font-size: 20px; letter-spacing: 0; }
.portal-logo-image { display: block; width: auto; max-width: 190px; height: 42px; object-fit: contain; }
.footer-contact { display: grid; gap: 6px; margin-top: 14px; }
.footer-contact a { width: fit-content; }
.header-search { height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: #778489; background: #f4f7f7; border: 1px solid #e5ecec; border-radius: 11px; }
.header-search svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-actions { display: flex; gap: 20px; align-items: center; font-weight: 650; }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 10px; background: #eff6f5; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; margin: 3px 0; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.header-account { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; color: #fff; background: var(--brand); border-radius: 10px; }
.main-nav { border-top: 1px solid #edf1f1; }
.nav-links { min-height: 45px; display: flex; gap: 38px; align-items: center; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--brand); }

.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-kicker { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section-heading { margin: 0; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.section-copy { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.text-link { color: var(--brand); font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--brand-dark); }

.repair-hero { position: relative; overflow: hidden; padding: 58px 0 62px; background: linear-gradient(130deg, #e9fbf8 0%, #f8fffe 48%, #d8f5f1 100%); }
.repair-hero::before, .repair-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.repair-hero::before { width: 420px; height: 420px; right: -140px; top: -220px; background: rgba(7,127,120,.09); }
.repair-hero::after { width: 260px; height: 260px; left: -140px; bottom: -180px; background: rgba(255,180,0,.13); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 7px 12px; color: var(--brand-dark); background: rgba(255,255,255,.8); border: 1px solid rgba(8,127,120,.18); border-radius: 999px; font-size: 13px; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero-title { max-width: 680px; margin: 0; font-size: clamp(42px, 5.4vw, 68px); line-height: .99; letter-spacing: -.058em; }
.hero-title span { color: var(--brand); }
.hero-copy { max-width: 620px; margin: 22px 0 26px; color: #52676d; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 800; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 22px rgba(8,127,120,.23); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; color: #486068; font-size: 14px; font-weight: 700; }
.hero-points li { display: flex; gap: 7px; align-items: center; }
.check { width: 19px; height: 19px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: 11px; }

.phone-stage { position: relative; min-height: 390px; display: grid; place-items: center; }
.phone-halo { position: absolute; width: 330px; height: 330px; background: #bdece6; border-radius: 50%; box-shadow: inset 0 0 0 34px rgba(255,255,255,.35); }
.phone { position: relative; z-index: 2; width: 196px; height: 365px; padding: 10px; background: #173038; border: 5px solid #0a1e24; border-radius: 34px; box-shadow: 0 28px 55px rgba(8,55,61,.28); transform: rotate(5deg); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 13px; left: 50%; width: 68px; height: 17px; background: #0a1e24; border-radius: 0 0 13px 13px; transform: translateX(-50%); }
.phone-screen { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 45px 18px 19px; color: #fff; background: linear-gradient(155deg, #119f95, #075f5b); border-radius: 23px; }
.phone-screen strong { font-size: 25px; line-height: 1.08; letter-spacing: -.04em; }
.phone-screen small { opacity: .84; }
.phone-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-status span { height: 35px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; font-size: 10px; }
.repair-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border: 1px solid rgba(8,127,120,.13); border-radius: 13px; box-shadow: var(--shadow); font-weight: 800; }
.repair-badge span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 18px; }
.badge-one { top: 48px; left: 8px; }
.badge-two { right: 0; bottom: 64px; }
.hero-rating { position: absolute; z-index: 3; right: 18px; top: 24px; padding: 10px 13px; color: #845e00; background: #fff9df; border-radius: 12px; font-weight: 850; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.service-card { min-height: 158px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 4px 14px rgba(20,43,51,.04); transition: .2s ease; }
.service-card:hover { border-color: rgba(8,127,120,.45); box-shadow: 0 13px 28px rgba(20,43,51,.09); transform: translateY(-3px); }
.service-icon { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; color: var(--brand); background: var(--brand-soft); border-radius: 18px; }
.service-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card strong { line-height: 1.25; }
.service-card small { color: var(--muted); }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.brand-card { min-height: 120px; display: grid; place-items: center; gap: 8px; padding: 18px 10px; background: #fff; border: 1px solid var(--line); border-radius: 15px; font-weight: 800; transition: .2s ease; }
.brand-card:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.brand-avatar { width: 52px; height: 52px; display: grid; place-items: center; color: var(--brand-dark); background: linear-gradient(145deg, #effaf8, #d9f3ef); border-radius: 50%; font-size: 20px; font-weight: 900; text-transform: uppercase; }
.brand-logo { width: 92px; height: 52px; object-fit: contain; }

.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: var(--brand); border-radius: 12px; font-size: 17px; font-weight: 900; }
.step-card h3 { margin: 0 0 8px; font-size: 20px; }
.step-card p { margin: 0; color: var(--muted); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 23px; background: var(--brand-soft); border-radius: 16px; }
.benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand); background: #fff; border-radius: 12px; font-size: 20px; font-weight: 900; }
.benefit h3 { margin: 1px 0 5px; font-size: 17px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.model-grid, .content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 5px 18px rgba(20,43,51,.05); }
.card:hover { border-color: rgba(8,127,120,.4); }
.model-card { display: block; }
.model-image { width: 100%; height: 180px; margin-bottom: 16px; object-fit: contain; background: linear-gradient(145deg, #f5fbfa, #e8f7f4); border-radius: 13px; }
.model-card .device-pictogram { width: 46px; height: 67px; margin-bottom: 15px; border: 3px solid #213b43; border-radius: 9px; box-shadow: inset 0 -12px 0 var(--brand-soft); }
.model-card strong { font-size: 17px; }
.muted { color: var(--muted); }
.price { color: var(--brand-dark); font-size: 25px; font-weight: 900; letter-spacing: -.025em; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { color: var(--accent); letter-spacing: 2px; }
.testimonial p { min-height: 70px; color: #40565d; }
.testimonial footer { display: flex; gap: 11px; align-items: center; }
.customer-avatar { width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 850; }

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { padding: 19px 22px; cursor: pointer; font-size: 16px; font-weight: 800; list-style: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta-band { padding: 42px 0; color: #fff; background: var(--brand-dark); }
.cta-content { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.cta-content h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.035em; }
.cta-content p { margin: 0; color: #cde9e6; }

.page-hero { padding: 48px 0 36px; background: linear-gradient(135deg, #edf9f7, #fff); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--brand); font-weight: 700; }
.page-title { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.page-subtitle { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 17px; }
.repair-detail-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.repair-detail-service-copy { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: center; }
.repair-detail-service-copy > img { width: 112px; height: 112px; object-fit: contain; border-radius: 24px; background: var(--brand-soft); }
.repair-price-box { min-width: 250px; padding: 24px; text-align: center; background: var(--brand-soft); border-radius: 16px; }

form.card { max-width: 980px; margin: 0 auto; }
label { display: grid; gap: 7px; color: #314950; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 13px; color: var(--ink); background: #fff; border: 1px solid #ccd9db; border-radius: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,120,.12); }
textarea { min-height: 115px; resize: vertical; }
.form-section-title { margin: 30px 0 15px; font-size: 21px; }
.choice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { display: flex; grid-template-columns: none; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.choice input { width: 18px; min-height: 18px; }
.alert-error { margin-bottom: 18px; color: #991b1b; background: #fff1f1; border-color: #fecaca; }

.model-repair-page { padding: 28px 0 70px; background: #f4f8f8; }
.repair-breadcrumbs { margin-bottom: 20px; }
.repair-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.repair-services-panel, .repair-cart-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 26px rgba(20,43,51,.06); }
.repair-services-panel { padding: 24px; }
.selected-device { display: flex; align-items: center; gap: 20px; min-height: 132px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.selected-device-media { width: 96px; height: 104px; flex: 0 0 96px; display: grid; place-items: center; background: #f5f9f9; border-radius: 13px; }
.selected-device-media img { width: 82px; height: 92px; object-fit: contain; }
.selected-device-media .device-pictogram { width: 43px; height: 70px; border: 3px solid var(--ink); border-radius: 9px; }
.selected-device p { margin: 0 0 3px; color: var(--muted); font-weight: 700; }
.selected-device h1 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.selected-device a { display: inline-block; margin-top: 6px; color: var(--brand); font-size: 13px; font-weight: 800; }
.repair-services-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 28px 0 18px; }
.repair-services-heading h2 { margin: 0; font-size: 23px; }
.repair-services-heading > span { color: var(--muted); font-size: 13px; }
.repair-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repair-option { position: relative; min-height: 170px; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 15px; align-items: start; padding: 22px 16px; border-top: 1px solid var(--line); }
.repair-option:nth-child(odd) { border-right: 1px solid var(--line); }
.repair-option.is-selected { background: #f1fbf9; }
.repair-option-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 16px; }
.repair-option-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.repair-option-icon img { width: 100%; height: 100%; object-fit: contain; }
.repair-option-copy { min-width: 0; }
.repair-option h3 { margin: 1px 0 7px; font-size: 16px; line-height: 1.25; }
.repair-option-copy strong { display: block; font-size: 20px; }
.repair-option-copy del { display: block; color: #889699; font-size: 13px; }
.repair-option-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.add-service-button { position: absolute; right: 16px; bottom: 18px; min-width: 76px; min-height: 34px; padding: 0 13px; color: #fff; background: var(--brand); border: 0; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 850; }
.add-service-button:hover { background: var(--brand-dark); }
.add-service-button:disabled { color: var(--brand); background: #d9f3ef; cursor: default; }
.selected-label { position: absolute; top: 10px; right: 12px; color: var(--brand); font-size: 11px; font-weight: 850; }
.empty-repairs { grid-column: 1 / -1; padding: 35px 0; color: var(--muted); text-align: center; }
.repair-cart-column { position: sticky; top: 138px; display: grid; gap: 14px; }
.repair-cart-card { padding: 20px; }
.repair-cart-title { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.repair-cart-title h2 { margin: 0; font-size: 22px; }
.repair-cart-title span { padding: 4px 9px; color: var(--brand); background: var(--brand-soft); border-radius: 99px; font-size: 12px; font-weight: 800; }
.cart-service-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-service-row small { display: block; margin-top: 3px; color: var(--muted); }
.cart-service-price { text-align: right; }
.cart-service-price strong { display: block; }
.cart-service-price button { padding: 2px 0; color: #b42318; background: none; border: 0; cursor: pointer; font-size: 12px; }
.cart-service-price form { margin: 2px 0 0; }
.cart-coupon-box { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-coupon-box > label { margin-bottom: 7px; font-size: 12px; }
.cart-coupon-box > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.cart-coupon-box input { min-height: 39px; padding: 7px 10px; font-size: 12px; text-transform: uppercase; }
.cart-coupon-box div > button { min-width: 66px; color: #fff; background: var(--brand); border: 0; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 800; }
.cart-coupon-box div > button:disabled { background: #cdd7d8; cursor: not-allowed; }
.cart-coupon-box p { display: inline-block; margin: 7px 6px 0 0; color: #067647; font-size: 11px; font-weight: 750; }
#remove-cart-coupon { padding: 0; color: #b42318; background: none; border: 0; cursor: pointer; font-size: 10px; }
.cart-price-line { display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; font-size: 13px; }
.cart-discount-line { color: #067647; }
.empty-cart { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 9px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 23px; }
.empty-cart p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cart-total { display: flex; justify-content: space-between; gap: 15px; padding: 18px 0; font-size: 16px; }
.cart-total strong { font-size: 20px; }
.terms-check { display: flex; grid-template-columns: none; align-items: flex-start; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.terms-check input { width: 18px; min-height: 18px; margin: 1px 0 0; }
.terms-check a { color: var(--brand); text-decoration: underline; }
.cart-book-button { width: 100%; margin-top: 7px; }
.cart-book-button.is-disabled { color: #94a3a6; background: #e5e9ea; box-shadow: none; cursor: not-allowed; transform: none; }
.repair-trust-card { display: grid; grid-template-columns: repeat(2, 1fr); padding: 23px 12px; text-align: center; background: #dff5f2; border-radius: 15px; }
.repair-trust-card > div + div { border-left: 1px solid rgba(8,127,120,.18); }
.repair-trust-card strong { display: block; color: var(--brand); font-size: 29px; }
.repair-trust-card span { font-size: 12px; }
.repair-notice { margin-bottom: 15px; padding: 12px 16px; color: var(--brand-dark); background: #e5f8f4; border: 1px solid #b9e7df; border-radius: 11px; font-weight: 700; }
.repair-notice-error { color: #991b1b; background: #fff1f1; border-color: #fecaca; }

.auth-modal { width: min(580px, calc(100% - 28px)); padding: 28px; color: var(--ink); background: #fff; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(5,28,34,.32); }
.auth-modal::backdrop { background: rgba(9,31,37,.68); backdrop-filter: blur(3px); }
.auth-modal h2 { margin: 0; font-size: 27px; }
.auth-modal-copy { margin: 7px 0 19px; color: var(--muted); }
.auth-modal-close { position: absolute; top: 13px; right: 15px; width: 35px; height: 35px; color: var(--muted); background: #f0f4f4; border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; background: #edf3f2; border-radius: 11px; }
.auth-tabs button { min-height: 39px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; }
.auth-tabs button.is-active { color: var(--brand-dark); background: #fff; box-shadow: 0 2px 8px rgba(20,43,51,.08); }
.auth-modal-form { display: grid; gap: 13px; margin-top: 18px; }
.auth-modal-form[hidden] { display: none; }
.auth-modal-form .btn { width: 100%; margin-top: 3px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-errors { margin-top: 14px; padding: 10px 13px; color: #991b1b; background: #fff1f1; border-radius: 9px; font-size: 13px; }
.modal-errors p { margin: 3px 0; }

.account-page { padding: 32px 0 72px; background: #f3f7f7; }
.account-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-sidebar { position: sticky; top: 145px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 7px 24px rgba(20,43,51,.05); }
.account-profile-card { display: flex; gap: 12px; align-items: center; padding: 20px 17px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0da49a, var(--brand-dark)); border-radius: 13px; font-weight: 900; }
.account-profile-card strong, .account-profile-card span { display: block; min-width: 0; }
.account-profile-card div { min-width: 0; }
.account-profile-card div > span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-nav { display: grid; gap: 3px; padding: 12px 9px; }
.account-nav a, .account-logout { min-height: 44px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 0 11px; color: #52666c; background: transparent; border: 0; border-radius: 9px; font-weight: 700; text-align: left; }
.account-nav a:hover, .account-nav a.is-active { color: var(--brand-dark); background: var(--brand-soft); }
.account-nav a > span, .account-logout > span { color: var(--brand); font-size: 19px; text-align: center; }
.account-nav b { min-width: 22px; padding: 2px 6px; color: var(--brand); background: #d9f3ef; border-radius: 99px; font-size: 10px; text-align: center; }
.account-sidebar form { padding: 0 9px 12px; }
.account-logout { width: 100%; cursor: pointer; color: #b42318; }
.account-logout > span { color: #b42318; }
.account-logout:hover { background: #fff1f1; }
.account-main { min-width: 0; display: grid; gap: 20px; }
.account-welcome { min-height: 152px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 27px 30px; color: #fff; background: linear-gradient(125deg, #075f5b, #09948a); border-radius: 18px; box-shadow: 0 16px 36px rgba(7,95,91,.18); }
.account-welcome .section-kicker { color: #aee9e3; }
.account-welcome h1 { margin: 0; font-size: clamp(27px, 3vw, 37px); letter-spacing: -.04em; }
.account-welcome p:not(.section-kicker) { max-width: 590px; margin: 7px 0 0; color: #d1eeeb; }
.account-welcome .btn { flex: 0 0 auto; color: var(--brand-dark); background: #fff; box-shadow: none; }
.account-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.account-stat-grid article { min-height: 103px; display: flex; gap: 13px; align-items: center; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 16px rgba(20,43,51,.04); }
.account-stat-icon { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 900; }
.stat-blue { color: #2563eb; background: #eaf1ff; }.stat-orange { color: #d97706; background: #fff4df; }.stat-green { color: #059669; background: #e8f8f1; }.stat-purple { color: #7c3aed; background: #f1ebff; }
.account-stat-grid strong { display: block; font-size: 22px; line-height: 1.15; }
.account-stat-grid p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.account-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 5px 18px rgba(20,43,51,.04); }
.account-panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 17px; }
.account-panel-head h2 { margin: 0; font-size: 21px; }
.account-panel-head > a { color: var(--brand); font-weight: 800; }
.account-panel-head > span { color: var(--muted); font-size: 13px; }
.current-repair-panel { padding: 25px; }
.current-repair-meta { display: grid; grid-template-columns: 1fr 1.4fr .75fr 1.25fr; gap: 16px; margin: 20px 0; padding: 17px; background: #f7fafa; border-radius: 12px; }
.current-repair-meta span, .account-order-row > span { min-width: 0; }
.current-repair-meta small, .account-order-row small { display: block; color: var(--muted); font-size: 11px; }
.current-repair-meta strong { display: block; overflow: hidden; margin-top: 3px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.repair-progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.repair-progress-label span { color: var(--brand); font-weight: 850; }
.repair-progress { height: 8px; overflow: hidden; background: #e5edee; border-radius: 99px; }
.repair-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #16b8aa); border-radius: inherit; }
.repair-progress-steps { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; color: #98a5a8; font-size: 10px; font-weight: 750; }
.repair-progress-steps .is-complete { color: var(--brand); }
.account-order-row { min-height: 82px; display: grid; grid-template-columns: 46px minmax(180px,1.3fr) minmax(125px,.8fr) minmax(90px,.65fr) auto 12px; gap: 13px; align-items: center; margin: 0 -6px; padding: 12px 7px; border-top: 1px solid var(--line); }
.account-order-row:hover { background: #f7fbfa; }
.account-device-icon { width: 40px; height: 48px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 25px; }
.account-order-device strong, .account-order-device small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-order-device small { margin-top: 3px; }
.account-order-row > span:not(.account-device-icon):not(.status-pill) > strong { display: block; margin-top: 3px; font-size: 12px; }
.status-pill { padding: 5px 9px; color: #9a6700; background: #fff5d9; border-radius: 99px; font-size: 10px; font-weight: 850; text-align: center; white-space: nowrap; }
.status-completed, .status-delivered { color: #067647; background: #e9f8f0; }
.status-cancelled, .status-repair_failed { color: #b42318; background: #fff0ef; }
.status-repair_in_progress, .status-diagnosing, .status-quality_check { color: #175cd3; background: #edf4ff; }
.account-empty-state { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; }
.account-empty-state > span { width: 65px; height: 65px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 20px; font-size: 34px; }
.account-empty-state h3 { margin: 14px 0 4px; font-size: 21px; }
.account-empty-state p { max-width: 450px; margin: 0 0 18px; color: var(--muted); }
.account-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-notification { display: flex; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
.account-notification > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 9px; }
.account-notification strong, .account-notification small { display: block; }
.account-notification strong { font-size: 12px; }
.account-notification small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.account-muted-message { min-height: 85px; display: grid; place-items: center; margin: 0; color: var(--muted); text-align: center; }
.account-profile-list { margin: 0; }
.account-profile-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.account-profile-list dt { color: var(--muted); font-size: 12px; }
.account-profile-list dd { overflow: hidden; margin: 0; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.account-alert { padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 12px; font-weight: 700; }
.account-alert p { margin: 2px 0; }
.account-alert-success { color: #067647; background: #e9f8f0; border-color: #a7e3c2; }
.account-alert-error { margin-bottom: 15px; color: #b42318; background: #fff1f1; border-color: #fecaca; }
.account-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.account-form { display: grid; gap: 13px; }
.account-form label { gap: 5px; font-size: 12px; }
.account-form label small { color: var(--muted); font-size: 10px; font-weight: 500; }
.account-form input { min-height: 43px; }
.account-form .btn { justify-self: start; min-height: 43px; margin-top: 3px; }
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.account-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.account-address-card { min-width: 0; padding: 17px; background: #f8fafa; border: 1px solid var(--line); border-radius: 13px; }
.account-address-head { display: flex; gap: 10px; align-items: center; }
.account-address-head > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 9px; font-size: 18px; }
.account-address-head strong { margin-right: 7px; }
.account-address-head em { padding: 3px 7px; color: #067647; background: #e1f6ea; border-radius: 99px; font-size: 9px; font-style: normal; font-weight: 850; }
.account-address-head em.is-locked { color: #9a6700; background: #fff3d6; }
.account-address-card > p { min-height: 44px; margin: 12px 0; color: var(--muted); font-size: 12px; }
.account-address-lock { margin: -3px 0 12px; padding: 8px 10px; color: #8a5a00; background: #fff7e2; border-radius: 8px; font-size: 10px; font-weight: 700; }
.account-address-actions { display: flex; gap: 15px; align-items: start; padding-top: 11px; border-top: 1px solid var(--line); }
.account-address-actions form > button, .account-address-editor > summary { padding: 0; color: var(--brand); background: transparent; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; list-style: none; }
.account-address-actions form > button { color: #b42318; }
.account-address-editor { flex: 1; }
.account-address-editor > summary::-webkit-details-marker, .account-address-add > summary::-webkit-details-marker { display: none; }
.account-address-form { margin-top: 15px; padding-top: 15px; border-top: 1px dashed var(--line); }
.account-address-form .btn { width: 100%; }
.account-check { display: flex !important; grid-template-columns: none; gap: 8px !important; align-items: center; font-weight: 650 !important; }
.account-check input { width: 18px; min-height: 18px; accent-color: var(--brand); }
.account-address-add { background: #fff; border-style: dashed; }
.account-address-add > summary { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; text-align: center; list-style: none; }
.account-address-add > summary > span { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 7px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 20px; }
.account-address-add > summary small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.checkout-page { min-height: 70vh; padding: 30px 0 72px; background: #f5f8f8; }
.checkout-heading { display: flex; justify-content: space-between; gap: 25px; align-items: end; margin-bottom: 24px; }
.checkout-heading h1 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.checkout-heading p:not(.section-kicker) { margin: 5px 0 0; color: var(--muted); }
.checkout-heading > a { color: var(--brand); font-weight: 800; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 18px; align-items: start; }
.checkout-steps { display: grid; gap: 14px; }
.checkout-step { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 5px 17px rgba(20,43,51,.04); }
.checkout-step > header { min-height: 80px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 17px 20px; }
.checkout-step > header > span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border: 1px solid #a9ded8; border-radius: 7px; font-weight: 900; }
.checkout-step > header h2 { margin: 0; font-size: 19px; }
.checkout-step > header p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.mobile-step-summary, .mobile-step-toggle { display: none; }
.step-status { padding: 4px 9px; color: #7b8b8e; background: #f0f4f4; border-radius: 99px; font-size: 10px; }
.checkout-step.is-open .step-status { color: var(--brand); background: var(--brand-soft); }
.checkout-step-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.add-address-button { min-height: 41px; margin: 16px 0 10px; padding: 0 18px; color: #fff; background: var(--brand); border: 0; border-radius: 9px; cursor: pointer; font-weight: 800; }
.saved-address-list { display: grid; }
.saved-address-card { min-height: 74px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 13px 3px; border-bottom: 1px solid var(--line); }
.saved-address-card:last-child { border-bottom: 0; }
.saved-address-card > label { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 13px; align-items: center; cursor: pointer; }
.saved-address-card input { width: 19px; min-height: 19px; accent-color: var(--brand); }
.saved-address-card strong, .saved-address-card small { display: block; }
.saved-address-card small { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.saved-address-card em { padding: 4px 8px; color: var(--brand); background: var(--brand-soft); border-radius: 99px; font-size: 10px; font-style: normal; }
.saved-address-card > button { color: #b42318; background: transparent; border: 0; cursor: pointer; font-size: 11px; }
.address-empty { padding: 24px 0 7px; color: var(--muted); text-align: center; }
.address-empty p { margin: 4px 0; }
.checkout-date-picker { margin: 17px 0; }
.checkout-date-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.checkout-date-heading span, .checkout-cutoff-note { color: var(--muted); font-size: 11px; font-weight: 600; }
.checkout-date-grid { display: grid; grid-template-columns: repeat(6, minmax(86px, 1fr)); gap: 8px; }
.checkout-date-option { position: relative; cursor: pointer; }
.checkout-date-option input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-date-option span { min-height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 9px 5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.checkout-date-option small { color: var(--muted); font-size: 10px; font-weight: 700; }
.checkout-date-option strong { margin-top: 3px; font-size: 14px; }
.checkout-date-option em { margin-top: 3px; color: var(--brand); font-size: 9px; font-style: normal; font-weight: 800; }
.checkout-date-option input:checked + span { color: var(--brand-dark); background: var(--brand-soft); border-color: var(--brand); box-shadow: 0 0 0 2px rgba(8,127,120,.09); }
.checkout-date-option.is-disabled { cursor: not-allowed; }
.checkout-date-option.is-disabled span { color: #98a2a5; background: #f1f3f3; border-style: dashed; opacity: .8; }
.checkout-date-option.is-disabled em { color: #b42318; }
.checkout-cutoff-note { margin: 9px 0 0; line-height: 1.45; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-option { position: relative; display: block; cursor: pointer; }
.slot-option input { position: absolute; opacity: 0; pointer-events: none; }
.slot-option span { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.slot-option small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.slot-option input:checked + span { color: var(--brand-dark); background: var(--brand-soft); border-color: var(--brand); box-shadow: 0 0 0 2px rgba(8,127,120,.09); }
.slot-option em { margin-top: 4px; color: var(--brand); font-size: 9px; font-style: normal; font-weight: 800; }
.slot-option.is-disabled { cursor: not-allowed; }
.slot-option.is-disabled span { color: #98a2a5; background: #f1f3f3; border-style: dashed; }
.slot-option.is-disabled em { color: #b42318; }
.slot-availability-status { margin: 14px 0 9px; padding: 9px 11px; color: var(--muted); background: #f6f8f8; border-radius: 8px; font-size: 11px; font-weight: 700; }
.checkout-field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 17px; }
.checkout-notes { margin: 14px 0; }
.checkout-final-fields { display: grid; gap: 16px; margin-top: 17px; }
.checkout-final-fields .checkout-notes { margin: 0; }
.checkout-submit { width: 100%; margin-top: 18px; }
.checkout-summary-column { position: sticky; top: 140px; display: grid; gap: 12px; }
.checkout-summary { padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 5px 17px rgba(20,43,51,.05); }
.checkout-summary h2 { margin: 18px 0 10px; font-size: 20px; }
.checkout-summary-device { display: flex; gap: 11px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.checkout-summary-device > span { width: 40px; height: 48px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 25px; }
.checkout-summary-device small, .checkout-summary-device strong { display: block; }
.checkout-summary-device small { color: var(--muted); }
.checkout-summary-row { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checkout-summary-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary-row strong { flex: 0 0 auto; }
.checkout-total { display: flex; justify-content: space-between; gap: 15px; padding-top: 17px; font-size: 18px; font-weight: 900; }
.checkout-total strong { font-size: 23px; }
.checkout-continue { width: 100%; }
.checkout-continue:disabled { color: #8d999c; background: #e1e6e7; box-shadow: none; cursor: not-allowed; }
.checkout-assurance { display: flex; gap: 11px; align-items: center; padding: 15px; background: #e4f6f3; border-radius: 12px; }
.checkout-assurance > span { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; }
.checkout-assurance strong, .checkout-assurance small { display: block; }
.checkout-assurance small { color: var(--muted); font-size: 10px; }
.checkout-modal { width: min(540px, calc(100% - 28px)); padding: 25px; color: var(--ink); background: #fff; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(5,28,34,.32); }
.checkout-modal::backdrop { background: rgba(9,31,37,.68); backdrop-filter: blur(3px); }
.checkout-modal h2 { margin: 0 0 20px; font-size: 25px; }
.service-mode-card { width: 100%; min-height: 125px; display: grid; grid-template-columns: 74px minmax(0,1fr) 20px; gap: 14px; align-items: center; margin-top: 12px; padding: 16px; color: var(--ink); background: #f7f9f9; border: 1px solid transparent; border-radius: 13px; cursor: pointer; text-align: left; }
.service-mode-card:hover { background: #f0faf8; border-color: var(--brand); }
.service-mode-card > span { width: 68px; height: 68px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 18px; font-size: 31px; }
.service-mode-card strong { display: block; font-size: 17px; }
.service-mode-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.service-mode-card em { display: inline-block; margin-top: 5px; padding: 3px 7px; color: #067647; background: #dff7ea; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 800; }
.service-mode-card > b { color: var(--brand); font-size: 25px; }
.address-modal form { display: grid; gap: 12px; }
.address-modal .checkout-field-grid { margin-top: 0; }
.address-modal .terms-check { border: 0; }

.repair-detail-page, .invoice-page { min-height: 70vh; padding: 34px 0 72px; background: #f3f7f7; }
.repair-detail-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.repair-detail-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; }
.repair-detail-heading p:not(.section-kicker) { margin: 4px 0 0; color: var(--muted); }
.detail-back-link { display: inline-block; margin-bottom: 20px; color: var(--brand); font-size: 13px; font-weight: 800; }
.detail-status-card { margin-bottom: 18px; padding: 24px; color: #fff; background: linear-gradient(125deg, #075f5b, #09948a); border-radius: 17px; box-shadow: 0 14px 32px rgba(7,95,91,.16); }
.detail-status-top { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin-bottom: 18px; }
.detail-status-top > div { display: flex; gap: 13px; align-items: center; }
.status-dot { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--brand-dark); background: #fff; border-radius: 50%; font-weight: 900; }
.detail-status-top small { color: #bceae6; }
.detail-status-top h2 { margin: 1px 0; font-size: 23px; }
.detail-status-top p { margin: 0; color: #d5efed; font-size: 12px; }
.detail-status-top > strong { padding: 6px 10px; background: rgba(255,255,255,.14); border-radius: 99px; font-size: 11px; white-space: nowrap; }
.detail-status-card .repair-progress { background: rgba(255,255,255,.2); }
.detail-status-card .repair-progress span { background: #fff; }
.detail-status-card .repair-progress-steps { color: #9bd5d0; }
.detail-status-card .repair-progress-steps .is-complete { color: #fff; }
.repair-detail-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr); gap: 18px; align-items: start; }
.repair-detail-main, .repair-detail-side { display: grid; gap: 18px; }
.repair-detail-side { position: sticky; top: 140px; }
.detail-card { overflow: hidden; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 5px 18px rgba(20,43,51,.04); }
.detail-card > header { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 15px; }
.detail-card > header h2, .detail-info-card h2, .detail-payment-card h2 { margin: 0; font-size: 19px; }
.detail-card > header > span { padding: 4px 9px; color: var(--brand); background: var(--brand-soft); border-radius: 99px; font-size: 10px; font-weight: 800; }
.detail-service-list { border-top: 1px solid var(--line); }
.detail-service-list article { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-service-list article:last-child { border-bottom: 0; }
.detail-service-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 11px; font-size: 20px; }
.detail-service-list strong, .detail-service-list small { display: block; }
.detail-service-list small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.detail-service-list b { font-size: 14px; white-space: nowrap; }
.detail-timeline { position: relative; padding-left: 8px; }
.detail-timeline article { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 20px; }
.detail-timeline article:not(:last-child)::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: -1px; width: 2px; background: #dce7e7; }
.detail-timeline article > span { position: relative; z-index: 1; width: 16px; height: 16px; margin-top: 2px; background: #fff; border: 3px solid #bac8ca; border-radius: 50%; }
.detail-timeline article.is-done > span { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.detail-timeline strong { display: block; font-size: 13px; }
.detail-timeline p { margin: 2px 0; color: var(--muted); font-size: 12px; }
.detail-timeline small { color: #8a989c; font-size: 10px; }
.detail-note { margin: 0; padding: 15px; color: #52666c; background: #f6f9f9; border-radius: 10px; white-space: pre-line; }
.detail-info-card h2 { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.detail-info-card dl, .detail-payment-card dl { margin: 6px 0 0; }
.detail-info-card dl > div, .detail-payment-card dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-info-card dt, .detail-payment-card dt { color: var(--muted); font-size: 12px; }
.detail-info-card dd, .detail-payment-card dd { margin: 0; font-size: 12px; font-weight: 800; text-align: right; }
.detail-address { margin: 14px 0 0; color: #52666c; }
.detail-contact { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-contact strong { color: var(--ink); }
.detail-payment-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.payment-status { display: inline-block; padding: 4px 8px; color: #9a6700; background: #fff3d6; border-radius: 99px; font-size: 10px; font-weight: 850; }
.payment-paid { color: #067647; background: #e3f7ec; }
.payment-failed, .payment-refunded { color: #b42318; background: #ffefee; }
.detail-payment-card .discount, .invoice-totals .discount { color: #07845b; }
.detail-payment-card .detail-total { padding-top: 14px; border-bottom: 0; }
.detail-payment-card .detail-total dt, .detail-payment-card .detail-total dd { color: var(--ink); font-size: 18px; font-weight: 900; }
.detail-payment-card > p { display: flex; justify-content: space-between; gap: 12px; margin: 5px 0 0; padding-top: 13px; color: var(--muted); font-size: 11px; border-top: 1px dashed var(--line); }
.detail-payment-card > p strong { color: var(--ink); }

.invoice-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.invoice-toolbar-links { display: flex; gap: 18px; align-items: center; }
.invoice-toolbar-links a { color: var(--brand); font-weight: 800; }
.invoice-toolbar-links a + a { color: var(--muted); font-size: 12px; }
.invoice-sheet { max-width: 1000px; margin: 0 auto; padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 36px rgba(20,43,51,.08); }
.invoice-head { display: flex; justify-content: space-between; gap: 30px; align-items: start; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.invoice-brand { display: flex; gap: 12px; align-items: center; }
.invoice-brand strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.invoice-brand strong span { color: var(--brand); }
.invoice-brand small { display: block; color: var(--muted); font-size: 11px; }
.invoice-title { text-align: right; }
.invoice-title h1 { margin: 5px 0 0; font-size: 35px; letter-spacing: .08em; }
.invoice-title p { margin: 0; color: var(--muted); font-weight: 750; }
.invoice-badge { padding: 4px 9px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 99px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.invoice-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 28px 0; }
.invoice-meta-grid small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.invoice-meta-grid h2 { margin: 5px 0 4px; font-size: 18px; }
.invoice-meta-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.invoice-meta-grid dl { margin: 0; }
.invoice-meta-grid dl > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 15px; padding: 6px 0; }
.invoice-meta-grid dt { color: var(--muted); font-size: 11px; }
.invoice-meta-grid dd { margin: 0; font-size: 11px; font-weight: 800; text-align: right; }
.invoice-booking-strip { display: grid; grid-template-columns: 1fr .8fr 1.2fr; gap: 20px; margin-bottom: 26px; padding: 16px 18px; background: #f3f8f7; border-radius: 11px; }
.invoice-booking-strip small, .invoice-booking-strip strong { display: block; }
.invoice-booking-strip small { color: var(--muted); font-size: 10px; }
.invoice-booking-strip strong { margin-top: 2px; font-size: 12px; }
.invoice-table-wrap { overflow-x: auto; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th { padding: 11px 10px; color: #fff; background: var(--brand-dark); font-size: 10px; text-align: left; text-transform: uppercase; }
.invoice-table th:first-child { border-radius: 8px 0 0 8px; }
.invoice-table th:last-child { border-radius: 0 8px 8px 0; }
.invoice-table th:nth-child(n+2), .invoice-table td:nth-child(n+2) { text-align: right; }
.invoice-table td { padding: 15px 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.invoice-table td strong, .invoice-table td small { display: block; }
.invoice-table td small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.invoice-summary-area { display: grid; grid-template-columns: 1fr 330px; gap: 50px; align-items: start; padding: 26px 0; }
.invoice-payment-note { padding: 16px; color: #466168; background: #f5f9f9; border-left: 3px solid var(--brand); border-radius: 8px; }
.invoice-payment-note h3 { margin: 0 0 4px; color: var(--ink); font-size: 13px; }
.invoice-payment-note p { margin: 0; font-size: 11px; }
.invoice-payment-note small { display: block; margin-top: 7px; }
.invoice-totals { margin: 0; }
.invoice-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: 12px; }
.invoice-totals dd { margin: 0; font-weight: 800; }
.invoice-grand-total { margin-top: 7px; padding-top: 13px !important; border-top: 2px solid var(--ink); font-size: 19px !important; font-weight: 900; }
.invoice-footer { display: flex; justify-content: space-between; gap: 25px; align-items: end; padding-top: 23px; border-top: 1px solid var(--line); }
.invoice-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.invoice-footer p strong { color: var(--ink); font-size: 13px; }
.invoice-footer > span { color: #93a1a5; font-size: 9px; }

.site-footer { padding: 55px 0 20px; color: #c8d8db; background: #102d35; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 55px; }
.footer-logo { color: #fff; }
.footer-grid p { max-width: 370px; color: #a9c0c4; }
.footer-grid h3 { margin: 8px 0 16px; color: #fff; font-size: 15px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); font-size: 13px; }

.standalone-auth-page { min-height: 670px; padding: 58px 0 78px; background: linear-gradient(135deg, #eaf8f6 0%, #f7fbfb 48%, #fff 100%); }
.standalone-auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); gap: 54px; align-items: center; max-width: 1050px; }
.standalone-auth-intro { padding: 20px 0; }
.standalone-auth-intro h1 { max-width: 530px; margin: 0 0 16px; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.05em; }
.standalone-auth-intro > p:last-of-type { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.auth-benefits { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: #29474e; font-weight: 750; }
.auth-benefits li { display: flex; gap: 11px; align-items: center; }
.auth-benefits span { width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: 12px; }
.standalone-auth-card { padding: 32px; background: #fff; border: 1px solid #d7e4e5; border-radius: 22px; box-shadow: 0 18px 48px rgba(1,48,55,.09); }
.standalone-auth-card h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.auth-card-copy { margin: 7px 0 23px; color: var(--muted); }
.standalone-auth-form { display: grid; gap: 16px; }
.standalone-auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-submit { width: 100%; min-height: 50px; margin-top: 3px; justify-content: space-between; }
.auth-submit span { font-size: 20px; }
.auth-switch { margin: 20px 0 0; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--brand); font-weight: 850; }
.auth-error { margin-bottom: 18px; padding: 12px 14px; color: #a51d1d; background: #fff1f1; border: 1px solid #fecaca; border-radius: 10px; }
.auth-error p { margin: 0; }

.booking-success-page { min-height: 670px; padding: 56px 0 80px; background: linear-gradient(180deg, #eef8f7, #f7fbfb); }
.booking-success-layout { max-width: 850px; }
.booking-success-card { padding: 38px; background: #fff; border: 1px solid #d5e4e5; border-radius: 24px; box-shadow: 0 16px 45px rgba(1,48,55,.08); }
.success-mark, .pending-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--brand); border-radius: 50%; font-size: 29px; font-weight: 900; box-shadow: 0 10px 24px rgba(8,127,120,.22); }
.pending-mark { color: #8a5a00; background: #fff0c2; box-shadow: none; }
.booking-success-card h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.booking-success-card > p:not(.section-kicker) { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.success-reference { margin: 28px 0 0; padding: 17px 19px; background: var(--brand-soft); border: 1px dashed #88ccc5; border-radius: 13px; }
.success-reference span, .success-reference strong { display: block; }
.success-reference span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.success-reference strong { margin-top: 3px; color: var(--brand-dark); font-size: 20px; letter-spacing: .015em; }
.success-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 25px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.success-detail-grid > div { padding: 17px 19px; border-bottom: 1px solid var(--line); }
.success-detail-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.success-detail-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.success-detail-grid dt { color: var(--muted); font-size: 12px; }
.success-detail-grid dd { margin: 3px 0 0; font-weight: 850; }
.success-services { display: grid; gap: 4px; margin-top: 19px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.success-services span { color: var(--muted); font-size: 12px; }
.success-actions { display: flex; gap: 11px; margin-top: 24px; }
.booking-success-help { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 13px; margin-top: 15px; padding: 18px 20px; background: #dff5f2; border-radius: 15px; }
.booking-success-help > span { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-family: Georgia, serif; font-weight: 900; }
.booking-success-help strong, .booking-success-help p { display: block; margin: 0; }
.booking-success-help p { margin-top: 2px; color: var(--muted); }

.cms-content-wrap { max-width: 920px; padding-top: 38px; padding-bottom: 72px; }
.cms-content-card { min-height: 260px; padding: 34px; color: #314950; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 35px rgba(20,43,51,.06); font-size: 16px; line-height: 1.8; }

@media (max-width: 980px) {
    .topbar { grid-template-columns: auto 1fr; gap: 16px; }
    .header-search { grid-row: 2; grid-column: 1 / -1; margin-bottom: 13px; }
    .header-actions { justify-self: end; }
    .nav-links { overflow-x: auto; gap: 27px; white-space: nowrap; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .phone-stage { min-height: 330px; }
    .phone { height: 315px; width: 170px; }
    .phone-halo { width: 290px; height: 290px; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .model-grid, .content-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; }
    .repair-shop-layout { grid-template-columns: 1fr; }
    .repair-cart-column { position: static; grid-row: 1; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .account-profile-card { border-bottom: 0; }
    .account-nav { grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
    .account-nav a { display: flex; justify-content: center; }
    .account-nav a > span, .account-nav b { display: none; }
    .account-sidebar form { display: block; padding: 0 9px 12px; }
    .account-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .account-settings-grid { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary-column { position: static; grid-row: 1; }
    .repair-detail-layout { grid-template-columns: 1fr; }
    .repair-detail-side { position: static; }
}

@media (max-width: 640px) {
    .container, .wrap { width: min(100% - 28px, 1180px); }
    .topbar { min-height: 62px; }
    .site-logo { font-size: 20px; }
    .logo-mark { width: 34px; height: 34px; }
    .header-actions { gap: 8px; }
    .mobile-menu-toggle { display: grid; place-content: center; }
    .site-header.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .site-header.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
    .header-account { padding: 8px 13px; }
    .main-nav { display: block; max-height: 0; overflow: hidden; border-top: 0; opacity: 0; visibility: hidden; transition: max-height .25s ease, opacity .2s ease, visibility .2s; }
    .site-header.menu-open .main-nav { max-height: 460px; border-top: 1px solid #edf1f1; opacity: 1; visibility: visible; }
    .nav-links { display: grid; gap: 0; padding-top: 6px; padding-bottom: 10px; overflow: visible; white-space: normal; }
    .nav-links a { padding: 11px 2px; border-bottom: 1px solid #edf1f1; }
    .nav-links a:last-child { border-bottom: 0; }
    .header-search { display: none; }
    .repair-hero { padding: 40px 0 46px; }
    .hero-title { font-size: 43px; }
    .hero-copy { font-size: 16px; }
    .hero-actions .btn { width: 100%; }
    .phone-stage { min-height: 300px; transform: scale(.9); }
    .repair-badge { font-size: 13px; }
    .badge-one { left: -4px; }
    .badge-two { right: -4px; }
    .section { padding: 52px 0; }
    .section-head { display: block; }
    .section-head .text-link { display: inline-block; margin-top: 14px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .service-card { min-height: 138px; padding: 15px 8px; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .brand-card { min-height: 105px; font-size: 13px; }
    .steps-grid, .benefit-grid, .testimonial-grid, .model-grid, .content-grid { grid-template-columns: 1fr; }
    .choice-list { grid-template-columns: 1fr; }
    .repair-detail-card { grid-template-columns: 1fr; }
    .repair-detail-service-copy { grid-template-columns: 82px minmax(0, 1fr); gap: 16px; }
    .repair-detail-service-copy > img { width: 82px; height: 82px; border-radius: 18px; }
    .repair-price-box { min-width: 0; }
    .cta-content { display: block; }
    .cta-content .btn { margin-top: 20px; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .model-repair-page { padding-top: 18px; }
    .repair-cart-column { grid-row: auto; }
    .repair-cart-column { scroll-margin-top: clamp(220px, 34vh, 270px); }
    .repair-services-panel { padding: 16px; }
    .repair-option-grid { grid-template-columns: 1fr; }
    .repair-option:nth-child(odd) { border-right: 0; }
    .repair-services-heading { align-items: start; flex-direction: column; gap: 5px; }
    .selected-device h1 { font-size: 23px; }
    .auth-modal { padding: 23px 18px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .standalone-auth-page { min-height: 0; padding: 28px 0 48px; }
    .standalone-auth-layout { grid-template-columns: 1fr; gap: 22px; }
    .standalone-auth-intro { padding: 0 2px; }
    .standalone-auth-intro h1 { font-size: 34px; }
    .standalone-auth-intro > p:last-of-type { font-size: 15px; }
    .auth-benefits { display: none; }
    .standalone-auth-card { padding: 24px 18px; border-radius: 18px; }
    .standalone-auth-card h2 { font-size: 27px; }
    .standalone-auth-form-grid { grid-template-columns: 1fr; }
    .booking-success-page { min-height: 0; padding: 24px 0 52px; }
    .booking-success-card { padding: 25px 18px; border-radius: 18px; }
    .booking-success-card h1 { font-size: 33px; }
    .success-detail-grid { grid-template-columns: 1fr; }
    .success-detail-grid > div, .success-detail-grid > div:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); }
    .success-detail-grid > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .success-detail-grid > div:last-child { border-bottom: 0; }
    .success-actions { display: grid; }
    .success-actions .btn { width: 100%; }
    .cms-content-wrap { padding-top: 22px; padding-bottom: 48px; }
    .cms-content-card { min-height: 180px; padding: 22px 18px; border-radius: 16px; }
    .account-page { padding-top: 10px; }
    .account-layout { gap: 12px; }
    .account-sidebar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; border-radius: 14px; }
    .account-profile-card { min-width: 0; grid-column: 1; grid-row: 1; gap: 10px; padding: 12px 14px; border: 0; }
    .account-avatar { width: 39px; height: 39px; flex-basis: 39px; border-radius: 11px; }
    .account-profile-card div { overflow: hidden; }
    .account-profile-card div > strong { display: block; overflow: hidden; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
    .account-profile-card div > span { margin-top: 2px; font-size: 10px; }
    .account-nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 10px; border-top: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .account-nav::-webkit-scrollbar { display: none; }
    .account-nav a { min-height: 40px; flex: 0 0 auto; display: inline-flex; justify-content: center; padding: 0 13px; white-space: nowrap; }
    .account-sidebar form { grid-column: 2; grid-row: 1; display: block; padding: 8px 10px 8px 0; }
    .account-logout { width: auto; min-height: 40px; display: inline-flex; gap: 5px; padding: 0 10px; white-space: nowrap; }
    .account-logout > span { display: none; }
    .account-main section[id], .account-settings-grid section[id] { scroll-margin-top: 120px; }
    .account-welcome { display: block; padding: 24px 20px; }
    .account-welcome .btn { width: 100%; margin-top: 19px; }
    .account-stat-grid { gap: 9px; }
    .account-stat-grid article { min-height: 90px; padding: 12px; }
    .account-stat-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .current-repair-meta { grid-template-columns: 1fr; }
    .repair-progress-steps span:nth-child(2), .repair-progress-steps span:nth-child(4) { display: none; }
    .account-order-row { grid-template-columns: 42px minmax(0,1fr) auto 10px; }
    .account-order-row > span:nth-child(3), .account-order-row > span:nth-child(4) { display: none; }
    .account-bottom-grid { grid-template-columns: 1fr; }
    .account-address-grid { grid-template-columns: 1fr; }
    .account-form-grid { grid-template-columns: 1fr; }
    .checkout-page { padding-top: 18px; }
    .checkout-heading { display: block; }
    .checkout-heading > a { display: inline-block; margin-top: 10px; }
    .checkout-step > header { grid-template-columns: 30px minmax(0,1fr); padding: 15px; }
    .checkout-step > header .step-status { display: none; }
    .checkout-step > header:has(.mobile-step-toggle:not([hidden])) { grid-template-columns: 30px minmax(0,1fr) auto; }
    .checkout-step > header .mobile-step-summary { display: block; margin-top: 6px; color: #25484d; font-size: 12px; font-weight: 750; line-height: 1.45; }
    .checkout-step > header .mobile-step-summary[hidden] { display: none; }
    .checkout-step > header .mobile-step-toggle { min-width: 62px; min-height: 40px; display: inline-grid; place-items: center; padding: 0 10px; color: var(--brand); background: var(--brand-soft); border: 1px solid #a9ded8; border-radius: 9px; font-size: 11px; font-weight: 850; cursor: pointer; }
    .checkout-step > header .mobile-step-toggle[hidden] { display: none; }
    .checkout-step:not(.is-open) > header .step-instruction { display: none; }
    .checkout-step:not(.is-open) > header { min-height: 72px; }
    .checkout-step-body { padding: 0 15px 16px; }
    .checkout-date-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
    .checkout-date-grid { grid-template-columns: repeat(3, 1fr); }
    .slot-grid, .checkout-field-grid { grid-template-columns: 1fr; }
    .slot-grid { grid-template-columns: repeat(2, 1fr); }
    .saved-address-card { grid-template-columns: minmax(0,1fr) auto; }
    .saved-address-card em { display: none; }
    .service-mode-card { grid-template-columns: 58px minmax(0,1fr) 15px; padding: 13px; }
    .service-mode-card > span { width: 54px; height: 54px; }
    .repair-detail-heading, .detail-status-top { align-items: flex-start; flex-direction: column; }
    .repair-detail-heading .btn { width: 100%; }
    .detail-status-top > strong { align-self: flex-start; }
    .detail-status-card { padding: 19px; }
    .detail-card { padding: 17px; }
    .detail-service-list article { grid-template-columns: 38px minmax(0,1fr); }
    .detail-service-list article > b { grid-column: 2; }
    .invoice-page { padding-top: 20px; }
    .invoice-sheet { padding: 24px 18px; border-radius: 12px; }
    .invoice-head, .invoice-footer { flex-direction: column; }
    .invoice-title { text-align: left; }
    .invoice-meta-grid, .invoice-summary-area { grid-template-columns: 1fr; gap: 24px; }
    .invoice-booking-strip { grid-template-columns: 1fr; gap: 12px; }
    .invoice-toolbar .btn { min-height: 42px; padding: 0 14px; }
    .invoice-toolbar-links { align-items: flex-start; flex-direction: column; gap: 2px; }
}

.tracking-page { min-height: 660px; padding: 56px 0 82px; background: linear-gradient(180deg, #f3f8f8 0%, #f7fbfb 100%); }
.tracking-heading { max-width: 720px; margin-bottom: 30px; }
.tracking-heading h1, .tracking-result-heading h1 { margin: 5px 0 8px; color: var(--ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.tracking-heading > p:last-child, .tracking-result-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.tracking-lookup-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: 22px; align-items: stretch; max-width: 1020px; }
.tracking-lookup-card, .tracking-help-card { border: 1px solid #d7e4e5; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(1, 48, 55, .06); }
.tracking-lookup-card { padding: 30px; }
.tracking-card-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding-bottom: 23px; border-bottom: 1px solid #e0e9ea; }
.tracking-card-heading > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.tracking-card-heading h2, .tracking-help-card h2 { margin: 0 0 5px; font-size: 21px; }
.tracking-card-heading p, .tracking-help-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.tracking-form { display: grid; padding-top: 24px; }
.tracking-form label { margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 850; }
.tracking-form input { width: 100%; height: 52px; margin: 0 0 18px; padding: 0 16px; border: 1px solid #bfd1d3; border-radius: 11px; background: #fff; color: var(--ink); font: inherit; outline: 0; transition: border-color .15s, box-shadow .15s; }
.tracking-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 137, 126, .12); }
.tracking-form input::placeholder { color: #91a0a3; }
.tracking-form #tracking-order-number { text-transform: uppercase; }
.tracking-field-help { margin: -9px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.tracking-field-error { margin: -10px 0 16px; padding: 9px 11px; border-radius: 8px; background: #fff0f0; color: #c32222; font-size: 13px; font-weight: 750; }
.tracking-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 52px; margin-top: 4px; padding: 0 20px; }
.tracking-submit span { font-size: 21px; }
.tracking-help-card { position: relative; overflow: hidden; padding: 30px; background: #053c42; color: #fff; }
.tracking-help-card::after { content: ''; position: absolute; right: -62px; bottom: -68px; width: 190px; height: 190px; border-radius: 50%; background: rgba(23, 190, 175, .12); }
.tracking-help-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 22px; border-radius: 50%; background: #14b7a7; font-weight: 900; }
.tracking-help-card h2, .tracking-help-card h3 { color: #fff; }
.tracking-help-card h3 { margin: 0 0 7px; font-size: 16px; }
.tracking-help-card p { color: #c2d6d8; }
.tracking-help-rule { margin: 24px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.tracking-help-card a { position: relative; z-index: 1; display: inline-block; margin-top: 16px; color: #66e3d6; font-weight: 850; }
.tracking-help-card small { position: relative; z-index: 1; display: block; margin-top: 34px; color: #99b9bc; }
.tracking-result-page { padding-top: 34px; }
.tracking-result-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 24px; }
.tracking-result-heading .detail-back-link { display: inline-block; margin-bottom: 18px; }
.tracking-status-badge { flex: 0 0 auto; margin-bottom: 7px; padding: 10px 15px; border: 1px solid #9fdcd6; border-radius: 99px; background: #e1f8f5; color: var(--brand); font-size: 13px; font-weight: 900; }
.tracking-status-card { margin-bottom: 22px; }
.tracking-result-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .68fr); gap: 22px; align-items: start; }
.tracking-result-main, .tracking-result-side { display: grid; gap: 22px; }
.tracking-result-side { position: sticky; top: 95px; }
.tracking-timeline { margin-top: 4px; }
.tracking-appointment-card { position: relative; overflow: hidden; }
.tracking-panel-icon { position: absolute; right: 20px; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 19px; }
.tracking-appointment-card > h2 { margin: 5px 55px 17px 0; }
.tracking-support-link { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid #b9d8d9; border-radius: 15px; background: #e6f8f6; color: var(--ink); }
.tracking-support-link span { color: var(--brand); font-weight: 800; }

@media (max-width: 820px) {
    .tracking-lookup-layout, .tracking-result-layout { grid-template-columns: 1fr; }
    .tracking-result-side { position: static; }
}

@media (max-width: 640px) {
    .tracking-page { padding: 28px 0 54px; }
    .tracking-heading { margin-bottom: 20px; }
    .tracking-heading h1, .tracking-result-heading h1 { font-size: 30px; overflow-wrap: anywhere; }
    .tracking-lookup-card, .tracking-help-card { padding: 20px; border-radius: 16px; }
    .tracking-result-heading { display: block; }
    .tracking-status-badge { display: inline-block; margin-top: 15px; }
    .tracking-support-link { flex-direction: column; }
}

@media print {
    .site-header, .site-footer, .invoice-toolbar { display: none !important; }
    body, .invoice-page { background: #fff; }
    .invoice-page { padding: 0; }
    .invoice-page .container { width: 100%; }
    .invoice-sheet { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
}
