:root {
    --color-navy: #004d6a;
    --color-navy-dark: #063f56;
    --color-teal: #24a5a1;
    --color-mint: #69c3bb;
    --color-lime: #bcd43b;
    --color-sun: #f5e087;
    --color-bg: #f8fbf7;
    --color-muted: #5f6f78;
    --shadow-soft: 0 24px 70px rgba(0, 77, 106, 0.12);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.site-body {
    margin: 0;
    min-width: 320px;
    background: var(--color-bg);
    color: #10232f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.5;
}

.site-body a {
    color: inherit;
    text-decoration: none;
}

.site-container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(105, 195, 187, 0.28);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.nav-inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-link,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark,
.footer-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: var(--shadow-soft);
}

.brand-mark img,
.footer-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    min-width: 0;
}

.brand-name {
    color: var(--color-navy);
    font-size: 15px;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--color-teal);
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 24px;
    color: #54656f;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover,
.nav-secondary:hover {
    color: var(--color-teal);
}

.nav-actions {
    gap: 8px;
    font-size: 14px;
}

.nav-secondary,
.nav-primary {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-secondary {
    color: #54656f;
}

.nav-primary {
    background: var(--color-navy);
    color: #fff;
}

.nav-primary:hover {
    background: var(--color-navy-dark);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(245, 224, 135, 0.55), transparent 28%),
        radial-gradient(circle at 75% 15%, rgba(105, 195, 187, 0.28), transparent 32%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: calc(100vh - 64px);
    align-items: center;
    gap: 56px;
    padding: 72px 0 64px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(105, 195, 187, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    padding: 6px 12px;
    color: var(--color-navy);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 77, 106, 0.08);
}

.eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-lime);
}

.hero-copy h1 {
    margin: 22px 0 0;
    color: var(--color-navy);
    font-size: clamp(40px, 5.2vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-copy h1 span {
    display: block;
    margin-top: 8px;
    color: var(--color-teal);
    font-size: clamp(34px, 4.8vw, 54px);
    white-space: nowrap;
}

.hero-lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: #52656f;
    font-size: 18px;
    line-height: 1.9;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.button-primary {
    background: var(--color-teal);
    color: #fff;
}

.button-primary:hover {
    background: #1c8f8d;
}

.button-secondary {
    border: 1px solid var(--color-mint);
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-navy);
}

.button-secondary:hover {
    background: #fff;
}

.hero-metrics {
    display: grid;
    max-width: 640px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.metric {
    border-left: 4px solid var(--color-teal);
    background: rgba(255, 255, 255, 0.78);
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(0, 77, 106, 0.08);
}

.metric-lime {
    border-left-color: var(--color-lime);
}

.metric-sun {
    border-left-color: var(--color-sun);
}

.metric strong {
    display: block;
    color: var(--color-navy);
    font-size: 26px;
    line-height: 1.1;
}

.metric span {
    display: block;
    margin-top: 6px;
    color: #6b7a83;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow-soft);
}

.hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    object-fit: cover;
}

.hero-status {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0, 77, 106, 0.12);
    backdrop-filter: blur(12px);
}

.hero-status span,
.records-list span,
.contact-panel span {
    display: block;
    color: #6f7f87;
    font-size: 12px;
}

.hero-status strong,
.records-list strong,
.contact-panel strong {
    display: block;
    margin-top: 5px;
    color: var(--color-navy);
    font-size: 15px;
    font-weight: 800;
}

.section {
    padding: 80px 0;
}

.section-white {
    background: #fff;
}

.section-muted {
    background: var(--color-bg);
}

.section-heading {
    margin-bottom: 44px;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
}

