/* ============================================================
   公共场所卫生管理信息管理系统 —— 单位端样式
   ============================================================ */

:root {
    --client-primary: #2c7da0;
    --client-primary-dark: #1d5f7c;
    --client-primary-soft: #e8f3f8;
    --client-deep: #012a4a;
    --client-text: #17324a;
    --client-muted: #70869a;
    --client-line: #d7e4ec;
    --client-bg: #f1f7fa;
    --client-card: #ffffff;
    --client-success: #1f8f73;
    --client-success-soft: #e6f6f0;
    --client-warning: #c47a12;
    --client-warning-soft: #fff4df;
    --client-danger: #d94c43;
    --client-danger-soft: #fdeceb;
    --client-radius: 16px;
    --client-shadow: 0 12px 34px rgba(1, 42, 74, .07);
    --client-shadow-sm: 0 4px 14px rgba(1, 42, 74, .05);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body.client-page,
body.client-login-page {
    margin: 0;
    min-height: 100vh;
    background: var(--client-bg);
    color: var(--client-text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.client-page {
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--client-line);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #79b6d0;
    box-shadow: 0 0 0 3px rgba(44, 125, 160, .13);
}

input[type="radio"],
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex: 0 0 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    accent-color: #3b8cab;
    cursor: pointer;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
    border: 0;
    box-shadow: none;
}

input[readonly] {
    background: #f2f6f8;
    color: #53697b;
    cursor: default;
}

textarea {
    resize: vertical;
    min-height: 108px;
}

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

.client-page-glow,
.client-login-glow {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.client-page-glow-a {
    width: 520px;
    height: 520px;
    right: -180px;
    top: 120px;
    background: radial-gradient(circle, rgba(121, 182, 208, .18), rgba(121, 182, 208, 0) 68%);
}

.client-page-glow-b {
    width: 420px;
    height: 420px;
    left: -150px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(42, 157, 143, .12), rgba(42, 157, 143, 0) 70%);
}

.client-logo {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #4a9fbe, #175a7a);
    box-shadow: 0 8px 20px rgba(29, 95, 124, .24);
}

.client-logo svg {
    width: 27px;
    height: 27px;
}

.client-logo-small {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(29, 95, 124, .18);
}

.client-logo-small svg {
    width: 21px;
    height: 21px;
}

/* ==================== 登录页 ==================== */
body.client-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(1, 42, 74, .94) 0%, rgba(14, 76, 105, .92) 45%, rgba(44, 125, 160, .9) 100%),
        #012a4a;
}

.client-login-glow-a {
    width: 620px;
    height: 620px;
    right: -160px;
    top: -220px;
    background: radial-gradient(circle, rgba(169, 214, 229, .3), rgba(169, 214, 229, 0) 68%);
}

.client-login-glow-b {
    width: 520px;
    height: 520px;
    left: -180px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(42, 157, 143, .25), rgba(42, 157, 143, 0) 70%);
}

.client-login-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
}

.client-login-card {
    padding: 34px 34px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 26px 70px rgba(0, 18, 33, .35);
    backdrop-filter: blur(12px);
}

.client-login-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.client-brand-kicker {
    display: block;
    color: var(--client-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.client-login-brand h1 {
    margin: 2px 0 0;
    font-size: 25px;
    letter-spacing: .02em;
    color: var(--client-deep);
}

.client-login-lead {
    margin: 0 0 24px;
    color: var(--client-muted);
    font-size: 13px;
    line-height: 1.7;
}

.client-login-form {
    display: grid;
    gap: 16px;
}

.client-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.client-field > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #294a64;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: .01em;
}

.client-field input,
.client-field select {
    height: 44px;
}

.client-login-form input {
    height: 48px;
    border-radius: 12px;
    background: #f8fbfc;
}

.client-login-form input:focus {
    background: #fff;
}

.client-login-picker {
    position: relative;
}

.client-login-suggest {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 24;
    display: none;
    max-height: 258px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #cfe1ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(1, 42, 74, .22);
}

.client-login-suggest.show {
    display: block;
}

.client-login-suggest-item {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.client-login-suggest-item:hover,
.client-login-suggest-item.active {
    background: #eaf5fa;
}

.client-login-suggest-name {
    display: block;
    color: #173e57;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.client-login-suggest-meta {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #78909e;
    font-size: 11.5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-login-suggest mark {
    padding: 0 1px;
    border-radius: 2px;
    background: #fff0b4;
    color: #875800;
}

.client-login-suggest-empty {
    padding: 10px 11px;
    color: #80939f;
    font-size: 11.5px;
}

.client-login-button {
    height: 48px;
    border: 0;
    border-radius: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
    background: linear-gradient(135deg, #3b93b6, #1d5f7c);
    box-shadow: 0 10px 22px rgba(29, 95, 124, .23);
    transition: transform .18s ease, box-shadow .18s ease;
}

.client-login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(29, 95, 124, .28);
}

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

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

.client-login-help {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e5eef3;
}

.client-login-help p {
    margin: 0 0 10px;
    color: var(--client-muted);
    font-size: 12px;
    line-height: 1.7;
}

.client-login-back {
    display: inline-flex;
    align-items: center;
    color: var(--client-primary-dark);
    font-size: 12.5px;
    font-weight: 600;
}

.client-login-back:hover {
    color: var(--client-primary);
    text-decoration: underline;
}

.client-alert {
    margin-bottom: 16px;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.55;
}

.client-alert-error {
    color: #a23630;
    background: var(--client-danger-soft);
    border: 1px solid #f5ceca;
}

.client-login-foot {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    letter-spacing: .03em;
}

/* ==================== 顶栏与主框架 ==================== */
.client-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0 max(18px, calc((100vw - 1180px) / 2));
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(196, 216, 229, .66);
    backdrop-filter: blur(14px);
}

.client-topbar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.client-topbar-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.client-topbar-brand strong {
    color: var(--client-deep);
    font-size: 14.5px;
    letter-spacing: .02em;
}

.client-topbar-brand small {
    color: var(--client-muted);
    font-size: 11.5px;
    letter-spacing: .1em;
}

.client-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.client-unit-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
    min-width: 0;
}

.client-unit-chip b {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #274760;
    font-size: 12.5px;
    font-weight: 650;
}

.client-unit-chip small {
    color: var(--client-muted);
    font-size: 11.5px;
}

.client-logout {
    height: 32px;
    padding: 0 13px;
    border: 1px solid #d8e5ec;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #577186;
    font-size: 12px;
    transition: all .18s ease;
}

.client-logout:hover {
    border-color: #efc5c1;
    color: var(--client-danger);
    background: #fff8f7;
}

.client-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 26px 0 10px;
}

