/* Дыхательная практика: светлый стиль Apple, цвета и шрифты как на всём сайте (переменные из ../styles.css) */
.breath main { min-height: calc(100svh - 190px); }
.bc { max-width: 640px; margin: 0 auto; padding: clamp(28px, 6vw, 56px) 22px 48px; }
.bc-head { text-align: center; margin-bottom: clamp(24px, 5vw, 40px); }
.bc-head .eyebrow { margin-bottom: 10px; }
.bc-head h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.06; margin: 0 0 12px; }
.bc-head .lead { margin: 0 auto; max-width: 520px; font-size: clamp(17px, 2.4vw, 20px); }
.bc-quote { margin: 18px auto 0; max-width: 420px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bc-quote b { display: block; margin-top: 2px; font-weight: 500; color: #86868b; }

/* иконки: тёмная плашка с белой линией, как в карточках сайта */
.bc-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--hero-bg); }
.bc-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* главная: цели */
.bc-goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 600px) { .bc-goals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bc-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 140px; padding: 20px; text-align: left; font: inherit; color: var(--ink);
  background: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.bc-goal:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bc-goal:active { transform: scale(.98); }
.bc-goal b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }

/* назад */
.bc-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px -8px; padding: 8px 12px 8px 6px; border: 0; border-radius: 980px; background: transparent; font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; }
.bc-back:hover { background: rgba(0, 0, 0, .05); }
.bc-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* список техник */
.bc-title { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.bc-title h1 { font-size: clamp(26px, 5vw, 36px); margin: 0; }
.bc-sub { margin: 0 0 22px; color: var(--muted); }
.bc-list { display: grid; gap: 12px; }
.bc-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; text-align: left; font: inherit; color: var(--ink);
  background: #fff; border: 0; border-radius: 22px; box-shadow: var(--shadow); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.bc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.bc-item:active { transform: scale(.99); }
.bc-item-main { min-width: 0; }
.bc-item-title { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.bc-item-sub { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.bc-pat { flex: none; padding: 5px 13px; border-radius: 980px; background: var(--accent-soft); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: #424245; white-space: nowrap; }

/* выбор числа циклов */
.bc-card { padding: clamp(22px, 5vw, 36px); background: #fff; border-radius: 28px; box-shadow: var(--shadow); text-align: center; }
.bc-card h1 { font-size: clamp(26px, 5vw, 34px); margin: 0 0 6px; }
.bc-card .bc-how { margin: 0 0 22px; color: var(--muted); }
.bc-bars { display: flex; justify-content: center; align-items: flex-end; gap: 10px; min-height: 76px; margin-bottom: 26px; }
.bc-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bc-bar i { display: block; width: 40px; border-radius: 8px; background: #d2d2d7; }
.bc-bar.inhale i { background: #4f6d8f; }
.bc-bar.hold i { background: #b39a52; }
.bc-bar.exhale i { background: #2c6a45; }
.bc-bar.hold2 i { background: #aeaeb2; }
.bc-bar span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bc-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bc-stepper { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 10px 0 6px; }
.bc-step { width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--accent-soft); color: var(--ink); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; transition: background .15s ease, transform .1s ease; }
.bc-step:hover { background: #e2e2e7; }
.bc-step:active { transform: scale(.94); }
.bc-value { min-width: 96px; font-size: 76px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.bc-dur { color: var(--muted); font-size: 15px; }
.bc-go { width: 100%; min-height: 58px; margin-top: 26px; font-size: 18px; }
.bc-go svg, .bc-ctl svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* практика */
.bc-session { max-width: 520px; margin: 0 auto; padding: clamp(24px, 6vw, 48px) 22px 40px; text-align: center; }
.bc-phase { min-height: 1.2em; margin: 0 0 4px; font-size: clamp(38px, 10vw, 58px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; color: var(--muted); transition: color .35s ease; }
.bc-phase.inhale { color: #4f6d8f; }
.bc-phase.hold { color: #8a6d1f; }
.bc-phase.exhale { color: #2c6a45; }
.bc-phase.hold2 { color: #8e8e93; }
.bc-count { min-height: 1.05em; margin: 0 0 6px; font-size: clamp(76px, 20vw, 112px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.bc-wave { margin: 22px 0 18px; padding: 10px 6px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
#ecgCanvas { display: block; width: 100%; height: 120px; }
.bc-info { margin: 0 0 26px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bc-ctls { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.bc-ctl { min-width: 150px; }
.bc-ctl.ghost { min-width: 0; }

/* конец практики */
.bc-done { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center;
  background: rgba(245, 245, 247, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: bc-in .35s ease; }
@keyframes bc-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
.bc-done .bc-ico { width: 72px; height: 72px; border-radius: 50%; background: #2c6a45; }
.bc-done .bc-ico svg { width: 34px; height: 34px; stroke-width: 2.2; }
.bc-done h2 { margin: 6px 0 0; font-size: 28px; }
.bc-done p { margin: 0; max-width: 320px; color: var(--muted); }
.bc-done .bc-ctls { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) { .bc-goal, .bc-item, .bc-step, .bc-phase, .bc-done { transition: none; animation: none; } }
