:root {
    --bg: #fbf6ef;
    --paper: #fffdf8;
    --line: #eaded1;
    --text: #202020;
    --muted: #756f68;
    --coral: #ec7457;
    --coral-dark: #d85e43;
    --teal: #2f817d;
    --gold: #d99a2b;
    --shadow: 0 18px 44px rgba(99, 73, 45, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans TC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 227, 205, .6), transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(224, 248, 241, .75), transparent 25%),
        linear-gradient(180deg, #fbf6ef 0%, #fffaf4 50%, #fbf6ef 100%);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1160px;
}

.page-hero {
    padding: 42px 12px 22px;
}

.hero-inner {
    border: 1px solid var(--line);
    border-radius: 32px;
    background: rgba(255, 253, 248, .92);
    box-shadow: var(--shadow);
    padding: 44px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.page-hero h1 {
    font-family: "Noto Serif TC", serif;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 800;
    margin: 0 0 14px;
}

.page-hero p {
    color: #5f5a53;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 700;
    max-width: 760px;
}

.filter-section {
    padding: 0 12px 24px;
}

.filter-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.filter-grid label {
    display: grid;
    gap: 8px;
    color: #4b4640;
    font-weight: 900;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fffaf4;
    outline: none;
    padding: 0 14px;
    color: #2b2926;
    font-weight: 700;
}

.filter-grid input:focus,
.filter-grid select:focus {
    border-color: rgba(236, 116, 87, .65);
    box-shadow: 0 0 0 4px rgba(236, 116, 87, .12);
    background: #fff;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 18px 0 0;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b4640;
    font-weight: 900;
}

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

.coral-btn,
.soft-btn {
    display: inline-block;
    border-radius: 16px;
    padding: 12px 22px;
    font-weight: 900;
}

.coral-btn {
    border: 0;
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 28px rgba(236, 116, 87, .20);
}

.coral-btn:hover {
    color: #fff;
    background: var(--coral-dark);
}

.soft-btn {
    color: #4b4640;
    background: #fffaf4;
    border: 1px solid var(--line);
}

.list-section {
    padding: 10px 12px 72px;
}

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

.section-head h2 {
    font-size: 30px;
    font-weight: 900;
    margin: 0;
}

.section-head p {
    color: var(--muted);
    font-weight: 800;
    margin: 0;
}

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

.result-card,
.empty-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(97, 71, 44, .07);
    transition: .2s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(97, 71, 44, .12);
}

.result-card a {
    color: inherit;
}

.result-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.result-card div {
    padding: 18px;
}

.tag {
    display: inline-block;
    color: #fff;
    background: var(--coral);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.tag.teal {
    background: var(--teal);
}

.tag.gold {
    background: var(--gold);
}

.result-card h3 {
    font-size: 21px;
    font-weight: 900;
    margin: 0 0 8px;
}

.result-card p {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.7;
}

.result-card .desc {
    min-height: 72px;
}

.result-card strong {
    color: var(--gold);
    font-weight: 900;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.chips em,
.card-bottom em {
    font-style: normal;
    border-radius: 999px;
    background: #f7eee5;
    color: #746b60;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 800;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.empty-card {
    padding: 44px;
    text-align: center;
}

.empty-card h3 {
    font-weight: 900;
}

.empty-card p {
    color: var(--muted);
    font-weight: 700;
}

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

    .restaurant-grid,
    .service-grid,
    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero-inner,
    .filter-card {
        padding: 24px;
        border-radius: 24px;
    }

    .filter-grid,
    .restaurant-grid,
    .service-grid,
    .activity-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions,
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-actions a,
    .filter-actions button {
        width: 100%;
        text-align: center;
    }
}

/* UAT - 生活服務頁內我的訂單入口 */
.life-service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: center;
}

.life-service-order-box {
    padding: 26px;
    border: 1px solid rgba(47, 129, 125, .18);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(240, 250, 247, .96), rgba(255, 250, 244, .96));
    box-shadow: 0 18px 42px rgba(47, 129, 125, .08);
}

.life-service-order-box span {
    display: inline-flex;
    color: var(--teal);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.life-service-order-box strong {
    display: block;
    color: #26312f;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 950;
}

.life-service-order-box p {
    margin: 10px 0 18px;
    color: #6b625a;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 750;
}

.life-service-order-box .soft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-color: rgba(47, 129, 125, .22);
    background: rgba(255, 255, 255, .78);
}

.life-service-order-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(47, 129, 125, .18);
    border-radius: 22px;
    background: rgba(255, 253, 248, .88);
    box-shadow: 0 12px 30px rgba(94, 65, 43, .06);
}

.life-service-order-strip div {
    display: grid;
    gap: 4px;
}

.life-service-order-strip strong {
    color: #26312f;
    font-weight: 950;
}

.life-service-order-strip span {
    color: #6b625a;
    font-weight: 750;
}

.life-service-order-strip .soft-btn {
    white-space: nowrap;
    color: var(--teal);
    border-color: rgba(47, 129, 125, .22);
    background: #f0faf7;
}

@media (max-width: 900px) {
    .life-service-hero-inner {
        grid-template-columns: 1fr;
    }

    .life-service-order-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .life-service-order-strip .soft-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* Stage 436 - 會員端生活服務線上媒合與預約型服務分類 */
.life-mode-hero .hero-inner {
    align-items: stretch;
}

.life-mode-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.life-mode-card {
    display: grid;
    gap: 7px;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(234, 222, 209, .95);
    border-radius: 26px;
    background: rgba(255, 253, 248, .9);
    color: #2d302f;
    box-shadow: 0 16px 34px rgba(99, 73, 45, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.life-mode-card:hover,
.life-mode-card.active {
    color: #2d302f;
    transform: translateY(-3px);
    border-color: rgba(47, 129, 125, .3);
    box-shadow: 0 22px 44px rgba(47, 129, 125, .12);
}

.life-mode-card.online {
    background: linear-gradient(135deg, #f0faf7, #fffdf8);
}

.life-mode-card.reservation {
    background: linear-gradient(135deg, #fff4eb, #fffdf8);
}

.life-mode-card span {
    color: var(--teal);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
}

.life-mode-card strong {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 950;
}

.life-mode-card p {
    margin: 0;
    color: #6b625a;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 750;
}

.life-mode-card em {
    width: fit-content;
    margin-top: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--teal);
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
}

.life-mode-card.reservation em {
    background: var(--coral);
}

.mode-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.life-service-filter-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.life-mode-summary-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0 12px 22px;
}

.life-flow-card {
    min-height: 142px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 14px 32px rgba(97, 71, 44, .07);
}

.life-flow-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
}

.life-flow-card strong {
    display: block;
    color: #27302f;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 950;
}

.life-flow-card p {
    margin: 10px 0 0;
    color: #6a625a;
    line-height: 1.75;
    font-weight: 750;
}

.online-flow {
    background: linear-gradient(135deg, rgba(240, 250, 247, .96), rgba(255, 253, 248, .96));
}

.reservation-flow {
    background: linear-gradient(135deg, rgba(255, 244, 235, .96), rgba(255, 253, 248, .96));
}

.life-service-card .tag + .tag {
    margin-left: 6px;
}

.service-mode-tags em {
    background: #f6f1ea;
}

.mode-description-box {
    margin: 18px 0 22px;
    padding: 18px 20px;
    border: 1px solid rgba(47, 129, 125, .18);
    border-radius: 20px;
    background: #f0faf7;
}

.mode-description-box.reservation {
    border-color: rgba(236, 116, 87, .18);
    background: #fff4eb;
}

.mode-description-box strong {
    display: block;
    color: var(--teal);
    font-weight: 950;
    margin-bottom: 8px;
}

.mode-description-box.reservation strong {
    color: var(--coral-dark);
}

.mode-description-box p {
    margin: 0;
    color: #5f5a53;
    line-height: 1.75;
    font-weight: 750;
}

.life-service-detail-image {
    position: relative;
}

.life-mode-badge {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--teal);
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(47, 129, 125, .22);
}

.life-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-panel-hint {
    margin: -4px 0 18px;
    color: #6a625a;
    line-height: 1.75;
    font-weight: 750;
}

@media (max-width: 1120px) {
    .life-service-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .life-mode-cards,
    .life-mode-summary-section,
    .life-info-list {
        grid-template-columns: 1fr;
    }
}





/* Stage 437：寵物散步開始媒合頁重做版 */
.pet-walking-redesign-card {
    display: block !important;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pet-walking-redesign-card .detail-image,
.pet-walking-redesign-card .detail-info > .category,
.pet-walking-redesign-card .detail-info > h1,
.pet-walking-redesign-card .detail-meta,
.pet-walking-redesign-card .detail-desc,
.pet-walking-redesign-card .mode-description-box,
.pet-walking-redesign-card .info-list {
    display: none !important;
}

.pet-walking-redesign-card .detail-info {
    padding: 0 !important;
}

.pet-walking-start-page {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pet-walking-page {
    display: grid;
    gap: 22px;
}

.pet-walking-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 320px;
    gap: 20px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47,129,125,.12), transparent 35%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet-walking-hero span,
.pet-walking-guide > span,
.pet-form-title span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-walking-hero h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 900;
}

.pet-walking-hero p {
    max-width: 680px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.pet-walking-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.pet-walking-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.pet-walking-hero-actions em {
    color: #8a6f55;
    font-style: normal;
    font-weight: 900;
}

.pet-walking-hero aside {
    padding: 24px;
    border: 1px solid rgba(47,129,125,.16);
    border-radius: 26px;
    background: rgba(255,255,255,.82);
}

.pet-walking-hero aside strong {
    display: block;
    margin-bottom: 14px;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.pet-walking-hero ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.7;
    font-weight: 850;
}

.pet-walking-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pet-walking-guide {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 28px;
    background: #fffaf3;
}

.pet-walking-guide ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pet-walking-guide li {
    padding-left: 14px;
    border-left: 4px solid rgba(47,129,125,.25);
}

.pet-walking-guide li:first-child {
    border-left-color: #155e58;
}

.pet-walking-guide strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.pet-walking-guide small {
    display: block;
    margin-top: 4px;
    color: #70675d;
    line-height: 1.5;
    font-weight: 750;
}

.pet-walking-form {
    display: grid !important;
    gap: 16px;
    padding: 0 !important;
}

.pet-form-section,
.pet-form-note,
.pet-form-submit {
    padding: 24px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 28px;
    background: #fff;
}

.pet-form-title {
    margin-bottom: 16px;
}

.pet-form-title h3 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.pet-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pet-form-grid label,
.pet-form-note {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.pet-form-grid label.full {
    grid-column: 1 / -1;
}

.pet-form-grid input,
.pet-form-grid select,
.pet-form-grid textarea,
.pet-form-note textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(222,202,180,.95);
    border-radius: 16px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
}

.pet-form-grid textarea,
.pet-form-note textarea {
    min-height: 110px;
    padding-top: 13px;
    resize: vertical;
}

.pet-choice-group {
    margin-top: 16px;
}

.pet-choice-group:first-of-type {
    margin-top: 0;
}

.pet-choice-group strong {
    display: block;
    margin-bottom: 10px;
    color: #26302f;
    font-weight: 950;
}

.pet-choice-group div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pet-choice-group label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 999px;
    background: #fffdf9;
    color: #51483f;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.pet-choice-group input {
    width: 16px;
    height: 16px;
    accent-color: #155e58;
}

.pet-form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #eff8f5;
}

.pet-form-submit p {
    margin: 0;
    color: #53615f;
    line-height: 1.6;
    font-weight: 780;
}

.pet-form-submit button {
    min-height: 54px;
    min-width: 200px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(21,94,88,.20);
}

.request-note-box p {
    white-space: pre-line;
}

.pet-match-reminder {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: #eff8f5;
    color: #2f5d59;
    font-weight: 850;
}

@media (max-width: 980px) {
    .pet-walking-hero,
    .pet-walking-layout {
        grid-template-columns: 1fr;
    }

    .pet-walking-guide {
        position: relative;
        top: auto;
    }
}

@media (max-width: 720px) {
    .pet-walking-hero,
    .pet-form-section,
    .pet-form-note,
    .pet-form-submit,
    .pet-walking-guide {
        padding: 20px;
    }

    .pet-form-grid {
        grid-template-columns: 1fr;
    }

    .pet-form-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .pet-form-submit button {
        width: 100%;
    }
}


/* Stage 438：會員端寵物散步開始媒合頁重新設計 */
.pet-stage438-card {
    display: block !important;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pet-stage438-card .detail-image,
.pet-stage438-card .detail-info > .category,
.pet-stage438-card .detail-info > h1,
.pet-stage438-card .detail-meta,
.pet-stage438-card .detail-desc,
.pet-stage438-card .mode-description-box,
.pet-stage438-card .info-list {
    display: none !important;
}

.pet-stage438-card .detail-info {
    padding: 0 !important;
}

.pet-stage438-panel {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pet438-page {
    display: grid;
    gap: 22px;
}

.pet438-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 320px;
    gap: 20px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet438-eyebrow,
.pet438-steps > span,
.pet438-card-title span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet438-hero h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet438-hero p {
    max-width: 680px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.pet438-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pet438-hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-weight: 900;
}

.pet438-hero-card {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet438-hero-card strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet438-hero-card p {
    margin: 10px 0 18px;
    color: #625a52;
    font-size: 15px;
}

.pet438-hero-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.pet438-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pet438-steps {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.pet438-steps ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pet438-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .7);
}

.pet438-steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-size: 13px;
}

.pet438-steps strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.pet438-steps small {
    display: block;
    margin-top: 4px;
    color: #70675d;
    line-height: 1.5;
    font-weight: 750;
}

.pet438-form {
    display: grid !important;
    gap: 16px;
    padding: 0 !important;
}

.pet438-card {
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.pet438-card-title {
    margin-bottom: 16px;
}

.pet438-card-title h3 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

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

.pet438-grid label,
.pet438-note {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.pet438-grid label.full {
    grid-column: 1 / -1;
}

.pet438-grid input,
.pet438-grid select,
.pet438-grid textarea,
.pet438-note textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 16px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
}

.pet438-grid textarea,
.pet438-note textarea {
    min-height: 110px;
    padding-top: 13px;
    resize: vertical;
}

.pet438-choice {
    margin-top: 16px;
}

.pet438-choice:first-of-type {
    margin-top: 0;
}

.pet438-choice strong {
    display: block;
    margin-bottom: 10px;
    color: #26302f;
    font-weight: 950;
}

.pet438-choice div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pet438-choice label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 999px;
    background: #fffdf9;
    color: #51483f;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.pet438-choice input {
    width: 16px;
    height: 16px;
    accent-color: #155e58;
}

.pet438-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: #eff8f5;
}

.pet438-submit p {
    margin: 0;
    color: #53615f;
    line-height: 1.6;
    font-weight: 780;
}

.pet438-submit button {
    min-height: 54px;
    min-width: 200px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(21, 94, 88, .20);
}

.request-note-box p {
    white-space: pre-line;
}

.pet-match-reminder {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: #eff8f5;
    color: #2f5d59;
    font-weight: 850;
}

@media (max-width: 980px) {
    .pet438-hero,
    .pet438-layout {
        grid-template-columns: 1fr;
    }

    .pet438-steps {
        position: relative;
        top: auto;
    }
}

@media (max-width: 720px) {
    .pet438-hero,
    .pet438-card,
    .pet438-submit,
    .pet438-steps {
        padding: 20px;
    }

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

    .pet438-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .pet438-submit button {
        width: 100%;
    }
}


/* Stage 439：會員端寵物散步服務者列表 */
.pet-provider-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-provider-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet-provider-hero span,
.pet-provider-filter span,
.pet-provider-guide > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-provider-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet-provider-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.pet-provider-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.pet-provider-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.pet-provider-hero-actions em {
    color: #8a6f55;
    font-style: normal;
    font-weight: 900;
}

.pet-provider-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet-provider-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet-provider-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}


.pet-provider-empty {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 22px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .10), transparent 32%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
    box-shadow: 0 18px 40px rgba(47, 129, 125, .06);
}

.pet-provider-empty .empty-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: #eff8f5;
    color: #155e58;
    font-size: 36px;
}

.pet-provider-empty span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
}

.pet-provider-empty h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
}

.pet-provider-empty p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-weight: 760;
}

.pet-provider-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pet-provider-empty-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.pet-provider-empty-actions a.ghost {
    border: 1px solid rgba(222, 202, 180, .95);
    background: #fffaf3;
    color: #5c5148;
}

.pet-provider-filter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.pet-provider-filter h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.pet-provider-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.pet-provider-filter-chips button {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    font-weight: 900;
}

.pet-provider-filter-chips button.active {
    background: #155e58;
    border-color: #155e58;
    color: #fff;
}

.pet-provider-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.pet-provider-guide {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.guide-card {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .75);
    border-radius: 20px;
    background: #fff;
}

.guide-card + .guide-card {
    margin-top: 12px;
}

.guide-card strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.guide-card p {
    margin: 6px 0 0;
    color: #6c6259;
    line-height: 1.65;
    font-size: 14px;
    font-weight: 760;
}

.pet-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pet-provider-card {
    overflow: hidden;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.provider-cover {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.provider-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-cover span {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.provider-body {
    padding: 20px;
}

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

.provider-head small {
    display: block;
    color: #8a6f55;
    font-weight: 900;
}

.provider-head h3 {
    margin: 6px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.provider-rating {
    min-width: 70px;
    padding: 10px;
    border-radius: 18px;
    background: #eff8f5;
    text-align: center;
}

.provider-rating strong {
    display: block;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.provider-rating span {
    color: #6c6259;
    font-size: 12px;
    font-weight: 900;
}

.provider-bio {
    margin: 14px 0 0;
    color: #554d45;
    line-height: 1.72;
    font-weight: 760;
}

.provider-tags,
.provider-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.provider-tags span,
.provider-flags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6ea;
    color: #82613c;
    font-size: 13px;
    font-weight: 900;
}

.provider-flags span {
    background: #eff8f5;
    color: #155e58;
}

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

.provider-stats div {
    padding: 12px;
    border-radius: 18px;
    background: #fffaf3;
    border: 1px solid rgba(222, 202, 180, .72);
}

.provider-stats span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.provider-stats strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-size: 15px;
    font-weight: 950;
}

.provider-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.provider-actions a {
    flex: 1;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.provider-actions .primary {
    background: #155e58;
    color: #fff;
}

.provider-actions .secondary {
    background: #eff8f5;
    color: #155e58;
}

.pet-provider-inline-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .pet-provider-hero,
    .pet-provider-layout {
        grid-template-columns: 1fr;
    }

    .pet-provider-guide {
        position: relative;
        top: auto;
    }
}

@media (max-width: 720px) {
    .pet-provider-empty {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

@media (max-width: 850px) {
    .pet-provider-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .pet-provider-filter-chips {
        justify-content: flex-start;
    }

    .pet-provider-grid {
        grid-template-columns: 1fr;
    }

    .pet-provider-hero,
    .pet-provider-filter,
    .pet-provider-guide {
        padding: 20px;
    }
}


/* Stage 440：會員端寵物散步服務者詳情頁 */
.pet-provider-detail-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-provider-profile-hero {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
    margin-top: 26px;
    padding: 28px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.profile-cover {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 28px;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cover span {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.profile-main {
    align-self: center;
    padding: 18px 8px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.profile-meta span,
.profile-meta strong,
.profile-section-title span,
.profile-summary-card > span,
.confirm-provider-panel span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .04em;
}

.profile-meta strong {
    background: #fff6ea;
    color: #82613c;
}

.profile-main h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.02;
    font-weight: 900;
}

.profile-main p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #625a52;
    line-height: 1.78;
    font-size: 17px;
    font-weight: 760;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.profile-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(47, 129, 125, .16);
    color: #2f5d59;
    font-weight: 900;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.profile-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.profile-actions .primary {
    background: #155e58;
    color: #fff;
}

.profile-actions .secondary {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.provider-detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}

.profile-summary-card {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.profile-summary-card h2,
.profile-section-title h2,
.confirm-provider-panel h2 {
    margin: 10px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.summary-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.summary-list div {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(222,202,180,.72);
    background: #fff;
}

.summary-list small {
    display: block;
    color: #8a6f55;
    font-weight: 900;
}

.summary-list strong {
    display: block;
    margin-top: 5px;
    color: #26302f;
    font-weight: 950;
}

.summary-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.summary-flags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 900;
}

.profile-content {
    display: grid;
    gap: 18px;
}

.profile-section,
.confirm-provider-panel {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.profile-section > p,
.confirm-provider-panel p {
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.78;
    font-weight: 760;
}

.experience-points,
.service-menu,
.safety-grid,
.profile-review-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.experience-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-points div,
.service-menu div,
.safety-grid div,
.profile-review-list article {
    padding: 18px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 22px;
    background: #fffaf3;
}

.experience-points strong,
.service-menu strong,
.safety-grid b,
.profile-review-list strong {
    display: block;
    color: #26302f;
    font-size: 17px;
    font-weight: 950;
}

.experience-points span,
.service-menu span,
.safety-grid p,
.profile-review-list p {
    display: block;
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

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

.profile-review-list article {
    background: #eff8f5;
    border-color: rgba(47, 129, 125, .14);
}

.confirm-provider-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #eff8f5;
}

.confirm-provider-panel a {
    flex: 0 0 auto;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1050px) {
    .pet-provider-profile-hero,
    .provider-detail-grid {
        grid-template-columns: 1fr;
    }

    .profile-summary-card {
        position: relative;
        top: auto;
    }

    .profile-cover {
        min-height: 320px;
    }
}

@media (max-width: 780px) {
    .pet-provider-profile-hero,
    .profile-section,
    .confirm-provider-panel,
    .profile-summary-card {
        padding: 20px;
    }

    .experience-points,
    .safety-grid {
        grid-template-columns: 1fr;
    }

    .confirm-provider-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .confirm-provider-panel a {
        width: 100%;
    }
}


/* Stage 441：會員端寵物散步媒合回覆列表 */
.pet-reply-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-reply-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet-reply-hero span,
.pet-reply-summary span,
.pet-reply-guide > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-reply-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet-reply-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.pet-reply-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.pet-reply-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.pet-reply-hero-actions em {
    color: #8a6f55;
    font-style: normal;
    font-weight: 900;
}

.pet-reply-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet-reply-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet-reply-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.pet-reply-summary {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.pet-reply-summary h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.reply-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.reply-summary-chips button {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    font-weight: 900;
}

.reply-summary-chips button.active {
    background: #155e58;
    border-color: #155e58;
    color: #fff;
}

.pet-reply-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.pet-reply-guide {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.pet-reply-guide div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .75);
    border-radius: 20px;
    background: #fff;
}

.pet-reply-guide div + div {
    margin-top: 12px;
}

.pet-reply-guide strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.pet-reply-guide p {
    margin: 6px 0 0;
    color: #6c6259;
    line-height: 1.65;
    font-size: 14px;
    font-weight: 760;
}

.pet-reply-list {
    display: grid;
    gap: 18px;
}

.pet-reply-card {
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.reply-provider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reply-provider img {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    object-fit: cover;
}

.reply-provider span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.reply-provider h3 {
    margin: 7px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.reply-provider p {
    margin: 5px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.reply-provider em {
    color: #155e58;
    font-style: normal;
}

.reply-message {
    margin: 16px 0 0;
    padding: 16px 18px;
    border-radius: 22px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.75;
    font-weight: 780;
}

.reply-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.reply-info-grid div {
    padding: 13px;
    border-radius: 18px;
    background: #fffdf9;
    border: 1px solid rgba(222, 202, 180, .72);
}

.reply-info-grid small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.reply-info-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.reply-tags,
.reply-safety-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.reply-tags span,
.reply-safety-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6ea;
    color: #82613c;
    font-size: 13px;
    font-weight: 900;
}

.reply-safety-tags span {
    background: #eff8f5;
    color: #155e58;
}

.reply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.reply-actions a,
.reply-actions button {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.reply-actions .primary {
    background: #155e58;
    color: #fff;
}

.reply-actions .secondary {
    background: #eff8f5;
    color: #155e58;
}

.reply-actions button {
    background: #f7efe6;
    color: #7a6250;
}

.confirm-provider-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.confirm-provider-actions a {
    flex: 1;
}

@media (max-width: 1100px) {
    .pet-reply-hero,
    .pet-reply-layout {
        grid-template-columns: 1fr;
    }

    .pet-reply-guide {
        position: relative;
        top: auto;
    }

    .reply-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .pet-reply-hero,
    .pet-reply-summary,
    .pet-reply-guide,
    .pet-reply-card {
        padding: 20px;
    }

    .pet-reply-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .reply-summary-chips {
        justify-content: flex-start;
    }

    .reply-provider {
        align-items: flex-start;
    }

    .reply-info-grid {
        grid-template-columns: 1fr;
    }

    .reply-actions a,
    .reply-actions button {
        flex: 0 0 100%;
    }
}


/* Stage 442：會員端寵物散步確認媒合成立 */
.pet-confirm-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-confirm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet-confirm-hero span,
.confirm-card-title span,
.confirm-final-panel span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-confirm-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet-confirm-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.confirm-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.confirm-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.pet-confirm-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet-confirm-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet-confirm-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.pet-confirm-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.pet-confirm-provider {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.pet-confirm-provider img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.pet-confirm-provider > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.pet-confirm-provider h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.pet-confirm-provider p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.pet-confirm-provider b {
    color: #155e58;
}

.confirm-provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.confirm-provider-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6ea;
    color: #82613c;
    font-size: 13px;
    font-weight: 900;
}

.pet-confirm-content {
    display: grid;
    gap: 18px;
}

.confirm-card,
.confirm-final-panel {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.confirm-card-title {
    margin-bottom: 16px;
}

.confirm-card-title h2,
.confirm-final-panel h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.confirm-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.confirm-info-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.confirm-info-grid small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.confirm-info-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.confirm-service-items,
.confirm-provider-message {
    margin-top: 18px;
}

.confirm-service-items > strong,
.confirm-provider-message > strong {
    display: block;
    margin-bottom: 10px;
    color: #26302f;
    font-weight: 950;
}

.confirm-service-items div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.confirm-service-items span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 900;
}

.confirm-provider-message p {
    margin: 0;
    padding: 16px;
    border-radius: 20px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.72;
    font-weight: 780;
}

.confirm-check-list {
    display: grid;
    gap: 12px;
}

.confirm-check-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.confirm-check-list input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
}

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

.confirm-next-flow div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.confirm-next-flow b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-size: 13px;
}

.confirm-next-flow strong {
    display: block;
    margin-top: 12px;
    color: #26302f;
    font-weight: 950;
}

.confirm-next-flow span {
    display: block;
    margin-top: 6px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.confirm-final-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #eff8f5;
}

.confirm-final-panel p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.confirm-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 300px;
}

.confirm-final-actions a {
    flex: 1;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    text-align: center;
}

.confirm-final-actions .primary {
    background: #155e58;
    color: #fff;
}

.confirm-final-actions .secondary {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47, 129, 125, .18);
}

@media (max-width: 1100px) {
    .pet-confirm-hero,
    .pet-confirm-layout {
        grid-template-columns: 1fr;
    }

    .pet-confirm-provider {
        position: relative;
        top: auto;
    }

    .confirm-info-grid,
    .confirm-next-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .pet-confirm-hero,
    .confirm-card,
    .confirm-final-panel,
    .pet-confirm-provider {
        padding: 20px;
    }

    .confirm-info-grid,
    .confirm-next-flow {
        grid-template-columns: 1fr;
    }

    .confirm-final-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .confirm-final-actions {
        min-width: 0;
        flex-direction: column;
    }
}


/* Stage 443：會員端寵物散步轉帳付款流程 */
.pet-payment-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-payment-hero,
.payment-review-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.payment-review-hero {
    display: block;
    text-align: center;
}

.pet-payment-hero span,
.payment-card-title span,
.payment-review-hero span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-payment-hero h1,
.payment-review-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet-payment-hero p,
.payment-review-hero p {
    max-width: 720px;
    margin: 16px auto 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.payment-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.payment-hero-tags em,
.review-status {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.review-status {
    margin-top: 24px;
    background: #155e58;
    color: #fff;
}

.pet-payment-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet-payment-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet-payment-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.pet-payment-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.payment-order-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.payment-order-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.payment-order-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.payment-order-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.payment-order-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.payment-order-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.payment-order-meta div,
.bank-account-box div,
.review-info-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.payment-order-meta small,
.bank-account-box small,
.review-info-grid small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.payment-order-meta strong,
.bank-account-box strong,
.review-info-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.payment-content,
.payment-review-layout {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.payment-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.payment-card-title {
    margin-bottom: 16px;
}

.payment-card-title h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.bank-account-box,
.review-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.payment-hint {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: #eff8f5;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 780;
}

.bank-transfer-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bank-transfer-form label {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.bank-transfer-form input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 16px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
}

.upload-placeholder {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed rgba(47, 129, 125, .36);
    border-radius: 20px;
    background: #eff8f5;
}

.upload-placeholder strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.upload-placeholder p {
    margin: 6px 0 0;
    color: #53615f;
    line-height: 1.6;
    font-weight: 760;
}

.bank-transfer-form button {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(21, 94, 88, .20);
}

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

.payment-flow div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.payment-flow b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-size: 13px;
}

.payment-flow strong {
    display: block;
    margin-top: 12px;
    color: #26302f;
    font-weight: 950;
}

.payment-flow span {
    display: block;
    margin-top: 6px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.review-note {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
}

.review-note strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.review-note p {
    margin: 6px 0 0;
    color: #53615f;
    line-height: 1.6;
    font-weight: 760;
}

.payment-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.payment-review-actions a {
    flex: 1;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    text-align: center;
}

.payment-review-actions .primary {
    background: #155e58;
    color: #fff;
}

.payment-review-actions .secondary {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47, 129, 125, .18);
}

@media (max-width: 1100px) {
    .pet-payment-hero,
    .pet-payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-order-card {
        position: relative;
        top: auto;
    }

    .payment-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .pet-payment-hero,
    .payment-card,
    .payment-order-card,
    .payment-review-hero {
        padding: 20px;
    }

    .bank-account-box,
    .review-info-grid,
    .bank-transfer-form,
    .payment-flow {
        grid-template-columns: 1fr;
    }
}


/* Stage 444：會員端寵物散步聊天室 */
.pet-chat-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.pet-chat-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.pet-chat-hero span,
.chat-panel-head span,
.quick-message-box > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pet-chat-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.pet-chat-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.chat-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.chat-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.pet-chat-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.pet-chat-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.pet-chat-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.pet-chat-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.chat-order-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.chat-order-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.chat-order-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.chat-order-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.chat-order-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.chat-order-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.chat-order-meta div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.chat-order-meta small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.chat-order-meta strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.chat-safety-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
}

.chat-safety-box strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.chat-safety-box p {
    margin: 6px 0 0;
    color: #53615f;
    line-height: 1.62;
    font-weight: 760;
}

.chat-panel {
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
}

.chat-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-bottom: 1px solid rgba(222, 202, 180, .72);
    background: #fffaf3;
}

.chat-panel-head h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.chat-panel-head a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.chat-messages {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: #fffdf8;
}

.chat-message {
    display: flex;
}

.chat-message.mine {
    justify-content: flex-end;
}

.chat-message.system {
    justify-content: center;
}

.chat-bubble {
    max-width: min(620px, 86%);
    padding: 14px 16px;
    border-radius: 22px;
    background: #f7efe6;
    color: #433b34;
}

.chat-message.mine .chat-bubble {
    background: #155e58;
    color: #fff;
    border-bottom-right-radius: 8px;
}

.chat-message.provider .chat-bubble {
    background: #eff8f5;
    border-bottom-left-radius: 8px;
}

.chat-message.system .chat-bubble {
    max-width: 720px;
    width: 100%;
    background: #fff6ea;
    border: 1px solid rgba(222, 202, 180, .9);
    text-align: center;
}

.chat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.chat-meta strong {
    font-weight: 950;
}

.chat-meta span {
    opacity: .72;
    font-size: 12px;
    font-weight: 800;
}

.chat-bubble p {
    margin: 0;
    line-height: 1.72;
    font-weight: 760;
}

.quick-message-box {
    padding: 20px 24px;
    border-top: 1px solid rgba(222, 202, 180, .72);
}

.quick-message-box div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.quick-message-box button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    font-weight: 900;
}

.chat-compose {
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(222, 202, 180, .72);
    background: #fffaf3;
}

.chat-compose textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 18px;
    background: #fff;
    color: #26302f;
    font-weight: 760;
    resize: vertical;
}

.chat-compose div {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}

.chat-compose button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-weight: 950;
}

.chat-compose button:first-child {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47, 129, 125, .18);
}

.chat-compose button:last-child {
    background: #155e58;
    color: #fff;
}

.bank-chat-link {
    grid-column: 1 / -1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .pet-chat-hero,
    .pet-chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-order-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 780px) {
    .pet-chat-hero,
    .chat-order-card,
    .chat-panel-head {
        padding: 20px;
    }

    .chat-panel-head,
    .chat-compose div {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-panel-head a,
    .chat-compose button {
        width: 100%;
    }

    .chat-bubble {
        max-width: 100%;
    }
}


/* Stage 445：會員端寵物散步服務開始打卡 */
.pet-start-checkin-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.start-checkin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.start-checkin-hero span,
.start-status-title span,
.start-action-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.start-checkin-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.start-checkin-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.start-checkin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.start-checkin-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.start-checkin-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.start-checkin-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.start-checkin-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.start-checkin-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.start-provider-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.start-provider-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.start-provider-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.start-provider-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.start-provider-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.start-provider-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.start-provider-meta div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.start-provider-meta small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.start-provider-meta strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.start-provider-card a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.start-checkin-content {
    display: grid;
    gap: 18px;
}

.start-status-card,
.start-checklist-card,
.start-action-card,
.start-safety-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.start-status-title {
    margin-bottom: 16px;
}

.start-status-title h2,
.start-action-card h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

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

.start-timeline div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.start-timeline div.done {
    background: #eff8f5;
    border-color: rgba(47, 129, 125, .16);
}

.start-timeline div.active {
    background: #155e58;
    color: #fff;
    border-color: #155e58;
}

.start-timeline b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-size: 13px;
}

.start-timeline div.active b {
    background: #fff;
    color: #155e58;
}

.start-timeline strong {
    display: block;
    margin-top: 12px;
    color: inherit;
    font-weight: 950;
}

.start-timeline span {
    display: block;
    margin-top: 6px;
    color: inherit;
    opacity: .82;
    line-height: 1.55;
    font-weight: 760;
}

.start-checklist {
    display: grid;
    gap: 12px;
}

.start-checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.start-checklist input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
}

.start-action-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.start-action-card p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.start-action-buttons {
    display: grid;
    gap: 10px;
}

.start-action-buttons button {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.start-action-buttons button:nth-child(2) {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47, 129, 125, .18);
}

.start-action-buttons button:nth-child(3) {
    background: #f7efe6;
    color: #7a6250;
}

.start-safety-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.start-safety-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.start-safety-grid strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.start-safety-grid p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.chat-panel-head a + a {
    margin-left: 8px;
}

@media (max-width: 1100px) {
    .start-checkin-hero,
    .start-checkin-layout,
    .start-action-card {
        grid-template-columns: 1fr;
    }

    .start-provider-card {
        position: relative;
        top: auto;
    }

    .start-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .start-checkin-hero,
    .start-provider-card,
    .start-status-card,
    .start-checklist-card,
    .start-action-card,
    .start-safety-card {
        padding: 20px;
    }

    .start-timeline,
    .start-safety-grid {
        grid-template-columns: 1fr;
    }
}


/* Stage 446：會員端寵物散步 GPS / 路線回報 */
.pet-route-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.route-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.route-hero span,
.route-map-head span,
.route-events-title span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.route-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.route-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.route-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.route-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.route-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.route-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.route-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.route-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.route-provider-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.route-provider-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.route-provider-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.route-provider-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.route-provider-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.route-provider-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.route-provider-meta div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.route-provider-meta small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.route-provider-meta strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.route-provider-card a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.route-content {
    display: grid;
    gap: 18px;
}

.route-map-card,
.route-stats-card,
.route-events-card,
.route-safety-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.route-map-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.route-map-head h2,
.route-events-title h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.route-map-status {
    text-align: right;
}

.route-map-status strong {
    display: block;
    color: #155e58;
    font-size: 18px;
    font-weight: 950;
}

.route-map-status small {
    display: block;
    margin-top: 4px;
    color: #8a6f55;
    font-weight: 800;
}

.pet-route-map {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 26px;
    background: #eff8f5;
}

.route-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 20px;
    color: #53615f;
    font-weight: 900;
}

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

.route-stat {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.route-stat span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.route-stat strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-size: 28px;
    font-weight: 950;
}

.route-event-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.route-event-list article {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.route-event-list article.CURRENT,
.route-event-list article.active {
    background: #eff8f5;
    border-color: rgba(47, 129, 125, .18);
}

.route-event-list time {
    color: #155e58;
    font-weight: 950;
}

.route-event-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.route-event-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

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

.route-safety-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.route-safety-grid strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.route-safety-grid p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.start-route-link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .route-hero,
    .route-layout {
        grid-template-columns: 1fr;
    }

    .route-provider-card {
        position: relative;
        top: auto;
    }

    .route-stats-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .route-hero,
    .route-provider-card,
    .route-map-card,
    .route-stats-card,
    .route-events-card,
    .route-safety-card {
        padding: 20px;
    }

    .route-map-head {
        flex-direction: column;
        align-items: stretch;
    }

    .route-map-status {
        text-align: left;
    }

    .pet-route-map,
    .route-map-fallback {
        height: 360px;
        min-height: 360px;
    }

    .route-stats-card,
    .route-safety-grid {
        grid-template-columns: 1fr;
    }

    .route-event-list article {
        grid-template-columns: 1fr;
    }
}


/* Stage 447：會員端寵物散步照片 / 影片回報 */
.pet-media-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.media-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.media-hero span,
.media-summary-title span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.media-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.media-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.media-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.media-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.media-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.media-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.media-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.media-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.media-provider-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.media-provider-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.media-provider-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.media-provider-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.media-provider-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.media-provider-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.media-provider-meta div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.media-provider-meta small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.media-provider-meta strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.media-provider-card a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.media-provider-card a.secondary {
    background: #eff8f5;
    color: #155e58;
}

.media-content {
    display: grid;
    gap: 18px;
}

.media-summary-card,
.media-gallery-card,
.media-events-card,
.media-upload-card,
.media-safety-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.media-summary-title {
    margin-bottom: 16px;
}

.media-summary-title h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

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

.media-summary-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.media-summary-grid small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.media-summary-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-size: 28px;
    font-weight: 950;
}

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

.media-gallery article {
    overflow: hidden;
    border: 1px solid rgba(222, 202, 180, .76);
    border-radius: 24px;
    background: #fffaf3;
}

.media-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumb span {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.media-thumb button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 94, 88, .92);
    color: #fff;
    font-weight: 950;
}

