html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--bg: #f5f7fa;--card: #ffffff;--text: #1f2329;--muted: #646a73;--line: #e5e6eb;--primary: #1677ff;--success: #137d54;--warning: #a96600;--danger: #c44747;--radius: 8px;--radius-lg: 10px;--header-h: 56px;--sider-w: 216px;--sider-collapsed: 64px;--shadow: 0 1px 2px rgba(31, 35, 41, .04);--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--money: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font)}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(220px,1fr) 440px;align-items:center;justify-content:center;gap:64px;max-width:980px;margin:0 auto;padding:32px 24px}.login-side h1{margin:0 0 20px;font-size:28px;line-height:1.35;font-weight:650}.login-points{margin:0;padding:0;list-style:none;display:grid;gap:10px}.login-points li{display:flex;align-items:center;gap:10px;color:var(--text);font-size:14px}.login-points li:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--primary)}.login-card{width:100%;max-width:440px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px 28px 24px}.login-card h2{margin:0;font-size:22px;font-weight:650}.login-card .login-sub{margin:6px 0 4px;color:var(--text);font-size:13px}.login-action{margin-bottom:16px}.login-card .login-note{margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.app-shell{min-height:100vh;background:var(--bg)}.app-sider{background:#001529!important}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.app-sider .ant-menu{flex:1;overflow:auto;background:transparent;border-inline-end:0!important}.app-sider .ant-menu-item,.nav-drawer .ant-menu-item{position:relative;height:40px;line-height:40px;margin-block:4px}.brand{height:56px;display:flex;align-items:center;gap:10px;padding:0 16px;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:28px;height:28px;flex:none;border-radius:6px;background:#1677ff;display:grid;place-items:center;font-size:14px;font-weight:700}.brand b,.brand span{display:block;line-height:1.2}.brand b{font-size:14px}.brand span{margin-top:2px;color:#ffffff8c;font-size:12px}.sider-trigger{height:40px;margin:8px;color:#ffffffbf!important}.nav-drawer .ant-drawer-body{padding:0;background:#001529}.app-main{min-width:0;background:var(--bg)}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;height:var(--header-h);padding:0 16px;background:#fff;border-bottom:1px solid var(--line);line-height:1.2}.header-leading{min-width:0;display:flex;align-items:center;gap:8px}.header-actions{display:flex;align-items:center;gap:8px;flex:none}.user-chip{display:flex;align-items:center;gap:8px;height:36px;padding:0 8px;color:var(--text)}.user-chip b,.user-chip span{display:block;text-align:left;line-height:1.2}.user-chip b{font-size:13px;font-weight:600}.user-chip span{color:var(--muted);font-size:12px}.app-content{min-width:0;padding:16px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.page-header h1{margin:0;font-size:18px;font-weight:650;line-height:1.4}.page-header p{margin:2px 0 0;color:var(--muted);font-size:13px}.page-extra{display:flex;align-items:center;gap:8px;flex:none}.dash-grid,.detail-layout,.split-2,.settings-layout{display:grid;gap:12px;min-width:0}.dash-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);margin-bottom:12px}.detail-layout{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr)}.settings-layout{grid-template-columns:168px minmax(0,1fr);align-items:start}.settings-menu{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:8px}@media(max-width:1024px){.dash-grid,.detail-layout,.settings-layout{grid-template-columns:1fr}}@media(max-width:768px){.login-page{grid-template-columns:1fr;max-width:440px;gap:0;padding:16px}.login-side,.user-meta{display:none}.page-header{flex-direction:column}.header-actions{flex-wrap:wrap;justify-content:flex-end}.page-extra{width:100%}.page-extra{flex-wrap:wrap}.app-content{padding:12px}}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:12px}.metric-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.refund-banner{padding:10px 14px;border-radius:8px;border:1px solid #ffccc7;background:#fff2f0;color:#a8071a;font-size:13px;line-height:1.6}[data-theme=dark] .refund-banner{border-color:#58181c;background:#2a1215;color:#ffa39e}.metric-card,.section-card,.filter-bar,.table-wrap,.panel-box{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.metric-card{min-height:78px;padding:12px 14px}.metric-card .metric-label{color:var(--muted);font-size:12px;line-height:1.4}.metric-card .metric-value{margin-top:4px;font-family:var(--money);font-variant-numeric:tabular-nums;font-size:20px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.metric-card .metric-extra{margin-top:2px;color:var(--muted);font-size:12px}.metric-card.warn .metric-value{color:var(--warning)}.metric-card.danger .metric-value{color:var(--danger)}.section-card,.panel-box{padding:14px 16px}.section-card+.section-card,.stack-12>*+*{margin-top:12px}.section-card-head,.panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.section-card-head h2,.panel-head b{margin:0;font-size:14px;font-weight:650}.filter-bar{padding:12px 12px 0;margin-bottom:12px}.ledger-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:100%;margin-bottom:12px;overflow-x:auto}.table-wrap{overflow:hidden}@media(max-width:768px){.table-wrap,.panel-box{overflow-x:auto;-webkit-overflow-scrolling:touch}}.table-wrap .ant-table{border-radius:var(--radius)}.money-cell{font-family:var(--money);font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.money-in{color:var(--success)}.money-out{color:var(--danger)}.money-profit{color:var(--success)}.order-link.ant-btn{height:auto;padding:0;font-weight:650}.payment-progress{min-width:148px}.payment-progress .ant-progress{margin:2px 0;line-height:1}.payment-progress .ant-progress-line{margin-bottom:0}.payment-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.payment-meta .done{color:var(--success)}.user-name{display:inline-flex;align-items:center;gap:6px;max-width:100%}.user-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trend-chart{width:100%;height:196px;display:block}.trend-legend{display:flex;gap:16px;margin-bottom:8px;color:var(--muted);font-size:12px}.trend-legend i{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:var(--primary)}.trend-legend i.alt{background:#8fb6ff}.status-row{display:grid;grid-template-columns:72px minmax(0,1fr) 36px;gap:8px;align-items:center;margin-bottom:10px;font-size:13px}.status-row b{font-weight:500;text-align:right}.status-track{height:6px;border-radius:99px;background:#f0f1f5;overflow:hidden}.status-track span{display:block;height:100%;background:#1677ff}.status-track.warn span{background:#d48806}.status-track.danger span{background:#cf1322}.status-track.ok span{background:#389e0d}.todo-line{display:flex;justify-content:space-between;gap:8px;width:100%}.overdue{color:var(--danger);font-weight:600}.order-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.ant-drawer-content-wrapper{max-width:100vw}.follow-timeline{margin-top:16px}.section-follow{margin-top:12px}.settings-fields{width:100%}.follow-time{color:var(--muted);font-size:12px}@media(max-width:1366px){.metric-grid,.metric-grid.cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:768px){.metric-grid,.metric-grid.cols-5,.metric-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-switch{align-items:stretch;flex-direction:column}.order-form-grid{grid-template-columns:1fr}.filter-bar .ant-form-item,.filter-bar .ant-picker,.filter-bar .ant-input,.filter-bar .ant-select{max-width:100%}}
