:root {
    --primary: #168b5a;
    --primary-dark: #0d6842;
    --primary-soft: #eaf7f1;
    --secondary: #244b3a;
    --ink: #17211c;
    --muted: #66736d;
    --line: #dfe7e2;
    --surface: #ffffff;
    --background: #f4f7f5;
    --danger: #b93838;
    --warning: #a05c00;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(24, 58, 43, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 231, 226, .9);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary);
}

.header-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.site-main {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 0 100px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 34px;
    padding: 58px;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(255, 255, 255, .22),
            transparent 24%
        ),
        linear-gradient(135deg, #0f6e48, #1ca26b);
    color: white;
    box-shadow: var(--shadow);
}

.hero:before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
    margin: 12px 0 20px;
    max-width: 760px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, .83);
    max-width: 620px;
}

.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #bff3db;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    transition: .2s ease;
}

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

.button-large {
    min-height: 54px;
    padding: 14px 25px;
}

.button-primary {
    background: var(--primary);
    color: white;
}

.hero .button-primary {
    background: white;
    color: var(--primary-dark);
}

.button-secondary {
    background: var(--secondary);
    color: white;
}

.button-light {
    background: rgba(255, 255, 255, .14);
    color: inherit;
    border-color: rgba(255, 255, 255, .30);
}

.form-step .button-light,
.success-card .button-light {
    background: white;
    color: var(--ink);
    border-color: var(--line);
}

.hero-visual {
    position: relative;
    min-height: 300px;
}

.recycle-orbit {
    width: 230px;
    height: 230px;
    margin: 35px auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    font-size: 100px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 0 0 25px rgba(255, 255, 255, .05);
}

.hero-chip {
    position: absolute;
    padding: 10px 16px;
    border-radius: 999px;
    background: white;
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.chip-one {
    top: 10px;
    left: 0;
}

.chip-two {
    right: 0;
    top: 110px;
}

.chip-three {
    left: 15px;
    bottom: 10px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -24px 34px 0;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
}

.trust-strip span {
    font-weight: 750;
}

.section {
    margin-top: 34px;
    padding: 32px;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 35px rgba(24, 58, 43, .06);
}

.section-heading,
.form-card-heading,
.order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.section h2,
.form-card h2,
.page-intro h1 {
    margin: 4px 0 0;
    line-height: 1.25;
}

.section-heading > a,
.text-button {
    color: var(--primary);
    font-weight: 800;
}

.text-button {
    border: 0;
    background: none;
    padding: 8px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.category-card {
    min-height: 152px;
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, white, #f8fbf9);
}

.category-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    font-size: 24px;
}

.category-card h3 {
    margin: 0 0 5px;
}

.category-card p {
    margin: 2px 0;
    color: var(--muted);
    font-size: 13px;
}

.category-card .price {
    color: var(--primary-dark);
    font-size: 17px;
    font-weight: 850;
}

.price small {
    font-size: 12px;
    font-weight: 500;
}

.price-muted {
    font-size: 14px !important;
}

.split-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.process-card,
.service-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(24, 58, 43, .06);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.process-list li {
    display: flex;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 0;
}

.process-list li > span {
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
}

.process-list strong {
    font-size: 17px;
}

.process-list p {
    margin: 3px 0 0;
    color: var(--muted);
}

.region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}

.region-tags span {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card > p,
.safety-note p {
    color: var(--muted);
}

.safety-note {
    border-left: 5px solid #c78630;
    background: #fffaf2;
}

.page-intro {
    padding: 25px 5px;
}

.page-intro h1 {
    font-size: 38px;
}

.page-intro p {
    color: var(--muted);
    max-width: 700px;
}

.page-intro.compact {
    max-width: 720px;
    margin: 0 auto;
}

.step-indicator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.step-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    color: var(--muted);
    font-weight: 800;
}

.step-dot span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--background);
}

.step-dot.active {
    color: var(--primary-dark);
    border-color: #9ddbc2;
    background: var(--primary-soft);
}

