:root {
    --navy: #071e41;
    --navy-2: #102f5f;
    --orange: #f28b00;
    --orange-2: #f6a329;
    --cream: #fbf7ef;
    --paper: #ffffff;
    --ink: #14213d;
    --muted: #6d7484;
    --line: #e6eaf1;
    --soft: #f5f7fa;
    --teal: #227c70;
    --danger: #9f2f2f;
    --shadow: 0 18px 45px rgba(7, 30, 65, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    display: block;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 10px clamp(18px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.topbar-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 30px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--navy);
    white-space: nowrap;
    min-width: 0;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tabs {
    display: flex;
    gap: 6px;
    min-width: 0;
}

.tab {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 18px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
}

.tab.active {
    background: var(--navy);
    color: #fff;
}

.account-actions,
.hero-actions,
.form-actions,
.detail-actions,
.actions-cell,
.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-actions {
    justify-content: flex-end;
}

.solid-button,
.ghost-button,
.danger-button,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.solid-button {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.solid-button:hover {
    background: #d97800;
    border-color: #d97800;
}

.ghost-button {
    background: #fff;
    color: var(--navy);
    border-color: var(--line);
}

.danger-button {
    background: #fff;
    color: var(--danger);
    border-color: rgba(159, 47, 47, 0.35);
}

.danger-button:hover {
    background: rgba(159, 47, 47, 0.08);
    border-color: rgba(159, 47, 47, 0.55);
}

.link-button {
    color: var(--navy);
    background: transparent;
}

.large {
    min-height: 46px;
    padding: 0 22px;
}

.small {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.full {
    width: 100%;
}

.messages {
    position: fixed;
    right: 18px;
    top: 86px;
    z-index: 30;
    display: grid;
    gap: 10px;
    max-width: min(360px, calc(100vw - 36px));
}

.message {
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.message.success {
    border-color: rgba(34, 124, 112, 0.35);
    color: var(--teal);
}

.message.error {
    border-color: rgba(159, 47, 47, 0.28);
    color: var(--danger);
}

.site-footer {
    padding: 18px 16px 24px;
    text-align: center;
    color: var(--muted);
    background: var(--cream);
    font-size: 13px;
}

.site-footer a {
    color: inherit;
}

.site-footer a:hover {
    color: var(--navy);
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: clamp(56px, 8vw, 110px) clamp(22px, 7vw, 96px);
    background:
        /*linear-gradient(90deg, rgba(251, 247, 239, 0.96) 0%, rgba(251, 247, 239, 0.86) 43%, rgba(251, 247, 239, 0.16) 72%),*/
        var(--hero-image) right bottom / auto 100% no-repeat,
        #f4ede4;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--navy), var(--orange), var(--teal));
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: min(860px, 58vw);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 900;
}

.hero h1 {
    max-width: 860px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(44px, 4.8vw, 76px);
    line-height: 1.15;
    font-weight: 900;
}

.hero h1 span {
    color: var(--orange);
}

.hero-text {
    max-width: 590px;
    margin: 24px 0 30px;
    color: #263650;
    font-size: 20px;
}

.section,
.mode-section,
.cta-band,
.about-section,
.story-section,
.contact-section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 76px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 28px;
}

.section h2,
.mode-section h2,
.cta-band h2,
.page-heading h1,
.detail-header h1,
.form-panel h1,
.auth-card h1 {
    margin: 0;
    color: var(--navy);
    line-height: 1.2;
}

.section h2,
.mode-section h2,
.cta-band h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.service-grid,
.advantage-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

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

.service-card,
.advantage-card,
.stat-card,
.panel,
.form-panel,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(7, 30, 65, 0.06);
}

.service-card,
.advantage-card {
    padding: 22px;
    min-height: 160px;
}

.service-card h3,
.advantage-card h3,
.panel h2 {
    margin: 0 0 10px;
    color: var(--navy);
}

.service-card p,
.advantage-card p,
.mode-copy p,
.timeline-item p,
.muted,
.empty {
    color: var(--muted);
}

.advantage-card span {
    color: var(--teal);
    font-weight: 900;
}

.mode-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
    align-items: center;
}

.mode-copy p {
    font-size: 18px;
}

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

.mode-steps div {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
}

.mode-steps strong {
    color: var(--orange-2);
    font-size: 30px;
}

.about-section,
.story-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    margin-top: 12px;
    padding: clamp(42px, 7vw, 76px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-section {
    background:
        linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.92) 42%, rgba(251, 247, 239, 0.62) 66%, rgba(251, 247, 239, 0.16) 100%),
        var(--about-image) center / cover no-repeat,
        #f4ede4;
}

.story-section {
    margin-top: 28px;
    background:
        linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.92) 42%, rgba(251, 247, 239, 0.62) 66%, rgba(251, 247, 239, 0.16) 100%),
        var(--story-image) center / cover no-repeat,
        #f4ede4;
}

