/* «Прогноз» (20.11, outlook.js): the section's own look, in the site's tokens (app.css :root). */
.clarity-shell .outlook-switch{margin-bottom:10px}
.clarity-shell .outlook-meta{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.5}
.clarity-shell .outlook-meta .link-button{border:0;background:none;padding:0;color:var(--blue);font:inherit;cursor:pointer;font-weight:600}
.clarity-shell .outlook-meta .link-button:hover{color:var(--blue-dark)}
.clarity-shell .outlook-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:none;border:0;box-shadow:none;overflow:visible}
.clarity-shell .outlook-tile{text-align:left;font:inherit;cursor:pointer;position:relative;transition:border-color .15s,box-shadow .15s}
.clarity-shell .outlook-tile:hover,.clarity-shell .outlook-tile:focus-visible{border-color:var(--blue);box-shadow:0 6px 22px #4158e81f}
/* A sum of seven figures with «около» and «сом» is wider than a tile of four in a row at 1 200 px or of two on a phone:
   it goes on after «около», the number itself kept whole (money's spaces do not break). */
.clarity-shell .outlook-tile .kpi-value{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1.2}
.clarity-shell .kpis.outlook-tiles>.kpi>.kpi-value{white-space:normal}
.clarity-shell .outlook-tile .kpi-value small{font-size:13px;font-weight:500;color:var(--muted)}
.clarity-shell .outlook-tile .kpi-caption{color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums}
.clarity-shell .outlook-whatif h3,#modal .outlook-dialog h3{margin:18px 0 8px;font-size:14px;font-weight:700}
/* The columns of a chart, plain (21.11, the user: «Сделай просто красиво»): one colour, a tail of a few days pale;
   the number over a column as plain text; the grid light, nought a little stronger. The drawing is made at the card's
   own width (outlook.js), so the sizes here are the pixels on the screen. */
.clarity-shell .outlook-chart svg.outlook-svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.clarity-shell .outlook-chart .outlook-bar{fill:#7d92ee}
.clarity-shell .outlook-chart .outlook-bar.tail{fill:#d9e0fb}
.clarity-shell .outlook-chart .outlook-hover{fill:transparent}
.clarity-shell .outlook-chart .outlook-column:hover .outlook-bar{fill:#5f78e8}
.clarity-shell .outlook-chart .outlook-column:hover .outlook-bar.tail{fill:#c7d1f8}
.clarity-shell .outlook-chart .outlook-grid{stroke:#f0f2f7;stroke-width:1}
.clarity-shell .outlook-chart .outlook-grid.zero{stroke:#d5dae6}
.clarity-shell .outlook-chart text.outlook-axis{font-size:12px;fill:#97a0b2;font-variant-numeric:tabular-nums}
.clarity-shell .outlook-chart text.outlook-date{font-size:13px;fill:var(--muted)}
/* A grid line passing behind a number breaks around its letters (the card's own white under them, no frame). */
.clarity-shell .outlook-chart text.outlook-bar-number{font-weight:600;fill:var(--ink);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.clarity-shell .outlook-chart text.outlook-tail-number{fill:var(--muted)}
/* «Что если»: the levers at the left, the result at the right; a phone stacks them. */
.clarity-shell .outlook-whatif .card-head{flex-wrap:wrap;gap:8px 18px}
.clarity-shell .outlook-whatif-tools{display:flex;flex-wrap:wrap;gap:6px}
.clarity-shell .outlook-chart .card-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.clarity-shell .outlook-people-table tr.outlook-driver-row{cursor:pointer}
.clarity-shell .outlook-people-table tr.outlook-driver-row:hover th,.clarity-shell .outlook-people-table tr.outlook-driver-row:hover td{background:#f6f8fc}
/* A row's own heading is a <th>, so the site's 150 px for the first cell (clarity-layout.css) misses it: on a phone a
   driver's name broke into five lines. Plates stay on one line. */
.clarity-shell .outlook-people-table tbody th[scope=row]{min-width:140px;white-space:normal;overflow-wrap:break-word}
.clarity-shell .outlook-people-table tbody th[scope=row]+td{white-space:nowrap}
.clarity-shell .outlook-cars-table tbody th[scope=row]{white-space:nowrap}
.clarity-shell .outlook-cars-table td.outlook-names{white-space:normal;min-width:170px}
#modal .outlook-dialog .outlook-bonus-line{margin:10px 0 0;font-size:13.5px}
.clarity-shell .outlook-whatif-body{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:22px;align-items:start}
.clarity-shell .outlook-levers{max-height:880px;overflow:auto;padding-right:6px;scrollbar-width:thin}
.clarity-shell .outlook-legend{display:flex;gap:14px;margin:4px 0 10px;font-size:12px;color:var(--muted)}
.clarity-shell .outlook-legend span::before{content:'';display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.clarity-shell .outlook-legend .arith::before{border:1px solid #c9d2e6;background:#fff}
.clarity-shell .outlook-legend .assumption::before{border:1px dashed #c27a1a;background:#fff8ec}
.clarity-shell .outlook-group{border:0;margin:0 0 12px;padding:0}
.clarity-shell .outlook-group legend{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:6px}
.clarity-shell .outlook-lever{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:4px 10px;align-items:center;padding:7px 9px;margin-bottom:5px;border-radius:10px;border:1px solid var(--line);background:#fff}
.clarity-shell .outlook-lever.assumption{border:1px dashed #d79a46;background:#fffaf2}
.clarity-shell .outlook-lever label{display:grid;gap:1px;font-size:13px;line-height:1.3;min-width:0}
.clarity-shell .outlook-lever label small{color:var(--muted);font-size:11.5px}
.clarity-shell .outlook-lever input,.clarity-shell .outlook-lever select{width:100%;min-width:0;box-sizing:border-box;padding:5px 7px;border:1px solid #d3dae8;border-radius:8px;font:inherit;font-size:13px;font-variant-numeric:tabular-nums;background:#fff}
.clarity-shell .outlook-lever input[type=checkbox]{width:18px;height:18px;justify-self:end}
.clarity-shell .outlook-lever input[data-lever=pay_scale]{grid-column:1/-1}
.clarity-shell .outlook-lever p{grid-column:1/-1;margin:0;font-size:11.5px;line-height:1.4;color:#8a5a14}
.clarity-shell .outlook-result{min-width:0}
.clarity-shell .outlook-result-empty{display:grid;place-items:center;min-height:180px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center;padding:16px}
.outlook-up{color:#1f7a4f}
.clarity-shell .outlook-compare td.active,.clarity-shell .outlook-compare th.active{background:#f2f5ff}
.clarity-shell .outlook-compare tr.lead th,.clarity-shell .outlook-compare tr.lead td{font-weight:700}
.clarity-shell .outlook-compare tr.drivers th{color:#8a5a14}
/* The scenario against «как есть» in the main charts' look (21.11, the lead): numbers 14 px plain, dates 13 px, top
   corners rounded 6 px, the field about 200 px; «как есть» pale, the scenario saturated. */
.clarity-shell .outlook-days{display:flex;align-items:flex-end;gap:14px;height:200px;padding:26px 0 0;margin-bottom:28px;border-bottom:1px solid #d5dae6;position:relative}
.clarity-shell .outlook-days>div{flex:1 1 0;min-width:0;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}
.clarity-shell .outlook-days>div.tail{opacity:.55}
.clarity-shell .outlook-days.weeks{margin-bottom:50px}
.clarity-shell .outlook-days.weeks span{white-space:normal;line-height:1.25;bottom:-46px;overflow:visible}
.clarity-shell .outlook-days i,.clarity-shell .outlook-days b{flex:0 1 48px;border-radius:6px 6px 0 0;min-height:1px;position:relative}
/* The number over each column, 14 px, never under 11 px on a phone. */
.clarity-shell .outlook-days em{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:6px;font-style:normal;font-size:14px;font-weight:600;line-height:1;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.clarity-shell .outlook-days i{background:#cdd5f3}
.clarity-shell .outlook-days b{background:#5f78e8}
.clarity-shell .outlook-days span{position:absolute;bottom:-21px;left:0;right:0;text-align:center;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden}
.clarity-shell .bar-legend.base i{background:#cdd5f3}
.clarity-shell .bar-legend.scenario i{background:#5f78e8}
.clarity-shell .outlook-ladder,.outlook-ways,.outlook-reasons,.outlook-calibration,.clarity-shell .outlook-step-list{margin:0;padding:0;list-style:none;display:grid;gap:5px}
.clarity-shell .outlook-ladder li{display:flex;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:9px;background:#fbfcfe;border:1px solid var(--line);font-size:13.5px}
.clarity-shell .outlook-ladder li.total{background:var(--blue-light);border-color:transparent;font-weight:700}
.clarity-shell .outlook-ladder li.together{background:#fff;border-style:dashed}
.clarity-shell .outlook-ladder li span{display:grid;gap:2px;min-width:0}
.clarity-shell .outlook-ladder li small{color:var(--muted);font-size:12px;font-weight:400}
.clarity-shell .outlook-step span{display:grid;gap:1px;min-width:0}
.clarity-shell .outlook-step span small{color:var(--muted);font-size:11.5px;font-weight:400;white-space:normal}
/* «Что если» as one scenario of steps (21.11, the lead): the steps switched on at the left, each with its own gain; the
   levers folded under them; at the right the list of steps, or the four blocks of the result. */
.clarity-shell .outlook-steps-title{margin:0 0 10px!important}
.clarity-shell .outlook-step{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 10px;margin-bottom:5px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px;line-height:1.3;cursor:pointer}
.clarity-shell .outlook-step.on{border-color:var(--blue);background:#f2f5ff}
.clarity-shell .outlook-step input{width:16px;height:16px;margin:0}
.clarity-shell .outlook-step b,.clarity-shell .outlook-step small{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12.5px}
.clarity-shell .outlook-step small{color:var(--muted);font-weight:400}
.clarity-shell .outlook-own-levers{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.clarity-shell .outlook-own-levers summary{cursor:pointer;font-weight:700;font-size:13.5px;margin-bottom:8px;color:var(--blue)}
/* The steps as bars from one axis: the name, the bar, the sum and «сом» on one line (21.11, the lead). */
.clarity-shell .outlook-step-list button{width:100%;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:13px;text-align:left;cursor:pointer;color:var(--ink)}
.clarity-shell .outlook-step-list button:hover,.clarity-shell .outlook-step-list button:focus-visible{border-color:var(--blue)}
.clarity-shell .outlook-step-list .outlook-step-name{display:grid;gap:2px;min-width:0}
.clarity-shell .outlook-step-list .outlook-step-name small{color:var(--muted);font-size:12px}
.clarity-shell .outlook-step-list b{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;min-width:104px}
.clarity-shell .outlook-bar-track{position:relative;height:12px;display:block}
.clarity-shell .outlook-bar-track i{position:absolute;top:0;bottom:0;border-radius:3px}
.clarity-shell .outlook-bar-track i.up{background:#3aa676}
.clarity-shell .outlook-bar-track i.down{background:#e2564b}
.clarity-shell .outlook-bar-track em{position:absolute;top:-3px;bottom:-3px;width:1px;background:#9aa6bd}
.clarity-shell .outlook-step-list .outlook-after-note{grid-column:2/-1;color:var(--muted);font-size:12px;text-align:right}
.clarity-shell .outlook-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:6px}
.clarity-shell .outlook-block{display:grid;gap:3px;align-content:start;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}
.clarity-shell .outlook-block.lead{background:var(--blue-light);border-color:transparent}
.clarity-shell .outlook-block .kpi-label{font-size:12.5px;color:var(--muted)}
.clarity-shell .outlook-block .kpi-value{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}
.clarity-shell .outlook-block .kpi-value small,.clarity-shell .outlook-block .kpi-caption small{font-size:12px;font-weight:500;color:var(--muted)}
.clarity-shell .outlook-block .kpi-caption{font-size:12.5px;font-variant-numeric:tabular-nums}
.clarity-shell .outlook-tile .outlook-tile-note{margin-top:2px}
.outlook-result-body.stale,.outlook-compare.stale{opacity:.55}
.clarity-shell .outlook-ladder b{font-variant-numeric:tabular-nums;white-space:nowrap}
#modal .outlook-dialog .outlook-facts,#modal .outlook-dialog .outlook-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px 18px;margin:8px 0}
#modal .outlook-dialog .outlook-facts div,#modal .outlook-dialog .outlook-parts div{display:grid;gap:2px}
#modal .outlook-dialog .outlook-facts dt,#modal .outlook-dialog .outlook-parts dt{font-size:12px;color:var(--muted)}
#modal .outlook-dialog .outlook-facts dd,#modal .outlook-dialog .outlook-parts dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
#modal .outlook-dialog .outlook-chips{display:flex;flex-wrap:wrap;gap:6px}
#modal .outlook-dialog .outlook-reasons li{padding:6px 10px;border-radius:9px;background:#f6f8fc;font-size:13.5px}
#modal .outlook-dialog .outlook-own{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;align-items:end}
#modal .outlook-dialog .outlook-own label{display:grid;gap:3px;font-size:12px;color:var(--muted)}
#modal .outlook-dialog .outlook-own input{padding:5px 7px;border:1px solid #d3dae8;border-radius:8px;font:inherit}
#modal .outlook-dialog .outlook-ways li{display:grid;gap:2px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}
#modal .outlook-dialog .outlook-ways li.short{opacity:.7}
#modal .outlook-dialog .outlook-saved tr[data-action]{cursor:pointer}
#modal .outlook-dialog .outlook-saved tr[data-action]:hover th,#modal .outlook-dialog .outlook-saved tr[data-action]:hover td{background:#f6f8fc}
#modal .outlook-dialog .outlook-ways small{color:var(--muted)}
#modal .outlook-dialog .outlook-accuracy td.inside{color:#1f7a4f;font-weight:600}
#modal .outlook-dialog .outlook-accuracy td.outside{color:var(--red);font-weight:600}
@media (max-width:1180px){
  .clarity-shell .outlook-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .clarity-shell .outlook-whatif-body{grid-template-columns:minmax(0,1fr)}
  .clarity-shell .outlook-levers{max-height:none}
  /* One column under the other: the list of steps at the left has the sums already (21.11, the lead). */
  .clarity-shell .outlook-step-bars{display:none}
  /* Seven columns of «Завтра» fit a 1 000 px laptop only with narrower gaps (17 px a side made it 783 px in 705). */
  .clarity-shell :is(.outlook-people-table,.outlook-cars-table) :is(th,td){padding-left:10px;padding-right:10px}
}
@media (max-width:760px){
  .clarity-shell .outlook-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .clarity-shell .outlook-tile{padding:12px 12px;min-height:0}
  .clarity-shell .outlook-tile .kpi-value{font-size:19px}
  /* On a phone the table scrolls sideways anyway: a wider name keeps a row to two or three lines. */
  .clarity-shell .outlook-people-table tbody th[scope=row]{min-width:170px}
  #modal .outlook-dialog .outlook-own{grid-template-columns:minmax(0,1fr)}
  .clarity-shell .outlook-days{gap:8px}
  .clarity-shell .outlook-days em{font-size:12px}
}
/* The review of 21.11: a result recounted is dimmed (PG-4); a fact of a day whose shift still runs is neither green nor
   red; a lever not counted for want of time; on a phone «Как есть» stands beside the scenario shown alone, and the
   check shows tomorrow and the week (PG-15). */
.outlook-counting{margin:0 0 6px;font-size:12.5px;color:var(--muted)}
#modal .outlook-dialog .outlook-accuracy td.running{color:var(--muted);font-style:italic}
@media (max-width:640px){
  #modal .outlook-dialog .outlook-check th:nth-child(n+4),#modal .outlook-dialog .outlook-check td:nth-child(n+4){display:none}
}
