:root{--bg:#f5f6fa;--surface:#fff;--ink:#1a2337;--muted:#7b8497;--line:#e9ecf2;--accent:#5d54d7;--wb:#b545c6;--ozon:#2f6df6;--green:#228d71;--red:#cb586b;--amber:#a8771b;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,select,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8a82ea;outline-offset:3px}a{color:inherit;text-decoration:none}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#171d31;color:#acb3c8;padding:32px 18px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;color:#fff;font-weight:750;font-size:27px;letter-spacing:-1px;padding:0 16px}.brand small{display:block;font-size:8px;letter-spacing:2.9px;color:#999fb6;font-weight:650;margin-top:4px}.brand-mark{width:40px;height:40px;border:1px solid #7269b4;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#665dcc,#383466);font-size:33px;font-weight:550;padding-bottom:5px}.workspace{margin:34px 5px 31px;padding:13px 10px;border:1px solid #30364a;background:#20273c;border-radius:12px;display:flex;align-items:center;gap:9px;font-size:12px;color:#eceef7}.workspace-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#343b53;color:#cbc5ff;font-weight:700}.workspace small,.sidebar-bottom small{display:block;font-size:10px;color:#8b93aa;margin-top:5px}.local-dot{background:#7ab8a6;width:6px;height:6px;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.5px;color:#6f7791;margin:0 17px 15px}nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;border-radius:9px;padding:12px 15px;font-size:12px;font-weight:500;transition:background .15s,color .15s}.nav-item:hover{background:#252b42;color:#fff}.nav-item.active{background:#34334f;color:#e1dbff;box-shadow:inset 3px 0 #a69bec}.nav-icon{font-size:18px;width:22px;text-align:center;color:#858da7}.nav-item.active .nav-icon{color:#b6aaff}.nav-count{margin-left:auto;font-size:9px;background:#44415d;padding:3px 5px;border-radius:4px}.nav-divider{height:1px;background:#2b3247;margin:17px 14px}.sidebar-bottom{display:flex;gap:10px;margin:auto 9px 0;padding-top:24px;border-top:1px solid #2b3247;font-size:11px;color:#b6bdd0}.privacy-icon{font-size:22px;color:#8b91ac}.workspace-main{margin-left:235px}.topbar{height:76px;border-bottom:1px solid #e9ecf2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#8b92a1}.breadcrumb span{margin:0 14px;color:#c9ccd7}.breadcrumb strong{color:#4d5569;font-weight:500}.topbar-right{display:flex;align-items:center;gap:23px}.status-pill{font-size:10px;border:1px solid #e7eaf0;padding:7px 10px;border-radius:6px;color:#6d7689;display:flex;gap:6px;align-items:center}.status-pill>span{width:5px;height:5px;border-radius:50%;background:#3eaa8a}.avatar{width:31px;height:31px;border-radius:50%;background:#edeaf9;color:#6b61a6;display:grid;place-items:center;font-size:10px;font-weight:700}main{padding:35px 38px 24px;max-width:1850px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.65px;color:#9599ad;font-weight:700;margin-bottom:8px}h1{font-size:29px;letter-spacing:-.9px;line-height:1.15;margin:0 0 10px;font-weight:680}h2{font-size:16px;letter-spacing:-.25px;line-height:1.3;margin:0;font-weight:650}h3{font-size:13px;margin:0 0 9px;font-weight:600}p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.heading-actions{display:flex;gap:9px}.button{border:0;border-radius:8px;padding:11px 16px;font-size:11px;font-weight:600;white-space:nowrap}.button.primary{background:var(--accent);color:#fff;box-shadow:0 4px 9px #5d54d719}.button.primary:hover{background:#4d44bf}.button.secondary{background:#fff;border:1px solid #e0e4ee;color:#626a7e}.button.secondary:hover{border-color:#a8a1df}.button.small{padding:8px 12px;font-size:10px}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.market-tabs{display:flex;gap:4px;padding:4px;background:#e9ebf2;border-radius:10px}.market-tabs button{background:none;border:0;border-radius:7px;font-size:10px;font-weight:600;color:#7e8597;padding:10px 14px;display:flex;align-items:center;gap:7px}.market-tabs button.selected{background:#fff;color:#3a4154;box-shadow:0 2px 6px #27315209}.market-dot{display:inline-block;width:7px;height:7px;border-radius:50%}.market-dot.wb{background:var(--wb)}.market-dot.ozon{background:var(--ozon)}.filter-right{display:flex;gap:10px;align-items:center}select,.date-control{border:1px solid #e3e6ee;background:#fff;border-radius:8px;padding:11px 13px;font-size:10px;color:#626a7e;max-width:235px}.date-control{white-space:nowrap}.notice{border:1px solid #e9e0c9;background:#fffcf4;color:#8c763f;padding:12px 16px;border-radius:10px;display:flex;gap:12px;align-items:center;font-size:11px;line-height:1.5;margin-bottom:21px}.notice b{font-weight:650}.notice .notice-icon{font-size:16px;color:#b99547}.notice a{margin-left:auto;text-decoration:underline;white-space:nowrap}.notice.good{border-color:#d9ebe4;background:#f3faf7;color:#4c806f}.notice.error{border-color:#eccbd2;background:#fff7f8;color:#b2415b}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:0 3px 11px #24304f02}.kpi{padding:20px 19px 17px;position:relative;overflow:hidden}.kpi-label{font-size:10px;color:#7a8295;display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:16px}.kpi-icon{font-size:13px;border-radius:6px;background:#f1eff9;color:#9b92c3;width:24px;height:24px;display:grid;place-items:center}.kpi-value{font-size:25px;font-weight:670;letter-spacing:-.8px;white-space:nowrap}.kpi-value.missing{color:#c1c6d2}.kpi-note{font-size:9px;color:#9aa1b0;margin-top:10px;line-height:1.6;min-height:14px}.kpi.highlight{background:#eeedf9;border-color:#e2dff4}.kpi.highlight .kpi-value{color:#5c529c}.kpi.highlight .kpi-icon{background:#dedaf3;color:#8c7fbc}.section-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:21px;margin-bottom:22px}.card-header{display:flex;justify-content:space-between;align-items:flex-start;padding:23px 23px 0;gap:15px}.card-header p{font-size:10px;margin-top:5px}.card-body{padding:22px 23px}.mini-tag{font-size:9px;white-space:nowrap;border:1px solid #e7e9f0;color:#8d95a5;border-radius:5px;padding:5px 8px}.legend{display:flex;gap:16px;align-items:center;font-size:10px;color:#848ca0;margin-top:17px;flex-wrap:wrap}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.chart-wrap{height:220px;margin-top:12px}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-label{font-size:10px;fill:#a0a7b6;font-family:inherit}.chart-empty{height:210px;display:grid;place-items:center;text-align:center;background:repeating-linear-gradient(to bottom,transparent,transparent 48px,#f2f3f8 49px,#f2f3f8 50px);border-bottom:1px solid #eef0f6;position:relative}.chart-empty>div{background:#ffffffee;padding:16px 22px;border-radius:12px;max-width:310px}.chart-empty strong{font-size:12px;display:block;margin-bottom:5px;color:#8b92a4}.chart-empty p{font-size:10px}.chart-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:16px 23px;color:#969cad;font-size:9px}.chart-foot b{color:#6a7288;font-weight:500}.waterfall{display:grid;gap:15px}.waterfall-row{display:grid;grid-template-columns:125px 1fr 83px;align-items:center;gap:12px;font-size:10px}.waterfall-row>span{color:#858d9f}.waterfall-row b{font-variant-numeric:tabular-nums;text-align:right;font-weight:550;color:#535d73;white-space:nowrap}.bar-track{height:7px;background:#f0f1f7;border-radius:4px;overflow:hidden}.bar-fill{height:100%;border-radius:4px;background:#d0c7ee}.waterfall-row.total{border-top:1px dashed #e7e8f0;padding-top:16px;font-size:11px}.waterfall-row.total span,.waterfall-row.total b{color:#6a579d;font-weight:650}.waterfall-row.total .bar-fill{background:#9a86cb}.muted-text{font-size:10px;color:#9a9fb0;line-height:1.7}.pnl-mini{margin-top:21px;padding:13px 14px;background:#f7f7fb;border-radius:8px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#9a95ad}.pnl-mini strong{color:#7f7599;font-weight:500}.forecast-card{padding:23px;display:flex;gap:20px;align-items:center}.forecast-symbol{width:47px;height:47px;flex-shrink:0;display:grid;place-items:center;border-radius:13px;background:#f0eef9;color:#8b81ba;font-size:23px}.forecast-value{font-size:23px;font-weight:650;letter-spacing:-.5px;color:#5e568e;margin-top:8px}.forecast-card p{font-size:10px}.forecast-meta{margin-left:auto;max-width:150px;font-size:9px;color:#9a9eb0;line-height:1.7}.forecast-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-bottom:22px}.table-card{margin-bottom:22px;overflow:hidden}.table-toolbar{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}.table-toolbar p{font-size:10px;margin-top:5px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:10px;font-variant-numeric:tabular-nums}th{font-weight:500;color:#9199aa;background:#fbfcfe;padding:13px 20px;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:14px 20px;border-bottom:1px solid #f0f2f7;color:#5d667e}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fcfcff}th.num,td.num{text-align:right}td.strong{font-weight:600;color:#424c64}.table-footer{padding:14px 23px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#a0a7b6;font-size:9px}.market-badge{display:inline-flex;align-items:center;gap:5px;background:#f7edf9;color:#a343b6;padding:4px 7px;border-radius:4px;font-size:8px;font-weight:650}.market-badge.ozon{background:#ecf2ff;color:#4479db}.status-badge{padding:4px 8px;font-size:8px;border-radius:4px;background:#f4f2f9;color:#8a7fa2;display:inline-block}.status-badge.complete{background:#eaf5f0;color:#43886d}.status-badge.partial{background:#faf3e4;color:#aa873d}.status-badge.not_loaded{background:#f1f2f6;color:#a3a8b6}.search{width:240px;border:1px solid #e5e8f0;border-radius:7px;padding:9px 12px;font-size:10px;color:#5d667b;background:#fff}.empty-state{padding:58px 25px;text-align:center}.empty-icon{width:48px;height:48px;border-radius:14px;background:#f2f0fa;color:#b6aecf;display:grid;place-items:center;font-size:24px;margin:0 auto 14px}.empty-state h3{font-size:13px;color:#7d869c}.empty-state p{font-size:11px;max-width:470px;margin:0 auto}.source-list{display:grid;gap:13px}.source-item{border:1px solid #e9ecf3;padding:16px 18px;border-radius:12px;display:flex;gap:13px;align-items:flex-start}.source-symbol{width:34px;height:38px;border:1px solid #e4e1f1;background:#f7f5fc;border-radius:7px;display:grid;place-items:center;font-size:16px;color:#aaa1c2;flex-shrink:0}.source-item h3{font-size:11px;margin-bottom:4px}.source-item p{font-size:10px}.source-info{flex:1;min-width:0}.source-sha{font-family:ui-monospace,monospace;font-size:8px;color:#b0b4c1;margin-top:7px;overflow-wrap:anywhere}.source-status{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.product-name{display:flex;gap:10px;align-items:center;white-space:normal;min-width:200px;max-width:330px}.product-image{width:37px;height:43px;border-radius:6px;object-fit:cover;background:#f3f2f7;flex-shrink:0}.product-placeholder{width:37px;height:43px;border-radius:6px;background:#f3f2f7;color:#b7b2c8;display:grid;place-items:center;font-size:18px;flex-shrink:0}.product-name small{display:block;font-size:8px;color:#a0a7b6;margin-top:4px}.cost-missing{color:#c39a5e;font-size:9px}.cost-date{font-size:8px;color:#a5abbb;margin-top:4px}.history-list{display:grid;gap:4px;font-size:9px;color:#9198ab}.disclosure{border:1px solid #e9ecf2;border-radius:12px;background:#fff;margin-bottom:20px;padding:16px 20px;color:#7a839a;font-size:11px;line-height:1.8}.disclosure summary{cursor:pointer;font-weight:600}.disclosure p{font-size:11px;margin-top:10px;max-width:1000px}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#eceef4;border:1px solid #eceef4;border-radius:12px;overflow:hidden;margin-bottom:22px}.stats-strip>div{background:#fff;padding:19px 22px}.stats-strip p{font-size:9px}.stats-strip strong{display:block;font-size:20px;margin-top:8px;font-weight:600;color:#70718d}.missing{color:#b5bdcb!important}.text-green{color:var(--green)!important}.text-red{color:var(--red)!important}.loading{padding:75px;text-align:center;color:#9a9fb0;font-size:12px}footer{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-top:29px;font-size:8px;color:#a7adbc;padding:0 3px}dialog{border:0;border-radius:18px;box-shadow:0 30px 100px #1b234333;padding:27px;width:470px;max-width:calc(100vw - 32px);color:var(--ink)}dialog::backdrop{background:#141c344d;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.icon-button{border:0;background:#f2f3f8;color:#8a91a3;border-radius:7px;width:29px;height:29px;font-size:23px;line-height:1}#cost-product-name{margin-bottom:21px;color:#737c92;font-size:12px}#cost-form label{display:block;color:#777f94;font-size:11px;margin-top:16px}#cost-form input:not([type=hidden]){display:block;width:100%;border:1px solid #dfe3ee;padding:12px;border-radius:8px;margin-top:8px;color:#49536d;background:#fff}#cost-form .form-help{font-size:10px;margin-top:18px;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.form-error{color:#bd4a63;font-size:11px;margin-top:12px}.toast{position:fixed;right:30px;bottom:25px;background:#282e48;color:#fff;font-size:12px;padding:13px 20px;border-radius:10px;box-shadow:0 5px 20px #0002;opacity:0;transform:translateY(10px);transition:all .2s;pointer-events:none;z-index:100}.toast.visible{opacity:1;transform:translateY(0)}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.note-block{padding:17px 21px;border-left:3px solid #b6abd7;background:#f4f2fb;color:#8b7da4;font-size:10px;line-height:1.8;border-radius:0 9px 9px 0;margin-bottom:20px}.subtle-link{border:0;padding:0;background:transparent;color:#8b80b1;font-size:10px;text-decoration:underline}.compact-text{font-size:9px;color:#929bad;max-width:260px;white-space:normal;line-height:1.65}.daily-table td:first-child{position:sticky;left:0;background:#fff}.daily-table th:first-child{position:sticky;left:0;z-index:1}.total-row td{font-weight:650;background:#f8f7fc!important;color:#77668e}.grid-full{display:grid;grid-template-columns:1fr;gap:20px}.accounts-list{display:grid;gap:15px}.account-item{display:flex;gap:10px;align-items:center}.account-item .account-value{margin-left:auto;color:#6f7890;font-size:12px;font-weight:600}.account-item p{font-size:9px}.account-letter{width:30px;height:30px;border-radius:8px;background:#f6eef8;display:grid;place-items:center;color:#ae6bb6;font-size:11px;font-weight:700}.account-letter.ozon{background:#edf2ff;color:#6790dc}
@media(min-width:1550px){.kpi-value{font-size:30px}.kpi{padding:23px}.chart-wrap{height:255px}.waterfall{gap:21px}}
@media(max-width:1220px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.workspace-main{margin-left:205px}main{padding:28px 24px}.topbar{padding:0 24px}.kpi-grid{gap:10px}.kpi{padding:16px 13px}.kpi-value{font-size:20px}.waterfall-row{grid-template-columns:108px 1fr 75px;gap:8px}.card-header,.card-body{padding-left:19px;padding-right:19px}.section-grid{grid-template-columns:1.4fr 1fr}.forecast-meta{display:none}.market-tabs button{padding:10px}.filter-right select{max-width:190px}}
@media(max-width:980px){.sidebar{width:77px;padding:24px 9px}.brand{padding:0 8px}.brand>span:last-child,.workspace,.nav-label,.nav-item>span:not(.nav-icon),.sidebar-bottom,.nav-divider{display:none}.brand-mark{width:41px;flex-shrink:0}.sidebar nav{margin-top:36px}.nav-item{padding:12px;justify-content:center}.nav-icon{font-size:21px}.workspace-main{margin-left:77px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-grid .kpi:last-child{grid-column:span 2}.page-heading{align-items:flex-start}.section-grid{grid-template-columns:1fr}.forecast-grid{gap:14px}.filterbar{flex-wrap:wrap}.filter-right{margin-left:auto}.chart-wrap{height:230px}.waterfall{gap:17px}.waterfall-row{grid-template-columns:140px 1fr 100px}.kpi-value{font-size:26px}}
@media(max-width:650px){.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:61px;flex-direction:row;align-items:center;padding:0 4px;border-top:1px solid #34394d}.brand{display:none}.sidebar nav{margin:0;display:flex;width:100%;justify-content:space-around;gap:0}.nav-item{padding:12px 8px}.nav-icon{font-size:18px}.workspace-main{margin-left:0}.topbar{height:55px;padding:0 18px}.status-pill{display:none}.topbar-right{gap:10px}.breadcrumb{font-size:10px}main{padding:24px 16px 90px}.page-heading{flex-direction:column;gap:15px;margin-bottom:20px}.heading-actions{align-self:stretch}.heading-actions .button{flex:1}.eyebrow{font-size:8px}h1{font-size:26px}.filterbar{gap:10px}.market-tabs{width:100%}.market-tabs button{flex:1;justify-content:center;padding:10px 8px;font-size:9px}.filter-right{margin:0;width:100%;justify-content:space-between}.filter-right select{max-width:calc(100vw - 165px);flex:1}.date-control{font-size:9px;padding:11px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-grid .kpi:last-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;align-items:center}.kpi:last-child .kpi-label{margin-bottom:0}.kpi:last-child .kpi-note{margin-top:4px;grid-column:span 2}.kpi:last-child .kpi-value{text-align:right}.kpi-value{font-size:23px}.notice{font-size:10px;gap:9px;align-items:flex-start;padding:11px 12px}.notice a{display:none}.forecast-grid{grid-template-columns:1fr;gap:12px}.forecast-card{padding:20px}.forecast-value{font-size:22px}.card-header{padding:20px 17px 0}.card-body{padding:20px 17px}.card-header h2{font-size:14px}.chart-wrap{height:210px}.waterfall-row{grid-template-columns:108px 1fr 80px;font-size:9px}.chart-foot{padding:13px 17px;font-size:8px}.table-toolbar{padding:18px;align-items:flex-start;flex-wrap:wrap}.search{width:100%}th,td{padding:12px 16px}.stats-strip{grid-template-columns:1fr}.stats-strip>div{display:flex;justify-content:space-between;align-items:center;padding:16px 20px}.stats-strip strong{margin:0}.source-item{padding:13px;gap:10px}.source-status{max-width:100px}.source-symbol{width:28px;height:33px}.source-item h3{font-size:10px;overflow-wrap:anywhere}.source-sha{display:none}footer{font-size:8px;gap:12px;align-items:flex-start;line-height:1.7}footer span:nth-child(2){display:none}.toast{right:16px;left:16px;bottom:78px;text-align:center}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Unitka mint material, adapted from the chosen local RNP reference. */
:root{--bg:#edf6f1;--surface:#f6fcf8;--ink:#254e43;--muted:#647d70;--line:#d2e2d8;--accent:#34725e;--green:#34725e;--red:#9b4b48;--amber:#8d6b28;--ozon:#568bbd;--wb:#a56caf;--radius:16px;--nm-raised:linear-gradient(145deg,#f6fcf8,#e2eee6);--nm-small:3px 3px 7px #92b5a540,-3px -3px 7px #ffffffdb,inset 0 1px 1px #ffffffe6;--nm-inset:inset 3px 3px 6px #90b3a547,inset -3px -3px 6px #ffffffeb;font-family:"PT Sans",Arial,sans-serif;color:var(--ink)}
body{padding:16px;isolation:isolate;background:radial-gradient(ellipse at 90% 2%,#dff5ec 0,transparent 48%),radial-gradient(ellipse at 5% 89%,#82b7ac 0,transparent 55%),linear-gradient(132deg,#cce7dd 2%,#e8f3ed 33%,#a4cbc1 72%,#d1e9e1);background-attachment:fixed;min-height:100vh}body::before{content:"";position:fixed;inset:-58vh -12vw auto -35vw;height:110vh;border-radius:50%;border:1px solid #ffffff8c;background:linear-gradient(145deg,#ffffff36,#ddf1e31a 60%,#6dafa426);box-shadow:0 8px 28px #588e7e1b,inset 0 -7px 24px #ffffff60;z-index:-1;pointer-events:none;transform:rotate(17deg)}
.sidebar{inset:16px auto 16px 16px;width:216px;border:1px solid #f7fffbd6;border-radius:17px;background:linear-gradient(140deg,#edf7f0ed,#d9eae0ed);color:#5a7867;box-shadow:inset 0 1px 1px #fff,5px 8px 22px #658f7d28;padding:27px 13px 20px}.brand{color:#254e43;padding:0 13px;gap:10px;font-size:29px}.brand small{color:#6f8879;letter-spacing:2.3px}.brand-mark{background:var(--nm-raised);box-shadow:var(--nm-small);color:#34725e;border:1px solid #ffffffbf;border-radius:12px}.workspace{margin:31px 4px 27px;background:#e1eee5;border-color:transparent;box-shadow:var(--nm-inset);color:#3a6250;padding:13px 9px}.workspace-icon{background:var(--nm-raised);box-shadow:var(--nm-small);color:#47735d}.workspace small,.sidebar-bottom small{color:#7a9181}.nav-label{color:#8aa08f;font-size:10px}.nav-item{font-size:13px;gap:10px;padding:12px 13px;color:#56715f}.nav-item:hover{background:#e2eee5;color:#254e43}.nav-item.active{background:var(--nm-raised);color:#254e43;box-shadow:var(--nm-small);border:1px solid #ffffff8f;padding:11px 12px}.nav-icon{color:#76947e}.nav-item.active .nav-icon{color:#34725e}.nav-divider{background:#c9dcd0;margin:15px 10px}.sidebar-bottom{border-top-color:#c8dbcd;color:#597a65;margin-left:7px;margin-right:7px;font-size:10px}.privacy-icon{color:#75977d}.workspace-main{margin-left:232px;border:1px solid #f6fff8d9;border-radius:17px;min-height:calc(100vh - 32px);background:linear-gradient(180deg,#edf6f1f2 0 72px,#e8f3eced 100%);box-shadow:inset 0 1px #fff,0 12px 25px #658f7d25;overflow:hidden}.topbar{height:67px;padding:0 30px;background:linear-gradient(135deg,#f5fcf7d9,#e3f0e7cc);border-color:#d3e4d7;box-shadow:inset 0 1px #ffffffcc}.breadcrumb{color:#7c9483}.breadcrumb strong{color:#4b6c58}.breadcrumb span{color:#abc2b1}.status-pill{background:#e7f2eb;border-color:#f7fffa;color:#66836e;box-shadow:var(--nm-inset)}.avatar{background:var(--nm-raised);color:#54765d;box-shadow:var(--nm-small)}main{padding:30px 30px 24px}h1{font-size:30px;letter-spacing:-.7px;color:#254e43}h2{color:#325a47;font-size:17px}h3{color:#416950}.eyebrow{color:#839b89;font-size:9px}.page-heading p{color:#6f8776;font-size:13px}.button{font-size:12px;padding:11px 15px;border-radius:11px}.button.secondary{background:var(--nm-raised);border:1px solid #f9fffcbd;color:#456e56;box-shadow:var(--nm-small)}.button.secondary:hover{background:linear-gradient(145deg,#fbfffc,#e5f2e9);border-color:#fff}.button.primary{background:linear-gradient(150deg,#347b68,#286253);border:1px solid #37755f66;box-shadow:inset 0 1px 1px #ffffff66,3px 4px 8px #699b8940;color:#fff}.button.primary:hover{background:linear-gradient(150deg,#2f735f,#245946)}.button:active{box-shadow:var(--nm-inset)}.button.small{font-size:11px;padding:8px 11px}.market-tabs{background:#dcece2;box-shadow:var(--nm-inset);border-radius:12px;padding:4px}.market-tabs button{font-size:12px;color:#6c8775;border-radius:9px;padding:10px 13px}.market-tabs button.selected{background:var(--nm-raised);box-shadow:var(--nm-small);color:#305c45}.filter-right select,.date-control,.search{background:#e4f0e8;border-color:transparent;box-shadow:var(--nm-inset);color:#4d7059;border-radius:10px;font-size:12px}.date-control{padding:11px 13px}.search{font-size:12px}.notice{border:1px solid #f8fffbd9;border-left:3px solid #b1a16a;background:#eef0dfab;box-shadow:inset 0 1px #ffffffc0;color:#7e754e;border-radius:11px;font-size:12px;padding:11px 15px}.notice.good{background:#dfeee4b0;border-color:#f6fff8;color:#53745d}.notice.error{background:#f5e5df;color:#995b50;border-color:#faeee8}.notice-icon{color:#968452}.card{background:linear-gradient(145deg,#f8fcf9,#edf6f1);border:1px solid #ffffffc9;box-shadow:var(--nm-small);border-radius:16px}.kpi-grid{gap:13px}.kpi{padding:20px 18px}.kpi-label{font-size:12px;color:#688271;align-items:flex-start;margin-bottom:13px}.kpi-icon{background:#deece3;color:#73957e;box-shadow:var(--nm-inset);border-radius:7px;flex-shrink:0}.kpi-value{font-size:29px;color:#315c45;font-weight:700}.kpi-note{color:#829989;font-size:10px;line-height:1.5}.kpi.highlight{background:linear-gradient(145deg,#e2f0e5,#d1e5d9);border-color:#f3fff5}.kpi.highlight .kpi-value{color:#2f654e}.kpi.highlight .kpi-icon{background:#cce1d3;color:#4e7e62}.kpi-value.missing{color:#9eb8a7}.card-header p{color:#789381;font-size:11px}.mini-tag{color:#78917e;border-color:#cfe0d3;background:#e8f2eb;font-size:10px}.legend{color:#708a78;font-size:12px}.chart-label{fill:#87a18e;font-size:11px}.chart-empty{border-color:#cfdfd4;background:repeating-linear-gradient(to bottom,transparent,transparent 48px,#dce9e0 49px,#dce9e0 50px)}.chart-empty>div{background:#f1f8f2ef;box-shadow:var(--nm-small)}.chart-empty strong{color:#6f8d78}.chart-foot{color:#8ca492;border-color:#d8e7dc;font-size:10px}.chart-foot b{color:#728e7c}.waterfall-row{font-size:12px;grid-template-columns:140px 1fr 105px}.waterfall-row>span{color:#6b8774}.waterfall-row b{color:#51745e}.bar-track{background:#dcebe1;box-shadow:inset 1px 1px 3px #a8c0b039}.waterfall-row.total span,.waterfall-row.total b{color:#397455}.waterfall-row.total{border-color:#c8dccc}.pnl-mini{background:#dfeee4;box-shadow:var(--nm-inset);color:#72917a;font-size:11px;border-radius:10px}.pnl-mini strong{color:#52765b}.forecast-symbol{background:#dfede3;box-shadow:var(--nm-inset);color:#6e977d}.forecast-card p{font-size:12px;color:#789280}.forecast-value{color:#4a785e}.forecast-meta{color:#8ba391}.table-card{border-color:#fafffc}.table-toolbar p{font-size:11px;color:#78927f}.table-wrap{background:#fcfffd}table{font-size:12px}th{color:#72917b;background:#e7f1e9;border-color:#cfdfd3;font-size:11px}td{color:#4c7059;border-color:#e2ece5;background:#fcfffd}tbody tr:hover td{background:#edf6ef}.table-footer{font-size:10px;color:#8ba591;border-color:#d3e4d7;background:#f0f8f2}.market-badge{background:#f0e6f0;color:#9a6ba4;font-size:9px}.market-badge.ozon{background:#e4edf5;color:#668db5}.status-badge{background:#e5eee6;color:#7c977f;font-size:10px}.status-badge.complete{background:#dceee1;color:#4a7c5d}.status-badge.partial{background:#ede8cf;color:#9b854b}.status-badge.not_loaded{background:#ebf0e9;color:#98aa98}.note-block{background:#e3eee2;border-color:#93b399;color:#6b8870;font-size:12px;box-shadow:inset 0 1px #ffffffa8}.disclosure{background:#eef7f0;border-color:#fafffc;box-shadow:var(--nm-small);color:#68866f;font-size:12px}.disclosure p{font-size:12px}.stats-strip{background:#d5e5d9;border-color:#f8fff9;box-shadow:var(--nm-small)}.stats-strip>div{background:linear-gradient(145deg,#f3faf5,#e4f0e7)}.stats-strip p{font-size:11px;color:#78937e}.stats-strip strong{color:#527d61;font-size:22px}.subtle-link{color:#578667;font-size:12px}.muted-text{color:#839d88;font-size:11px}.compact-text{color:#7e9684;font-size:11px}.source-item{background:#f6fcf8;border-color:#d5e4d8;border-radius:12px}.source-item h3{font-size:12px}.source-item p{font-size:11px;color:#7f9885}.source-symbol{background:var(--nm-raised);border-color:#fafffc;box-shadow:var(--nm-small);color:#83a08c}.source-sha{color:#9bb09e;font-size:9px}.cost-date{color:#89a08d;font-size:10px}.cost-missing{color:#aa8c58;font-size:11px}.cost-date,.compact-text{white-space:normal}.product-placeholder{background:#e6f0e8;color:#a1b7a5}.product-name small{color:#91a995;font-size:10px}.history-list{color:#789780;font-size:11px}.account-letter{background:var(--nm-raised);box-shadow:var(--nm-small);color:#9a6da4;border:1px solid #ffffffc4}.account-letter.ozon{color:#6389b0;background:var(--nm-raised)}footer{color:#8da793;font-size:9px}.missing{color:#a1b7a6!important}.daily-table td:first-child{background:#fcfffd}.daily-table th:first-child{background:#e7f1e9}dialog{background:linear-gradient(145deg,#f3faf5,#e4f0e7);color:#315b45;border:1px solid #fcfffd;border-radius:19px;box-shadow:8px 12px 40px #42684d4d}dialog::backdrop{background:#19392c35;backdrop-filter:blur(4px)}.icon-button{background:#deece1;color:#7a9782;box-shadow:var(--nm-inset)}.form-help{color:#839a88}.toast{background:#315c47;color:#f4fff7}.empty-icon{background:#dfede3;color:#9bb5a3;box-shadow:var(--nm-inset)}.empty-state h3{color:#6e8b77}.empty-state p{color:#8ba18f}.sr-only{color:#254e43}
/* Interactive, truthful WB/Ozon chart. */
.sales-chart-card{margin-bottom:22px}.section-grid .sales-chart-card{margin-bottom:0}.chart-metric-switch{display:flex;gap:3px;align-items:center;background:#dcebe1;padding:3px;border-radius:10px;box-shadow:var(--nm-inset);flex-shrink:0}.chart-metric-switch button{border:0;background:transparent;color:#6d8b76;font-size:11px;padding:7px 11px;border-radius:8px}.chart-metric-switch button[aria-pressed=true]{background:var(--nm-raised);box-shadow:var(--nm-small);color:#3c6b4e}.chart-legend{margin-top:0;gap:18px}.chart-legend small{font-size:10px;color:#95ab99;margin-left:auto}.interactive-chart{position:relative;height:245px}.chart-hit{cursor:crosshair;outline:none}.chart-hit:hover,.chart-hit.is-active,.chart-hit:focus{fill:#678b7410}.chart-hit:focus{stroke:#82a88d;stroke-width:1;stroke-dasharray:4 4}.chart-hover-card{position:absolute;right:16px;top:12px;min-width:225px;max-width:280px;background:#f5fcf7f5;border:1px solid #fff;border-radius:13px;box-shadow:4px 6px 18px #55785f33;backdrop-filter:blur(6px);padding:15px 16px;pointer-events:none;font-size:12px;z-index:5}.chart-hover-card[hidden]{display:none}.chart-tip-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:13px}.chart-tip-head strong{font-size:14px}.chart-tip-head>span{font-size:9px;color:#a38d58;background:#ece7cf;padding:3px 5px;border-radius:4px}.chart-tip-row{display:flex;justify-content:space-between;gap:20px;margin-top:10px;color:#6c8874}.chart-tip-row span{display:flex;align-items:center;gap:6px}.chart-tip-row b{color:#426b51;font-variant-numeric:tabular-nums;font-weight:600}.chart-tip-total{border-top:1px solid #d7e6da;margin-top:12px;padding-top:11px;display:flex;justify-content:space-between;gap:20px}.chart-hover-card>small{display:block;font-size:9px;line-height:1.5;color:#9aab95;margin-top:7px}
/* RNP structure from Unitka: grouped metric-by-day matrix and quality bar. */
.rnp-tabs{display:flex;align-items:center;gap:5px;margin:0 0 20px;border-bottom:1px solid #bed5c5;padding-left:8px}.rnp-tabs button{border:1px solid #ffffffbb;border-bottom:0;border-radius:13px 13px 0 0;background:#dcebe1;box-shadow:inset 2px 3px 5px #8fac9624;color:#78917e;font-size:13px;padding:12px 19px;margin-bottom:-1px}.rnp-tabs button[aria-selected=true]{background:linear-gradient(#f8fdf9,#edf6f1);box-shadow:-2px -3px 7px #ffffffbd;color:#315c44;font-weight:700;border-bottom:2px solid #edf6f1}.rnp-tabs>a{margin-left:auto;font-size:11px;color:#70917b;margin-right:5px}.rnp-quality{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:22px}.rnp-quality>a{display:flex;gap:11px;align-items:center;padding:12px;background:#e7f1e9;border:1px solid #fafffc;border-radius:13px;box-shadow:var(--nm-inset);min-width:0}.quality-symbol{width:33px;height:35px;display:grid;place-items:center;background:#dcebe0;border-radius:10px;color:#70947b;flex-shrink:0;font-size:20px}.quality-symbol.sand{background:#e9e6cf;color:#9a8752}.quality-symbol.blue{background:#dce9eb;color:#7298a0}.rnp-quality b{display:block;font-size:12px;color:#60846a;line-height:1.3}.rnp-quality small{display:block;font-size:10px;color:#8da391;margin-top:3px;line-height:1.4}.rnp-sheet .table-toolbar h2 span{font-weight:400;color:#7e9a85}.rnp-table-tools{display:flex;align-items:center;gap:20px;padding:0 22px 14px;font-size:11px;color:#8da692}.rnp-table-tools>a{margin-left:auto;color:#60896c}.rnp-grid-scroll{overflow:auto;max-height:650px;scrollbar-color:#a5bdb0 #e4efe7;scrollbar-width:thin;background:#fbfefc}.rnp-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}.rnp-matrix th,.rnp-matrix td{padding:10px 14px;border-right:1px solid #d8e5db;border-bottom:1px solid #d8e5db;min-width:128px;text-align:right;height:38px;background:#fbfefc;vertical-align:middle}.rnp-matrix th:first-child{min-width:260px;width:260px;position:sticky;left:0;text-align:left;z-index:3;white-space:normal;background:#f6fbf7;box-shadow:2px 0 3px #264e3b07}.rnp-matrix thead th{position:sticky;top:0;z-index:5;background:#e3efe6;color:#688971;font-size:11px;font-weight:700;height:47px}.rnp-matrix thead th:first-child{z-index:7;background:#e3efe6}.rnp-matrix thead th small{display:block;font-size:9px;font-weight:400;color:#a18e56;margin-top:4px}.rnp-matrix .rnp-total{background:#edf5ee;font-weight:700;position:sticky;left:260px;z-index:2;min-width:150px;width:150px}.rnp-matrix thead .rnp-total{z-index:6;background:#dbeadd}.rnp-matrix .rnp-group th,.rnp-matrix .rnp-group td{background:#dcebe1;height:35px;padding-top:7px;padding-bottom:7px}.rnp-group th button{border:0;background:transparent;color:#50775c;font:inherit;font-size:12px;font-weight:700;text-align:left;padding:0;display:flex;align-items:center;gap:8px;width:100%}.rnp-group small{font-size:10px;font-weight:400;color:#86a18c;margin-left:auto}.rnp-matrix tbody tr:not(.rnp-group):hover th,.rnp-matrix tbody tr:not(.rnp-group):hover td{background:#eaf3ec}.rnp-matrix .partial-day{background:#f0f0df;position:relative}.rnp-matrix td.partial-day:after{content:"";position:absolute;right:0;top:0;border:5px solid transparent;border-top-color:#bcab78;border-right-color:#bcab78}.rnp-compact .rnp-matrix th,.rnp-compact .rnp-matrix td{height:31px;padding-top:6px;padding-bottom:6px}.rnp-compact .rnp-matrix thead th{height:47px}.rnp-sheet .table-footer{font-size:10px}
/* Connections, secure secret entry, and Excel preview. */
.connection-intro,.cost-import-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:2px 0 20px;padding:18px 21px;background:#e0eee4;border-radius:13px;border:1px solid #f7fff9;box-shadow:var(--nm-inset)}.connection-intro p,.cost-import-bar p{font-size:12px;margin-top:6px;color:#7b9683}.connections-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}.connection-card{padding:22px;overflow:hidden}.connection-card-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.connection-card-head>div{flex:1;min-width:0}.connection-card-head h2{font-size:16px;overflow-wrap:anywhere}.connection-card-head p{font-size:11px;margin-top:4px;color:#8ba291}.connection-card-head .account-letter{width:38px;height:41px;flex-shrink:0}.connection-channels{display:grid;gap:13px}.connection-channels>div{display:grid;grid-template-columns:140px 1fr;align-items:start;gap:15px;border-bottom:1px solid #dde9df;padding-bottom:13px}.connection-channels>div>span{font-size:12px;color:#75917e;padding-top:3px}.connection-channels small{display:block;font-size:10px;line-height:1.5;color:#94a999;margin-top:5px;overflow-wrap:anywhere}.connection-status{display:inline-block;padding:4px 7px;border-radius:5px;background:#e5eee6;font-size:10px;color:#8ba18e;font-weight:600}.connection-status.ok,.connection-status.connected{background:#d9ebdd;color:#4b7b5c}.connection-status.error{background:#efdcd8;color:#a06d60}.connection-status.configured{background:#ebe5cc;color:#9e8a50}.connection-status.running{background:#dce9ee;color:#6b92a0}.connection-identity{margin-top:17px;padding:13px 14px;background:#e5f0e7;box-shadow:var(--nm-inset);border-radius:11px;font-size:11px;color:#89a08d;line-height:1.6}.connection-identity>small{font-size:10px;color:#8da693}.connection-identity p{font-size:11px;color:#74937d;margin:4px 0 8px;overflow-wrap:anywhere}.connection-identity .button{margin-top:5px}.connection-sync{display:grid;gap:5px;padding:18px 0 15px;color:#7b9983}.connection-sync>span{font-size:10px;color:#93a99a}.connection-sync strong{font-size:12px;font-weight:500}.connection-sync p,.connection-sync small{font-size:10px;color:#90a895;line-height:1.5}.connection-actions{display:flex;gap:9px;flex-wrap:wrap}.connection-footnote{font-size:10px;color:#96aa98;margin-top:10px;line-height:1.5}.connection-dialog{width:650px;max-height:90vh}.modal-form label{display:block;color:#6d8b76;font-size:12px}.modal-form input:not([type=checkbox]),.modal-form select{display:block;width:100%;min-width:0;border:1px solid #ffffff9c;background:#e1eee5;box-shadow:var(--nm-inset);border-radius:10px;padding:11px 12px;margin-top:8px;color:#385f49;font-size:13px}.modal-form .form-help{font-size:11px;color:#8aa38f;line-height:1.65;margin-top:13px}.connection-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 16px}.modal-form fieldset{border:1px solid #cfe0d3;border-radius:12px;padding:16px 18px;margin:20px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.modal-form legend{color:#6a8f74;font-size:12px;font-weight:700;padding:0 6px}.modal-form fieldset>.form-help{grid-column:1/-1}.cost-import-dialog{width:1040px;max-height:92vh}.cost-import-dialog .modal-form>p{font-size:12px;color:#829e89}.import-fields{display:grid;grid-template-columns:1fr 175px;gap:17px;margin-top:22px}.import-fields .file-label{grid-column:1/-1}.file-label input{padding:9px!important;font-size:12px!important}.file-label input::file-selector-button{background:var(--nm-raised);color:#5b8365;border:1px solid #ffffffa6;padding:8px 12px;margin-right:13px;border-radius:7px;box-shadow:var(--nm-small);font-family:inherit;cursor:pointer}.import-file-actions{display:flex;align-items:center;gap:12px;margin:18px 0}.import-file-actions>span{font-size:11px;color:#91a794;margin-left:auto}.import-placeholder{padding:26px 21px;border:1px dashed #bad2c1;border-radius:12px;color:#8ba38f;background:#e8f2eb;font-size:12px;line-height:1.7}.import-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0 15px}.import-summary>span{padding:12px 15px;background:var(--nm-raised);box-shadow:var(--nm-small);border-radius:10px;font-size:11px;color:#84a08b}.import-summary b{display:block;font-size:22px;font-weight:700;color:#557e61;margin-top:5px}.import-preview-table{max-height:300px;border:1px solid #c8ddce;border-radius:10px}.import-preview-table thead th{position:sticky;top:0;z-index:1}.import-preview-table td{font-size:11px}.import-confirm{display:flex!important;align-items:flex-start;gap:10px;line-height:1.6;padding:14px 16px;border-radius:11px;background:#ddece1;box-shadow:var(--nm-inset);margin-top:17px;font-size:12px!important}.import-confirm input{accent-color:#34725e;flex-shrink:0;margin-top:3px}.cost-import-bar{flex-wrap:wrap}.cost-import-bar>div{flex:1;min-width:230px}
@media(min-width:1600px){.kpi-value{font-size:32px}.interactive-chart{height:270px}.waterfall-row{grid-template-columns:155px 1fr 115px}}
@media(max-width:1250px){.sidebar{width:195px}.workspace-main{margin-left:211px}main{padding:25px 23px}.topbar{padding:0 23px}.kpi-value{font-size:24px}.kpi{padding:17px 13px}.kpi-label{font-size:11px}.waterfall-row{grid-template-columns:125px 1fr 90px;font-size:11px}.rnp-quality{grid-template-columns:repeat(2,minmax(0,1fr))}.connections-grid{gap:16px}.connection-card{padding:19px}.connection-channels>div{grid-template-columns:115px 1fr;gap:10px}.connection-card-head h2{font-size:14px}.chart-legend small{display:none}}
@media(max-width:980px){.sidebar{width:72px;padding:22px 8px}.workspace-main{margin-left:88px}.brand{padding:0 5px}.brand-mark{width:40px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-value{font-size:28px}.kpi-grid .kpi:last-child{grid-column:span 2}.interactive-chart{height:245px}.connections-grid{grid-template-columns:1fr}.connection-channels>div{grid-template-columns:160px 1fr}.connection-card-head h2{font-size:17px}.sidebar-bottom{display:none}.rnp-matrix th:first-child{min-width:235px;width:235px}.rnp-matrix .rnp-total{left:235px}.rnp-tabs button{padding:11px 15px;font-size:12px}}
@media(max-width:650px){body{padding:6px;padding-bottom:73px}.sidebar{inset:auto 6px 6px 6px;width:auto;height:58px;padding:0 3px;border-radius:13px;box-shadow:var(--nm-small);z-index:40;background:linear-gradient(145deg,#e9f4ed,#d8eade)}.sidebar nav{overflow:auto;justify-content:space-between}.nav-item,.nav-item.active{padding:10px 6px;border:0;min-width:32px}.nav-item.active{border-radius:9px}.nav-icon{font-size:19px;width:20px}.workspace-main{margin-left:0;min-height:calc(100vh - 85px);border-radius:13px}.topbar{padding:0 16px;height:55px}.page-heading{margin-bottom:18px}main{padding:23px 15px 20px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.market-tabs button{font-size:10px;padding:9px 7px}.filter-right select,.date-control{font-size:11px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:15px 13px}.kpi-value{font-size:25px}.kpi-label{font-size:11px;gap:7px}.kpi-note{font-size:10px}.notice{font-size:11px}.card-header{padding:19px 16px 0;flex-wrap:wrap}.card-body{padding:20px 16px}.card-header h2{font-size:16px}.chart-metric-switch{margin-left:auto}.chart-metric-switch button{font-size:10px;padding:7px 10px}.chart-legend{font-size:11px}.interactive-chart{height:225px}.chart-hover-card{top:4px;right:4px;min-width:205px;max-width:235px;font-size:11px;padding:12px 13px}.chart-tip-head strong{font-size:13px}.chart-foot{font-size:9px;gap:12px;align-items:flex-start}.chart-foot b{max-width:150px;text-align:right;font-size:9px}.waterfall-row{grid-template-columns:122px 1fr 86px;font-size:11px}.forecast-card p{font-size:11px}.forecast-value{font-size:25px}.table-toolbar{padding:17px}.table-toolbar h2{font-size:16px}.search{font-size:12px}.rnp-tabs{padding-left:3px;gap:3px;margin-bottom:17px}.rnp-tabs button{font-size:11px;padding:11px 12px}.rnp-tabs>a{font-size:9px;max-width:88px;text-align:right;line-height:1.5}.rnp-quality{gap:8px}.rnp-quality>a{gap:8px;padding:10px}.rnp-quality b{font-size:11px}.rnp-quality small{font-size:9px}.quality-symbol{width:28px;height:31px;font-size:18px}.rnp-table-tools{padding:0 16px 13px;gap:13px;font-size:10px;flex-wrap:wrap}.rnp-table-tools>a{font-size:10px}.rnp-matrix{font-size:11px}.rnp-matrix th:first-child{min-width:185px;width:185px;font-size:11px;padding-left:12px}.rnp-matrix .rnp-total{position:static;min-width:125px;width:125px}.rnp-matrix thead .rnp-total{position:sticky;left:auto}.rnp-matrix th,.rnp-matrix td{min-width:110px;padding-left:12px;padding-right:12px}.rnp-group th button{font-size:11px}.connection-intro{align-items:flex-start;flex-direction:column;padding:17px}.connection-intro h2{font-size:16px}.connection-intro p{font-size:11px}.connection-intro .button{align-self:stretch;text-align:center}.connection-card{padding:18px}.connection-card-head{gap:10px;flex-wrap:wrap}.connection-card-head>div{min-width:160px}.connection-card-head .button{margin-left:auto}.connection-card-head h2{font-size:16px}.connection-channels>div{grid-template-columns:120px 1fr;font-size:11px}.connection-channels>div>span{font-size:11px}.connection-dialog,.cost-import-dialog{padding:22px 19px}.connection-form-grid,.modal-form fieldset,.import-fields{grid-template-columns:1fr;gap:16px}.modal-form fieldset{padding:13px 14px}.import-fields .file-label{grid-column:auto}.import-file-actions{gap:8px;flex-wrap:wrap}.import-file-actions>span{font-size:10px;margin-left:0;flex-basis:100%}.import-summary{gap:7px}.import-summary>span{font-size:10px;padding:10px}.import-summary b{font-size:20px}.cost-import-bar{padding:17px;gap:12px}.cost-import-bar>div{flex-basis:100%}.cost-import-bar .button{flex:1;font-size:11px;text-align:center}.cost-import-bar h2{font-size:16px}footer{margin-top:22px;font-size:8px}.toast{bottom:80px}}
@media(prefers-reduced-transparency:reduce){body::before{display:none}.workspace-main,.sidebar,.chart-hover-card{background:#edf5f0;backdrop-filter:none}}
.import-preview-context{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:12px 15px;background:#e0eee4;border-radius:10px;color:#63856b;font-size:12px;line-height:1.5;margin:12px 0}.import-preview-context b{font-weight:600}.import-preview-context>span{font-size:11px;color:#87a28e;text-align:right}.connection-sync>.connection-status{width:max-content}.modal-form input:disabled,.modal-form select:disabled{opacity:.65;cursor:wait}@media(max-width:650px){.import-preview-context{flex-direction:column;gap:5px}.import-preview-context>span{text-align:left}}
/* Mint keeps the reference's readable muted ink on pale surfaces. */
.kpi-label,.kpi-note,.card-header p,.legend,.chart-foot,.chart-foot b,.table-toolbar p,.table-footer,.source-item p,.cost-date,.compact-text,.product-name small,.form-help,.modal-form .form-help,.forecast-card p,.forecast-meta,.muted-text,.connection-intro p,.cost-import-bar p,.connection-card-head p,.connection-channels>div>span,.connection-channels small,.connection-sync,.connection-sync>span,.connection-sync p,.connection-sync small,.connection-footnote,.connection-identity,.connection-identity>small,.connection-identity p,.import-placeholder,.import-file-actions>span,.import-preview-context>span,.rnp-quality small,.rnp-table-tools,.chart-legend small{color:#526f61}.chart-label{fill:#526f61}.missing{color:#526f61!important;font-weight:400}.connection-status.not_configured,.connection-status.missing,.connection-status.not_checked,.connection-status.unchecked,.status-badge.not_loaded{color:#526f61}.cost-missing,.status-badge.partial{color:#7f692c}.connection-dialog .modal-form label,.import-fields label{color:#4d6b5b}
/* Refined mint analytics: clear surfaces, compact controls, strong data hierarchy. */
:root{--bg:#f4f8f5;--surface:#fff;--ink:#193d31;--muted:#66796e;--line:#dee8e1;--accent:#28795b;--green:#28795b;--red:#b04449;--amber:#927025;--wb:#ad54b9;--ozon:#347bd5;--radius:13px;--nm-raised:#fff;--nm-small:0 2px 5px #204d3306;--nm-inset:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#e7f3eb;color:var(--ink)}
body{background:radial-gradient(ellipse at 0 0,#d7eddf 0,transparent 44%),linear-gradient(130deg,#e8f5ed,#eff8f2 52%,#dbeee2);background-attachment:fixed;padding:16px}.sidebar{background:#f3faf5;border-color:#fafffc;box-shadow:0 8px 24px #26523a0b;border-radius:14px;color:#4b6f5b}.brand{font-size:27px;color:#173f2d;font-weight:760}.brand-mark{background:#2e795a;color:#fff;border:0;box-shadow:none;border-radius:11px;font-size:31px}.brand small{color:#7d9686;font-size:8px}.workspace{background:#e9f3ec;border:1px solid #dceadf;box-shadow:none;border-radius:10px}.workspace-icon{background:#fff;border:1px solid #d8e8dc;box-shadow:none;color:#2e795a}.workspace small{color:#6f8879}.nav-label{color:#819a8a;font-size:9px;letter-spacing:1.3px}.nav-item{color:#5a7766;font-size:12px;font-weight:550;border-radius:8px;padding:11px 13px}.nav-icon{color:#7b9786;font-size:17px}.nav-item:hover{background:#e7f2ea;color:#2d6147}.nav-item.active{background:#dceee1;border:0;box-shadow:inset 3px 0 #3e8662;color:#22563c;padding:11px 13px}.nav-item.active .nav-icon{color:#2a6e4c}.sidebar-bottom{border-color:#d9e8de;color:#64816e}.sidebar-bottom small{color:#8aa18f}.workspace-main{background:#f5f8f6;border:1px solid #fafffc;box-shadow:0 8px 28px #2b563c0a;border-radius:14px}.topbar{height:64px;background:#fff;border-bottom:1px solid #e4ece6;box-shadow:none}.breadcrumb{color:#94a59a;font-size:12px}.breadcrumb strong{color:#5c7464}.breadcrumb span{color:#c0cec3}.status-pill{background:#f3f9f4;border-color:#dfece3;box-shadow:none;font-size:10px;color:#6b8574}.avatar{background:#ecf5ee;box-shadow:none;color:#488261}.page-heading{margin-bottom:24px}.page-heading h1{font-size:31px;line-height:1.14;letter-spacing:-1.05px;color:#193d31;font-weight:740}.eyebrow{font-size:9px;letter-spacing:1.55px;color:#7f9988;margin-bottom:10px}.page-heading p{font-size:12px;color:#7a8d80;line-height:1.6}.heading-actions{gap:8px}.button{border-radius:7px;font-size:11px;font-weight:600;padding:10px 14px;min-height:36px}.button.primary{background:#2c7b59;border:1px solid #246c4d;box-shadow:0 2px 3px #235a3410;color:#fff}.button.primary:hover{background:#246b4c;border-color:#1e5e41}.button.secondary{background:#fff;border:1px solid #d9e6dc;box-shadow:none;color:#4d6b58}.button.secondary:hover{background:#f6faf7;border-color:#a9c8b4}.button:active{box-shadow:inset 0 1px 3px #28563815}.button:disabled{opacity:.6;cursor:default}.button.small{font-size:10px;padding:7px 10px;min-height:30px}.filterbar{background:#fff;padding:10px 12px;border:1px solid #e0e9e3;border-radius:10px;margin-bottom:20px;gap:12px}.market-tabs{background:#f0f5f1;border-radius:7px;padding:3px;box-shadow:none}.market-tabs button{border-radius:5px;font-size:11px;padding:8px 12px;color:#7a9082}.market-tabs button.selected{background:#fff;box-shadow:0 1px 3px #28543b16;color:#315e43}.filter-right select,.date-control,.search{border:1px solid #dce7df;background:#fff;box-shadow:none;border-radius:6px;color:#5e7867;font-size:11px;padding:9px 12px}.filter-right select{max-width:250px}.date-control{color:#708778;background:#f9fbf9}.search{min-height:34px}.card{background:#fff;border:1px solid #dfe8e2;box-shadow:0 2px 4px #24432d03;border-radius:13px}.kpi-grid{gap:12px;margin-bottom:0}.kpi{padding:19px 18px 18px;min-height:147px;overflow:visible;position:relative}.kpi-label{font-size:11px;color:#667d6e;gap:10px;font-weight:550;margin-bottom:15px;line-height:1.5;align-items:center}.kpi-label>span:first-child{max-width:180px}.kpi-icon{height:26px;width:26px;background:#f0f6f1;color:#6d9a7d;box-shadow:none;border-radius:7px;font-size:13px}.kpi-value{font-size:29px;font-weight:730;letter-spacing:-.9px;line-height:1.14;color:#213c2c;display:flex;align-items:baseline;gap:5px;font-variant-numeric:tabular-nums;min-width:0;white-space:nowrap}.kpi-unit{font-size:15px;font-weight:550;color:#8ba193;letter-spacing:0}.kpi-note{font-size:10px;color:#86998d;line-height:1.6;margin-top:12px;min-height:15px}.kpi.highlight{background:#edf7f0;border-color:#cfe6d7;box-shadow:none}.kpi.highlight .kpi-value{color:#2b704f}.kpi.highlight .kpi-icon{background:#dcefe2;color:#5a9671}.kpi.highlight .kpi-note{color:#6f8f7b}.kpi-value.missing{color:#6b8874!important;font-weight:550}.metric-period-note{display:flex;justify-content:space-between;gap:20px;color:#90a194;font-size:9px;line-height:1.5;padding:12px 2px 21px}.section-eyebrow{display:block;color:#97a99c;font-size:8px;letter-spacing:1.35px;font-weight:700;margin:0 0 9px}.card-header{padding:22px 22px 0}.card-header h2{font-size:17px;color:#264831;font-weight:690;letter-spacing:-.35px}.card-header p{color:#879b8c;font-size:10px;margin-top:6px}.card-body{padding:21px 22px}.mini-tag{border-color:#dfe9e2;background:#f7faf8;border-radius:5px;color:#8aa08f;font-size:9px}.overview-analysis-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(300px,1fr);gap:20px;margin-bottom:20px}.overview-analysis-grid>.sales-chart-card{margin-bottom:0}.sales-chart-card{overflow:hidden}.chart-metric-switch{background:#f2f6f3;border:1px solid #e5eee7;box-shadow:none;padding:3px;border-radius:7px}.chart-metric-switch button{font-size:10px;border-radius:5px;color:#91a396;padding:7px 11px}.chart-metric-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #2b563d12;color:#40694d}.chart-legend{margin:0 0 5px;gap:17px;font-size:10px;color:#7b9281}.chart-legend small{font-size:9px;color:#a0b0a5}.legend i{height:7px;width:7px}.interactive-chart{height:258px;margin-top:6px}.chart-label{fill:#96a89b;font-size:10px}.chart-foot{border-color:#edf1ee;background:#fbfdfb;color:#9bac9f;font-size:9px;padding:13px 22px}.chart-foot b{font-size:9px;color:#91a497;font-weight:400}.chart-hover-card{background:#fff;border:1px solid #d9e8de;box-shadow:0 6px 22px #2c4d361a;backdrop-filter:none;border-radius:10px;top:6px;right:8px;padding:14px 16px;min-width:230px}.chart-tip-head strong{font-size:13px;color:#35513d}.chart-tip-head>span{background:#faf2d7;color:#a08c4f;font-size:8px}.chart-tip-row{font-size:11px;color:#83988a}.chart-tip-row b{font-size:12px;color:#4a6753}.chart-tip-total{color:#7c9584;font-size:11px;border-color:#e8f0ea}.chart-tip-total strong{color:#385d43;font-size:13px}.chart-hover-card>small{color:#9aaa9c;font-size:9px}.chart-hit:hover,.chart-hit.is-active,.chart-hit:focus{fill:#28644708}.chart-hit:focus{stroke:#96b6a0;stroke-width:1}.completeness-panel{display:flex;flex-direction:column;overflow:hidden;min-width:0}.completeness-panel .card-header{padding-bottom:10px;align-items:center}.completeness-panel .card-header h2{font-size:18px}.completeness-panel .card-header p{font-size:10px}.panel-indicator{height:8px;width:8px;border-radius:50%;background:#d6ad5b;box-shadow:0 0 0 5px #fbf3df;flex-shrink:0}.completeness-list{display:flex;flex-direction:column;padding:2px 21px 12px;gap:0}.completeness-item{display:flex;align-items:center;gap:11px;padding:16px 0;border-bottom:1px solid #edf2ee}.completeness-item:last-child{border-bottom:0}.completeness-icon{height:33px;width:33px;display:grid;place-items:center;border-radius:9px;font-size:16px;flex-shrink:0}.completeness-icon.warning{background:#faf3e2;color:#b49a57}.completeness-icon.success{background:#edf6ef;color:#7ca98c}.completeness-icon.neutral{background:#f0f4f1;color:#92a397}.completeness-item>div{min-width:0;flex:1}.completeness-item strong{font-size:11px;color:#4f6b58;font-weight:650}.completeness-item p{font-size:10px;color:#8b9f91;line-height:1.5;margin-top:3px}.completeness-item small{display:block;font-size:9px;color:#a3b1a7;line-height:1.6;margin-top:3px}.completeness-item>span:last-child{font-size:13px;color:#9bb3a2}.completeness-item:hover strong{color:#2e7952}.completeness-footer{padding:13px 20px 17px;border-top:1px solid #edf3ee;background:#fcfdfc;margin-top:auto}.completeness-footer p{font-size:9px;color:#9aada0;line-height:1.55;margin-bottom:9px}.completeness-footer a{font-size:10px;color:#6d997d;font-weight:600}.forecast-grid{gap:20px;margin-bottom:20px}.forecast-card{padding:20px 22px;gap:15px;min-height:123px}.forecast-symbol{height:40px;width:40px;border-radius:10px;background:#eff6f1;box-shadow:none;color:#8ab097;font-size:20px}.forecast-card p{font-size:10px;color:#8ca193}.forecast-value{font-size:25px;line-height:1.2;color:#4b7c5d;font-weight:690;letter-spacing:-.6px}.forecast-meta{font-size:9px;color:#a6b5ab;max-width:158px}.context-strip{display:flex;align-items:center;gap:19px;padding:0 2px 17px;font-size:9px;color:#93a99a;line-height:1.5;flex-wrap:wrap}.context-strip>span{display:flex;align-items:center;gap:6px}.context-strip>a{margin-left:auto;color:#6e997f}.context-dot{width:5px;height:5px;border-radius:50%;background:#bdcac1}.context-dot.available{background:#88ae94}.notice{background:#fffcf3;border:1px solid #eee5cb;border-left:3px solid #d4bd7d;border-radius:8px;box-shadow:none;color:#947e45;font-size:11px}.notice.good{background:#f2f8f4;border-color:#dbeadf;color:#72917d}.notice.error{background:#fdf5f4;border-color:#ecd3d0;color:#ad756c}.note-block{border:1px solid #e7eadd;border-left:3px solid #c2b16e;background:#fcfcf5;box-shadow:none;color:#8d9277;font-size:11px;border-radius:0 7px 7px 0;padding:13px 17px;margin-bottom:20px}.note-block strong{font-weight:650}.pnl-mini{background:#f5f9f6;border:1px solid #e5eee7;box-shadow:none;color:#93a79a;border-radius:8px;font-size:10px}.pnl-mini strong{color:#688772}.waterfall-row{font-size:11px;grid-template-columns:155px 1fr 104px;gap:12px}.waterfall-row>span{color:#8b9f91}.waterfall-row b{color:#577461;font-size:11px}.bar-track{height:6px;background:#f0f5f1;box-shadow:none}.waterfall-row.total{border-color:#e1ebe4}.waterfall-row.total span,.waterfall-row.total b{color:#477f5c;font-size:11px}.stats-strip{border:1px solid #dfe9e2;background:#e6eee8;box-shadow:none;border-radius:10px}.stats-strip>div{background:#fff;padding:19px 22px}.stats-strip p{color:#8ca295;font-size:10px}.stats-strip strong{font-size:24px;color:#496e55;font-weight:680}.table-card{border:1px solid #dfe8e2;box-shadow:0 2px 4px #24432d03;border-radius:12px;overflow:hidden}.table-toolbar{padding:19px 21px;min-height:77px;align-items:center}.table-toolbar h2{font-size:16px;letter-spacing:-.3px}.table-toolbar p{color:#91a497;font-size:10px;margin-top:5px}.table-wrap{background:#fff;max-height:610px;scrollbar-color:#c5d4ca #f7faf8;scrollbar-width:thin}table{font-size:11px;border-collapse:separate;border-spacing:0;line-height:1.5;font-variant-numeric:tabular-nums}th{position:sticky;top:0;z-index:2;background:#f6f9f7;border-top:1px solid #e6eee8;border-bottom:1px solid #dfe9e2;color:#8aa08f;font-size:10px;font-weight:600;padding:12px 18px;text-transform:none}td{background:#fff;color:#597763;border-bottom:1px solid #edf2ee;font-size:11px;padding:13px 18px}tbody tr:nth-child(even)>td{background:#fafcfb}.table-card tbody tr:hover>td{background:#f0f7f2}.daily-table td:first-child{background:inherit}.daily-table th:first-child{background:#f6f9f7}.table-footer{border-color:#e8efea;background:#fdfefd;color:#9caf9f;font-size:9px;padding:13px 21px}.status-badge{border-radius:5px;padding:4px 7px;background:#f0f5f1;color:#8ba191;font-size:9px;font-weight:550}.status-badge.complete{background:#edf7ef;color:#659376}.status-badge.partial{background:#fcf5e4;color:#a58d4b}.status-badge.not_loaded{background:#f1f4f2;color:#99aa9e}.market-badge{font-size:8px;font-weight:700;padding:4px 6px;border-radius:4px;background:#f7edf8;color:#a376aa}.market-badge.ozon{background:#eaf2fd;color:#6a95c5}.product-name{gap:10px;max-width:340px;min-width:210px}.product-image,.product-placeholder{height:39px;width:34px;border-radius:6px;background:#f4f7f5}.product-placeholder{color:#a7b9ac}.product-name small{font-size:9px;color:#a3b4a9;margin-top:4px}.cost-date,.compact-text{font-size:9px;color:#9bad9f;line-height:1.6}.cost-missing{color:#b39858;font-size:10px}.history-list{color:#90a798;font-size:10px}.subtle-link{font-size:10px;color:#749f84;font-weight:500}.disclosure{background:#fff;border:1px solid #dfe8e2;box-shadow:none;border-radius:10px;color:#769180;font-size:11px;padding:15px 18px}.disclosure p{font-size:11px;color:#8ca294}.disclosure summary{font-weight:600}.rnp-tabs{border-color:#d6e5db;margin-bottom:20px;padding-left:0;gap:15px;align-items:stretch}.rnp-tabs button{background:transparent;border:0;border-radius:0;box-shadow:none;font-size:12px;padding:11px 3px 14px;color:#9bb0a2;margin:0}.rnp-tabs button[aria-selected=true]{background:transparent;box-shadow:inset 0 -2px #4a9369;border:0;color:#538668;font-weight:650}.rnp-tabs>a{font-size:10px;align-self:center;color:#86a594}.rnp-quality{gap:10px;margin-bottom:20px}.rnp-quality>a{border:1px solid #e0eae3;background:#fff;box-shadow:none;border-radius:10px;padding:13px 15px}.quality-symbol{background:#f2f7f3;color:#96b29f;border-radius:8px;height:31px;width:30px;font-size:17px}.quality-symbol.sand{background:#fbf5e7;color:#baa66f}.quality-symbol.blue{background:#eef4f8;color:#8eafc0}.rnp-quality b{color:#6b8d76;font-size:10px}.rnp-quality small{color:#a0b2a5;font-size:9px;line-height:1.6}.rnp-table-tools{font-size:10px;color:#95aa9b;padding:0 21px 13px}.rnp-table-tools>a{font-size:10px;color:#84a58e}.rnp-grid-scroll{background:#fff;max-height:590px}.rnp-matrix th,.rnp-matrix td{border-color:#e4ece7;background:#fff;min-width:128px;font-size:11px;padding:10px 13px;color:#6f8e79}.rnp-matrix th:first-child{background:#fff;color:#779180;min-width:265px;width:265px;box-shadow:2px 0 3px #243f2e04}.rnp-matrix thead th,.rnp-matrix thead th:first-child{background:#f4f8f5;color:#8da494;font-size:10px}.rnp-matrix .rnp-total{left:265px;background:#f6faf7;color:#578466}.rnp-matrix thead .rnp-total{background:#edf5ef;color:#7c9e87}.rnp-matrix tbody tr:not(.rnp-group):nth-child(even)>td,.rnp-matrix tbody tr:not(.rnp-group):nth-child(even)>th{background:#fafcfb}.rnp-matrix tbody tr:not(.rnp-group):hover>td,.rnp-matrix tbody tr:not(.rnp-group):hover>th{background:#f0f7f2}.rnp-matrix .rnp-group th,.rnp-matrix .rnp-group td{background:#ecf4ee;border-color:#dce9e1;height:35px}.rnp-group th button{font-size:10px;color:#72977e}.rnp-group small{color:#a0b6a8;font-size:9px}.rnp-matrix .partial-day{background:#fdfbf1}.rnp-matrix td.partial-day:after{border-width:4px;border-top-color:#d9c895;border-right-color:#d9c895}.rnp-matrix thead th small{font-size:8px;color:#c0ad75}.rnp-compact .rnp-matrix th,.rnp-compact .rnp-matrix td{height:33px;padding-top:6px;padding-bottom:6px}.connection-intro,.cost-import-bar{border:1px solid #dce9e1;background:#fff;box-shadow:none;border-radius:11px;padding:18px 20px}.connection-intro h2,.cost-import-bar h2{font-size:16px}.connection-intro p,.cost-import-bar p{color:#95aa9d;font-size:10px}.connections-grid{gap:18px}.connection-card{padding:22px;border-radius:12px;box-shadow:none}.connection-card-head{margin-bottom:20px}.connection-card-head h2{font-size:16px;color:#3d654d}.connection-card-head p{font-size:10px;color:#9cb0a2}.connection-card-head .account-letter{background:#f5f9f6;border:1px solid #e4ede7;box-shadow:none;border-radius:9px;color:#ae81b5;width:36px;height:38px}.connection-card-head .account-letter.ozon{color:#7d9ec1}.connection-channels>div{border-color:#e8f0ea;padding-bottom:13px;grid-template-columns:135px 1fr}.connection-channels>div>span{font-size:11px;color:#7f9b89}.connection-channels small{color:#a3b7a9;font-size:9px;line-height:1.6}.connection-status{font-size:9px;background:#f1f5f2;color:#9aafa2;border:0;border-radius:5px;padding:4px 7px}.connection-status.ok,.connection-status.connected{background:#edf7ef;color:#77a184}.connection-status.error{background:#fcf1ee;color:#b6867a}.connection-status.configured{background:#fbf6e8;color:#b6a064}.connection-status.running{background:#edf4fb;color:#83a8c4}.connection-identity{border:1px solid #e3ede6;background:#f8fbf9;box-shadow:none;border-radius:9px;padding:12px 14px;color:#8ea998}.connection-identity>small{font-size:9px;color:#a6bbae}.connection-identity p{color:#7c9e87;font-size:10px}.connection-sync{padding-top:17px;color:#85a38f}.connection-sync>span{font-size:9px;color:#a1b7a9}.connection-sync strong{font-size:11px;color:#6e927a}.connection-sync p,.connection-sync small{font-size:9px;color:#a0b7a8;line-height:1.65}.connection-footnote{font-size:9px;color:#9bb3a4;line-height:1.7}.connection-actions{gap:8px}.source-list{gap:10px}.source-item{border:1px solid #e3ece6;background:#fff;border-radius:10px;padding:17px 18px}.source-item h3{font-size:11px;color:#60826d}.source-item p{font-size:10px;color:#99afa1}.source-symbol{height:35px;width:30px;border:1px solid #e2ebe5;background:#f6faf7;box-shadow:none;color:#9bb3a3;border-radius:7px}.source-sha{font-size:8px;color:#b6c7bc}.account-item p{color:#a1b6a8;font-size:10px}.account-item h3{font-size:12px;color:#698c75}.account-letter{box-shadow:none;background:#f4f8f5;border-color:#e0eae3}.account-item .account-value{font-size:11px;color:#8ca995}dialog{border:1px solid #dce9e1;border-radius:13px;background:#fff;box-shadow:0 18px 70px #214d322e;padding:25px;color:#375d46}dialog::backdrop{background:#153d2829;backdrop-filter:blur(2px)}.dialog-header h2{font-size:20px;letter-spacing:-.5px;color:#335b44}.dialog-header .eyebrow{font-size:8px;color:#97aea0}.icon-button{border:1px solid #e4eee7;border-radius:6px;background:#f8fbf9;box-shadow:none;color:#9db4a5;font-size:21px}.modal-form label,#cost-form label{font-size:11px;color:#6b8c77}.modal-form input:not([type=checkbox]),.modal-form select,#cost-form input:not([type=hidden]){background:#fff;border:1px solid #d8e6dd;box-shadow:inset 0 1px 2px #143e2404;border-radius:6px;min-height:38px;padding:10px 11px;font-size:12px;color:#567c62}.modal-form input:focus,.modal-form select:focus,#cost-form input:focus{border-color:#8bb39a;outline-color:#6b9e7d}.modal-form input::placeholder,#cost-form input::placeholder{color:#b0c2b7}.modal-form fieldset{border:1px solid #e1ebe5;border-radius:9px;padding:15px 17px;margin-top:19px;background:#fcfefd}.modal-form legend{font-size:10px;color:#83a18e;font-weight:600}.modal-form .form-help,#cost-form .form-help{font-size:10px;color:#a0b7a8;line-height:1.75}.dialog-actions{border-top:1px solid #edf3ef;padding-top:19px;margin-top:22px}.form-error{color:#bd8780;font-size:11px}.import-preview-context{background:#f4f9f6;border:1px solid #e3eee7;border-radius:8px;font-size:11px;padding:12px 14px;color:#759a81}.import-preview-context>span{font-size:10px;color:#9fb6a7}.import-summary>span{border:1px solid #e2ece5;background:#fff;box-shadow:none;border-radius:8px;font-size:10px;color:#98b1a2}.import-summary b{font-size:24px;color:#6f9c7f}.import-placeholder{background:#fafdfb;border-color:#c8ddcf;border-radius:8px;font-size:11px;color:#9ab2a3}.import-confirm{border:1px solid #dcece2;background:#f2f9f5;box-shadow:none;border-radius:8px;font-size:11px!important;color:#7a9e87}.import-confirm input{margin-top:4px;accent-color:#4a9368}.import-preview-table{border-color:#dfeae3;border-radius:8px}.import-file-actions>span{font-size:10px;color:#a1b7a8}.file-label input::file-selector-button{border:1px solid #d8e7dd;background:#f7fbf8;box-shadow:none;border-radius:5px;color:#759b82;font-size:11px}.import-fields .file-label{font-size:11px}.empty-icon{background:#f1f7f3;box-shadow:none;border-radius:12px;color:#a5beb0}.empty-state h3{font-size:13px;color:#799d86}.empty-state p{font-size:11px;color:#a3bbac}.loading{color:#a0b9aa}.toast{background:#285c40;border:1px solid #3e7655;box-shadow:0 6px 18px #254d351f;border-radius:8px;font-size:11px;max-width:min(620px,calc(100vw - 40px));line-height:1.6}.missing{color:#8da397!important;font-weight:500}.text-green{color:#528969!important}.text-red{color:#b98279!important}footer{font-size:8px;color:#a7bcaf;padding-top:2px}.legend .market-dot.wb{background:#ad54b9}.legend .market-dot.ozon{background:#347bd5}
@media(min-width:1600px){.kpi-value{font-size:33px}.kpi{padding:21px 20px}.interactive-chart{height:277px}.overview-analysis-grid{grid-template-columns:minmax(0,2.15fr) minmax(320px,1fr)}.waterfall-row{grid-template-columns:165px 1fr 110px}}
@media(max-width:1400px){.kpi-value{font-size:27px}.kpi{padding:18px 14px}.kpi-label{font-size:10px}.kpi-note{font-size:9px}.overview-analysis-grid{grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr)}.waterfall-row{grid-template-columns:140px 1fr 96px;font-size:10px}}
@media(max-width:1200px){.overview-analysis-grid{grid-template-columns:1fr}.completeness-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;padding:5px 21px 15px}.completeness-item{border-bottom:0;align-items:flex-start}.completeness-item>span:last-child{display:none}.completeness-footer{display:flex;align-items:center;gap:20px;padding:13px 20px}.completeness-footer p{margin:0;flex:1}.completeness-footer a{white-space:nowrap}.kpi-value{font-size:24px}.kpi-unit{font-size:13px}.chart-legend small{display:none}}
@media(max-width:980px){.sidebar{width:72px}.workspace-main{margin-left:88px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-grid .kpi:last-child{grid-column:span 2}.kpi{min-height:135px}.kpi-value{font-size:30px}.metric-period-note{font-size:8px;gap:13px}.completeness-list{gap:12px}.completeness-item{gap:8px}.completeness-icon{height:28px;width:28px;font-size:14px}.completeness-item strong{font-size:10px}.completeness-item p{font-size:9px}.completeness-item small{font-size:8px}.rnp-matrix th:first-child{width:235px;min-width:235px}.rnp-matrix .rnp-total{left:235px}.connection-card-head h2{font-size:16px}}
@media(max-width:650px){body{padding:6px;padding-bottom:72px}.sidebar{inset:auto 6px 6px 6px;width:auto;background:#f0f8f2;border:1px solid #fff;box-shadow:0 3px 14px #29543b1c;border-radius:11px}.nav-item,.nav-item.active{padding:10px 6px;min-width:32px;box-shadow:none;border-radius:7px}.nav-item.active{background:#d7ecde}.nav-icon{font-size:18px}.workspace-main{margin-left:0;border-radius:10px;min-height:calc(100vh - 85px)}main{padding:22px 14px 20px}.topbar{height:53px;padding:0 15px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.page-heading p{font-size:11px}.heading-actions .button{font-size:10px;padding:10px 11px}.filterbar{padding:8px;gap:9px;border-radius:8px}.market-tabs button{font-size:10px;padding:8px 6px}.filter-right select,.date-control{font-size:10px;padding:9px 10px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kpi{min-height:130px;padding:15px 12px}.kpi-label{font-size:10px;gap:6px;margin-bottom:13px}.kpi-label>span:first-child{max-width:130px}.kpi-icon{height:23px;width:23px;font-size:12px;border-radius:6px}.kpi-value{font-size:25px;gap:4px}.kpi-unit{font-size:12px}.kpi-note{font-size:9px;line-height:1.55;margin-top:11px}.kpi-grid .kpi:last-child{display:block;min-height:125px;grid-column:span 2}.kpi:last-child .kpi-value{text-align:left;margin-top:15px}.kpi:last-child .kpi-label{margin-bottom:0}.kpi:last-child .kpi-label>span:first-child{max-width:none}.metric-period-note{padding-top:10px;padding-bottom:18px;flex-direction:column;gap:4px;font-size:8px}.overview-analysis-grid{gap:15px;margin-bottom:15px}.card-header{padding:18px 17px 0}.card-header h2{font-size:16px}.card-header p{font-size:10px}.card-body{padding:18px 17px}.section-eyebrow{font-size:8px;margin-bottom:7px}.chart-metric-switch{margin-left:auto}.chart-metric-switch button{font-size:9px;padding:7px 10px}.interactive-chart{height:220px}.chart-legend{font-size:10px;gap:16px}.chart-foot{font-size:8px;padding:12px 17px;gap:14px}.chart-foot b{font-size:8px}.chart-hover-card{min-width:205px;padding:12px 13px;right:2px;top:3px;max-width:230px}.chart-tip-row{font-size:10px}.chart-tip-row b{font-size:11px}.chart-tip-head strong{font-size:12px}.chart-tip-total{font-size:10px}.chart-tip-total strong{font-size:12px}.completeness-panel .card-header{padding-top:19px;padding-bottom:7px}.completeness-panel .card-header h2{font-size:17px}.completeness-list{display:flex;padding:2px 17px 8px;gap:0}.completeness-item{padding:14px 0;gap:11px;border-bottom:1px solid #edf2ee;align-items:center}.completeness-item:last-child{border-bottom:0}.completeness-icon{width:32px;height:32px;font-size:16px}.completeness-item strong{font-size:11px}.completeness-item p{font-size:10px}.completeness-item small{font-size:9px}.completeness-item>span:last-child{display:block}.completeness-footer{display:block;padding:12px 17px 16px}.completeness-footer p{margin:0 0 9px;font-size:9px}.forecast-grid{gap:12px;margin-bottom:15px}.forecast-card{padding:18px;min-height:119px}.forecast-card p{font-size:10px}.forecast-value{font-size:24px}.context-strip{gap:9px 15px;padding-bottom:15px;font-size:8px}.context-strip>a{margin-left:0}.table-toolbar{padding:17px 16px;gap:13px}.table-toolbar h2{font-size:15px}.table-toolbar p{font-size:10px}.search{font-size:11px;min-height:35px}.table-wrap{max-height:540px}th{padding:11px 14px;font-size:9px}td{padding:12px 14px;font-size:10px}.table-footer{padding:12px 16px;font-size:8px}.rnp-tabs{gap:13px;margin-bottom:17px}.rnp-tabs button{font-size:11px;padding:10px 1px 12px}.rnp-tabs>a{font-size:9px;max-width:90px}.rnp-quality>a{padding:11px}.rnp-quality b{font-size:10px}.rnp-quality small{font-size:9px}.rnp-matrix th:first-child{min-width:185px;width:185px}.rnp-matrix .rnp-total{position:static;min-width:124px;width:124px}.rnp-matrix thead .rnp-total{position:sticky;left:auto}.rnp-matrix td,.rnp-matrix th{min-width:107px;font-size:10px;padding-left:12px;padding-right:12px}.rnp-matrix thead th{font-size:9px}.rnp-grid-scroll{max-height:510px}.note-block{font-size:10px;line-height:1.75;padding:12px 15px}.stats-strip>div{padding:16px 18px}.stats-strip p{font-size:10px}.stats-strip strong{font-size:22px}.connection-intro,.cost-import-bar{padding:17px}.connection-intro h2,.cost-import-bar h2{font-size:15px}.connection-intro p,.cost-import-bar p{font-size:10px}.connection-card{padding:18px}.connection-card-head h2{font-size:15px}.connection-card-head p{font-size:10px}.connection-channels>div{grid-template-columns:120px 1fr;gap:10px}.connection-channels>div>span{font-size:10px}.connection-channels small{font-size:9px}.connection-identity p{font-size:10px}.connection-status{font-size:9px}.connection-sync strong{font-size:11px}.connection-sync p{font-size:9px}dialog{padding:22px 18px;border-radius:11px}.dialog-header h2{font-size:19px}.modal-form input:not([type=checkbox]),.modal-form select,#cost-form input:not([type=hidden]){font-size:12px;min-height:39px}.modal-form label,#cost-form label{font-size:11px}.modal-form .form-help,#cost-form .form-help{font-size:10px}.import-confirm{font-size:10px!important}.import-summary>span{font-size:9px;padding:11px}.import-summary b{font-size:22px}.source-item{padding:14px}.source-item h3{font-size:11px}.source-item p{font-size:10px}.source-status{max-width:95px}.source-status .status-badge{font-size:8px}.source-status .cost-date{font-size:8px}.waterfall-row{grid-template-columns:125px 1fr 86px;font-size:10px}.waterfall-row b{font-size:10px}.waterfall-row.total span,.waterfall-row.total b{font-size:10px}footer{font-size:8px;gap:14px;line-height:1.7}}
/* Informational copy stays readable on white; status is also expressed in words. */
.kpi-note,.metric-period-note,.card-header p,.chart-legend,.chart-foot,.chart-foot b,.table-toolbar p,.table-footer,.source-item p,.cost-date,.compact-text,.form-help,.modal-form .form-help,#cost-form .form-help,.forecast-card p,.forecast-meta,.context-strip,.completeness-item p,.completeness-item small,.completeness-footer p,.connection-intro p,.cost-import-bar p,.connection-card-head p,.connection-channels small,.connection-sync p,.connection-sync small,.connection-footnote,.connection-identity p,.import-placeholder,.import-file-actions>span,.import-preview-context>span{color:#677f6e}.chart-label{fill:#758d7c}.table-card th{color:#6d8775}.table-card td{color:#42654e}.rnp-quality small{color:#718d7b}.connection-status{color:#6f8c79}.connection-status.ok,.connection-status.connected{color:#48765b}.connection-status.error{color:#a05e51}.connection-status.configured{color:#92702d}.connection-status.running{color:#6188a7}.status-badge.not_loaded{color:#77917f}.status-badge.partial{color:#967833}.cost-missing{color:#987b34}.missing{color:#718a7b!important}.note-block{color:#7c805c}.source-sha{color:#93ab9c}.modal-form input::placeholder,#cost-form input::placeholder{color:#91a89a}
#content.is-scope-loading{opacity:.45;pointer-events:none;transition:opacity .12s}#content[aria-busy=true]{cursor:progress}

/* KPI values: retain every digit at narrow card widths. */
.kpi-value {
  flex-wrap: wrap;
  row-gap: 2px;
}
.kpi-value > span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.kpi-unit {
  flex: 0 0 auto;
}
@media (min-width: 1600px) {
  .kpi-value { font-size: clamp(22px, 1.7vw, 29px); }
}
@media (min-width: 981px) and (max-width: 1599px) {
  /* Override the three/four-column templates set by individual screens. */
  .kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .kpi-grid > .kpi { grid-column: span 2; }
  .kpi-grid > .kpi:first-child:nth-last-child(4),
  .kpi-grid > .kpi:first-child:nth-last-child(4) ~ .kpi {
    grid-column: span 3;
  }
  .kpi-grid > .kpi:first-child:nth-last-child(5) ~ .kpi:nth-child(n + 4) {
    grid-column: span 3;
  }
}
@media (min-width: 541px) and (max-width: 980px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .kpi-grid > .kpi, .kpi-grid > .kpi:last-child { grid-column: auto; }
  .kpi-grid > .kpi:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 540px) {
  .kpi-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .kpi-grid > .kpi, .kpi-grid > .kpi:last-child { grid-column: auto; }
  .kpi { min-height: 125px; }
  .kpi-value { font-size: 28px; }
}
