:root {
  --blue: #06488f;
  --blue-dark: #053b75;
  --blue-bright: #0a5caf;
  --blue-soft: #eaf3fb;
  --green: #11966a;
  --green-dark: #0a7652;
  --ink: #112a45;
  --text: #40566d;
  --muted: #7a8b9d;
  --line: #dfe7ef;
  --paper: #f4f7fa;
  --white: #ffffff;
  --warning: #bb3d2f;
  --shadow: 0 22px 60px rgba(21, 53, 86, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(10, 92, 175, .28); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript { position: fixed; inset: auto 16px 16px; z-index: 100; margin: 0; padding: 13px 16px; background: #fff1ef; border: 1px solid #f1c9c4; color: #9c3025; text-align: center; font-size: 13px; }

/* 报名与签到 */
.registration-body { min-height: 100vh; background: #f8fafc; }
.page-frame { min-height: 100vh; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.page-frame::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; border: 76px solid rgba(6, 72, 143, .04); border-radius: 50%; top: 125px; right: -285px; }
.page-frame::after { content: ""; position: absolute; z-index: -1; width: 150px; height: 150px; background: rgba(6, 72, 143, .025); transform: rotate(45deg); bottom: 92px; left: -105px; }
.site-header { width: 100%; min-height: 82px; padding: max(14px, env(safe-area-inset-top)) 16px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { min-width: 0; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; border-radius: 4px; text-decoration: none; }
.brand img { display: block; width: min(48vw, 172px); height: auto; }
.brand-slogan { color: #4f647a; font-size: 9px; font-weight: 650; letter-spacing: .09em; line-height: 1.25; white-space: nowrap; }
.header-label { max-width: 108px; display: block; color: #74869a; text-align: right; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.registration-main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px 18px 46px; display: grid; gap: 32px; align-items: center; flex: 1; }
.registration-intro { padding: 6px 2px 0; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 10px; font-weight: 750; letter-spacing: .22em; }
.eyebrow i { display: block; width: 30px; height: 2px; background: currentColor; }
.registration-intro h1 { margin: 21px 0 17px; color: #0c2d50; font-size: clamp(35px, 11vw, 48px); line-height: 1.19; letter-spacing: -.045em; font-weight: 760; }
.registration-intro h1 span:first-child { color: var(--blue); }
.intro-copy { max-width: 535px; margin: 0; color: #6c7f92; font-size: 14px; line-height: 1.85; }
.progress-steps { max-width: 480px; margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; color: #8a9aac; }
.progress-steps li:not([aria-hidden]) { display: flex; align-items: center; gap: 6px; }
.progress-steps li[aria-hidden] { padding: 0 8px; }
.progress-steps li[aria-hidden] i { display: block; height: 1px; background: #d5e0ea; }
.progress-steps b { width: 25px; height: 25px; border: 1px solid #cdd9e5; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 650; }
.progress-steps span { white-space: nowrap; font-size: 10px; }
.progress-steps .is-active { color: var(--blue); font-weight: 650; }
.progress-steps .is-active b { color: #fff; background: var(--blue); border-color: var(--blue); }
.service-note { display: none; margin-top: 38px; align-items: center; gap: 13px; }
.service-note > b { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #cbdceb; border-radius: 50%; color: var(--blue); font-size: 13px; }
.service-note p { margin: 0; display: grid; gap: 3px; }
.service-note strong { color: #48627d; font-size: 11px; }
.service-note span { color: #8a9bac; font-size: 10px; }

.registration-card { width: 100%; min-height: 550px; padding: 31px 21px 28px; background: #fff; border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.card-heading { margin-bottom: 25px; padding-bottom: 19px; border-bottom: 1px solid #edf1f5; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.card-heading p { margin: 0 0 5px; color: #91a2b3; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.card-heading h2 { margin: 0; color: #14395f; font-size: 24px; line-height: 1.2; }
.card-heading > span { padding-bottom: 3px; color: #6f8295; font-size: 10px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.card-heading > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(17, 150, 106, .1); }
#registration-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; color: #3c5570; font-size: 13px; font-weight: 650; }
.field > span { display: flex; align-items: center; gap: 7px; }
.field > span em { color: #9ba9b7; font-style: normal; font-size: 9px; font-weight: 500; }
.field input { width: 100%; min-height: 51px; padding: 13px 14px; border: 1px solid #d7e1eb; border-radius: 2px; outline: none; background: #fbfcfd; color: var(--ink); font-size: 16px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.field input::placeholder { color: #a1afbd; }
.field input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(6, 72, 143, .075); }
.field input[aria-invalid="true"] { border-color: #d25b4e; background: #fffafa; }
.field-error { min-height: 0; color: var(--warning); font-size: 11px; font-weight: 500; line-height: 1.3; }
.field-error:empty { display: none; }
.consent { margin-top: 1px; display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; color: #78899a; cursor: pointer; }
.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent > span { width: 18px; height: 18px; margin-top: 1px; border: 1px solid #b9c7d4; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.consent > span::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 800; transform: scale(0); transition: transform .15s; }
.consent input:checked + span { border-color: var(--blue); background: var(--blue); }
.consent input:checked + span::after { transform: scale(1); }
.consent input:focus-visible + span { outline: 3px solid rgba(10, 92, 175, .25); outline-offset: 2px; }
.consent p { margin: 0; font-size: 11px; line-height: 1.68; }
.consent-error { margin-top: -14px; }
.form-alert { margin: -2px 0 0; padding: 10px 12px; border-left: 3px solid #d14c3e; background: #fff2f0; color: #a5352a; font-size: 12px; line-height: 1.55; }
.primary-button { width: 100%; min-height: 54px; padding: 0 18px; border: 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: space-between; font-weight: 650; letter-spacing: .05em; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.primary-button:hover { background: var(--blue-dark); box-shadow: 0 9px 22px rgba(6, 72, 143, .18); transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { opacity: .65; box-shadow: none; transform: none; }
.primary-button b { font-size: 22px; line-height: 1; font-weight: 400; }

.success-panel { padding: 28px 0 4px; text-align: center; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 21px; border-radius: 50%; background: #e7f7f0; color: var(--green); display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.success-kicker { margin: 0; color: var(--blue); font-size: 9px; font-weight: 750; letter-spacing: .2em; }
.success-panel h2 { margin: 9px 0 8px; color: #173957; font-size: 29px; }
.success-panel > p:not(.success-kicker):not(.success-tip) { margin: 0 0 24px; color: #6f8193; font-size: 13px; line-height: 1.65; }
.confirmation-list { margin: 0 0 17px; padding: 3px 17px; background: #f7f9fb; text-align: left; }
.confirmation-list div { padding: 12px 0; display: grid; grid-template-columns: 78px 1fr; align-items: baseline; border-bottom: 1px solid #e6edf3; }
.confirmation-list div:last-child { border: 0; }
.confirmation-list dt { color: #8595a5; font-size: 11px; }
.confirmation-list dd { margin: 0; color: #28435d; font-size: 13px; font-weight: 650; word-break: break-word; }
.success-tip { margin: 0 0 18px; color: #8494a4; font-size: 10px; line-height: 1.55; }
.success-tip i { width: 15px; height: 15px; margin-right: 4px; border: 1px solid #b8c6d3; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 9px; }
.secondary-button { width: 100%; min-height: 48px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font-weight: 650; transition: background .18s, color .18s; }
.secondary-button:hover { background: var(--blue-soft); }
.site-footer { min-height: 91px; padding: 23px 20px calc(23px + env(safe-area-inset-bottom)); background: var(--blue-dark); color: #fff; display: flex; flex-direction: column; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 8px; }
.site-footer span { font-size: 12px; font-weight: 650; letter-spacing: .25em; }
.site-footer p { margin: 0; color: rgba(255, 255, 255, .61); font-size: 11px; }
.icp-link { width: 100%; color: rgba(255, 255, 255, .76); text-align: center; text-decoration: none; text-underline-offset: 2px; font-size: 11px; line-height: 1.5; }
.icp-link:hover, .icp-link:focus-visible { color: #fff; text-decoration: underline; }
.checkin-mode .eyebrow, .checkin-mode .registration-intro h1 span:first-child, .checkin-mode .progress-steps .is-active { color: var(--green); }
.checkin-mode .progress-steps .is-active b, .checkin-mode .consent input:checked + span, .checkin-mode .primary-button { background: var(--green); border-color: var(--green); }
.checkin-mode .registration-card { border-top-color: var(--green); }
.checkin-mode .primary-button:hover { background: var(--green-dark); box-shadow: 0 9px 22px rgba(17, 150, 106, .17); }
.checkin-mode .field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(17, 150, 106, .075); }

/* 管理员登录 */
.admin-body { min-height: 100vh; background: var(--paper); }
.admin-login-page { min-height: 100vh; padding: 24px; display: grid; place-items: center; position: relative; overflow: hidden; }
.admin-login-page::before { content: ""; position: absolute; z-index: -1; width: 440px; height: 440px; top: -210px; left: -210px; border-radius: 50%; background: rgba(6, 72, 143, .045); }
.admin-login-page::after { content: ""; position: absolute; z-index: -1; width: 310px; height: 310px; right: -175px; bottom: -170px; border: 62px solid rgba(6, 72, 143, .035); border-radius: 50%; }
.admin-login-card { width: min(430px, 100%); padding: 41px 25px 35px; border-top: 4px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.admin-login-card > img { width: 196px; display: block; margin: 0 auto 30px; }
.admin-kicker { margin: 0; color: var(--blue); text-align: center; font-size: 9px; font-weight: 750; letter-spacing: .24em; }
.admin-login-card h1 { margin: 9px 0 7px; color: #173753; text-align: center; font-size: 27px; }
.login-copy { margin: 0 0 28px; color: #7e8e9e; text-align: center; font-size: 12px; }
#login-form { display: grid; gap: 17px; }
.back-link { display: block; margin-top: 24px; color: #74879a; text-align: center; text-decoration: none; font-size: 11px; }
.back-link:hover { color: var(--blue); }

/* 数据后台 */
.admin-page { min-height: 100vh; background: #f4f7fa; }
.admin-header { min-height: 70px; padding: 13px 17px; padding-top: max(13px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-brand { min-width: 0; display: flex; align-items: center; }
.admin-brand img { display: block; width: 140px; }
.admin-brand > i, .admin-brand > span { display: none; }
.admin-header nav { display: flex; align-items: center; gap: 14px; }
.admin-header nav > button { min-height: 36px; padding: 0 4px; border: 0; background: transparent; color: #65798d; font-size: 11px; }
.admin-header nav > button:hover { color: var(--blue); }
.live-indicator { display: none; color: #78899b; font-size: 10px; align-items: center; gap: 8px; white-space: nowrap; }
.live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(17, 150, 106, .1); }
.admin-content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 31px 15px 48px; }
.dashboard-heading { margin-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.dashboard-heading p { margin: 0; color: var(--blue); font-size: 9px; font-weight: 750; letter-spacing: .21em; }
.dashboard-heading h1 { margin: 7px 0 4px; color: #162f49; font-size: 27px; letter-spacing: -.035em; }
.dashboard-heading > div > span { color: #7d8e9f; font-size: 12px; }
.dashboard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dashboard-actions .qr-button { grid-column: 1 / -1; }
.dashboard-actions button { min-height: 43px; padding: 0 12px; font-size: 11px; font-weight: 650; }
.dashboard-actions button i { margin-right: 6px; font-style: normal; font-size: 16px; }
.dashboard-actions button.is-loading i { display: inline-block; animation: spin .75s linear infinite; }
.outline-button { border: 1px solid #bdcbd9; background: #fff; color: #35536e; }
.outline-button:hover { border-color: #8da5bb; background: #fafdff; }
.solid-button { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.solid-button:hover { background: var(--blue-dark); }
.metric-grid { margin-bottom: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric { min-height: 129px; padding: 20px 18px; border: 1px solid #e1e9f0; background: #fff; position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; width: 85px; height: 85px; top: -39px; right: -35px; border: 16px solid rgba(6, 72, 143, .035); border-radius: 50%; }
.metric > span { display: block; margin-bottom: 11px; color: #6f8295; font-size: 11px; }
.metric strong { display: block; color: #183752; font-size: 32px; line-height: 1; }
.metric small { display: block; margin-top: 14px; color: #94a2b0; font-size: 10px; }
.metric small b { color: inherit; }
.metric-primary { border-color: var(--blue); background: var(--blue); }
.metric-primary > span, .metric-primary small { color: rgba(255, 255, 255, .68); }
.metric-primary strong { color: #fff; }
.metric-primary::after { border-color: rgba(255, 255, 255, .065); }
.data-card { border: 1px solid #e0e8ef; background: #fff; }
.data-toolbar { padding: 19px 17px; border-bottom: 1px solid #e7edf3; display: flex; flex-direction: column; gap: 15px; }
.data-title { display: flex; align-items: baseline; gap: 9px; }
.data-title h2 { margin: 0; color: #18344f; font-size: 18px; }
.data-title span { color: #91a0af; font-size: 10px; }
.data-title span b { color: inherit; }
.toolbar-controls { display: grid; grid-template-columns: 1fr 112px; gap: 8px; }
.search-control { min-width: 0; height: 40px; padding-left: 11px; border: 1px solid #d7e1e9; background: #fbfcfd; display: flex; align-items: center; }
.search-control > span { margin-right: 7px; color: #8ea0b0; font-size: 18px; line-height: 1; transform: rotate(-18deg); }
.search-control input { min-width: 0; width: 100%; height: 38px; padding: 0 9px 0 0; border: 0; outline: 0; background: transparent; color: #425b73; font-size: 12px; }
.search-control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 72, 143, .07); }
.toolbar-controls select { width: 100%; height: 40px; padding: 0 9px; border: 1px solid #d7e1e9; outline: 0; background: #fbfcfd; color: #53697e; font-size: 11px; }
.toolbar-controls select:focus { border-color: var(--blue); }
.table-wrap { min-height: 220px; }
table { width: 100%; border-collapse: collapse; }
thead { display: none; }
tbody { display: grid; padding: 0 14px; }
tr { padding: 16px 0; border-bottom: 1px solid #edf1f5; display: grid; gap: 10px; }
tr:last-child { border-bottom: 0; }
td { padding: 0; color: #405970; font-size: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; text-align: right; }
td::before { content: attr(data-label); flex: 0 0 70px; color: #8a9aa9; text-align: left; font-size: 10px; }
td > strong { display: block; color: #173753; font-size: 14px; }
td > small { margin-top: 3px; color: #99a6b3; font-size: 9px; }
td:first-child > strong { margin-left: auto; }
td:first-child { align-items: baseline; flex-wrap: wrap; }
td:first-child > small { width: calc(100% - 90px); margin-left: auto; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; font-size: 10px; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; }
.status-pill.checked { background: #e8f7f1; color: #087751; }
.status-pill.checked i { background: var(--green); }
.status-pill.pending { background: #fff6e1; color: #947023; }
.status-pill.pending i { background: #d7a22c; }
.text-button { min-height: 32px; padding: 3px 0; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 650; }
.text-button:hover { color: var(--blue-dark); text-decoration: underline; }
.text-button:disabled { opacity: .45; }
.empty-state { min-height: 260px; padding: 50px 20px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state b { width: 42px; height: 42px; border-radius: 50%; background: #f1f5f8; color: #91a1af; display: grid; place-items: center; font-size: 18px; }
.empty-state p { margin: 13px 0 4px; color: #536a7f; font-size: 13px; }
.empty-state span { color: #96a4b1; font-size: 10px; }
.data-footer { min-height: 47px; padding: 12px 16px; border-top: 1px solid #e8eef3; background: #fbfcfd; display: flex; flex-direction: column; justify-content: center; gap: 5px; color: #8e9cab; font-size: 9px; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 70; padding: 18px; background: rgba(8, 27, 47, .68); backdrop-filter: blur(4px); display: grid; place-items: center; }
.qr-modal { width: min(730px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 37px 18px 22px; border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 28px 80px rgba(4, 25, 46, .28); text-align: center; position: relative; }
.modal-close { position: absolute; top: 9px; right: 12px; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: #8192a3; font-size: 27px; line-height: 1; }
.modal-close:hover { color: var(--blue); }
.qr-modal > h2 { margin: 8px 0 6px; color: #173753; font-size: 26px; }
.qr-modal-copy { margin: 0 0 23px; color: #7c8d9e; font-size: 11px; }
.qr-grid { display: grid; gap: 14px; }
.qr-grid article { padding: 20px 16px 18px; border: 1px solid #e0e8ef; background: #fff; }
.qr-image { width: min(224px, 100%); aspect-ratio: 1; margin: 0 auto; padding: 8px; border: 3px solid var(--blue); background: #fff; display: grid; place-items: center; }
.qr-image-checkin { border-color: var(--green); }
.qr-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-grid h3 { margin: 14px 0 4px; color: #193a58; font-size: 16px; }
.qr-grid article > p { margin: 0 0 13px; color: #8293a3; font-size: 10px; }
.qr-grid article > a { min-height: 38px; padding: 0 14px; border: 1px solid #c5d2de; color: #31516e; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 11px; font-weight: 650; }
.qr-grid article > a:hover { border-color: var(--blue); color: var(--blue); background: #f8fbfe; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: max(24px, calc(14px + env(safe-area-inset-bottom))); transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 11px 17px; border-radius: 3px; background: #153a5b; box-shadow: 0 12px 32px rgba(15, 41, 66, .23); color: #fff; text-align: center; font-size: 12px; white-space: nowrap; }
.toast.is-error { background: #a83e33; }

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

@media (min-width: 680px) {
  .site-header { min-height: 86px; padding-left: 30px; padding-right: 30px; }
  .brand img { width: 207px; }
  .brand-slogan { font-size: 10px; letter-spacing: .12em; }
  .header-label { max-width: none; font-size: 12px; letter-spacing: .1em; }
  .registration-main { padding-left: 30px; padding-right: 30px; }
  .registration-card { padding: 39px 38px 34px; }
  .service-note { display: flex; }
  .site-footer { padding-left: 30px; padding-right: 30px; flex-direction: row; align-items: center; justify-content: space-between; }
  .icp-link { flex: 0 0 100%; }
  .admin-login-card { padding: 48px 46px 41px; }
  .admin-header { padding-left: 24px; padding-right: 24px; }
  .admin-brand img { width: 164px; }
  .live-indicator { display: flex; }
  .admin-content { padding: 41px 24px 60px; }
  .dashboard-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .dashboard-actions { display: flex; }
  .dashboard-actions .qr-button { grid-column: auto; }
  .dashboard-actions button { padding: 0 17px; }
  .data-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .toolbar-controls { width: min(430px, 62%); grid-template-columns: minmax(220px, 1fr) 122px; }
  .data-footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .qr-modal { padding: 41px 42px 35px; }
  .qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 940px) {
  .site-header { max-width: 1240px; min-height: 92px; margin: 0 auto; }
  .brand img { width: 220px; }
  .registration-main { min-height: calc(100vh - 184px); padding-top: 44px; padding-bottom: 61px; grid-template-columns: 1.06fr .84fr; gap: clamp(60px, 8vw, 100px); }
  .registration-intro { padding: 0 0 40px; }
  .eyebrow { font-size: 11px; }
  .registration-intro h1 { margin-top: 27px; margin-bottom: 22px; font-size: clamp(50px, 5vw, 69px); }
  .intro-copy { font-size: 16px; line-height: 1.9; }
  .progress-steps { margin-top: 50px; }
  .progress-steps li:not([aria-hidden]) { gap: 9px; }
  .progress-steps li[aria-hidden] { padding: 0 16px; }
  .progress-steps b { width: 29px; height: 29px; font-size: 10px; }
  .progress-steps span { font-size: 12px; }
  .registration-card { min-height: 590px; padding: 43px 43px 39px; display: flex; flex-direction: column; justify-content: center; }
  .site-footer { padding-left: max(30px, calc((100vw - 1180px) / 2 + 30px)); padding-right: max(30px, calc((100vw - 1180px) / 2 + 30px)); }
  .admin-header { min-height: 74px; padding-left: max(24px, calc((100vw - 1320px) / 2)); padding-right: max(24px, calc((100vw - 1320px) / 2)); }
  .admin-brand > i { display: block; width: 1px; height: 23px; margin: 0 18px; background: var(--line); }
  .admin-brand > span { display: block; color: #344f68; font-size: 13px; font-weight: 650; }
  .admin-content { padding-top: 47px; }
  .dashboard-heading h1 { font-size: 31px; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
  .metric { min-height: 151px; padding: 25px 27px; }
  .metric strong { font-size: 38px; }
  .data-toolbar { min-height: 79px; padding: 16px 21px 16px 25px; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 1180px; }
  thead { display: table-header-group; }
  tbody { display: table-row-group; padding: 0; }
  tr { padding: 0; display: table-row; border: 0; }
  th { padding: 13px 17px; border-bottom: 1px solid #e6edf3; background: #f8fafc; color: #7b8d9e; text-align: left; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
  td { padding: 16px 17px; border-bottom: 1px solid #edf1f5; display: table-cell; text-align: left; vertical-align: middle; font-size: 12px; }
  td::before { content: none; }
  td > strong { font-size: 13px; }
  td > small { display: block; }
  td:first-child > strong { margin: 0; }
  td:first-child > small { width: auto; margin-left: 0; }
  tbody tr:last-child td { border-bottom: 0; }
}

@media (min-width: 1180px) {
  .page-frame::before { width: 560px; height: 560px; top: 110px; right: -170px; border-width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  .dashboard-actions, .toolbar-controls, .admin-header nav, .text-button, .toast { display: none !important; }
  .admin-content { max-width: none; padding: 20px 0; }
  .data-card, .metric { break-inside: avoid; box-shadow: none; }
}