.client-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border-radius: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(246, 252, 254, .95)),
        #fff;
    border: 1px solid rgba(196, 216, 229, .72);
    box-shadow: var(--client-shadow);
}

.client-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 159, 190, .14), rgba(74, 159, 190, 0) 68%);
    pointer-events: none;
}

.client-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    bottom: 26px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #54a6c4, #1d5f7c);
}

.client-hero-copy {
    min-width: 0;
}

.client-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--client-primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.client-kicker::before {
    content: "";
    width: 17px;
    height: 2px;
    background: var(--client-primary);
}

.client-hero h1 {
    margin: 7px 0 8px;
    color: var(--client-deep);
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.2;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}

.client-hero p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #647e91;
    font-size: 12.5px;
    line-height: 1.7;
}

.client-hero p b {
    color: #31546c;
}

.client-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #9fb4c3;
}

.client-hero-type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 7px;
    background: #edf6fa;
    color: #2c6a86;
    font-size: 11px;
}

.client-hero-tip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.client-hero-tip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2f6c54;
    font-size: 11.5px;
    font-weight: 600;
}

.client-hero-tip span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34a67f;
    box-shadow: 0 0 0 4px rgba(52, 166, 127, .12);
}

.client-hero-tip small {
    color: #8a9ba8;
    font-size: 11.5px;
}

/* ==================== 模块入口 ==================== */
.client-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 22px;
}

.client-module-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px 14px;
    border: 1px solid rgba(202, 220, 231, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--client-shadow-sm);
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.client-module-card:hover {
    transform: translateY(-2px);
    border-color: #a9cbdb;
    box-shadow: 0 10px 24px rgba(1, 42, 74, .08);
    background: #fff;
}

.client-module-card.is-active {
    background: #fff;
    border-color: #81b9cd;
    box-shadow: 0 0 0 3px rgba(44, 125, 160, .09), 0 8px 22px rgba(1, 42, 74, .07);
}

.client-module-card.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #4a9fbe, #1d5f7c);
}

.client-module-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

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

.icon-profile {
    color: #276987;
    background: #e9f3f8;
}

.icon-health {
    color: #1f806a;
    background: #e7f6f1;
}

.icon-training {
    color: #9a6b12;
    background: #fff4de;
}

.icon-test {
    color: #7b5a9e;
    background: #f3edfa;
}

.client-module-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.client-module-text strong {
    color: #1e3d55;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}

.client-module-text small {
    color: #7b8f9e;
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-module-text b {
    color: #416a80;
    font-weight: 700;
}

.client-module-arrow {
    color: #a4b6c2;
    font-size: 14px;
    flex: 0 0 auto;
}

.client-module-card.is-active .client-module-arrow {
    color: var(--client-primary);
}

/* ==================== 面板 ==================== */
.client-panel {
    display: none;
    animation: clientFadeIn .24s ease both;
}

.client-panel.is-active {
    display: block;
}

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

.client-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 2px 13px;
}

.client-panel-head h2 {
    margin: 0;
    color: var(--client-deep);
    font-size: 19px;
    letter-spacing: .01em;
}

.client-panel-head p {
    margin: 4px 0 0;
    color: #788c9b;
    font-size: 11.5px;
    line-height: 1.6;
}

.client-panel-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.client-total {
    color: #718696;
    font-size: 11.5px;
    white-space: nowrap;
}

.client-total b {
    color: #264b64;
    font-size: 14px;
    font-weight: 700;
}

.client-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
}

.client-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3b93b6, #1d5f7c);
    box-shadow: 0 7px 15px rgba(29, 95, 124, .18);
}

.client-btn-primary:hover {
    box-shadow: 0 10px 20px rgba(29, 95, 124, .24);
    transform: translateY(-1px);
}

.client-btn-primary:disabled,
.client-btn:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.client-btn-ghost {
    border-color: #d5e3eb;
    color: #597184;
    background: #fff;
}

.client-btn-ghost:hover {
    border-color: #b8d0dd;
    color: #315c73;
    background: #f8fbfc;
}

.client-plus {
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.client-card {
    border: 1px solid rgba(204, 221, 231, .9);
    border-radius: var(--client-radius);
    background: #fff;
    box-shadow: var(--client-shadow-sm);
}

/* ==================== 单位资料 ==================== */
.client-profile-card {
    padding: 22px;
}

.client-profile-section + .client-profile-section {
    margin-top: 21px;
    padding-top: 19px;
    border-top: 1px dashed #e1edf2;
}

.client-profile-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.client-profile-section-head > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #294c64;
    font-size: 12.5px;
    font-weight: 700;
}

.client-profile-section-head > span::before {
    content: "";
    width: 3px;
    height: 13px;
    border-radius: 2px;
    background: #4a9fbe;
}

.client-profile-section-head small {
    color: #8a9ca8;
    font-size: 11.5px;
    text-align: right;
}

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

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

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

.client-field.is-readonly input {
    border-color: #e2ebf0;
}

.client-field.is-editable input {
    border-color: #bcd5e1;
    background: #fbfefe;
}

.client-field.is-editable input:focus {
    background: #fff;
}

.client-lock {
    display: inline-flex;
    align-items: center;
    height: 19px;
    padding: 0 6px;
    border-radius: 5px;
    color: #8a9aa6;
    background: #f0f4f6;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
}

.client-edit-badge,
.client-optional-badge {
    display: inline-flex;
    align-items: center;
    height: 19px;
    padding: 0 6px;
    border-radius: 5px;
    color: #2b6985;
    background: #eaf5f9;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.client-required {
    color: var(--client-danger);
    font-style: normal;
    font-weight: 700;
}

.client-field small {
    color: #8a9ba8;
    font-size: 11.5px;
}

.client-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #eaf1f5;
}

.client-form-tip {
    color: #8799a6;
    font-size: 11px;
}

/* ==================== 列表通用 ==================== */
.client-list-card {
    overflow: hidden;
}

.client-loading,
.client-empty {
    padding: 54px 20px;
    text-align: center;
    color: #8799a6;
    font-size: 12px;
}

.client-loading::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 11px;
    border: 2px solid #dbe8ee;
    border-top-color: #4a9fbe;
    border-radius: 50%;
    animation: clientSpin .8s linear infinite;
}

@keyframes clientSpin {
    to { transform: rotate(360deg); }
}

.client-empty-icon {
    width: 47px;
    height: 47px;
    margin: 0 auto 10px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83a6b9;
    background: #eef7fa;
}

.client-empty-icon svg {
    width: 24px;
    height: 24px;
}

.client-empty strong {
    display: block;
    color: #4f6b7e;
    font-size: 13px;
    margin-bottom: 3px;
}

.client-empty small {
    color: #899ca9;
    font-size: 11px;
}

/* ==================== 健康证 ==================== */
.client-health-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-bottom: 1px solid #edf3f6;
    background: #fbfdfe;
}

.client-health-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 180px;
}

.client-health-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e9f4f8;
    color: #3b809c;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.client-health-search input {
    height: 36px;
    padding: 6px 32px 6px 40px;
    border-radius: 999px;
    font-size: 12px;
}

.client-health-search-clear {
    position: absolute;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #78909d;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.client-health-search-clear:hover {
    background: #eef4f6;
    color: #365b70;
}

.client-health-batch {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.client-health-selectall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #557183;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

.client-health-selected {
    color: #8194a2;
    font-size: 11px;
    white-space: nowrap;
}

.client-btn-sm {
    min-height: 32px;
    padding: 5px 12px;
    font-size: 12px;
}

.client-btn-danger {
    border-color: #e8b6ae;
    background: #fff5f3;
    color: #c34430;
}

.client-btn-danger:hover:not(:disabled) {
    border-color: #d97765;
    background: #ffeae6;
}

.client-btn-danger:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.client-health-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    padding-right: 2px;
}

.client-health-item.is-selected {
    background: #f2f9fc;
    box-shadow: inset 3px 0 0 #7fb6cb;
}

.client-health-list {
    display: flex;
    flex-direction: column;
}

.client-health-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid #edf3f6;
    transition: background .18s ease;
}

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

.client-health-item:hover {
    background: #fafdfe;
}

.client-health-item.is-expired {
    background: linear-gradient(90deg, #fff8f7, #fff 66%);
    box-shadow: inset 4px 0 0 #e05b45;
}

.client-health-item.is-expiring {
    background: linear-gradient(90deg, #fffbf2, #fff 66%);
    box-shadow: inset 4px 0 0 #d99525;
}

.client-health-photo {
    width: 76px;
    height: 96px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f6f8;
    border: 1px solid #dce8ee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f95a3;
    font-size: 11px;
    text-align: center;
}

.client-health-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-health-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

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

.client-health-name {
    min-width: 0;
}

.client-health-name h3 {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #1d3b52;
    font-size: 14.5px;
    font-weight: 700;
}

.client-health-name p {
    margin: 3px 0 0;
    color: #8194a2;
    font-size: 11px;
}

.client-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .02em;
}

.client-status-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.client-status-valid {
    color: #1c725d;
    background: var(--client-success-soft);
}

.client-status-valid::before {
    background: #2a9d8f;
}

.client-status-expiring {
    color: #9c620e;
    background: var(--client-warning-soft);
}

.client-status-expiring::before {
    background: #d99525;
}

.client-status-expired {
    color: #a43d36;
    background: var(--client-danger-soft);
}

.client-status-expired::before {
    background: #e05b45;
}

.client-status-unset {
    color: #6f8290;
    background: #f1f5f7;
}

.client-status-unset::before {
    background: #a9b8c1;
}

.client-health-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    color: #5f7789;
    font-size: 11px;
    line-height: 1.6;
}

.client-health-meta b {
    color: #3c5d73;
    font-weight: 600;
}

.client-health-meta .is-danger {
    color: var(--client-danger);
    font-weight: 700;
}

.client-health-meta .is-warning {
    color: var(--client-warning);
    font-weight: 700;
}

.client-health-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-left: 4px;
    min-width: 106px;
}

.client-row-actions {
    display: flex;
    gap: 7px;
}

.client-action {
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #d8e5ec;
    background: #fff;
    color: #527087;
    font-size: 12px;
    cursor: pointer;
    transition: all .16s ease;
}

.client-action:hover {
    border-color: #a9c9d8;
    color: var(--client-primary-dark);
    background: #f7fbfc;
}

.client-action.danger {
    color: #b54a42;
    border-color: #ead5d2;
}

.client-action.danger:hover {
    color: #9d332c;
    background: #fff7f6;
    border-color: #e6bdb8;
}

.client-expiry-note {
    color: #9a413a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
    text-align: right;
}

.client-expiry-note.warning {
    color: #9c620e;
}

/* ==================== 培训记录 ==================== */
.client-training-list,
.client-test-list {
    display: grid;
    gap: 10px;
}

.client-training-card {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(204, 221, 231, .9);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--client-shadow-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.client-training-card:hover {
    transform: translateY(-1px);
    border-color: #aecddc;
    box-shadow: 0 9px 24px rgba(1, 42, 74, .08);
}

.client-training-date {
    width: 120px;
    flex: 0 0 auto;
    padding: 15px 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(145deg, #edf7fa, #f8fcfd);
    border-right: 1px solid #e3eef3;
    color: #32657e;
}

.client-training-date strong {
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.client-training-date span {
    margin-top: 3px;
    font-size: 11.5px;
    color: #6c8b9d;
}

.client-training-main {
    min-width: 0;
    flex: 1;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.client-training-copy {
    min-width: 0;
    flex: 1;
}

.client-training-copy p {
    margin: 0;
    color: #38546a;
    font-size: 12.5px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.client-training-copy small {
    display: block;
    margin-top: 7px;
    color: #91a2ae;
    font-size: 11px;
}

.client-training-photos {
    flex: 0 0 auto;
    display: flex;
    gap: 5px;
}

.client-training-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0ebf0;
    background: #f2f6f8;
}

.client-training-more {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d8598;
    background: #f2f6f8;
    border: 1px solid #e0ebf0;
    font-size: 11px;
    font-weight: 700;
}

.client-training-open {
    flex: 0 0 auto;
    color: #9cacb8;
    font-size: 14px;
}

.client-training-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 14px 0 12px;
    margin: 12px 0;
    border-left: 1px dashed #e3edf2;
}

.client-training-side .client-action {
    height: 29px;
}

/* ==================== 检测记录 ==================== */
.client-test-card {
    border: 1px solid rgba(204, 221, 231, .9);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--client-shadow-sm);
    padding: 16px 17px;
    display: flex;
    align-items: stretch;
    gap: 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.client-test-card:hover {
    border-color: #b6d1de;
    box-shadow: 0 9px 24px rgba(1, 42, 74, .07);
}

.client-test-main {
    min-width: 0;
    flex: 1;
}

.client-test-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.client-test-head h3 {
    margin: 0;
    color: #1e3d55;
    font-size: 14px;
    font-weight: 700;
}

.client-result-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.client-result-pass {
    color: #1c725d;
    background: var(--client-success-soft);
}

.client-result-fail {
    color: #a43d36;
    background: var(--client-danger-soft);
}

.client-result-empty {
    color: #6f8290;
    background: #f1f5f7;
}

.client-test-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin-top: 9px;
    color: #6f8493;
    font-size: 11.5px;
}

.client-test-meta b {
    color: #36576e;
    font-weight: 600;
}

.client-test-meta .client-optional-item::after {
    content: "可填";
    margin-left: 4px;
    padding: 1px 4px;
    border-radius: 4px;
    color: #2b6985;
    background: #eaf5f9;
    font-size: 11px;
}

.client-test-report {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 270px;
    flex-wrap: wrap;
}

.client-report-chip {
    width: 46px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f1f6f8;
    border: 1px solid #dce8ee;
    color: #5a7990;
    font-size: 11px;
    font-weight: 700;
}

.client-report-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-report-pdf {
    flex-direction: column;
    gap: 2px;
    color: #9b4f49;
    background: #fdf3f1;
    border-color: #efd5d1;
}

.client-report-pdf svg {
    width: 20px;
    height: 20px;
}

.client-test-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    padding-left: 3px;
    border-left: 1px dashed #e3edf2;
}

/* ==================== 弹窗 ==================== */
.client-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(7, 30, 47, .52);
    backdrop-filter: blur(5px);
}

.client-modal.is-open {
    display: flex;
    animation: clientModalFade .18s ease both;
}

@keyframes clientModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.client-modal-card {
    width: min(690px, 100%);
    max-height: min(88vh, 880px);
    display: flex;
    flex-direction: column;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 20, 35, .32);
    animation: clientModalUp .24s cubic-bezier(.2, .8, .2, 1) both;
    overflow: hidden;
}

@keyframes clientModalUp {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.client-modal-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #eaf1f5;
}

.client-modal-head h3 {
    margin: 0;
    color: var(--client-deep);
    font-size: 17px;
}

.client-modal-close {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid #e3ecf1;
    border-radius: 9px;
    background: #fff;
    color: #7b8f9e;
    font-size: 21px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .16s ease;
}

.client-modal-close:hover {
    color: #415f75;
    border-color: #c9dce6;
    background: #f7fbfc;
}

.client-modal-body {
    padding: 20px 22px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.client-photo-editor {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 19px;
    padding-bottom: 19px;
    border-bottom: 1px solid #edf3f6;
}

.client-photo-preview {
    width: 88px;
    height: 112px;
    border-radius: 10px;
    border: 1px dashed #c3d7e1;
    background: #f4f9fb center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ea3b2;
    font-size: 11.5px;
    text-align: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.client-photo-preview.has-image {
    border-style: solid;
    border-color: #bed5e0;
}

.client-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-photo-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
}

.client-photo-controls small {
    color: #8b9da9;
    font-size: 11.5px;
}

.client-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #c7dae4;
    border-radius: 9px;
    color: #3b637b;
    background: #f9fdff;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .16s ease;
}

.client-file-button:hover {
    border-color: #8fbccd;
    background: #f0f9fc;
}

.client-file-button input {
    display: none;
}

.client-file-button-wide {
    width: 100%;
    height: 39px;
    border-style: dashed;
    border-color: #bcd4df;
    background: #f8fcfe;
    margin-top: 10px;
}

.client-file-button-wide:hover {
    border-color: #8fbccd;
    color: var(--client-primary-dark);
}

.client-text-btn {
    border: 0;
    padding: 0;
    background: none;
    color: #8b9da9;
    font-size: 11.5px;
    cursor: pointer;
}

.client-text-btn.danger {
    color: #b44a42;
}

.client-text-btn:hover {
    text-decoration: underline;
}

.client-modal-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin: 24px -22px -20px;
    padding: 15px 22px;
    border-top: 1px solid #eaf1f5;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    z-index: 2;
}

/* ---------------- 图片裁剪 ---------------- */
.client-crop-modal {
    z-index: 260;
}

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

.client-crop-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 18px;
}

.client-crop-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    max-height: 58vh;
    padding: 12px;
    overflow: hidden;
    border-radius: 12px;
    background: #0b2233;
}

.client-crop-canvas-wrap {
    position: relative;
    max-width: 100%;
    line-height: 0;
}

.client-crop-canvas-wrap img {
    display: block;
    max-width: 100%;
    max-height: 50vh;
    pointer-events: none;
    user-select: none;
}

.client-crop-box {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .52);
    cursor: move;
    touch-action: none;
}

.client-crop-box::before,
.client-crop-box::after {
    content: "";
    position: absolute;
    background: transparent;
    pointer-events: none;
}

.client-crop-box::before {
    left: 33.33%;
    right: 33.33%;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, .55);
    border-right: 1px solid rgba(255, 255, 255, .55);
}

