:root {
  color-scheme: light;
  --page: #f6f8fb;
  --surface: #fff;
  --text: #202733;
  --muted: #667085;
  --border: #e2e7ef;
  --strong: #cbd5e2;
  --blue: #2f6fdf;
  --blue-hover: #245fc4;
  --blue-soft: #edf4ff;
  --green: #15734e;
  --green-soft: #eaf7f0;
  --amber: #855900;
  --amber-soft: #fff6de;
  --red: #b42332;
  --red-soft: #fff0f1;
  --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; scrollbar-color: #cbd5e2 var(--page); }
body { margin: 0; min-height: 100svh; display: grid; align-items: center; background: var(--page); color: var(--text); font: 14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing: antialiased; }
button,input,select { font: inherit; }
button,a,summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button,summary { cursor: pointer; }
a { color: var(--blue-hover); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button:disabled { cursor: not-allowed; opacity: .55; }
button[aria-busy=true] { cursor: wait; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #d9e8ff; color: #153c77; }
[hidden] { display: none !important; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 650; letter-spacing: -.025em; }
h1 { font-size: 38px; line-height: 1.2; }
h2 { font-size: 24px; line-height: 1.4; }
h3 { font-size: 14px; line-height: 1.5; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 10px 18px; z-index: 20; background: var(--blue); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.customer-main { width: min(calc(100% - 48px),1040px); margin: 0 auto; padding: 48px 0 24px; }
.customer-shell { position: relative; background: var(--surface); border-radius: 18px; padding: 54px 58px 28px; box-shadow: 0 24px 70px rgba(40,63,102,.09); }
.customer-shell::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; border-radius: 18px 18px 0 0; background: var(--blue); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d3e0f1; border-radius: 12px; background: var(--blue-soft); color: #4f709f; font-size: 20px; font-weight: 600; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 16px; font-weight: 650; }
.brand-copy small { color: var(--muted); font-size: 12px; }
.activation-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 64px; min-height: 340px; outline: none; }
.entry-heading { margin-top: 43px; }
.entry-heading h1 { font-size: 52px; line-height: 1.13; letter-spacing: -.035em; }
.entry-heading p { margin-top: 18px; color: var(--muted); line-height: 1.9; font-size: 15px; }
.entry-assurance { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 24px; }
.entry-assurance svg { width: 15px; height: 15px; }
.entry-action { padding-top: 18px; }
.activation-form { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--page); }
label { display: block; margin-bottom: 10px; color: #344054; font-size: 14px; font-weight: 550; }
input,select { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--strong); border-radius: 10px; outline: none; background: var(--surface); color: var(--text); caret-color: var(--blue); transition: border-color 160ms var(--ease),box-shadow 160ms var(--ease); }
input { font-size: 16px; }
input:hover,select:hover { border-color: #a2b3c9; }
input:focus,select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #dbe9ff; }
input::placeholder { color: var(--muted); opacity: 1; }
input:read-only { color: var(--muted); background: var(--page); }
input[aria-invalid=true] { border-color: var(--red); }
#activation-code { min-height: 62px; }
.field-help { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--strong); border-radius: 9px; background: var(--surface); color: var(--text); font-weight: 550; line-height: 1.5; transition: background 160ms var(--ease),border-color 160ms var(--ease); }
.button:hover:not(:disabled) { background: var(--page); border-color: #a2b3c9; }
.button.primary { min-height: 54px; border-color: var(--blue); background: var(--blue); color: white; font-size: 15px; }
.button.primary:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); }
.button.primary:active:not(:disabled) { background: #1c4fa6; }
.button.full { width: 100%; margin-top: 20px; }
.button svg { width: 17px; height: 17px; }
.activation-form .button { margin-top: 12px; min-height: 56px; font-size: 16px; }
.activation-form .field-help { margin-top: 16px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 0; border: 0; background: transparent; color: var(--blue-hover); font-size: 13px; }
.text-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.text-button svg { width: 15px; height: 15px; }
.service-note { margin-top: 14px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.8; }
.notice { padding: 12px 14px; margin-top: 16px; border-radius: 8px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.notice.error { background: var(--red-soft); color: var(--red); }
.notice.warning { background: var(--amber-soft); color: var(--amber); }
.notice.success { background: var(--green-soft); color: var(--green); }
.notice .text-button { color: inherit; }
.notice>p+.text-button { margin-top: 5px; }
#global-notice { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 18px; }
#global-notice>span { flex: 1; }
#global-notice>button { flex-shrink: 0; }
.shell-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 42px; padding-top: 21px; border-top: 1px solid var(--border); }
.shell-footer>span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.shell-footer>span svg { width: 14px; height: 14px; }
.site-footer { text-align: center; margin-top: 20px; color: var(--muted); font-size: 11px; }

.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.workspace-header nav { display: flex; align-items: center; gap: 24px; }
.button.quiet { color: var(--blue-hover); border-color: #c6d8f3; font-size: 13px; }
.active-card-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 21px 0 32px; color: var(--muted); font-size: 12px; }
.active-card-bar>div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.active-card-bar svg { width: 16px; height: 16px; color: #5c7293; }
#active-card-code { color: #42516a; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.active-card-status { padding-left: 10px; border-left: 1px solid var(--border); }
.card-retention { flex-shrink: 0; }
.workspace-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 48px; align-items: start; }
.workflow-guide { padding: 12px 0 0; }
.workflow-description { margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 25px; color: var(--muted); }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 6px; width: 1px; background: var(--border); }
.step-number { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--page); font-size: 13px; font-variant-numeric: tabular-nums; }
.step-number svg { display: none; width: 17px; height: 17px; }
.step-copy { display: grid; gap: 3px; padding-top: 1px; }
.step-copy strong { font-size: 14px; font-weight: 550; }
.step-copy small { color: var(--muted); font-size: 12px; }
.steps .active { color: var(--blue-hover); }
.steps .active .step-number { border-color: var(--blue); background: var(--blue); color: white; }
.steps .active .step-copy strong { font-weight: 650; }
.steps .done .step-number { color: transparent; border-color: #b9dec9; background: var(--green-soft); }
.steps .done .step-number svg { display: block; position: absolute; color: var(--green); }
.steps .done::after { background: #b9dec9 !important; }
.verification-card { min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--page); outline: none; }
.form-body { padding: 28px; }
.form-heading { margin-bottom: 24px; }
.form-heading h2 { font-size: 22px; }
.form-heading p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.form-footer { display: flex; align-items: center; gap: 7px; padding: 15px 28px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.form-footer svg { width: 15px; height: 15px; }
.email-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 19px 28px; border-bottom: 1px solid var(--border); }
.email-summary>div { min-width: 0; }
.summary-label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.email-summary strong { font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.status-badge { display: inline-flex; align-items: center; border-radius: 5px; padding: 4px 8px; white-space: nowrap; font-size: 11px; line-height: 1.55; background: #e9edf3; color: #4d5c70; }
.status-badge.waiting_code { color: var(--amber); background: var(--amber-soft); }
.status-badge.processing,.status-badge.queued { color: var(--blue-hover); background: var(--blue-soft); }
.status-badge.complete { color: var(--green); background: var(--green-soft); }
.status-badge.error,.status-badge.cancelled { color: var(--red); background: var(--red-soft); }
.task-heading { margin-bottom: 24px; }
.task-heading h2 { margin-top: 18px; font-size: 22px; }
.task-heading p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.task-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e3edfd; color: var(--blue-hover); }
.task-symbol.complete { color: var(--green); background: var(--green-soft); }
.task-symbol.error,.task-symbol.cancelled { color: var(--red); background: var(--red-soft); }
.task-symbol.processing svg,.task-symbol.queued svg { display: none; }
.task-symbol.processing::after,.task-symbol.queued::after { content: ""; width: 20px; height: 20px; border: 2px solid #b9cef2; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
#code { font-variant-numeric: tabular-nums; letter-spacing: .12em; }
#code::placeholder { letter-spacing: 0; font-size: 15px; }
.task-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
#new-verification { margin-left: auto; }
.download-feedback { margin-top: 14px; color: var(--green); font-size: 13px; overflow-wrap: anywhere; }
.download-feedback a { font-weight: 600; }
.records-section { margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--border); outline: none; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.section-heading h2 { font-size: 15px; font-weight: 600; }
.section-heading>span,.record-count { color: var(--muted); font-size: 11px; font-weight: 400; }
.record-count { margin-left: 8px; font-variant-numeric: tabular-nums; }
.empty-records { display: flex; align-items: center; gap: 13px; color: var(--muted); }
.empty-records>svg { width: 21px; height: 21px; }
.empty-records strong { font-size: 13px; font-weight: 400; }
.empty-records p { font-size: 12px; margin-top: 2px; }
.record-row { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.record-main { flex: 1; min-width: 0; }
.record-main strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.record-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 11px; }
.record-meta time { font-variant-numeric: tabular-nums; }
.record-symbol { width: 21px; height: 21px; color: var(--muted); }
.record-symbol.complete { color: var(--green); }
.record-symbol.waiting_code { color: var(--amber); }
.record-row>.button { font-size: 12px; min-height: 38px; padding: 8px 12px; }
.help-section:not([open]) { display: none; }
.help-section { margin-top: 16px; padding-top: 19px; border-top: 1px solid var(--border); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.help-section>summary { display: flex; align-items: center; justify-content: space-between; color: var(--text); padding: 6px 0 16px; font-size: 15px; font-weight: 600; }
.help-section>summary svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.help-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding: 8px 0 12px; }
.help-content p { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.state-enter { animation: state-in 180ms var(--ease) both; }
@keyframes state-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width:900px) {
  .customer-shell { padding: 40px 36px 24px; }
  .activation-section { gap: 32px; }
  .entry-heading h1 { font-size: 44px; }
  .activation-form,.form-body { padding: 24px; }
  .workspace-layout { gap: 28px; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }
  .workflow-guide h1 { font-size: 32px; }
  .form-footer { padding-inline: 24px; }
}
@media (max-width:680px) {
  body { display: block; }
  .customer-main { width: calc(100% - 24px); padding-top: 20px; }
  .customer-shell { border-radius: 14px; padding: 27px 22px 19px; }
  .customer-shell::before { border-radius: 14px 14px 0 0; }
  .activation-section { display: block; min-height: 0; }
  .brand-mark { width: 40px; height: 40px; font-size: 18px; border-radius: 11px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 11px; }
  .entry-heading { margin-top: 34px; }
  .entry-heading h1 { font-size: 40px; }
  .entry-heading p { font-size: 14px; margin-top: 16px; }
  .entry-assurance { margin-top: 17px; font-size: 11px; }
  .entry-action { padding-top: 26px; }
  .activation-form { padding: 18px; border-radius: 12px; }
  #activation-code { min-height: 56px; padding-inline: 12px; }
  .activation-form .button { min-height: 52px; }
  .activation-form .field-help { font-size: 11px; }
  .service-note { font-size: 11px; text-align: left; }
  .shell-footer { margin-top: 28px; padding-top: 16px; gap: 8px; align-items: flex-start; flex-direction: column; }
  .shell-footer>span { font-size: 11px; }
  .site-footer { margin-top: 17px; font-size: 10px; }
  .workspace-header { gap: 15px; flex-wrap: wrap; padding-bottom: 19px; }
  .workspace-header nav { gap: 20px; }
  .workspace-header .button.quiet { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .workspace-header .text-button { font-size: 12px; }
  .active-card-bar { margin: 18px 0 24px; font-size: 11px; }
  .card-retention { display: none; }
  .active-card-bar>div { gap: 7px; }
  .active-card-status { padding-left: 7px; }
  .workspace-layout { display: block; }
  .workflow-guide { padding: 0; }
  .workflow-guide h1 { font-size: 26px; }
  .workflow-guide h1 br { display: none; }
  .workflow-description { font-size: 12px; margin-top: 8px; }
  .workflow-description br { display: none; }
  .steps { display: flex; margin: 25px 0 27px; gap: 12px; }
  .steps li { flex: 1; flex-direction: column; align-items: center; padding: 0; gap: 8px; min-width: 0; }
  .steps li:not(:last-child)::after { top: 15px; height: 1px; width: auto; left: calc(50% + 23px); right: calc(-50% + 11px); bottom: auto; }
  .step-number { width: 31px; height: 31px; font-size: 12px; }
  .step-copy { padding: 0; }
  .step-copy strong { font-size: 11px; white-space: nowrap; }
  .step-copy small { display: none; }
  .form-body { padding: 23px 18px; }
  .form-heading h2,.task-heading h2 { font-size: 20px; }
  .form-heading p { font-size: 12px; }
  .form-heading { margin-bottom: 21px; }
  .field-help,.form-footer { font-size: 11px; }
  .form-footer { padding: 14px 18px; }
  .email-summary { padding: 16px 18px; gap: 8px; }
  .email-summary strong { font-size: 12px; }
  .email-summary .status-badge { font-size: 10px; }
  .task-heading p { font-size: 12px; }
  .notice { font-size: 12px; }
  .download-feedback { font-size: 12px; }
  .records-section { margin-top: 25px; padding-top: 21px; }
  .section-heading>span { font-size: 10px; }
  .record-row { gap: 10px; }
  .record-symbol { display: none; }
  .record-main strong { font-size: 12px; }
  .record-row>.button { font-size: 11px; padding: 8px 10px; }
  .empty-records strong { font-size: 12px; }
  .empty-records p { font-size: 11px; }
  .help-content { grid-template-columns: 1fr; gap: 23px; }
  .help-content p { font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
