:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: #f6f8fc;
  font-synthesis: none;
  --blue: #2563eb;
  --line: #e5e7eb;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); }
button, input, textarea { font: inherit; }
a, button, input, textarea { outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); }
.top { height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-size: 19px; font-weight: 650; color: var(--blue); text-decoration: none; }
.domain { color: var(--muted); font-size: 13px; }
main { width: min(100% - 32px, 540px); margin: 48px auto 0; }
.workspace { background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: 10px; }
h1 { font-size: 23px; font-weight: 600; margin: 0 0 10px; }
.card-top p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.steps { display: flex; justify-content: space-between; padding: 0 0 20px; margin: 26px 0; border-bottom: 1px solid var(--line); list-style: none; }
.steps li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #9ca3af; }
.steps b { width: 23px; height: 23px; display: grid; place-items: center; background: #f3f4f6; border-radius: 50%; font-size: 11px; font-weight: 500; }
.steps .active, .steps .done { color: var(--blue); }
.steps .active b, .steps .done b { color: #fff; background: var(--blue); }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.description { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
label { display: block; font-size: 14px; margin-bottom: 9px; }
input[type=text], textarea { width: 100%; padding: 12px 13px; border: 1px solid #d1d5db; border-radius: 6px; color: #1f2937; background: #fff; font-size: 15px; }
input::placeholder, textarea::placeholder { color: #9ca3af; }
textarea { min-height: 132px; resize: vertical; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12px; line-height: 1.7; }
.primary { width: 100%; padding: 13px 16px; margin-top: 20px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 15px; cursor: pointer; }
.primary:hover { background: #1d4ed8; }
button:disabled { opacity: .6; cursor: wait; }
.secondary { width: 100%; padding: 11px 14px; margin-top: 12px; border: 1px solid #d1d5db; border-radius: 6px; color: #374151; background: #fff; font-size: 14px; cursor: pointer; }
.secondary:hover { background: #f9fafb; }
.helper { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 14px 0 0; }
.notice { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 12px; margin-bottom: 20px; font-size: 13px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.notice.info { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }
.plan { padding: 14px; margin-bottom: 23px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 6px; display: flex; flex-direction: column; gap: 7px; }
.plan strong { font-size: 15px; color: #1e40af; }
.plan small { color: var(--muted); font-size: 12px; }
.session-link { display: block; margin: 0 0 20px; font-size: 14px; text-decoration: none; }
.session-link:hover { text-decoration: underline; }
.privacy { background: #f9fafb; border-radius: 6px; margin: 14px 0; padding: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.8; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.eyebrow { color: var(--blue); font-size: 13px; margin-bottom: 10px; }
.progress-track { display: flex; align-items: center; gap: 10px; }
progress { appearance: none; width: 100%; height: 7px; border: 0; border-radius: 8px; overflow: hidden; background: #e5e7eb; }
progress::-webkit-progress-bar { background: #e5e7eb; }
progress::-webkit-progress-value { background: var(--blue); }
progress::-moz-progress-bar { background: var(--blue); }
#progress-value { color: var(--muted); font-size: 12px; }
.execution-steps { list-style: none; margin: 22px 0; padding: 0; }
.execution-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; color: var(--muted); }
.execution-steps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f3f4f6; color: #6b7280; font-size: 12px; }
.execution-steps li.done b { background: #dbeafe; color: var(--blue); }
.execution-steps li.active { color: var(--blue); }
.execution-steps li.active b { background: var(--blue); color: #fff; }
.order-info { padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.order-info div { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; }
.order-info dd { text-align: right; overflow-wrap: anywhere; margin: 0; }
footer { padding: 26px 16px; text-align: center; color: #9ca3af; font-size: 12px; }
@media (max-width: 560px) {
  .top { height: 58px; padding: 0 20px; }
  .brand { font-size: 18px; }
  .domain { font-size: 12px; }
  main { margin-top: 24px; }
  .workspace { padding: 24px 20px; border-radius: 8px; }
  h1 { font-size: 22px; }
  .steps li { font-size: 12px; gap: 5px; }
  .steps b { width: 21px; height: 21px; }
}
