:root {
    color-scheme:light;
    --ink:#17212e;
    --muted:#738093;
    --border:#e4e9ef;
    --blue:#2365db;
    --bg:#f4f6f9;
    --radius:10px
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    color:var(--ink);
    font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
    background:var(--bg)
}
a {
    color:var(--blue);
    text-decoration:none
}
button,input,textarea {
    font:inherit
}
button {
    height:42px;
    border:1px solid #d6dfe9;
    border-radius:7px;
    padding:0 18px;
    background:white;
    color:#344258;
    font-weight:600;
    cursor:pointer;
    transition:background .15s
}
button:hover {
    background:#f0f5fc
}
button:disabled {
    opacity:.55;
    cursor:default
}
.primary {
    background:var(--blue);
    border-color:var(--blue);
    color:white
}
.primary:hover {
    background:#1957c5
}
.full {
    width:100%
}
.launch-link {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    border:1px solid var(--blue);
    border-radius:7px;
    padding:0 18px;
    font-weight:600
}
.quiet {
    border:0;
    background:transparent;
    height:34px
}
.secondary {
    margin-top:12px
}
.muted {
    color:var(--muted);
    margin:8px 0 24px
}
h1,h2,p {
    margin-top:0
}
h1 {
    font-size:28px;
    letter-spacing:-.6px;
    line-height:1.35;
    margin-bottom:8px
}
h2 {
    font-size:17px;
    line-height:1.4;
    margin-bottom:6px
}
.eyebrow {
    font-size:10px;
    letter-spacing:2px;
    color:#8794a6;
    font-weight:700;
    margin-bottom:10px
}
.brand-mark {
    background:var(--blue);
    color:white;
    border-radius:13px;
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    font-size:27px;
    font-weight:700;
    box-shadow:0 8px 22px #2365db20
}
.brand-mark.small {
    width:37px;
    height:37px;
    font-size:22px;
    border-radius:9px;
    box-shadow:none
}
.login-page {
    min-height:100vh;
    display:grid;
    place-items:center;
    background:radial-gradient(ellipse at 10% 5%,#e9eff9,transparent 55%),#f6f8fb
}
.login-shell {
    width:min(420px,calc(100% - 40px));
    padding:44px 38px;
    background:white;
    border:1px solid var(--border);
    border-radius:14px;
    box-shadow:0 20px 60px #1e355a08
}
.login-shell .brand-mark {
    margin-bottom:30px
}
.login-shell h1 {
    font-size:26px
}
.login-shell .primary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:6px
}
.login-foot {
    font-size:11px;
    color:#99a3b1;
    margin-top:26px
}
.stack {
    display:grid;
    gap:18px
}
label {
    display:block;
    font-size:13px;
    font-weight:600;
    color:#3d4a5d
}
input:not([type=checkbox]),textarea {
    display:block;
    width:100%;
    border:1px solid #dce3eb;
    border-radius:7px;
    padding:10px 12px;
    margin-top:8px;
    background:#fff;
    color:var(--ink);
    outline:none;
    font-weight:400
}
input:not([type=checkbox]) {
    height:43px
}
input:focus,textarea:focus {
    border-color:#7da7ee;
    box-shadow:0 0 0 3px #2365db0d
}
textarea {
    resize:vertical;
    font:12px/1.6 ui-monospace,Consolas,monospace
}
input::placeholder,textarea::placeholder {
    color:#a0a9b6
}
label small,.hint {
    display:block;
    color:#8994a4;
    font-size:12px;
    font-weight:400;
    margin-top:8px
}
.alert {
    padding:14px 18px;
    background:#fff8e9;
    border:1px solid #eee0be;
    border-radius:8px;
    margin:0 0 24px;
    color:#80652c
}
.alert.error {
    background:#fff2f1;
    border-color:#f0d6d2;
    color:#a93f35
}
.alert.success {
    background:#eff9f4;
    border-color:#d4e9dc;
    color:#28734b
}
.sidebar {
    width:226px;
    position:fixed;
    inset:0 auto 0 0;
    background:#141f31;
    color:#b2bed1;
    padding:34px 22px;
    display:flex;
    flex-direction:column
}
.brand {
    display:flex;
    align-items:center;
    gap:12px;
    color:#edf3fe;
    font-size:16px;
    font-weight:600
}
.brand small {
    display:block;
    font-size:9px;
    letter-spacing:1.5px;
    color:#7f91aa;
    font-weight:400
}
.sidebar nav {
    display:grid;
    gap:8px;
    margin-top:48px
}
.sidebar nav a {
    display:block;
    color:#9aaac1;
    padding:11px 15px;
    border-radius:7px;
    font-size:13px
}
.sidebar nav a:hover,.sidebar nav .active {
    background:#23334e;
    color:#e1ebff
}
.sidebar-foot {
    margin-top:auto;
    font-size:11px;
    line-height:2;
    color:#60738f;
    padding:0 12px
}
.dot {
    display:inline-block;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#4ebd97;
    margin-right:7px
}
.workspace {
    margin-left:226px
}
.topbar {
    height:72px;
    background:#fff;
    border-bottom:1px solid var(--border);
    padding:0 42px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#8390a0;
    font-size:12px
}
.topbar form {
    display:flex;
    align-items:center;
    gap:16px
}
.slash {
    padding:0 12px;
    color:#c0c9d6
}
.admin-name {
    color:#45566f
}
.console-main {
    max-width:1230px;
    padding:42px;
    margin:0 auto
}
.page-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:26px;
    gap:20px
}
.page-heading .muted {
    margin-bottom:0;
    font-size:13px
}
.badge {
    display:inline-block;
    border:1px solid #dce3ed;
    color:#77869a;
    padding:3px 10px;
    border-radius:5px;
    font-size:11px;
    white-space:nowrap;
    background:#f8fafc
}
.badge.success {
    background:#edf8f2;
    color:#2f805a;
    border-color:#d4e9dc
}
.metrics {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:28px
}
.metrics>div {
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:23px 25px
}
.metrics span {
    font-size:12px;
    color:#8793a3
}
.metrics strong {
    display:block;
    font-size:30px;
    font-weight:600;
    margin-top:9px;
    line-height:1.2
}
.metrics small {
    font-size:11px;
    color:#99a3b1;
    font-weight:400;
    margin-left:9px
}
.panel {
    background:white;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:28px;
    margin-bottom:24px;
    scroll-margin-top:24px
}
.panel.compact {
    padding:23px 28px
}
.panel-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px
}
.panel-heading p,.inline-heading p {
    color:#8b96a5;
    font-size:12px;
    margin-bottom:0
}
.step {
    color:#bdc8d7;
    font:24px/1 ui-monospace,monospace
}
.form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-bottom:20px
}
.form-grid.three {
    grid-template-columns:repeat(3,1fr)
}
.span-2 {
    grid-column:1/-1
}
.info-line {
    padding:16px 18px;
    border:1px solid #e7edf6;
    background:#f8fafd;
    border-radius:7px;
    margin-bottom:18px
}
.info-line span {
    display:block;
    font-size:12px;
    color:#728099;
    margin-bottom:4px
}
.info-line code {
    font-size:12px;
    overflow-wrap:anywhere
}
.info-line small {
    display:block;
    color:#9aa5b4;
    margin-top:6px;
    font-size:11px
}
.check {
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:400
}
.check input {
    accent-color:var(--blue);
    width:15px;
    height:15px;
    margin:0
}
.key-status {
    display:flex;
    align-items:center;
    gap:10px;
    padding-top:24px;
    flex-wrap:wrap
}
.separator {
    border-top:1px solid #edf0f5;
    margin:24px 0
}
.savebar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:-4px 0 28px
}
.savebar span {
    font-size:12px;
    color:#96a1b1
}
.inline-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}
.secret {
    display:block;
    overflow-wrap:anywhere;
    padding:15px;
    background:#f4f7fb;
    border-radius:7px;
    margin-top:20px
}
.table-wrap {
    overflow:auto
}
table {
    border-collapse:collapse;
    width:100%;
    text-align:left;
    white-space:nowrap
}
th {
    font-size:11px;
    font-weight:500;
    color:#96a0ae;
    background:#f8fafc;
    padding:12px
}
td {
    border-bottom:1px solid #edf0f5;
    padding:15px 12px;
    font-size:12px;
    color:#5a687c
}
.mono {
    font-family:ui-monospace,Consolas,monospace
}
.empty {
    text-align:center;
    padding:40px 15px;
    color:#a3acb8;
    white-space:normal
}
.event-list {
    list-style:none;
    padding:0;
    margin:14px 0 0;
    font-size:12px;
    color:#768499
}
.event-list li {
    border-top:1px solid #f0f3f7;
    padding:9px 0;
    display:flex;
    gap:22px
}
.event-list time {
    color:#a0aab8
}
summary {
    cursor:pointer;
    font-size:13px;
    color:#748199
}
.footer {
    font-size:11px;
    color:#a0aab8;
    margin:30px 0
}
.customer-page {
    min-height:100vh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:60px 20px;
    background:linear-gradient(180deg,#edf3fb,#f7f9fc 50%)
}
.customer-card {
    width:440px;
    max-width:100%;
    background:white;
    border:1px solid var(--border);
    border-radius:14px;
    padding:34px 28px;
    text-align:center;
    box-shadow:0 12px 40px #1e355a06
}
.customer-card .brand-mark {
    margin:0 auto 26px
}
.customer-card h1 {
    font-size:21px;
    overflow-wrap:anywhere
}
.customer-card .muted {
    font-size:13px;
    line-height:1.9
}
.amount {
    font-size:45px;
    font-weight:600;
    letter-spacing:-1px;
    margin:24px 0 0
}
.amount small {
    font-size:22px;
    margin-right:5px
}
.order-number {
    font-size:11px;
    color:#9aa5b5;
    overflow-wrap:anywhere;
    margin:8px 0 25px
}
.payment-status {
    padding:15px 12px;
    background:#f3f6fb;
    color:#647791;
    border-radius:8px;
    margin-bottom:24px;
    font-size:13px
}
.payment-status.paid {
    background:#eff9f2;
    color:#298450
}
.identity-fields {
    text-align:left;
    margin:24px 0
}
.identity-fields>div {
    border-bottom:1px solid #edf1f5;
    padding:13px 0
}
.identity-fields span {
    display:block;
    font-size:11px;
    color:#8d99a9
}
.identity-fields code {
    display:block;
    font-size:13px;
    overflow-wrap:anywhere;
    margin-top:5px
}
@media(max-width:1050px) {
    .sidebar {
        width:196px;
        padding:28px 16px
    }
    .workspace {
        margin-left:196px
    }
    .console-main {
        padding:30px 24px
    }
    .topbar {
        padding:0 24px
    }
    .form-grid.three {
        grid-template-columns:1fr
    }
    .metrics {
        gap:12px
    }
    .metrics>div {
        padding:18px
    }
    .key-status {
        gap:6px
    }
}
@media(max-width:720px) {
    .sidebar {
        position:static;
        width:auto;
        padding:20px
    }
    .sidebar nav {
        display:flex;
        gap:4px;
        margin-top:20px;
        overflow:auto
    }
    .sidebar nav a {
        white-space:nowrap;
        font-size:12px;
        padding:8px 10px
    }
    .sidebar-foot {
        display:none
    }
    .workspace {
        margin:0
    }
    .topbar {
        height:56px;
        padding:0 20px
    }
    .console-main {
        padding:28px 16px
    }
    .page-heading {
        align-items:flex-start;
        flex-direction:column;
        gap:14px
    }
    h1 {
        font-size:25px
    }
    .panel,.panel.compact {
        padding:22px 18px
    }
    .form-grid {
        grid-template-columns:1fr;
        gap:20px
    }
    .key-status {
        padding-top:0
    }
    .metrics {
        gap:8px
    }
    .metrics>div {
        padding:16px 12px
    }
    .metrics span {
        font-size:10px
    }
    .metrics strong {
        font-size:25px
    }
    .savebar {
        gap:16px
    }
    .savebar span {
        font-size:11px
    }
    .inline-heading {
        align-items:flex-start;
        flex-direction:column
    }
    .customer-page {
        padding:28px 16px
    }
    .customer-card {
        padding:30px 23px
    }
    .topbar .admin-name {
        display:none
    }
}
