@charset "UTF-8";
/* ReBelta workspace. Shared palette/wordmark with the pitch; independent application layout. */
:root {--paper:#f7f8f3; --ink:#243d36; --green:#174e44; --green-dark:#123c35; --lime:#dfe9b7; --accent:#ef936c; --nav-text:#d4dfd9; --muted:#60746b; --muted-on-soft:#53695e; --line:#d8e0d6; --white:#fff; --soft:#eaf0e5; --warm:#a35a30; --teal:var(--green); --teal-deep:var(--green-dark); --orange:var(--warm); --radius:10px; --shadow:none; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--paper); font-size:16px; line-height:1.5; font-synthesis:none}
* {box-sizing:border-box}
body {margin:0; min-width:320px}
button,input,select,textarea {font:inherit}
button,a,input,select,textarea {-webkit-tap-highlight-color:transparent}
button {cursor:pointer; color:inherit}
button:disabled {cursor:not-allowed; opacity:.48}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #cc704a; outline-offset:4px}
a {color:inherit}
h1,h2,h3,p {margin:0}
h1 {font-size:32px; line-height:1.15; letter-spacing:-1px; font-weight:650}
h2 {font-size:23px; line-height:1.25; letter-spacing:-.6px; font-weight:620}
h3 {font-size:17px; line-height:1.4; font-weight:600}
.muted {color:var(--muted)}
.small {font-size:14px}
.eyebrow {font-size:12px; letter-spacing:1.8px; font-weight:700; text-transform:uppercase}
.icon {width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0}
.skip-link {position:fixed; left:12px; top:-80px; z-index:99; padding:14px; background:white}
.skip-link:focus {top:10px}
.boot-screen {min-height:100vh; display:grid; place-content:center; text-align:center; gap:20px; color:var(--muted)}
.boot-mark {display:block; font-size:44px; font-weight:750; line-height:1.1; color:var(--ink); letter-spacing:-2px}
.noscript {padding:30px}
.app-shell {display:grid; grid-template-columns:232px minmax(0,1fr); min-height:100vh}
.sidebar {position:fixed; inset:0 auto 0 0; width:232px; background:#fff; border-right:1px solid var(--line); padding:31px 20px 23px; display:flex; flex-direction:column; z-index:10; overflow-y:auto}
.brand {display:inline-flex; align-items:baseline; gap:0; text-decoration:none; font-size:29px; letter-spacing:-1.4px; font-weight:750; line-height:1.15; color:var(--ink); min-height:36px}
.sidebar>.brand {margin:0 12px 36px}
.brand-subtitle {font-size:12px; letter-spacing:0; color:var(--muted); margin:4px 0 37px}
.nav-caption {font-size:12px; letter-spacing:1.6px; color:var(--muted); font-weight:650; margin:0 0 12px 14px; margin-left:12px}
.nav-list {display:flex; flex-direction:column; gap:8px}
.nav-link {display:flex; align-items:center; gap:12px; border:1px solid transparent; background:transparent; border-radius:12px; padding:10px 12px; text-align:left; font-size:14px; color:var(--muted); position:relative; min-height:56px; font-weight:550; transition:background .15s,border-color .15s,color .15s}
.nav-link>.icon {width:34px; height:34px; padding:6px; border-radius:9px; background:var(--soft)}
.nav-link.active {background:var(--soft); color:var(--green); font-weight:650}
.nav-link.active>.icon {background:#ffffff75}
.nav-link.active:after {content:""; position:absolute; width:5px; height:5px; right:15px; border-radius:50%; background:#dce8b1; display:none}
.nav-link:hover:not(.active) {background:var(--paper); color:var(--teal)}
.sidebar-bottom {margin-top:auto; padding-top:40px}
.help-card {position:relative; border-radius:0; background:transparent; padding:22px 3px 0; overflow:hidden; border-top:1px solid var(--line)}
.help-card>svg {color:var(--teal); margin-bottom:12px}
.help-card p {font-size:14px; color:var(--muted); line-height:1.65; margin-top:8px}
.help-card button {margin-top:14px; border:0; background:transparent; padding:6px 0; font-size:14px; display:flex; align-items:center; gap:9px; font-weight:600; color:var(--teal); min-height:44px}
.sidebar-footer {display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-top:24px; flex-direction:column; gap:4px}
.sidebar-footer .site-link {color:inherit; text-decoration:underline; text-underline-offset:3px}
.workspace {grid-column:2; min-width:0}
.topbar {height:auto; padding:12px 36px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); background:var(--paper); min-height:82px}
.breadcrumb {font-size:12px; color:var(--muted); display:flex; gap:10px; align-items:center}
.breadcrumb span:last-child {color:var(--ink)}
.topbar-tools {display:flex; align-items:center; gap:22px}
.mode-label {padding:7px 12px; border:1px solid #d8e2cf; border-radius:5px; font-size:12px; font-weight:650; color:var(--green); display:flex; align-items:center; gap:7px; border-color:var(--line)}
.mode-label:before {content:""; height:6px; width:6px; background:var(--green); border-radius:50%}
.profile-control {display:flex; align-items:center; gap:10px}
.avatar {display:grid; place-items:center; flex-shrink:0; width:39px; height:39px; border-radius:50%; background:var(--soft); color:var(--green); font-size:14px; font-weight:650}
.profile-label {font-size:12px; text-transform:none; letter-spacing:0; color:var(--muted); line-height:1.3; display:block}
.profile-select {font-size:14px; max-width:270px; padding:3px 20px 3px 0; border:0; background:transparent; color:var(--ink); font-weight:550; cursor:pointer; min-height:44px; line-height:1.4}
.section-heading {display:flex; align-items:center; gap:11px; min-width:0}
.section-heading>.icon {width:38px; height:38px; padding:9px; color:var(--green); background:var(--soft); border:1px solid var(--line); border-radius:12px}
.section-heading-title {font-size:18px; line-height:1.3; font-weight:650; letter-spacing:-.35px; overflow-wrap:anywhere}
.profile-picker {position:relative; min-width:0; width:280px; max-width:100%}
.profile-trigger {width:100%; display:flex; align-items:center; gap:10px; min-height:58px; padding:8px 11px; border:1px solid var(--line); border-radius:14px; background:var(--white); text-align:left; transition:border-color .15s,box-shadow .15s}
.profile-trigger:hover,.profile-trigger[aria-expanded="true"] {border-color:#9fb9a7; box-shadow:0 3px 12px #123c3508}
.profile-trigger .avatar {display:grid; width:38px; height:38px; background:var(--soft)}
.profile-copy,.profile-option-copy {flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
.profile-option-copy>strong {font-size:14px; line-height:1.5; font-weight:650}
.profile-option-copy>span {font-size:12px; line-height:1.5; color:var(--muted)}
.profile-menu-caption {font-size:12px; font-weight:550; color:var(--muted); padding:7px 11px 10px}
.profile-name {display:block; font-size:14px; line-height:1.4; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.profile-role {display:block; color:var(--muted); font-size:12px; line-height:1.35; font-weight:450}
.profile-chevron {width:16px; height:16px; color:var(--green); transition:transform .15s}
.profile-trigger[aria-expanded="true"] .profile-chevron {transform:rotate(180deg)}
.profile-menu {position:absolute; top:calc(100% + 9px); right:0; z-index:35; width:320px; max-width:calc(100vw - 32px); padding:7px; border:1px solid var(--line); border-radius:17px; background:var(--white); box-shadow:0 16px 48px #123c3526}
.profile-menu[hidden] {display:none}
.profile-option {display:flex; align-items:center; gap:11px; width:100%; min-height:70px; padding:11px; border:1px solid transparent; border-radius:11px; text-align:left; background:transparent}
.profile-option:hover {background:var(--paper)}
.profile-option.is-selected {background:var(--soft); border-color:#cbdcc7}
.profile-option .avatar {display:grid; width:38px; height:38px; background:var(--paper)}
.profile-option.is-selected .avatar {background:var(--green); color:var(--white)}
.profile-check {width:20px; height:20px; margin-left:auto; color:var(--green); flex-shrink:0}
.demo-banner {padding:9px 36px; background:var(--soft); color:#435d50; font-size:12px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); line-height:1.7}
.demo-banner strong {font-weight:650}
.demo-banner .demo-dot {display:inline-block; width:5px; height:5px; background:var(--green); border-radius:50%; margin:0 8px 2px 0}
.demo-banner button {border:0; background:transparent; color:var(--green); font-size:14px; text-decoration:underline; text-underline-offset:3px; padding:6px 0; white-space:nowrap; min-height:44px}
.content {max-width:1530px; padding:32px 36px; margin:auto; outline:none}
.page-heading {display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px}
.page-heading p {font-size:14px; color:var(--muted); margin-top:8px}
.date-label {font-size:12px; color:var(--muted); display:flex; align-items:center; gap:8px; white-space:nowrap; padding-bottom:4px}
.date-label .icon {width:15px; height:15px}
.dashboard-grid {display:grid; grid-template-columns:minmax(0,1fr) 292px; gap:26px; align-items:start}
.dashboard-priority {display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:24px; align-items:stretch; margin-bottom:30px}
.card.next-session-card {display:flex; flex-direction:column; align-items:flex-start; padding:28px; border:1px solid var(--green-dark); border-radius:18px; background:var(--green-dark); color:var(--paper); min-width:0}
.next-session-label {display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:650; letter-spacing:1.2px; text-transform:uppercase; color:var(--lime)}
.next-session-label .icon {width:17px; height:17px}
.next-session-date {display:flex; align-items:center; gap:12px; font-size:17px; font-weight:550; line-height:1.5; margin-top:19px; color:var(--lime)}
.next-session-date>.icon {width:38px; height:38px; padding:9px; border:1px solid #678573; border-radius:11px}
.next-session-date>span {display:flex; flex-direction:column; gap:3px}
.next-session-date strong {font-size:26px; font-weight:650; line-height:1.2; letter-spacing:-.4px; color:var(--paper)}
.next-session-title {font-size:27px; font-weight:650; line-height:1.22; letter-spacing:-.65px; margin-top:10px; overflow-wrap:anywhere}
.next-session-meta {display:flex; flex-wrap:wrap; align-items:center; gap:8px 15px; color:var(--nav-text); font-size:14px; line-height:1.65; margin-top:13px}
.next-session-meta>.icon {width:17px; height:17px}
.next-session-card>p {font-size:16px; line-height:1.65; color:var(--nav-text); margin-top:13px; max-width:560px}
.next-session-card>p.next-session-meta {font-size:14px}
.next-session-card .muted {color:var(--nav-text)}
.next-session-actions {display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:auto; padding-top:24px; width:100%}
.next-session-actions .button {background:var(--lime); color:var(--green-dark); border-color:var(--lime); border-radius:9px}
.next-session-actions .button:hover:not(:disabled) {background:var(--paper); border-color:var(--paper)}
.next-session-actions .button.secondary {background:transparent; border-color:#748f82; color:var(--paper)}
.next-session-actions .button.secondary:hover:not(:disabled) {background:#1b5348; border-color:var(--nav-text)}
.next-session-card :focus-visible {outline-color:var(--lime)}
.dashboard-schedule {min-width:0}
.dashboard-schedule>.week-card {height:100%; padding:24px; border-radius:18px}
.dashboard-schedule .card-header {gap:12px; margin-bottom:20px}
.dashboard-schedule .card-header h3 {font-size:18px}
.dashboard-schedule .calendar-day span:last-child {width:34px; height:36px; font-size:14px; border-radius:10px}
.dashboard-schedule .calendar-row {gap:4px}
.dashboard-schedule .week-stats {gap:16px}
.dashboard-schedule .text-action {margin-top:12px}
.main-column {display:flex; flex-direction:column; gap:27px; min-width:0}
.side-column {display:flex; flex-direction:column; gap:23px; min-width:0}
.hero-card {border-radius:12px; background:var(--soft); color:var(--ink); min-height:0; position:relative; overflow:hidden; display:grid; align-items:center; padding:29px; grid-template-columns:minmax(0,1.2fr) minmax(200px,.8fr); gap:26px; border:1px solid #ccd9c7}
.hero-copy {position:relative; z-index:2; width:auto; max-width:none; min-width:0}
.hero-copy .eyebrow {color:var(--green); font-size:12px; letter-spacing:1.5px}
.hero-copy h2 {font-size:31px; line-height:1.14; font-weight:620; letter-spacing:-1px; margin:12px 0; text-transform:none}
.hero-copy p {font-size:14px; line-height:1.7; color:var(--muted); max-width:390px; margin-bottom:21px}
.button {display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:11px 16px; border-radius:10px; font-weight:600; font-size:14px; text-decoration:none; min-height:44px; border:1px solid transparent; background:var(--green); color:var(--white); line-height:1.4; transition:background .15s,transform .15s}
.button:hover:not(:disabled) {background:#226357}
.button .icon {width:16px; height:16px}
.button.lime {background:var(--green); color:var(--white)}
.button.lime:hover:not(:disabled) {background:#226357}
.button.secondary {background:var(--white); color:var(--green); border-color:var(--line)}
.button.secondary:hover:not(:disabled) {background:var(--soft)}
.button.ghost {background:transparent; color:var(--teal); padding:8px 3px}
.button.orange {background:#f2a87d; color:#3c3527}
.button.danger {background:#fff2ed; color:#994b36; border-color:#f3d7ca}
.button.large {padding:13px 20px; min-height:49px; font-size:15px}
.button.full {width:100%}
.section-header {display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px}
.section-header h2 {font-size:21px}
.text-action {border:0; background:transparent; display:inline-flex; align-items:center; gap:7px; padding:6px 0; font-size:14px; color:var(--green); font-weight:650; min-height:44px; text-align:left}
.text-action .icon {width:14px; height:14px}
.card {border-radius:10px; background:white; border:1px solid var(--line); box-shadow:none; padding:23px; border-color:var(--line)}
.plan-card {padding:23px 25px}
.plan-top {display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.plan-title-row {display:flex; align-items:center; gap:13px; min-width:0}
.exercise-icon {display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; border-radius:8px; background:var(--soft); color:var(--green)}
.exercise-icon.peach {background:#f0ece3; color:#876a4c}
.exercise-icon .icon {width:25px; height:25px}
.plan-title-row h3 {font-size:17px}
.plan-meta {font-size:12px; color:var(--muted); margin-top:5px; display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center}
.pill {display:inline-flex; align-items:center; gap:5px; border-radius:5px; padding:5px 8px; font-size:12px; font-weight:600; line-height:1.4; background:var(--soft); color:var(--green); white-space:nowrap}
.pill.pending {background:#f7ebd9; color:#805d2d}
.pill.neutral {background:#edf0ed; color:#6d7c71}
.pill.demo {background:#eeefe9; color:#7a806f}
.plan-exercise-list {margin:21px 0 0; border-top:1px solid var(--line)}
.plan-exercise-row {display:flex; gap:12px; align-items:center; padding:15px 0; border-bottom:1px solid #eef0e9; font-size:14px; border-color:var(--line)}
.exercise-number {width:24px; flex-shrink:0; color:var(--muted); font-size:12px}
.exercise-name {flex:1; font-weight:500; min-width:0}
.exercise-dose {font-size:12px; color:var(--muted); white-space:normal; text-align:right}
.plan-footer {display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:19px}
.plan-footnote {font-size:12px; color:var(--muted); display:flex; align-items:flex-start; gap:7px; max-width:55%; line-height:1.5}
.plan-footnote .icon {height:15px; width:15px; margin-top:1px}
.empty-state {display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:30px; gap:12px; border:1px dashed #d4dfcb; border-radius:10px; background:#fbfcf9; border-color:#bacdb8}
.empty-state>.icon {height:31px; width:31px; color:#879b78; margin-bottom:3px}
.empty-state h3 {font-size:19px}
.empty-state p {font-size:14px; color:var(--muted); max-width:450px; line-height:1.7}
.empty-state .button {margin-top:6px}
.week-card {padding:22px}
.card-header {display:flex; justify-content:space-between; align-items:center; margin-bottom:17px}
.card-header h3 {font-size:16px}
.calendar-row {display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px}
.calendar-day {display:flex; flex-direction:column; align-items:center; gap:8px; font-size:12px; color:var(--muted); min-width:0}
.calendar-day span:last-child {width:29px; height:33px; display:grid; place-items:center; border-radius:5px; color:var(--ink); font-size:12px}
.calendar-day.today span:last-child {background:var(--green); color:white}
.calendar-day.done:not(.today) span:last-child {background:var(--lime); color:var(--green-dark)}
.week-separator {height:1px; background:var(--line); margin:20px 0}
.stat-number {font-size:32px; line-height:1.2; font-weight:600; letter-spacing:-1px; color:var(--green)}
.stat-caption {font-size:12px; color:var(--muted); margin-top:4px}
.week-stats {display:flex; justify-content:space-between}
.progress-note {font-size:12px; color:#99a189; margin-top:17px}
.tip-heading {display:flex; align-items:center; gap:9px; font-size:14px; font-weight:650; letter-spacing:.6px; color:var(--green)}
.tip-heading .icon {height:16px; width:16px}
.integration-card {padding:22px; background:transparent; box-shadow:none}
.integration-card h3 {font-size:16px; margin-bottom:14px}
.integration-item {display:flex; align-items:flex-start; justify-content:space-between; font-size:14px; color:var(--muted); margin:15px 0; gap:7px}
.integration-item span:first-child {display:flex; align-items:center; gap:7px}
.integration-item .icon {height:14px; width:14px}
.integration-card>p {font-size:14px; color:#8c9684; border-top:1px solid var(--line); margin-top:16px; padding-top:0; line-height:1.65; border:0}
.metrics-row {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.metric-card {padding:18px; background:transparent; border:0; border-radius:0; display:flex; align-items:flex-start; gap:12px; border-right:1px solid var(--line); min-width:0}
.metric-icon {color:#8b9f76; background:#f0f3e8; padding:8px; border-radius:10px; display:none}
.metric-icon .icon {width:17px; height:17px}
.metric-card strong {font-size:27px; line-height:1.2; display:block; font-weight:600; letter-spacing:-.7px; color:var(--green)}
.metric-card span {font-size:14px; color:var(--muted); display:block; margin-top:6px; line-height:1.45}
.footer-note {font-size:12px; color:var(--muted); margin-top:32px; display:flex; justify-content:space-between; gap:20px; padding-top:19px; border-top:1px solid var(--line)}
.catalog-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:19px}
.catalog-card {background:white; border:1px solid var(--line); border-radius:9px; overflow:hidden; display:flex; flex-direction:column; border-color:var(--line); min-width:0}
.exercise-visual {height:132px; background:#e8eee3; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden}
.exercise-visual.peach {background:#eee9dd}
.exercise-visual.blue {background:#e4ece7}
.exercise-visual svg {height:125px; width:150px; position:relative; z-index:1}
.exercise-visual:before {content:""; height:125px; width:125px; background:#ffffff55; position:absolute; border-radius:50%; right:15px; top:33px; display:none}
.exercise-visual .pill {position:absolute; left:15px; top:13px; background:#ffffffdc; color:#3c5a49; font-size:12px}
.catalog-body {padding:19px; display:flex; flex-direction:column; flex:1}
.catalog-body h3 {font-size:16px; line-height:1.4}
.catalog-body p {font-size:14px; color:var(--muted); margin:8px 0 17px; line-height:1.65}
.catalog-bottom {margin-top:auto; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--muted); flex-wrap:wrap; gap:7px}
.filters {display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px}
.filter {border:1px solid var(--line); border-radius:6px; background:white; padding:9px 15px; font-size:14px; color:var(--muted); min-height:44px; border-color:var(--line)}
.filter.active {background:var(--green); border-color:var(--green); color:var(--white)}
.plans-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px}
.info-strip {background:var(--soft); border:1px solid #dae3cd; border-radius:7px; padding:13px 17px; font-size:14px; line-height:1.7; color:#405e4b; display:flex; align-items:flex-start; gap:10px; margin-bottom:23px; border-color:#d1deca}
.info-strip .icon {width:17px; height:17px; margin-top:2px}
.info-strip.warning {background:#f8efe4; border-color:#e9d7c2; color:#80572e}
.history-list {display:flex; flex-direction:column; gap:12px}
.history-item {display:flex; gap:16px; align-items:center; background:white; padding:20px 23px; border-radius:9px; border:1px solid var(--line); border-color:var(--line)}
.history-item .history-copy {flex:1; min-width:0}
.history-item h3 {font-size:16px}
.history-item p {font-size:14px; color:var(--muted); margin-top:4px}
.history-item .pill {margin-left:auto}
.history-stats {margin-bottom:24px}
.session-layout {display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr); gap:24px}
.session-stage {background:#e8eddf; border:1px solid #dde5d3; border-radius:12px; overflow:hidden; position:relative; min-height:405px}
.stage-top {position:absolute; z-index:2; left:23px; top:20px; right:23px; display:flex; align-items:center; justify-content:space-between}
.stage-label {font-size:12px; text-transform:uppercase; letter-spacing:.8px; padding:6px 9px; border-radius:4px; background:#234f3d; color:#e4efd9; line-height:1.4}
.stage-time {background:var(--lime); color:var(--green-dark); padding:5px 12px; border-radius:5px; font-size:16px; font-variant-numeric:tabular-nums}
.stage-caption {position:absolute; bottom:20px; left:22px; right:22px; padding:10px 14px; background:#ffffffc7; backdrop-filter:blur(5px); border-radius:11px; z-index:2; font-size:14px; text-align:center; color:#68745b}
.session-detail {display:flex; flex-direction:column; gap:18px}
.session-detail .card {padding:23px}
.session-detail h2 {font-size:24px; margin:11px 0 8px}
.session-detail p {font-size:14px; color:var(--muted)}
.session-step {font-size:12px; letter-spacing:1.3px; font-weight:650; color:var(--green); text-transform:uppercase}
.dose-grid {display:grid; grid-template-columns:1fr 1fr; gap:13px; margin:19px 0}
.dose-grid div {padding:11px; border-radius:7px; background:var(--paper); font-size:14px; color:var(--muted); line-height:1.5}
.dose-grid strong {font-size:23px; display:block; color:var(--ink); font-weight:550; margin-bottom:4px}
.session-controls {display:flex; gap:9px; margin-top:17px}
.session-controls .button {flex:1}
.session-steps {padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; margin:0}
.session-steps li {font-size:14px; display:flex; align-items:center; gap:9px; color:var(--muted); padding:11px; border-radius:6px}
.session-steps li.active {background:var(--soft); color:var(--green); font-weight:600}
.session-steps .step-dot {width:24px; height:24px; border:1px solid #d9e2ce; border-radius:50%; display:grid; place-items:center; font-size:12px; flex-shrink:0; border-color:var(--line)}
.report-top {display:flex; justify-content:space-between; align-items:flex-start; gap:15px; margin-bottom:22px}
.report-status {padding:23px; background:var(--soft); border:1px solid #cfddc5; border-radius:9px; margin:21px 0}
.report-status h3 {font-size:18px; display:flex; gap:10px; align-items:flex-start}
.report-status p {margin-top:9px; font-size:14px; color:var(--muted); line-height:1.75}
.report-stats {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px}
.report-stat {padding:15px; background:var(--paper); border-radius:7px; min-width:0}
.report-stat strong {display:block; font-size:25px; font-weight:600; color:var(--green)}
.report-stat span {font-size:12px; color:var(--muted); line-height:1.5}
.report-details {margin:20px 0 0; font-size:12px; color:var(--muted)}
.report-details summary {cursor:pointer; padding:12px 0; min-height:44px}
.report-details dl {display:grid; grid-template-columns:1fr 1fr; gap:10px; font-size:12px}
.report-details dt {color:var(--muted)}
.report-details dd {margin:0; overflow-wrap:anywhere; color:var(--ink)}
.page-error {padding:50px 25px; border:1px solid #eddbce; background:#fff9f4; border-radius:20px; text-align:center}
.page-error h2 {font-size:23px; margin-bottom:12px}
.page-error p {color:var(--muted); font-size:14px; margin-bottom:20px}
.inline-error {padding:11px 13px; background:#fff0e8; color:#87452b; border-radius:7px; font-size:14px; margin:14px 0; line-height:1.65; border:1px solid #edd4c4}
.toast {position:fixed; bottom:26px; left:50%; transform:translate(-50%,20px); z-index:50; background:var(--green-dark); color:white; border-radius:8px; padding:14px 23px; font-size:14px; box-shadow:0 8px 30px #15392b30; opacity:0; pointer-events:none; transition:opacity .2s,transform .2s; max-width:90vw; line-height:1.6}
.toast.visible {opacity:1; transform:translate(-50%,0)}
.toast.error {background:#87452b}
dialog {border:1px solid var(--line); border-radius:12px; width:min(650px,calc(100vw - 28px)); max-height:90vh; padding:28px; color:var(--ink); box-shadow:0 20px 80px #17382d25; background:white}
dialog::backdrop {background:#13392b60; backdrop-filter:blur(4px)}
.dialog-head {display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:14px}
.dialog-head h2 {font-size:27px; line-height:1.2; letter-spacing:-.9px}
.icon-button {display:grid; place-items:center; min-height:44px; width:44px; background:var(--paper); border:1px solid var(--line); border-radius:6px; flex-shrink:0}
.icon-button .icon {width:17px; height:17px}
.dialog-description {font-size:14px; color:var(--muted); line-height:1.7; margin-bottom:23px}
.form-field {margin:17px 0; min-width:0}
.form-field label,.field-label {display:block; font-size:14px; font-weight:550; margin-bottom:8px}
.form-field select,.form-field input,.form-field textarea {display:block; width:100%; border:1px solid #dbe2d3; border-radius:6px; padding:12px 13px; background:#fcfdf9; color:var(--ink); font-size:16px; min-height:46px; min-width:0; border-color:#b9c9b8; line-height:1.4}
.form-field textarea {min-height:95px; resize:vertical}
.form-help {font-size:14px; color:var(--muted); margin-top:6px; line-height:1.65}
.form-actions {display:flex; justify-content:flex-end; gap:11px; margin-top:25px}
.dialog-note {padding:14px 16px; background:var(--soft); border-radius:7px; font-size:14px; line-height:1.75; color:#49614f}
.field-row {display:grid; grid-template-columns:1fr 1fr; gap:15px; min-width:0}
.field-row .form-field {margin:10px 0}
.edit-exercise {padding:14px 0; border-bottom:1px solid var(--line)}
.edit-exercise h3 {font-size:16px}
.edit-exercise .field-row label {font-size:14px; color:var(--muted)}
.edit-exercise .field-row input {padding:8px 10px; min-height:44px}
.loading-indicator {position:fixed; height:3px; background:var(--orange); z-index:80; top:0; left:0; width:40%; animation:loading 1s ease-in-out infinite}
.report-note {font-size:14px; margin-top:17px; padding:14px; background:var(--paper); border-radius:7px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7}
.dialog-instructions {font-size:14px; line-height:1.8; color:var(--muted); padding-left:20px}
.install-guide {width:min(600px,calc(100vw - 28px)); border-radius:20px}
.install-guide-tabs {display:flex; gap:6px; padding:5px; border-radius:12px; background:var(--soft); margin-bottom:23px}
.install-guide-tab {flex:1; min-width:0; min-height:46px; padding:10px 12px; border:1px solid transparent; border-radius:9px; background:transparent; font-size:14px; font-weight:600; color:var(--muted-on-soft)}
.install-guide-tab[aria-selected="true"] {background:var(--white); color:var(--green); border-color:var(--line); box-shadow:0 2px 5px #123c3508}
.install-guide-panel[hidden] {display:none}
.install-guide-steps {list-style:none; padding:0; margin:0; counter-reset:install-step; display:grid; gap:18px}
.install-guide-steps li {position:relative; padding-left:46px; min-height:36px; counter-increment:install-step}
.install-guide-steps li::before {content:counter(install-step); position:absolute; left:0; top:0; display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:var(--soft); color:var(--green); font-size:14px; font-weight:650}
.install-guide-steps strong {display:block; font-size:16px; line-height:1.5; font-weight:600}
.install-guide-steps p {font-size:16px; line-height:1.65; color:var(--muted); margin-top:4px}
.install-guide-note {padding:16px; margin:23px 0 0; border:1px solid var(--line); border-radius:11px; background:var(--paper); font-size:14px; line-height:1.7; color:var(--muted)}
.install-guide-note:empty {display:none}
.install-guide-actions {display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:24px}
[data-install-guide] {min-height:44px}
.mobile-heading {display:none}
.active-session-callout {display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 20px; border:1px solid #d8e4c8; border-radius:9px; background:var(--white); margin-bottom:23px; border-color:#becfba}
.active-session-callout h3 {font-size:16px}
.active-session-callout p {font-size:14px; color:var(--muted); margin-top:4px}
.program-summary {margin:20px 0; padding:18px; background:var(--soft); border:1px solid #dfe8d2; border-radius:8px; border-color:#cfdcc6}
.program-summary-head {display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.program-summary-head h3 {font-size:16px}
.program-summary-head>.small {font-size:12px}
.program-timing {display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:17px 0}
.program-timing strong {display:block; font-size:25px; letter-spacing:-.6px; font-weight:600; color:var(--green)}
.program-timing span {font-size:12px; color:var(--muted); display:block; margin-top:5px; line-height:1.5}
.program-summary>p {font-size:14px; line-height:1.75; color:#4b6352}
.program-summary p.program-gap {margin-top:8px; color:#80572e}
.program-method {margin-top:13px; padding-top:11px; border-top:1px solid #dbe4ce; font-size:14px; color:#74836b; border-color:#cbd9c2}
.program-method summary {cursor:pointer; font-weight:600; min-height:44px; padding:7px 0}
.program-method p {line-height:1.7; margin-top:8px}
.form-actions.wrapping {flex-wrap:wrap}
.schedule-days,.schedule-windows {margin:15px 0; padding:0; border:0; min-width:0}
.schedule-days legend,.schedule-windows legend {font-size:14px; font-weight:600; margin-bottom:10px}
.day-choices {display:grid; grid-template-columns:repeat(7,1fr); gap:7px}
.day-choices label {cursor:pointer; position:relative; display:block}
.day-choices input {position:absolute; opacity:0; width:100%; height:100%; margin:0}
.day-choices span {display:grid; place-items:center; min-height:46px; background:white; border:1px solid #dfe5d5; border-radius:6px; font-size:14px; color:#738367; border-color:#b9c9b8}
.day-choices input:checked+span {background:var(--green); color:white; border-color:var(--green); font-weight:700}
.day-choices input:focus-visible+span {outline:3px solid var(--green); outline-offset:3px}
.schedule-windows .field-row {margin-bottom:5px}
.schedule-summary {margin:20px 0; padding:17px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.schedule-mini-list {display:flex; flex-wrap:wrap; gap:7px; margin-top:12px}
.schedule-mini-list>div {background:#f4f6ed; padding:10px 12px; border:1px solid #e3e9da; border-radius:6px; display:flex; flex-direction:column; gap:4px; font-size:12px; color:#859179; border-color:var(--line)}
.schedule-mini-list strong {font-size:16px; color:var(--green); font-weight:600}
.calendar-board {background:#fff; border:1px solid var(--line); border-radius:9px; overflow:hidden; border-color:var(--line)}
.calendar-toolbar {display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; flex-wrap:wrap}
.calendar-toolbar h2 {font-size:24px; text-transform:capitalize}
.calendar-toolbar p {margin-top:6px}
.calendar-month-controls {display:flex; align-items:center; gap:8px}
.calendar-month-controls .icon-button {font-size:21px}
.calendar-caption {font-size:14px; color:var(--muted); line-height:1.6; margin-top:14px}
.calendar-plans {margin-top:34px}
.calendar-week-head {display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:var(--soft); border-bottom:1px solid var(--line); font-size:14px; text-align:center; color:var(--muted); font-weight:650; padding:12px 0}
.calendar-cells {display:grid; grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-cell {min-height:136px; padding:10px; border-right:1px solid #e8ecdf; border-bottom:1px solid #e8ecdf; min-width:0; border-color:var(--line)}
.calendar-cell:nth-child(7n) {border-right:0}
.calendar-cell.blank {background:#fafbf7}
.calendar-cell:nth-child(7n-1),.calendar-cell:nth-child(7n) {background:var(--paper)}
.calendar-cell.is-today {background:#f1f5e9}
.calendar-cell-day {font-size:12px; color:var(--muted); display:block; margin-bottom:8px}
.calendar-cell-day {display:grid; place-items:center; width:28px; height:28px; border-radius:50%; font-size:14px; font-weight:600}
.calendar-cell-day[aria-current="date"] {background:var(--green); color:var(--white)}
.calendar-event {display:block; width:100%; text-align:left; background:var(--soft); color:var(--green-dark); border:1px solid #d3e8b8; border-radius:6px; padding:9px; margin:5px 0; overflow:hidden; min-height:44px; border-color:#ccdcbc}
.calendar-event:hover {background:var(--lime); border-color:#a6bd91}
.calendar-event.is-pending {border-style:dashed}
.calendar-event strong {display:block; font-size:14px; margin-bottom:3px}
.calendar-event span {font-size:14px; display:block; line-height:1.4; overflow-wrap:anywhere}
.calendar-event small {display:block; font-size:14px; margin-top:5px; color:#49663c}
.calendar-list-event {display:flex; gap:20px; align-items:center; border-bottom:1px solid var(--line); padding:17px 0}
.calendar-list-event:last-child {border-bottom:0}
.calendar-list-event>span {font-size:12px; color:var(--muted); min-width:82px}
.calendar-list-event>span strong {display:block; font-size:20px; color:var(--green); margin-top:3px}
.calendar-list-event>div {flex:1}
.calendar-list-event h3 {font-size:16px}
.calendar-list-event p {font-size:14px; margin-top:4px; color:var(--muted); line-height:1.5}
.motion-session-card {padding:0; overflow:hidden}
.motion-session-card .session-stage {border:0; border-radius:0; min-height:390px; background:#123f32; overflow:visible}
.motion-session-card .stage-top {pointer-events:none; z-index:3}
.motion-viewport {position:relative; height:390px; background:var(--green-dark); overflow:hidden}
.motion-video,.motion-overlay {position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain}
.motion-overlay {z-index:1; pointer-events:none}
.motion-placeholder {position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:65px 35px; text-align:center; color:#d7e7d5; background:radial-gradient(circle at center,#204c3b,#123f32); z-index:2}
.motion-placeholder[hidden] {display:none}
.motion-placeholder svg {width:48px; height:48px; stroke:var(--lime); fill:none; stroke-width:1.5; opacity:.8}
.motion-placeholder h3 {font-size:23px; font-weight:550; color:var(--paper); letter-spacing:-.5px}
.motion-placeholder p {max-width:350px; font-size:14px; line-height:1.75; color:#c1d6c9}
.motion-state {display:flex; align-items:center; gap:8px; padding:12px 18px; font-size:14px; background:#204c3b; color:#e2edd9; min-height:46px; line-height:1.5}
.motion-status-dot {width:6px; height:6px; border-radius:50%; background:#83976c; flex-shrink:0}
.motion-status-dot[data-status=tracking] {background:var(--lime)}
.motion-status-dot[data-status=error],.motion-status-dot[data-status=unsupported],.motion-status-dot[data-status=unavailable] {background:#efb47c}
.motion-status-dot[data-status=loading] {background:#d6e5c1}
.motion-status-dot[data-status=pose_lost],.motion-status-dot[data-status=no_person] {background:#decb80}
#motion-fps {margin-left:auto; white-space:nowrap; font-size:12px; font-variant-numeric:tabular-nums}
.motion-actions {padding:17px 18px 12px; display:flex; flex-wrap:wrap; gap:8px}
.motion-actions .button {min-height:44px; font-size:14px; padding:10px 13px}
.motion-privacy {font-size:14px; line-height:1.75; color:var(--muted); margin:0 19px 12px}
.motion-counts {padding:0 19px 18px; font-size:12px; color:var(--muted); display:flex; gap:21px; flex-wrap:wrap}
.motion-counts strong {color:var(--green); font-weight:650}
.tracking-report-metrics {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px}
.tracking-report-metrics>span {font-size:12px; color:var(--muted)}
.tracking-report-metrics strong {display:block; font-size:23px; color:var(--green); font-weight:600}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:3px solid var(--green); outline-offset:4px}
.brand-dot {color:var(--green)}
.nav-index {margin-left:auto; font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums}
.help-card h3 {font-size:15px}
.page-heading p,.hero-copy p,.empty-state p,.info-strip,.history-item p,.session-detail p,.report-status p,.dialog-description,.dialog-instructions,.form-field label,.field-label,.form-help,.dialog-note,.program-summary>p {font-size:14px; line-height:1.65}
.hero-route {display:flex; flex-direction:column; gap:22px; border-left:1px solid #cad8c5; padding:5px 0 5px 24px; min-width:0}
.hero-route-step {display:flex; align-items:flex-start; gap:11px; min-width:0}
.route-number {display:grid; place-items:center; width:25px; height:25px; flex-shrink:0; border-radius:50%; border:1px solid #bccfb5; background:#f5f8ef; font-size:12px; color:var(--green); font-weight:650}
.hero-route-step strong {display:block; font-size:14px; font-weight:600}
.hero-route-step div>span {display:block; font-size:14px; line-height:1.55; margin-top:3px; color:var(--muted)}
.button,.button.large,.page-heading>.button {font-size:14px; min-height:44px; border-radius:6px; line-height:1.4}
.button:hover:not(:disabled),.button.lime:hover:not(:disabled) {background:var(--green-dark)}
.plan-meta .icon {width:13px; height:13px; vertical-align:-2px; margin-right:3px}
.pill .icon {width:11px; height:11px}
.pill.neutral,.pill.demo {background:#eef1eb; color:#50675b}
.card-header>.icon {height:18px; width:18px; color:var(--green)}
.stat-caption,.progress-note {font-size:12px; line-height:1.65; color:var(--muted)}
.workspace-note,.integration-card {background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:22px 0 0}
.workspace-note h3 {font-size:17px; line-height:1.4; margin-top:13px}
.workspace-note p,.integration-card>p {font-size:14px; color:var(--muted); line-height:1.7; margin-top:10px}
.integration-item .pill {font-size:12px}
.metric-card:first-child {padding-left:0}
.metric-card:last-child {border-right:0; padding-right:0}
.compact-catalog .exercise-visual {height:111px}
.compact-catalog .exercise-visual svg {height:100px}
.compact-catalog .catalog-body {padding:15px}
.compact-catalog .catalog-body h3 {font-size:15px}
.compact-catalog .catalog-body p {display:none}
.compact-catalog .catalog-bottom {margin-top:12px; font-size:12px}
.compact-catalog .catalog-bottom .text-action {font-size:14px}
.motion-session-card .session-stage,.motion-viewport,.motion-placeholder {background:var(--green-dark)}
.page-heading p,.hero-copy p,.empty-state p,.info-strip,.history-item p,.session-detail p,.report-status p,.dialog-description,.dialog-instructions,.form-field label,.field-label,.form-help,.dialog-note,.program-summary>p,.catalog-body p,.workspace-note p,.integration-card>p,.program-method {font-size:16px; line-height:1.65}
.form-actions .button,.session-controls .button,.motion-actions .button,.filter,.calendar-event,.day-choices span,.profile-select,.text-action {min-height:44px}
.nav-label-short {display:none}

/* The React pitch uses a dark stage. Keep that depth in navigation while
   the application's forms and data stay on paper/white surfaces. */
@media(min-width:761px) {
  .sidebar {background:var(--green-dark); color:var(--paper); border-right-color:#36594f}
  .sidebar .brand {color:var(--paper)}
  .sidebar .brand-dot,.sidebar .help-card>svg,.sidebar .help-card button {color:var(--lime)}
  .sidebar .brand-subtitle,.sidebar .nav-caption,.sidebar .nav-link,.sidebar .sidebar-footer,.sidebar .help-card p,.sidebar .nav-index {color:var(--nav-text)}
  .sidebar .nav-link.active {background:var(--lime); color:var(--green-dark)}
  .sidebar .nav-link.active .nav-index {color:var(--green-dark)}
  .sidebar .nav-link:hover:not(.active) {background:#1b5348; color:var(--paper)}
  .sidebar .nav-link {border-color:#ffffff14; background:#ffffff04}
  .sidebar .nav-link>.icon {background:#ffffff10}
  .sidebar .nav-link.active {border-color:var(--lime)}
  .sidebar .nav-link.active>.icon {background:#ffffff65}
  .sidebar .nav-link:hover:not(.active) {border-color:#69897a}
  .sidebar .help-card {border-top-color:#48695f}
  .sidebar :focus-visible {outline:3px solid var(--lime); outline-offset:4px}
}
.hero-copy p,.hero-route-step div>span,.program-timing span,.program-method,.program-summary-head>.muted,.report-status p,.tracking-report-metrics>span,.calendar-week-head {color:var(--muted-on-soft)}
@keyframes loading {
  0% {transform:translateX(-100%)}
  100% {transform:translateX(350%)}
}

@media(min-width:1650px) {
  .hero-copy h2 {font-size:36px}
  .hero-card {padding:34px}
  .dashboard-grid {grid-template-columns:minmax(0,1fr) 310px; gap:30px}
}

@media(max-width:1250px) {
  .dashboard-grid {grid-template-columns:minmax(0,1fr) 272px; gap:22px}
  .topbar,.demo-banner {padding-left:28px; padding-right:28px}
  .content {padding-left:28px; padding-right:28px}
  .hero-card {padding:24px; gap:22px; grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr)}
  .hero-route {padding-left:18px}
  .hero-copy h2 {font-size:29px}
  .profile-select {max-width:270px}
  .plan-top {flex-wrap:wrap}
  .plans-grid {grid-template-columns:1fr}
  .calendar-cell {padding:7px}
  .calendar-event {padding:7px}
  .calendar-event span {font-size:14px}
}

@media(max-width:1100px) {
  .dashboard-priority {grid-template-columns:minmax(0,1.15fr) minmax(250px,1fr); gap:20px}
  .card.next-session-card {padding:24px}
  .next-session-title {font-size:24px}
  .profile-picker {width:250px}
  .dashboard-grid {grid-template-columns:1fr}
  .side-column {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px}
  .integration-card {grid-column:1/-1}
  .integration-card>p {max-width:680px}
  .integration-item {max-width:460px}
  .hero-card {grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr); padding:28px}
  .hero-copy h2 {font-size:32px}
  .session-layout {grid-template-columns:1fr}
  .session-detail {display:grid; grid-template-columns:1fr 1fr}
  .breadcrumb {display:none}
  .topbar {justify-content:space-between}
  .topbar-tools {gap:12px}
  .catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .compact-catalog {grid-template-columns:repeat(3,minmax(0,1fr))}
  .compact-catalog .catalog-body {padding:13px}
  .compact-catalog .catalog-body h3 {font-size:14px}
}

@media(max-width:850px) and (min-width:761px) {
  .app-shell {grid-template-columns:200px minmax(0,1fr)}
  .sidebar {width:200px; padding-left:16px; padding-right:16px}
  .brand {font-size:27px}
  .nav-link {padding:13px 10px; font-size:14px; gap:9px}
  .nav-index {font-size:12px}
  .content {padding-left:23px; padding-right:23px}
  .hero-card {grid-template-columns:1fr}
  .hero-route {display:none}
  .hero-copy p {max-width:none}
  .session-detail {grid-template-columns:1fr}
  .profile-select {max-width:270px}
  .topbar-tools {gap:12px}
  .section-heading-title {font-size:16px}
  .section-heading>.icon {display:none}
  .profile-picker {width:230px}
  .mode-label {padding:6px 8px}
  .dashboard-priority {grid-template-columns:1fr}
  .compact-catalog {grid-template-columns:1fr}
  .compact-catalog .catalog-card {display:grid; grid-template-columns:100px minmax(0,1fr)}
  .compact-catalog .exercise-visual {height:100%; min-height:120px}
  .compact-catalog .exercise-visual .pill {display:none}
  .compact-catalog .catalog-body h3 {font-size:16px}
  .compact-catalog .catalog-bottom {margin-top:3px}
  .side-column {grid-template-columns:1fr}
  .integration-card {grid-column:auto}
}

@media(max-width:760px) {
  .app-shell {display:block; padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  .sidebar {inset:auto 0 0; width:100%; height:calc(78px + env(safe-area-inset-bottom,0px)); padding:5px 7px calc(5px + env(safe-area-inset-bottom,0px)); border:0; border-top:1px solid var(--line); flex-direction:row; background:#fffffff5; backdrop-filter:blur(10px); overflow:visible}
  .sidebar>.brand,.sidebar>.brand-subtitle,.sidebar>.nav-caption,.sidebar-bottom {display:none}
  .nav-list {flex-direction:row; justify-content:space-around; width:100%; gap:4px}
  .nav-link {flex:1; display:flex; flex-direction:column; padding:5px 2px; gap:3px; font-size:12px; border-radius:12px; min-height:64px; justify-content:center; min-width:0; line-height:1.3}
  .nav-link .icon {width:32px; height:32px; padding:5px; border-radius:10px; background:transparent}
  .nav-link.active {background:var(--soft); color:var(--green)}
  .nav-link.active>.icon {background:var(--lime)}
  .nav-link.active:after {display:none}
  .nav-badge {display:none}
  .topbar {padding:14px 20px; height:auto; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:13px 10px}
  .mobile-heading {display:inline-flex; font-size:26px; min-height:31px}
  .topbar>.mobile-heading {grid-column:1; grid-row:1}
  .section-heading {grid-column:1; grid-row:2; gap:8px}
  .section-heading-title {font-size:17px}
  .section-heading>.icon {width:32px; height:32px; padding:7px; border-radius:10px}
  .mobile-heading .brand-symbol {width:31px; height:31px; font-size:23px; border-radius:10px}
  .topbar-tools {gap:12px; display:contents}
  .profile-picker {grid-column:2; grid-row:1; width:min(212px,56vw)}
  .profile-trigger {min-height:55px; padding:7px 9px; gap:8px; border-radius:12px}
  .profile-trigger .avatar {width:32px; height:32px; font-size:12px}
  .profile-name {font-size:14px}
  .profile-menu {top:calc(100% + 8px); max-width:calc(100vw - 32px)}
  .profile-control {gap:0; flex-basis:100%; padding-top:7px; border-top:1px solid var(--line)}
  .avatar {display:none}
  .profile-select {font-size:14px; max-width:270px; min-height:44px; text-overflow:ellipsis}
  .profile-label {font-size:12px; flex-shrink:0}
  .mode-label {font-size:12px; padding:5px 8px; margin-left:auto; grid-column:2; grid-row:2; justify-self:end; width:max-content}
  .dashboard-priority {grid-template-columns:1fr; gap:16px; margin-bottom:26px}
  .card.next-session-card {padding:23px; border-radius:16px}
  .next-session-title {font-size:25px; margin-top:9px}
  .next-session-date {margin-top:16px; font-size:16px}
  .next-session-meta {font-size:14px; gap:7px 12px}
  .next-session-actions {padding-top:21px}
  .next-session-actions .button {flex:1; min-width:0; padding:11px 13px}
  .dashboard-schedule>.week-card {padding:22px; border-radius:16px}
  .demo-banner {padding:11px 20px; font-size:12px; gap:14px; line-height:1.6; align-items:flex-start}
  .demo-banner button {font-size:14px; margin-top:1px; padding:0; min-height:44px}
  .demo-banner .banner-extra {display:none}
  .content {padding:25px 20px}
  .page-heading {margin-bottom:22px; align-items:flex-start; gap:14px}
  .page-heading h1 {font-size:28px}
  .page-heading p {font-size:16px}
  .date-label {display:none}
  .page-heading>.button {padding:10px 12px; font-size:14px}
  .hero-card {padding:25px 23px; min-height:245px; gap:25px; grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr)}
  .hero-copy {width:auto}
  .hero-copy h2 {font-size:31px}
  .hero-copy p {font-size:16px; max-width:none}
  .hero-copy .eyebrow {font-size:12px}
  .hero-art {right:-40px; width:255px; height:255px}
  .hero-card .button {font-size:14px; padding:10px 12px}
  .main-column {gap:24px}
  .metrics-row {gap:9px}
  .metric-card {padding:17px 12px; gap:9px; flex-direction:column}
  .metric-card strong {font-size:25px}
  .metric-card span {font-size:14px}
  .metric-icon {padding:6px}
  .metric-icon .icon {width:15px; height:15px}
  .section-header h2 {font-size:21px}
  .text-action {font-size:14px}
  .plan-card {padding:20px}
  .plan-title-row h3 {font-size:17px}
  .plan-meta {font-size:12px}
  .exercise-icon {width:41px; height:41px; border-radius:12px}
  .exercise-name {font-size:14px}
  .exercise-dose {font-size:12px; max-width:120px; white-space:normal}
  .exercise-number {width:18px}
  .plan-exercise-row {gap:10px; font-size:14px}
  .plan-top {gap:9px}
  .plan-top .pill {font-size:12px}
  .plan-footer {gap:13px; flex-wrap:wrap}
  .plan-footer>.button {margin-left:auto}
  .side-column {gap:22px}
  .week-card,.tip-card {padding:18px}
  .calendar-row {gap:2px}
  .calendar-day {font-size:12px; gap:6px}
  .calendar-day span:last-child {width:26px; height:31px; font-size:12px}
  .week-card h3 {font-size:14px}
  .tip-card blockquote {font-size:17px; margin-top:14px}
  .tip-card p {font-size:14px}
  .tip-heading {font-size:14px}
  .tip-heading .icon {width:14px; height:14px}
  .stat-number {font-size:29px}
  .progress-ring {height:42px; width:42px}
  .progress-note {font-size:12px}
  .stat-caption {font-size:12px}
  .integration-card {padding:17px; padding-top:20px}
  .footer-note {font-size:12px; margin-top:23px; gap:14px; flex-direction:column}
  .footer-note span:last-child {display:block}
  .catalog-grid {gap:14px}
  .catalog-body {padding:16px}
  .catalog-body h3 {font-size:16px}
  .catalog-body p {font-size:16px}
  .exercise-visual {height:130px}
  .catalog-bottom {font-size:12px; gap:8px}
  .catalog-bottom .text-action {font-size:14px}
  .exercise-visual .pill {font-size:12px; padding:3px 6px}
  .filters {gap:6px; margin-bottom:18px}
  .filter {padding:10px 13px; font-size:14px; min-height:44px}
  .info-strip {font-size:16px; padding:13px 15px}
  .history-item {padding:16px; gap:12px; flex-wrap:wrap}
  .history-item .pill {font-size:12px}
  .history-item .button {margin-left:auto; font-size:14px; padding:8px 12px}
  .history-item h3 {font-size:16px}
  .history-item p {font-size:16px}
  .history-copy {min-width:140px}
  .session-detail {grid-template-columns:1fr}
  .session-stage {min-height:365px}
  .movement-scene {min-height:365px}
  .movement-figure {width:320px; height:320px}
  .report-stats {gap:9px}
  .report-stat {padding:13px}
  .report-stat strong {font-size:24px}
  .report-stat span {font-size:12px}
  dialog {padding:23px; max-height:90svh}
  .dialog-head h2 {font-size:26px}
  .toast {bottom:calc(90px + env(safe-area-inset-bottom,0px)); font-size:14px}
  .stage-top {left:17px; right:17px; top:16px}
  .calendar-board {overflow:hidden}
  .calendar-week-head,.calendar-cells {min-width:0}
  .calendar-week-head {font-size:12px}
  .calendar-cell {min-height:92px; padding:4px}
  .calendar-cell-day {font-size:12px; width:25px; height:25px; margin-bottom:5px}
  .calendar-event {padding:3px 1px; border-radius:5px; text-align:center}
  .calendar-event strong {font-size:12px; margin:0; font-variant-numeric:tabular-nums; letter-spacing:-.3px}
  .calendar-event span,.calendar-event small {display:none}
  .calendar-toolbar {gap:14px}
  .calendar-toolbar h2 {font-size:22px}
  .calendar-list-event {gap:13px; flex-wrap:wrap}
  .calendar-list-event>div {min-width:130px}
  .calendar-list-event>.text-action {margin-left:auto}
  .calendar-list-event h3 {font-size:15px}
  .calendar-list-event p {font-size:14px}
  .program-timing strong {font-size:24px}
  .program-timing span {font-size:12px}
  .program-summary-head {align-items:flex-start}
  .motion-viewport {height:340px}
  .motion-session-card .session-stage {min-height:340px}
  .motion-placeholder {padding:65px 25px 30px}
  .motion-placeholder h3 {font-size:21px}
  .motion-placeholder p {font-size:14px}
  .motion-actions .button {font-size:14px; padding:10px 12px; min-height:44px}
  .motion-state {font-size:14px; gap:6px; padding:12px 13px}
  .motion-counts {font-size:12px; gap:13px}
  .motion-session-card .stage-label {font-size:12px}
  .day-choices {gap:5px}
  .day-choices span {font-size:14px; min-height:46px}
  .nav-index {display:none}
  .profile-control>div {width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0}
  .hero-route {padding-left:19px}
  .hero-route-step strong {font-size:14px}
  .hero-route-step div>span {font-size:14px}
  .hero-copy .button {font-size:14px}
  .plan-footnote {max-width:none; width:100%; font-size:12px}
  .pill {font-size:12px}
  .week-card {padding:20px}
  .workspace-note {padding:20px 0 0}
  .card-header h3 {font-size:16px}
  .stat-caption,.progress-note {font-size:12px}
  .integration-item {font-size:14px}
  .empty-state {padding:25px}
  .history-item>.button {font-size:14px}
  .session-detail h2 {font-size:25px}
  .session-detail p {font-size:16px}
  .report-top {flex-wrap:wrap}
  .report-status {padding:19px}
  .report-status h3 {font-size:18px}
  .report-status p {font-size:16px}
  .report-details dl {grid-template-columns:minmax(0,1fr) minmax(0,1fr); font-size:12px}
  .motion-privacy {font-size:14px}
  .program-summary>p {font-size:16px}
  .calendar-event {min-height:44px}
  .nav-label {display:none}
  .nav-label-short {display:inline; max-width:100%; overflow-wrap:anywhere}
  .empty-state p {font-size:16px}
  .dialog-description {font-size:16px}
  .dialog-instructions {font-size:16px}
  .form-field label {font-size:16px}
  .field-label {font-size:16px}
  .form-help {font-size:16px}
  .dialog-note {font-size:16px}
  .workspace-note p {font-size:16px}
  .integration-card>p {font-size:16px}
  .program-method {font-size:16px}
}

@media(max-width:580px) {
  .hero-card {grid-template-columns:1fr; gap:21px}
  .hero-copy h2 {font-size:30px; max-width:340px}
  .hero-route {border-left:0; border-top:1px solid #cad8c5; padding:19px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px}
  .hero-route-step {display:block}
  .route-number {width:23px; height:23px; margin-bottom:9px}
  .hero-route-step strong {font-size:14px}
  .hero-route-step div>span {font-size:14px}
  .side-column {grid-template-columns:1fr}
  .integration-card {grid-column:auto}
  .calendar-day {font-size:12px}
  .calendar-day span:last-child {width:33px; height:34px}
  .catalog-grid {grid-template-columns:1fr}
  .catalog-card {display:grid; grid-template-columns:115px minmax(0,1fr)}
  .exercise-visual {height:100%; min-height:180px}
  .exercise-visual .pill {font-size:12px; left:7px; top:9px}
  .catalog-body {padding:16px}
  .catalog-body h3 {font-size:16px}
  .compact-catalog {grid-template-columns:1fr}
  .compact-catalog .catalog-card {grid-template-columns:93px minmax(0,1fr)}
  .compact-catalog .exercise-visual {height:100%; min-height:119px}
  .compact-catalog .exercise-visual .pill {display:none}
  .compact-catalog .catalog-body {padding:14px 16px}
  .compact-catalog .catalog-body h3 {font-size:16px}
  .compact-catalog .catalog-bottom {margin-top:5px}
  .compact-catalog .catalog-bottom .text-action {font-size:14px}
  .form-actions {flex-wrap:wrap}
  .program-summary {padding:16px}
  .program-timing strong {font-size:23px}
  .field-row {gap:12px}
  .field-row .form-field label {font-size:14px}
  .active-session-callout {align-items:flex-start; flex-wrap:wrap}
  .active-session-callout>.button {margin-left:auto}
  .motion-actions>.button:first-child {flex:1}
  .motion-actions>.button {font-size:14px; padding:10px}
  .motion-placeholder h3 {font-size:21px}
  .motion-state {align-items:flex-start}
  .motion-status-dot {margin-top:6px}
  #motion-fps {font-size:12px}
}

@media(max-width:370px) {
  .content,.topbar,.demo-banner {padding-left:16px; padding-right:16px}
  .page-heading {flex-wrap:wrap}
  .page-heading>.button {margin-left:auto}
  .hero-card {padding:22px 20px}
  .hero-copy h2 {font-size:28px}
  .hero-route {gap:9px}
  .hero-route-step div>span {font-size:14px}
  .hero-route-step strong {font-size:14px}
  .profile-select {font-size:14px; max-width:270px}
  .profile-label {font-size:12px}
  .nav-link {font-size:12px}
  .profile-picker {width:min(188px,53vw)}
  .profile-trigger {gap:6px; padding-left:7px; padding-right:7px}
  .profile-trigger .avatar {width:29px; height:29px}
  .profile-name {font-size:13px}
  .profile-chevron {width:14px; height:14px}
  .section-heading-title {font-size:16px}
  .card.next-session-card {padding:21px}
  .dashboard-schedule .calendar-day span:last-child {width:100%; max-width:34px}
  .next-session-actions {flex-direction:column; align-items:stretch}
  .install-guide {padding:20px}
  .install-guide-tab {padding:10px 7px}
  .install-guide-actions>.button {width:100%}
  .plan-meta {font-size:12px}
  .exercise-dose {max-width:88px}
  .program-timing strong {font-size:21px}
  .catalog-card {grid-template-columns:98px minmax(0,1fr)}
  .catalog-body {padding:14px}
  .motion-viewport {height:330px}
  .motion-actions>.button:first-child {flex-basis:100%}
  .day-choices span {font-size:14px}
  .form-field input,.form-field select {padding:11px 9px}
}

@media(prefers-reduced-motion:reduce) {
  .motion-status-dot {animation:none}
  *,*::before,*::after {animation:none!important; transition:none!important; scroll-behavior:auto!important}
}
