:root { font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #182b29; background: #f5f7f6; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.app-shell { min-height: 100vh; }
.site-header { color: #fff; background: #172521; }
.header-inner { width: min(100% - 40px, 1060px); min-height: 64px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #18392f; background: #a9dfca; border-radius: 5px; font-size: 16px; }
.header-note { color: #bdcfc7; font-size: 12px; }
.main-content { width: min(100% - 40px, 1060px); margin: 0 auto; padding: 38px 0 90px; }
.page-title { margin-bottom: 26px; }
.page-title h1 { margin: 0 0 7px; font-size: 28px; line-height: 1.3; font-weight: 750; }
.page-title p { margin: 0; color: #697a74; font-size: 14px; }
.notice { margin: 0 0 20px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #c9dfd6; border-radius: 6px; background: #e9f6f0; color: #27644f; font-size: 13px; line-height: 1.5; }
.notice.error { border-color: #eecdc2; background: #fff2ed; color: #a24834; }
.notice.success { border-color: #b7dfc8; background: #e8f6ed; color: #1e7248; }
.notice > svg { flex: 0 0 auto; margin-top: 1px; }
.notice span { min-width: 0; overflow-wrap: anywhere; }
.notice-close { width: 22px; height: 22px; margin: -2px -3px 0 auto; padding: 0; flex: 0 0 auto; border: 0; color: currentColor; background: transparent; }
.step-section { padding: 28px 0 32px; border-top: 1px solid #dce4e0; }
.step-heading { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 16px; }
.step-index { width: 42px; height: 42px; display: grid; place-items: center; color: #d15f45; background: #fff0eb; border-radius: 5px; font-size: 16px; font-weight: 750; }
.step-heading h2 { margin: 1px 0 5px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.step-heading p { margin: 0; color: #697a74; font-size: 13px; line-height: 1.55; }
.step-content { min-width: 0; margin: 18px 0 0 62px; }
.button { min-height: 40px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; line-height: 1.2; font-weight: 650; text-align: center; text-decoration: none; transition: background .15s, border-color .15s; }
.button.primary { color: #fff; background: #087f64; border-color: #087f64; }
.button.primary:not(:disabled):hover { background: #076c55; border-color: #076c55; }
.button.secondary { color: #1d4940; background: #fff; border-color: #b7ccc4; }
.button.secondary:not(:disabled):hover { background: #eff8f4; border-color: #6cae97; }
.button.quiet { color: #315b50; background: transparent; }
.button.quiet:not(:disabled):hover { background: #e8f1ed; }
.button:focus-visible, .icon-button:focus-visible, .notice-close:focus-visible, .dialog-close:focus-visible, input:focus-visible { outline: 2px solid #e97759; outline-offset: 2px; }
.qr-area { margin-top: 20px; display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 24px; }
.qr-frame { width: 280px; padding: 9px; border: 1px solid #dce4e0; border-radius: 6px; background: #fff; }
.qr-frame img { display: block; width: 100%; height: auto; }
.qr-actions { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qr-actions .expiry { width: 100%; display: flex; align-items: center; gap: 7px; color: #23785b; font-size: 13px; font-weight: 650; }
.qr-actions .expiry.expired { color: #af4d37; }
.help-text { max-width: 540px; margin: 10px 0 0; color: #71827b; font-size: 12px; line-height: 1.6; }
.field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.callback-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
input { min-width: 0; height: 40px; padding: 9px 12px; border: 1px solid #bccdc6; border-radius: 5px; outline: 0; color: #182b29; background: #fff; font-size: 13px; }
input::placeholder { color: #889992; }
.complete-button { margin-top: 12px; }
.token-result { margin-top: 28px; padding: 18px 0 0; border-top: 1px solid #dce4e0; }
.result-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #23785b; }
.result-title strong { font-size: 15px; }
.result-title span { margin-left: 4px; color: #71827b; font-size: 12px; }
.token-row { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 40px auto; gap: 8px; }
.token-row input { width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.icon-button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: #3b5d53; background: #fff; border: 1px solid #bccdc6; border-radius: 5px; }
.modal-overlay { position: fixed; inset: 0; z-index: 50; padding: 20px; display: grid; place-items: center; background: #101d1ac2; }
.guide-dialog { position: relative; width: min(100%, 460px); max-height: calc(100vh - 40px); overflow: auto; padding: 22px 24px 24px; background: #fff; border-radius: 7px; box-shadow: 0 18px 65px #0003; }
.guide-dialog h2 { margin: 0 34px 12px 0; font-size: 18px; }
.guide-emphasis { margin: 0; padding: 10px 12px; color: #a14c34; background: #fff0e9; border-left: 3px solid #d96347; font-size: 13px; line-height: 1.5; }
.dialog-close { position: absolute; top: 15px; right: 16px; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; color: #697a74; background: transparent; border: 0; }
.wechat-preview { position: relative; height: 155px; margin: 16px 0; overflow: hidden; border: 1px solid #dce4e0; border-radius: 5px; background: #fff; }
.preview-bar { position: relative; height: 40px; display: grid; place-items: center; color: #273a34; background: #f3f5f4; border-bottom: 1px solid #e2e8e5; font-size: 13px; font-weight: 650; }
.preview-dots { position: absolute; right: 8px; top: 5px; width: 30px; height: 30px; display: grid; place-items: center; color: #117960; background: #d9f4e9; border-radius: 50%; }
.preview-menu { position: absolute; right: 9px; top: 43px; min-width: 120px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; color: #273a34; background: #fff; border: 1px solid #dce4e0; border-radius: 4px; box-shadow: 0 6px 20px #0002; font-size: 13px; }
.preview-menu svg { color: #117960; }
.guide-list { margin: 0; padding-left: 21px; color: #344842; font-size: 13px; line-height: 1.8; }
.dialog-actions { margin-top: 20px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .main-content { padding-top: 28px; } .qr-area { grid-template-columns: 1fr; gap: 14px; } .qr-frame { width: min(100%, 280px); } }
@media (max-width: 520px) { .header-inner, .main-content { width: calc(100% - 32px); } .header-note { display: none; } .page-title h1 { font-size: 24px; } .step-section { padding: 24px 0 28px; } .step-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; } .step-index { width: 38px; height: 38px; } .step-content { margin-left: 0; } .qr-frame { margin: 0 auto; } .qr-actions { justify-content: center; } .qr-actions .expiry, .qr-actions .help-text { text-align: center; justify-content: center; } .callback-row { grid-template-columns: 1fr; } .complete-button { width: 100%; } .token-row { grid-template-columns: minmax(0, 1fr) 40px; } .token-row .button { grid-column: 1 / -1; } .dialog-actions .button.primary { flex: 1 1 100%; } }