.client-crop-box::after {
    top: 33.33%;
    bottom: 33.33%;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(255, 255, 255, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.client-crop-handle {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.client-crop-handle.nw { left: -7px; top: -7px; cursor: nwse-resize; }
.client-crop-handle.n { left: 50%; top: -7px; margin-left: -7px; cursor: ns-resize; }
.client-crop-handle.ne { right: -7px; top: -7px; cursor: nesw-resize; }
.client-crop-handle.e { right: -7px; top: 50%; margin-top: -7px; cursor: ew-resize; }
.client-crop-handle.se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.client-crop-handle.s { left: 50%; bottom: -7px; margin-left: -7px; cursor: ns-resize; }
.client-crop-handle.sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.client-crop-handle.w { left: -7px; top: 50%; margin-top: -7px; cursor: ew-resize; }

.client-crop-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.client-crop-toolbar .client-btn {
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 11px;
}

.client-crop-info {
    margin-left: auto;
    color: #6f8797;
    font-size: 11.5px;
}

.client-crop-queue {
    color: #7b8f9e;
    font-size: 11.5px;
}

.client-crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 12px 20px 16px;
    border-top: 1px solid #eaf1f5;
    background: #fff;
}

.client-upload-block {
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid #edf3f6;
}

.client-upload-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.client-upload-head > span {
    color: #294a64;
    font-size: 12.5px;
    font-weight: 650;
}

.client-upload-head small {
    color: #8a9ba8;
    font-size: 11.5px;
}

.client-upload-head b {
    color: #416a80;
}

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

.client-photo-cell {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 9px;
    overflow: hidden;
    background: #f1f6f8;
    border: 1px solid #dce8ee;
}

.client-photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-photo-cell button {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: rgba(17, 42, 57, .66);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.client-photo-cell button:hover {
    background: rgba(180, 55, 45, .9);
}

.client-photo-placeholder {
    aspect-ratio: 1 / 1;
    border-radius: 9px;
    border: 1px dashed #d1e0e7;
    background: #fafcfd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1b2bd;
    font-size: 11px;
    text-align: center;
}

.client-report-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-report-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border: 1px solid #e0ebf0;
    border-radius: 9px;
    background: #fbfdfe;
}

.client-report-row-icon {
    width: 30px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff5f8;
    color: #668596;
    border: 1px solid #e0ebf0;
    font-size: 10.5px;
    font-weight: 700;
}

.client-report-row-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-report-row-icon.pdf {
    color: #a04d46;
    background: #fdf4f2;
    border-color: #ecd8d4;
}

.client-report-row-name {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #506b7e;
    font-size: 11px;
}

.client-report-row .client-text-btn {
    flex: 0 0 auto;
}

.client-report-empty {
    padding: 13px;
    border: 1px dashed #d4e2e9;
    border-radius: 9px;
    color: #91a2ae;
    background: #fbfdfe;
    font-size: 11px;
    text-align: center;
}

/* ==================== 删除确认 ==================== */
.client-confirm {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 30, 47, .5);
    backdrop-filter: blur(4px);
}

.client-confirm.is-open {
    display: flex;
}

.client-confirm-card {
    width: min(370px, 100%);
    padding: 21px 22px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 20, 35, .3);
    animation: clientModalUp .22s ease both;
}

.client-confirm-card h3 {
    margin: 0 0 7px;
    color: #203e54;
    font-size: 16px;
}

.client-confirm-card p {
    margin: 0;
    color: #6d8392;
    font-size: 12px;
    line-height: 1.65;
}

.client-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 19px;
}

.client-confirm-danger {
    border-color: transparent;
    color: #fff;
    background: #cf5147;
}

.client-confirm-danger:hover {
    background: #bb4037;
}

/* ==================== 提示 ==================== */
.client-toast-wrap {
    position: fixed;
    z-index: 420;
    top: 84px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.client-toast {
    min-width: 180px;
    max-width: min(360px, calc(100vw - 36px));
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: rgba(20, 54, 73, .94);
    box-shadow: 0 10px 28px rgba(0, 20, 35, .2);
    font-size: 12px;
    line-height: 1.5;
    animation: clientToastIn .22s ease both;
}

.client-toast.success {
    background: rgba(28, 114, 93, .96);
}

.client-toast.error {
    background: rgba(166, 61, 54, .96);
}

.client-toast.is-out {
    animation: clientToastOut .2s ease both;
}

@keyframes clientToastIn {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ==================== 页脚 ==================== */
.client-footer {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 14px 2px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #90a1ae;
    font-size: 11.5px;
}

.client-footer p {
    margin: 0;
}

.client-footer a {
    color: #6b8799;
}

.client-footer a:hover {
    color: var(--client-primary);
    text-decoration: underline;
}

/* ==================== 单位端健康证导入 ==================== */
.client-dup-modal {
    z-index: 260;
}

.client-dup-card {
    width: min(620px, 100%);
}

.client-dup-message {
    margin: 0 0 12px;
    color: #4f6879;
    font-size: 12px;
    line-height: 1.7;
}

.client-dup-list {
    display: grid;
    gap: 9px;
}

.client-dup-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid #dbe8ee;
    border-radius: 10px;
    background: #f8fbfc;
    cursor: pointer;
}

.client-dup-item.is-selected {
    border-color: #57a0bd;
    background: #edf8fc;
    box-shadow: 0 0 0 1px rgba(87, 160, 189, .12);
}

.client-dup-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 56px;
    overflow: hidden;
    border: 1px solid #dbe8ee;
    border-radius: 6px;
    background: #fff;
    color: #9aacb8;
    font-size: 10px;
    line-height: 1.3;
    text-align: center;
}

.client-dup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-dup-item input[type="radio"] {
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    border: 0;
    border-radius: 0;
    padding: 0;
    accent-color: #3b8cab;
}

.client-dup-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.client-dup-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #244d65;
    font-size: 13px;
    font-weight: 700;
}

.client-dup-sub {
    margin-top: 3px;
    color: #6f8594;
    font-size: 11px;
    line-height: 1.55;
    word-break: break-all;
}

.client-dup-sub strong {
    color: #335c72;
    font-weight: 600;
}

.client-dup-note {
    margin: 12px 0 0;
    padding: 9px 12px;
    border: 1px solid #f0c9c2;
    border-radius: 8px;
    background: #fff3f1;
    color: #a84034;
    font-size: 11.5px;
    line-height: 1.6;
}

.client-dup-note[hidden] {
    display: none;
}

.client-dup-newid {
    display: grid;
    gap: 6px;
    margin-top: 13px;
    color: #42677c;
    font-size: 11.5px;
    font-weight: 600;
}

.client-dup-newid input {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d4e3ea;
    border-radius: 8px;
    color: #244d65;
    font: inherit;
    font-size: 12.5px;
    letter-spacing: .04em;
}

.client-dup-newid input:focus {
    border-color: #6aabc4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 171, 196, .14);
}

.client-import-modal {
    z-index: 240;
}

.client-import-card {
    width: min(1180px, 100%);
    max-height: min(92vh, 940px);
}

.client-import-subtitle {
    margin: 5px 0 0;
    color: #7b8f9e;
    font-size: 11.5px;
    font-weight: 400;
}

