:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #202126; background: #fff; font-size: 14px; line-height: 1.55; font-synthesis: none;
  --accent: #0067d9; --border: #e5e7ec; --surface: #fff; --muted: #69717f;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; border: 1px solid #dce0e7; border-radius: 6px; background: #fff; color: #353b46; text-decoration: none; cursor: pointer; box-shadow: none; transition: background .15s, box-shadow .15s, transform .15s; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:active:not(:disabled), .button:active { transform: scale(.98); }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 2px 4px #0067d920; }
.danger-button { color: #bb3041; background: #fff9fa; border-color: #f1dbe0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #007aff80; outline-offset: 3px; }
input, select, textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d9dde5; border-radius: 9px; background: #fff; color: inherit; }
textarea { resize: vertical; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 17px; color: #515867; }
label input, label select, label textarea { display: block; margin-top: 7px; font-weight: 400; }
h1 { font-size: 29px; line-height: 1.3; letter-spacing: -.8px; margin: 0; font-weight: 650; }
h2 { font-size: 15px; font-weight: 650; margin: 0 0 18px; letter-spacing: -.15px; }
p { margin: 0 0 16px; }
small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.muted { color: var(--muted); font-size: 13px; }
.eyebrow { color: var(--muted); font-size: 11px; margin-bottom: 25px; }
.eyebrow span { padding: 0 9px; color: #bac0ca; }
.app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; padding: 29px 16px 20px; border-right: 1px solid #dee2e9; background: #f5f5f7; backdrop-filter: blur(24px); display: flex; flex-direction: column; }
.brand { display: flex; gap: 11px; align-items: center; margin: 0 8px 34px; text-decoration: none; color: inherit; font-size: 15px; font-weight: 650; letter-spacing: -.2px; }
.brand small { margin-top: 3px; font-size: 10px; letter-spacing: .7px; }
.brand-icon { display: grid; place-items: center; height: 38px; width: 38px; border-radius: 0; background: transparent; border: 0; box-shadow: none; color: #343a43; }
.sidebar nav { display: flex; flex-direction: column; gap: 26px; }
.nav-label { margin: 0 12px 9px; color: #77808f; font-size: 10px; font-weight: 600; letter-spacing: 1px; }
.nav-group { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav button { width: 100%; border: 1px solid transparent; justify-content: flex-start; box-shadow: none; background: none; padding: 10px 12px; color: #5b6473; font-size: 13px; gap: 11px; }
.sidebar nav button[aria-current=page] { background: #e7e8eb; border-color: transparent; box-shadow: none; color: #202126; font-weight: 600; }
.account { margin-top: auto; padding: 20px 3px 0; display: flex; align-items: center; gap: 10px; border-top: 1px solid #dce1e9; font-size: 12px; }
.account>span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.account button { background: transparent; border: 0; padding: 7px; box-shadow: none; color: #737d8b; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid #d8e1ee; border-radius: 50%; background: #e0e9f7; color: #41679c; font-weight: 600; }
.workspace { padding: 38px clamp(24px, 4vw, 64px) 30px; max-width: 1600px; width: 100%; margin: 0 auto; min-width: 0; }



.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-title h2 { margin: 0; }
.section-title>span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.panel { padding: 26px 0; background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; margin-bottom: 22px; box-shadow: none; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px 28px; margin: 0; }
.details>div { min-width: 0; }.details dt { color: var(--muted); font-size: 11px; margin-bottom: 7px; }.details dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }.actions:empty { display: none; }
.panel .actions { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; padding: 16px 0; margin: 18px 0; background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.filters label { margin: 0; flex: 1; min-width: 120px; font-size: 11px; }.filters label:first-child { flex: 2; min-width: 190px; }.filters button { min-height: 40px; }
.table-wrap { overflow-x: auto; background: #fff; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
table { border-collapse: collapse; width: 100%; font-size: 12px; }th { text-align: left; padding: 13px 18px; background: #f9fafc; color: #68717f; font-weight: 500; white-space: nowrap; }td { padding: 17px 18px; border-top: 1px solid #edf0f4; vertical-align: middle; font-variant-numeric: tabular-nums; }td>span { display: block; max-width: 280px; overflow-wrap: anywhere; }td button { white-space: nowrap; font-size: 11px; border: 0; color: var(--accent); background: transparent; box-shadow: none; }
.status-badge { display: inline-flex; padding: 3px 8px; border-radius: 6px; background: #f0f2f6; color: #626d7c; font-size: 11px; white-space: nowrap; }
.status-fulfilled, .status-confirmed, .status-closed { background: #eaf6ef; color: #247047; }.status-pending, .status-open, .status-processing { background: #fff4e5; color: #956212; }.status-rejected { background: #ffeff1; color: #b22e43; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 20px; font-size: 11px; color: var(--muted); }.pagination button { font-size: 11px; }
.empty { padding: 70px 25px; border: 0; text-align: center; border-radius: 0; background: #fff; color: var(--muted); }.empty svg { margin-bottom: 18px; color: #95a3b7; }.empty p { margin: 0; font-size: 13px; }
.alert { background: #fff7eb; color: #875311; border: 1px solid #f0dfc3; padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; overflow-wrap: anywhere; }
.back { margin-bottom: 18px; }.security { max-width: 700px; }.security form { max-width: 340px; }.security button { margin-bottom: 20px; }
footer { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); color: #7a8290; font-size: 10px; }
.action-dialog { width: min(560px, calc(100vw - 28px)); max-height: 90dvh; border: 1px solid #ffffffb0; border-radius: 20px; padding: 28px; background: #fcfcfe; color: inherit; box-shadow: 0 30px 100px #111c3c33, 0 2px 12px #111c3c12; }
.action-dialog::backdrop { background: #18233850; backdrop-filter: blur(5px); }.action-dialog header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }.action-dialog header h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; }.action-dialog header button { padding: 7px; border: 0; border-radius: 50%; background: #edf0f5; box-shadow: none; }.action-dialog fieldset { border: 0; margin: 0; padding: 0; }.action-dialog .primary { margin-top: 12px; width: 100%; }
.identifier { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; background: #f0f3f8; padding: 10px 12px; border-radius: 8px; }.secret { white-space: pre-wrap; overflow-wrap: anywhere; background: #edf2f9; padding: 16px; border-radius: 10px; font-size: 12px; user-select: all; }.pending { padding: 14px; background: #fff4e4; border-radius: 9px; font-size: 12px; overflow-wrap: anywhere; }.pending button { margin: 5px; }
.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 28px; background: radial-gradient(ellipse at top, #e7eefb, #f7f8fa 65%); }.auth-card { width: min(100%, 440px); background: #ffffffeb; border: 1px solid #fff; border-radius: 23px; padding: 37px; box-shadow: 0 20px 60px #23406b0c; }.auth-card>svg { color: var(--accent); margin-bottom: 23px; }.auth-card .eyebrow { margin-bottom: 10px; }.auth-card h1 { margin-bottom: 13px; font-size: 25px; }.auth-card form>.primary { width: 100%; }.text-button { border: 0; background: transparent; color: var(--accent); padding-left: 0; margin-top: 12px; box-shadow: none; }.enrollment { margin: 16px 0; }.enrollment img { display: block; margin: 15px auto; }.enrollment code { overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media(hover:hover) { button:hover:not(:disabled), .button:hover { background: #f0f4f9; }button.primary:hover:not(:disabled) { background: #005bc2; }tbody tr:hover { background: #fafbfe; }.sidebar nav button:hover { background: #e3e9f2; } }
@media(max-width:1150px) { .app-shell { grid-template-columns: 204px minmax(0,1fr); }.workspace { padding: 26px; }.health-panel .details { grid-template-columns: 1fr; } }
@media(max-width:850px) { }
@media(max-width:700px) { input, select, textarea { font-size: 16px; }.app-shell { display: block; }.sidebar { position: static; width: 100%; height: auto; padding: 17px 16px 10px; border-right: 0; border-bottom: 1px solid var(--border); }.brand { margin: 0 0 17px; }.sidebar nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; }.nav-group { flex-direction: row; gap: 5px; }.nav-label { display: none; }.sidebar nav button { width: auto; white-space: nowrap; min-height: 44px; }.account { padding: 10px 0 0; margin-top: 8px; }.account small { display: inline; margin-left: 10px; }.avatar { width: 27px; height: 27px; }.workspace { padding: 25px 17px; }.eyebrow { margin-bottom: 19px; }h1 { font-size: 25px; }.panel { padding: 20px 0; }.details { grid-template-columns: 1fr; }.table-wrap { border: 0; background: transparent; overflow: visible; }table, tbody, tr, td { display: block; }thead { display: none; }tr { margin-bottom: 18px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 10px 0; background: #fff; }td { border: 0; padding: 8px; display: flex; gap: 16px; justify-content: space-between; }td:before { content: attr(data-label); color: var(--muted); flex: 0 0 90px; }td>span { max-width: none; text-align: right; min-width: 0; }.pagination { justify-content: space-between; gap: 6px; }button, .button { min-height: 44px; }.action-dialog { padding: 22px; }.auth-card { padding: 27px; }.filters { padding: 15px 0; }.filters label { min-width: calc(50% - 12px); }.filters label:first-child { min-width: 100%; }.filters button { width: 100%; }.actions button { flex: 1; }.section-title>span { font-size: 10px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }button:active:not(:disabled) { transform: none; } }
@media(prefers-reduced-transparency:reduce) { .sidebar, .auth-card { background: #f1f3f7; backdrop-filter: none; }.action-dialog::backdrop { backdrop-filter: none; background: #18233899; } }
@media(prefers-contrast:more) { :root { --border: #7c8796; --muted: #424b58; }.sidebar { background: #f1f3f7; } }

.balance-summary { padding: 0 0 30px; border-bottom: 1px solid var(--border); }
.balance-primary p { color: #626a75; font-size: 13px; margin: 0 0 10px; }
.balance-primary p span { font-size: 11px; margin-left: 14px; color: #818894; }
.balance-primary>strong { display: block; font-size: clamp(38px,4vw,54px); font-weight: 550; line-height: 1.15; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.balance-primary>small { margin-top: 14px; }
.balance-summary .details { display: flex; gap: clamp(24px,5vw,80px); margin-top: 26px; }
.balance-summary dd { font-size: 19px; font-weight: 500; letter-spacing: -.3px; }
.desk-columns { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: clamp(30px,5vw,80px); margin: 28px 0 30px; }
.task-list .section-title { margin-bottom: 9px; }
button.task-row { display: flex; width: 100%; text-align: left; padding: 17px 0; gap: 20px; border: 0; border-bottom: 1px solid #eff0f2; border-radius: 0; background: transparent; box-shadow: none; }
.task-row>span:first-child { flex: 1; }.task-row strong { font-size: 13px; font-weight: 500; }.task-row small { margin-top: 5px; }.task-row>svg { color: #9ba1ab; }.task-count { color: #8b919b; font-size: 21px; font-variant-numeric: tabular-nums; }.task-count.has-items { color: #0067d9; }
.desk-shortcuts h2 { margin-bottom: 15px; }.desk-shortcuts button { justify-content: space-between; width: 100%; border: 0; padding: 13px 0; border-radius: 0; background: transparent; box-shadow: none; color: #0067d9; font-size: 13px; }.desk-shortcuts p { margin-top: 27px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.maintenance { border-top: 1px solid var(--border); padding: 18px 0; color: var(--muted); }.maintenance summary { display: flex; justify-content: space-between; gap: 15px; cursor: pointer; font-size: 11px; }.maintenance summary>span:first-child { display: flex; align-items: center; gap: 8px; color: #515b68; }.maintenance .details { margin-top: 24px; }.maintenance .table-wrap { margin-top: 18px; }
@media(max-width:900px) { .desk-columns { grid-template-columns: 1fr; gap: 28px; }.desk-shortcuts { padding-top: 20px; border-top: 1px solid var(--border); }.desk-shortcuts p { margin-top: 15px; } }
@media(max-width:700px) { .balance-summary .details { gap: 18px; flex-wrap: wrap; }.balance-summary dd { font-size: 16px; }.balance-primary>strong { font-size: 42px; }.desk-columns { margin-top: 26px; }.task-row small { font-size: 11px; }.maintenance summary { flex-wrap: wrap; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.workspace-tools { float: right; margin: -6px 0 10px 18px; position: relative; z-index: 1; }
.workspace-tools button { border: 0; box-shadow: none; color: #6b7380; background: transparent; font-size: 12px; padding: 6px 0 6px 10px; }
.workspace>.panel:first-of-type { clear: both; }
.workspace>footer { clear: both; }
@media(max-width:700px) { .workspace-tools { margin-top: -10px; }.workspace-tools button { min-width: 44px; padding: 10px; }.workspace-tools button span { display: none; } }
.audience-summary { display: flex; align-items: center; gap: 40px; padding: 0 90px 26px 0; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.audience-summary>div { flex-shrink: 0; }.audience-summary>div>span { color: var(--muted); font-size: 12px; }.audience-summary strong { display: flex; align-items: baseline; gap: 8px; font-size: 28px; font-weight: 550; margin-top: 4px; }.audience-summary strong small { font-size: 11px; }.audience-summary p { margin: 0 0 0 auto; max-width: 290px; font-size: 11px; color: var(--muted); }
.revenue-trend { padding: 26px 0 20px; border-bottom: 1px solid var(--border); }.trend-readout { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }.trend-readout strong { font-weight: 500; margin-left: 6px; color: #202126; }.income-key { color: #0067d9; }.refund-key { color: #936031; }.revenue-trend svg { width: 100%; height: auto; max-height: 240px; display: block; margin-top: 8px; overflow: visible; }.revenue-trend svg text { font-size: 10px; fill: #69717f; }.trend-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }.trend-footer p { color: var(--muted); font-size: 11px; margin: 0; }.trend-footer label { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; font-size: 11px; }.trend-footer select { margin: 0; width: auto; min-height: 32px; padding: 4px 8px; font-size: 12px; }
@media(max-width:700px) { .audience-summary { padding-right: 40px; gap: 25px; flex-wrap: wrap; }.audience-summary p { margin: 0; max-width: none; }.trend-readout { gap: 8px 18px; }.trend-footer { flex-wrap: wrap; }.trend-footer select { font-size: 16px; }.revenue-trend svg { min-height: 150px; } }
