:root {
    --primary: #155eef;
    --primary-dark: #0b46c5;
    --primary-soft: #eff4ff;
    --background: #eef3fb;
    --surface: #ffffff;
    --text: #101828;
    --muted: #667085;
    --border: #d0d5dd;
    --border-soft: #e4e7ec;
    --success: #067647;
    --success-soft: #ecfdf3;
    --warning: #b54708;
    --warning-soft: #fffaeb;
    --danger: #b42318;
    --danger-soft: #fef3f2;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(16, 24, 40, 0.09);
    color-scheme: light;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: var(--primary);
}

svg {
    display: block;
}

.is-hidden {
    display: none !important;
}

.noscript {
    padding: 12px 20px;
    background: var(--danger-soft);
    color: var(--danger);
    text-align: center;
    font-weight: 700;
}

.page-frame {
    min-height: 100vh;
    padding: 48px 24px;
}

.app-shell {
    width: min(100%, 920px);
    min-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 30px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
}

.app-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin-bottom: 24px;
}

.brand {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.brand img {
    display: block;
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.brand-text {
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.icon-button:active {
    transform: scale(0.96);
}

.icon-button svg {
    width: 19px;
    height: 19px;
}

.header-back {
    grid-column: 1;
}

.restart-button {
    grid-column: 3;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto 32px;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 650;
    text-align: center;
}

.stepper-item::before {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: var(--border-soft);
    content: "";
}

.stepper-item.is-current,
.stepper-item.is-complete {
    color: var(--primary);
}

.stepper-item.is-current::before,
.stepper-item.is-complete::before {
    background: var(--primary);
}

.screen-enter {
    animation: screen-in 240ms ease both;
}

@keyframes screen-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    padding: 22px 0 34px;
    text-align: center;
}

.city-chip,
.status-chip,
.piece-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-weight: 700;
}

.city-chip {
    margin-bottom: 18px;
    padding: 8px 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.82rem;
}

.city-chip svg {
    width: 15px;
    height: 15px;
}

.hero h1,
.screen-heading h1 {
    margin: 0;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.hero h1 {
    max-width: 700px;
    margin-inline: auto;
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.hero-description {
    max-width: 660px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.returning-greeting {
    margin: 14px auto 0;
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
    line-height: 1.1;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

.button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
}

.button svg {
    width: 19px;
    height: 19px;
}

.button-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 25%, transparent);
}

.button-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.button-secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.button-secondary:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.button-block {
    width: 100%;
}

.section-block {
    padding: 34px 0;
    border-top: 1px solid var(--border-soft);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-header-main {
    min-width: 0;
}

.eyebrow {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
    color: #f5b301;
}

.eyebrow svg,
.stars svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.section-title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-description {
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hours-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    background: #f9fafb;
    color: var(--muted);
    font-size: 0.88rem;
}

.hours-row.is-today {
    border-color: color-mix(in srgb, var(--success) 45%, transparent);
    background: var(--success-soft);
    color: var(--success);
    font-weight: 750;
}

.hours-time {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.open-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 11px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 0.88rem;
    font-weight: 700;
}

.open-status.is-closed {
    background: var(--warning-soft);
    color: var(--warning);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.map-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--surface);
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 340px;
    border: 0;
    background: #e9edf3;
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.map-address svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--primary);
}

.map-action {
    padding: 0 14px 14px;
}

.rating-summary {
    flex: 0 0 auto;
    text-align: right;
}

.rating-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.rating-count {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
}

.reviews-viewport {
    display: grid;
    grid-auto-columns: calc((100% - 16px) / 2);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reviews-viewport::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-height: 190px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    scroll-snap-align: start;
}

.review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.review-name {
    margin: 0;
    font-size: 0.95rem;
}

.stars {
    display: flex;
    gap: 2px;
    margin-top: 7px;
    color: #f5b301;
}

.source-logo {
    display: flex;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fa;
    color: #4285f4;
    font-size: 1rem;
    font-weight: 900;
}

.review-text {
    margin: 16px 0 0;
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.55;
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.reviews-progress {
    position: relative;
    width: min(40%, 220px);
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--border-soft);
}

.reviews-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--text);
    transition: width 100ms linear;
}

.carousel-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
}

.carousel-button svg {
    width: 15px;
    height: 15px;
}

.review-featured {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.google-mark {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fa;
    color: #4285f4;
    font-size: 1.8rem;
    font-weight: 900;
}

.review-featured h3 {
    margin: 0;
    font-size: 1rem;
}

.review-featured-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.review-featured-text {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.55;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--surface);
}

.faq-item summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    flex: 0 0 auto;
    color: var(--primary);
    content: "+";
    font-size: 1.25rem;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 16px 16px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-section {
    text-align: center;
}

.social-title {
    margin: 0 0 14px;
    font-size: 0.92rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-links.is-left {
    justify-content: flex-start;
}

.social-links.is-right {
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 19px;
    height: 19px;
}

.indication-box {
    margin-top: 24px;
    padding: 17px 20px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
}

.home-bottom-cta {
    padding-top: 24px;
}

.screen-content {
    max-width: 720px;
    margin: 0 auto;
}

.screen-heading {
    margin-bottom: 24px;
}

.screen-heading h1 {
    font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.screen-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field + .field {
    margin-top: 16px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-row .field + .field {
    margin-top: 0;
}

.field label,
.field-label {
    font-size: 0.87rem;
    font-weight: 750;
}

.optional-label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.input,
.textarea,
.select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input,
.select {
    min-height: 50px;
    padding: 0 14px;
}

.textarea {
    min-height: 110px;
    padding: 13px 14px;
    line-height: 1.5;
    resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}

.input[aria-invalid="true"] {
    border-color: var(--danger);
}

.field-error {
    color: var(--danger);
    font-size: 0.78rem;
}

.device-combobox {
    position: relative;
}

.search-wrap {
    position: relative;
}

.search-wrap > svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    color: var(--muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.search-wrap .input {
    padding-right: 46px;
    padding-left: 44px;
}

.clear-search {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.clear-search:hover {
    background: #f2f4f7;
    color: var(--text);
}

.clear-search svg {
    width: 16px;
    height: 16px;
}

.device-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: 330px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.15);
}

.device-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.device-option:hover,
.device-option.is-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.device-option-name {
    font-weight: 700;
}

.device-option-category {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.74rem;
}

.empty-options {
    padding: 18px 12px;
    color: var(--muted);
    text-align: center;
    font-size: 0.87rem;
}

.selected-device {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border));
    border-radius: 12px;
    background: var(--primary-soft);
}

.device-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--surface);
    color: var(--primary);
}