.client-btn-sm {
    height: 32px;
    padding: 0 11px;
    font-size: 11.5px;
    text-decoration: none;
}

.client-import-body {
    padding: 16px 20px 18px;
}

.client-import-intro {
    padding: 13px 15px;
    border: 1px solid #dbeaf1;
    border-radius: 12px;
    background: #f7fbfd;
    color: #526c7e;
    font-size: 11.5px;
    line-height: 1.65;
}

.client-import-intro p {
    margin: 0 0 7px;
}

.client-import-intro ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}

.client-import-intro li {
    margin: 0;
}

.client-import-intro b {
    color: #2b5d77;
}

.client-import-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.client-import-file-name {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #587083;
    font-size: 11.5px;
}

.client-import-photo-status {
    color: #6d8495;
    font-size: 11.5px;
    white-space: nowrap;
}

.client-import-drop {
    margin-top: 12px;
    padding: 22px 16px;
    border: 1.5px dashed #b8d2df;
    border-radius: 13px;
    background: #f9fdff;
    text-align: center;
    cursor: pointer;
    transition: all .16s ease;
}

.client-import-drop:hover,
.client-import-drop.is-dragover {
    border-color: #4a9dbd;
    background: #f0f9fc;
}

.client-import-drop-title {
    color: #315a72;
    font-size: 13px;
    font-weight: 600;
}

.client-import-drop-sub {
    margin: 4px 0 10px;
    color: #8196a5;
    font-size: 11px;
}

.client-import-preview {
    margin-top: 14px;
}

.client-import-preview[hidden] {
    display: none;
}

.client-import-summary {
    margin-bottom: 8px;
    color: #60788a;
    font-size: 11.5px;
    line-height: 1.6;
}

.client-import-summary b {
    color: #2d5268;
    font-size: 12.5px;
}

.client-import-summary b.is-ok,
.client-import-status-line.is-ok,
.client-import-photo-cell .is-ok,
.client-import-status-line.is-ok {
    color: #23845e;
}

.client-import-summary b.is-bad,
.client-import-status-line.is-error {
    color: #bf4338;
}

.client-import-summary b.is-warn,
.client-import-status-line.is-warn {
    color: #b46f13;
}

.client-import-status-line.is-info {
    color: #32718f;
}

.client-import-table-scroll {
    max-height: 46vh;
    overflow: auto;
    border: 1px solid #dfeaf0;
    border-radius: 11px;
    background: #fff;
}

.client-import-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    table-layout: auto;
}

.client-import-table th,
.client-import-table td {
    padding: 3px 5px;
    border-bottom: 1px solid #edf3f6;
    color: #4c6272;
    font-size: 10.5px;
    line-height: 1.25;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.client-import-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef6f9;
    color: #335669;
    font-weight: 700;
}

.client-import-table tbody tr:last-child td {
    border-bottom: 0;
}

.client-import-table tbody tr:hover td {
    background: #f8fcfd;
}

.client-import-table .client-import-row-error td {
    background: #fff7f6;
}

.client-import-table .client-import-row-warn td {
    background: #fffbf0;
}

.client-import-cell-error {
    background: #fde3df !important;
}

.client-import-cell-warn {
    background: #fff1d0 !important;
}

.client-import-cell-new,
.client-import-cell-old {
    display: block;
}

.client-import-cell-new {
    color: #1f8b5c;
    font-weight: 600;
}

.client-import-cell-old {
    color: #61717d;
    font-size: 10.5px;
}

.client-import-action-cell {
    text-align: center !important;
}

.client-import-action-select {
    width: 100%;
    min-width: 128px;
    max-width: 190px;
    height: 32px;
    padding: 4px 22px 4px 8px;
    border: 1px solid #d5e4ea;
    border-radius: 7px;
    background: #fff;
    color: #45677a;
    font-size: 11px;
    line-height: 1.25;
}

.client-import-action-select.is-pending {
    border-color: #d89128;
    background: #fff9ee;
    color: #8a5b12;
}

.client-import-action-select.is-add {
    border-color: #9cd2b7;
    background: #f2fbf6;
    color: #1f7653;
}

.client-import-action-select.is-update {
    border-color: #e7b6aa;
    background: #fff6f3;
    color: #a84936;
}

.client-import-action-cell.is-error {
    background: #fff9ee;
}

.client-import-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.client-import-mode-option {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 5px;
    border-radius: 6px;
    color: #577182;
    font-size: 10.5px;
    line-height: 1.5;
    cursor: pointer;
}

.client-import-mode-option.is-active {
    background: #eff8fb;
    color: #2d6f8a;
    font-weight: 700;
}

.client-import-candidates-row td {
    padding: 0 10px 9px !important;
    background: #f7fbfc !important;
    white-space: normal !important;
}

.client-import-candidates {
    padding: 8px 10px;
    border: 1px solid #dbe9ef;
    border-radius: 9px;
    background: #fff;
}

.client-import-candidates-title {
    margin-bottom: 6px;
    color: #5a7383;
    font-size: 10.5px;
    font-weight: 600;
}

.client-import-candidate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.client-import-candidate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid #e1ebf0;
    border-radius: 8px;
    background: #fbfdfe;
    color: #577182;
    font-size: 10.5px;
    line-height: 1.5;
    cursor: pointer;
}

.client-import-candidate.is-active {
    border-color: #88bbcd;
    background: #eff8fb;
    color: #2d6f8a;
    font-weight: 600;
}

.client-import-candidate-date {
    color: #335669;
    font-weight: 700;
}

.client-import-candidate-id {
    color: #6a7e8b;
}

.client-import-existing-row td {
    background: #fbfdfe !important;
}

.client-import-existing-row.is-selected td {
    background: #eff8fb !important;
}

.client-import-existing-row td.client-import-existing-row-label {
    padding: 2px 4px !important;
    color: #2d6f8a;
    font-weight: 700;
    text-align: center;
}

.client-import-existing-row-label input {
    margin: 0;
}

.client-import-table .client-import-status-line {
    font-size: 9.5px;
    line-height: 1.25;
}

.client-import-existing-row-label label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.client-import-existing-value {
    color: #5d7382 !important;
}

.client-import-existing-row.is-selected .client-import-existing-value {
    color: #2f6076 !important;
}

