:root { color-scheme: light; --ink: #172344; --muted: #657189; --accent: #087e77; --accent-dark: #06655f; --line: #dfe6ed; --paper: #f6f8fb; --white: #fff; --radius: 18px; font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #28a99c; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.025em; }
h1 { font-size: clamp(30px, 3.5vw, 42px); margin-bottom: 16px; }
h2 { font-size: 25px; margin-bottom: 0; }
h3 { font-size: 17px; margin-bottom: 0; }
p { margin-bottom: 16px; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--ink); border-radius: 9px; font-size: 25px; font-weight: 400; }
.brand-accent, .accent { color: var(--accent); }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 13px; color: #52617b; }
.header-nav a:hover, .link-button:hover, .back-link:hover { color: var(--accent); }
.header-nav form { margin: 0; }
.link-button { border: 0; padding: 0; color: inherit; background: none; font-size: inherit; }
.main-content { padding-block: 48px 80px; min-height: calc(100vh - 171px); }
.site-footer { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 26px; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; padding-block: 25px 70px; }
.eyebrow { display: block; margin-bottom: 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.status-dot { display: inline-block; margin-right: 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.hero h1 { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.25; letter-spacing: -.05em; margin-bottom: 24px; }
.hero-description { max-width: 480px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 27px; color: #546276; font-size: 12px; }
.hero-facts span::before { content: "✓"; color: var(--accent); margin-right: 5px; }
.process-card { padding: 30px 34px 22px; border: 1px solid #dce9e8; border-radius: 22px; background: linear-gradient(145deg, #fff 40%, #eaf6f2); }
.process-card h2 { font-size: 21px; }
.process-list { list-style: none; padding: 0; margin: 29px 0 18px; }
.process-list li { display: flex; gap: 16px; margin-bottom: 23px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #cce3de; border-radius: 50%; color: var(--accent); font: 12px Consolas, monospace; }
.process-list strong { font-size: 14px; }
.process-list p { color: var(--muted); font-size: 12px; margin: 3px 0 0; }
.process-note { border-top: 1px solid #d7e8e3; margin: 0; padding-top: 15px; color: var(--muted); font-size: 11px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.section-heading h1, .section-heading h2 { margin: 0; }
.section-heading .eyebrow { margin-bottom: 8px; }
.badge { display: inline-flex; align-items: center; border-radius: 100px; padding: 5px 11px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-neutral { background: #e9edf4; color: #52617b; }
.badge-success { background: #e3f3ed; color: #087353; }
.badge-pending { background: #fff0d5; color: #97601b; }
.badge-revoked { background: #fbe6e8; color: #a54250; }
.plan-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan-option { display: block; position: relative; cursor: pointer; }
.plan-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-content { display: flex; flex-direction: column; height: 100%; padding: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.plan-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; }
.choice-indicator { width: 18px; height: 18px; flex-shrink: 0; border: 1px solid #c5ceda; border-radius: 50%; }
.plan-option > input:checked + .plan-content { border: 2px solid var(--accent); padding: 24px; background: #f3faf7; }
.plan-option > input:checked + .plan-content .choice-indicator { border: 5px solid var(--accent); background: white; }
.plan-option > input:focus-visible + .plan-content { outline: 3px solid #28a99c; outline-offset: 4px; }
.plan-option:hover .plan-content { border-color: var(--accent); }
.plan-price { margin-block: 20px 14px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.plan-description { display: block; color: var(--muted); font-size: 13px; line-height: 1.75; }
.plan-terms { display: block; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; }
.upgrade-field { margin-top: 20px; }
.usage-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.usage-rules .card { padding: 22px 25px; }
.usage-rules p { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 12px 0 0; }
.quota-summary { display: flex; flex-wrap: wrap; gap: 18px 32px; padding: 15px 18px; margin: 18px 0 0; border-radius: 9px; background: #f1f6f8; }
.quota-summary dt { font-size: 11px; }
.quota-summary dd { font-size: 17px; font-weight: 600; }
.usage-record { padding: 20px 25px; }
.price-breakdown { color: #415978; }
.checkout-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 20px; padding: 24px 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.checkout-fields { flex: 1; max-width: 500px; }
label:not(.plan-option):not(.checkbox-label) { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
input:not([type=hidden]):not([type=radio]):not([type=checkbox]) { display: block; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #ccd6e0; border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; }
input::placeholder { color: #98a2b2; }
.field-help { margin: 7px 0 0; font-size: 11px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: white; color: #465875; border-color: #d7dfe8; }
.button-secondary:hover { background: #f1f5f9; border-color: #9aafc3; }
.button-danger { background: #fff; color: #a93d4c; border-color: #efd3d8; }
.button-danger:hover { background: #fff1f3; }
.button-small { padding: 8px 12px; min-height: 38px; font-size: 12px; gap: 8px; }
.notice { padding: 19px 22px; border-radius: 12px; font-size: 13px; margin-top: 20px; overflow-wrap: anywhere; }
.notice p { margin: 6px 0 0; line-height: 1.85; }
.notice-info { background: #eaf0f7; border: 1px solid #dbe5ef; color: #4c607d; }
.notice-key { background: #e5f4ee; border: 1px solid #b9e1d0; color: #215e4f; }
.issued-key { display: block; margin-top: 14px; padding: 13px 16px; border: 1px solid #b9e1d0; border-radius: 8px; background: white; font-size: 15px; user-select: all; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.narrow-page { width: min(740px, 100%); margin-inline: auto; }
.back-link { display: inline-block; margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.order-card { padding: 34px; }
.order-card .section-heading { align-items: center; }
.order-card h1 { font-size: 30px; }
.muted { color: var(--muted); font-size: 14px; }
.detail-list { margin: 28px 0; }
.detail-list > div { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #edf0f4; padding: 15px 0; }
dt { color: var(--muted); font-size: 13px; flex-shrink: 0; }
dd { margin: 0; overflow-wrap: anywhere; }
.detail-list dd { font-size: 14px; text-align: right; }
.detail-list .amount { font-size: 19px; font-weight: 700; }
.login-page { display: grid; place-items: center; padding-block: 40px; }
.login-card { width: min(440px, 100%); padding: 36px; }
.login-card h1 { font-size: 30px; }
.stack-form { display: grid; gap: 22px; margin-top: 30px; }
.login-card .back-link { margin: 24px 0 0; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading p { margin-bottom: 0; }
.admin-section { margin-top: 42px; }
.count-label { color: var(--muted); font-size: 12px; }
.record-list { display: grid; gap: 14px; }
.order-record, .customer-record { padding: 23px 26px; }
.record-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.record-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.record-amount { font-size: 21px; white-space: nowrap; }
.record-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 14px 0 0; font-size: 12px; }
.record-meta > div { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.record-meta dt { font-size: 11px; }
.settlement-form { border-top: 1px solid #edf0f4; margin-top: 20px; padding-top: 19px; }
.settlement-fields { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.verified-amount { min-width: 150px; text-align: right; }
.verified-amount span { display: block; font-size: 11px; color: var(--muted); }
.verified-amount strong { font-size: 17px; }
.settlement-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: #596b81; }
.checkbox-label input { margin: 3px 0 0; width: 16px; height: 16px; flex: 0 0 16px; accent-color: var(--accent); }
.customer-email { font-size: 16px; overflow-wrap: anywhere; }
.record-subtitle { color: var(--muted); font-size: 11px; margin: 8px 0 0; }
.meta-separator { margin-inline: 8px; }
.customer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.customer-actions form { margin: 0; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.detail-link { display: inline-block; margin-top: 13px; color: var(--accent); font-size: 12px; }
.search-form { display: flex; align-items: end; gap: 14px; margin-bottom: 20px; }
.search-form .field { flex: 1; max-width: 500px; }
.search-form .back-link { margin: 0 0 10px; }
.management-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 18px; }
.action-panel { border: 1px solid var(--line); border-radius: 9px; margin-top: 14px; background: #fafbfd; }
.management-actions .action-panel { margin-top: 0; }
.action-panel summary { padding: 10px 13px; font-size: 12px; font-weight: 600; cursor: pointer; }
.action-panel[open] summary { border-bottom: 1px solid var(--line); }
.action-form { display: grid; gap: 12px; padding: 15px; }
.action-form label:not(.checkbox-label) { margin: 0; }
.action-form .field-help { margin: 0; }
.action-form .button { justify-self: start; }
.danger-text { color: #a93d4c; }
.customer-email-heading { overflow-wrap: anywhere; font-size: clamp(24px, 3.5vw, 36px); }
.audit-list { padding-inline: 25px; }
.audit-entry { padding-block: 18px; }
.audit-entry + .audit-entry { border-top: 1px solid #edf0f4; }
.audit-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; overflow-wrap: anywhere; }
.audit-heading time { color: var(--muted); font-size: 11px; }
.audit-subject, .audit-detail { margin: 7px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.bootstrap-link { margin-top: 25px; }
.plan-option > input:disabled + .plan-content { background: #f0f3f7; color: #637087; cursor: default; }
.price-pending { font-size: 27px; }
.release-row > div > .badge { margin: 7px 0 0 7px; }
.release-list { padding-inline: 25px; }
.release-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 20px; align-items: start; }
.release-row + .release-row { border-top: 1px solid #edf0f4; }
.release-row > strong { font-size: 14px; }
.hash-label { font-size: 10px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 2px; }
.hash-value { font-size: 11px; color: #66738a; }
.empty-state { padding: 27px; color: var(--muted); text-align: center; font-size: 13px; margin: 0; }
.error-card { padding: 40px; margin-block: 45px; }
.error-card h1 { font-size: 29px; }
.error-message { color: var(--muted); margin-block: 22px 28px; overflow-wrap: anywhere; }
.error-card .back-link { margin: 18px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 10px 16px; border-radius: 6px; background: white; color: var(--ink); }
@media (max-width: 850px) { .hero { gap: 30px; grid-template-columns: 1.1fr 1fr; } .hero h1 { font-size: 38px; } .process-card { padding: 25px; } .hero-facts { gap: 8px 12px; } }
@media (max-width: 680px) { .shell { width: calc(100% - 32px); } .header-inner { min-height: 74px; gap: 14px; flex-wrap: wrap; padding-block: 15px; } .header-nav { gap: 14px; font-size: 12px; } .brand { font-size: 21px; } .brand-mark { width: 30px; height: 30px; } .main-content { padding-block: 28px 48px; } .hero { grid-template-columns: 1fr; padding-block: 9px 38px; gap: 28px; } .hero h1 { font-size: 40px; } .hero-description { font-size: 14px; } .hero-facts { margin-top: 20px; } .process-card { padding: 25px; } .process-list { margin-top: 23px; } .process-list li { margin-bottom: 18px; } h2 { font-size: 22px; } .plan-grid { grid-template-columns: 1fr; } .checkout-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px; } .checkout-fields { max-width: none; } .order-card, .login-card { padding: 25px; } .page-heading { gap: 14px; flex-wrap: wrap; margin-bottom: 24px; } .page-heading h1 { font-size: 30px; } .admin-section { margin-top: 30px; } .order-record, .customer-record { padding: 20px; } .record-summary { gap: 12px; } .record-title { gap: 8px; } .record-amount { font-size: 18px; } .record-meta { flex-direction: column; gap: 6px; } .settlement-fields { grid-template-columns: 1fr; gap: 12px; } .verified-amount { display: flex; gap: 12px; align-items: center; text-align: left; } .settlement-actions { flex-direction: column; align-items: stretch; gap: 18px; } .customer-record .record-summary { flex-wrap: wrap; } .customer-actions { gap: 8px; } .release-row { grid-template-columns: 1fr; gap: 10px; } .detail-list > div { gap: 14px; } .detail-list dd { max-width: 70%; } .footer-inner { flex-wrap: wrap; padding-block: 22px; } .error-card { padding: 28px; margin-block: 24px; } .error-card h1 { font-size: 25px; } .error-card .back-link { display: block; margin: 20px 0 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 680px) { .search-form { flex-wrap: wrap; gap: 12px; } .search-form .field { flex-basis: 100%; max-width: none; } .management-actions { grid-template-columns: 1fr; } .audit-list { padding-inline: 20px; } }
