/* «Обзор сети» (WB cabinet): «Главное + вкладки», agreed prototype v9 (the «network-overview» folder of the development notes).
   Every rule is limited to the screen root .nov, so the rest of the site is not touched. .nov.ph = the phone layout (set by js/net-overview.js
   at the same width as the prototype's phone frame). Colours come from the site tokens (css/redesign.css); three names of the prototype are
   mapped here: --line, --none-ink, --none-bg. */
.nov{--line:var(--line-2);--none-ink:var(--faint);--none-bg:var(--surface-3)}
.nov h3,.nov h4{text-wrap:balance;margin:0}
.nov .num{font-variant-numeric:tabular-nums}
.nov .faint{color:var(--faint)}
.nov .opts{display:flex;flex-wrap:wrap;background:var(--card);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}
.nov .opts button{font:inherit;font-size:13px;border:0;background:transparent;color:var(--muted);padding:6px 11px;border-radius:7px;cursor:pointer}
.nov .opts button[aria-pressed="true"]{background:var(--accent);color:var(--card)}
.nov .scr{font-size:14px}
.nov .top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.nov .top h3{font-size:22px;font-weight:700}
.nov .scope{font-size:13px;color:var(--muted)}
.nov .stabs{display:flex;gap:2px;margin:12px 0 16px;background:var(--card);border:1px solid var(--border);border-radius:11px;padding:3px;width:max-content;max-width:100%;overflow-x:auto}
.nov .stabs button{font:inherit;font-size:13.5px;font-weight:600;border:0;background:transparent;color:var(--muted);padding:7px 13px;border-radius:8px;cursor:pointer;white-space:nowrap}
.nov.ph .stabs button{padding:7px 9px;font-size:13px}
.nov .stabs button[aria-selected="true"]{background:var(--accent-soft);color:var(--accent-ink)}
.nov .stabs .cnt{display:inline-block;min-width:18px;padding:0 5px;margin-left:5px;border-radius:9px;background:var(--bad-ink);color:#fff;font-size:11px;line-height:18px;text-align:center}
.nov .panel{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:var(--shadow);min-width:0}
.nov.ph .panel{padding:14px}
.nov .stack{display:flex;flex-direction:column;gap:14px}
.nov .hero{display:flex;gap:14px;align-items:center}
.nov .hero .ic{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.nov .hero .ic svg{width:24px;height:24px}
.nov .hero h4{font-size:19px;font-weight:700}
.nov .hero p{color:var(--muted);font-size:13.5px;margin-top:2px}
.nov .ic.bad{background:var(--bad-bg);color:var(--bad-ink)}
.nov .ic.ok{background:var(--ok-bg);color:var(--ok-ink)}
.nov .ic.warn{background:var(--warn-bg);color:var(--warn-ink)}
.nov .todo{list-style:none;margin:12px 0 0;padding:0}
.nov .todo li{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line)}
.nov .dot{width:10px;height:10px;border-radius:3px;flex:none}
.nov .dot.bad{background:var(--bad-ink)}
.nov .dot.warn{background:var(--warn-ink);border-radius:50%}
.nov .todo .t{flex:1;min-width:0}
.nov .todo .t b{font-weight:600;display:block;overflow-wrap:anywhere}
.nov .todo .t span{font-size:12.5px;color:var(--muted)}
.nov .act{font:inherit;font-size:13px;font-weight:600;border:0;background:var(--accent-soft);color:var(--accent-ink);padding:7px 12px;border-radius:9px;cursor:pointer;white-space:nowrap}
.nov.ph .todo li{display:grid;grid-template-columns:10px minmax(0,1fr);gap:6px 12px;align-items:start}
.nov.ph .todo .dot{margin-top:6px}
.nov.ph .todo .act{grid-column:2;justify-self:start;padding:6px 11px}
.nov.ph .hero .ic{width:38px;height:38px}
.nov.ph .hero h4{font-size:17px}
.nov.ph .top h3{font-size:20px}
.nov .more{font:inherit;font-size:13px;background:none;border:0;color:var(--accent-ink);font-weight:600;cursor:pointer;padding:10px 0 0}
.nov .tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nov.ph .tiles{grid-template-columns:minmax(0,1fr)}
.nov .tile{font:inherit;text-align:left;color:inherit;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:15px;cursor:pointer;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px;min-width:0}
.nov .tile:hover{border-color:var(--accent)}
.nov .tile .l{font-size:12.5px;color:var(--muted);font-weight:600;display:flex;justify-content:space-between;gap:6px}
.nov .tile .l i{font-style:normal;color:var(--accent-ink)}
.nov .tile .v{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.15}
.nov .tile .v small{font-size:13.5px;font-weight:500;color:var(--muted)}
.nov .tile .s{font-size:12.5px;color:var(--muted)}
.nov .bar{display:flex;height:8px;border-radius:5px;overflow:hidden;background:var(--line)}
.nov .bar span{display:block;height:100%}
.nov .c-ok{background:var(--ok-ink)}
.nov .c-warn{background:var(--warn-ink)}
.nov .c-bad{background:var(--bad-ink)}
.nov .c-none{background:var(--faint)}
.nov .c-val{background:var(--accent)}
.nov .c-acc{background:var(--accent)}
.nov .c-empty{background:var(--line);border:1px solid var(--border)}
.nov .legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--muted)}
.nov .legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.nov .chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap;font-variant-numeric:tabular-nums}
.nov .chip svg{width:11px;height:11px;flex:none}
.nov .z-ok{background:var(--ok-bg);color:var(--ok-ink)}
.nov .z-warn{background:var(--warn-bg);color:var(--warn-ink)}
.nov .z-bad{background:var(--bad-bg);color:var(--bad-ink)}
.nov .z-none{background:var(--none-bg);color:var(--none-ink)}
.nov .z-val{background:var(--accent-soft);color:var(--accent-ink)}   /* a value without a judgement (Ozon: thresholds not approved) */
.nov .note{font-size:12.5px;color:var(--muted)}
.nov .denom{font-size:12px;color:var(--faint)}
.nov .alert{display:flex;gap:10px;align-items:flex-start;background:var(--warn-bg);color:var(--text);border-radius:12px;padding:12px 14px;font-size:13.5px}
.nov .alert svg{width:18px;height:18px;flex:none;color:var(--warn-ink);margin-top:1px}
.nov .h4row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.nov .h4row h4{font-size:15px;font-weight:600}
.nov .two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.nov.ph .two{grid-template-columns:minmax(0,1fr)}
.nov .list{list-style:none;margin:0;padding:0}
.nov .list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:13.5px}
.nov .list li:first-child{border-top:0}
.nov .list li>span:first-child{min-width:0;overflow-wrap:anywhere}
.nov .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;height:190px}
.nov .day{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:5px;min-width:0}
.nov .day .b{width:64%;max-width:36px;background:var(--accent);border-radius:6px 6px 3px 3px}
.nov .day .v{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.nov .day .d{font-size:11.5px;color:var(--faint)}
.nov .day.na .b{background:repeating-linear-gradient(45deg,var(--line),var(--line) 4px,transparent 4px,transparent 8px);border:1px dashed var(--border)}
.nov .ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.nov select{font:inherit;font-size:13.5px;padding:6px 9px;border:1px solid var(--border);border-radius:9px;background:var(--card);color:var(--text);max-width:100%}
.nov svg.rc{width:100%;height:auto;display:block}
.nov svg.rc text{font-family:var(--f);font-size:11px;fill:var(--muted)}
.nov .tbl{overflow-x:auto}
.nov table.pts{width:100%;border-collapse:collapse;font-size:13.5px;min-width:620px}
.nov table.pts th{font-size:12px;text-align:left;color:var(--faint);font-weight:600;padding:8px;border-bottom:1px solid var(--border);white-space:nowrap}
.nov table.pts td{padding:9px 8px;border-bottom:1px solid var(--line)}
.nov .filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.nov .fb{font:inherit;font-size:13px;border:1px solid var(--border);background:var(--card);color:var(--muted);padding:5px 11px;border-radius:999px;cursor:pointer}
.nov .fb[aria-pressed="true"]{border-color:var(--accent);color:var(--accent-ink);background:var(--accent-soft)}
.nov .pc{border-top:1px solid var(--line);padding:10px 0;display:flex;flex-direction:column;gap:4px}
.nov .pc .r{display:flex;justify-content:space-between;align-items:center;gap:8px}
.nov .pc .kv{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12.5px;color:var(--muted)}
.nov .tiles{grid-template-columns:repeat(var(--n,3),minmax(0,1fr))}
.nov .mini{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:8px}
.nov .mini button{font:inherit;text-align:left;color:inherit;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:10px 11px;cursor:pointer;min-width:0;min-height:64px;display:flex;flex-direction:column;gap:2px;box-shadow:var(--shadow)}
.nov .mini .l{font-size:12.5px;color:var(--muted);font-weight:600}
.nov .mini .v{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.25}
.nov .mini .s{font-size:12px;color:var(--muted);line-height:1.35}
.nov .r-bad{color:var(--bad-ink)}
.nov .r-warn{color:var(--warn-ink)}
.nov .r-none{color:var(--none-ink)}
.nov .allbtn{font:inherit;font-size:14px;font-weight:600;border:0;background:var(--accent-soft);color:var(--accent-ink);padding:12px 14px;min-height:44px;border-radius:10px;cursor:pointer;width:100%;margin-top:10px;text-align:center}
.nov .hero .sub{color:var(--muted);font-size:13.5px;margin-top:2px}
.nov .ic.none{background:var(--none-bg);color:var(--none-ink)}
.nov .datanote{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--muted);margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.nov .datanote svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--none-ink)}
.nov.ph .hero{gap:12px}
.nov.ph .hero h4{font-size:18px}
.nov.ph .hero .ic{width:40px;height:40px;border-radius:11px}
.nov.ph .stabs{width:100%}
.nov.ph .stabs button{font-size:14px;padding:10px 9px;min-height:44px;flex:1 1 auto}
.nov .todo .go{display:none}
.nov.ph .todo li{display:flex;align-items:center;gap:12px;padding:12px 0;min-height:56px;cursor:pointer}
.nov.ph .todo .act{display:none}
.nov.ph .todo .go{display:block;color:var(--faint);font-size:22px;line-height:1;flex:none}
.nov.ph .todo .t b{font-size:14.5px}
.nov.ph .todo .t span{font-size:13px}
.nov.ph .fb{padding:9px 13px;font-size:14px;min-height:40px}
.nov .c-old{background:repeating-linear-gradient(45deg,var(--faint) 0 3px,var(--line) 3px 6px)}
.nov .chip.old{background:transparent;border:1px dashed currentColor;padding:1px 7px}
.nov .tag{font-size:12px;color:var(--muted);white-space:nowrap}
.nov .tag.stale{color:var(--warn-ink);white-space:normal}
.nov .tag.stale.grey{color:var(--none-ink)}
.nov .list li>span:last-child{min-width:0}
.nov select{min-width:0;width:auto}
.nov .ctl select{max-width:100%;flex:1 1 160px}
.nov .rv{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.nov .day .n{font-size:11px;color:var(--faint)}
.nov .two.top{align-items:start}
.nov .cov{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:0 14px}
.nov .cov summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);cursor:pointer;list-style:none}
.nov .cov summary::-webkit-details-marker{display:none}
.nov .cov summary b{color:var(--text);font-weight:600}
.nov .cov summary .i{margin-left:auto;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--faint);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--muted);flex:none}
.nov .cov[open] summary .i{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}
.nov .cov ul{margin:0 0 12px;padding-left:18px;font-size:13.5px;line-height:1.45}
.nov .cov li{margin:6px 0}
.nov .cov li span{color:var(--muted)}
.nov .stabs .cnt{color:var(--card)}
.nov .legend .chip{white-space:normal;max-width:100%}
.nov p{margin:0}
.nov .top{margin-top:-4px}
.nov svg.rc text{font-family:inherit}
.nov .todo li[data-go]{cursor:pointer}
.nov .todo li[data-go]:hover .t b{color:var(--accent-ink)}
.nov .err{background:var(--bad-bg);color:var(--text);border-radius:12px;padding:12px 14px;font-size:13.5px}
.nov .loading{color:var(--muted);font-size:13.5px;padding:24px 0}
.nov .cov .edit{font:inherit;font-size:13px;font-weight:600;border:0;background:none;color:var(--accent-ink);padding:0 0 12px;cursor:pointer}
/* the owner's «Кого считаем» editor (a dialog of the site's panel) */
.nov-part table{width:100%;border-collapse:collapse;font-size:13.5px}
.nov-part th{font-size:12px;text-align:left;color:var(--faint);font-weight:600;padding:8px 6px;border-bottom:1px solid var(--border)}
.nov-part td{padding:8px 6px;border-bottom:1px solid var(--line-2);vertical-align:top;white-space:normal;text-align:left;overflow-wrap:anywhere}
.nov-part .st{font-size:12.5px;color:var(--muted)}
.nov-part .st.off{color:var(--warn-ink)}
.nov-part .btn{white-space:nowrap}
.nov-part .tbl{overflow-x:auto}
.nov table.pts td,.nov table.pts th{text-align:left}
.nov .list li>span:first-child{flex:1 1 auto}
.nov .list li>.rv,.nov .list li>.act{flex:0 0 auto;max-width:60%}