.section-kicker {
    margin: 0;
    color: var(--color-teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.section-kicker.light {
    color: var(--color-sun);
}

.section h2,
.records-section h2,
.contact-grid h2 {
    margin: 12px 0 0;
    color: var(--color-navy);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
    white-space: nowrap;
}

.section-heading p,
.records-grid p,
.contact-grid p {
    margin: 0;
    color: #5e7079;
    font-size: 16px;
    line-height: 1.85;
}

.feature-grid,
.service-grid {
    display: grid;
    gap: 16px;
}

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

.feature-card,
.service-card {
    border: 1px solid rgba(105, 195, 187, 0.32);
    background: #fff;
    padding: 28px;
}

.feature-teal {
    background: #f0fbfa;
}

.feature-lime {
    border-color: rgba(188, 212, 59, 0.45);
    background: #fbfde9;
}

.feature-sun {
    border-color: rgba(245, 224, 135, 0.7);
    background: #fff9db;
}

.feature-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--color-teal);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.feature-lime .feature-number {
    background: var(--color-lime);
    color: var(--color-navy);
}

.feature-sun .feature-number {
    background: var(--color-sun);
    color: var(--color-navy);
}

.feature-card h3,
.service-card h3 {
    margin: 22px 0 0;
    color: var(--color-navy);
    font-size: 20px;
    font-weight: 800;
}

.feature-card p,
.service-card p {
    margin: 12px 0 0;
    color: #5e7079;
    font-size: 14px;
    line-height: 1.8;
}

.records-section {
    background: linear-gradient(135deg, var(--color-navy), #0d6e7d 54%, var(--color-teal));
    color: #fff;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
}

.records-section h2,
.records-grid p {
    color: #fff;
}

.records-grid p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.78);
}

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

.records-list article {
    background: rgba(255, 255, 255, 0.12);
    padding: 22px;
    backdrop-filter: blur(10px);
}

.records-list span {
    color: rgba(255, 255, 255, 0.62);
}

.records-list strong {
    color: #fff;
    font-size: 18px;
}

.records-list .records-highlight {
    background: var(--color-sun);
}

.records-highlight span {
    color: rgba(0, 77, 106, 0.68);
}

.records-highlight strong {
    color: var(--color-navy);
}

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

.service-line {
    display: block;
    width: 48px;
    height: 6px;
    margin-bottom: 28px;
    background: var(--color-teal);
}

.service-line.lime {
    background: var(--color-lime);
}

.service-line.sun {
    background: var(--color-sun);
}

.service-line.navy {
    background: var(--color-navy);
}

.service-source {
    color: var(--color-teal) !important;
    font-size: 13px !important;
    font-weight: 800;
}

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

.contact-grid > div:first-child p:last-child {
    margin-top: 20px;
}

.contact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    border: 1px solid rgba(105, 195, 187, 0.35);
    background: #f0fbfa;
    padding: 28px;
}

.site-footer {
    border-top: 1px solid rgba(105, 195, 187, 0.24);
    background: var(--color-navy);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px;
    padding: 42px 0 30px;
}

.footer-mark {
    background: transparent;
    box-shadow: none;
}

.footer-about p,
.site-footer a,
.site-footer p {
    display: block;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

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

.site-footer h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0 28px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
}

.auth-section,
.content-section {
    min-height: calc(100vh - 64px);
    padding: 64px 16px;
    background:
        radial-gradient(circle at 20% 12%, rgba(245, 224, 135, 0.38), transparent 28%),
        radial-gradient(circle at 82% 6%, rgba(105, 195, 187, 0.24), transparent 30%),
        var(--color-bg);
}

.auth-card,
.document-card,
.dashboard-card,
.staff-card {
    border: 1px solid rgba(105, 195, 187, 0.34);
    background: #fff;
    box-shadow: 0 18px 54px rgba(0, 77, 106, 0.09);
}

.auth-card {
    width: min(100%, 440px);
    margin: 0 auto;
    border-radius: 8px;
    padding: 34px;
}

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

.auth-heading {
    margin-bottom: 26px;
    text-align: center;
}

