@import"https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@400;500;600;700;800&display=swap";:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f8fb;color:#101c2b;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f8fb}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}:focus-visible{outline:3px solid rgba(10,153,222,.28);outline-offset:2px}.sidebar .brand{margin-bottom:8px}.app-shell{display:flex;width:100%;min-height:100vh}.workspace,.module-page{min-width:0}.sidebar{position:fixed;top:0;left:0;bottom:0;width:210px;z-index:20;display:flex;flex-direction:column;overflow-y:auto;border-right:1px solid #e2eaf2;border-radius:0;background:#fff;box-shadow:none}.sidebar-inner{flex:1;display:flex;flex-direction:column;padding:18px 12px;gap:0}.sidebar-close,.mobile-topbar{display:none}.workspace{flex:1;margin-left:210px;min-width:0;padding:16px 20px 36px}.sidebar,.page-head,.control-panel,.group-context,.channel-card,.drawer,.placeholder-panel,.metric-card,.balance-actions-bar,.table-wrap,.settings-subnav-panel,.settings-card{border:1px solid #e2eaf2;background:#fff;box-shadow:0 1px 3px #1423340f,0 4px 12px #1423340a}.sidebar{position:sticky;top:18px;align-self:start;display:grid;grid-template-rows:auto 1fr auto;min-height:calc(100vh - 36px);border-radius:20px;padding:18px 14px}.brand,.brand-mark,.module-nav-item,.runtime-switch span,.search-field,.switch-field,.field span,.select-field span,.card-header,.metric-label,.card-foot,.drawer-header,.drawer-section h3,.drawer-kpis span,.inline-field,.balance-actions-right,.row-actions,.ghost-button,.primary-button,.icon-button{display:flex;align-items:center}.brand{gap:12px;min-width:0}.brand-mark{justify-content:center;width:42px;height:42px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#0aa5df,#28c399);box-shadow:inset 0 0 0 1px #ffffff38}.brand p,.eyebrow,.summary-strip span,.timeline-head,.timeline-axis,.card-foot,.muted{color:#68778a;font-size:12px}.field span,.select-field span{color:#68778a;font-size:13px}.brand p{margin:0 0 2px}.brand strong{display:block;color:#101c2b;font-size:19px;line-height:1.1}.module-nav{display:grid;gap:8px;align-content:start;margin-top:24px}.module-nav-item{grid-template-columns:20px 1fr;gap:10px;width:100%;min-height:44px;border:1px solid transparent;border-radius:12px;padding:0 12px;color:#405064;background:transparent;text-align:left}.module-nav-item:hover,.module-nav-item.active{color:#087caf;background:#eaf8ff;border-color:#bee9fb}.settings-shell{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;gap:16px}.settings-subnav-panel{position:sticky;top:18px;display:grid;gap:12px;border-radius:18px;padding:16px}.settings-subnav{display:grid;gap:8px}.settings-subnav-item{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:42px;border:1px solid transparent;border-radius:12px;padding:0 11px;color:#405064;background:transparent;text-align:left;font-weight:800}.settings-subnav-item:hover,.settings-subnav-item.active{color:#087caf;background:#eaf8ff;border-color:#bee9fb}.settings-content{display:grid;min-width:0;gap:16px}h1,h2,h3,p{margin:0;letter-spacing:0}h1{color:#101c2b;font-size:clamp(20px,2.2vw,28px);line-height:1.1}.page-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border-radius:22px;padding:18px 20px}.page-title{display:grid;gap:8px;min-width:0}.page-title p{max-width:760px;color:#68778a;font-size:15px;line-height:1.62}.runtime-switches{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.runtime-switch{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px 0 8px;border:1px solid #d8e2eb;border-radius:999px;background:#f4f7fa;cursor:pointer;color:#536274;font-size:13px;font-weight:600;transition:border-color .16s ease,background .16s ease,color .16s ease}.runtime-switch.enabled{background:#eaf8ff;border-color:#bee9fb;color:#047db3}.runtime-switch input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;flex:0 0 30px;width:30px;height:17px;margin:0;border:none;border-radius:999px;background:#c5d2dd;cursor:pointer;transition:background .16s ease}.runtime-switch input:before{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .16s ease;box-shadow:0 1px 2px #101c2b38}.runtime-switch input:checked{background:#0aa5df}.runtime-switch input:checked:before{transform:translate(13px)}.runtime-switch span{display:inline-flex;align-items:center;gap:5px;color:inherit;font-size:13px}.runtime-switch strong{display:none}.kpi-grid,.balance-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.metric-card{min-width:0;min-height:56px;border-radius:12px;padding:10px 12px}.metric-card span,.metric-card strong{display:block}.metric-card span{color:#68778a;font-size:11px;font-weight:600}.metric-card strong{margin-top:4px;color:#101c2b;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;line-height:1.2;overflow-wrap:anywhere}.control-panel{display:grid;gap:10px;margin-top:10px;border-radius:16px;padding:12px}.tabs{min-width:0}.tabs-scroll{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:1px 1px 4px}.tab{flex:0 0 auto;max-width:180px;min-height:32px;border:1px solid #d8e2eb;color:#536274;background:#f4f7fa;border-radius:999px;padding:0 14px;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tab.active{color:#047db3;background:#eaf8ff;border-color:#0aa5df}.filter-row{display:grid;grid-template-columns:minmax(280px,1fr) 150px 116px 140px;gap:12px;align-items:end}.search-field,.select-field,.field{min-width:0}.search-field{min-height:48px;gap:10px;padding:0 14px;border-radius:14px;border:1px solid #d8e2eb;background:#f7fafc;color:#68778a}.search-field input{width:100%;min-width:0;min-height:42px;padding:0;border:0;color:#101c2b;background:transparent;outline:none}.select-field,.field{display:grid;gap:6px}.select-field span,.field span{gap:5px;font-weight:700}.select-field select,.field input,.field select,.search-box input,.inline-field input,.balance-dialog input,.balance-dialog select,.balance-dialog textarea{min-height:44px;width:100%;min-width:0;border:1px solid #d8e2eb;border-radius:12px;padding:0 12px;color:#101c2b;background:#fff;outline:none}.dispatch-actions{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:12px;padding-top:2px}.dispatch-action-stack{display:flex;align-items:end;justify-content:flex-end;gap:12px}.control-bar{display:flex;align-items:center;gap:10px}.control-bar .search-field{flex:1;min-width:0}.control-bar-right{display:flex;align-items:flex-end;gap:8px;flex-shrink:0}.control-bar-divider{width:1px;height:28px;background:#e2eaf2;flex-shrink:0;margin:0 2px;align-self:center}.bare-select{min-height:38px;padding:0 28px 0 10px;border:1px solid #d8e2eb;border-radius:10px;color:#405064;background:#f4f7fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2368778a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;-moz-appearance:none;appearance:none;-webkit-appearance:none;font:inherit;font-size:13px;font-weight:600;cursor:pointer;outline:none}.bare-select:focus{border-color:#0aa5df}.ttft-field{width:90px;flex-shrink:0}.ttft-field input{min-height:38px!important;text-align:center;font-size:13px}.switch-field{gap:8px;min-height:44px;padding:0 12px;border:1px solid #bee9fb;border-radius:14px;color:#087caf;background:#eaf8ff;font-weight:700}.switch-field input{width:38px;height:22px;accent-color:#0aa5df}.compact-switch input[type=checkbox],.switch-field input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;flex:0 0 38px;width:38px;height:22px;margin:0;border:none;border-radius:999px;background:#ffffff59;cursor:pointer;transition:background .16s ease}.compact-switch input[type=checkbox],.switch-field input[type=checkbox]{background:#087caf40}.compact-switch input[type=checkbox]:before,.switch-field input[type=checkbox]:before{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .16s ease;box-shadow:0 1px 3px #101c2b47}.compact-switch input[type=checkbox]:checked,.switch-field input[type=checkbox]:checked{background:#087caf8c}.compact-switch input[type=checkbox]:checked:before,.switch-field input[type=checkbox]:checked:before{transform:translate(16px)}.compact-switch input[type=checkbox]{flex:0 0 38px;width:38px;height:22px;background:#c5d2dd}.compact-switch input[type=checkbox]:checked{background:#0aa5df}.strategy-field{min-width:150px}.icon-button{justify-content:center;width:44px;height:44px;border:1px solid #d8e2eb;border-radius:14px;color:#405064;background:#fff}.icon-button:hover,.icon-button.active{color:#047db3;background:#eaf8ff;border-color:#0aa5df}.icon-button.is-refreshing svg{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.group-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:8px;padding:0;border-radius:12px;overflow:hidden}.group-context div{min-width:0;padding:9px 14px;border-radius:0;background:transparent;border:none;border-right:1px solid #e4ebf2}.group-context div:last-of-type{border-right:none}.group-context strong{display:block;color:#26384f;font-size:13px;font-weight:700;overflow-wrap:anywhere}.save-status{grid-column:1 / -1;margin:0;padding:10px 12px;border-radius:12px;color:#067a5d;background:#e9f9f2}.error-status{color:#b4233a;background:#fff0f2}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,440px);display:grid;gap:16px;padding:24px;border:1px solid #d8e2eb;border-radius:20px;background:#fff;box-shadow:0 20px 48px #1423341f}.auth-card h1{margin:0;color:#101c2b;font-size:22px;line-height:1.2}.auth-card p{margin:0;color:#536274;line-height:1.6}.channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:14px}.channel-card{min-width:0;min-height:430px;border-radius:18px;padding:14px;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.channel-card:hover{transform:translateY(-2px);border-color:#0aa5df;box-shadow:0 0 0 3px #dff4ff,0 16px 40px #14233417}.card-header{align-items:flex-start;gap:12px}.provider-mark{display:inline-grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px}.provider-mark svg{width:23px;height:23px;fill:currentColor;stroke:none}.provider-openai{color:#047a5f;background:#e9f9f2}.provider-anthropic{color:#98620c;background:#fff4df}.provider-gemini{color:#2f73ff;background:#ebf4ff}.provider-openrouter{color:#a52765;background:#fff0f7}.provider-openrouter svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1}.card-title{flex:1 1 auto;min-width:0}.card-title h2{color:#101c2b;font-size:17px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tags{display:flex;gap:5px;margin-top:7px;min-width:0}.tag{min-height:20px;border-radius:6px;padding:3px 7px;color:#68778a;background:#eef3f7;font-size:11px;line-height:1.1;overflow-wrap:anywhere;flex:0 1 auto}.group-tag{max-width:100%;color:#59606f;background:#edf0f6}.dispatching-tag{color:#0f5f9d;background:#e3f0ff}.mono,.metric-card strong,.availability strong,.score-row strong,.decision-score strong,.drawer-kpis strong{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.status-badge{flex:0 0 auto;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.status-healthy{color:#08724f;background:#e9f9f2}.status-degraded,.status-cooldown{color:#98620c;background:#fff4df}.status-failed,.status-unhealthy{color:#b4233a;background:#fff0f2}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.metric-block{min-width:0;min-height:70px;padding:10px 12px;border-radius:14px;background:#f7fafc;border:1px solid #e4ebf2}.metric-label{gap:6px;color:#68778a;font-size:12px;font-weight:700}.metric-value{margin-top:9px}.metric-value strong{color:#101c2b;font-size:23px;line-height:1}.metric-value span{margin-left:4px;color:#68778a;font-size:12px}.availability{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #e4ebf2}.availability span{color:#68778a;font-size:12px;font-weight:700}.availability strong{color:#111827;font-size:28px;line-height:1}.availability .empty-value{color:#68778a;font-size:18px}.dual-timeline{display:grid;gap:8px;margin-top:12px}.timeline-wrap{margin-top:0}.timeline-head,.timeline-axis{display:flex;justify-content:space-between}.timeline{display:grid;grid-template-columns:repeat(60,minmax(2px,1fr));gap:2px;align-items:end;height:22px;margin-top:7px}.timeline-bar{min-width:2px;height:18px;border-radius:999px}.timeline-bar.status-healthy{background:#22c55e;box-shadow:0 0 7px #22c55e42}.timeline-bar.status-degraded,.timeline-bar.status-cooldown{height:14px;background:#f59e0b;box-shadow:0 0 7px #f59e0b42}.timeline-bar.status-failed{height:10px;background:#ef4444;box-shadow:0 0 7px #ef44443d}.timeline-bar.status-empty{height:6px;background:#95a7be2e;box-shadow:none}.timeline-axis{margin-top:5px;letter-spacing:0}.timeline-empty{display:grid;place-items:center;min-height:34px;margin-top:7px;border:1px dashed #cbd7e2;border-radius:12px;color:#68778a;background:#f7fafc;font-size:12px}.card-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px 38px;gap:8px;margin-top:12px}.probe-model-field{grid-column:1 / 3}.channel-card .field{gap:4px}.channel-card .field input,.channel-card .field select{min-height:36px;padding:0 8px;font-size:13px}.channel-card .probe-model-field input,.channel-card .probe-model-field select{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.channel-card .icon-button{width:38px;height:38px;align-self:end;border-radius:12px}.card-foot{gap:8px;justify-content:space-between;margin-top:10px;flex-wrap:wrap}.card-foot span{display:inline-flex;align-items:center;gap:5px}.placeholder-page{min-height:calc(100vh - 36px)}.placeholder-panel,.settings-card{border-radius:18px;padding:22px}.placeholder-panel h1{margin-top:4px;font-size:28px}.placeholder-panel p{max-width:680px;margin:14px 0 0;color:#68778a;line-height:1.6}.settings-page{display:grid;gap:16px}.settings-head{align-items:stretch}.settings-head h1{font-size:clamp(20px,2vw,26px);line-height:1.15}.settings-head .page-title p{font-size:13px}.notification-status-card{display:grid;align-content:center;gap:6px;min-width:180px;padding:14px 16px;border:1px solid #d8e2eb;border-radius:16px;color:#68778a;background:#f7fafc;transition:border-color .2s ease,background .2s ease,color .2s ease}.notification-status-card span{color:#68778a;font-size:12px;font-weight:700}.notification-status-card strong{color:#9aaab8;font-size:15px;font-weight:800}.notification-status-card.status-card-active{border-color:#a8edd4;color:#087a56;background:linear-gradient(135deg,#edfdf7,#eaf8ff)}.notification-status-card.status-card-active span{color:#4ba88a}.notification-status-card.status-card-active strong{color:#087a56}.notification-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:14px}.notification-card{display:grid;gap:14px;transition:border-color .2s ease,background .2s ease}.notification-card.card-enabled{border-top:3px solid #0aa5df;border-color:#bee9fb;border-top-color:#0aa5df}.notification-card:nth-of-type(2){grid-column:1}.notification-preview{grid-column:2;grid-row:1 / span 2;display:grid;align-content:start;gap:14px}.settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.settings-card-head h2{display:flex;align-items:center;gap:8px;color:#101c2b;font-size:15px;line-height:1.2}.settings-help{color:#68778a;font-size:13px;line-height:1.6}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-form-grid .full{grid-column:1 / -1}.compact-switch{flex:0 0 auto;min-height:36px;padding:0 12px 0 8px;gap:8px;border-radius:999px;background:#f0f4f8;border-color:#d8e2eb;color:#68778a;font-size:13px;font-weight:700;transition:background .18s ease,color .18s ease,border-color .18s ease}.compact-switch.switch-on{background:#eaf8ff;border-color:#bee9fb;color:#047db3}.message-preview-box{display:grid;gap:0;border:1px solid #d8e2eb;border-radius:14px;background:#f7fafc;overflow:hidden}.message-preview-title{display:flex;align-items:center;gap:7px;padding:10px 14px;border-bottom:1px solid #e4ebf2;background:#eef3f7;color:#405064}.message-preview-title strong{color:#101c2b;font-size:13px;font-weight:800}.message-preview-body{display:grid;gap:5px;padding:12px 14px}.message-preview-box p{color:#405064;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.message-preview-cta{margin-top:4px;padding-top:8px;border-top:1px dashed #d8e2eb;color:#0798d5!important;font-weight:700}.settings-actions{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border:1px solid #d8e2eb;border-radius:16px;background:linear-gradient(180deg,#fff,#f7fafc)}.settings-actions-feedback{display:flex;flex-direction:column;gap:4px;min-width:0}.system-status-card{border-color:#c8efe0;color:#08785d;background:#edfdf7}.system-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-setting-card{display:grid;align-content:start;gap:14px}.inline-runtime-switch{flex:0 0 auto;min-width:190px;min-height:42px}.compact-action{min-height:38px}.compact-action.is-refreshing svg{animation:spin .8s linear infinite}.system-status-list{display:grid;gap:10px;margin:0}.system-status-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e4ebf1;border-radius:12px;background:#f7fafc}.system-status-list dt{display:flex;align-items:center;gap:7px;color:#68778a;font-size:13px;font-weight:800}.system-status-list dd{margin:0;color:#101c2b;font-size:13px;font-weight:900;text-align:right}.status-good{color:#08785d!important}.status-bad{color:#b4233a!important}.dispatch-records-page{display:grid;gap:16px}.dispatch-report-filters,.report-reason-strip{display:grid;grid-template-columns:220px 180px minmax(260px,1fr);gap:12px;align-items:end;padding:16px;border:1px solid #d8e2eb;border-radius:18px;background:#fff;box-shadow:0 1px 2px #14233414}.report-generated-at{display:grid;gap:5px;min-height:48px;align-content:center;justify-content:end;text-align:right}.report-generated-at span{color:#68778a;font-size:12px;font-weight:800}.report-generated-at strong{color:#101c2b;font-size:13px}.report-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.report-metric{min-height:92px}.report-metric span{display:flex;align-items:center;gap:6px}.report-reason-strip{grid-template-columns:minmax(160px,220px) minmax(0,1fr);align-items:center}.report-reason-strip strong{display:block;color:#101c2b;font-size:18px}.reason-chip-row{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.reason-chip{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;border:1px solid #bee9fb;border-radius:999px;color:#047db3;background:#eaf8ff;font-size:12px;font-weight:800}.reason-chip strong{color:#101c2b;font-size:12px}.dispatch-record-table-wrap{overflow-x:auto;border-radius:18px}.dispatch-record-table{width:100%;min-width:1120px;border-collapse:collapse}.dispatch-record-table th,.dispatch-record-table td{padding:13px 14px;border-bottom:1px solid #e4ebf2;text-align:left;vertical-align:top}.dispatch-record-table th{color:#68778a;background:#f7fafc;font-size:12px;font-weight:900}.dispatch-record-table td{color:#101c2b;font-size:13px}.record-time-cell,.record-stack,.cost-delta{display:grid;gap:4px}.record-time-cell strong,.record-stack strong{color:#101c2b;font-size:13px}.record-time-cell span,.record-stack span{color:#68778a;font-size:12px;overflow-wrap:anywhere}.muted-account strong{color:#68778a}.cost-delta span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#405064}.cost-delta strong{font-size:13px}.cost-delta.down strong{color:#08785d}.cost-delta.up strong{color:#b45309}.cost-delta.neutral strong{color:#68778a}.score-change,.reason-cell{display:flex;align-items:center;gap:7px}.score-change{color:#405064;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}.reason-cell{max-width:320px;color:#405064}.reason-cell span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-report-row{height:180px;color:#68778a!important;text-align:center!important}.settings-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;justify-content:flex-end;background:#101c2b6b}.drawer{width:min(600px,calc(100vw - 18px));height:calc(100vh - 18px);margin:9px;overflow:auto;border-radius:18px;padding:18px}.drawer-header{justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #e4ebf2}.drawer-header h2{margin-top:4px;color:#101c2b;font-size:24px;overflow-wrap:anywhere}.drawer-section,.drawer-kpis{margin-top:16px;padding:14px;border-radius:14px;background:#f7fafc;border:1px solid #e4ebf2}.drawer-section h3{gap:8px;color:#101c2b;font-size:15px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.help-icon{display:inline-flex;align-items:center;position:relative;outline:none}.help-icon svg{flex:0 0 auto;color:#68778a;cursor:help}.help-icon:after{position:absolute;right:0;bottom:calc(100% + 8px);z-index:40;display:none;width:min(280px,calc(100vw - 32px));padding:9px 10px;border:1px solid #d8e2eb;border-radius:12px;color:#101c2b;background:#fff;box-shadow:0 14px 32px #14233429;content:attr(data-tooltip);font-size:12px;line-height:1.45}.help-icon:hover:after,.help-icon:focus-visible:after{display:block}.dispatch-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;padding:11px 12px;border-radius:12px;border:1px solid #bee9fb;background:#eaf8ff}.dispatch-total span{color:#68778a;font-size:12px;font-weight:700}.dispatch-total strong{color:#047db3;font-size:30px;line-height:1}.score-list{display:grid;gap:11px}.score-row{display:grid;grid-template-columns:88px 1fr 54px;align-items:center;gap:10px;font-size:13px}.score-meter{height:8px;overflow:hidden;border-radius:999px;background:#e4ebf2}.score-fill{display:block;height:100%;border-radius:inherit}.tone-good{background:#22c55e}.tone-warn{background:#f59e0b}.tone-bad{background:#ef4444}.tone-neutral{background:#0aa5df}.health-window-grid,.request-summary,.drawer-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.health-window,.request-metric,.decision-score{min-width:0;padding:10px;border:1px solid #e4ebf2;border-radius:12px;background:#fff}.health-window strong,.health-window span,.request-metric span,.request-metric strong,.drawer-kpis strong,.drawer-kpis span{display:block}.health-window strong{color:#101c2b;font-size:14px}.health-window span,.request-metric span,.decision-head span,.decision-meta,.decision-score span,.decision-reasons{margin-top:5px;color:#68778a;font-size:12px;line-height:1.25}.tone-text-good strong,.health-window .tone-text-good{color:#08724f;font-weight:700}.tone-text-bad strong,.health-window .tone-text-bad{color:#b4233a;font-weight:700}.decision-box{display:grid;gap:9px}.decision-head,.decision-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.decision-score{display:grid;grid-template-columns:minmax(0,1fr) 112px 86px;align-items:center;gap:10px}.decision-account-name,.decision-account-cost{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.decision-account-name{color:#26384f!important;font-weight:800}.decision-account-cost,.decision-score strong{text-align:right}.decision-score.selected{border-color:#bee9fb;background:#eaf8ff}.error-list,.log-list,.probe-log-list{display:grid;gap:6px}.error-row{display:grid;grid-template-columns:64px 112px minmax(0,1fr) 76px;align-items:center;gap:9px;min-height:34px;padding:7px 9px;border-radius:12px;border:1px solid #ffd6dc;background:#fff6f7;color:#b4233a;font-size:12px}.error-row-head{min-height:24px;padding-block:0;border-color:transparent;background:transparent;color:#68778a}.error-row strong{color:#101c2b}.error-message{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405064}.log-row{display:grid;grid-template-columns:12px 1fr;gap:10px}.probe-log-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:8px 9px;border:1px solid #e4ebf2;border-radius:12px;background:#fff}.dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#22c55e}.dot.status-degraded,.dot.status-cooldown{background:#f59e0b}.dot.status-failed{background:#ef4444}.log-row strong,.log-row span,.probe-log-row strong,.probe-log-row span{display:block}.log-row span,.probe-log-row span{margin-top:3px;color:#68778a;font-size:12px}.probe-log-row strong{color:#101c2b;font-size:13px}.probe-log-latency{margin-top:0!important;padding:4px 8px;border-radius:999px;color:#405064!important;background:#eef3f7;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}.request-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.request-metric strong{margin-top:6px;font-size:18px;line-height:1.1;overflow-wrap:anywhere}.drawer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-kpis div{min-width:0}.drawer-kpis span{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#68778a;font-size:12px}.drawer-kpis strong{margin-top:7px;color:#101c2b;font-size:20px;overflow-wrap:anywhere}.channel-balance-page{width:100%;margin:0;padding:0}.balance-page-head{margin-bottom:16px}.balance-actions-bar{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:end;margin-bottom:16px;padding:16px;border-radius:18px}.balance-actions-right{display:flex;align-items:end;justify-content:flex-end;gap:12px;flex-wrap:wrap}.inline-field{display:grid;gap:6px;position:relative;color:#68778a;font-size:13px;font-weight:700}.inline-field input{width:94px}.inline-field small{position:absolute;right:10px;bottom:13px;color:#68778a;font-size:12px;pointer-events:none}.inline-field input[aria-label=服务端刷新间隔]{padding-right:42px}.balance-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.balance-status-row{min-height:0;margin:0 0 12px}.search-box{display:flex;align-items:center;gap:10px;min-height:48px;min-width:min(100%,420px);padding:0 14px;border:1px solid #d8e2eb;border-radius:14px;background:#f7fafc;color:#68778a}.search-box input{width:100%;border:0;background:transparent}.table-wrap{overflow-x:auto;border-radius:18px}.balance-table{width:100%;min-width:1040px;border-collapse:collapse}.balance-table th,.balance-table td{padding:13px 16px;border-bottom:1px solid #e4ebf2;text-align:left;vertical-align:middle}.balance-table th{color:#68778a;background:#f7fafc;font-size:12px;font-weight:800}.balance-table td span{display:block;margin-top:4px;color:#68778a;font-size:12px;overflow-wrap:anywhere}.balance-table .balance-value-cell strong{display:block;color:#142033;font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}.balance-table .balance-value-cell.danger-text strong{color:#b4233a}.balance-table .balance-value-cell span{color:#637083;white-space:nowrap}.balance-updated-at{color:#405064;white-space:nowrap}.balance-empty-row{height:300px}.balance-empty-row td{color:#68778a;text-align:center}.danger-text{color:#b4233a;font-weight:700}.row-actions{gap:8px;flex-wrap:nowrap}.balance-table .row-actions .icon-button{width:38px;height:38px;min-height:38px;padding:0;border-radius:12px}.danger-button{color:#b4233a;background:#fff0f2;border-color:#ffd6dc}.danger-button:hover{color:#fff;background:#dc2626;border-color:#dc2626}.row-actions button,.balance-dialog button,.ghost-button,.primary-button{justify-content:center;gap:7px;min-height:44px;border-radius:14px;padding:0 14px;font-weight:800}.row-actions button,.balance-dialog button,.ghost-button{color:#405064;background:#fff;border:1px solid #d8e2eb}.row-actions button:hover,.balance-dialog button:hover,.ghost-button:hover{color:#047db3;border-color:#0aa5df;background:#eaf8ff}.primary-button{color:#fff;background:#0798d5;border:1px solid #0798d5}.primary-button:hover{background:#047db3}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:20px;background:#101c2b85}.balance-dialog{width:min(100%,760px);max-height:min(92vh,860px);overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:18px 18px 14px;border:1px solid #d8e2eb;border-radius:18px;background:#fff;box-shadow:0 26px 70px #101c2b3d}.balance-dialog header,.balance-dialog footer,.dialog-switches,.dialog-error,.dialog-full-field{grid-column:1 / -1}.balance-dialog header{position:sticky;top:-18px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:-18px -18px 0;padding:18px 18px 14px;border-bottom:1px solid #e4ebf2;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.balance-dialog h2{font-size:24px}.balance-dialog p,.balance-dialog small{margin:4px 0 0;color:#68778a}.balance-dialog label{display:grid;gap:6px;color:#405064;font-size:13px;font-weight:800}.balance-dialog textarea{min-height:86px;padding-block:10px;resize:vertical}.dialog-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #e4edf5;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f6f9fc)}.dialog-switches .dialog-switch{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:#ffffffc7;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.dialog-switches .dialog-switch:hover{border-color:#cfe2ee;background:#fff;box-shadow:0 8px 18px #1423340d}.dialog-switches .dialog-switch span{display:grid;gap:2px;min-width:0}.dialog-switches .dialog-switch strong{color:#243449;font-size:13px;line-height:1.2}.dialog-switches .dialog-switch small{margin:0;color:#6a7b8d;font-size:11px;line-height:1.35}.dialog-switches .dialog-switch input{position:absolute;opacity:0;pointer-events:none}.dialog-switches .dialog-switch i{position:relative;flex:0 0 auto;width:42px;height:24px;border-radius:999px;background:#d7e1ea;box-shadow:inset 0 0 0 1px #40506414;transition:background .16s ease,box-shadow .16s ease}.dialog-switches .dialog-switch i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 2px 7px #14233438;transition:transform .16s ease}.dialog-switches .dialog-switch input:checked+i{background:#0798d5;box-shadow:inset 0 0 0 1px #047db32e,0 0 0 3px #0aa5df1f}.dialog-switches .dialog-switch input:checked+i:after{transform:translate(18px)}.dialog-switches .dialog-switch input:focus-visible+i{outline:2px solid #0aa5df;outline-offset:3px}.balance-dialog footer{position:sticky;bottom:-14px;z-index:2;display:flex;justify-content:flex-end;gap:10px;margin:0 -18px -14px;padding:12px 18px 14px;border-top:1px solid #e6edf4;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.balance-dialog footer button{min-width:92px}.dialog-error{margin:0;padding:10px 12px;border-radius:12px;color:#b4233a;background:#fff0f2}.cost-management-page{display:grid;gap:16px}.cost-actions-bar .runtime-switch{min-height:38px}.metric-card.warn strong,.warn-text{color:#b76b00}.metric-card.bad strong,.danger-text{color:#c03221}.good-text{color:#11805a}.cost-upstream-card,.cost-history-panel{display:grid;gap:12px;padding:14px;border:1px solid #dce6ef;border-radius:14px;background:#fff}.cost-upstream-card>header,.cost-history-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.cost-upstream-card h2,.cost-history-panel h2{margin:0;font-size:18px;color:#172435}.cost-upstream-card p,.cost-history-panel p{margin:4px 0 0;color:#68778a;word-break:break-all}.cost-upstream-meta{display:grid;justify-items:end;gap:4px;color:#68778a;font-size:12px}.cost-upstream-meta strong{color:#172435;font-size:14px}.cost-table-wrap{max-height:460px}.cost-table th,.cost-table td{white-space:nowrap}.cost-table small{display:block;max-width:220px;overflow:hidden;color:#68778a;text-overflow:ellipsis;white-space:nowrap}.cost-status-pill{display:inline-flex;align-items:center;gap:4px;width:fit-content;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}.cost-status-pill.ok,.cost-status-dot.ok{color:#127451;background:#e8f7ef}.cost-status-pill.warn,.cost-status-dot.warn{color:#a15c00;background:#fff3d9}.cost-status-pill.bad,.cost-status-dot.bad{color:#b42318;background:#fff0ed}.cost-status-pill.neutral,.cost-status-dot.neutral{color:#526171;background:#edf2f7}.cost-history-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf2f7}.cost-history-item:first-child{border-top:0}.cost-status-dot{width:8px;height:8px;border-radius:999px}.cost-history-item strong{color:#172435}.cost-history-values{display:grid;justify-items:end;gap:2px;color:#405064;font-size:13px}.cost-history-values em{color:#127451;font-style:normal;font-size:12px}.empty-state{padding:18px;border:1px dashed #cfdbe6;border-radius:12px;color:#68778a;background:#f8fbfd}.daily-profit-page{display:grid;gap:16px}.daily-profit-toolbar{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}.daily-profit-toolbar .inline-field{width:min(100%,360px)}.daily-profit-toolbar .inline-field input[type=date]{width:100%;min-height:44px}.profit-complete{display:inline-flex;align-items:center;gap:6px;width:fit-content;min-height:44px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:800}.profit-complete.ok{color:#127451;background:#e8f7ef}.profit-complete.warn{color:#a15c00;background:#fff3d9}.daily-profit-summary-stack{display:grid;gap:12px}.daily-profit-summary-stack .daily-profit-stats{grid-template-columns:repeat(4,minmax(0,1fr));align-self:start;margin:0}.profit-income-section{display:grid;gap:10px;min-width:0}.profit-income-section h2{color:#172435;font-size:17px}.profit-income-section .profit-source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profit-income-section .profit-source-row{min-height:92px;padding:14px;background:#fff;border-color:#dce6ef;box-shadow:0 1px 2px #1423340f,0 12px 32px #1423340d}.profit-income-section .profit-source-row>strong{white-space:nowrap}.metric-card.ok strong{color:#11805a}.profit-warning-list{display:grid;gap:8px;padding:12px 14px;border:1px solid #ffe0a6;border-radius:14px;color:#8a5200;background:#fff8e8}.profit-warning-list p{display:flex;align-items:center;gap:8px;font-weight:700}.profit-trend-panel{gap:10px;padding-block:12px}.profit-chart-legend{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;color:#516277;font-size:12px;font-weight:800}.profit-chart-legend span{display:inline-flex;align-items:center;gap:6px}.profit-line-dot{display:inline-block;width:18px;height:3px;border-radius:999px}.profit-line-dot.profit{background:#1666c5}.profit-line-dot.rate{background:#d97706}.profit-chart-state{padding:18px;border:1px dashed #cfdbe6;border-radius:12px;color:#68778a;background:#f8fbfd;font-weight:700}.profit-chart-state.warn{border-color:#ffe0a6;color:#8a5200;background:#fff8e8}.profit-chart-wrap{display:grid;gap:10px;min-width:0}.profit-trend-chart{display:block;width:100%;height:206px;min-height:0;padding:4px 8px 2px;border:1px solid #edf2f7;border-radius:12px;background:#fbfdff}.profit-trend-chart canvas{border-radius:12px}.profit-chart-summary{display:flex;flex-wrap:wrap;gap:10px 18px;color:#516277;font-size:12px;font-weight:700}.profit-chart-summary strong{color:#172435;font-variant-numeric:tabular-nums}.profit-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.55fr);gap:16px;align-items:start}.profit-panel{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid #dce6ef;border-radius:14px;background:#fff}.profit-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.profit-panel h2{margin:0;color:#172435;font-size:18px}.profit-source-list{display:grid;gap:10px}.profit-source-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #edf2f7;border-radius:12px;background:#f8fbfd}.profit-source-row strong{color:#172435}.profit-source-row p{margin-top:3px;color:#68778a;font-size:12px}.profit-cost-list{display:grid;gap:10px;max-height:620px;overflow:auto}.profit-cost-row{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(130px,.72fr) minmax(320px,1.7fr);gap:12px;align-items:center;min-width:0;padding:12px;border:1px solid #edf2f7;border-radius:12px;background:#f8fbfd}.profit-cost-main{display:grid;gap:4px;min-width:0}.profit-cost-main strong{overflow:hidden;color:#172435;text-overflow:ellipsis;white-space:nowrap}.profit-cost-main span{overflow:hidden;color:#68778a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profit-cost-status{display:grid;gap:5px;min-width:0}.profit-cost-status small{display:block;overflow:hidden;color:#68778a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profit-cost-metrics{display:grid;grid-template-columns:repeat(5,minmax(72px,1fr));gap:8px;min-width:0}.profit-cost-value{display:grid;gap:2px;min-width:0}.profit-cost-value em{overflow:hidden;color:#68778a;font-style:normal;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.profit-cost-value b,.profit-cost-value strong{overflow:hidden;color:#172435;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.profit-cost-value strong{color:#11805a}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:start;gap:16px;min-height:100vh;padding:16px;background:radial-gradient(circle at top left,rgba(20,184,166,.08),transparent 30%),linear-gradient(180deg,#f7fafc,#edf3f7)}.sidebar{position:sticky;top:16px;width:auto;min-height:calc(100vh - 32px);padding:16px 12px;border-color:#d9e4ed;border-radius:18px;background:#ffffffeb;box-shadow:0 18px 38px #14233414;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sidebar-inner{padding:0}.brand{padding:8px 8px 16px;border-bottom:1px solid #edf2f6}.brand-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#0f8fc7,#17b895);box-shadow:0 12px 22px #0f8fc72e}.brand p{color:#778599;font-size:12px;font-weight:700}.brand strong{color:#0f172a;font-size:18px}.module-nav{gap:6px;margin-top:18px}.module-nav-item{min-height:42px;border-radius:11px;color:#405064;font-weight:800}.module-nav-item:hover{color:#0f799e;background:#f0f7fa;border-color:#d5edf5}.module-nav-item.active{color:#075f86;background:linear-gradient(135deg,#e8f8ff,#e9fbf4);border-color:#aee5f6;box-shadow:inset 3px 0 #0aa5df}.workspace{width:100%;margin-left:0;padding:0}.module-page{display:grid;gap:12px;width:100%;max-width:1680px}.page-head,.control-panel,.group-context,.metric-card,.channel-card{border-color:#dce7ef;box-shadow:0 10px 28px #1423340f}.page-head{grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#fffffff5,#f7fbfdf5)}.page-title{gap:4px}.page-title .eyebrow{color:#0a7da9;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.page-title h1{color:#0f172a;font-size:25px;line-height:1.08}.page-title p{max-width:none;color:#536274;font-size:13px;line-height:1.55}.runtime-switches{justify-content:flex-end;gap:8px}.runtime-switch{min-height:36px;border-color:#d5e1eb;background:#f7fafc;font-weight:800}.runtime-switch.enabled{color:#075f86;background:#e8f8ff}.kpi-grid{grid-template-columns:repeat(5,minmax(148px,1fr));gap:10px;margin-top:0}.metric-card{position:relative;min-height:68px;overflow:hidden;border-radius:14px;padding:12px 14px;background:linear-gradient(180deg,#fff,#f8fbfd)}.metric-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#0aa5df;opacity:.75}.metric-card span{color:#64748b;font-size:11px;font-weight:900}.metric-card strong{margin-top:7px;color:#111827;font-size:18px;font-variant-numeric:tabular-nums}.control-panel{gap:12px;margin-top:0;border-radius:18px;padding:14px;background:#fffffff0}.tabs-scroll{gap:8px;padding-bottom:2px}.tab{min-height:34px;border-color:#d5e1eb;border-radius:11px;background:#f5f8fb;color:#475569;font-weight:850}.tab.active{color:#075f86;background:#e7f7ff;border-color:#8dd7f0;box-shadow:inset 0 -2px #0aa5df}.control-bar{align-items:end;gap:10px;padding-top:2px}.control-bar .search-field{min-height:44px;border-radius:12px;background:#f8fbfd}.control-bar-right{gap:8px}.select-field span,.field span{color:#536274;font-size:12px;font-weight:900}.select-field select,.field input,.field select{border-color:#d5e1eb;border-radius:11px}.switch-field{min-height:40px;border-color:#bfe6f4;border-radius:12px;background:#e9f8fe;color:#075f86}.switch-field input[type=checkbox]{flex-basis:34px;width:34px;height:20px}.switch-field input[type=checkbox]:before{width:14px;height:14px}.switch-field input[type=checkbox]:checked:before{transform:translate(14px)}.bare-select,.ttft-field input{min-height:40px;border-radius:11px}.icon-button{width:40px;height:40px;border-radius:12px}.group-context{grid-template-columns:minmax(240px,.9fr) minmax(260px,1fr) minmax(220px,.75fr);margin-top:0;border-radius:14px;background:#fff}.group-context div{padding:11px 14px}.group-context strong{color:#172435;font-size:13px}.channel-grid{grid-template-columns:repeat(auto-fit,minmax(380px,460px));justify-content:start;align-items:start;gap:14px;margin-top:0}.channel-card{min-height:0;border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#fbfdfe)}.channel-card:hover{transform:translateY(-2px);border-color:#8dd7f0;box-shadow:0 0 0 3px #0aa5df1f,0 18px 42px #1423341c}.card-header{gap:10px}.provider-mark{width:36px;height:36px;border-radius:11px}.card-title h2{color:#111827;font-size:16px}.tags{margin-top:6px}.status-badge{padding:6px 9px;border-radius:10px;font-size:11px}.metric-grid{gap:8px;margin-top:12px}.metric-block{min-height:66px;border-color:#e1e9f0;border-radius:13px;background:#f8fbfd}.metric-value{margin-top:7px}.metric-value strong{font-size:22px;font-variant-numeric:tabular-nums}.availability{margin-top:12px;padding-top:12px}.availability strong{font-size:28px;font-variant-numeric:tabular-nums}.dual-timeline{gap:9px;margin-top:12px}.timeline-head,.timeline-axis{color:#64748b;font-size:11px;font-weight:800}.timeline{height:20px;gap:2px}.timeline-bar{height:16px}.card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px 38px;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #edf2f6}.channel-card .field input,.channel-card .field select{border-radius:10px;background-color:#fff}.card-foot{margin-top:9px;color:#64748b;font-size:12px}.dispatch-records-page,.channel-balance-page,.cost-management-page,.daily-profit-page{display:grid;gap:12px}.balance-page-head{margin-bottom:0}.dispatch-records-page .page-head,.channel-balance-page .page-head,.cost-management-page .page-head,.daily-profit-page .page-head,.settings-head{min-height:104px}.dispatch-records-page .page-title h1,.channel-balance-page .page-title h1,.cost-management-page .page-title h1,.daily-profit-page .page-title h1,.settings-head .page-title h1{font-size:25px}.dispatch-report-filters,.balance-actions-bar,.daily-profit-toolbar{margin:0;border-color:#dce7ef;border-radius:18px;background:#fffffff0;box-shadow:0 10px 28px #1423340f}.dispatch-report-filters{grid-template-columns:minmax(190px,220px) minmax(150px,180px) minmax(240px,1fr);align-items:end}.report-generated-at{align-content:end}.report-kpi-grid{gap:10px}.report-metric{min-height:72px}.report-reason-strip{margin:0;border-color:#dce7ef;border-radius:16px;background:#fff;box-shadow:0 10px 28px #1423340d}.report-reason-strip .eyebrow,.cost-history-panel .eyebrow,.profit-panel .eyebrow,.settings-card .eyebrow{color:#0a7da9;font-weight:900;text-transform:uppercase}.reason-chip{border-color:#bfe6f4;color:#075f86;background:#e9f8fe}.table-wrap,.dispatch-record-table-wrap,.cost-table-wrap{border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1423340f}.dispatch-record-table th,.balance-table th{color:#526171;background:#f4f8fb;font-size:12px;font-weight:900}.dispatch-record-table td,.balance-table td{border-bottom-color:#e7eef4}.dispatch-record-table tbody tr:hover,.balance-table tbody tr:hover{background:#fbfdfe}.search-box{min-height:44px;border-color:#d5e1eb;border-radius:12px;background:#f8fbfd}.inline-field{color:#536274;font-size:12px;font-weight:900}.inline-field input{min-height:40px;border-color:#d5e1eb;border-radius:11px}.balance-actions-right{gap:8px}.ghost-button,.primary-button{min-height:40px;border-radius:12px}.balance-stats{gap:10px;margin:0}.balance-status-row{margin:0}.cost-upstream-card,.cost-history-panel,.profit-panel,.settings-card{border-color:#dce7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1423340f}.cost-upstream-card{padding:16px}.cost-upstream-card>header,.cost-history-panel>header,.profit-panel>header,.settings-card-head{padding-bottom:10px;border-bottom:1px solid #edf2f6}.cost-upstream-card h2,.cost-history-panel h2,.profit-panel h2,.settings-card-head h2{color:#111827;font-size:17px}.empty-state{border-color:#d5e1eb;border-radius:16px;background:#f8fbfd}.daily-profit-summary-stack,.profit-grid,.cost-upstream-list{gap:12px}.profit-income-section{padding:16px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1423340f}.profit-income-section header{padding-bottom:10px;border-bottom:1px solid #edf2f6}.settings-shell{gap:12px}.settings-subnav-panel{border-color:#dce7ef;border-radius:18px;background:#fffffff0}.settings-subnav-panel>.eyebrow{color:#0a7da9;font-weight:900;text-transform:uppercase}.notification-status-card{border-color:#dce7ef;background:#f8fbfd}.notification-layout,.system-settings-grid{gap:12px}.settings-shell{grid-template-columns:1fr;gap:12px}.settings-subnav-panel{position:static;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:18px}.settings-subnav-panel>.eyebrow{flex:0 0 auto;min-width:72px}.settings-subnav{display:flex;align-items:center;gap:8px;min-width:0}.settings-subnav-item{width:auto;min-width:150px;min-height:42px;grid-template-columns:18px minmax(0,1fr);border-radius:12px;background:#f8fbfd}.settings-subnav-item.active{box-shadow:inset 0 -2px #0aa5df}.settings-content{gap:12px}.notification-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.notification-card{min-height:306px;align-content:start}.notification-card:nth-of-type(2){grid-column:auto}.notification-preview{grid-column:1 / -1;grid-row:auto;grid-template-columns:minmax(320px,.8fr) minmax(280px,1fr);align-items:start;gap:18px}.notification-preview .settings-card-head{grid-column:1 / -1}.notification-preview .settings-help{align-self:start;margin:0;padding:14px;border:1px solid #edf2f6;border-radius:14px;background:#f8fbfd}.message-preview-box{min-width:0}.settings-actions{padding:12px 16px;border-color:#dce7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1423340f}.search-field,.search-box{min-height:44px;border:1px solid #d4e1eb;border-radius:12px;background:linear-gradient(180deg,#fbfdfe,#f5f9fc);box-shadow:inset 0 1px #ffffffdb;color:#64748b;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.search-field:focus-within,.search-box:focus-within{border-color:#5cc4e8;background:#fff;box-shadow:0 0 0 3px #0aa5df1f,inset 0 1px #ffffffe6}.search-field input,.search-box input{min-height:40px;color:#111827;font-size:14px;font-weight:650}.search-field input::placeholder,.search-box input::placeholder{color:#8a99aa;font-weight:650}.select-field select,.field input:not([type=checkbox]):not([type=radio]),.field select,.inline-field input:not([type=checkbox]):not([type=radio]),.inline-field select,.balance-dialog input:not([type=checkbox]):not([type=radio]),.balance-dialog select,.balance-dialog textarea,.auth-card input,.bare-select{min-height:42px;border:1px solid #d4e1eb;border-radius:12px;color:#111827;background-color:#fbfdfe;box-shadow:inset 0 1px #ffffffdb;font-size:14px;font-weight:650;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.select-field select,.field select,.inline-field select,.balance-dialog select,.bare-select{padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;-moz-appearance:none;appearance:none;-webkit-appearance:none}.select-field select:hover,.field input:not([type=checkbox]):not([type=radio]):hover,.field select:hover,.inline-field input:not([type=checkbox]):not([type=radio]):hover,.inline-field select:hover,.balance-dialog input:not([type=checkbox]):not([type=radio]):hover,.balance-dialog select:hover,.balance-dialog textarea:hover,.auth-card input:hover,.bare-select:hover{border-color:#b8cedd;background-color:#fff}.select-field select:focus,.field input:not([type=checkbox]):not([type=radio]):focus,.field select:focus,.inline-field input:not([type=checkbox]):not([type=radio]):focus,.inline-field select:focus,.balance-dialog input:not([type=checkbox]):not([type=radio]):focus,.balance-dialog select:focus,.balance-dialog textarea:focus,.auth-card input:focus,.bare-select:focus{border-color:#35bce8;background-color:#fff;box-shadow:0 0 0 3px #0aa5df21,inset 0 1px #ffffffe6}.field input::placeholder,.inline-field input::placeholder,.balance-dialog input::placeholder,.balance-dialog textarea::placeholder,.auth-card input::placeholder{color:#94a3b8;font-weight:600}.balance-dialog textarea{padding:10px 12px;line-height:1.5}.ttft-field input{min-height:42px!important}.channel-card .field input:not([type=checkbox]):not([type=radio]),.channel-card .field select{min-height:36px;border-radius:10px;font-size:13px}.inline-field small{right:12px;bottom:12px}@media(max-width:1280px){.app-shell{grid-template-columns:208px minmax(0,1fr)}.settings-shell{grid-template-columns:170px minmax(0,1fr)}.profit-cost-row{grid-template-columns:minmax(150px,1fr) minmax(110px,.55fr)}.profit-cost-metrics{grid-column:1 / -1}}@media(max-width:1180px){.daily-profit-summary-stack .daily-profit-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:980px){.app-shell{grid-template-columns:1fr;width:100%}.sidebar{position:static;min-height:auto}.workspace{margin-left:0;padding:0}.module-nav{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.module-nav-item{justify-content:center}.page-head,.filter-row,.balance-actions-bar,.profit-grid,.cost-upstream-card>header,.cost-history-panel>header,.dispatch-report-filters,.report-reason-strip,.settings-shell{grid-template-columns:1fr}.settings-subnav-panel{position:static}.settings-subnav{grid-template-columns:repeat(2,minmax(0,1fr))}.runtime-switches,.balance-actions-right,.dispatch-actions{justify-content:flex-start}.control-bar{display:grid;grid-template-columns:1fr}.control-bar-right{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.kpi-grid,.balance-stats,.report-kpi-grid,.system-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-generated-at,.reason-chip-row{justify-content:flex-start;text-align:left}}@media(max-width:760px){body{background:#eef5f9}.app-shell{width:100%;min-height:100dvh;display:block;padding:10px 10px calc(92px + env(safe-area-inset-bottom))}.workspace{display:block;width:100%;margin-left:0;padding:0}.module-page{display:grid;gap:10px}.sidebar{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));top:auto;z-index:30;min-height:0;display:block;padding:8px;border-radius:22px;box-shadow:0 14px 38px #1423342e}.brand{display:none}.module-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:0}.module-nav-item{grid-template-columns:1fr;justify-items:center;gap:3px;min-height:56px;padding:6px 2px;border-radius:16px;text-align:center;font-size:11px;line-height:1.15}.module-nav-item svg{width:18px;height:18px}.module-nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.module-nav-item span{display:none}.module-nav-item:after{content:attr(data-mobile-label);display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-head{display:block;padding:14px;border-radius:18px}.page-title{gap:5px}.page-title .eyebrow{display:none}.page-title h1{font-size:24px;line-height:1.15}.page-title p,.desktop-only-profit-chart{display:none}.daily-profit-page{gap:10px}.daily-profit-toolbar{gap:8px;padding:10px}.daily-profit-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.daily-profit-summary-stack .daily-profit-stats,.profit-income-section .profit-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-panel{padding:12px;border-radius:18px}.profit-source-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px}.profit-cost-list{max-height:none;overflow:visible}.profit-cost-row{grid-template-columns:1fr;gap:10px;padding:11px}.profit-cost-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-cost-value:first-child{grid-column:1 / -1}.runtime-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.runtime-switch{min-width:0;min-height:48px;grid-template-columns:24px minmax(0,1fr);padding:8px;column-gap:7px;border-radius:14px}.runtime-switch input{width:22px;height:22px}.runtime-switch span{min-width:0;font-size:11px;line-height:1.1}.runtime-switch span svg{display:none}.runtime-switch strong{font-size:14px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0}.kpi-grid .metric-card:nth-child(5){grid-column:1 / -1;order:-2}.kpi-grid .metric-card:nth-child(1){grid-column:1 / -1;order:-1}.metric-card{min-height:64px;padding:11px 12px;border-radius:16px}.metric-card span{font-size:12px}.metric-card strong{margin-top:6px;font-size:20px}.kpi-grid .metric-card:nth-child(5) strong{font-size:28px}.control-panel{gap:10px;margin-top:0;padding:12px;border-radius:18px}.control-bar-right{grid-template-columns:repeat(2,minmax(0,1fr))}.control-bar-divider{display:none}.ttft-field{width:auto}.tabs-scroll{gap:8px;padding-bottom:6px;scrollbar-width:none}.tabs-scroll::-webkit-scrollbar{display:none}.tab{max-width:170px;min-height:38px;padding:0 16px;font-size:14px}.filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.search-field{grid-column:1 / -1;min-height:44px}.search-field input{min-height:40px;font-size:16px}.select-field select,.field input,.field select,.search-box input,.inline-field input,.balance-dialog input,.balance-dialog select,.balance-dialog textarea{min-height:44px;font-size:16px}.dispatch-actions{display:block;padding-top:0}.dispatch-action-spacer{display:none}.dispatch-action-stack{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px;gap:8px;align-items:end}.switch-field{min-height:48px;justify-content:center;padding:0 9px;font-size:14px}.strategy-field{min-width:0}.icon-button{width:48px;height:48px;min-height:48px}.group-context{grid-template-columns:1fr;gap:8px;margin-top:0;padding:10px;border-radius:18px}.group-context div{padding:10px}.group-context div:nth-child(2){display:none}.save-status{font-size:13px}.channel-grid{grid-template-columns:1fr;gap:10px;margin-top:0}.channel-card{min-height:0;border-radius:18px;padding:12px}.card-header{gap:9px}.provider-mark{width:34px;height:34px;border-radius:11px}.card-title h2{font-size:16px}.status-badge{padding:5px 8px;font-size:11px}.metric-grid{gap:8px;margin-top:12px}.metric-block{min-height:62px;padding:9px 10px;border-radius:14px}.metric-value strong{font-size:21px}.availability{margin-top:12px;padding-top:10px}.availability strong{font-size:30px}.timeline{gap:1px;height:20px}.timeline-head,.timeline-axis{font-size:11px}.card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px 48px;gap:8px;margin-top:12px}.probe-model-field{grid-column:1 / -1}.channel-card .field input,.channel-card .field select{min-height:42px;font-size:16px}.channel-card .icon-button{width:48px;height:48px;min-height:48px}.card-foot{margin-top:8px;font-size:12px}.dispatch-records-page,.channel-balance-page,.cost-management-page,.settings-page{gap:10px}.dispatch-report-filters,.report-reason-strip,.balance-actions-bar{grid-template-columns:1fr;gap:9px;padding:12px;border-radius:18px}.report-generated-at{justify-content:start;text-align:left}.report-kpi-grid,.balance-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-kpi-grid .metric-card:nth-child(5),.report-kpi-grid .metric-card:nth-child(6){grid-column:1 / -1}.reason-chip-row,.balance-actions-right{justify-content:stretch}.balance-actions-right{display:grid;grid-template-columns:1fr 1fr;gap:8px}.balance-actions-right .inline-field,.balance-actions-right .primary-button{grid-column:1 / -1}.search-box,.dispatch-record-table,.balance-table{min-width:0}.dispatch-record-table thead,.balance-table thead{display:none}.dispatch-record-table tbody,.balance-table tbody{display:grid;gap:10px}.dispatch-record-table tr,.balance-table tbody tr{display:grid;gap:8px;padding:12px;border:1px solid #d8e2eb;border-radius:16px;background:#fff}.dispatch-record-table td,.balance-table td{display:block;padding:0;border-bottom:0}.dispatch-record-table td:nth-child(n+3),.balance-table td:nth-child(n+2){padding-top:8px;border-top:1px solid #edf2f7}.balance-table td:nth-child(8){padding-top:10px}.row-actions{display:grid;grid-template-columns:repeat(3,48px);justify-content:start}.balance-table .row-actions .icon-button{width:48px;height:48px;min-height:48px}.balance-empty-row td,.empty-report-row{height:auto;min-height:120px;display:grid!important;place-items:center}.drawer-backdrop{align-items:flex-end}.drawer{width:100%;height:min(88dvh,760px);margin:0;border-radius:20px 20px 0 0;padding:16px}}@media(max-width:640px){.group-context,.health-window-grid,.request-summary,.drawer-kpis,.dialog-switches,.balance-dialog,.notification-layout,.system-settings-grid,.settings-subnav{grid-template-columns:1fr}.notification-preview,.notification-card:nth-of-type(2){grid-column:auto;grid-row:auto}.settings-actions,.cost-history-item,.settings-card-head{display:grid;grid-template-columns:1fr}.cost-history-values,.cost-upstream-meta{justify-items:start}.switch-field,.strategy-field,.ghost-button,.primary-button,.inline-field input{width:100%}.error-row,.balance-dialog,.dialog-switches{grid-template-columns:1fr}}@media(max-width:560px){.app-shell{width:100%;padding:8px 8px calc(92px + env(safe-area-inset-bottom))}.page-head,.control-panel,.group-context,.channel-card,.drawer,.placeholder-panel,.cost-upstream-card,.cost-history-panel,.balance-actions-bar{border-radius:16px;padding:12px}.channel-grid{grid-template-columns:1fr}.card-controls{grid-template-columns:1fr 1fr}.probe-model-field{grid-column:1 / -1}.modal-backdrop{align-items:end;padding:8px}.balance-dialog{max-height:92dvh;border-radius:18px 18px 10px 10px}}.settings-page .settings-shell{grid-template-columns:1fr!important;gap:12px}.settings-page .settings-subnav-panel{position:static!important;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%}.settings-page .settings-subnav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.settings-page .settings-subnav-item{width:auto;min-width:148px}.settings-page .settings-content{display:grid;width:100%;min-width:0}@media(max-width:760px){.settings-page .settings-subnav-panel{display:grid;grid-template-columns:1fr}.settings-page .settings-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.settings-page .settings-subnav-item{width:100%;min-width:0}}.channel-card{position:relative;display:grid;gap:12px;overflow:hidden;padding:16px;border-color:#dbe7ef;background:linear-gradient(180deg,#fffffff5,#f7fbfdfa),linear-gradient(135deg,#08724f14,#0aa5df12 42%,#f59e0b0d);box-shadow:0 10px 28px #14233414,0 1px 2px #1423340f}.channel-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#0f9f77,#0aa5df 54%,#f2a32b);opacity:.76;pointer-events:none}.channel-card.card-healthy{border-color:#d7e9e3;background:linear-gradient(180deg,#fffffff7,#f8fcfafa),linear-gradient(135deg,#08724f17,#0aa5df0d)}.channel-card.card-healthy:before{background:linear-gradient(90deg,#11a276,#31c0a0)}.channel-card.card-degraded,.channel-card.card-cooldown{border-color:#eadfca;background:linear-gradient(180deg,#fffffff7,#fdfaf4fa),linear-gradient(135deg,#f59e0b1f,#0aa5df0a)}.channel-card.card-degraded:before,.channel-card.card-cooldown:before{background:linear-gradient(90deg,#f59e0b,#f2c14f 72%,#0aa5df)}.channel-card.card-failed,.channel-card.card-unhealthy{border-color:#efd3d8;background:linear-gradient(180deg,#fffffff7,#fdf7f8fa),linear-gradient(135deg,#dc26261a,#f59e0b0a)}.channel-card.card-failed:before,.channel-card.card-unhealthy:before{background:linear-gradient(90deg,#dc2626,#f97316)}.channel-card:hover{transform:translateY(-2px);border-color:#9acfe1;box-shadow:0 0 0 3px #0aa5df1a,0 18px 42px #1423341f}.channel-card .card-header{position:relative;z-index:1;gap:11px;align-items:flex-start}.channel-card .provider-mark{width:38px;height:38px;border:1px solid rgba(20,35,52,.06);border-radius:13px;box-shadow:inset 0 1px #ffffffe6,0 7px 16px #14233412}.channel-card .card-title h2{margin:0;color:#0f172a;font-size:16px;line-height:1.25}.channel-card .tags{flex-wrap:wrap;gap:6px;margin-top:7px}.channel-card .tag{min-height:22px;border:1px solid rgba(135,151,169,.18);border-radius:7px;padding:4px 7px;background:#ffffffc7;color:#526173;font-weight:800}.channel-card .dispatching-tag{border-color:#0a76c621;background:#e8f3ff;color:#0f5f9d}.channel-card .status-badge{border:1px solid currentColor;border-radius:9px;padding:6px 9px;background:#ffffffc7;box-shadow:0 6px 14px #1423340f}.channel-card .metric-grid{gap:10px;margin-top:0}.channel-card .metric-block{min-height:74px;padding:11px 13px;border-color:#dfe9f1;border-radius:15px;background:linear-gradient(180deg,#fbfdff,#f4f8fb);box-shadow:inset 0 1px #ffffffeb,0 1px #14233405}.channel-card .metric-block:nth-child(2){background:linear-gradient(180deg,#fffdf8,#f7fafc)}.channel-card .metric-label{color:#5a6b7e;font-size:12px}.channel-card .metric-label svg{color:#637d98}.channel-card .metric-value{margin-top:9px}.channel-card .metric-value strong{color:#101828;font-size:24px;font-variant-numeric:tabular-nums}.monitor-panel{display:grid;gap:12px;padding:13px 12px 11px;border:1px solid #dfe9f1;border-radius:16px;background:radial-gradient(circle at top right,rgba(10,165,223,.05),transparent 34%),linear-gradient(180deg,#ffffffdb,#f6fafcf0);box-shadow:inset 0 1px #ffffffe6}.monitor-panel .availability{margin-top:0;padding-top:0;border-top:0}.monitor-panel .availability span{color:#5a6b7e}.monitor-panel .availability strong{color:#0f172a;font-size:29px;font-variant-numeric:tabular-nums}.monitor-panel .dual-timeline{gap:10px;margin-top:0}.monitor-panel .timeline-wrap{padding-top:10px;border-top:1px solid rgba(135,151,169,.16)}.monitor-panel .timeline-wrap:first-child{padding-top:0;border-top:0}.monitor-panel .timeline-head,.monitor-panel .timeline-axis{color:#637083;font-size:11px;font-weight:800}.monitor-panel .timeline-head span:last-child{padding:2px 7px;border-radius:999px;background:#62718314;color:#526173;font-size:10px}.monitor-panel .timeline{height:21px;margin-top:8px}.monitor-panel .timeline-bar{min-width:3px;border-radius:5px}.monitor-panel .timeline-bar.status-healthy{background:#19c978;box-shadow:0 0 0 1px #19c9781a}.monitor-panel .timeline-bar.status-degraded,.monitor-panel .timeline-bar.status-cooldown{background:#f0a91f;box-shadow:0 0 0 1px #f0a91f1f}.monitor-panel .timeline-bar.status-failed{background:#ef3f42;box-shadow:0 0 0 1px #ef3f421f}.monitor-panel .timeline-bar.status-empty{background:#94a3b82e;box-shadow:none}.channel-card .card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px;gap:8px;margin-top:0;padding:12px;border:1px solid #e1e9f0;border-radius:16px;background:linear-gradient(180deg,#ffffffd1,#f9fcfee6);box-shadow:inset 0 1px #ffffffdb}.channel-card .field{gap:5px}.channel-card .field span{color:#526173;font-size:12px;font-weight:800}.channel-card .field input:not([type=checkbox]):not([type=radio]),.channel-card .field select{min-height:37px;border-color:#cbd9e5;border-radius:10px;background-color:#ffffffeb;color:#111827;font-size:13px;font-weight:750}.channel-card .field input:hover,.channel-card .field select:hover{border-color:#9fc1d3;background-color:#fff}.channel-card .field input:focus,.channel-card .field select:focus{border-color:#0aa5df;box-shadow:0 0 0 3px #0aa5df1f}.channel-card .probe-model-field input,.channel-card .probe-model-field select{font-size:12px}.channel-card .icon-button{width:40px;height:37px;min-height:37px;border-color:#cbd9e5;border-radius:10px;background:#fff;color:#415166}.channel-card .icon-button:hover{border-color:#9fc1d3;color:#0f5f9d;background:#f7fbfd}.channel-card .icon-button.active{color:#98620c;border-color:#f0c36e;background:#fff7e7}.channel-card .card-foot{margin-top:-2px;padding:0 2px;color:#5b6b7f;font-size:12px}.tab{display:inline-flex;align-items:center;gap:7px;-webkit-user-select:none;user-select:none}.tab svg{flex:0 0 auto;color:#8aa0b5}.tab.active svg{color:#0a8dbd}.tab.dragging{opacity:.48;transform:scale(.98)}.view-mode-toggle{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:4px;border:1px solid #cfe0eb;border-radius:12px;background:#f5f9fc}.view-mode-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:42px;height:30px;border:0;border-radius:9px;background:transparent;color:#526173;font-size:12px;font-weight:850;cursor:pointer}.view-mode-button:hover{color:#075f86;background:#0aa5df14}.view-mode-button.active{color:#075f86;background:#fff;box-shadow:0 4px 12px #14233417}.channel-grid-large{grid-template-columns:repeat(auto-fit,minmax(380px,460px))}.channel-grid-medium{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.channel-grid-compact{grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:10px}.channel-card-medium{gap:10px;padding:13px}.channel-card-medium .provider-mark{width:34px;height:34px;border-radius:11px}.channel-card-medium .card-title h2{font-size:15px}.channel-card-medium .status-badge{padding:5px 8px;font-size:11px}.channel-card-medium .metric-grid{gap:8px}.channel-card-medium .metric-block{min-height:58px;padding:9px 10px;border-radius:13px}.channel-card-medium .metric-value strong{font-size:20px}.monitor-panel-condensed{gap:9px;padding:10px;border-radius:14px}.monitor-panel-condensed .availability strong{font-size:24px}.compact-timelines{display:grid;gap:7px}.compact-timeline{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px}.compact-timeline span{color:#64748b;font-size:11px;font-weight:850}.compact-timeline div{display:grid;grid-template-columns:repeat(28,minmax(0,1fr));gap:2px;min-width:0}.compact-timeline i{display:block;height:12px;border-radius:4px;background:#94a3b82e}.compact-timeline .status-healthy{background:#19c978}.compact-timeline .status-degraded,.compact-timeline .status-cooldown{background:#f0a91f}.compact-timeline .status-failed{background:#ef3f42}.channel-card-compact{gap:9px;min-height:0;padding:11px;border-radius:14px}.channel-card-compact:before{height:2px}.channel-card-compact .card-header{gap:8px;align-items:center}.channel-card-compact .card-title{padding-right:0}.channel-card-compact .provider-mark{width:30px;height:30px;border-radius:10px}.channel-card-compact .provider-mark svg{width:19px;height:19px}.channel-card-compact .card-title h2{font-size:14px}.channel-card-compact .tags{margin-top:4px}.channel-card-compact .tag{min-height:18px;padding:2px 6px;font-size:10px}.channel-card-compact .status-badge{display:none}.compact-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.compact-metrics span{min-width:0;padding:8px;border:1px solid #e1e9f0;border-radius:11px;background:#ffffffc2}.compact-metrics b{display:block;overflow:hidden;color:#101828;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.compact-metrics small{display:block;margin-top:3px;color:#64748b;font-size:10px;font-weight:800}.channel-card-compact .card-foot{display:grid;grid-template-columns:1fr;gap:3px;margin-top:0;font-size:11px}@media(max-width:1180px){.control-bar-right{grid-template-columns:repeat(3,minmax(0,1fr)) auto auto}.view-mode-toggle{width:100%;justify-content:center}}@media(max-width:760px){.view-mode-toggle{grid-column:1 / -1}.channel-grid-medium,.channel-grid-compact{grid-template-columns:1fr}}.channel-card .card-foot span:last-child{color:#415166;font-weight:750}.toast-viewport{position:fixed;top:18px;right:24px;z-index:1200;width:min(560px,calc(100vw - 280px));pointer-events:none}.app-toast{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:46px;padding:10px 12px 10px 14px;border:1px solid #cfe0eb;border-radius:10px;background:#fffffffa;box-shadow:0 18px 48px #1423342e;color:#152238;font-size:13px;font-weight:850;pointer-events:auto;animation:toast-in .18s ease-out}.app-toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-toast>svg{color:#0b8fbf}.app-toast.toast-success>svg{color:#0f9f6e}.app-toast.toast-warning>svg{color:#d17a00}.app-toast.toast-error>svg{color:#d92d20}.app-toast button{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#6b7a90;cursor:pointer}.app-toast button:hover{background:#eef4f8;color:#142033}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.table-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #d9e5ee;border-radius:12px;background:#ffffffc7}.table-pagination span{color:#536376;font-size:12px;font-weight:850}.table-pagination div{display:flex;align-items:center;gap:8px}.table-pagination .compact-action{min-height:34px}.dispatch-focus-panel{display:grid;gap:9px;padding:10px;border:1px solid #dce8ef;border-radius:14px;background:linear-gradient(180deg,#fff,#f7fbfd)}.dispatch-focus-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dispatch-focus-main span,.compact-dispatch .compact-metrics span{min-width:0;padding:8px;border:1px solid #e1e9f0;border-radius:11px;background:#ffffffd1}.dispatch-focus-main em,.compact-dispatch small{display:block;color:#69788d;font-size:10px;font-style:normal;font-weight:850}.dispatch-focus-main strong,.compact-dispatch b{display:block;overflow:hidden;margin-top:3px;color:#101828;font-size:16px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.dispatch-focus-panel p,.compact-dispatch p{overflow:hidden;margin:0;color:#405066;font-size:12px;font-weight:800;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.compact-dispatch{display:grid;gap:8px}.compact-dispatch-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.compact-dispatch-head strong{color:#0f172a;font-size:18px;font-variant-numeric:tabular-nums}.mini-status{overflow:hidden;justify-self:start;max-width:100%;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.mini-status.status-healthy{background:#dcfce7;color:#047857}.mini-status.status-degraded,.mini-status.status-cooldown{background:#fef3c7;color:#a15c00}.mini-status.status-unhealthy,.mini-status.status-failed{background:#fee2e2;color:#b42318}.channel-card-compact .compact-metrics{gap:6px}.channel-card-compact .compact-metrics b{font-size:12px}.cost-upstream-list{gap:12px}.cost-upstream-card>header{gap:12px}.cost-upstream-card>header p{margin-top:4px}.cost-upstream-meta{align-items:flex-end;gap:8px}.cost-upstream-meta .icon-button{width:34px;height:34px;border:1px solid #d8e4ee;background:#fff;color:#52667c;text-decoration:none}.cost-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:10px;margin-top:12px}.cost-account-card{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid #dce7ef;border-radius:14px;background:#fff;box-shadow:0 10px 24px #1423340f}.cost-account-card.tone-warn{border-color:#f5d08a;background:linear-gradient(180deg,#fffaf0,#fff 54%)}.cost-account-card.tone-bad{border-color:#fac5c5;background:linear-gradient(180deg,#fff5f5,#fff 54%)}.cost-account-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cost-account-card>header div{display:grid;min-width:0;gap:3px}.cost-account-card>header strong{overflow:hidden;color:#111827;font-size:15px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.cost-account-card>header span:not(.cost-status-pill){overflow:hidden;color:#617087;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.cost-account-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cost-value{min-width:0;padding:8px;border:1px solid #e1e9f0;border-radius:10px;background:#f8fbfd}.cost-value em,.cost-value small{display:block;overflow:hidden;color:#6b7a90;font-size:10px;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.cost-value b,.cost-value strong{display:block;overflow:hidden;margin-top:4px;color:#101828;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.cost-value strong{font-size:15px}.cost-value.warn b{color:#b54708}.cost-value.good b{color:#047857}.cost-account-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#617087;font-size:11px;font-weight:800}.cost-account-card footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cost-account-card p{overflow:hidden;margin:0;color:#6b4e00;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.daily-profit-summary-stack{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.15fr) minmax(320px,1fr);align-items:stretch;gap:12px}.profit-hero-card{display:grid;align-content:space-between;gap:10px;min-height:166px;padding:18px;border:1px solid #cfe0eb;border-radius:16px;background:linear-gradient(135deg,rgba(15,159,110,.16),transparent 42%),linear-gradient(180deg,#fff,#f7fbfd);box-shadow:0 18px 42px #14233414}.profit-hero-card.bad{background:linear-gradient(135deg,rgba(217,45,32,.14),transparent 42%),linear-gradient(180deg,#fff,#fff8f8)}.profit-hero-card strong{color:#0f172a;font-size:clamp(28px,4vw,42px);font-weight:950;letter-spacing:0;line-height:1}.profit-hero-card p{margin:0;color:#536376;font-size:12px;font-weight:850}.profit-hero-card b{justify-self:start;padding:6px 10px;border-radius:999px;background:#e8f8ef;color:#047857;font-size:12px}.profit-hero-card.bad b{background:#fee2e2;color:#b42318}@media(max-width:560px){.channel-card{gap:10px;padding:12px}.channel-card .card-header{gap:9px}.channel-card .metric-grid{gap:8px}.channel-card .metric-block{min-height:66px;padding:10px}.monitor-panel{padding:11px 10px 10px;border-radius:14px}.monitor-panel .availability{align-items:flex-start}.monitor-panel .availability strong{font-size:26px}.channel-card .card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px}.channel-card .probe-model-field{grid-column:1 / -1}.channel-card .icon-button{width:100%;height:42px;min-height:42px;background:linear-gradient(180deg,#fff,#f7fbfd)}}.balance-dialog{width:min(100%,820px);max-height:min(calc(100dvh - 40px),900px);gap:13px 16px;border-color:#d3e0ea;background:linear-gradient(180deg,#fffffffa,#f8fbfdfa);scrollbar-color:rgba(122,145,166,.42) transparent;scrollbar-width:thin}.balance-dialog::-webkit-scrollbar{width:8px}.balance-dialog::-webkit-scrollbar-track{background:transparent}.balance-dialog::-webkit-scrollbar-thumb{border:2px solid rgba(248,251,253,.92);border-radius:999px;background:#7a91a661}.balance-dialog .browser-autofill-decoys{position:fixed;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.balance-dialog header{padding:20px 20px 15px;margin:-18px -18px 2px;border-bottom-color:#e5edf4}.balance-dialog h2{margin:0;color:#0f172a;font-size:24px;line-height:1.15;letter-spacing:0}.balance-dialog header p{margin-top:8px;color:#53657a;font-size:14px}.balance-dialog .dialog-close-button{width:42px;min-width:42px;min-height:42px;padding:0;border-color:#d9e6ef;border-radius:999px;background:#ffffffc7;color:#53657a;box-shadow:0 8px 18px #1423340d}.balance-dialog .dialog-close-button svg{width:18px;height:18px;stroke-width:2.3}.balance-dialog .dialog-close-button:hover{color:#0d8ec4;border-color:#a9d7e8;background:#f2fbff;box-shadow:0 10px 22px #0aa5df1f}.balance-dialog label{gap:7px;color:#26374d;font-size:13px;line-height:1.2}.balance-dialog input:not([type=checkbox]):not([type=radio]),.balance-dialog select,.balance-dialog textarea{width:100%;min-height:44px;border:1px solid #cddce8;border-radius:12px;padding:0 13px;background:linear-gradient(180deg,#fff,#fbfdff);color:#111827;font-size:14px;font-weight:650;outline:none;box-shadow:inset 0 1px #ffffffeb,0 1px 1px #14233406;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease}.balance-dialog textarea{min-height:78px;padding-block:12px;line-height:1.45}.balance-dialog select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer}.balance-dialog input:not([type=checkbox]):not([type=radio])::placeholder,.balance-dialog textarea::placeholder{color:#8ba0b7;font-weight:650}.balance-dialog input:not([type=checkbox]):not([type=radio]):hover,.balance-dialog select:hover,.balance-dialog textarea:hover{border-color:#a9c7d8;background:#fff}.balance-dialog input:not([type=checkbox]):not([type=radio]):focus,.balance-dialog select:focus,.balance-dialog textarea:focus{border-color:#0aa5df;background:#fff;box-shadow:0 0 0 3px #0aa5df21,inset 0 1px #fffffff2}.balance-dialog input[type=password]{background:linear-gradient(180deg,#fff,#fbfdff)}.balance-dialog input[type=password]:focus{background:#fff}.balance-dialog input:-webkit-autofill,.balance-dialog input:-webkit-autofill:hover,.balance-dialog input:-webkit-autofill:focus{-webkit-text-fill-color:#111827;caret-color:#111827;box-shadow:0 0 0 1000px #fbfdff inset,0 0 0 1px #cddce8 inset;transition:background-color 9999s ease-out}.balance-dialog small{margin-top:0;color:#65768b;font-size:11px;line-height:1.45}.balance-dialog footer{justify-content:flex-end;align-items:center;margin:2px -18px -14px;padding:26px 18px 14px;border-top:0;background:linear-gradient(180deg,#f8fbfd00,#f8fbfdf0 44%,#f8fbfdfa);box-shadow:none}.balance-dialog .dialog-actions{display:inline-flex;align-items:center;gap:8px;padding:6px;border:1px solid rgba(203,217,229,.9);border-radius:16px;background:#ffffffdb;box-shadow:0 14px 30px #1423341f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.balance-dialog footer button{min-width:88px;min-height:38px;border-radius:11px;font-size:14px}.balance-dialog .dialog-secondary-button{border-color:transparent;background:transparent;color:#3f5064;box-shadow:none}.balance-dialog .dialog-secondary-button:hover{color:#047db3;border-color:#cce5f1;background:#f2fbff;box-shadow:none}.balance-dialog footer .primary-button{border-color:#078dca;background:#0897d1;box-shadow:0 8px 18px #0798d533}.balance-dialog footer .primary-button:hover{background:#047db3;box-shadow:0 10px 22px #0798d53d}@media(max-width:640px){.balance-dialog header{padding:16px 16px 12px;margin:-18px -18px 0}.balance-dialog footer{justify-content:stretch}.balance-dialog .dialog-actions{width:100%;display:grid;grid-template-columns:1fr}.balance-dialog footer button{width:100%}}@media(max-width:1180px){.daily-profit-summary-stack{grid-template-columns:1fr 1fr}.profit-income-section{grid-column:1 / -1}.cost-account-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media(max-width:760px){.toast-viewport{top:12px;right:auto;left:50%;width:min(560px,calc(100vw - 32px));transform:translate(-50%)}.app-toast span{white-space:normal}.table-pagination{align-items:stretch;flex-direction:column}.table-pagination div{display:grid;grid-template-columns:1fr 1fr}.daily-profit-summary-stack,.cost-account-grid{grid-template-columns:1fr}.cost-account-metrics,.dispatch-focus-main{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.cost-account-metrics,.compact-dispatch .compact-metrics{grid-template-columns:1fr}}.daily-profit-summary-stack{grid-template-columns:minmax(320px,.88fr) minmax(420px,1.12fr)}.profit-income-section{grid-column:1 / -1}.profit-income-section .profit-source-list{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.profit-income-section .profit-source-row{min-width:0}@media(max-width:960px){.daily-profit-summary-stack{grid-template-columns:1fr}}.workspace{max-width:none}.module-page{gap:12px}.module-loading{min-height:360px;place-items:center}.module-loading-card{display:grid;gap:8px;width:min(420px,100%);padding:18px 20px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px #1423340f}.module-loading-card strong{color:#101c2b;font-size:18px}.module-loading-card p{color:#536274;font-size:13px;line-height:1.6}.ghost-button,.primary-button,.icon-button,.view-mode-button,.tab,.module-nav-item{transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.primary-button{border:1px solid #078dca;background:linear-gradient(180deg,#10a6dc,#078cca);color:#fff;box-shadow:0 8px 18px #078cca2e}.primary-button:hover{background:linear-gradient(180deg,#0897d1,#047db3);box-shadow:0 10px 24px #078cca38}.ghost-button{border:1px solid #d4e1eb;background:linear-gradient(180deg,#fff,#f6f9fc);color:#40546a;font-weight:850}.ghost-button:hover{border-color:#a8d7e8;background:#f2fbff;color:#047db3}.control-panel{position:sticky;top:10px;z-index:8}.tabs-scroll{scroll-padding-inline:4px}.tab{cursor:grab}.tab:active{cursor:grabbing}.view-mode-toggle{flex:0 0 auto}.channel-grid-large{grid-template-columns:repeat(auto-fill,minmax(380px,460px))}.channel-grid-medium{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.channel-grid-compact{grid-template-columns:repeat(auto-fill,minmax(282px,1fr));gap:10px}.channel-card-compact{gap:8px;padding:10px;border-radius:13px}.channel-card-compact .card-header{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px}.channel-card-compact .card-title h2{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.25}.channel-card-compact .tags{overflow:hidden;max-height:20px}.compact-dispatch{gap:7px;padding:8px;border:1px solid #dfe9f1;border-radius:12px;background:#ffffffb8}.compact-score{display:inline-grid;justify-items:end;gap:1px;padding:3px 7px;border:1px solid #dfe9f1;border-radius:9px;background:#fff}.compact-score em{color:#64748b;font-size:9px;font-style:normal;font-weight:900}.compact-dispatch-head .compact-score strong{font-size:15px;line-height:1}.compact-metrics.compact-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.compact-metrics.compact-metrics-grid span{padding:6px 5px;border-radius:9px}.compact-metrics.compact-metrics-grid b{font-size:11px}.compact-metrics.compact-metrics-grid small{font-size:9px}.compact-reason{display:-webkit-box;min-height:34px;padding:7px 8px;border:1px dashed #d6e2eb;border-radius:10px;background:#f8fbfd;white-space:normal!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}.channel-card-compact .card-foot{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding-top:2px}.channel-card-compact .card-foot span{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}.dispatch-records-page{gap:12px}.dispatch-report-filters{align-items:center;padding:12px}.report-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.report-metric{min-height:66px}.report-reason-strip{padding:14px 16px}.dispatch-record-table-wrap{overflow:auto}.dispatch-record-table{border-collapse:separate;border-spacing:0}.dispatch-record-table th{position:sticky;top:0;z-index:1;border-bottom:1px solid #d9e5ee;background:#f3f7fa}.dispatch-record-table tbody tr:nth-child(2n){background:#fbfdff}.dispatch-record-table td{vertical-align:middle}.record-time-cell strong{font-variant-numeric:tabular-nums}.cost-delta{width:max-content;min-width:124px;padding:6px 8px;border:1px solid #e3ebf2;border-radius:10px;background:#fff}.cost-delta.down{border-color:#c7efdc;background:#f0fdf6}.cost-delta.up{border-color:#f3d69f;background:#fff8ea}.score-change{width:max-content;padding:6px 8px;border-radius:10px;background:#f4f7fa}.reason-cell{max-width:420px;padding:7px 9px;border:1px solid #e3ebf2;border-radius:10px;background:#f8fbfd}.balance-actions-bar{grid-template-columns:minmax(280px,1fr) auto;padding:12px}.balance-actions-right{flex-wrap:wrap;justify-content:flex-end}.balance-table{border-collapse:separate;border-spacing:0}.balance-table th{border-bottom:1px solid #d9e5ee}.balance-table td{vertical-align:middle}.balance-table tbody tr:nth-child(2n){background:#fbfdff}.balance-table td:first-child strong{display:block;max-width:280px;overflow:hidden;color:#111827;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.balance-table td:first-child span{display:block;max-width:320px;overflow:hidden;margin-top:4px;text-overflow:ellipsis;white-space:nowrap}.balance-type-pill,.balance-state-pill,.balance-threshold{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:28px;padding:0 9px;border:1px solid #dce7ef;border-radius:999px;background:#f7fafc;color:#40546a;font-size:12px;font-weight:900;line-height:1;text-align:center}.balance-type-pill.type-sub2api{border-color:#bfe6f4;background:#e9f8fe;color:#075f86}.balance-type-pill.type-newapi,.balance-state-pill.enabled{border-color:#c9eadb;background:#eefbf5;color:#08724f}.balance-value-cell strong{font-size:14px;font-variant-numeric:tabular-nums}.balance-value-cell span{display:block;margin-top:4px}.balance-updated-at{color:#526173;font-size:12px;white-space:nowrap}.balance-table .row-actions{gap:6px}.balance-table .row-actions .icon-button{width:34px;height:34px;min-height:34px;border-radius:10px}.cost-actions-bar{align-items:center}.cost-upstream-list{display:grid;gap:10px}.cost-upstream-card{padding:13px}.cost-upstream-card>header{align-items:center;padding-bottom:9px}.cost-upstream-meta{display:flex;flex-wrap:wrap;justify-content:flex-end}.cost-account-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:9px}.cost-account-card{gap:9px;padding:10px;border-radius:12px;box-shadow:0 8px 18px #1423340b}.cost-account-card>header strong{font-size:14px}.cost-account-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.cost-value{padding:7px 6px}.cost-value b,.cost-value strong{overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.cost-value strong{font-size:13px}.cost-history-panel{padding:14px}.cost-history-list{display:grid;gap:8px}.cost-history-item{border:1px solid #e1e9f0;border-radius:12px;background:#fbfdff}.daily-profit-toolbar{align-items:center}.profit-source-filter{min-width:210px}.daily-profit-summary-stack{grid-template-columns:minmax(300px,.78fr) minmax(420px,1.22fr)}.profit-hero-card{min-height:144px}.daily-profit-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.profit-income-section{padding:14px}.profit-income-section .profit-source-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.profit-source-row{position:relative;overflow:hidden}.profit-source-row i,.profit-composition-item i{display:block;width:100%;height:6px;overflow:hidden;border-radius:999px;background:#e7eef5}.profit-source-row i:after,.profit-composition-item i:after{display:block;width:var(--bar, 0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f9f77,#0aa5df);content:""}.profit-source-row>strong{display:grid;justify-items:end;gap:3px;font-variant-numeric:tabular-nums}.profit-source-row>strong small{color:#64748b;font-size:11px;font-weight:900}.profit-analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profit-dimension-panel{display:grid;align-content:start;gap:12px;min-width:0;padding:14px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1423340f}.profit-dimension-panel h2{color:#111827;font-size:16px}.profit-composition-list{display:grid;gap:9px}.profit-composition-item{display:grid;gap:7px;min-width:0;padding:10px;border:1px solid #e1e9f0;border-radius:12px;background:#fbfdff}.profit-composition-item>div{display:grid;gap:3px;min-width:0}.profit-composition-item strong{overflow:hidden;color:#111827;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.profit-composition-item span{overflow:hidden;color:#64748b;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.profit-composition-item em{color:#172435;font-size:12px;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums}.profit-composition-item.tone-bad i:after{background:linear-gradient(90deg,#ef4444,#f59e0b)}.profit-composition-item.tone-neutral i:after{background:linear-gradient(90deg,#64748b,#94a3b8)}.profit-efficiency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.profit-efficiency-grid span{min-width:0;padding:11px;border:1px solid #e1e9f0;border-radius:12px;background:#f8fbfd}.profit-efficiency-grid em,.profit-efficiency-grid strong{display:block}.profit-efficiency-grid em{color:#64748b;font-size:11px;font-style:normal;font-weight:900}.profit-efficiency-grid strong{overflow:hidden;margin-top:6px;color:#101828;font-size:18px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.profit-trend-panel{padding:14px}.profit-cost-grid{grid-template-columns:1fr}.profit-cost-list{display:grid;gap:9px}.profit-cost-row{border:1px solid #e1e9f0;border-radius:12px;background:#fbfdff}@media(max-width:1360px){.profit-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-dimension-panel:last-child{grid-column:1 / -1}}@media(max-width:1180px){.control-panel{position:static}.balance-actions-bar{grid-template-columns:1fr}.balance-actions-right{justify-content:flex-start}.daily-profit-summary-stack,.profit-analysis-grid{grid-template-columns:1fr}.profit-dimension-panel:last-child{grid-column:auto}}@media(max-width:760px){.channel-grid-compact{grid-template-columns:1fr}.channel-card-compact .card-header{grid-template-columns:34px minmax(0,1fr)}.compact-metrics.compact-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-card-compact .card-foot{grid-template-columns:1fr}.balance-actions-right{display:grid;grid-template-columns:1fr}.balance-table td:first-child strong,.balance-table td:first-child span{max-width:100%}.cost-account-metrics,.daily-profit-stats,.profit-efficiency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1181px){.balance-table th:nth-child(2),.balance-table th:nth-child(4),.balance-table th:nth-child(6),.balance-table th:nth-child(8),.balance-table td:nth-child(2),.balance-table td:nth-child(4),.balance-table td:nth-child(6),.balance-table td:nth-child(8){text-align:center}.balance-table td:nth-child(2),.balance-table td:nth-child(4),.balance-table td:nth-child(6){white-space:nowrap}.balance-table .balance-type-pill,.balance-table .balance-state-pill,.balance-table .balance-threshold{display:flex;width:fit-content;margin:0 auto;min-width:88px}.balance-table .balance-state-pill{min-width:72px}.balance-table .row-actions{justify-content:center}}:root{--uupm-primary: #1e40af;--uupm-primary-strong: #18358f;--uupm-secondary: #0f766e;--uupm-accent: #d97706;--uupm-danger: #dc2626;--uupm-success: #047857;--uupm-warning: #b45309;--uupm-bg: #f6f9fc;--uupm-surface: #ffffff;--uupm-surface-soft: #f8fafc;--uupm-surface-tint: #eef6ff;--uupm-line: #d9e5f0;--uupm-line-strong: #c8d8e8;--uupm-text: #101828;--uupm-muted: #526579;--uupm-subtle: #71839a;--uupm-ring: rgba(30, 64, 175, .24);--uupm-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .05);--uupm-shadow-md: 0 10px 28px rgba(17, 35, 61, .08);--uupm-radius-sm: 8px;--uupm-radius-md: 12px;--uupm-radius-lg: 16px;--uupm-font-body: "Fira Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--uupm-font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}html{background:var(--uupm-bg)}body{color:var(--uupm-text);font-family:var(--uupm-font-body);background:linear-gradient(180deg,rgba(219,234,254,.62) 0,rgba(246,249,252,.92) 168px,var(--uupm-bg) 420px),repeating-linear-gradient(90deg,rgba(148,163,184,.08) 0,rgba(148,163,184,.08) 1px,transparent 1px,transparent 72px)}.mono,.balance-updated-at,.metric-value,.metric-card strong,.compact-score strong,.profit-cost-value,.cost-value strong,.dispatch-record-table td,.balance-table td{font-variant-numeric:tabular-nums}.skip-link{position:fixed;top:12px;left:50%;z-index:2000;transform:translate(-50%,-160%);padding:10px 14px;border:1px solid var(--uupm-primary);border-radius:var(--uupm-radius-sm);color:#fff;background:var(--uupm-primary);box-shadow:var(--uupm-shadow-md);font-size:13px;font-weight:800;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.skip-link:focus{transform:translate(-50%)}:focus-visible{outline:3px solid var(--uupm-ring);outline-offset:2px}.workspace{padding-top:18px}.sidebar,.page-head,.control-panel,.group-context,.channel-card,.drawer,.placeholder-panel,.metric-card,.balance-actions-bar,.table-wrap,.settings-subnav-panel,.settings-card,.cost-upstream-card,.cost-history-panel,.profit-panel,.profit-dimension-panel,.profit-income-section,.profit-hero-card{border-color:var(--uupm-line);border-radius:var(--uupm-radius-lg);background:#fffffff0;box-shadow:var(--uupm-shadow-sm)}.sidebar{border-color:#cbd5e1e0;background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 42px #11233d14}.brand-mark{border-radius:11px;background:linear-gradient(135deg,var(--uupm-secondary),#0891b2);box-shadow:inset 0 0 0 1px #ffffff42,0 10px 22px #0f766e38}.brand p,.eyebrow,.metric-card span,.metric-label,.field span,.select-field span,.inline-field span,.settings-help,.muted{color:var(--uupm-muted)}.brand strong,.page-title h1,.card-title h2,.settings-card-head h2,.profit-panel h2,.profit-dimension-panel h2,.balance-table td:first-child strong,.dispatch-record-table strong{color:var(--uupm-text)}.module-nav-item{position:relative;min-height:42px;border-radius:10px;color:#31445b;font-weight:800;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.module-nav-item:before{position:absolute;top:9px;bottom:9px;left:6px;width:3px;border-radius:999px;background:transparent;content:""}.module-nav-item:hover{color:var(--uupm-primary);background:#f2f7ff;border-color:#cfe0f7}.module-nav-item.active{color:var(--uupm-primary);border-color:#b8cff4;background:linear-gradient(90deg,#dbeafef5,#f0fdfab3)}.module-nav-item.active:before{background:var(--uupm-primary)}.module-nav-item svg{color:currentColor}.page-head{min-height:108px;padding:18px 20px;background:linear-gradient(135deg,#fffffffa,#f8fafcf0),linear-gradient(90deg,#1e40af14,#0f766e14)}.page-title h1{letter-spacing:0}.page-title p{color:var(--uupm-muted);line-height:1.55}.eyebrow{color:#075985;font-weight:900}.kpi-grid,.balance-stats,.report-kpi-grid,.daily-profit-stats{gap:10px}.metric-card{min-height:72px;padding:13px 14px;overflow:hidden;border-color:var(--uupm-line);background:linear-gradient(180deg,#fff,#fbfdff)}.metric-card:before{background:linear-gradient(180deg,var(--uupm-primary),#38bdf8);opacity:.85}.metric-card span{font-size:11px;font-weight:850}.metric-card strong{color:var(--uupm-text);font-size:clamp(18px,1.45vw,24px);line-height:1.12}.control-panel{top:12px;padding:12px;border-color:var(--uupm-line);background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tabs-scroll{gap:7px}.tab-button,.view-mode-button,.reason-chip,.tag,.status-badge,.mini-status,.cost-status-pill,.balance-type-pill,.balance-state-pill,.balance-threshold,.profit-complete{border-radius:999px;font-weight:850;line-height:1}.tab-button,.view-mode-button{transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.tab-button.active,.view-mode-button.active{color:#fff;border-color:var(--uupm-primary);background:var(--uupm-primary);box-shadow:0 8px 18px #1e40af2e}.group-context{padding:12px 14px;background:linear-gradient(180deg,#fff,#f8fbff)}.search-field,.search-box{border-color:var(--uupm-line-strong);border-radius:var(--uupm-radius-md);background:#fbfdff;box-shadow:inset 0 1px #ffffffe6}.search-field:focus-within,.search-box:focus-within{border-color:var(--uupm-primary);box-shadow:0 0 0 4px var(--uupm-ring)}.search-field input,.search-box input,.select-field select,.field input:not([type=checkbox]):not([type=radio]),.field select,.inline-field input:not([type=checkbox]):not([type=radio]),.inline-field select,.balance-dialog input:not([type=checkbox]):not([type=radio]),.balance-dialog select,.balance-dialog textarea,.auth-card input,.bare-select{min-height:40px;border-color:var(--uupm-line-strong);border-radius:var(--uupm-radius-sm);color:var(--uupm-text);background-color:#fbfdff;box-shadow:inset 0 1px 1px #10182808;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.search-field input::placeholder,.search-box input::placeholder,.field input::placeholder,.inline-field input::placeholder,.balance-dialog input::placeholder,.balance-dialog textarea::placeholder{color:#8a9bae}.select-field select,.field select,.inline-field select,.balance-dialog select,.bare-select{background-image:linear-gradient(45deg,transparent 50%,#53657a 50%),linear-gradient(135deg,#53657a 50%,transparent 50%);background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.select-field select:hover,.field input:not([type=checkbox]):not([type=radio]):hover,.field select:hover,.inline-field input:not([type=checkbox]):not([type=radio]):hover,.inline-field select:hover,.balance-dialog input:not([type=checkbox]):not([type=radio]):hover,.balance-dialog select:hover,.balance-dialog textarea:hover,.auth-card input:hover,.bare-select:hover{border-color:#b9cbe0;background-color:#fff}.select-field select:focus,.field input:not([type=checkbox]):not([type=radio]):focus,.field select:focus,.inline-field input:not([type=checkbox]):not([type=radio]):focus,.inline-field select:focus,.balance-dialog input:not([type=checkbox]):not([type=radio]):focus,.balance-dialog select:focus,.balance-dialog textarea:focus,.auth-card input:focus,.bare-select:focus{border-color:var(--uupm-primary);background-color:#fff;box-shadow:0 0 0 4px var(--uupm-ring)}.runtime-switch,.switch-field,.dialog-switches .dialog-switch{border-color:var(--uupm-line);background:#fbfdff}.runtime-switch.enabled,.switch-field.switch-on,.dialog-switches .dialog-switch:has(input:checked){border-color:#0f766e52;background:#effaf7}.runtime-switch input,.switch-field input[type=checkbox],.compact-switch input[type=checkbox],.dialog-switches .dialog-switch i{box-shadow:inset 0 1px 2px #1018281a}.runtime-switch input:checked,.switch-field input[type=checkbox]:checked,.compact-switch input[type=checkbox]:checked,.dialog-switches .dialog-switch input:checked+i{background:var(--uupm-secondary)}.primary-button,.ghost-button,.icon-button,.view-mode-button,.row-actions button,.balance-dialog button{border-radius:var(--uupm-radius-sm);font-weight:850;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}.primary-button{border-color:var(--uupm-primary);background:linear-gradient(180deg,#2563eb 0%,var(--uupm-primary) 100%);box-shadow:0 9px 18px #1e40af33}.primary-button:hover:not(:disabled){background:linear-gradient(180deg,#1d4ed8 0%,var(--uupm-primary-strong) 100%);box-shadow:0 12px 24px #1e40af3d}.ghost-button,.icon-button,.view-mode-button{border-color:var(--uupm-line-strong);color:#29435f;background:#fff}.ghost-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.view-mode-button:hover:not(:disabled){color:var(--uupm-primary);border-color:#a9c5ee;background:#f3f8ff;box-shadow:0 8px 18px #1e40af1a}.primary-button:active:not(:disabled),.ghost-button:active:not(:disabled),.icon-button:active:not(:disabled),.view-mode-button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.52}.channel-grid-large,.channel-grid-medium,.channel-grid-compact{gap:12px}.channel-card{border-color:var(--uupm-line);background:linear-gradient(180deg,#fff,#fbfdff);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.channel-card:hover{border-color:#b8cff4;box-shadow:var(--uupm-shadow-md);transform:translateY(-1px)}.channel-card:before{opacity:.82}.channel-card .metric-block,.compact-dispatch,.compact-metrics.compact-metrics-grid span,.cost-account-card,.profit-source-row,.profit-cost-row,.profit-composition-item,.profit-efficiency-grid span{border-color:var(--uupm-line);background:#f8fbff}.provider-mark{box-shadow:inset 0 0 0 1px #ffffff5c,0 8px 18px #10182814}.status-healthy,.status-ok,.status-good,.balance-state-pill.enabled,.cost-status-pill.ok,.cost-status-pill.good{color:var(--uupm-success)}.status-degraded,.status-cooldown,.status-warn,.cost-status-pill.warn,.profit-complete.warn{color:var(--uupm-warning)}.status-failed,.status-unhealthy,.status-bad,.danger-text,.cost-status-pill.bad{color:var(--uupm-danger)}.table-wrap,.dispatch-record-table-wrap,.cost-table-wrap{overflow:auto;border-color:var(--uupm-line);background:#fff}.dispatch-record-table,.balance-table,.cost-table{border-collapse:separate;border-spacing:0}.dispatch-record-table th,.balance-table th,.cost-table th{position:sticky;top:0;z-index:1;border-bottom:1px solid var(--uupm-line-strong);color:#42566d;background:#f2f7fc;font-size:11px;font-weight:900;white-space:nowrap}.dispatch-record-table td,.balance-table td,.cost-table td{border-bottom-color:#e8eff6;color:#27384d}.dispatch-record-table tbody tr:nth-child(2n),.balance-table tbody tr:nth-child(2n){background:#fbfdff}.dispatch-record-table tbody tr:hover,.balance-table tbody tr:hover{background:#f1f7ff}.balance-table{table-layout:fixed;min-width:960px}.balance-table th:nth-child(1),.balance-table td:nth-child(1){width:21%}.balance-table th:nth-child(2),.balance-table td:nth-child(2){width:10%}.balance-table th:nth-child(3),.balance-table td:nth-child(3){width:13%}.balance-table th:nth-child(4),.balance-table td:nth-child(4){width:10%}.balance-table th:nth-child(5),.balance-table td:nth-child(5){width:13%;min-width:126px}.balance-table th:nth-child(6),.balance-table td:nth-child(6){width:10%}.balance-table th:nth-child(7),.balance-table td:nth-child(7){width:13%}.balance-table th:nth-child(8),.balance-table td:nth-child(8){width:12%}.balance-table td:nth-child(5) span{max-width:132px;overflow-wrap:normal;word-break:normal}.balance-table .row-actions{flex-wrap:nowrap;justify-content:center}.balance-table .row-actions .icon-button{width:32px;height:32px;min-height:32px}.balance-type-pill,.balance-state-pill,.balance-threshold{min-height:28px;border-color:var(--uupm-line-strong);background:#f8fafc}.balance-type-pill.type-sub2api{border-color:#0ea5e94d;background:#eef9ff;color:#075985}.balance-type-pill.type-newapi{border-color:#0f766e47;background:#effaf7;color:var(--uupm-secondary)}.balance-state-pill.enabled{border-color:#0478573d;background:#ecfdf5}.modal-backdrop,.drawer-backdrop{background:#0f172a75;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.drawer,.balance-dialog,.auth-card{border-color:var(--uupm-line);background:#fff;box-shadow:0 24px 70px #0f172a2e}.drawer-section,.drawer-kpis,.decision-box,.error-row,.probe-log-row,.message-preview-box{border-color:var(--uupm-line);background:#f8fbff}.balance-dialog{border-radius:18px}.balance-dialog header{background:linear-gradient(180deg,#fff,#f8fbff),linear-gradient(90deg,#1e40af0f,#0f766e0f)}.balance-dialog footer{background:#f8fafc}.toast-viewport{pointer-events:none;top:auto;right:24px;bottom:86px;width:min(520px,calc(100vw - 280px))}.app-toast{border-color:var(--uupm-line);border-radius:var(--uupm-radius-md);background:#fffffffa;box-shadow:var(--uupm-shadow-md);pointer-events:auto}.app-toast.toast-error{border-color:#dc262647}.app-toast{animation:uupm-toast-in .18s ease-out}@keyframes uupm-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.settings-card.card-enabled,.notification-status-card.status-card-active{border-color:#0f766e42;background:linear-gradient(180deg,#fff,#f0fdfa)}.settings-page .settings-subnav-panel{min-height:56px;padding:8px 10px 8px 14px;border-radius:14px;background:#ffffffeb}.settings-page .settings-subnav-panel>.eyebrow{display:inline-flex;align-items:center;min-height:36px;color:#075985}.settings-page .settings-subnav{padding:4px;border:1px solid var(--uupm-line);border-radius:12px;background:#f6f9fc}.settings-page .settings-subnav-item{min-height:36px;min-width:136px;border:1px solid transparent;border-radius:9px;color:#405064;background:transparent;font-weight:850;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.settings-page .settings-subnav-item:hover{color:var(--uupm-primary);background:#fff;border-color:#d4e2f1}.settings-page .settings-subnav-item.active{color:#fff;border-color:var(--uupm-primary);background:var(--uupm-primary);box-shadow:0 8px 16px #1e40af2e}.empty-state{border-color:var(--uupm-line);border-radius:var(--uupm-radius-md);color:var(--uupm-muted);background:#f8fbff}.module-page,.settings-page,.channel-balance-page,.cost-management-page,.daily-profit-page,.dispatch-records-page{animation:uupm-page-in .22s ease-out both}@keyframes uupm-page-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media(max-width:1180px){.workspace{padding-top:14px}.page-head{min-height:auto}}@media(max-width:760px){body{background:var(--uupm-bg)}.workspace{padding:72px 10px calc(102px + env(safe-area-inset-bottom))}.mobile-topbar{border-color:var(--uupm-line);background:#fffffff2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.page-head,.control-panel,.group-context,.channel-card,.metric-card,.settings-card,.balance-actions-bar,.table-wrap,.profit-panel,.profit-dimension-panel,.profit-income-section,.profit-hero-card{border-radius:14px}.page-head{padding:14px}.metric-card{min-height:66px;padding:11px}.balance-table td:nth-child(5) span{max-width:none;overflow-wrap:anywhere}.toast-viewport{right:10px;bottom:76px;left:10px;width:auto}}:root{--future-bg: #f5f1ea;--future-sidebar: #fbf8f2;--future-card: #fffdf9;--future-card-soft: #fbf8f2;--future-line: #eadfd2;--future-line-strong: #dfcfbd;--future-text: #1f1a16;--future-muted: #766c61;--future-subtle: #9a8f83;--future-accent: #d45f3d;--future-accent-dark: #b9472d;--future-accent-soft: #fff0e8;--future-green: #009b72;--future-green-soft: #e5f7ed;--future-blue: #3f7df6;--future-purple: #9c5cff;--future-amber: #c7821f;--future-radius: 12px;--future-shadow: 0 12px 30px rgba(86, 67, 47, .08);--future-shadow-sm: 0 5px 14px rgba(86, 67, 47, .06)}html,body{background:var(--future-bg)}body{color:var(--future-text);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}body:before{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 78% 0%,rgba(212,95,61,.08),transparent 32%),linear-gradient(90deg,rgba(255,255,255,.32),transparent 42%);content:""}@media(min-width:761px){.app-shell{display:block;min-height:100vh;background:transparent}.sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;display:flex;width:224px;min-height:100vh;padding:0;border:0;border-right:1px solid var(--future-line);border-radius:0;background:var(--future-sidebar);box-shadow:18px 0 38px #56432f0d}.sidebar-inner{display:flex;width:100%;padding:22px 8px}.workspace{width:auto;margin-left:224px;padding:24px 24px 42px}.brand{min-height:38px;padding:0 12px 14px;border-bottom:1px solid rgba(234,223,210,.78)}.brand-mark,.brand p{display:none}.brand strong{color:var(--future-text);font-size:16px;font-weight:900;letter-spacing:0}.module-nav{gap:3px;margin-top:16px}.module-nav-item{min-height:39px;padding:0 13px;border-radius:7px;color:#50483f;font-size:14px;font-weight:750}.module-nav-item:before{display:none}.module-nav-item:hover{color:var(--future-accent-dark);border-color:transparent;background:#fff0e8a3;box-shadow:none}.module-nav-item.active{color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft);box-shadow:inset 0 0 0 1px #d45f3d0a}}.page-head,.control-panel,.group-context,.channel-card,.drawer,.placeholder-panel,.metric-card,.balance-actions-bar,.table-wrap,.settings-subnav-panel,.settings-card,.cost-upstream-card,.cost-history-panel,.profit-panel,.profit-dimension-panel,.profit-income-section,.profit-hero-card,.report-reason-strip{border-color:#eadfd2eb;border-radius:var(--future-radius);background:var(--future-card);box-shadow:var(--future-shadow)}.page-head{min-height:92px;padding:18px 20px;background:var(--future-card)}.page-title h1{color:var(--future-text);font-size:clamp(24px,2vw,31px);font-weight:900;line-height:1.05}.page-title p{color:var(--future-muted);font-size:13px}.eyebrow{color:var(--future-accent-dark);font-size:12px;font-weight:850;text-transform:none}.page-head .eyebrow,.report-reason-strip .eyebrow,.cost-history-panel .eyebrow,.profit-panel .eyebrow,.profit-dimension-panel .eyebrow,.settings-card .eyebrow,.metric-card .eyebrow{color:var(--future-accent-dark);text-transform:none}.kpi-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px}.balance-stats,.report-kpi-grid,.daily-profit-stats{gap:14px}.metric-card{min-height:90px;padding:18px 18px 16px;border:0;background:var(--future-card)}.metric-card:before{display:none}.metric-card span,.metric-card .metric-label{color:var(--future-muted);font-size:12px;font-weight:700}.metric-card strong{margin-top:4px;color:var(--future-text);font-family:inherit;font-size:clamp(21px,1.8vw,28px);font-weight:900;letter-spacing:0}.daily-profit-stats .metric-card strong,.report-kpi-grid .metric-card strong,.kpi-grid .metric-card strong{overflow-wrap:normal;word-break:keep-all}.daily-profit-stats .metric-card strong{font-size:clamp(18px,1.45vw,24px)}.kpi-grid .metric-card:nth-child(5) strong{font-size:clamp(18px,1.35vw,22px);line-height:1.12}.metric-card.ok strong,.metric-card.warn strong,.metric-card.bad strong{color:var(--future-text)}.control-panel,.balance-actions-bar,.dispatch-report-filters,.daily-profit-toolbar,.cost-actions-bar{padding:12px;background:var(--future-card)}.tabs-scroll{gap:8px}.tab,.tab-button,.view-mode-button,.reason-chip,.tag,.status-badge,.mini-status,.cost-status-pill,.balance-type-pill,.balance-state-pill,.balance-threshold,.profit-complete{border-radius:7px}.tab,.view-mode-button{color:var(--future-muted);border-color:var(--future-line);background:#fffaf5}.tab.active,.tab-button.active,.view-mode-button.active{color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft);box-shadow:none}.group-context{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 20px;border:0}.group-context>div:not(:last-child){border-right-color:var(--future-line)}.group-context strong{color:var(--future-text)}.search-field,.search-box,.select-field select,.field input:not([type=checkbox]):not([type=radio]),.field select,.inline-field input:not([type=checkbox]):not([type=radio]),.inline-field select,.balance-dialog input:not([type=checkbox]):not([type=radio]),.balance-dialog select,.balance-dialog textarea,.auth-card input,.bare-select{min-height:40px;border-color:var(--future-line-strong);border-radius:8px;color:var(--future-text);background-color:#fffdf9;box-shadow:none}.search-field,.search-box{background:#fffdf9}.search-field input,.search-box input{background:transparent}.search-field:focus-within,.search-box:focus-within,.select-field select:focus,.field input:not([type=checkbox]):not([type=radio]):focus,.field select:focus,.inline-field input:not([type=checkbox]):not([type=radio]):focus,.inline-field select:focus,.balance-dialog input:not([type=checkbox]):not([type=radio]):focus,.balance-dialog select:focus,.balance-dialog textarea:focus,.auth-card input:focus,.bare-select:focus{border-color:var(--future-accent);box-shadow:0 0 0 3px #d45f3d24}.primary-button{border-color:var(--future-accent);color:#fff;background:var(--future-accent);box-shadow:0 8px 18px #d45f3d2e}.primary-button:hover:not(:disabled){border-color:var(--future-accent-dark);background:var(--future-accent-dark);box-shadow:0 10px 22px #d45f3d38}.ghost-button,.icon-button,.view-mode-button,.row-actions button,.balance-dialog button{border-color:var(--future-line-strong);color:#5c5148;background:#fffdf9;box-shadow:none}.ghost-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.view-mode-button:hover:not(:disabled){color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft);box-shadow:none}.runtime-switch,.switch-field,.compact-switch,.dialog-switches .dialog-switch{border-color:var(--future-line);color:var(--future-muted);background:#fffaf5}.runtime-switch.enabled,.switch-field.switch-on,.dialog-switches .dialog-switch:has(input:checked){border-color:#009b7240;background:var(--future-green-soft)}.runtime-switch input:checked,.switch-field input[type=checkbox]:checked,.compact-switch input[type=checkbox]:checked,.dialog-switches .dialog-switch input:checked+i{background:var(--future-green)}.channel-grid-large,.channel-grid-medium,.channel-grid-compact,.cost-account-grid,.cost-upstream-list,.profit-grid,.profit-analysis-grid{gap:14px}.channel-card{border:1px solid rgba(234,223,210,.92);background:var(--future-card);box-shadow:var(--future-shadow-sm)}.channel-card:hover{border-color:#efb79f;box-shadow:var(--future-shadow);transform:translateY(-1px)}.channel-card.card-healthy:before,.channel-card.card-degraded:before,.channel-card.card-cooldown:before,.channel-card.card-failed:before,.channel-card.card-unhealthy:before{opacity:.78}.channel-card.card-healthy:before{background:var(--future-green)}.channel-card.card-degraded:before,.channel-card.card-cooldown:before{background:var(--future-amber)}.channel-card.card-failed:before,.channel-card.card-unhealthy:before{background:#d04f45}.channel-card .metric-block,.compact-dispatch,.compact-metrics.compact-metrics-grid span,.cost-account-card,.profit-source-row,.profit-cost-row,.profit-composition-item,.profit-efficiency-grid span,.decision-box,.drawer-section,.drawer-kpis,.error-row,.probe-log-row,.message-preview-box{border-color:var(--future-line);background:#fffaf5}.provider-mark{background:var(--future-green-soft);box-shadow:none}.status-badge.status-healthy,.mini-status.status-healthy,.balance-state-pill.enabled,.cost-status-pill.ok,.cost-status-pill.good,.profit-complete.ok{border-color:#009b723d;color:var(--future-green);background:var(--future-green-soft)}.status-badge.status-degraded,.status-badge.status-cooldown,.mini-status.status-degraded,.mini-status.status-cooldown,.cost-status-pill.warn,.profit-complete.warn{border-color:#c7821f47;color:var(--future-amber);background:#fff4df}.status-badge.status-failed,.status-badge.status-unhealthy,.mini-status.status-failed,.mini-status.status-unhealthy,.cost-status-pill.bad{border-color:#d04f453d;color:#b43b32;background:#fff0ee}.table-wrap,.dispatch-record-table-wrap,.cost-table-wrap{border-color:var(--future-line);background:var(--future-card)}.dispatch-record-table th,.balance-table th,.cost-table th{color:var(--future-muted);border-bottom-color:var(--future-line);background:#fffaf5;font-weight:800}.dispatch-record-table td,.balance-table td,.cost-table td{color:#3f362f;border-bottom-color:#eadfd2b8}.dispatch-record-table tbody tr:nth-child(2n),.balance-table tbody tr:nth-child(2n){background:#fffaf5}.dispatch-record-table tbody tr:hover,.balance-table tbody tr:hover{background:#fff4ed}.balance-table .balance-value-cell.danger-text strong,.danger-text,.warn-text{color:#c84837}.good-text,.tone-text-good,.metric-card.ok strong{color:var(--future-green)}.balance-type-pill,.balance-state-pill,.balance-threshold{border-color:var(--future-line-strong);background:#fffaf5}.balance-type-pill.type-sub2api{border-color:#3f7df62e;background:#eef3ff;color:#2f65d8}.balance-type-pill.type-newapi{border-color:#009b7238;background:var(--future-green-soft);color:var(--future-green)}.settings-page .settings-subnav-panel{background:var(--future-card)}.settings-page .settings-subnav{border-color:var(--future-line);background:#fffaf5}.settings-page .settings-subnav-item{color:var(--future-muted)}.settings-page .settings-subnav-item:hover{color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft)}.settings-page .settings-subnav-item.active{color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft);box-shadow:none}.modal-backdrop,.drawer-backdrop{background:#261e1861}.drawer,.balance-dialog,.auth-card{border-color:var(--future-line);background:var(--future-card);box-shadow:0 26px 70px #3a2a1e33}.balance-dialog header,.balance-dialog footer{background:#fffaf5}.app-toast{border-color:var(--future-line);background:var(--future-card);box-shadow:var(--future-shadow)}.app-toast.toast-error{border-color:#d04f4552}.empty-state{border-color:var(--future-line);color:var(--future-muted);background:#fffaf5}@media(max-width:1180px)and (min-width:761px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){body{background:var(--future-bg)}.mobile-topbar,.sidebar{border-color:var(--future-line);background:#fffdf9f5}.module-nav-item.active{color:var(--future-accent-dark);border-color:#efb79f;background:var(--future-accent-soft)}.page-head{min-height:102px}.kpi-grid,.balance-stats,.report-kpi-grid,.daily-profit-stats{gap:10px}.metric-card{min-height:72px;padding:13px}}.module-page,.channel-balance-page,.cost-management-page,.daily-profit-page,.dispatch-records-page,.settings-page{display:grid;gap:16px}.page-head{display:flex;align-items:center;justify-content:space-between;min-height:86px}.page-title{max-width:760px}.dispatch-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:14px;align-items:stretch}.dispatch-dashboard-grid .kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:14px}.dispatch-dashboard-grid .metric-card{min-height:88px}.metric-card-lead{background:linear-gradient(135deg,#fff0e8c7,#fffdf9f5),var(--future-card)}.runtime-panel{display:grid;align-content:start;gap:8px;min-height:88px;padding:14px;border:1px solid rgba(234,223,210,.92);border-radius:var(--future-radius);background:var(--future-card);box-shadow:var(--future-shadow)}.runtime-panel>div{display:grid;gap:2px;padding-bottom:4px}.runtime-panel>div strong{color:var(--future-text);font-size:15px;font-weight:900}.runtime-panel .runtime-switch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;justify-content:stretch;width:100%;min-height:36px;padding:0 10px}.runtime-panel .runtime-switch span{justify-content:flex-start}.control-panel{position:static;display:grid;gap:12px}.tabs-scroll{min-height:34px}.control-bar{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:10px;align-items:end}.control-bar-right{display:grid;grid-template-columns:minmax(104px,124px) 96px auto minmax(108px,122px) minmax(104px,116px) minmax(100px,112px) 38px;align-items:end;justify-items:stretch;gap:8px;justify-content:flex-end}.control-bar-right .switch-field,.control-bar-right .bare-select,.control-bar-right .view-mode-toggle{flex:0 0 auto}.control-bar-right .switch-field{min-width:0;width:100%;padding-inline:8px;white-space:nowrap}.control-bar-right .switch-field span{display:inline-flex;white-space:nowrap}.control-bar-right .bare-select{min-width:0;width:100%}.control-bar-right .icon-button{flex:0 0 auto}.control-bar-right .select-field,.control-bar-right .field{min-width:0}.control-bar-right .select-field select,.control-bar-right .field input{width:100%}.control-bar-right .view-mode-toggle{justify-content:center;min-width:132px}.control-bar-right .switch-field span{gap:4px;font-size:13px}.group-context{min-height:90px;align-items:stretch}.group-context>div{align-content:center}.balance-stats,.report-kpi-grid,.daily-profit-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.channel-balance-page .balance-stats,.cost-management-page .balance-stats{order:1}.channel-balance-page .balance-actions-bar,.cost-management-page .balance-actions-bar{order:2}.channel-balance-page .table-wrap,.cost-management-page .cost-upstream-list{order:3}.balance-actions-bar{display:grid;grid-template-columns:minmax(300px,1fr) auto;gap:12px;align-items:end;min-height:76px}.balance-actions-right{justify-content:flex-end}.balance-actions-right .inline-field{min-width:148px}.cost-upstream-list{display:grid;gap:14px}.cost-history-panel{order:4}.daily-profit-toolbar{display:grid;grid-template-columns:minmax(180px,.35fr) minmax(220px,.45fr) auto auto;gap:12px;align-items:end}.daily-profit-toolbar .primary-button{align-self:end;min-height:42px}.daily-profit-summary-stack{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);grid-template-areas:"hero stats" "income income";gap:14px;align-items:stretch}.profit-hero-card{grid-area:hero}.daily-profit-summary-stack .daily-profit-stats{grid-area:stats}.profit-income-section{grid-area:income}.daily-profit-summary-stack .daily-profit-stats .metric-card{min-height:100%}.profit-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-trend-panel{min-height:340px}.settings-shell{display:grid;gap:14px}.settings-subnav-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.settings-page .settings-subnav{justify-self:end}@media(max-width:1320px){.dispatch-dashboard-grid{grid-template-columns:1fr}.runtime-panel{grid-template-columns:minmax(160px,1fr) repeat(3,minmax(0,1fr));align-items:center}.runtime-panel>div{padding-bottom:0}}@media(max-width:1180px){.dispatch-dashboard-grid .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.control-bar,.balance-actions-bar,.daily-profit-toolbar,.daily-profit-summary-stack{grid-template-columns:1fr;grid-template-areas:none}.profit-hero-card,.daily-profit-summary-stack .daily-profit-stats,.profit-income-section{grid-area:auto}.balance-actions-right,.control-bar-right{justify-content:flex-start}.profit-analysis-grid{grid-template-columns:1fr}}@media(max-width:760px){.module-page,.channel-balance-page,.cost-management-page,.daily-profit-page,.dispatch-records-page,.settings-page{gap:10px}.page-head{min-height:auto;align-items:flex-start}.dispatch-dashboard-grid,.dispatch-dashboard-grid .kpi-grid,.runtime-panel,.balance-stats,.report-kpi-grid,.daily-profit-stats{grid-template-columns:1fr}.runtime-panel{gap:7px}.control-bar,.control-bar-right,.balance-actions-bar,.balance-actions-right,.daily-profit-toolbar,.daily-profit-summary-stack,.settings-subnav-panel{display:grid;grid-template-columns:1fr}.control-bar-right,.balance-actions-right{justify-content:stretch}.balance-actions-right .inline-field,.balance-actions-right .primary-button,.balance-actions-right .ghost-button,.daily-profit-toolbar .primary-button{width:100%}}@media(min-width:761px){.workspace{display:grid;align-content:start;max-width:1680px;min-height:100vh;padding:22px 28px 44px}.module-page,.channel-balance-page,.cost-management-page,.daily-profit-page,.dispatch-records-page,.settings-page{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start}.page-head{min-height:auto;padding:4px 2px 8px;border:0;border-radius:0;background:transparent;box-shadow:none}.page-title{gap:6px;max-width:820px}.page-title h1{font-size:27px;line-height:1.08}.page-title p{max-width:780px;line-height:1.52}.dispatch-dashboard-grid{grid-template-columns:minmax(0,1fr) 292px;gap:14px}.dispatch-dashboard-grid .kpi-grid{grid-template-columns:minmax(190px,1.18fr) repeat(4,minmax(136px,1fr));gap:12px}.metric-card{min-height:86px;padding:16px 17px;display:grid;align-content:space-between}.metric-card strong{font-size:24px}.metric-card-lead{border:1px solid rgba(239,183,159,.7)}.runtime-panel{min-height:86px;padding:12px;gap:7px;box-shadow:var(--future-shadow-sm)}.runtime-panel>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 2px 4px}.runtime-panel>div strong{font-size:14px}.runtime-panel .runtime-switch{min-height:34px;border-radius:8px}.control-panel{gap:10px;padding:12px;box-shadow:var(--future-shadow-sm)}.tabs-scroll{min-height:34px;padding-bottom:0}.tab{min-height:32px;padding:0 12px;border-radius:8px}.control-bar{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(520px,1.18fr) 42px;gap:10px;align-items:end}.dispatch-filter-group,.dispatch-strategy-group,.dispatch-refresh-group{min-width:0;display:grid;align-items:end;gap:8px}.dispatch-filter-group{grid-template-columns:minmax(230px,1fr) minmax(112px,128px)}.dispatch-strategy-group{grid-template-columns:minmax(96px,110px) minmax(124px,134px) minmax(108px,120px) minmax(104px,116px) minmax(96px,106px);justify-content:end}.dispatch-refresh-group{grid-template-columns:42px}.control-bar .search-field,.control-bar .select-field select,.control-bar .field input,.control-bar .bare-select{min-height:40px}.control-bar .search-field{padding-inline:12px}.ttft-field{width:auto}.ttft-field span{font-size:12px}.view-mode-toggle{min-height:40px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border:1px solid var(--future-line-strong);border-radius:9px;background:#fffaf5}.view-mode-button{min-width:0;min-height:32px;padding:0 7px;justify-content:center}.switch-field{min-height:40px;padding:0 9px;border-radius:8px;gap:6px}.switch-field span{gap:4px;font-size:12px}.bare-select{min-height:40px;border-radius:8px}.dispatch-refresh-group .icon-button{width:42px;height:40px;border-radius:8px}.group-context{min-height:76px;padding:0;overflow:hidden;box-shadow:var(--future-shadow-sm)}.group-context>div{display:grid;align-content:center;min-height:76px;padding:12px 16px}.channel-grid-large{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.channel-grid-medium{grid-template-columns:repeat(auto-fill,minmax(292px,1fr))}.channel-grid-compact{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}.channel-card-large{min-height:390px}.channel-card-medium{min-height:250px}.channel-card-compact{min-height:176px}.channel-card .card-header{align-items:flex-start}.channel-card .card-title h2{line-height:1.24}.channel-card .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-card .card-controls{grid-template-columns:minmax(86px,.74fr) minmax(86px,.74fr) minmax(150px,1.1fr) 42px 42px;align-items:end}.channel-card .card-controls .field input,.channel-card .card-controls .field select{min-height:38px}.balance-stats,.daily-profit-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.balance-actions-bar,.cost-actions-bar{grid-template-columns:minmax(340px,.86fr) minmax(0,1.14fr);min-height:auto;padding:12px;align-items:end;box-shadow:var(--future-shadow-sm)}.balance-actions-right{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px}.balance-actions-right .inline-field{flex:0 1 150px;min-width:132px}.cost-actions-bar .balance-actions-right .inline-field{flex-basis:132px}.balance-actions-right .ghost-button,.balance-actions-right .primary-button{min-height:40px;border-radius:8px;white-space:nowrap}.table-wrap{overflow:hidden;box-shadow:var(--future-shadow-sm)}.balance-table th,.balance-table td,.dispatch-record-table th,.dispatch-record-table td{padding-top:13px;padding-bottom:13px}.cost-upstream-card{box-shadow:var(--future-shadow-sm)}.cost-upstream-card>header{align-items:center}.cost-account-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.dispatch-report-filters{display:grid;grid-template-columns:minmax(180px,220px) minmax(150px,180px) minmax(260px,1fr);gap:10px;align-items:end;box-shadow:var(--future-shadow-sm)}.report-generated-at{justify-self:end;min-width:260px}.report-reason-strip{display:grid;grid-template-columns:168px minmax(0,1fr);align-items:center;min-height:72px;padding:14px 16px;box-shadow:var(--future-shadow-sm)}.daily-profit-toolbar{grid-template-columns:minmax(174px,200px) minmax(220px,1fr) 94px auto;min-height:auto;box-shadow:var(--future-shadow-sm)}.daily-profit-summary-stack{grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);grid-template-areas:"hero stats" "income income";gap:12px}.profit-hero-card{min-height:184px;box-shadow:var(--future-shadow-sm)}.profit-income-section,.profit-panel,.profit-dimension-panel{box-shadow:var(--future-shadow-sm)}.profit-analysis-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,.82fr);gap:12px}.profit-dimension-panel{min-height:248px}.profit-trend-panel{min-height:320px}.settings-page .settings-shell{grid-template-columns:216px minmax(0,1fr);align-items:start;gap:14px}.settings-page .settings-subnav-panel{position:sticky;top:22px;display:grid;grid-template-columns:1fr;gap:12px;padding:14px;box-shadow:var(--future-shadow-sm)}.settings-page .settings-subnav{display:grid;gap:6px;padding:4px}.settings-page .settings-subnav-item{min-height:40px;border-radius:8px}.settings-card{box-shadow:var(--future-shadow-sm)}.balance-dialog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:860px}.balance-dialog header,.balance-dialog footer,.balance-dialog .dialog-error,.balance-dialog .dialog-switches{grid-column:1 / -1}.balance-dialog textarea,.balance-dialog .dialog-full-field{grid-column:1 / -1}.balance-dialog footer{margin:0 -18px -18px}}@media(min-width:1181px)and (max-width:1440px){.workspace{padding-inline:22px}.control-bar{grid-template-columns:1fr}.dispatch-filter-group{grid-template-columns:minmax(260px,1fr) minmax(118px,150px)}.dispatch-strategy-group{grid-template-columns:minmax(96px,112px) minmax(126px,140px) minmax(110px,124px) minmax(108px,122px) minmax(100px,114px) 42px}.dispatch-refresh-group{grid-column:6;grid-row:1}.dispatch-filter-group,.dispatch-strategy-group{width:100%}.dispatch-dashboard-grid{grid-template-columns:1fr}.runtime-panel{grid-template-columns:minmax(170px,1fr) repeat(3,minmax(150px,1fr))}}@media(max-width:1180px){.control-bar,.dispatch-filter-group,.dispatch-strategy-group,.dispatch-refresh-group,.balance-actions-bar,.daily-profit-toolbar,.dispatch-report-filters,.report-reason-strip,.settings-page .settings-shell{grid-template-columns:1fr}.dispatch-refresh-group{justify-items:stretch}.dispatch-refresh-group .icon-button{width:100%}.report-generated-at{justify-self:stretch;min-width:0}.profit-analysis-grid{grid-template-columns:1fr}}.tabs:has(.tabs-scroll:empty),.tabs-scroll:empty{display:none}@media(min-width:761px){.control-panel:has(.tabs-scroll:empty){padding-top:12px}.control-panel:has(.tabs-scroll:empty) .control-bar{align-items:center}.cost-actions-bar{grid-template-columns:minmax(300px,1fr) auto}.cost-actions-bar .balance-actions-right{display:grid;grid-template-columns:96px 96px 128px 86px 112px;align-items:end;justify-content:end;gap:8px}.cost-actions-bar .balance-actions-right .inline-field{min-width:0;width:96px}.cost-actions-bar .balance-actions-right .compact-switch{min-width:128px;min-height:40px;border-radius:8px;padding-inline:9px}.cost-actions-bar .balance-actions-right .ghost-button,.cost-actions-bar .balance-actions-right .primary-button{width:100%;padding-inline:10px}.profit-analysis-grid .profit-dimension-panel:last-child{grid-column:auto}.settings-page .settings-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px}.settings-page .settings-subnav-panel{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:auto!important;padding:14px 16px!important;align-items:center}.settings-page .settings-subnav-panel>.eyebrow{align-self:center}.settings-page .settings-subnav{justify-self:end;display:inline-grid;grid-auto-flow:column;grid-auto-columns:max-content}.settings-page .settings-subnav-item{min-width:136px;justify-content:start}.balance-empty-row td,.empty-report-row{height:190px;text-align:center;vertical-align:middle;color:var(--future-muted)}}@media(min-width:1181px)and (max-width:1440px){.cost-actions-bar{grid-template-columns:1fr}.cost-actions-bar .balance-actions-right{justify-content:start}}@media(max-width:760px){.settings-page .settings-subnav-panel{min-height:auto;padding:12px}}@media(min-width:761px){.dispatch-dashboard-grid{grid-template-columns:minmax(0,1fr) 254px;align-items:start}.dispatch-dashboard-grid .kpi-grid{align-self:start;grid-template-columns:minmax(174px,1.22fr) repeat(4,minmax(128px,1fr))}.dispatch-dashboard-grid .metric-card{min-height:74px;padding:12px 16px;align-content:center;gap:7px}.dispatch-dashboard-grid .metric-card strong{margin-top:0;font-size:22px;line-height:1.05}.dispatch-dashboard-grid .metric-card:nth-child(5) strong{font-size:20px}.runtime-panel{display:grid;grid-template-columns:1fr;gap:6px;padding:10px}.runtime-panel>div{min-height:24px;padding:0 2px 2px}.runtime-panel .runtime-switch{min-height:30px;padding:0 8px}.runtime-panel .runtime-switch input{flex-basis:28px;width:28px;height:16px}.runtime-panel .runtime-switch input:before{width:10px;height:10px}.runtime-panel .runtime-switch input:checked:before{transform:translate(12px)}.control-panel{gap:9px;padding:10px 12px}.tabs-scroll{min-height:auto}.control-bar{grid-template-columns:minmax(360px,.86fr) minmax(520px,1.14fr) 40px;gap:8px;align-items:center}.dispatch-filter-group,.dispatch-strategy-group,.dispatch-refresh-group{gap:7px;align-items:center}.control-bar .select-field,.control-bar .field{gap:0}.control-bar .select-field>span,.control-bar .field>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.control-bar .ttft-field{display:grid;grid-template-columns:auto minmax(46px,1fr) auto;align-items:center;gap:6px;width:136px;min-width:136px;min-height:38px;padding:0 8px;border:1px solid var(--future-line-strong);border-radius:8px;background:#fffdf9}.control-bar .ttft-field>span{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;color:var(--future-muted);font-size:12px;font-weight:850;white-space:nowrap}.control-bar .ttft-field:after{color:var(--future-muted);font-size:12px;font-weight:800;content:"秒"}.control-bar .search-field,.control-bar .select-field select,.control-bar .field input,.control-bar .bare-select,.dispatch-refresh-group .icon-button{min-height:38px;height:38px}.control-bar .ttft-field input{min-width:46px;min-height:34px;height:34px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:right}.control-bar .ttft-field:focus-within{border-color:var(--future-accent);box-shadow:0 0 0 3px #d45f3d24}.view-mode-toggle{min-height:38px}.view-mode-button{min-height:30px}.switch-field{min-height:38px}.group-context{display:flex;flex-wrap:wrap;gap:8px;min-height:0;padding:0;border:0;overflow:visible;background:transparent;box-shadow:none}.group-context>div{flex:0 1 auto;min-width:220px;min-height:54px;padding:9px 13px;border:1px solid rgba(234,223,210,.92)!important;border-radius:10px;background:var(--future-card);box-shadow:var(--future-shadow-sm)}.group-context>div:first-child{min-width:270px}.group-context>div:nth-child(2){min-width:260px}.group-context strong{font-size:13px}.channel-grid-large{grid-template-columns:repeat(auto-fill,minmax(318px,360px));justify-content:start;align-items:start}.channel-card-large{min-height:0}.channel-card-large .metric-grid{gap:8px}.channel-card-large .metric-block{min-height:66px;padding:11px 13px}.monitor-panel{padding:12px}.monitor-panel .availability{grid-template-columns:minmax(0,1fr) auto;min-height:34px}.monitor-panel .availability strong{font-size:24px}.monitor-panel .dual-timeline{gap:8px}.monitor-panel .timeline{height:18px}.channel-card .card-controls{gap:8px}}@media(min-width:1181px)and (max-width:1440px){.dispatch-dashboard-grid{grid-template-columns:minmax(0,1fr) 254px}.runtime-panel{grid-template-columns:1fr}.control-bar{grid-template-columns:minmax(320px,1fr)}.dispatch-refresh-group{grid-column:auto;grid-row:auto}.dispatch-strategy-group{grid-template-columns:136px minmax(126px,140px) minmax(110px,124px) minmax(108px,122px) minmax(100px,114px) 40px}.dispatch-refresh-group{grid-column:6;grid-row:1}}@media(max-width:760px){.group-context{display:grid;grid-template-columns:1fr}}@media(min-width:761px){.dispatch-dashboard-grid{grid-template-columns:1fr;gap:8px;padding:12px;border:1px solid rgba(234,223,210,.92);border-radius:var(--future-radius);background:var(--future-card);box-shadow:var(--future-shadow-sm)}.dispatch-dashboard-grid .metric-card,.dispatch-dashboard-grid .runtime-panel{border-radius:9px;box-shadow:none}.dispatch-dashboard-grid .metric-card{border:1px solid rgba(234,223,210,.68);background:#fffaf5}.dispatch-dashboard-grid .metric-card-lead{background:linear-gradient(135deg,#fff0e8d1,#fffaf5f5),#fffaf5}.dispatch-dashboard-grid .runtime-panel{border:1px solid rgba(234,223,210,.68);background:#fffaf5}.dispatch-dashboard-grid .kpi-grid{grid-template-columns:minmax(174px,1.22fr) repeat(4,minmax(128px,1fr))}.dispatch-dashboard-grid .runtime-panel{grid-template-columns:minmax(132px,.8fr) repeat(3,minmax(156px,1fr));align-items:center;min-height:38px;padding:6px 8px}.dispatch-dashboard-grid .runtime-panel>div{min-height:28px;padding:0}.dispatch-dashboard-grid .runtime-panel .runtime-switch{min-height:28px}.control-panel{gap:10px}.control-panel .group-context{margin-top:0;padding-top:10px;border-top:1px solid rgba(234,223,210,.78)}.control-panel .group-context>div{min-height:46px;padding:7px 11px;box-shadow:none;background:#fffaf5}.control-panel .group-context>div:first-child,.control-panel .group-context>div:nth-child(2){min-width:0}.channel-grid-large{grid-template-columns:repeat(auto-fill,minmax(410px,1fr));max-width:1180px}.channel-card-large{overflow:hidden}.channel-card-large .card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px}.channel-card-large .probe-model-field{grid-column:1 / 3}.channel-card-large .card-controls .icon-button{align-self:end}.channel-card-large .card-controls .field input,.channel-card-large .card-controls .field select{min-width:0}}@media(min-width:1181px)and (max-width:1440px){.dispatch-dashboard-grid{grid-template-columns:1fr}.dispatch-dashboard-grid .runtime-panel{grid-template-columns:minmax(132px,.8fr) repeat(3,minmax(144px,1fr))}}.timeline-wrap{--timeline-track-width: 100%;--timeline-tick-width: 3px;min-width:0}.timeline-head,.timeline-axis,.timeline{width:var(--timeline-track-width)}.timeline{grid-template-columns:repeat(60,minmax(0,1fr));justify-content:start;justify-items:center;gap:0;align-items:end;height:16px;overflow:visible}.timeline-bar{position:relative;display:block;width:var(--timeline-tick-width);min-width:var(--timeline-tick-width);height:12px;border-radius:1.5px;box-shadow:none;cursor:help}.timeline-bar:after{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:30;max-width:280px;padding:6px 8px;border:1px solid rgba(24,34,48,.18);border-radius:8px;background:#111b28f5;box-shadow:0 10px 24px #14233438;color:#fff;content:attr(data-tooltip);font-size:11px;font-weight:800;line-height:1.25;opacity:0;pointer-events:none;text-align:center;transform:translate(-50%,4px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap}.timeline-bar:hover:after{opacity:1;transform:translate(-50%)}.timeline-bar.status-healthy{height:14px;background:#18c47a;box-shadow:none}.timeline-bar.status-degraded,.timeline-bar.status-cooldown{height:11px;background:#f0a51f;box-shadow:none}.timeline-bar.status-failed{height:8px;background:#ef4141;box-shadow:none}.timeline-bar.status-idle,.timeline-bar.status-empty{height:5px;background:#d8dee6;box-shadow:none}.monitor-panel .timeline{height:16px;margin-top:7px}.monitor-panel .timeline-bar{width:var(--timeline-tick-width);min-width:var(--timeline-tick-width);height:12px;border-radius:1.5px;box-shadow:none}.monitor-panel .timeline-bar.status-healthy{height:14px;background:#18c47a;box-shadow:none}.monitor-panel .timeline-bar.status-degraded,.monitor-panel .timeline-bar.status-cooldown{height:11px;background:#f0a51f;box-shadow:none}.monitor-panel .timeline-bar.status-failed{height:8px;background:#ef4141;box-shadow:none}.monitor-panel .timeline-bar.status-idle,.monitor-panel .timeline-bar.status-empty{height:5px;background:#d8dee6;box-shadow:none}.compact-timeline div{grid-template-columns:repeat(28,3px);justify-content:start;gap:2px}.compact-timeline i{width:3px;height:5px;border-radius:1.5px;background:#d8dee6}.compact-timeline .status-healthy{height:10px;background:#18c47a}.compact-timeline .status-degraded,.compact-timeline .status-cooldown{height:8px;background:#f0a51f}.compact-timeline .status-failed{height:6px;background:#ef4141}.compact-timeline .status-idle,.compact-timeline .status-empty{height:4px;background:#d8dee6}@media(min-width:1181px){.channel-grid-large{grid-template-columns:repeat(auto-fill,minmax(340px,380px));gap:12px;justify-content:start;max-width:none}.channel-card-large{gap:10px;min-height:0;padding:11px 12px;border-radius:14px}.channel-card-large .card-header{gap:9px}.channel-card-large .provider-mark{width:34px;height:34px;border-radius:11px}.channel-card-large .provider-mark svg{width:21px;height:21px}.channel-card-large .card-title h2{font-size:15px;line-height:1.18}.channel-card-large .tags{gap:4px;margin-top:5px}.channel-card-large .tag{min-height:18px;padding:2px 6px;border-radius:6px;font-size:10px}.channel-card-large .status-badge{padding:5px 8px;border-radius:8px;font-size:11px}.channel-card-large .metric-grid{gap:7px}.channel-card-large .metric-block{min-height:58px;padding:9px 10px;border-radius:12px}.channel-card-large .metric-label{font-size:11px}.channel-card-large .metric-value{margin-top:5px}.channel-card-large .metric-value strong{font-size:22px}.channel-card-large .monitor-panel{gap:9px;padding:10px;border-radius:13px}.channel-card-large .monitor-panel .availability{min-height:28px}.channel-card-large .monitor-panel .availability span,.channel-card-large .monitor-panel .timeline-head,.channel-card-large .monitor-panel .timeline-axis{font-size:10px}.channel-card-large .monitor-panel .availability strong{font-size:23px}.channel-card-large .monitor-panel .timeline-head span:last-child{padding:1px 6px;font-size:9px}.channel-card-large .monitor-panel .timeline{height:15px;margin-top:5px}.channel-card-large .monitor-panel .timeline-wrap{padding-top:8px}.channel-card-large .card-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px 36px;gap:7px;padding:10px;border-radius:13px}.channel-card-large .card-controls .field{gap:4px}.channel-card-large .card-controls .field span{font-size:11px}.channel-card-large .card-controls .field input,.channel-card-large .card-controls .field select{min-height:34px;height:34px;padding-inline:9px;border-radius:9px;font-size:12px}.channel-card-large .card-controls .icon-button{width:36px;min-width:36px;height:36px;min-height:36px;border-radius:10px}.channel-card-large .card-foot{font-size:11px}.control-bar{grid-template-columns:minmax(420px,.86fr) minmax(0,max-content) 40px;justify-content:start;align-items:center}.dispatch-filter-group{grid-template-columns:minmax(280px,1fr) minmax(124px,136px);justify-content:start}.dispatch-strategy-group{grid-template-columns:136px minmax(126px,134px) minmax(110px,122px) minmax(108px,122px) minmax(100px,114px);justify-content:start}.dispatch-refresh-group{justify-self:start}}@media(min-width:761px){.dispatch-records-page{gap:10px}.dispatch-records-page .page-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:0 2px 4px}.dispatch-records-page .page-title{gap:3px;max-width:760px}.dispatch-records-page .page-title h1{font-size:23px;line-height:1.05}.dispatch-records-page .page-title p{max-width:760px;font-size:12px;line-height:1.35}.dispatch-records-page .eyebrow{font-size:11px}.dispatch-records-page .page-head .compact-action{min-height:34px;padding:0 12px;border-radius:8px;font-size:12px}.dispatch-records-page .dispatch-report-filters{grid-template-columns:minmax(160px,190px) minmax(130px,154px) minmax(220px,1fr);gap:8px;padding:8px 10px;border-radius:12px}.dispatch-records-page .dispatch-report-filters .select-field{gap:4px}.dispatch-records-page .dispatch-report-filters .select-field span{font-size:11px}.dispatch-records-page .dispatch-report-filters .select-field select{min-height:34px;height:34px;border-radius:8px;font-size:12px}.dispatch-records-page .report-generated-at{min-height:36px;min-width:220px;gap:2px}.dispatch-records-page .report-generated-at span,.dispatch-records-page .report-generated-at strong{font-size:11px}.dispatch-records-page .report-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.dispatch-records-page .report-metric{min-height:58px;padding:10px 12px;border-radius:10px}.dispatch-records-page .report-metric span{font-size:11px}.dispatch-records-page .report-metric strong{margin-top:2px;font-size:21px;line-height:1}.dispatch-records-page .report-metric:nth-child(5) strong,.dispatch-records-page .report-metric:nth-child(6) strong{font-size:19px}.dispatch-records-page .report-reason-strip{grid-template-columns:150px minmax(0,1fr);min-height:48px;padding:9px 12px;border-radius:12px}.dispatch-records-page .report-reason-strip strong{font-size:16px}.dispatch-records-page .reason-chip-row{gap:6px}.dispatch-records-page .reason-chip{min-height:26px;padding:0 8px;border-radius:8px;font-size:11px}.dispatch-records-page .dispatch-record-table-wrap{border-radius:12px}.dispatch-records-page .dispatch-record-table{min-width:1040px}.dispatch-records-page .dispatch-record-table th,.dispatch-records-page .dispatch-record-table td{padding:8px 10px}.dispatch-records-page .dispatch-record-table th{font-size:11px}.dispatch-records-page .dispatch-record-table td,.dispatch-records-page .record-time-cell strong,.dispatch-records-page .record-stack strong{font-size:12px}.dispatch-records-page .record-time-cell,.dispatch-records-page .record-stack,.dispatch-records-page .cost-delta{gap:2px}.dispatch-records-page .record-time-cell span,.dispatch-records-page .record-stack span{font-size:11px}.dispatch-records-page .cost-delta{min-width:108px;padding:4px 7px;border-radius:8px}.dispatch-records-page .cost-delta strong{font-size:12px}.dispatch-records-page .score-change{padding:4px 7px;border-radius:8px;font-size:12px}.dispatch-records-page .reason-cell{max-width:360px;padding:5px 8px;border-radius:8px;font-size:12px}.dispatch-records-page .empty-report-row{height:120px}.dispatch-records-page .table-pagination{margin-top:8px;padding:8px 10px;border-radius:10px}.dispatch-records-page .table-pagination span{font-size:11px}.dispatch-records-page .table-pagination .compact-action{min-height:30px;padding:0 10px;border-radius:8px;font-size:12px}}@media(min-width:761px){.channel-balance-page{gap:10px}.channel-balance-page .page-head{padding:0 2px 4px}.channel-balance-page .page-title{gap:3px;max-width:760px}.channel-balance-page .page-title h1{font-size:23px;line-height:1.05}.channel-balance-page .page-title p{max-width:760px;font-size:12px;line-height:1.35}.channel-balance-page .eyebrow{font-size:11px}.channel-balance-page .balance-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.channel-balance-page .balance-stats .metric-card{min-height:58px;padding:10px 12px;border-radius:10px}.channel-balance-page .balance-stats .metric-card span{font-size:11px}.channel-balance-page .balance-stats .metric-card strong{margin-top:2px;font-size:21px;line-height:1}.channel-balance-page .balance-actions-bar{grid-template-columns:minmax(240px,480px) auto;gap:8px;min-height:0;padding:8px 10px;border-radius:12px;align-items:center}.channel-balance-page .search-box{width:100%;max-width:480px;min-height:34px;height:34px;border-radius:8px;padding-inline:10px}.channel-balance-page .search-box input{font-size:12px}.channel-balance-page .balance-actions-right{display:flex;align-items:center;gap:7px}.channel-balance-page .balance-actions-right .inline-field{display:grid;grid-template-columns:max-content 66px max-content;align-items:center;flex:0 0 auto;min-width:0;gap:6px}.channel-balance-page .balance-actions-right .inline-field span,.channel-balance-page .balance-actions-right .inline-field small{font-size:11px}.channel-balance-page .balance-actions-right .inline-field input{width:66px;min-height:34px;height:34px;padding-inline:8px;border-radius:8px;font-size:12px}.channel-balance-page .balance-actions-right .ghost-button,.channel-balance-page .balance-actions-right .primary-button{min-height:34px;padding:0 12px;border-radius:8px;font-size:12px}.channel-balance-page .table-wrap{border-radius:12px}.channel-balance-page .balance-table{table-layout:fixed;min-width:1120px}.channel-balance-page .balance-table th:nth-child(1),.channel-balance-page .balance-table td:nth-child(1){width:17%}.channel-balance-page .balance-table th:nth-child(2),.channel-balance-page .balance-table td:nth-child(2){width:7%;text-align:center}.channel-balance-page .balance-table th:nth-child(3),.channel-balance-page .balance-table td:nth-child(3){width:13%}.channel-balance-page .balance-table th:nth-child(4),.channel-balance-page .balance-table td:nth-child(4){width:7%;text-align:center}.channel-balance-page .balance-table th:nth-child(5),.channel-balance-page .balance-table td:nth-child(5){width:10%;min-width:0}.channel-balance-page .balance-table th:nth-child(6),.channel-balance-page .balance-table td:nth-child(6){width:16%}.channel-balance-page .balance-table th:nth-child(7),.channel-balance-page .balance-table td:nth-child(7){width:10%}.channel-balance-page .balance-table th:nth-child(8),.channel-balance-page .balance-table td:nth-child(8){width:11%;text-align:center}.channel-balance-page .balance-table th:nth-child(9),.channel-balance-page .balance-table td:nth-child(9){width:9%;text-align:center}.channel-balance-page .balance-table th,.channel-balance-page .balance-table td{padding:8px 10px}.channel-balance-page .balance-table th{font-size:11px}.channel-balance-page .balance-table td,.channel-balance-page .balance-table td:first-child strong,.channel-balance-page .balance-value-cell strong{font-size:12px}.channel-balance-page .balance-table td:first-child span,.channel-balance-page .balance-value-cell span,.channel-balance-page .balance-updated-at{margin-top:2px;font-size:11px}.channel-balance-page .balance-name-cell{display:grid;gap:2px;max-width:190px}.channel-balance-page .balance-name-cell strong,.channel-balance-page .balance-name-cell a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-balance-page .balance-name-cell a{color:#53677c;font-size:11px;font-weight:750;text-decoration:none}.channel-balance-page .balance-name-cell a:hover{color:var(--future-accent-dark);text-decoration:underline}.channel-balance-page .balance-status-actions{display:grid;grid-template-columns:repeat(2,max-content);gap:4px}.channel-balance-page .balance-type-pill,.channel-balance-page .balance-state-pill,.channel-balance-page .balance-threshold{min-height:24px;min-width:0;padding:0 8px;border-radius:8px;font-size:11px}.channel-balance-page .balance-status-actions .balance-state-pill{width:auto;min-width:42px;margin:0;cursor:pointer}.channel-balance-page .balance-type-pill{min-width:70px}.channel-balance-page .balance-threshold{min-width:64px}.channel-balance-page .balance-status-actions .balance-state-pill:not(.enabled):hover{border-color:#d7c1b2;background:#fff4ed}.channel-balance-page .balance-remark-cell{display:block;max-width:130px;overflow:hidden;color:#53677c;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.channel-balance-page .balance-table .row-actions{gap:5px}.channel-balance-page .balance-table .row-actions .icon-button{width:30px;min-width:30px;height:30px;min-height:30px;border-radius:8px}.channel-balance-page .balance-empty-row td{height:120px}}.toast-viewport{top:16px!important;right:auto!important;bottom:auto!important;left:50%;z-index:2400;display:grid;width:min(560px,calc(100vw - 32px));pointer-events:none;transform:translate(-50%)}.app-toast{width:100%;animation:toast-top-center-in .18s ease-out}@keyframes toast-top-center-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:761px){.channel-balance-page .balance-table{min-width:1040px}.channel-balance-page .balance-table th,.channel-balance-page .balance-table td{vertical-align:middle}.channel-balance-page .balance-table td{height:54px}.channel-balance-page .balance-table th:nth-child(1),.channel-balance-page .balance-table td:nth-child(1){width:18%}.channel-balance-page .balance-table th:nth-child(2),.channel-balance-page .balance-table td:nth-child(2){width:7%}.channel-balance-page .balance-table th:nth-child(3),.channel-balance-page .balance-table td:nth-child(3){width:13%}.channel-balance-page .balance-table th:nth-child(4),.channel-balance-page .balance-table td:nth-child(4){width:8%}.channel-balance-page .balance-table th:nth-child(5),.channel-balance-page .balance-table td:nth-child(5){width:10%}.channel-balance-page .balance-table th:nth-child(6),.channel-balance-page .balance-table td:nth-child(6){width:13%;text-align:center}.channel-balance-page .balance-table th:nth-child(7),.channel-balance-page .balance-table td:nth-child(7){width:11%;text-align:center}.channel-balance-page .balance-table th:nth-child(8),.channel-balance-page .balance-table td:nth-child(8){width:10%}.channel-balance-page .balance-table th:nth-child(9),.channel-balance-page .balance-table td:nth-child(9){width:10%}.channel-balance-page .balance-name-cell{max-width:210px}.channel-balance-page .balance-status-actions{display:grid;grid-template-columns:repeat(2,58px);justify-content:center;gap:5px 6px}.channel-balance-page .balance-status-switch{position:relative;display:inline-grid;grid-template-columns:max-content 28px;align-items:center;justify-content:center;gap:5px;min-height:18px;color:#617087;font-size:11px;font-weight:850;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none}.channel-balance-page .balance-status-switch.enabled{color:#087a56}.channel-balance-page .balance-status-switch input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}.channel-balance-page .balance-status-switch i{position:relative;display:inline-block;width:28px;height:16px;border:1px solid #c9d5df;border-radius:999px;background:#d9e1e8;box-shadow:inset 0 1px 2px #14233417;transition:background .16s ease,border-color .16s ease}.channel-balance-page .balance-status-switch i:after{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #14233438;content:"";transition:transform .16s ease}.channel-balance-page .balance-status-switch input:checked+i{border-color:#73ddbd;background:#15bf83}.channel-balance-page .balance-status-switch input:checked+i:after{transform:translate(12px)}.channel-balance-page .balance-status-switch input:focus-visible+i{outline:3px solid rgba(10,153,222,.24);outline-offset:2px}.channel-balance-page .balance-type-pill,.channel-balance-page .balance-threshold{margin-inline:auto}.channel-balance-page .balance-remark-cell{max-width:140px;margin-inline:auto;text-align:center}.channel-balance-page .balance-table .row-actions{gap:4px}.channel-balance-page .balance-table .row-actions .icon-button{width:28px;min-width:28px;height:28px;min-height:28px}}.modal-backdrop{display:flex!important;align-items:center;justify-content:center;overflow:auto;padding:36px 24px}.balance-dialog{width:min(860px,calc(100vw - 48px));max-height:calc(100dvh - 72px);margin:auto;overflow-y:auto;overscroll-behavior:contain}.balance-dialog header{top:0;margin:-18px -18px 0}.balance-dialog footer{bottom:0}@media(max-height:760px){.modal-backdrop{align-items:flex-start;padding-block:18px}.balance-dialog{max-height:calc(100dvh - 36px)}}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.dispatch-records-page,.channel-balance-page,.cost-management-page,.daily-profit-page{padding-top:0}.dispatch-records-page>.page-head,.channel-balance-page>.page-head,.cost-management-page>.page-head,.daily-profit-page>.page-head{display:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}.dispatch-records-page>:first-child,.channel-balance-page>:first-child,.cost-management-page>:first-child,.daily-profit-page>:first-child{margin-top:0!important}@media(min-width:761px){.dispatch-records-page,.channel-balance-page,.cost-management-page,.daily-profit-page{gap:8px}.channel-balance-page .balance-stats,.cost-management-page .balance-stats{margin-top:0}.channel-balance-page .balance-actions-right .inline-field,.cost-management-page .balance-actions-right .inline-field{display:grid;grid-template-columns:max-content 66px max-content;align-items:center;gap:6px}.cost-management-page .balance-actions-right .inline-field{grid-template-columns:max-content 72px max-content}.cost-management-page .cost-actions-bar{grid-template-columns:1fr;align-items:stretch;gap:8px}.cost-management-page .cost-actions-bar .search-box{width:100%;max-width:none;min-width:0;min-height:40px;height:40px}.cost-management-page .cost-actions-bar .balance-actions-right{display:grid;grid-template-columns:max-content max-content 128px 86px 112px;justify-content:start;align-items:center;gap:8px}.cost-management-page .cost-actions-bar .balance-actions-right .inline-field{width:auto;min-width:0;grid-template-columns:max-content 58px max-content}.cost-management-page .cost-actions-bar .balance-actions-right .compact-switch,.cost-management-page .cost-actions-bar .balance-actions-right .ghost-button,.cost-management-page .cost-actions-bar .balance-actions-right .primary-button{min-height:34px;height:34px;border-radius:8px}.cost-management-page .balance-stats{gap:10px}.cost-management-page .balance-stats .metric-card{min-height:64px;padding:12px 16px;border-radius:12px}.cost-management-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:12px;order:3}.cost-management-body .cost-upstream-list{min-width:0;gap:12px}.cost-management-page .cost-upstream-card{padding:12px;border-radius:12px}.cost-management-page .cost-upstream-card>header{padding-bottom:8px;border-bottom:1px solid var(--future-line)}.cost-management-page .cost-upstream-card h2{font-size:16px;line-height:1.15}.cost-management-page .cost-upstream-card p{margin-top:3px;font-size:12px}.cost-management-page .cost-upstream-meta strong{min-height:30px;padding:0 10px;border-radius:8px;font-size:12px}.cost-management-page .cost-upstream-meta .icon-button{width:30px;height:30px;min-height:30px;border-radius:8px}.cost-management-page .cost-account-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;margin-top:10px}.cost-management-page .cost-account-card{gap:8px;min-height:0;padding:10px;border-radius:10px;box-shadow:none}.cost-management-page .cost-account-card>header{align-items:center}.cost-management-page .cost-account-card>header strong{font-size:14px}.cost-management-page .cost-account-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.cost-management-page .cost-value{padding:7px 8px;border-radius:8px}.cost-management-page .cost-account-card footer{gap:8px}.cost-management-page .cost-history-panel{position:sticky;top:14px;gap:10px;max-height:calc(100dvh - 28px);overflow:auto;padding:12px;border-radius:12px}.cost-management-page .cost-history-panel>header{padding-bottom:8px;border-bottom:1px solid var(--future-line)}.cost-management-page .cost-history-panel .eyebrow{font-size:11px}.cost-management-page .cost-history-panel h2{font-size:16px;line-height:1.15}.cost-management-page .cost-history-list{gap:8px}.cost-management-page .cost-history-item{grid-template-columns:8px minmax(0,1fr);gap:8px;padding:10px}.cost-management-page .cost-history-values{grid-column:2;justify-self:stretch;align-items:start;text-align:left}.channel-balance-page .balance-actions-right .inline-field small,.cost-management-page .balance-actions-right .inline-field small{position:static;display:inline-grid;place-items:center;min-width:34px;height:34px;margin:0;padding:0 8px;border:1px solid var(--future-line);border-radius:8px;background:#fffaf5;color:#53677c;font-size:11px;font-weight:850;line-height:1}.channel-balance-page .balance-actions-right .inline-field input,.cost-management-page .balance-actions-right .inline-field input{width:100%;min-height:34px;height:34px;padding-inline:8px;text-align:center}.dispatch-records-page .dispatch-report-filters{grid-template-columns:minmax(160px,190px) minmax(130px,154px) minmax(220px,1fr) auto;align-items:end}.dispatch-records-page .dispatch-report-filters .compact-action{min-height:34px;padding:0 12px;border-radius:8px;font-size:12px;white-space:nowrap}}@media(min-width:761px)and (max-width:1280px){.cost-management-body{grid-template-columns:1fr}.cost-management-page .cost-history-panel{position:static;max-height:none}.cost-management-page .cost-history-item{grid-template-columns:8px minmax(0,1fr) auto}.cost-management-page .cost-history-values{grid-column:auto;justify-self:end;text-align:right}}@media(max-width:760px){.cost-management-body{display:grid;gap:10px}.cost-management-page .cost-account-grid{grid-template-columns:1fr}}.cost-management-page{gap:8px}@media(min-width:761px){.cost-management-page .balance-stats{gap:8px}.cost-management-page .balance-stats .metric-card{min-height:50px;padding:8px 12px;border-radius:10px}.cost-management-page .balance-stats .metric-card span{font-size:11px}.cost-management-page .balance-stats .metric-card strong{margin-top:2px;font-size:20px;line-height:1}.cost-management-page .cost-actions-bar{gap:6px;padding:8px 10px;border-radius:10px}.cost-management-page .cost-actions-bar .search-box{min-height:34px;height:34px;border-radius:8px}.cost-management-page .cost-actions-bar .balance-actions-right{grid-template-columns:max-content max-content 132px 76px 98px;gap:6px}.cost-management-page .cost-actions-bar .balance-actions-right .inline-field{grid-template-columns:max-content 50px max-content;gap:5px;font-size:11px}.cost-management-page .cost-actions-bar .balance-actions-right .inline-field input,.cost-management-page .cost-actions-bar .balance-actions-right .inline-field small,.cost-management-page .cost-actions-bar .balance-actions-right .compact-switch,.cost-management-page .cost-actions-bar .balance-actions-right .ghost-button,.cost-management-page .cost-actions-bar .balance-actions-right .primary-button{min-height:30px;height:30px;border-radius:7px;font-size:11px}.cost-management-page .cost-actions-bar .balance-actions-right .inline-field small{min-width:30px;padding-inline:6px}.cost-management-page .cost-actions-bar .balance-actions-right .compact-switch{min-width:132px;padding-inline:8px;justify-content:center;white-space:nowrap}.cost-management-page .cost-actions-bar .balance-actions-right .compact-switch span,.cost-management-page .cost-actions-bar .balance-actions-right .compact-switch strong{white-space:nowrap}.cost-management-body{grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:10px}.cost-management-page .cost-upstream-card{padding:10px 12px;border-radius:10px}.cost-management-page .cost-upstream-card>header{align-items:center;min-height:32px;padding-bottom:6px}.cost-management-page .cost-upstream-card h2{font-size:15px}.cost-management-page .cost-upstream-card p{font-size:11px}.cost-management-page .cost-upstream-meta{align-items:center}.cost-management-page .cost-upstream-meta strong,.cost-management-page .cost-upstream-meta .icon-button{display:inline-flex;align-items:center;justify-content:center}.cost-management-page .cost-account-list{display:grid;margin-top:8px;overflow:hidden;border:1px solid var(--future-line);border-radius:9px;background:#fffdf9}.cost-management-page .cost-account-list-head,.cost-management-page .cost-account-row{display:grid;grid-template-columns:minmax(128px,1.15fr) minmax(54px,.45fr) minmax(84px,.7fr) minmax(84px,.7fr) minmax(56px,.48fr) minmax(68px,.56fr) minmax(92px,.72fr) minmax(126px,1.24fr);align-items:center;gap:8px}.cost-management-page .cost-account-list-head{min-height:30px;padding:0 10px;border-bottom:1px solid var(--future-line);background:#fff8ef;color:#7a8797;font-size:11px;font-weight:850}.cost-management-page .cost-account-row{min-height:42px;padding:6px 10px;border:0;border-bottom:1px solid rgba(224,213,201,.72);background:#fffdf9}.cost-management-page .cost-account-row:last-child{border-bottom:0}.cost-management-page .cost-account-row.tone-warn{background:#fffaf0}.cost-management-page .cost-account-row.tone-bad{background:#fff6f4}.cost-account-main{display:grid;min-width:0;gap:2px}.cost-account-main strong,.cost-account-main span,.cost-row-number strong,.cost-row-number span,.cost-row-message,.cost-row-time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cost-account-main strong{color:#111827;font-size:13px;font-weight:900}.cost-account-main span,.cost-row-number span,.cost-row-time,.cost-row-message{color:#65758a;font-size:11px;font-weight:750}.cost-row-number{display:grid;min-width:0;gap:1px}.cost-row-number strong,.cost-row-money,.cost-row-change{color:#101828;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.cost-row-change.warn{color:#c2410c}.cost-row-change.good{color:#047857}.cost-management-page .cost-account-row .cost-status-pill{justify-self:start;min-height:22px;padding:0 7px;border-radius:7px;font-size:11px;white-space:nowrap}.cost-row-message{min-width:0;margin:0}.cost-management-page .cost-history-panel{padding:10px;border-radius:10px}.cost-management-page .cost-history-item{min-height:0;gap:7px;padding:7px;border-radius:9px}.cost-management-page .cost-history-panel .eyebrow{font-size:10px}.cost-management-page .cost-history-panel h2{font-size:14px}.cost-management-page .cost-history-item strong{font-size:12px;line-height:1.2}.cost-management-page .cost-history-item p,.cost-management-page .cost-history-values span,.cost-management-page .cost-history-values strong,.cost-management-page .cost-history-values em{font-size:11px;line-height:1.25}.cost-management-page .cost-history-item p,.cost-management-page .cost-history-values span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cost-history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-top:2px}.cost-history-pagination button{min-height:26px;padding:0 8px;border:1px solid var(--future-line);border-radius:7px;background:#fffaf5;color:#52667c;font-size:11px;font-weight:850}.cost-history-pagination button:disabled{cursor:not-allowed;opacity:.45}.cost-history-pagination span{color:#617087;font-size:11px;font-weight:850}}@media(min-width:761px)and (max-width:1799px){.cost-management-body{grid-template-columns:1fr}.cost-management-page .cost-history-panel{position:static;max-height:none}.cost-management-page .cost-history-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.cost-management-page .cost-history-item{grid-template-columns:8px minmax(0,1fr) auto}.cost-management-page .cost-history-values{grid-column:auto;justify-self:end;text-align:right}}@media(min-width:761px)and (max-width:1280px){.cost-management-page .cost-account-list-head,.cost-management-page .cost-account-row{grid-template-columns:minmax(124px,1.2fr) minmax(52px,.5fr) minmax(80px,.75fr) minmax(80px,.75fr) minmax(54px,.52fr) minmax(66px,.6fr) minmax(112px,1.15fr)}.cost-management-page .cost-account-list-head span:nth-child(7),.cost-management-page .cost-account-row .cost-row-time{display:none}}@media(max-width:760px){.cost-management-page .cost-account-list{display:grid;gap:8px}.cost-management-page .cost-account-list-head{display:none}.cost-management-page .cost-account-row{display:grid;gap:6px;padding:10px;border:1px solid var(--future-line);border-radius:10px;background:#fffdf9}}.daily-profit-page{gap:8px}@media(min-width:761px){.daily-profit-page .daily-profit-toolbar{display:grid;grid-template-columns:minmax(150px,200px) minmax(180px,1fr) 82px auto;align-items:end;gap:8px;min-height:0;padding:8px 10px;border-radius:10px}.daily-profit-page .daily-profit-toolbar .inline-field{width:auto;min-width:0;gap:4px;font-size:11px}.daily-profit-page .daily-profit-toolbar .inline-field input,.daily-profit-page .daily-profit-toolbar .inline-field select{min-height:34px;height:34px;border-radius:8px;font-size:12px}.daily-profit-page .daily-profit-toolbar .primary-button,.daily-profit-page .profit-complete{min-height:34px;height:34px;border-radius:8px;font-size:12px;white-space:nowrap}.daily-profit-page .daily-profit-summary-stack{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(340px,1fr) minmax(300px,1.05fr);grid-template-areas:"hero stats income";align-items:stretch;gap:10px}.daily-profit-page .profit-hero-card{min-height:104px;padding:14px 16px;border-radius:10px}.daily-profit-page .profit-hero-card .eyebrow,.daily-profit-page .profit-income-section h2,.daily-profit-page .profit-panel .eyebrow,.daily-profit-page .profit-dimension-panel .eyebrow{font-size:11px}.daily-profit-page .profit-hero-card strong{margin-top:4px;font-size:32px;line-height:1}.daily-profit-page .profit-hero-card p{margin-top:8px;font-size:12px;line-height:1.25}.daily-profit-page .profit-hero-card b{margin-top:8px;min-height:24px;padding:0 10px;font-size:12px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card{min-height:64px;padding:8px 10px;border-radius:10px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card span{font-size:11px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card strong{margin-top:2px;font-size:19px;line-height:1.05}.daily-profit-page .profit-income-section{gap:8px;min-height:0;padding:10px;border-radius:10px}.daily-profit-page .profit-income-section header{padding-bottom:5px;border-bottom:1px solid var(--future-line)}.daily-profit-page .profit-income-section h2{margin:0}.daily-profit-page .profit-income-section .profit-source-list,.daily-profit-page .profit-source-list{display:grid;grid-template-columns:1fr;gap:6px}.daily-profit-page .profit-source-row{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:42px;padding:7px 8px;border-radius:9px;box-shadow:none}.daily-profit-page .profit-source-row p{margin-top:1px;font-size:11px;line-height:1.2}.daily-profit-page .profit-source-row i,.daily-profit-page .profit-composition-item i{height:4px}.daily-profit-page .profit-source-row>strong{font-size:13px}.daily-profit-page .profit-source-row>strong small{font-size:10px}.daily-profit-page .profit-analysis-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(240px,.74fr);align-items:start;gap:10px}.daily-profit-page .profit-dimension-panel,.daily-profit-page .profit-panel{align-self:start;gap:8px;min-height:0;padding:10px;border-radius:10px}.daily-profit-page .profit-dimension-panel h2,.daily-profit-page .profit-panel h2{font-size:15px}.daily-profit-page .profit-composition-list{gap:6px}.daily-profit-page .profit-composition-item{gap:4px;min-height:44px;padding:7px 8px;border-radius:9px}.daily-profit-page .profit-composition-item strong{font-size:12px}.daily-profit-page .profit-composition-item span,.daily-profit-page .profit-composition-item em{font-size:11px}.daily-profit-page .profit-efficiency-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.daily-profit-page .profit-efficiency-grid span{min-height:52px;padding:8px;border-radius:9px}.daily-profit-page .profit-efficiency-grid strong{margin-top:3px;font-size:16px}.daily-profit-page .profit-trend-panel{min-height:0;padding:10px;border-radius:10px}.daily-profit-page .profit-trend-panel>header{align-items:center}.daily-profit-page .profit-trend-chart{height:152px;border-radius:9px}.daily-profit-page .profit-chart-summary{gap:8px 14px;font-size:11px}.daily-profit-page .profit-cost-grid{display:grid;grid-template-columns:1fr;gap:8px}.daily-profit-page .profit-cost-list{gap:6px;max-height:360px}.daily-profit-page .profit-cost-row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(110px,.72fr) minmax(360px,2fr);gap:8px;min-height:44px;padding:8px;border-radius:9px}.daily-profit-page .profit-cost-main{gap:2px}.daily-profit-page .profit-cost-main span,.daily-profit-page .profit-cost-status small,.daily-profit-page .profit-cost-value em{font-size:11px}.daily-profit-page .profit-cost-value b,.daily-profit-page .profit-cost-value strong{font-size:12px}}@media(min-width:761px)and (max-width:1360px){.daily-profit-page .daily-profit-summary-stack{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);grid-template-areas:"hero stats" "income income"}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-profit-page .profit-analysis-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(220px,.78fr)}.daily-profit-page .profit-dimension-panel:last-child{grid-column:auto}}@media(min-width:761px)and (max-width:1120px){.daily-profit-page .daily-profit-summary-stack{grid-template-columns:1fr;grid-template-areas:"hero" "stats" "income"}.daily-profit-page .profit-analysis-grid{grid-template-columns:1fr}}@media(max-width:760px){.daily-profit-page .daily-profit-summary-stack,.daily-profit-page .profit-analysis-grid{display:grid;grid-template-columns:1fr;gap:8px}.daily-profit-page .profit-cost-row{grid-template-columns:1fr}}@media(min-width:761px){.daily-profit-page .daily-profit-toolbar{grid-template-columns:minmax(190px,220px) minmax(260px,1fr) 82px auto;align-items:center;padding:7px 10px}.daily-profit-page .daily-profit-toolbar .inline-field{display:grid;grid-template-columns:auto max-content minmax(0,1fr);align-items:center;gap:7px}.daily-profit-page .daily-profit-toolbar .inline-field svg{width:15px;height:15px}.daily-profit-page .daily-profit-toolbar .inline-field>span{white-space:nowrap}.daily-profit-page .daily-profit-toolbar .inline-field input,.daily-profit-page .daily-profit-toolbar .inline-field select{min-width:0}.daily-profit-page .daily-profit-summary-stack{grid-template-columns:minmax(300px,.78fr) minmax(360px,.95fr) minmax(360px,1fr);grid-template-areas:"hero stats income";align-items:start}.daily-profit-page .profit-hero-card{min-height:132px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats{grid-template-columns:repeat(2,minmax(0,1fr));align-self:start}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card{min-height:62px}.daily-profit-page .profit-income-section{align-self:start}.daily-profit-page .profit-analysis-grid{align-items:start}.daily-profit-page .profit-dimension-panel{align-content:start;height:auto!important;min-height:0!important}.daily-profit-page .profit-dimension-panel:last-child{grid-column:auto!important}.daily-profit-page .profit-composition-item{grid-template-columns:minmax(0,1fr) auto;align-items:center}.daily-profit-page .profit-composition-item>div{min-width:0}.daily-profit-page .profit-composition-item em{justify-self:end;white-space:nowrap}.daily-profit-page .profit-composition-item i{grid-column:1 / -1}.daily-profit-page .profit-efficiency-grid span{min-height:48px}}@media(min-width:761px)and (max-width:1360px){.daily-profit-page .daily-profit-summary-stack{grid-template-columns:minmax(290px,.8fr) minmax(0,1.2fr);grid-template-areas:"hero stats" "income income"}}@media(min-width:761px){.daily-profit-page .profit-hero-card{position:relative;align-self:stretch;min-height:0!important;height:132px;padding:12px 14px}.daily-profit-page .profit-hero-card strong{margin-top:6px;font-size:28px;line-height:1}.daily-profit-page .profit-hero-card p{margin-top:8px;font-size:11px}.daily-profit-page .profit-hero-card b{position:absolute;top:10px;right:12px;margin-top:0;min-height:22px;padding:0 9px;font-size:11px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats{align-self:stretch}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card{min-height:62px}}.daily-profit-page .profit-efficiency-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.daily-profit-page .profit-efficiency-strip span{display:grid;min-width:0;min-height:52px;align-content:center;gap:4px;padding:8px 10px;border:1px solid #dce7ef;border-radius:10px;background:#fffefa;box-shadow:var(--future-shadow-sm)}.daily-profit-page .profit-efficiency-strip em,.daily-profit-page .profit-efficiency-strip strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daily-profit-page .profit-efficiency-strip em{color:#64748b;font-size:11px;font-style:normal;font-weight:850}.daily-profit-page .profit-efficiency-strip strong{color:#101828;font-size:17px;font-weight:950;font-variant-numeric:tabular-nums}.daily-profit-page .profit-split-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}.daily-profit-page .profit-split-stack .profit-dimension-panel{align-self:start;height:auto!important;min-height:0!important}.daily-profit-page .profit-split-stack .profit-composition-list{display:grid;gap:6px}@media(min-width:761px){.daily-profit-page{grid-template-columns:minmax(0,1fr)!important;gap:8px}.daily-profit-page>*{grid-column:1 / -1!important}.daily-profit-page>.profit-income-section{grid-area:auto!important}.daily-profit-page .daily-profit-summary-stack{grid-template-columns:minmax(300px,.42fr) minmax(0,1fr);grid-template-areas:"hero stats";align-items:stretch;gap:8px}.daily-profit-page .profit-hero-card{height:118px;padding:11px 13px}.daily-profit-page .profit-hero-card strong{margin-top:5px;font-size:25px}.daily-profit-page .profit-hero-card p{margin-top:7px;font-size:11px}.daily-profit-page .profit-hero-card b{top:9px;right:10px;min-height:20px;padding:0 8px;font-size:10px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;height:118px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card{min-height:56px;padding:8px 9px}.daily-profit-page .daily-profit-summary-stack .daily-profit-stats .metric-card strong{font-size:17px}.daily-profit-page .profit-income-section{display:grid;grid-template-rows:auto 1fr;height:auto;min-height:0;gap:6px;padding:8px;overflow:visible}.daily-profit-page .profit-income-section header{padding-bottom:4px}.daily-profit-page .profit-income-section .profit-source-list{min-height:0;overflow:visible;align-content:start;grid-template-columns:1fr!important;gap:6px}.daily-profit-page .profit-source-row{width:100%;min-height:38px;padding:6px 7px}.daily-profit-page .profit-efficiency-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.daily-profit-page .profit-dimension-panel,.daily-profit-page .profit-panel{padding:9px}.daily-profit-page .profit-composition-item{min-height:40px;padding:6px 7px}.daily-profit-page .profit-cost-list{max-height:420px;overflow:auto}}@media(min-width:761px)and (max-width:1320px){.daily-profit-page .daily-profit-summary-stack{grid-template-columns:minmax(276px,.76fr) minmax(0,1.24fr);grid-template-areas:"hero stats"}.daily-profit-page .profit-split-stack{grid-template-columns:1fr}}@media(max-width:760px){.daily-profit-page .profit-efficiency-strip,.daily-profit-page .profit-split-stack{grid-template-columns:1fr;gap:8px}.daily-profit-page .profit-efficiency-strip span{min-height:48px}}.notification-settings-page,.system-settings-page{gap:10px}.notification-settings-page .settings-head,.system-settings-page .settings-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:74px;padding:10px 14px;border-radius:12px}.notification-settings-page .settings-head .page-title,.system-settings-page .settings-head .page-title{gap:3px}.notification-settings-page .settings-head h1,.system-settings-page .settings-head h1{font-size:22px}.notification-settings-page .settings-head .page-title p,.system-settings-page .settings-head .page-title p{max-width:900px;margin-top:3px;font-size:12px;line-height:1.35}.notification-settings-page .notification-status-card,.system-settings-page .notification-status-card{min-width:146px;min-height:64px;gap:3px;padding:10px 12px;border-radius:12px}.notification-settings-page .notification-status-card svg,.system-settings-page .notification-status-card svg{width:15px;height:15px}.notification-settings-page .notification-status-card span,.system-settings-page .notification-status-card span{font-size:11px}.notification-settings-page .notification-status-card strong,.system-settings-page .notification-status-card strong{font-size:14px}.notification-settings-page .notification-layout{grid-template-columns:minmax(0,1fr) minmax(340px,.92fr);align-items:start;gap:10px}.notification-settings-page .settings-card,.system-settings-page .settings-card{gap:10px;min-height:0!important;padding:16px;border-radius:12px}.notification-settings-page .notification-card{min-height:0!important;align-content:start}.notification-settings-page .settings-card-head,.system-settings-page .settings-card-head{gap:10px;padding-bottom:8px}.notification-settings-page .settings-card-head h2,.system-settings-page .settings-card-head h2{gap:6px;font-size:14px}.notification-settings-page .settings-card-head h2 svg,.system-settings-page .settings-card-head h2 svg{width:15px;height:15px}.notification-settings-page .settings-help,.system-settings-page .settings-help{font-size:12px;line-height:1.45}.notification-settings-page .settings-form-grid,.system-settings-page .settings-form-grid{gap:9px}.notification-settings-page .field,.system-settings-page .field{gap:5px}.notification-settings-page .field>span,.system-settings-page .field>span{font-size:12px}.notification-settings-page input:not([type=checkbox]),.notification-settings-page select,.system-settings-page input:not([type=checkbox]),.system-settings-page select{min-height:36px;border-radius:9px;font-size:13px}.notification-settings-page .compact-switch,.system-settings-page .inline-runtime-switch{min-height:32px;padding-inline:8px 10px;border-radius:9px;font-size:12px}.notification-settings-page .notification-preview{gap:10px;min-height:0!important}.notification-settings-page .message-preview-title{padding:8px 12px}.notification-settings-page .message-preview-body{gap:3px;padding:10px 12px}.notification-settings-page .message-preview-box p{font-size:11px;line-height:1.38}.notification-settings-page .settings-actions{min-height:52px;padding:8px 12px;border-radius:12px}.notification-settings-page .settings-action-buttons{gap:8px}.notification-settings-page .settings-action-buttons button{min-height:34px;border-radius:9px;font-size:13px}.system-settings-page .system-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}.system-settings-page .system-setting-card{gap:10px}.system-settings-page .system-probe-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.system-settings-page .system-status-list{gap:8px}.system-settings-page .system-status-list div{min-height:34px;padding:8px 10px;border-radius:9px}.system-settings-page{width:100%;max-width:1280px;margin-inline:auto;align-content:start}.system-settings-page .settings-head{min-height:0;padding:2px 2px 8px;border:0;border-radius:0;background:transparent;box-shadow:none}.system-settings-page .settings-head .page-title p{max-width:760px}.system-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);align-items:start;gap:10px}.system-main-column,.system-side-column{display:grid;align-content:start;gap:10px;min-width:0}.system-settings-page .system-control-card{gap:8px;padding:13px}.system-settings-page .system-data-card,.system-settings-page .system-task-card{padding:13px}.system-mode-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border:1px solid #d9e3ec;border-radius:8px;color:#64748b;background:#f7fafc;font-size:12px;font-weight:900;white-space:nowrap}.system-mode-pill.active{border-color:#a6ecd4;color:#087a56;background:#ecfdf7}.system-control-list{display:grid;gap:8px}.system-control-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(138px,156px);align-items:center;gap:10px;min-width:0;padding:9px 10px;border:1px solid #e5d8c8;border-radius:10px;background:#fffdf9}.system-control-copy{display:grid;gap:3px;min-width:0}.system-control-copy strong{display:flex;align-items:center;gap:6px;min-width:0;color:#162033;font-size:13px;font-weight:950}.system-control-copy p{margin:0;color:#586a80;font-size:12px;line-height:1.38}.system-settings-page .inline-runtime-switch{justify-self:end;width:100%;min-width:0;min-height:30px}.system-probe-row{align-items:start}.system-probe-row .system-probe-fields{grid-column:1 / -1;padding-top:8px;border-top:1px dashed #e7d8c5}.system-settings-page .system-probe-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.system-settings-page .system-number-field input,.system-settings-page .system-number-field select{min-height:32px}.system-settings-page .system-data-card{grid-template-columns:minmax(220px,.45fr) minmax(0,1fr);align-items:start;gap:8px 10px}.system-settings-page .system-data-card .settings-card-head,.system-settings-page .system-data-card .settings-help{grid-column:1 / -1}.system-settings-page .system-data-card>.field{min-width:0}.system-settings-page .system-status-list{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(140px,.8fr);gap:8px;margin:0}.system-settings-page .system-status-list div{min-height:32px;padding:7px 9px}.system-settings-page .system-status-list dt,.system-settings-page .system-status-list dd{white-space:nowrap}.system-side-column .system-status-card{min-width:0;min-height:82px;padding:12px}.system-side-column .system-task-card{gap:8px}@media(max-width:1180px){.notification-settings-page .notification-layout,.system-settings-layout,.system-settings-page .system-settings-grid,.system-settings-page .system-probe-fields{grid-template-columns:1fr}.notification-settings-page .notification-preview{grid-column:auto;grid-row:auto}}@media(max-width:760px){.notification-settings-page .settings-head,.system-settings-page .settings-head,.system-control-row,.system-settings-page .system-data-card{grid-template-columns:1fr}.system-settings-page .inline-runtime-switch{justify-self:stretch}.system-settings-page .system-probe-fields,.system-settings-page .system-status-list{grid-template-columns:1fr}}
