:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#172b32;background:#f3f6f7;font-synthesis:none;font-size:16px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select{font:inherit}button{cursor:pointer;border-radius:9px;padding:11px 19px;border:1px solid transparent;font-weight:600;transition:background .15s}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8dcebb;outline-offset:3px}.primary{background:#126a52;color:white}.primary:hover{background:#0c5944}.secondary{background:#fff;border-color:#cbd6da;color:#24424a;white-space:nowrap}.secondary:hover{background:#eef4f3}.text-button{background:none;color:#566c73;padding:6px 0;font-size:.875rem}.muted{color:#687c83;font-size:.9375rem}.subtle{color:#7b8c92;font-size:.875rem}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:1.125rem;letter-spacing:-.2px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#126a52;color:#fff;font-size:1rem;border-radius:9px}.topbar{height:78px;border-bottom:1px solid #dce4e7;background:#fff;padding:0 max(28px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.header-actions{display:flex;align-items:center;gap:28px}main{max-width:1160px;padding:34px 0 20px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}h1{font-size:1.875rem;line-height:1.25;letter-spacing:-.8px;margin:0 0 9px;font-weight:700}h2{font-size:1.125rem;margin:0;font-weight:650}h3{font-size:1rem;margin:0 0 7px;font-weight:600}.page-heading p{margin:0}.badge{font-size:.875rem;padding:7px 12px;border-radius:100px;font-weight:600;white-space:nowrap}.badge.good{background:#dcefe7;color:#1b6549}.badge.waiting{background:#fff0d8;color:#8c621c}.badge.paused{background:#e3e9ec;color:#587078}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid #dce5e8;border-radius:12px;padding:21px 23px;display:flex;flex-direction:column;min-height:143px}.stat-label{font-size:.875rem;color:#687c83}.stat strong{font-size:1.875rem;letter-spacing:-.8px;font-weight:650;line-height:1.3;margin-top:10px}.stat:first-child strong{font-size:1.375rem;margin-top:14px;margin-bottom:4px}.stat strong.time-value{font-size:1.625rem;font-variant-numeric:tabular-nums}.stat-note{font-size:.8125rem;color:#89999f;margin-top:4px}.main-grid{display:grid;grid-template-columns:1.17fr 1fr;gap:24px;margin-bottom:24px}.panel{border:1px solid #dce5e8;background:#fff;border-radius:12px;padding:25px 27px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:9px}.amount-input{display:flex;align-items:center;border:1px solid #c9d5d9;border-radius:9px;padding:0 14px;gap:10px}.amount-input span{color:#73888f;font-size:.9375rem}.amount-input input{width:100%;border:0;background:transparent;font-size:1.5rem;color:#203d45;padding:11px 0;min-width:0;outline:none}.amount-input:focus-within{border-color:#3d9b7e;box-shadow:0 0 0 2px #d8eee5}.field-note{font-size:.8125rem;color:#7b8d94;margin:8px 0 18px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}select{width:100%;color:#294750;padding:11px 34px 11px 12px;background:#fff;border:1px solid #c9d5d9;border-radius:9px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#647b83 50%),linear-gradient(135deg,#647b83 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}.save-row{display:flex;gap:15px;align-items:center;margin-top:21px;flex-wrap:wrap}.feedback{font-size:.875rem;color:#276e56;min-height:20px;line-height:1.5}.feedback.error{color:#b24b3e}.form-footnote{font-size:.8125rem;color:#8a999e;margin:14px 0 0}.operations-panel h2{margin-bottom:6px}.operation{padding:22px 0;border-bottom:1px solid #e7edef;display:flex;gap:19px;align-items:center;justify-content:space-between}.operation .muted{font-size:.875rem;max-width:245px;margin:0}.configured{font-size:.75rem;font-weight:500;color:#1d7354;background:#e6f3ec;border-radius:5px;padding:2px 6px;margin-left:5px}.source-note{margin-top:22px;background:#f4f7f8;padding:14px 15px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;gap:9px 12px;font-size:.8125rem;color:#7c9097}.source-note strong{font-size:.8125rem;color:#506c76;font-weight:500}.source-note p{width:100%;margin:0;font-size:.8125rem}.operations-panel>.feedback{margin:12px 0 -8px}.history-panel{padding-bottom:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{text-align:left;color:#83949c;background:#f6f8f9;font-size:.8125rem;font-weight:500}th{font-weight:500;padding:12px 13px}td{font-size:.875rem;padding:15px 13px;border-bottom:1px solid #e9eff1}tbody tr:last-child td{border:0}.numeric{text-align:right;font-variant-numeric:tabular-nums}.exchange{display:block;color:#81949b;font-size:.75rem;margin-top:3px}.long{color:#297e60}.short{color:#b16553}.order-status{color:#477866}.order-status.pending{color:#a27a34}.empty-state{text-align:center;padding:41px 10px 48px;color:#617a83}.empty-state strong{font-size:.9375rem;font-weight:500}.empty-state p{font-size:.8125rem;color:#8b9ca3;margin:8px 0 0}footer{display:flex;gap:15px;justify-content:space-between;font-size:.75rem;color:#8a9ca4;margin-top:18px}.notice{font-size:.875rem;margin:-8px 0 20px;border:1px solid #ead9b9;background:#fff7e8;color:#8b6525;padding:12px 16px;border-radius:9px}.login-view{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{background:white;border:1px solid #dce5e8;border-radius:16px;width:min(100%,410px);padding:34px}.login-card .brand{margin-bottom:32px}.login-card h1{font-size:1.625rem}.login-card .muted{margin:0 0 25px}.login-card input{width:100%;padding:12px;border:1px solid #c9d5d9;border-radius:8px;margin-bottom:18px}.login-card button{width:100%}.login-card .feedback{margin:15px 0 0}
@media(max-width:1220px){main{margin:0 28px}.topbar{padding:0 28px}}
@media(max-width:850px){.main-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.operation .muted{max-width:none}.header-actions>.muted{display:none}.operations-panel .source-note{margin-bottom:0}}
@media(max-width:480px){main{margin:0 16px;padding-top:25px}.topbar{height:68px;padding:0 16px}.brand{font-size:1rem}.brand-mark{width:30px;height:30px}.page-heading{align-items:flex-start;gap:10px}h1{font-size:1.5rem}.page-heading .muted{font-size:.8125rem;max-width:200px}.badge{font-size:.75rem;padding:6px 9px}.stats{gap:10px;margin-bottom:16px}.stat{padding:17px 15px;min-height:127px}.stat strong{font-size:1.625rem}.stat:first-child strong{font-size:1.125rem}.stat strong.time-value{font-size:1.375rem}.panel{padding:21px 19px}.main-grid{gap:16px;margin-bottom:16px}.panel-heading .subtle{font-size:.75rem}.field-grid{gap:12px}.field-grid select{font-size:.875rem}.operation{gap:14px}.operation button{font-size:.875rem;padding:10px 12px}.operation .muted{font-size:.8125rem}.history-panel{padding-bottom:0}.history-panel .table-wrap{margin:0 -19px}footer{flex-direction:column;gap:5px}}
