:root { --sahita-accent: #ffad58; --sahita-card: #071a2d; --sahita-border: #18364f; --sahita-muted: #91a2b2; }
.pranayama-page,.sahita-page { width: min(100%, 720px); margin: 0 auto; color: #f8fafc; padding: 0 12px calc(112px + env(safe-area-inset-bottom)); overflow-x: clip; }
.pranayama-heading { padding: 18px 4px 16px; }
.pranayama-heading h1,.sahita-title h1 { margin: 0; font: 700 clamp(24px,7vw,32px)/1.1 'DS Izmir',system-ui,sans-serif; }
.pranayama-heading p,.sahita-title p { margin: 7px 0 0; color: var(--sahita-muted); line-height: 1.45; }
.sahita-back { min-height: 44px; color: #fff; text-decoration: none; }
.sahita-back.section-back-button { display: grid; color: #fff; }
.sahita-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.pranayama-card { min-height: 88px; margin-top: 10px; display: grid; grid-template-columns: 52px minmax(0,1fr) 28px; align-items: center; gap: 11px; padding: 12px 9px 12px 13px; border: 1px solid var(--sahita-border); border-radius: 18px; background: var(--sahita-card); color: #fff; text-decoration: none; }
.pranayama-card-art { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #33475a; border-radius: 15px; }
.pranayama-card-art img { width: 29px; height: 29px; }
.pranayama-card-copy { min-width: 0; display: grid; gap: 5px; }
.pranayama-card-copy strong { font-size: 16px; line-height: 1.18; font-weight: 720; }
.pranayama-card-copy small { color: var(--sahita-muted); font-size: 10px; line-height: 1.35; }
.pranayama-arrow { color: var(--sahita-accent); font-size: 24px; }
.sahita-header { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 10px; padding: 2px 0 12px; }
.sahita-header .sahita-back { grid-column: 1 / -1; }
.sahita-title { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: left; }
.sahita-title-icon { width: 40px; height: 40px; flex: 0 0 40px; }
.sahita-title h1 { font-family: inherit; font-size: clamp(20px,6vw,27px); font-weight: 700; line-height: 1.1; }
.sahita-title p { font-size: 12px; white-space: normal; }
.sahita-help,.sahita-dialog-close { width: 44px; height: 44px; border: 1px solid var(--sahita-border); border-radius: 50%; background: #071522; color: #fff; font-size: 20px; }
.sahita-info,.sahita-settings,.sahita-goal,.sahita-sound { margin-top: 10px; padding: 14px; border: 1px solid var(--sahita-border); border-radius: 16px; background: var(--sahita-card); }
.sahita-info p { margin: 0; color: #c7d3de; line-height: 1.45; }
.sahita-ratios { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 12px; font-size: 12px; color: var(--sahita-muted); }
.sahita-info .sahita-ratios { margin-top: 0; }
.sahita-ratios span { min-width: 0; text-align: center; }
.sahita-ratios b { color: var(--sahita-accent); font-size: 16px; }
.sahita-settings h2 { margin: 0 0 4px; font-size: 16px; }
.sahita-setting-row { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(145,162,178,.14); }
.sahita-setting-row div { display: grid; gap: 3px; }
.sahita-setting-row small { color: var(--sahita-muted); }
.sahita-setting-row button { min-width: 76px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--sahita-accent); font-weight: 700; }
.sahita-setting-row button:disabled,.sahita-goal button:disabled { color: var(--sahita-muted); opacity: .6; }
.sahita-meter { display: grid; justify-items: center; padding: 18px 0 8px; }
.sahita-meter-ring { position: relative; width: min(82vw,330px); aspect-ratio: 1; display: grid; place-items: center; }
.sahita-meter-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sahita-meter-track,.sahita-meter-progress-ring { fill: none; stroke-width: 11; }
.sahita-meter-track { stroke: #132b40; }
.sahita-meter-progress-ring { stroke: #38aafc; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke .2s ease; }
.sahita-meter-progress-ring[data-phase="hold"] { stroke: #a855f7; }
.sahita-meter-progress-ring[data-phase="exhale"] { stroke: var(--sahita-accent); }
.sahita-meter-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; pointer-events: none; text-align: center; }
.sahita-meter-center strong { font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size: 22px; font-weight: 600; }
.sahita-meter-center span { color: #38aafc; font: 700 54px/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-variant-numeric: tabular-nums; }
.sahita-meter-ring[data-phase="hold"] .sahita-meter-center span { color: #a855f7; }
.sahita-meter-ring[data-phase="exhale"] .sahita-meter-center span { color: var(--sahita-accent); }
.sahita-meter-center small { color: var(--sahita-muted); }
.sahita-progress { margin: 2px 0 8px; font-weight: 700; }
.sahita-dots { width: min(92vw,430px); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 10px; }
.sahita-dots i { width: 8px; height: 8px; border: 1px solid #52677a; border-radius: 50%; }
.sahita-dots i.is-complete { background: var(--sahita-accent); border-color: var(--sahita-accent); }
.sahita-dots i.is-current { border-color: var(--sahita-accent); outline: 2px solid #713708; outline-offset: 2px; }
.sahita-goal { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sahita-goal div { display: grid; gap: 4px; }
.sahita-goal small { color: var(--sahita-muted); }
.sahita-goal button,.sahita-dialog button,.sahita-controls button { min-height: 44px; }
.sahita-goal button { border: 0; background: transparent; color: var(--sahita-accent); font-weight: 700; padding: 0 8px; }
.sahita-sound h2 { margin: 0 0 6px; font-size: 16px; }
.sahita-switch-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sahita-switch-row input { appearance: none; width: 48px; height: 28px; margin: 0; border: 1px solid #4a6072; border-radius: 14px; background: #132638; position: relative; }
.sahita-switch-row input::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #a8b5c0; transition: transform .2s ease; }
.sahita-switch-row input:checked { border-color: var(--sahita-accent); background: #6b360c; }
.sahita-switch-row input:checked::after { transform: translateX(20px); background: #fff; }
.sahita-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr); gap: 8px; margin-top: 14px; }
.sahita-controls button,.sahita-dialog .sahita-primary { border-radius: 14px; padding: 10px 7px; font-weight: 700; }
.sahita-primary { border: 1px solid var(--sahita-accent); background: var(--sahita-accent); color: #160c04; }
.sahita-secondary { border: 1px solid var(--sahita-border); background: #071522; color: #e8eef3; }
.sahita-secondary:disabled { opacity: .45; }
.sahita-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sahita-save-status { min-height: 24px; margin: 9px 0 0; text-align: center; color: var(--sahita-muted); font-size: 13px; }
.sahita-calendar,.sahita-stats { margin-top: 10px; border: 1px solid var(--sahita-border); border-radius: 16px; background: var(--sahita-card); }
.sahita-calendar { padding: 14px 12px 12px; }
.sahita-calendar-heading,.sahita-calendar-title { display: flex; align-items: center; gap: 9px; }
.sahita-calendar-heading h2 { margin: 0; font-size: 16px; }
.sahita-calendar-title svg { width: 24px; height: 24px; fill: none; stroke: var(--sahita-accent); stroke-width: 1.8; }
.sahita-calendar-month { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; margin: 4px 0; }
.sahita-calendar-month h3 { margin: 0; color: #bbc6d0; font-size: 14px; text-align: center; }
.sahita-calendar-nav { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: #91a2b2; background: transparent; }
.sahita-calendar-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.sahita-weekdays,.sahita-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.sahita-weekdays { color: #7f8f9f; font-size: 10px; text-align: center; }
.sahita-weekdays span { padding: 6px 0; }
.sahita-calendar-grid { row-gap: 2px; }
.sahita-day { position: relative; display: grid; width: 100%; min-width: 0; height: 42px; place-items: center; align-content: center; gap: 1px; color: #dce5ec; font-size: 12px; }
.sahita-day small { min-height: 9px; color: var(--sahita-accent); font-size: 9px; font-variant-numeric: tabular-nums; }
.sahita-day.is-outside { color: #56697a; }
.sahita-day.is-today::after { position: absolute; top: 3px; left: 50%; width: 4px; height: 4px; content: ''; border-radius: 50%; background: var(--sahita-accent); transform: translateX(-50%); }
.sahita-calendar-status { min-height: 14px; margin: 8px 0 0; color: #7f8f9f; font-size: 9px; text-align: center; }
.sahita-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 11px 8px; }
.sahita-stats > div { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 7px; padding: 3px 9px; }
.sahita-stats > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.sahita-stats svg { width: 27px; height: 27px; fill: none; stroke: var(--sahita-accent); stroke-width: 1.8; }
.sahita-stats p { display: grid; gap: 3px; margin: 0; min-width: 0; }
.sahita-stats p span { color: #8999a8; font-size: 10px; }
.sahita-stats p strong { color: var(--sahita-accent); font-size: 14px; }
.sahita-dialog-backdrop { position: fixed; z-index: 120; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 14px max(12px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); background: rgba(0,0,0,.72); }
.sahita-dialog { width: min(100%,560px); max-height: min(80vh,680px); overflow: auto; border: 1px solid var(--sahita-border); border-radius: 20px; background: #071522; color: #f8fafc; padding: 16px; }
.sahita-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sahita-dialog-heading h2 { margin: 0; font-size: 21px; }
.sahita-dialog p { color: #bdcad5; line-height: 1.5; }
.sahita-dialog > .sahita-primary { width: 100%; margin-top: 12px; }
.sahita-stepper { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 8px; margin-top: 16px; }
.sahita-stepper button,.sahita-stepper input { min-height: 48px; border: 1px solid var(--sahita-border); border-radius: 12px; background: var(--sahita-card); color: #fff; text-align: center; font-size: 20px; }
.sahita-stepper input { width: 100%; font-weight: 700; color: var(--sahita-accent); }
.sahita-dialog-preview { text-align: center; }
@media (max-width: 350px) { .sahita-page,.pranayama-page { padding-inline: 8px; } .sahita-header { gap: 4px; } .sahita-title p { font-size: 11px; } .sahita-controls { grid-template-columns: 1fr; } .sahita-controls button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sahita-meter-progress-ring,.sahita-switch-row input::after { transition: none; } }
