:root {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: #142143;
  background: #f2f5ff;
  font-synthesis: none;
  --blue: #2349d8;
  --ink-soft: #546180;
  --border: #dbe3f8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 12% 25%, #e0e9ff 0%, transparent 41%), #f2f5ff;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #5175ef; outline-offset: 4px; }
.site-header {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid #cbd7f4;
}
.site-name { display: inline-flex; gap: 11px; align-items: center; font-weight: 800; }
.ticket { display: inline-block; width: 31px; height: 23px; border-radius: 5px; background: radial-gradient(circle at left center, #eaf0ff 3px, transparent 3.5px), radial-gradient(circle at right center, #eaf0ff 3px, transparent 3.5px), var(--blue); position: relative; transform: rotate(-9deg); }
.ticket::after { content: ''; position: absolute; top: 4px; bottom: 4px; left: 11px; border-left: 1px dashed #ffffffad; }
.help-link { font-size: 14px; text-decoration: none; font-weight: 700; }
.help-link span { margin-left: 3px; }
.layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(40px, 8vw, 95px); row-gap: 44px; max-width: 1100px; margin: 0 auto; padding: clamp(50px, 9vw, 108px) 32px 60px; }
.intro { padding-top: 22px; }
h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.065em; line-height: 1.1; margin: 0 0 18px; }
.intro p { font-size: 17px; margin: 0; color: var(--ink-soft); }
.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 19px; }
.steps li { display: flex; align-items: center; gap: 13px; color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.steps span { width: 28px; height: 28px; border: 1px solid #c5d2f3; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.steps [aria-current="step"] { color: var(--blue); }
.steps [aria-current="step"] span { background: var(--blue); color: white; border-color: var(--blue); }
.steps .completed span { background: #d9e4ff; color: var(--blue); }
.panel { border: 1px solid #dce4f9; border-radius: 26px; padding: clamp(25px, 4.5vw, 48px); background: #fff; box-shadow: 0 20px 54px #27499114; min-width: 0; align-self: start; }
.panel h2 { margin: 0; font-size: clamp(24px, 3vw, 31px); letter-spacing: -0.04em; line-height: 1.25; }
.panel h2:focus { outline: none; }
.description { color: var(--ink-soft); margin: 12px 0 28px; font-size: 14px; }
.flow { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label, .field-label { font-size: 13px; font-weight: 750; }
input:not([type="checkbox"]), select { display: block; width: 100%; padding: 12px 13px; background: #f8faff; color: #172449; border: 1px solid #cad6f2; border-radius: 10px; min-height: 47px; }
input::placeholder { color: #657394; }
.field small { color: var(--ink-soft); font-size: 12px; }
.primary, .secondary { display: flex; width: 100%; min-height: 48px; padding: 11px 16px; justify-content: center; align-items: center; gap: 12px; border-radius: 10px; font-weight: 750; font-size: 14px; text-decoration: none; text-align: center; }
.primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.primary:hover:not(:disabled) { background: #1836ad; }
.primary:disabled, .secondary:disabled { opacity: .56; cursor: wait; }
.primary:disabled[aria-disabled="true"] { cursor: default; }
.secondary { background: #fff; color: var(--blue); border: 1px solid #c6d3f5; }
.secondary:hover:not(:disabled) { background: #f1f5ff; }
.actions { display: grid; gap: 10px; }
.product { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; color: var(--blue); font-size: 12px; margin-bottom: 20px; padding: 9px 11px; background: #edf2ff; border-radius: 9px; overflow-wrap: anywhere; }
.product span { font-family: ui-monospace, monospace; }
.error, .notice { border-radius: 9px; padding: 10px 12px; margin: 0 0 16px; font-size: 13px; overflow-wrap: anywhere; }
.error { color: #a32531; background: #fff0f1; }
.notice { color: #765500; background: #fff5d9; margin: 0; }
.success { color: #0c6537; background: #e7f7ed; }
.account-summary { margin: 0; display: grid; gap: 9px; padding: 12px; background: #f5f8ff; border-radius: 10px; font-size: 13px; }
.account-summary div { display: flex; justify-content: space-between; gap: 12px; }
.account-summary dt { color: var(--ink-soft); }
.account-summary dd { margin: 0; word-break: break-word; text-align: right; }
.override { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.override input { width: 18px; height: 18px; accent-color: var(--blue); }
.help { grid-column: 2; padding: 0 6px; align-self: start; }
.help h2 { font-size: 16px; margin: 0 0 10px; }
.help details { padding: 10px 0; border-top: 1px solid #cbd7f4; font-size: 13px; color: var(--ink-soft); }
.help summary { font-weight: 650; color: #293758; }
.help p { margin: 8px 0 0; }
@media (max-width: 730px) {
  .site-header { padding: 18px 21px; }
  .layout { display: flex; flex-direction: column; gap: 26px; padding: 30px 20px 44px; }
  .intro, .help, .panel { width: 100%; }
  .intro { padding-top: 0; }
  h1 { margin-bottom: 10px; }
  .steps { margin-top: 24px; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .steps li { gap: 5px; font-size: 12px; }
  .steps span { width: 22px; height: 22px; }
  .panel { border-radius: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }