:root {
  color-scheme: light;
  --bg: #f3f6f8;
  --ink: #162530;
  --muted: #52636e;
  --line: #d7e0e5;
  --accent: #1953a4;
  --white: #fff;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, select, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #4090ee; outline-offset: 4px; }
h1, h2, p { margin: 0; }
.page-head:has(h1:empty){display:none}
.face-camera-live[hidden]{display:none}.face-camera video{display:block;width:100%;max-height:420px;object-fit:contain;background:#151515;border-radius:10px}.face-camera-message{font-size:14px;color:var(--muted)}.face-check img.face-photo{display:block;max-width:100%;max-height:300px;object-fit:contain;margin-inline:auto;border-radius:10px}
.contract-shell{background:#f5f5f5;border:0;padding:12px;max-width:none}
.contract-shell > .notice{margin-bottom:12px}
.contract-shell .sig-block{max-width:720px;margin:0 auto}
p { line-height: 1.7; }
.wrap { width: min(100% - 40px, 960px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 800; white-space: nowrap; }
.coil { background: var(--ink); color: #c3f6bc; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 22px; }
nav { display: flex; gap: 6px; }
nav a { padding: 10px 13px; color: var(--muted); border-radius: 9px; white-space: nowrap; }
nav a[aria-current] { background: #e9f0fe; color: var(--accent); font-weight: 700; }
main { min-height: 65vh; padding-block: 32px; }
main:focus { outline: 0; }
.hero { position: relative; overflow: hidden; padding: 42px; border-radius: 20px; background: #142b3b; color: var(--white); isolation: isolate; }
.hero::after { content: '↻'; position: absolute; z-index: -1; color: #b8f3af; opacity: .22; font-size: 220px; line-height: 1; right: 6%; bottom: -31px; }
.hero h1 { font-size: clamp(28px,5vw,48px); letter-spacing: -.04em; }
.hero p { color: #d6e4ee; margin-top: 9px; max-width: 25em; }
.section-title { margin-block: 28px 12px; font-size: 20px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
main, .grid > *, .stack > *, fieldset, .order > * { min-width: 0; }
img, video, canvas { max-width: 100%; }
.spec-list dd { min-width: 0; overflow-wrap: anywhere; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 650; }
select, input:not([type=checkbox]) { min-height: 46px; padding: 8px 12px; width: 100%; color: var(--ink); background: var(--white); border: 1px solid #aabac5; border-radius: 8px; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 17px; border-block: 1px solid var(--line); }
.summary strong, .amount { color: var(--accent); font-size: 26px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: white; font-weight: 700; }
.btn:hover { background: #123e83; text-decoration: none; }
.btn[disabled] { background: #6a7984; cursor: not-allowed; }
.agree { display: block; font-weight: 400; }
.face-check { justify-items: center; text-align: center; }
.face-photo { width: min(100%, 240px); height: auto; }
.face-empty { display: grid; place-items: center; width: min(100%, 240px); min-height: 220px; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); }
.face-status[role="alert"] { color: #a4272b; }
.contact-block { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; margin: 0; }
.contact-block legend { font-weight: 650; padding-inline: 6px; }
.contact-row { display: grid; gap: 4px; margin-top: 10px; }
.contact-error { color: #a4272b; margin: 0; font-size: .875rem; }
.contact-error[hidden] { display: none; }
input[aria-invalid="true"] { border-color: #a4272b; }
.page-head { margin-bottom: 17px; }
.page-head p { margin-top: 5px; color: var(--muted); }
.order { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.order h2, .copy h2 { font-size: 18px; }
.order p, .order-id { overflow-wrap: anywhere; }
.pill { color: #234926; background: #e1f2e1; border-radius: 100px; padding: 4px 9px; white-space: nowrap; font-size: 13px; }
.steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps li { border-top: 4px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 14px; }
.steps .done { border-color: #519061; }
.steps [aria-current] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin-top: 10px; }
.footer { color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-block: 18px max(18px, env(safe-area-inset-bottom)); font-size: 14px; }
.toast { position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; background: var(--ink); color: white; border-radius: 10px; padding: 10px 14px; }
.toast:empty { padding: 0; }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  main { padding-block: 20px; }
  .hero { padding: 24px; }
  .hero::after { font-size: 150px; right: 0; }
  .panel { padding: 16px; }
  .grid { grid-template-columns: 1fr; }
  .summary { flex-wrap: wrap; }
  .bar { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .order { flex-wrap: wrap; }
  .footer { flex-wrap: wrap; gap: 12px 18px; }
  input, select, textarea { max-width: 100%; font-size: 16px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { overflow-wrap: anywhere; }
  nav a { padding-inline: 8px; }
}
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tool-row > form { min-width: 0; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.hero .eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; color: #c3f6bc; }
.hero .hero-btn { margin-top: 8px; color: var(--ink); background: #c3f6bc; }
.hero .hero-btn:hover { background: #d8fbd3; }
.btn.secondary { border-color: var(--line); color: var(--accent); background: white; }
.btn.secondary:hover { background: #e9f0fe; }
.notice { padding: 10px 12px; border-left: 3px solid #9e661b; border-radius: 4px; color: #4c320c; background: #fff5e6; }
.small { font-size: 14px; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 12px; margin-bottom: 0; }
.spec-list dd { margin: 0; }
details summary { cursor: pointer; }
.fine-print { font-size: .875rem; line-height: 1.65; color: var(--muted); }
.notes { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.notes summary { font-weight: 700; color: var(--ink); }
.notes ul { margin: 8px 0 0; padding-inline-start: 1.4em; }
.notes li + li { margin-top: 6px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 4px; padding: 16px; list-style: none; }
.trust li { display: grid; gap: 3px; }
.trust strong { font-size: 15px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-head h2 { font-size: 18px; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; color: var(--ink); background: #edf2f7; font-weight: 650; }
.flow li + li::before { content: '→'; margin-right: 2px; color: var(--accent); }
.spec { min-width: 0; margin: 0; padding: 0; border: 0; }
.spec legend { margin-bottom: 6px; padding: 0; font-weight: 650; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #aabac5; border-radius: 8px; font-weight: 400; background: white; }
.opt:has(input:checked) { border-color: var(--accent); background: #e9f0fe; font-weight: 650; }
.login-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.login-bar p { margin-top: 2px; }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } .login-bar { flex-wrap: wrap; } }
.brand-options,.model-options{display:flex;gap:12px;overflow:auto;padding:5px 2px 12px}.brand-options .opt{flex:none}.model-card{display:flex;position:relative;flex:none;width:115px;align-items:center;flex-direction:column;gap:8px;padding:12px;border:1px solid #d7e2de;border-radius:12px;text-align:center;cursor:pointer}.model-card:has(input:checked){border:2px solid #245b45;background:#f0f7f2}.model-card input{position:absolute;left:8px;top:8px}.model-card img{height:90px;width:72px}.option-image{height:48px;width:40px;object-fit:contain}textarea{font:inherit;max-width:100%;padding:10px;border:1px solid #cbd6d1;border-radius:8px}#scan-file-label{padding:12px;background:#f3f6f4}

