/* =====================================================================
   C2 · «Обзор». Плитки как в утверждённом макете.
   ===================================================================== */
.o2{display:flex;flex-direction:column;gap:20px}
.o2 .num,.o2-num{font-variant-numeric:tabular-nums;letter-spacing:-.03em;white-space:nowrap}

/* ---- верх: большая плитка и четыре маленьких */
.o2-top{display:flex;flex-wrap:wrap;gap:20px}
.o2-grid4{flex:2 1 520px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.o2 button.o2-tile{container-type:inline-size;position:relative;border-radius:30px;padding:24px 26px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;margin:0;
  font:inherit;color:#1C1C1E;text-align:left;cursor:pointer;border:1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter:var(--c2-blur);backdrop-filter:var(--c2-blur);
  background:linear-gradient(150deg,var(--t1),var(--t2)),rgba(255,255,255,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 18px 40px -20px var(--ts);transition:transform .2s ease}
.o2 button.o2-tile:hover{transform:translateY(-2px);background:linear-gradient(150deg,var(--t1),var(--t2)),rgba(255,255,255,.42);z-index:3}
.o2 button.o2-tile:active{transform:scale(.99)}
.o2 button.o2-tile:focus-visible,.o2 button.o2-card:focus-visible{outline:3px solid rgba(74,72,184,.5);outline-offset:3px}
.o2 button.o2-hero{flex:2 1 520px;min-height:300px;justify-content:space-between;padding:28px 30px}
.o2-hr{display:flex;justify-content:space-between;align-items:center;gap:10px}
.o2-head{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:#3A3A44;min-width:0}
.o2-ico{width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--tb);color:var(--tc)}
.o2-ico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.o2-right{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
.o2-grid4 .o2-chip{white-space:normal;border-radius:14px;line-height:1.3}
.o2 .c2-chev{margin-left:0}
.o2-big{font-size:clamp(40px,12cqi,72px);line-height:1;font-weight:700;color:#2B2A6E}
.o2-val{font-size:clamp(20px,13.5cqi,34px);line-height:1.05;font-weight:700;margin-top:4px}
.o2-val.neg{color:#A8352F}
.o2-exp{font-size:14px;line-height:1.4;color:#5E5E68;max-width:44ch}
.o2-hero .o2-exp{font-size:15px}
.o2-chip{white-space:nowrap;align-self:flex-start;font-size:13.5px;font-weight:600;border-radius:999px;padding:5px 12px;background:var(--tb);color:var(--tc);max-width:100%;overflow:hidden;text-overflow:ellipsis}
.o2-hero .o2-chip.lg{font-size:14px}
.o2-gauge{display:flex;align-items:center;gap:14px}
.o2-gauge svg{display:block;flex:none;width:96px}
.o2-arc-bg{fill:none;stroke:rgba(151,90,8,.14);stroke-width:16;stroke-linecap:round}
.o2-arc{fill:none;stroke:#D89533;stroke-width:16;stroke-linecap:round}
.o2-ceil{stroke:#6B3F04;stroke-width:3;stroke-linecap:round}
.o2-wait{color:#8E8E93}

/* ---- карточки-графики (вся карточка открывает окно) */
.o2 button.o2-card{position:relative;display:flex;flex-direction:column;gap:14px;width:100%;margin:0;min-width:0;padding:30px 32px 24px;box-sizing:border-box;
  font:inherit;color:#1C1C1E;text-align:left;cursor:pointer;border-radius:30px;border:1px solid var(--glass-bd);background:var(--glass);
  -webkit-backdrop-filter:var(--c2-blur);backdrop-filter:var(--c2-blur);box-shadow:var(--glass-sh);transition:transform .2s ease}
.o2 button.o2-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.6);z-index:3}
.o2 button.o2-card:active{transform:scale(.995)}
.o2-ch{display:flex;justify-content:space-between;align-items:center;gap:12px}
.o2-cl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.o2-ct{font-size:22px;font-weight:700;letter-spacing:-.02em}
.o2-pill{font-size:14px;font-weight:600;color:#3C3C43;background:rgba(118,118,128,.1);border-radius:999px;padding:5px 12px;white-space:nowrap}
.o2-row2{display:flex;flex-wrap:wrap;gap:20px}
.o2-row2>*{flex:1 1 460px;min-width:0}
.o2-plot{position:relative;display:block}

/* ---- товары: полосы */
.o2-plist{display:flex;flex-direction:column;gap:6px}
.o2-prow{position:relative;display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:center;padding:4px 8px;margin:0 -8px;border-radius:10px}
.o2-pn{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.o2-pb{display:flex;align-items:center;gap:10px;min-width:0}
.o2-pb i{display:block;height:22px;border-radius:8px;flex:none}
.o2-pb b{font-size:15px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.o2-pb b.neg{color:#A8352F}
.o2-more{font-size:13px;color:#6B6B76}

/* ---- ряд управления периодом */
.ovx .o2-ctl{margin-bottom:0}
.ovx .ctl-cap{margin:-8px 0 0;font-size:13px;color:#6B6B76}
/* название периода открывает календарь (стрелки остаются по бокам) */
.ovx .o2-ctl .stepper button.pcal{width:auto;min-width:150px;height:38px;padding:0 10px;justify-content:center;font-size:15px;font-weight:600;color:#1C1C1E;border-radius:10px}
.ovx .o2-ctl .stepper button.pcal:hover{background:rgba(118,118,128,.12)}
.ovx .o2-ctl .stepper,.ovx .o2-ctl .stepper .pcal span{min-width:0}
/* «Всё время»: вместо сравнения одна строка */
.ovx .o2-allnote{font-size:13.5px;color:#5E5E68;line-height:1.35}

/* ---- окна: строки дней/месяцев на телефоне */
.c2-pop .o2-sku{font-size:12px;color:#6B6B76}

/* ---------------------------------------------------------------- телефон */
@media (max-width:760px){
  /* ряд выбора: стрелки и название; четыре кнопки шага отдельной строкой; сравнение под ними */
  .ovx .o2-ctl .stepper button.pcal{flex:1 1 auto;min-width:0;max-width:calc(100% - 84px)}
  .ovx .o2-ctl .seg{flex:1 1 100%!important}
  .ovx .o2-ctl .seg button{flex:1 1 0;min-width:0;padding-left:4px;padding-right:4px}
  .ovx .o2-ctl .cmpbox .cmp{flex:1 1 0;min-width:0}
  .ovx .o2-allnote{flex:1 1 100%;font-size:13px}
  .o2-hero .o2-chip.lg{white-space:normal;border-radius:14px;line-height:1.3}
  .o2{gap:12px}
  .o2-top{gap:12px}
  .o2-grid4{gap:12px;flex-basis:100%}
  .o2 button.o2-hero{flex-basis:100%;min-height:0;padding:20px;gap:10px;border-radius:26px}
  .o2-big{font-size:clamp(28px,13cqi,42px)}
  .o2-hero .o2-exp{font-size:13.5px}
  .o2 button.o2-tile{padding:16px;border-radius:22px;gap:6px}
  .o2-grid4 .o2-head{font-size:13.5px;gap:8px;align-items:baseline}
  .o2-grid4 .o2-ico{display:none}
  .o2-grid4 .o2-head::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--tc);flex:none;align-self:center}
  .o2-val{font-size:clamp(16px,13.5cqi,22px);margin-top:0}
  .o2-grid4 .o2-exp{font-size:12.5px}
  .o2-grid4 .o2-chip{font-size:12px;padding:4px 9px;white-space:normal}
  .o2-gauge svg{display:none}
  .o2 button.o2-card{padding:18px 16px 14px;gap:10px;border-radius:26px}
  .o2-ct{font-size:18px}
  .o2-pill{font-size:12.5px;padding:4px 10px}
  .o2-row2{gap:12px}
  .o2-row2>*{flex-basis:100%}
  .o2-prow{grid-template-columns:minmax(0,1fr);gap:6px;padding:2px 0;margin:0}
  .o2-pb i{height:12px;border-radius:6px}
}