.step-dot.active span {
    background: var(--primary);
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-card,
.lookup-card,
.order-detail-card,
.success-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-card > label,
.item-row > label,
.inline-fields label,
.lookup-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 18px;
}

label > span {
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfdad4;
    border-radius: 12px;
    background: white;
    padding: 12px 14px;
    color: var(--ink);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 139, 90, .10);
}

textarea {
    resize: vertical;
}

.item-row {
    position: relative;
    padding: 20px;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdfc;
}

.item-row:first-child .remove-item {
    display: none;
}

.remove-item {
    border: 0;
    background: none;
    color: var(--danger);
    margin-top: 12px;
    padding: 0;
}

.inline-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.inline-fields.three {
    grid-template-columns: repeat(3, 1fr);
}

.upload-box {
    margin-top: 22px;
    padding: 28px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 2px dashed #a9c9ba;
    border-radius: 16px;
    background: var(--primary-soft);
}

.upload-box input {
    display: none;
}

.upload-box small {
    color: var(--muted);
    margin-top: 5px;
}

.upload-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 28px;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    margin-top: 12px;
}

.upload-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.segmented label {
    cursor: pointer;
}

.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span {
    display: block;
    text-align: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.segmented input:checked + span {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    margin-top: 22px;
    color: var(--muted);
}

.consent input {
    width: 18px;
    margin-top: 4px;
}

.price-notice {
    margin-top: 18px;
    padding: 14px;
    background: #fff8e8;
    color: #76501c;
    border-radius: 12px;
    font-size: 14px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.lookup-card {
    max-width: 720px;
    margin: 0 auto;
}

.lookup-card .button {
    width: 100%;
    margin-top: 20px;
}

.order-detail-card {
    max-width: 900px;
    margin: 22px auto 0;
}

.order-detail-head small,
.order-number small {
    color: var(--muted);
}

.order-detail-head h2 {
    margin: 0;
    word-break: break-all;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-info {
    background: #eaf2ff;
    color: #285ca6;
}

.status-success {
    background: #e5f7ee;
    color: #11653f;
}

.status-warning {
    background: #fff3dc;
    color: var(--warning);
}

.status-danger {
    background: #feecec;
    color: var(--danger);
}

.summary-list {
    margin: 24px 0;
}

.summary-list > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.item-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.item-summary span {
    color: var(--muted);
    text-align: right;
}

.success-card {
    max-width: 720px;
    margin: 40px auto;
    text-align: center;
}

.success-mark {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 38px;
}

.order-number {
    padding: 18px;
    margin: 24px 0;
    background: var(--primary-soft);
    border-radius: 14px;
}

.order-number strong {
    display: block;
    font-size: 21px;
    word-break: break-all;
    color: var(--primary-dark);
}

.alert {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.alert-success {
    background: #e7f7ef;
    color: #165e3f;
}

.alert-danger {
    background: #feecec;
    color: #8c2d2d;
}

.empty-state {
    padding: 90px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 60px;
    font-weight: 900;
    color: var(--primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    z-index: 30;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 66px;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(20, 45, 34, .18);
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav span {
    font-size: 20px;
    line-height: 1;
}

.mobile-nav small {
    margin-top: 5px;
}

.mobile-nav .nav-primary span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-top: -24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(22, 139, 90, .28);
}

.site-footer {
    padding: 30px 15px 90px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 42px 30px;
    }

    .hero-visual {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin: 14px 0 0;
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip div:nth-child(2) {
        border-right: 0;
    }

    .trust-strip div {
        border-bottom: 1px solid var(--line);
    }

    .trust-strip div:nth-child(3),
    .trust-strip div:nth-child(4) {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 56px;
    }

    .site-main {
        width: min(100% - 20px, 1120px);
        padding-top: 10px;
    }

    .hero {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-strip div {
        padding: 15px 12px;
        gap: 8px;
        font-size: 13px;
    }

    .section,
    .process-card,
    .service-card,
    .form-card,
    .lookup-card,
    .order-detail-card,
    .success-card {
        padding: 20px;
    }

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

    .category-card {
        min-height: 0;
    }

    .step-indicator {
        gap: 5px;
    }

    .step-dot {
        min-height: 44px;
        font-size: 12px;
        padding: 5px;
    }

    .step-dot span {
        width: 23px;
        height: 23px;
    }

    .inline-fields,
    .inline-fields.three {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .step-actions .button {
        width: 100%;
    }

    .upload-preview {
        grid-template-columns: repeat(3, 1fr);
    }

    .summary-list > div {
        grid-template-columns: 95px 1fr;
    }

    .item-summary > div {
        flex-direction: column;
        gap: 2px;
    }

    .item-summary span {
        text-align: left;
    }

    .mobile-nav {
        display: grid;
    }

    .site-footer {
        padding-bottom: 100px;
    }
}


/* v1.4.1 预约表单精简 */
.optional-details {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fafcfb;
}

.optional-details summary {
    padding: 14px;
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 800;
}

.optional-details-body {
    display: grid;
    gap: 14px;
    padding: 0 14px 14px;
}


/* v2.0.4 地图高精度定位与降级提示 */
.map-picker-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--primary-soft);
}

.map-picker-copy {
    min-width: 0;
}

.map-picker-card strong,
.map-picker-card p {
    display: block;
    margin: 0;
}

.map-picker-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.map-picker-card .map-picker-status {
    margin-top: 8px;
    line-height: 1.55;
}

.map-picker-status[data-state="success"] {
    color: var(--primary-dark);
}

.map-picker-status[data-state="warning"] {
    color: #8a5a00;
}

.map-picker-status[data-state="error"] {
    color: #a12b2b;
}

.map-picker-status[data-state="loading"] {
    font-weight: 700;
}

.map-picker-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.map-picker-actions .button {
    white-space: nowrap;
}

.map-picker-card .button-light {
    color: var(--primary-dark);
    border-color: var(--line);
    background: white;
}

.map-picker-actions button[disabled],
.map-picker-heading-actions button[disabled] {
    cursor: wait;
    opacity: .65;
}

.map-picker-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 15px;
    background: rgba(5, 24, 18, .72);
}

.map-picker-modal[hidden] {
    display: none;
}

.map-picker-dialog {
    width: min(920px, 100%);
    height: min(720px, 92vh);
    display: grid;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
    border-radius: 18px;
    background: white;
}

.map-picker-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
}

.map-picker-heading strong,
.map-picker-heading small {
    display: block;
}

.map-picker-heading small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.map-picker-heading-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.map-picker-heading button {
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: var(--primary);
}

.map-picker-heading .map-picker-relocate {
    color: var(--primary-dark);
    border: 1px solid var(--line);
    background: white;
}

.map-picker-fallback-note {
    margin: 0;
    padding: 8px 15px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: #fafcfb;
    font-size: 12px;
    line-height: 1.5;
}

.map-picker-dialog iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.map-modal-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .map-picker-card {
        align-items: stretch;
        flex-direction: column;
    }

    .map-picker-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .map-picker-card .button {
        width: 100%;
    }

    .map-picker-heading {
        align-items: flex-start;
    }

    .map-picker-heading-actions {
        flex-direction: column;
    }

    .map-picker-heading button {
        min-width: 74px;
    }
}


/* v2.0.1 用户端导航视觉精简 */
.mobile-nav.mobile-nav-three {
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    min-height: 66px;
    padding: 5px 6px max(5px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(223, 231, 226, .95);
    border-radius: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -7px 22px rgba(24, 58, 43, .08);
    backdrop-filter: blur(16px);
}

.mobile-nav.mobile-nav-three a {
    gap: 2px;
    min-width: 0;
    min-height: 56px;
    color: #7b8580;
    font-weight: 700;
}

.mobile-nav.mobile-nav-three a.active {
    color: #0b947d;
}

.mobile-nav.mobile-nav-three span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    font-size: 0;
}

.mobile-nav.mobile-nav-three svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-nav.mobile-nav-three small {
    overflow: hidden;
    max-width: 100%;
    margin-top: 1px;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 820px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .site-main {
        padding-bottom: 24px;
    }

    .site-footer {
        padding-bottom: 24px;
    }

    .page-home .site-footer {
        display: none;
    }
}


/* v2.0.2 三栏导航与服务中心 */
.page-service-center {
    background: #f4f7f5;
}

.page-service-center .site-main {
    width: min(900px, calc(100% - 28px));
    padding-top: 18px;
}

.service-center-page {
    display: grid;
    gap: 16px;
}

.service-center-header {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 22px;
    color: white;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(255, 255, 255, .18),
            transparent 27%
        ),
        linear-gradient(135deg, #087e6e, #18bda3);
    box-shadow: 0 16px 36px rgba(14, 123, 105, .16);
}

.service-center-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 750;
}

.service-center-back svg,
.service-center-page .service-card-icon svg,
.service-center-page .service-list-icon svg,
.service-center-page .service-card-arrow,
.service-center-notice svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-center-back svg {
    width: 18px;
    height: 18px;
}

.service-center-title {
    max-width: 620px;
    margin-top: 20px;
}

.service-center-title > span {
    display: block;
    color: #bff5e8;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .10em;
}

.service-center-title h1 {
    margin: 5px 0 7px;
    font-size: clamp(27px, 5vw, 40px);
    line-height: 1.2;
}

.service-center-title p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.service-center-section {
    padding: 20px;
    border: 1px solid #e6ece8;
    border-radius: 18px;
    background: white;
    box-shadow: 0 10px 30px rgba(27, 61, 49, .06);
}

.service-center-section-heading {
    margin-bottom: 14px;
}

.service-center-section-heading > span {
    display: block;
    color: #087e6e;
    font-size: 12px;
    font-weight: 850;
}

.service-center-section-heading h2 {
    margin: 2px 0 0;
    font-size: 21px;
    line-height: 1.3;
}

.service-customer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-customer-card {
    min-width: 0;
    min-height: 156px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 19px;
    align-content: start;
    align-items: center;
    gap: 11px;
    padding: 16px;
    border: 1px solid #e4ece8;
    border-radius: 15px;
    color: #202a26;
    background: #f9fcfa;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.service-customer-card:hover {
    transform: translateY(-2px);
    border-color: #cce9df;
    box-shadow: 0 10px 20px rgba(27, 69, 54, .07);
}

.service-customer-card.primary {
    color: white;
    border-color: transparent;
    background: linear-gradient(145deg, #0da887, #19c1a5);
}

.service-customer-card.muted {
    color: #66736d;
    cursor: default;
    background: #f5f7f6;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #087e6e;
    background: #e7f7f2;
}

.service-customer-card.primary .service-card-icon {
    color: #087e6e;
    background: white;
}

.service-customer-card.muted .service-card-icon {
    color: #77827c;
    background: white;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
}

.service-customer-card > div {
    min-width: 0;
}

.service-customer-card strong,
.service-customer-card p {
    display: block;
}

.service-customer-card strong {
    font-size: 16px;
}

.service-customer-card p {
    margin: 4px 0 0;
    color: #718079;
    font-size: 13px;
    line-height: 1.55;
}

.service-customer-card.primary p {
    color: rgba(255, 255, 255, .80);
}

.service-card-arrow {
    width: 18px;
    height: 18px;
    color: #7c8982;
}

.service-customer-card.primary .service-card-arrow {
    color: white;
}

.service-secondary-list {
    display: grid;
    gap: 8px;
}

.service-secondary-list > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 19px;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e7ede9;
    border-radius: 13px;
    background: #fbfdfc;
    transition:
        border-color .18s ease,
        background .18s ease;
}

.service-secondary-list > a:hover {
    border-color: #cde7de;
    background: #f3faf7;
}

.service-list-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #4b7892;
    background: #edf5f9;
}

