/* 7.29.0 «Рост»: DQI, покрытие, активности, воронка опта, достижения. Calm, flat, iOS-like. */
:root{--gr-green:#1f9d55;--gr-green-bg:#e8f7ee;--gr-yellow:#a86b00;--gr-yellow-bg:#fff5d6;--gr-orange:#c65400;--gr-orange-bg:#ffede0;--gr-red:#d92d20;--gr-red-bg:#fdecea;--gr-blue:#0a6fd6;--gr-blue-bg:#e8f2fd;--gr-card:#fff;--gr-line:#e6ebf1;--gr-ink:#1d2939;--gr-ink2:#667085}
body.gr-lock{overflow:hidden}
.gr-modal .modal-sheet{max-width:640px}.gr-modal .modal-sheet.gr-wide{max-width:980px}
.gr-sheet-body h4{margin:18px 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2)}
.gr-card{background:var(--gr-card);border:1px solid var(--gr-line);border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.gr-card h3,.gr-card h4{margin:0 0 10px}.gr-card h4{font-size:14px}
.gr-foot{font-size:12px;margin-top:10px;line-height:1.45}
.gr-h{margin:20px 0 10px;font-size:15px}
/* dashboard */
#grDashboard:empty{display:none}
.gr-dash{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin:0 0 16px}
.gr-dash .gr-camp-mini{grid-column:1/-1}
.gr-dash-mgr{grid-template-columns:repeat(3,minmax(0,1fr))}
.gr-tile{display:flex;flex-direction:column;gap:3px;text-align:left;background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:14px 16px;color:var(--gr-ink);font:inherit}
button.gr-tile{cursor:pointer;transition:transform .15s,box-shadow .15s}button.gr-tile:hover{box-shadow:0 6px 18px rgba(16,24,40,.08);transform:translateY(-1px)}
.gr-tile span{font-size:12px;font-weight:700;color:var(--gr-ink2);text-transform:uppercase;letter-spacing:.03em}.gr-tile strong{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.gr-tile small{font-size:12px;color:var(--gr-ink2);line-height:1.35}
.gr-tile.static{box-shadow:none}
/* DQI card */
.gr-dqi-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}
.gr-ring .bg{fill:none;stroke:#eef1f5;stroke-width:10}.gr-ring .fg{fill:none;stroke-width:10;stroke-linecap:round;transition:stroke-dasharray .6s}
.gr-ring.green .fg{stroke:var(--gr-green)}.gr-ring.yellow .fg{stroke:#e0a100}.gr-ring.orange .fg{stroke:#f07a1a}.gr-ring.red .fg{stroke:var(--gr-red)}.gr-ring.blue .fg{stroke:var(--gr-blue)}.gr-ring.none .fg{stroke:#c8d0da}
.gr-dqi-top{position:relative}.gr-dqi-num{display:flex;flex-direction:column;gap:2px}.gr-dqi-num b{font-size:44px;font-weight:800;letter-spacing:-.03em;line-height:1}.gr-dqi-num span{font-size:13px;color:var(--gr-ink2)}
.gr-zone{display:inline-flex;width:max-content;font-style:normal;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;margin-top:4px}
.gr-zone.green{background:var(--gr-green-bg);color:var(--gr-green)}.gr-zone.yellow{background:var(--gr-yellow-bg);color:var(--gr-yellow)}.gr-zone.orange{background:var(--gr-orange-bg);color:var(--gr-orange)}.gr-zone.red{background:var(--gr-red-bg);color:var(--gr-red)}.gr-zone.none{background:#f2f4f7;color:var(--gr-ink2)}
.gr-dqi-place{text-align:right;display:flex;flex-direction:column;gap:2px}.gr-dqi-place b{font-size:26px;font-weight:800}.gr-dqi-place b small{font-size:14px;color:var(--gr-ink2);font-weight:600}.gr-dqi-place span{font-size:12px;color:var(--gr-ink2)}.gr-dqi-place em{font-style:normal;font-size:12px;color:var(--gr-ink)}.gr-leader{color:var(--gr-green)!important;font-weight:700}
.gr-gap{margin:14px 0 4px;padding:10px 12px;border-radius:12px;background:#f6f8fb;font-size:13px}
.gr-parts{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin-top:12px}
.gr-parts>div{display:grid;grid-template-columns:118px minmax(0,1fr) 30px;align-items:center;gap:8px;font-size:13px}.gr-parts b{text-align:right;font-variant-numeric:tabular-nums}
.gr-bar{height:8px;border-radius:99px;background:#eef1f5;overflow:hidden}.gr-bar i{display:block;height:100%;border-radius:99px;background:var(--gr-blue);transition:width .5s}
.gr-bar.green i{background:var(--gr-green)}.gr-bar.yellow i{background:#e0a100}.gr-bar.orange i{background:#f07a1a}.gr-bar.red i{background:var(--gr-red)}
.gr-steps{margin-top:14px;border-top:1px solid var(--gr-line);padding-top:12px}.gr-steps h4{font-size:13px;color:var(--gr-ink2);margin:0 0 8px}
.gr-step{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:8px 0;font-size:13px;line-height:1.4}.gr-step+.gr-step{border-top:1px dashed var(--gr-line)}
.gr-step i{width:24px;height:24px;border-radius:50%;background:var(--gr-blue-bg);color:var(--gr-blue);font-style:normal;font-weight:800;display:grid;place-items:center;font-size:12px}.gr-step b{color:var(--gr-green);font-weight:800;white-space:nowrap}
/* base coverage card */
.gr-base{display:flex;flex-direction:column;gap:8px}.gr-base-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.gr-base-head span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--gr-ink2)}
.gr-base-big{display:flex;align-items:baseline;gap:8px}.gr-base-big b{font-size:40px;font-weight:800;letter-spacing:-.03em}.gr-base-big span{color:var(--gr-ink2);font-size:13px}
.gr-base.green .gr-base-big b{color:var(--gr-green)}.gr-base.yellow .gr-base-big b{color:var(--gr-yellow)}.gr-base.red .gr-base-big b{color:var(--gr-red)}
.gr-split{display:flex;height:10px;border-radius:99px;overflow:hidden;gap:2px}.gr-split i{display:block}.gr-split i.ok{background:var(--gr-green)}.gr-split i.no{background:#f3c4bf}
.gr-base-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--gr-ink2)}.gr-base-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px}.gr-base-legend i.ok{background:var(--gr-green)}.gr-base-legend i.no{background:#f3c4bf}.gr-base-legend b{color:var(--gr-ink)}
.gr-base .btn{align-self:flex-start}
.gr-camp-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:8px 0;border-top:1px solid var(--gr-line)}.gr-camp-row small{display:block;color:var(--gr-ink2);font-size:12px}.gr-camp-row .gr-bar{grid-column:1/-1}.gr-camp-row>span{font-weight:700;font-variant-numeric:tabular-nums}
/* control DQI */
.gr-ct-head{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:stretch;margin-bottom:12px}.gr-ct-head .btn{align-self:center}
.gr-dqi-table td small{display:block;color:var(--gr-ink2);font-size:11px}
.gr-pill{display:inline-flex;min-width:44px;justify-content:center;border-radius:999px;padding:3px 9px;font-weight:800;font-variant-numeric:tabular-nums;font-size:13px}
.gr-pill.green{background:var(--gr-green-bg);color:var(--gr-green)}.gr-pill.yellow{background:var(--gr-yellow-bg);color:var(--gr-yellow)}.gr-pill.orange{background:var(--gr-orange-bg);color:var(--gr-orange)}.gr-pill.red{background:var(--gr-red-bg);color:var(--gr-red)}.gr-pill.none{background:#f2f4f7;color:var(--gr-ink2)}
.gr-num{font-weight:700;font-variant-numeric:tabular-nums}.gr-num.green{color:var(--gr-green)}.gr-num.yellow{color:var(--gr-yellow)}.gr-num.orange{color:var(--gr-orange)}.gr-num.red{color:var(--gr-red)}
.gr-red-row{background:#fff7f6}
.gr-spark{display:inline-flex;align-items:center;gap:6px}.gr-spark polyline{fill:none;stroke:var(--gr-blue);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}.gr-spark .thr{stroke:#f3c4bf;stroke-dasharray:3 3}.gr-spark b{font-size:12px;font-variant-numeric:tabular-nums}.gr-spark b.up{color:var(--gr-green)}.gr-spark b.down{color:var(--gr-red)}
.gr-legend{font-size:12px;margin:8px 0 14px}
.gr-adv{border:1px solid var(--gr-line);border-radius:12px;padding:10px 12px;margin-bottom:8px;background:#fff}.gr-adv summary{cursor:pointer;font-size:14px}
.linklike{border:0;background:none;color:var(--gr-blue);font-weight:700;padding:0;cursor:pointer;font:inherit}
/* forms */
.gr-form label{display:block;font-size:13px;font-weight:700;color:#344054;margin:10px 0 6px}.gr-form input,.gr-form select,.gr-form textarea{width:100%}
.gr-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}
.gr-in{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--gr-ink2)}
.gr-inline{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}.gr-inline input,.gr-inline select{width:auto!important;flex:1;min-width:160px}
.gr-seg{display:inline-flex;background:#f2f4f7;border-radius:11px;padding:3px;gap:2px;margin:4px 0 10px;flex-wrap:wrap}.gr-seg button{border:0;background:transparent;border-radius:9px;padding:7px 12px;font-weight:700;color:var(--gr-ink2);font:inherit;font-size:13px}.gr-seg button.on{background:#fff;color:var(--gr-ink);box-shadow:0 1px 3px rgba(16,24,40,.12)}
.gr-chips,.gr-quick{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.gr-chip{border:1px solid var(--gr-line);background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:13px;font-weight:600;color:var(--gr-ink)}.gr-chip small{color:var(--gr-ink2);font-weight:600;margin-left:3px}.gr-chip.on{background:var(--gr-blue);border-color:var(--gr-blue);color:#fff}.gr-chip.on small{color:#dbeafe}
.gr-pick{max-height:280px;overflow:auto;border:1px solid var(--gr-line);border-radius:12px;padding:6px;margin-top:8px;display:grid;gap:4px}
.gr-pick .route-pick{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;margin:0!important;padding:8px 10px!important;border-radius:10px;border:1px solid transparent;font-weight:600}.gr-pick .route-pick input{width:18px!important;height:18px;flex:0 0 auto}.gr-pick .route-pick span{flex:1}.gr-pick .route-pick small{color:var(--gr-ink2)}.gr-pick .route-pick.in-route{background:var(--gr-blue-bg);border-color:#bcd7f5}
.gr-preview{margin:12px 0;padding:12px 14px;border-radius:12px;background:#f6f8fb;font-size:14px}
/* campaigns */
.gr-camp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.gr-camp-card{display:flex;flex-direction:column;gap:8px;text-align:left;background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:16px;cursor:pointer;font:inherit;color:var(--gr-ink);transition:box-shadow .15s,transform .15s}.gr-camp-card:hover{box-shadow:0 8px 22px rgba(16,24,40,.08);transform:translateY(-1px)}
.gr-camp-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.gr-camp-top b{font-size:16px}.gr-camp-card>small{color:var(--gr-ink2);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gr-camp-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--gr-ink2)}
.gr-camp-prog{display:flex;align-items:baseline;gap:8px}.gr-camp-prog strong{font-size:26px;font-weight:800}.gr-camp-prog span{font-size:12px;color:var(--gr-ink2)}
.gr-camp-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}.gr-camp-hero p{font-size:15px;line-height:1.5;margin:0 0 8px}
.gr-camp-big{position:relative;display:grid;place-items:center;text-align:center}.gr-camp-big b{position:absolute;top:30px;font-size:22px;font-weight:800}.gr-camp-big span{font-size:12px;color:var(--gr-ink2);margin-top:4px}
.gr-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.gr-regions{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}.gr-reg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;border:1px solid var(--gr-line);border-radius:12px;padding:10px 12px}.gr-reg small{display:block;color:var(--gr-ink2);font-size:12px}.gr-reg .gr-bar{grid-column:1/-1}.gr-reg>span{font-weight:700;font-variant-numeric:tabular-nums}
.gr-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.gr-gallery a{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--gr-line);text-decoration:none;color:var(--gr-ink);background:#fff}.gr-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f2f4f7}.gr-gallery span{display:block;padding:6px 8px;font-size:12px;font-weight:600}.gr-gallery small{display:block;color:var(--gr-ink2);font-weight:500}
.gr-list{display:flex;flex-direction:column;border:1px solid var(--gr-line);border-radius:12px;overflow:hidden;background:#fff}
.gr-li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid var(--gr-line)}.gr-li:first-child{border-top:0}.gr-li>div{flex:1;min-width:0}.gr-li small{display:block;color:var(--gr-ink2);font-size:12px;overflow:hidden;text-overflow:ellipsis}.gr-li.done{background:#fbfefc}
.gr-li .btn.done{color:var(--gr-green);border-color:#bfe6cc}
.gr-empty-hero{text-align:center;padding:40px 20px;background:#fff;border:1px dashed var(--gr-line);border-radius:16px}.gr-empty-hero svg{width:42px;height:42px;color:var(--gr-blue)}.gr-empty-hero p{max-width:560px;margin:8px auto 16px;color:var(--gr-ink2);line-height:1.5}
/* visit form additions */
.camp-list{display:grid;gap:8px}.camp-row{display:flex!important;gap:12px;align-items:flex-start;border:1px solid #cfe0f3;background:#f7fbff;border-radius:12px;padding:12px!important;margin:0!important;font-weight:500!important}.camp-row input{width:20px!important;height:20px;margin-top:2px;accent-color:var(--gr-green);flex:0 0 auto}.camp-row span{display:flex;flex-direction:column;gap:3px}.camp-row small{color:var(--gr-ink2);line-height:1.4}.camp-row em{font-style:normal;font-size:12px;font-weight:700;color:var(--gr-blue)}.camp-row:has(input:checked){border-color:#a9dcbc;background:var(--gr-green-bg)}.camp-row:has(input:checked) em{color:var(--gr-green)}
.dist-known{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px;font-size:13px}.dist-known .muted{flex-basis:100%;font-size:12px}
.dist-other-row{margin-top:8px!important;border-style:dashed!important}
.seg-choice{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin:6px 0 4px}
.seg-choice button{min-height:46px;border:1px solid #d0d9e4;background:#fff;border-radius:12px;font:inherit;font-size:16px;font-weight:700;color:var(--gr-ink);transition:background .12s,border-color .12s,color .12s}
.seg-choice button.on{background:var(--gr-blue);border-color:var(--gr-blue);color:#fff;box-shadow:0 2px 8px rgba(10,111,214,.25)}
.seg-choice.two button[data-v="white"].on{background:#fff;color:var(--gr-ink);border:2px solid var(--gr-ink);box-shadow:0 2px 8px rgba(16,24,40,.12)}
.seg-choice.two button[data-v="gray"].on{background:#667085;border-color:#667085;color:#fff}
#visitSchoolMore{margin-top:8px}
/* wholesale */
.gr-ws{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;margin-bottom:16px}.gr-ws .gr-ws-top{grid-row:span 2}.gr-ws-kpi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;grid-column:1/-1;padding:10px}.gr-ws-kpi .gr-tile{border:0;background:#f6f8fb}
.gr-lead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;text-align:left;border:0;border-top:1px solid var(--gr-line);background:none;padding:10px 2px;font:inherit;color:var(--gr-ink);cursor:pointer;align-items:center}.gr-lead:first-of-type{border-top:0}.gr-lead:hover{background:#f9fbfd}
.gr-lead b{font-size:15px;margin-right:6px}.gr-lead small{display:block;color:var(--gr-ink2);font-size:12px;margin-top:2px}.gr-lead small.why{color:#344054}
.gr-lead-step{font-size:12px;text-align:right;max-width:220px;color:#344054}.gr-lead-step em{font-style:normal;font-weight:800;color:var(--gr-red)}.gr-lead-step em.today{color:var(--gr-blue)}
.gr-lead.overdue,.gr-lead.nostep{box-shadow:inset 3px 0 0 var(--gr-red);padding-left:10px}
.gr-stars{color:#f5a623;letter-spacing:1px;font-size:13px}.gr-stars s{color:#dfe3e8;text-decoration:none}
.gr-funnel{display:grid;gap:7px}.gr-funnel>div{display:grid;grid-template-columns:120px minmax(0,1fr) 34px;gap:10px;align-items:center;font-size:13px}.gr-funnel b{text-align:right;font-variant-numeric:tabular-nums}
.gr-fbar{height:14px;border-radius:6px;background:#f2f4f7;overflow:hidden}.gr-fbar i{display:block;height:100%;background:linear-gradient(90deg,#5aa6f0,var(--gr-blue));border-radius:6px}
.gr-alert{display:block;width:100%;margin-top:12px;text-align:left;border:1px solid #f5c2bd;background:var(--gr-red-bg);color:var(--gr-red);border-radius:12px;padding:10px 12px;font:inherit;font-size:13px;cursor:pointer}.gr-ok{margin-top:12px;color:var(--gr-green);font-size:13px;font-weight:700}
.gr-spots{display:grid;gap:4px;margin-bottom:10px}.gr-spot{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--gr-line);font-size:13px}.gr-spot:first-child{border-top:0}.gr-spot small{display:block;color:var(--gr-ink2);font-size:12px}
.ws-step{margin:8px 0 2px;padding:8px 10px;border-radius:10px;background:#f6f8fb;font-size:12px;display:flex;flex-direction:column;gap:2px}.ws-step b{font-size:12px}.ws-step.bad{background:var(--gr-red-bg);color:var(--gr-red)}.ws-step.today{background:var(--gr-blue-bg);color:var(--gr-blue)}.ws-step span{color:#344054}
.gr-score{display:flex;flex-direction:column;gap:2px;margin:6px 0 0;font-size:12px}.gr-score small{color:var(--gr-ink2)}
.ws-next-step{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px}.ws-next-hint{display:block;margin-top:-4px}
.gr-ws-retail{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.gr-ws-retail .gr-tile{background:#f6f8fb;border:0}
.gr-mini-chart{display:flex;align-items:flex-end;gap:6px;height:90px;padding:8px 0 18px}.gr-mini-chart>div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.gr-mini-chart i{display:block;width:100%;max-width:26px;background:#cfd8e3;border-radius:5px 5px 2px 2px}.gr-mini-chart i.after{background:var(--gr-blue)}.gr-mini-chart span{position:absolute;bottom:-16px;font-size:10px;color:var(--gr-ink2)}
/* achievements */
.gr-ach-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.gr-ach-bar input,.gr-ach-bar select{width:auto!important}
.gr-ach-hero{display:flex;gap:12px;align-items:center;margin-bottom:14px}.gr-ach-hero svg{width:40px;height:40px;color:#e0a100;background:#fff7e0;border-radius:12px;padding:8px}.gr-ach-hero b{display:block;font-size:18px}.gr-ach-hero span{color:var(--gr-ink2);font-size:13px}
.gr-ach-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.gr-ach{background:#f6f8fb;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}.gr-ach span{font-size:12px;font-weight:700;color:var(--gr-ink2)}.gr-ach strong{font-size:30px;font-weight:800;letter-spacing:-.02em}.gr-ach small{font-size:12px;color:var(--gr-ink2)}.gr-ach em{font-style:normal;font-size:12px;font-weight:700;margin-top:4px}.gr-ach em.up{color:var(--gr-green)}.gr-ach em.down{color:var(--gr-red)}
.gr-ach.accent{background:linear-gradient(135deg,#0a6fd6,#3d8ff0);color:#fff}.gr-ach.accent span,.gr-ach.accent small{color:#dbeafe}.gr-ach.accent em.up,.gr-ach.accent em.down{color:#fff}
.gr-wins{list-style:none;padding:0;margin:0;display:grid;gap:8px}.gr-wins li{padding:10px 12px 10px 38px;border-radius:12px;background:var(--gr-green-bg);position:relative;font-size:14px;line-height:1.4}.gr-wins li::before{content:"✓";position:absolute;left:14px;top:10px;color:var(--gr-green);font-weight:800}.gr-wins.rec li{background:#fff7e0}.gr-wins.rec li::before{content:"★";color:#e0a100}
.route-alert.campaign{background:var(--gr-blue-bg);color:var(--gr-blue)}.route-alert.remark{background:var(--gr-red-bg);color:var(--gr-red)}
/* warehouse quick order */
.wh-quick{display:grid;gap:6px;max-height:48vh;overflow:auto;border:1px solid var(--gr-line);border-radius:12px;padding:6px}
.wh-quick-row{display:grid;grid-template-columns:22px minmax(0,1fr) 92px;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;border:1px solid transparent}.wh-quick-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--gr-blue)}.wh-quick-row small{display:block;color:var(--gr-ink2);font-size:12px}.wh-quick-row input[type=number]{width:92px;text-align:center;font-weight:700}.wh-quick-row input[type=number]:disabled{opacity:.35}
.wh-quick-row.on{background:var(--gr-blue-bg);border-color:#bcd7f5}
.wh-quick-cat{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2);padding:8px 10px 2px}
.wh-quick-sum{position:sticky;bottom:0;background:#fff;padding:10px 0 0;display:flex;justify-content:space-between;align-items:center;gap:10px}
@media (max-width:760px){
  .gr-dash,.gr-dash-mgr,.gr-ws,.gr-ws-retail,.gr-ct-head{grid-template-columns:1fr}.gr-ws .gr-ws-top{grid-row:auto}.gr-ws-kpi{grid-template-columns:1fr 1fr}
  .gr-dqi-top{grid-template-columns:auto minmax(0,1fr)}.gr-dqi-place{grid-column:1/-1;text-align:left;flex-direction:row;align-items:baseline;gap:8px;flex-wrap:wrap}
  .gr-dqi-top .gr-ring{width:88px;height:88px}.gr-dqi-num b{font-size:38px}
  .gr-parts{grid-template-columns:1fr}.gr-parts>div{grid-template-columns:110px minmax(0,1fr) 28px}
  .gr-step{grid-template-columns:24px minmax(0,1fr) auto}.gr-step .btn{grid-column:2/-1;justify-self:start}
  .gr-grid3{grid-template-columns:1fr 1fr}.gr-camp-hero{grid-template-columns:1fr}.gr-camp-big{justify-self:start}
  .gr-lead{grid-template-columns:1fr}.gr-lead-step{text-align:left;max-width:none}
  .ws-next-step{grid-template-columns:1fr}.gr-funnel>div{grid-template-columns:100px minmax(0,1fr) 30px}
  .seg-choice button{min-height:48px}
  .gr-modal .modal-sheet{border-radius:16px 16px 0 0}
}
.wh-order-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#0a6fd6,#3d8ff0);color:#fff;border-radius:16px;padding:14px 16px;margin:0 0 12px}.wh-order-cta b{display:block;font-size:16px}.wh-order-cta span{font-size:13px;opacity:.9}.wh-order-cta .btn{background:#fff;color:#0a6fd6;flex:0 0 auto}
.rp-catalog summary{list-style:none;display:flex;flex-direction:column;gap:2px;padding:15px 16px;cursor:pointer}.rp-catalog summary::-webkit-details-marker{display:none}.rp-catalog summary h2{margin:0}.rp-catalog[open] summary{border-bottom:1px solid var(--gr-line)}.rp-catalog td{vertical-align:top;line-height:1.45;font-size:13px}
.gr-modal .modal-head h2{font-size:21px;letter-spacing:-.01em}.gr-form label.check-row{margin:12px 0 0!important;min-height:0}
.ws-step[data-step]{cursor:pointer}.ws-step[data-step]:hover{filter:brightness(.98)}
.mp-seg.mp-mode{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}.mp-seg.mp-mode button{font-size:12px;padding-left:4px;padding-right:4px;white-space:nowrap}
/* ===== 7.29.1: ровные фильтры на iPad / iPhone (Safari рисует date/month выше и с центровкой текста) ===== */
input[type=date],input[type=month],input[type=time],input[type=datetime-local]{-webkit-appearance:none;appearance:none;min-width:0;text-align:left;line-height:1.25;display:block}
input[type=date]::-webkit-date-and-time-value,input[type=month]::-webkit-date-and-time-value,input[type=datetime-local]::-webkit-date-and-time-value{text-align:left;margin:0;min-height:1.25em;line-height:1.25}
input[type=date]::-webkit-datetime-edit,input[type=month]::-webkit-datetime-edit{padding:0}
.toolbar,.wh-toolbar,.rp-filters,.ct-filters,.wholesale-dashboard-toolbar,.rt-filters,.wholesale-toolbar{align-items:flex-end!important}
.search,.toolbar input:not([type=checkbox]):not([type=radio]),.toolbar select,.page-head select,.wh-field input,.wh-field select,.rp-filters input,.rp-filters select,.ct-filters input,.ct-filters select,.rt-filters input,.rt-filters select,.dashboard-scope select,.filter-control,.act-kpi-month,.act-kpi-user,#kpiWorkList .toolbar input,#kpiWorkList .toolbar select{box-sizing:border-box;height:40px!important;min-height:40px!important;padding:0 12px!important;line-height:38px;border-radius:10px;border:1px solid #d5dee8;background-color:#fff;color:var(--gr-ink);font-weight:500;vertical-align:bottom;margin:0}
.toolbar select,.rp-filters select,.ct-filters select,.rt-filters select,.filter-control:is(select),.act-kpi-user,#kpiWorkList .toolbar select,.page-head select{-webkit-appearance:none;appearance:none;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
.rp-filters,.ct-filters,.rt-filters{padding:12px 14px!important;gap:10px 12px!important}
.rp-filters label,.ct-filters label,.rt-filters label,.toolbar label,#kpiWorkList .toolbar label{display:flex!important;flex-direction:column;gap:4px;margin:0!important;font-size:12px!important;font-weight:600;color:var(--gr-ink2);min-width:0}
.rp-filters label{min-width:150px}
.rp-close{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;align-self:center}
.toolbar .btn,.rp-filters .btn,.rt-filters .btn,.ct-filters .btn{height:40px;min-height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;margin:0}
input[type=month].filter-control,.toolbar input[type=month],.rp-filters input[type=month],.rt-filters input[type=month]{width:170px}
@media (max-width:760px){input[type=month].filter-control,.toolbar input[type=month],.rp-filters input[type=month]{width:100%}}
/* 7.29.1 lineup editor */
.prod-search{width:100%;max-width:none;margin:4px 0 12px}
.prod-group{margin-bottom:14px}.prod-group h4{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2);display:inline}.prod-group>h4{display:block}.prod-group summary{cursor:pointer;margin-bottom:6px}
.prod-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid var(--gr-line);border-radius:12px;background:#fff;margin-bottom:6px}
.prod-row.off{grid-template-columns:minmax(0,1fr) auto;opacity:.75}
.prod-name b{display:block;font-size:14px}.prod-name small{display:block;font-size:12px;color:var(--gr-ink2);margin-top:1px}
.seg-mini{display:inline-flex;background:#f2f4f7;border-radius:10px;padding:3px;gap:2px}.seg-mini button{border:0;background:transparent;border-radius:8px;padding:6px 10px;font:inherit;font-size:13px;font-weight:600;color:var(--gr-ink2);cursor:pointer}.seg-mini button.on{background:#fff;color:var(--gr-ink);box-shadow:0 1px 3px rgba(16,24,40,.14)}.seg-mini button.on[data-life=current]{color:var(--gr-green)}.seg-mini button:disabled{cursor:default}
.icon-del{width:36px;height:36px;border-radius:10px;border:1px solid #f1c9c4;background:#fff;color:var(--gr-red);display:grid;place-items:center;cursor:pointer}.icon-del:hover{background:var(--gr-red-bg)}
@media (max-width:560px){.prod-row{grid-template-columns:minmax(0,1fr) auto}.prod-row .seg-mini{grid-column:1/2;justify-self:start}.prod-row .icon-del{grid-row:1/3;grid-column:2}}
/* 7.29.1 cards ↔ list */
.view-switch{display:flex;justify-content:flex-end;margin:0 0 10px}.panel>.view-switch{padding:10px 14px 0;margin:0}
.view-switch .seg-mini button{display:inline-flex;align-items:center;gap:6px}
.cards-grid.as-list{display:flex!important;flex-direction:column;gap:0!important;background:#fff;border:1px solid var(--gr-line);border-radius:14px;overflow:hidden}
.panel .cards-grid.as-list{border:0;border-top:1px solid var(--gr-line);border-radius:0}
.cards-grid.as-list>*{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:auto;grid-auto-flow:row;column-gap:14px;row-gap:3px;align-items:center;align-content:center;margin:0!important;padding:10px 14px!important;border:0!important;border-bottom:1px solid var(--gr-line)!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;height:auto!important;background:#fff;transform:none!important;text-align:left!important}
.cards-grid.as-list>*:last-child{border-bottom:0!important}.cards-grid.as-list>*:hover{background:#f9fbfd}
.cards-grid.as-list>*>*{grid-column:1;margin:0!important;min-height:0!important;height:auto!important;max-height:none;flex:none!important;text-align:left!important;justify-self:stretch;align-self:center}
.cards-grid.as-list>* h3,.cards-grid.as-list>* .list-title{font-size:15px!important;line-height:1.3;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cards-grid.as-list .chain-card-top{display:flex!important;align-items:center;gap:8px;justify-content:flex-start}
.cards-grid.as-list .entity-address,.cards-grid.as-list .list-sub,.cards-grid.as-list .muted{font-size:12px!important;line-height:1.35;color:var(--gr-ink2)}
.cards-grid.as-list .entity-meta,.cards-grid.as-list .wholesale-sales,.cards-grid.as-list .route-meta,.cards-grid.as-list .product-chips{display:flex!important;flex-wrap:wrap;gap:4px!important}
.cards-grid.as-list .badge,.cards-grid.as-list .product-chip{font-size:11px;padding:2px 7px}
.cards-grid.as-list>* .entity-actions,.cards-grid.as-list>* .row-actions{grid-column:2!important;grid-row:1/span 8;align-self:center!important;display:flex!important;flex-direction:row!important;gap:6px;justify-self:end}
.cards-grid.as-list .entity-actions .btn,.cards-grid.as-list .row-actions .btn{flex:0 0 auto!important;width:auto!important;min-height:32px!important;height:32px!important;padding:0 12px!important;font-size:13px;margin:0!important}
@media (max-width:760px){.cards-grid.as-list>*{grid-template-columns:1fr}.cards-grid.as-list>* .entity-actions,.cards-grid.as-list>* .row-actions{grid-column:1!important;grid-row:auto;justify-self:start;margin-top:4px!important}}
.cards-grid.as-list .ws-step,.cards-grid.as-list .ws-score-slot,.cards-grid.as-list .gr-score{margin:0;flex:0 1 auto;padding:4px 8px}
.cards-grid.as-list .ws-score-slot small,.cards-grid.as-list .gr-score small{display:none}
.seg-choice .seg-more{font-size:14px;color:var(--gr-ink2)}.seg-choice .seg-more.on{color:#fff}

.wholesale-toolbar .search{flex:1 1 220px;width:auto;max-width:none}.rp-filters label{min-width:130px}
@media (max-width:1180px){.gr-ws{grid-template-columns:1fr}.gr-ws .gr-ws-top{grid-row:auto}}
.badge{white-space:nowrap}
/* ===== 7.29.2 dashboard: territory heatmap, BA vs team, marks, distributors ===== */
.tc-filters{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end;justify-content:space-between;margin:4px 0 12px}
.tc-chips{display:flex;flex-wrap:wrap;gap:6px}.tc-chips .gr-chip{padding:5px 11px;font-size:12.5px}
.tc-right{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.tc-right label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--gr-ink2);margin:0}
.tc-right select{height:38px;border:1px solid #d5dee8;border-radius:10px;padding:0 34px 0 12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;-webkit-appearance:none;appearance:none;font:inherit;font-size:13px;color:var(--gr-ink)}
.tc-right .tc-below{height:38px;padding:0 12px!important;flex-direction:row!important;align-items:center}
.tc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--gr-line);border-radius:14px;background:#fff}
.tc-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.tc-table th{position:sticky;top:0;background:#f8fafc;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2);padding:10px 12px;border-bottom:1px solid var(--gr-line);white-space:nowrap}
.tc-table td{padding:9px 12px;border-bottom:1px solid #eef2f6;vertical-align:middle}.tc-table tr:last-child td{border-bottom:0}
.tc-table td:first-child{min-width:150px}.tc-table td:first-child b{display:block;font-size:14px}.tc-table td small{display:block;font-size:11.5px;color:var(--gr-ink2);margin-top:1px}
.tc-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-cell{min-width:112px}.tc-val{display:flex;align-items:baseline;gap:6px}.tc-val b{font-size:15px;font-variant-numeric:tabular-nums}.tc-val em{font-style:normal;font-size:11px;font-weight:700}.tc-val em.up{color:var(--gr-green)}.tc-val em.down{color:var(--gr-red)}
.tc-bar{position:relative;height:6px;border-radius:99px;background:#eef1f5;margin:5px 0 3px;overflow:visible}.tc-bar i{display:block;height:100%;border-radius:99px;background:#98a2b3}.tc-bar s{position:absolute;top:-3px;width:2px;height:12px;background:var(--gr-ink);border-radius:2px;opacity:.55;margin-left:-1px}
.tc-cell.up .tc-val b{color:var(--gr-green)}.tc-cell.up .tc-bar i{background:var(--gr-green)}
.tc-cell.near .tc-val b{color:var(--gr-yellow)}.tc-cell.near .tc-bar i{background:#e0a100}
.tc-cell.down .tc-val b{color:var(--gr-red)}.tc-cell.down .tc-bar i{background:#f04438}.tc-cell.down{background:#fff8f7}
.tc-cell.avg .tc-bar i{background:var(--gr-blue)}.team-average-row td{background:#f3f8fe}.team-average-row td:first-child b{color:var(--gr-blue)}
.tc-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--gr-ink2);margin-top:8px}.tc-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}.tc-legend i.up{background:var(--gr-green)}.tc-legend i.near{background:#e0a100}.tc-legend i.down{background:#f04438}.tc-legend s{display:inline-block;width:2px;height:12px;background:var(--gr-ink);opacity:.55;margin-right:6px;vertical-align:-2px}
/* BA coverage cards vs team */
.coverage-card .coverage-track{position:relative;overflow:visible}.cov-avg{position:absolute;top:-4px;width:2px;height:calc(100% + 8px);background:var(--gr-ink);opacity:.6;border-radius:2px;margin-left:-1px;z-index:1}
.cov-avg-label{font-size:12px;color:var(--gr-ink2);margin-top:6px}
.cov-note{margin-top:8px;font-size:12.5px;line-height:1.4;padding:7px 9px;border-radius:9px}.cov-note.bad{background:var(--gr-red-bg);color:#912018}.cov-note.good{background:var(--gr-green-bg);color:var(--gr-green);font-weight:600}
.coverage-card.below{border-color:#f5c2bd;box-shadow:inset 3px 0 0 #f04438}.coverage-card.below .coverage-card-head strong{color:var(--gr-red)}.coverage-card.below .coverage-track span{background:#f04438}
.coverage-card.above .coverage-card-head strong{color:var(--gr-green)}.coverage-card.above .coverage-track span{background:var(--gr-green)}
/* marks */
.gr-marks .muted{font-size:12.5px;margin:0 0 8px}.gr-mark{margin:10px 0}.gr-mark-top{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px}.gr-mark-top b{font-variant-numeric:tabular-nums}
.gr-mark .gr-bar{position:relative;overflow:visible}.gr-mark .gr-bar s{position:absolute;top:-3px;width:2px;height:14px;background:var(--gr-ink);opacity:.5;margin-left:-1px}.gr-mark small{display:block;font-size:12px;color:var(--gr-ink2);margin-top:4px}.gr-mark.ok small{color:var(--gr-green);font-weight:600}
.gr-marks.done{padding:12px 16px}.gr-marks.done .gr-ok{margin:0}
/* distributors panel */
.gr-dist{margin-bottom:16px}.gr-dist-body{padding:14px 16px}.gr-dist-body h4{margin:16px 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2)}
.gr-dist-kpi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.gr-dist-kpi .gr-tile{background:#f6f8fb;border:0}.gr-dist-kpi .gr-tile.bad strong{color:var(--gr-red)}
.gr-dist-table{overflow-x:auto;border:1px solid var(--gr-line);border-radius:14px}
.gr-hbar{height:8px;border-radius:99px;background:#eef1f5;min-width:90px;overflow:hidden}.gr-hbar i{display:block;height:100%;background:var(--gr-blue);border-radius:99px}
.gr-plus{color:var(--gr-green);font-weight:700}.gr-mini-spark polyline{fill:none;stroke:var(--gr-blue);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
/* clickable recent visits */
#recentVisits .list-row.clickable{cursor:pointer;position:relative;padding-right:34px;transition:background .12s}#recentVisits .list-row.clickable:hover{background:#f6f9fc}
#recentVisits .row-chevron{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:22px;color:#98a2b3;line-height:1}
@media (max-width:760px){.gr-dist-kpi{grid-template-columns:1fr}.tc-filters{flex-direction:column;align-items:stretch}.tc-right{justify-content:space-between}}
/* 7.29.3 store filters + tighter list rows */
.store-filters{flex-wrap:wrap;margin-bottom:12px}.store-filters label:not(.check-row){min-width:160px}
.store-filters .check-row{height:40px;padding:0 12px!important;flex-direction:row!important;align-items:center;border:1px solid #d5dee8!important;border-radius:10px;background:#fff;font-size:13px!important;color:var(--gr-ink)!important;font-weight:600}
.store-filters #storeCountBadge{align-self:center;margin-left:auto}
.cards-grid.as-list>*{padding:8px 14px!important;row-gap:2px}
.cards-grid.as-list>* h3{font-size:14.5px!important}
@media (max-width:760px){.store-filters{display:grid!important;grid-template-columns:1fr 1fr}.store-filters label:not(.check-row){min-width:0}.store-filters #storeCountBadge{grid-column:1/-1;margin:0}}
.sp-filters{padding:10px 14px 0;flex-wrap:wrap;margin:0}.sp-filters .search{flex:1 1 240px;max-width:none}.sp-filters label{min-width:170px}
.toolbar label.hidden,.store-filters label.hidden{display:none!important}
/* 7.29.3 view as */
.gr-viewas{margin-bottom:14px}.gr-viewas-body{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px 16px}.gr-viewas-body select{min-width:260px;flex:1 1 260px}
.viewas-banner{position:sticky;top:0;z-index:950;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;background:#1d2939;color:#fff;padding:8px 14px;font-size:13.5px}.viewas-banner .btn{background:#fff;color:#1d2939;min-height:32px;height:32px;padding:0 12px;border-radius:9px;font-weight:700}

/* 7.30.0: Отчёты HQ + галерея конкурентов */
.hq-bar{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:flex-end;justify-content:space-between;background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:12px 14px;margin-bottom:14px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.hq-bar .gr-seg{margin:0}
.hq-filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.hq-filters label,.hq-lang{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--gr-ink2)}
.hq-filters select{min-width:150px;height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;color:var(--gr-ink)}
.hq-all{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#0a6fd6,#3b8ff0);color:#fff;border-radius:18px;padding:16px 18px;margin-bottom:16px}
.hq-all b{display:block;font-size:17px}.hq-all small{display:block;opacity:.9;margin-top:3px;line-height:1.4}
.hq-all>div:nth-child(2){flex:1;min-width:0}
.hq-all-ico{width:46px;height:46px;border-radius:13px;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.hq-all-ico svg{width:24px;height:24px;stroke:#fff;fill:none}
.hq-all .btn{background:#fff;color:#0a6fd6;border-color:#fff;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.hq-all .btn svg{width:16px;height:16px;stroke:currentColor;fill:none}
.hq-depts{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;align-items:start}
.hq-dept{background:#fff;border:1px solid var(--gr-line);border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.hq-dept header{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--gr-line)}
.hq-dept h3{margin:0;font-size:16px}.hq-dept header small{color:var(--gr-ink2);font-size:12.5px}
.hq-ico{width:36px;height:36px;border-radius:10px;background:var(--gr-blue-bg);display:grid;place-items:center;flex:none}
.hq-ico svg{width:19px;height:19px;stroke:var(--gr-blue);fill:none}
.hq-dept[data-dept=chains] .hq-ico{background:#f1ecfe}.hq-dept[data-dept=chains] .hq-ico svg{stroke:#6d4ae0}
.hq-dept[data-dept=mkt] .hq-ico{background:#fff1e6}.hq-dept[data-dept=mkt] .hq-ico svg{stroke:#c65400}
.hq-dept[data-dept=ws] .hq-ico{background:var(--gr-green-bg)}.hq-dept[data-dept=ws] .hq-ico svg{stroke:var(--gr-green)}
.hq-dept[data-dept=school] .hq-ico{background:#fdf0f7}.hq-dept[data-dept=school] .hq-ico svg{stroke:#c0267a}
.hq-row{display:flex;align-items:center;gap:12px;padding:11px 16px;border-top:1px solid #f2f4f7}
.hq-row:first-child{border-top:0}
.hq-row>div:first-child{flex:1;min-width:0}.hq-row b{display:block;font-size:14px}.hq-row small{display:block;color:var(--gr-ink2);font-size:12.5px;line-height:1.35;margin-top:2px}
.hq-row .btn{min-width:78px;flex:none}
.hq-row-act{display:flex;gap:6px;align-items:center;flex:none}
.hq-row-act select{height:32px;border:1px solid var(--gr-line);border-radius:9px;font:inherit;font-size:12.5px;padding:0 6px;background:#fff;max-width:120px}
.hq-note{color:var(--gr-ink2);font-size:12.5px;margin:14px 2px}
.hq-comp-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}
.hq-comp-bar .gr-seg{margin:0}
.hq-comp-bar input[type=search]{flex:1;min-width:200px;height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 12px;font:inherit;font-size:14px}
.hq-comp-bar select{height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;max-width:200px}
.hq-check{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;white-space:nowrap}
.hq-comp-sum{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13.5px;color:var(--gr-ink2);margin:4px 2px 12px}.hq-comp-sum b{color:var(--gr-ink);font-size:15px}
.hq-comp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;align-items:start}
.hq-comp-card{background:#fff;border:1px solid var(--gr-line);border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04);display:flex;flex-direction:column}
.hq-comp-cover{position:relative;display:block;width:100%;height:230px;min-height:0;border:0;padding:0;background:#f2f4f7;cursor:zoom-in}
.hq-comp-cover img{width:100%;height:100%;object-fit:cover;display:block}
.hq-comp-cover em{position:absolute;right:8px;bottom:8px;background:rgba(16,24,40,.72);color:#fff;font-style:normal;font-weight:700;font-size:12px;padding:3px 8px;border-radius:999px}
.hq-comp-cover.empty{display:grid;place-items:center;cursor:default;color:var(--gr-ink2);font-size:13px;height:64px}
.hq-comp-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:3px}
.hq-comp-thumbs button{border:0;padding:0;height:64px;min-height:0;background:#f2f4f7;border-radius:6px;overflow:hidden;cursor:zoom-in}
.hq-comp-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.hq-comp-info{padding:12px 14px 14px}
.hq-comp-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.hq-comp-head b{font-size:14.5px}.hq-comp-head span{color:var(--gr-ink2);font-size:12.5px;white-space:nowrap}
.hq-comp-info>small{display:block;color:var(--gr-ink2);font-size:12.5px;margin-top:2px;line-height:1.35}
.hq-comp-note{margin:8px 0 0;font-size:13.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word;max-height:9.2em;overflow:auto}
.hq-comp-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:10px;font-size:12px;color:var(--gr-ink2)}
.hq-comp-meta span{background:#f2f4f7;border-radius:999px;padding:3px 9px}
.hq-more{display:flex;justify-content:center;margin:16px 0}
.hq-lb{position:fixed;inset:0;z-index:10000;background:rgba(10,12,16,.92);display:flex;align-items:center;justify-content:center;padding:40px 60px}
.hq-lb figure{margin:0;display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%}
.hq-lb img{max-width:100%;max-height:calc(100vh - 190px);object-fit:contain;border-radius:8px;background:#111}
.hq-lb figcaption{color:#e5e7eb;font-size:13.5px;margin-top:12px;max-width:760px;text-align:center;line-height:1.45}
.hq-lb figcaption p{margin:6px 0;color:#fff;white-space:pre-wrap}.hq-lb figcaption a{color:#93c5fd}
.hq-lb-n{margin-left:8px;opacity:.7}
.hq-lb-x{position:absolute;top:12px;right:16px;border:0;background:rgba(255,255,255,.12);color:#fff;width:40px;height:40px;border-radius:50%;font-size:24px;cursor:pointer}
.hq-lb-nav{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.12);color:#fff;width:44px;height:64px;border-radius:12px;font-size:32px;cursor:pointer}
.hq-lb-nav.prev{left:10px}.hq-lb-nav.next{right:10px}
@media (max-width:700px){.hq-bar{padding:10px}.hq-filters{width:100%}.hq-filters label{flex:1 1 140px}.hq-filters select{width:100%;min-width:0}.hq-all{flex-wrap:wrap}.hq-all .btn{width:100%;justify-content:center}.hq-depts{grid-template-columns:1fr}.hq-lb{padding:50px 8px 16px}.hq-lb-nav{width:36px;height:52px;font-size:26px}.hq-comp-bar select{max-width:none;flex:1}}
.lang-menu{position:fixed;z-index:9999;background:#fff;border:1px solid var(--gr-line);border-radius:14px;box-shadow:0 12px 32px rgba(16,24,40,.18);padding:6px;min-width:170px}
.lang-menu button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:14px;border:0;background:transparent;border-radius:9px;padding:9px 12px;font:inherit;font-size:14.5px;font-weight:600;color:var(--gr-ink);cursor:pointer}
.lang-menu button:hover{background:#f2f4f7}.lang-menu button.on{color:var(--gr-blue)}.lang-menu em{font-style:normal;font-size:12px;color:var(--gr-ink2)}.lang-menu button.on em{color:var(--gr-blue)}
.q-fix{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.q-fix label.btn{cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.act-missing{margin:8px 0 2px;padding:8px 11px;border-radius:10px;background:#fff5d6;color:#8a5a00;font-size:13px;font-weight:600;line-height:1.35}
/* 7.30.4: searchable picker (новый магазин: сеть, дистрибьютор) */
select.pk-native{display:none!important}
.pk{position:relative}
.pk-field{position:relative}
.pk-input{width:100%;padding-right:40px!important}
.pk-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:#eef1f5;color:#667085;width:28px;height:28px;border-radius:50%;font-size:17px;line-height:1;cursor:pointer}
.pk-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:50;background:#fff;border:1px solid #e6ebf1;border-radius:14px;box-shadow:0 14px 34px rgba(16,24,40,.16);max-height:300px;overflow:auto;padding:5px}
.pk-list button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;border:0;background:transparent;border-radius:9px;padding:10px 11px;font:inherit;font-size:15px;color:#1d2939;text-align:left;cursor:pointer}
.pk-list button:hover,.pk-list button:active{background:#f2f4f7}
.pk-list button small{color:#667085;font-size:12px;white-space:nowrap}.pk-list button em{font-style:normal;color:#1f9d55;font-weight:700}
.pk-list .pk-all{justify-content:center;color:#0a6fd6;font-weight:700;border-top:1px solid #eef1f5;border-radius:0 0 9px 9px}
.pk-empty{padding:10px 11px;color:#667085;font-size:13px}
/* 7.30.5: photos in «Редактировать визит» */
.vp-warn{margin:4px 0 10px;padding:9px 12px;border-radius:10px;background:#fdecea;color:#b42318;font-size:13.5px;font-weight:600;line-height:1.35}
.vp-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:8px}
.vp-tile{display:flex!important;flex-direction:column;gap:3px;border:1px solid #e6ebf1;border-radius:14px;padding:8px;background:#fff;cursor:pointer;position:relative}
.vp-tile .vp-img{display:grid;place-items:center;height:100px;border-radius:10px;background:#f2f4f7;overflow:hidden}
.vp-tile .vp-img img{width:100%;height:100%;object-fit:cover}
.vp-tile .vp-img i{font-style:normal;font-weight:700;color:#98a2b3;font-size:15px}
.vp-tile.miss{border-color:#f04438;background:#fff8f7}.vp-tile.miss .vp-img{background:#fdecea}.vp-tile.miss .vp-img i{color:#d92d20}
.vp-tile b{font-size:13.5px}.vp-tile small{font-size:11.5px;color:#667085}
.vp-tile.busy{opacity:.6;pointer-events:none}
.vp-tile input[type=file]{display:none!important}
/* 7.31.0: wholesale «Продажи в месяц» */
.ws-plan h4{margin:16px 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--gr-ink2)}
.wsp-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.wsp-head h3{margin:0}
.wsp-month{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:700;color:var(--gr-ink2)}
.wsp-head select,.wsp-row select,.wsp-row input,.wsp-tier input{height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;color:var(--gr-ink);width:100%}
.wsp-avg{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin:12px 0}
.wsp-avg-main{flex:1 1 240px;background:linear-gradient(135deg,#0a6fd6,#3b8ff0);color:#fff;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.wsp-avg-main span{font-size:12.5px;font-weight:700;opacity:.9;text-transform:uppercase;letter-spacing:.03em}.wsp-avg-main strong{font-size:32px;line-height:1.1}.wsp-avg-main strong small{font-size:15px;opacity:.85}.wsp-avg-main em{font-style:normal;font-size:12.5px;opacity:.9}
.wsp-avg-side{flex:1 1 200px;display:flex;flex-direction:column;justify-content:center;gap:6px;background:#f7f9fc;border:1px solid var(--gr-line);border-radius:16px;padding:12px 14px;font-size:13.5px;color:var(--gr-ink2)}.wsp-avg-side b{color:var(--gr-ink);float:right}
.wsp-set{border:1px solid var(--gr-line);border-radius:14px;padding:10px 12px;margin-bottom:12px;background:#fff}.wsp-set summary{cursor:pointer;font-weight:700;font-size:14px}
.wsp-form{margin-top:10px}.wsp-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.wsp-row label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--gr-ink2)}
.wsp-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.wsp-tier{border:1px solid var(--gr-line);border-radius:16px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:8px}
.wsp-tier.ok{border-color:#a6e3bd;background:var(--gr-green-bg)}
.wsp-tier-h{display:flex;align-items:baseline;gap:6px}.wsp-tier-h b{font-size:24px;color:var(--gr-blue)}.wsp-tier.ok .wsp-tier-h b{color:var(--gr-green)}.wsp-tier-h span{font-size:12.5px;color:var(--gr-ink2);font-weight:700}
.wsp-tier label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--gr-ink2)}.wsp-tier small{font-size:12.5px;color:var(--gr-ink2)}.wsp-done{color:var(--gr-green)}
.wsp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
.wsp-chart{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;height:120px;margin-top:14px;align-items:end}
.wsp-col{display:flex;flex-direction:column;align-items:center;height:100%;gap:3px}.wsp-col small{font-size:10.5px;color:var(--gr-ink2)}
.wsp-bars{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.wsp-bars i{display:block;width:40%;min-height:2px;border-radius:3px 3px 0 0}
.wsp-bars i.in,.wsp-legend i.in{background:#9cc3f5}.wsp-bars i.out,.wsp-legend i.out{background:#0a6fd6}
.wsp-legend{display:flex;gap:14px;font-size:12px;color:var(--gr-ink2);margin-top:6px}.wsp-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.wsp-hist{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:700px){.wsp-tiers{grid-template-columns:1fr}}
.route-card.visited{background:#f3fbf6;border-color:#bfe8cf}.route-card.visited .route-num{background:#1f9d55;color:#fff}
.legacy-add{width:100%;margin-top:8px;height:42px;border:1px dashed #9cc3f5;border-radius:12px;padding:0 12px;font:inherit;font-size:14px;background:#f7fbff;color:#0a6fd6;font-weight:600}
.visit-deadline{display:flex;flex-direction:column;gap:4px;margin-top:8px}.visit-deadline input{max-width:220px}
/* 7.31.0: Проверка чеков / Рейтинг по чекам */
.sh-status{display:flex;align-items:center;gap:12px;border-radius:14px;padding:11px 14px;margin-bottom:12px;background:#f7f9fc;border:1px solid var(--gr-line)}
.sh-status .dot{width:10px;height:10px;border-radius:50%;background:#1f9d55;flex:none}.sh-status.bad .dot{background:#d92d20}.sh-status>div{flex:1;min-width:0}.sh-status b{display:block;font-size:14px}.sh-status small{color:var(--gr-ink2);font-size:12.5px}
.sh-status.off{background:#fff5d6;border-color:#f5d88a;color:#7a5200;display:block}.sh-status.on{background:#f3fbf6;border-color:#bfe8cf}.sh-status.bad{background:#fdecea;border-color:#f7c1bb}
.sh-tabs{margin:0 0 12px}.sh-tabs small{font-weight:700;color:var(--gr-blue);margin-left:2px}
.sh-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.sh-filters select,.sh-filters input{height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff}
.sh-filters input[type=search]{flex:1;min-width:200px}.sh-filters label{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--gr-ink2);font-weight:600}
.sh-defpts input{width:90px}
.sh-sum{font-size:13.5px;color:var(--gr-ink2);margin:0 2px 10px}.sh-sum b{color:var(--gr-ink)}.sh-dirty{color:#b54708;font-weight:700}
.sh-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px;align-items:start}
.sh-card{display:flex;gap:12px;background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:12px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.sh-card.approved{border-left:4px solid #1f9d55}.sh-card.rejected{border-left:4px solid #d92d20}.sh-card.pending{border-left:4px solid #f79009}
.sh-photo{flex:none;width:110px;height:140px;border-radius:12px;overflow:hidden;background:#f2f4f7;display:grid;place-items:center;text-decoration:none;color:var(--gr-ink2);font-size:12.5px;text-align:center}
.sh-photo img{width:100%;height:100%;object-fit:cover}
.sh-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.sh-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.sh-head b{font-size:15px}
.sh-info>small{color:var(--gr-ink2);font-size:12.5px;word-break:break-all}
.sh-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--gr-ink2)}.sh-flag{color:#b42318;font-weight:700}
.sh-prods{display:flex;flex-wrap:wrap;gap:4px}.sh-prods span{background:#eef4ff;color:#1849a9;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600}.sh-prods.big span{font-size:13px;padding:4px 11px}.sh-prods.big b{margin-left:4px}
.sh-ocr summary{cursor:pointer;font-size:12.5px;color:var(--gr-blue);font-weight:600}.sh-ocr p{margin:6px 0 0;font-size:12.5px;white-space:pre-wrap;max-height:9em;overflow:auto;background:#f7f9fc;border-radius:8px;padding:8px}
.sh-decision{font-size:12.5px;color:var(--gr-ink2);background:#f7f9fc;border-radius:8px;padding:6px 9px}
.sh-act{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:4px}.sh-pts{width:80px;height:34px;border:1px solid var(--gr-line);border-radius:9px;padding:0 8px;font:inherit}
.sh-link{display:flex;flex-direction:column;gap:12px}
.sh-step{display:flex;gap:12px;background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:14px}.sh-step>b{flex:none;width:30px;height:30px;border-radius:50%;background:var(--gr-blue);color:#fff;display:grid;place-items:center}.sh-step>div{flex:1;min-width:0}.sh-step h4{margin:3px 0 4px;font-size:15px}.sh-step p{margin:0 0 8px;font-size:13.5px;color:var(--gr-ink2);line-height:1.45}
.sh-code{width:100%;height:170px;font:12px/1.4 ui-monospace,Menlo,monospace;border:1px solid var(--gr-line);border-radius:10px;padding:8px;background:#0f172a;color:#e2e8f0;margin-bottom:8px}
.sh-url{display:flex;gap:8px;flex-wrap:wrap}.sh-url input{flex:1;min-width:240px;height:40px;border:1px solid var(--gr-line);border-radius:10px;padding:0 12px;font:inherit}
.sh-note{font-size:13px;color:var(--gr-ink2);background:#f7f9fc;border-radius:12px;padding:12px;line-height:1.5}
.sh-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.sh-kpis>div{background:#fff;border:1px solid var(--gr-line);border-radius:14px;padding:12px}.sh-kpis span{display:block;font-size:12px;color:var(--gr-ink2);font-weight:700;text-transform:uppercase}.sh-kpis b{font-size:24px}.sh-kpis small{margin-left:6px;color:var(--gr-ink2)}
.sh-grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-bottom:12px}
.sh-panel{background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:14px;margin-bottom:12px;min-width:0}.sh-panel h3{margin:0 0 10px;font-size:15px}.sh-panel td small{display:block;color:var(--gr-ink2);font-size:11.5px}
.sh-months{display:flex;gap:6px;height:130px;align-items:flex-end}.sh-mcol{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;gap:3px}.sh-mcol small{font-size:10.5px;color:var(--gr-ink2)}
.sh-mbar{flex:1;width:100%;position:relative}.sh-mbar i{position:absolute;bottom:0;left:15%;width:70%;border-radius:4px 4px 0 0}.sh-mbar i.all{background:#9cc3f5}.sh-mbar i.ok{background:#0a6fd6;left:30%;width:40%}
@media (max-width:800px){.sh-grid2{grid-template-columns:1fr}.sh-kpis{grid-template-columns:repeat(2,1fr)}.sh-list{grid-template-columns:1fr}.sh-photo{width:90px;height:120px}}
/* 7.31.1: Контроль — что BA выбрал в визите */
.ctd{display:flex;flex-direction:column;gap:6px;margin:10px 0;padding:10px 12px;background:#f7f9fc;border-radius:12px}
.ctd-row{display:flex;gap:10px;align-items:flex-start}.ctd-l{flex:none;width:110px;font-size:12px;font-weight:700;color:var(--gr-ink2);text-transform:uppercase;letter-spacing:.03em;padding-top:4px}
.ctd-v{flex:1;display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:13.5px;min-width:0}.ctd-v small{width:100%;font-size:11.5px}
.ctd-chip{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:3px 9px;font-size:12.5px;font-weight:600;background:#eef1f5;color:#344054}
.ctd-chip.cur{background:#e8f7ee;color:#1f7a45}.ctd-chip.old{background:#f2f4f7;color:#667085}.ctd-chip.add{box-shadow:inset 0 0 0 1px #1f9d55}.ctd-chip.rem{background:#fdecea;color:#b42318;text-decoration:line-through}
.ctd-chip.dist{background:#eef4ff;color:#1849a9}.ctd-chip.white{background:#fff;border:1px solid #d0d5dd}.ctd-chip.gray{background:#d0d5dd;color:#344054}
.ctd-chip.due{background:#fff5d6;color:#8a5a00}.ctd-chip.nodue{background:#f2f4f7;color:#667085}
@media (max-width:600px){.ctd-row{flex-direction:column;gap:3px}.ctd-l{width:auto;padding:0}}
/* 7.31.6: единый просмотр фото */
.pv{position:fixed;inset:0;z-index:100000;background:rgba(10,12,16,.94);display:none;align-items:center;justify-content:center;padding:56px 56px 24px;touch-action:pan-y}
.pv.on{display:flex}body.pv-lock{overflow:hidden}
.pv figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;max-height:100%;min-width:0}
.pv img{max-width:100%;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);object-fit:contain;border-radius:8px;visibility:hidden;background:#111}
.pv-load{color:#cbd5e1;font-size:14px;padding:30px;text-align:center}.pv-load a{color:#93c5fd}
.pv figcaption{color:#e5e7eb;font-size:13.5px;margin-top:12px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center;align-items:center}.pv figcaption a{color:#93c5fd}.pv-n{opacity:.7}
.pv-x{position:fixed;top:max(12px,env(safe-area-inset-top));right:14px;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer;z-index:2}
.pv-x:active{background:rgba(255,255,255,.3)}
.pv-nav{position:fixed;top:50%;transform:translateY(-50%);width:44px;height:64px;border-radius:12px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:32px;cursor:pointer}
.pv-prev{left:8px}.pv-next{right:8px}
@media (max-width:700px){.pv{padding:64px 8px 16px}.pv-nav{width:36px;height:52px;font-size:26px;background:rgba(255,255,255,.1)}}
/* 7.31.7: карточки чеков одного размера, фото из таблицы */
.sh-list{align-items:stretch;grid-auto-rows:1fr}
.sh-card{height:100%;min-height:236px;box-sizing:border-box}
.sh-info{min-height:0}.sh-info .sh-act{margin-top:auto}
.sh-photo{width:120px;height:200px;align-self:stretch;height:auto;min-height:170px;position:relative}
.sh-photo img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.sh-photo .sh-ph-err{display:none;padding:8px;font-size:12px}.sh-photo.err img{display:none}.sh-photo.err .sh-ph-err{display:block}
.sh-photo.none{display:grid;place-items:center}
.sh-ocr p{max-height:6.5em}
.sh-head b{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sh-card .sh-ocr[open] p{max-height:9em}
/* 7.32.0: Замечания */
.rm-push{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;background:#fff;border:1px solid var(--gr-line);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.rm-push>div{flex:1;min-width:200px}.rm-push b{display:block;font-size:14.5px}.rm-push small{display:block;color:var(--gr-ink2);font-size:12.5px;margin-top:2px;line-height:1.4}
.rm-push.on{background:#f3fbf6;border-color:#bfe8cf}.rm-push.off{background:#eef4ff;border-color:#c7d7fe}.rm-push.denied,.rm-push.ios-browser{background:#fff5d6;border-color:#f5d88a}
.rm-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.rm-bar .gr-seg{margin:0}.rm-bar select{height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;background:#fff}
.rm-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:12px;align-items:start}
.rm-thread{background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.rm-thread.new{border-color:#f79009;box-shadow:0 0 0 2px #fef0c7}
.rm-thread header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.rm-thread header b{display:block;font-size:15.5px}.rm-thread header small{display:block;color:var(--gr-ink2);font-size:12.5px}
.rm-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-start}
.rm-photos{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))!important}
.rm-msgs{display:flex;flex-direction:column;gap:8px}
.rm-msg{display:flex}.rm-msg.mine{justify-content:flex-end}
.rm-bubble{max-width:85%;border-radius:14px;padding:8px 11px;background:#f2f4f7}.rm-msg.mgr .rm-bubble{background:#fff4e5;border:1px solid #fde2b5}.rm-msg.ba .rm-bubble{background:#e8f2fd;border:1px solid #c7defa}
.rm-bubble small{display:block;font-size:11.5px;color:var(--gr-ink2);margin-bottom:2px}.rm-bubble p{margin:0;font-size:14px;line-height:1.4;white-space:pre-wrap;word-break:break-word}
.rm-reply{display:flex;gap:8px;align-items:flex-end}.rm-reply textarea{flex:1;min-height:44px;border:1px solid var(--gr-line);border-radius:12px;padding:9px 11px;font:inherit;font-size:14px;resize:vertical}
.rm-dash{background:#fff;border:1px solid #f5d88a;border-radius:16px;padding:12px 14px;margin:0 0 14px;box-shadow:0 0 0 3px #fff5d6}
.rm-dash-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.rm-dash-head h3{margin:0;font-size:15.5px}
.rm-dash-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid #f2f4f7}
.rm-dash-row>div:first-child{flex:1;min-width:0}.rm-dash-row b{font-size:14px}.rm-dash-row small{display:block;color:var(--gr-ink2);font-size:12px;margin-top:2px}.rm-dash-row p{margin:5px 0 0;font-size:14px;background:#e8f2fd;border-radius:10px;padding:7px 10px;display:inline-block}
.rm-dash-act{display:flex;gap:6px;flex:none}
@media (max-width:700px){.rm-list{grid-template-columns:1fr}.rm-dash-row{flex-direction:column;align-items:stretch}.rm-dash-act{justify-content:flex-end}}
/* 7.33.0: Контроль → Рабочий день */
.wd-rules{background:#f7f9fc;border:1px solid var(--gr-line);border-radius:12px;padding:10px 14px;font-size:13.5px;color:var(--gr-ink2);margin-bottom:12px}.wd-rules b{color:var(--gr-ink)}
.wd-set{background:#fff;border:1px solid var(--gr-line);border-radius:12px;padding:10px 14px;margin-bottom:12px}.wd-set summary{cursor:pointer;font-weight:700}
.wd-set-body{margin-top:10px}.wd-set-row,.wd-tz{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}.wd-set label,.wd-tz label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--gr-ink2)}
.wd-set input,.wd-set select{height:36px;border:1px solid var(--gr-line);border-radius:9px;padding:0 8px;font:inherit}.wd-set h4{margin:14px 0 8px;font-size:12px;text-transform:uppercase;color:var(--gr-ink2)}.wd-set .btn{margin-top:12px}
.wd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(460px,1fr));gap:12px;align-items:start}
.wd-card{background:#fff;border:1px solid var(--gr-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
.wd-card header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.wd-card h3{margin:0;font-size:16px}.wd-card header small{color:var(--gr-ink2);font-size:12.5px}
.wd-seen{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;border-radius:999px;padding:4px 10px;white-space:nowrap;background:#f2f4f7;color:#667085}.wd-seen i{width:8px;height:8px;border-radius:50%;background:#98a2b3}
.wd-seen.online{background:#e8f7ee;color:#1f7a45}.wd-seen.online i{background:#1f9d55;box-shadow:0 0 0 3px #bfe8cf}.wd-seen.recent{background:#fff5d6;color:#8a5a00}.wd-seen.recent i{background:#f79009}.wd-seen.offline i{background:#d92d20}
.wd-last{font-size:13.5px;color:var(--gr-ink2)}.wd-last b{color:var(--gr-ink)}
.wd-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.wd-stats>div{background:#f7f9fc;border-radius:10px;padding:8px}.wd-stats span{display:block;font-size:11px;color:var(--gr-ink2);font-weight:700}.wd-stats b{font-size:18px}.wd-stats b.bad{color:#d92d20}.wd-stats b.ok{color:#1f7a45}
.wd-card details summary{cursor:pointer;font-weight:700;font-size:13.5px;color:var(--gr-blue)}.wd-table td small{display:block;color:var(--gr-ink2);font-size:11px;margin-top:2px}
@media (max-width:700px){.wd-grid{grid-template-columns:1fr}.wd-stats{grid-template-columns:repeat(3,1fr)}}
.ct-filters{display:flex!important;flex-wrap:wrap;gap:10px 12px;align-items:flex-end}.ct-filters #ctTabFilters{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end}
.ct-filters label{display:flex;flex-direction:column;gap:4px;min-width:150px}
/* 7.34.0: wholesale dashboard — plan from the calendar + comments */
.gr-ws-plan{display:flex;flex-direction:column;gap:10px}
.gr-ws-plan-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.gr-ws-plan-head h3{margin:0}
.gr-plan{display:flex;flex-direction:column}
.gr-plan-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 2px;border-top:1px solid var(--gr-line,#eef1f5)}.gr-plan-row:first-child{border-top:0}
.gr-plan-when b{display:block;font-size:13px;color:#1d2939}.gr-plan-when span{font-size:12px;color:#667085}
.gr-plan-row.today .gr-plan-when b{color:#1570ef}.gr-plan-row.overdue .gr-plan-when b{color:#d92d20}
.gr-plan-body b{display:block;font-size:14px;line-height:1.3}.gr-plan-body small{display:block;font-size:12px;color:#667085;margin-top:2px}.gr-plan-body a{color:#1570ef;text-decoration:none}
.gr-plan-done{width:32px;height:32px;border-radius:50%;border:1px solid #d0d5dd;background:#fff;color:#12b76a;font-size:16px;font-weight:700;cursor:pointer}.gr-plan-done:hover{background:#ecfdf3;border-color:#12b76a}
.gr-notes{border-top:1px solid var(--gr-line,#eef1f5);padding-top:10px}.gr-notes h3{margin:0 0 8px}
.gr-note-form{display:flex;gap:8px;align-items:flex-end;margin-bottom:8px}.gr-note-form textarea{flex:1;min-height:44px;resize:vertical;border:1px solid #d0d5dd;border-radius:10px;padding:8px 10px;font:inherit;font-size:14px}
.gr-note-list{display:flex;flex-direction:column;gap:6px;max-height:320px;overflow:auto}
.gr-note{display:flex;gap:8px;justify-content:space-between;background:#fffbea;border:1px solid #fde68a;border-radius:10px;padding:8px 10px}.gr-note small{color:#8a6d1a;font-size:11.5px}.gr-note p{margin:3px 0 0;white-space:pre-wrap;font-size:14px;color:#1d2939}
.gr-note-del{border:0;background:none;color:#98a2b3;font-size:18px;line-height:1;cursor:pointer;align-self:flex-start}.gr-note-del:hover{color:#d92d20}
.rs-pk input{width:100%}
@media (max-width:640px){.gr-plan-row{grid-template-columns:74px minmax(0,1fr) auto}.gr-note-form{flex-direction:column;align-items:stretch}}
/* 7.35.0: BA morning report, motivation reminders, chain motivations / exchanges */
.dy-card{border-radius:18px;background:#fff;border:1px solid #e6ebf1;box-shadow:0 6px 20px rgba(16,24,40,.06);padding:16px;margin-bottom:14px;border-left:6px solid #12b76a;transition:opacity .25s,transform .25s}
.dy-card.is-bad{border-left-color:#f04438}.dy-card.dy-gone{opacity:0;transform:translateY(-6px)}
.dy-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}.dy-head small{font-size:11px;letter-spacing:.08em;color:#0176d3;font-weight:700}.dy-head h3{margin:2px 0 0;font-size:18px}
.dy-body{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:12px}
.dy-time{border-radius:14px;padding:14px;display:flex;flex-wrap:wrap;gap:10px 18px;align-content:flex-start}
.dy-time.good{background:#ecfdf3;color:#05603a}.dy-time.bad{background:#fef3f2;color:#b42318}
.dy-hm span{display:block;font-size:12px;opacity:.8}.dy-hm b{font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}.dy-hm b.bad{color:#d92d20}
.dy-time small{flex-basis:100%;font-size:13px;font-weight:600}.dy-time>b{font-size:18px}
.dy-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.dy-tile{background:#f6f8fb;border-radius:12px;padding:10px 12px}.dy-tile span{display:block;font-size:12px;color:#667085}.dy-tile strong{display:block;font-size:24px;line-height:1.2;color:#1d2939}.dy-tile small{display:block;font-size:12px;color:#667085}
.dy-tile.main{background:#eef6ff}.dy-tile.main strong{color:#0b4f9c}
.dy-list{margin-top:10px;font-size:13px}.dy-list summary{cursor:pointer;color:#0176d3;font-weight:600}.dy-list div{display:flex;gap:10px;padding:4px 0;border-bottom:1px solid #f2f4f7}.dy-list span{color:#667085;min-width:92px;font-variant-numeric:tabular-nums}
.dy-remind{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fffaeb;border:1px solid #fedf89;border-radius:14px;padding:12px 14px;margin-bottom:10px}.dy-remind b{display:block;font-size:14px}.dy-remind small{color:#93370d;font-size:12.5px}
.dy-remind.overdue{background:#fef3f2;border-color:#fecdca}.dy-remind.overdue small{color:#b42318}
.dy-start{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.dy-big{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;text-align:left;border:1px solid #d6e4f5;background:linear-gradient(180deg,#f5faff,#eaf3ff);border-radius:14px;padding:12px 14px;cursor:pointer;font:inherit;color:#1d2939}
.dy-big span{grid-row:span 2;font-size:26px}.dy-big b{font-size:15px}.dy-big small{color:#667085;font-size:12px}.dy-big:hover{border-color:#0176d3}
.dy-item{border:1px solid #e6ebf1;border-radius:14px;padding:12px;margin-top:8px;background:#fff}
.dy-item-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.dy-item-head small{display:block;color:#667085;font-size:12px}
.dy-mot-grid{display:flex;flex-wrap:wrap;gap:8px 22px;margin:8px 0}.dy-mot-grid small{display:block;color:#667085;font-size:12px}.dy-mot-grid b{font-size:18px}.dy-mot-grid b.good{color:#12b76a}.dy-mot-grid b.bad{color:#d92d20}
.dy-due{font-size:13px;padding:7px 10px;border-radius:10px;background:#f2f4f7;margin:6px 0}.dy-due.warn{background:#fffaeb;color:#93370d}.dy-due.bad{background:#fef3f2;color:#b42318;font-weight:600}
.dy-exc{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}.dy-exc>div>small{display:block;color:#667085;font-size:12px;margin-bottom:4px}
.dy-row{display:flex;justify-content:space-between;gap:8px;font-size:13.5px;padding:3px 0;border-bottom:1px dashed #eaecf0}
.rb-answer{background:#f0f9ff;border-radius:10px;padding:8px 10px;margin-top:6px}.rb-answer small{display:block;color:#026aa2;font-size:11.5px;font-weight:600}
.dy-modal{max-width:620px}.dy-form{display:flex;flex-direction:column;gap:10px}.dy-form fieldset{border:1px solid #e6ebf1;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:10px}.dy-form legend{font-weight:700;font-size:14px;padding:0 4px}
.dy-file{border:1.5px dashed #b2ccff;border-radius:12px;padding:10px 12px;background:#f5f8ff}.dy-file span{font-weight:600}.dy-file em{font-style:normal;color:#d92d20;font-size:12px;margin-left:4px}.dy-file input{margin:6px 0 2px}
.dy-pick{max-height:46vh;overflow:auto;border:1px solid #e6ebf1;border-radius:12px;padding:4px}
.dy-pick-cat{font-size:12px;font-weight:700;color:#667085;padding:8px 8px 4px;text-transform:uppercase;letter-spacing:.04em}
.dy-pick-row{display:grid;grid-template-columns:auto minmax(0,1fr) 84px;gap:10px;align-items:center;padding:8px;border-radius:10px;cursor:pointer}.dy-pick-row.on{background:#eef6ff}.dy-pick-row small{display:block;color:#667085;font-size:12px}.dy-pick-row input[type=number]{width:84px}
.dy-sum{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;position:sticky;bottom:0;background:#fff;padding-top:8px}
.badge.task{background:#f4ebff;color:#6941c6}
@media (max-width:760px){.dy-body{grid-template-columns:1fr}.dy-start{grid-template-columns:1fr}.dy-exc{grid-template-columns:1fr}.dy-tiles{grid-template-columns:1fr 1fr}.dy-remind{flex-direction:column;align-items:stretch}}
.dy-modal .dy-pick-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) 88px!important;gap:10px!important;align-items:center;padding:8px 10px;margin:0;font-weight:500;flex-direction:initial}
.dy-modal .dy-pick-row input[type=checkbox]{width:20px!important;height:20px!important;min-height:0!important;margin:0;padding:0;accent-color:#0176d3}
.dy-modal .dy-pick-row input[type=number]{width:88px!important;min-height:38px;padding:6px 8px;text-align:center;font-weight:700}.dy-modal .dy-pick-row input[type=number]:disabled{opacity:.35}
.dy-modal .dy-pick-row span{font-size:14.5px;color:#1d2939}
.bb-log{max-height:420px;overflow:auto;background:#0f172a;color:#e2e8f0;font-size:12px;padding:12px;border-radius:12px;white-space:pre-wrap;word-break:break-word}
.route-night-note{background:#fffaeb;border:1px solid #fedf89;color:#93370d;border-radius:10px;padding:8px 12px;font-size:13.5px;font-weight:600;margin:4px 0 8px;width:100%}
/* 7.36.0: several photos per block, distributors / wholesalers tabs */
.mp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin:0 0 8px}
.mp-tile{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#eef2f6;border:1px solid #e4e7ec}
.mp-tile img{width:100%;height:100%;object-fit:cover;display:block}
.mp-tile span{position:absolute;left:6px;bottom:6px;background:rgba(16,24,40,.65);color:#fff;font-size:11px;font-weight:700;border-radius:8px;padding:1px 6px}
.mp-tile button{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(16,24,40,.72);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.upload-card.mp-full{display:none}
.dist-tabs{display:flex;gap:6px;background:#f2f4f7;border-radius:12px;padding:4px;margin-bottom:10px}
.dist-tabs button{flex:1;border:0;background:transparent;border-radius:9px;padding:10px 8px;font:inherit;font-weight:700;font-size:14px;color:#475467;cursor:pointer}
.dist-tabs button.on{background:#fff;color:#0176d3;box-shadow:0 1px 3px rgba(16,24,40,.12)}
.dist-tabs button b{color:#12b76a}
.upload-card.required-upload.mp-has>span::after{content:none}
/* 7.37.0: stock report date on wholesale cards; wholesalers named by stores */
.ws-stock-date{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center;margin:8px 0 2px;padding:8px 10px;border-radius:12px;border:1px solid #e4e7ec;background:#f9fafb;font-weight:600;font-size:13px}
.ws-stock-date span{grid-row:span 2;color:#344054}.ws-stock-date input{min-height:34px;padding:4px 8px;font-size:14px;width:100%}.ws-stock-date small{font-size:12px;font-weight:600;color:#667085}
.ws-stock-date.good{border-color:#abefc6;background:#f6fef9}.ws-stock-date.good small{color:#067647}
.ws-stock-date.warn{border-color:#fedf89;background:#fffaeb}.ws-stock-date.warn small{color:#b54708}
.ws-stock-date.bad{border-color:#fecdca;background:#fef3f2}.ws-stock-date.bad small{color:#b42318}
.gr-chip-btn{cursor:pointer;font:inherit}.gr-chip-btn:hover{border-color:#0176d3;color:#0176d3}.gr-chip-btn em{font-style:normal;color:#067647;font-size:12px;margin-left:4px}
.gr-ws-ment{grid-column:1/-1}.gr-ws-ment-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}.gr-ws-ment-head h3{margin:0}
.gr-ment-list{display:flex;flex-direction:column;margin:8px 0}
.gr-ment{display:grid;grid-template-columns:minmax(0,1.3fr) auto minmax(0,1.6fr);gap:10px;align-items:center;padding:9px 2px;border-top:1px solid var(--gr-line,#eef1f5)}.gr-ment:first-child{border-top:0}
.gr-ment-name b{display:block;font-size:14.5px}.gr-ment-name small{color:#667085;font-size:12px}
.gr-ment-n{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:5px 12px;font:inherit;font-size:13px;font-weight:700;color:#0176d3;cursor:pointer;white-space:nowrap}.gr-ment-n:hover{background:#eff8ff}
.gr-ment-act{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center}.gr-ment-act select{max-width:230px;min-height:34px;font-size:13px}
.gr-ment.linked{background:#f6fef9}
.gr-li-btn{width:100%;text-align:left;background:none;border:0;border-top:1px solid #eef1f5;font:inherit;cursor:pointer;display:flex;justify-content:space-between;gap:10px;padding:10px 2px}.gr-li-btn:hover{background:#f9fbfd}.gr-li-btn small{display:block;color:#667085;font-size:12px}
@media (max-width:760px){.gr-ment{grid-template-columns:1fr auto}.gr-ment-act{grid-column:1/-1;justify-content:flex-start}.gr-ment-act select{max-width:100%;flex:1}}
/* 7.37.1: iPhone — scroll inside the app, not the page: Safari 26 toolbar no longer drags the bottom menu / visit buttons */
html.ios-scroll,html.ios-scroll body{height:100%;overflow:hidden;overscroll-behavior:none}
html.ios-scroll body{padding-bottom:0!important;min-height:0}
html.ios-scroll #app{position:fixed;inset:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;min-height:0}
/* 7.37.2: while a window (visit, card, dialog) is open the page underneath must not scroll — on iPhone it could take the taps */
html.ios-scroll.ios-modal #app{overflow:hidden}
html.ios-scroll #loginScreen{position:fixed;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
@media (max-width:900px){html.ios-scroll #app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}}
/* 7.37.1: manager remarks on the BA home screen */
.ct-remarks-dash{background:#fef3f2;border:1px solid #fecdca;border-radius:16px;padding:12px 14px;margin-bottom:14px}
.crd-head b{display:block;color:#b42318;font-size:15px}.crd-head small{color:#b54708;font-size:12.5px}
.crd-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #fde2de;margin-top:8px}
.crd-row b{display:block;font-size:14.5px;color:#1d2939}.crd-row small{color:#667085;font-size:12px}.crd-row p{margin:4px 0 0;font-size:14px;color:#7a271a}
/* 7.37.3: iPhone zooms in when a field with text smaller than 16px gets focus — then the visit window «walks» left/right.
   16px fields and no double-tap zoom keep the screen fixed like an app. */
html{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (max-width:900px),(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}
#visitModal .modal-sheet,.modal .modal-sheet{overflow-x:hidden;max-width:100vw}
#visitForm{min-width:0;max-width:100%}
/* 7.39.1: comments on top (big card), top-5 leads under «Запланировано» */
.gr-ws-notes-card .gr-notes{border-top:0;padding-top:0}.gr-ws-notes-card .gr-note-list{max-height:560px}
.gr-ws-leads{border-top:1px solid var(--gr-line,#eef1f5);padding-top:10px}.gr-ws-leads h3{margin:0 0 6px}
/* 7.40.3 wholesale plan from date */
.wsp-head input[type=date]{height:38px;border:1px solid var(--gr-line);border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;color:var(--gr-ink)}
.wsp-tier.wip{background:#fff}.wsp-unsaved{color:#b45309!important;font-weight:600}

/* 7.40.22: on phones the picker list is in the flow, so the page can scroll it above the keyboard */
@media (max-width:760px){.pk-list{position:static;margin-top:4px;box-shadow:0 6px 18px rgba(16,24,40,.12)}}
/* 7.40.52: вкладки карты не наезжают друг на друга; блок «Ассортимент по территориям» — заголовок сверху */
.mp-seg.mp-mode button{white-space:normal!important;line-height:1.15;min-height:34px;overflow:hidden;overflow-wrap:anywhere;text-align:center;display:flex;align-items:center;justify-content:center}
.team-coverage-wrap.manager-only{display:block}
.team-coverage-wrap .section-head{display:block;width:100%;margin-bottom:8px}
