.billing-gate{border:1px solid var(--line,#e9e5e8);background:var(--surface,#fff);color:var(--ink,#26242a);border-radius:16px;padding:22px}.billing-gate__header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.billing-gate__eyebrow{color:var(--muted,#817c83);margin-bottom:7px;font-size:11px;display:block}.billing-gate h2{letter-spacing:-.4px;font-size:21px;line-height:1.2}.billing-gate__close{background:var(--soft,#f4f2f1);min-width:44px;min-height:44px;color:inherit;border-radius:9px;place-items:center;font-size:26px;display:grid}.billing-gate__plans{gap:8px;display:grid}.billing-gate__plan{border:1px solid var(--line,#e9e5e8);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;display:flex}.billing-gate__plan strong{font-size:13px;display:block}.billing-gate__plan span{color:var(--muted,#817c83);margin-top:4px;font-size:11px;display:block}.billing-gate__plan b{white-space:nowrap;letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-size:23px}.billing-gate__capacity{font-size:13px;margin-top:18px!important}.billing-gate__slots{margin:16px 0;padding:0;list-style:none}.billing-gate__slots li{border-bottom:1px solid var(--line,#e9e5e8);padding:10px 0}.billing-gate__slots strong,.billing-gate__slots span{font-size:12px;display:block}.billing-gate__slots span{color:var(--muted,#817c83);margin-top:4px}.billing-gate__text{color:var(--muted,#817c83);font-size:12px;line-height:1.6;margin-top:14px!important}.billing-gate__notice{background:var(--accent-soft,#f2e9ef);border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.6;margin-top:16px!important}.billing-gate__refresh{background:var(--accent,#7c3a70);width:100%;min-height:44px;color:var(--on-accent,#fff);border-radius:9px;justify-content:center;align-items:center;margin-top:18px;padding:12px 18px;display:flex}.billing-gate button:focus-visible{outline:2px solid var(--focus,#ad75a1);outline-offset:3px}@media (width<=370px){.billing-gate{padding:16px}.billing-gate__plan{padding:11px}.billing-gate__plan b{font-size:21px}}.billing-gate__attach{margin-top:16px}.billing-gate__attach label{margin-bottom:7px;font-size:12px;display:block}.billing-gate__attach select{border:1px solid var(--line,#e9e5e8);background:var(--surface,#fff);width:100%;min-height:44px;color:inherit;border-radius:8px;padding:10px}:root{font-family:var(--font);color:var(--ink);background:var(--workspace);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--workspace:#efeeec;--paper:#faf9f7;--surface:#fff;--ink:#26242a;--muted:#817c83;--line:#e9e5e8;--accent:#7c3a70;--accent-hover:#622d58;--accent-soft:#f2e9ef;--profit:#f1e9ef;--positive:#3f7862;--negative:#bb504d;--warning:#a16e2b;--warning-soft:#f8f2e8;--bar:#c2a6bb;--bar-strong:#805077;--soft:#f4f2f1;--on-accent:#fff;--overlay:#25202a66;--shadow:#2e1d2b18;--tg:#e8eeea;--tg-button:#ffffffb8;--garment-bg:#efede8;--seam:#0000001f;--focus:#ad75a1;--transition:.18s cubic-bezier(.2,.8,.2,1)}:root[data-theme=dark]{--workspace:#141316;--paper:#1d1b1f;--surface:#252227;--ink:#efeaf0;--muted:#a29aa6;--line:#39323c;--accent:#d2a1c8;--accent-hover:#e6badc;--accent-soft:#392d37;--profit:#352b34;--positive:#94c9ae;--negative:#ed9188;--warning:#e2b572;--warning-soft:#342d24;--bar:#73586d;--bar-strong:#c294b7;--soft:#29252d;--on-accent:#281c25;--overlay:#000a;--shadow:#00000040;--tg:#252f29;--tg-button:#363f38;--garment-bg:#343034;--seam:#0004;--focus:#d9acd1;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{min-height:100%;margin:0;overflow-x:clip}body{font-size:14px;line-height:1.45}button,input,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0}button,a,input,select{touch-action:manipulation}button{transition:background-color var(--transition),color var(--transition),transform var(--transition)}button:active{transform:scale(.985)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button:disabled,input:disabled{opacity:.45;cursor:not-allowed}h1,h2,p{margin:0}h1,h2{overflow-wrap:anywhere;font-style:normal}svg{flex-shrink:0}strong,b{font-weight:600}small{font-size:12px}button strong,button span,input{min-width:0}button{text-align:inherit}.workspace{grid-template-columns:280px 460px 180px;align-items:start;gap:60px;max-width:1270px;margin:0 auto;padding:48px 36px 0;display:grid}.preview-rail{padding-top:12px;position:sticky;top:48px}.brand{width:150px;height:auto;margin-bottom:55px;display:block}.eyebrow{letter-spacing:1.8px;color:var(--muted);font-size:10px;font-weight:600;display:block}.preview-rail h1{letter-spacing:-1.5px;margin:19px 0 20px;font-size:39px;font-weight:560;line-height:1.15}.preview-rail h1 span{color:var(--accent)}.preview-rail>p{max-width:245px;color:var(--muted);font-size:14px;line-height:1.8}.rail-nav{gap:5px;margin:32px 0 28px;display:grid}.rail-nav button{border-radius:10px;align-items:center;gap:13px;padding:13px 15px;font-weight:500;display:flex}.rail-nav button>svg:last-child{opacity:0;margin-left:auto}.rail-nav button.active{background:var(--surface);box-shadow:0 2px 8px var(--shadow);color:var(--accent)}.rail-nav button.active>svg:last-child{opacity:1}.message-link{border-top:1px solid var(--line);color:var(--accent);align-items:center;gap:10px;padding:22px 0;font-size:12px;line-height:1.6;display:flex}.message-link>svg:last-child{margin-left:auto}.prototype-note{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;margin-top:35px;font-size:11px;display:flex}.tiny-dot{background:var(--accent);border-radius:50%;width:5px;height:5px}.prototype-note>span:last-child{width:100%;margin-top:5px;line-height:1.7;display:block}.preview-meta{padding-top:30px;position:sticky;top:80px}.preview-meta>span{letter-spacing:1.3px;color:var(--muted);font-size:9px}.preview-meta>p{margin-top:20px;font-size:15px;line-height:1.7}.preview-line{background:var(--line);width:1px;height:70px;margin:28px 0}.preview-meta>small{color:var(--muted);font-size:10px}.app-shell{background:var(--paper);min-height:calc(100dvh - 48px);box-shadow:0 12px 80px var(--shadow);border:1px solid var(--line);border-radius:22px 22px 0 0;min-width:0;padding-bottom:92px;position:relative}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:85px;padding:0 24px;display:flex}.cabinet-button{align-items:center;gap:11px;padding:6px 0;display:flex}.wb-mark{background:var(--accent);width:35px;height:35px;color:var(--on-accent);letter-spacing:-1px;border-radius:11px;place-items:center;font-size:17px;font-weight:750;display:grid}.cabinet-button>span:nth-child(2){flex-direction:column;gap:2px;display:flex}.cabinet-button strong{letter-spacing:.5px;font-size:11px}.cabinet-button small{color:var(--muted);font-size:10px}.cabinet-button>svg{color:var(--muted);margin-left:5px}.icon-button{border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex;position:relative}.notification-dot{background:var(--accent);border:1px solid var(--paper);border-radius:50%;width:5px;height:5px;position:absolute;top:8px;right:9px}main{padding:28px 24px 0}.page-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:23px;display:flex}.page-heading h1{letter-spacing:-1px;margin-top:5px;font-size:30px;font-weight:620}.page-heading .eyebrow{letter-spacing:1.5px;font-size:8px}.updated{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;margin-top:20px;font-size:9px;display:flex}.updated>span{background:var(--positive);border-radius:50%;width:5px;height:5px}.period-control{background:var(--soft);border-radius:10px;gap:3px;padding:4px;display:flex}.period-control button{text-align:center;min-height:36px;color:var(--muted);border-radius:7px;flex:1;font-size:12px;font-weight:500}.period-control .selected{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px var(--shadow)}.period-control .custom-period{border-left:1px solid var(--line);flex:0 0 43px;place-items:center;display:grid}.period-caption{color:var(--muted);justify-content:space-between;margin:12px 1px 21px;font-size:10px;display:flex}.period-caption>span:last-child{color:var(--accent)}.profit-card{background:var(--profit);border-radius:14px;padding:20px 21px}.card-top{color:var(--accent);justify-content:space-between;align-items:center;font-size:12px;display:flex}.subtle-icon{color:var(--muted);justify-content:center;align-items:center;min-width:28px;min-height:28px;padding:3px;display:inline-flex}.profit-number{letter-spacing:-1.7px;font-variant-numeric:tabular-nums;margin:9px 0 15px;font-size:43px;font-weight:600;line-height:1.25}.profit-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.margin-chip{color:var(--accent);background:var(--surface);border-radius:5px;padding:5px 9px;font-size:10px;font-weight:500}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:23px 0 25px;display:grid}.metric-grid>div{flex-direction:column;gap:8px;display:flex}.metric-grid>div+div{border-left:1px solid var(--line);padding-left:24px}.metric-grid>div>span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.metric-grid strong{letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-size:22px;font-weight:580}.metric-grid strong small{color:var(--muted);font-size:13px;font-weight:400}.section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;display:flex}.section-heading h2{letter-spacing:-.2px;font-size:13px;font-weight:600}.section-heading>span{color:var(--muted);text-align:right;font-size:9px}.chart-section{padding:6px 0 23px}.chart{height:132px;margin-top:18px;position:relative}.chart-grid{color:var(--muted);pointer-events:none;flex-direction:column;justify-content:space-between;font-size:8px;display:flex;position:absolute;inset:0}.chart-grid>span{border-bottom:1px dashed var(--line);text-align:right;padding-bottom:3px}.chart-grid:after{content:"";border-bottom:1px dashed var(--line);width:100%;height:1px;position:absolute;top:50%}.bars{align-items:end;gap:8px;height:100%;padding:16px 38px 0 0;display:flex;position:relative}.bars>button{background:var(--bar);opacity:.85;border-radius:4px 4px 0 0;flex:1;min-width:1px;position:relative}.bars>button:last-child,.bars>button.active{background:var(--bar-strong);opacity:1}.bars>button.loss-bar{background:var(--negative)}.chart-labels{color:var(--muted);justify-content:space-between;margin:9px 38px 0 0;font-size:9px;display:flex}.notice{background:var(--warning-soft);text-align:left;border-radius:10px;align-items:center;gap:10px;width:100%;margin:0 0 27px;padding:13px 12px;display:flex}.notice-icon{color:var(--warning);place-items:center;display:grid}.notice>span:nth-child(2){flex-direction:column;flex:1;gap:3px;display:flex}.notice strong{color:var(--warning);font-size:11px;font-weight:550}.notice small{color:var(--muted);font-size:9px}.notice>svg{color:var(--warning)}.breakdown{margin-bottom:27px}.expense-row{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:10px;padding:9px 0;font-size:12px;display:flex}.expense-row>span:last-child{color:var(--ink)}.expense-row.revenue{color:var(--ink);border-bottom:1px solid var(--line);margin-bottom:5px;padding-bottom:12px}.expense-row.total{color:var(--ink);border-top:1px solid var(--line);margin-top:7px;padding:15px 0 0;font-size:13px}.text-button{color:var(--accent);white-space:nowrap;align-items:center;gap:5px;padding:6px 0;font-size:10px;display:inline-flex}.product-row{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:10px;width:100%;padding:13px 0;display:flex}.garment{background:var(--garment-bg);border-radius:9px;flex-shrink:0;place-items:center;width:54px;height:65px;display:grid;overflow:hidden}.garment svg{width:85%;height:80%;filter:drop-shadow(0 3px 2px var(--shadow))}.garment path{fill:var(--garment)}.garment path.seam{fill:none;stroke:var(--seam);stroke-width:1.5px}.product-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.product-info strong{font-size:12px;font-weight:550}.product-info small{color:var(--muted);font-size:9px}.product-result{text-align:right;flex-direction:column;flex-shrink:0;gap:5px;display:flex}.product-result strong{letter-spacing:-.2px;font-size:12px}.product-result small{color:var(--muted);font-size:9px}.faint{color:var(--muted)}.negative{color:var(--negative)!important}.product-sales{margin-top:2px;font-size:10px}.product-sales>span{color:var(--muted)}.leaders .garment{width:43px;height:50px}.leaders .product-row{padding:10px 0}.leaders .product-info strong{font-size:11px}.app-footer{color:var(--muted);justify-content:center;align-items:center;gap:5px;margin:32px 0 10px;font-size:9px;display:flex}.bottom-nav{width:458px;height:78px;padding:9px 18px max(9px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);z-index:20;justify-content:space-around;display:flex;position:fixed;bottom:0}.bottom-nav button{color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:90px;font-size:10px;display:flex}.bottom-nav button.active{color:var(--accent)}.bottom-nav button.active:before{content:"";background:var(--accent);border-radius:0 0 3px 3px;width:17px;height:3px;position:absolute;top:0}.count-badge{background:var(--soft);border-radius:20px;padding:6px 11px;font-size:12px}.search-box{border:1px solid var(--line);background:var(--surface);height:44px;color:var(--muted);border-radius:10px;align-items:center;gap:9px;margin-bottom:15px;padding:0 12px;display:flex}.search-box input{color:var(--ink);background:0 0;border:0;outline:none;width:100%;height:100%;font-size:12px}.search-box:focus-within{border-color:var(--accent)}.filters{gap:7px;margin-bottom:24px;display:flex}.filters button{border:1px solid var(--line);white-space:nowrap;color:var(--muted);border-radius:7px;padding:8px 12px;font-size:10px}.filters button.active{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}.list-heading{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:5px;font-size:10px;display:flex}.list-heading label{align-items:center;gap:4px;display:flex}.list-heading select{color:var(--muted);background:0 0;border:0;max-width:130px;padding:6px 0;font-size:10px}.product-list .product-row{padding:17px 0}.helper{color:var(--muted);margin:17px 0;font-size:11px;line-height:1.7}.empty-state{text-align:center;color:var(--muted);padding:48px 8px}.empty-state h2{color:var(--ink);margin:14px 0 6px;font-size:17px}.empty-state p{margin-bottom:18px;font-size:12px}.detail-heading{margin-bottom:22px}.back-button{color:var(--accent);align-items:center;gap:6px;min-height:35px;padding:0 0 20px;font-size:12px;display:flex}.detail-product{align-items:center;gap:16px;display:flex}.detail-product .garment{border-radius:13px;width:78px;height:96px}.detail-product h1{letter-spacing:-.5px;margin-bottom:7px;font-size:23px;line-height:1.2}.detail-product p{color:var(--muted);margin-bottom:5px;font-size:11px}.wide-row{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;width:100%;padding:15px;display:flex}.wide-row>span{color:var(--muted);flex-direction:column;flex:1;gap:4px;font-size:11px;display:flex}.wide-row strong{color:var(--ink);font-size:14px}.account-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;align-items:center;gap:12px;padding:18px 16px;display:flex}.avatar{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:50%;place-items:center;font-size:13px;font-weight:600;display:grid}.account-card>div{flex-direction:column;flex:1;gap:3px;display:flex}.account-card strong{font-size:13px}.account-card>div>span{color:var(--muted);font-size:10px}.demo-pill{color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:4px 7px;font-size:9px}.group-label{letter-spacing:1.5px;color:var(--muted);margin:26px 0 10px;font-size:9px}.settings-group{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:0 14px}.setting-row{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:12px;width:100%;padding:18px 0;display:flex}.setting-row:last-child{border:0}.setting-icon{color:var(--muted);place-items:center;display:grid}.setting-icon svg{width:19px;height:19px}.setting-copy{flex-direction:column;flex:1;gap:4px;display:flex}.setting-copy strong{font-size:12px;font-weight:550}.setting-copy small{color:var(--muted);font-size:10px}.setting-copy .warning-text{color:var(--warning)}.switch{background:var(--line);border-radius:20px;flex-shrink:0;width:39px;height:23px;padding:3px;display:block}.switch span{background:var(--surface);width:17px;height:17px;box-shadow:0 1px 3px var(--shadow);transition:transform var(--transition);border-radius:50%;display:block}.switch.on{background:var(--accent)}.switch.on span{transform:translate(16px)}.subscription-card{background:var(--profit);border:1px solid var(--line);border-radius:13px;justify-content:space-between;align-items:center;width:100%;margin-top:26px;padding:22px 20px;display:flex}.subscription-card>div{flex-direction:column;gap:13px;display:flex}.subscription-card .eyebrow{color:var(--accent);font-size:9px}.subscription-card strong{letter-spacing:-.5px;font-size:20px;line-height:1.3}.subscription-card>div>span:last-child{color:var(--muted);font-size:10px}.subscription-card>svg{color:var(--accent)}.reset-button{color:var(--muted);text-align:center;width:100%;padding:22px 0 0;font-size:11px}.sheet{background:var(--paper);color:var(--ink);width:calc(100% - 32px);max-width:440px;max-height:90dvh;box-shadow:0 24px 90px var(--shadow);border:0;border-radius:22px;padding:0}.sheet::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sheet-inner{padding:32px 26px 26px;position:relative}.sheet-handle{display:none}.sheet-close{color:var(--muted);position:absolute;top:12px;right:12px}.sheet h2{letter-spacing:-.6px;margin:9px 30px 12px 0;font-size:24px;font-weight:600;line-height:1.25}.sheet .eyebrow{margin-top:10px;font-size:8px}.sheet-description{color:var(--muted);margin-bottom:24px;font-size:12px;line-height:1.7}.sheet-symbol{background:var(--accent-soft);color:var(--accent);border-radius:12px;place-items:center;width:45px;height:45px;margin-bottom:20px;display:grid}.sheet-symbol svg{width:21px}.field{color:var(--muted);flex-direction:column;gap:8px;margin:18px 0;font-size:11px;display:flex}.field input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;width:100%;height:47px;padding:0 13px;font-size:16px}.field input[readonly]{color:var(--muted);background:var(--soft)}.primary-button,.secondary-button{text-align:center;white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:45px;padding:12px 16px;font-size:12px;font-weight:550;display:flex}.primary-button{background:var(--accent);color:var(--on-accent);margin-top:22px}.secondary-button{background:var(--soft);color:var(--ink);margin-top:9px}.cost-row{border-bottom:1px solid var(--line);text-align:left;align-items:center;gap:10px;width:100%;padding:11px 0;display:flex}.cost-row .garment{width:38px;height:46px}.cost-row>span{flex-direction:column;flex:1;gap:3px;display:flex}.cost-row strong{font-size:11px}.cost-row small{color:var(--muted);font-size:9px}.cost-row>b{color:var(--accent);white-space:nowrap;font-size:11px;font-weight:550}.cost-row>svg{color:var(--muted)}.cost-edit-visual .garment{width:70px;height:82px;margin-bottom:18px}.editable-expense{border-bottom:1px solid var(--line);align-items:center;padding:12px 0;display:flex}.editable-expense>button:first-child{flex:1;justify-content:space-between;gap:12px;padding:9px 0;font-size:12px;display:flex}.editable-expense strong{white-space:nowrap}.editable-expense>.icon-button{color:var(--muted);margin-left:6px}.toggle-row{justify-content:space-between;align-items:center;gap:14px;margin:22px 0;display:flex}.toggle-row>span{flex-direction:column;gap:4px;display:flex}.toggle-row strong{font-size:12px}.toggle-row small{color:var(--muted);font-size:10px}.telegram-preview{background:var(--tg);border-radius:14px;margin-top:22px;padding:17px}.bot-caption{align-items:center;gap:9px;margin-bottom:16px;font-size:11px;display:flex}.bot-caption img{border-radius:9px;width:29px;height:29px}.bot-caption>span{flex-direction:column;gap:2px;font-weight:600;display:flex}.bot-caption small{color:var(--muted);font-size:9px;font-weight:400}.message-bubble{background:var(--surface);border-radius:12px 12px 12px 3px;padding:17px;font-size:11px;line-height:1.8}.message-bubble>strong{color:var(--accent);font-size:12px}.message-bubble>p{margin-top:4px}.message-profit{letter-spacing:-1px;margin:13px 0;font-size:28px;font-weight:600;line-height:1.2}.message-profit small{color:var(--muted);letter-spacing:0;margin-top:4px;font-size:10px;font-weight:400;display:block}.message-warning{color:var(--warning);margin-top:13px;font-size:10px;line-height:1.5;display:block}.message-time{color:var(--muted);justify-content:flex-end;align-items:center;gap:4px;margin-top:6px;font-size:9px;display:flex}.telegram-button{background:var(--tg-button);width:100%;color:var(--accent);border-radius:6px;justify-content:center;align-items:center;gap:8px;margin-top:5px;padding:12px;font-size:11px;font-weight:550;display:flex}.connected-account{align-items:center;gap:12px;padding:18px 0 24px;display:flex}.connected-account>span:nth-child(2){flex-direction:column;flex:1;gap:4px;display:flex}.connected-account strong{font-size:12px}.connected-account small{color:var(--muted);font-size:10px}.connected-account>svg{color:var(--positive)}.info-note{background:var(--soft);color:var(--muted);border-radius:9px;align-items:start;gap:10px;padding:15px;font-size:11px;line-height:1.7;display:flex}.plan-features{gap:16px;font-size:12px;display:grid}.plan-features>div{align-items:center;gap:10px;display:flex}.plan-features svg{color:var(--accent)}.price-preview{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:26px 0;padding:20px 0}.price-preview strong{letter-spacing:-.6px;font-size:28px}.price-preview small{color:var(--muted);letter-spacing:0;font-size:12px;font-weight:400}.price-preview p{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.7}.toast{background:var(--ink);color:var(--paper);box-shadow:0 4px 30px var(--shadow);z-index:100;pointer-events:none;border-radius:11px;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 32px);padding:13px 17px;font-size:12px;display:flex;position:fixed;bottom:94px;left:50%;transform:translate(-50%)}.sheet:open{animation:.18s cubic-bezier(.2,.8,.2,1) appear}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (hover:hover) and (pointer:fine){.icon-button:hover,.rail-nav button:hover,.product-row:hover,.setting-row:hover{background:var(--soft)}.primary-button:hover{background:var(--accent-hover)}.bars button:hover{background:var(--bar-strong)}.text-button:hover,.reset-button:hover{color:var(--accent-hover)}}@media (width>=1200px){.toast{left:calc(50% + 50px)}}@media (width<=1199px){.workspace{grid-template-columns:250px 440px;gap:42px;max-width:810px;padding:30px 30px 0}.preview-meta{display:none}.bottom-nav{width:438px}.app-shell{min-height:calc(100dvh - 30px)}.preview-rail{top:30px}.preview-rail h1{font-size:35px}}@media (width<=800px){.workspace{max-width:480px;padding:0;display:block}.preview-rail,.preview-meta{display:none}.app-shell{border:0;border-radius:0;min-height:100dvh}.bottom-nav{width:min(100%,480px)}.app-header{height:76px}.toast{left:50%}.sheet{border-radius:22px 22px 0 0;width:100%;max-width:480px;max-height:90dvh;margin:0 auto;position:fixed;inset:auto 0 0}.sheet-inner{padding:30px 24px max(28px,env(safe-area-inset-bottom))}.sheet-handle{background:var(--line);border-radius:4px;width:32px;height:4px;display:block;position:absolute;top:9px;left:calc(50% - 16px)}}@media (width<=374px){main{padding:24px 17px 0}.app-header{padding:0 17px}.page-heading h1{font-size:28px}.page-heading .eyebrow{letter-spacing:1px;font-size:7px}.updated{font-size:8px}.profit-number{font-size:36px}.profit-card{padding:17px}.profit-footer{font-size:9px}.metric-grid strong{font-size:20px}.section-heading h2{font-size:12px}.notice small{font-size:8px}.product-row{gap:7px}.garment{width:44px;height:57px}.product-info strong,.product-result strong{font-size:11px}.product-info small{font-size:8px}.product-row>svg{display:none}.filters{gap:5px}.filters button{padding:8px 9px;font-size:9px}.app-footer{font-size:8px}.sheet-inner{padding-left:19px;padding-right:19px}.cost-row{gap:7px}.cost-row strong{font-size:10px}.detail-product h1{font-size:21px}.profit-footer>span:last-child{font-size:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.bars{align-items:flex-start;padding-top:0}.bars>button.loss-bar{border-radius:0 0 4px 4px}.zero-line{border-top:1px solid var(--muted);text-align:right;width:100%;color:var(--muted);pointer-events:none;font-size:8px;position:absolute}.chart-grid:after{display:none}@media (width<=800px){.product-info strong,.setting-copy strong{font-size:13px}.product-info small,.setting-copy small,.period-caption{font-size:11px}.product-result strong{font-size:13px}.product-result small,.filters button{font-size:11px}.expense-row,.period-control button{font-size:13px}.section-heading h2{font-size:14px}.profit-footer{font-size:11px}.notice strong{font-size:12px}.notice small{font-size:10px}}@media (width<=374px){.product-info strong,.product-result strong{font-size:11px}.product-info small,.product-result small{font-size:9px}.filters button{font-size:10px}.section-heading h2{font-size:12px}}.mode-strip{z-index:30;background:var(--paper);border-bottom:1px solid var(--line);justify-content:center;align-items:center;gap:12px;padding:10px 15px;font-size:11px;display:flex;position:sticky;top:0}.mode-strip strong{font-weight:650}.mode-strip a{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.live-status{text-align:center;justify-items:center;gap:14px;padding:30px 5px;display:grid}.live-status p{color:var(--muted);font-size:13px;line-height:1.65}.live-status h1{font-size:26px}.live-status h2{font-size:20px}.live-status button{width:100%}.live-cabinet{flex:1;gap:4px;min-width:0;display:grid}.live-cabinet select{max-width:100%;font:inherit;background:var(--paper);color:var(--ink);border:0;padding:2px 0;font-size:12px}.live-product-image,.live-product-placeholder{object-fit:contain;background:var(--soft);border-radius:8px;flex-shrink:0;width:52px;height:65px}.live-product-placeholder{color:var(--muted);place-items:center;display:grid}.live-dates{gap:12px;padding:14px 0;display:grid}.live-dates label{gap:5px;display:grid}.live-dates input,.live-sort select{background:var(--paper);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:8px;padding:9px}.live-sort{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:12px;display:flex}.live-pagination{justify-content:space-between;align-items:center;gap:12px;margin:20px 0;font-size:11px;display:flex}.live-pagination button{border:1px solid var(--line);border-radius:8px;padding:9px 12px}.live-pagination button:disabled{opacity:.4}.live-skeleton{background:var(--soft);border-radius:12px;width:100%;height:70px}.live-status a{color:var(--accent);text-decoration:underline}.settings-list .setting-row{align-items:flex-start}.settings-list .setting-copy small{white-space:normal;line-height:1.65}.live-product-placeholder svg{width:24px}.detail-product .live-product-image,.detail-product .live-product-placeholder{width:70px;height:86px}a{color:var(--accent)}a:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.mode-strip{text-align:center;flex-wrap:wrap;min-height:39px;font-size:10px}.header-actions{flex-shrink:0;gap:2px;display:flex}.cabinet-button{min-width:0;max-width:calc(100% - 78px)}.cabinet-button>span:nth-child(2){min-width:0}.cabinet-button strong,.cabinet-button small{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.live-status{gap:14px;padding:30px 0}.live-status h1{letter-spacing:-.8px;font-weight:600;line-height:1.2}.live-status .sheet-symbol{margin-bottom:2px}.live-status .primary-button{margin-top:4px}.live-status .demo-entry{justify-content:center;padding:12px 0}.entry-state{padding-bottom:30px}.onboarding-card{padding:10px 0 24px}.onboarding-card h1{letter-spacing:-.7px;margin:12px 0 16px;font-size:28px;line-height:1.2}.onboarding-card>p{color:var(--muted);font-size:13px;line-height:1.75}.onboarding-features{gap:22px;margin:27px 0;display:grid}.onboarding-features>div{align-items:flex-start;gap:12px;display:flex}.onboarding-features>div>svg{color:var(--accent);margin-top:3px}.onboarding-features span{gap:5px;display:grid}.onboarding-features strong{font-size:12px}.onboarding-features small{color:var(--muted);font-size:11px;line-height:1.7}.error-notice{border:1px solid var(--negative);background:var(--paper);text-align:left;overflow-wrap:anywhere;border-radius:10px;width:100%;margin:14px 0;padding:14px}.error-notice>p{color:var(--negative);font-size:12px;line-height:1.7}.error-notice .secondary-button{white-space:normal;font-size:11px}.sync-card{background:var(--soft);border:1px solid var(--line);border-radius:14px;margin:12px 0 24px;padding:24px 20px}.sync-card h2{letter-spacing:-.6px;margin:10px 0;font-size:23px;font-weight:600}.sync-card>p{color:var(--muted);font-size:12px;line-height:1.8}.sync-card progress{accent-color:var(--accent);background:var(--line);border:0;border-radius:8px;width:100%;height:6px;margin-top:24px;overflow:hidden}.sync-card progress::-webkit-progress-bar{background:var(--line)}.sync-card progress::-webkit-progress-value{background:var(--accent)}.sync-caption{color:var(--muted);justify-content:space-between;gap:15px;margin-top:8px;font-size:10px;display:flex}.sync-compact{margin-top:0;padding:15px}.sync-compact .eyebrow{font-size:8px}.sync-compact h2{font-size:16px}.sync-compact>p{font-size:11px}.sync-compact progress{margin-top:12px}.info-note{color:var(--muted);overflow-wrap:anywhere;align-items:center;margin:18px 0}.info-note>svg{color:var(--accent)}.info-note .text-button{flex-shrink:0;margin-left:auto}.access-card{background:var(--profit);border-radius:13px;margin:25px 0;padding:22px 19px}.access-card h2{margin:10px 0;font-size:19px;font-weight:600;line-height:1.4}.access-card>p{color:var(--muted);font-size:12px;line-height:1.8}.access-card .text-button{margin-top:10px;font-size:12px}.settings-group .setting-copy small{white-space:normal;line-height:1.6}.field select{background:var(--surface);border:1px solid var(--line);width:100%;color:var(--ink);text-overflow:ellipsis;border-radius:9px;min-width:0;padding:13px;font-size:14px}.field input{max-width:100%}.date-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.confirmation-field{color:var(--warning);align-items:flex-start;gap:10px;margin-top:18px;font-size:12px;line-height:1.7;display:flex}.confirmation-field input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0;margin:2px 0 0}.sheet .onboarding-card{padding-bottom:0}.sheet .credential-card>h1{font-size:22px}.sheet .credential-card>.sheet-symbol,.sheet .credential-card>.eyebrow{display:none}.editor-list-row{border-bottom:1px solid var(--line);align-items:center;gap:7px;display:flex}.editor-list-row>.cost-row{border:0;flex:1;min-width:0}.editor-list-row>.cost-row>span{min-width:0}.editor-list-row .cost-row small{overflow-wrap:anywhere}.editor-list-row>.icon-button{color:var(--muted);flex-shrink:0}.cost-list{overscroll-behavior:contain;max-height:48dvh;overflow-y:auto}.cost-list strong{overflow-wrap:anywhere}.expense-dates{color:var(--muted);margin-top:5px;font-size:10px;display:block}.editable-expense>button:first-child{gap:10px;min-width:0}.editable-expense>button:first-child>span{overflow-wrap:anywhere}.editable-expense strong{white-space:nowrap;font-size:12px}.cabinet-choice{text-align:left;width:100%}.detail-product{margin:18px 0 24px}.detail-product h1{font-size:24px;font-weight:600;line-height:1.25}.detail-product p{color:var(--muted);margin:5px 0;font-size:12px}.detail-product small{color:var(--muted);font-size:10px}.list-heading select{background:var(--paper);max-width:54%;color:var(--ink);border:0;padding:8px 0 8px 8px;font-size:11px}.published-at{margin-top:20px}.inline-icon{vertical-align:middle;margin-right:4px}.bars-dense{gap:2px}.live-pagination button{min-height:40px}.mode-strip~.workspace .app-shell{padding-bottom:94px}.settings-group .setting-row{min-height:72px}.bottom-nav button{min-width:78px}.product-row{min-height:84px}.text-button{min-height:34px}.primary-button,.secondary-button{white-space:normal}.profit-number{overflow-wrap:normal}.sheet .text-button,.demo-entry{font-size:11px}.app-header{gap:8px}.app-footer{text-align:center}.product-result{max-width:38%}.product-result strong{overflow-wrap:anywhere}@media (width<=800px){.mode-strip~.workspace .app-shell{min-height:calc(100dvh - 39px)}.cabinet-button strong{max-width:180px}.field select{font-size:16px}.onboarding-card>p{font-size:14px}.onboarding-features strong{font-size:13px}.onboarding-features small{font-size:12px}.error-notice>p{font-size:13px}.info-note{font-size:12px}.helper{line-height:1.8}.sync-card>p{font-size:13px}.sync-caption{font-size:11px}.sync-compact>p,.live-pagination{font-size:12px}.live-product-image,.live-product-placeholder{width:48px;height:61px}.access-card>p{font-size:13px}.cost-row small{font-size:11px}}@media (width<=374px){.cabinet-button strong{max-width:145px}.header-actions .icon-button{width:34px}.cabinet-button{gap:8px;max-width:calc(100% - 70px)}.product-row{gap:8px}.product-result{max-width:36%}.live-product-image,.live-product-placeholder{width:40px;height:53px}.product-info strong,.product-result strong{font-size:12px}.onboarding-card h1{font-size:27px}.profit-number{font-size:34px}.date-grid{grid-template-columns:1fr;gap:0}.date-grid .field{margin:10px 0}.mode-strip{gap:8px}}.cabinet-button:disabled{opacity:1;color:var(--ink);cursor:default}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/c105b29dc4e1ee2d-s.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/ffe0837c71e69159-s.p.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/b07dd69d3f271780-s.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/401f9db361b6e189-s.p.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/4c9affa5bc8f420e-s.p.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root[data-theme=light],:root:not([data-theme=dark]){--font:"Golos Text",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-num:Manrope,"Golos Text",sans-serif;--workspace:#f3f4f6;--paper:#f3f4f6;--surface:#fff;--soft:#f1f2f5;--ink:#14161a;--muted:#5b616b;--line:#e4e6ea;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-soft:#2563eb1a;--profit:#fff;--positive:#15803d;--negative:#b91c1c;--warning:#b45309;--warning-soft:#fffbeb;--on-accent:#fff;--focus:#2563eb;--shadow:#1118270d;--shadow-card:0 1px 2px #1118270f,0 1px 3px #11182714;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--font:"Golos Text",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-num:Manrope,"Golos Text",sans-serif;--workspace:#0b0c0e;--paper:#0b0c0e;--surface:#141517;--soft:#1a1b1e;--ink:#ececec;--muted:#8a8d93;--line:#26282c;--accent:#3b82f6;--accent-hover:#2563eb;--accent-soft:#3b82f624;--profit:#141517;--positive:#22c55e;--negative:#ef4444;--warning:#f59e0b;--warning-soft:#262015;--on-accent:#fff;--focus:#3b82f6;--shadow:#0003;--shadow-card:0 1px 3px #00000026;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{font-family:var(--font)}.app-shell{box-shadow:none}.app-header{background:var(--surface)}.app-header .cabinet-button strong{text-transform:none;letter-spacing:0;font-size:13px}.ozon-mark{color:#fff;letter-spacing:-.5px;background:#005bff;border-radius:11px;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:12px;font-weight:750;display:grid}.wb-mark{color:#fff;background:#9b22c0}.marketplace-picker{grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;display:grid}.marketplace-picker button{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:10px;min-height:58px;padding:12px;display:flex}.marketplace-picker button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.marketplace-picker .wb-mark,.marketplace-picker .ozon-mark{width:31px;height:31px;font-size:12px}.mode-control{background:var(--soft);border:1px solid var(--line);border-radius:9px;gap:4px;margin:0 0 12px;padding:3px;display:flex}.mode-control button{text-align:center;border-radius:6px;flex:1;padding:9px 5px;font-size:12px}.mode-control button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 3px var(--shadow)}.period-control{border:1px solid var(--line);background:var(--surface)}.period-caption{margin-bottom:10px}.comparison-control{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;font-size:11px;display:flex}.comparison-control button{align-items:center;gap:5px;min-height:36px;padding:5px 0;display:flex}.comparison-control input{accent-color:var(--accent)}.mobile-summary{margin:0 0 20px}.mobile-summary-head,.summary-panel-heading{justify-content:space-between;align-items:center;gap:8px;min-height:36px;margin-bottom:10px;display:flex}.mobile-summary-title,.summary-collapse{align-items:center;gap:8px;padding:4px 0;display:flex}.mobile-summary-title{font-size:16px;font-weight:600}.summary-collapse{min-width:0}.summary-panel-heading h2,.summary-collapse h2{letter-spacing:0;font-size:14px;font-weight:600;line-height:1.3}.mobile-summary-settings{color:var(--muted);width:36px;height:36px}.rotated{transform:rotate(180deg)}.mobile-summary-grid{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-card);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid;overflow:hidden}.mobile-summary-grid>.widget{border-top:1px solid var(--line);border-left:1px solid var(--line);min-width:0}.mobile-summary-grid>.widget:nth-child(-n+3){border-top:0}.mobile-summary-grid>.widget:nth-child(3n+1){border-left:0}.mobile-summary-grid .metric-card{text-align:left;min-height:102px;box-shadow:none;background:0 0;border-radius:0;flex-direction:column;align-items:flex-start;padding:10px 7px 8px;transition:background-color .15s;display:flex;position:relative;overflow:hidden}.metric-title-text{color:var(--muted);-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;min-height:25.2px;font-size:10.5px;line-height:1.2;display:-webkit-box;overflow:hidden}.metric-card strong{font-family:var(--font-num);letter-spacing:-.025em;text-overflow:clip;white-space:nowrap;font-variant-numeric:tabular-nums;max-width:100%;margin:8px 0 0;font-size:clamp(16px,4.6vw,18px);font-weight:650;line-height:1.08;overflow:hidden}.metric-secondary{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;max-width:100%;margin-top:4px;font-size:clamp(10.5px,3vw,12px);line-height:1.3;overflow:hidden}.metric-detail{display:none}.metric-card.good strong,.metric-detail-total.good strong{color:var(--positive)}.metric-card.warn strong,.metric-detail-total.warn strong{color:var(--warning)}.metric-card.bad strong,.metric-detail-total.bad strong{color:var(--negative)}.metric-comparison-row{width:100%;color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:2px;margin-top:5px;font-size:10.5px;display:flex}.metric-comparison-row>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.metric-comparison-row b{white-space:nowrap;font-size:9.5px;font-weight:500}.metric-comparison-row.good b{color:var(--positive)}.metric-comparison-row.bad b{color:var(--negative)}.mobile-metrics-toggle{width:100%;min-height:40px;color:var(--muted);justify-content:center;align-items:center;gap:8px;margin-top:4px;padding:10px 8px;font-size:12px;display:flex}.summary-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-card);border-radius:12px;margin-bottom:16px;padding:14px}.summary-panel-heading{margin-bottom:8px}.summary-panel-heading>.icon-button{width:32px;height:32px;color:var(--muted)}.summary-panel.leaders .product-row:last-child{border:0}.summary-panel.leaders .live-product-image,.summary-panel.leaders .live-product-placeholder{width:34px;height:44px}.summary-panel.leaders .product-info strong{font-size:12px}.summary-panel.leaders .product-info small{font-size:10px}.summary-panel.leaders .product-result{max-width:35%}.summary-panel.leaders .product-result strong{font-size:12px}.summary-panel.leaders .product-sales{font-size:10px}.chart-range{align-items:center;gap:4px;margin:4px 0 0;display:flex}.chart-range button{min-width:36px;min-height:32px;color:var(--muted);border-radius:6px;place-items:center;padding:5px 8px;font-size:11px;display:grid}.chart-range button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.chart-range-caption{color:var(--muted);margin:6px 0 8px;font-size:10px}.plot-legend{flex-wrap:wrap;gap:8px 14px;margin:12px 0 4px;display:flex}.plot-legend button{color:var(--muted);align-items:center;gap:5px;min-height:24px;font-size:10px;display:flex}.plot-legend i,.plot-readout i,.widget-options i{border-radius:50%;flex-shrink:0;width:7px;height:7px;display:inline-block}.summary-plot{touch-action:pan-y;border-radius:4px;width:100%}.summary-plot svg{width:100%;height:auto;display:block;overflow:visible}.plot-grid{stroke:var(--line);stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.plot-zero{stroke:var(--muted);stroke-width:.7px;vector-effect:non-scaling-stroke}.plot-axis{fill:var(--muted);font-size:12px;font-family:var(--font)}.plot-crosshair{stroke:var(--muted);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.plot-readout{color:var(--muted);gap:7px;min-height:28px;padding:8px 0 0;font-size:11px;display:grid}.plot-readout>span{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.plot-readout b{color:var(--ink);font-family:var(--font-num);margin-left:auto;font-weight:550}.summary-empty{color:var(--muted);text-align:center;padding:20px 8px;font-size:12px;line-height:1.7}.widget-options{overscroll-behavior:contain;max-height:55dvh;display:grid;overflow:auto}.widget-options label{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:48px;padding:10px 2px;font-size:13px;display:flex}.widget-options input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.widget-options small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.metric-detail-total{flex-direction:column;gap:6px;margin:16px 0 22px;display:flex}.metric-detail-total>strong{font-size:32px;font-family:var(--font-num);letter-spacing:-.8px;font-weight:600;line-height:1.1}.metric-detail-total>span{font-size:13px}.metric-detail-total small{color:var(--muted);font-size:12px;line-height:1.7}.detail-tabs{border-bottom:1px solid var(--line);gap:6px;margin-bottom:18px;display:flex}.detail-tabs button{text-align:center;color:var(--muted);border-bottom:2px solid #0000;flex:1;padding:12px 6px;font-size:12px}.detail-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent)}.metric-explanation{color:var(--muted);align-items:flex-start;gap:8px;margin-bottom:20px;font-size:12px;line-height:1.8;display:flex}.metric-explanation>svg{color:var(--accent);margin-top:3px}.detail-value-row{border-bottom:1px solid var(--line);text-align:left;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;padding:11px 0;font-size:12px;display:flex}.detail-value-row>span{overflow-wrap:anywhere;flex:1;min-width:0}.detail-value-row strong{font-family:var(--font-num);white-space:nowrap;font-size:12px;font-weight:550}.detail-value-row small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.detail-note,.detail-period{color:var(--muted);margin:16px 0;font-size:11px;line-height:1.75}.detail-period{border-top:1px solid var(--line);padding-top:12px}.detail-day-table{overscroll-behavior:contain;max-height:45dvh;overflow:auto}.detail-day-table-head{background:var(--paper);color:var(--muted);border-bottom:1px solid var(--line);justify-content:space-between;padding:9px 0;font-size:11px;display:flex;position:sticky;top:0}.detail-product-link>svg{color:var(--muted)}.detail-product-link:disabled{opacity:1}.summary-sync{font-size:11px}.connection-choice{padding-bottom:6px}.app-footer{font-size:10px}.sheet{background:var(--surface)}.sheet-inner{padding-bottom:max(28px,calc(var(--tg-content-safe-bottom,0px) + env(safe-area-inset-bottom)))}.app-header{height:auto;min-height:68px;padding-top:8px;padding-bottom:8px}.mode-strip{padding-top:max(8px,var(--tg-safe-top,0px));min-height:34px;position:static}.bottom-nav{height:auto;min-height:68px;padding-bottom:max(9px,env(safe-area-inset-bottom),var(--tg-safe-bottom,0px));background:var(--surface);isolation:isolate}.app-shell,.mode-strip~.workspace .app-shell{padding-bottom:calc(88px + max(env(safe-area-inset-bottom),var(--tg-safe-bottom,0px)))}main{padding-left:max(16px,var(--tg-content-safe-left,0px),env(safe-area-inset-left));padding-right:max(16px,var(--tg-content-safe-right,0px),env(safe-area-inset-right));padding-top:20px}.page-heading{margin-bottom:16px}.page-heading h1{letter-spacing:-.4px;font-size:24px}.page-heading .eyebrow{display:none}.page-heading .updated{margin:0;font-size:10px}.sheet{max-height:calc(100dvh - max(24px,var(--tg-safe-top,0px)))}@media (hover:hover) and (pointer:fine){.mobile-summary-grid .metric-card:hover,.widget-options label:hover,.detail-product-link:hover{background:var(--soft)}}@media (width>=600px) and (width<=820px){.workspace{max-width:760px}.mobile-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-summary-grid>.widget:nth-child(n){border-top:1px solid var(--line);border-left:1px solid var(--line)}.mobile-summary-grid>.widget:nth-child(-n+4){border-top:0}.mobile-summary-grid>.widget:nth-child(4n+1){border-left:0}.bottom-nav{width:min(100%,760px)}}@media (width<=820px) and (orientation:landscape){.mobile-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-summary-grid>.widget:nth-child(n){border-top:1px solid var(--line);border-left:1px solid var(--line)}.mobile-summary-grid>.widget:nth-child(-n+5){border-top:0}.mobile-summary-grid>.widget:nth-child(5n+1){border-left:0}.bottom-nav{min-height:50px}.bottom-nav button{gap:2px}}@media (width>=821px){.metric-title-text{font-size:11px}.metric-card strong{font-size:17px}.summary-panel{padding:16px}}@media (width<=359px){.metric-card strong{font-size:15px}.metric-title-text{font-size:10px}.mobile-summary-grid .metric-card{padding-left:6px;padding-right:6px}.app-header{padding-left:16px;padding-right:12px}.summary-panel{padding:12px}.metric-comparison-row{flex-wrap:wrap}}.demo-scenarios{flex-wrap:wrap;gap:4px;margin:8px 0 12px;display:flex}.demo-scenarios button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:6px;padding:7px 8px;font-size:10px}.demo-scenarios button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}