.media-body {
    padding: 18px;
}

.media-body small {
    color: #8a6f55;
    font-weight: 900;
}

.media-body h3 {
    margin: 6px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 24px;
    font-weight: 900;
}

.media-body p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.media-event-list {
    display: grid;
    gap: 12px;
}

.media-event-list article {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.media-event-list time {
    color: #155e58;
    font-weight: 950;
}

.media-event-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.media-event-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.media-upload-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.media-upload-form label {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.media-upload-form input,
.media-upload-form select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 16px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
}

.media-upload-placeholder {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed rgba(47, 129, 125, .36);
    border-radius: 20px;
    background: #eff8f5;
}

.media-upload-placeholder strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.media-upload-placeholder p {
    margin: 6px 0 0;
    color: #53615f;
    line-height: 1.6;
    font-weight: 760;
}

.media-upload-form button {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
}

.media-safety-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.media-safety-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.media-safety-grid strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.media-safety-grid p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.route-media-link {
    background: #eff8f5 !important;
    color: #155e58 !important;
}

@media (max-width: 1100px) {
    .media-hero,
    .media-layout {
        grid-template-columns: 1fr;
    }

    .media-provider-card {
        position: relative;
        top: auto;
    }

    .media-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .media-hero,
    .media-provider-card,
    .media-summary-card,
    .media-gallery-card,
    .media-events-card,
    .media-upload-card,
    .media-safety-card {
        padding: 20px;
    }

    .media-summary-grid,
    .media-gallery,
    .media-upload-form,
    .media-safety-grid {
        grid-template-columns: 1fr;
    }

    .media-thumb {
        height: 220px;
    }

    .media-event-list article {
        grid-template-columns: 1fr;
    }
}


/* Stage 448：會員端寵物散步結束回報 */
.pet-end-page { padding-top: 54px; padding-bottom: 90px; }
.end-hero {
    display: grid; grid-template-columns: minmax(0, 1.25fr) 330px; gap: 22px; align-items: stretch;
    margin-top: 26px; padding: 34px; border: 1px solid rgba(222, 202, 180, .9); border-radius: 34px;
    background: radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%), linear-gradient(135deg, #fffdf8, #f6fbf7);
}
.end-hero span, .end-title span, .member-confirm-card span {
    display: inline-flex; margin-bottom: 10px; color: #227b75; font-size: 13px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase;
}
.end-hero h1 {
    margin: 0; color: #26302f; font-family: "Noto Serif TC", serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.08; font-weight: 900;
}
.end-hero p { max-width: 720px; margin: 16px 0 0; color: #625a52; line-height: 1.75; font-size: 16px; font-weight: 760; }
.end-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.end-hero-tags em {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16); font-style: normal; font-weight: 900;
}
.end-hero aside { padding: 24px; border: 1px solid rgba(47, 129, 125, .16); border-radius: 26px; background: rgba(255,255,255,.86); }
.end-hero aside strong { display: block; color: #26302f; font-size: 20px; font-weight: 950; }
.end-hero ul { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 20px; color: #2f5d59; line-height: 1.65; font-weight: 850; }
.end-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }
.end-provider-card {
    position: sticky; top: 108px; padding: 22px; border: 1px solid rgba(222,202,180,.9); border-radius: 30px; background: #fff;
    box-shadow: 0 18px 40px rgba(47,129,125,.07);
}
.end-provider-card img { width: 100%; height: 230px; border-radius: 24px; object-fit: cover; }
.end-provider-card > span {
    display: inline-flex; margin-top: 16px; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 999px; background: #eff8f5;
    color: #155e58; font-size: 13px; font-weight: 950;
}
.end-provider-card h2 { margin: 12px 0 0; color: #26302f; font-family: "Noto Serif TC", serif; font-size: 32px; font-weight: 900; }
.end-provider-card p { margin: 8px 0 0; color: #8a6f55; font-weight: 900; }
.end-provider-meta { display: grid; gap: 10px; margin-top: 16px; }
.end-provider-meta div { padding: 14px; border: 1px solid rgba(222,202,180,.72); border-radius: 18px; background: #fffaf3; }
.end-provider-meta small { display: block; color: #8a6f55; font-size: 12px; font-weight: 900; }
.end-provider-meta strong { display: block; margin-top: 4px; color: #26302f; font-weight: 950; }
.end-provider-card a {
    width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; border-radius: 999px;
    background: #155e58; color: #fff; text-decoration: none; font-weight: 950;
}
.end-provider-card a.secondary { background: #eff8f5; color: #155e58; }
.end-content { display: grid; gap: 18px; }
.end-summary-card, .end-items-card, .end-notes-card, .member-confirm-card, .end-next-card {
    padding: 26px; border: 1px solid rgba(222,202,180,.9); border-radius: 30px; background: #fff;
}
.end-title { margin-bottom: 16px; }
.end-title h2, .member-confirm-card h2 { margin: 0; color: #26302f; font-family: "Noto Serif TC", serif; font-size: 30px; line-height: 1.25; font-weight: 900; }
.end-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.end-summary-grid div { padding: 16px; border: 1px solid rgba(222,202,180,.72); border-radius: 20px; background: #fffaf3; }
.end-summary-grid small { display: block; color: #8a6f55; font-size: 13px; font-weight: 900; }
.end-summary-grid strong { display: block; margin-top: 6px; color: #26302f; font-size: 28px; font-weight: 950; }
.end-item-list { display: grid; gap: 12px; }
.end-item-list article {
    display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 14px; align-items: center; padding: 16px;
    border: 1px solid rgba(222,202,180,.72); border-radius: 20px; background: #fffaf3;
}
.end-item-list article.done { background: #eff8f5; border-color: rgba(47,129,125,.18); }
.end-item-list strong { display: block; color: #26302f; font-weight: 950; }
.end-item-list p { margin: 6px 0 0; color: #625a52; line-height: 1.65; font-weight: 760; }
.end-item-list span {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border-radius: 999px; background: #fff;
    color: #155e58; font-weight: 950; text-align: center;
}
.end-note-list { display: grid; gap: 12px; }
.end-note-list article { padding: 18px; border: 1px solid rgba(222,202,180,.72); border-radius: 20px; background: #fffaf3; }
.end-note-list strong { display: block; color: #26302f; font-weight: 950; }
.end-note-list p { margin: 7px 0 0; color: #625a52; line-height: 1.68; font-weight: 760; }
.member-confirm-card { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: center; background: #eff8f5; }
.member-confirm-card p { margin: 10px 0 0; color: #53615f; line-height: 1.68; font-weight: 780; }
.member-confirm-actions { display: grid; gap: 10px; }
.member-confirm-actions a {
    min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 950; text-align: center;
}
.member-confirm-actions .primary { background: #155e58; color: #fff; }
.member-confirm-actions .secondary { background: #fff; color: #155e58; border: 1px solid rgba(47,129,125,.18); }
.member-confirm-actions .danger { background: #fff0eb; color: #b75535; }
.end-next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.end-next-grid div { padding: 16px; border: 1px solid rgba(222,202,180,.72); border-radius: 20px; background: #fffaf3; }
.end-next-grid strong { display: block; color: #26302f; font-weight: 950; }
.end-next-grid p { margin: 7px 0 0; color: #625a52; line-height: 1.6; font-weight: 760; }
@media (max-width: 1100px) {
    .end-hero, .end-layout, .member-confirm-card { grid-template-columns: 1fr; }
    .end-provider-card { position: relative; top: auto; }
    .end-summary-grid, .end-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .end-hero, .end-provider-card, .end-summary-card, .end-items-card, .end-notes-card, .member-confirm-card, .end-next-card { padding: 20px; }
    .end-summary-grid, .end-next-grid { grid-template-columns: 1fr; }
    .end-item-list article { grid-template-columns: 1fr; }
    .end-item-list span { justify-content: flex-start; width: fit-content; }
}


/* Stage 449：會員端寵物散步評價功能 */
.pet-review-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.review-hero,
.review-submitted-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.review-submitted-hero {
    display: block;
    text-align: center;
}

.review-hero span,
.review-title span,
.review-submit-card span,
.review-submitted-hero span,
.review-next-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.review-hero h1,
.review-submitted-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.review-hero p,
.review-submitted-hero p {
    max-width: 720px;
    margin: 16px auto 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.review-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.review-hero-tags em,
.submitted-status {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.submitted-status {
    margin-top: 24px;
    background: #155e58;
    color: #fff;
}

.review-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.review-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.review-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.review-layout,
.review-submitted-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.review-provider-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.review-provider-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.review-provider-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.review-provider-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.review-provider-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.review-provider-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.review-provider-meta div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.review-provider-meta small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.review-provider-meta strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.review-provider-card a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.review-provider-card a.secondary {
    background: #eff8f5;
    color: #155e58;
}

.review-content,
.pet-review-form {
    display: grid;
    gap: 18px;
}

.review-card,
.review-submit-card,
.review-next-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.review-title {
    margin-bottom: 16px;
}

.review-title h2,
.review-submit-card h2,
.review-next-card h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.review-score-list {
    display: grid;
    gap: 12px;
}

.review-score-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.review-score-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.review-score-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.score-options {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.score-options label {
    cursor: pointer;
}

.score-options input {
    display: none;
}

.score-options span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 129, 125, .18);
    border-radius: 50%;
    background: #fff;
    color: #155e58;
    font-weight: 950;
}

.score-options input:checked + span {
    background: #155e58;
    color: #fff;
}

.review-highlight-list,
.reuse-choice div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-highlight-list label,
.reuse-choice label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 999px;
    background: #fffaf3;
    color: #51483f;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.review-highlight-list input,
.reuse-choice input {
    width: 16px;
    height: 16px;
    accent-color: #155e58;
}

.review-textarea {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.review-textarea textarea {
    width: 100%;
    min-height: 140px;
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 18px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
    resize: vertical;
}

.reuse-choice strong {
    display: block;
    margin-bottom: 12px;
    color: #26302f;
    font-weight: 950;
}

.private-note {
    margin-top: 18px;
}

.review-submit-card,
.review-next-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.review-submit-card p,
.review-next-card p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.review-submit-card button {
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
}

.submitted-review-text,
.submitted-info-box {
    margin: 0;
    padding: 18px;
    border-radius: 20px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.75;
    font-weight: 780;
}

.submitted-info-box strong {
    color: #155e58;
    font-size: 22px;
    font-weight: 950;
}

.review-next-actions {
    display: grid;
    gap: 10px;
}

.review-next-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    text-align: center;
}

.review-next-actions .primary {
    background: #155e58;
    color: #fff;
}

.review-next-actions .secondary {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47, 129, 125, .18);
}

@media (max-width: 1100px) {
    .review-hero,
    .review-layout,
    .review-submitted-layout,
    .review-submit-card,
    .review-next-card {
        grid-template-columns: 1fr;
    }

    .review-provider-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 780px) {
    .review-hero,
    .review-card,
    .review-submit-card,
    .review-next-card,
    .review-provider-card,
    .review-submitted-hero {
        padding: 20px;
    }

    .review-score-list article {
        grid-template-columns: 1fr;
    }

    .score-options {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}


/* Stage 450：會員端寵物散步檢舉與安全機制 */
.pet-safety-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.safety-hero,
.safety-submitted-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(183, 85, 53, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #fff7f2);
}

.safety-submitted-hero {
    display: block;
    text-align: center;
}

.safety-hero span,
.safety-title span,
.safety-submitted-hero span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b75535;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.safety-hero h1,
.safety-submitted-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.safety-hero p,
.safety-submitted-hero p {
    max-width: 760px;
    margin: 16px auto 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.safety-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.safety-hero-tags em,
.safety-case-status {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #b75535;
    border: 1px solid rgba(183, 85, 53, .20);
    font-style: normal;
    font-weight: 900;
}

.safety-case-status {
    margin-top: 24px;
    background: #b75535;
    color: #fff;
}

.safety-hero aside {
    padding: 24px;
    border: 1px solid rgba(183, 85, 53, .18);
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
}

.safety-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.safety-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #7a4f3e;
    line-height: 1.65;
    font-weight: 850;
}

.safety-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.safety-provider-card {
    position: sticky;
    top: 108px;
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(183, 85, 53, .07);
}

.safety-provider-card img {
    width: 100%;
    height: 230px;
    border-radius: 24px;
    object-fit: cover;
}

.safety-provider-card > span {
    display: inline-flex;
    margin-top: 16px;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff0eb;
    color: #b75535;
    font-size: 13px;
    font-weight: 950;
}

.safety-provider-card h2 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.safety-provider-card p {
    margin: 8px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.safety-provider-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.safety-provider-meta div,
.case-info-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.safety-provider-meta small,
.case-info-grid small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.safety-provider-meta strong,
.case-info-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.safety-provider-card a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 999px;
    background: #b75535;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.safety-provider-card a.secondary {
    background: #fff0eb;
    color: #b75535;
}

.safety-content,
.safety-submitted-layout {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.safety-card,
.review-safety-entry {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.safety-title {
    margin-bottom: 16px;
}

.safety-title h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.safety-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.safety-type-grid label {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 22px;
    background: #fffaf3;
    cursor: pointer;
}

.safety-type-grid input {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 18px;
    height: 18px;
    accent-color: #b75535;
}

.safety-type-grid strong {
    color: #26302f;
    font-weight: 950;
    padding-right: 26px;
}

.safety-type-grid small {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff0eb;
    color: #b75535;
    font-weight: 950;
}

.safety-type-grid p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.safety-report-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.safety-report-form label {
    display: grid;
    gap: 8px;
    color: #2f2a25;
    font-size: 15px;
    font-weight: 900;
}

.safety-report-form label.full {
    grid-column: 1 / -1;
}

.safety-report-form input,
.safety-report-form select,
.safety-report-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 16px;
    background: #fffdf9;
    color: #26302f;
    font-size: 15px;
    font-weight: 720;
}

.safety-report-form textarea {
    min-height: 150px;
    padding-top: 14px;
    resize: vertical;
}

.safety-evidence-box {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed rgba(183, 85, 53, .36);
    border-radius: 20px;
    background: #fff0eb;
}

.safety-evidence-box strong {
    display: block;
    color: #b75535;
    font-weight: 950;
}

.safety-evidence-box p {
    margin: 6px 0 0;
    color: #7a4f3e;
    line-height: 1.62;
    font-weight: 760;
}

.safety-report-form button {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: #b75535;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(183, 85, 53, .18);
}

.safety-checklist {
    display: grid;
    gap: 12px;
}

.safety-checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.safety-checklist input {
    width: 18px;
    height: 18px;
    accent-color: #b75535;
}

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

.emergency-grid article,
.submitted-flow div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.emergency-grid article.CRITICAL,
.emergency-grid article.HIGH {
    background: #fff0eb;
    border-color: rgba(183, 85, 53, .24);
}

.emergency-grid strong,
.submitted-flow strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.emergency-grid p,
.submitted-flow span {
    display: block;
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.6;
    font-weight: 760;
}

.emergency-grid span {
    display: inline-flex;
    margin-top: 12px;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    color: #b75535;
    font-size: 12px;
    font-weight: 950;
}

.submitted-flow b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #b75535;
    color: #fff;
    font-size: 13px;
}

.submitted-flow strong {
    margin-top: 12px;
}

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

.submitted-report-box {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    background: #fff0eb;
}

.submitted-report-box > strong {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: #b75535;
    font-weight: 950;
}

.submitted-report-box h3 {
    margin: 12px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 24px;
    font-weight: 900;
}

.submitted-report-box p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.submitted-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.submitted-actions a,
.review-safety-entry a {
    flex: 1;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    text-align: center;
}

.submitted-actions .primary,
.review-safety-entry a {
    background: #b75535;
    color: #fff;
}

.submitted-actions .secondary {
    background: #fff0eb;
    color: #b75535;
}

.review-safety-entry {
    max-width: 1180px;
    margin: 24px auto 80px;
    background: #fff0eb;
}

.review-safety-entry strong {
    display: block;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.review-safety-entry p {
    margin: 8px 0 14px;
    color: #7a4f3e;
    line-height: 1.68;
    font-weight: 760;
}

@media (max-width: 1100px) {
    .safety-hero,
    .safety-layout {
        grid-template-columns: 1fr;
    }

    .safety-provider-card {
        position: relative;
        top: auto;
    }

    .emergency-grid,
    .submitted-flow,
    .case-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .safety-hero,
    .safety-provider-card,
    .safety-card,
    .safety-submitted-hero,
    .review-safety-entry {
        padding: 20px;
    }

    .safety-type-grid,
    .safety-report-form,
    .emergency-grid,
    .submitted-flow,
    .case-info-grid {
        grid-template-columns: 1fr;
    }
}


/* Stage 451：會員端寵物散步完整整合 */
.pet-integration-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.integration-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.integration-hero span,
.integration-side > span,
.integration-title span,
.integration-final span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.integration-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.integration-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.integration-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.integration-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.integration-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.integration-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.integration-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.integration-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.integration-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.integration-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.integration-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 30px;
    font-weight: 950;
}

.integration-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.integration-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.integration-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.integration-side h2,
.integration-title h2,
.integration-final h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.integration-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.integration-alerts {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .72);
}

.integration-alerts strong {
    color: #155e58;
    font-weight: 950;
}

.integration-alerts ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.integration-content {
    display: grid;
    gap: 18px;
}

.integration-section,
.integration-final {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.integration-title {
    margin-bottom: 16px;
}

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

.integration-step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 148px;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 24px;
    background: #fffaf3;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.integration-step:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 129, 125, .26);
    box-shadow: 0 16px 34px rgba(47,129,125,.08);
}

.integration-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.integration-step.danger b {
    background: #b75535;
}

.integration-step strong {
    display: block;
    color: #26302f;
    font-size: 19px;
    font-weight: 950;
}

.integration-step p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.integration-final {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.integration-final p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.integration-final-actions {
    display: grid;
    gap: 10px;
}

.integration-final-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.integration-final-actions a:nth-child(2) {
    background: #fff0eb;
    color: #b75535;
}

.integration-final-actions a:nth-child(3) {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

@media (max-width: 1100px) {
    .integration-hero,
    .integration-layout,
    .integration-final {
        grid-template-columns: 1fr;
    }

    .integration-side {
        position: relative;
        top: auto;
    }

    .integration-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .integration-hero,
    .integration-side,
    .integration-section,
    .integration-final {
        padding: 20px;
    }

    .integration-stats,
    .integration-grid {
        grid-template-columns: 1fr;
    }

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


/* Stage 452：商家端寵物散步接單中心 */
.merchant-pet-orders-page {
    padding-top: 54px;
    padding-bottom: 90px;
}

.merchant-orders-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 330px;
    gap: 22px;
    align-items: stretch;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-orders-hero span,
.merchant-order-filter span,
.merchant-order-side > span,
.merchant-order-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-orders-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-orders-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-orders-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-orders-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-orders-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-order-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.merchant-order-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.merchant-order-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-order-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 30px;
    font-weight: 950;
}

.merchant-order-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-order-filter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.merchant-order-filter h2,
.merchant-order-side h2,
.merchant-order-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.merchant-filter-chips a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    text-decoration: none;
    font-weight: 900;
}

.merchant-filter-chips a.active {
    background: #155e58;
    border-color: #155e58;
    color: #fff;
}

.merchant-order-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-order-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.merchant-order-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.merchant-reminders {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .72);
}

.merchant-reminders strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-reminders ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-order-list {
    display: grid;
    gap: 18px;
}

.merchant-order-card {
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.merchant-order-card.NEW {
    border-color: rgba(21, 94, 88, .28);
}

.merchant-order-card.IN_SERVICE {
    background: #fffdf8;
}

.merchant-order-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.merchant-order-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.merchant-order-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-order-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.merchant-order-head em {
    font-style: normal;
}

.merchant-order-priority {
    min-width: 100px;
    text-align: right;
}

.merchant-order-priority b {
    display: block;
    color: #b75535;
    font-weight: 950;
}

.merchant-order-priority small {
    display: block;
    margin-top: 4px;
    color: #625a52;
    font-weight: 850;
}

.merchant-order-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.merchant-order-info div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.merchant-order-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.merchant-order-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.merchant-order-note {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-order-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.merchant-order-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6ea;
    color: #82613c;
    font-size: 13px;
    font-weight: 900;
}

.merchant-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.merchant-order-actions a,
.merchant-order-actions button {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.merchant-order-actions .primary {
    background: #155e58;
    color: #fff;
}

.merchant-order-actions .secondary {
    background: #eff8f5;
    color: #155e58;
}

.merchant-order-actions button {
    background: #fff0eb;
    color: #b75535;
}

.merchant-order-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #eff8f5;
}

.merchant-order-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-order-next a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .merchant-orders-hero,
    .merchant-order-layout,
    .merchant-order-next {
        grid-template-columns: 1fr;
    }

    .merchant-order-side {
        position: relative;
        top: auto;
    }

    .merchant-order-stats,
    .merchant-order-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .merchant-orders-hero,
    .merchant-order-filter,
    .merchant-order-side,
    .merchant-order-card,
    .merchant-order-next {
        padding: 20px;
    }

    .merchant-order-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .merchant-filter-chips {
        justify-content: flex-start;
    }

    .merchant-order-stats,
    .merchant-order-info {
        grid-template-columns: 1fr;
    }

    .merchant-order-head {
        flex-direction: column;
    }

    .merchant-order-priority {
        text-align: left;
    }

    .merchant-order-actions a,
    .merchant-order-actions button {
        flex: 0 0 100%;
    }
}


/* Stage 453：商家端寵物散步需求詳情 */
.merchant-pet-detail-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-back {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #fff;
    color: #1d8079;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid rgba(29,128,121,.18);
}

.merchant-pet-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-detail-hero span,
.merchant-pet-section-title span,
.merchant-pet-detail-side > span,
.merchant-pet-side-card > span,
.merchant-pet-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-detail-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-detail-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-detail-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-detail-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-detail-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-detail-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.merchant-pet-detail-grid article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.merchant-pet-detail-grid span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-detail-grid strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.merchant-pet-detail-grid p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-detail-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-card,
.merchant-pet-side-card,
.merchant-pet-next {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-pet-section-title {
    margin-bottom: 16px;
}

.merchant-pet-section-title h2,
.merchant-pet-side-card h2,
.merchant-pet-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.merchant-pet-profile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-profile div,
.merchant-pet-side-meta div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-profile span,
.merchant-pet-side-meta small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-profile strong,
.merchant-pet-side-meta strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-note {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-pet-note strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-note p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.merchant-pet-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6ea;
    color: #82613c;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-timeline {
    display: grid;
    gap: 12px;
}

.merchant-pet-timeline article {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-timeline article.done {
    background: #eff8f5;
}

.merchant-pet-timeline article.active {
    background: #155e58;
    color: #fff;
}

.merchant-pet-timeline time {
    color: inherit;
    font-weight: 950;
}

.merchant-pet-timeline strong {
    display: block;
    color: inherit;
    font-weight: 950;
}

.merchant-pet-timeline p {
    margin: 6px 0 0;
    color: inherit;
    opacity: .86;
    line-height: 1.65;
    font-weight: 760;
}

.merchant-pet-checklist {
    display: grid;
    gap: 12px;
}

.merchant-pet-checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.merchant-pet-checklist input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
}

.merchant-pet-detail-side {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.merchant-pet-side-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.merchant-pet-report-flags {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-pet-report-flags strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-report-flags p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 780;
}

.merchant-pet-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.merchant-pet-actions a,
.merchant-pet-actions button,
.merchant-pet-next a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-actions .primary,
.merchant-pet-next a {
    background: #155e58;
    color: #fff;
}

.merchant-pet-actions .secondary {
    background: #eff8f5;
    color: #155e58;
}

.merchant-pet-actions button {
    background: #fff0eb;
    color: #b75535;
}

.merchant-pet-reply-list {
    display: grid;
    gap: 10px;
}

.merchant-pet-reply-list button {
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
    color: #51483f;
    text-align: left;
    line-height: 1.55;
    font-weight: 850;
}

.merchant-pet-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    background: #eff8f5;
}

.merchant-pet-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .merchant-pet-detail-hero,
    .merchant-pet-detail-layout,
    .merchant-pet-next {
        grid-template-columns: 1fr;
    }

    .merchant-pet-detail-side {
        position: relative;
        top: auto;
    }

    .merchant-pet-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .merchant-pet-detail-hero,
    .merchant-pet-card,
    .merchant-pet-side-card,
    .merchant-pet-next {
        padding: 20px;
    }

    .merchant-pet-detail-grid,
    .merchant-pet-profile {
        grid-template-columns: 1fr;
    }

    .merchant-pet-timeline article {
        grid-template-columns: 1fr;
    }
}


/* Stage 454：商家端回覆寵物散步需求 */
.merchant-pet-reply-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-reply-hero,
.merchant-reply-done-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-reply-done-hero {
    display: block;
}

.merchant-pet-reply-hero span,
.merchant-reply-done-hero > span,
.merchant-pet-section-title span,
.merchant-reply-submit-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-reply-hero h1,
.merchant-reply-done-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-reply-hero p,
.merchant-reply-done-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-reply-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-reply-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-reply-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-reply-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-reply-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-reply-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-reply-main,
.merchant-reply-done-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-reply-card,
.merchant-reply-submit-card {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-reply-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-reply-options label {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 152px;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 22px;
    background: #fffaf3;
    cursor: pointer;
}

.merchant-reply-options label.recommended {
    background: #eff8f5;
    border-color: rgba(47,129,125,.2);
}

.merchant-reply-options input,
.merchant-reply-checklist input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #155e58;
}

.merchant-reply-options strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-reply-options b {
    display: block;
    margin-top: 7px;
    color: #155e58;
    font-weight: 950;
}

.merchant-reply-options p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.merchant-reply-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-reply-fields label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.merchant-reply-fields select,
.merchant-pet-reply-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 18px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.merchant-pet-reply-form textarea {
    min-height: 180px;
    padding: 16px;
    line-height: 1.7;
}

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

.merchant-reply-template-grid button,
.merchant-reply-safety-list p {
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
    color: #51483f;
    text-align: left;
    line-height: 1.55;
    font-weight: 850;
}

.merchant-reply-checklist {
    display: grid;
    gap: 12px;
}

.merchant-reply-checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.merchant-reply-submit-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.merchant-reply-submit-card h2,
.merchant-pet-section-title h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-reply-submit-card p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-reply-submit-actions {
    display: grid;
    gap: 10px;
}

.merchant-reply-submit-actions button,
.merchant-reply-submit-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-reply-submit-actions a {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.merchant-pet-reply-side {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.merchant-reply-safety-list {
    display: grid;
    gap: 10px;
}

.merchant-reply-safety-list p {
    margin: 0;
}

.merchant-reply-done-layout {
    margin-top: 22px;
}

.merchant-reply-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-reply-result-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-reply-result-grid small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-reply-result-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.merchant-reply-message-box {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-reply-message-box strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-reply-message-box p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-reply-next-list {
    display: grid;
    gap: 12px;
}

.merchant-reply-next-list article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-reply-next-list b {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.merchant-reply-next-list p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .merchant-pet-reply-hero,
    .merchant-pet-reply-layout,
    .merchant-reply-submit-card {
        grid-template-columns: 1fr;
    }

    .merchant-pet-reply-side {
        position: relative;
        top: auto;
    }
}

@media (max-width: 780px) {
    .merchant-pet-reply-hero,
    .merchant-pet-reply-card,
    .merchant-reply-submit-card,
    .merchant-reply-done-hero {
        padding: 20px;
    }

    .merchant-reply-options,
    .merchant-reply-fields,
    .merchant-reply-template-grid,
    .merchant-reply-result-grid {
        grid-template-columns: 1fr;
    }
}


/* Stage 455：商家端寵物散步訂單管理 */
.merchant-pet-manage-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-manage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-manage-hero span,
.merchant-pet-manage-filter span,
.merchant-pet-manage-side > span,
.merchant-pet-manage-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-manage-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-manage-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-manage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-manage-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-manage-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-manage-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-manage-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-manage-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.merchant-pet-manage-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.merchant-pet-manage-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-manage-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 30px;
    font-weight: 950;
}

.merchant-pet-manage-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-manage-filter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.merchant-pet-manage-filter h2,
.merchant-pet-manage-side h2,
.merchant-pet-manage-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-manage-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.merchant-pet-manage-chips a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    text-decoration: none;
    font-weight: 900;
}

.merchant-pet-manage-chips a.active {
    background: #155e58;
    border-color: #155e58;
    color: #fff;
}

.merchant-pet-manage-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-manage-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.merchant-pet-manage-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.merchant-pet-manage-rules {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .72);
}

.merchant-pet-manage-rules strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-manage-rules ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-manage-list {
    display: grid;
    gap: 18px;
}

.merchant-pet-managed-order {
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(47, 129, 125, .07);
}

.merchant-pet-managed-order.IN_SERVICE {
    border-color: rgba(21, 94, 88, .28);
    background: #fffdf8;
}

.merchant-pet-managed-order.WAITING_PAYMENT_REVIEW {
    border-color: rgba(229, 111, 84, .32);
}

.merchant-pet-managed-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.merchant-pet-managed-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.merchant-pet-managed-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-managed-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.merchant-pet-managed-head em {
    font-style: normal;
}

.merchant-pet-managed-progress {
    min-width: 130px;
    text-align: right;
}

.merchant-pet-managed-progress b {
    display: block;
    color: #b75535;
    font-weight: 950;
}

.merchant-pet-managed-progress small {
    display: block;
    margin-top: 4px;
    color: #625a52;
    font-weight: 850;
}

.merchant-pet-managed-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.merchant-pet-managed-info div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.merchant-pet-managed-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.merchant-pet-managed-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-managed-note {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-managed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.merchant-pet-managed-actions a {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-managed-actions .primary {
    background: #155e58;
    color: #fff;
}

.merchant-pet-managed-actions .secondary {
    background: #eff8f5;
    color: #155e58;
}

.merchant-pet-manage-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #eff8f5;
}

.merchant-pet-manage-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-manage-next a,
.merchant-order-next-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-order-next-actions {
    display: grid;
    gap: 10px;
}

.merchant-order-next-actions a:nth-child(2) {
    background: #eff8f5;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

@media (max-width: 1180px) {
    .merchant-pet-manage-hero,
    .merchant-pet-manage-layout,
    .merchant-pet-manage-next {
        grid-template-columns: 1fr;
    }

    .merchant-pet-manage-side {
        position: relative;
        top: auto;
    }

    .merchant-pet-manage-stats,
    .merchant-pet-managed-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .merchant-pet-manage-hero,
    .merchant-pet-manage-filter,
    .merchant-pet-manage-side,
    .merchant-pet-managed-order,
    .merchant-pet-manage-next {
        padding: 20px;
    }

    .merchant-pet-manage-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .merchant-pet-manage-chips {
        justify-content: flex-start;
    }

    .merchant-pet-manage-stats,
    .merchant-pet-managed-info {
        grid-template-columns: 1fr;
    }

    .merchant-pet-managed-head {
        flex-direction: column;
    }

    .merchant-pet-managed-progress {
        text-align: left;
    }

    .merchant-pet-managed-actions a {
        flex: 0 0 100%;
    }
}


/* Stage 456：商家端寵物散步服務開始回報 */
.merchant-pet-start-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-start-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-start-hero span,
.merchant-pet-start-done > span,
.merchant-pet-section-title span,
.merchant-pet-start-submit span,
.merchant-pet-start-side .merchant-pet-side-card > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-start-hero h1,
.merchant-pet-start-done h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-start-hero p,
.merchant-pet-start-done p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-start-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-start-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-start-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-start-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-start-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-start-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-start-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-start-card,
.merchant-pet-start-submit,
.merchant-pet-start-done {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-pet-start-card {
    margin-bottom: 18px;
}

.merchant-pet-start-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-start-fields label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.merchant-pet-start-fields label.wide {
    grid-column: 1 / -1;
}

.merchant-pet-start-fields input,
.merchant-pet-start-fields select,
.merchant-pet-start-fields textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 18px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.merchant-pet-start-fields textarea {
    padding: 16px;
    line-height: 1.7;
}

.merchant-pet-start-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-start-checklist label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 22px;
    background: #fffaf3;
}

.merchant-pet-start-checklist label.recommended {
    background: #eff8f5;
    border-color: rgba(47,129,125,.2);
}

.merchant-pet-start-checklist input,
.merchant-pet-handoff-grid input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #155e58;
}

.merchant-pet-start-checklist strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-start-checklist p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.merchant-pet-handoff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-handoff-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.merchant-pet-start-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.merchant-pet-start-submit h2,
.merchant-pet-section-title h2,
.merchant-pet-start-side .merchant-pet-side-card h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-start-submit p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-start-actions {
    display: grid;
    gap: 10px;
}

.merchant-pet-start-actions button,
.merchant-pet-start-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-start-actions a:nth-child(2),
.merchant-pet-start-actions a:first-child {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.merchant-pet-start-side {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.merchant-pet-start-risk-list {
    display: grid;
    gap: 10px;
}

.merchant-pet-start-risk-list p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.55;
    font-weight: 850;
}

.merchant-pet-start-done {
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-start-done-layout {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.merchant-pet-start-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-start-result-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-start-result-grid div.wide {
    grid-column: 1 / -1;
}

.merchant-pet-start-result-grid small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-start-result-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-start-message {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-pet-start-message strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-start-message p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-start-next-list {
    display: grid;
    gap: 12px;
}

.merchant-pet-start-next-list article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-start-next-list b {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.merchant-pet-start-next-list p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .merchant-pet-start-hero,
    .merchant-pet-start-layout,
    .merchant-pet-start-submit {
        grid-template-columns: 1fr;
    }

    .merchant-pet-start-side {
        position: relative;
        top: auto;
    }
}

@media (max-width: 780px) {
    .merchant-pet-start-hero,
    .merchant-pet-start-card,
    .merchant-pet-start-submit,
    .merchant-pet-start-done {
        padding: 20px;
    }

    .merchant-pet-start-fields,
    .merchant-pet-start-checklist,
    .merchant-pet-handoff-grid,
    .merchant-pet-start-result-grid {
        grid-template-columns: 1fr;
    }

    .merchant-pet-start-result-grid div.wide,
    .merchant-pet-start-fields label.wide {
        grid-column: auto;
    }
}


/* Stage 457：商家端寵物散步照片回報 */
.merchant-pet-media-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-media-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-media-hero span,
.merchant-pet-media-done > span,
.merchant-pet-section-title span,
.merchant-pet-media-submit span,
.merchant-pet-media-side .merchant-pet-side-card > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-media-hero h1,
.merchant-pet-media-done h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-media-hero p,
.merchant-pet-media-done p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-media-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-media-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-media-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-media-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-media-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-media-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-media-card,
.merchant-pet-media-submit,
.merchant-pet-media-done {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-pet-media-card {
    margin-bottom: 18px;
}

.merchant-pet-media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.merchant-pet-media-gallery article {
    overflow: hidden;
    border: 1px solid rgba(222, 202, 180, .76);
    border-radius: 24px;
    background: #fffaf3;
}

.merchant-pet-media-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.merchant-pet-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merchant-pet-media-thumb span {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #155e58;
    font-size: 13px;
    font-weight: 950;
}

.merchant-pet-media-thumb button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 94, 88, .92);
    color: #fff;
    font-weight: 950;
}

.merchant-pet-media-body {
    padding: 18px;
}

.merchant-pet-media-body small {
    color: #8a6f55;
    font-weight: 900;
}

.merchant-pet-media-body h3 {
    margin: 6px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 24px;
    font-weight: 900;
}

.merchant-pet-media-body p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 760;
}

.merchant-pet-media-body em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.merchant-pet-media-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-media-fields label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.merchant-pet-media-fields label.wide {
    grid-column: 1 / -1;
}

.merchant-pet-media-fields input,
.merchant-pet-media-fields select,
.merchant-pet-media-fields textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 18px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.merchant-pet-media-fields textarea {
    padding: 16px;
    line-height: 1.7;
}

.merchant-pet-upload-box {
    margin-top: 16px;
    padding: 20px;
    border: 1px dashed rgba(47, 129, 125, .38);
    border-radius: 22px;
    background: #eff8f5;
}

.merchant-pet-upload-box strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-upload-box p {
    margin: 8px 0 0;
    color: #53615f;
    line-height: 1.65;
    font-weight: 780;
}

.merchant-pet-media-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-media-checklist label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 22px;
    background: #fffaf3;
}

.merchant-pet-media-checklist label.recommended {
    background: #eff8f5;
    border-color: rgba(47,129,125,.2);
}

.merchant-pet-media-checklist input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #155e58;
}

.merchant-pet-media-checklist strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-media-checklist p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.merchant-pet-media-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.merchant-pet-media-submit h2,
.merchant-pet-section-title h2,
.merchant-pet-media-side .merchant-pet-side-card h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-media-submit p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-media-actions {
    display: grid;
    gap: 10px;
}

.merchant-pet-media-actions button,
.merchant-pet-media-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-media-actions a:nth-child(2),
.merchant-pet-media-actions a:first-child {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.merchant-pet-media-side {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.merchant-pet-media-safety-list {
    display: grid;
    gap: 10px;
}

.merchant-pet-media-safety-list p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.55;
    font-weight: 850;
}

.merchant-pet-media-done {
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-media-done-layout {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.merchant-pet-media-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-media-result-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-media-result-grid div.wide {
    grid-column: 1 / -1;
}

.merchant-pet-media-result-grid small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-media-result-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-media-message {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-pet-media-message strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-media-message p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-media-next-list {
    display: grid;
    gap: 12px;
}

.merchant-pet-media-next-list article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-media-next-list b {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.merchant-pet-media-next-list p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .merchant-pet-media-hero,
    .merchant-pet-media-layout,
    .merchant-pet-media-submit {
        grid-template-columns: 1fr;
    }

    .merchant-pet-media-side {
        position: relative;
        top: auto;
    }
}

@media (max-width: 780px) {
    .merchant-pet-media-hero,
    .merchant-pet-media-card,
    .merchant-pet-media-submit,
    .merchant-pet-media-done {
        padding: 20px;
    }

    .merchant-pet-media-gallery,
    .merchant-pet-media-fields,
    .merchant-pet-media-checklist,
    .merchant-pet-media-result-grid {
        grid-template-columns: 1fr;
    }

    .merchant-pet-media-result-grid div.wide,
    .merchant-pet-media-fields label.wide {
        grid-column: auto;
    }
}


/* Stage 458：商家端寵物散步結束回報 */
.merchant-pet-end-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-end-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-end-hero span,
.merchant-pet-end-done > span,
.merchant-pet-section-title span,
.merchant-pet-end-submit span,
.merchant-pet-end-side .merchant-pet-side-card > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-end-hero h1,
.merchant-pet-end-done h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-end-hero p,
.merchant-pet-end-done p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-end-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-end-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-end-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-end-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-end-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-end-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.merchant-pet-end-summary article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.merchant-pet-end-summary span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-end-summary strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 26px;
    font-weight: 950;
}

.merchant-pet-end-summary p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-end-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-end-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-end-card,
.merchant-pet-end-submit,
.merchant-pet-end-done {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-pet-end-card {
    margin-bottom: 18px;
}

.merchant-pet-end-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-end-fields label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.merchant-pet-end-fields label.wide {
    grid-column: 1 / -1;
}

.merchant-pet-end-fields input,
.merchant-pet-end-fields select,
.merchant-pet-end-fields textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 18px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.merchant-pet-end-fields textarea {
    padding: 16px;
    line-height: 1.7;
}

.merchant-pet-end-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-end-activity-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 16px;
    background: #fffaf3;
    color: #51483f;
    font-weight: 900;
}

.merchant-pet-end-activity-grid input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
}

.merchant-pet-end-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merchant-pet-end-checklist label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 22px;
    background: #fffaf3;
}

.merchant-pet-end-checklist label.recommended {
    background: #eff8f5;
    border-color: rgba(47,129,125,.2);
}

.merchant-pet-end-checklist input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #155e58;
}

.merchant-pet-end-checklist strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-end-checklist p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 760;
}

.merchant-pet-end-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: center;
    background: #eff8f5;
}

.merchant-pet-end-submit h2,
.merchant-pet-section-title h2,
.merchant-pet-end-side .merchant-pet-side-card h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-end-submit p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-end-actions {
    display: grid;
    gap: 10px;
}

.merchant-pet-end-actions button,
.merchant-pet-end-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-end-actions a:nth-child(2),
.merchant-pet-end-actions a:first-child {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.merchant-pet-end-side {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.merchant-pet-end-safety-list {
    display: grid;
    gap: 10px;
}

.merchant-pet-end-safety-list p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
    color: #51483f;
    line-height: 1.55;
    font-weight: 850;
}

.merchant-pet-end-done {
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-end-done-layout {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.merchant-pet-end-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.merchant-pet-end-result-grid div {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-end-result-grid div.wide {
    grid-column: 1 / -1;
}

.merchant-pet-end-result-grid small {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-end-result-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-end-message {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #eff8f5;
}

.merchant-pet-end-message strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-end-message p {
    margin: 7px 0 0;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-end-next-list {
    display: grid;
    gap: 12px;
}

.merchant-pet-end-next-list article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-end-next-list b {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.merchant-pet-end-next-list p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .merchant-pet-end-hero,
    .merchant-pet-end-layout,
    .merchant-pet-end-submit {
        grid-template-columns: 1fr;
    }

    .merchant-pet-end-side {
        position: relative;
        top: auto;
    }

    .merchant-pet-end-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .merchant-pet-end-hero,
    .merchant-pet-end-card,
    .merchant-pet-end-submit,
    .merchant-pet-end-done {
        padding: 20px;
    }

    .merchant-pet-end-summary,
    .merchant-pet-end-fields,
    .merchant-pet-end-activity-grid,
    .merchant-pet-end-checklist,
    .merchant-pet-end-result-grid {
        grid-template-columns: 1fr;
    }

    .merchant-pet-end-result-grid div.wide,
    .merchant-pet-end-fields label.wide {
        grid-column: auto;
    }
}


/* Stage 459：商家端寵物散步收益管理 */
.merchant-pet-revenue-page {
    padding-top: 30px;
    padding-bottom: 86px;
}

.merchant-pet-revenue-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 330px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.merchant-pet-revenue-hero span,
.merchant-pet-revenue-filter span,
.merchant-pet-revenue-side > span,
.merchant-pet-section-title span,
.merchant-pet-revenue-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.merchant-pet-revenue-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.merchant-pet-revenue-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.merchant-pet-revenue-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.merchant-pet-revenue-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #2f5d59;
    border: 1px solid rgba(47, 129, 125, .16);
    font-style: normal;
    font-weight: 900;
}

.merchant-pet-revenue-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.merchant-pet-revenue-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.merchant-pet-revenue-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.merchant-pet-revenue-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.merchant-pet-revenue-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.merchant-pet-revenue-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.merchant-pet-revenue-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 30px;
    font-weight: 950;
}

.merchant-pet-revenue-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-revenue-filter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.merchant-pet-revenue-filter h2,
.merchant-pet-revenue-side h2,
.merchant-pet-section-title h2,
.merchant-pet-revenue-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.merchant-pet-revenue-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.merchant-pet-revenue-chips a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 999px;
    background: #fffaf3;
    color: #5c5148;
    text-decoration: none;
    font-weight: 900;
}

.merchant-pet-revenue-chips a.active {
    background: #155e58;
    border-color: #155e58;
    color: #fff;
}

.merchant-pet-revenue-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.merchant-pet-revenue-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.merchant-pet-revenue-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.merchant-pet-revenue-notes {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .72);
}

.merchant-pet-revenue-notes strong {
    color: #155e58;
    font-weight: 950;
}

.merchant-pet-revenue-notes ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-revenue-main {
    display: grid;
    gap: 18px;
}

.merchant-pet-revenue-card,
.merchant-pet-revenue-next {
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #fff;
}

.merchant-pet-revenue-breakdown {
    display: grid;
    gap: 12px;
}

.merchant-pet-revenue-breakdown article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 80px;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.merchant-pet-revenue-breakdown strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-revenue-breakdown p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.merchant-pet-revenue-breakdown b {
    color: #155e58;
    font-size: 22px;
    font-weight: 950;
    text-align: right;
}

.merchant-pet-revenue-breakdown em {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-style: normal;
    font-weight: 950;
}

.merchant-pet-settlement-list {
    display: grid;
    gap: 16px;
}

.merchant-pet-settlement-list article {
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .76);
    border-radius: 24px;
    background: #fffaf3;
}

.merchant-pet-settlement-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.merchant-pet-settlement-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.merchant-pet-settlement-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.merchant-pet-settlement-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.merchant-pet-settlement-head em {
    font-style: normal;
}

.merchant-pet-settlement-net {
    min-width: 130px;
    text-align: right;
}

.merchant-pet-settlement-net small {
    color: #8a6f55;
    font-weight: 900;
}

.merchant-pet-settlement-net b {
    display: block;
    margin-top: 4px;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.merchant-pet-settlement-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.merchant-pet-settlement-info div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fff;
}

.merchant-pet-settlement-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.merchant-pet-settlement-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.merchant-pet-revenue-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    background: #eff8f5;
}

.merchant-pet-revenue-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

.merchant-pet-revenue-next a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.merchant-pet-manage-next-actions {
    display: grid;
    gap: 10px;
}

.merchant-pet-manage-next-actions a:nth-child(2) {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

@media (max-width: 1180px) {
    .merchant-pet-revenue-hero,
    .merchant-pet-revenue-layout,
    .merchant-pet-revenue-next {
        grid-template-columns: 1fr;
    }

    .merchant-pet-revenue-side {
        position: relative;
        top: auto;
    }

    .merchant-pet-revenue-stats,
    .merchant-pet-settlement-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .merchant-pet-revenue-hero,
    .merchant-pet-revenue-filter,
    .merchant-pet-revenue-side,
    .merchant-pet-revenue-card,
    .merchant-pet-revenue-next {
        padding: 20px;
    }

    .merchant-pet-revenue-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .merchant-pet-revenue-chips {
        justify-content: flex-start;
    }

    .merchant-pet-revenue-stats,
    .merchant-pet-settlement-info,
    .merchant-pet-revenue-breakdown {
        grid-template-columns: 1fr;
    }

    .merchant-pet-revenue-breakdown article {
        grid-template-columns: 1fr;
    }

    .merchant-pet-revenue-breakdown b {
        text-align: left;
    }

    .merchant-pet-settlement-head {
        flex-direction: column;
    }

    .merchant-pet-settlement-net {
        text-align: left;
    }
}

/* Stage 460：商家端寵物散步完整整合 */
.merchant-pet-integration-page{padding-top:30px;padding-bottom:86px}
.merchant-pet-integration-hero{display:grid;grid-template-columns:minmax(0,1.22fr) 330px;gap:22px;align-items:stretch;padding:34px;border:1px solid rgba(222,202,180,.9);border-radius:34px;background:radial-gradient(circle at 0% 0%,rgba(47,129,125,.12),transparent 36%),linear-gradient(135deg,#fffdf8,#f6fbf7)}
.merchant-pet-integration-hero span,.merchant-pet-integration-side>span,.merchant-pet-section-title span,.merchant-pet-integration-next span{display:inline-flex;margin-bottom:10px;color:#227b75;font-size:13px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.merchant-pet-integration-hero h1{margin:0;color:#26302f;font-family:"Noto Serif TC",serif;font-size:clamp(40px,5.4vw,68px);line-height:1.08;font-weight:900}
.merchant-pet-integration-hero p{max-width:850px;margin:16px 0 0;color:#625a52;line-height:1.75;font-size:16px;font-weight:760}
.merchant-pet-integration-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.merchant-pet-integration-tags em{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:#fff;color:#2f5d59;border:1px solid rgba(47,129,125,.16);font-style:normal;font-weight:900}
.merchant-pet-integration-hero aside{padding:24px;border:1px solid rgba(47,129,125,.16);border-radius:26px;background:rgba(255,255,255,.86)}
.merchant-pet-integration-hero aside strong{display:block;color:#26302f;font-size:20px;font-weight:950}
.merchant-pet-integration-hero ul{display:grid;gap:10px;margin:14px 0 0;padding-left:20px;color:#2f5d59;line-height:1.65;font-weight:850}
.merchant-pet-integration-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.merchant-pet-integration-stats article{padding:20px;border:1px solid rgba(222,202,180,.9);border-radius:24px;background:#fff;box-shadow:0 16px 34px rgba(47,129,125,.06)}
.merchant-pet-integration-stats span{display:block;color:#8a6f55;font-size:13px;font-weight:900}
.merchant-pet-integration-stats strong{display:block;margin-top:8px;color:#155e58;font-size:30px;font-weight:950}
.merchant-pet-integration-stats p{margin:6px 0 0;color:#625a52;line-height:1.55;font-weight:760}
.merchant-pet-integration-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start;margin-top:22px}
.merchant-pet-integration-side{position:sticky;top:108px;padding:24px;border:1px solid rgba(222,202,180,.9);border-radius:28px;background:#fffaf3}
.merchant-pet-integration-side h2,.merchant-pet-section-title h2,.merchant-pet-integration-next h2{margin:0;color:#26302f;font-family:"Noto Serif TC",serif;font-size:30px;font-weight:900}
.merchant-pet-integration-side p{margin:12px 0 0;color:#625a52;line-height:1.68;font-weight:760}
.merchant-pet-integration-alerts{margin-top:18px;padding:16px;border-radius:20px;background:#fff;border:1px solid rgba(222,202,180,.72)}
.merchant-pet-integration-alerts strong{color:#155e58;font-weight:950}
.merchant-pet-integration-alerts ul{display:grid;gap:8px;margin:10px 0 0;padding-left:18px;color:#625a52;line-height:1.55;font-weight:760}
.merchant-pet-integration-main{display:grid;gap:18px}
.merchant-pet-integration-card,.merchant-pet-integration-next{padding:26px;border:1px solid rgba(222,202,180,.9);border-radius:30px;background:#fff}
.merchant-pet-flow-list{display:grid;gap:12px}
.merchant-pet-flow-list a{display:grid;grid-template-columns:68px minmax(0,1fr) 108px;gap:14px;align-items:center;padding:18px;border:1px solid rgba(222,202,180,.76);border-radius:22px;background:#fffaf3;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.merchant-pet-flow-list a:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(47,129,125,.08)}
.merchant-pet-flow-list a.active{background:#eff8f5;border-color:rgba(47,129,125,.22)}
.merchant-pet-flow-list b{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:18px;background:#155e58;color:#fff;font-weight:950;font-size:18px}
.merchant-pet-flow-list span{display:inline-flex;min-height:28px;align-items:center;padding:0 10px;border-radius:999px;background:#fff;color:#8a6f55;font-size:12px;font-weight:950}
.merchant-pet-flow-list strong{display:block;margin-top:7px;color:#26302f;font-size:20px;font-weight:950}
.merchant-pet-flow-list p{margin:7px 0 0;color:#625a52;line-height:1.6;font-weight:760}
.merchant-pet-flow-list em{display:inline-flex;justify-content:center;align-items:center;min-height:38px;border-radius:999px;background:#155e58;color:#fff;font-style:normal;font-size:13px;font-weight:950}
.merchant-pet-flow-list a.active em{background:#fff;color:#155e58;border:1px solid rgba(47,129,125,.18)}
.merchant-pet-integration-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.merchant-pet-integration-status-grid article{padding:18px;border:1px solid rgba(222,202,180,.72);border-radius:22px;background:#fffaf3}
.merchant-pet-integration-status-grid span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#155e58;color:#fff;font-weight:950}
.merchant-pet-integration-status-grid strong{display:block;margin-top:12px;color:#26302f;font-size:19px;font-weight:950}
.merchant-pet-integration-status-grid p{margin:8px 0 0;color:#625a52;line-height:1.6;font-weight:760}
.merchant-pet-integration-action-list{display:grid;gap:12px}
.merchant-pet-integration-action-list article{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:16px;border:1px solid rgba(222,202,180,.72);border-radius:20px;background:#fffaf3}
.merchant-pet-integration-action-list b{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#155e58;color:#fff;font-weight:950}
.merchant-pet-integration-action-list p{margin:0;color:#625a52;line-height:1.62;font-weight:780}
.merchant-pet-integration-next{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:center;margin-top:22px;background:#eff8f5}
.merchant-pet-integration-next p{margin:10px 0 0;color:#53615f;line-height:1.68;font-weight:780}
.merchant-pet-integration-next-actions,.merchant-pet-revenue-next-actions{display:grid;gap:10px}
.merchant-pet-integration-next-actions a,.merchant-pet-revenue-next-actions a{min-height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#155e58;color:#fff;text-decoration:none;font-weight:950}
.merchant-pet-integration-next-actions a:nth-child(n+2),.merchant-pet-revenue-next-actions a:nth-child(2){background:#fff;color:#155e58;border:1px solid rgba(47,129,125,.18)}
@media(max-width:1180px){.merchant-pet-integration-hero,.merchant-pet-integration-layout,.merchant-pet-integration-next{grid-template-columns:1fr}.merchant-pet-integration-side{position:relative;top:auto}.merchant-pet-integration-stats,.merchant-pet-integration-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.merchant-pet-integration-hero,.merchant-pet-integration-side,.merchant-pet-integration-card,.merchant-pet-integration-next{padding:20px}.merchant-pet-integration-stats,.merchant-pet-integration-status-grid{grid-template-columns:1fr}.merchant-pet-flow-list a{grid-template-columns:1fr}.merchant-pet-flow-list em{justify-self:flex-start;padding:0 14px}}


/* Stage 461：管理員端寵物散步需求監控 */
.admin-pet-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 18px 86px;
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-pet-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) 320px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 129, 125, .12), transparent 36%),
        linear-gradient(135deg, #fffdf8, #f6fbf7);
}

.admin-pet-hero span,
.admin-pet-side > span,
.admin-pet-section-title span,
.admin-pet-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-pet-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(40px, 5.6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.admin-pet-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.admin-pet-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.admin-pet-hero-actions a,
.admin-pet-actions a,
.admin-pet-actions button,
.admin-pet-next a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    background: #eff8f5;
    color: #155e58;
    font-weight: 950;
}

.admin-pet-hero-actions a.primary,
.admin-pet-next a {
    background: #155e58;
    color: #fff;
}

.admin-pet-hero aside {
    padding: 24px;
    border: 1px solid rgba(47, 129, 125, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
}

.admin-pet-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.admin-pet-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.admin-pet-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.admin-pet-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.admin-pet-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.admin-pet-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 30px;
    font-weight: 950;
}

.admin-pet-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-filter {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 28px;
    background: #fff;
}

.admin-pet-filter form {
    display: grid;
    grid-template-columns: 180px 180px minmax(0, 1fr) 140px;
    gap: 12px;
    align-items: end;
}

.admin-pet-filter label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.admin-pet-filter label span {
    color: #8a6f55;
    font-size: 13px;
}

.admin-pet-filter select,
.admin-pet-filter input {
    min-height: 48px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 16px;
    padding: 0 14px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.admin-pet-filter button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.admin-pet-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.admin-pet-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 28px;
    background: #fffaf3;
}

.admin-pet-side h2,
.admin-pet-section-title h2,
.admin-pet-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.admin-pet-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.admin-pet-risk-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-risk-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-risk-list article.HIGH {
    border-color: rgba(183,85,53,.35);
    background: #fff5ef;
}

.admin-pet-risk-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-risk-list b {
    display: block;
    margin-top: 5px;
    color: #b75535;
    font-size: 22px;
    font-weight: 950;
}

.admin-pet-risk-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-main {
    display: grid;
    gap: 18px;
}

.admin-pet-card,
.admin-pet-next {
    padding: 26px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 30px;
    background: #fff;
}

.admin-pet-request-list {
    display: grid;
    gap: 16px;
}

.admin-pet-request-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-request-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-request-list article.MEDIUM {
    border-color: rgba(193,132,55,.38);
}

.admin-pet-request-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-request-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-request-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-request-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-request-head em {
    font-style: normal;
}

.admin-pet-risk-badge {
    min-width: 120px;
    text-align: right;
}

.admin-pet-risk-badge b {
    display: block;
    color: #b75535;
    font-weight: 950;
}

.admin-pet-risk-badge small {
    display: block;
    margin-top: 4px;
    color: #625a52;
    font-weight: 850;
}

.admin-pet-request-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-request-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-request-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-request-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-note {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.admin-pet-dispatch {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(222,202,180,.72);
}

.admin-pet-dispatch span {
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-dispatch strong {
    color: #155e58;
    font-weight: 950;
}

.admin-pet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-actions a,
.admin-pet-actions button {
    flex: 1;
}

.admin-pet-actions button {
    background: #fff0eb;
    color: #b75535;
}

.admin-pet-ops-list {
    display: grid;
    gap: 12px;
}

.admin-pet-ops-list article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fffaf3;
}

.admin-pet-ops-list b {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.admin-pet-ops-list p {
    margin: 0;
    color: #625a52;
    line-height: 1.62;
    font-weight: 780;
}

.admin-pet-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    background: #eff8f5;
}

.admin-pet-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .admin-pet-hero,
    .admin-pet-layout,
    .admin-pet-next {
        grid-template-columns: 1fr;
    }

    .admin-pet-side {
        position: relative;
        top: auto;
    }

    .admin-pet-stats,
    .admin-pet-request-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-pet-filter form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    .admin-pet-hero,
    .admin-pet-filter,
    .admin-pet-side,
    .admin-pet-card,
    .admin-pet-next {
        padding: 20px;
    }

    .admin-pet-stats,
    .admin-pet-request-info,
    .admin-pet-filter form {
        grid-template-columns: 1fr;
    }

    .admin-pet-request-head,
    .admin-pet-dispatch {
        flex-direction: column;
    }

    .admin-pet-risk-badge {
        text-align: left;
    }

    .admin-pet-actions a,
    .admin-pet-actions button {
        flex: 0 0 100%;
    }
}


/* Stage 462：管理員端寵物散步服務者審核 */
.admin-pet-provider-page .admin-pet-review-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-provider-page .admin-pet-review-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-provider-page .admin-pet-review-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-provider-page .admin-pet-review-list b {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-provider-page .admin-pet-review-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-provider-list {
    display: grid;
    gap: 16px;
}

.admin-pet-provider-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-provider-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-provider-list article.MEDIUM {
    border-color: rgba(193,132,55,.38);
}

.admin-pet-provider-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-provider-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-provider-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-provider-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-provider-head em {
    font-style: normal;
}

.admin-pet-provider-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-provider-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-provider-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-provider-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-actions button.approve {
    background: #155e58;
    color: #fff;
}

.admin-pet-actions button.danger {
    background: #fff0eb;
    color: #b75535;
}

@media (max-width: 1180px) {
    .admin-pet-provider-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-provider-head {
        flex-direction: column;
    }

    .admin-pet-provider-info {
        grid-template-columns: 1fr;
    }
}


/* Stage 463：管理員端寵物散步訂單監控 */
.admin-pet-order-page .admin-pet-order-list {
    display: grid;
    gap: 16px;
}

.admin-pet-order-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-order-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-order-list article.MEDIUM {
    border-color: rgba(193,132,55,.38);
}

.admin-pet-order-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-order-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-order-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-order-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-order-head em {
    font-style: normal;
}

.admin-pet-order-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-order-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-order-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-order-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-order-timeline {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222,202,180,.72);
}

.admin-pet-order-timeline h3 {
    margin: 0 0 12px;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 22px;
    font-weight: 900;
}

.admin-pet-order-timeline article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid rgba(222,202,180,.42);
}

.admin-pet-order-timeline article:first-of-type {
    border-top: 0;
}

.admin-pet-order-timeline b {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.admin-pet-order-timeline strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-order-timeline p {
    margin: 5px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

@media (max-width: 1180px) {
    .admin-pet-order-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-order-head {
        flex-direction: column;
    }

    .admin-pet-order-info {
        grid-template-columns: 1fr;
    }
}


/* Stage 464：管理員端寵物散步付款審核 */
.admin-pet-payment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.admin-pet-payment-summary article{padding:20px;border:1px solid rgba(222,202,180,.9);border-radius:24px;background:#fffaf3;box-shadow:0 16px 34px rgba(47,129,125,.06)}.admin-pet-payment-summary span{display:block;color:#8a6f55;font-size:13px;font-weight:900}.admin-pet-payment-summary strong{display:block;margin-top:8px;color:#155e58;font-size:28px;font-weight:950}.admin-pet-payment-summary em{display:inline-flex;min-height:30px;align-items:center;margin-top:8px;padding:0 10px;border-radius:999px;background:#eff8f5;color:#155e58;font-style:normal;font-size:12px;font-weight:950}.admin-pet-payment-summary p{margin:8px 0 0;color:#625a52;line-height:1.55;font-weight:760}.admin-pet-payment-list{display:grid;gap:16px}.admin-pet-payment-list article{padding:20px;border:1px solid rgba(222,202,180,.76);border-radius:26px;background:#fffaf3}.admin-pet-payment-list article.HIGH{border-color:rgba(183,85,53,.38);background:#fff6f1}.admin-pet-payment-list article.MEDIUM{border-color:rgba(193,132,55,.38)}.admin-pet-payment-head{display:flex;justify-content:space-between;gap:16px}.admin-pet-payment-head span{display:inline-flex;min-height:30px;align-items:center;padding:0 11px;border-radius:999px;background:#eff8f5;color:#155e58;font-size:12px;font-weight:950}.admin-pet-payment-head h3{margin:8px 0 0;color:#26302f;font-family:"Noto Serif TC",serif;font-size:26px;font-weight:900}.admin-pet-payment-head p{margin:6px 0 0;color:#8a6f55;font-weight:900}.admin-pet-payment-head em{font-style:normal}.admin-pet-payment-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.admin-pet-payment-info div{padding:14px;border:1px solid rgba(222,202,180,.72);border-radius:18px;background:#fff}.admin-pet-payment-info small{display:block;color:#8a6f55;font-size:12px;font-weight:900}.admin-pet-payment-info strong{display:block;margin-top:4px;color:#26302f;font-weight:950}.admin-pet-payment-rules{margin-top:18px;padding:16px;border-radius:20px;background:#fff;border:1px solid rgba(222,202,180,.72)}.admin-pet-payment-rules h3{margin:0 0 12px;color:#26302f;font-family:"Noto Serif TC",serif;font-size:22px;font-weight:900}.admin-pet-payment-rules article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid rgba(222,202,180,.42)}.admin-pet-payment-rules article:first-of-type{border-top:0}.admin-pet-payment-rules b{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#155e58;color:#fff;font-weight:950}.admin-pet-payment-rules p{margin:0;color:#625a52;line-height:1.58;font-weight:760}.admin-pet-actions button.approve{background:#155e58;color:#fff}.admin-pet-actions button.danger{background:#fff0eb;color:#b75535}@media(max-width:1180px){.admin-pet-payment-summary,.admin-pet-payment-info{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.admin-pet-payment-summary,.admin-pet-payment-info{grid-template-columns:1fr}.admin-pet-payment-head{flex-direction:column}}


/* Stage 465：管理員端寵物散步安全風險中心 */
.admin-pet-safety-page .admin-pet-safety-rule-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-safety-rule-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-safety-rule-list article.CRITICAL,
.admin-pet-safety-rule-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-safety-rule-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-safety-rule-list b {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-safety-rule-list article.CRITICAL b,
.admin-pet-safety-rule-list article.HIGH b {
    background: #fff0eb;
    color: #b75535;
}

.admin-pet-safety-rule-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-safety-steps {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(222,202,180,.72);
}

.admin-pet-safety-steps h3 {
    margin: 0 0 12px;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 22px;
    font-weight: 900;
}

.admin-pet-safety-steps article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid rgba(222,202,180,.42);
}

.admin-pet-safety-steps article:first-of-type {
    border-top: 0;
}

.admin-pet-safety-steps b {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.admin-pet-safety-steps p {
    margin: 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-safety-list {
    display: grid;
    gap: 16px;
}

.admin-pet-safety-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-safety-list article.CRITICAL,
.admin-pet-safety-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-safety-list article.MEDIUM {
    border-color: rgba(193,132,55,.38);
}

.admin-pet-safety-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-safety-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-safety-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-safety-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-safety-head em {
    font-style: normal;
}

.admin-pet-safety-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-safety-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-safety-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-safety-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-actions button.approve {
    background: #155e58;
    color: #fff;
}

.admin-pet-actions button.danger {
    background: #fff0eb;
    color: #b75535;
}

@media (max-width: 1180px) {
    .admin-pet-safety-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-safety-head {
        flex-direction: column;
    }

    .admin-pet-safety-info {
        grid-template-columns: 1fr;
    }
}


/* Stage 466：管理員端寵物散步檢舉與申訴 */
.admin-pet-report-filter form { grid-template-columns: 160px 170px 150px minmax(0, 1fr) 130px; }
.admin-pet-evidence-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-pet-evidence-list article { padding: 16px; border: 1px solid rgba(222,202,180,.72); border-radius: 20px; background: #fff; }
.admin-pet-evidence-list strong { display:block; color:#26302f; font-weight:950; }
.admin-pet-evidence-list b { display:inline-flex; align-items:center; min-height:28px; margin-top:8px; padding:0 10px; border-radius:999px; background:#eff8f5; color:#155e58; font-size:12px; font-weight:950; }
.admin-pet-evidence-list p { margin:8px 0 0; color:#625a52; line-height:1.58; font-weight:760; }
.admin-pet-report-rules { margin-top:18px; padding:16px; border-radius:20px; background:#fff; border:1px solid rgba(222,202,180,.72); }
.admin-pet-report-rules h3 { margin:0 0 12px; color:#26302f; font-family:"Noto Serif TC",serif; font-size:22px; font-weight:900; }
.admin-pet-report-rules article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; align-items:start; padding:10px 0; border-top:1px solid rgba(222,202,180,.42); }
.admin-pet-report-rules article:first-of-type { border-top:0; }
.admin-pet-report-rules b { width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#155e58; color:#fff; font-weight:950; }
.admin-pet-report-rules p { margin:0; color:#625a52; line-height:1.58; font-weight:760; }
.admin-pet-report-list { display:grid; gap:16px; }
.admin-pet-report-list article { padding:20px; border:1px solid rgba(222,202,180,.76); border-radius:26px; background:#fffaf3; }
.admin-pet-report-list article.HIGH { border-color:rgba(183,85,53,.38); background:#fff6f1; }
.admin-pet-report-list article.MEDIUM { border-color:rgba(193,132,55,.38); }
.admin-pet-report-head { display:flex; justify-content:space-between; gap:16px; }
.admin-pet-report-head span { display:inline-flex; min-height:30px; align-items:center; padding:0 11px; border-radius:999px; background:#eff8f5; color:#155e58; font-size:12px; font-weight:950; }
.admin-pet-report-head h3 { margin:8px 0 0; color:#26302f; font-family:"Noto Serif TC",serif; font-size:26px; font-weight:900; }
.admin-pet-report-head p { margin:6px 0 0; color:#8a6f55; font-weight:900; }
.admin-pet-report-head em { font-style:normal; }
.admin-pet-report-info { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:16px; }
.admin-pet-report-info div { padding:14px; border:1px solid rgba(222,202,180,.72); border-radius:18px; background:#fff; }
.admin-pet-report-info small { display:block; color:#8a6f55; font-size:12px; font-weight:900; }
.admin-pet-report-info strong { display:block; margin-top:4px; color:#26302f; font-weight:950; }
.admin-pet-report-evidence { display:grid; gap:6px; margin-top:14px; padding:14px; border:1px dashed rgba(47,129,125,.28); border-radius:18px; background:#fff; }
.admin-pet-report-evidence span { color:#8a6f55; font-size:13px; font-weight:900; }
.admin-pet-report-evidence strong { color:#155e58; line-height:1.55; font-weight:950; }
.admin-pet-actions button.approve { background:#155e58; color:#fff; }
.admin-pet-actions button.danger { background:#fff0eb; color:#b75535; }
@media (max-width:1180px){ .admin-pet-report-filter form,.admin-pet-report-info{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:780px){ .admin-pet-report-filter form,.admin-pet-report-info{grid-template-columns:1fr;} .admin-pet-report-head{flex-direction:column;} }


/* Stage 467：管理員端寵物散步服務品質分析 */
.admin-pet-quality-filter form {
    grid-template-columns: 150px 170px 150px minmax(0, 1fr) 130px;
}

.admin-pet-quality-trends {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.admin-pet-quality-trends article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 24px;
    background: #fffaf3;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.admin-pet-quality-trends span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.admin-pet-quality-trends strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 28px;
    font-weight: 950;
}

.admin-pet-quality-trends em {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-quality-trends p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-quality-factor-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-quality-factor-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-quality-factor-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-quality-factor-list b {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-quality-factor-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-quality-list {
    display: grid;
    gap: 16px;
}

.admin-pet-quality-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-quality-list article.HIGH {
    border-color: rgba(183,85,53,.38);
    background: #fff6f1;
}

.admin-pet-quality-list article.MEDIUM {
    border-color: rgba(193,132,55,.38);
}

.admin-pet-quality-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-quality-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-quality-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-quality-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-quality-score {
    min-width: 112px;
    text-align: right;
}

.admin-pet-quality-score small {
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-quality-score b {
    display: block;
    margin-top: 4px;
    color: #155e58;
    font-size: 38px;
    font-weight: 950;
}

.admin-pet-quality-info {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-quality-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-quality-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-quality-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-actions button.approve {
    background: #155e58;
    color: #fff;
}

.admin-pet-actions button.danger {
    background: #fff0eb;
    color: #b75535;
}

@media (max-width: 1180px) {
    .admin-pet-quality-filter form,
    .admin-pet-quality-trends {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-pet-quality-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-quality-filter form,
    .admin-pet-quality-trends,
    .admin-pet-quality-info {
        grid-template-columns: 1fr;
    }

    .admin-pet-quality-head {
        flex-direction: column;
    }

    .admin-pet-quality-score {
        text-align: left;
    }
}


/* Stage 468：管理員端寵物散步營收分析 */
.admin-pet-revenue-filter form {
    grid-template-columns: 150px 170px 160px minmax(0, 1fr) 130px;
}

.admin-pet-revenue-trends {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.admin-pet-revenue-trends article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 24px;
    background: #fffaf3;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.admin-pet-revenue-trends span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.admin-pet-revenue-trends strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 28px;
    font-weight: 950;
}

.admin-pet-revenue-trends div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(222,202,180,.56);
}

.admin-pet-revenue-trends small {
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-revenue-trends b {
    color: #26302f;
    font-weight: 950;
}

.admin-pet-revenue-trends p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-revenue-breakdown-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-revenue-breakdown-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-revenue-breakdown-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-revenue-breakdown-list b {
    display: block;
    margin-top: 6px;
    color: #155e58;
    font-size: 22px;
    font-weight: 950;
}

.admin-pet-revenue-breakdown-list em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-revenue-breakdown-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-area-revenue-list {
    display: grid;
    gap: 12px;
}

.admin-pet-area-revenue-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 22px;
    background: #fffaf3;
}

.admin-pet-area-revenue-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-area-revenue-list h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 24px;
    font-weight: 900;
}

.admin-pet-area-revenue-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-area-revenue-list strong {
    color: #155e58;
    font-size: 26px;
    font-weight: 950;
    text-align: right;
}

.admin-pet-revenue-settlement-list {
    display: grid;
    gap: 16px;
}

.admin-pet-revenue-settlement-list article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 26px;
    background: #fffaf3;
}

.admin-pet-revenue-settlement-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.admin-pet-revenue-settlement-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-revenue-settlement-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 26px;
    font-weight: 900;
}

.admin-pet-revenue-settlement-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-revenue-settlement-head em {
    font-style: normal;
}

.admin-pet-revenue-net {
    min-width: 120px;
    text-align: right;
}

.admin-pet-revenue-net small {
    color: #8a6f55;
    font-weight: 900;
}

.admin-pet-revenue-net b {
    display: block;
    margin-top: 4px;
    color: #155e58;
    font-size: 26px;
    font-weight: 950;
}

.admin-pet-revenue-settlement-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-pet-revenue-settlement-info div {
    padding: 14px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 18px;
    background: #fff;
}

.admin-pet-revenue-settlement-info small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.admin-pet-revenue-settlement-info strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-actions button.approve {
    background: #155e58;
    color: #fff;
}

.admin-pet-actions button.danger {
    background: #fff0eb;
    color: #b75535;
}

@media (max-width: 1180px) {
    .admin-pet-revenue-filter form,
    .admin-pet-revenue-trends,
    .admin-pet-revenue-settlement-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-revenue-filter form,
    .admin-pet-revenue-trends,
    .admin-pet-revenue-settlement-info {
        grid-template-columns: 1fr;
    }

    .admin-pet-area-revenue-list article,
    .admin-pet-revenue-settlement-head {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .admin-pet-area-revenue-list strong,
    .admin-pet-revenue-net {
        text-align: left;
    }
}


/* Stage 469：管理員端寵物散步媒合成效分析 */
.admin-pet-matching-filter form{grid-template-columns:150px 170px 160px minmax(0,1fr) 130px}.admin-pet-matching-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:18px}.admin-pet-matching-funnel article{position:relative;padding:20px;border:1px solid rgba(222,202,180,.9);border-radius:24px;background:#fffaf3;box-shadow:0 16px 34px rgba(47,129,125,.06)}.admin-pet-matching-funnel article:not(:last-child)::after{content:"→";position:absolute;right:-14px;top:50%;transform:translateY(-50%);width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#155e58;color:#fff;font-weight:950;z-index:2}.admin-pet-matching-funnel span{display:block;color:#8a6f55;font-size:13px;font-weight:900}.admin-pet-matching-funnel strong{display:block;margin-top:8px;color:#155e58;font-size:28px;font-weight:950}.admin-pet-matching-funnel em{display:inline-flex;align-items:center;min-height:30px;margin-top:8px;padding:0 10px;border-radius:999px;background:#eff8f5;color:#155e58;font-style:normal;font-size:12px;font-weight:950}.admin-pet-matching-funnel p{margin:8px 0 0;color:#625a52;line-height:1.55;font-weight:760}.admin-pet-failure-list{display:grid;gap:12px;margin-top:18px}.admin-pet-failure-list article,.admin-pet-recommendation-list{padding:16px;border:1px solid rgba(222,202,180,.72);border-radius:20px;background:#fff}.admin-pet-failure-list strong,.admin-pet-recommendation-list strong{display:block;color:#26302f;font-weight:950}.admin-pet-failure-list b{display:block;margin-top:6px;color:#b75535;font-size:22px;font-weight:950}.admin-pet-failure-list p,.admin-pet-recommendation-list p{margin:8px 0 0;color:#625a52;line-height:1.58;font-weight:760}.admin-pet-recommendation-list{margin-top:18px}.admin-pet-recommendation-list h3{margin:0 0 12px;color:#26302f;font-family:"Noto Serif TC",serif;font-size:22px;font-weight:900}.admin-pet-recommendation-list article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid rgba(222,202,180,.42)}.admin-pet-recommendation-list article:first-of-type{border-top:0}.admin-pet-recommendation-list b{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#155e58;color:#fff;font-weight:950}.admin-pet-area-matching-list{display:grid;gap:12px}.admin-pet-area-matching-list article{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:14px;align-items:center;padding:18px;border:1px solid rgba(222,202,180,.76);border-radius:22px;background:#fffaf3}.admin-pet-area-matching-list span,.admin-pet-matching-case-head span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:#eff8f5;color:#155e58;font-size:12px;font-weight:950}.admin-pet-area-matching-list h3,.admin-pet-matching-case-head h3{margin:8px 0 0;color:#26302f;font-family:"Noto Serif TC",serif;font-size:24px;font-weight:900}.admin-pet-area-matching-list p,.admin-pet-matching-case-head p{margin:6px 0 0;color:#625a52;line-height:1.55;font-weight:760}.admin-pet-area-matching-numbers,.admin-pet-matching-time{text-align:right}.admin-pet-area-matching-numbers small,.admin-pet-matching-time small{display:block;color:#8a6f55;font-weight:900}.admin-pet-area-matching-numbers strong,.admin-pet-matching-time b{display:block;margin:4px 0 8px;color:#155e58;font-size:22px;font-weight:950}.admin-pet-matching-case-list{display:grid;gap:16px}.admin-pet-matching-case-list article{padding:20px;border:1px solid rgba(222,202,180,.76);border-radius:26px;background:#fffaf3}.admin-pet-matching-case-list article.FAILED{border-color:rgba(183,85,53,.38);background:#fff6f1}.admin-pet-matching-case-list article.WAITING{border-color:rgba(193,132,55,.38)}.admin-pet-matching-case-head{display:flex;justify-content:space-between;gap:16px}.admin-pet-matching-case-head em{font-style:normal}.admin-pet-matching-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.admin-pet-matching-info div{padding:14px;border:1px solid rgba(222,202,180,.72);border-radius:18px;background:#fff}.admin-pet-matching-info small{display:block;color:#8a6f55;font-size:12px;font-weight:900}.admin-pet-matching-info strong{display:block;margin-top:4px;color:#26302f;font-weight:950}.admin-pet-actions button.approve{background:#155e58;color:#fff}@media(max-width:1180px){.admin-pet-matching-filter form,.admin-pet-matching-funnel,.admin-pet-matching-info{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-pet-matching-funnel article:not(:last-child)::after{display:none}}@media(max-width:780px){.admin-pet-matching-filter form,.admin-pet-matching-funnel,.admin-pet-matching-info{grid-template-columns:1fr}.admin-pet-area-matching-list article,.admin-pet-matching-case-head{grid-template-columns:1fr;flex-direction:column}.admin-pet-area-matching-numbers,.admin-pet-matching-time{text-align:left}}


/* Stage 470：管理員端寵物散步完整整合 */
.admin-pet-integration470-status {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.admin-pet-integration470-status article {
    padding: 20px;
    border: 1px solid rgba(222,202,180,.9);
    border-radius: 24px;
    background: #fffaf3;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.admin-pet-integration470-status span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.admin-pet-integration470-status strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.admin-pet-integration470-status p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.admin-pet-control-list,
.admin-pet-risk-summary-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-pet-control-list article,
.admin-pet-risk-summary-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.admin-pet-control-list strong,
.admin-pet-risk-summary-list strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.admin-pet-control-list p,
.admin-pet-risk-summary-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.admin-pet-control-list b,
.admin-pet-risk-summary-list b {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-risk-summary-list h3 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 22px;
    font-weight: 900;
}

.admin-pet-stage470-list {
    display: grid;
    gap: 12px;
}

.admin-pet-stage470-list a {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 108px;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(222,202,180,.76);
    border-radius: 22px;
    background: #fffaf3;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.admin-pet-stage470-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(47,129,125,.08);
}

.admin-pet-stage470-list a.active {
    background: #eff8f5;
    border-color: rgba(47,129,125,.22);
}

.admin-pet-stage470-list b {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #155e58;
    color: #fff;
    font-weight: 950;
    font-size: 18px;
}

.admin-pet-stage470-list span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 950;
}

.admin-pet-stage470-list strong {
    display: block;
    margin-top: 7px;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.admin-pet-stage470-list p {
    margin: 7px 0 0;
    color: #625a52;
    line-height: 1.6;
    font-weight: 760;
}

.admin-pet-stage470-list em {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
}

.admin-pet-stage470-list a.active em {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(47,129,125,.18);
}

.admin-pet-loop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-pet-loop-grid article {
    padding: 18px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 22px;
    background: #fffaf3;
}

.admin-pet-loop-grid span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.admin-pet-loop-grid strong {
    display: block;
    margin-top: 12px;
    color: #26302f;
    font-size: 19px;
    font-weight: 950;
}

.admin-pet-loop-grid p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.6;
    font-weight: 760;
}

@media (max-width: 1180px) {
    .admin-pet-integration470-status,
    .admin-pet-loop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-pet-integration470-status,
    .admin-pet-loop-grid {
        grid-template-columns: 1fr;
    }

    .admin-pet-stage470-list a {
        grid-template-columns: 1fr;
    }

    .admin-pet-stage470-list em {
        justify-self: flex-start;
        padding: 0 14px;
    }
}


/* 跑腿代辦開始媒合頁重新設計 */
.errand-start-page {
    min-height: 100vh;
    background: #fff8ef;
    color: #2d302e;
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: 88px;
}

.errand-start-page a {
    text-decoration: none;
}

.errand-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 18px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) 340px;
    gap: 24px;
    align-items: stretch;
}

.errand-hero-copy,
.errand-quote-card,
.errand-form-card,
.errand-side-panel,
.errand-scenario-section,
.errand-safety-section {
    border: 1px solid rgba(222, 202, 180, .85);
    border-radius: 34px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 52px rgba(90, 71, 50, .08);
}

.errand-hero-copy {
    padding: 36px;
    background:
        radial-gradient(circle at 12% 16%, rgba(255, 163, 87, .25), transparent 32%),
        linear-gradient(135deg, #fffdf8 0%, #fff1df 100%);
}

.errand-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    color: #7d5f3c;
    font-weight: 900;
}

.errand-hero-copy > span,
.errand-section-title span,
.errand-side-panel > span,
.errand-reference-strip span {
    display: inline-flex;
    color: #d97829;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-hero-copy h1 {
    margin: 10px 0 0;
    max-width: 760px;
    color: #262a28;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.06;
    font-weight: 900;
}

.errand-hero-copy p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #655746;
    font-size: 17px;
    line-height: 1.78;
    font-weight: 760;
}

.errand-hero-actions,
.errand-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.errand-hero-actions a,
.errand-form-actions a,
.errand-form-actions button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(217, 120, 41, .22);
    background: #fff;
    color: #a65d22;
    font-weight: 950;
}

.errand-hero-actions a.primary,
.errand-form-actions button {
    background: #d97829;
    color: #fff;
    border-color: #d97829;
}

.errand-quote-card {
    padding: 26px;
    display: grid;
    gap: 16px;
    background: #2f3f39;
    color: #fff;
}

.errand-quote-card strong {
    font-family: "Noto Serif TC", serif;
    font-size: 28px;
    font-weight: 900;
}

.errand-quote-card p {
    margin: 0;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    font-weight: 760;
}

.errand-quote-card div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
}

.errand-quote-card span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-weight: 850;
}

.errand-quote-card b {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.errand-reference-strip,
.errand-layout,
.errand-scenario-section,
.errand-safety-section {
    max-width: 1180px;
    margin: 22px auto 0;
    padding-left: 18px;
    padding-right: 18px;
}

.errand-reference-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.errand-reference-strip article,
.errand-scenario-grid article,
.errand-safety-grid article,
.errand-step-list article,
.errand-type-grid label {
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 24px;
    background: #fff;
}

.errand-reference-strip article {
    padding: 20px;
}

.errand-reference-strip strong,
.errand-scenario-grid strong,
.errand-safety-grid h3,
.errand-step-list strong,
.errand-type-grid strong {
    display: block;
    margin-top: 8px;
    color: #2d302e;
    font-size: 20px;
    font-weight: 950;
}

.errand-reference-strip p,
.errand-scenario-grid p,
.errand-safety-grid p,
.errand-step-list p,
.errand-type-grid small {
    margin: 8px 0 0;
    color: #6b5e4e;
    line-height: 1.62;
    font-weight: 730;
}

.errand-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.errand-side-panel,
.errand-form-card,
.errand-scenario-section,
.errand-safety-section {
    padding: 26px;
}

.errand-side-panel {
    position: sticky;
    top: 96px;
    background: #fffaf3;
}

.errand-side-panel h2,
.errand-section-title h2 {
    margin: 8px 0 0;
    color: #262a28;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
}

.errand-section-title p {
    margin: 10px 0 0;
    color: #6b5e4e;
    line-height: 1.7;
    font-weight: 760;
}

.errand-step-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.errand-step-list article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
}

.errand-step-list b {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #d97829;
    color: #fff;
    font-weight: 950;
}

.errand-form {
    display: grid;
    gap: 20px;
    margin-top: 22px;
}

.errand-type-grid,
.errand-form-grid,
.errand-scenario-grid,
.errand-safety-grid {
    display: grid;
    gap: 14px;
}

.errand-type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.errand-type-grid label {
    position: relative;
    padding: 18px;
    cursor: pointer;
}

.errand-type-grid input {
    position: absolute;
    top: 16px;
    right: 16px;
    accent-color: #d97829;
}

.errand-type-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff5ea;
    color: #a65d22;
    font-size: 12px;
    font-weight: 950;
}

.errand-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.errand-form-grid label,
.errand-full-field {
    display: grid;
    gap: 8px;
    color: #4e473e;
    font-weight: 950;
}

.errand-form-grid input,
.errand-full-field textarea {
    width: 100%;
    border: 1px solid rgba(222, 202, 180, .95);
    border-radius: 18px;
    background: #fffdf8;
    padding: 14px 16px;
    color: #2d302e;
    font-weight: 760;
    outline: none;
}

.errand-full-field textarea {
    resize: vertical;
}

.errand-scenario-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
}

.errand-scenario-grid article,
.errand-safety-grid article {
    padding: 20px;
}

.errand-scenario-grid span,
.errand-safety-grid strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff5ea;
    color: #a65d22;
    font-size: 12px;
    font-weight: 950;
}

.errand-safety-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
}

@media (max-width: 1080px) {
    .errand-hero,
    .errand-layout {
        grid-template-columns: 1fr;
    }

    .errand-side-panel {
        position: relative;
        top: auto;
    }

    .errand-type-grid,
    .errand-reference-strip,
    .errand-scenario-grid,
    .errand-safety-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .errand-hero {
        padding-top: 22px;
    }

    .errand-hero-copy,
    .errand-quote-card,
    .errand-form-card,
    .errand-side-panel,
    .errand-scenario-section,
    .errand-safety-section {
        padding: 20px;
        border-radius: 26px;
    }

    .errand-type-grid,
    .errand-reference-strip,
    .errand-scenario-grid,
    .errand-safety-grid,
    .errand-form-grid {
        grid-template-columns: 1fr;
    }

    .errand-hero-actions a,
    .errand-form-actions a,
    .errand-form-actions button {
        width: 100%;
    }
}


/* Stage 471：會員端跑腿代辦 GPS 定位開始媒合頁 */
.errand-gps-start-page .errand-gps-hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .16), transparent 38%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
}

.errand-gps-reference article {
    border-color: rgba(34, 123, 117, .18);
}

.errand-gps-card {
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding: 22px;
    border: 1px solid rgba(34, 123, 117, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .10), transparent 34%),
        #fffaf3;
}

.errand-gps-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-gps-copy h3 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 28px;
    font-weight: 900;
}

.errand-gps-copy p {
    margin: 10px 0 0;
    color: #625a52;
    line-height: 1.7;
    font-weight: 760;
}

.errand-gps-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.errand-gps-actions button {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-weight: 950;
}

#useCurrentLocationBtn {
    background: #155e58;
    color: #fff;
}

#resetErrandMapBtn {
    background: #fff;
    color: #155e58;
    border: 1px solid rgba(34, 123, 117, .18);
}

.errand-map-box {
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(34, 123, 117, .18);
    border-radius: 24px;
    background: #eff8f5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.errand-gps-status-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}

.errand-gps-status-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fff;
}

.errand-gps-status-grid span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-gps-status-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    word-break: break-all;
    font-weight: 950;
}

.errand-gps-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.errand-gps-proof-grid label {
    display: grid;
    gap: 7px;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
    cursor: pointer;
}

.errand-gps-proof-grid input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
}

.errand-gps-proof-grid strong {
    color: #26302f;
    font-weight: 950;
}

.errand-gps-proof-grid span {
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.leaflet-container {
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 980px) {
    .errand-gps-status-grid,
    .errand-gps-proof-grid {
        grid-template-columns: 1fr;
    }

    .errand-map-box {
        min-height: 300px;
    }
}


/* Stage 472：會員端跑腿代辦服務者列表 */
.errand-provider-page {
    background:
        radial-gradient(circle at 5% 0%, rgba(34, 123, 117, .10), transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #f8f3ea 100%);
}

.errand-provider-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) 310px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .14), transparent 38%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
}

.errand-provider-hero span,
.errand-provider-side > span,
.errand-provider-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-provider-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.08;
    font-weight: 900;
}

.errand-provider-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.errand-provider-hero aside {
    padding: 24px;
    border: 1px solid rgba(34, 123, 117, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
}

.errand-provider-hero aside strong {
    display: block;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.errand-provider-hero ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #2f5d59;
    line-height: 1.65;
    font-weight: 850;
}

.errand-provider-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.errand-provider-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-provider-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.errand-provider-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 28px;
    font-weight: 950;
}

.errand-provider-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.errand-provider-filter {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.errand-provider-filter form {
    display: grid;
    grid-template-columns: 1fr 1fr 150px;
    gap: 12px;
    align-items: end;
}

.errand-provider-filter label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.errand-provider-filter select {
    min-height: 48px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 16px;
    padding: 0 14px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.errand-provider-filter button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.errand-provider-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.errand-provider-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.errand-provider-side h2,
.errand-provider-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.errand-provider-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.errand-provider-tip-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.errand-provider-tip-list article {
    padding: 16px;
    border: 1px solid rgba(222,202,180,.72);
    border-radius: 20px;
    background: #fff;
}

.errand-provider-tip-list strong {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-provider-tip-list h3 {
    margin: 10px 0 0;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.errand-provider-tip-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-provider-main {
    display: grid;
    gap: 18px;
}

.errand-provider-list {
    display: grid;
    gap: 16px;
}

.errand-provider-list article {
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-provider-list article.HIGH_MATCH {
    border-color: rgba(34, 123, 117, .28);
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .08), transparent 34%),
        #fff;
}

.errand-provider-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.errand-provider-card-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-provider-card-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 28px;
    font-weight: 900;
}

.errand-provider-card-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.errand-provider-price {
    min-width: 118px;
    text-align: right;
}

.errand-provider-price small {
    color: #8a6f55;
    font-weight: 900;
}

.errand-provider-price strong {
    display: block;
    margin-top: 4px;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.errand-provider-meta,
.errand-provider-score-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.errand-provider-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.errand-provider-score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.errand-provider-meta div,
.errand-provider-score-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.errand-provider-meta small,
.errand-provider-score-grid span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-provider-meta strong,
.errand-provider-score-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.errand-provider-description {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 20px;
    background: #eff8f5;
    color: #2f5d59;
    line-height: 1.68;
    font-weight: 780;
}

.errand-provider-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.errand-provider-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: #fffaf3;
    border: 1px solid rgba(222, 202, 180, .72);
    color: #625a52;
    font-size: 12px;
    font-weight: 900;
}

.errand-provider-recommendation {
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    border: 1px dashed rgba(34, 123, 117, .28);
    background: #fff;
}

.errand-provider-recommendation strong {
    color: #155e58;
    font-weight: 950;
}

.errand-provider-recommendation p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-provider-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.errand-provider-actions a,
.errand-provider-next a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    text-decoration: none;
    font-weight: 950;
}

.errand-provider-actions a.primary,
.errand-provider-next a {
    background: #155e58;
    color: #fff;
}

.errand-provider-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #eff8f5;
}

.errand-provider-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .errand-provider-hero,
    .errand-provider-layout,
    .errand-provider-next {
        grid-template-columns: 1fr;
    }

    .errand-provider-side {
        position: relative;
        top: auto;
    }

    .errand-provider-stats,
    .errand-provider-meta,
    .errand-provider-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-provider-hero,
    .errand-provider-filter,
    .errand-provider-side,
    .errand-provider-list article,
    .errand-provider-next {
        padding: 20px;
    }

    .errand-provider-stats,
    .errand-provider-filter form,
    .errand-provider-meta,
    .errand-provider-score-grid {
        grid-template-columns: 1fr;
    }

    .errand-provider-card-head {
        flex-direction: column;
    }

    .errand-provider-price {
        text-align: left;
    }

    .errand-provider-actions a {
        width: 100%;
    }
}


/* Stage 473：會員端跑腿代辦服務者詳情頁 */
.errand-provider-detail-page {
    background:
        radial-gradient(circle at 5% 0%, rgba(34, 123, 117, .10), transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #f8f3ea 100%);
}

.errand-provider-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 320px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .14), transparent 38%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
}

.errand-provider-profile > span,
.errand-provider-detail-side > span,
.errand-provider-detail-actions span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-provider-detail-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.06;
    font-weight: 900;
}

.errand-provider-detail-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.errand-provider-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.errand-provider-detail-badges span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(222, 202, 180, .72);
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-provider-detail-score {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.errand-provider-detail-score div {
    padding: 20px;
    border: 1px solid rgba(34, 123, 117, .16);
    border-radius: 24px;
    background: rgba(255,255,255,.9);
}

.errand-provider-detail-score span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.errand-provider-detail-score strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 32px;
    font-weight: 950;
}

.errand-provider-detail-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.errand-provider-detail-summary article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-provider-detail-summary span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.errand-provider-detail-summary strong {
    display: block;
    margin-top: 8px;
    color: #26302f;
    font-size: 20px;
    font-weight: 950;
}

.errand-provider-detail-summary p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.errand-provider-detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.errand-provider-detail-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.errand-provider-detail-side h2,
.errand-provider-detail-actions h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.errand-provider-detail-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.errand-provider-proof-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.errand-provider-proof-list article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fff;
}

.errand-provider-proof-list strong {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-provider-proof-list h3 {
    margin: 10px 0 0;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.errand-provider-proof-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-provider-detail-main {
    display: grid;
    gap: 18px;
}

.errand-provider-detail-card,
.errand-provider-detail-actions {
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

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

.errand-provider-capability-grid article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.errand-provider-capability-grid span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-provider-capability-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.errand-provider-capability-grid p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.errand-provider-timeline {
    display: grid;
    gap: 12px;
}

.errand-provider-timeline article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.errand-provider-timeline b {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.errand-provider-timeline strong {
    display: block;
    color: #26302f;
    font-weight: 950;
}

.errand-provider-timeline p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-provider-review-list,
.errand-provider-faq-list {
    display: grid;
    gap: 12px;
}

.errand-provider-review-list article,
.errand-provider-faq-list article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.errand-provider-review-list div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.errand-provider-review-list strong,
.errand-provider-faq-list strong {
    color: #26302f;
    font-weight: 950;
}

.errand-provider-review-list span {
    color: #155e58;
    font-weight: 950;
}

.errand-provider-review-list p,
.errand-provider-faq-list p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-provider-review-list em {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-top: 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.errand-provider-faq-list h3 {
    margin: 8px 0 0;
    color: #155e58;
    font-size: 18px;
    font-weight: 950;
}

.errand-provider-detail-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    align-items: center;
    background: #eff8f5;
}

.errand-provider-detail-actions p {
    margin: 8px 0 0;
    color: #53615f;
    line-height: 1.62;
    font-weight: 760;
}

.errand-provider-detail-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    color: #155e58;
    text-decoration: none;
    font-weight: 950;
}

.errand-provider-detail-actions a.primary {
    background: #155e58;
    color: #fff;
}

@media (max-width: 1180px) {
    .errand-provider-detail-hero,
    .errand-provider-detail-layout,
    .errand-provider-detail-actions {
        grid-template-columns: 1fr;
    }

    .errand-provider-detail-side {
        position: relative;
        top: auto;
    }

    .errand-provider-detail-summary,
    .errand-provider-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-provider-detail-hero,
    .errand-provider-detail-side,
    .errand-provider-detail-card,
    .errand-provider-detail-actions {
        padding: 20px;
    }

    .errand-provider-detail-score,
    .errand-provider-detail-summary,
    .errand-provider-capability-grid {
        grid-template-columns: 1fr;
    }

    .errand-provider-review-list div {
        flex-direction: column;
    }
}


/* Stage 474：會員端跑腿代辦媒合回覆列表 */
.errand-replies-page {
    background:
        radial-gradient(circle at 5% 0%, rgba(34, 123, 117, .10), transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #f8f3ea 100%);
}

.errand-replies-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 360px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .14), transparent 38%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
}

.errand-replies-hero span,
.errand-replies-side > span,
.errand-reply-next span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-replies-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.08;
    font-weight: 900;
}

.errand-replies-hero p {
    max-width: 850px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.errand-request-summary {
    padding: 24px;
    border: 1px solid rgba(34, 123, 117, .16);
    border-radius: 26px;
    background: rgba(255,255,255,.9);
}

.errand-request-summary > strong {
    display: block;
    color: #26302f;
    font-size: 22px;
    font-weight: 950;
}

.errand-request-summary div {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(222, 202, 180, .62);
}

.errand-request-summary div span {
    display: block;
    margin: 0;
    color: #8a6f55;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 900;
}

.errand-request-summary div b {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.errand-reply-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.errand-reply-stats article {
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-reply-stats span {
    display: block;
    color: #8a6f55;
    font-size: 13px;
    font-weight: 900;
}

.errand-reply-stats strong {
    display: block;
    margin-top: 8px;
    color: #155e58;
    font-size: 28px;
    font-weight: 950;
}

.errand-reply-stats p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.55;
    font-weight: 760;
}

.errand-reply-filter {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
}

.errand-reply-filter form {
    display: grid;
    grid-template-columns: 1fr 1fr 150px;
    gap: 12px;
    align-items: end;
}

.errand-reply-filter label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.errand-reply-filter select {
    min-height: 48px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 16px;
    padding: 0 14px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.errand-reply-filter button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.errand-replies-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.errand-replies-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.errand-replies-side h2,
.errand-reply-next h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.errand-replies-side p {
    margin: 12px 0 0;
    color: #625a52;
    line-height: 1.68;
    font-weight: 760;
}

.errand-reply-tip-list,
.errand-reply-timeline {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.errand-reply-tip-list article,
.errand-reply-timeline article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fff;
}

.errand-reply-tip-list strong,
.errand-reply-timeline b {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-reply-tip-list h3,
.errand-reply-timeline h3 {
    margin: 10px 0 0;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.errand-reply-timeline h3 {
    margin-top: 0;
    font-family: "Noto Serif TC", serif;
    font-size: 22px;
}

.errand-reply-timeline article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
}

.errand-reply-timeline article strong {
    color: #26302f;
    font-weight: 950;
}

.errand-reply-tip-list p,
.errand-reply-timeline p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-replies-main {
    display: grid;
    gap: 18px;
}

.errand-reply-list {
    display: grid;
    gap: 16px;
}

.errand-reply-list article {
    padding: 22px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-reply-list article.BEST {
    border-color: rgba(34, 123, 117, .28);
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .08), transparent 34%),
        #fff;
}

.errand-reply-list article.UNAVAILABLE {
    opacity: .78;
    background: #fffaf3;
}

.errand-reply-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.errand-reply-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-reply-head h3 {
    margin: 8px 0 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 28px;
    font-weight: 900;
}

.errand-reply-head p {
    margin: 6px 0 0;
    color: #8a6f55;
    font-weight: 900;
}

.errand-reply-quote {
    min-width: 118px;
    text-align: right;
}

.errand-reply-quote small {
    color: #8a6f55;
    font-weight: 900;
}

.errand-reply-quote strong {
    display: block;
    margin-top: 4px;
    color: #155e58;
    font-size: 24px;
    font-weight: 950;
}

.errand-reply-meta,
.errand-reply-score-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.errand-reply-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.errand-reply-score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.errand-reply-meta div,
.errand-reply-score-grid div {
    padding: 14px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 18px;
    background: #fffaf3;
}

.errand-reply-meta small,
.errand-reply-score-grid span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-reply-meta strong,
.errand-reply-score-grid strong {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.errand-reply-message,
.errand-reply-suggestion {
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    line-height: 1.65;
}

.errand-reply-message {
    background: #fffaf3;
    border: 1px solid rgba(222, 202, 180, .72);
}

.errand-reply-suggestion {
    background: #eff8f5;
    border: 1px dashed rgba(34, 123, 117, .28);
}

.errand-reply-message strong,
.errand-reply-suggestion strong {
    color: #155e58;
    font-weight: 950;
}

.errand-reply-message p,
.errand-reply-suggestion p {
    margin: 6px 0 0;
    color: #625a52;
    font-weight: 760;
}

.errand-reply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.errand-reply-actions a,
.errand-reply-next a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    text-decoration: none;
    font-weight: 950;
}

.errand-reply-actions a.primary,
.errand-reply-next a {
    background: #155e58;
    color: #fff;
}

.errand-reply-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 30px;
    background: #eff8f5;
}

.errand-reply-next p {
    margin: 10px 0 0;
    color: #53615f;
    line-height: 1.68;
    font-weight: 780;
}

@media (max-width: 1180px) {
    .errand-replies-hero,
    .errand-replies-layout,
    .errand-reply-next {
        grid-template-columns: 1fr;
    }

    .errand-replies-side {
        position: relative;
        top: auto;
    }

    .errand-reply-stats,
    .errand-reply-meta,
    .errand-reply-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-replies-hero,
    .errand-reply-filter,
    .errand-replies-side,
    .errand-reply-list article,
    .errand-reply-next {
        padding: 20px;
    }

    .errand-reply-stats,
    .errand-reply-filter form,
    .errand-reply-meta,
    .errand-reply-score-grid {
        grid-template-columns: 1fr;
    }

    .errand-reply-head {
        flex-direction: column;
    }

    .errand-reply-quote {
        text-align: left;
    }

    .errand-reply-actions a {
        width: 100%;
    }
}


/* 跑腿代辦：距離收費報價 */
.errand-distance-pricing-card {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(34, 123, 117, .20);
    border-radius: 30px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .10), transparent 36%),
        #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-distance-pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.errand-distance-pricing-grid article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.errand-distance-pricing-grid span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff8f5;
    color: #155e58;
    font-size: 12px;
    font-weight: 950;
}

.errand-distance-pricing-grid strong {
    display: block;
    margin-top: 10px;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.errand-distance-pricing-grid p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-distance-fare-note {
    margin-top: 14px;
    padding: 16px;
    border: 1px dashed rgba(34, 123, 117, .30);
    border-radius: 20px;
    background: #fff;
}

.errand-distance-fare-note strong {
    color: #155e58;
    font-weight: 950;
}

.errand-distance-fare-note p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

@media (max-width: 1180px) {
    .errand-distance-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-distance-pricing-card {
        padding: 20px;
    }

    .errand-distance-pricing-grid {
        grid-template-columns: 1fr;
    }
}


/* 跑腿代辦：送達地點減取件/服務地點距離計費 */
.errand-gps-actions button.active {
    background: #227b75;
    color: #fff;
    box-shadow: 0 10px 18px rgba(34, 123, 117, .18);
}

.errand-distance-status-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr;
}

.errand-distance-status-grid em {
    font-style: normal;
}

.errand-route-pricing-note {
    margin: 2px 0 14px;
    padding: 16px;
    border: 1px dashed rgba(34, 123, 117, .32);
    border-radius: 20px;
    background: #fff;
}

.errand-route-pricing-note strong {
    display: block;
    color: #155e58;
    font-weight: 950;
}

.errand-route-pricing-note p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.65;
    font-weight: 780;
}

.errand-route-pricing-note small {
    display: block;
    margin-top: 6px;
    color: #8a6f55;
    font-weight: 850;
}

@media (max-width: 1180px) {
    .errand-distance-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-distance-status-grid {
        grid-template-columns: 1fr;
    }
}


/* 跑腿代辦：現金支付 */
.errand-cash-payment-page {
    background:
        radial-gradient(circle at 5% 0%, rgba(34, 123, 117, .10), transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #f8f3ea 100%);
}

.errand-cash-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 340px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .14), transparent 38%),
        linear-gradient(135deg, #fffdf8, #f4fbf7);
}

.errand-cash-hero span,
.errand-cash-side > span,
.errand-cash-confirm-card .errand-section-title span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #227b75;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-cash-hero h1 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.errand-cash-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #625a52;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 760;
}

.errand-cash-status {
    padding: 24px;
    border: 1px solid rgba(34, 123, 117, .16);
    border-radius: 26px;
    background: rgba(255,255,255,.9);
}

.errand-cash-status.confirmed {
    background: #eff8f5;
    border-color: rgba(34, 123, 117, .25);
}

.errand-cash-status > strong {
    display: block;
    color: #26302f;
    font-size: 24px;
    font-weight: 950;
}

.errand-cash-status div {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(222, 202, 180, .62);
}

.errand-cash-status div span {
    display: block;
    margin: 0;
    color: #8a6f55;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 900;
}

.errand-cash-status div b {
    display: block;
    margin-top: 4px;
    color: #26302f;
    font-weight: 950;
}

.errand-cash-alert {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(34, 123, 117, .25);
    border-radius: 22px;
    background: #eff8f5;
}

.errand-cash-alert strong {
    color: #155e58;
    font-weight: 950;
}

.errand-cash-alert p {
    margin: 6px 0 0;
    color: #53615f;
    font-weight: 760;
}

.errand-cash-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.errand-cash-side {
    position: sticky;
    top: 108px;
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fffaf3;
}

.errand-cash-side h2 {
    margin: 0;
    color: #26302f;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    font-weight: 900;
}

.errand-cash-step-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.errand-cash-step-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fff;
}

.errand-cash-step-list b {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #155e58;
    color: #fff;
    font-weight: 950;
}

.errand-cash-step-list strong {
    color: #26302f;
    font-weight: 950;
}

.errand-cash-step-list p {
    margin: 6px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-cash-main {
    display: grid;
    gap: 18px;
}

.errand-cash-card {
    padding: 24px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(47,129,125,.06);
}

.errand-cash-summary-grid,
.errand-cash-rule-grid,
.errand-cash-proof-grid,
.errand-cash-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.errand-cash-summary-grid article,
.errand-cash-rule-grid article,
.errand-cash-proof-grid article {
    padding: 16px;
    border: 1px solid rgba(222, 202, 180, .72);
    border-radius: 20px;
    background: #fffaf3;
}

.errand-cash-summary-grid span,
.errand-cash-rule-grid span,
.errand-cash-proof-grid span {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-cash-summary-grid strong,
.errand-cash-rule-grid strong,
.errand-cash-proof-grid strong {
    display: block;
    margin-top: 6px;
    color: #26302f;
    font-weight: 950;
}

.errand-cash-rule-grid p,
.errand-cash-proof-grid p {
    margin: 8px 0 0;
    color: #625a52;
    line-height: 1.58;
    font-weight: 760;
}

.errand-cash-form-grid label {
    display: grid;
    gap: 8px;
    color: #26302f;
    font-weight: 900;
}

.errand-cash-form-grid input,
.errand-cash-form-grid select {
    min-height: 48px;
    border: 1px solid rgba(222, 202, 180, .9);
    border-radius: 16px;
    padding: 0 14px;
    background: #fffdf8;
    color: #26302f;
    font-weight: 760;
}

.errand-cash-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #eff8f5;
    color: #2f5d59;
    font-weight: 850;
}

.errand-cash-check input {
    width: 18px;
    height: 18px;
    accent-color: #155e58;
    margin-top: 3px;
}

.errand-cash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.errand-cash-actions button,
.errand-cash-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 950;
}

.errand-cash-actions button {
    border: 0;
    background: #155e58;
    color: #fff;
}

.errand-cash-actions a {
    background: #eff8f5;
    color: #155e58;
    text-decoration: none;
}

@media (max-width: 1180px) {
    .errand-cash-hero,
    .errand-cash-layout {
        grid-template-columns: 1fr;
    }

    .errand-cash-side {
        position: relative;
        top: auto;
    }

    .errand-cash-summary-grid,
    .errand-cash-rule-grid,
    .errand-cash-proof-grid,
    .errand-cash-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-cash-hero,
    .errand-cash-side,
    .errand-cash-card {
        padding: 20px;
    }

    .errand-cash-summary-grid,
    .errand-cash-rule-grid,
    .errand-cash-proof-grid,
    .errand-cash-form-grid {
        grid-template-columns: 1fr;
    }

    .errand-cash-actions button,
    .errand-cash-actions a {
        width: 100%;
    }
}

/* Stage 476：跑腿代辦現金支付成立訂單 */
.errand-cash-order-created-page .errand-cash-created-hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 123, 117, .18), transparent 40%),
        linear-gradient(135deg, #fffdf8 0%, #eef8f3 100%);
}

.errand-created-ticket-card {
    border-color: rgba(34, 123, 117, .22);
}

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

.errand-created-money-grid article {
    padding: 18px;
    border: 1px solid rgba(222, 202, 180, .78);
    border-radius: 22px;
    background: #fffaf3;
}

.errand-created-money-grid small {
    display: block;
    color: #8a6f55;
    font-size: 12px;
    font-weight: 900;
}

.errand-created-money-grid strong {
    display: block;
    margin-top: 7px;
    color: #26302f;
    font-size: 18px;
    font-weight: 950;
}

.errand-created-money-grid span {
    display: block;
    margin-top: 7px;
    color: #625a52;
    line-height: 1.5;
    font-size: 13px;
    font-weight: 780;
}

.errand-created-actions-card .errand-cash-actions a.primary {
    background: #155e58;
    color: #fff;
}

@media (max-width: 1180px) {
    .errand-created-money-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .errand-created-money-grid {
        grid-template-columns: 1fr;
    }
}

/* Stage 477：會員端跑腿代辦我的訂單 */
.errand-orders-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 42%, #f8fafc 100%);
    color: #1f2937;
}

.errand-orders-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 32px auto 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: stretch;
    border-radius: 32px;
    background: linear-gradient(135deg, #111827 0%, #4338ca 55%, #f97316 100%);
    color: #fff;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.22);
}

.errand-orders-hero > div > span,
.errand-orders-hero .errand-back {
    color: rgba(255,255,255,.82);
}

.errand-orders-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.errand-orders-hero p {
    max-width: 720px;
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.errand-orders-counter {
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 28px;
    padding: 24px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.errand-orders-counter span,
.errand-orders-counter small {
    color: rgba(255,255,255,.75);
}

.errand-orders-counter strong {
    font-size: 4rem;
    line-height: .95;
}

.errand-orders-stats,
.errand-orders-filter-card,
.errand-orders-layout {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.errand-orders-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.errand-orders-stats article,
.errand-orders-filter-card,
.errand-order-card,
.errand-orders-side section,
.errand-orders-empty {
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255,255,255,.92);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.errand-orders-stats article {
    padding: 20px;
}

.errand-orders-stats span,
.errand-order-meta-grid small,
.errand-order-route small,
.errand-orders-side span,
.errand-orders-side small {
    color: #64748b;
}

.errand-orders-stats strong {
    display: block;
    margin: 8px 0;
    font-size: 2rem;
    color: #0f172a;
}

.errand-orders-stats p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-orders-filter-card {
    margin-top: 18px;
    padding: 24px;
}

.errand-order-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.errand-order-tabs a {
    text-decoration: none;
    color: #334155;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 4px;
    transition: .2s ease;
}

.errand-order-tabs a.active,
.errand-order-tabs a:hover {
    border-color: #fb923c;
    background: #fff7ed;
    transform: translateY(-1px);
}

.errand-order-tabs b {
    font-size: 1.45rem;
    color: #111827;
}

.errand-order-tabs small {
    color: #64748b;
}

.errand-order-search {
    display: grid;
    grid-template-columns: 1.4fr .75fr auto auto;
    gap: 12px;
    align-items: end;
}

.errand-order-search label {
    display: grid;
    gap: 7px;
    font-weight: 800;
    color: #334155;
}

.errand-order-search input,
.errand-order-search select {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
}

.errand-order-search button,
.errand-order-search a,
.errand-order-actions a,
.errand-orders-empty a {
    border: 0;
    border-radius: 16px;
    padding: 13px 18px;
    text-decoration: none;
    font-weight: 900;
    text-align: center;
}

.errand-order-search button,
.errand-order-actions a.primary,
.errand-orders-empty a {
    background: #111827;
    color: #fff;
}

.errand-order-search a,
.errand-order-actions a,
.errand-orders-empty a.ghost {
    background: #f1f5f9;
    color: #334155;
}

.errand-orders-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 18px;
    align-items: start;
}

.errand-order-list {
    display: grid;
    gap: 16px;
}

.errand-order-card {
    padding: 22px;
}

.errand-order-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.errand-order-card-head span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 900;
    font-size: .82rem;
}

.errand-order-card-head h2 {
    margin: 12px 0 8px;
    font-size: 1.35rem;
    color: #0f172a;
}

.errand-order-card-head p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-order-status {
    white-space: nowrap;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: .88rem;
    background: #fff7ed;
    color: #c2410c;
}

.errand-order-status.in-service {
    background: #ecfeff;
    color: #0e7490;
}

.errand-order-status.cash-confirming {
    background: #fef9c3;
    color: #854d0e;
}

.errand-order-status.done {
    background: #dcfce7;
    color: #166534;
}

.errand-order-status.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.errand-order-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
}

.errand-order-route article {
    display: grid;
    gap: 6px;
}

.errand-order-route b {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111827;
    color: #fff;
}

.errand-order-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.errand-order-meta-grid article {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: grid;
    gap: 6px;
}

.errand-order-meta-grid strong,
.errand-order-route strong {
    color: #0f172a;
}

.errand-order-progress {
    margin-top: 16px;
    padding: 14px;
    border-radius: 20px;
    background: #fff7ed;
}

.errand-order-progress > div {
    height: 10px;
    border-radius: 999px;
    background: rgba(251, 146, 60, .22);
    overflow: hidden;
}

.errand-order-progress > div span {
    display: block;
    width: var(--errand-progress, 32%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #4338ca);
}

.errand-order-progress p {
    margin: 10px 0 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #9a3412;
    font-weight: 800;
}

.errand-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.errand-orders-side {
    display: grid;
    gap: 16px;
}

.errand-orders-side section {
    padding: 20px;
}

.errand-orders-side h3 {
    margin: 8px 0 14px;
    color: #0f172a;
}

.errand-orders-side article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
}

.errand-orders-side b {
    color: #f97316;
}

.errand-orders-empty {
    padding: 42px;
    text-align: center;
}

.errand-orders-empty span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 900;
}

.errand-orders-empty h2 {
    margin: 16px 0 10px;
    color: #0f172a;
}

.errand-orders-empty p {
    color: #64748b;
    line-height: 1.8;
}

.errand-orders-empty div {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

@media (max-width: 980px) {
    .errand-orders-hero,
    .errand-orders-layout {
        grid-template-columns: 1fr;
    }
    .errand-orders-stats,
    .errand-order-tabs,
    .errand-order-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .errand-order-search {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .errand-orders-hero,
    .errand-orders-filter-card,
    .errand-order-card,
    .errand-orders-side section {
        padding: 18px;
        border-radius: 22px;
    }
    .errand-orders-stats,
    .errand-order-tabs,
    .errand-order-route,
    .errand-order-meta-grid {
        grid-template-columns: 1fr;
    }
    .errand-order-route b {
        transform: rotate(90deg);
    }
    .errand-order-card-head {
        flex-direction: column;
    }
}

/* Stage 478: Errand order detail */
.errand-order-detail-page {
    background: #f8fafc;
}

.errand-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, .18), transparent 36%), #111827;
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.errand-detail-hero h1 {
    margin: 12px 0;
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: -.05em;
}

.errand-detail-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.errand-detail-hero > div > span,
.errand-detail-status-card > span,
.errand-detail-side section > span,
.errand-detail-action-section > span {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 900;
    color: #fb923c;
}

.errand-detail-status-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    align-content: center;
    gap: 12px;
}

.errand-detail-status-card .errand-order-status {
    width: fit-content;
}

.errand-detail-status-card p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
}

.errand-detail-status-card small {
    color: rgba(255, 255, 255, .62);
    font-weight: 800;
}

.errand-detail-summary-grid,
.errand-detail-cash-grid,
.errand-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.errand-detail-summary-grid article,
.errand-detail-cash-grid article,
.errand-detail-meta-grid article,
.errand-detail-card,
.errand-detail-side section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.errand-detail-summary-grid article,
.errand-detail-cash-grid article,
.errand-detail-meta-grid article {
    padding: 18px;
    display: grid;
    gap: 8px;
}

.errand-detail-summary-grid span,
.errand-detail-cash-grid span,
.errand-detail-meta-grid small,
.errand-detail-note-box small {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.errand-detail-summary-grid strong,
.errand-detail-cash-grid strong,
.errand-detail-meta-grid strong,
.errand-detail-route strong,
.errand-detail-note-box strong {
    color: #0f172a;
}

.errand-detail-summary-grid p,
.errand-detail-cash-grid p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
    font-size: 13px;
}

.errand-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    margin-top: 18px;
}

.errand-detail-main,
.errand-detail-side {
    display: grid;
    gap: 18px;
}

.errand-detail-card,
.errand-detail-side section {
    padding: 24px;
}

.errand-detail-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    background: #f8fafc;
}

.errand-detail-route article {
    display: grid;
    gap: 8px;
}

.errand-detail-route b {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111827;
    color: #fff;
}

.errand-detail-progress-bar {
    margin-top: 12px;
    padding: 16px;
    border-radius: 22px;
    background: #fff7ed;
}

.errand-detail-progress-bar > div {
    height: 12px;
    border-radius: 999px;
    background: rgba(251, 146, 60, .22);
    overflow: hidden;
}

.errand-detail-progress-bar > div span {
    display: block;
    width: var(--errand-progress, 32%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #4338ca);
}

.errand-detail-progress-bar p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 0;
    color: #9a3412;
    font-weight: 900;
}

.errand-detail-timeline {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.errand-detail-timeline article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.errand-detail-timeline b,
.errand-detail-side b {
    width: 42px;
    min-height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #475569;
    font-weight: 900;
}

.errand-detail-timeline article.done b {
    background: #dcfce7;
    color: #166534;
}

.errand-detail-timeline article.active b {
    background: #ffedd5;
    color: #c2410c;
}

.errand-detail-timeline strong {
    color: #0f172a;
}

.errand-detail-timeline p {
    margin: 6px 0 0;
    color: #64748b;
    line-height: 1.7;
}

.errand-detail-note-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.errand-detail-note-box article {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    display: grid;
    gap: 6px;
}

.errand-detail-note-box p {
    grid-column: 1 / -1;
    margin: 0;
    padding: 16px;
    border-radius: 20px;
    background: #0f172a;
    color: rgba(255, 255, 255, .84);
    line-height: 1.8;
}

.errand-detail-side h3 {
    margin: 8px 0 14px;
    color: #0f172a;
}

.errand-detail-side article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #e2e8f0;
}

.errand-detail-side strong {
    color: #0f172a;
}

.errand-detail-side small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    line-height: 1.65;
}

.errand-detail-warning-section b {
    background: #fee2e2;
    color: #991b1b;
}

.errand-detail-action-section {
    display: grid;
    gap: 10px;
}

.errand-detail-action-section a {
    justify-content: center;
}

@media (max-width: 1080px) {
    .errand-detail-hero,
    .errand-detail-layout {
        grid-template-columns: 1fr;
    }
    .errand-detail-summary-grid,
    .errand-detail-cash-grid,
    .errand-detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .errand-detail-hero,
    .errand-detail-card,
    .errand-detail-side section {
        padding: 18px;
        border-radius: 22px;
    }
    .errand-detail-summary-grid,
    .errand-detail-cash-grid,
    .errand-detail-meta-grid,
    .errand-detail-route,
    .errand-detail-note-box {
        grid-template-columns: 1fr;
    }
    .errand-detail-route b {
        transform: rotate(90deg);
    }
    .errand-detail-progress-bar p {
        flex-direction: column;
    }
}

/* Stage 479: member errand order chat */
.errand-chat-page {
    background: linear-gradient(180deg, #fff8f1 0%, #fffaf6 42%, #f8fafc 100%);
}

.errand-chat-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    margin: 24px auto 18px;
    max-width: 1180px;
    padding: 0 20px;
}

.errand-chat-hero > div,
.errand-chat-status-card,
.errand-chat-alert,
.errand-chat-layout,
.errand-chat-facts-grid article {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.errand-chat-hero > div {
    background: #ffffff;
    border-radius: 32px;
    padding: 28px;
}

.errand-chat-hero span,
.errand-chat-status-card span,
.errand-chat-header span,
.errand-chat-side section > span,
.errand-chat-facts-grid span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f97316;
}

.errand-chat-hero h1 {
    margin: 10px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    color: #111827;
}

.errand-chat-hero p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.errand-chat-status-card {
    border-radius: 32px;
    padding: 26px;
    color: #fff;
    background: radial-gradient(circle at top left, #fb923c, #ea580c 54%, #9a3412);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.errand-chat-status-card span,
.errand-chat-status-card small {
    color: rgba(255,255,255,0.78);
}

.errand-chat-status-card strong {
    display: block;
    margin: 16px 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.errand-chat-status-card p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    line-height: 1.7;
}

.errand-chat-facts-grid {
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.errand-chat-facts-grid article {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
}

.errand-chat-facts-grid strong {
    display: block;
    margin: 8px 0 6px;
    font-size: 20px;
    color: #111827;
}

.errand-chat-facts-grid p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.errand-chat-alert {
    max-width: 1140px;
    margin: 0 auto 18px;
    border-radius: 22px;
    padding: 16px 20px;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.22);
    color: #065f46;
}

.errand-chat-alert.danger {
    background: #fff1f2;
    border-color: rgba(244, 63, 94, 0.22);
    color: #9f1239;
}

.errand-chat-alert strong,
.errand-chat-alert p {
    margin: 0;
}

.errand-chat-alert p {
    margin-top: 4px;
    line-height: 1.6;
}

.errand-chat-layout {
    max-width: 1180px;
    margin: 0 auto 44px;
    padding: 20px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    background: rgba(255,255,255,0.82);
    border-radius: 32px;
}

.errand-chat-side {
    display: grid;
    gap: 16px;
}

.errand-chat-side section {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    padding: 18px;
}

.errand-chat-side h3 {
    margin: 8px 0 14px;
    color: #111827;
}

.errand-chat-side article {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.errand-chat-side article b {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #ea580c;
    font-size: 13px;
}

.errand-chat-side article strong {
    display: block;
    color: #111827;
    line-height: 1.45;
}

.errand-chat-side article small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    line-height: 1.5;
}

.errand-quick-message-form {
    margin: 10px 0 0;
}

.errand-quick-message-form button {
    width: 100%;
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: #fff7ed;
    color: #9a3412;
    border-radius: 18px;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.errand-quick-message-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.16);
}

.errand-quick-message-form strong,
.errand-quick-message-form small {
    display: block;
}

.errand-quick-message-form small {
    margin-top: 4px;
    color: #c2410c;
}

.errand-chat-main {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 680px;
}

.errand-chat-header {
    padding: 22px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.errand-chat-header h2 {
    margin: 8px 0 6px;
    color: #111827;
}

.errand-chat-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-chat-header > strong {
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    padding: 9px 12px;
    white-space: nowrap;
}

.errand-chat-window {
    flex: 1;
    padding: 24px;
    background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.errand-chat-bubble {
    max-width: 78%;
    border-radius: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.errand-chat-bubble.member {
    margin-left: auto;
    background: #ffedd5;
    border-color: rgba(249, 115, 22, 0.18);
}

.errand-chat-bubble.member.new {
    outline: 3px solid rgba(249, 115, 22, 0.16);
}

.errand-chat-bubble.provider {
    margin-right: auto;
    background: #ffffff;
}

.errand-chat-bubble.system {
    align-self: center;
    max-width: 88%;
    background: #f8fafc;
    border-style: dashed;
    text-align: center;
}

.errand-chat-bubble.system.success {
    background: #ecfdf5;
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.22);
}

.errand-chat-bubble-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.errand-chat-bubble-head strong {
    color: #111827;
}

.errand-chat-bubble-head small {
    color: #94a3b8;
}

.errand-chat-bubble p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}

.errand-chat-compose {
    padding: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.errand-chat-compose label span {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: #334155;
}

.errand-chat-compose textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    padding: 14px 16px;
    resize: vertical;
    font: inherit;
    color: #111827;
    outline: none;
    box-sizing: border-box;
}

.errand-chat-compose textarea:focus {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.errand-chat-compose-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.errand-chat-compose-actions p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-chat-compose-actions button {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 14px 26px rgba(234, 88, 12, 0.24);
}

@media (max-width: 960px) {
    .errand-chat-hero,
    .errand-chat-layout {
        grid-template-columns: 1fr;
    }
    .errand-chat-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .errand-chat-main {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .errand-chat-facts-grid {
        grid-template-columns: 1fr;
    }
    .errand-chat-bubble {
        max-width: 100%;
    }
    .errand-chat-compose-actions,
    .errand-chat-header {
        flex-direction: column;
        align-items: stretch;
    }
    .errand-chat-compose-actions button {
        width: 100%;
    }
}

/* Stage 480: member errand provider start report */
.errand-start-report-page {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 48%, #f8fafc 100%);
}

.errand-start-report-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 22px;
}

.errand-start-report-hero > div,
.errand-start-report-status-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(249, 115, 22, 0.14);
    border-radius: 32px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.errand-start-report-hero > div {
    padding: 34px;
}

.errand-start-report-hero span,
.errand-start-report-status-card span,
.errand-start-report-side span {
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.errand-start-report-hero h1 {
    margin: 10px 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
}

.errand-start-report-hero p {
    margin: 0;
    color: #64748b;
    line-height: 1.75;
    max-width: 760px;
}

.errand-start-report-status-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.errand-start-report-status-card strong {
    align-self: flex-start;
}

.errand-start-report-status-card p {
    color: #475569;
    line-height: 1.65;
}

.errand-start-report-status-card small {
    color: #94a3b8;
    font-weight: 800;
}

.errand-start-report-alert {
    border-radius: 24px;
    padding: 18px 20px;
    margin: 0 0 22px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: #ecfdf5;
    color: #065f46;
}

.errand-start-report-alert strong,
.errand-start-report-alert p {
    display: block;
    margin: 0;
}

.errand-start-report-alert p {
    margin-top: 6px;
    line-height: 1.65;
}

.errand-start-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.errand-start-report-grid article,
.errand-start-report-card,
.errand-start-report-side section {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.errand-start-report-grid article {
    padding: 18px;
}

.errand-start-report-grid span,
.errand-start-report-grid strong,
.errand-start-report-grid p {
    display: block;
}

.errand-start-report-grid span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
}

.errand-start-report-grid strong {
    margin-top: 8px;
    color: #111827;
    font-size: 20px;
}

.errand-start-report-grid p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.errand-start-report-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: flex-start;
}

.errand-start-report-main,
.errand-start-report-side {
    display: grid;
    gap: 18px;
}

.errand-start-report-card,
.errand-start-report-side section {
    padding: 24px;
}

.errand-start-report-card.route-card {
    overflow: hidden;
}

.start-report-timeline article.active b {
    background: #fff7ed;
    color: #ea580c;
}

.errand-start-report-confirm-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.errand-start-report-confirm-form button {
    border: 0;
    border-radius: 999px;
    padding: 15px 22px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(234, 88, 12, 0.22);
}

.errand-start-report-confirm-form button:disabled {
    cursor: not-allowed;
    background: #dcfce7;
    color: #166534;
    box-shadow: none;
}

.errand-start-report-confirm-form p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-start-report-side h3 {
    margin: 8px 0 14px;
    color: #111827;
}

.errand-start-report-side article {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.errand-start-report-side article b {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #ea580c;
    font-size: 12px;
}

.errand-start-report-side article strong,
.errand-start-report-side article small {
    display: block;
}

.errand-start-report-side article strong {
    color: #111827;
    line-height: 1.45;
}

.errand-start-report-side article small {
    margin-top: 4px;
    color: #64748b;
    line-height: 1.55;
}

.errand-start-report-link-section a,
.errand-side-action-link {
    display: block;
    text-decoration: none;
    border-radius: 18px;
    padding: 13px 15px;
    margin-top: 10px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    color: #c2410c;
    background: #fff7ed;
    font-weight: 900;
}

.errand-start-report-link-section a.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    border-color: transparent;
}

@media (max-width: 960px) {
    .errand-start-report-hero,
    .errand-start-report-layout {
        grid-template-columns: 1fr;
    }
    .errand-start-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .errand-start-report-grid {
        grid-template-columns: 1fr;
    }
    .errand-start-report-hero > div,
    .errand-start-report-status-card,
    .errand-start-report-card,
    .errand-start-report-side section {
        border-radius: 22px;
        padding: 18px;
    }
}

/* Stage 481: member errand live GPS route tracking */
.errand-gps-tracking-section {
    margin: 0 0 24px;
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.errand-gps-tracking-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 18px;
}

.errand-gps-tracking-map-wrap {
    min-width: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.16);
    background: #fff7ed;
    position: relative;
}

.errand-live-track-map {
    width: 100%;
    min-height: 520px;
    position: relative;
    z-index: 1;
    background: #e0f2fe;
}

.errand-live-track-map.leaflet-container,
.errand-live-track-map .leaflet-container {
    border-radius: 28px 28px 0 0;
    font-family: inherit;
}

.errand-live-track-map .leaflet-control-zoom,
.errand-live-track-map .leaflet-control-attribution {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.errand-live-track-map .leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.errand-live-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.errand-live-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.errand-live-map-legend i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.errand-live-map-legend .provider-dot { background: #ea580c; }
.errand-live-map-legend .pickup-dot { background: #0284c7; }
.errand-live-map-legend .dropoff-dot { background: #16a34a; }
.errand-live-map-legend .route-dot { background: #7c3aed; }

.errand-live-map-marker {
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    line-height: 34px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.24);
    border: 3px solid #ffffff;
}

.errand-live-map-marker span {
    display: block;
    padding: 0 10px;
}

.errand-live-map-marker.provider { background: linear-gradient(135deg, #fb923c, #ea580c); }
.errand-live-map-marker.pickup { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.errand-live-map-marker.dropoff { background: linear-gradient(135deg, #4ade80, #16a34a); }

.errand-provider-to-pickup-route {
    stroke: #ea580c;
}

.errand-pickup-to-dropoff-route {
    stroke: #2563eb;
}

.errand-gps-tracking-panel {
    display: grid;
    gap: 14px;
    align-content: start;
}

.errand-gps-live-status,
.errand-gps-tracking-cards article,
.errand-gps-route-events article {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    padding: 16px;
}

.errand-gps-live-status {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border-color: rgba(249, 115, 22, 0.18);
}

.errand-gps-live-status span,
.errand-gps-tracking-cards span {
    display: block;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.errand-gps-live-status strong,
.errand-gps-tracking-cards strong {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.errand-gps-live-status p,
.errand-gps-tracking-cards p,
.errand-gps-route-events p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.58;
}

.errand-gps-tracking-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.errand-gps-route-events {
    display: grid;
    gap: 10px;
}

.errand-gps-route-events article {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.errand-gps-route-events article b {
    flex: 0 0 54px;
    min-height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.errand-gps-route-events article.active b {
    background: #ffedd5;
    color: #ea580c;
}

.errand-gps-route-events article strong {
    color: #111827;
}

@media (max-width: 1080px) {
    .errand-gps-tracking-shell {
        grid-template-columns: 1fr;
    }
    .errand-live-track-map {
        min-height: 430px;
    }
}

@media (max-width: 640px) {
    .errand-gps-tracking-section {
        border-radius: 22px;
        padding: 16px;
    }
    .errand-gps-tracking-cards {
        grid-template-columns: 1fr;
    }
    .errand-live-track-map {
        min-height: 360px;
    }
    .errand-live-map-legend {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.errand-provider-tracking-page .errand-provider-tracking-hero h1 {
    max-width: 780px;
}

.errand-provider-live-route-summary {
    display: grid;
    gap: 12px;
}

.errand-provider-live-route-summary article {
    border-radius: 22px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    padding: 16px;
}

.errand-provider-live-route-summary span {
    display: block;
    color: #0369a1;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.errand-provider-live-route-summary strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.25;
}

/* Stage 480 redo: errand provider tracking realtime listener */
.errand-live-listen-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.errand-live-listen-toolbar span,
.errand-live-listen-toolbar strong,
.errand-live-listen-toolbar small {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.errand-live-listen-toolbar span {
    color: #ffffff;
    background: #16a34a;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.18);
}

.errand-live-listen-toolbar span.error {
    background: #ef4444;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

.errand-live-listen-toolbar span.closed {
    background: #64748b;
    box-shadow: 0 10px 20px rgba(100, 116, 139, 0.18);
}

.errand-live-listen-toolbar strong {
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.errand-live-listen-toolbar small {
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid rgba(14, 165, 233, 0.18);
}

.errand-live-progress-bar {
    height: 10px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.errand-live-progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #16a34a);
    transition: width .45s ease;
}

.errand-live-map-marker.provider {
    transition: transform .45s linear;
}

/* Stage 480 redo: real provider GPS sharing + realtime listener */
.errand-gps-accuracy-pill {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    margin-top: 10px;
    border-radius: 999px;
    padding: 7px 12px;
    background: #ecfdf5;
    color: #047857 !important;
    font-size: 12px !important;
    font-weight: 900;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.errand-provider-gps-share-page {
    background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 48%, #ffffff 100%);
}

.errand-provider-gps-share-hero .errand-hero-actions button,
.errand-provider-gps-actions button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.errand-provider-gps-share-hero .errand-hero-actions button.primary,
.errand-provider-gps-actions button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    border-color: transparent;
}

.errand-provider-gps-share-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.errand-provider-gps-share-grid article,
.errand-provider-gps-share-box {
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    padding: 20px;
}

.errand-provider-gps-share-grid span,
.errand-provider-gps-readout span {
    display: block;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.errand-provider-gps-share-grid strong,
.errand-provider-gps-readout strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 20px;
}

.errand-provider-gps-share-grid p,
.errand-provider-gps-note p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.errand-provider-gps-share-box {
    display: grid;
    gap: 18px;
}

.errand-provider-gps-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.errand-provider-gps-readout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.errand-provider-gps-readout article {
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 16px;
}

.errand-provider-gps-readout strong {
    font-size: 18px;
    word-break: break-all;
}

.errand-provider-gps-note {
    border-radius: 22px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.18);
    padding: 16px;
}

.errand-provider-gps-note strong {
    color: #047857;
    font-weight: 900;
}

@media (max-width: 900px) {
    .errand-provider-gps-share-grid,
    .errand-provider-gps-readout {
        grid-template-columns: 1fr;
    }
}

/* Stage 481: provider GPS share status page */
.errand-provider-gps-status-page {
    background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 45%, #ffffff 100%);
}

.errand-provider-gps-status-hero .errand-hero-actions button,
.errand-provider-gps-console .errand-provider-gps-actions button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.errand-provider-gps-status-hero .errand-hero-actions button.primary,
.errand-provider-gps-console .errand-provider-gps-actions button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    border-color: transparent;
}

.errand-gps-live-status-card {
    position: relative;
    overflow: hidden;
}

.errand-gps-live-status-card::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #22c55e 24%, #e5e7eb 24%, #e5e7eb 100%);
}

.errand-gps-status-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 14px;
}

.errand-gps-status-mini b {
    color: #64748b;
    font-size: 13px;
}

.errand-gps-status-mini strong {
    margin: 0;
    color: #047857;
    font-size: 14px;
}

.errand-provider-gps-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.errand-provider-gps-status-grid.checklist {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.errand-provider-gps-status-grid article,
.errand-provider-gps-console,
.errand-provider-gps-note {
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    padding: 20px;
}

.errand-provider-gps-status-grid span,
.errand-provider-gps-readout.enhanced span {
    display: block;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.errand-provider-gps-status-grid strong,
.errand-provider-gps-readout.enhanced strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 20px;
    word-break: break-word;
}

.errand-provider-gps-status-grid p,
.errand-provider-gps-note p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.errand-provider-gps-console-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 18px;
    align-items: stretch;
}

.errand-provider-gps-panel {
    display: grid;
    gap: 16px;
}

.errand-provider-gps-readout.enhanced {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.errand-provider-gps-readout.enhanced article {
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 16px;
}

.errand-provider-gps-map-card {
    display: grid;
    gap: 12px;
}

.errand-provider-gps-status-map {
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.errand-provider-gps-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #475569;
    font-weight: 800;
    font-size: 13px;
}

.errand-provider-gps-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 8px 11px;
}

.errand-provider-gps-map-legend i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.legend-provider { background: #f97316; }
.legend-pickup { background: #0ea5e9; }
.legend-dropoff { background: #22c55e; }

.errand-provider-gps-note {
    margin-top: 22px;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.18);
}

.errand-provider-gps-note strong {
    color: #047857;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .errand-provider-gps-status-grid,
    .errand-provider-gps-status-grid.checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .errand-provider-gps-console-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .errand-provider-gps-status-grid,
    .errand-provider-gps-status-grid.checklist,
    .errand-provider-gps-readout.enhanced {
        grid-template-columns: 1fr;
    }
    .errand-provider-gps-status-map {
        min-height: 360px;
    }
}

/* Stage 482 - member errand GPS abnormal reminders */
.errand-gps-abnormal-alert {
    margin: 18px 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 18px 20px;
    background: #f8fafc;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.errand-gps-abnormal-alert > span,
.errand-gps-abnormal-alert > b {
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.errand-gps-abnormal-alert strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.errand-gps-abnormal-alert p {
    margin: 6px 0 0;
    color: #475569;
    line-height: 1.7;
}

.errand-gps-abnormal-alert.gps-alert-ok {
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    border-color: rgba(34, 197, 94, 0.24);
}

.errand-gps-abnormal-alert.gps-alert-ok > span,
.errand-gps-abnormal-alert.gps-alert-ok > b {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.errand-gps-abnormal-alert.gps-alert-notice {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border-color: rgba(59, 130, 246, 0.22);
}

.errand-gps-abnormal-alert.gps-alert-notice > span,
.errand-gps-abnormal-alert.gps-alert-notice > b {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
}

.errand-gps-abnormal-alert.gps-alert-warning {
    background: linear-gradient(135deg, #fffbeb, #ffffff);
    border-color: rgba(245, 158, 11, 0.28);
}

.errand-gps-abnormal-alert.gps-alert-warning > span,
.errand-gps-abnormal-alert.gps-alert-warning > b {
    color: #b45309;
    background: rgba(245, 158, 11, 0.13);
}

.errand-gps-abnormal-alert.gps-alert-danger {
    background: linear-gradient(135deg, #fff1f2, #ffffff);
    border-color: rgba(244, 63, 94, 0.26);
}

.errand-gps-abnormal-alert.gps-alert-danger > span,
.errand-gps-abnormal-alert.gps-alert-danger > b {
    color: #be123c;
    background: rgba(244, 63, 94, 0.12);
}

.errand-gps-abnormal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.errand-gps-abnormal-grid article {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    padding: 16px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
}

.errand-gps-abnormal-grid span {
    color: #ef5f3c;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .04em;
}

.errand-gps-abnormal-grid strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.errand-gps-abnormal-grid p {
    margin: 7px 0 0;
    color: #64748b;
    line-height: 1.6;
}

.errand-gps-abnormal-tips-card {
    margin: 22px auto;
    max-width: 1500px;
}

.errand-gps-abnormal-tips-card ul {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    line-height: 1.9;
    font-weight: 750;
}

@media (max-width: 1180px) {
    .errand-gps-abnormal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .errand-gps-abnormal-alert {
        grid-template-columns: 1fr;
    }
    .errand-gps-abnormal-grid {
        grid-template-columns: 1fr;
    }
}

/* Stage 483 - errand pickup arrival */
.errand-pickup-arrival-alert {
    margin: 22px 0;
    padding: 20px 24px;
    border-radius: 28px;
    border: 1px solid rgba(125, 166, 255, 0.28);
    background: linear-gradient(135deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    box-shadow: 0 18px 44px rgba(23, 35, 63, 0.07);
}
.errand-pickup-arrival-alert > span,
.errand-pickup-arrival-status-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.errand-pickup-arrival-alert.approaching > span,
.errand-pickup-arrival-alert.approaching b { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; }
.errand-pickup-arrival-alert.arrived > span,
.errand-pickup-arrival-alert.arrived b { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.errand-pickup-arrival-alert.waiting > span,
.errand-pickup-arrival-alert.waiting b { background: linear-gradient(135deg, #f97316, #fb7185); color: #fff; }
.errand-pickup-arrival-alert strong { display:block; font-size: 22px; color: #0f172a; margin-bottom: 6px; }
.errand-pickup-arrival-alert p { margin: 0; color: #64748b; line-height: 1.7; }
.errand-pickup-arrival-alert b { padding: 12px 18px; border-radius: 18px; white-space: nowrap; }
.errand-pickup-arrival-grid,
.errand-pickup-arrival-grid-page { margin-top: 18px; }
.errand-pickup-arrival-map-section {
    margin-top: 30px;
    padding: 26px;
    border-radius: 34px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.errand-pickup-arrival-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 24px;
    margin-top: 18px;
}
.errand-pickup-arrival-map {
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.errand-pickup-arrival-panel {
    display: grid;
    gap: 16px;
}
.errand-pickup-arrival-panel article {
    padding: 20px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.errand-pickup-arrival-panel span { color: #f05f3d; font-weight: 900; font-size: 13px; }
.errand-pickup-arrival-panel strong { display:block; margin-top: 8px; color: #0f172a; font-size: 22px; }
.errand-pickup-arrival-panel p { color: #64748b; line-height: 1.7; }
.errand-provider-gps-actions #phaseArrivedPickupBtn.active,
.errand-hero-actions #arrivedPickupBtn {
    border-color: rgba(34, 197, 94, 0.45);
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}
@media (max-width: 980px) {
    .errand-pickup-arrival-alert { grid-template-columns: 1fr; align-items: stretch; }
    .errand-pickup-arrival-alert b { text-align: center; }
    .errand-pickup-arrival-map-layout { grid-template-columns: 1fr; }
    .errand-pickup-arrival-map { min-height: 360px; }
}

/* Stage 483 realtime pickup arrival */
.errand-pickup-live-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 18px auto 26px;
    padding: 0 18px;
}
.errand-pickup-live-strip article {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(244, 99, 70, .15);
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(31, 41, 55, .07);
}
.errand-pickup-live-strip span {
    display: block;
    color: #f05b3c;
    font-weight: 900;
    margin-bottom: 8px;
}
.errand-pickup-live-strip strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}
.errand-pickup-live-strip p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.7;
}
.errand-pickup-live-strip.arrived article,
.errand-pickup-arrival-status-card.arrived {
    border-color: rgba(34, 197, 94, .35);
    background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(255,255,255,.94));
}
.errand-pickup-live-strip.warning article,
.errand-pickup-arrival-status-card.warning {
    border-color: rgba(245, 158, 11, .38);
    background: linear-gradient(135deg, rgba(255,247,237,.96), rgba(255,255,255,.94));
}
.errand-pickup-live-strip.near article,
.errand-pickup-arrival-status-card.near {
    border-color: rgba(14, 165, 233, .32);
    background: linear-gradient(135deg, rgba(240,249,255,.96), rgba(255,255,255,.94));
}
@media (max-width: 900px) {
    .errand-pickup-live-strip { grid-template-columns: 1fr; }
}

/* Stage 484 - Errand pickup complete report */
.errand-pickup-complete-page .errand-pickup-complete-status-card.done,
.errand-pickup-complete-success {
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.96));
}
.errand-pickup-complete-status-card.waiting {
    border: 1px solid rgba(249, 115, 22, 0.2);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.95));
}
.errand-pickup-complete-success {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 22px;
    border-radius: 26px;
    padding: 22px 26px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}
.errand-pickup-complete-success strong {
    display: block;
    color: #047857;
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.errand-pickup-complete-form {
    display: grid;
    gap: 22px;
}
.errand-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.errand-pickup-complete-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 800;
}
.errand-pickup-complete-form label span {
    color: #f05a28;
    font-size: 0.92rem;
}
.errand-pickup-complete-form input,
.errand-pickup-complete-form select,
.errand-pickup-complete-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
}
.errand-pickup-complete-form textarea {
    resize: vertical;
    min-height: 120px;
}
.errand-pickup-complete-form small {
    color: #64748b;
    line-height: 1.55;
}
.errand-note-field {
    grid-column: 1 / -1;
}
.errand-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.errand-form-actions button,
.errand-form-actions a,
.gps-action-link {
    border: 1px solid rgba(240, 90, 40, 0.24);
    border-radius: 999px;
    padding: 13px 22px;
    text-decoration: none;
    color: #a5471c;
    background: #fff;
    font-weight: 900;
}
.errand-form-actions button.primary {
    border: none;
    background: linear-gradient(135deg, #ff7a1a, #ef4444);
    color: #fff;
    cursor: pointer;
}
.gps-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .errand-form-row {
        grid-template-columns: 1fr;
    }
}

/* Stage 484 redo: inline pickup-complete form inside provider GPS page */
.inline-pickup-complete-panel {
    margin-top: 28px;
}
.inline-pickup-complete-panel .errand-pickup-complete-form-card {
    border: 1px solid rgba(255, 112, 67, 0.18);
    box-shadow: 0 24px 70px rgba(30, 42, 66, 0.08);
}
.inline-pickup-complete-panel .errand-form-actions button[type="button"] {
    background: #fff;
    color: #9a5a1f;
    border: 1px solid rgba(188, 112, 49, 0.28);
}

/* Stage 485 - member pickup complete notice */
.errand-pickup-complete-notice-page .errand-pickup-complete-notice-status,
.errand-pickup-complete-notice-alert {
    border-radius: 28px;
    padding: 28px;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
    border: 1px solid rgba(234, 98, 63, 0.18);
    box-shadow: 0 24px 60px rgba(63, 36, 19, 0.08);
}
.errand-pickup-complete-notice-status.completed,
.errand-pickup-complete-notice-alert.completed {
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    border-color: rgba(34, 197, 94, 0.35);
}
.errand-pickup-complete-notice-status.waiting,
.errand-pickup-complete-notice-alert.waiting {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}
.errand-pickup-complete-notice-status span,
.errand-pickup-complete-notice-alert span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    border-radius: 999px;
    padding: 8px 14px;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}
.errand-pickup-complete-notice-status.completed span,
.errand-pickup-complete-notice-alert.completed span {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
.errand-pickup-complete-notice-status strong,
.errand-pickup-complete-notice-alert strong {
    display: block;
    margin-top: 16px;
    color: #0f172a;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.25;
}
.errand-pickup-complete-notice-status p,
.errand-pickup-complete-notice-alert p {
    color: #64748b;
    line-height: 1.7;
    margin: 12px 0 0;
}
.errand-pickup-complete-notice-alert {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    margin: 22px 0;
}
.errand-pickup-complete-notice-alert a {
    border: 1px solid rgba(234, 98, 63, 0.24);
    border-radius: 999px;
    padding: 12px 18px;
    color: #9a3412;
    font-weight: 900;
    text-decoration: none;
    background: #fff;
}
.errand-pickup-complete-live-card,
.errand-pickup-complete-proof-card {
    margin: 28px 0;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}
.errand-pickup-complete-live-grid,
.errand-pickup-complete-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.errand-pickup-complete-live-grid article,
.errand-pickup-complete-proof-grid article {
    border-radius: 22px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.18);
}
.errand-pickup-complete-live-grid span,
.errand-pickup-complete-proof-grid span {
    display: block;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}
.errand-pickup-complete-live-grid strong,
.errand-pickup-complete-proof-grid strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.35;
    word-break: break-word;
}
.errand-pickup-complete-live-grid p,
.errand-pickup-complete-proof-grid p {
    color: #64748b;
    line-height: 1.6;
    margin: 8px 0 0;
}
.live-proof-grid strong {
    font-size: 18px;
}
@media (max-width: 980px) {
    .errand-pickup-complete-live-grid,
    .errand-pickup-complete-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .errand-pickup-complete-notice-alert {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .errand-pickup-complete-live-grid,
    .errand-pickup-complete-proof-grid {
        grid-template-columns: 1fr;
    }
}

/* Stage 486 - Errand delivery tracking */
.errand-delivery-tracking-page {
  background: radial-gradient(circle at top left, rgba(255, 112, 67, 0.08), transparent 32%), #fffaf5;
}
.errand-delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 42px 46px;
  margin: 28px auto 24px;
  max-width: 1280px;
  border-radius: 32px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 50px rgba(39, 30, 20, 0.08);
}
.errand-delivery-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.08;
  color: #111827;
}
.errand-delivery-hero p {
  color: #607086;
  font-size: 1.05rem;
  line-height: 1.85;
}
.errand-delivery-status {
  align-self: stretch;
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(160deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.errand-delivery-status.active {
  background: linear-gradient(160deg, #ecfdf5, #ffffff);
  border-color: #bbf7d0;
}
.errand-delivery-status.waiting {
  background: linear-gradient(160deg, #fff7ed, #ffffff);
}
.errand-delivery-status span,
.errand-delivery-live-panel span,
.errand-delivery-card-grid span {
  color: #f05a28;
  font-weight: 900;
  letter-spacing: .03em;
}
.errand-delivery-status strong {
  font-size: 1.55rem;
  color: #0f172a;
}
.errand-delivery-status small {
  color: #94a3b8;
  font-weight: 800;
}
.errand-delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto 28px;
}
.errand-delivery-map-card,
.errand-delivery-live-panel article,
.errand-delivery-tips {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(226, 232, 240, .85);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}
.errand-delivery-map-card {
  overflow: hidden;
}
.errand-delivery-map {
  height: 620px;
  min-height: 480px;
}
.errand-delivery-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 22px;
  color: #475569;
  font-weight: 800;
}
.errand-delivery-map-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: middle;
}
.errand-delivery-map-legend .provider-dot { background: #f97316; }
.errand-delivery-map-legend .pickup-dot { background: #0ea5e9; }
.errand-delivery-map-legend .dropoff-dot { background: #22c55e; }
.errand-delivery-map-legend .route-dot { background: #f97316; }
.errand-delivery-live-panel {
  display: grid;
  gap: 18px;
}
.errand-delivery-live-panel article {
  padding: 26px;
}
.errand-delivery-live-panel strong {
  display: block;
  margin: 10px 0;
  font-size: 1.8rem;
  color: #0f172a;
}
.errand-delivery-live-panel p,
.errand-delivery-card-grid p,
.errand-delivery-tips li {
  color: #64748b;
  line-height: 1.75;
}
.errand-delivery-card-grid {
  max-width: 1280px;
  margin: 0 auto 28px;
}
.errand-delivery-tips {
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 32px 38px;
}
@media (max-width: 960px) {
  .errand-delivery-hero,
  .errand-delivery-layout {
    grid-template-columns: 1fr;
  }
  .errand-delivery-hero {
    padding: 30px 22px;
    border-radius: 24px;
  }
  .errand-delivery-map {
    height: 460px;
  }
}


/* Stage 486 delivery tracking map hard repair */
.errand-delivery-layout,
.errand-delivery-map-card {
  min-width: 0;
}
.errand-delivery-map-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#deliveryTrackingMap,
.errand-delivery-map,
.errand-delivery-map.leaflet-container {
  display: block !important;
  width: 100% !important;
  height: 620px !important;
  min-height: 620px !important;
  max-height: 620px !important;
  position: relative !important;
  z-index: 1;
  background: #dfe5ec !important;
  border-radius: 28px 28px 0 0;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#deliveryTrackingMap .leaflet-pane,
#deliveryTrackingMap .leaflet-map-pane,
#deliveryTrackingMap .leaflet-tile-pane,
#deliveryTrackingMap .leaflet-overlay-pane,
#deliveryTrackingMap .leaflet-marker-pane,
#deliveryTrackingMap .leaflet-shadow-pane,
#deliveryTrackingMap .leaflet-tile-container {
  max-width: none !important;
  max-height: none !important;
  box-sizing: content-box !important;
}
#deliveryTrackingMap .leaflet-tile-pane,
#deliveryTrackingMap .leaflet-tile-container {
  overflow: visible !important;
}
#deliveryTrackingMap .leaflet-tile,
#deliveryTrackingMap img.leaflet-tile {
  position: absolute !important;
  display: block !important;
  width: 256px !important;
  height: 256px !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 256px !important;
  min-height: 256px !important;
  object-fit: fill !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
#deliveryTrackingMap .leaflet-marker-icon,
#deliveryTrackingMap .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}
#deliveryTrackingMap .leaflet-container a {
  color: inherit;
}
@media (max-width: 960px) {
  #deliveryTrackingMap,
  .errand-delivery-map,
  .errand-delivery-map.leaflet-container {
    height: 460px !important;
    min-height: 460px !important;
    max-height: 460px !important;
  }
}

/* Stage 486 marker always visible fix */
#deliveryTrackingMap .leaflet-pane.delivery-marker-pane {
  z-index: 690 !important;
}
#deliveryTrackingMap .leaflet-pane.delivery-label-pane {
  z-index: 760 !important;
  pointer-events: none;
}
#deliveryTrackingMap .errand-delivery-fixed-label {
  border: 3px solid #fff !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  padding: 8px 14px !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.24) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
#deliveryTrackingMap .errand-delivery-fixed-label::before {
  display: none !important;
}
#deliveryTrackingMap .errand-delivery-fixed-label.provider-label {
  background: linear-gradient(135deg, #f97316, #ef4444) !important;
}
#deliveryTrackingMap .errand-delivery-fixed-label.pickup-label {
  background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
}
#deliveryTrackingMap .errand-delivery-fixed-label.dropoff-label {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}


/* Stage 486 delivery map marker visible guarantee */
.errand-delivery-map-card .leaflet-tooltip.errand-delivery-marker-tooltip {
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, .92) !important;
  color: #fff !important;
  font-weight: 900 !important;
  padding: 6px 11px !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.18) !important;
}
.errand-delivery-map-card .leaflet-tooltip.errand-delivery-marker-tooltip::before { display: none !important; }

/* Stage 487 - errand delivery complete inline report */
.inline-delivery-complete-panel {
    margin-top: 28px;
}
.errand-delivery-complete-form-card .errand-section-title h2,
.errand-delivery-complete-proof h3 {
    letter-spacing: -0.02em;
}
.errand-delivery-complete-success {
    background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(20,184,166,.10));
    border: 1px solid rgba(34,197,94,.22);
    border-radius: 22px;
    padding: 18px 20px;
    margin: 0 0 18px;
    color: #0f5132;
}
.errand-delivery-complete-success strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: #0f172a;
}
.errand-delivery-complete-success p {
    margin: 0;
    color: #466078;
}

/* Stage 487 form layout fix - delivery complete same-page panel */
.inline-delivery-complete-panel .errand-delivery-complete-form-card {
    overflow: hidden;
}
.inline-delivery-complete-panel .errand-delivery-complete-form {
    display: grid;
    gap: 22px;
    width: 100%;
}
.inline-delivery-complete-panel .errand-delivery-complete-form.is-submitted {
    display: none !important;
}
.inline-delivery-complete-panel .errand-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    align-items: stretch;
}
.inline-delivery-complete-panel .errand-form-row.upload-row {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.inline-delivery-complete-panel .errand-delivery-complete-form label,
.inline-delivery-complete-panel .errand-note-field {
    display: grid;
    gap: 9px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
    color: #334155;
    font-weight: 900;
}
.inline-delivery-complete-panel .errand-delivery-complete-form label span,
.inline-delivery-complete-panel .errand-note-field span {
    display: block;
    color: #f05a28;
    font-size: .93rem;
    font-weight: 950;
}
.inline-delivery-complete-panel .errand-delivery-complete-form input,
.inline-delivery-complete-panel .errand-delivery-complete-form select,
.inline-delivery-complete-panel .errand-delivery-complete-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, .38);
    border-radius: 16px;
    padding: 13px 15px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 800;
    outline: none;
    box-sizing: border-box;
}
.inline-delivery-complete-panel .errand-delivery-complete-form input:focus,
.inline-delivery-complete-panel .errand-delivery-complete-form select:focus,
.inline-delivery-complete-panel .errand-delivery-complete-form textarea:focus {
    border-color: rgba(240, 90, 40, .65);
    box-shadow: 0 0 0 4px rgba(240, 90, 40, .10);
}
.inline-delivery-complete-panel .errand-delivery-complete-form input[type="file"] {
    padding: 10px 12px;
    background: #fff;
}
.inline-delivery-complete-panel .errand-delivery-complete-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 950;
    cursor: pointer;
}
.inline-delivery-complete-panel .errand-delivery-complete-form small {
    display: block;
    color: #64748b;
    font-weight: 800;
    line-height: 1.55;
}
.inline-delivery-complete-panel .errand-note-field {
    grid-column: 1 / -1;
}
.inline-delivery-complete-panel .errand-note-field textarea {
    min-height: 138px;
    resize: vertical;
}
.inline-delivery-complete-panel .errand-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding-top: 2px;
}
.inline-delivery-complete-panel .errand-form-actions button {
    min-height: 54px;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 950;
    cursor: pointer;
}
.errand-delivery-complete-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid rgba(34, 197, 94, .22);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(240,253,244,.98), rgba(255,255,255,.96));
}
.errand-delivery-complete-summary div {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.74);
}
.errand-delivery-complete-summary small {
    color: #64748b;
    font-weight: 900;
}
.errand-delivery-complete-summary strong {
    color: #0f172a;
    font-size: 1.05rem;
}
.errand-delivery-complete-summary p {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    color: #334155;
    font-weight: 850;
    line-height: 1.65;
}
@media (max-width: 900px) {
    .inline-delivery-complete-panel .errand-form-row,
    .inline-delivery-complete-panel .errand-form-row.upload-row,
    .errand-delivery-complete-summary {
        grid-template-columns: 1fr;
    }
}

/* Stage 488 - member errand cash payment confirmation */
.errand-cash-confirm-page .errand-cash-confirm-hero {
    align-items: stretch;
}
.errand-cash-confirm-status.confirmed {
    background: linear-gradient(135deg, rgba(240,253,244,.98), rgba(236,253,245,.96));
    border-color: rgba(34,197,94,.28);
}
.errand-cash-confirm-grid article strong {
    word-break: break-word;
}
.errand-cash-confirm-layout {
    margin-top: 28px;
}
.errand-cash-confirm-form-card {
    overflow: hidden;
}
.errand-cash-confirm-success {
    background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(20,184,166,.10));
    border: 1px solid rgba(34,197,94,.22);
    border-radius: 22px;
    padding: 18px 20px;
    margin: 0 0 18px;
    color: #0f5132;
}
.errand-cash-confirm-success strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: #0f172a;
}
.errand-cash-confirm-success p {
    margin: 0;
    color: #466078;
}
.errand-cash-confirm-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid rgba(240, 90, 40, .14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,247,237,.92), rgba(255,255,255,.96));
}
.errand-cash-confirm-summary div {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.78);
}
.errand-cash-confirm-summary small {
    color: #64748b;
    font-weight: 900;
}
.errand-cash-confirm-summary strong {
    color: #0f172a;
    font-size: 1.05rem;
}
.errand-cash-confirm-summary p {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    color: #334155;
    font-weight: 850;
    line-height: 1.65;
}
.errand-cash-confirm-form {
    display: grid;
    gap: 22px;
    width: 100%;
}
.errand-cash-confirm-form.is-submitted {
    display: none !important;
}
.errand-cash-confirm-form .errand-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    align-items: stretch;
}
.errand-cash-confirm-form .upload-row {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.errand-cash-confirm-form label,
.errand-cash-confirm-form .errand-note-field,
.errand-cash-check-row label {
    display: grid;
    gap: 9px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
    color: #334155;
    font-weight: 900;
}
.errand-cash-confirm-form label span,
.errand-cash-confirm-form .errand-note-field span,
.errand-cash-check-row label span {
    display: block;
    color: #f05a28;
    font-size: .93rem;
    font-weight: 950;
}
.errand-cash-confirm-form input,
.errand-cash-confirm-form select,
.errand-cash-confirm-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, .38);
    border-radius: 16px;
    padding: 13px 15px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 800;
    outline: none;
    box-sizing: border-box;
}
.errand-cash-confirm-form input:focus,
.errand-cash-confirm-form select:focus,
.errand-cash-confirm-form textarea:focus {
    border-color: rgba(240, 90, 40, .65);
    box-shadow: 0 0 0 4px rgba(240, 90, 40, .10);
}
.errand-cash-confirm-form input[type="file"] {
    padding: 10px 12px;
    background: #fff;
}
.errand-cash-confirm-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 950;
    cursor: pointer;
}
.errand-cash-confirm-form small,
.errand-cash-check-row small {
    display: block;
    color: #64748b;
    font-weight: 800;
    line-height: 1.55;
}
.errand-cash-check-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.errand-cash-check-row label {
    grid-template-columns: auto 1fr;
    align-items: start;
}
.errand-cash-check-row label input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: #f05a28;
}
.errand-cash-check-row label small {
    grid-column: 2;
}
.errand-cash-confirm-form .errand-note-field {
    grid-column: 1 / -1;
}
.errand-cash-confirm-form .errand-note-field textarea {
    min-height: 138px;
    resize: vertical;
}
.errand-cash-confirm-form .errand-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding-top: 2px;
}
.errand-cash-confirm-form .errand-form-actions button,
.errand-cash-confirm-form .errand-form-actions a {
    min-height: 54px;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 950;
}
.errand-cash-confirm-form .errand-form-actions button {
    cursor: pointer;
}
@media (max-width: 900px) {
    .errand-cash-confirm-form .errand-form-row,
    .errand-cash-confirm-form .upload-row,
    .errand-cash-check-row,
    .errand-cash-confirm-summary {
        grid-template-columns: 1fr;
    }
}

/* Stage 488 merchant-side provider GPS page */
.errand-merchant-mode-note {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 800;
}

/* Stage 488 fix: 商家後台版跑腿 GPS 執行頁 */
.errand-merchant-backend-body .merchant-content.errand-merchant-gps-content {
    width: min(1380px, calc(100% - 32px));
    padding-top: 24px;
}

.errand-merchant-backend-body .errand-merchant-provider-gps-page {
    min-height: auto;
    background: transparent;
    padding-bottom: 32px;
}

.errand-merchant-backend-body .errand-provider-gps-status-hero,
.errand-merchant-backend-body .errand-start-report-layout,
.errand-merchant-backend-body .errand-provider-gps-status-grid,
.errand-merchant-backend-body .errand-provider-gps-note {
    max-width: none;
}

.errand-merchant-backend-body .errand-provider-gps-status-hero {
    padding-top: 0;
}

.errand-merchant-backend-body .errand-back {
    color: #7d5f3c;
}

.errand-merchant-backend-body .errand-merchant-mode-note {
    border: 1px solid rgba(217, 120, 41, .22);
    border-radius: 20px;
    background: rgba(255, 250, 244, .86);
    padding: 14px 18px;
    color: #5f5045;
    font-weight: 900;
}

.errand-merchant-backend-body .errand-hero-actions button,
.errand-merchant-backend-body .errand-hero-actions a {
    box-shadow: none;
}

.errand-merchant-backend-body .errand-start-report-status-card,
.errand-merchant-backend-body .errand-start-report-card,
.errand-merchant-backend-body .errand-start-report-warning-section,
.errand-merchant-backend-body .errand-provider-gps-status-grid article,
.errand-merchant-backend-body .errand-provider-gps-note {
    box-shadow: 0 18px 44px rgba(99, 73, 45, .10);
}

/* Stage 488 merchant errand provider list fix */
.errand-disabled-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px dashed rgba(15, 92, 82, .28);
    background: rgba(15, 92, 82, .06);
    color: #0f5c52;
    font-weight: 900;
    letter-spacing: .02em;
}
.errand-merchant-provider-list-content .errand-provider-page {
    padding-top: 0;
}
.errand-merchant-provider-list-page .errand-provider-hero {
    margin-top: 0;
}
.errand-merchant-provider-list-page .errand-provider-filter form {
    align-items: end;
}
.errand-merchant-provider-list-page .errand-provider-actions a.primary {
    background: linear-gradient(135deg, #ff6a3d, #e0791b);
    color: #fff;
    border-color: transparent;
}

/* Stage 488 redo: member GPS errand request should show merchant-side willing providers */
.errand-provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.errand-provider-badges > span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.errand-provider-badges > span:first-child {
  background: rgba(8, 117, 89, .10);
  color: #087559;
}
.merchant-provider-badge {
  background: rgba(244, 110, 78, .12) !important;
  color: #e85b38 !important;
  border: 1px solid rgba(244, 110, 78, .24);
}

/* Stage 494 - Merchant errand accept center */
.errand-merchant-accept-content {
    padding: 32px;
    background: linear-gradient(135deg, #fff8f2 0%, #f8fbf8 55%, #fffaf5 100%);
}
.errand-accept-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}
.errand-accept-hero > div,
.errand-accept-hero > aside,
.errand-accept-toast,
.errand-accept-filter-card,
.errand-accept-side,
.errand-accept-card,
.errand-accept-stats article {
    border: 1px solid rgba(213, 118, 35, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 45px rgba(60, 40, 25, .08);
}
.errand-accept-hero > div,
.errand-accept-hero > aside {
    padding: 32px;
}
.errand-accept-hero span,
.errand-section-title span,
.errand-accept-side > span {
    display: inline-block;
    color: #e46323;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.errand-accept-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: .98;
    color: #101827;
    letter-spacing: -0.06em;
}
.errand-accept-hero p,
.errand-accept-hero li,
.errand-accept-side p,
.errand-accept-note,
.errand-section-title p {
    color: #5e718d;
    font-weight: 700;
    line-height: 1.8;
}
.errand-accept-actions,
.errand-accept-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.errand-accept-actions a,
.errand-accept-card-actions a,
.errand-accept-card-actions button,
.errand-accept-filter-card button {
    border: 1px solid rgba(213, 118, 35, .24);
    border-radius: 999px;
    padding: 13px 20px;
    text-decoration: none;
    color: #a85010;
    background: #fff;
    font-weight: 900;
    cursor: pointer;
}
.errand-accept-actions .primary,
.errand-accept-card-actions .primary,
.errand-accept-filter-card button {
    background: linear-gradient(135deg, #ff7a2f, #ef4e3f);
    color: #fff;
    border-color: transparent;
}
.errand-accept-toast {
    padding: 18px 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ecfff6, #f7fffb);
    border-color: rgba(32, 178, 112, .25);
}
.errand-accept-toast strong {
    display: block;
    color: #0c7a4c;
    font-size: 20px;
    margin-bottom: 6px;
}
.errand-accept-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.errand-accept-stats article {
    padding: 22px;
}
.errand-accept-stats span,
.errand-accept-card small,
.errand-accept-filter-card label,
.errand-accept-status small {
    color: #e46323;
    font-size: 13px;
    font-weight: 900;
}
.errand-accept-stats strong {
    display: block;
    color: #0d1b2a;
    font-size: 32px;
    margin: 8px 0;
}
.errand-accept-filter-card {
    padding: 18px;
    margin-bottom: 24px;
}
.errand-accept-filter-card form {
    display: flex;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
}
.errand-accept-filter-card label {
    display: grid;
    gap: 8px;
    min-width: 180px;
}
.errand-accept-filter-card select {
    border: 1px solid rgba(94, 113, 141, .24);
    border-radius: 18px;
    padding: 12px 14px;
    background: #fff;
    color: #0d1b2a;
    font-weight: 900;
}
.errand-accept-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
}
.errand-accept-side {
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 18px;
}
.errand-accept-side h2,
.errand-section-title h2 {
    margin: 0 0 12px;
    color: #142033;
    font-size: 32px;
    letter-spacing: -0.04em;
}
.errand-accept-rules {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.errand-accept-rules article {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(213, 118, 35, .16);
    background: #fffaf4;
}
.errand-accept-rules strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e17922;
    color: #fff;
}
.errand-accept-rules h3 {
    margin: 12px 0 6px;
}
.errand-accept-list {
    display: grid;
    gap: 18px;
}
.errand-accept-card {
    padding: 24px;
}
.errand-accept-card-head,
.errand-accept-route,
.errand-accept-meta {
    display: grid;
    gap: 14px;
}
.errand-accept-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 16px;
}
.errand-accept-card-head span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eafff5;
    color: #087653;
    font-weight: 900;
    margin-bottom: 10px;
}
.errand-accept-card h3 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #142033;
}
.errand-accept-status {
    text-align: right;
}
.errand-accept-status strong {
    display: block;
    margin-top: 4px;
    color: #ef4e3f;
    font-size: 20px;
}
.errand-accept-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}
.errand-accept-route > div,
.errand-accept-meta > div {
    border: 1px solid rgba(94, 113, 141, .15);
    border-radius: 20px;
    background: #fbfdff;
    padding: 16px;
}
.errand-accept-route strong,
.errand-accept-meta strong {
    display: block;
    margin-top: 6px;
    color: #0d1b2a;
    font-size: 18px;
}
.errand-accept-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}
.errand-accept-note {
    padding: 16px;
    border-radius: 20px;
    background: #fff7ed;
    border: 1px dashed rgba(213, 118, 35, .24);
}
.errand-decline-form button {
    color: #6b7280;
}
@media (max-width: 1180px) {
    .errand-accept-hero,
    .errand-accept-layout {
        grid-template-columns: 1fr;
    }
    .errand-accept-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .errand-accept-side {
        position: static;
    }
}
@media (max-width: 720px) {
    .errand-merchant-accept-content {
        padding: 18px;
    }
    .errand-accept-stats,
    .errand-accept-route,
    .errand-accept-meta,
    .errand-accept-card-head {
        grid-template-columns: 1fr;
    }
    .errand-accept-status {
        text-align: left;
    }
}

/* Stage 494 realtime accept flow */
.errand-live-flow-box,
.member-provider-live-status {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(20, 184, 166, 0.26);
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.94), rgba(255, 247, 237, 0.86));
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}
.errand-live-flow-box span,
.member-provider-live-status span {
    display: block;
    color: #0f766e;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: 7px;
}
.errand-live-flow-box strong,
.member-provider-live-status strong {
    display: block;
    color: #0f172a;
    font-size: 1.16rem;
    line-height: 1.35;
    margin-bottom: 6px;
}
.errand-live-flow-box p,
.member-provider-live-status p {
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 8px;
}
.errand-live-flow-box small,
.member-provider-live-status small {
    color: #94a3b8;
    font-weight: 800;
}
.errand-accept-card-actions .accepted {
    border: 0;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.18);
}
.errand-accept-card-actions .chat,
.errand-accept-card-actions .detail {
    border: 1px solid rgba(234, 88, 12, 0.22);
    background: #fff;
    border-radius: 999px;
    padding: 13px 20px;
    color: #92400e;
    font-weight: 900;
    text-decoration: none;
}
.errand-accept-card-actions .is-disabled,
.errand-provider-actions .is-disabled {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(.2);
}
.errand-accept-card-actions .is-hidden,
.errand-decline-form.is-hidden,
.js-accept-form.is-hidden,
.js-accepted-badge.is-hidden {
    display: none !important;
}
.errand-provider-actions button.primary {
    border: 0;
    cursor: pointer;
}
.member-provider-live-status {
    margin-top: 16px;
}

/* Stage 494 redo: member provider list realtime reveal */
.errand-provider-empty-state {
    padding: 26px;
    border: 1px dashed rgba(234, 88, 12, .34);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 247, 237, .96), rgba(240, 253, 250, .78));
    box-shadow: 0 18px 38px rgba(15, 23, 42, .05);
}
.errand-provider-empty-state span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(234, 88, 12, .1);
    color: #c2410c;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
}
.errand-provider-empty-state h3 {
    margin: 14px 0 8px;
    color: #0f172a;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
}
.errand-provider-empty-state p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
    font-weight: 780;
}
.errand-provider-list.is-waiting-provider article {
    display: none !important;
}
.errand-provider-empty-state.is-hidden {
    display: none !important;
}

/* Stage 494：會員端服務者列表只顯示已接單商家 */
.member-provider-live-status {
    border: 1px solid rgba(20, 184, 166, 0.25);
    background: linear-gradient(135deg, #f0fdfa 0%, #fffaf4 100%);
    border-radius: 24px;
    padding: 22px 26px;
    margin-top: 24px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.member-provider-live-status span {
    display: inline-block;
    color: #0f766e;
    font-weight: 900;
    margin-bottom: 10px;
}

.member-provider-live-status strong {
    display: block;
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 8px;
}

.member-provider-live-status p {
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.7;
}

.member-provider-live-status small {
    color: #94a3b8;
    font-weight: 800;
}

.errand-provider-empty-state {
    border: 1px dashed rgba(249, 115, 22, 0.42);
    background: linear-gradient(135deg, #fff7ed 0%, #f0fdfa 100%);
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 28px;
}

.errand-provider-empty-state.is-hidden {
    display: none !important;
}

.errand-provider-empty-state span {
    display: inline-flex;
    color: #ea580c;
    background: #ffedd5;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 900;
    margin-bottom: 14px;
}

.errand-provider-empty-state h3 {
    color: #0f172a;
    font-size: clamp(28px, 3vw, 44px);
    margin: 0 0 14px;
}

.errand-provider-empty-state p {
    color: #64748b;
    font-weight: 800;
    line-height: 1.8;
    margin: 0;
}

.only-accepted-provider-card {
    border: 1px solid rgba(20, 184, 166, 0.35) !important;
    background: linear-gradient(135deg, #f0fdfa 0%, #fffaf4 100%) !important;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.08) !important;
}

.only-accepted-provider-card .merchant-provider-badge {
    background: #fee2e2;
    color: #dc2626;
}

@media (max-width: 768px) {
    .member-provider-live-status,
    .errand-provider-empty-state {
        padding: 22px;
        border-radius: 22px;
    }
}

/* Stage 633 - 回復 /services 上次的卡片列表畫面 */
.restore-services-page {
    padding-top: 42px;
}

.restore-list-section {
    padding-top: 0;
}

.restore-card-grid {
    gap: 24px;
}

.restore-service-card {
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(97, 71, 44, .08);
}

.restore-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(97, 71, 44, .12);
}

.restore-service-card img {
    height: 232px;
}

.restore-service-card .card-content {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 22px 24px 24px;
}

.restore-service-card .area-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    color: #655f58;
    font-size: 17px;
    font-weight: 900;
}

.restore-service-card .desc {
    flex: 1;
    min-height: auto;
    margin: 0;
    color: #5d5750;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 800;
}

.restore-service-card .card-bottom {
    padding: 0;
    margin-top: 28px;
}

.restore-service-card .card-bottom strong {
    color: var(--gold);
    font-size: 18px;
    font-weight: 950;
}

.restore-service-card .card-bottom em {
    background: #f6eee7;
    color: #6c645b;
    font-weight: 900;
}

.restore-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 12px 30px rgba(94, 65, 43, .06);
}

.restore-result-meta div {
    display: grid;
    gap: 4px;
}

.restore-result-meta strong {
    color: #2b2926;
    font-weight: 950;
}

.restore-result-meta span {
    color: var(--muted);
    font-weight: 800;
}

.restore-filter-drawer {
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 12px 30px rgba(94, 65, 43, .06);
    overflow: hidden;
}

.restore-filter-drawer summary {
    cursor: pointer;
    padding: 18px 22px;
    color: #4b4640;
    font-weight: 950;
    list-style: none;
}

.restore-filter-drawer summary::-webkit-details-marker {
    display: none;
}

.restore-filter-drawer summary::after {
    content: "＋";
    float: right;
    color: var(--coral);
    font-weight: 950;
}

.restore-filter-drawer[open] summary::after {
    content: "－";
}

.restore-filter-card {
    padding: 0 22px 22px;
}

@media (max-width: 720px) {
    .restore-services-page {
        padding-top: 24px;
    }

    .restore-service-card img {
        height: 210px;
    }

    .restore-service-card .card-content {
        min-height: auto;
    }

    .restore-result-meta {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Stage 634 - /services 會員端生活服務漂亮版 */
.services-polished-page {
    min-height: 100vh;
    padding: 34px 0 70px;
    background:
        radial-gradient(circle at 10% 10%, rgba(241, 112, 87, .08), transparent 28%),
        radial-gradient(circle at 92% 34%, rgba(36, 127, 118, .10), transparent 25%),
        #fffaf4;
    color: #22201d;
}

.services-polished-page .container {
    max-width: 1320px;
}

.services-polished-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 22px;
}

.services-polished-hero .hero-copy,
.hero-mini-stats,
.services-polished-filter,
.services-polished-results {
    border: 1px solid rgba(226, 207, 184, .78);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 20px 50px rgba(102, 73, 44, .08);
    backdrop-filter: blur(16px);
}

.services-polished-hero .hero-copy {
    padding: 34px 40px;
    border-radius: 34px;
}

.services-polished-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f7770;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .16em;
}

.services-polished-page .eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef7057;
    box-shadow: 18px 0 0 #0f7770;
}

.services-polished-hero h1 {
    margin: 12px 0 12px;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.04em;
}

.services-polished-hero p,
.services-polished-results .section-head p {
    margin: 0;
    color: #665e55;
    line-height: 1.8;
    font-size: 17px;
    font-weight: 800;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
    border-radius: 34px;
}

.hero-mini-stats article {
    padding: 18px 20px;
    border: 1px solid rgba(25, 122, 112, .12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(239, 248, 244, .95), rgba(255, 250, 243, .95));
}

.hero-mini-stats strong {
    display: block;
    color: #0f7770;
    font-size: 18px;
    font-weight: 950;
}

.hero-mini-stats span {
    display: block;
    margin-top: 5px;
    color: #71675e;
    line-height: 1.55;
    font-size: 14px;
    font-weight: 800;
}

.services-polished-filter {
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 30px;
}

.filter-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(180px, .9fr) minmax(160px, .8fr) minmax(140px, .62fr) minmax(132px, .58fr) auto;
    gap: 12px;
    align-items: end;
}

.filter-field {
    display: grid;
    gap: 8px;
}

.filter-field span {
    color: #514a43;
    font-size: 14px;
    font-weight: 950;
}

.filter-field input,
.filter-field select {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(225, 205, 182, .9);
    border-radius: 17px;
    background: #fffaf4;
    color: #28231f;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 850;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: rgba(15, 119, 112, .45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 119, 112, .10);
}

.filter-actions.compact {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.filter-actions.compact .soft-btn,
.filter-actions.compact .coral-btn {
    min-width: 82px;
    height: 52px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    text-decoration: none;
}

.quick-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.quick-chip-row a {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(225, 205, 182, .9);
    border-radius: 999px;
    background: #fff;
    color: #554c43;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-chip-row a:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 112, 87, .45);
    box-shadow: 0 12px 24px rgba(239, 112, 87, .10);
}

.services-polished-results {
    padding: 26px;
    border-radius: 34px;
}

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

.services-polished-results h2 {
    margin: 8px 0 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: -.04em;
}

.services-polished-results .section-head p {
    max-width: 480px;
    text-align: right;
    font-size: 15px;
}

.polished-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.polished-service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 207, 184, .86);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(83, 62, 41, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.polished-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 112, 87, .35);
    box-shadow: 0 26px 56px rgba(83, 62, 41, .13);
}

.polished-service-card .card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.polished-service-card .image-wrap {
    position: relative;
    height: 232px;
    overflow: hidden;
    background: #f4eee8;
}

.polished-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .28s ease;
}

.polished-service-card:hover img {
    transform: scale(1.055);
}

.mode-pill {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f7770;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
}

.polished-service-card .card-content {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 22px 24px 24px;
}

.polished-service-card .tag.teal {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0f7770;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.polished-service-card h3 {
    min-height: 68px;
    margin: 14px 0 8px;
    color: #121921;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: -.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.polished-service-card .area-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 12px;
    color: #6a6259;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 900;
}

.polished-service-card .star {
    color: #dd9a20;
}

.polished-service-card .desc {
    min-height: 90px;
    margin: 0;
    color: #5e574f;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.service-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff6ec;
    color: #8a5b1e;
    font-size: 12px;
    font-weight: 950;
}

.polished-service-card .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
}

.polished-service-card .card-bottom strong {
    color: #d88b0e;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 950;
}

.polished-service-card .card-bottom em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f15f49;
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(241, 95, 73, .20);
}

.service-card--clean { order: -60; }
.service-card--laundry { order: -55; }
.service-card--repair { order: -50; }
.service-card--errand { order: -45; }
.service-card--care { order: -40; }
.service-card--pet { order: -35; }

.service-card--laundry {
    border-color: rgba(15, 119, 112, .28);
}

.service-card--laundry::after {
    content: "自助洗衣代送洗";
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 119, 112, .94);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(15, 119, 112, .22);
}

.polished-empty {
    border-radius: 26px;
    background: #fff;
}

.restore-filter-drawer {
    display: none !important;
}

@media (max-width: 1180px) {
    .services-polished-hero,
    .filter-toolbar {
        grid-template-columns: 1fr;
    }

    .filter-actions.compact {
        justify-content: flex-start;
    }

    .polished-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-polished-results .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-polished-results .section-head p {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .services-polished-page {
        padding-top: 20px;
    }

    .services-polished-hero .hero-copy,
    .services-polished-filter,
    .services-polished-results {
        border-radius: 24px;
        padding: 20px;
    }

    .hero-mini-stats {
        border-radius: 24px;
    }

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

    .polished-service-card .image-wrap {
        height: 210px;
    }

    .polished-service-card .card-content {
        min-height: auto;
    }

    .polished-service-card h3 {
        min-height: auto;
    }

    .polished-service-card .desc {
        min-height: auto;
    }
}

/* Stage 635 - 會員端居家清潔服務 */
.home-cleaning-page {
    min-height: 100vh;
    padding: 34px 0 82px;
    background:
        radial-gradient(circle at 9% 8%, rgba(241, 112, 87, .12), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(15, 119, 112, .13), transparent 24%),
        linear-gradient(180deg, #fffaf4 0%, #fff7ef 42%, #ffffff 100%);
    color: #201c18;
    font-family: "Noto Sans TC", sans-serif;
}

.home-cleaning-page .container {
    max-width: 1320px;
}

.home-cleaning-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
}

.home-cleaning-hero-copy,
.home-cleaning-hero-card,
.home-cleaning-overview article,
.home-cleaning-section-card,
.home-cleaning-estimate-card,
.home-cleaning-provider-card,
.home-cleaning-trust-section,
.home-cleaning-booking-card {
    border: 1px solid rgba(225, 205, 182, .86);
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 24px 60px rgba(92, 65, 38, .10);
    backdrop-filter: blur(16px);
}

.home-cleaning-hero-copy {
    position: relative;
    overflow: hidden;
    padding: 38px 42px;
    border-radius: 36px;
}

.home-cleaning-hero-copy::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -78px;
    bottom: -82px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 119, 112, .15), rgba(241, 112, 87, .12));
}

.home-cleaning-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #7a6354;
    text-decoration: none;
    font-weight: 900;
}

.home-cleaning-back:hover {
    color: #ef624b;
}

.home-cleaning-eyebrow,
.home-cleaning-section-head span,
.booking-copy span,
.side-title span,
.home-cleaning-estimate-card > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f7770;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .16em;
}

.home-cleaning-eyebrow::before,
.home-cleaning-section-head span::before,
.booking-copy span::before,
.side-title span::before,
.home-cleaning-estimate-card > span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef624b;
    box-shadow: 16px 0 0 #0f7770;
}

.home-cleaning-hero h1 {
    position: relative;
    z-index: 1;
    margin: 12px 0 16px;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -.055em;
}

.home-cleaning-hero p,
.home-cleaning-section-head p,
.booking-copy p,
.home-cleaning-trust-section .centered p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #665d54;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 800;
}

.home-cleaning-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-cleaning-primary-btn,
.home-cleaning-secondary-btn,
.home-cleaning-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-cleaning-primary-btn,
.home-cleaning-form button {
    background: linear-gradient(135deg, #ef624b, #f08d56);
    color: #fff;
    box-shadow: 0 16px 28px rgba(239, 98, 75, .22);
}

.home-cleaning-secondary-btn {
    border: 1px solid rgba(15, 119, 112, .18);
    background: #fff;
    color: #0f7770;
}

.home-cleaning-primary-btn:hover,
.home-cleaning-secondary-btn:hover,
.home-cleaning-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(239, 98, 75, .18);
}

.home-cleaning-hero-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-cleaning-hero-badges span,
.home-cleaning-package-grid article > span,
.home-cleaning-check-grid article > span,
.home-cleaning-trust-grid article > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf8f5;
    color: #0f7770;
    font-size: 13px;
    font-weight: 950;
}

.home-cleaning-hero-card {
    overflow: hidden;
    border-radius: 36px;
}

.hero-card-image {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: #efe4d9;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-image span {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    color: #0f7770;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.hero-card-body {
    padding: 26px;
}

.hero-card-body strong {
    display: block;
    color: #15191d;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 950;
}

.hero-card-body p {
    margin: 12px 0 20px;
    color: #6b625b;
    line-height: 1.8;
    font-weight: 800;
}

.hero-card-body dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.hero-card-body dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(225, 205, 182, .75);
    border-radius: 18px;
    background: #fffaf4;
}

.hero-card-body dt,
.hero-card-body dd {
    margin: 0;
    font-weight: 950;
}

.hero-card-body dt {
    color: #7a6c60;
}

.hero-card-body dd {
    color: #0f7770;
    text-align: right;
}

.home-cleaning-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.home-cleaning-overview article {
    padding: 22px;
    border-radius: 26px;
}

.home-cleaning-overview strong {
    color: #ef624b;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .12em;
}

.home-cleaning-overview h2 {
    margin: 10px 0 8px;
    color: #171717;
    font-size: 22px;
    font-weight: 950;
}

.home-cleaning-overview p {
    margin: 0;
    color: #6e6259;
    line-height: 1.7;
    font-weight: 800;
}

.home-cleaning-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.home-cleaning-main,
.home-cleaning-side {
    display: grid;
    gap: 24px;
}

.home-cleaning-side {
    position: sticky;
    top: 18px;
}

.home-cleaning-section-card,
.home-cleaning-booking-card,
.home-cleaning-trust-section {
    padding: 28px;
    border-radius: 34px;
}

.home-cleaning-section-head {
    margin-bottom: 22px;
}

.home-cleaning-section-head.compact {
    margin-bottom: 16px;
}

.home-cleaning-section-head.centered {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
}

.home-cleaning-section-head.centered span {
    justify-content: center;
}

.home-cleaning-section-head h2,
.booking-copy h2,
.side-title h2,
.home-cleaning-trust-section h2 {
    margin: 8px 0 8px;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 900;
    letter-spacing: -.04em;
}

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

.home-cleaning-package-grid article,
.home-cleaning-check-grid article,
.home-cleaning-addon-list article,
.home-cleaning-trust-grid article {
    border: 1px solid rgba(225, 205, 182, .82);
    border-radius: 24px;
    background: #fffaf4;
}

.home-cleaning-package-grid article {
    padding: 22px;
}

.home-cleaning-package-grid article.featured {
    background: linear-gradient(135deg, #fff5ee, #edf8f5);
    border-color: rgba(15, 119, 112, .24);
}

.home-cleaning-package-grid h3,
.home-cleaning-check-grid h3,
.home-cleaning-trust-grid h3 {
    margin: 14px 0 8px;
    color: #171717;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 950;
}

.home-cleaning-package-grid p,
.home-cleaning-check-grid p,
.home-cleaning-addon-list p,
.home-cleaning-trust-grid p {
    margin: 0;
    color: #655d55;
    line-height: 1.75;
    font-weight: 800;
}

.home-cleaning-package-grid small {
    display: block;
    margin-top: 14px;
    color: #8a7a6d;
    line-height: 1.65;
    font-weight: 850;
}

.home-cleaning-package-grid b {
    display: inline-flex;
    margin-top: 14px;
    color: #ef624b;
    font-weight: 950;
}

.home-cleaning-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-cleaning-check-grid article {
    padding: 18px;
}

.home-cleaning-addon-list {
    display: grid;
    gap: 12px;
}

.home-cleaning-addon-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.home-cleaning-addon-list strong {
    color: #171717;
    font-size: 18px;
    font-weight: 950;
}

.home-cleaning-addon-list span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: #ef624b;
    font-size: 13px;
    font-weight: 950;
}

.home-cleaning-estimate-card,
.home-cleaning-provider-card {
    padding: 24px;
    border-radius: 30px;
}

.home-cleaning-estimate-card h2 {
    margin: 12px 0 4px;
    color: #ef624b;
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.home-cleaning-estimate-card p {
    margin: 0 0 18px;
    color: #6e6259;
    font-weight: 850;
}

.estimate-bars {
    display: grid;
    gap: 10px;
}

.estimate-bars div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 17px;
    background: #fffaf4;
}

.estimate-bars b,
.estimate-bars strong {
    font-size: 14px;
    font-weight: 950;
}

.estimate-bars b {
    color: #7a6c60;
}

.estimate-bars strong {
    color: #0f7770;
    text-align: right;
}

.home-cleaning-provider-card article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(225, 205, 182, .72);
}

.home-cleaning-provider-card article:first-of-type {
    border-top: 0;
}

.home-cleaning-provider-card img {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    object-fit: cover;
}

.home-cleaning-provider-card strong {
    display: block;
    color: #171717;
    font-weight: 950;
}

.home-cleaning-provider-card p {
    margin: 5px 0;
    color: #6d6259;
    font-weight: 850;
}

.home-cleaning-provider-card p span {
    color: #d6921d;
}

.home-cleaning-provider-card small {
    display: block;
    color: #71675d;
    line-height: 1.45;
    font-weight: 800;
}

.home-cleaning-provider-card mark {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf8f5;
    color: #0f7770;
    font-size: 12px;
    font-weight: 950;
}

.home-cleaning-trust-section {
    margin-top: 24px;
}

.home-cleaning-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-cleaning-trust-grid article {
    padding: 20px;
}

.home-cleaning-trust-grid article > b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 15px;
    background: #ef624b;
    color: #fff;
    font-weight: 950;
}

.home-cleaning-booking-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

.home-cleaning-form {
    display: grid;
    gap: 22px;
}

.home-cleaning-form section {
    padding: 22px;
    border: 1px solid rgba(225, 205, 182, .82);
    border-radius: 26px;
    background: #fffaf4;
}

.home-cleaning-form h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 950;
}

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

.home-cleaning-form label {
    display: grid;
    gap: 8px;
    color: #514a43;
    font-weight: 950;
}

.home-cleaning-form label.wide {
    grid-column: 1 / -1;
}

.home-cleaning-form input,
.home-cleaning-form select,
.home-cleaning-form textarea {
    width: 100%;
    border: 1px solid rgba(225, 205, 182, .92);
    border-radius: 17px;
    background: #fff;
    color: #26211e;
    padding: 13px 15px;
    font-weight: 850;
    outline: 0;
}

.home-cleaning-form input:focus,
.home-cleaning-form select:focus,
.home-cleaning-form textarea:focus {
    border-color: rgba(15, 119, 112, .45);
    box-shadow: 0 0 0 4px rgba(15, 119, 112, .10);
}

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

.choice-grid.addon {
    margin-top: 12px;
}

.choice-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(225, 205, 182, .8);
    border-radius: 16px;
    background: #fff;
    color: #4a433e;
    font-size: 14px;
    font-weight: 900;
}

.choice-grid input {
    width: auto;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, #173f3b, #0f7770);
    color: #fff;
}

.form-submit-row strong {
    display: block;
    font-size: 24px;
    font-weight: 950;
}

.form-submit-row p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.home-cleaning-form .form-submit-row button {
    flex: 0 0 auto;
    min-width: 180px;
}

@media (max-width: 1180px) {
    .home-cleaning-hero,
    .home-cleaning-layout,
    .home-cleaning-booking-card {
        grid-template-columns: 1fr;
    }

    .home-cleaning-overview,
    .home-cleaning-check-grid,
    .home-cleaning-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-cleaning-side {
        position: static;
    }
}

@media (max-width: 720px) {
    .home-cleaning-page {
        padding-top: 20px;
    }

    .home-cleaning-hero-copy,
    .home-cleaning-section-card,
    .home-cleaning-booking-card,
    .home-cleaning-trust-section,
    .home-cleaning-estimate-card,
    .home-cleaning-provider-card {
        border-radius: 24px;
        padding: 20px;
    }

    .home-cleaning-overview,
    .home-cleaning-package-grid,
    .home-cleaning-check-grid,
    .home-cleaning-trust-grid,
    .form-grid,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .home-cleaning-hero-actions,
    .form-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .home-cleaning-primary-btn,
    .home-cleaning-secondary-btn,
    .home-cleaning-form .form-submit-row button {
        width: 100%;
    }

    .hero-card-image {
        height: 230px;
    }
}

/* Solo+ 跑腿代辦最後確認媒合：錯誤提示與唯讀正式報價 */
.errand-cash-alert.errand-cash-alert-error {
    border-color: #efb7aa;
    background: #fff3ef;
}
.errand-cash-alert.errand-cash-alert-error strong,
.errand-cash-alert.errand-cash-alert-error p {
    color: #a63f2d;
}
.errand-cash-form-grid label small {
    display: block;
    margin-top: 8px;
    color: #6b7774;
    font-size: 13px;
    line-height: 1.55;
}
.errand-cash-form-grid input[readonly] {
    background: #f4f8f6;
    color: #0f5148;
    cursor: default;
}
