/* «Экономика смены»: изолированный вау-дашборд публичного лендинга. */
.wow-sec { position: relative; padding-bottom: 8px; }
.wow-sec::before {
  content: ""; position: absolute; z-index: -1; inset: 5% 0 1%; pointer-events: none;
  background: radial-gradient(circle at 34% 30%, rgba(194,98,44,.10), transparent 42%);
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--act) 10%, transparent), transparent 42%);
}
.wow-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.wow-eyebrow, .wow-kicker {
  display: block; color: var(--mut); font-size: 11px; font-weight: 700;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
}
.wow-eyebrow { margin-bottom: 12px; color: var(--act); }
.wow-head h2 {
  font-size: clamp(26px, 4vw, 38px); line-height: 1.14;
  font-weight: var(--w-head); letter-spacing: var(--track-head); text-wrap: balance;
}
.wow-head p { max-width: 780px; margin: 12px auto 0; color: var(--sub); font-size: 16px; }

.wow-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wow-metric {
  position: relative; min-width: 0; min-height: 196px; padding: 22px 20px 18px;
  overflow: hidden; background: var(--panel-bg); border: var(--border-card);
  border-radius: var(--r-panel); box-shadow: var(--shadow-panel);
}
.wow-metric::after {
  content: ""; position: absolute; right: -24px; bottom: -44px; width: 112px; height: 112px;
  border-radius: 50%; background: rgba(194,98,44,.09);
  background: color-mix(in srgb, var(--act) 9%, transparent); filter: blur(2px); pointer-events: none;
}
.wow-demo {
  position: absolute; top: 14px; right: 14px; color: var(--mut); font-size: 10px;
  font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.wow-number {
  --wow-figure-size: clamp(40px, 6vw, 72px);
  display: block; margin-top: 18px; color: var(--ink); font-size: var(--wow-figure-size);
  font-weight: var(--w-display); letter-spacing: -.04em; line-height: .92; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wow-metric-label {
  display: block; max-width: 190px; min-height: 38px; margin-top: 12px;
  color: var(--sub); font-size: 12.5px; line-height: 1.45;
}
.wow-spark { display: block; width: 72px; height: 24px; margin-top: 10px; overflow: visible; }
.wow-spark path {
  fill: none; stroke: var(--act); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 3px 4px rgba(194,98,44,.24));
  filter: drop-shadow(0 3px 4px color-mix(in srgb, var(--act) 24%, transparent));
}

.wow-dashboard {
  display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(400px, .84fr);
  grid-template-rows: auto auto; gap: 16px; margin-top: 16px;
}
.wow-panel {
  position: relative; min-width: 0; background: var(--panel-bg); border: var(--border-card);
  border-radius: var(--r-panel); box-shadow: var(--shadow-panel); padding: 24px;
}
.wow-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wow-panel-head h3 {
  margin-top: 5px; color: var(--ink); font-size: 18px;
  font-weight: var(--w-head); letter-spacing: var(--track-head); line-height: 1.25;
}
.wow-panel-head h3 strong { color: var(--act); font-weight: inherit; }
.wow-kicker { font-size: 10px; }
.wow-bars { display: flex; flex-direction: column; grid-row: 1 / span 2; padding-bottom: 18px; }
.wow-legend { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 11px; white-space: nowrap; }
.wow-legend span { display: inline-flex; align-items: center; gap: 5px; }
.wow-legend i { display: inline-block; width: 14px; height: 4px; border-radius: var(--pill); }
.wow-key-old { background: var(--mut); opacity: .45; }
.wow-key-new { background: linear-gradient(90deg, var(--act-2), var(--act)); }
.wow-bar-list { display: grid; flex: 1; align-content: space-evenly; gap: 22px; margin-top: 20px; }
.wow-bar-row { display: grid; grid-template-columns: minmax(142px, .72fr) minmax(220px, 1.28fr) auto; align-items: center; gap: 14px; }
.wow-op { color: var(--sub); font-size: 12.5px; line-height: 1.32; }
.wow-pair { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 5px 8px; }
.wow-track { display: block; height: 8px; border-radius: var(--pill); background: var(--mist); overflow: hidden; }
.wow-bar { display: block; width: 100%; height: 100%; border-radius: var(--pill); transform-origin: left center; }
.wow-bar-old { background: var(--mut); opacity: .45; }
.wow-bar-new {
  background: linear-gradient(90deg, var(--act-2), var(--act));
  box-shadow: 0 0 12px rgba(194,98,44,.34);
  box-shadow: 0 0 12px color-mix(in srgb, var(--act) 34%, transparent);
}
.wow-w100 { max-width: 100%; } .wow-w58 { max-width: 58.333%; } .wow-w42 { max-width: 41.667%; }
.wow-w20 { max-width: 20%; } .wow-w10 { max-width: 10%; } .wow-w8 { max-width: 7.5%; }
.wow-w2 { max-width: 2%; min-width: 3px; } .wow-w0 { max-width: 0; }
.wow-bar-value { color: var(--mut); font-size: 10px; font-variant-numeric: tabular-nums; }
.wow-save {
  justify-self: end; min-width: 56px; padding: 4px 8px; border-radius: var(--pill);
  background: var(--mint-wash); color: var(--mint); font-size: 11px; font-weight: 700; text-align: center;
}
.wow-footnote { margin-top: 26px; color: var(--mut); font-size: 10.5px; line-height: 1.45; }

.wow-ring-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.wow-radial-card { min-width: 0; text-align: center; }
.wow-ring { position: relative; display: block; width: 96px; height: 96px; margin: 0 auto; }
.wow-ring svg { display: block; width: 96px; height: 96px; transform: rotate(-90deg); overflow: visible; }
.wow-ring circle { fill: none; stroke-width: 8; }
.wow-ring-track { stroke: var(--mist); }
.wow-ring-value {
  stroke: url(#wow-g1); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--wow-ring-end);
  filter: drop-shadow(0 0 7px rgba(194,98,44,.28));
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--act) 28%, transparent));
}
.wow-radial-card:nth-child(2) .wow-ring-value { stroke: url(#wow-g2); }
.wow-radial-card:nth-child(3) .wow-ring-value { stroke: url(#wow-g3); }
.wow-grad-start { stop-color: var(--act-2); } .wow-grad-end { stop-color: var(--act); }
.wow-ring b {
  --wow-ring-figure-size: 22px;
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink);
  font-size: var(--wow-ring-figure-size); font-weight: var(--w-value); letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.wow-radial-card figcaption { margin-top: 8px; color: var(--sub); font-size: 11px; line-height: 1.35; }

.wow-total { color: var(--act); font-size: 12px; font-weight: 700; white-space: nowrap; }
.wow-heatmap {
  display: grid; grid-template-columns: 46px repeat(7, minmax(0, 1fr));
  grid-template-rows: 16px repeat(3, 28px); gap: 5px; align-items: center; margin-top: 20px;
}
.wow-day, .wow-shift { color: var(--mut); font-size: 9.5px; line-height: 1; text-align: center; }
.wow-shift { padding-right: 5px; text-align: right; }
.wow-heat-cell, .wow-heat-key i { display: block; width: 100%; height: 28px; border-radius: 6px; }
.wow-l1 { background: rgba(194,98,44,.10); background: color-mix(in srgb, var(--act) 10%, var(--card-bg)); }
.wow-l2 { background: rgba(194,98,44,.22); background: color-mix(in srgb, var(--act) 22%, var(--card-bg)); }
.wow-l3 { background: rgba(194,98,44,.40); background: color-mix(in srgb, var(--act) 40%, var(--card-bg)); }
.wow-l4 { background: rgba(194,98,44,.64); background: color-mix(in srgb, var(--act) 64%, var(--card-bg)); }
.wow-l5 { background: rgba(194,98,44,.90); background: color-mix(in srgb, var(--act) 90%, var(--card-bg)); }
.wow-heat-key { display: flex; justify-content: flex-end; align-items: center; gap: 5px; margin-top: 13px; color: var(--mut); font-size: 9px; }
.wow-heat-key i { width: 12px; height: 12px; border-radius: 4px; }

.wow-timeline { margin-top: 16px; padding-bottom: 28px; overflow: hidden; }
.wow-timeline-note { color: var(--mut); font-size: 11px; }
.wow-timeline-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 30px; padding: 0 3px; }
.wow-timeline-track > svg { position: absolute; top: 8px; left: 9.5%; width: 81%; height: 8px; overflow: visible; }
.wow-time-line { fill: none; stroke: var(--act); stroke-width: 3; stroke-linecap: round; }
.wow-time-node { position: relative; display: grid; justify-items: center; min-width: 0; text-align: center; }
.wow-time-node i {
  position: relative; z-index: 1; display: block; width: 22px; height: 22px; border: 6px solid var(--panel-bg);
  border-radius: 50%; background: var(--act); box-shadow: 0 0 0 1px var(--act), 0 0 14px rgba(194,98,44,.30);
  box-shadow: 0 0 0 1px var(--act), 0 0 14px color-mix(in srgb, var(--act) 30%, transparent);
}
.wow-time-node span { margin-top: 9px; color: var(--sub); font-size: 11px; line-height: 1.28; }
.wow-time-node b { margin-top: 4px; color: var(--ink); font-size: 13px; font-weight: var(--w-value); }

@media (prefers-reduced-motion: no-preference) {
  .wow-metric.reveal .wow-spark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .wow-metric.is-in .wow-spark path { animation: wow-draw 1s .25s ease-out forwards; }
  .wow-bars.reveal .wow-bar { transform: scaleX(0); }
  .wow-bars.is-in .wow-bar { animation: wow-grow .9s .24s ease-out forwards; }
  .wow-bars.is-in .wow-bar-row:nth-child(2) .wow-bar { animation-delay: .32s; }
  .wow-bars.is-in .wow-bar-row:nth-child(3) .wow-bar { animation-delay: .40s; }
  .wow-bars.is-in .wow-bar-row:nth-child(4) .wow-bar { animation-delay: .48s; }
  .wow-bars.is-in .wow-bar-row:nth-child(5) .wow-bar { animation-delay: .56s; }
  .wow-radials.reveal .wow-ring-value { stroke-dashoffset: 100; }
  .wow-radials.is-in .wow-ring-value { animation: wow-ring 1.4s .18s ease-out forwards; }
  .wow-heat-panel.reveal .wow-heat-cell { opacity: 0; transform: scale(.75); }
  .wow-heat-panel.is-in .wow-heat-cell { animation: wow-cell .42s ease-out forwards; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(1) { animation-delay: .08s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(2) { animation-delay: .12s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(3) { animation-delay: .16s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(4) { animation-delay: .20s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(5) { animation-delay: .24s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(6) { animation-delay: .28s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(7) { animation-delay: .32s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(8) { animation-delay: .16s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(9) { animation-delay: .20s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(10) { animation-delay: .24s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(11) { animation-delay: .28s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(12) { animation-delay: .32s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(13) { animation-delay: .36s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(14) { animation-delay: .40s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(15) { animation-delay: .24s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(16) { animation-delay: .28s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(17) { animation-delay: .32s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(18) { animation-delay: .36s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(19) { animation-delay: .40s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(20) { animation-delay: .44s; }
  .wow-heat-panel.is-in .wow-heat-cell:nth-of-type(21) { animation-delay: .48s; }
  .wow-timeline.reveal .wow-time-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .wow-timeline.is-in .wow-time-line { animation: wow-draw 1s .18s ease-out forwards; }
  .wow-timeline.reveal .wow-time-node i { background: var(--mist); box-shadow: 0 0 0 1px var(--line); transform: scale(.72); }
  .wow-timeline.is-in .wow-time-node i { animation: wow-node .35s ease-out forwards; }
  .wow-timeline.is-in .wow-time-node:nth-of-type(1) i { animation-delay: .10s; }
  .wow-timeline.is-in .wow-time-node:nth-of-type(2) i { animation-delay: .35s; }
  .wow-timeline.is-in .wow-time-node:nth-of-type(3) i { animation-delay: .60s; }
  .wow-timeline.is-in .wow-time-node:nth-of-type(4) i { animation-delay: .85s; }
  .wow-timeline.is-in .wow-time-node:nth-of-type(5) i { animation-delay: 1.10s; }
  @keyframes wow-draw { to { stroke-dashoffset: 0; } }
  @keyframes wow-grow { to { transform: scaleX(1); } }
  @keyframes wow-ring { to { stroke-dashoffset: var(--wow-ring-end); } }
  @keyframes wow-cell { to { opacity: 1; transform: scale(1); } }
  @keyframes wow-node { to { background: var(--act); box-shadow: 0 0 0 1px var(--act); transform: scale(1); } }
}

@media (max-width: 980px) {
  .wow-dashboard { grid-template-columns: 1fr; grid-template-rows: auto; }
  .wow-bars { grid-row: auto; }
}
@media (max-width: 760px) {
  .wow-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wow-bar-row { grid-template-columns: minmax(112px, .65fr) minmax(180px, 1.35fr) auto; gap: 10px; }
}
@media (max-width: 560px) {
  .wow-sec { padding-top: 52px; }
  .wow-head { margin-bottom: 24px; }
  .wow-head p { font-size: 14px; }
  .wow-metrics { gap: 10px; }
  .wow-metric { min-height: 172px; padding: 18px 14px 14px; }
  .wow-number { margin-top: 20px; }
  .wow-metric-label { min-height: 34px; margin-top: 9px; font-size: 12px; }
  .wow-spark { margin-top: 7px; }
  .wow-panel { padding: 18px 14px; }
  .wow-panel-head { gap: 10px; }
  .wow-panel-head h3 { font-size: 16px; }
  .wow-legend { gap: 8px; font-size: 10px; }
  .wow-bar-list { gap: 20px; margin-top: 24px; }
  .wow-bar-row { grid-template-columns: 1fr auto; gap: 8px; }
  .wow-op { grid-column: 1 / -1; font-size: 12px; }
  .wow-pair { min-width: 0; }
  .wow-footnote { margin-top: 22px; }
  .wow-ring-grid { gap: 4px; }
  .wow-ring, .wow-ring svg { width: 82px; height: 82px; }
  .wow-ring b { font-size: 19px; }
  .wow-radial-card figcaption { font-size: 9.5px; }
  .wow-total { font-size: 10px; }
  .wow-heatmap { grid-template-columns: 38px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .wow-day, .wow-shift { font-size: 8.5px; }
  .wow-timeline { padding-bottom: 22px; }
  .wow-timeline-note { display: none; }
  .wow-timeline-track { margin-top: 26px; padding: 0; }
  .wow-timeline-track > svg { left: 10%; width: 80%; }
  .wow-time-node span { font-size: 9px; }
  .wow-time-node b { font-size: 11px; }
}
@media (max-width: 380px) {
  .wow-metric { min-height: 166px; padding-inline: 12px; }
  .wow-metric-label { font-size: 11.5px; }
  .wow-demo { top: 11px; right: 11px; font-size: 9px; }
  .wow-ring, .wow-ring svg { width: 76px; height: 76px; }
  .wow-heatmap { grid-template-columns: 34px repeat(7, minmax(0, 1fr)); gap: 3px; }
}

/* подпись «секунд на заказ» под узлом таймлайна (правка Данила 02.09) */
.wow-time-node em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; color: var(--act); font-weight: 700; letter-spacing: -.01em; }