.about-section::after,
.story-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--navy), var(--orange));
}

.about-copy,
.story-copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.about-copy h2,
.story-copy h2,
.contact-copy h2 {
    margin: 0 0 18px;
    color: var(--navy);
    line-height: 1.2;
    font-size: clamp(30px, 4vw, 48px);
}

.about-copy p,
.story-copy p,
.contact-copy p {
    color: #263650;
}

.story-text {
    display: grid;
    gap: 12px;
}

.story-text p {
    margin: 0;
}

.cta-band {
    margin-bottom: 60px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
}

.cta-band h2 {
    color: #fff;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: stretch;
    padding-top: 12px;
    padding-bottom: 70px;
}

.contact-copy,
.map-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 30, 65, 0.06);
}

.contact-copy {
    padding: 28px;
}

.contact-list {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px 16px;
    margin: 22px 0;
}

.contact-list dt {
    color: var(--muted);
    font-weight: 900;
}

.contact-list dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.map-panel {
    min-height: 360px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.amap-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: var(--soft);
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
}

.map-panel a {
    justify-self: start;
    margin: 14px;
}

.auth-shell,
.dashboard-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.auth-shell {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 54px 0;
}

.auth-card,
.form-panel {
    width: min(520px, 100%);
    padding: 28px;
}

.auth-card.wide {
    width: min(780px, 100%);
}

.dashboard-shell {
    padding: 32px 0 70px;
}

.dashboard-shell.resource-shell {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: start;
    column-gap: 26px;
}

.dashboard-shell.resource-shell > :not(.resource-nav) {
    grid-column: 2;
}

.dashboard-shell.narrow {
    width: min(860px, calc(100% - 36px));
}

.resource-nav {
    grid-column: 1;
    grid-row: 1 / span 20;
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    margin-bottom: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 30, 65, 0.06);
}

.resource-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: transparent;
    color: var(--navy);
    border: 1px solid transparent;
    font-weight: 800;
}

.resource-nav a:hover {
    background: var(--soft);
}

.resource-nav a.active,
.resource-nav a[aria-current="page"] {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: inset 4px 0 0 var(--orange);
}

.page-heading,
.detail-header,
.panel-heading {
    margin-bottom: 20px;
}

.page-heading.row,
.detail-header,
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-heading.row > div,
.detail-header > div,
.panel-heading > div {
    min-width: 0;
}

.stat-card {
    padding: 20px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--navy);
    font-size: 32px;
}

.avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(7, 30, 65, 0.12);
    background: var(--soft);
}

.small-avatar {
    width: 34px;
    height: 34px;
}

.large-avatar {
    width: 64px;
    height: 64px;
}

.hero-avatar {
    width: 86px;
    height: 86px;
    border-width: 3px;
}