.client-import-existing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fde9e5;
    color: #b84c3e;
    font-size: 10.5px;
    font-weight: 700;
}

.client-import-action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}

.client-import-action-badge.is-add {
    color: #1f845b;
    background: #e4f6ec;
}

.client-import-action-badge.is-update {
    color: #b84c3e;
    background: #fde9e5;
}

.client-import-action-confirm,
.client-import-action-edit {
    display: inline-block;
    margin: 5px 0 0 4px;
    padding: 2px 7px;
    border: 1px solid #cfe0e8;
    border-radius: 999px;
    background: #fff;
    color: #4c7287;
    font-size: 10px;
    line-height: 1.5;
    cursor: pointer;
}

.client-import-action-confirm {
    border-color: #e2b46e;
    background: #fff8ec;
    color: #8a5b12;
}

.client-import-action-confirm:hover,
.client-import-action-edit:hover {
    border-color: #7fb3c8;
}

.client-import-groups {
    display: grid;
    gap: 6px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed #dce8ee;
}

.client-import-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #5d7382;
}

.client-import-group-btn {
    padding: 3px 9px;
    border: 1px solid #d3e2e9;
    border-radius: 999px;
    background: #fff;
    color: #4d6e80;
    font-size: 10.5px;
    cursor: pointer;
}

.client-import-group-btn.is-active {
    border-color: #3b8cab;
    background: #eaf7fc;
    color: #1f6b88;
    font-weight: 600;
}

.client-import-recommend-all {
    display: inline-block;
    margin-top: 9px;
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: #2c7da0;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
}

.client-import-recommend-all:hover {
    background: #246a88;
}

.client-import-photo-cell img {
    display: block;
    width: 30px;
    height: 38px;
    margin-bottom: 0;
    border-radius: 4px;
    object-fit: cover;
    background: #eef4f7;
}

.client-import-photo-cell .is-ok {
    display: block;
    font-size: 10px;
}

.client-import-photo-compare {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e3edf2;
}

.client-import-photo-compare:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.client-import-photo-compare span {
    display: block;
    font-size: 10px;
}

.client-import-photo-compare.is-new span {
    color: #23845e;
}

.client-import-photo-compare.is-old span {
    color: #8a9aa5;
}

.client-import-photo-compare.is-old img {
    opacity: .78;
}

.client-import-muted {
    color: #9aaab4;
    font-size: 10.5px;
}

.client-import-status-cell {
    min-width: 150px;
    max-width: 260px;
    white-space: normal !important;
}

.client-import-status-line {
    display: block;
    margin-bottom: 3px;
    font-size: 10.5px;
    line-height: 1.4;
    white-space: normal;
}

.client-import-foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid #e8f0f4;
    background: rgba(255, 255, 255, .97);
}

.client-import-foot-hint {
    color: #738797;
    font-size: 11.5px;
}

.client-import-foot-hint.is-ok {
    color: #23845e;
}

.client-import-foot-hint.is-bad {
    color: #bf4338;
}

.client-import-foot-actions {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .client-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-hero {
        align-items: flex-start;
    }

    .client-hero-tip {
        margin-top: 3px;
    }
}

