/* Registration service — deliberately calm, readable, and task-focused. */
:root {
  --bg: #f6f7f9;
  --surface: #fff;
  --ink: #19263d;
  --muted: #7b8495;
  --soft: #a0a8b6;
  --line: #e8ebf1;
  --blue: #3159d9;
  --blue-deep: #2347bf;
  --blue-light: #f1f5ff;
  --green: #22836c;
  --green-light: #eef8f4;
  --orange: #a96719;
  --orange-light: #fff8ed;
  --red: #c34a4a;
  --shadow: 0 5px 24px rgba(33, 48, 77, .035);
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 14px; line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; vertical-align: middle; }
button svg, .button svg, .inline-link svg { width: 18px; height: 18px; }
button:focus-visible, a:focus-visible { outline: 3px solid #aac0ff; outline-offset: 4px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }
::selection { background: #dce6ff; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.step-item > button { display: flex; align-items: flex-start; gap: 13px; width: 100%; padding: 0; border: 0; border-radius: 5px; background: none; color: inherit; text-align: left; }
.step-copy { display: flex; flex-direction: column; }
.step-list { margin-top: 24px !important; }
.condition-copy { display: block; min-width: 0; }
.condition-copy > strong, .condition-copy > span { display: block; }
.condition-copy > strong { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.condition-copy .condition-meta { display: flex; align-items: flex-start; gap: 5px; }
.verification-note { color: #977034; font-size: 12px; margin-top: 8px; }
.source-note { margin-top: 22px; color: #768197; font-size: 12px; }
.source-note summary { cursor: pointer; color: #526887; }
.source-note p { margin: 10px 0; }
.source-note svg { width: 15px; height: 15px; }
.muted { color: #7b8495; font-weight: 400; }
.green-text { color: #22836c; }
.danger-text { color: #b64c4c !important; }
.wrap { flex-wrap: wrap; }
.mine-record { margin-bottom: 20px; }
.title-status { display: inline-flex; vertical-align: middle; margin-left: 8px; }
.modal-open { overflow: hidden; }
.demo-strip > span { flex: 1; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; background: #3159d9; border-radius: 50%; vertical-align: 2px; margin-right: 8px; }
.selection-summary.compact { margin: 0 0 25px; }
.review-card p { line-height: 1.9; }
@media(max-width:760px) { .step-item > button { flex-direction: column; align-items: center; gap: 7px; text-align: center; } .demo-strip { align-items: flex-start; } .demo-strip > svg { margin-top: 3px; } }
.topbar { min-height: 86px; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1200px; min-height: 86px; margin: auto; display: flex; align-items: center; gap: 42px; padding: 0 2px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 44px; display: grid; place-items: center; color: var(--blue); background: #eef2ff; border-radius: 12px; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: flex; flex-direction: column; gap: 0; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .3px; line-height: 1.5; }
.brand-sub { color: #969eae; font-size: 10px; letter-spacing: 1.25px; line-height: 1.6; text-transform: uppercase; }
.topnav { display: flex; align-items: center; gap: 30px; height: 86px; }
.nav-link { position: relative; height: 100%; display: flex; align-items: center; color: #6f788a; font-size: 13px; }
.nav-link.active { color: var(--blue); font-weight: 600; }
.nav-link.active::after { content: ""; height: 3px; position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; background: var(--blue); }
.nav-link:hover { color: var(--blue); }
.admin-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #66748c; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; background: #fff; white-space: nowrap; }
.admin-link:hover { border-color: #c8d3f5; color: var(--blue); }
.admin-link svg { width: 15px; height: 15px; }
.page-shell { max-width: 1200px; margin: 0 auto; padding: 34px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: #9099aa; font-size: 12px; margin: 0 0 26px; }
.breadcrumb svg { width: 13px; height: 13px; }
.intro { margin: 0 0 29px; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 2.2px; color: var(--blue); margin-bottom: 8px; text-transform: uppercase; }
.intro-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.intro-title { font-size: 31px; font-weight: 650; letter-spacing: -.8px; line-height: 1.45; margin: 0; }
.intro-copy { color: #7d8799; font-size: 13px; margin: 10px 0 0; line-height: 1.9; }
.preview-badge { color: #7f8796; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; font-size: 11px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.preview-badge::before { content: ""; width: 6px; height: 6px; background: #9aa7c6; border-radius: 50%; }
.demo-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; padding: 9px 14px; border: 1px solid #e4e9f2; border-radius: 8px; color: #7b8598; font-size: 12px; background: #f0f3f8; }
.workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.stepper { position: sticky; top: 22px; padding: 28px 21px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stepper-label { color: #929bac; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 25px; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-item { position: relative; display: flex; gap: 13px; padding: 0 0 30px; color: #9aa2b1; min-height: 77px; }
.step-item:last-child { padding-bottom: 0; min-height: 44px; }
.step-item:not(:last-child)::after { content: ""; position: absolute; top: 35px; bottom: 5px; width: 1px; background: #edf0f4; left: 15px; }
.step-number { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%; background: #f5f6f9; border: 1px solid #ebedf3; font-size: 12px; font-weight: 600; position: relative; z-index: 1; }
.step-number svg { width: 15px; height: 15px; }
.step-copy { padding-top: 2px; min-width: 0; }
.step-name { font-size: 13px; font-weight: 550; line-height: 1.6; }
.step-description { font-size: 11px; margin-top: 3px; color: #b0b7c3; white-space: nowrap; }
.step-item.active { color: var(--blue); }
.step-item.active .step-number { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px #f1f4ff; }
.step-item.active .step-name { font-weight: 650; }
.step-item.active .step-description { color: #8196cf; }
.step-item.done .step-number { background: #eef7f3; color: var(--green); border-color: #e2eee8; }
.step-item.done .step-name { color: #657386; }
.stepper-note { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; color: #969eac; line-height: 1.9; }
.stepper-note strong { color: #718097; display: block; font-weight: 550; margin-bottom: 3px; }
.stepper-note svg { color: #9aabc7; width: 14px; height: 14px; margin-right: 4px; }
.content-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.panel-header { padding: 31px 36px 0; }
.section-kicker { font-size: 10px; letter-spacing: 1.7px; color: #99a3b5; text-transform: uppercase; margin-bottom: 6px; }
.panel-title { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.35px; line-height: 1.5; }
.panel-description { color: #929aaa; font-size: 12px; margin: 8px 0 0; line-height: 1.8; }
.panel-body { padding: 29px 36px 33px; }
.panel-header + .form-grid, .panel-header + .choice-grid, .panel-header + .condition-list, .panel-header + .upload-list, .panel-header + .summary-grid { margin: 28px 36px 32px; }
.section-title { font-size: 13px; font-weight: 600; margin: 0 0 14px; display: flex; align-items: center; gap: 7px; }
.section-title .required { font-weight: 400; }
.section-divider { border: 0; border-top: 1px solid #edf0f5; margin: 27px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field-label { display: block; font-size: 13px; font-weight: 550; color: #526178; margin-bottom: 7px; }
.required { color: #c76c72; margin-left: 3px; }
.field-hint { margin-top: 6px; font-size: 12px; color: #69778c; line-height: 1.8; }
.field-error { color: var(--red); font-size: 11px; margin-top: 5px; }
.input, .select, .textarea, input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { width: 100%; min-width: 0; border: 1px solid #e0e5ed; background: #fff; color: var(--ink); border-radius: 7px; padding: 10px 12px; outline: 0; transition: border-color .15s, box-shadow .15s; min-height: 43px; }
.input::placeholder, input::placeholder, textarea::placeholder { color: #b2b8c5; font-size: 12px; }
.input:hover, input:hover, select:hover, textarea:hover { border-color: #c7cfde; }
.input:focus, input:focus, select:focus, textarea:focus { border-color: #829cef; box-shadow: 0 0 0 3px #f1f4ff; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #e2a0a0; }
input:disabled, select:disabled, textarea:disabled { background: #f6f7f9; color: #a1a8b5; }
textarea { resize: vertical; min-height: 92px; }
select { cursor: pointer; }
.field-row { display: flex; gap: 10px; align-items: center; }
.field-row > * { min-width: 0; flex: 1; }
.certificate-fields { padding: 18px; background: #f9fafc; border: 1px solid #ecf0f5; border-radius: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.occupation-card { position: relative; text-align: left; display: flex; flex-direction: column; align-items: flex-start; min-height: 186px; background: #fff; border: 1px solid #e2e7ef; border-radius: 10px; padding: 22px 23px; color: var(--ink); transition: all .18s; }
.occupation-card:hover { border-color: #a8baee; box-shadow: 0 4px 15px rgba(49,89,217,.05); transform: translateY(-1px); }
.occupation-card.selected { border-color: var(--blue); background: #f7f9ff; box-shadow: 0 0 0 1px var(--blue); }
.occupation-card .selection-check { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #d9dfe9; }
.occupation-card.selected .selection-check { background: var(--blue); border-color: var(--blue); color: #fff; display: grid; place-items: center; }
.occupation-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #eef3ff; margin-bottom: 16px; }
.occupation-icon svg { width: 31px; height: 31px; }
.occupation-card:nth-child(2) .occupation-icon { color: #299384; background: #eef8f5; }
.card-title { font-size: 16px; font-weight: 650; margin: 0 0 5px; }
.card-copy { font-size: 11px; line-height: 1.8; color: #929aaa; margin: 0; }
.card-tag { display: inline-flex; margin-top: 12px; font-size: 10px; line-height: 1.5; padding: 2px 6px; border-radius: 3px; background: #f0f3f8; color: #7f8ba0; }
.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.level-card { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #e2e7ef; border-radius: 8px; background: #fff; text-align: left; min-height: 72px; transition: all .18s; color: #657187; }
.level-card:hover { border-color: #acbeef; }
.level-card.selected { border-color: var(--blue); background: #f6f8ff; box-shadow: 0 0 0 1px var(--blue); color: var(--blue); }
.level-number { display: block; font-size: 22px; font-weight: 650; line-height: 1.2; letter-spacing: -.8px; }
.level-name { display: block; font-size: 12px; }
.level-sub { font-size: 10px; color: #9ca5b5; }
.selection-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #7f8da5; font-size: 11px; padding: 12px 15px; border-radius: 7px; border: 1px solid #e8edf8; background: #f7f9fd; margin: 23px 0 0; }
.selection-summary strong { font-weight: 550; color: #456497; }
.condition-list { display: flex; flex-direction: column; gap: 12px; }
.condition-card { position: relative; display: flex; gap: 13px; padding: 19px 20px; border: 1px solid #e2e7ef; border-radius: 9px; cursor: pointer; background: #fff; text-align: left; color: var(--ink); transition: all .18s; }
.condition-card:hover { border-color: #aec0ef; }
.condition-card.selected { border-color: var(--blue); background: #f7f9ff; box-shadow: 0 0 0 1px var(--blue); }
.radio-dot { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 4px; border: 1px solid #cfd7e4; border-radius: 50%; background: #fff; position: relative; }
.selected .radio-dot { border-color: var(--blue); }
.selected .radio-dot::after { content: ""; background: var(--blue); position: absolute; inset: 4px; border-radius: 50%; }
.condition-index { font-size: 10px; color: #8f9bb1; margin-bottom: 5px; font-weight: 600; }
.condition-text { font-size: 13px; line-height: 1.95; }
.condition-meta { font-size: 11px; color: #8e9bb1; margin-top: 7px; }
.material-preview { background: #fafbf9; border: 1px solid #e7eeea; padding: 16px 18px; margin-top: 20px; border-radius: 8px; color: #6f867e; font-size: 12px; }
.material-preview-title { font-weight: 600; margin-bottom: 9px; }
.material-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dfe8e3; border-radius: 5px; padding: 3px 8px; margin: 3px 5px 3px 0; font-size: 11px; background: #fff; color: #71877d; }
.material-chip svg { width: 12px; height: 12px; }
.notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px 15px; border: 1px solid #e6ebf5; background: #f7f9fe; color: #7b8aa4; font-size: 11px; line-height: 1.9; border-radius: 7px; margin: 18px 0; }
.notice svg { width: 16px; height: 16px; margin-top: 2px; }
.notice.warning { background: var(--orange-light); border-color: #f1e7d8; color: #a08b6d; }
.notice.success { background: var(--green-light); border-color: #dceee6; color: #63907e; }
.upload-list { display: flex; flex-direction: column; gap: 13px; }
.upload-card { display: flex; align-items: center; gap: 15px; border: 1px dashed #dbe2ec; border-radius: 9px; padding: 18px 20px; background: #fcfdff; min-height: 100px; }
.upload-card.has-file { border-style: solid; border-color: #dce9e3; background: #fbfefc; }
.upload-icon { width: 42px; height: 46px; flex: 0 0 42px; display: grid; place-items: center; background: #eef3fc; color: #8fa5d5; border-radius: 8px; }
.has-file .upload-icon { background: #edf7f2; color: #70a58d; }
.upload-icon svg { width: 24px; height: 24px; }
.upload-details { min-width: 0; flex: 1; }
.upload-title { font-size: 13px; font-weight: 550; color: #4c5c74; }
.upload-description { font-size: 11px; color: #a0a8b6; margin-top: 4px; }
.upload-actions { display: flex; align-items: center; gap: 7px; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-name { color: #709081; font-size: 11px; max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px; }
.upload-thumb { width: 42px; height: 50px; object-fit: cover; border-radius: 5px; border: 1px solid #e5e9ef; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 550; line-height: 1.5; padding: 10px 18px; min-height: 40px; border-radius: 7px; border: 1px solid #dfe5ef; color: #64738a; background: #fff; transition: background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.button:hover { background: #f8faff; border-color: #bdcae8; }
.button.primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 3px 7px rgba(49,89,217,.12); }
.button.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button.secondary { background: #fff; color: #66758e; }
.button.ghost { background: transparent; color: #8590a3; border-color: transparent; box-shadow: none; }
.button.ghost:hover { color: var(--blue); background: #f4f7ff; }
.button.small { min-height: 33px; padding: 7px 12px; font-size: 11px; gap: 6px; }
.button.danger { color: var(--red); border-color: #edcdcd; background: #fffafa; }
.button:disabled { opacity: .45; box-shadow: none; }
.button:disabled:hover { transform: none; }
.panel-footer { border-top: 1px solid #edf0f5; background: #fdfdfe; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 36px; }
.footer-left { display: flex; align-items: center; gap: 7px; color: #a4acb9; font-size: 11px; }
.footer-left svg { width: 13px; height: 13px; }
.footer-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 25px; }
.summary-item { min-width: 0; }
.summary-item.full { grid-column: 1/-1; }
.summary-label { display: block; color: #69778c; font-size: 12px; margin-bottom: 5px; }
.summary-value { display: block; color: #526177; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.summary-value strong { color: var(--ink); font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.5; border-radius: 4px; padding: 3px 7px; background: #f2f4f7; color: #8290a3; white-space: nowrap; }
.status-pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-pill.pending { color: #af8b4c; background: #fff7e8; }
.status-pill.returned { color: #ba7d59; background: #fff2eb; }
.status-pill.approved { color: #4e9580; background: #eefaF4; }
.status-pill.draft { color: #8b98ac; background: #f0f3f8; }
.status-pill.rejected { color: #c07171; background: #fff0f0; }
.success-view { text-align: center; padding: 40px 30px 32px; }
.success-icon { margin: 0 auto 20px; width: 65px; height: 65px; border-radius: 50%; display: grid; place-items: center; background: #eff8f3; color: #54a486; box-shadow: 0 0 0 9px #f8fcfa; }
.success-icon svg { width: 29px; height: 29px; }
.success-view h2 { font-size: 23px; font-weight: 650; margin: 0 0 10px; }
.success-view p { font-size: 12px; color: #8d98aa; line-height: 1.9; margin: 0; }
.reference-code { display: inline-flex; gap: 12px; padding: 9px 18px; border: 1px solid #e8edf5; border-radius: 6px; background: #f7f9fc; margin: 20px 0; font-size: 12px; color: #8090a9; letter-spacing: 1px; }
.reference-code strong { color: #44628f; }
.privacy-check, .checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #8994a6; line-height: 1.9; }
.privacy-check input, .checkbox-row input { margin: 4px 0 0; width: 14px; height: 14px; flex: 0 0 14px; }
.inline-link { color: var(--blue); border: 0; padding: 0; background: none; cursor: pointer; font-size: inherit; }
.inline-link:hover { text-decoration: underline; }
.site-footer { max-width: 1200px; margin: 0 auto; padding: 34px 0 27px; display: flex; justify-content: space-between; color: #a4acb9; font-size: 10px; line-height: 1.9; gap: 20px; }
.site-footer svg { width: 12px; height: 12px; margin-right: 4px; }
.mobile-progress { display: none; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.metric-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 21px 24px; box-shadow: var(--shadow); }
.metric-value { font-size: 29px; font-weight: 650; line-height: 1.3; letter-spacing: -.6px; color: #314a75; margin: 8px 0 0; }
.metric-label { font-size: 11px; color: #919bab; }
.metric-card svg { width: 17px; height: 17px; color: #a4b3cf; float: right; margin-top: 3px; }
.admin-toolbar { display: flex; align-items: center; gap: 11px; padding: 22px 25px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-toolbar .search-input { max-width: 240px; margin-right: auto; font-size: 12px; }
.admin-toolbar select { width: auto; min-width: 112px; min-height: 37px; font-size: 11px; padding: 8px 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.data-table th { font-weight: 500; color: #98a2b2; font-size: 11px; text-align: left; padding: 13px 22px; background: #fafbfc; border-bottom: 1px solid var(--line); }
.data-table td { padding: 18px 22px; border-bottom: 1px solid #f0f2f6; color: #67758b; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fcfdff; }
.data-table td strong { font-weight: 600; color: #465875; }
.table-secondary { display: block; color: #758196; font-size: 11px; margin-top: 3px; }
.table-footer { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 11px; color: #a2aabb; }
.empty-state { text-align: center; padding: 65px 22px; color: #a2aabb; font-size: 12px; }
.empty-state svg { width: 37px; height: 37px; color: #c1ccdf; margin-bottom: 12px; }
.empty-state h3 { font-size: 15px; color: #8191aa; font-weight: 550; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 23px 25px; margin-bottom: 18px; }
.review-card h3 { font-size: 14px; margin: 0 0 18px; font-weight: 600; }
.review-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; }
.review-sidebar { min-width: 0; }
.review-main { min-width: 0; }
.review-tabs { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); padding: 0 22px; overflow-x: auto; }
.review-tab { border: 0; background: none; color: #9aa4b5; padding: 15px 2px; border-bottom: 2px solid transparent; font-size: 12px; white-space: nowrap; }
.review-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.review-material { border: 1px solid #e8edf5; border-radius: 8px; padding: 16px; margin-bottom: 13px; }
.review-material img { max-width: 100%; max-height: 400px; object-fit: contain; display: block; margin: 15px auto; border-radius: 5px; }
.review-material iframe { width: 100%; min-height: 380px; border: 1px solid var(--line); border-radius: 5px; margin-top: 12px; }
.review-decision { padding: 20px 0 0; border-top: 1px solid var(--line); margin-top: 20px; }
.review-decision textarea { font-size: 12px; }
.timeline { padding-left: 5px; }
.timeline-item { position: relative; padding: 0 0 23px 21px; border-left: 1px solid #e5eaf2; font-size: 12px; color: #8391a8; line-height: 1.8; }
.timeline-item::before { content: ""; position: absolute; top: 6px; left: -4px; width: 7px; height: 7px; background: #acbbd4; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-time { font-size: 10px; color: #aab3c2; margin-bottom: 3px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(18,30,51,.35); backdrop-filter: blur(3px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 25px; }
.modal { background: #fff; border-radius: 15px; box-shadow: 0 25px 90px rgba(21,36,64,.2); width: min(1080px,100%); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 17px; font-weight: 650; margin: 0; }
.modal-header p { font-size: 11px; margin: 3px 0 0; color: #97a1b3; }
.modal-body { padding: 25px; overflow: auto; overscroll-behavior: contain; }
.modal-footer { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 26px; background: #fbfcfe; border-top: 1px solid var(--line); }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #273b60; box-shadow: 0 8px 25px rgba(18,34,59,.18); border-radius: 8px; padding: 12px 23px; color: #fff; font-size: 12px; z-index: 200; max-width: calc(100vw - 40px); text-align: center; animation: toast-in .2s ease-out; }
/* Real markup adaptations and readable supporting copy. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.modal-open { overflow: hidden; }
.stepper > .section-kicker { margin-bottom: 26px; }
.step-item > button { appearance: none; border: 0; padding: 0; margin: 0; width: 100%; background: transparent; color: inherit; display: flex; gap: 13px; align-items: flex-start; text-align: left; font: inherit; border-radius: 5px; }
.step-item > button:disabled { cursor: default; }
.step-item:not(.active) > button:not(:disabled):hover .step-name { color: var(--blue); }
.step-copy, .step-name, .step-description { display: block; }
.stepper-note p { margin: 5px 0 0; }
.stepper > .button { margin-top: 15px; padding-left: 0; padding-right: 0; font-size: 11px; }
.selection-check svg { width: 12px; height: 12px; stroke-width: 2; }
.selection-summary .card-tag { margin-top: 0; margin-left: auto; }
.selection-summary .field-hint { margin-top: 2px; }
.selection-summary.compact { margin-top: 0; margin-bottom: 25px; }
.selection-summary.compact .card-tag { margin-left: 3px; }
.condition-copy { display: block; flex: 1; min-width: 0; }
.condition-copy > strong { display: block; font-size: 14px; color: #3c4e6d; font-weight: 600; margin-bottom: 5px; }
.condition-index, .condition-text, .condition-meta { display: block; }
.condition-text { font-size: 14px; color: #53627a; }
.condition-meta { color: #6d7e98; font-size: 12px; }
.condition-meta svg { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.condition-card:focus-within { outline: 3px solid #c4d2ff; outline-offset: 3px; }
.verification-note { display: inline-block; margin-top: 9px; font-size: 11px; color: #8b744d; background: #faf5e9; padding: 3px 7px; border-radius: 4px; }
.source-note { margin-top: 24px; color: #6b7990; font-size: 12px; line-height: 1.9; border-top: 1px solid var(--line); padding-top: 17px; }
.source-note summary { cursor: pointer; color: #61728e; font-size: 12px; font-weight: 550; }
.source-note summary svg { width: 14px; height: 14px; margin-left: 4px; }
.source-note p { margin: 12px 0 0; }
.checkbox-row > label { display: inline-flex; align-items: flex-start; gap: 7px; margin-right: 16px; color: #61718a; font-size: 13px; }
.checkbox-row > label input { margin-top: 4px; }
.privacy-check, .checkbox-row { font-size: 12px; color: #69778c; }
.upload-list { margin-top: 18px; }
.upload-title .status-pill { margin-left: 5px; }
.file-name { display: block; }
.file-name svg { width: 13px; height: 13px; margin-right: 4px; }
.file-name > span { margin-left: 5px; color: #758895; }
.title-status { display: inline-flex; margin-left: 8px; vertical-align: middle; }
.muted { color: #758196; font-weight: 400; }
.green-text { color: #287f66; }
.danger-text { color: #b95151 !important; }
.wrap { flex-wrap: wrap; }
.mine-record { margin-bottom: 22px; }
.mine-record .footer-actions { justify-content: flex-end; margin-top: 23px; }
.mine-record .panel-title .muted { font-size: 16px; }
.metric-value { display: block; }
.metric-card .field-hint { display: block; font-size: 11px; margin-top: 5px; }
.admin-toolbar > .review-tabs { padding: 0; border-bottom: 0; gap: 22px; margin-right: auto; }
.admin-toolbar > .review-tabs .review-tab { padding: 4px 0 7px; }
.admin-toolbar .search-input { position: relative; display: block; max-width: 280px; width: 280px; margin: 0; }
.admin-toolbar .search-input > svg { position: absolute; left: 12px; top: 12px; width: 15px; height: 15px; color: #8c9ab0; pointer-events: none; }
.admin-toolbar .search-input > input { min-height: 38px; padding: 9px 12px 9px 35px; font-size: 12px; }
.review-material { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.review-material > div { min-width: 0; }
.review-material .file-name { white-space: normal; overflow-wrap: anywhere; }
.review-decision { display: flex; flex-direction: column; gap: 9px; }
.review-decision > .button { width: 100%; }
.timeline-item > strong { display: block; color: #4d607e; font-weight: 550; }
.timeline-time { display: block; margin-top: 3px; color: #7c899e; }
.timeline-item p { margin: 7px 0 0; }
.success-view h1 { font-size: 24px; font-weight: 650; line-height: 1.6; margin: 10px 0 7px; }
.success-view .notice { max-width: 760px; margin-left: auto; margin-right: auto; }
.success-view > .status-pill { vertical-align: middle; margin-left: 10px; }
.success-view .footer-actions { margin-top: 12px; margin-bottom: 20px; }
.boot { width: min(640px, calc(100% - 40px)); margin: 12vh auto; border: 1px solid var(--line); border-radius: 14px; padding: 32px; background: #fff; }
.boot h1 { font-size: 22px; }
.boot p { color: #69778c; }
.panel-description, .intro-copy, .card-copy, .upload-description, .stepper-note, .step-description, .table-footer, .notice { color: #69778c; }
.panel-description, .intro-copy, .card-copy, .upload-description, .stepper-note { font-size: 12px; }
.notice.warning { color: #8e7148; }
.notice.success { color: #3f826b; }
.demo-strip { color: #68768d; }
.demo-strip > svg { flex-shrink: 0; width: 16px; height: 16px; }
.demo-strip > span { flex: 1; }
.demo-strip > button { flex-shrink: 0; }
.preview-badge svg { width: 13px; height: 13px; }
@keyframes toast-in { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 1500px) {
  .page-shell { padding-top: 43px; }
  .intro { margin-bottom: 33px; }
}
@media (max-width: 1260px) {
  .topbar-inner, .page-shell, .site-footer { margin-left: 30px; margin-right: 30px; }
  .topbar-inner { gap: 30px; }
  .topnav { gap: 22px; }
  .workspace { grid-template-columns: 205px minmax(0,1fr); gap: 22px; }
  .stepper { padding-left: 18px; padding-right: 15px; }
  .panel-header { padding-left: 29px; padding-right: 29px; }
  .panel-body { padding-left: 29px; padding-right: 29px; }
  .panel-footer { padding-left: 29px; padding-right: 29px; }
}
@media (max-width: 980px) {
  .brand-sub { letter-spacing: .6px; font-size: 9px; }
  .brand-name { font-size: 15px; }
  .topnav { gap: 19px; }
  .topbar-inner { gap: 25px; }
  .level-card { padding: 14px 12px; gap: 8px; }
  .occupation-card { padding: 20px; }
  .card-title { font-size: 14px; }
  .upload-card { padding: 16px; }
  .review-layout { grid-template-columns: minmax(0,1fr); }
  .metrics-grid { gap: 12px; }
  .metric-card { padding: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 13px; }
  .topbar, .topbar-inner { min-height: 71px; }
  .topbar-inner, .page-shell, .site-footer { margin-left: 18px; margin-right: 18px; }
  .topbar-inner { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 37px; border-radius: 9px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand-name { font-size: 13px; letter-spacing: 0; }
  .brand-sub { font-size: 7px; letter-spacing: .6px; }
  .topnav { display: none; }
  .admin-link { font-size: 10px; padding: 6px 8px; gap: 4px; }
  .admin-link svg { width: 13px; height: 13px; }
  .page-shell { padding-top: 23px; }
  .breadcrumb { margin-bottom: 22px; font-size: 10px; gap: 5px; }
  .intro { margin-bottom: 23px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 6px; }
  .intro-title { font-size: 25px; line-height: 1.45; letter-spacing: -.7px; }
  .intro-copy { margin-top: 9px; font-size: 11px; line-height: 1.9; }
  .preview-badge { font-size: 9px; padding: 4px 8px; }
  .intro-row { align-items: flex-start; gap: 12px; }
  .demo-strip { font-size: 10px; line-height: 1.8; padding: 8px 11px; align-items: flex-start; margin-bottom: 16px; }
  .workspace { display: flex; flex-direction: column; gap: 17px; }
  .stepper { width: 100%; position: static; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
  .stepper-label, .stepper-note { display: none; }
  .step-list { display: flex; width: 100%; justify-content: space-between; gap: 4px; }
  .step-item, .step-item:last-child { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; min-height: 66px; flex: 1; }
  .step-item:not(:last-child)::after { height: 1px; width: calc(100% - 36px); top: 15px; left: calc(50% + 20px); bottom: auto; background: #e1e6ef; }
  .step-number { flex: 0 0 29px; width: 29px; height: 29px; font-size: 11px; background: #fff; }
  .step-item.active .step-number { box-shadow: 0 0 0 3px #eaf0ff; }
  .step-copy { padding: 0; }
  .step-name { font-size: 10px; white-space: nowrap; font-weight: 500; }
  .step-description { display: none; }
  .content-panel { width: 100%; border-radius: 11px; }
  .panel-header { padding: 24px 21px 0; }
  .panel-title { font-size: 18px; }
  .section-kicker { font-size: 9px; }
  .panel-description { font-size: 11px; }
  .panel-body { padding: 23px 21px 25px; }
  .panel-header + .form-grid, .panel-header + .choice-grid, .panel-header + .condition-list, .panel-header + .upload-list, .panel-header + .summary-grid { margin: 23px 21px 25px; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .choice-grid { gap: 12px; }
  .occupation-card { padding: 18px 14px; min-height: 179px; }
  .occupation-icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .occupation-icon svg { width: 27px; height: 27px; }
  .occupation-card .selection-check { width: 15px; height: 15px; top: 12px; right: 12px; }
  .card-title { font-size: 13px; line-height: 1.7; }
  .card-copy { font-size: 10px; }
  .card-tag { font-size: 9px; }
  .section-title { font-size: 12px; margin-bottom: 12px; }
  .section-divider { margin: 23px 0; }
  .level-grid { gap: 9px; }
  .level-card { min-height: 78px; padding: 11px 8px; gap: 5px; justify-content: center; flex-direction: column; text-align: center; }
  .level-number { font-size: 20px; }
  .level-name { font-size: 11px; }
  .level-sub { font-size: 9px; }
  .selection-summary { font-size: 10px; padding: 10px 12px; margin-top: 20px; }
  .condition-card { padding: 16px 14px; gap: 10px; }
  .condition-text { font-size: 12px; }
  .condition-index, .condition-meta { font-size: 10px; }
  .material-preview { padding: 14px; font-size: 11px; }
  .material-chip { font-size: 10px; }
  .notice { font-size: 10px; padding: 11px 12px; }
  .upload-card { gap: 12px; flex-wrap: wrap; padding: 15px; }
  .upload-icon { width: 36px; height: 41px; flex-basis: 36px; }
  .upload-title { font-size: 12px; }
  .upload-description, .file-name { font-size: 10px; }
  .upload-details { flex-basis: calc(100% - 50px); }
  .upload-actions { margin-left: 48px; }
  .file-name { max-width: 210px; }
  .panel-footer { padding: 17px 21px; gap: 9px; flex-wrap: wrap; }
  .footer-left { font-size: 10px; }
  .footer-actions { gap: 5px; }
  .button { min-height: 39px; padding: 10px 13px; font-size: 11px; gap: 5px; }
  .button svg { width: 15px; height: 15px; }
  .button.small { font-size: 10px; padding: 7px 10px; }
  .summary-grid { gap: 19px 20px; }
  .summary-label { font-size: 10px; }
  .summary-value { font-size: 12px; }
  .success-view { padding: 33px 21px 27px; }
  .success-view h2 { font-size: 20px; }
  .success-view p { font-size: 11px; }
  .site-footer { padding: 25px 0; font-size: 9px; flex-direction: column; gap: 4px; text-align: center; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin: 20px 0; }
  .metric-card { padding: 16px 18px; }
  .metric-label { font-size: 10px; }
  .metric-value { font-size: 25px; }
  .admin-toolbar { padding: 17px; gap: 9px; }
  .admin-toolbar .search-input { max-width: none; width: 100%; flex-basis: 100%; }
  .admin-toolbar select { flex: 1; min-width: 85px; }
  .data-table th, .data-table td { padding-left: 17px; padding-right: 17px; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal { max-height: 95vh; border-radius: 13px; }
  .modal-header { padding: 18px; }
  .modal-header h2 { font-size: 15px; }
  .modal-body { padding: 17px; }
  .modal-footer { padding: 14px 17px; flex-wrap: wrap; }
  .review-card { padding: 18px; }
  .review-layout { gap: 0; }
  .review-tabs { gap: 19px; padding-left: 17px; padding-right: 17px; }
}
@media (max-width: 390px) {
  .topbar-inner, .page-shell, .site-footer { margin-left: 13px; margin-right: 13px; }
  .brand-name { font-size: 12px; }
  .brand-sub { font-size: 6.5px; }
  .admin-link svg { display: none; }
  .intro-title { font-size: 23px; }
  .preview-badge { font-size: 8px; }
  .panel-header, .panel-body, .panel-footer { padding-left: 17px; padding-right: 17px; }
  .step-name { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .stepper, .intro, .breadcrumb, .demo-strip, .site-footer, .panel-footer, .preview-badge, .toast { display: none !important; }
  body, :root { background: #fff; }
  .page-shell { max-width: none; margin: 0; padding: 0; }
  .workspace { display: block; }
  .content-panel { box-shadow: none; border: 0; }
}