.service-list-icon svg {
    width: 25px;
    height: 25px;
}

.service-secondary-list strong,
.service-secondary-list p {
    display: block;
}

.service-secondary-list strong {
    color: #202a26;
    font-size: 15px;
}

.service-secondary-list p {
    margin: 2px 0 0;
    color: #78817d;
    font-size: 13px;
}

.service-center-notice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 15px;
    color: #4e6158;
    background: #eaf6f1;
}

.service-notice-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #087e6e;
    background: white;
}

.service-notice-icon svg {
    width: 23px;
    height: 23px;
}

.service-center-notice strong,
.service-center-notice p,
.service-center-notice small {
    display: block;
}

.service-center-notice p {
    margin: 2px 0 0;
    font-size: 13px;
}

.service-center-notice small {
    margin-top: 7px;
    color: #6e7c75;
}

.mobile-nav.mobile-nav-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-nav.mobile-nav-three a {
    min-height: 58px;
}

.mobile-nav.mobile-nav-three small {
    font-size: 12px;
}

@media (max-width: 820px) {
    .page-service-center .site-main {
        width: min(100%, 680px);
        padding-top: 0;
    }

    .page-service-center .site-footer {
        display: none;
    }

    .service-center-page {
        gap: 12px;
        padding-bottom: 8px;
    }

    .service-center-header {
        padding: 17px 16px 22px;
        border-radius: 0 0 22px 22px;
    }

    .service-center-title {
        margin-top: 17px;
    }

    .service-center-section,
    .service-center-notice {
        margin-right: 12px;
        margin-left: 12px;
    }

    .service-customer-grid {
        grid-template-columns: 1fr;
    }

    .service-customer-card {
        min-height: 0;
        grid-template-columns: 48px minmax(0, 1fr) 18px;
        padding: 14px;
    }

    .service-card-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 420px) {
    .service-center-title h1 {
        font-size: 25px;
    }

    .service-center-title p {
        font-size: 13px;
    }

    .service-center-section {
        padding: 16px;
    }

    .service-secondary-list > a {
        grid-template-columns: 43px minmax(0, 1fr) 17px;
        gap: 10px;
        padding: 12px 10px;
    }

    .service-list-icon {
        width: 43px;
        height: 43px;
    }

    .service-secondary-list p {
        font-size: 12px;
    }

    .mobile-nav.mobile-nav-three a {
        min-height: 60px;
    }

    .mobile-nav.mobile-nav-three small {
        font-size: 12px;
    }
}