@media (max-width: 760px) {
    .client-topbar {
        height: auto;
        min-height: 62px;
        padding: 9px 14px;
        gap: 8px;
    }

    .client-topbar-brand strong {
        font-size: 13px;
    }

    .client-topbar-brand small {
        display: none;
    }

    .client-unit-chip b {
        max-width: 128px;
        font-size: 11px;
    }

    .client-unit-chip small {
        font-size: 11px;
    }

    .client-logout {
        height: 29px;
        padding: 0 10px;
        font-size: 11px;
    }

    .client-shell {
        width: calc(100% - 24px);
        padding-top: 14px;
    }

    .client-hero {
        padding: 20px 18px 18px;
        border-radius: 17px;
        display: block;
    }

    .client-hero h1 {
        font-size: 23px;
        margin: 5px 0 7px;
    }

    .client-hero p {
        gap: 6px;
        font-size: 11.5px;
    }

    .client-hero-tip {
        align-items: flex-start;
        text-align: left;
        margin-top: 12px;
        padding-top: 11px;
        border-top: 1px dashed #dce8ee;
    }

    .client-module-grid {
        gap: 8px;
        margin: 11px 0 16px;
    }

    .client-module-card {
        padding: 11px 10px;
        gap: 9px;
        border-radius: 12px;
    }

    .client-module-icon {
        width: 35px;
        height: 35px;
        border-radius: 9px;
    }

    .client-module-icon svg {
        width: 18px;
        height: 18px;
    }

    .client-module-text strong {
        font-size: 11.5px;
    }

    .client-module-text small {
        font-size: 11px;
    }

    .client-module-arrow {
        display: none;
    }

    .client-panel-head {
        display: block;
        margin: 3px 2px 11px;
    }

    .client-panel-head h2 {
        font-size: 17px;
    }

    .client-panel-head p {
        font-size: 11.5px;
    }

    .client-panel-tools {
        margin-top: 10px;
        justify-content: space-between;
        width: 100%;
    }

    .client-btn {
        height: 35px;
        padding: 0 12px;
        font-size: 11.5px;
    }

    .client-profile-card {
        padding: 16px 14px;
    }

    .client-profile-section-head {
        display: block;
        margin-bottom: 10px;
    }

    .client-profile-section-head small {
        display: block;
        margin-top: 2px;
        text-align: left;
    }

    .client-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

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

    .client-form-actions {
        display: block;
    }

    .client-form-tip {
        display: block;
        margin-bottom: 10px;
    }

    .client-form-actions .client-btn {
        width: 100%;
        height: 39px;
    }

    .client-health-item {
        gap: 10px;
        padding: 12px 11px;
        border-radius: 0;
    }

    .client-health-photo {
        width: 62px;
        height: 80px;
        border-radius: 8px;
        font-size: 11px;
    }

    .client-health-top {
        display: block;
    }

    .client-health-name h3 {
        font-size: 13px;
        gap: 5px;
    }

    .client-health-meta {
        gap: 4px 12px;
        font-size: 11px;
        margin-top: 5px;
    }

    .client-health-actions {
        min-width: 84px;
        gap: 6px;
    }

    .client-row-actions {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .client-action {
        width: 100%;
        height: 30px;
        padding: 0 7px;
        font-size: 12px;
    }

    .client-expiry-note {
        font-size: 11px;
        max-width: 84px;
    }

    .client-training-card {
        display: block;
    }

    .client-training-date {
        width: auto;
        padding: 10px 12px;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 6px;
        border-right: 0;
        border-bottom: 1px solid #e3eef3;
    }

    .client-training-date strong {
        font-size: 16px;
    }

    .client-training-date span {
        margin: 0;
        font-size: 11px;
    }

    .client-training-main {
        padding: 11px 12px;
        align-items: flex-start;
    }

    .client-training-copy p {
        font-size: 11.5px;
        -webkit-line-clamp: 3;
    }

    .client-training-photos {
        flex-wrap: wrap;
        max-width: 100px;
        justify-content: flex-end;
    }

    .client-training-thumb,
    .client-training-more {
        width: 37px;
        height: 37px;
    }

    .client-training-open {
        display: none;
    }

    .client-training-side {
        margin: 0;
        padding: 0 12px 11px;
        border-left: 0;
        justify-content: flex-end;
    }

    .client-training-side .client-action {
        height: 28px;
        min-width: 58px;
    }

    .client-test-card {
        display: block;
        padding: 13px 13px 12px;
    }

    .client-test-head h3 {
        font-size: 13px;
    }

    .client-test-meta {
        gap: 4px 13px;
        font-size: 11px;
    }

    .client-test-report {
        margin-top: 10px;
        max-width: none;
    }

    .client-report-chip {
        width: 42px;
        height: 48px;
    }

    .client-test-actions {
        margin-top: 10px;
        padding: 9px 0 0;
        border-left: 0;
        border-top: 1px dashed #e3edf2;
        flex-direction: row;
        align-items: center;
    }

    .client-test-actions .client-row-actions {
        flex-direction: row;
        width: auto;
    }

    .client-test-actions .client-action {
        width: auto;
        min-width: 54px;
    }

    .client-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .client-modal-card {
        width: 100%;
        max-height: 92vh;
        border-radius: 17px;
    }

    .client-modal-head {
        padding: 15px 15px 12px;
    }

    .client-modal-head h3 {
        font-size: 15px;
    }

    .client-modal-body {
        padding: 15px 15px 15px;
    }

    .client-modal-actions {
        margin: 20px -15px -15px;
        padding: 12px 15px;
    }

    .client-modal-actions .client-btn {
        flex: 1;
        height: 38px;
    }

    .client-photo-editor {
        gap: 13px;
    }

    .client-photo-preview {
        width: 72px;
        height: 92px;
    }

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

    .client-crop-card {
        width: 100%;
    }

    .client-crop-body {
        padding: 10px 12px 12px;
    }

    .client-crop-stage {
        min-height: 190px;
        max-height: 46vh;
        padding: 7px;
    }

    .client-crop-canvas-wrap img {
        max-height: 40vh;
    }

    .client-crop-info {
        width: 100%;
        margin-left: 0;
    }

    .client-crop-actions {
        padding: 10px 12px 12px;
    }

    .client-crop-actions .client-btn {
        flex: 1;
        height: 36px;
    }

    .client-toast-wrap {
        top: 68px;
        left: 12px;
        right: 12px;
    }

    .client-toast {
        max-width: none;
        width: 100%;
    }

    .client-footer {
        width: calc(100% - 24px);
        font-size: 11px;
        padding-bottom: 18px;
    }
}

@media (max-width: 420px) {
    .client-module-grid {
        grid-template-columns: 1fr;
    }

    .client-module-card {
        padding: 11px 12px;
    }

    .client-hero-tip {
        display: none;
    }

    .client-login-card {
        padding: 26px 21px 21px;
        border-radius: 19px;
    }
}

/* ==================== 图片查看器 ==================== */
.client-photo-viewer {
    z-index: 1200;
    padding: 0;
    background: rgba(2, 12, 22, .985);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.client-photo-viewer-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 54px 18px 0;
    --client-viewer-stage: 62vh;
}

.client-photo-viewer-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.client-photo-viewer-close:hover {
    background: rgba(255, 255, 255, .28);
}

.client-photo-viewer-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 44px 10px;
    color: #e8f1f7;
    font-size: 16px;
}

.client-photo-viewer-head > span:first-child {
    font-weight: 600;
}

.client-photo-viewer-counter {
    min-width: 64px;
    text-align: center;
    color: #b8ccd9;
}

.client-photo-viewer-stage {
    flex: 0 0 var(--client-viewer-stage);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.client-photo-viewer-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.client-photo-viewer-actions {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-top: 18px;
}

.client-photo-viewer-btn {
    min-width: 78px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}

.client-photo-viewer-btn:not(:disabled):hover {
    background: rgba(255, 255, 255, .22);
    border-color: #fff;
}

.client-photo-viewer-btn:disabled {
    opacity: .32;
    cursor: default;
}

.client-photo-viewer-btn.is-save {
    border-color: #7fc6a0;
    background: rgba(42, 146, 92, .28);
}

.client-photo-viewer-btn.is-save:hover {
    background: rgba(42, 146, 92, .42);
}

.client-health-photo img,
.client-training-thumb,
.client-report-chip img {
    cursor: zoom-in;
}

@media (max-width: 640px) {
    .client-photo-viewer-box {
        padding: 50px 10px 0;
        --client-viewer-stage: 56vh;
    }

    .client-photo-viewer-head {
        padding: 0 42px 8px;
        font-size: 15px;
    }

    .client-photo-viewer-actions {
        gap: 8px;
        padding-top: 14px;
    }

    .client-photo-viewer-btn {
        min-width: 72px;
        padding: 8px 9px;
        font-size: 14px;
    }
}

@media (max-width: 760px) {
    .client-import-card {
        max-height: 94vh;
    }

    .client-import-body {
        padding: 13px 14px 14px;
    }

    .client-import-intro {
        padding: 11px 12px;
    }

    .client-import-intro ul {
        padding-left: 16px;
    }

    .client-import-toolbar .client-btn-sm {
        flex: 1 1 auto;
    }

    .client-import-file-name {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .client-import-table-scroll {
        max-height: 43vh;
    }

    .client-import-foot {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 14px 12px;
    }

    .client-import-foot-actions {
        justify-content: flex-end;
    }

    .client-import-foot-actions .client-btn {
        flex: 1;
        height: 38px;
    }
}

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

[hidden] {
    display: none !important;
}
