:root { color-scheme: light; --navy: #07111d; --ink: #14283a; --muted: #63717e; --teal: #437d78; --mint: #a5cfbf; --line: #dce3e5; --paper: #f5f7f7; font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #478b83; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(28px, 3vw, 36px); line-height: 1.35; letter-spacing: -.6px; margin-bottom: 10px; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.5; }
.member-shell { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }
.member-header { background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; height: 80px; gap: 22px; }
.member-brand img { display: block; width: 134px; height: 46px; object-fit: contain; }
.header-divider { height: 24px; width: 1px; background: #324151; }
.header-title { font-size: 15px; letter-spacing: .05em; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 13px; }
.language-button { border: 1px solid #526373; border-radius: 4px; background: transparent; color: white; min-height: 32px; padding: 3px 11px; }
.preview-strip { background: #e5efea; border-bottom: 1px solid #d2e0d9; font-size: 12px; color: #375c50; }
.preview-strip .member-shell { display: flex; align-items: center; gap: 10px; min-height: 39px; padding-block: 8px; }
.preview-dot { background: #56816d; border-radius: 50%; width: 6px; height: 6px; flex-shrink: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 50; transform: translateY(-200%); background: #fff; padding: 8px 16px; }
.skip-link:focus { transform: none; }
.auth-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 76px; padding-block: 46px 70px; align-items: start; }
.form-unframed { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-unframed:disabled { opacity: .65; }
.btn:disabled { cursor: not-allowed; }
.check-row a { color: var(--teal); text-decoration: underline; }
.policy-document { padding-block: 48px; max-width: 880px; line-height: 1.8; }
.auth-story { padding: 32px 0 0 12px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .17em; margin-bottom: 22px; }
.auth-story h1 { font-size: clamp(34px, 4vw, 49px); line-height: 1.28; margin-bottom: 22px; font-weight: 650; }
.story-copy { max-width: 390px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.story-steps { margin-block: 34px 28px; list-style: none; padding: 0; }
.story-steps li { display: flex; align-items: start; gap: 15px; padding: 15px 0; }
.step-number { color: var(--teal); font-size: 11px; border: 1px solid #b9cdc5; background: #eaf2ed; height: 28px; width: 28px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; }
.story-steps strong { display: block; font-weight: 600; font-size: 14px; }
.story-steps small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.story-note { border-top: 1px solid var(--line); padding-top: 20px; max-width: 420px; color: var(--muted); font-size: 12px; }
.auth-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 30px 34px; box-shadow: 0 8px 32px #14283a05; }
.auth-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.auth-tabs a { padding: 0 0 12px; color: var(--muted); font-size: 16px; }
.auth-tabs .is-active { border-bottom: 2px solid var(--teal); color: var(--ink); font-weight: 650; }
.form-copy { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field-label { font-size: 12px; font-weight: 600; }
.field small { color: var(--muted); font-size: 11px; }
.full { grid-column: 1 / -1; }
input:not([type=checkbox]), select, textarea { background: #fff; border: 1px solid #ced8dc; border-radius: 4px; min-height: 42px; width: 100%; padding: 9px 11px; color: var(--ink); }
input[readonly] { color: #6e7c85; background: #f4f6f7; }
input::placeholder, textarea::placeholder { color: #919da5; }
textarea { resize: vertical; min-height: 92px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 9px; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.interest { border: 1px solid var(--line); border-radius: 4px; padding: 8px; display: flex; align-items: start; gap: 7px; font-size: 11px; cursor: pointer; }
.interest:has(input:checked) { border-color: #6f9d8e; background: #f1f7f4; }
input[type=checkbox] { accent-color: var(--teal); flex-shrink: 0; height: 14px; width: 14px; margin: 2px 0 0; }
.consents { display: grid; gap: 9px; margin-top: 20px; }
.check-row { display: flex; align-items: start; gap: 9px; font-size: 11px; color: #586775; }
.check-row button { color: var(--teal); border: 0; border-bottom: 1px solid currentColor; padding: 0; background: none; font-size: inherit; }
.optional-consent { border-top: 1px solid #edf0f1; padding-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 9px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--ink); color: white; }
.btn:hover { background: #26465c; }
.btn-primary { background: var(--teal); }
.btn-primary:hover { background: #326964; }
.btn-secondary { background: white; border-color: #cdd8dc; color: var(--ink); }
.btn-secondary:hover { background: #edf2f1; }
.btn-danger { background: #b24444; color: white; }
.btn-danger:hover { background: #993535; }
.btn-small { min-height: 32px; padding: 5px 11px; font-size: 11px; }
.submit-wide { width: 100%; margin-top: 21px; min-height: 44px; }
.form-error { color: #a63333; font-size: 12px; margin: 14px 0 0; min-height: 0; }
.demo-links { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.text-button { border: 0; background: transparent; color: var(--teal); padding: 5px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.verify-icon { width: 52px; height: 52px; border: 1px solid #cfdfd6; border-radius: 50%; background: #eff6f2; display: grid; place-items: center; color: var(--teal); font-size: 24px; margin-bottom: 22px; }
.verify-code { background: #edf4ef; border-left: 3px solid #85ab97; padding: 13px 16px; font-size: 12px; margin-bottom: 22px; }
.verify-code strong { letter-spacing: 3px; font-size: 17px; }
.workspace { display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 36px; padding-block: 36px 70px; }
.sidebar { border-right: 1px solid var(--line); padding-right: 20px; }
.sidebar-label { font-size: 10px; letter-spacing: .13em; color: var(--muted); margin-block: 8px 16px; }
.sidebar-nav { display: grid; gap: 5px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 4px; font-size: 13px; color: #586b77; }
.sidebar-nav a.is-active { color: var(--teal); background: #e5efea; font-weight: 600; }
.mfa-qr { display: block; width: min(240px,100%); height: auto; background: #fff; margin-block: 20px; }
.mfa-secret { display: block; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 12px; }
.admin-search { display: flex; gap: 12px; align-items: end; }
.admin-search .field { flex: 1; }
.admin-member-form { display: grid; grid-template-columns: minmax(200px,1.5fr) 110px 95px minmax(150px,1fr) auto; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-block: 18px; }
.admin-member-form p, .admin-review-form p, .admin-deletion-row p { margin-bottom: 0; }
.admin-review-form { display: grid; grid-template-columns: minmax(200px,1.5fr) 130px minmax(160px,1fr) auto; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-block: 20px; }
.admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.admin-deletion-row { border-top: 1px solid var(--line); padding-block: 16px; }
.request-note { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 8px; }
@media (max-width: 1100px) {
  .admin-member-form, .admin-review-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-member-form > div, .admin-review-form > div, .admin-reason { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .admin-search { align-items: stretch; flex-direction: column; }
  .admin-member-form, .admin-review-form { grid-template-columns: minmax(0, 1fr); }
}
.nav-icon { font-size: 15px; min-width: 16px; text-align: center; }
.sidebar-person { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px; font-size: 11px; color: var(--muted); }
.sidebar-person strong { display: block; color: var(--ink); font-size: 13px; }
.sidebar-person code { display: block; font-size: 10px; margin: 3px 0 14px; }
.workspace-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 27px; }
.workspace-heading p { color: var(--muted); margin-bottom: 0; font-size: 12px; }
.kicker { color: var(--teal); font-size: 10px; letter-spacing: .12em; margin-bottom: 7px; }
.card { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 23px; min-width: 0; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.card-title h2 { font-size: 16px; margin-bottom: 0; }
.badge { display: inline-block; background: #eef3f3; color: #61717b; border: 1px solid #dfe7e8; padding: 2px 8px; border-radius: 3px; font-size: 10px; white-space: nowrap; }
.badge-active { background: #eaf4ed; color: #487656; border-color: #d7e7db; }
.badge-pending { background: #fbf5e5; color: #917228; border-color: #eee0b9; }
.badge-disabled, .badge-rejected { background: #f8eceb; color: #a1534c; border-color: #eedad7; }
.summary-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.identity-card { background: #0e2235; color: white; border-color: #0e2235; }
.identity-top { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.avatar { width: 46px; height: 46px; border: 1px solid #607b86; background: #264750; color: #bddece; display: grid; place-items: center; border-radius: 50%; font-size: 19px; flex-shrink: 0; }
.identity-top h2 { margin-bottom: 2px; }
.identity-top p { font-size: 11px; color: #a9bbc7; margin-bottom: 0; }
.star-line { font-size: 24px; color: #b5d9c8; }
.star-line span { font-size: 13px; margin-left: 10px; }
.identity-meta { display: flex; justify-content: space-between; font-size: 10px; color: #a9bbc7; border-top: 1px solid #2c4252; padding-top: 18px; margin-top: 20px; gap: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 23px; }
.stat-row strong { display: block; font-size: 25px; font-weight: 500; }
.stat-row span { color: var(--muted); font-size: 10px; }
.muted-copy { font-size: 12px; color: var(--muted); }
.subtle-note { padding: 12px 15px; border-left: 2px solid #93b3a4; background: #f1f6f3; font-size: 11px; color: #5a7568; }
.section-gap { margin-top: 22px; }
.action-list { display: grid; }
.action-list > a, .list-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid #edf0f1; gap: 12px; }
.action-list > a:first-child, .list-row:first-child { border-top: 0; padding-top: 0; }
.action-list strong { display: block; font-size: 12px; }
.action-list small { color: var(--muted); font-size: 11px; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.group-code { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: .07em; }
.group-card h2 { font-size: 16px; margin-block: 10px 8px; }
.group-card p { min-height: 44px; color: var(--muted); font-size: 12px; }
.group-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #edf0f1; padding-top: 15px; margin-top: 18px; }
.form-panel { max-width: 720px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { color: var(--muted); font-weight: 500; background: #f6f8f8; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e7eded; vertical-align: middle; }
td strong { display: block; color: var(--ink); font-size: 12px; }
td small { color: var(--muted); font-size: 10px; display: block; }
.table-actions { display: flex; align-items: center; gap: 7px; }
.empty { text-align: center; padding: 32px 15px; color: var(--muted); font-size: 12px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.admin-stats .card { padding: 17px 20px; }
.admin-stats strong { display: block; font-size: 28px; font-weight: 500; }
.admin-stats span { font-size: 11px; color: var(--muted); }
.table-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.table-toolbar input { flex: 1; min-width: 0; }
.table-toolbar select { width: 134px; }
.admin-member-table { min-width: 590px; }
.audit-list { list-style: none; margin: 0; padding: 0; max-height: 210px; overflow-y: auto; }
.audit-list li { display: flex; gap: 15px; padding: 9px 0; border-bottom: 1px solid #edf0f1; font-size: 11px; }
.audit-list time { color: var(--muted); font-size: 10px; min-width: 38px; }
dialog { padding: 0; width: min(500px, calc(100% - 32px)); max-height: calc(100% - 64px); overflow-y: auto; border: 1px solid #d2dddf; border-radius: 7px; color: var(--ink); box-shadow: 0 20px 100px #07111d25; }
dialog::backdrop { background: #07111d77; }
.dialog-body { padding: 28px; }
.dialog-body h2 { padding-right: 28px; }
.dialog-copy { font-size: 12px; color: var(--muted); }
.dialog-close { position: absolute; top: 15px; right: 17px; border: 0; background: none; font-size: 23px; color: #657580; width: 28px; height: 28px; }
.dialog-actions { display: flex; gap: 10px; justify-content: end; margin-top: 24px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 12px 22px; max-width: calc(100% - 32px); background: #173647; color: white; border: 1px solid #426671; font-size: 12px; border-radius: 5px; box-shadow: 0 6px 24px #07111d20; z-index: 80; }
@media (max-width: 1000px) { .auth-layout { gap: 38px; grid-template-columns: .85fr 1.15fr; } .auth-story { padding-left: 0; } .auth-card { padding: 25px; } .workspace { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } .summary-grid { grid-template-columns: 1fr; } }
@media (max-width: 740px) {
  .member-shell { width: calc(100% - 32px); } .header-inner { height: 64px; gap: 12px; } .member-brand img { width: 104px; height: 36px; } .header-title { font-size: 12px; } .header-actions { gap: 14px; } #home-link { display: none; }
  .auth-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; } .auth-story { padding-top: 0; } .auth-story h1 { font-size: 31px; } .auth-story .eyebrow { margin-bottom: 10px; } .story-steps, .story-note { display: none; } .story-copy { max-width: 100%; margin-bottom: 0; font-size: 13px; } .auth-card { padding: 24px 20px; }
  .workspace { display: block; padding-top: 18px; } .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 14px; margin-bottom: 25px; } .sidebar-label { display: none; } .sidebar-nav { display: flex; gap: 3px; overflow-x: auto; } .sidebar-nav a { flex-shrink: 0; padding: 9px; font-size: 11px; gap: 5px; } .sidebar-person { display: flex; gap: 10px; align-items: center; border: 0; margin: 9px 0 0; padding: 0 8px; } .sidebar-person code { margin: 0; } .sidebar-person > button { margin-left: auto; }
  .workspace-heading { margin-bottom: 20px; } .workspace-heading h1 { font-size: 25px; } .workspace-heading .btn { padding: 8px 10px; font-size: 10px; } .group-grid { gap: 12px; } .card { padding: 18px; } .group-card h2 { font-size: 14px; } .group-card-footer { align-items: start; flex-direction: column; } .admin-stats { gap: 8px; } .admin-stats .card { padding: 12px; } .admin-stats strong { font-size: 24px; }
}
@media (max-width: 390px) { .form-grid { grid-template-columns: 1fr; } .interest-grid, .group-grid { grid-template-columns: 1fr; } .header-title { display: none; } .group-card-footer { flex-direction: row; } .table-toolbar { flex-wrap: wrap; } .table-toolbar select { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
.sidebar-person strong, .identity-top > div, .admin-member-form > div, .admin-review-form > div, .admin-deletion-row {
  min-width: 0;
  overflow-wrap: anywhere;
}