/* v2.1.0 客户预约两步化与地图自动回填 */
.page-appointment .site-header {
    min-height: 58px;
}

.page-appointment .header-link {
    display: none;
}

.page-appointment .site-main {
    width: calc(100% - 28px);
    max-width: 900px;
    min-width: 0;
    padding-bottom: 110px;
}

.page-appointment .appointment-intro {
    margin-bottom: 18px;
}

.page-appointment .appointment-intro h1 {
    margin-bottom: 7px;
}

.page-appointment .appointment-intro p {
    max-width: none;
}

.appointment-progress {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(50px, 1fr) minmax(0, auto);
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
}

.appointment-progress-line {
    height: 3px;
    border-radius: 999px;
    background: #dce8e2;
}

.appointment-progress-step {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    white-space: nowrap;
}

.appointment-progress-step span {
    width: 30px;
    height: 30px;
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--muted);
    background: #edf3f0;
    font-weight: 900;
}

.appointment-progress-step strong {
    font-size: 14px;
}

.appointment-progress-step.active,
.appointment-progress-step.complete {
    color: var(--primary-dark);
}

.appointment-progress-step.active span,
.appointment-progress-step.complete span {
    color: white;
    background: var(--primary);
}

.appointment-card {
    padding: 26px;
}

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

.appointment-section-heading h2 {
    margin: 3px 0 0;
}