.device-icon svg {
    width: 21px;
    height: 21px;
}

.selected-device strong,
.selected-device span {
    display: block;
}

.selected-device span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.repair-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.repair-card {
    position: relative;
    display: flex;
    min-height: 155px;
    flex-direction: column;
    align-items: stretch;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.repair-card:hover {
    border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
    transform: translateY(-1px);
}

.repair-card.is-selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 10%, transparent);
}

.repair-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.repair-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.repair-heading > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--primary);
}

.repair-name {
    font-weight: 800;
    line-height: 1.25;
}

.selected-check {
    display: inline-flex;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: transparent;
}

.selected-check svg {
    width: 14px;
    height: 14px;
}

.repair-card.is-selected .selected-check {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.repair-description {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 0.81rem;
    line-height: 1.45;
}

.repair-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px 12px;
    margin-top: auto;
    padding-top: 13px;
}

.repair-price {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 850;
}

.repair-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

.repair-time svg {
    width: 14px;
    height: 14px;
}

.piece-chip {
    margin-top: 9px;
    padding: 4px 8px;
    background: #f2f4f7;
    color: #475467;
    font-size: 0.67rem;
    font-weight: 650;
}

.special-repairs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}

.special-repairs .repair-card {
    min-height: 132px;
}

.inline-callout {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #fedf89;
    border-radius: 11px;
    background: var(--warning-soft);
    color: var(--warning);
    font-size: 0.86rem;
    line-height: 1.5;
}

.conditional-field {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: #f9fafb;
}

.flow-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 12px;
    margin-top: 28px;
}

.summary-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.summary-device {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-soft);
}

.summary-device h2 {
    margin: 0;
    font-size: 1.02rem;
}

.summary-device p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-soft);
}

.summary-item:last-child {
    border-bottom: 0;
}

.summary-item-name {
    font-size: 0.9rem;
    font-weight: 750;
}

.summary-item-detail {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.76rem;
}

.summary-item-price {
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-top: 1px solid var(--border);
    background: #f9fafb;
}

.summary-total-label span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.73rem;
}

.summary-total-value {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 900;
    white-space: nowrap;
}

.customer-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.customer-summary-item {
    padding: 13px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
}

.customer-summary-item span,
.customer-summary-item strong {
    display: block;
}

.customer-summary-item span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
}

.customer-summary-item strong {
    overflow-wrap: anywhere;
    font-size: 0.87rem;
}

.quote-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 10px;
    background: var(--warning-soft);
    color: #7a2e0e;
    font-size: 0.8rem;
    line-height: 1.5;
}

.quote-notice svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--warning);
}

.success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 11px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
}

.success-banner svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 0.72rem;
}

.app-footer a {
    color: inherit;
    text-decoration: none;
}

.app-footer a:hover {
    color: var(--primary);
}

.toast-region {
    position: fixed;
    z-index: 100;
    right: 20px;
    bottom: 20px;
    display: flex;
    width: min(390px, calc(100% - 40px));
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
    font-size: 0.86rem;
    font-weight: 650;
    animation: toast-in 180ms ease both;
}

.toast.is-error {
    border-color: #fecdca;
    background: var(--danger-soft);
    color: var(--danger);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .page-frame {
        padding: 24px;
    }

    .app-shell {
        min-height: calc(100vh - 48px);
        padding: 22px;
        border-radius: calc(var(--radius) + 4px);
    }

    .hero {
        padding-top: 10px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-card iframe {
        min-height: 310px;
    }

    .reviews-viewport {
        grid-auto-columns: 86%;
    }

    .repair-list,
    .special-repairs {
        grid-template-columns: 1fr;
    }

    .repair-card {
        min-height: 142px;
    }
}

@media (max-width: 520px) {
    .page-frame {
        padding: 50px 25px;
    }

    .app-shell {
        min-height: calc(100vh - 100px);
        padding: 18px;
        border-radius: var(--radius);
    }

    .app-header {
        margin-bottom: 18px;
    }

    .stepper {
        gap: 5px;
        margin-bottom: 26px;
    }

    .stepper-item {
        font-size: 0.65rem;
    }

    .section-block {
        padding: 28px 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .rating-summary {
        text-align: left;
    }

    .reviews-viewport {
        grid-auto-columns: 91%;
    }

    .review-featured {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .google-mark {
        width: 44px;
        height: 44px;
        font-size: 1.45rem;
    }

    .field-row,
    .customer-summary {
        grid-template-columns: 1fr;
    }

    .flow-actions {
        grid-template-columns: 1fr 1fr;
    }

    .flow-actions .button {
        padding-inline: 12px;
    }

    .summary-total-value {
        font-size: 1.12rem;
    }

    .app-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 370px) {
    .page-frame {
        padding-right: 16px;
        padding-left: 16px;
    }

    .app-shell {
        padding-right: 14px;
        padding-left: 14px;
    }

    .flow-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