/* past days: the bar stands in its own track, so its height is the share of the track (81 % is visibly lower than 94 %) */
.nov .day .bt{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center}
.nov .day .bt .b{min-height:2px}
/* «Весь список» of a grouped row */
.nov .todo .more{display:block;min-height:32px;padding:6px 0 2px;text-align:left;font-size:13px}
.nov .todo .names{margin:2px 0 0;padding-left:18px;font-size:12.5px;color:var(--muted);line-height:1.45;list-style:disc;cursor:auto}
/* a plain list, not rows of the problem list (the rules for .todo li do not apply here) */
.nov .todo .names li,.nov.ph .todo .names li{display:list-item;margin:3px 0;padding:0;border:0;min-height:0;gap:0;cursor:auto}
.nov.ph .todo .names{font-size:13px}
/* the picked day of the chart */
.nov svg.rc:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.nov .pick{font-size:13px;font-weight:600;min-height:20px;margin-top:4px;font-variant-numeric:tabular-nums}
/* the state of a point with the mark of incomplete data */
.nov .sts{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center}
/* «Все ПВЗ» on the computer: the site's «table td» does not wrap (index.html); here the text of a cell may wrap and the long chip of
   incomplete data takes two lines, so the table fits its panel and «На смене» is not cut off */
.nov table.pts td{white-space:normal}
.nov table.pts .sts{max-width:200px}
.nov .sts .chip.old{white-space:normal}
/* phone card: the name takes the whole width, the state chips go under it */
.nov.ph .pc .r{flex-direction:column;align-items:flex-start;gap:5px}
.nov.ph .pc .r .sts{justify-content:flex-start}

/* «Динамика по дням» (variant «Б2», 29.10): the summary above the chart, the SVG at the real width of the panel */
.nov .rch{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:8px 0 6px}
.nov .rch b{font-size:28px;font-weight:700;margin-right:10px}
.nov .rcz{font-size:14px;font-weight:600;color:var(--muted)}
.nov .rcz-ok{color:var(--ok-ink)} .nov .rcz-warn{color:var(--warn-ink)} .nov .rcz-bad{color:var(--bad-ink)}
.nov .rcm{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.nov .rcwrap{overflow:hidden}
.nov svg.rc{width:auto;max-width:100%;height:auto}
.nov svg.rc text{font-size:12px}
.nov svg.rc .tip rect{filter:drop-shadow(0 2px 6px rgba(0,0,0,.15))}
.nov .pick.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.nov .rcnote{margin-top:4px;font-size:12px}
.nov.ph .ctl .opts{width:100%}
.nov.ph .ctl .opts button{flex:1}
