:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f8fa;--surface:#fff;--surface-2:#f2f4f7;--surface-3:#e9edf2;--text:#17191c;--muted:#6f7680;--border:#e1e5ea;--border-strong:#cfd5dc;--accent:#3f5d7d;--accent-hover:#304a66;--accent-soft:#edf3f9;--profit:#169b55;--profit-soft:#ebf8f1;--loss:#df3138;--loss-soft:#fff0f1;--warning:#a4670a;--warning-soft:#fff8e9;--shadow-float:0 18px 48px #10182821, 0 2px 8px #10182812;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f1012;--surface:#17191d;--surface-2:#1d2025;--surface-3:#242830;--text:#f1f3f5;--muted:#9ba1aa;--border:#2a2d33;--border-strong:#3a3f47;--accent:#9fb4cc;--accent-hover:#c0ccda;--accent-soft:#1d2633;--profit:#45d17f;--profit-soft:#14281d;--loss:#ff686d;--loss-soft:#351a1d;--warning:#e0b35d;--warning-soft:#2b2518;--shadow-float:0 20px 60px #0000006b, 0 2px 10px #0000004d}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--border);background:var(--surface);z-index:20;flex-direction:column;align-items:stretch;width:176px;display:flex;position:fixed;inset:0 auto 0 0}.brand,.login-mark{background:var(--text);width:32px;height:32px;color:var(--surface);border-radius:7px;place-items:center;font-weight:700;display:grid}.brand{margin:18px 16px 30px}.sidebar nav{gap:6px;width:100%;padding:0 10px;display:grid}.sidebar nav a,.bottom-nav a{color:var(--muted);justify-content:center;align-items:center;text-decoration:none;display:flex}.sidebar nav a{border-radius:9px;justify-content:flex-start;gap:12px;height:46px;padding:0 13px;font-size:13px;font-weight:500;transition:color .15s,background-color .15s;position:relative}.sidebar nav a:hover,.sidebar nav a.active{background:var(--surface-2);color:var(--text)}.sidebar nav a.active:before{content:"";background:var(--text);border-radius:0 3px 3px 0;width:3px;height:24px;animation:.18s ease-out nav-indicator;position:absolute;left:-10px}.sidebar-account{border-top:1px solid var(--border);align-items:center;gap:10px;min-width:0;margin:auto 12px 16px;padding:10px;display:flex}.sidebar-avatar{background:var(--surface-2);width:30px;height:30px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.sidebar-account>span:last-child{min-width:0;display:grid}.sidebar-account strong,.sidebar-account small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-account strong{font-size:12px}.sidebar-account small{color:var(--muted);font-size:11px}@keyframes nav-indicator{0%{opacity:0;transform:scaleY(.45)}to{opacity:1;transform:scaleY(1)}}.workspace{width:calc(100% - 176px);margin-left:176px}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:flex-end;align-items:center;gap:8px;height:68px;padding:0 28px;display:flex}.topbar-user{color:var(--muted)}.content{max-width:1504px;margin:auto;padding:28px 32px 88px}.bottom-nav{display:none}.page{gap:20px;display:grid}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.page-header h1{letter-spacing:-.035em;margin:0;font-size:23px;line-height:1.2}.page-header p{color:var(--muted);margin:6px 0 0}.page-title-row{align-items:center;gap:14px;display:flex}.monthly-profit{color:var(--muted);border-left:1px solid var(--border);font-variant-numeric:tabular-nums;padding-left:14px}.button,.icon-button,.text-button{background:0 0;border:0;justify-content:center;align-items:center;gap:7px;display:inline-flex}.button{border-radius:7px;min-height:36px;padding:0 13px;font-weight:600}.button--secondary{border:1px solid var(--border-strong);background:var(--surface)}.button--secondary:hover{background:var(--surface-2)}.button--danger{color:var(--loss);border:1px solid color-mix(in srgb, var(--loss), transparent 65%);background:var(--loss-soft)}.button--full{width:100%}.icon-button{width:36px;height:36px;color:var(--muted);border-radius:7px;margin:0}.icon-button:hover{background:var(--surface-2);color:var(--text)}.text-button{color:var(--muted);padding:6px}.text-button:hover{color:var(--text)}.toolbar{align-items:center;gap:8px;display:flex}.toolbar select,.toolbar>input,.filter-panel select,.filter-panel input,.date-range input{background:var(--surface);border:1px solid var(--border-strong);border-radius:7px;height:36px;padding:0 10px}.toolbar-spacer{flex:1}.search-box{border:1px solid var(--border-strong);background:var(--surface);max-width:420px;height:36px;color:var(--muted);border-radius:7px;flex:1;align-items:center;padding-left:10px;display:flex}.search-box input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;padding:0 8px}.search-box button{border:0;border-left:1px solid var(--border);height:100%;color:var(--muted);background:0 0;padding:0 11px}.filter-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:end;gap:12px;padding:14px;display:flex}.filter-panel label{color:var(--muted);gap:6px;font-size:12px;display:grid}.filter-panel__mobile-only{display:none!important}.table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;height:48px;padding:0 14px}th{height:40px;color:var(--muted);background:var(--surface-2);font-size:12px;font-weight:500}tbody tr:last-child td{border-bottom:0}tbody tr:hover,tbody tr.is-selected{background:var(--accent-soft)}[data-focused=true]{box-shadow:inset 3px 0 0 var(--warning);animation:1.5s ease-out focused-transaction;background:var(--warning-soft)!important}@keyframes focused-transaction{0%{background:color-mix(in srgb, var(--warning), transparent 72%);box-shadow:inset 4px 0 0 var(--warning), inset 0 0 0 1px color-mix(in srgb, var(--warning), transparent 45%)}to{background:var(--warning-soft);box-shadow:inset 3px 0 0 var(--warning)}}.check-cell{width:42px;padding-right:0}.number{text-align:right;font-variant-numeric:tabular-nums}.sort-button{color:inherit;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.number .sort-button{margin-left:auto}.row-title{text-align:left;background:0 0;border:0;padding:0;font-weight:600;display:grid}.editable-field{max-width:100%;color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:2px 3px}.editable-field:hover{background:color-mix(in srgb, var(--accent), transparent 90%);color:var(--accent)}.editable-field:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.number .editable-field{margin-left:auto}.note-cell .editable-field{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}@media (width<=680px){.mobile-row__heading>.editable-field{text-align:left;flex:1;min-width:0}.mobile-row__heading>.editable-field strong{display:block}}.product-cell{min-width:260px;max-width:360px}.note-cell{text-overflow:ellipsis;min-width:180px;max-width:280px;overflow:hidden}.muted{color:var(--muted)}.profit{color:var(--profit);font-variant-numeric:tabular-nums}.loss{color:var(--loss);font-variant-numeric:tabular-nums}.status{border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;display:inline-flex}.status--已售出{color:var(--profit);background:var(--profit-soft)}.status--在售中{color:var(--accent);background:var(--accent-soft)}.status--自用中{color:var(--warning);background:var(--warning-soft)}.status--已退货{color:var(--loss);background:var(--loss-soft)}.mobile-list{display:none}.state,.empty-state{border:1px solid var(--border);background:var(--surface);min-height:280px;color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.state--error strong{color:var(--loss)}.spinner{border:2px solid var(--border);border-top-color:var(--text);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.pagination{color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.bulk-bar{z-index:30;background:var(--text);color:var(--surface);border-radius:8px;align-items:center;gap:18px;padding:10px 12px 10px 16px;display:flex;position:fixed;bottom:24px;left:calc(50% + 36px);transform:translate(-50%);box-shadow:0 8px 30px #0000002e}.bulk-bar div{gap:4px;display:flex}.bulk-bar button{color:inherit;background:#7f7f7f2e;border:0;border-radius:5px;padding:6px 9px}.drawer-layer{z-index:50;position:fixed;inset:0}.drawer-backdrop{background:#00000047;border:0;width:100%;position:absolute;inset:0}.drawer{background:var(--surface);border-left:1px solid var(--border);flex-direction:column;width:min(460px,100%);display:flex;position:absolute;inset:0 0 0 auto}.drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:76px;padding:0 22px;display:flex}.drawer h2{margin:0;font-size:18px}.drawer header p{color:var(--muted);margin:4px 0 0;font-size:12px}.drawer form{flex-direction:column;flex:1;gap:17px;padding:22px;display:flex;overflow:auto}.drawer label,.login-panel label{color:var(--muted);gap:7px;font-size:12px;font-weight:600;display:grid}.drawer input,.drawer select,.drawer textarea,.login-panel input{border:1px solid var(--border-strong);background:var(--surface);width:100%;color:var(--text);border-radius:7px;padding:9px 10px}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.drawer footer{border-top:1px solid var(--border);justify-content:space-between;margin-top:auto;padding-top:20px;display:flex}.drawer footer div{gap:8px;display:flex}.calculated-field{border:1px solid var(--border);background:var(--surface-2);border-radius:7px;grid-template-columns:1fr auto;align-items:baseline;gap:5px 12px;padding:11px 12px;display:grid}.calculated-field span,.calculated-field small{color:var(--muted)}.calculated-field strong{font-variant-numeric:tabular-nums}.calculated-field small{grid-column:1/-1}.form-error{color:var(--loss);background:var(--loss-soft);border-radius:6px;padding:9px 11px}.confirm-layer{z-index:80;background:#00000052;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(380px,100%);padding:20px}.confirm-dialog h2{margin:0;font-size:17px}.confirm-dialog p{color:var(--muted);margin:10px 0 20px;line-height:1.6}.confirm-dialog__actions{justify-content:flex-end;gap:8px;display:flex}.mobile-export-actions{display:none}.data-note{border-left:3px solid var(--warning);background:var(--warning-soft);color:var(--muted);border-radius:0 7px 7px 0;padding:11px 13px}.toast{z-index:60;border:1px solid var(--border);background:var(--text);color:var(--surface);border-radius:7px;padding:10px 14px;position:fixed;bottom:24px;right:24px}.login-page{place-items:center;min-height:100vh;padding:20px;display:grid}.login-panel{background:var(--surface);border:1px solid var(--border);border-radius:9px;gap:15px;width:min(360px,100%);padding:30px;display:grid}.login-panel h1{margin:0;font-size:22px}.login-panel p{color:var(--muted);margin:-8px 0 8px}.metric-grid{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(5,1fr);display:grid;overflow:hidden}.metric{border-right:1px solid var(--border);padding:20px}.metric:last-child{border-right:0}.metric span{color:var(--muted);font-size:12px}.metric strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:10px;font-size:24px;display:block}.panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;padding:20px}.panel>header{justify-content:space-between;align-items:center;display:flex}.panel h2{margin:0;font-size:15px}.panel header span{color:var(--muted);font-size:12px}.simple-chart{align-items:flex-end;gap:18px;height:230px;padding-top:30px;display:flex;overflow-x:auto}.simple-chart__item{min-width:72px;height:100%;color:var(--muted);grid-template-rows:18px 1fr 20px;justify-items:center;font-size:11px;display:grid}.simple-chart__plot{grid-template-rows:1fr 1fr;justify-items:center;width:100%;height:160px;display:grid;position:relative}.simple-chart__plot:after{content:"";border-top:1px solid var(--border);position:absolute;inset:50% 0 auto}.simple-chart i{border-radius:3px 3px 0 0;width:22px;display:block}.simple-chart__plot[data-direction=positive] i{transform-origin:bottom;grid-row:1;align-self:end}.simple-chart__plot[data-direction=negative] i{transform-origin:top;grid-row:2;align-self:start}.bar-negative{background:var(--loss)}.analytics-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.chart{height:320px;margin-top:20px}.date-range{color:var(--muted);align-items:center;gap:8px;display:flex}.stat-list{margin-top:14px}.analytics-stat-card{border-color:color-mix(in srgb, var(--border), var(--accent) 8%);border-radius:14px;padding:18px;box-shadow:0 8px 24px #0f172a0e}.analytics-stat-card__header{gap:9px;justify-content:flex-start!important}.analytics-stat-card__title-mark{background:var(--accent);border-radius:999px;flex:none;width:7px;height:20px}.stat-list>div,.settings-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:44px;display:flex}.stat-list>div:last-child,.settings-list>div:last-child{border-bottom:0}.stat-list>.drilldown-group{display:block}.stat-list>.drilldown-group--expanded{border:1px solid var(--border-strong);background:var(--surface);border-radius:12px;margin:6px 0 10px}.drilldown-toggle{text-align:left;background:0 0;border:0;grid-template-columns:1fr auto auto;align-items:center;gap:7px;width:100%;min-height:44px;padding:0 4px;display:grid}.drilldown-group--expanded .drilldown-toggle{background:var(--accent-soft);border-radius:11px 11px 0 0;padding:0 12px}.drilldown-toggle span{min-width:0}.drilldown-toggle svg{color:var(--muted);transition:transform .16s}.drilldown-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.drilldown-toggle:disabled svg{visibility:hidden}.drilldown-products{background:var(--surface);border-radius:0 0 11px 11px;gap:2px;max-height:180px;padding:6px;display:grid;overflow-y:auto}.drilldown-product{min-height:40px;color:var(--text);border-radius:8px;grid-template-columns:23px minmax(0,1fr) 15px;align-items:center;gap:9px;padding:8px;text-decoration:none;display:grid}.drilldown-product__index{background:var(--accent-soft);width:23px;height:23px;color:var(--accent);font-variant-numeric:tabular-nums;border-radius:7px;place-items:center;font-size:11px;font-weight:700;display:grid}.drilldown-product__title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.drilldown-product__arrow{color:var(--muted)}.drilldown-product:hover{background:var(--accent-soft);color:var(--accent)}.settings-list{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:8px 18px}.settings-list dt{color:var(--muted)}.settings-list dd{margin:0}.connected{color:var(--profit)}.disconnected{color:var(--loss)}.security-note{border-left:3px solid var(--warning);background:var(--warning-soft);border-radius:0 7px 7px 0;padding:14px 16px}.security-note p{color:var(--muted);margin:5px 0 0;line-height:1.6}@media (width<=900px){.filter-panel__mobile-only{display:grid!important}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric{border-bottom:1px solid var(--border)}.metric-grid .metric:last-child{grid-column:1/-1}.toolbar>input[type=date],.toolbar>select{display:none}}@media (width<=680px){.sidebar,.topbar{display:none}.workspace{width:100%;margin:0}.content{padding:20px 16px 96px}.bottom-nav{z-index:40;height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.bottom-nav a{flex-direction:column;gap:3px;font-size:11px}.bottom-nav a.active{color:var(--text)}.page{gap:16px}.page-header{align-items:center}.page-header h1{font-size:21px}.page-header p,.monthly-profit{display:none}.page-header .button{width:36px;padding:0;font-size:0}.page-header .button svg{width:18px;height:18px}.toolbar{gap:7px}.search-box{max-width:none}.search-box button{display:none}.filter-button{width:36px;padding:0;font-size:0}.filter-panel{flex-direction:column;align-items:stretch}.mobile-export-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.toolbar-spacer,.toolbar .icon-button,.desktop-list{display:none}.mobile-list{border:1px solid var(--border);background:var(--surface);border-radius:8px;display:block;overflow:hidden}.mobile-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:10px;padding:14px 12px;display:flex}.mobile-row:last-child{border-bottom:0}.mobile-row.is-selected{background:var(--accent-soft)}.mobile-row__check{flex:0 0 44px;place-items:center;width:44px;height:44px;margin:-10px -10px 0;display:grid}.mobile-row__check input{width:18px;height:18px}.mobile-row__content{flex:1;min-width:0}.mobile-row__heading{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:flex-start;gap:10px;width:100%;padding:0 0 12px;display:flex}.mobile-row__heading strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mobile-row__details{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;padding-top:12px;display:grid}.mobile-row__details>div{min-width:0}.mobile-row__details dt{color:var(--muted);font-size:11px}.mobile-row__details dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:13px}.mobile-row__note{grid-column:1/-1}.bulk-bar{left:12px;right:12px;bottom:calc(74px + env(safe-area-inset-bottom));justify-content:space-between;overflow-x:auto;transform:none}.bulk-bar strong{white-space:nowrap}.bulk-bar div{min-width:max-content}.drawer{border:0;width:100%}.form-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}.metric{padding:15px}.metric strong{font-size:19px}.analytics-grid{grid-template-columns:1fr}.analytics-stat-card{padding:16px}.drilldown-product{gap:8px;padding-inline:7px}.panel--wide{grid-column:auto}.date-range{display:none}.toast{right:12px;bottom:calc(76px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}.page{gap:18px;animation:.24s cubic-bezier(.2,.7,.2,1) both page-enter}@keyframes page-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.page--narrow{max-width:900px}.page-header{min-height:66px}.page-header h1{font-size:28px;font-weight:700;line-height:1.2}.page-header p{margin-top:5px;font-size:14px;line-height:1.55}.page-title-row{gap:18px}.monthly-profit{padding-left:18px;font-size:14px}.button{border-radius:9px;min-height:40px;padding-inline:14px;font-size:13px;font-weight:600;transition:transform .13s,background-color .15s,border-color .15s,color .15s,opacity .15s}.button:not(:disabled):active{transform:translateY(1px)}.button--primary{background:var(--text);color:var(--surface)}[data-theme=dark] .button--primary{background:var(--text);color:var(--bg)}.button--primary:hover{opacity:.9}.button--secondary{border-color:var(--border-strong);box-shadow:0 1px 1px #10182808}.button--danger{border-color:color-mix(in srgb, var(--loss), transparent 58%)}.icon-button{border-radius:9px;width:40px;height:40px;transition:background-color .15s,color .15s,transform .13s}.icon-button:active{transform:translateY(1px)}.text-button{border-radius:8px;min-height:36px;font-size:13px}.topbar-theme{border:1px solid #0000}.topbar-theme:hover{border-color:var(--border)}.topbar-user{border-left:1px solid var(--border);margin-left:4px;padding-left:12px;font-size:13px}.toolbar{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:10px;min-height:64px;padding:11px 12px}.toolbar select,.toolbar>input,.filter-panel select,.filter-panel input,.date-range input{border-color:var(--border-strong);border-radius:9px;outline:none;height:40px;padding-inline:12px;font-size:13px;transition:border-color .15s,box-shadow .15s,background-color .15s}.toolbar select:focus,.toolbar>input:focus,.filter-panel select:focus,.filter-panel input:focus,.date-range input:focus,.drawer input:focus,.drawer select:focus,.drawer textarea:focus,.login-panel input:focus{border-color:color-mix(in srgb, var(--accent), var(--border-strong) 30%);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent), transparent 86%)}.search-box{border-color:var(--border-strong);border-radius:9px;max-width:440px;height:40px;transition:border-color .15s,box-shadow .15s}.search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent), transparent 86%)}.filter-panel{border-radius:12px;padding:16px;animation:.2s ease-out both filter-open}@keyframes filter-open{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.table-wrap{border-radius:12px;box-shadow:0 1px 2px #10182806}.desktop-list table{min-width:1320px}th,td{height:52px;padding-inline:14px;font-size:13px}th{z-index:2;background:color-mix(in srgb, var(--surface), var(--surface-2) 45%);height:44px;font-size:12px;font-weight:550;position:sticky;top:0}tbody tr{transition:background-color .14s}tbody tr,.mobile-row{animation:.22s ease-out both row-enter}tbody tr:nth-child(2),.mobile-row:nth-child(2){animation-delay:28ms}tbody tr:nth-child(3),.mobile-row:nth-child(3){animation-delay:56ms}tbody tr:nth-child(4),.mobile-row:nth-child(4){animation-delay:84ms}tbody tr:nth-child(n+5),.mobile-row:nth-child(n+5){animation-delay:.112s}@keyframes row-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.row-title{color:var(--text);font-size:13px;font-weight:600}.sort-button{font-size:12px;font-weight:550}.status{white-space:nowrap;border-radius:6px;padding:3px 7px;font-size:12px;font-weight:550}.state,.empty-state{border-radius:12px;min-height:220px;font-size:13px}.pagination{font-size:13px}.bulk-bar{border:1px solid var(--border);background:color-mix(in srgb, var(--surface), transparent 2%);min-height:58px;color:var(--text);box-shadow:var(--shadow-float);border-radius:12px;padding:8px 10px 8px 15px;animation:.22s cubic-bezier(.2,.8,.2,1) both bulk-enter;bottom:22px;left:calc(50% + 88px)}@keyframes bulk-enter{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}.bulk-bar button{background:var(--surface-2);min-height:36px;color:var(--text);border-radius:8px;font-size:12px;border:1px solid var(--border)!important}.bulk-bar .danger-text{color:var(--loss)}.drawer-backdrop{background:#0c101659;animation:.18s ease-out both fade-in}.drawer{width:min(468px,100%);box-shadow:var(--shadow-float);border-radius:12px 0 0 12px;animation:.24s cubic-bezier(.2,.75,.2,1) both drawer-in}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-in{0%{opacity:.7;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.drawer>header{height:auto;min-height:88px;padding:18px 22px}.drawer h2{font-size:20px;font-weight:700}.drawer form{gap:18px;padding:22px}.drawer label,.login-panel label{color:var(--text);font-size:12px;font-weight:600}.drawer input,.drawer select,.drawer textarea,.login-panel input{border-radius:9px;outline:none;min-height:42px;padding:10px 11px;font-size:14px;transition:border-color .15s,box-shadow .15s}.drawer textarea{resize:vertical;line-height:1.55}.calculated-field{border-radius:10px;padding:13px 14px}.drawer footer{z-index:2;padding:16px 22px calc(16px + env(safe-area-inset-bottom));background:var(--surface);margin-inline:-22px;position:sticky;bottom:-22px}.form-error{border-radius:8px;font-size:12px}.confirm-layer{background:#0c10166b;animation:.18s ease-out both fade-in}.confirm-dialog{width:min(408px,100%);box-shadow:var(--shadow-float);border-radius:12px;padding:22px;animation:.19s cubic-bezier(.2,.8,.2,1) both dialog-in}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}.confirm-dialog h2{font-size:18px;font-weight:700}.confirm-dialog p{font-size:14px}.data-note{border:1px solid color-mix(in srgb, var(--warning), transparent 65%);border-left-width:3px;border-radius:8px;padding:11px 14px;font-size:13px;line-height:1.55}.toast{box-shadow:var(--shadow-float);border-radius:9px;animation:.18s ease-out both toast-in}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.login-page{background:var(--bg)}.login-panel{border-radius:12px;gap:16px;width:min(400px,100%);padding:38px;animation:.26s ease-out both login-enter;box-shadow:0 1px 3px #10182809}@keyframes login-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.login-panel .login-mark{margin-bottom:6px}.login-panel h1{letter-spacing:-.035em;text-align:center;font-size:28px;font-weight:700}.login-panel p{text-align:center;margin:-8px 0 10px;font-size:14px}.login-panel .login-mark{justify-self:center}.metric-grid{border-radius:12px}.metric{padding:25px 22px}.metric span{font-size:13px}.metric strong{font-size:27px;font-weight:600;line-height:1.1}.metric:nth-child(3) strong{color:var(--profit)}.panel{border-radius:12px;padding:20px}.panel h2{font-size:17px;font-weight:650}.simple-chart{gap:22px;height:50vh;min-height:390px;max-height:520px;padding:42px 6px 0}.simple-chart__item{grid-template-rows:20px 1fr 24px;min-width:62px;font-size:12px}.simple-chart__plot{height:300px}.simple-chart i{transform-origin:bottom;border-radius:5px 5px 2px 2px;width:24px;animation:.52s cubic-bezier(.2,.75,.2,1) both chart-grow}@keyframes chart-grow{0%{opacity:.4;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}.bar-positive{background:var(--profit)}.analytics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.panel--wide{grid-column:1/-1}.chart{height:330px}.analytics-stat-card{box-shadow:none;border-radius:12px;padding:18px}.analytics-stat-card__title-mark{border-radius:3px;width:4px;height:18px}.stat-list>.drilldown-group--expanded{border-radius:10px}.drilldown-group--expanded .drilldown-toggle{border-radius:9px 9px 0 0}.drilldown-products{border-radius:0 0 9px 9px;animation:.19s ease-out both drilldown-in}@keyframes drilldown-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}.drilldown-product{border-radius:7px}.settings-list{border-radius:12px;padding:0 20px}.settings-list>div{min-height:72px}.settings-list dt,.settings-list strong{font-size:14px}.connected:before,.disconnected:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.security-note{border:1px solid color-mix(in srgb, var(--warning), transparent 65%);border-left-width:3px;border-radius:8px;padding:16px}@media (width<=1100px){.sidebar{align-items:center;width:76px}.brand{margin-inline:0}.sidebar nav{padding-inline:8px}.sidebar nav a{justify-content:center;padding:0}.sidebar nav a span{font-size:10px}.sidebar nav a{flex-direction:column;gap:2px;height:52px}.sidebar-account{justify-content:center;width:48px;padding:10px 0}.sidebar-account>span:last-child{display:none}.workspace{width:calc(100% - 76px);margin-left:76px}.bulk-bar{left:calc(50% + 38px)}.analytics-grid{grid-template-columns:1fr 1fr}.analytics-grid .analytics-stat-card:last-child{grid-column:1/-1}}@media (width<=680px){body{font-size:14px}.workspace{width:100%;margin-left:0}.content{padding:22px 16px calc(104px + env(safe-area-inset-bottom))}.bottom-nav{height:calc(68px + env(safe-area-inset-bottom))}.bottom-nav a{gap:4px;font-size:12px;font-weight:500}.bottom-nav a.active{color:var(--accent)}.page{gap:15px}.page-header{align-items:flex-start;min-height:52px}.page-header h1{font-size:24px}.page-header p{max-width:250px;font-size:14px;display:block}.page-title-row{gap:5px;display:grid}.monthly-profit{border:0;padding:0;font-size:13px;display:block}.page-header .button{border-radius:9px;width:44px;height:44px;min-height:44px}.toolbar{background:0 0;border:0;min-height:44px;padding:0}.search-box{background:var(--surface);height:44px}.filter-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:0}.filter-button svg{width:18px;height:18px}.filter-panel{padding:14px}.mobile-list{background:0 0;border:0;border-radius:0;width:100%;min-width:0;max-width:100%;overflow:hidden}.mobile-row{gap:12px;width:100%;min-width:0;min-height:122px;padding:16px 4px}.mobile-row__check{margin-top:-8px}.mobile-row__heading{min-height:44px;padding-bottom:9px}.mobile-row__heading strong{flex:1;font-size:15px}.mobile-row__status{flex:none}.mobile-row__details{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding-top:9px}.mobile-row__details dt{font-size:12px}.mobile-row__details dd{margin-top:2px;font-size:14px}.mobile-row__details>div:nth-child(3){display:none}.bulk-bar{left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));border-radius:12px;gap:10px;min-height:58px;padding:8px}.bulk-bar strong{font-size:12px}.bulk-bar button{min-height:44px;padding-inline:10px}@keyframes bulk-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.drawer-layer{align-items:flex-end;display:flex}.drawer-backdrop{position:fixed}.drawer{border-radius:12px 12px 0 0;width:100%;max-height:96dvh;animation-name:drawer-mobile-in;position:relative;inset:auto}@keyframes drawer-mobile-in{0%{opacity:.75;transform:translateY(24px)}to{opacity:1;transform:none}}.drawer>header{min-height:86px;padding:17px 18px}.drawer>header .icon-button{width:44px;height:44px}.drawer h2{font-size:20px}.drawer form{gap:17px;padding:18px}.drawer input,.drawer select,.drawer textarea{min-height:46px;font-size:14px}.form-grid{grid-template-columns:1fr;gap:17px}.drawer footer{margin-inline:-18px;padding-inline:18px;bottom:-18px}.drawer footer .button{min-height:44px}.login-page{align-items:start;padding-top:16vh}.login-panel{width:100%;max-width:400px;padding:28px 22px}.login-panel input,.login-panel .button{min-height:46px;font-size:14px}.metric-grid{border-radius:12px;grid-template-columns:1fr 1fr}.metric{padding:16px}.metric:nth-child(3){grid-area:1/1/auto/-1;padding-block:22px}.metric:nth-child(3) strong{font-size:28px}.metric:first-child,.metric:nth-child(2){grid-row:2}.metric:nth-child(4),.metric:nth-child(5){grid-row:3}.metric strong{margin-top:7px;font-size:19px}.metric span{font-size:13px}.panel{padding:16px}.simple-chart{gap:18px;height:48vh;min-height:360px;overflow-x:auto}.simple-chart__item{min-width:58px}.simple-chart__plot{height:260px}.analytics-grid{grid-template-columns:1fr;gap:14px}.analytics-grid .analytics-stat-card:last-child{grid-column:auto}.chart{min-width:620px;height:300px;margin-top:14px}.panel--wide{overflow-x:auto}.analytics-stat-card{padding:16px}.drilldown-product{min-height:44px}.date-range{grid-column:1/-1;grid-template-columns:1fr auto 1fr;width:100%;margin-top:8px;display:grid}.page-header:has(.date-range){flex-wrap:wrap}.date-range input{width:100%;min-width:0;height:44px;font-size:14px}.settings-list{padding-inline:16px}.settings-list>div{min-height:62px}.security-note{font-size:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
