:root{--bg:#f7f9f8;--panel:#fff;--ink:#192624;--muted:#76827e;--line:#e8eeea;--green:#08784a;--green2:#0c9c62;--light:#e7f6ed;--soft:#f3f7f5;--shadow:0 8px 32px #10342309;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0;font-size:14px}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #91d9b6}.app{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:10;background:#fff;flex-direction:column;width:242px;padding:26px 15px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.7px;align-items:center;gap:12px;padding:5px 13px 36px;font-size:22px;font-weight:850;display:flex}.mark{align-items:flex-end;gap:3px;width:27px;height:25px;display:inline-flex;transform:skewY(-10deg)}.mark i{background:#11aa67;border-radius:5px 5px 2px 2px;width:6px;display:block}.mark i:first-child{height:10px}.mark i:nth-child(2){height:17px}.mark i:nth-child(3){height:24px}.sidebar nav{flex-direction:column;gap:5px;display:flex}.nav-item{text-align:left;color:#34433e;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;width:100%;padding:13px 14px;font-weight:550;display:flex}.nav-item.active{color:#045f3c;background:#dff3e9;font-weight:750}.nav-item:hover:not(.active){background:#f3f8f5}.nav-icon{justify-content:center;align-items:center;width:19px;height:19px;font-size:18px;font-weight:500;display:inline-flex}.nav-break{background:var(--line);height:1px;margin:16px 9px}.side-bottom{margin-top:auto}.sub-card{background:#e9f7ee;border-radius:11px;align-items:center;gap:10px;padding:11px;font-size:12px;display:flex}.sub-dot{color:#066f47;background:#c5ead4;border-radius:8px;padding:7px;font-size:19px}.sub-card strong,.sub-card small{display:block}.sub-card small{color:var(--muted);margin-top:3px;font-size:11px}.sidebar-note{color:#a0aaa5;margin:14px;font-size:11px}.shell{flex:1;min-width:0;margin-left:242px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:76px;padding:0 32px;display:flex}.top-left,.top-actions{align-items:center;gap:9px;display:flex}.store-control select,.select-control{appearance:none;border:1px solid var(--line);color:#283a33;background:#fff 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='%23657269' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 13px center no-repeat;border-radius:9px;max-width:180px;min-height:40px;padding:10px 36px 10px 13px;font-weight:550}.market{color:#fff;border-radius:7px;justify-content:center;align-items:center;min-width:25px;height:25px;padding:0 5px;font-size:11px;font-weight:800;display:flex}.market-wb{background:linear-gradient(135deg,#a900ad,#650ba3)}.market-ozon{background:#1365f5;font-size:10px}.round-button,.avatar{color:#586761;background:#f3f5f5;border:0;border-radius:50%;width:35px;height:35px;font-size:18px}.avatar{background:#e5ebeb;font-size:13px;font-weight:750}.demo-pill{color:#63806e;background:#eff7f1;border:1px solid #dbeee2;border-radius:30px;padding:7px 10px;font-size:11px}.mobile-brand,.mobile-nav{display:none}#content{max-width:1740px;margin:0 auto;padding:33px 35px 60px}.page-heading{justify-content:space-between;align-items:center;gap:14px;margin:0 0 24px;display:flex}.page-heading h1{letter-spacing:-1px;margin:0;font-size:30px;font-weight:780}.heading-sub{color:var(--muted);margin:7px 0 0;font-size:13px}.period-control,.action-button,.pill,.filter-input{border:1px solid var(--line);color:#354a41;background:#fff;border-radius:9px;min-height:40px;padding:10px 13px}.period-control{color:#344840}.action-button{justify-content:center;align-items:center;gap:8px;font-weight:650;display:flex}.action-button.primary{background:var(--green);border-color:var(--green);color:#fff}.action-button:hover{filter:brightness(.975)}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px;display:grid}.kpi{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:13px;min-height:139px;padding:20px 19px}.kpi.emphasis{background:linear-gradient(115deg,#e4f7e8,#d8f5e3);border-color:#d9f0de}.kpi-label{color:#596b61;justify-content:space-between;gap:5px;font-size:12px;display:flex}.kpi-value{letter-spacing:-.8px;white-space:nowrap;margin:17px 0 9px;font-size:28px;font-weight:790}.kpi-foot{color:#0b9256;font-size:12px;font-weight:670}.kpi-foot.neutral{color:#66756f}.surface{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:14px;padding:19px}.surface h2{letter-spacing:-.25px;margin:0;font-size:17px;font-weight:780}.surface-sub{color:var(--muted);margin:6px 0 0;font-size:12px}.overview-lower{grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr);gap:16px;display:grid}.graph-box{padding-bottom:11px}.chart-wrap{width:100%;margin-top:22px;overflow:hidden}.chart{width:100%;height:265px}.chart-labels{fill:#91a09a;font-size:11px}.legend{color:#78857e;justify-content:center;align-items:center;gap:16px;margin-top:13px;font-size:11px;display:flex}.legend-dot{background:#b5ebd5;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.legend-dot.dark{background:#087b4a}.stack{flex-direction:column;gap:15px;display:flex}.mini-stat{flex-direction:column;justify-content:center;min-height:153px;display:flex}.mini-stat .mini-value{margin:16px 0 7px;font-size:29px;font-weight:780}.green{color:#078650}.small{font-size:12px}.muted{color:var(--muted)}.section-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.segmented{background:#f5f7f6;border-radius:11px;align-items:center;gap:6px;width:max-content;padding:4px;display:flex}.segmented button{color:#607269;background:0 0;border:0;border-radius:9px;padding:11px 18px;font-size:13px;font-weight:620}.segmented button.active{color:#05663f;background:#dcf3e7;box-shadow:inset 0 -2px #0a8a54}.filters{flex-wrap:wrap;align-items:center;gap:10px;margin:17px 0;display:flex}.filter-input{outline-offset:2px;flex:1;min-width:240px}.table-holder{border:1px solid var(--line);border-radius:11px;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}th{text-align:left;color:#64736c;border-bottom:1px solid var(--line);background:#f8faf9;padding:15px 12px;font-size:11px;font-weight:650}td{border-bottom:1px solid #edf1ee;padding:15px 12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fcf9}.numeric{text-align:right;font-variant-numeric:tabular-nums}.profit{color:#00894d;font-weight:750}.report-link{color:#223e30;cursor:pointer;font-weight:650}.report-link:hover{color:#078f55;text-decoration:underline}.report-highlight{background:#e9f8ef}.report-highlight td:first-child{border-radius:10px 0 0 10px}.report-highlight td:last-child{border-radius:0 10px 10px 0}.mini-badge{color:#087647;background:#e7f8eb;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700;display:inline-block}.badge-muted{color:#6c7c72;background:#f0f4f1}.badge-warn{color:#9e6711;background:#fff2db}.tabs{gap:8px;margin:20px 0 16px;display:flex}.tabs button{color:#53665b;background:#f5f7f6;border:none;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:680}.tabs button.active{color:#04683f;background:#dff4e9;border-bottom:2px solid #148a58}.report-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.report-kpis .kpi{min-height:105px;padding:15px}.report-kpis .kpi-value{margin:14px 0 0;font-size:20px}.report-kpis .kpi-label{font-size:11px}.breadcrumbs{color:#89958e;margin-bottom:20px;font-size:12px}.breadcrumbs button{color:#5e7868;cursor:pointer;background:0 0;border:0;padding:0}.product-cell{align-items:center;gap:11px;display:flex}.product-thumb{background:#ecf0ef;border:1px solid #e3e8e5;border-radius:8px;flex-shrink:0;place-items:center;width:46px;height:52px;font-size:27px;display:grid}.product-cell strong{font-size:12px;display:block}.product-cell small{color:#87928b;margin-top:5px;font-size:10px;display:block}.empty{text-align:center;color:var(--muted);padding:46px 15px}.pagination{color:#758078;justify-content:space-between;align-items:center;gap:15px;margin-top:16px;font-size:12px;display:flex}.page-pill{color:#0a7145;background:#def3e8;border-radius:6px;padding:8px 11px;font-weight:750}.product-header{align-items:flex-start;gap:22px;padding:22px 0;display:flex}.product-hero{background:#edf1ee;border:1px solid #e1e8e2;border-radius:12px;flex-shrink:0;place-items:center;width:160px;height:175px;font-size:98px;display:grid}.product-details h2{margin:0 0 13px;font-size:25px}.product-details p{color:#697a6e;margin:9px 0;font-size:13px}.product-details .mini-badge{margin:12px 5px 0 0}.detail-bottom{grid-template-columns:1fr 1fr;gap:16px;margin-top:18px;display:grid}.kv-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.kv-row span:first-child{color:#69796f}.kv-row strong{font-variant-numeric:tabular-nums}.description{color:#718279;font-size:13px;line-height:1.7}.notice{color:#46725a;background:#f1faf4;border:1px solid #dcebe2;border-radius:9px;margin:17px 0;padding:13px 15px;font-size:12px;line-height:1.5}.notice.warn{color:#886c2a;background:#fffaf0;border-color:#f4e8c8}.expense-grid{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.expense-tile{border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px}.expense-tile span{color:#758379;font-size:12px}.expense-tile strong{margin-top:13px;font-size:24px;display:block}.expense-tile small{color:#8b968f;margin-top:8px;display:block}.cost-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.cost-form input{border:1px solid var(--line);border-radius:8px;width:140px;padding:12px}.cost-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:15px 0;display:flex}.cost-row:last-child{border-bottom:0}.cost-row .product-cell{min-width:180px}.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.integration-card{border:1px solid var(--line);background:#fff;border-radius:13px;padding:22px}.integration-card h3{margin:10px 0;font-size:18px}.integration-card p{color:#708177;min-height:44px;font-size:13px;line-height:1.7}.integration-logo{color:#fff;border-radius:8px;padding:8px 12px;font-size:14px;font-weight:800;display:inline-block}.footer-note{color:#98a49d;margin-top:26px;font-size:11px}.toast{color:#fff;z-index:99;background:#24483a;border-radius:10px;max-width:330px;padding:12px 19px;font-size:13px;display:none;position:fixed;bottom:25px;right:25px;box-shadow:0 10px 30px #0018}.toast.show{display:block}.settings-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.setting-item{border:1px solid var(--line);border-radius:12px;padding:18px}.setting-item strong{margin-bottom:8px;display:block}.setting-item p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}@media (max-width:1200px){.sidebar{width:212px}.shell{margin-left:212px}#content{padding:27px 24px}.topbar{padding:0 24px}.kpi-value{font-size:23px}.report-kpis .kpi-value{font-size:17px}.report-kpis{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.sidebar{width:74px;padding:19px 9px}.sidebar .brand span:not(.mark),.sidebar .nav-text,.sidebar .side-bottom,.sidebar .nav-break{display:none}.brand{padding:6px 11px 30px}.nav-item{justify-content:center;padding:13px 4px}.shell{margin-left:74px}.overview-lower{grid-template-columns:1fr}.overview-lower .stack{grid-template-columns:repeat(2,1fr);display:grid}.kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:650px){.sidebar{display:none}.shell{width:100%;margin-left:0}.topbar{height:65px;padding:0 17px}.mobile-brand{letter-spacing:-.4px;background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:16px;display:flex}.mobile-brand .mark{margin-left:-3px;margin-right:-4px;transform:skewY(-10deg)scale(.73)}.top-left,.top-actions .demo-pill,.top-actions .avatar{display:none}#content{padding:22px 15px 96px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading .period-control{max-width:130px;padding:8px;font-size:11px}.kpi-grid{gap:8px}.kpi{min-height:123px;padding:14px 12px}.kpi-value{font-size:21px}.kpi-label,.kpi-foot{font-size:11px}.overview-lower .stack{grid-template-columns:1fr 1fr;gap:8px}.mini-stat{min-height:122px}.mini-stat .mini-value{font-size:23px}.surface{padding:14px}.chart{height:200px}.segmented{gap:3px;width:100%}.segmented button{flex:1;padding:10px 6px;font-size:12px}.report-kpis{grid-template-columns:repeat(2,1fr)}.report-kpis .kpi-value{font-size:18px}.report-kpis .kpi{min-height:90px}.report-kpis .kpi:last-child{grid-column:span 2}.filters{gap:7px}.filter-input{width:100%;min-width:0}.product-header{flex-direction:column;gap:14px}.product-hero{width:130px;height:125px;font-size:73px}.product-details h2{font-size:21px}.detail-bottom,.integration-grid,.settings-grid{grid-template-columns:1fr}.expense-grid{grid-template-columns:1fr 1fr}.expense-tile strong{font-size:19px}.mobile-nav{z-index:20;border-top:1px solid var(--line);height:70px;padding:6px 8px max(4px,env(safe-area-inset-bottom));background:#fff;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-nav button{color:#7b8880;background:#fff;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.mobile-nav button span:first-child{font-size:20px}.mobile-nav button.active{color:#00884f;font-weight:800}.pagination{font-size:11px}.toast{max-width:none;bottom:86px;left:15px;right:15px}}.clickable{cursor:pointer}.clickable:hover td{background:#f3fbf6}.breakdown{background:#f7fbf8;border-radius:10px;padding:10px 20px}.breakdown .action-button{margin-top:15px}.table-holder{overflow-x:auto}.filter-input{width:100%;max-width:340px;margin:15px 0}.integration-card .action-button{margin-top:16px}.cost-form input{max-width:135px}