.identity,
.mini-profile,
.profile-line,
.detail-person {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.identity span,
.mini-profile strong,
.profile-line strong,
.detail-person h1 {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-stat {
    min-height: 150px;
}

.mini-profile {
    margin-top: 16px;
}

.mini-profile strong {
    display: block;
    margin-top: 0;
}

.profile-line {
    display: flex;
    margin: 0 0 18px;
}

.profile-line strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
}

.profile-line span {
    color: var(--muted);
}

.detail-person {
    display: flex;
    align-items: center;
}

.panel {
    padding: 22px;
    margin-top: 18px;
}

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

.detail-grid .panel {
    margin-top: 0;
}

.span-2 {
    grid-column: 1 / -1;
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--navy);
    background: var(--soft);
    font-size: 13px;
}

td a {
    color: var(--navy);
    font-weight: 800;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.3fr repeat(5, minmax(110px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    padding: 14px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.customer-filter-bar {
    grid-template-columns: minmax(180px, 1.2fr) minmax(170px, 1fr) minmax(150px, 0.8fr) auto;
}

.filter-actions {
    justify-content: flex-end;
}

.filter-bar p,
.form-grid p,
.form-stack p {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #cfd6e1;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    max-width: 100%;
}

.compact-select {
    min-width: 150px;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 14px;
}

.table-action-form {
    margin: 0;
}

.field-error,
.field-error .errorlist {
    margin-top: 6px;
    color: var(--danger);
    font-size: 12px;
}

textarea {
    resize: vertical;
}

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

.form-stack {
    display: grid;
    gap: 14px;
}

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

.detail-grid .form-stack > button,
.detail-grid .form-stack > .errorlist {
    grid-column: 1 / -1;
}

.detail-grid .form-stack > button {
    width: 100%;
}

.form-grid .helptext,
.form-stack .helptext {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.errorlist {
    margin: 0 0 6px;
    padding-left: 18px;
    color: var(--danger);
    font-size: 13px;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 12px;
    background: #eef3f7;
    color: var(--navy);
}

.status.available {
    background: rgba(34, 124, 112, 0.12);
    color: var(--teal);
}

.status.assigned {
    background: rgba(242, 139, 0, 0.14);
    color: #a55a00;
}

.status.unavailable {
    background: rgba(159, 47, 47, 0.12);
    color: var(--danger);
}

.info-list {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.detail-grid .info-list {
    grid-template-columns: minmax(78px, max-content) minmax(0, 1fr) minmax(78px, max-content) minmax(0, 1fr);
    gap: 12px 18px;
}

.info-list dt {
    color: var(--muted);
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.info-list .wide-label,
.info-list .wide-value {
    grid-column: 1 / -1;
}

.info-list .wide-label {
    margin-bottom: -6px;
}

.timeline {
    display: grid;
    gap: 12px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
}

.timeline-item > span {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.timeline-item strong {
    color: var(--navy);
}

.timeline-item p {
    margin: 4px 0;
}

.timeline-item time {
    color: var(--muted);
    font-size: 12px;
}

.compact-list {
    display: grid;
    gap: 10px;
}

.compact-list a,
.compact-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: var(--soft);
    min-width: 0;
}

.compact-list span {
    color: var(--muted);
    text-align: right;
}

.contact-reveal {
    display: grid;
    gap: 16px;
}

.empty {
    margin: 0;
}

/*@media (max-width: 980px) {*/
/*    .topbar {*/
/*        align-items: stretch;*/
/*        flex-direction: column;*/
/*        gap: 10px;*/
/*    }*/

/*    .topbar-main {*/
/*        justify-content: space-between;*/
/*        width: 100%;*/
/*    }*/

/*    .account-actions {*/
/*        justify-content: flex-end;*/
/*        width: 100%;*/
/*    }*/

/*    .hero {*/
/*        align-items: flex-start;*/
/*        min-height: auto;*/
/*        padding-top: 70px;*/
/*        padding-bottom: 340px;*/
/*        background:*/
/*            !*linear-gradient(180deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.88) 48%, rgba(251, 247, 239, 0.18) 100%),*!*/
/*            var(--hero-image) right bottom / min(92vw, 520px) auto no-repeat,*/
/*            #f4ede4;*/
/*    }*/

/*    .hero-copy {*/
/*        max-width: min(460px, 68vw);*/
/*    }*/

/*    .hero .eyebrow {*/
/*        font-size: 13px;*/
/*    }*/

/*    .hero h1 {*/
/*        font-size: clamp(34px, 5.6vw, 42px);*/
/*        line-height: 1.12;*/
/*    }*/

/*    .hero-text {*/
/*        max-width: 440px;*/
/*        margin: 18px 0 22px;*/
/*        font-size: 17px;*/
/*    }*/

/*    .hero-actions .large {*/
/*        min-height: 42px;*/
/*        padding: 0 18px;*/
/*    }*/

/*    .service-grid,*/
/*    .advantage-grid,*/
/*    .stat-grid,*/
/*    .mode-section,*/
/*    .contact-section {*/
/*        grid-template-columns: repeat(2, minmax(0, 1fr));*/
/*    }*/

/*    .about-section,*/
/*    .story-section {*/
/*        min-height: auto;*/
/*        padding: 42px;*/
/*    }*/

/*    .about-section {*/
/*        background:*/
/*            linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.94) 58%, rgba(251, 247, 239, 0.56) 100%),*/
/*            var(--about-image) center bottom / cover no-repeat,*/
/*            #f4ede4;*/
/*    }*/

/*    .story-section {*/
/*        background:*/
/*            linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.94) 58%, rgba(251, 247, 239, 0.56) 100%),*/
/*            var(--story-image) center bottom / cover no-repeat,*/
/*            #f4ede4;*/
/*    }*/

/*    .filter-bar {*/
/*        grid-template-columns: repeat(2, minmax(0, 1fr));*/
/*    }*/

/*    .filter-actions {*/
/*        grid-column: span 2;*/
/*    }*/

/*    .customer-filter-bar {*/
/*        grid-template-columns: repeat(2, minmax(0, 1fr));*/
/*    }*/
/*}*/

/*@media (max-width: 760px) {*/
/*    .hero {*/
/*        padding: 52px 18px 300px;*/
/*        background:*/
/*            !*linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.91) 47%, rgba(251, 247, 239, 0.14) 100%),*!*/
/*            var(--hero-image) right bottom / min(96vw, 500px) auto no-repeat,*/
/*            #f4ede4;*/
/*    }*/

/*    .hero-copy {*/
/*        max-width: min(390px, 58vw);*/
/*    }*/

/*    .hero .eyebrow {*/
/*        margin-bottom: 8px;*/
/*        font-size: 12px;*/
/*    }*/

/*    .hero h1 {*/
/*        font-size: clamp(30px, 5.8vw, 36px);*/
/*        line-height: 1.12;*/
/*    }*/

/*    .hero-text {*/
/*        max-width: 350px;*/
/*        margin: 14px 0 16px;*/
/*        font-size: 15px;*/
/*        line-height: 1.65;*/
/*    }*/

/*    .hero-actions {*/
/*        display: grid;*/
/*        grid-template-columns: 1fr;*/
/*        gap: 8px;*/
/*        max-width: 220px;*/
/*    }*/

/*    .hero-actions .large {*/
/*        min-height: 38px;*/
/*        padding: 0 14px;*/
/*        font-size: 14px;*/
/*    }*/
/*}*/

@media (max-width: 640px) {
    .topbar {
        padding: 10px 14px;
    }

    .topbar-main {
        gap: 10px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand span {
        font-size: 17px;
    }

    .tabs {
        margin-left: auto;
    }

    .tab {
        height: 34px;
        padding: 0 13px;
    }

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

    .account-actions a {
        width: 100%;
    }

    .hero {
        padding: 42px 18px 270px;
        background:
            /*linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.91) 50%, rgba(251, 247, 239, 0.16) 100%),*/
            var(--hero-image) right bottom / min(96vw, 430px) auto no-repeat,
            #f4ede4;
    }

    .hero-copy {
        max-width: min(430px, 100%);
    }

    .hero h1 {
        font-size: clamp(30px, 8.6vw, 36px);
        line-height: 1.1;
    }

    .hero-text {
        max-width: 260px;
        margin: 16px 0 18px;
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 210px;
    }

    .hero-actions .large {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .hero-actions a,
    .cta-band a,
    .page-heading.row > a,
    .detail-actions a,
    .form-actions a,
    .form-actions button,
    .filter-actions a,
    .filter-actions button {
        width: 100%;
    }

    .section,
    .mode-section,
    .about-section,
    .story-section,
    .contact-section,
    .cta-band {
        padding: 48px 0;
    }

    .about-section,
    .story-section {
        width: min(100% - 24px, 1180px);
        padding: 34px 20px 260px;
    }

    .about-section {
        background:
            linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.96) 56%, rgba(251, 247, 239, 0.18) 100%),
            var(--about-image) center bottom / auto 330px no-repeat,
            #f4ede4;
    }

    .story-section {
        background:
            linear-gradient(180deg, rgba(251, 247, 239, 0.99) 0%, rgba(251, 247, 239, 0.96) 56%, rgba(251, 247, 239, 0.18) 100%),
            var(--story-image) center bottom / auto 330px no-repeat,
            #f4ede4;
    }

    .service-grid,
    .advantage-grid,
    .stat-grid,
    .mode-section,
    .mode-steps,
    .contact-section,
    .detail-grid,
    .form-grid,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        padding: 18px;
    }

    .contact-list {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }

    .map-panel {
        min-height: 300px;
    }

    .filter-actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .span-2 {
        grid-column: auto;
    }

    .cta-band,
    .page-heading.row,
    .detail-header,
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .detail-grid .form-stack,
    .detail-grid .info-list {
        grid-template-columns: 1fr;
    }

    .detail-grid .form-stack > button,
    .detail-grid .form-stack > .errorlist,
    .info-list .wide-label,
    .info-list .wide-value {
        grid-column: auto;
    }

    .auth-shell {
        align-items: start;
        min-height: auto;
        padding: 28px 0 54px;
    }

    .auth-card,
    .form-panel,
    .panel,
    .service-card,
    .advantage-card {
        padding: 18px;
    }

    .dashboard-shell {
        width: min(100% - 24px, 1180px);
        padding: 18px 0 54px;
    }

    .dashboard-shell.resource-shell {
        grid-template-columns: 106px minmax(0, 1fr);
        column-gap: 10px;
    }

    .resource-nav {
        position: static;
        gap: 6px;
        padding: 8px;
    }

    .resource-nav a {
        min-height: 38px;
        padding: 7px 8px;
        font-size: 13px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .stat-card strong {
        font-size: 26px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .hero-avatar {
        width: 72px;
        height: 72px;
    }

    .detail-person {
        align-items: flex-start;
    }

    .mini-profile {
        align-items: flex-start;
    }

    .table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
    }

    table {
        min-width: 0;
    }

    thead {
        display: none;
    }

    tbody {
        display: grid;
        gap: 12px;
    }

    tr {
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(7, 30, 65, 0.06);
        overflow: hidden;
    }

    td {
        min-height: 42px;
        display: grid;
        grid-template-columns: 92px 1fr;
        gap: 12px;
        align-items: center;
        padding: 10px 12px;
        border-bottom: 1px solid var(--line);
        overflow-wrap: anywhere;
    }

    td:last-child {
        border-bottom: 0;
    }

    td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 900;
    }

    td.empty {
        display: block;
    }

    td.empty::before {
        content: "";
    }

    .actions-cell {
        align-items: stretch;
    }

    .actions-cell a,
    td[data-label="操作"] a {
        width: 100%;
    }

    td[data-label="操作"] {
        grid-template-columns: 92px 1fr;
    }

    td[data-label="操作"] .actions-cell,
    td.actions-cell {
        justify-content: stretch;
    }

    .compact-list a,
    .compact-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-list span {
        text-align: left;
    }
}
