/* Shared application surfaces. Public landing pages keep their own styles. */
.wellness-app, .wellness-modal, .routine-preview-modal, .wellness-chooser {
  --bg: #0b0d0e;
  --panel: #131617;
  --border: rgba(255,255,255,.075);
  --brand: #f5d74d;
  --muted: #a4a8a8;
  --subtle: #899090;
  font-variant-numeric: tabular-nums;
}
.wellness-app .content { width: min(1060px,100%); padding-top: 48px; }
.wellness-app .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wellness-app .section { margin-top: 48px; }
.wellness-app .section-head { align-items: center; gap: 16px; margin-bottom: 20px; }
.wellness-app .section-head h2 { font-size: clamp(21px,2.3vw,27px); letter-spacing: -.035em; }
.wellness-app .page-head h1 { font-size: clamp(34px,4vw,48px); }
.wellness-app p { line-height: 1.75; }
.wellness-app .page-head p { font-size: 14px; }
.wellness-app .btn, .wellness-modal .btn, .wellness-chooser .btn { border-radius: 14px; min-height: 46px; font-size: 13px; }
.wellness-app .btn-primary, .wellness-chooser .btn-primary { box-shadow: none; }
.wellness-app .btn-secondary, .wellness-modal .btn-secondary { background: #191c1d; border-color: rgba(255,255,255,.1); }
.wellness-app .btn-ghost { color: #aeb3b3; }
.wellness-app .btn:active, .wellness-modal .btn:active { transform: scale(.98); }
.wellness-app .btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.wellness-app :is(button, summary, a):focus-visible, .wellness-modal :is(button, input, textarea, summary):focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.wellness-app .card { background: #111415; border-color: var(--border); box-shadow: none; }
.wellness-app .sidebar { background: #0b0d0e; }
.wellness-app .nav-item { min-height: 48px; margin-bottom: 5px; color: #919797; }
.wellness-app .nav-item.active { color: var(--brand); background: #171a1b; }
.wellness-app .privacy-status { border: 0; padding: 12px; background: transparent; }
:is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header { background: rgba(11,13,14,.88); }
.wellness-app .pwa-install-header-button { color: var(--muted); border-color: var(--border); background: transparent; }
.home-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; }
.home-intro h1 { font-size: clamp(44px,6vw,68px); font-weight: 800; letter-spacing: -.065em; }
.home-intro p { color: #d4d7d5; font-size: 16px; margin: 14px 0 10px; }
.home-date { font-size: 12px; color: var(--subtle); }
.daily-ring { width: 132px; height: 132px; padding: 5px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--progress)*1%), #25292a 0); }
.daily-ring > div { width: 100%; height: 100%; border-radius: 50%; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.daily-ring strong { font-size: 36px; line-height: 1; font-weight: 760; }
.daily-ring small { color: var(--muted); font-size: 17px; font-weight: 500; }
.daily-ring span { font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.home-pulse { display: grid; grid-template-columns: auto auto 1fr; gap: 24px; align-items: center; border-block: 1px solid var(--border); margin-top: 28px; padding-block: 20px; }
.home-pulse > div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.home-pulse strong { display: block; font-size: 26px; line-height: 1.2; }
.home-pulse strong small { font-size: 12px; margin-left: 6px; color: var(--muted); font-weight: 500; }
.home-pulse span { display: block; color: var(--subtle); font-size: 11px; margin-top: 6px; }
.home-pulse p { color: var(--subtle); font-size: 11px; justify-self: end; margin: 0; }
.today-action-list { border: 1px solid var(--border); border-radius: 20px; background: var(--panel); padding-inline: 22px; }
.today-action { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 14px; padding-block: 21px; }
.today-action + .today-action { border-top: 1px solid var(--border); }
.today-action-icon { color: #a6acad; }
.today-action-icon svg { width: 24px; height: 24px; }
.today-action h3 { font-size: 16px; line-height: 1.45; letter-spacing: -.02em; }
.today-action p { margin: 5px 0 0; font-size: 12px; color: var(--subtle); }
.today-routine-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.today-routine-row:first-child { border-top: 1px solid var(--border); }
.routine-state { width: 32px; height: 32px; display: grid; place-items: center; color: #777f7f; border: 1px solid var(--border); border-radius: 50%; }
.routine-state svg { width: 16px; height: 16px; }
.today-routine-row.is-complete .routine-state { color: var(--brand); border-color: rgba(245,215,77,.25); }
.today-routine-copy h3 { font-size: 16px; line-height: 1.45; }
.today-routine-copy p { font-size: 12px; color: var(--subtle); margin: 5px 0 0; }
.today-routine-actions { display: flex; gap: 4px; }
.rest-day { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-block: 1px solid var(--border); }
.rest-day > span { color: var(--muted); flex: 0 0 28px; }
.rest-day > span svg { width: 24px; height: 24px; }
.rest-day h3 { font-size: 16px; }
.rest-day p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.check-journey { padding: 28px; background: #121516; border: 1px solid var(--border); border-radius: 22px; }
.wellness-app .check-journey .section-head { margin-bottom: 24px; }
.journey-count { color: var(--subtle); font-size: 12px; white-space: nowrap; }
.journey-count strong { color: var(--text); font-size: 24px; }
.ui-progress-track { height: 6px; background: #2a2d2e; border-radius: 10px; overflow: hidden; }
.ui-progress-track > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); transition: width .35s ease; }
.check-journey > p { font-size: 13px; color: var(--muted); margin: 14px 0 26px; }
.check-milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.check-milestones li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.check-milestones li:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: 30px; right: 0; height: 1px; background: #353939; }
.check-milestones li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #353939; background: #121516; color: var(--subtle); font-size: 10px; }
.check-milestones .is-complete > span { border-color: var(--brand); color: var(--brand); }
.check-milestones svg { width: 15px; height: 15px; }
.check-milestones strong { display: block; font-size: 12px; color: #d8dcda; }
.check-milestones small { display: block; font-size: 10px; color: var(--subtle); margin-top: 4px; }
.journey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.journey-actions .btn { font-size: 12px; }
.recent-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.recent-stats > div + div { border-left: 1px solid var(--border); padding-left: 20px; }
.recent-stats > div > span { color: var(--muted); font-size: 12px; }
.recent-stats strong { display: block; font-size: 40px; line-height: 1.3; font-weight: 650; letter-spacing: -.055em; margin-top: 9px; }
.recent-stats small { font-size: 13px; color: var(--subtle); margin-left: 3px; letter-spacing: 0; font-weight: 400; }
.muted-label { color: var(--subtle); font-size: 11px; }
.record-week { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 12px; margin: 26px 0; }
.record-week > div { text-align: center; }
.record-week > div > span:first-child { display: grid; place-items: center; height: 40px; border-radius: 10px; background: #151819; color: #5a6262; }
.record-week .recorded > span:first-child { background: rgba(245,215,77,.08); color: var(--brand); }
.record-week svg { width: 16px; height: 16px; }
.record-week small { display: block; color: var(--subtle); font-size: 10px; margin-top: 8px; }
.frequent-habit { font-size: 11px; color: var(--subtle); }
.frequent-habit strong { display: block; font-size: 15px; font-weight: 550; margin-top: 5px; color: #d9dcd9; }
.insight-invite { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.insight-invite p { font-size: 13px; color: var(--muted); margin: 0; }
.ask-entry { padding-top: 30px; border-top: 1px solid var(--border); }
.ask-entry .section-head p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.ask-symbol { color: var(--muted); display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; }
.ask-symbol svg { width: 24px; height: 24px; }
.ask-prompts { display: grid; margin-bottom: 16px; }
.ask-prompts button { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; padding: 15px 0; min-height: 48px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: #d3d7d6; font-size: 13px; cursor: pointer; }
.ask-prompts svg { width: 16px; height: 16px; color: var(--subtle); flex-shrink: 0; }
.wellness-app .ask-entry .ask-banana-section { margin-top: 25px; }
.wellness-app .ask-entry .ask-banana-section .section-kicker, .wellness-app .ask-entry .ask-banana-section h2, .wellness-app .ask-entry .ask-candidates { display: none; }
.wellness-app .premium-lock { text-align: left; padding: 20px 0; background: transparent; border: 0; border-block: 1px solid var(--border); border-radius: 0; }
.wellness-app .premium-lock .premium-label { color: var(--subtle); }
.wellness-app .premium-lock h3 { font-size: 18px; }
.wellness-app .premium-lock p { max-width: none; margin-inline: 0; font-size: 13px; }
.ui-details { border-block: 1px solid var(--border); padding: 4px 0; }
.ui-details > summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 18px 0; color: #d0d5d3; }
.ui-details > summary svg { width: 16px; height: 16px; vertical-align: middle; margin-left: 8px; }
.ui-details[open] > summary { margin-bottom: 14px; }
.ui-details .insight-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ui-details > p { font-size: 13px; color: var(--muted); }
.wellness-app .routine-view-switch { display: flex; width: 100%; padding: 5px; margin-bottom: 32px; background: #16191a; border: 1px solid var(--border); border-radius: 15px; }
.wellness-app .routine-view-switch button { flex: 1; min-height: 44px; border-radius: 10px; font-size: 13px; }
.wellness-app .segmented button.active { background: #303431; color: #fff; box-shadow: none; }
.wellness-app .routine-view-switch button.active { background: #303331; color: #fff; }
.wellness-app .routine-grid { gap: 16px; }
.wellness-app .routine-card { padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: #131617; }
.wellness-app .routine-card.is-done { border-color: rgba(245,215,77,.18); }
.wellness-app .routine-card h3 { font-size: 22px; line-height: 1.45; letter-spacing: -.025em; }
.wellness-app .routine-card-top { gap: 15px; align-items: center; }
.wellness-app .routine-category { display: block; color: var(--subtle); font-size: 11px; margin: 6px 0 0; }
.routine-card-symbol { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #8b9391; }
.routine-card-symbol svg { width: 21px; height: 21px; }
.wellness-app .routine-card p { font-size: 12px; margin: 14px 0; color: var(--muted); }
.wellness-app .routine-meta span { border: 0; padding: 0; font-size: 11px; }
.wellness-app .routine-meta span + span::before { content: '·'; margin-right: 8px; color: #555e5b; }
.wellness-app .routine-meta .completed-label { color: var(--brand); }
.completed-label svg { width: 12px; height: 12px; vertical-align: middle; }
.wellness-app .routine-card-actions { margin-top: 22px; }
.wellness-app .routine-card-actions .btn:last-child { margin-left: auto; min-width: 90px; }
.wellness-app .routine-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.wellness-app .filter-chip { white-space: nowrap; min-height: 44px; flex-shrink: 0; }
.wellness-app .routine-search { flex-direction: row; }
.wellness-app .routine-search .btn { width: auto; }
.wellness-app .routine-extras { margin-top: 40px; }
.wellness-app [hidden] { display: none !important; }
.current-metric { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; padding-block: 12px 26px; }
.current-metric h2 { font-size: 18px; margin-bottom: 20px; }
.current-value { display: block; font-size: clamp(48px,7vw,78px); font-weight: 600; letter-spacing: -.065em; line-height: 1.25; margin-top: 8px; }
.current-value small { font-size: 18px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 8px; }
.current-change { padding-bottom: 10px; }
.current-change > span { font-size: 12px; color: var(--subtle); }
.current-change strong { display: block; font-size: 26px; font-weight: 500; margin-top: 8px; }
.current-change small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.metric-context { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; border-top: 1px solid var(--border); padding-top: 20px; gap: 18px; }
.metric-context dt { color: var(--subtle); font-size: 11px; }
.metric-context dd { margin: 6px 0 0; font-size: 16px; }
.reference-details { margin-bottom: 28px; }
.wellness-app .reference-details .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wellness-app .stat-card { padding: 16px 0; background: transparent; border: 0; border-radius: 0; }
.wellness-app .stat-card strong { font-size: 21px; }
.wellness-app .stat-card span { line-height: 1.7; color: var(--muted); }
.wellness-app .chart-card { padding: 24px 16px; }
.wellness-app .chart-head { flex-wrap: wrap; }
.wellness-app .segmented { flex-wrap: wrap; }
.wellness-app .segmented button { min-height: 42px; }
.wellness-app .record-card { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 22px 0; }
.wellness-app .record-card .action-card-icon { background: #1a1d1e; color: var(--muted); border-radius: 14px; }
.wellness-app .record-layout > aside { background: transparent; border: 0; border-left: 1px solid var(--border); border-radius: 0; }
.wellness-chooser .onboarding-category-choice { padding: 0 0 12px; background: transparent; border: 0; color: var(--muted); font-size: 12px; }
.onboarding-shell:has(.wellness-chooser) { background: #0b0d0e; }
.wellness-chooser .choice-card { padding: 0; background: transparent; }
.wellness-chooser .choice-content { border-radius: 18px; padding: 20px 18px 20px 48px; background: #131617; }
.wellness-chooser .choice-card input:checked + .choice-content { border-color: rgba(245,215,77,.45); background: #191b15; box-shadow: none; }
.wellness-chooser .choice-content::before, .wellness-chooser .choice-card input:checked + .choice-content::after { top: 22px; }
.wellness-chooser .choice-content strong { font-size: 17px; }
.wellness-chooser .choice-content small { line-height: 1.7; }
.wellness-chooser .onboarding-routine-group { margin-top: 32px; }
.wellness-modal { background: #0e1112; border: 1px solid rgba(255,255,255,.12); padding: 28px; border-radius: 24px; max-height: min(92dvh,900px); }
.wellness-modal .modal-head h2 { font-size: 25px; line-height: 1.45; }
.wellness-modal .modal-head h2:focus { outline: none; }
.wellness-modal input, .wellness-modal textarea, .wellness-modal select { background: #191c1d; border-color: rgba(255,255,255,.09); border-radius: 13px; font-size: 16px; color: #f5f4ed; }
.wellness-modal .form-field > label { font-size: 13px; color: #d0d5d3; margin-bottom: 10px; }
.wellness-modal .form-grid { gap: 24px 18px; }
.wellness-modal .help-text { font-size: 11px; line-height: 1.8; }
.wellness-modal .btn-primary { min-height: 56px; box-shadow: 0 5px 25px rgba(245,215,77,.12); }
.routine-log-select { margin-bottom: 26px; }
.routine-log-title h3 { font-size: clamp(28px,5vw,34px); line-height: 1.35; letter-spacing: -.04em; }
.routine-log-title .routine-category { display: inline-block; padding: 5px 10px; border: 1px solid var(--border); border-radius: 20px; font-size: 11px; margin-top: 12px; color: var(--muted); }
.routine-log-title p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 14px 0 24px; }
.routine-status-options { border: 0; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.routine-status-options legend { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.routine-status-options label { position: relative; display: flex; align-items: center; gap: 10px; padding: 17px 12px; min-height: 72px; border: 1px solid var(--border); border-radius: 16px; background: #171a1b; cursor: pointer; }
.routine-status-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.routine-status-options label:has(input:checked) { border-color: var(--brand); background: rgba(245,215,77,.055); }
.routine-status-options label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 4px; }
.status-choice-icon { width: 27px; height: 27px; border-radius: 50%; background: #292e2d; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.status-choice-icon svg { width: 16px; height: 16px; }
.routine-status-options input:checked + .status-choice-icon { background: var(--brand); color: #101210; }
.routine-status-options strong { font-size: 13px; line-height: 1.5; }
.routine-entry-fields h4 { display: flex; align-items: center; justify-content: space-between; font-size: 15px; margin: 0 0 14px; }
.routine-entry-fields h4 span { font-size: 11px; color: var(--subtle); font-weight: 400; }
.routine-stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #151819; border: 1px solid var(--border); border-radius: 16px; padding: 12px 15px; margin-bottom: 10px; }
.routine-stepper label { color: #d8dcda; font-size: 13px; margin: 0; }
.routine-stepper label small { display: block; font-size: 10px; font-weight: 400; color: var(--subtle); margin-top: 5px; }
.routine-stepper > div { display: flex; align-items: center; gap: 8px; }
.routine-stepper input { width: 64px; height: 48px; padding: 5px; text-align: center; font-size: 23px; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.routine-stepper input::-webkit-inner-spin-button, .routine-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.routine-stepper button { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.07); background: #24292a; color: #f5f4ed; border-radius: 50%; width: 44px; height: 44px; font-size: 25px; cursor: pointer; }
.additional-log-fields { margin-block: 20px 26px; }
.additional-log-fields > summary { font-size: 12px; }
.supplement-entry { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.routine-save-actions { position: sticky; bottom: -28px; padding: 20px 0 8px; background: linear-gradient(transparent,#0e1112 25%); margin-top: 12px; }
.routine-save-actions .btn { width: 100%; }
.routine-note textarea { width: 100%; min-height: 92px; }
.record-success-modal { text-align: center; position: relative; padding: 44px 28px 30px; }
.success-close { position: absolute; top: 12px; right: 12px; }
.success-mark { width: 90px; height: 90px; margin: 10px auto 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #111509; box-shadow: 0 0 50px rgba(245,215,77,.18); animation: record-saved .4s ease-out; }
.success-mark svg { width: 47px; height: 47px; stroke-width: 3; }
.record-success-modal h2 { font-size: clamp(26px,4vw,34px); line-height: 1.45; outline: none; }
.success-description { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 14px 0 28px; }
.success-progress { text-align: left; background: #171a1b; border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.success-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.success-progress h3 { font-size: 14px; }
.success-progress strong { font-size: 34px; color: var(--brand); font-weight: 600; }
.success-progress small { font-size: 17px; color: var(--muted); }
.success-progress p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.success-progress .ui-progress-track { height: 8px; }
.success-actions { display: grid; gap: 12px; margin-top: 26px; }
.success-actions .btn { min-height: 56px; }
@keyframes record-saved { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 1020px) {
  .wellness-app .bottom-nav { background: rgba(11,13,14,.9); border-color: rgba(255,255,255,.075); backdrop-filter: blur(24px); }
  .wellness-app .bottom-nav button { color: #777f80; font-size: 10px; min-height: 49px; gap: 4px; }
  .wellness-app .bottom-nav button.active { color: var(--brand); }
  .wellness-app .bottom-nav svg { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .wellness-app .content { padding: 30px 20px 36px; }
  .wellness-app .section { margin-top: 38px; }
  .wellness-app .section-head { margin-bottom: 18px; }
  .wellness-app .section-head .btn { padding: 8px; font-size: 12px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header { grid-template-columns: minmax(0,1fr) auto; padding-inline: 14px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .topbar-actions { width: auto; gap: 5px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .site-account-button { flex-basis: 64px; width: 64px; min-width: 64px; max-width: 64px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .language-button { flex-basis: 46px; width: 46px; min-width: 46px; min-height: 44px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .brand small { display: none; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .pwa-install-header-button { min-width: 36px; width: 36px; flex-basis: 36px; border: 0; }
  .home-intro { gap: 14px; }
  .home-intro h1 { font-size: 45px; }
  .home-intro p { font-size: 13px; margin-block: 12px 8px; }
  .daily-ring { width: 92px; height: 92px; padding: 4px; }
  .daily-ring strong { font-size: 28px; }
  .daily-ring small { font-size: 12px; }
  .daily-ring span { font-size: 9px; letter-spacing: 0; }
  .home-pulse { grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 24px; padding-block: 18px; }
  .home-pulse > div + div { padding-left: 20px; }
  .home-pulse p { grid-column: 1/-1; max-width: none; justify-self: start; font-size: 10px; }
  .today-action-list { padding-inline: 16px; border-radius: 18px; }
  .today-action { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding-block: 20px; }
  .today-action-icon { display: none; }
  .today-action h3 { font-size: 14px; }
  .today-action p { font-size: 11px; }
  .today-action .btn { padding-inline: 12px; font-size: 12px; }
  .today-routine-row { gap: 11px; grid-template-columns: 28px minmax(0,1fr); padding-block: 18px; }
  .routine-state { width: 28px; height: 28px; }
  .today-routine-copy h3 { font-size: 16px; }
  .today-routine-actions { grid-column: 2; justify-content: flex-end; }
  .today-routine-actions .btn { min-height: 44px; padding: 8px 20px; font-size: 12px; }
  .check-journey { padding: 22px 18px; border-radius: 20px; }
  .wellness-app .check-journey .section-head h2 { font-size: 21px; }
  .journey-count { font-size: 10px; }
  .journey-count strong { font-size: 23px; }
  .check-journey > p { font-size: 12px; }
  .check-milestones small { font-size: 9px; }
  .journey-actions { display: grid; gap: 6px; }
  .recent-stats { gap: 12px; }
  .recent-stats > div + div { padding-left: 12px; }
  .recent-stats > div > span { font-size: 10px; }
  .recent-stats strong { font-size: 32px; }
  .recent-stats small { font-size: 11px; }
  .record-week { gap: 7px; }
  .record-week > div > span:first-child { height: 35px; border-radius: 8px; }
  .insight-invite { flex-direction: column; align-items: start; gap: 16px; }
  .wellness-app .routine-section { margin-top: 32px; }
  .wellness-app .routine-card { padding: 21px 18px; }
  .wellness-app .routine-card h3 { font-size: 21px; }
  .wellness-app .routine-card-actions .btn { min-height: 46px; padding-inline: 12px; }
  .wellness-app .routine-grid { grid-template-columns: minmax(0,1fr); }
  .wellness-app .routine-search { gap: 8px; }
  .current-metric { gap: 24px 15px; }
  .current-value { font-size: 51px; }
  .current-value small { font-size: 14px; margin-left: 5px; }
  .current-change { padding-bottom: 6px; }
  .current-change > span { font-size: 10px; }
  .current-change strong { font-size: 21px; }
  .current-change small { font-size: 10px; }
  .metric-context { gap: 12px; }
  .metric-context dd { font-size: 14px; }
  .wellness-app .record-layout > aside { border-left: 0; padding: 20px 0; }
  .wellness-app .record-card { grid-template-columns: 1fr auto; }
  .wellness-app .record-card .record-icon { display: none; }
  .wellness-app .record-card .btn { grid-column: auto; }
  .wellness-app .record-card h2 { font-size: 17px; }
  .wellness-app .record-card p { font-size: 11px; }
  .modal-backdrop:has(.wellness-modal) { padding: 10px; align-items: end; }
  .wellness-modal { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px; max-height: calc(100dvh - 20px); width: 100%; }
  .wellness-modal .modal-head h2 { font-size: 23px; }
  .routine-save-actions { bottom: calc(-24px - env(safe-area-inset-bottom)); padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .routine-status-options { gap: 8px; }
  .routine-status-options label { padding: 14px 10px; gap: 8px; }
  .routine-status-options strong { font-size: 12px; }
  .routine-stepper { padding: 12px; }
  .routine-stepper > div { gap: 6px; }
  .record-success-modal { padding-top: 34px; }
  .success-mark { width: 82px; height: 82px; margin-bottom: 26px; }
  .success-progress { padding: 20px; }
}
@media (max-width: 360px) {
  .wellness-app .content { padding-inline: 16px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header { padding-inline: 10px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .brand { font-size: 15px; gap: 5px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .brand-mark { width: 24px; height: 24px; }
  :is(.wellness-app, .onboarding-shell:has(.wellness-chooser)) .site-header .site-account-button { flex-basis: 54px; width: 54px; min-width: 54px; max-width: 54px; }
  .today-action-list { padding-inline: 12px; }
  .today-action h3 { font-size: 13px; }
  .today-action .btn { font-size: 11px; padding-inline: 10px; }
  .wellness-modal { padding-inline: 16px; }
  .routine-status-options { grid-template-columns: 1fr; }
  .routine-stepper { padding-inline: 10px; }
  .routine-stepper input { width: 48px; }
  .routine-stepper > div { gap: 4px; }
  .current-value { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .wellness-app *, .wellness-modal * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
