:root{font-family:Arial,"Helvetica Neue",sans-serif;color:#173b2d;background:#f4f8f5}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#f8fbf9,#edf5ef)}.shell{display:grid;grid-template-columns:200px 1fr;min-height:100vh}aside{background:rgba(255,255,255,.78);border-right:1px solid #d9e8de;padding:18px 12px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 6px 22px;font-size:18px}.brand small{display:block;color:#647d70;font-size:11px;margin-top:2px}.logo,.titleicon{display:grid;place-items:center;color:#2f7d57;background:#e7f2eb;border-radius:10px;font-size:28px;width:45px;height:45px}.brand .logo{width:40px;height:40px;font-size:23px}nav{display:grid;gap:4px}nav a{padding:11px 12px;border-radius:9px;color:#60786b;font-size:14px}nav a.active{background:#e1eee6;color:#286f4d;font-weight:700}nav a span{margin-left:9px}.updated{margin-top:auto;border:1px solid #d9e8de;border-radius:10px;padding:12px;color:#647d70;font-size:11px}.updated:first-letter{color:#00a67d}main{padding:16px 22px 12px;min-width:0}.top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.title{display:flex;gap:14px;align-items:center}.title h1{margin:0;font-size:29px;line-height:1;color:#173b2d;letter-spacing:-.8px}.title p{margin:4px 0 0;color:#587565;font-size:16px;font-weight:700}.topright{display:flex;align-items:center;gap:18px}.datebox{background:#e8f1eb;border-radius:10px;padding:9px 15px;color:#284b3a;font-size:12px}.datebox small{display:block;margin-left:22px;color:#647d70;margin-top:3px}.legend{font-size:12px;white-space:nowrap}.legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin:0 5px 0 12px;vertical-align:-2px}
.blue{background:#0878f9}.green{background:#00a67d}.purple{background:#7b18f7}.filters{margin:8px 0 10px}.filters form{display:flex;justify-content:flex-end;gap:7px;align-items:end}.filters label{font-size:10px;color:#718579}.filters input,.filters select,.filters button{height:29px;border:1px solid #cfe0d5;border-radius:7px;background:#fff;padding:0 8px;color:#345343;font-size:11px}.filters select{max-width:215px}.filters button{background:#347a57;color:#fff;border:0;font-weight:700}.reportgrid{--metric:160px;background:rgba(255,255,255,.42)}.chartbox{height:245px;margin-left:var(--metric);position:relative}.tablebox{border:1px solid #cfe0d5;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.58)}table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:11px}.metriccol{width:var(--metric)}th,td{border-right:1px solid #dce8df;border-bottom:1px solid #dce8df;text-align:center;padding:6px 5px;height:29px}th{background:#e8f1eb;font-size:12px;font-weight:800}th small{display:block;color:#718579;font-size:9px;margin-top:2px}th:first-child,td:first-child{text-align:left;padding-left:10px;font-weight:600}td:first-child i{display:inline-block;width:28px;font-style:normal;font-size:17px;vertical-align:-2px;color:#668273}td b{font-size:11px}td em{font-style:normal;font-size:9px;margin-left:8px;color:#87998f}.up{color:#00a67d!important}.down{color:#ff5148!important}.m1{color:#347a57}.m2{color:#00a67d;background:#edfff8}
.m3{color:#7b18f7;background:#f4efff}.ad{color:#ff3b30;background:#fff0ed}.sum{background:#fff7d9;font-weight:800}.sum td{height:35px}.kpis{display:grid;grid-template-columns:repeat(5,1fr);border-top:5px solid #e3eee7;margin-top:10px;padding-top:10px}.kpis>div{display:flex;gap:12px;align-items:center;padding:7px 18px;border-right:1px solid #d9e6dd;min-height:70px}.kpis i{font-style:normal;font-size:27px;background:#e8f2eb;width:48px;height:48px;border-radius:50%;display:grid;place-items:center}.kpis span{color:#657e70;font-size:11px}.kpis b{display:block;color:#173b2d;font-size:20px;margin-top:4px}.kpis .best{background:#eafff7;border-radius:9px;color:#009b70}.kpis .best span,.kpis .best b{color:#008b67}footer{font-size:10px;color:#758c7f;padding:17px 4px 0}footer span{float:right}@media(max-width:1100px){.shell{grid-template-columns:65px 1fr}aside .brand div,nav span,.updated{display:none}.brand{padding-left:0}.top{display:block}.topright{margin-top:10px}.title h1{font-size:23px}.reportgrid{--metric:145px}.kpis{grid-template-columns:repeat(2,1fr)}}
.multi{position:relative}.multiBtn{min-width:205px;text-align:left;display:flex;justify-content:space-between;align-items:center}.multiMenu{display:none;position:absolute;right:0;top:33px;z-index:30;width:310px;max-height:360px;overflow:auto;background:#fff;border:1px solid #cfe0d5;border-radius:9px;box-shadow:0 12px 30px rgba(31,74,50,.14);padding:8px}.multi.open .multiMenu{display:block}.multiMenu label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;padding:6px 5px;font-size:11px!important;color:#345343!important}.multiMenu input{width:15px;height:15px;margin:0}.multiActions{display:flex;gap:6px;position:sticky;top:-8px;background:#fff;padding:4px 0 7px}.multiActions button{height:25px!important;background:#eef6ff!important;color:#0878f9!important;border:1px solid #cfe0d5!important}
/* 2026-09-20: align chart day centers with table day columns; compensate visible left Y axis width */
.chartbox{margin-left:calc(var(--metric) - 44px);margin-right:0}

/* Organic traffic rows: blue family, grouped directly under transitions */
tr.organic td{background:#eaf3ed!important;color:#356a50} tr.organic td:first-child{background:#deece3!important;color:#2c6849} tr.organic i{color:#347a57}

/* Neutral operational cost rows below advertising block */
tr.opcost td{background:#f8fafc!important;color:#475569} tr.opcost td:first-child{background:#f1f5f9!important;color:#334155} tr.opcost i{color:#64748b}

/* Stronger table typography */
.tablebox table th{font-weight:800}
.tablebox table td{font-weight:650}
.tablebox table td b{font-weight:800}
.tablebox table td:first-child{font-weight:750}
.tablebox table em{font-weight:700}

/* Зеленый Кабинет: neutral green visual system */
.blue{background:#3f7f61}.green{background:#69a47e}.purple{background:#8aae96}
.m1{color:#2f7351}.m2{color:#438361;background:#edf6f0}.m3{color:#648b72;background:#f0f5f1}
.logo,.titleicon{color:#2f7351;background:#e4efe8}
.filters button{background:#347a57}.multiActions button{background:#eaf3ed!important;color:#347a57!important;border-color:#cfe0d5!important}
.datebox{background:#e8f1eb}.tablebox{border-color:#cfe0d5}.kpis{border-top-color:#e3eee7}.kpis i{background:#e8f2eb}

/* Finance mock-up */
.finwarn{margin:8px 0 12px;padding:10px 14px;border:1px solid #e4d8ad;background:#fffaf0;border-radius:9px;color:#78672f;font-size:11px;font-weight:700}
.fincard{background:rgba(255,255,255,.72);border:1px solid #cfe0d5;border-radius:11px;padding:15px 16px;margin:0 0 12px}
.fincard h2{margin:0;color:#244d39;font-size:17px}.fincard>p{margin:4px 0 12px;color:#718579;font-size:11px}
.dayblocks{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.dayblock{min-height:88px;border:1px solid #dbe6df;background:#f7faf8;border-radius:9px;padding:10px;display:flex;flex-direction:column;justify-content:center}.dayblock.has{background:#e7f2eb;border-color:#bad5c4}.dayblock small{color:#718579;font-weight:700}.dayblock b{font-size:17px;color:#244d39;margin:6px 0}.dayblock span{font-size:9px;color:#829388}.finchart{height:250px}.fintable{overflow:auto;border:1px solid #d9e6dd;border-radius:8px}.fintable table{min-width:1180px}.fintable th{background:#e8f1eb;color:#315744}.fintable td:first-child,.fintable th:first-child{position:sticky;left:0;background:#f7faf8;z-index:1;width:220px}.fintable tbody tr:hover td{background:#f1f7f3}.fintable tbody tr:hover td:first-child{background:#eaf3ed}
@media(max-width:1100px){.dayblocks{grid-template-columns:repeat(4,1fr)}}

/* Finance: compact weekly flow + square structure chart */
.fintopgrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr);gap:12px;align-items:stretch}
.finleft{min-width:0}.fintopgrid .fincard{margin-bottom:12px}
.daycard{padding-bottom:13px}.dayblocks{gap:7px}.dayblock{min-height:82px;text-align:center;align-items:center;padding:8px 5px}.dayblock small{text-transform:uppercase;font-size:11px}.dayblock b{font-size:15px;white-space:nowrap}.dayblock span{font-size:9px;color:#83958a}
.flowcard .finchart{height:220px}.piecard{min-height:100%;display:flex;flex-direction:column}.piechart{height:310px;min-height:280px;margin:auto 0}.pietotal{margin-top:auto;text-align:center;border-top:1px solid #dce8df;padding-top:10px}.pietotal small{display:block;color:#718579;font-size:10px}.pietotal b{display:block;color:#244d39;font-size:19px;margin-top:3px}
@media(max-width:1250px){.fintopgrid{grid-template-columns:1fr}.piecard{min-height:auto}.piechart{height:280px}.dayblock b{font-size:13px}}

/* Products hub + submenu */
.subnav{margin:-1px 0 5px 31px;padding-left:10px;border-left:1px solid #c9ddd0;display:grid;gap:0}.subnav a{padding:5px 8px;font-size:11px;color:#6b8175;border-radius:5px}.subnav a:hover{background:#edf5f0;color:#2f7351}
.productkpis{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0 12px}.productkpis>div{background:#fff;border:1px solid #d5e4da;border-radius:10px;padding:12px 14px}.productkpis small{display:block;color:#718579;font-size:10px}.productkpis b{display:block;color:#244d39;font-size:20px;margin-top:5px}
.productgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.productcard{background:rgba(255,255,255,.76);border:1px solid #cfe0d5;border-radius:11px;padding:15px;min-width:0}.productcard.wide{grid-column:1/-1}.cardhead{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:11px}.cardhead h2{margin:0;color:#244d39;font-size:17px}.cardhead p{margin:3px 0 0;color:#718579;font-size:10px}.cardhead>span{font-size:9px;color:#829388;background:#eef5f0;border-radius:12px;padding:5px 8px;white-space:nowrap}.compacttable{max-height:430px;overflow:auto;border:1px solid #dce8df;border-radius:8px}.compacttable table{min-width:760px}.compacttable th{position:sticky;top:0;z-index:2}.compacttable td:first-child,.compacttable th:first-child{width:280px}.stocklow{color:#b85d42;font-weight:800}.bigstat{font-size:34px;font-weight:800;color:#347a57;padding:7px 0 13px}.bigstat small{font-size:10px;color:#718579;font-weight:600}.statline,.minilist>div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e3ece6;padding:9px 2px;font-size:11px}.statline span,.minilist span{color:#647d70}.statline b,.minilist b{color:#244d39}.minilist span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grouplist{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.grouplist>div{background:#f3f8f5;border:1px solid #dce8df;border-radius:9px;padding:11px}.grouplist b{display:block;color:#315744;font-size:12px}.grouplist span{display:inline-block;margin:5px 0;color:#347a57;font-size:10px;font-weight:800}.grouplist small{display:block;color:#7b8e83;font-size:9px;line-height:1.45}
@media(max-width:1100px){.productkpis{grid-template-columns:repeat(2,1fr)}.productgrid{grid-template-columns:1fr}.grouplist{grid-template-columns:1fr}.subnav{display:none}}

/* Advertising */
.adkpis{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:10px 0 12px}.adkpis>div{background:#fff;border:1px solid #d5e4da;border-radius:10px;padding:11px 12px}.adkpis small{display:block;color:#718579;font-size:9px}.adkpis b{display:block;color:#244d39;font-size:18px;margin-top:4px}.adkpis span{display:block;color:#7c8e84;font-size:9px;margin-top:3px}.adgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.adcanvas{height:235px}.wbbutton{font-size:10px;font-weight:800;color:#fff;background:#3f7f61;padding:8px 11px;border-radius:8px;text-decoration:none;white-space:nowrap}.wbbutton:hover{background:#31694e}.adtable table{min-width:1320px}.tablehint{font-size:9px;color:#7b8e83;margin:8px 2px 0}
@media(max-width:1150px){.adkpis{grid-template-columns:repeat(3,1fr)}.adgrid{grid-template-columns:1fr}}
.finkpis{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px;margin-top:8px}.finkpis>div{border:1px solid #dbe6df;background:#f7faf8;border-radius:9px;padding:11px 12px;min-height:62px}.finkpis small{display:block;color:#718579;font-size:10px;font-weight:700}.finkpis b{display:block;margin-top:6px;font-size:16px;color:#244d39;white-space:nowrap}.finkpis .profit{background:#e7f2eb;border-color:#bad5c4}.finkpis .profit b{font-size:18px}.finleft .dayblocks{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}@media(max-width:900px){.finkpis{grid-template-columns:repeat(2,1fr)}}
.finvisualgrid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(330px,.9fr);gap:12px;align-items:stretch;margin-bottom:12px}.finvisualleft{min-width:0}.finmetricrow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.finmetric{height:76px;border:1px solid #cfe0d5;border-radius:9px;background:#fff;padding:11px 14px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}.finmetric small{font-size:10px;color:#718579;font-weight:700}.finmetric b{font-size:18px;color:#244d39;margin-top:6px;white-space:nowrap}.finmetric.profit{background:#e7f2eb;border-color:#bad5c4}.dailybarscard{margin:0!important}.dailybars{height:285px}.finvisualgrid>.piecard{margin:0!important;min-height:385px}.finvisualgrid .piechart{height:315px;min-height:315px}@media(max-width:1250px){.finvisualgrid{grid-template-columns:1fr}.finmetricrow{grid-template-columns:repeat(2,1fr)}}
.finmetricrow{grid-template-columns:repeat(5,1fr)}
.finmetricrow{grid-template-columns:repeat(6,1fr)}.wbtook{text-align:center;margin:4px 0 2px;padding:8px 10px;border-radius:9px;background:#f7faf8;border:1px solid #dbe6df}.wbtook small{display:block;color:#718579;font-size:10px;font-weight:700;text-transform:uppercase}.wbtook b{display:block;color:#c62828;font-size:24px;margin:3px 0}.wbtook strong{display:block;color:#5f7166;font-size:12px}@media(max-width:1450px){.finmetricrow{grid-template-columns:repeat(3,1fr)}}
.finmetricrow{grid-template-columns:repeat(7,1fr)}.metricpct{font-size:13px;font-weight:700;white-space:nowrap}@media(max-width:1550px){.finmetricrow{grid-template-columns:repeat(4,1fr)}}
/* Finance period article summary: readable non-overlapping columns */
.fintable{overflow-x:auto;width:100%}.fintable table{width:max-content;min-width:100%;table-layout:auto;border-collapse:collapse}.fintable th,.fintable td{white-space:nowrap;min-width:86px;padding:8px 10px;box-sizing:border-box}.fintable th:nth-child(1),.fintable td:nth-child(1){min-width:165px}.fintable th:nth-child(2),.fintable td:nth-child(2){min-width:245px;max-width:245px;overflow:hidden;text-overflow:ellipsis}.fintable th:nth-child(6),.fintable td:nth-child(6){min-width:145px}.fintable th:nth-child(9),.fintable td:nth-child(9){min-width:130px}.fintable th:nth-child(13),.fintable td:nth-child(13){min-width:115px}.fintable th:nth-child(18),.fintable td:nth-child(18){min-width:120px}
/* Article summary has no period column */
.fincard:nth-of-type(3) .fintable th:nth-child(1),.fincard:nth-of-type(3) .fintable td:nth-child(1){min-width:245px;max-width:245px;overflow:hidden;text-overflow:ellipsis}
.producttotals{margin:0 0 12px;display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px}.producttotals .finmetric{min-height:72px}.producttotals .finmetric b{font-size:20px}@media(max-width:1200px){.producttotals{grid-template-columns:repeat(3,1fr)}}
.producttotals{display:flex!important;flex-wrap:nowrap!important;gap:8px;margin:0 0 14px;width:100%;overflow-x:auto;padding:2px 1px 5px}.producttotals .finmetric{flex:1 1 0;min-width:145px;min-height:86px;border:1px solid #d9e9df;border-radius:14px;background:linear-gradient(180deg,#fff 0%,#f5faf7 100%);box-shadow:0 3px 12px rgba(25,80,52,.06);padding:12px 13px;display:flex;flex-direction:column;justify-content:center}.producttotals .finmetric small{font-size:11px;color:#557064;margin-bottom:6px}.producttotals .finmetric b{font-size:19px;line-height:1.1;color:#073d2e;white-space:nowrap}.producttotals .finmetric em{font-size:11px;font-style:normal;font-weight:600;color:#71877d}.producttotals .finmetric span{font-size:9px;color:#789087;margin-top:5px;white-space:nowrap}.producttotals .finmetric.money{background:linear-gradient(180deg,#f6fbf7 0%,#edf7f0 100%)}.producttotals .finmetric.forecast{background:linear-gradient(180deg,#edf8f1 0%,#e2f2e8 100%);border-color:#bddbc8}
/* Product summary: use the full available content width */
.productgrid{display:block!important;width:100%!important;max-width:none!important}.producttotals{width:100%!important;max-width:none!important;box-sizing:border-box}.producttotals .finmetric{min-width:0!important}.productcard.wide{width:100%!important;max-width:none!important;box-sizing:border-box}
.costedit{display:flex;align-items:center;gap:5px}.costedit input{width:72px;border:1px solid #d6e4dc;border-radius:8px;padding:6px 7px;background:#fff;text-align:right;font:inherit}.costedit input:focus{outline:2px solid #b9dcc7;border-color:#82b998}.costedit button{width:28px;height:28px;border:0;border-radius:8px;background:#e7f5ec;color:#17633d;font-weight:800;cursor:pointer}.costedit button:hover{background:#d5eedf}
/* Products table: fit all columns on screen, no horizontal scroll */
/* Products table final layout: no internal scrollbars; prices after cost capitalization */
#prices{height:auto!important;max-height:none!important;overflow:visible!important}#prices .compacttable{height:auto!important;max-height:none!important;overflow:visible!important}#prices table{height:auto!important}#prices tbody{height:auto!important;max-height:none!important;overflow:visible!important;display:table-row-group!important}#prices thead{display:table-header-group!important}#prices th:first-child,#prices td:first-child{width:16%!important}#prices th:nth-child(2),#prices td:nth-child(2),#prices th:nth-child(3),#prices td:nth-child(3){width:4.5%!important}#prices th:nth-child(4),#prices td:nth-child(4),#prices th:nth-child(5),#prices td:nth-child(5){width:6.5%!important}#prices th:nth-child(6),#prices td:nth-child(6),#prices th:nth-child(7),#prices td:nth-child(7),#prices th:nth-child(8),#prices td:nth-child(8){width:5%!important}#prices th:nth-child(9),#prices td:nth-child(9){width:8%!important}#prices th:nth-child(10),#prices td:nth-child(10){width:9%!important}#prices th:nth-child(11),#prices td:nth-child(11),#prices th:nth-child(12),#prices td:nth-child(12){width:8%!important}#prices th:nth-child(13),#prices td:nth-child(13){width:9%!important}
/* Finance KPI cards: keep all main metrics, including buyout, in one row */
.finvisualleft .finmetricrow{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important}.finvisualleft .finmetric{min-width:0!important}
/* Finance KPI values must stay inside cards */
.finvisualleft .finmetric b{font-size:clamp(14px,1.05vw,18px)!important;white-space:nowrap!important;letter-spacing:-.2px}.finvisualleft .finmetric .metricpct{font-size:.72em!important;white-space:nowrap!important}
.finvisualleft .finmetric{position:relative!important;padding:12px 9px!important;overflow:hidden!important}.finvisualleft .finmetric b{display:block!important;font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;letter-spacing:-.45px!important;max-width:100%!important}.finvisualleft .finmetric .metricpct{font-size:10px!important;letter-spacing:-.3px!important}.metricdelta{position:absolute;right:6px;top:6px;border-radius:6px;padding:2px 5px;font-size:9px;font-style:normal;font-weight:800;line-height:1.2}.metricdelta.good{background:#dff3e6;color:#187044}.metricdelta.bad{background:#f9e1df;color:#a83b32}.metricdelta.neutral{background:#edf1ee;color:#617068}.finvisualleft .finmetric small{padding-right:44px!important}
/* compact finance article table */
.fincard .fintable table{table-layout:auto!important;width:max-content!important;min-width:100%!important}
.fincard .fintable th,.fincard .fintable td{padding:7px 8px!important;white-space:nowrap!important}
.fincard .fintable th{white-space:normal!important;line-height:1.15!important;max-width:105px!important;min-width:58px!important;word-break:normal!important;overflow-wrap:normal!important}
.fincard .fintable th:first-child{min-width:210px!important;max-width:230px!important}
/* finance article table: widths based on data, not header length */
.fincard .fintable table{table-layout:auto!important;width:max-content!important;min-width:100%!important}
.fincard .fintable th,.fincard .fintable td{padding:6px 7px!important}
.fincard .fintable th{min-width:0!important;max-width:88px!important;width:1%!important;white-space:normal!important;line-height:1.08!important;text-align:center!important}
.fincard .fintable th:first-child{width:220px!important;min-width:220px!important;max-width:220px!important;text-align:left!important}
.fincard .fintable td:first-child{width:220px!important;min-width:220px!important;max-width:220px!important}
.fincard .fintable th:nth-child(2),.fincard .fintable td:nth-child(2){width:72px!important;min-width:72px!important;max-width:72px!important}
.fincard .fintable th:nth-child(3),.fincard .fintable td:nth-child(3){width:68px!important;min-width:68px!important;max-width:68px!important}
.fincard .fintable th:nth-child(4),.fincard .fintable td:nth-child(4),.fincard .fintable th:nth-child(5),.fincard .fintable td:nth-child(5){width:58px!important;min-width:58px!important;max-width:58px!important}
/* finance cells: no ellipsis, semantic value tint */
.fincard .fintable th,.fincard .fintable td{overflow:visible!important;text-overflow:clip!important}
.fincard .fintable th{white-space:normal!important}
.fincard .fintable td:first-child{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.fintable td.pos{background:#eaf6ee!important;color:#17643a!important}
.fintable td.neg{background:#fbeceb!important;color:#a33730!important}
.fintable td.zero{background:#fff!important;color:inherit!important}
/* article finance table: fixed readable geometry + semantic column coloring */
.fincard:first-of-type .fintable table{border-collapse:collapse!important}
.fincard .fintable th,.fincard .fintable td{box-sizing:border-box!important;vertical-align:middle!important;line-height:1.15!important;height:31px!important}
.fincard .fintable th{padding:5px 6px!important;overflow:hidden!important;text-overflow:clip!important;white-space:normal!important;word-break:normal!important}
.fincard .fintable td{padding:5px 6px!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
.fincard .fintable th:first-child,.fincard .fintable td:first-child{width:235px!important;min-width:235px!important;max-width:235px!important}
.fincard .fintable th:nth-child(2),.fincard .fintable td:nth-child(2){width:78px!important;min-width:78px!important;max-width:78px!important}
.fincard .fintable th:nth-child(3),.fincard .fintable td:nth-child(3){width:72px!important;min-width:72px!important;max-width:72px!important}
/* whole-column business meaning */
.fincard .fintable tbody td:nth-child(2),.fincard .fintable tbody td:nth-child(3),.fincard .fintable tbody td:nth-child(6),.fincard .fintable tbody td:nth-child(7),.fincard .fintable tbody td:nth-child(8),.fincard .fintable tbody td:nth-child(20),.fincard .fintable tbody td:nth-child(21),.fincard .fintable tbody td:nth-child(22),.fincard .fintable tbody td:nth-child(23){background:#eaf6ee!important;color:#17643a!important}
.fincard .fintable tbody td:nth-child(4),.fincard .fintable tbody td:nth-child(5),.fincard .fintable tbody td:nth-child(9),.fincard .fintable tbody td:nth-child(10),.fincard .fintable tbody td:nth-child(11),.fincard .fintable tbody td:nth-child(12),.fincard .fintable tbody td:nth-child(14),.fincard .fintable tbody td:nth-child(15),.fincard .fintable tbody td:nth-child(16),.fincard .fintable tbody td:nth-child(17),.fincard .fintable tbody td:nth-child(18),.fincard .fintable tbody td:nth-child(19){background:#fbeceb!important;color:#a33730!important}
.fincard .fintable tbody td:nth-child(13){background:#fff!important;color:inherit!important}
/* stable finance table geometry */
.fincard .fintable table{border-collapse:collapse!important;table-layout:auto!important}
.fincard .fintable th,.fincard .fintable td{box-sizing:border-box!important;vertical-align:middle!important;height:30px!important;line-height:1.15!important}
.fincard .fintable th{height:42px!important;padding:5px 8px!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;word-break:keep-all!important}
.fincard .fintable td{padding:5px 8px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.fincard .fintable th:first-child,.fincard .fintable td:first-child{width:250px!important;min-width:250px!important;max-width:none!important}
.fincard .fintable th:nth-child(n+2),.fincard .fintable td:nth-child(n+2){min-width:76px!important;max-width:none!important;width:auto!important}
.fincard .fintable th:nth-child(2),.fincard .fintable td:nth-child(2){min-width:88px!important}
.fincard .fintable th:nth-child(3),.fincard .fintable td:nth-child(3){min-width:82px!important}
/* semantic columns: benefit = green, cost = red; zero values stay visually blank */
.fincard .fintable tbody td:nth-child(2),.fincard .fintable tbody td:nth-child(3),.fincard .fintable tbody td:nth-child(6),.fincard .fintable tbody td:nth-child(7),.fincard .fintable tbody td:nth-child(8),.fincard .fintable tbody td:nth-child(20),.fincard .fintable tbody td:nth-child(21),.fincard .fintable tbody td:nth-child(22),.fincard .fintable tbody td:nth-child(23){background:#eaf6ee!important;color:#17643a!important}
.fincard .fintable tbody td:nth-child(4),.fincard .fintable tbody td:nth-child(5),.fincard .fintable tbody td:nth-child(9),.fincard .fintable tbody td:nth-child(10),.fincard .fintable tbody td:nth-child(11),.fincard .fintable tbody td:nth-child(12),.fincard .fintable tbody td:nth-child(13),.fincard .fintable tbody td:nth-child(14),.fincard .fintable tbody td:nth-child(15),.fincard .fintable tbody td:nth-child(16),.fincard .fintable tbody td:nth-child(17),.fincard .fintable tbody td:nth-child(18),.fincard .fintable tbody td:nth-child(19){background:#fbeceb!important;color:#a33730!important}
/* % buyout is informational, not positive/negative */
.fincard .fintable tbody td:nth-child(6){background:#fff!important;color:inherit!important}
.fintable tfoot .totalrow td{font-weight:800!important;border-top:2px solid #9aaca1!important;background:#eef3ef!important}
/* finance KPI cards: always one row */
.finvisualleft .finmetricrow{display:grid!important;grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:8px!important;flex-wrap:nowrap!important;width:100%!important}
.finvisualleft .finmetric{min-width:0!important;width:auto!important;padding:12px 7px!important}
.finvisualleft .finmetric b{font-size:14px!important;letter-spacing:-.5px!important}
.finvisualleft .finmetric small{font-size:9px!important;padding-right:38px!important;white-space:nowrap!important}
.metricdelta{right:4px!important;top:5px!important;font-size:8px!important;padding:2px 4px!important}
/* 10 KPI cards, original typography; delta badge shifted inward */
.finvisualleft .finmetricrow{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:8px!important}
.finvisualleft .finmetric{padding:12px 9px!important}
.finvisualleft .finmetric b{font-size:15px!important;line-height:1.15!important;letter-spacing:-.45px!important}
.finvisualleft .finmetric small{font-size:inherit!important;padding-right:0!important;white-space:nowrap!important}
.finvisualleft .metricdelta{right:10px!important;top:6px!important;font-size:9px!important;padding:2px 5px!important;transform:translateX(-8px)!important}
/* KPI typography restored to approved appearance */
.finvisualleft .finmetric{padding:12px 9px!important}
.finvisualleft .finmetric small{font-size:11px!important;line-height:1.2!important;font-weight:400!important;letter-spacing:0!important;white-space:nowrap!important}
.finvisualleft .finmetric b{font-size:15px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:0!important;white-space:nowrap!important}
.finvisualleft .metricdelta{font-size:9px!important;line-height:1.2!important;font-weight:800!important;right:8px!important;top:6px!important;transform:none!important;padding:2px 5px!important}
/* KPI titles larger; keep values unchanged */
.finvisualleft .finmetric small{font-size:12px!important;line-height:1.2!important;font-weight:500!important;letter-spacing:0!important}
.finvisualleft .finmetric .drrsum{font-size:.82em!important;font-weight:700!important;white-space:nowrap!important}
/* KPI card vertical rhythm: delta on top, title below it, value below title */
.finvisualleft .finmetric{position:relative!important;padding:12px 9px 11px!important;min-height:68px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.finvisualleft .finmetric small{display:block!important;margin-top:10px!important;margin-bottom:5px!important;font-size:12px!important;line-height:1.15!important;font-weight:500!important;padding-right:0!important}
.finvisualleft .finmetric b{display:block!important;margin-top:0!important;line-height:1.15!important}
.finvisualleft .metricdelta{top:5px!important;right:9px!important}
/* finance KPI semantic fills */
.finvisualleft .finmetric.kpi-green{background:#e6f4ea!important;border-color:#b9dbc5!important}
.finvisualleft .finmetric.kpi-red{background:#fbeceb!important;border-color:#e8c3bf!important}
/* finance article table semantic colors after compacted columns */
.fincard .fintable tbody td:nth-child(n){background:#fff!important;color:inherit!important}
.fincard .fintable tbody td:nth-child(2),
.fincard .fintable tbody td:nth-child(6),
.fincard .fintable tbody td:nth-child(16),
.fincard .fintable tbody td:nth-child(17),
.fincard .fintable tbody td:nth-child(18),
.fincard .fintable tbody td:nth-child(19),
.fincard .fintable tbody td:nth-child(20){background:#eaf6ee!important;color:#17643a!important}
.fincard .fintable tbody td:nth-child(3),
.fincard .fintable tbody td:nth-child(4),
.fincard .fintable tbody td:nth-child(7),
.fincard .fintable tbody td:nth-child(8),
.fincard .fintable tbody td:nth-child(9),
.fincard .fintable tbody td:nth-child(10),
.fincard .fintable tbody td:nth-child(11),
.fincard .fintable tbody td:nth-child(12),
.fincard .fintable tbody td:nth-child(13),
.fincard .fintable tbody td:nth-child(14),
.fincard .fintable tbody td:nth-child(15){background:#fbeceb!important;color:#a33730!important}
.fincard .fintable tbody td:nth-child(5){background:#fff!important;color:inherit!important}
/* compact qty columns: Продано, Отказы, Возвр. */
.fincard .fintable th:nth-child(2),.fincard .fintable td:nth-child(2){width:62px!important;min-width:62px!important;max-width:62px!important;padding-left:5px!important;padding-right:5px!important}
.fincard .fintable th:nth-child(3),.fincard .fintable td:nth-child(3){width:58px!important;min-width:58px!important;max-width:58px!important;padding-left:5px!important;padding-right:5px!important}
.fincard .fintable th:nth-child(4),.fincard .fintable td:nth-child(4){width:54px!important;min-width:54px!important;max-width:54px!important;padding-left:5px!important;padding-right:5px!important}
.articlecell{display:flex;align-items:center;justify-content:space-between;gap:8px}.detailbtn{width:25px;height:25px;min-width:25px;border:1px solid #b9d8c4;border-radius:8px;background:#eef8f1;color:#17643a;font-size:16px;line-height:1;cursor:pointer;padding:0;box-shadow:0 1px 3px #00000012}.detailbtn:hover{background:#dff1e5;transform:translateY(-1px)}
.articlemodal{display:none;position:fixed;inset:0;z-index:9999;background:#14251c99;backdrop-filter:blur(3px);padding:28px;overflow:auto}.articlemodal.open{display:flex;align-items:flex-start;justify-content:center}.articlemodalbox{position:relative;width:min(920px,96vw);background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 70px #0004}.modalclose{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;color:#65756c;cursor:pointer}.articlemodalbox h2{margin:0 40px 2px 0;font-size:20px}.articlemodalperiod{color:#718078;font-size:12px;margin-bottom:14px}.articlemodalgrid{display:grid;grid-template-columns:minmax(360px,1.3fr) minmax(220px,.7fr);gap:18px;align-items:center}.articlechart{height:330px}.articlelegend{background:#f4f8f5;border:1px solid #dbe9df;border-radius:12px;padding:16px}.articlelegend p{font-size:12px;color:#637168;line-height:1.45}.articledetailtable{margin-top:18px;border:1px solid #dfe8e2;border-radius:12px;overflow:hidden}.articledetailtable table{width:100%;border-collapse:collapse}.articledetailtable th,.articledetailtable td{padding:8px 12px;border-bottom:1px solid #edf2ee;text-align:left}.articledetailtable th:last-child,.articledetailtable td:last-child{text-align:right}.atype{font-size:11px;padding:3px 7px;border-radius:10px}.atype.income{background:#e8f5ec;color:#17643a}.atype.expense{background:#fbeceb;color:#a33730}.atype.result{background:#edf1f7;color:#3e5268}.incomeval{color:#17643a;font-weight:600}.expenseval{color:#a33730;font-weight:600}@media(max-width:700px){.articlemodalgrid{grid-template-columns:1fr}.articlechart{height:280px}.articlemodal{padding:10px}.articlemodalbox{padding:18px}}
.compblock h2{display:flex;align-items:center;gap:10px}.compblock h2 small{font-size:12px;font-weight:500;opacity:.55}.compthumb{width:42px;height:56px;object-fit:cover;border-radius:7px;display:block;background:#f1f3f2}.comptable td,.comptable th{white-space:nowrap}.comptable td:nth-child(3){white-space:normal;min-width:180px}.comptable td:first-child,.comptable th:first-child{width:50px;padding:5px}
.kpiclick{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.kpiclick:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.10)}.kpimodalbox{max-width:900px}.kpichart{height:430px;margin-top:18px}
.adarticle{display:block;margin-top:4px;font-size:11px;font-weight:600;color:#5f7467;max-width:260px;white-space:normal;line-height:1.25}
.budgetbtn{margin:7px 0 5px}.budgetstatus{font-size:11px;color:#6d7e72;margin-left:8px}.budgetok{color:#21743b;font-weight:700}.budgetbad{color:#b3261e;font-weight:700}
.adkpis7{grid-template-columns:repeat(7,minmax(135px,1fr))}.adkpiclick{cursor:pointer;position:relative;transition:transform .12s ease,box-shadow .12s ease}.adkpiclick:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.10)}.adkpiclick em.kpichange{display:block;margin-top:7px;font-size:11px;font-style:normal;font-weight:700;color:#78857c}.adkpiclick em.up{color:#278348}.adkpiclick em.down{color:#bd3d35}@media(max-width:1300px){.adkpis7{grid-template-columns:repeat(4,minmax(150px,1fr))}}
.adfinmetrics{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 12px!important}.adfinmetrics .finmetric{position:relative!important;min-width:0!important;height:76px!important;padding:12px 9px 11px!important;justify-content:flex-start!important}.adfinmetrics .finmetric small{padding-right:44px;font-size:10px;color:#718579;font-weight:700}.adfinmetrics .finmetric b{font-size:16px;line-height:1.15;color:#244d39;margin-top:6px;white-space:nowrap}.adfinmetrics .finmetric span{font-size:9px;color:#789087;margin-top:3px;white-space:nowrap}.adfinmetrics .metricdelta{position:absolute;right:6px;top:6px}@media(max-width:1450px){.adfinmetrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Ads KPI typography = Finance KPI typography */
.adfinmetrics .finmetric small{display:block!important;margin-top:10px!important;margin-bottom:5px!important;font-size:12px!important;line-height:1.15!important;font-weight:500!important;letter-spacing:0!important;padding-right:0!important}.adfinmetrics .finmetric b{display:block!important;margin-top:0!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:0!important;white-space:nowrap!important}.adfinmetrics .finmetric span{font-size:10px!important;font-weight:500!important;line-height:1.15!important}.adfinmetrics .metricdelta{top:5px!important;right:9px!important;font-size:9px!important;font-weight:800!important}
/* Ads KPI: vertically center title/value/subline like requested reference */
.adfinmetrics .finmetric{justify-content:center!important}.adfinmetrics .finmetric small{margin-top:0!important;margin-bottom:4px!important}.adfinmetrics .finmetric b{margin:0!important}.adfinmetrics .finmetric span{margin-top:3px!important}
.funnelcharts{height:235px;display:grid;grid-template-rows:repeat(4,1fr);gap:2px;padding:2px 6px 0}.funnelrow{position:relative;min-height:0;padding-left:54px;border-bottom:1px solid #edf2ee}.funnelrow:last-child{border-bottom:0}.funnelrow>b{position:absolute;left:2px;top:50%;transform:translateY(-50%);font-size:9px;color:#667b70}.funnelrow canvas{width:100%!important;height:100%!important}
/* Maximize funnel amplitude inside four isolated lanes */
.funnelcharts{height:260px!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;gap:3px!important}.funnelrow{overflow:hidden!important;padding-left:54px!important}.funnelrow canvas{display:block!important}
/* Competitors v2 */
.comphead{display:flex;align-items:center;justify-content:space-between;gap:18px}.compaddbig{border:0;border-radius:11px;background:#1f6f43;color:#fff;padding:11px 17px;font-weight:800;cursor:pointer;box-shadow:0 5px 14px #1f6f4326}.compaddbig:hover{background:#185c37}.compfilter{display:flex;align-items:end;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dfe9e2;border-radius:14px;padding:14px 16px;margin:12px 0}.compfilter form{min-width:420px}.compfilter label{display:block;font-size:11px;font-weight:800;color:#65766c;margin-bottom:6px}.compfilter select,.compaddform select,.compaddform input{width:100%;box-sizing:border-box;border:1px solid #cedbd2;border-radius:9px;background:#fff;padding:10px 12px;color:#263c30}.compslots{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 7px;min-width:210px}.compslots b{font-size:22px;color:#1d7043}.compslots span{font-size:11px;color:#718078}.compslots i{grid-column:1/3;height:5px;background:#e5eee8;border-radius:9px;margin-top:5px;position:relative;overflow:hidden}.compslots i:after{content:'';display:block;width:var(--fill);height:100%;background:#2d8b58;border-radius:9px}.compworkspace{display:grid;gap:12px}.ownhero{display:grid;grid-template-columns:70px minmax(260px,1fr) repeat(3,minmax(120px,150px));align-items:center;gap:14px;background:linear-gradient(120deg,#183c2b,#25583e);color:#fff;border-radius:16px;padding:14px 18px;box-shadow:0 8px 24px #173c2b20}.productphoto,.compphoto{position:relative;width:56px;height:70px;border-radius:10px;background:#edf3ef;overflow:hidden}.productphoto img,.compphoto img{width:100%;height:100%;object-fit:cover}.productphoto span{position:absolute;left:4px;bottom:4px;background:#d9f3e2;color:#17643a;border-radius:5px;padding:2px 5px;font-size:8px;font-weight:900}.ownmeta small,.ownprice small,.ownkpi small,.compidentity small,.compstats small,.modaleyebrow{font-size:9px;letter-spacing:.08em;opacity:.72;font-weight:800}.ownmeta h2{margin:3px 0;font-size:18px}.ownmeta p,.compidentity p{margin:0;font-size:10px;opacity:.7}.ownprice,.ownkpi{border-left:1px solid #ffffff26;padding-left:14px}.ownprice b,.ownkpi b{display:block;margin-top:4px;font-size:18px}.compcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px}.compcard{background:#fff;border:1px solid #dfe9e2;border-radius:14px;padding:13px;box-shadow:0 3px 12px #1b3b2a0a}.compcardtop{display:grid;grid-template-columns:56px 1fr 24px;gap:10px;align-items:center}.compphoto span{position:absolute;right:4px;top:4px;background:#183c2b;color:#fff;border-radius:6px;padding:3px 5px;font-size:9px;font-weight:900}.compidentity h3{font-size:13px;line-height:1.2;margin:3px 0 5px;max-height:32px;overflow:hidden}.compremove{border:0;background:#f3f6f4;color:#829087;width:24px;height:24px;border-radius:7px;font-size:18px;cursor:pointer}.compstats{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:10px}.compstats>div{background:#f5f8f6;border-radius:8px;padding:7px 6px;min-width:0}.compstats small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#718078}.compstats b{display:block;font-size:12px;margin-top:3px;color:#294737;white-space:nowrap}.compmini{height:54px;margin-top:7px}.comptrend{background:#fff;border:1px solid #dfe9e2;border-radius:14px;padding:15px 17px}.comptrendhead{display:flex;justify-content:space-between;gap:15px;align-items:start}.comptrendhead h2{font-size:15px;margin:0 0 4px}.comptrendhead p{font-size:10px;color:#718078;margin:0;max-width:760px}.comptrendhead span{font-size:10px;background:#eef5f0;color:#547060;padding:5px 8px;border-radius:8px}.compchart{height:300px;margin-top:12px}.compempty{text-align:center;background:#fff;border:1px dashed #cbdcd1;border-radius:16px;padding:44px 20px}.compempty>div{font-size:34px;color:#5a8069}.compempty h2{margin:7px 0}.compempty p{max-width:550px;margin:0 auto 18px;color:#718078;font-size:12px}.compmodal{max-width:620px}.compaddform{display:grid;gap:14px}.compaddform label{font-size:11px;font-weight:800;color:#52675a}.compaddform select,.compaddform input{margin-top:6px;font-weight:500}.compformhint{background:#f0f6f2;border-radius:9px;padding:10px 12px;font-size:10px;color:#607268}.modaleyebrow{color:#28784b}@media(max-width:1000px){.ownhero{grid-template-columns:60px 1fr repeat(2,120px)}.ownkpi:last-child{display:none}.compfilter{align-items:stretch;flex-direction:column}.compfilter form{min-width:0}}@media(max-width:700px){.comphead{align-items:flex-start;flex-direction:column}.ownhero{grid-template-columns:60px 1fr}.ownprice,.ownkpi{border:0;padding:5px 0}.compstats{grid-template-columns:repeat(3,1fr)}}
.shelfboard{background:#fff;border:1px solid #dfe9e2;border-radius:14px;padding:15px 17px}.shelfhead{display:flex;justify-content:space-between;align-items:start;gap:12px}.shelfhead h2{margin:0 0 4px;font-size:15px}.shelfhead p{margin:0;color:#718078;font-size:10px}.shelfhead>span{font-size:10px;background:#eef5f0;padding:5px 8px;border-radius:8px;color:#547060}.shelfscroll{overflow:auto;margin-top:12px}.shelftable{border-collapse:separate;border-spacing:4px;width:100%;min-width:1100px}.shelftable th{font-size:9px;color:#65766c;padding:5px;text-align:center}.shelftable th:first-child{text-align:left;min-width:72px}.shelftable td{background:#f8faf9;border:1px solid #e5ede8;border-radius:8px;padding:5px;text-align:center;min-width:78px}.shelflabel{font-size:9px!important;font-weight:800;color:#6a7d70;background:#fff!important;border:0!important;text-align:left!important}.shelfitem{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto auto;align-items:center;gap:0 4px}.shelfitem img{grid-row:1/4;width:28px;height:38px;object-fit:cover;border-radius:5px;background:#edf2ee}.shelfitem .rank{font-size:9px;font-weight:900;color:#17643a}.shelfitem b{font-size:10px;white-space:nowrap}.shelfitem small{font-size:7px;color:#87958c;white-space:nowrap}.shelftable .ownrow td{background:#edf8f1;border-color:#bfe0ca;color:#17643a}.metricTabs{display:flex;justify-content:flex-end;margin-top:10px}.metricTabs button{border:1px solid #d7e2da;border-right:0;background:#fff;color:#4f6457;font-size:10px;padding:7px 13px;cursor:pointer}.metricTabs button:first-child{border-radius:8px 0 0 8px}.metricTabs button:last-child{border-right:1px solid #d7e2da;border-radius:0 8px 8px 0}.metricTabs button.active{background:#1d6b41;color:#fff;border-color:#1d6b41}
.compfilterform{display:grid!important;grid-template-columns:minmax(320px,1fr) 135px 135px auto;gap:9px;align-items:end;min-width:0!important;flex:1}.compfilterform label{display:block}.compfilterform input{width:100%;box-sizing:border-box;border:1px solid #cedbd2;border-radius:9px;background:#fff;padding:9px 10px;color:#263c30;height:37px}.compapply{height:37px;border:1px solid #b9d8c4;border-radius:9px;background:#eef8f1;color:#17643a;font-weight:800;padding:0 14px;cursor:pointer}@media(max-width:900px){.compfilterform{grid-template-columns:1fr 1fr}.compfilterform>div:first-child{grid-column:1/3}}
/* rank trajectory grid */
.rankboard{overflow:hidden}.ranklegend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px 11px;max-width:58%}.ranklegend span{font-size:8px;color:#667a6e;display:flex;align-items:center;gap:4px}.ranklegend i{width:8px;height:8px;border-radius:50%;background:var(--cc)}.rankgridwrap{position:relative;overflow:auto;margin-top:12px;padding-bottom:4px}.rankgrid{position:relative;display:grid;grid-template-columns:120px repeat(var(--days,14),minmax(86px,1fr));grid-auto-rows:34px 82px;min-width:max-content}.rankcorner,.rankdate,.ranklabel,.rankcell{border-right:1px solid #e2ebe5;border-bottom:1px solid #e2ebe5}.rankcorner{grid-column:1;grid-row:1;padding:10px 8px;font-size:9px;font-weight:800;color:#52685a}.rankdate{padding:10px 5px;text-align:center;font-size:9px;font-weight:800;color:#52685a}.ranklabel{padding:22px 10px;background:#fbfcfb;display:flex;align-items:center;gap:5px}.ranklabel b{font-size:15px;color:#234d36}.ranklabel span{font-size:8px;color:#829087}.rankcell{position:relative;background:linear-gradient(#fff,#fbfdfc)}.ranksvg{position:absolute;left:0;top:0;pointer-events:none;z-index:2;overflow:visible}.ranknode{position:absolute;z-index:3;width:74px;height:70px;transform:translate(-37px,-35px);display:grid;grid-template-columns:26px 1fr;grid-template-rows:18px 30px 18px;align-items:center;text-align:center;pointer-events:none}.rprice{grid-column:1/3;font-size:9px;font-weight:900;color:#263f31;background:#ffffffd9;border-radius:5px;justify-self:center;padding:1px 4px}.rdot{grid-row:2/3;width:26px;height:26px;border:3px solid var(--cc);border-radius:50%;background:#fff;overflow:hidden;box-sizing:border-box;box-shadow:0 0 0 2px #fff}.rdot img{width:100%;height:100%;object-fit:cover}.ranknode b{grid-row:2/3;font-size:11px;color:var(--cc);background:#fff;border-radius:5px;padding:2px}.rstock{grid-column:1/3;font-size:8px;color:#718078;background:#ffffffd9;border-radius:4px;justify-self:center;padding:1px 4px}.rankgridwrap #rankNodes{position:absolute;left:0;top:0;pointer-events:none}/* exact sketch-like competitor board */
.sketchboard{padding:12px 14px}.sketchboard .shelfhead{align-items:center}.sketchboard .shelfhead h2{font-size:14px}.infoDot{display:inline-grid;place-items:center;width:13px;height:13px;border-radius:50%;background:#9eaaa3;color:white;font-size:8px;margin-left:5px}.sketchboard .ranklegend{max-width:none;gap:5px 9px}.togglepill{border:1px solid #dce7df;border-radius:7px;padding:5px 7px!important;background:#fff;color:#63766a!important}.sketchscroll{position:relative;overflow:auto;margin-top:9px;border:1px solid #e2eae5;border-radius:8px}.sketchgrid{position:relative;display:grid;grid-template-columns:175px repeat(var(--days),minmax(92px,1fr));grid-auto-rows:38px 74px;min-width:max-content;background:#fff}.competHead,.sketchdate{background:#f7faf8;border-right:1px solid #dfe8e2;border-bottom:1px solid #dfe8e2;padding:12px 8px;font-size:9px;font-weight:800;color:#415b4b}.sketchdate{text-align:center}.competCard{position:relative;display:grid;grid-template-columns:4px 43px 1fr;align-items:center;gap:7px;padding:5px 7px;border-right:1px solid #dfe8e2;border-bottom:1px solid #dfe8e2;background:#fff;z-index:3}.competCard>i{width:4px;height:44px;border-radius:4px;background:var(--cc)}.competCard img{width:43px;height:58px;object-fit:cover;border-radius:7px;background:#edf2ee}.competCard div{min-width:0}.competCard b{display:block;font-size:9px;line-height:1.2;color:#284032;max-height:24px;overflow:hidden}.competCard span{display:block;font-size:7px;color:#809087;margin-top:4px}.sketchcell{position:relative;border-right:1px solid #dfe8e2;border-bottom:1px solid #dfe8e2;display:grid;grid-template-rows:21px 29px 19px;place-items:center;background:#fff;z-index:1}.cellprice{font-size:9px;font-weight:800;color:#2c4637;align-self:end}.cellpos{width:19px;height:19px;border-radius:5px;background:color-mix(in srgb,var(--cc) 13%,white);color:var(--cc);font-size:10px;font-weight:900;display:grid;place-items:center;position:relative;z-index:4;box-shadow:0 0 0 4px #fff}.cellpos:after{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:var(--cc);right:-15px;top:5px;box-shadow:0 0 0 3px #fff}.cellstock{font-size:8px;color:#687b70;align-self:start}.cellmissing{grid-row:1/4;color:#b8c2bc}.sketchsvg{position:absolute;left:0;top:0;pointer-events:none;z-index:2;overflow:visible}.sketchscroll{isolation:isolate}.sketchsvg{margin:0}

/* competitor grid row geometry fix */
.sketchgrid{grid-auto-rows:38px 88px!important;align-items:stretch}.competCard,.sketchcell{height:88px!important;min-height:88px!important;max-height:88px!important;box-sizing:border-box;margin:0!important}.competCard{grid-template-columns:4px 48px minmax(0,1fr)!important;padding:7px!important;overflow:hidden}.competCard>i{height:58px!important}.competCard img{display:block!important;width:48px!important;height:68px!important;min-width:48px!important;min-height:68px!important;object-fit:cover!important;border-radius:7px!important;background:#edf2ee}.competCard b{font-size:9px!important;max-height:34px!important}.sketchcell{grid-template-rows:27px 32px 24px!important;padding:0!important;overflow:visible}.cellprice{align-self:end!important}.cellstock{align-self:start!important}.cellmissing{grid-row:1/4!important;align-self:center!important}.sketchgrid>*{box-sizing:border-box}
/* five-row ranked shelf */
.rank5board{padding:12px 14px}.rank5board .shelfhead{align-items:center}.photoLegend{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.photoLegendItem{display:grid;grid-template-columns:28px 7px;grid-template-rows:28px 12px;place-items:center;gap:1px 3px}.photoLegendItem img{grid-column:1/3;width:28px;height:28px;border-radius:6px;object-fit:cover;border:2px solid var(--cc);background:#edf2ee}.photoLegendItem i{width:7px;height:7px;border-radius:50%;background:var(--cc)}.photoLegendItem span{font-size:7px;color:#6c7e73;white-space:nowrap}.rank5scroll{position:relative;overflow:auto;margin-top:10px;border:1px solid #dce7df;border-radius:8px;isolation:isolate}.rank5grid{position:relative;display:grid;grid-template-columns:62px repeat(var(--days),minmax(125px,1fr));grid-template-rows:34px repeat(5,76px);min-width:max-content;background:#fff}.rank5corner,.rank5date,.rank5label,.rank5cell{box-sizing:border-box;border-right:1px solid #dce7df;border-bottom:1px solid #dce7df}.rank5corner,.rank5date{background:#f6faf7;padding:10px 7px;font-size:9px;font-weight:800;color:#425c4c}.rank5date{text-align:center}.rank5label{display:grid;place-items:center;background:#f9fbfa;font-size:13px;font-weight:900;color:#557063}.rank5cell{position:relative;height:76px;display:grid;place-items:center;background:#fff}.rank5node{width:82px;height:66px;display:grid;grid-template-columns:1fr 14px;grid-template-rows:20px 26px 18px;align-items:center;position:relative;z-index:4;text-align:center}.r5price{grid-column:1/3;font-size:9px;font-weight:900;color:#294335;align-self:end}.r5place{grid-row:2;font-size:11px;font-weight:900;color:var(--cc);background:color-mix(in srgb,var(--cc) 13%,white);border-radius:6px;padding:3px 5px;justify-self:end;box-shadow:0 0 0 4px #fff}.r5dot{grid-row:2;width:9px;height:9px;border-radius:50%;background:var(--cc);box-shadow:0 0 0 4px #fff;justify-self:center}.r5stock{grid-column:1/3;font-size:8px;color:#6e8075;align-self:start}.rank5svg{position:absolute;left:0;top:0;z-index:2;pointer-events:none;overflow:visible}
/* no left rank column; rows are relative ordering only */
.rank5grid{grid-template-columns:repeat(var(--days),minmax(135px,1fr))!important}.rank5corner,.rank5label{display:none!important}.photoLegend{display:grid!important;grid-template-columns:repeat(5,minmax(112px,1fr));gap:6px!important;max-width:680px;width:min(680px,62%);align-items:stretch}.photoLegendItem{display:grid!important;grid-template-columns:5px 34px minmax(0,1fr)!important;grid-template-rows:42px!important;align-items:center!important;gap:5px!important;padding:4px 6px!important;border:1px solid #e0e9e3;border-radius:8px;background:#fff;min-width:0;box-sizing:border-box}.photoLegendItem>i{width:4px!important;height:30px!important;border-radius:4px!important;background:var(--cc)!important}.photoLegendItem>img{grid-column:auto!important;width:32px!important;height:38px!important;border-radius:5px!important;object-fit:cover!important;border:1px solid #e1e8e3!important}.photoLegendItem>div{min-width:0}.photoLegendItem b{display:block;font-size:8px;line-height:1.1;color:#344d3e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photoLegendItem span{display:block;font-size:7px!important;line-height:1.1;color:#718078!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}@media(max-width:1200px){.rank5board .shelfhead{align-items:flex-start;flex-direction:column}.photoLegend{width:100%;max-width:none}}
/* rank board: rows are relative order, not place */
.rank5grid{grid-template-columns:repeat(var(--days),minmax(125px,1fr))!important}.rank5corner,.rank5label{display:none!important}.rank5board .shelfhead{display:grid!important;grid-template-columns:minmax(320px,1fr) auto!important;gap:18px!important;align-items:start!important}.photoLegend{display:grid!important;grid-template-columns:repeat(5,minmax(92px,118px))!important;gap:7px!important;max-width:none!important;justify-content:end!important;align-items:start!important}.photoLegendItem{display:grid!important;grid-template-columns:34px 8px 1fr!important;grid-template-rows:34px!important;align-items:center!important;justify-items:start!important;gap:5px!important;min-width:0!important;padding:4px 6px!important;border:1px solid #e0e9e3!important;border-radius:8px!important;background:#fff!important;box-sizing:border-box!important}.photoLegendItem img{grid-column:1!important;grid-row:1!important;width:34px!important;height:34px!important;min-width:34px!important;border-radius:6px!important;object-fit:cover!important;border:2px solid var(--cc)!important}.photoLegendItem i{grid-column:2!important;grid-row:1!important;width:8px!important;height:8px!important;border-radius:50%!important;background:var(--cc)!important}.photoLegendItem span{grid-column:3!important;grid-row:1!important;font-size:7px!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#53695b!important;margin:0!important}@media(max-width:1200px){.rank5board .shelfhead{grid-template-columns:1fr!important}.photoLegend{grid-template-columns:repeat(5,minmax(88px,1fr))!important;justify-content:stretch!important}}
/* clean competitor legend */
.rank5board .shelfhead{grid-template-columns:minmax(280px,.8fr) minmax(650px,1.2fr)!important;align-items:center!important}.photoLegend{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;justify-content:flex-end!important;align-items:stretch!important;width:100%!important;overflow:visible!important}.photoLegendItem{flex:1 1 0!important;min-width:0!important;max-width:142px!important;height:58px!important;display:grid!important;grid-template-columns:46px 8px minmax(0,1fr)!important;grid-template-rows:1fr!important;align-items:center!important;gap:5px!important;padding:5px 7px!important;border:1px solid #dce7df!important;border-radius:9px!important;background:#fff!important;box-sizing:border-box!important}.photoLegendItem img{grid-column:1!important;grid-row:1!important;width:46px!important;height:46px!important;min-width:46px!important;object-fit:cover!important;border:2px solid var(--cc)!important;border-radius:7px!important;box-sizing:border-box!important}.photoLegendItem i{grid-column:2!important;grid-row:1!important;width:8px!important;height:8px!important;margin:0!important}.photoLegendItem span{grid-column:3!important;grid-row:1!important;display:block!important;min-width:0!important;font-size:8px!important;line-height:1.2!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;color:#425c4c!important;margin:0!important}@media(max-width:1200px){.rank5board .shelfhead{grid-template-columns:1fr!important}.photoLegend{justify-content:flex-start!important}.photoLegendItem{max-width:none!important}}
/* align own-metrics chart exactly to competitor day columns */
.owntrend{padding-left:14px!important;padding-right:14px!important}.owntrend .chartAlign{margin-left:0!important;border:1px solid #dce7df;border-radius:8px;overflow:hidden}.owntrend .compchart{height:250px!important;margin:0!important;padding:0 0 0 0!important}.owntrend canvas{width:100%!important}.photoLegendItem b{display:block!important;font-size:9px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}.photoLegendItem span{font-size:7px!important}
/* competitor price focus; stock monitoring removed */
.rank5node{grid-template-rows:26px 24px 18px!important}.r5price{font-size:13px!important;font-weight:900!important;align-self:center!important;justify-self:center!important}.r5delta{grid-column:1/3;font-size:9px;font-weight:800;align-self:start;justify-self:center;background:#fff;padding:1px 4px;border-radius:4px}.r5delta.up{color:#16834b}.r5delta.down{color:#cf3f43}.r5delta.same{color:#93a099;font-weight:600}.r5stock{display:none!important}
/* compact competitor cells: price + delta on one centered line */
.rank5grid{grid-template-rows:34px repeat(5,58px)!important}.rank5cell{height:58px!important}.rank5node{width:110px!important;height:52px!important;grid-template-columns:1fr 14px!important;grid-template-rows:26px 24px!important}.r5priceLine{grid-column:1/3!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;white-space:nowrap!important}.r5priceLine>i{display:block!important;width:1px!important;height:14px!important;background:#d6e1da!important}.r5price{font-size:13px!important;line-height:1!important;align-self:auto!important;justify-self:auto!important}.r5delta{grid-column:auto!important;font-size:9px!important;line-height:1!important;align-self:auto!important;justify-self:auto!important;padding:0!important;background:transparent!important}.r5place{grid-row:2!important}.r5dot{grid-row:2!important}
/* centered actual place, no dot */
.rank5node{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:26px 24px!important;place-items:center!important}.r5priceLine{grid-column:1!important}.r5place{grid-column:1!important;grid-row:2!important;justify-self:center!important;align-self:center!important;margin:0!important;position:relative!important;z-index:5!important}.r5dot{display:none!important}
/* expanded own product economics */
.ownhero{grid-template-columns:60px minmax(210px,1.15fr) repeat(6,minmax(92px,.62fr)) minmax(260px,1.35fr)!important;gap:8px!important;padding:12px 14px!important}.ownmetric{border-left:1px solid #ffffff26;padding-left:10px;min-width:0}.ownmetric small{display:block;font-size:8px;line-height:1.15;opacity:.7;font-weight:800}.ownmetric b{display:block;margin-top:4px;font-size:15px;white-space:nowrap}.ownmetric em{display:block;font-size:7px;font-style:normal;opacity:.55;margin-top:1px}.competProfit{border-left:1px solid #ffffff38;padding:4px 0 4px 13px;min-width:0}.competProfit>small{font-size:8px;letter-spacing:.08em;opacity:.65;font-weight:900}.competProfit>strong{display:block;font-size:11px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.competProfit>span{display:block;font-size:8px;opacity:.72;white-space:nowrap}.competProfit>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:5px}.competProfit label{font-size:7px;opacity:.72}.competProfit label b{display:block;font-size:12px;opacity:1;margin-top:2px;color:#fff}@media(max-width:1450px){.ownhero{grid-template-columns:60px minmax(190px,1fr) repeat(3,minmax(90px,.6fr)) minmax(250px,1.2fr)!important}.ownmetric:nth-of-type(6),.ownmetric:nth-of-type(7),.ownmetric:nth-of-type(8){display:none}}
/* split current vs competitor economics */
.ownhero{grid-template-columns:60px minmax(220px,1fr) 130px 130px minmax(500px,2.5fr)!important;gap:12px!important}.ownmetric.conv{border-left:1px solid #ffffff26;padding-left:12px}.profitCompare{border-left:1px solid #ffffff38;padding-left:14px;display:grid;grid-template-rows:1fr 1fr;gap:0}.profitRow{display:grid;grid-template-columns:145px repeat(4,minmax(95px,1fr));align-items:center;gap:8px;min-height:43px}.profitRow.current{border-bottom:1px solid #ffffff2b}.profitRow>strong{font-size:8px;letter-spacing:.07em;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profitRow label{font-size:8px;opacity:.68}.profitRow label b{display:block;font-size:13px;color:#fff;opacity:1;margin-top:2px;white-space:nowrap}.profitRow.competitor{position:relative}.profitRow.competitor>span{position:absolute;left:145px;bottom:1px;font-size:7px;opacity:.48}@media(max-width:1200px){.ownhero{grid-template-columns:60px minmax(190px,1fr) 115px 115px minmax(430px,2fr)!important}.profitRow{grid-template-columns:120px repeat(4,minmax(80px,1fr))}}
.calcBtn{border:1px solid #ffffff42;background:#ffffff14;color:#fff;border-radius:10px;padding:9px 12px;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.calcBtn:hover{background:#ffffff24}.calcModalBox{max-width:760px!important}.calcCurrent{display:grid;grid-template-columns:auto repeat(3,1fr);gap:8px;align-items:center;background:#173d2a;color:#fff;border-radius:11px;padding:10px 12px}.calcCurrent span{font-size:9px;font-weight:900;opacity:.65}.calcCurrent b{font-size:11px}.calcFormula{margin:10px 0;background:#f0f6f2;border-radius:9px;padding:9px 11px;font-size:10px;color:#52675a}.calcInputs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.calcInputs label{font-size:9px;font-weight:800;color:#617268}.calcInputs input{width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #cfddd4;border-radius:8px;padding:9px;font-weight:800}.calcRecalc{margin:11px 0;border:0;background:#1f6f43;color:#fff;border-radius:9px;padding:10px 16px;font-weight:900;cursor:pointer}.calcSteps,.calcResults{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.calcSteps>div,.calcResults>div{background:#f5f8f6;border-radius:9px;padding:9px}.calcSteps small,.calcResults small{display:block;font-size:8px;color:#718078}.calcSteps b,.calcResults b{display:block;margin-top:4px;font-size:13px;color:#294737}.calcResults{grid-template-columns:repeat(3,1fr);margin-top:8px}.calcResults>div{background:#eaf5ee}.calcResults b{font-size:17px}.calcExplain{margin-top:10px;border-top:1px solid #e4ece7;padding-top:10px;font-size:10px;line-height:1.7;color:#53685b}
/* price base = seller price before SPP; calculator button sits outside comparison block */
.profitRow{grid-template-columns:140px repeat(5,minmax(88px,1fr))!important}.ownhero>.calcBtn{justify-self:end;align-self:center;margin-left:2px}.profitCompare{min-width:0}.profitRow label{line-height:1.15}
.calcSteps{grid-template-columns:repeat(4,1fr)!important}.calcSteps>div{min-width:0}
/* vertical separator after the full current-vs-competitor economics group */
.ownhero{grid-template-columns:60px minmax(220px,1fr) 130px 130px minmax(500px,2.5fr) 1px!important}
.profitEndDivider{width:1px!important;height:86px!important;background:#ffffff38!important;align-self:center!important;justify-self:end!important}
/* calculator action after economics separator */
.ownhero{grid-template-columns:60px minmax(220px,1fr) 130px 130px minmax(500px,2.5fr) 1px auto!important}
.calcAfterDivider{align-self:center!important;justify-self:start!important;margin-left:0!important}
/* square calculator button */
.calcAfterDivider{width:72px!important;height:72px!important;min-width:72px!important;box-sizing:border-box!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.15!important}

.globalshopfilter{margin:0 0 12px;display:flex;justify-content:flex-end}.globalshopfilter label{font-size:12px;font-weight:700;color:#52645a;display:flex;align-items:center;gap:8px}.globalshopfilter select{min-width:190px;border:1px solid #cddbd2;border-radius:9px;background:#fff;padding:8px 30px 8px 10px;font:inherit;color:#26352c}

/* 2026-09-24 dashboard visual system aligned with landing hero */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#17233b;background:#f7faf9}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#f8fbfa;color:#17233b}
.shell{grid-template-columns:220px 1fr}
aside{background:#fff;border-right:1px solid #e4ece8;padding:16px 10px;box-shadow:2px 0 14px rgba(20,60,45,.025)}
.brand.brandimg{height:52px;padding:0 12px 14px;display:flex;align-items:center;text-decoration:none}
.brand.brandimg img{width:150px;height:auto;display:block;object-fit:contain}
aside nav{gap:5px}
aside nav a{padding:12px 14px;border-radius:10px;color:#415472;font-size:14px;text-decoration:none;transition:.15s ease}
aside nav a:hover{background:#f0faf5;color:#078b48}
aside nav a.active{background:linear-gradient(135deg,#0caf5b,#07954d);color:#fff;font-weight:600;box-shadow:0 6px 14px rgba(7,139,72,.18)}
aside nav a span{margin-left:9px}
.accountnav{margin-top:auto;padding:12px 10px;font-size:11px;color:#7b899c}.accountnav a{color:#52647d;text-decoration:none}
main{padding:0 22px 18px;background:linear-gradient(180deg,#fbfdfc 0,#f6faf8 100%)}
.cabinetbar{height:66px;margin:0 -22px 16px;padding:0 22px;border-bottom:1px solid #e4ece8;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 3px 12px rgba(25,70,50,.035)}
.tokenlife{display:flex;align-items:center;gap:7px;color:#60728b;font-size:13px;background:#f6faf8;border:1px solid #e4eee9;border-radius:10px;padding:9px 13px}
.tokenlife b{color:#078b48;font-weight:700}.tokenlife em{font-style:normal;color:#078b48}.statusdot{width:9px;height:9px;border-radius:50%;background:#0caf5b;box-shadow:0 0 0 4px #e7f8ef}
.profileicon{width:42px;height:42px;border:1px solid #dfe9e4;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 4px 12px rgba(20,60,45,.06)}
.profileicon svg{width:23px;height:23px;fill:none;stroke:#334b68;stroke-width:1.8;stroke-linecap:round}
.title h1{color:#17233b;font-weight:700}.title p{color:#72829a;font-weight:400}
.filters input,.filters select,.filters button{border-color:#dfe8e4;border-radius:9px}.filters button,.wbbutton{background:#0aa85a;color:#fff}.filters button:hover,.wbbutton:hover{background:#078b48}
.fincard,.productcard,.adkpis>div,.productkpis>div,.finmetric,.tablebox{background:#fff;border-color:#e0ebe5;border-radius:12px;box-shadow:0 4px 16px rgba(24,74,51,.045)}
th{background:#f3f8f5;color:#334b68}.fintable th{background:#f3f8f5;color:#334b68}
.finmetric.profit,.finkpis .profit{background:#eaf8f0;border-color:#ccebd9}
.finmetric b,.productkpis b,.adkpis b,.fincard h2,.cardhead h2{color:#17233b}
.logo,.titleicon{color:#078b48;background:#e9f8f0}
@media(max-width:1100px){.shell{grid-template-columns:72px 1fr}.brand.brandimg{padding:0 5px 14px}.brand.brandimg img{width:58px;object-fit:cover;object-position:left}.cabinetbar{height:58px}.tokenlife em{display:none}}

/* Header placement + finance chart height alignment */
.cabinetbar{justify-content:flex-end!important}
.tokenlife{margin-left:auto}
.profileicon{background:linear-gradient(135deg,#0caf5b,#07954d)!important;border-color:#078b48!important;box-shadow:0 6px 14px rgba(7,139,72,.20)!important}
.profileicon svg{stroke:#fff!important}
.finvisualgrid{align-items:stretch!important}
.finvisualleft{display:flex!important;flex-direction:column!important}
.dailybarscard{flex:1!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
.dailybars{flex:1!important;height:auto!important;min-height:285px!important}
.finvisualgrid>.piecard{height:100%!important;min-height:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important}
.finvisualgrid .piechart{flex:1!important;height:auto!important;min-height:0!important}

/* Hide redundant page headings under the global cabinet header */
main > .top{display:none!important}

/* Finance typography pilot: exactly the same font family as left menu */
body:has(a[href="/finance"].active) main,
body:has(a[href="/finance"].active) main *:not(canvas){
 font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}

/* Finance typography pilot v2: menu typography, preserve existing font sizes */
body:has(a[href="/finance"].active) main,
body:has(a[href="/finance"].active) main *:not(canvas):not(b):not(strong):not(th){
 font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
 font-weight:400!important;
 font-style:normal!important;
 letter-spacing:normal!important;
}
body:has(a[href="/finance"].active) main h1,
body:has(a[href="/finance"].active) main h2,
body:has(a[href="/finance"].active) main h3{
 font-weight:400!important;
 letter-spacing:normal!important;
}

/* Finance article table: regular-weight column headers */
body:has(a[href="/finance"].active) .fintable th{font-weight:400!important}

/* Finance article table controls */
.articlecard{position:relative}.articlehead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.articlehead h2{margin:0}.tableactions{display:flex;gap:8px}.tabletool{border:1px solid #cfe0d7;background:#fff;color:#315b47;border-radius:9px;padding:8px 12px;font-size:12px;cursor:pointer}.tabletool:hover{background:#edf8f2;border-color:#9dceb3;color:#078b48}.columnsettings{display:none;position:absolute;z-index:30;right:16px;top:55px;width:330px;max-height:520px;background:#fff;border:1px solid #d9e6df;border-radius:12px;box-shadow:0 14px 36px rgba(22,70,49,.18);padding:12px}.columnsettings.open{display:block}.columnsettings-title{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 10px}.columnsettings-title button{border:0;background:transparent;font-size:22px;color:#6c7b73;cursor:pointer}.columnsettings-title b{font-size:13px;font-weight:500}.columnsettings #columnList{max-height:400px;overflow:auto}.columnrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 4px;border-top:1px solid #eef3f0;font-size:12px}.columnrow label{display:flex;align-items:center;gap:7px;min-width:0}.columnrow label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.colmove{border:1px solid #dce8e2;background:#f8fbf9;border-radius:6px;width:26px;height:25px;margin-left:3px;cursor:pointer}.columnsettings-foot{display:flex;justify-content:flex-end;gap:7px;padding-top:10px}.columnsettings-foot button{border:1px solid #d6e4dd;background:#fff;border-radius:8px;padding:7px 10px;font-size:11px;cursor:pointer}.columnsettings-foot .applycols{background:#078b48;color:#fff;border-color:#078b48}

/* Compact finance table action buttons */
.tabletool{padding:4px 9px!important;min-height:26px!important;line-height:16px!important;font-size:11px!important;border-radius:7px!important}

/* 2026-09-24 approved Finance typography/table language -> all cabinet sections */
main,main *:not(canvas){font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
main h1,main h2,main h3,.cardhead h2{font-weight:400!important;letter-spacing:normal!important}
main p,main small,main label,main span,main td,main th,main input,main select,main button{font-style:normal;letter-spacing:normal}
main table{border-collapse:collapse}
main table th{font-weight:400!important;background:#f3f8f5!important;color:#334b68!important}
main table td,main table th{border-color:#e0ebe5!important}
main .tablebox,main .compacttable,main .fintable{border-color:#e0ebe5;border-radius:12px}
main table tbody tr:hover td{background:#f8fcfa}

/* RNP summary strip above chart */
main .kpis{margin:0 0 14px!important}

/* Compact RNP summary strip */
body:has(a[href="/rnp"].active) .kpis>div{min-height:54px!important;padding:5px 14px!important;gap:10px!important}
body:has(a[href="/rnp"].active) .kpis b{font-size:16px!important;margin-top:2px!important;line-height:1.12!important}
body:has(a[href="/rnp"].active) .kpis i{width:40px!important;height:40px!important;font-size:22px!important}

/* RNP: Finance-style KPI cards, best-day card preserved */
.rnp-summary{display:grid;grid-template-columns:4fr 1fr;gap:10px;margin:0 0 14px}
.rnp-finmetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.rnp-finmetrics .finmetric{min-height:54px;margin:0;padding:9px 13px;box-sizing:border-box}
.rnp-finmetrics .finmetric small{display:block}
.rnp-finmetrics .finmetric b{display:block;margin-top:5px}
.rnp-best{display:flex;gap:12px;align-items:center;padding:7px 18px;min-height:70px;background:#eafff7;border-radius:9px;color:#009b70;box-sizing:border-box}
.rnp-best i{font-style:normal;font-size:27px;background:#e8f2eb;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:0 0 48px}
.rnp-best span{color:#008b67;font-size:11px}.rnp-best b{display:block;color:#008b67;font-size:20px;margin-top:4px}
@media(max-width:1100px){.rnp-summary{grid-template-columns:1fr}.rnp-finmetrics{grid-template-columns:repeat(2,1fr)}}
.rnp-summary{grid-template-columns:5fr 1fr!important}.rnp-finmetrics{grid-template-columns:repeat(5,1fr)!important}.rnp-finmetrics .finmetric{position:relative}.rnp-finmetrics .metricdelta{position:absolute;right:10px;top:9px;font-size:11px;font-style:normal;font-weight:500}.rnp-finmetrics .metricdelta.good{color:#078b48}.rnp-finmetrics .metricdelta.bad{color:#d64747}.rnp-finmetrics .metricdelta.neutral{color:#7a8995}

/* RNP KPI cards exactly follow Finance KPI typography and interaction */
.rnp-summary{grid-template-columns:6fr 1fr!important}.rnp-finmetrics{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}.rnp-finmetrics .finmetric{position:relative!important;height:76px!important;min-height:76px!important;padding:12px 9px 11px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}.rnp-finmetrics .finmetric small{display:block!important;margin-top:10px!important;margin-bottom:5px!important;font-size:12px!important;line-height:1.15!important;font-weight:500!important;letter-spacing:0!important;color:#718579!important;white-space:nowrap!important}.rnp-finmetrics .finmetric b{display:block!important;margin-top:0!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:0!important;color:#244d39!important;white-space:nowrap!important}.rnp-finmetrics .metricdelta{top:5px!important;right:9px!important;font-size:9px!important;line-height:1.2!important;font-weight:800!important;padding:2px 5px!important}.rnp-kpiclick{cursor:pointer!important;transition:.15s ease}.rnp-kpiclick:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(24,74,51,.10)!important}.kpimodalbox{width:min(920px,92vw)!important}.kpichart{height:420px!important}

/* RNP table: regular weight */
body:has(a[href="/rnp"].active) .tablebox table th,
body:has(a[href="/rnp"].active) .tablebox table td,
body:has(a[href="/rnp"].active) .tablebox table td b,
body:has(a[href="/rnp"].active) .tablebox table td i,
body:has(a[href="/rnp"].active) .tablebox table td em{font-weight:400!important}

/* RNP table typography matched to Finance table */
body:has(a[href="/rnp"].active) .tablebox table{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:11px!important;line-height:1.15!important}
body:has(a[href="/rnp"].active) .tablebox th{font-family:inherit!important;font-size:11px!important;font-weight:400!important;line-height:1.15!important;letter-spacing:0!important;color:#334b68!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body:has(a[href="/rnp"].active) .tablebox td{font-family:inherit!important;font-size:11px!important;font-weight:400!important;line-height:1.15!important;letter-spacing:0!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body:has(a[href="/rnp"].active) .tablebox td b{font-family:inherit!important;font-size:11px!important;font-weight:400!important;line-height:1.15!important;letter-spacing:0!important}
body:has(a[href="/rnp"].active) .tablebox td em{font-family:inherit!important;font-size:9px!important;font-weight:400!important;line-height:1.15!important;letter-spacing:0!important}
body:has(a[href="/rnp"].active) .tablebox th small{font-family:inherit!important;font-weight:400!important;letter-spacing:0!important}
.rnp-tablecard{position:relative!important;padding-top:38px!important;overflow:visible!important}.rnp-tableactions{position:absolute;right:8px;top:6px;display:flex;gap:8px}.rnp-tablecard .columnsettings{right:8px;top:38px}.rnp-tablecard>table{overflow:hidden;border-radius:0 0 8px 8px}
/* Date coverage calendar: confirmed analytics days */
.flatpickr-day.has-confirmed-data{background:#dff5e7!important;border-color:#b8e5c8!important;color:#087a42!important;font-weight:700!important}
.flatpickr-day.has-confirmed-data:hover,.flatpickr-day.has-confirmed-data:focus{background:#c9edd7!important;border-color:#92d5aa!important;color:#056c39!important}
.flatpickr-day.has-confirmed-data.selected,.flatpickr-day.has-confirmed-data.startRange,.flatpickr-day.has-confirmed-data.endRange{background:#0caf5b!important;border-color:#0caf5b!important;color:#fff!important}
.flatpickr-day.has-partial-data{box-shadow:inset 0 0 0 1px #e6ece8;color:#9aa7a0}
.flatpickr-calendar{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
/* Visible confirmed-data marker in date picker */
.flatpickr-day.has-confirmed-data{position:relative!important;background:transparent!important;border-color:transparent!important;color:#393939!important;font-weight:400!important}
.flatpickr-day.has-confirmed-data .coverage-dot{position:absolute!important;left:50%!important;bottom:2px!important;width:5px!important;height:5px!important;margin-left:-2.5px!important;border-radius:50%!important;background:#0caf5b!important;box-shadow:0 0 0 1px rgba(255,255,255,.9)!important;pointer-events:none!important}
.flatpickr-day.has-confirmed-data.selected{background:#569ff7!important;border-color:#569ff7!important;color:#fff!important}
.flatpickr-day.has-confirmed-data.selected .coverage-dot{background:#16d978!important}
/* Fixed period presets beside date filters */
.periodpresets{display:flex;gap:4px;align-items:flex-end;height:29px}
.filters .periodpreset,.compfilter .periodpreset{height:29px!important;padding:0 9px!important;border:1px solid #cfe0d5!important;border-radius:7px!important;background:#fff!important;color:#456455!important;font-size:10px!important;font-weight:500!important;white-space:nowrap!important;box-shadow:none!important}
.filters .periodpreset:hover,.compfilter .periodpreset:hover{border-color:#8fc9a8!important;background:#f1faf5!important;color:#078b48!important}
/* Period selector as single-choice checkbox group */
.periodpresets{display:flex;gap:7px;align-items:center;height:29px;padding:0 3px}
.periodcheck{display:flex!important;align-items:center!important;gap:4px!important;height:29px!important;margin:0!important;color:#5f7569!important;font-size:10px!important;cursor:pointer!important;white-space:nowrap!important}
.periodcheck input{appearance:none!important;-webkit-appearance:none!important;width:13px!important;height:13px!important;min-width:13px!important;padding:0!important;margin:0!important;border:1px solid #b9cdc1!important;border-radius:3px!important;background:#fff!important;display:grid!important;place-content:center!important;cursor:pointer!important}
.periodcheck input:checked{background:#0caf5b!important;border-color:#0caf5b!important}
.periodcheck input:checked:after{content:'✓';color:#fff;font-size:10px;font-weight:800;line-height:11px}
.periodcheck:has(input:checked) span{color:#078b48!important;font-weight:600!important}
/* Period selector dropdown */
.periodpresets,.periodcheck{display:none!important}
.filters .periodselect,.compfilter .periodselect{height:29px!important;min-width:82px!important;border:1px solid #cfe0d5!important;border-radius:7px!important;background:#fff!important;padding:0 24px 0 8px!important;color:#456455!important;font-size:10px!important;font-weight:500!important;cursor:pointer!important}
.filters .periodselect:focus,.compfilter .periodselect:focus{outline:none!important;border-color:#8fc9a8!important}
/* 2026-09-24 competitors filter: shop + own article + dates + period + apply */
.compfilterform{display:grid!important;grid-template-columns:minmax(125px,160px) minmax(260px,1fr) 125px 125px 105px auto!important;gap:9px!important;align-items:end!important;min-width:0!important;flex:1!important}
.compfilterform>div{min-width:0!important}
.compfilterform>div:nth-child(2) select{display:block!important;width:100%!important;min-width:220px!important;height:37px!important;padding:8px 10px!important}
.compfilterform .periodselect{display:block!important;width:105px!important;height:37px!important;align-self:end!important;font-size:11px!important}
.compfilterform .compapply{height:37px!important;align-self:end!important;white-space:nowrap!important}
@media(max-width:1100px){.compfilterform{grid-template-columns:minmax(120px,150px) minmax(220px,1fr) 115px 115px!important}.compfilterform .periodselect,.compfilterform .compapply{grid-row:2}.compfilterform .periodselect{grid-column:3}.compfilterform .compapply{grid-column:4}}
@media(max-width:760px){.compfilterform{grid-template-columns:1fr 1fr!important}.compfilterform>div:first-child,.compfilterform>div:nth-child(2){grid-column:1/3!important}.compfilterform .periodselect{grid-column:1!important;grid-row:auto!important;width:100%!important}.compfilterform .compapply{grid-column:2!important;grid-row:auto!important}}
/* Competitors header follows Finance filter bar */
.compfinancefilters{margin:8px 0 10px!important}
.compfinanceform{display:flex!important;justify-content:flex-end!important;gap:7px!important;align-items:end!important;width:100%!important}
.compfinanceform>label{font-size:10px!important;color:#718579!important;margin:0!important;font-weight:400!important}
.compfinanceform input,.compfinanceform select,.compfinanceform button{height:29px!important;border:1px solid #dfe8e4!important;border-radius:9px!important;background:#fff!important;padding:0 8px!important;color:#345343!important;font-size:11px!important;box-sizing:border-box!important}
.compfinanceform button{background:#0aa85a!important;color:#fff!important;border:0!important;font-weight:700!important;padding:0 12px!important}
.compfinanceform button:hover{background:#078b48!important}
.compfinanceform .comparticlelabel select{width:245px!important;max-width:245px!important}
.compfinanceform .periodselect{height:29px!important;align-self:end!important}
.compfilterslots{display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;gap:0 6px!important;min-width:175px!important;margin-left:5px!important;padding-bottom:1px!important}
.compfilterslots b{font-size:16px!important;color:#1d7043!important;line-height:16px!important}.compfilterslots span{font-size:9px!important;color:#718078!important;white-space:nowrap!important}.compfilterslots i{grid-column:1/3!important;height:3px!important;margin-top:3px!important}
@media(max-width:1100px){.compfinanceform{flex-wrap:wrap!important}.compfinanceform .comparticlelabel select{width:220px!important}}
/* Compact competitors own metrics block */
.owntrend{padding:10px 14px 8px!important}
.owntrendtop{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:29px!important}
.owntrendtop h2{margin:0!important;white-space:nowrap!important}
.owntrendtop .metricTabs{margin:0!important;display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.owntrendtop .metricTabs button{padding:5px 9px!important;min-height:26px!important;font-size:10px!important}
.owntrend .compchart{height:230px!important;margin-top:5px!important}
@media(max-width:900px){.owntrendtop{align-items:flex-start!important;flex-direction:column!important}.owntrendtop .metricTabs{justify-content:flex-start!important}}
/* 2026-09-24 Products: top summary cards use approved Finance visual language */
body:has(a[href="/products"].active) .producttotals{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important;overflow:visible!important;padding:0!important}
body:has(a[href="/products"].active) .producttotals .finmetric{min-width:0!important;min-height:62px!important;padding:9px 10px!important;border:1px solid #e0ebe5!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 16px rgba(24,74,51,.045)!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
body:has(a[href="/products"].active) .producttotals .finmetric.money,body:has(a[href="/products"].active) .producttotals .finmetric.forecast{background:#fff!important;border-color:#e0ebe5!important}
body:has(a[href="/products"].active) .producttotals .finmetric small{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:10px!important;font-weight:400!important;line-height:1.15!important;color:#607568!important;margin:0 0 5px!important;letter-spacing:0!important}
body:has(a[href="/products"].active) .producttotals .finmetric b{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:16px!important;font-weight:400!important;line-height:1.1!important;color:#17233b!important;letter-spacing:0!important}
body:has(a[href="/products"].active) .producttotals .finmetric em{font-family:inherit!important;font-size:10px!important;font-weight:400!important;color:#607568!important}
body:has(a[href="/products"].active) .producttotals .finmetric span{font-family:inherit!important;font-size:9px!important;font-weight:400!important;color:#789087!important;margin-top:4px!important}
body:has(a[href="/products"].active) .productcard .cardhead h2{font-size:15px!important;font-weight:400!important;color:#17233b!important}
body:has(a[href="/products"].active) .productcard .cardhead p,body:has(a[href="/products"].active) .productcard .cardhead span{font-weight:400!important;letter-spacing:0!important}
@media(max-width:1250px){body:has(a[href="/products"].active) .producttotals{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* Products KPI strip: exact Finance/RNP metric sizing, one row */
body:has(a[href="/products"].active) .producttotals{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important;width:100%!important;overflow:visible!important;padding:0!important}
body:has(a[href="/products"].active) .producttotals .finmetric{position:relative!important;width:auto!important;min-width:0!important;height:76px!important;min-height:76px!important;padding:12px 9px 11px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;background:#fff!important;border:1px solid #e0ebe5!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(24,74,51,.045)!important}
body:has(a[href="/products"].active) .producttotals .finmetric.money,body:has(a[href="/products"].active) .producttotals .finmetric.forecast{background:#fff!important;border-color:#e0ebe5!important}
body:has(a[href="/products"].active) .producttotals .finmetric small{display:block!important;margin:10px 0 5px!important;padding:0!important;font-size:12px!important;line-height:1.15!important;font-weight:500!important;letter-spacing:0!important;color:#718579!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:has(a[href="/products"].active) .producttotals .finmetric b{display:block!important;margin:0!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:0!important;color:#244d39!important;white-space:nowrap!important}
body:has(a[href="/products"].active) .producttotals .finmetric b em{font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;color:inherit!important}
body:has(a[href="/products"].active) .producttotals .finmetric span{display:block!important;margin-top:3px!important;font-size:9px!important;line-height:1.1!important;font-weight:500!important;color:#789087!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:1050px){body:has(a[href="/products"].active) .producttotals{grid-template-columns:repeat(10,minmax(125px,1fr))!important;overflow-x:auto!important}body:has(a[href="/products"].active) .producttotals .finmetric{min-width:125px!important}}
/* Fix Products KPI cards with third line: keep all text inside 76px card */
body:has(a[href="/products"].active) .producttotals .finmetric:has(>span){padding-top:8px!important;padding-bottom:7px!important;justify-content:flex-start!important}
body:has(a[href="/products"].active) .producttotals .finmetric:has(>span)>small{margin-top:0!important;margin-bottom:3px!important;font-size:10px!important;line-height:1.1!important}
body:has(a[href="/products"].active) .producttotals .finmetric:has(>span)>b{font-size:15px!important;line-height:1.1!important;margin:0!important}
body:has(a[href="/products"].active) .producttotals .finmetric:has(>span)>span{position:static!important;margin-top:3px!important;font-size:8px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
/* Vertically center three-line Products KPI content */
body:has(a[href="/products"].active) .producttotals .finmetric:has(>span){justify-content:center!important;padding-top:7px!important;padding-bottom:7px!important}
/* Products column settings: same popup geometry as Finance */
.producttablecard{position:relative!important;overflow:visible!important}
.producttablecard .producttablehead{align-items:center!important}
.producttablecard .columnsettings{right:15px!important;top:50px!important;width:330px!important;max-height:520px!important;box-sizing:border-box!important}
.producttablecard #productColumnList{max-height:400px!important;overflow:auto!important}
.producttablecard .columnrow{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:6px 4px!important;border-top:1px solid #eef3f0!important;font-size:12px!important}
.producttablecard .columnrow label{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;margin:0!important}
.producttablecard .columnrow label span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
/* Products top document actions */
.producttopbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important}
.producttopbar .globalshopfilter{margin:0!important}
.productdocactions{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.productdocbtn{height:33px!important;border:0!important;border-radius:9px!important;padding:0 13px!important;background:linear-gradient(135deg,#0caf5b,#07954d)!important;color:#fff!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:11px!important;font-weight:600!important;box-shadow:0 5px 12px rgba(7,139,72,.16)!important;cursor:pointer!important;white-space:nowrap!important;transition:.15s ease!important}
.productdocbtn:hover{transform:translateY(-1px)!important;box-shadow:0 7px 15px rgba(7,139,72,.22)!important}
@media(max-width:900px){.producttopbar{align-items:flex-start!important;flex-direction:column-reverse!important}.producttopbar .globalshopfilter{align-self:flex-end!important}}
/* Own warehouse documents */
.stockmodalback{display:none;position:fixed;inset:0;z-index:120;background:rgba(18,37,29,.42);padding:34px;align-items:flex-start;justify-content:center;overflow:auto}.stockmodalback.open{display:flex}.stockmodal{position:relative;width:min(980px,96vw);background:#fff;border:1px solid #dce8e2;border-radius:15px;box-shadow:0 24px 70px rgba(17,54,38,.24);padding:20px}.stockclose{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#60756a;font-size:25px;cursor:pointer}.stockpane{display:none}.stockpane.open{display:block}.stockpane h2{margin:0 0 18px!important;font-size:18px!important;color:#1c3328}.stockformgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stockformgrid label,.stockcomment{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#425a4d}.stockformgrid input,.stockformgrid select,.stockcomment textarea,.stockline input,.stockline select{height:36px;box-sizing:border-box;border:1px solid #d4e1da;border-radius:8px;background:#fff;padding:7px 9px;color:#20392d;font:inherit}.stockcomment{margin-top:12px}.stockcomment textarea{height:62px;resize:vertical}.stocklineshead{display:flex;align-items:center;justify-content:space-between;margin:16px 0 8px}.stocklineshead b{font-size:12px}.stocklineshead button{border:1px solid #cfe0d7;background:#fff;border-radius:8px;padding:6px 10px;color:#17643a;cursor:pointer}.stockline{display:grid;grid-template-columns:minmax(300px,1fr) 150px 160px 32px;gap:8px;align-items:end;padding:8px 0;border-top:1px solid #edf3ef}.stockline label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#62766b}.stocklineremove{height:36px;border:0;background:transparent;color:#e05252;font-size:20px;cursor:pointer}.stockfoot{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:13px;border-top:1px solid #e7efeb}.stockfoot button{height:34px;border:1px solid #d4e1da;border-radius:8px;background:#fff;padding:0 18px;cursor:pointer}.stockfoot .stocksave{background:linear-gradient(135deg,#0caf5b,#07954d);border-color:#07954d;color:#fff}.warehousecards{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.warehousecards>div{min-width:145px;border:1px solid #dfeae4;border-radius:10px;padding:10px 12px;background:#f9fcfa}.warehousecards small{display:block;color:#6d8176;font-size:10px;margin-bottom:5px}.warehousecards b{font-size:15px;color:#244d39}.stockdocscroll{overflow:auto;max-height:62vh;border:1px solid #dfe9e4;border-radius:10px}.stockdoctable{width:100%;font-size:11px}.stockdoctable th,.stockdoctable td{padding:9px 10px!important;white-space:nowrap}.stockdoctable tr.cancelled td{background:#fff3f3!important;color:#9a7373;text-decoration:none}.docactive{display:inline-block;background:#e6f7ee;color:#078b48;border-radius:6px;padding:3px 7px}.doccancel{display:inline-block;background:#ffe8e8;color:#cf4242;border-radius:6px;padding:3px 7px}.docx{border:0;background:transparent;color:#e13e3e;font-size:20px;cursor:pointer}.docxmark{color:#e13e3e;font-size:19px}.stockempty{text-align:center;color:#819087;padding:28px!important}@media(max-width:720px){.stockformgrid{grid-template-columns:1fr}.stockline{grid-template-columns:1fr 100px 32px}.stockline label:nth-child(3){grid-column:1/3}}
/* Stock document headers: one line; document list unchanged */
.stockpane[data-pane="receipt"] .stockformgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.stockpane[data-pane="transfer"] .stockformgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.stockpane[data-pane="writeoff"] .stockformgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:760px){.stockpane[data-pane="receipt"] .stockformgrid,.stockpane[data-pane="transfer"] .stockformgrid,.stockpane[data-pane="writeoff"] .stockformgrid{grid-template-columns:1fr!important}}
.stocklineactions{display:flex;align-items:center;gap:7px}
.stocklineactions button{white-space:nowrap}
/* Finance operational expense actions */
.financetopbar{display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0 0 8px!important}
.financetopbar .productdocactions{justify-content:flex-start!important}
/* Finance operational-expense buttons live in the same filter row */
.filters form>.financeopexactions{display:flex!important;align-items:flex-end!important;gap:7px!important;flex:0 0 auto!important;align-self:flex-end!important}
/* Finance: OPEX actions pinned left; exact Products green-button typography */
.filters form>.financeopexactions{margin-right:auto!important;order:-100!important;align-self:flex-end!important}
.filters form>.financeopexactions .productdocbtn{height:33px!important;border:0!important;border-radius:9px!important;padding:0 13px!important;background:linear-gradient(135deg,#0caf5b,#07954d)!important;color:#fff!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:11px!important;font-weight:600!important;line-height:normal!important;letter-spacing:normal!important;box-shadow:0 5px 12px rgba(7,139,72,.16)!important}
/* Lower competitor chart: same horizontal day geometry as ranked table above */
.owntrend{padding-left:14px!important;padding-right:14px!important}
.owntrend .chartAlign{width:100%!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important}
.owntrend .compchart{width:100%!important;box-sizing:border-box!important}
/* Finance operating expense documents */
.opexmodalbox{max-width:980px!important}.opexheadgrid{display:grid;grid-template-columns:180px 220px minmax(260px,1fr);gap:12px}.opexheadgrid label,.opexcomment{font-size:11px;color:#52675a}.opexcomment{display:block;margin-top:12px}.opexcomment textarea{width:100%;min-height:62px;box-sizing:border-box;margin-top:5px}.opexlineshead{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}.opexlineshead>div{display:flex;gap:7px}.opexlineshead button{border:1px solid #d8e6de;background:#fff;border-radius:8px;padding:7px 10px;font-size:11px;cursor:pointer}.opexlineshead .opexdistribute{background:linear-gradient(135deg,#0caf5b,#07954d);color:#fff;border:0}.opexlines{display:grid;gap:6px;max-height:330px;overflow:auto}.opexline{display:grid;grid-template-columns:minmax(320px,1fr) 150px 34px;gap:8px;align-items:center}.opexline select{width:100%}.opexallocated{font-size:12px;font-weight:700;text-align:right;color:#b33}.opexline>button{height:32px;border:1px solid #e6d7d7;background:#fff;color:#b33;border-radius:8px;cursor:pointer}.opexsum{text-align:right;font-size:12px;font-weight:800;margin-top:9px}.opexpane[data-pane=list] .stockdocscroll{max-height:520px;overflow:auto}@media(max-width:800px){.opexheadgrid{grid-template-columns:1fr}.opexline{grid-template-columns:1fr 100px 34px}}
/* Opex document follows the Products receipt document visual language */
.opexmodalbox.stockmodalbox{max-width:980px!important}.opexstockhead{grid-template-columns:repeat(3,minmax(0,1fr))!important}.opexmodalbox .stockcomment{display:block!important;margin-top:12px!important}.opexmodalbox .stockcomment textarea{width:100%!important;box-sizing:border-box!important}.opexfillwrap{position:relative}.opexfillmenu{display:none;position:absolute;right:0;top:calc(100% + 5px);z-index:30;min-width:190px;background:#fff;border:1px solid #dfe9e3;border-radius:9px;padding:5px;box-shadow:0 10px 24px rgba(25,55,40,.12)}.opexfillwrap.open .opexfillmenu{display:grid;gap:3px}.opexfillmenu button{width:100%;text-align:left;white-space:nowrap}.opexmodalbox .opexline{display:grid;grid-template-columns:minmax(320px,1fr) 150px 34px;gap:8px;align-items:center}.opexmodalbox .opexline select{width:100%}@media(max-width:760px){.opexstockhead{grid-template-columns:1fr!important}}
.opexdocactions{display:flex;align-items:center;justify-content:center;gap:5px}.opexdocactions form{margin:0}.docedit,.docrestore{width:28px;height:28px;border-radius:7px;border:1px solid #dbe7e0;background:#fff;cursor:pointer;font-size:14px}.docedit{color:#24714c}.docrestore{color:#078b48;font-weight:700}.docedit:hover,.docrestore:hover{background:#eff9f3}
/* Finance article table: user-resizable columns */
#financeArticleTable{table-layout:fixed!important;width:max-content!important;min-width:100%!important}
#financeArticleTable thead th{position:relative!important;box-sizing:border-box!important}
#financeArticleTable .colresize{position:absolute;z-index:12;top:0;right:-4px;width:9px;height:100%;cursor:col-resize;user-select:none;touch-action:none}
#financeArticleTable .colresize:after{content:"";position:absolute;right:4px;top:18%;height:64%;width:1px;background:#cbdad2;opacity:.55}
#financeArticleTable .colresize:hover:after,.resizing-column #financeArticleTable .colresize:after{background:#07954d;opacity:1;width:2px}
body.resizing-column{cursor:col-resize!important;user-select:none!important}
/* Fix: allow finance column drag to change actual cell geometry */
#financeArticleTable{table-layout:fixed!important;width:max-content;min-width:100%}
#financeArticleTable th,#financeArticleTable td{overflow:hidden;text-overflow:ellipsis}
/* Definitive finance resize: colgroup owns widths, overriding legacy nth-child widths */
#financeArticleTable{table-layout:fixed!important;width:auto!important;min-width:100%!important}
#financeArticleTable colgroup.resizecols col{min-width:0!important;max-width:none!important}
#financeArticleTable thead th,#financeArticleTable tbody td,#financeArticleTable tfoot td{width:auto!important;min-width:0!important;max-width:none!important}
#financeArticleTable thead th:first-child,#financeArticleTable tbody td:first-child,#financeArticleTable tfoot td:first-child{width:auto!important;min-width:0!important;max-width:none!important}
/* Finance resize V4: fixed pixel grid; resizing one column never scales its neighbours */
#financeArticleTable{table-layout:fixed!important;min-width:0!important;max-width:none!important}
#financeArticleTable colgroup.resizecols col{min-width:0!important;max-width:none!important}
#financeArticleTable th,#financeArticleTable td{min-width:0!important;max-width:none!important}
/* Finance article header: maximum two text lines */
#financeArticleTable thead th{height:42px!important;line-height:15px!important;padding-top:6px!important;padding-bottom:6px!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;vertical-align:middle!important}
#financeArticleTable thead th:not(:first-child){word-break:normal!important;overflow-wrap:normal!important}
#financeArticleTable thead th br{display:block!important}
/* Profile and users */
.profilegrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profilecard{padding:24px!important}.profilewide{grid-column:1/-1}.profileidentity{display:flex;align-items:center;gap:14px;margin:12px 0 22px}.profileavatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e9f8ee;color:#168a49;font-size:24px;font-weight:800}.profileidentity div:last-child{display:grid;gap:3px}.profileidentity span,.usertable small{display:block;color:#7a817e;font-size:12px}.profileform{display:grid;gap:13px}.profileform label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#626a66}.profileform input,.useraddform input,.resetpass input{border:1px solid #dfe5e1;border-radius:9px;padding:10px 12px;background:#fff}.profileform button,.useraddform>button,.permissionform button,.resetpass button{border:0;border-radius:9px;padding:10px 15px;background:#179a52;color:#fff;font-weight:700;cursor:pointer}.profilemeta{display:flex;gap:28px;margin-top:20px;padding-top:16px;border-top:1px solid #edf0ee;font-size:12px;color:#777}.profilemeta span{display:grid;gap:3px}.profilemsg{margin:0 0 14px;padding:11px 14px;border-radius:9px;font-weight:700}.profilemsg.ok{background:#eaf8ef;color:#157a43}.profilemsg.err{background:#fff0f0;color:#b42318}.accesschips{display:flex;gap:5px;flex-wrap:wrap}.accesschips span,.ownerbadge{padding:4px 8px;border-radius:999px;background:#edf8f1;color:#187747;font-size:11px;font-weight:700}.userscard{margin-top:16px!important}.useraddform{display:grid;grid-template-columns:1fr 1.2fr 1.2fr 2fr auto;gap:10px;align-items:end;margin:16px 0 22px}.useraddform label{display:grid;gap:5px;font-size:11px;font-weight:700}.permissiongrid{display:grid;grid-template-columns:repeat(3,auto);gap:5px 12px;font-size:11px}.permissiongrid label{display:flex;align-items:center;gap:4px;white-space:nowrap}.permissiongrid input{width:auto;padding:0}.permissiongrid.compact{margin-bottom:7px}.permissionform{min-width:270px}.usertable td{vertical-align:top}.resetpass{display:flex;gap:6px}.resetpass input{width:145px}.userremove{white-space:nowrap;border:1px solid #f0caca;background:#fff;color:#b42318;border-radius:8px;padding:8px 10px;cursor:pointer}@media(max-width:1050px){.profilegrid{grid-template-columns:1fr}.profilewide{grid-column:auto}.useraddform{grid-template-columns:1fr 1fr}.usertable{overflow-x:auto}}

/* keep competitor header inside content width */
.ownhero{min-width:0!important;grid-template-columns:60px minmax(180px,1fr) 120px 120px minmax(0,2.5fr) 1px 72px!important}.profitCompare{min-width:0!important}.profitRow{grid-template-columns:125px repeat(5,minmax(72px,1fr))!important}
/* Competitors: obey the same responsive content grid as the rest of the cabinet */
.compworkspace,.ownhero,.shelfboard,.comptrend,.rank5board{min-width:0!important;max-width:100%!important}
.ownhero{width:100%!important;grid-template-columns:60px minmax(150px,1fr) minmax(105px,120px) minmax(105px,120px) minmax(0,2.5fr) 1px 72px!important}
.profitCompare,.profitRow{min-width:0!important;max-width:100%!important}
.profitRow{grid-template-columns:minmax(105px,125px) repeat(5,minmax(0,1fr))!important}
.profitRow label,.profitRow label b{min-width:0!important}
@media(max-width:1300px){.ownhero{grid-template-columns:56px minmax(135px,.9fr) 105px 105px minmax(0,2.2fr) 1px 72px!important}.profitRow{grid-template-columns:100px repeat(5,minmax(0,1fr))!important}.profitRow label{font-size:7px!important}.profitRow label b{font-size:11px!important}}

.demoBadge{display:inline-block;vertical-align:middle;margin-left:7px;padding:3px 7px;border-radius:999px;background:#eaf7ef;color:#078b48;font-size:9px!important;font-weight:700!important;letter-spacing:.08em!important}

.demoInsight{display:inline-block;margin-left:10px;padding:5px 9px;border-radius:9px;background:#f0f8f3;color:#087c45;font-size:10px;font-weight:700}
.demoStory{max-width:360px;padding:7px 10px;border:1px solid #cfe9da;border-radius:10px;background:#f5fbf7}.demoStory b{display:block;color:#087c45;font-size:10px}.demoStory span{display:block;margin-top:2px;color:#617069;font-size:8px;line-height:1.3}.photoLegendItem.priceRelevant{outline:2px solid #159b69;outline-offset:3px;border-radius:8px;background:#f3faf6}
.demoGross{margin-top:12px;padding:11px 13px;border:1px solid #cde8d7;border-radius:11px;background:#f3faf6}.demoGross b{display:block;color:#087c45;font-size:12px}.demoGross span{display:block;margin-top:4px;color:#53645b;font-size:10px;line-height:1.45}
.demoScenarios{display:grid;grid-template-columns:1fr 1.35fr;gap:9px;margin:10px 0 12px}.demoScenarios>div{padding:10px 12px;border:1px solid #e0e7e2;border-radius:11px;background:#fafcfb}.demoScenarios>div.best{border:2px solid #159b69;background:#f2faf5}.demoScenarios small{display:block;font-size:8px;font-weight:800;letter-spacing:.06em;color:#738078}.demoScenarios b{display:block;margin-top:3px;font-size:14px;color:#26332c}.demoScenarios .best b{color:#087c45}.demoScenarios span{display:block;margin-top:2px;font-size:9px;color:#68756e}
/* Product KPIs (2026-09-25): prevent newly added columns from collapsing.
   On narrower viewports, horizontal scrolling is preferable to overlapping data. */
#prices #productsTable th,#prices #productsTable td{box-sizing:border-box!important;overflow-wrap:normal!important;word-break:normal!important;vertical-align:middle!important}
#prices #productsTable th:first-child,#prices #productsTable td:first-child{width:240px!important}
/* Products table V3: single layout authority, independent of column order */
#prices .compacttable{width:100%!important;max-height:none!important;overflow-x:auto!important;overflow-y:auto!important;border:1px solid #dce8df!important;border-radius:10px!important}
#prices #productsTable{width:100%!important;min-width:1280px!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;font-size:11px!important}
#prices #productsTable th,#prices #productsTable td{width:auto!important;min-width:75px;max-width:145px;padding:10px 7px!important;box-sizing:border-box!important;line-height:1.35!important;vertical-align:middle!important;text-align:right;white-space:normal!important;overflow-wrap:break-word!important;font-variant-numeric:tabular-nums}
#prices #productsTable th{position:sticky;top:0;z-index:3;background:#edf5ef!important;color:#315744;text-align:center!important;font-weight:700;border-bottom:2px solid #c9ddcf}
#prices #productsTable [data-col-id="0"]{position:sticky;left:0;min-width:210px!important;max-width:260px!important;text-align:left!important;z-index:2;background:#fff!important;overflow-wrap:anywhere!important}
#prices #productsTable thead [data-col-id="0"]{z-index:5;background:#edf5ef!important}
#prices #productsTable tfoot [data-col-id="0"]{background:#e7f3eb!important}
#prices #productsTable [data-col-id="8"]{min-width:115px!important}
#prices #productsTable [data-col-id="9"],#prices #productsTable [data-col-id="12"]{min-width:115px!important}
#prices #productsTable tbody tr:nth-child(even) td{background:#f7faf8!important}
#prices #productsTable tbody tr:hover td{background:#edf7f0!important}
#prices #productsTable tfoot td{background:#e7f3eb!important;font-weight:700;border-top:2px solid #b9d6c3}
#prices #productsTable .costedit{display:flex;justify-content:flex-end;gap:4px;white-space:nowrap}
#prices #productsTable .costedit input{box-sizing:border-box;width:70px!important;min-width:0!important}
#prices #productsTable [hidden]{display:none!important}
@media(max-width:900px){#prices .producttablehead{flex-wrap:wrap}#prices .tableactions{flex-wrap:wrap}#prices #productsTable{min-width:1100px!important}}


/* Autosize supplier article by longest actual value */
#prices #productsTable [data-col-id="0"]{width:var(--vendor-column-width,230px)!important;min-width:var(--vendor-column-width,230px)!important;max-width:var(--vendor-column-width,230px)!important;white-space:nowrap!important;overflow-wrap:normal!important}

/* Neutral DRR row below the advertising (red) section */
#rnpReportTable tr.rnp-drr-neutral td,#rnpReportTable tr.rnp-drr-neutral td:first-child{background:#f1f5f9!important;color:#475569!important}
#rnpReportTable tr.rnp-drr-neutral i,#rnpReportTable tr.rnp-drr-neutral em{color:#64748b!important}

/* RNP neutral cost rows: clear directional deltas */
#rnpReportTable tr.rnp-drr-neutral em.cost-bad,#rnpReportTable tr.opcost em.cost-bad{color:#d12f38!important;font-weight:700!important}
#rnpReportTable tr.rnp-drr-neutral em.cost-good,#rnpReportTable tr.opcost em.cost-good{color:#07834b!important;font-weight:700!important}
#rnpReportTable tr.rnp-drr-neutral em.cost-flat,#rnpReportTable tr.opcost em.cost-flat{color:#64748b!important;font-weight:600!important}

/* Finance: prominent WB retained label */
.piecard .wbtook small{font-size:16px!important;font-weight:800!important;line-height:1.35!important;letter-spacing:.02em!important}
/* Shared time-series grouping switches */
.zk-period-switch{display:inline-flex;flex-wrap:wrap;align-items:center;gap:3px;margin:4px 0 4px auto;padding:3px;background:#eef3f0;border:1px solid #d8e5dd;border-radius:9px;vertical-align:middle}
.zk-period-switch button{appearance:none;border:0;background:transparent;color:#617568;font-size:11px;font-weight:600;padding:6px 10px;border-radius:6px;cursor:pointer;white-space:nowrap}
.zk-period-switch button.active{background:#fff;color:#19764b;box-shadow:0 1px 4px #1d48331a}
.zk-period-switch button:hover:not(.active){background:#e0ebe4;color:#245a3e}

/* Finance daily chart: heading and period selector share one line */
.dailybars-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.dailybars-heading h2{margin:0!important;flex:0 1 auto}
.dailybars-heading .zk-period-switch{margin:0 0 0 auto;flex-shrink:0}

/* Finance chart switch: anchor to top-right even if previous JS appended to card */
.fincard.dailybarscard{position:relative!important}
.fincard.dailybarscard>.zk-period-switch,.fincard.dailybarscard>.dailybars-heading>.zk-period-switch{position:absolute!important;top:10px!important;right:14px!important;bottom:auto!important;left:auto!important;margin:0!important;z-index:5!important}
.fincard.dailybarscard>.dailybars-heading{padding-right:300px!important;min-height:35px!important}
@media(max-width:720px){.fincard.dailybarscard>.zk-period-switch,.fincard.dailybarscard>.dailybars-heading>.zk-period-switch{position:static!important;margin:6px 0!important}.fincard.dailybarscard>.dailybars-heading{padding-right:0!important}}

/* RNP: time grouping belongs at top right of funnel chart */
.rnp-chartbox{position:relative!important;padding-top:48px!important}
.rnp-chart-toolbar{position:absolute!important;top:8px!important;right:14px!important;left:auto!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;z-index:5!important}
.rnp-chart-toolbar .zk-period-switch{margin:0!important}

/* RNP: chart plotting columns align with the corresponding table columns */
.rnp-chartbox{max-width:none!important;box-sizing:border-box!important;overflow:visible!important}
.rnp-chartbox canvas{display:block!important}

/* RNP grouping switch beside article filter */
.rnp-period-filter-slot{display:flex;align-items:center;flex:0 0 auto}
.rnp-period-filter-slot .zk-period-switch{margin:0!important;white-space:nowrap}
/* RNP: center every control vertically within the filter bar */
body:has(.rnp-period-filter-slot) .filters{display:flex;align-items:center;min-height:64px}
body:has(.rnp-period-filter-slot) .filters form{width:100%;align-items:center!important;justify-content:flex-end;gap:7px}
body:has(.rnp-period-filter-slot) .filters form>label,body:has(.rnp-period-filter-slot) .filters form>.multi,body:has(.rnp-period-filter-slot) .filters form>.rnp-period-filter-slot,body:has(.rnp-period-filter-slot) .filters form>button{align-self:center!important;margin-top:0!important;margin-bottom:0!important}
body:has(.rnp-period-filter-slot) .filters form>label{display:flex;align-items:center;gap:5px}
body:has(.rnp-period-filter-slot) .filters .zk-period-switch{margin:0!important}
/* RNP: remove empty toolbar space after moving period switch into filters */
.rnp-summary{margin-bottom:2px!important}
.rnp-chartbox{padding-top:0!important;margin-top:0!important}
.rnp-chartbox .rnp-chart-toolbar:empty{display:none!important}
.reportgrid{margin-top:0!important}

/* All report period selectors: inline with filters, centered vertically */
.filters:has(.global-period-filter-slot){display:flex;align-items:center;min-height:64px}
.filters:has(.global-period-filter-slot)>form{width:100%;align-items:center!important;gap:7px}
.filters:has(.global-period-filter-slot)>form>label,.filters:has(.global-period-filter-slot)>form>.multi,.filters:has(.global-period-filter-slot)>form>.global-period-filter-slot,.filters:has(.global-period-filter-slot)>form>button{align-self:center!important;margin-top:0!important;margin-bottom:0!important}
.filters:has(.global-period-filter-slot)>form>label{display:flex;align-items:center;gap:5px}
.global-period-filter-slot{display:flex;align-items:center;flex:0 0 auto}
.global-period-filter-slot .zk-period-switch{margin:0!important}
.dailybars-heading{padding-right:0!important}
/* Keep finance action buttons within content area by compacting date controls. */
.filters:has(.financeopexactions) > form{gap:5px!important;flex-wrap:wrap;justify-content:flex-end!important}
.filters:has(.financeopexactions) > form > .financeopexactions{margin-right:auto!important;flex-shrink:0!important;align-self:center!important;gap:5px!important}
.filters:has(.financeopexactions) > form > .financeopexactions .productdocbtn{padding:0 9px!important;font-size:10px!important}
.filters:has(.financeopexactions) input[type="date"]{width:112px!important;min-width:0!important;box-sizing:border-box!important;padding:0 3px!important;font-size:10px!important}
.filters:has(.financeopexactions) .periodselect{min-width:66px!important;width:66px!important;padding-left:5px!important;padding-right:14px!important}
.filters:has(.financeopexactions) .global-period-filter-slot .zk-period-switch{gap:0!important;padding:2px!important}
.filters:has(.financeopexactions) .global-period-filter-slot .zk-period-switch button{padding:5px 7px!important;font-size:10px!important}
.filters:has(.financeopexactions) .multiBtn{min-width:170px!important;padding:0 6px!important}
.filters:has(.financeopexactions) select[name="group"]{max-width:155px!important}
.filters:has(.financeopexactions) > form > label{gap:3px!important}
/* Products action buttons: match compact Finance action buttons */
.producttopbar .productdocactions{gap:5px!important}
.producttopbar .productdocactions .productdocbtn{height:33px!important;padding:0 9px!important;font-size:10px!important}

/* Competitors: period grouping selector removed */
body:has(.compfinancefilters) .zk-period-switch{display:none!important}
/* Consistent date and preset widths across all report filters. */
.filters input[type="date"],.compfilter input[type="date"],.compfinanceform input[type="date"]{width:118px!important;min-width:0!important;max-width:118px!important;box-sizing:border-box!important;padding:0 4px!important;font-size:10px!important}
.filters .periodselect,.compfilter .periodselect,.compfinanceform .periodselect,.filters:has(.financeopexactions) .periodselect{width:148px!important;min-width:148px!important;max-width:148px!important;box-sizing:border-box!important;padding-left:9px!important;padding-right:24px!important;text-overflow:clip!important}
@media(max-width:760px){.compfilterform .periodselect{width:100%!important;max-width:none!important}}

/* Products: visual current WB grouping composition */
.productgroups{margin:22px 0 30px;padding:22px;border:1px solid #dceae2;border-radius:17px;background:linear-gradient(145deg,#fff,#f7fbf8);box-shadow:0 6px 28px #1b56300a}
.productgroups-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.productgroups-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#148652;margin-bottom:7px}
.productgroups-head h2{font-size:21px;font-weight:800;margin:0 0 6px;color:#173b2c}
.productgroups-head p{font-size:12px;color:#7a9286;margin:0}
.productgroups-count{font-size:12px;vertical-align:middle;background:#e3f5e9;color:#13804c;border-radius:20px;padding:4px 9px;margin-left:5px}
.productgroups-refresh{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:10px;padding:11px 16px;background:#0a9c59;color:#fff;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 4px 12px #07954d25}
.productgroups-refresh span{font-size:20px;line-height:12px}.productgroups-refresh:disabled{opacity:.6;cursor:wait}
.productgroups-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:15px}
.productgroup-card{background:#fff;border:1px solid #e0ebe4;border-radius:13px;overflow:hidden;box-shadow:0 2px 9px #204b2909}
.productgroup-cardhead{display:flex;align-items:center;gap:11px;padding:16px;background:#f4faf6;border-bottom:1px solid #e0ebe4}
.productgroup-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#ddf3e5;color:#16854e;font-size:21px;flex:none}
.productgroup-heading{flex:1;min-width:0}.productgroup-heading strong{display:block;font-size:13px;color:#1b4130;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.productgroup-heading small{display:block;margin-top:4px;font-size:10px;color:#80978b}
.productgroup-size{font-size:10px;font-weight:800;white-space:nowrap;color:#17834e;background:#e2f5e9;border-radius:20px;padding:6px 9px}
.productgroup-items{padding:10px 15px 13px 25px;position:relative}.productgroup-items:before{content:'';position:absolute;top:14px;bottom:20px;left:20px;width:2px;background:#ccebd8}
.productgroup-item{display:flex;align-items:center;gap:12px;position:relative;text-decoration:none;padding:10px 5px;color:inherit;border-radius:8px}.productgroup-item:hover{background:#f2faf5}
.productgroup-node{width:10px;height:10px;border:2px solid #21a566;background:#fff;border-radius:50%;flex:none;margin-left:-9px;z-index:1}
.productgroup-itemtext{flex:1;min-width:0}.productgroup-itemtext b{display:block;font-size:11px;color:#254e38;overflow-wrap:anywhere}.productgroup-itemtext small{display:block;color:#81978b;font-size:10px;margin-top:3px}.productgroup-external{color:#7baf91}
.productgroups-message{display:none}.productgroups-message.visible{display:block;padding:10px 13px;margin-bottom:14px;border-radius:8px;background:#eaf7ef;color:#167d49;font-size:12px}.productgroups-message.error{background:#fff0ed;color:#c44736}
.productgroups-empty{text-align:center;padding:34px 12px;color:#7e9888}.productgroups-empty div{font-size:35px;color:#24a36a}.productgroups-empty strong{display:block;margin:10px 0;color:#365d46}.productgroups-empty p{font-size:12px}

/* Sidebar illustrated icons, applied only to existing menu entries */
aside nav>a{display:flex;align-items:center;gap:10px}
aside nav>a .navicon{width:20px;height:20px;min-width:20px;flex:none;filter:drop-shadow(0 1px 1px #0000000b)}
aside nav>a span{margin-left:0!important}
.navicon-finance{color:#159f5e}.navicon-pulse{color:#09a9a3}.navicon-ads{color:#8651dd}.navicon-products{color:#e9a022}.navicon-competitors{color:#416be5}.navicon-settings{color:#64748b}
aside nav>a.active .navicon{color:#fff!important;filter:none}

/* Article detail: four visually separated vertical financial blocks */
#articleDetailRows .article-block-heading td{padding:13px 12px 9px!important;border-top:12px solid #fff!important;border-bottom:1px solid #dce9e2!important;font-size:13px!important;font-weight:800!important;letter-spacing:.15px!important}
#articleDetailRows .article-block-heading:first-child td{border-top:0!important}
#articleDetailRows .article-block-sales td{background:#e9f7ef!important;color:#177448!important;border-left:4px solid #24a569!important}
#articleDetailRows .article-block-buyout td{background:#edf5ff!important;color:#3765a6!important;border-left:4px solid #729cdb!important}
#articleDetailRows .article-block-costs td{background:#fff0ee!important;color:#bd5145!important;border-left:4px solid #e4786d!important}
#articleDetailRows .article-block-profit td{background:#e5f5ec!important;color:#126a42!important;border-left:4px solid #159d59!important}
#articleDetailRows .article-block-heading span{display:inline-flex;align-items:center;gap:8px}
#articleDetailRows tr:not(.article-block-heading) td:first-child{padding-left:22px!important}

/* Four horizontal article detail cards, no Type column */
.articlemodalbox{width:min(1380px,97vw)!important}.articledetailgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr) minmax(0,1.6fr) minmax(0,1fr);gap:12px;align-items:start;margin-top:15px}.article-detail-card{min-width:0;border:1px solid #dce9e2;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 10px #19482a08}.article-detail-card h3{font-size:14px;margin:0;padding:13px 14px;font-weight:800}.article-detail-sales h3{background:#e8f7ef;color:#177448;border-bottom:2px solid #24a569}.article-detail-buyout h3{background:#edf5ff;color:#3765a6;border-bottom:2px solid #729cdb}.article-detail-costs h3{background:#fff0ee;color:#bd5145;border-bottom:2px solid #e4786d}.article-detail-profit h3{background:#e5f5ec;color:#126a42;border-bottom:2px solid #159d59}.article-detail-list{padding:5px 11px 10px}.article-detail-item{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:10px 2px;border-bottom:1px solid #edf2ee;font-size:11px}.article-detail-item:last-child{border-bottom:0}.article-detail-label{color:#486052;line-height:1.4}.article-detail-item strong{text-align:right;white-space:nowrap;font-size:11px;color:#243d31}.article-detail-item strong.expenseval{color:#b62f26}.article-detail-item strong.incomeval{color:#127448}@media(max-width:1050px){.articledetailgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:590px){.articledetailgrid{grid-template-columns:1fr}}

/* Article pie: centered across modal, compact legend in one horizontal row */
.articlemodalbox .articlemodalgrid{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;gap:13px!important}
.articlemodalbox .articlechart{width:min(100%,520px)!important;height:320px!important;margin:0 auto!important;flex:none!important}
.articlemodalbox .articlechartlegend{display:flex!important;align-items:center!important;justify-content:center!important;gap:13px!important;width:100%!important;overflow-x:auto!important;white-space:nowrap!important;padding:5px 0 12px!important;scrollbar-width:thin}
.articlemodalbox .articlelegenditem{display:inline-flex;align-items:center;gap:5px;flex:none;font-size:10px;color:#53685b}
.articlemodalbox .articlelegenditem i{width:10px;height:10px;border-radius:50%;flex:none}
@media(max-width:700px){.articlemodalbox .articlechart{height:260px!important}.articlemodalbox .articlechartlegend{justify-content:flex-start!important}}

/* Article modal: pie and all four financial blocks in one horizontal row */
.articlemodalbox{width:min(1740px,98vw)!important;box-sizing:border-box!important}
.article-detail-layout{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(0,4fr);gap:16px;align-items:start;width:100%}
.article-detail-layout>.articlemodalgrid{min-width:0!important;align-self:start;gap:10px!important}
.article-detail-layout>.articlemodalgrid>.articlechart{width:100%!important;height:270px!important;min-width:0!important}
.article-detail-layout>.articlemodalgrid>.articlechartlegend{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;white-space:normal!important;overflow:visible!important;gap:7px 10px!important;padding:5px 0!important}
.article-detail-layout>.articledetailgrid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.65fr) minmax(0,1fr)!important;gap:10px!important;margin-top:0!important;min-width:0!important;align-items:start!important}
.article-detail-layout .article-detail-item{gap:4px!important;font-size:10px!important}
.article-detail-layout .article-detail-item strong{font-size:10px!important}
@media(max-width:1250px){.article-detail-layout{grid-template-columns:1fr!important}.article-detail-layout>.articlemodalgrid>.articlechart{width:min(100%,420px)!important;height:280px!important}.article-detail-layout>.articledetailgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:590px){.article-detail-layout>.articledetailgrid{grid-template-columns:1fr!important}}

/* Article detail: equal-width metric cards, including Expenses */
.article-detail-layout>.articledetailgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1250px){.article-detail-layout>.articledetailgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:590px){.article-detail-layout>.articledetailgrid{grid-template-columns:1fr!important}}
/* Slightly larger metric typography in article detail cards */
.article-detail-layout .article-detail-item{font-size:12px!important}
.article-detail-layout .article-detail-item strong{font-size:12px!important}
/* RNP row configuration: viewport-sized panel with its own scrolling list. */
.rnp-tablecard #rnpRowSettings{position:fixed!important;top:clamp(76px,12vh,130px)!important;right:clamp(12px,3vw,48px)!important;bottom:20px!important;height:auto!important;max-height:calc(100dvh - clamp(76px,12vh,130px) - 20px)!important;width:min(390px,calc(100vw - 24px))!important;box-sizing:border-box!important;display:none;flex-direction:column;z-index:1000!important;padding:14px!important;overflow:hidden!important}
.rnp-tablecard #rnpRowSettings.open{display:flex!important}
#rnpRowSettings .columnsettings-title{flex:0 0 auto!important}
#rnpRowSettings #rnpRowList{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding-right:5px}
#rnpRowSettings .columnsettings-foot{flex:0 0 auto!important;border-top:1px solid #e4eee8;background:#fff;padding-top:12px!important}
@media(max-height:560px){.rnp-tablecard #rnpRowSettings{top:12px!important;max-height:calc(100dvh - 24px)!important;bottom:12px!important}}

/* ABC is now column 0; vendor article moved to column 1. Override old first-column widths. */
#prices #productsTable th[data-col-id="0"],#prices #productsTable td[data-col-id="0"]{position:static!important;left:auto!important;width:30px!important;min-width:30px!important;max-width:30px!important;padding:4px 1px!important;text-align:center!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;box-sizing:border-box!important}
#prices #productsTable th[data-col-id="1"],#prices #productsTable td[data-col-id="1"]{position:sticky!important;left:30px!important;min-width:210px!important;max-width:260px!important;width:var(--vendor-column-width,230px)!important;text-align:left!important;z-index:2;background:#fff!important;overflow-wrap:anywhere!important}
#prices #productsTable thead th[data-col-id="1"]{z-index:5;background:#edf5ef!important}
#prices #productsTable tbody tr:nth-child(even) td[data-col-id="1"]{background:#f7faf8!important}
#prices #productsTable tbody tr:hover td[data-col-id="1"]{background:#edf7f0!important}
#prices #productsTable tfoot td[data-col-id="1"]{background:#e7f3eb!important}

/* Profit ABC coloring for grouped WB product dots */
.productgroup-node.productgroup-node-a{background:#20a75b!important;border-color:#168448!important}
.productgroup-node.productgroup-node-b{background:#f1c33d!important;border-color:#c79715!important}
.productgroup-node.productgroup-node-c,.productgroup-node.productgroup-node-loss{background:#e0524d!important;border-color:#bc3430!important}