.appointment-section-heading > small,
.appointment-field-heading small {
    color: var(--muted);
}

.category-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.category-choice {
    position: relative;
    display: flex;
    min-height: 128px;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fbfdfc;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.category-choice:hover {
    transform: translateY(-1px);
    border-color: #9bcab5;
}

.category-choice.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px rgba(22, 139, 90, .10);
}

.category-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-choice-icon {
    font-size: 26px;
    line-height: 1;
}

.category-choice strong {
    font-size: 15px;
}

.category-choice small {
    color: var(--muted);
    line-height: 1.35;
}

.category-choice.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.category-choice-error {
    margin: 12px 0 0;
    color: var(--danger);
    font-weight: 750;
}

.selected-items-panel {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdfc;
}

.selected-items-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
}

.selected-items-heading small {
    color: var(--muted);
}

.selected-items {
    display: grid;
}

.selected-items-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
}

.selected-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

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

.selected-item-main {
    min-width: 0;
}

.selected-item-main strong,
.selected-item-main small {
    display: block;
}

.selected-item-main small {
    margin-top: 3px;
    color: var(--muted);
}

.selected-item-quantity {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.selected-item-quantity input {
    min-width: 0;
    padding: 9px 11px;
}

.selected-item-quantity em {
    min-width: 30px;
    color: var(--muted);
    font-style: normal;
}

.selected-item-remove {
    border: 0;
    color: var(--danger);
    background: transparent;
    font-weight: 750;
}

.upload-box-compact {
    display: flex;
    min-height: 76px;
    cursor: pointer;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 16px;
    text-align: left;
}

.upload-box-compact .upload-icon {
    flex: 0 0 42px;
}

.upload-copy {
    display: grid;
    gap: 3px;
}

.upload-copy small {
    margin: 0;
}

.appointment-step-actions {
    position: sticky;
    z-index: 20;
    bottom: 0;
    padding: 12px;
    border: 1px solid rgba(212, 226, 219, .9);
    border-radius: 16px;
    background: rgba(246, 250, 248, .94);
    box-shadow: 0 -10px 25px rgba(20, 45, 34, .08);
    backdrop-filter: blur(10px);
}

.appointment-field-group {
    margin-top: 22px;
}

.appointment-field-group:first-of-type {
    margin-top: 0;
}

.appointment-field-group > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.appointment-field-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.address-detail-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
}

