.chandra-page {
  --chandra-accent: #b9dcff;
  --chandra-accent-soft: rgba(185,220,255,.14);
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  padding: 0 0 calc(22px + env(safe-area-inset-bottom));
  outline: 0;
  color: #f5f2ef;
}
.chandra-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chandra-practice-back { color: #fff; }
.chandra-header { display: grid; grid-template-columns: minmax(70px,1fr) minmax(0,2.2fr) 44px; min-height: 58px; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.chandra-back { display: flex; min-width: 44px; min-height: 44px; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.chandra-back svg { width: 19px; height: 19px; }
.chandra-breadcrumb { margin: 0; overflow: hidden; color: #aeb3be; font-size: 14px; line-height: 1.3; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.chandra-breadcrumb strong { color: #f1f1f3; }
.chandra-info, .chandra-small-info, .chandra-dialog-x { display: grid; width: 44px; min-width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: #f3f3f5; background: rgba(11,19,31,.8); font: inherit; font-size: 22px; }
.chandra-practice-card, .chandra-calendar, .chandra-stats { min-width: 0; border: 1px solid rgba(115,130,155,.19); border-radius: 21px; background: #0c1726; }
.chandra-calendar-heading h2 { margin:0; font-size:16px; line-height:1.25; }
.chandra-page button:focus-visible, .chandra-page a:focus-visible { outline:2px solid var(--chandra-accent); outline-offset:2px; }
.chandra-practice-card { overflow: hidden; }
.chandra-hero { position: relative; display: grid; align-items: center; min-height: 86px; padding: 14px 16px 10px; border-bottom: 1px solid rgba(255,255,255,.055); background: linear-gradient(110deg,#101b29 0%,#0b1724 100%); }
.chandra-hero-copy { position: relative; z-index: 1; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 12px; padding-right: 52px; }
.chandra-hero > .chandra-info { position: absolute; z-index: 2; top: 50%; right: 14px; transform: translateY(-50%); }
.chandra-hero-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 14px; color: #b9dcff; background: rgba(145,194,241,.1); }
.chandra-hero-icon img { width: 40px; height: 40px; object-fit: contain; }
.chandra-hero h1 { margin: 0; font-family: 'DS Izmir', Georgia, serif; font-size: clamp(24px,7vw,32px); font-weight: 400; line-height: 1.08; }
.chandra-counter { display: grid; grid-template-columns: 72px minmax(146px,190px) 72px; align-items: center; justify-content: center; gap: clamp(10px,4vw,24px); padding: 16px 12px 6px; }
.chandra-step { display: grid; width: 60px; min-width: 44px; height: 60px; place-items: center; justify-self: center; padding: 0; border: 1px solid rgba(145,194,241,.62); border-radius: 15px; color: var(--chandra-accent); background: transparent; font: inherit; font-size: 34px; font-weight: 350; line-height: 1; }
.chandra-step:disabled { border-color: rgba(132,143,160,.22); color: #596373; opacity: .7; }
.chandra-ring { --chandra-progress: 0deg; position: relative; isolation: isolate; display: grid; width: min(100%,186px); aspect-ratio: 1; overflow: hidden; place-items: center; justify-self: center; border-radius: 50%; background: conic-gradient(var(--chandra-accent) var(--chandra-progress), rgba(255,255,255,.13) 0); }
.chandra-ring::before { position: absolute; z-index: 0; content: ''; inset: 7px; border-radius: 50%; background: #0c1726; }
.chandra-ring.is-goal-achieved { background: conic-gradient(#d3e8ff 0 360deg); }
.chandra-ring-inner { position: relative; z-index: 3; display: grid; justify-items: center; gap: 2px; text-shadow: 0 1px 5px rgba(8,17,30,.94), 0 0 11px rgba(8,17,30,.8); }
.chandra-ring-inner span { color: #aeb5c1; font-size: 13px; }
.chandra-ring-inner strong { color: #fff; font-size: clamp(47px,14vw,64px); line-height: 1; font-variant-numeric: tabular-nums; }
.chandra-ring-inner small { color: #adb4c1; font-size: 13px; }
.chandra-selected-date { margin: 5px 12px 10px; color: #8f99a9; font-size: 12px; text-align: center; }
.chandra-goal-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.chandra-goal-line { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; min-height: 55px; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 4px 7px 4px 11px; border: 1px solid rgba(255,255,255,.055); border-radius: 15px; background: rgba(8,15,25,.34); }
.chandra-goal-icon, .chandra-section-icon { display: grid; place-items: center; color: var(--chandra-accent); }
.chandra-goal-icon svg { width: 22px; height: 22px; }
.chandra-goal-line p { margin: 0; color: #aeb5c1; font-size: 13px; }
.chandra-goal-line strong { color: #f2f2f3; }
.chandra-goal-edit, .chandra-calendar-edit { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid rgba(145,194,241,.5); border-radius: 12px; color: var(--chandra-accent); background: rgba(145,194,241,.04); font: inherit; font-size: 12px; }
.chandra-section-icon svg { width: 25px; height: 25px; }
.chandra-small-info { font-size: 17px; }
.chandra-calendar { padding: 14px 12px 12px; }
.chandra-calendar-heading { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; }
.chandra-calendar-title { display: flex; min-width: 0; align-items: center; gap: 9px; }
.chandra-calendar-edit { border: 0; padding: 0 4px; white-space: nowrap; }
.chandra-calendar-month { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; margin: 3px 0 5px; }
.chandra-calendar-month h3 { margin: 0; color: #bbc2ce; font-size: 14px; text-align: center; }
.chandra-calendar-nav { display: grid; width: 44px; min-width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: #919bac; background: transparent; }
.chandra-calendar-nav svg { width: 21px; height: 21px; }
.chandra-weekdays, .chandra-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.chandra-weekdays { color: #7f899a; font-size: 10px; text-align: center; }
.chandra-weekdays span { padding: 6px 0; }
.chandra-calendar-grid { row-gap: 2px; }
.chandra-day { position: relative; display: grid; width: min(100%,44px); min-width: 44px; height: 44px; place-items: center; align-content: center; justify-self: center; gap: 2px; padding: 0; border: 0; border-radius: 13px; color: #dce0e7; background: transparent; font: inherit; font-size: 12px; }
.chandra-day small { min-height: 9px; color: var(--chandra-accent); font-size: 8px; font-variant-numeric: tabular-nums; }
.chandra-day.is-complete { color: #fff; background: rgba(145,194,241,.16); }
.chandra-day.is-complete small { color: var(--chandra-accent); }
.chandra-day.is-outside, .chandra-day.is-future { color: #596272; }
.chandra-day.is-future small { color: #6d5849; }
.chandra-day.is-selected { box-shadow: inset 0 0 0 1px var(--chandra-accent); }
.chandra-day.is-today::after { position: absolute; top: 4px; right: 50%; width: 4px; height: 4px; content: ''; border-radius: 50%; background: var(--chandra-accent); transform: translateX(50%); }
.chandra-calendar-legend { margin: 9px 0 0; color: #7d8797; font-size: 9px; text-align: center; }
.chandra-calendar-legend::first-letter { color: var(--chandra-accent); }
.chandra-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 11px 8px; }
.chandra-stats > div { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 7px; padding: 3px 10px; }
.chandra-stats > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.chandra-stats svg { width: 29px; height: 29px; color: var(--chandra-accent); }
.chandra-stats p { display: grid; gap: 3px; margin: 0; min-width: 0; }
.chandra-stats p span { color: #8993a3; font-size: 10px; }
.chandra-stats p strong { color: var(--chandra-accent); font-size: 14px; }
.chandra-state { display: grid; min-height: 280px; place-items: center; align-content: center; gap: 14px; color: #aeb5c1; text-align: center; }
.chandra-primary { min-width: 44px; min-height: 46px; padding: 9px 18px; border: 1px solid rgba(145,194,241,.3); border-radius: 14px; color: #fff; background: #386f9a; font: inherit; font-weight: 700; }
.chandra-dialog-backdrop { position: fixed; z-index: 1300; inset: 0; display: grid; align-items: end; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(1,5,10,.76); }
.chandra-dialog { display: grid; width: min(100%,520px); max-height: calc(100dvh - 24px); gap: 16px; margin: 0 auto; padding: 18px; overflow-y: auto; border: 1px solid rgba(145,194,241,.3); border-radius: 23px; color: #eef0f3; background: #101a28; }
.chandra-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chandra-dialog-heading h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.chandra-dialog-x { flex: 0 0 auto; color: #adb5c2; font-size: 27px; }
.chandra-dialog-copy { margin: 0; color: #b5bdc9; font-size: 14px; line-height: 1.62; }
.chandra-default-goal-note { margin-top: -8px; padding: 9px 11px; border-left: 2px solid var(--chandra-accent); background: rgba(145,194,241,.055); font-size: 12px; line-height: 1.45; }
.chandra-video-links { display: grid; gap: 9px; }
.chandra-youtube-link { display: grid; grid-template-columns: 27px minmax(0,1fr); min-height: 48px; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(145,194,241,.3); border-radius: 14px; color: #f2f3f5; background: rgba(145,194,241,.06); text-decoration: none; }
.chandra-youtube-link svg { width: 25px; height: 25px; fill: #ff3131; stroke: none; }
.chandra-youtube-link span { font-size: 13px; line-height: 1.3; }
.chandra-dialog-date { margin: -8px 0 0; color: #929cab; font-size: 13px; }
.chandra-goal-stepper { display: grid; grid-template-columns: 56px minmax(80px,1fr) 56px; align-items: center; gap: 10px; }
.chandra-goal-stepper button { min-width: 44px; min-height: 56px; border: 1px solid rgba(145,194,241,.5); border-radius: 15px; color: var(--chandra-accent); background: transparent; font: inherit; font-size: 29px; }
.chandra-goal-stepper output { color: #fff; font-size: 38px; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; }
.chandra-dialog-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.chandra-dialog-cancel { min-width: 44px; min-height: 46px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #bbc2cc; background: transparent; font: inherit; }
.chandra-toast { position: fixed; z-index: 1400; right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); left: 14px; width: min(calc(100% - 28px),480px); margin: 0 auto; padding: 12px 16px; border: 1px solid rgba(255,112,120,.35); border-radius: 14px; color: #ffd3d6; background: #3a1820; text-align: center; }

@media (max-width: 420px) {
  .chandra-page { gap: 10px; }
  .chandra-hero { padding-left: 12px; }
  .chandra-hero-copy { grid-template-columns: 48px minmax(0,1fr); gap: 9px; }
  .chandra-hero-icon { width: 48px; height: 48px; }
  .chandra-hero-icon svg { width: 30px; height: 30px; }
  .chandra-counter { grid-template-columns: 60px minmax(138px,176px) 60px; gap: 7px; }
  .chandra-step { width: 54px; height: 54px; }
  .chandra-day { width: 100%; min-width: 0; }
}
@media (max-width: 340px) {
  .chandra-header { grid-template-columns: 62px minmax(0,1fr) 44px; gap: 4px; }
  .chandra-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chandra-hero h1 { font-size: 23px; }
  .chandra-counter { grid-template-columns: 52px minmax(132px,160px) 52px; padding-right: 6px; padding-left: 6px; }
  .chandra-step { width: 48px; height: 48px; }
  .chandra-goal-line { grid-template-columns: 24px minmax(0,1fr) auto; margin-right: 8px; margin-left: 8px; padding-left: 7px; }
  .chandra-goal-edit { padding: 0 7px; }
  .chandra-stats > div { grid-template-columns: 30px minmax(0,1fr); padding: 3px 6px; }
  .chandra-stats svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .chandra-page *, .chandra-page *::before, .chandra-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.chandra-ring::after { position:absolute; z-index:1; content:""; inset:7px; border-radius:50%; background:url("/assets/practices/chandra-namaskar/moon.webp?v=jan42") center / 100% auto no-repeat; }
.chandra-ring.is-goal-achieved { box-shadow: 0 0 18px rgba(185,220,255,.4); }