.auth-kicker {
    margin: 0 0 8px;
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-heading h1,
.result-card h1,
.page-heading h1,
.document-card h1,
.staff-card h1 {
    margin: 0;
    color: var(--color-navy);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.auth-heading p,
.result-card p,
.page-heading p,
.staff-card p {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: #334955;
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea,
.staff-form input,
.staff-form select,
.staff-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(95, 111, 120, 0.3);
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    color: #10232f;
    font: inherit;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.form-field textarea,
.staff-form textarea {
    min-height: 112px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.staff-form input:focus,
.staff-form select:focus,
.staff-form textarea:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(36, 165, 161, 0.14);
}

.form-field input:disabled {
    background: #f3f7f6;
    color: #708087;
    cursor: not-allowed;
}

.field-error {
    margin: 2px 0 0;
    color: #b42318;
    font-size: 12px;
}

.field-help {
    margin: 2px 0 0;
    color: #7b8a92;
    font-size: 12px;
}

.field-help-error {
    color: #b42318;
}

.login-method-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #edf5f4;
    padding: 4px;
}

.login-method-option {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #657780;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.login-method-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-method-option.active {
    background: #fff;
    color: var(--color-teal);
    box-shadow: 0 5px 14px rgba(0, 77, 106, 0.08);
}

.sms-input-row,
.password-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.password-input-row {
    display: block;
    position: relative;
}

.password-input-row input {
    padding-right: 46px;
}

.sms-send-button,
.password-toggle {
    border: 1px solid rgba(105, 195, 187, 0.55);
    border-radius: 8px;
    background: #fff;
    color: var(--color-navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 44px;
    padding: 0 14px;
    white-space: nowrap;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 30px;
    height: 30px;
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0;
    transform: translateY(-50%);
}

.password-toggle::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 16px;
    height: 11px;
    border: 2px solid var(--color-muted);
    border-radius: 50% / 58%;
}

.password-toggle::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--color-muted);
}

.password-toggle.is-visible::before {
    border-color: var(--color-teal);
}

.password-toggle.is-visible::after {
    background: var(--color-teal);
}

.sms-send-button:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.password-toggle:hover,
.sms-send-button:hover:not(:disabled) {
    background: #f0fbfa;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #52656f;
    font-size: 14px;
    line-height: 1.7;
}

.checkbox-line input {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    accent-color: var(--color-teal);
}

.checkbox-line a,
.auth-footer a,
.card-title-row a,
.form-actions a {
    color: var(--color-teal);
    font-weight: 700;
}

.button-full {
    width: 100%;
}

.button-outline {
    border: 1px solid rgba(105, 195, 187, 0.55);
    background: #fff;
    color: var(--color-navy);
}

.button-outline:hover {
    background: #f0fbfa;
}

.notice {
    border: 1px solid rgba(105, 195, 187, 0.4);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 11px 13px;
    background: #f0fbfa;
    color: #167676;
    font-size: 14px;
}

.notice-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b42318;
}

.notice-success {
    border-color: rgba(105, 195, 187, 0.48);
    background: #f0fbfa;
    color: #167676;
}

.notice-info {
    border-color: rgba(245, 224, 135, 0.8);
    background: #fff9db;
    color: var(--color-navy);
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border-radius: 8px;
    margin-bottom: 22px;
    background: #edf5f4;
    padding: 4px;
}

.segmented-control a {
    border-radius: 6px;
    padding: 10px;
    color: #657780;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.segmented-control a.active {
    background: #fff;
    color: var(--color-teal);
    box-shadow: 0 5px 14px rgba(0, 77, 106, 0.08);
}

.auth-footer,
.auth-helper {
    margin-top: 22px;
    color: #6b7c84;
    font-size: 14px;
    text-align: center;
}

.auth-helper {
    width: min(100%, 440px);
    margin: 22px auto 0;
    border-top: 1px solid rgba(105, 195, 187, 0.28);
    padding-top: 20px;
}

.auth-helper p {
    margin: 0 0 12px;
}

.result-card {
    text-align: center;
}

.result-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-bottom: 18px;
    background: #f0fbfa;
    color: var(--color-teal);
    font-size: 14px;
    font-weight: 900;
}

.result-card .button {
    margin-top: 22px;
}

.document-card {
    width: min(100%, 820px);
    margin: 0 auto;
    border-radius: 8px;
    padding: 34px;
}

.document-card pre {
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 24px 0 0;
    color: #435963;
    font: inherit;
    font-size: 14px;
    line-height: 1.9;
}

.dashboard-shell {
    width: min(100%, 1040px);
    margin: 0 auto;
}

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