.address-detail-field small {
    color: var(--muted);
    line-height: 1.5;
}

.map-location-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--primary-soft);
}

.map-location-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.map-location-empty strong,
.map-location-empty p {
    display: block;
    margin: 0;
}

.map-location-empty p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.map-location-selected {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.map-location-check {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-weight: 900;
}

.map-location-result {
    min-width: 0;
}

.map-location-result strong,
.map-location-result p {
    display: block;
    margin: 0;
}

.map-location-result p {
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-location-result-actions {
    display: flex;
    gap: 8px;
}

.map-location-result-actions button {
    padding: 6px 8px;
    border: 0;
    color: var(--primary-dark);
    background: transparent;
    font-weight: 750;
}

.map-location-result-actions button:last-child {
    color: var(--danger);
}

.map-location-card .map-picker-status {
    margin: 11px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(22, 139, 90, .12);
    font-size: 12px;
    line-height: 1.5;
}

.map-picker-dialog {
    grid-template-rows: auto 1fr;
}

.map-picker-heading {
    min-height: 66px;
}

.map-picker-heading-actions {
    align-items: center;
}

.appointment-date-picker {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(190px, 1.25fr);
    gap: 10px;
}

.date-quick-button,
.date-input-label {
    min-height: 66px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
}

.date-quick-button {
    display: grid;
    cursor: pointer;
    place-content: center;
    gap: 2px;
    color: var(--ink);
}

.date-quick-button small {
    color: var(--muted);
}

.date-quick-button.active {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px rgba(22, 139, 90, .08);
}

.date-input-label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
}

.date-input-label span {
    font-size: 13px;
    white-space: nowrap;
}

.date-input-label input {
    min-width: 0;
    padding: 8px;
    border: 0;
    box-shadow: none;
}

.appointment-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.appointment-slot-grid label {
    cursor: pointer;
}

.appointment-slot-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.appointment-slot-grid span {
    display: grid;
    min-height: 68px;
    place-content: center;
    gap: 3px;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
}

.appointment-slot-grid small {
    color: var(--muted);
}

.appointment-slot-grid input:checked + span {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px rgba(22, 139, 90, .08);
}

.appointment-contact-fields label {
    margin-top: 0;
}

.appointment-more {
    margin-top: 22px;
}

.appointment-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.appointment-more summary span,
.appointment-more summary small {
    display: block;
}

.appointment-more summary small {
    color: var(--muted);
    font-weight: 500;
}

.appointment-customer-type {
    margin-top: 0;
}

.appointment-consent {
    margin-top: 22px !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

@media (max-width: 760px) {
    .category-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .selected-item {
        grid-template-columns: minmax(0, 1fr) 145px auto;
    }

    .appointment-date-picker {
        grid-template-columns: 1fr 1fr;
    }

    .date-input-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .page-appointment .site-main {
        width: calc(100% - 16px);
        max-width: 900px;
        min-width: 0;
        padding-top: 6px;
        padding-bottom: 94px;
    }

    .page-appointment .appointment-intro {
        margin-bottom: 12px;
        padding: 0 4px;
    }

    .page-appointment .appointment-intro h1 {
        font-size: 28px;
    }

    .page-appointment .appointment-intro p {
        font-size: 14px;
    }

    .appointment-progress {
        gap: 7px;
        padding: 11px 12px;
    }

    .appointment-progress-step {
        gap: 6px;
    }

    .appointment-progress-step span {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .appointment-progress-step strong {
        font-size: 12px;
    }

    .appointment-card {
        padding: 17px;
    }

    .appointment-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    .appointment-section-heading h2 {
        font-size: 23px;
    }

    .category-choice {
        min-height: 112px;
        padding: 13px;
    }

    .selected-items-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .selected-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
    }

    .selected-item-quantity {
        grid-column: 1;
        grid-row: 2;
    }

    .selected-item-remove {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .upload-box-compact {
        place-items: initial;
    }

    .appointment-step-actions {
        margin-left: -4px;
        margin-right: -4px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .map-location-empty {
        align-items: stretch;
        flex-direction: column;
    }

    .map-location-empty .button {
        width: 100%;
    }

    .map-location-selected {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .map-location-result-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 4px;
    }

    .map-location-result p {
        white-space: normal;
    }

    .appointment-field-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .appointment-slot-grid {
        gap: 7px;
    }

    .appointment-slot-grid span {
        min-height: 64px;
        padding: 8px 4px;
    }

    .appointment-slot-grid small {
        font-size: 11px;
    }

    .appointment-more summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .map-picker-modal {
        padding: 8px;
    }

    .map-picker-dialog {
        width: 100%;
        height: calc(100dvh - 16px);
        max-height: none;
        border-radius: 17px;
    }

    .map-picker-heading {
        align-items: flex-start;
        padding: 10px 12px;
    }

    .map-picker-heading-actions {
        gap: 5px;
    }

    .map-picker-heading button {
        min-width: 0;
        padding: 7px 9px;
        font-size: 12px;
    }

    .map-picker-heading small {
        max-width: 210px;
    }
}

/* v2.1.1 手机横向溢出与地图状态修复 */
html,
body.page-appointment {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.page-appointment [hidden] {
    display: none !important;
}

.page-appointment .site-main,
.page-appointment .appointment-form,
.page-appointment .form-step,
.page-appointment .appointment-card,
.page-appointment .appointment-field-group,
.page-appointment .map-location-card,
.page-appointment .map-location-empty,
.page-appointment .map-location-selected,
.page-appointment .map-location-result,
.page-appointment .appointment-progress,
.page-appointment .appointment-progress-step,
.page-appointment .selected-items-panel,
.page-appointment .selected-item,
.page-appointment .inline-fields,
.page-appointment input,
.page-appointment select,
.page-appointment textarea,
.page-appointment button {
    min-width: 0;
    max-width: 100%;
}

.page-appointment .appointment-form,
.page-appointment .form-step,
.page-appointment .appointment-card {
    width: 100%;
}

.page-appointment .appointment-progress-step strong {
    overflow-wrap: anywhere;
}

.page-appointment .map-location-empty[hidden],
.page-appointment .map-location-selected[hidden],
.page-appointment .selected-items-empty[hidden] {
    display: none !important;
}

.map-picker-opening {
    display: none;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 139, 90, .18);
    border-radius: 11px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.map-picker-opening.active {
    display: flex;
}

.map-picker-opening::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid rgba(22, 139, 90, .25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: appointment-map-spin .8s linear infinite;
}

@keyframes appointment-map-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .appointment-progress {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .appointment-progress-line {
        display: none;
    }

    .appointment-progress-step {
        justify-content: center;
        gap: 5px;
        white-space: normal;
        text-align: center;
    }

    .appointment-progress-step strong {
        line-height: 1.25;
    }

    .appointment-card {
        overflow: hidden;
    }

    .map-location-card {
        overflow: hidden;
    }

    .map-location-empty,
    .map-location-selected {
        width: 100%;
    }

    .map-location-result-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .map-location-result-actions button {
        flex: 0 1 auto;
    }

    .appointment-contact-fields,
    .inline-fields,
    .inline-fields.three {
        grid-template-columns: minmax(0, 1fr);
    }

    .appointment-date-picker {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .date-input-label {
        width: 100%;
    }

    .appointment-step-actions {
        width: calc(100% + 8px);
        max-width: calc(100% + 8px);
    }
}

@media (max-width: 360px) {
    .page-appointment .site-main {
        width: calc(100% - 10px);
    }

    .appointment-card {
        padding: 14px;
    }

    .appointment-progress {
        padding: 9px 8px;
    }

    .appointment-progress-step span {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .appointment-progress-step strong {
        font-size: 11px;
    }

    .category-choice-grid {
        gap: 8px;
    }

    .category-choice {
        min-height: 104px;
        padding: 11px;
    }

    .appointment-slot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* v2.1.2 预约页整页宽度、状态显示和操作栏修复 */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.page-appointment {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow-x: hidden !important;
}

body.page-appointment .site-header {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

body.page-appointment .site-main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
}

body.page-appointment .appointment-intro,
body.page-appointment .appointment-progress,
body.page-appointment .appointment-form,
body.page-appointment .form-step,
body.page-appointment .appointment-card,
body.page-appointment .appointment-field-group,
body.page-appointment .map-location-card,
body.page-appointment .address-detail-field,
body.page-appointment .appointment-step-actions {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.page-appointment [hidden] {
    display: none !important;
}

body.page-appointment .map-location-empty[aria-hidden="true"],
body.page-appointment .map-location-selected[aria-hidden="true"] {
    display: none !important;
}

body.page-appointment .map-location-empty[aria-hidden="false"] {
    display: flex !important;
}

body.page-appointment .map-location-selected[aria-hidden="false"] {
    display: grid !important;
}

body.page-appointment .appointment-step-actions {
    position: static !important;
    z-index: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 10px !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.page-appointment .appointment-step-actions .button {
    width: 100% !important;
    max-width: none !important;
}

body.page-appointment.map-modal-open {
    overflow: hidden !important;
}

@media (max-width: 640px) {
    body.page-appointment .site-main {
        width: 100% !important;
        max-width: none !important;
        padding: 8px 8px 42px !important;
    }

    body.page-appointment .site-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    body.page-appointment .appointment-card {
        overflow: visible;
        padding: 17px;
    }

    body.page-appointment .appointment-step-actions {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.page-appointment .map-location-empty,
    body.page-appointment .map-location-selected {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    body.page-appointment .site-main {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    body.page-appointment .appointment-step-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

