/* ReActive business-model visual language: turquoise, coral and pale aqua. */
:root{--reactive:#078894;--aqua:#ebf8fa;--coral:#f8756f;--ink:#192f3e;font-family:Arial,'Segoe UI',sans-serif;color:var(--ink);background:#f7fbfc}
body{background:linear-gradient(145deg,#fff 20%,#f0fafb 85%);min-height:100vh}
header,main,footer{max-width:1160px}header{border-bottom:1px solid #e4eff1;padding-top:18px;padding-bottom:16px}.brand img{display:block;width:172px;height:76px;object-fit:contain}.badge{background:#e9f7f8;color:#117780}
.intro{max-width:800px;margin:20px auto 32px;text-align:center;padding:16px 0}.intro h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px;color:var(--ink);margin:12px 0}.intro h1 span{color:var(--reactive)}.intro>p:not(.eyebrow):not(.notice){color:#627481}.eyebrow{color:var(--reactive);letter-spacing:2px}.notice{border-color:#54b7bf;background:#eef9fa;border-radius:12px;color:#4e6570;font-weight:400}.intro .notice{font-size:12px;max-width:680px;margin:20px auto 0;text-align:left}
h2,h3{color:var(--ink);letter-spacing:-.4px}.panel{border:1px solid #e3edef;border-radius:22px;box-shadow:0 7px 25px #154c5807;padding:28px;background:#fff}button{background:var(--coral);border-radius:28px;color:#182f3d;padding:13px 24px;font-weight:700;box-shadow:0 4px 10px #f8756f12}button:hover{filter:brightness(.97)}button.secondary{background:var(--aqua);color:#087884;box-shadow:none}input,select,textarea{border-color:#d7e6e9;border-radius:12px;background:#fcfefe;padding:13px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #5ec4cc;outline-offset:3px}label{color:#304b5a}.hint{color:#586f7b}fieldset{border-color:#e1edef;border-radius:15px;margin-bottom:16px}legend{font-weight:700;padding:0 8px}a{color:#087d87}#auth{margin:28px auto;max-width:480px}#auth button{width:100%}#status:empty{display:none}
#account-flow{max-width:850px;padding:32px;margin:24px auto}#account-flow>h2{font-size:28px;margin-top:28px}#account-flow>p{color:#607380;margin-bottom:24px;max-width:640px}#account-flow form{max-width:100%;display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}#account-flow form>label:first-child,#account-flow form>label:last-of-type,#account-flow form>button{grid-column:1/-1}.registration-steps{padding:0;list-style:none;display:flex;gap:8px;margin:0;color:#526e79;font-size:12px}.registration-steps li{flex:1;border-top:3px solid #e3eef0;padding-top:10px}.registration-steps li[aria-current]{border-color:var(--reactive);color:var(--reactive);font-weight:700}
#account-flow[data-stage=programme]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#account-flow[data-stage=programme]>.registration-steps,#account-flow[data-stage=programme]>h2,#account-flow[data-stage=programme]>p,#account-flow[data-stage=programme]>.back-link{grid-column:1/-1;margin-bottom:0}#account-flow>button.programme-card{margin:0;background:#eaf8fa;border:1px solid #dceff1;border-radius:18px;color:var(--ink);padding:24px;box-shadow:none;display:flex;flex-direction:column;gap:9px;align-items:flex-start;min-height:188px}#account-flow>button.programme-card:hover{border-color:var(--reactive);box-shadow:0 6px 18px #0c849313;transform:translateY(-2px)}#account-flow>button[data-programme="Sit Smart"]{background:#fff0ee;border-color:#f8dfdb}.programme-icon{display:block;color:var(--reactive);width:48px;height:48px}.programme-icon svg{width:100%;height:100%}[data-programme="Sit Smart"] .programme-icon{color:#d95b53}.programme-card strong{font-size:23px;letter-spacing:-.5px}.programme-description{font-size:14px;line-height:1.5;font-weight:400;color:#536b76}#account-flow>button.back-link{background:transparent;color:var(--reactive);box-shadow:none;width:auto;padding:10px 0;font-size:14px}#account-flow>button{border-radius:15px}#account-flow[data-stage=aviation]>button:not(.back-link){background:var(--aqua);color:var(--ink);border:1px solid #dceff1}
.worker .brandbar{background:#fff}.worker header{background:#eff9fa;color:var(--ink);border-radius:0 0 24px 24px}.worker header h1{color:var(--ink)}.worker main{max-width:900px}.worker section,.worker details{border-radius:18px}.worker button{background:var(--coral);color:var(--ink)}.worker #status{border-radius:14px}.worker select{max-width:100%}
@media(max-width:600px){header,main,footer{padding:16px}.brand img{width:140px;height:62px}.intro{margin:8px 0 20px}.intro h1{font-size:34px}.panel,#account-flow{padding:22px;border-radius:18px}#account-flow>h2{font-size:24px}#account-flow form{grid-template-columns:1fr}.registration-steps{font-size:10px;gap:6px}#account-flow[data-stage=programme]{gap:12px}#account-flow>button.programme-card{padding:17px;min-height:190px}.programme-card strong{font-size:20px}.programme-description{font-size:13px}.programme-icon{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){#account-flow>button.programme-card:hover{transform:none}}
.programme-dashboard .dashboard-subtitle{color:#657783}.dashboard-status:empty{display:none}.coach-generation{background:#eaf8fa;border-radius:18px;padding:24px;margin:24px 0}.dashboard-stats{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin:24px 0}.dashboard-stats section{padding:22px;border:1px solid #e3edef;border-radius:18px;background:#fbfefe}.dashboard-stats h3{font-size:16px}.progress-value{display:block;font-size:30px;color:#078894}.dashboard-stats progress{width:100%;height:16px;accent-color:#30adb8;margin:16px 0}.dashboard-stats small{color:#586f7b;line-height:1.5}.pain-value{display:flex;align-items:center;justify-content:center;width:100px;height:100px;border:9px solid #bde8eb;border-radius:50%;font-size:26px;color:#078894;margin:12px auto}.pain-tile{text-align:center}.pain-tile p{font-size:12px}.dashboard-exercises{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 28px}.dashboard-exercise{border:1px solid #e3edef;border-radius:14px;background:#f1fafb;overflow:hidden;padding-bottom:14px}.dashboard-exercise img{width:100%;height:140px;object-fit:contain;background:white;display:block}.dashboard-exercise h4{font-size:14px;margin:12px 12px 6px}.dashboard-exercise .hint{margin:0 12px;display:block}.missing-illustration{height:140px;padding:24px;color:#526c78}.programme-dashboard .section-heading select{width:auto;font-size:13px;margin:0}.programme-bottom{position:sticky;bottom:8px;background:#fffefb;box-shadow:0 3px 18px #13334015;border:1px solid #dcebee;border-radius:18px;padding:12px;display:flex;gap:8px;z-index:2;margin-top:24px}.programme-bottom button{flex:1;font-size:13px;padding:12px}.dashboard-settings{margin-top:24px}.dashboard-settings button{margin:12px 8px 0 0}.dashboard-settings summary{cursor:pointer;color:#087d87}#account-flow.programme-dashboard>button{width:auto;font-size:14px}.programme-dashboard h2{font-size:30px!important}@media(max-width:640px){.dashboard-stats{grid-template-columns:1fr 1fr;gap:8px}.dashboard-stats section{padding:14px}.dashboard-stats p{font-size:12px}.dashboard-exercises{grid-template-columns:repeat(2,minmax(0,1fr))}.programme-bottom{bottom:0;gap:6px}.programme-bottom button{font-size:11px;padding:12px 8px;border-radius:12px}.programme-dashboard .section-heading{flex-wrap:wrap}.programme-dashboard h2{font-size:25px!important}}
body:has(.programme-dashboard) .intro{display:none}body:has(.programme-dashboard) #status:empty{display:none}body:has(.programme-dashboard) #account-flow{margin-top:12px}body:has(.programme-dashboard) main{padding-top:12px}
.dashboard-stats progress{appearance:none;border:0;border-radius:12px;overflow:hidden;background:#e2edef}.dashboard-stats progress::-webkit-progress-bar{background:#e2edef;border-radius:12px}.dashboard-stats progress::-webkit-progress-value{background:#30adb8;border-radius:12px}.dashboard-stats progress::-moz-progress-bar{background:#30adb8;border-radius:12px}
.phase-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}.phase-tabs button{font-size:12px;padding:10px 14px}.phase-tabs button[aria-pressed=true]{background:#078894;color:white}
.daily-progress{padding:12px 16px;background:#eaf8fa;border-radius:12px;font-weight:600;font-size:14px}.recorded-badge{display:block;color:#086b61;background:#dff4eb;border-radius:8px;margin:10px 12px 0;padding:5px 8px;font-size:12px}
#programme .session-illustration{display:block;width:100%;max-height:420px;object-fit:contain;background:white;margin:16px 0;border-radius:12px}#programme .session-dose{font-weight:700;color:#087d87}.sequence-status{font-size:18px;font-weight:700;color:#087d87}.sequence-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.sequence-controls button{font-size:14px}#programme details[hidden]{display:none}#programme summary{cursor:default}

@media(max-width:480px){.dashboard-stats{grid-template-columns:minmax(0,1fr)}.dashboard-stats section{min-width:0}.daily-progress-table{font-size:13px}}