.dashboard-card {
    border-radius: 8px;
    margin-bottom: 22px;
    padding: 24px;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.inline-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.card-title-row h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--color-navy);
    font-size: 18px;
    font-weight: 800;
}

.title-bar {
    width: 6px;
    height: 24px;
    border-radius: 999px;
    background: var(--color-teal);
}

.title-bar-mint {
    background: var(--color-mint);
}

.title-bar-sun {
    background: var(--color-sun);
}

.info-grid,
.file-grid {
    display: grid;
    gap: 16px;
}

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

.lifestyle-summary-list {
    display: grid;
    gap: 16px;
}

.lifestyle-summary-card {
    border: 1px solid rgba(36, 165, 161, 0.16);
    border-radius: 8px;
    padding: 18px;
    background: #fbfefe;
}

.lifestyle-summary-card h3 {
    margin: 0 0 14px;
    color: var(--color-navy);
    font-size: 16px;
}

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

.lifestyle-summary-grid span {
    display: block;
    color: #71838b;
    font-size: 13px;
    margin-bottom: 4px;
}

.lifestyle-summary-grid strong {
    display: block;
    color: #21383f;
    font-size: 14px;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.personality-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.personality-result-grid div {
    border: 1px solid rgba(36, 165, 161, 0.18);
    border-radius: 8px;
    background: #fbfefe;
    padding: 16px;
    text-align: center;
}

.personality-result-grid span {
    display: block;
    color: #71838b;
    font-size: 13px;
}

.personality-result-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--color-navy);
    font-size: 26px;
    line-height: 1.1;
}

.personality-test-card {
    display: grid;
    gap: 18px;
}

.personality-progress {
    display: grid;
    gap: 8px;
    color: #54656f;
    font-size: 14px;
    font-weight: 700;
}

.personality-progress-bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e7f1ef;
}

.personality-progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--color-teal);
}

.personality-question h3 {
    margin: 0 0 18px;
    color: var(--color-navy);
    font-size: 20px;
    line-height: 1.55;
}

.personality-options {
    display: grid;
    gap: 12px;
}

.personality-option {
    width: 100%;
    border: 1px solid rgba(105, 195, 187, 0.34);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    color: #21383f;
    cursor: pointer;
    font: inherit;
    line-height: 1.65;
    text-align: left;
}

.personality-option.selected {
    border-color: var(--color-teal);
    background: #f0fbfa;
    color: var(--color-navy);
    font-weight: 700;
}

.personality-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.personality-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.info-grid span,
.file-card p,
.file-row span:first-child,
.empty-small {
    color: #71838b;
    font-size: 13px;
}

.info-grid strong {
    display: block;
    margin-top: 4px;
    color: #10232f;
    font-size: 15px;
}

.empty-panel {
    border: 1px dashed rgba(105, 195, 187, 0.5);
    border-radius: 8px;
    background: #f4faf8;
    padding: 34px;
    text-align: center;
}

.empty-panel strong {
    color: var(--color-navy);
}

.empty-panel p {
    margin: 6px 0 0;
    color: #71838b;
    font-size: 14px;
}

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

.file-card {
    border: 1px solid rgba(105, 195, 187, 0.34);
    border-radius: 8px;
    padding: 18px;
}

.file-card h3 {
    margin: 0;
    color: #10232f;
    font-size: 16px;
}

.file-card p {
    margin: 5px 0 14px;
}

.file-row {
    display: grid;
    gap: 4px;
    border-top: 1px solid #edf2f1;
    padding: 10px 0;
}

.file-row span:last-child {
    overflow-wrap: anywhere;
    color: #334955;
    font-size: 13px;
}

.empty-small {
    border-top: 1px solid #edf2f1;
    padding-top: 12px;
}

.staff-body {
    background: #f5f8f2;
}

.staff-plain-body {
    min-width: 0;
}

.staff-plain-main {
    width: min(100% - 32px, 860px);
    margin: 0 auto;
    padding: 30px 0 42px;
}

.staff-page-heading {
    margin-bottom: 18px;
}

.staff-page-heading p {
    margin: 0 0 5px;
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.staff-page-heading h1 {
    margin: 0;
    color: var(--color-navy);
    font-size: 24px;
    line-height: 1.25;
}

.staff-page-heading span {
    display: block;
    margin-top: 6px;
    color: #71838b;
    font-size: 13px;
}

.staff-content {
    padding: 32px 24px;
}

.staff-panel-wrap {
    width: min(100%, 760px);
    margin: 0 auto;
}

.staff-panel-narrow {
    width: min(100%, 620px);
}

.staff-card {
    border-radius: 8px;
    padding: 26px;
}

.staff-card-header {
    border-bottom: 1px solid #edf2f1;
    margin: -26px -26px 22px;
    padding: 24px 26px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #edf2f1;
    margin-top: 8px;
    padding-top: 20px;
}

.form-actions.split {
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    }
}

@media (max-width: 1060px) {
    .nav-links {
        display: none;
    }

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

@media (max-width: 820px) {
    .site-container {
        width: min(100% - 24px, var(--container));
    }

    .nav-inner {
        min-height: 60px;
        gap: 12px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-secondary,
    .nav-primary {
        min-height: 34px;
        border-radius: 7px;
        padding: 0 10px;
        font-size: 13px;
    }

    .nav-primary {
        font-size: 0;
    }

    .nav-primary::after {
        content: "后台";
        font-size: 13px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        gap: 34px;
        padding: 48px 0 52px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-copy h1 span {
        font-size: 34px;
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-metrics,
    .feature-grid,
    .records-grid,
    .contact-grid,
    .footer-grid,
    .split-heading {
        grid-template-columns: 1fr;
    }

    .hero-status {
        position: static;
        grid-template-columns: 1fr;
        margin: 8px 0 0;
        border-radius: 14px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .records-grid,
    .contact-grid,
    .split-heading {
        gap: 28px;
    }

    .auth-section,
    .content-section {
        min-height: auto;
        padding: 42px 12px;
    }

    .auth-card,
    .document-card,
    .dashboard-card,
    .staff-card {
        padding: 24px;
    }

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

    .staff-content {
        padding: 22px 14px;
    }

    .staff-plain-main {
        width: min(100% - 24px, 760px);
        padding: 24px 0 34px;
    }

    .staff-page-heading h1 {
        font-size: 22px;
    }

    .staff-card-header {
        margin: -24px -24px 20px;
        padding: 22px 24px;
    }
}

@media (max-width: 560px) {
    .hero-actions,
    .button {
        width: 100%;
    }

    .hero-metrics,
    .records-list,
    .service-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-copy h1 span {
        font-size: 30px;
    }

    .section h2,
    .records-section h2,
    .contact-grid h2 {
        font-size: 21px;
    }

    .auth-card,
    .document-card,
    .dashboard-card,
    .staff-card {
        padding: 20px;
    }

    .auth-heading h1,
    .result-card h1,
    .page-heading h1,
    .document-card h1,
    .staff-card h1 {
        font-size: 22px;
    }

    .info-grid,
    .file-grid,
    .lifestyle-summary-grid,
    .segmented-control {
        grid-template-columns: 1fr;
    }

    .card-title-row,
    .form-actions.split {
        align-items: flex-start;
        flex-direction: column;
    }

    .inline-actions {
        justify-content: flex-start;
    }

    .sms-input-row,
    .password-input-row {
        grid-template-columns: 1fr;
    }

    .staff-card-header {
        margin: -20px -20px 18px;
        padding: 20px;
    }

    .staff-plain-main {
        width: min(100% - 20px, 620px);
        padding: 18px 0 28px;
    }

    .staff-page-heading {
        margin-bottom: 14px;
    }

    .staff-page-heading h1 {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .nav-inner {
        gap: 8px;
    }

    .brand-link {
        gap: 8px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .brand-name {
        font-size: 14px;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-secondary,
    .nav-primary {
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .nav-primary::after {
        font-size: 12px;
    }

    .hero-copy h1 {
        font-size: 31px;
    }

    .hero-copy h1 span {
        font-size: 27px;
    }

    .section h2,
    .records-section h2,
    .contact-grid h2 {
        font-size: 19px;
    }
}
