:root {
  color-scheme: light;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172642; background: #e9edf2;
  --paper: #fff; --page: #fff; --text: #172642; --muted: #5e697c;
  --line: #e4e9f0; --blue: #245cdb; --blue-strong: #184bbd; --blue-soft: #f0f5ff;
  --surface: #f6f8fb; --error: #b3261e; --amber: #835710;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button[disabled] { cursor: default; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { max-width: 480px; margin: auto; background: var(--page); min-height: 100vh; min-height: 100dvh; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; min-height: 66px; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.brand-mark { width: 30px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--blue); color: #fff; font-size: 20px; }
.channel { color: var(--muted); font-size: 12px; }
main { padding: 24px 20px calc(112px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 66px); }
#app:focus { outline: none; }
.shell[data-page="catalog"] main { display: flex; flex-direction: column; }
.shell[data-page="catalog"] .query-guide { margin-top: auto; padding-top: 36px; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 27px; line-height: 1.4; font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: 19px; line-height: 1.5; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.5; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.page-heading { margin-bottom: 28px; }
.page-heading p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.page-heading.row { align-items: flex-start; }
.back-link { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 14px; min-height: 44px; margin: -14px 0 6px -6px; }
.back-link .icon { width: 18px; height: 18px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; }
.row > h2, .row > strong { min-width: 0; overflow-wrap: anywhere; }
.row.top { align-items: flex-start; }
.small { color: var(--muted); font-size: 13px; }
.muted { color: var(--muted); }
.section-block { margin: 28px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.section-heading p { margin-top: 4px; }
.card { padding: 18px; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.field-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.field-group { margin-top: 22px; }
.field-group + .field-group { margin-top: 20px; }
input:not([type="checkbox"]) { width: 100%; min-width: 0; height: 50px; border: 1px solid #c9d2df; border-radius: 9px; padding: 12px 14px; background: var(--paper); color: var(--text); font-size: 16px; }
input::placeholder { color: #69768b; font-size: 14px; }
input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; margin-top: 6px; }
.field-error:empty { display: none; }
.required { color: var(--error); }
.field-row { display: flex; align-items: stretch; gap: 10px; }
.field-row input { min-width: 0; flex: 1; }
.field-row .btn { flex-shrink: 0; padding-inline: 12px; font-size: 13px; }
.search-form { margin: 0 0 24px; }
.search-input { display: flex; gap: 10px; align-items: center; border: 1px solid #c9d2df; border-radius: 9px; padding-left: 13px; }
.search-input:focus-within { border-color: var(--blue); outline: 2px solid #245cdb25; }
.search-input .icon { color: var(--muted); width: 20px; height: 20px; }
.search-input input { border: 0; background: transparent; padding-left: 0; }
.search-input input:focus-visible { outline-offset: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 17px; gap: 7px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 650; line-height: 1.4; text-align: center; }
.btn:active { background: var(--blue-strong); }
.btn.secondary { color: var(--blue); border-color: var(--blue); background: #fff; }
.btn.secondary:active { background: var(--blue-soft); }
.btn[disabled] { background: #e7ebf2; color: #58667b; border-color: #e7ebf2; }
.wide { width: 100%; margin-top: 16px; }
.text-link { color: var(--blue); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.text-button { border: 0; background: none; color: var(--blue); font-size: 13px; padding: 8px 0 8px 12px; min-height: 44px; white-space: nowrap; }
.price { font-size: 22px; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.info { margin: 0; font-size: 14px; }
.info div { display: grid; grid-template-columns: minmax(80px, 33%) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; padding-bottom: 0; }
.info div:first-child { padding-top: 0; }
.info dt { color: var(--muted); }
.info dd { margin: 0; text-align: right; overflow-wrap: anywhere; white-space: pre-wrap; }
.tag { display: inline-block; color: #184bbd; background: #eaf1ff; padding: 3px 8px; border-radius: 6px; white-space: nowrap; font-size: 12px; font-weight: 500; flex: 0 0 auto; }
.tag.neutral { color: var(--muted); background: #eef1f6; }
.tag.waiting { color: #805315; background: #fff3dc; }
.tag.complete { color: #246248; background: #e9f5ed; }
.space-top { margin-top: 15px; }
.query-guide { margin: 46px 0 12px; text-align: center; color: var(--muted); font-size: 13px; }
.query-guide p + p { margin-top: 14px; }
.query-guide span { display: inline-block; padding-inline: 12px; color: #7d899c; }
.flow-steps { padding: 0; margin: -4px 0 28px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.flow-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); position: relative; }
.flow-steps li::before { content: ""; position: absolute; height: 1px; width: calc(100% - 38px); background: #cbd3df; top: 15px; left: calc(-50% + 19px); }
.flow-steps li:first-child::before { display: none; }
.flow-steps li > span { width: 30px; height: 30px; border: 1px solid #bac5d4; background: white; border-radius: 50%; display: grid; place-items: center; position: relative; }
.flow-steps .icon { width: 17px; height: 17px; }
.flow-steps .done > span, .flow-steps .current > span { background: var(--blue); color: white; border-color: var(--blue); }
.flow-steps .done::before, .flow-steps .current::before { background: var(--blue); }
.flow-steps .current { color: var(--blue); font-weight: 650; }
.company-strip { display: flex; align-items: center; gap: 12px; background: var(--surface); padding: 14px; border-radius: 10px; margin: 18px 0; }
.company-strip > .icon { color: var(--blue); width: 26px; height: 26px; }
.company-strip > div { flex: 1; min-width: 0; }
.company-strip strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.company-strip div > span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.company-strip > a { flex-shrink: 0; }
.enterprise-meta { margin: -4px 0 16px; color: var(--muted); font-size: 13px; }
.enterprise-meta summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.enterprise-meta summary::after { content: "⌄"; margin-left: 8px; }
.enterprise-meta[open] summary::after { transform: rotate(180deg); }
.enterprise-meta .info { padding: 4px 0 16px; }
.package-option { display: block; width: 100%; padding: 18px; margin-bottom: 14px; background: white; border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-align: left; }
.package-option > .row > strong { font-size: 18px; }
.package-option.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.select-mark { width: 22px; height: 22px; border: 1px solid #bac5d4; border-radius: 50%; display: grid; place-items: center; }
.select-mark .icon { width: 15px; height: 15px; visibility: hidden; }
.selected .select-mark { background: var(--blue); border-color: var(--blue); color: white; }
.selected .select-mark .icon { visibility: visible; }
.package-price { display: block; font-size: 27px; color: var(--blue); font-weight: 700; margin: 12px 0; }
.package-price small { font-size: 12px; margin-left: 6px; color: var(--muted); font-weight: 400; }
.package-description { display: block; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; }
.package-description > span { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; margin: 7px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.package-description > span > span { color: var(--muted); }
.order-guide { margin: 28px 0; }
.order-guide ol { list-style: none; padding: 0; counter-reset: guide; }
.order-guide li { display: flex; align-items: flex-start; gap: 12px; counter-increment: guide; margin: 12px 0; font-size: 14px; }
.order-guide li::before { content: counter(guide); display: inline-grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; color: var(--blue); background: var(--blue-soft); }
.order-guide > p { border-top: 1px solid var(--line); padding-top: 14px; }
.agreement { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.8; margin: 28px 0 20px; }
.agreement input { accent-color: var(--blue); width: 20px; height: 20px; margin: 2px 0; flex-shrink: 0; }
.verified-phone { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: 9px; padding: 15px; font-weight: 650; }
.bottom-action { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); z-index: 10; background: white; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.bottom-action > div { flex-shrink: 0; }
.bottom-action > div > span, .bottom-action > div > strong { display: block; }
.bottom-action > div > strong { font-size: 20px; }
.bottom-action .btn { flex: 1; min-width: 0; }
.bottom-action.single .btn { margin-top: 0; }
.tabs { position: fixed; z-index: 9; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); gap: 12px; }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 49px; padding: 3px 12px; color: var(--muted); font-size: 12px; }
.tabs .icon { width: 23px; height: 23px; }
.tabs a[aria-current="page"] { color: var(--blue); font-weight: 650; }
.shell[data-page="packages"] .tabs, .shell[data-page="checkout"] .tabs, .shell[data-page="login"] .tabs { display: none; }
.shell[data-action-bar="true"] .tabs { display: none; }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 9px; background: var(--blue-soft); color: #244c9e; font-size: 14px; white-space: pre-wrap; }
.notice.error { background: #fff2ef; color: #9b3326; }
.empty-state { padding: 48px 6px; text-align: center; }
.empty-state h2 { font-size: 19px; margin-top: 18px; }
.empty-state p { font-size: 14px; color: var(--muted); margin: 10px auto 0; max-width: 32ch; }
.empty-state .btn { max-width: 300px; margin-top: 24px; }
.empty-icon { color: #7d8da5; width: 76px; height: 76px; display: inline-grid; place-items: center; background: var(--surface); border-radius: 18px; }
.empty-icon .icon { width: 42px; height: 42px; stroke-width: 1.3; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 34px 0; color: var(--muted); font-size: 14px; }
.spinner { display: block; width: 27px; height: 27px; border: 3px solid #dce7fd; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px; }
.skeleton i { display: block; width: 85%; height: 12px; background: #e5eaf2; border-radius: 5px; margin-bottom: 15px; }
.skeleton i:nth-child(2) { width: 60%; }
.skeleton i:last-child { width: 72%; margin-bottom: 0; }
.order-card h2 { font-size: 16px; }
.order-service { margin: 15px 0 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.order-service strong { font-size: 16px; white-space: nowrap; }
.order-no { overflow-wrap: anywhere; user-select: text; }
.status-header { display: flex; gap: 15px; align-items: flex-start; padding: 0 0 18px; }
.status-symbol { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--blue); color: var(--blue); border-radius: 50%; flex: 0 0 auto; }
.status-symbol .icon { width: 28px; height: 28px; }
.status-header h2 { font-size: 26px; line-height: 1.3; }
.status-header p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.status-header.attention .status-symbol { border-color: var(--amber); color: var(--amber); }
.status-header.closed .status-symbol { border-color: var(--muted); color: var(--muted); }
.company-name { display: flex; align-items: flex-start; gap: 9px; font-size: 17px; }
.company-name > .icon { color: var(--blue); margin-top: 2px; }
.order-number { display: grid; grid-template-columns: auto minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.order-number > span:nth-child(2) { overflow-wrap: anywhere; user-select: text; }
.payment-state { margin: 6px 0 12px; }
.order-facts { margin-top: 8px; border-top: 1px solid var(--line); }
.order-facts summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--muted); font-size: 13px; }
.order-facts summary::after { content: "⌄"; }
.order-facts[open] summary::after { transform: rotate(180deg); }
.icon-button { border: 0; background: none; color: var(--muted); display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; }
.icon-button .icon { width: 18px; height: 18px; }
.clipboard-input { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; }
.timeline { padding: 0; margin: 24px 0 0 9px; list-style: none; }
.timeline > li { position: relative; padding: 0 0 26px 26px; border-left: 1px solid #cedbf8; }
.timeline > li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline-dot { position: absolute; left: -9px; top: 4px; width: 17px; height: 17px; background: var(--blue); border-radius: 50%; color: white; display: grid; place-items: center; }
.timeline-dot .icon { width: 12px; height: 12px; }
.timeline .latest .timeline-dot { box-shadow: 0 0 0 3px white, 0 0 0 4px var(--blue); }
.timeline-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-size: 15px; }
.timeline-head time { color: var(--muted); font-size: 12px; text-align: right; }
.timeline p { color: var(--muted); font-size: 14px; margin-top: 4px; white-space: pre-wrap; }
.result-summary { background: var(--surface); padding: 14px; border-radius: 9px; margin: 14px 0; font-size: 14px; white-space: pre-wrap; }
.result-summary strong { display: block; margin-bottom: 6px; }
.result-summary .small { margin-top: 10px; }
.receipt-row { display: flex; width: 100%; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: white; padding: 15px 0; color: var(--text); min-height: 64px; text-align: left; }
.receipt-row > span:not(.receipt-arrow) { flex: 1; min-width: 0; }
.receipt-row strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.receipt-row small { display: block; color: var(--blue); font-size: 12px; margin-top: 3px; }
.receipt-arrow { color: var(--muted); }
.external-link { justify-content: center; width: 100%; margin-top: 8px; }
.simulation { background: var(--surface); }
.simulation h2 { margin: 10px 0 8px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; background: #17264299; display: grid; place-items: center; padding: 20px; }
.receipt-preview { position: relative; inset: auto; margin: 0; width: min(100%, 440px); max-height: 85vh; max-height: 85dvh; overflow: auto; border: 0; border-radius: 12px; padding: 20px; color: var(--text); background: white; }
.receipt-preview h2 { font-size: 16px; }
.receipt-preview img { display: block; max-width: 100%; max-height: 58vh; margin: 18px auto; object-fit: contain; }
@media (min-width: 600px) { .shell { border-inline: 1px solid #dbe1e9; } }
@media (max-width: 359px) {
  main { padding-inline: 16px; } .bar { padding-inline: 16px; } .card { padding: 14px; }
  h1 { font-size: 25px; } .bottom-action { gap: 10px; padding-inline: 16px; }
  .bottom-action > div > strong { font-size: 17px; } .bottom-action .btn { padding-inline: 9px; font-size: 13px; }
  .timeline-head { flex-wrap: wrap; } .query-guide span { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
