/* Strength in Numbers | Graphite & Emerald design foundation.
   Minimal performance UI + cinematic editorial moments.
   Never repurpose warning, skipped, error, or podium state colours. */
:root:not([data-theme="light"]),:root[data-theme="dark"]{
  --sin-bg:#0F1115;--sin-surface:#171A20;--sin-raised:#232833;
  --sin-edge:#343A46;--sin-brand:#12B76A;--sin-mint:#6CE9A6;
  --sin-text:#F5F7FA;--sin-muted:#98A2B3;
  --card:var(--sin-surface);--edge:var(--sin-edge);--border:var(--sin-edge);
  --accent:var(--sin-brand);--text:var(--sin-text);--muted:var(--sin-muted);
  background:var(--sin-bg);color:var(--sin-text);color-scheme:dark;
}
:root:not([data-theme="light"]) body,:root[data-theme="dark"] body{
  background:var(--sin-bg)!important;color:var(--sin-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
:root:not([data-theme="light"]) .card,:root[data-theme="dark"] .card{
  background:var(--sin-surface);color:var(--sin-text);border:1px solid var(--sin-edge);
  box-shadow:0 5px 20px rgba(0,0,0,.16);border-radius:16px;
}
:root:not([data-theme="light"]) .stat,:root[data-theme="dark"] .stat{background:var(--sin-raised);border:1px solid var(--sin-edge)}
:root:not([data-theme="light"]) input:not([type="checkbox"]),:root:not([data-theme="light"]) select,:root:not([data-theme="light"]) textarea,
:root[data-theme="dark"] input:not([type="checkbox"]),:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{
  background:#11151B;color:var(--sin-text);border:1px solid #424B59;border-radius:10px;
}
:root:not([data-theme="light"]) input:focus-visible,:root:not([data-theme="light"]) select:focus-visible,:root:not([data-theme="light"]) textarea:focus-visible,
:root[data-theme="dark"] input:focus-visible,:root[data-theme="dark"] select:focus-visible,:root[data-theme="dark"] textarea:focus-visible{
  outline:2px solid var(--sin-brand);outline-offset:2px;
}
:root:not([data-theme="light"]) button:not(.secondary):not(.danger):not(.nav-icon),
:root[data-theme="dark"] button:not(.secondary):not(.danger):not(.nav-icon){
  /* Navigation/ghost buttons keep their local layout styles below. */
  accent-color:var(--sin-brand);
}
:root:not([data-theme="light"]) main button:not(.secondary):not(.danger):not(.active):not(.sel):not([aria-selected="true"]),:root[data-theme="dark"] main button:not(.secondary):not(.danger):not(.active):not(.sel):not([aria-selected="true"]){background:var(--sin-brand);color:#07190F}
:root:not([data-theme="light"]) .tabs button:not(.sel),:root[data-theme="dark"] .tabs button:not(.sel){background:var(--sin-raised);color:var(--sin-text)}
:root:not([data-theme="light"]) button.secondary,:root[data-theme="dark"] button.secondary{
  background:var(--sin-raised);color:var(--sin-text);border:1px solid var(--sin-edge);
}
:root:not([data-theme="light"]) .tabs .sel,:root[data-theme="dark"] .tabs .sel{
  background:var(--sin-brand);color:#07190F;
}
:root:not([data-theme="light"]) nav,:root[data-theme="dark"] nav{
  background:#14171D;border-top:1px solid var(--sin-edge);box-shadow:0 -10px 28px #080B1166;
}
:root:not([data-theme="light"]) nav button,:root[data-theme="dark"] nav button{color:var(--sin-muted)}
:root:not([data-theme="light"]) nav button.active,:root[data-theme="dark"] nav button.active{
  color:var(--sin-mint);background:#16392B;
}
:root:not([data-theme="light"]) .sin-brand-type h1,:root[data-theme="dark"] .sin-brand-type h1{color:var(--sin-text)}
:root:not([data-theme="light"]) .sin-brand-type h1 em,:root[data-theme="dark"] .sin-brand-type h1 em{color:var(--sin-mint)}
:root:not([data-theme="light"]) .sin-brand-tagline,:root[data-theme="dark"] .sin-brand-tagline{color:var(--sin-muted)}
:root:not([data-theme="light"]) .sub,:root:not([data-theme="light"]) .muted,
:root[data-theme="dark"] .sub,:root[data-theme="dark"] .muted{color:var(--sin-muted)}
:root:not([data-theme="light"]) a,:root[data-theme="dark"] a{color:var(--sin-mint)}
:root:not([data-theme="light"]) .pill,:root[data-theme="dark"] .pill{background:#1A3329;color:var(--sin-mint)}
:root:not([data-theme="light"]) .eyebrow,:root[data-theme="dark"] .eyebrow{color:var(--sin-mint)}
:root:not([data-theme="light"]) input[type="checkbox"],:root[data-theme="dark"] input[type="checkbox"]{accent-color:var(--sin-brand)}
/* Shared typography scale, focused and legible during a workout. */
h1,h2,h3,h4{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
h2{font-weight:750;letter-spacing:-.03em}h3{font-weight:700;letter-spacing:-.015em}
button,.button{min-height:40px;font-family:inherit}
button:focus-visible,a:focus-visible{outline:2px solid #6CE9A6;outline-offset:3px}
@media(prefers-reduced-motion:reduce){button,.button{transition:none!important}}
/* Complementary light theme retains graphite/emerald identity with accessible white surfaces. */
:root[data-theme="light"]{--sin-brand:#087F4A;--sin-mint:#087F4A;--accent:#087F4A;--card:#FFFFFF;--edge:#D5DCE5;--border:#D5DCE5}
:root[data-theme="light"] .tabs .sel{background:#087F4A;color:#FFFFFF}
:root[data-theme="light"] nav button.active{color:#087F4A;background:#E0F4EA}
:root[data-theme="light"] .sin-brand-type h1 em{color:#087F4A}
:root[data-theme="light"] button:focus-visible{outline-color:#087F4A}

/* Home v1 visual composition: editorial hero, calm performance data. */
.sin-v2-home{display:grid;gap:16px}
.sin-v2-home-intro{display:grid;gap:16px}
.sin-v2-greeting h2{font-size:clamp(25px,5vw,35px);margin:5px 0 3px;letter-spacing:-.04em}
.sin-v2-greeting p{margin:0;color:var(--sin-muted,#98A2B3)}
.sin-v2-kicker{font-size:10px;font-weight:800;letter-spacing:.17em;color:#6CE9A6}
.sin-v2-quick-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sin-v2-quick-stats>div{background:#171A20;border:1px solid #343A46;border-radius:15px;padding:14px 12px;display:grid;gap:8px;min-width:0}
.sin-v2-quick-stats span{font-size:11px;color:#98A2B3}
.sin-v2-quick-stats strong{font-size:clamp(18px,5vw,26px);color:#F5F7FA;font-variant-numeric:tabular-nums}
.sin-v2-quick-stats small{font-size:12px;color:#98A2B3}
.sin-v2-week-card{background:#171A20;border:1px solid #343A46;border-radius:16px;padding:18px}
.sin-v2-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.sin-v2-section-heading h3{font-size:19px;margin:0}
.sin-v2-section-heading button{padding:4px 0;background:transparent!important;color:#6CE9A6!important;min-height:auto}
.sin-v2-week-content{display:flex;align-items:center;gap:22px}
.sin-v2-ring{width:108px;height:108px;flex:none;border-radius:50%;background:conic-gradient(#12B76A var(--home-progress),#303944 0);display:grid;place-content:center;align-items:center;text-align:center;position:relative;isolation:isolate}
.sin-v2-ring:before{content:"";position:absolute;inset:11px;background:#171A20;border-radius:50%;z-index:-1}
.sin-v2-ring strong{font-size:21px;font-variant-numeric:tabular-nums}
.sin-v2-ring small{font-size:11px;color:#98A2B3}
.sin-v2-week-detail{display:grid;gap:9px;min-width:0;flex:1}
.sin-v2-week-detail>span{font-size:12px;color:#98A2B3}
.sin-v2-week-dots{display:flex;gap:7px}
.sin-v2-week-dots span{height:10px;flex:1;background:#343A46;border-radius:6px}
.sin-v2-week-dots span.complete{background:#12B76A}
.sin-v2-today-card{width:100%;display:flex;gap:14px;align-items:center;text-align:left;background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;border-radius:16px;padding:14px}
.sin-v2-today-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#163A2A;color:#6CE9A6;flex:none}
.sin-v2-today-copy{display:grid;gap:5px;min-width:0;flex:1}
.sin-v2-today-copy small{color:#98A2B3}
.sin-v2-today-arrow{font-size:28px;color:#6CE9A6}
.sin-v2-empty{background:#171A20;border:1px solid #343A46;border-radius:16px;padding:17px;color:#98A2B3}
.sin-v2-home .sin-home-carousel{margin:0}
:root[data-theme="light"] .sin-v2-quick-stats>div,:root[data-theme="light"] .sin-v2-week-card,:root[data-theme="light"] .sin-v2-today-card,:root[data-theme="light"] .sin-v2-empty{background:#FFFFFF!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-v2-quick-stats strong,:root[data-theme="light"] .sin-v2-today-card{color:#14283E!important}
:root[data-theme="light"] .sin-v2-ring:before{background:#FFFFFF}
:root[data-theme="light"] .sin-v2-kicker,:root[data-theme="light"] .sin-v2-section-heading button{color:#087F4A!important}
@media(max-width:420px){.sin-v2-quick-stats>div{padding:12px 9px}.sin-v2-week-content{gap:13px}.sin-v2-ring{height:88px;width:88px}.sin-v2-ring strong{font-size:18px}}

/* Home acceptance fixes — restrained graphite surfaces and one-row navigation. */
#nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;width:100%;max-width:100vw;padding-left:8px;padding-right:8px;box-sizing:border-box}
#nav button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-width:0!important;width:100%!important;max-width:none!important;flex:none!important;padding:9px 1px!important;font-size:clamp(9px,2.5vw,12px)!important;white-space:nowrap}
#nav .nav-icon svg{width:21px;height:21px}
.sin-v2-quick-stats>div{grid-template-rows:auto auto auto;gap:5px}
.sin-v2-stat-icon{color:#6CE9A6;display:flex;align-items:center;height:26px}
.sin-v2-stat-icon svg{width:23px;height:23px}
.sin-v2-home .sin-home-carousel{order:0;min-height:225px;border:1px solid #343A46;border-radius:18px;overflow:hidden}
.sin-v2-home .sin-home-photo-hero .sin-home-photo{inset:0}
.sin-v2-home .sin-home-carousel .sin-hero-content{position:relative;z-index:2}
:root:not([data-theme="light"]) .sin-v2-home .sin-home-programme-link,
:root:not([data-theme="light"]) .sin-v2-home .sin-weekly-rewards,
:root[data-theme="dark"] .sin-v2-home .sin-home-programme-link,
:root[data-theme="dark"] .sin-v2-home .sin-weekly-rewards{background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;box-shadow:none!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-weekly-rewards :is(h3,p,strong,span),
:root[data-theme="dark"] .sin-v2-home .sin-weekly-rewards :is(h3,p,strong,span){color:inherit}
:root:not([data-theme="light"]) .sin-v2-home .sin-twelve-week-dots>div,
:root[data-theme="dark"] .sin-v2-home .sin-twelve-week-dots>div{background:#232833!important;border-color:#343A46!important;color:#D4DAE3!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-twelve-week-dots>div.earned,
:root[data-theme="dark"] .sin-v2-home .sin-twelve-week-dots>div.earned{background:#184B35!important;color:#6CE9A6!important;border-color:#12B76A!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-home-analytics-link,
:root[data-theme="dark"] .sin-v2-home .sin-home-analytics-link{background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;box-shadow:none!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-home-analytics-link :is(h3,p,strong,span),
:root[data-theme="dark"] .sin-v2-home .sin-home-analytics-link :is(h3,p,strong,span){color:inherit}
:root:not([data-theme="light"]) .sin-v2-home .sin-home-stats .sin-home-stat-link,
:root[data-theme="dark"] .sin-v2-home .sin-home-stats .sin-home-stat-link{background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;box-shadow:none!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-home-stats .sin-home-stat-cue,
:root[data-theme="dark"] .sin-v2-home .sin-home-stats .sin-home-stat-cue{color:#6CE9A6!important}
:root[data-theme="light"] .sin-v2-home .sin-home-programme-link,
:root[data-theme="light"] .sin-v2-home .sin-weekly-rewards,
:root[data-theme="light"] .sin-v2-home .sin-home-analytics-link,
:root[data-theme="light"] .sin-v2-home .sin-home-stats .sin-home-stat-link{background:#FFFFFF!important;color:#14283E!important;border-color:#D5DCE5!important}

/* Hidden navigation must stay hidden during sign-in, onboarding and builder. */
#nav.hidden{display:none!important}

/* Home v2 — compact photographic banner and consistent XP progression tile. */
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-card,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-card{
 background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;
 box-shadow:0 5px 20px rgba(0,0,0,.16)!important;
}
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-head span,
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-head h3 small,
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-footer,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-head span,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-head h3 small,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-footer{color:#98A2B3!important}
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-head h3,
:root:not([data-theme="light"]) .sin-v2-home .sin-xp-progress-head strong,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-head h3,
:root[data-theme="dark"] .sin-v2-home .sin-xp-progress-head strong{color:#F5F7FA!important}
.sin-v2-home .sin-xp-progress-track{background:#343A46!important;height:9px}
.sin-v2-home .sin-xp-progress-fill{background:#12B76A!important}
.sin-v2-home .sin-xp-progress-head>div>span{color:#6CE9A6!important}
.sin-v2-home .sin-home-carousel.sin-visual-hero{
 height:210px!important;min-height:210px!important;max-height:210px!important;
 padding:18px 20px 44px!important;border-radius:18px!important;
}
.sin-v2-home .sin-home-carousel .sin-hero-content{
 padding:0!important;max-height:none!important;display:flex;flex-direction:column;
 justify-content:center;align-items:flex-start;gap:5px;height:100%;
}
.sin-v2-home .sin-home-carousel .sin-hero-content h2{
 font-size:clamp(20px,5.4vw,27px)!important;line-height:1.12!important;
 letter-spacing:-.025em!important;margin:2px 0!important;max-width:72%;
}
.sin-v2-home .sin-home-carousel .sin-hero-content p{
 font-size:12px!important;line-height:1.35!important;max-width:66%;margin:0!important;
}
.sin-v2-home .sin-home-carousel .sin-hero-greeting{font-size:11px!important;margin:2px 0!important}
.sin-v2-home .sin-home-carousel .eyebrow{font-size:9px!important;letter-spacing:.12em!important;margin:0!important}
.sin-v2-home .sin-home-carousel .sin-hero-action{padding:6px 9px!important;min-height:30px!important;font-size:11px!important}
.sin-v2-home .sin-home-carousel .sin-hero-controls{
 bottom:5px!important;gap:12px!important;justify-content:flex-end!important;padding:0 12px;
}
.sin-v2-home .sin-home-carousel .sin-hero-controls>button{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:1px!important}
.sin-v2-home .sin-home-carousel .sin-hero-dots{gap:6px}
@media(max-width:420px){
 .sin-v2-home .sin-home-carousel.sin-visual-hero{height:195px!important;min-height:195px!important;max-height:195px!important;padding:14px 16px 39px!important}
 .sin-v2-home .sin-home-carousel .sin-hero-content h2{font-size:21px!important}
 .sin-v2-home .sin-home-carousel .sin-hero-content p{font-size:11px!important}
}
:root[data-theme="light"] .sin-v2-home .sin-xp-progress-card{background:#FFFFFF!important;border-color:#D5DCE5!important;color:#14283E!important}
:root[data-theme="light"] .sin-v2-home .sin-xp-progress-head h3,
:root[data-theme="light"] .sin-v2-home .sin-xp-progress-head strong{color:#14283E!important}
:root[data-theme="light"] .sin-v2-home .sin-xp-progress-head>div>span{color:#087F4A!important}
:root[data-theme="light"] .sin-v2-home .sin-xp-progress-fill{background:#087F4A!important}

/* Active programme progress: remove legacy blue from both track and fill. */
.sin-v2-home .sin-home-programme-link .sin-weekly-meter,
.sin-v2-home .sin-weekly-rewards .sin-weekly-meter{
  background:#343A46!important;
}
.sin-v2-home .sin-home-programme-link .sin-weekly-meter > div,
.sin-v2-home .sin-weekly-rewards .sin-weekly-meter > div{
  background:#12B76A!important;
  background-image:none!important;
}
:root[data-theme="light"] .sin-v2-home .sin-weekly-meter{background:#D5DCE5!important}
:root[data-theme="light"] .sin-v2-home .sin-weekly-meter > div{background:#087F4A!important}

/* Home weekly volume preview: subdued chart replaces generic Analytics CTA. */
.sin-home-volume-preview{display:flex!important;flex-direction:column;gap:13px;width:100%;text-align:left;padding:20px!important;background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;box-shadow:none!important;border-radius:16px!important}
.sin-home-volume-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%}
.sin-home-volume-heading>span:first-child{display:grid;gap:5px}
.sin-home-volume-heading strong{font-size:19px;letter-spacing:-.02em}
.sin-home-volume-heading small,.sin-home-volume-total small{color:#98A2B3;font-size:12px;font-weight:500}
.sin-home-volume-heading>span:last-child{font-size:26px;color:#6CE9A6}
.sin-home-volume-total{display:flex;align-items:baseline;gap:11px}
.sin-home-volume-total strong{font-size:28px;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.sin-home-volume-chart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:16px;height:112px;padding:4px 8px 0;border-bottom:1px solid #343A46}
.sin-home-volume-column{display:flex;flex-direction:column;justify-content:end;align-items:center;height:100%;gap:5px;min-width:0}
.sin-home-volume-bar{display:block;max-width:68px;width:100%;background:linear-gradient(180deg,#6CE9A6,#12B76A);border-radius:7px 7px 0 0;min-height:0}
.sin-home-volume-column small{color:#98A2B3;font-size:11px;flex:none}
.sin-home-volume-footer{align-self:flex-end;color:#6CE9A6;font-size:12px;font-weight:700}
:root[data-theme="light"] .sin-home-volume-preview{background:#fff!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-home-volume-heading>span:last-child,:root[data-theme="light"] .sin-home-volume-footer{color:#087F4A}
:root[data-theme="light"] .sin-home-volume-chart{border-color:#D5DCE5}
@media(max-width:420px){.sin-home-volume-preview{padding:15px!important}.sin-home-volume-chart{height:100px;gap:10px}.sin-home-volume-total strong{font-size:24px}}

/* Interactive Home summaries retain the compact card treatment. */
.sin-v2-quick-stats .sin-v2-stat-link{display:grid;grid-template-rows:auto auto auto;gap:5px;text-align:left;min-width:0;background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;border-radius:15px;padding:14px 12px;cursor:pointer;box-shadow:none}
.sin-v2-quick-stats .sin-v2-stat-link:hover{border-color:#12B76A!important}
.sin-v2-quick-stats .sin-v2-stat-link:focus-visible{outline:2px solid #6CE9A6;outline-offset:3px}
.sin-v2-quick-stats .sin-v2-stat-link>span:not(.sin-v2-stat-icon){font-size:11px;color:#98A2B3}
.sin-v2-quick-stats .sin-v2-stat-link>strong{font-size:clamp(18px,5vw,26px);color:#F5F7FA;font-variant-numeric:tabular-nums}
.sin-v2-quick-stats .sin-v2-stat-link small{font-size:12px;color:#98A2B3}
:root[data-theme="light"] .sin-v2-quick-stats .sin-v2-stat-link{background:#FFF!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-v2-quick-stats .sin-v2-stat-link>strong{color:#14283E}
@media(max-width:420px){.sin-v2-quick-stats .sin-v2-stat-link{padding:12px 9px}}

/* Home responsive layout — keep mobile editorial treatment, use desktop width intentionally. */
@media(min-width:900px){
 body:has(.sin-v2-home)>main{max-width:1000px;width:calc(100% - 64px);box-sizing:border-box;padding:26px 24px 110px}
 body:has(.sin-v2-home) #nav{max-width:1048px;left:50%!important;right:auto!important;transform:translateX(-50%);border-left:1px solid #343A46;border-right:1px solid #343A46;border-radius:16px 16px 0 0}
 .sin-v2-home{gap:20px}
 .sin-v2-home-intro{gap:20px}
 .sin-v2-quick-stats{gap:16px}
 .sin-v2-home .sin-home-carousel.sin-visual-hero{height:250px!important;min-height:250px!important;max-height:250px!important}
 .sin-v2-home .sin-home-carousel .sin-hero-content h2{font-size:28px!important}
 .sin-v2-home .sin-home-carousel .sin-hero-content p{font-size:13px!important}
 .sin-v2-week-card{padding:22px}
 .sin-home-volume-chart{height:142px}
}
@media(min-width:1200px){
 body:has(.sin-v2-home)>main{max-width:1080px}
 body:has(.sin-v2-home) #nav{max-width:1080px}
}
@media(max-width:899px){
 body:has(.sin-v2-home)>main{width:100%;max-width:760px;box-sizing:border-box}
}

/* TRAIN v1 — focused, tactile logging matched to the selected mobile mockup. */
.sin-twelve-detail{display:grid;gap:16px}
.sin-twelve-detail .sin-twelve-header{padding:16px 18px;border:1px solid #343A46;border-radius:18px;background:#171A20;margin:0}
.sin-twelve-detail .sin-twelve-header .eyebrow{font-size:10px;letter-spacing:.15em;color:#6CE9A6}
.sin-twelve-detail .sin-twelve-header h2{margin:6px 0;font-size:clamp(23px,5vw,32px);line-height:1.15;letter-spacing:-.03em}
.sin-twelve-detail .sin-twelve-header p{margin:0;color:#98A2B3}
.sin-twelve-detail .sin-twelve-save-top{margin:0;color:#6CE9A6;font-size:12px;font-weight:650}
.sin-twelve-detail .sin-twelve-start{min-height:50px;border-radius:14px;background:#12B76A;color:#06190F;font-weight:800;border:0}
.sin-twelve-detail .sin-twelve-metrics{margin:0;border:1px solid #343A46;background:#171A20;border-radius:18px;padding:18px}
.sin-twelve-detail .sin-twelve-metrics-grid{gap:10px}
.sin-twelve-detail .sin-twelve-metrics-grid>div{background:#232833;border:1px solid #343A46;border-radius:12px;padding:12px}
.sin-twelve-detail .sin-twelve-metrics-grid small{color:#98A2B3}
.sin-twelve-detail .sin-twelve-metrics-grid strong{color:#F5F7FA;font-variant-numeric:tabular-nums}
.sin-twelve-detail .sin-twelve-progress-track{background:#343A46;border-radius:99px}
.sin-twelve-detail #twelve-progress-fill{background:#12B76A;background-image:none;border-radius:99px}
.sin-twelve-detail .sin-twelve-exercise{margin:0;border-radius:18px;padding:18px;background:#171A20;border:1px solid #343A46;box-shadow:none}
.sin-twelve-detail .sin-twelve-exercise-heading{gap:12px;margin-bottom:18px;align-items:center}
.sin-twelve-detail .sin-twelve-exercise-number{width:44px;flex-basis:44px;height:44px;border-radius:12px;background:#183D2D;color:#6CE9A6;font-size:17px}
.sin-twelve-detail .sin-twelve-exercise-heading h3{font-size:19px;letter-spacing:-.02em;margin-bottom:5px}
.sin-twelve-detail .sin-twelve-exercise-heading p{color:#98A2B3}
.sin-twelve-detail .sin-twelve-rpe-guide{margin-left:auto;border:1px solid #343A46;border-radius:8px;padding:6px 9px;background:#232833;color:#98A2B3;white-space:nowrap}
.sin-twelve-detail .sin-twelve-rpe-guide strong{color:#F5F7FA}
.sin-twelve-detail .sin-twelve-set-head,.sin-twelve-detail .sin-twelve-set-row{grid-template-columns:48px minmax(0,1.4fr) minmax(0,.9fr) 54px;gap:8px}
.sin-twelve-detail .sin-twelve-set-head{font-size:11px;color:#98A2B3;text-transform:uppercase;letter-spacing:.05em}
.sin-twelve-detail .sin-twelve-set-row{border:0;padding:5px 0}
.sin-twelve-detail .sin-twelve-set-number{display:grid;place-items:center;min-height:44px;background:#232833;border:1px solid #343A46;border-radius:10px}
.sin-twelve-detail .sin-twelve-set-row input[type=number]{background:#232833;color:#F5F7FA;border:1px solid #343A46;border-radius:10px;height:44px;font-variant-numeric:tabular-nums}
.sin-twelve-detail .sin-twelve-set-row input[type=number]:focus-visible{outline:2px solid #6CE9A6;outline-offset:1px}
.sin-twelve-detail .sin-twelve-check{min-height:44px}
.sin-twelve-detail .sin-twelve-check span{border-radius:10px}
.sin-twelve-detail .sin-twelve-check input:checked+span{background:#12B76A!important;color:#06190F!important;border-color:#12B76A!important}
.sin-twelve-detail .sin-twelve-swap{border-color:#343A46;background:#1C2028;border-radius:12px}
.sin-twelve-detail .sin-twelve-workout-actions{margin:0;background:transparent;border:0;box-shadow:none;padding:0}
.sin-twelve-detail .sin-twelve-workout-actions button{min-height:52px;border-radius:14px;background:#12B76A!important;color:#06190F!important;border:1px solid #12B76A!important;font-weight:800}
:root[data-theme="light"] .sin-twelve-detail :is(.sin-twelve-header,.sin-twelve-metrics,.sin-twelve-exercise){background:#FFF;border-color:#D5DCE5;color:#14283E}
:root[data-theme="light"] .sin-twelve-detail :is(.sin-twelve-metrics-grid>div,.sin-twelve-set-number,.sin-twelve-set-row input[type=number],.sin-twelve-rpe-guide){background:#F1F4F8;border-color:#D5DCE5;color:#14283E}
:root[data-theme="light"] .sin-twelve-detail .sin-twelve-rpe-guide strong{color:#14283E}
:root[data-theme="light"] .sin-twelve-detail .sin-twelve-metrics-grid strong{color:#14283E}
:root[data-theme="light"] .sin-twelve-detail :is(.sin-twelve-start,.sin-twelve-workout-actions button){background:#087F4A!important;color:#FFF!important}
@media(max-width:420px){
 .sin-twelve-detail .sin-twelve-exercise{padding:14px 11px}
 .sin-twelve-detail .sin-twelve-set-head,.sin-twelve-detail .sin-twelve-set-row{grid-template-columns:33px minmax(0,1.35fr) minmax(0,.82fr) 43px;gap:5px}
 .sin-twelve-detail .sin-twelve-exercise-heading h3{font-size:17px}
 .sin-twelve-detail .sin-twelve-rpe-guide{font-size:11px;padding:5px}
}

/* Train overview — graphite segmented filters, clear selected state. */
.sin-train-filters{
 display:flex;gap:4px;align-items:stretch;width:100%;box-sizing:border-box;
 padding:5px!important;margin:12px 0 20px!important;
 background:#171A20;border:1px solid #343A46;border-radius:16px;
 overflow-x:auto;scrollbar-width:thin;scrollbar-color:#414B59 transparent;
}
.sin-train-filters button,.sin-train-filters button.secondary{
 appearance:none;flex:1 0 auto;min-width:fit-content;padding:11px 14px!important;
 border-radius:11px!important;border:1px solid transparent!important;
 background:transparent!important;color:#98A2B3!important;
 font-weight:650;font-size:13px;min-height:42px;box-shadow:none!important;
}
.sin-train-filters button[aria-pressed="true"]{
 color:#F5F7FA!important;background:#26372E!important;
 border-color:#246B48!important;box-shadow:inset 0 -2px 0 #12B76A!important;
}
.sin-train-filters button:not([aria-pressed="true"]):hover{
 background:#232833!important;color:#F5F7FA!important;
}
.sin-train-filters button:focus-visible{
 outline:2px solid #6CE9A6;outline-offset:-2px;
}
:root[data-theme="light"] .sin-train-filters{background:#EDF1F5;border-color:#D5DCE5}
:root[data-theme="light"] .sin-train-filters button,
:root[data-theme="light"] .sin-train-filters button.secondary{color:#526174!important}
:root[data-theme="light"] .sin-train-filters button[aria-pressed="true"]{
 background:#D8F0E2!important;border-color:#91C7A7!important;color:#075B37!important;
 box-shadow:inset 0 -2px 0 #087F4A!important;
}
:root[data-theme="light"] .sin-train-filters button:not([aria-pressed="true"]):hover{
 background:#FFF!important;color:#14283E!important;
}
/* Featured workout primary actions are emerald; management and preview actions stay neutral. */
.sin-featured-workout{border-color:#343A46;background-color:#171A20}
.sin-featured-workout .sin-type-label{color:#6CE9A6}
.sin-featured-workout button.wide:not(.secondary){
 background:#12B76A!important;color:#07190F!important;border:1px solid #12B76A!important;
 border-radius:12px;min-height:46px;font-weight:750;
}
.sin-scheduled-card{border:1px solid #343A46;background-color:#171A20}
.sin-scheduled-card .sin-type-label{color:#6CE9A6}
.sin-scheduled-card button.secondary,
.sin-twelve-back,
.sin-twelve-detail button.secondary:not(.sin-twelve-workout-actions button){
 background:#232833!important;color:#E0E6EE!important;border:1px solid #444D5A!important;
 border-radius:11px;box-shadow:none!important;
}
.sin-scheduled-card button.secondary:hover,
.sin-twelve-back:hover,
.sin-twelve-detail button.secondary:not(.sin-twelve-workout-actions button):hover{
 background:#2A3740!important;border-color:#12B76A!important;color:#F5F7FA!important;
}
.sin-scheduled-card button.secondary:disabled{opacity:.45;cursor:not-allowed}
.sin-status-card.sin-status-in-progress{border-color:#2A7551}
.sin-status-card.sin-status-completed{border-color:#355B49}
.sin-status-card.sin-status-skipped{border-color:#80643A}
:root[data-theme="light"] .sin-scheduled-card{background:#FFF;border-color:#D5DCE5}
:root[data-theme="light"] .sin-scheduled-card button.secondary,
:root[data-theme="light"] .sin-twelve-back,
:root[data-theme="light"] .sin-twelve-detail button.secondary:not(.sin-twelve-workout-actions button){
 background:#F1F4F8!important;border-color:#D5DCE5!important;color:#1D3348!important;
}
/* Match Home's desktop canvas; do not affect Plan or other pages. */
@media(min-width:900px){
 body:has(.sin-train-filters)>main,
 body:has(.sin-twelve-detail)>main{max-width:1000px;width:calc(100% - 64px);box-sizing:border-box;padding:26px 24px 110px}
 body:has(.sin-train-filters) #nav,
 body:has(.sin-twelve-detail) #nav{
  max-width:1048px;left:50%!important;right:auto!important;transform:translateX(-50%);
  border-left:1px solid #343A46;border-right:1px solid #343A46;border-radius:16px 16px 0 0;
 }
}
@media(min-width:1200px){
 body:has(.sin-train-filters)>main,body:has(.sin-twelve-detail)>main{max-width:1080px}
 body:has(.sin-train-filters) #nav,body:has(.sin-twelve-detail) #nav{max-width:1080px}
}
@media(max-width:600px){
 .sin-train-filters{gap:3px;border-radius:13px}
 .sin-train-filters button,.sin-train-filters button.secondary{font-size:12px;padding:10px 12px!important;min-height:40px}
}

/* Train assessment modal + workout status accents, aligned to Graphite & Emerald. */
:root:not([data-theme="light"]) .sin-final-assessment-dialog,
:root[data-theme="dark"] .sin-final-assessment-dialog{
 background:#171A20!important;color:#F5F7FA!important;border:1px solid #343A46!important;
 box-shadow:0 24px 72px rgba(0,0,0,.55);
}
:root:not([data-theme="light"]) .sin-final-assessment-dialog h2,
:root:not([data-theme="light"]) .sin-final-assessment-dialog h3,
:root:not([data-theme="light"]) .sin-final-assessment-dialog label,
:root[data-theme="dark"] .sin-final-assessment-dialog h2,
:root[data-theme="dark"] .sin-final-assessment-dialog h3,
:root[data-theme="dark"] .sin-final-assessment-dialog label{color:#F5F7FA!important}
:root:not([data-theme="light"]) .sin-final-assessment-dialog > p,
:root:not([data-theme="light"]) .sin-final-assessment-dialog .muted,
:root[data-theme="dark"] .sin-final-assessment-dialog > p,
:root[data-theme="dark"] .sin-final-assessment-dialog .muted{color:#AAB5C4!important}
:root:not([data-theme="light"]) .sin-final-assessment-dialog .sin-1rm-assessments,
:root[data-theme="dark"] .sin-final-assessment-dialog .sin-1rm-assessments{background:#1C2028;border-color:#343A46}
:root:not([data-theme="light"]) .sin-final-assessment-dialog input,
:root:not([data-theme="light"]) .sin-final-assessment-dialog select,
:root[data-theme="dark"] .sin-final-assessment-dialog input,
:root[data-theme="dark"] .sin-final-assessment-dialog select{
 background:#232833!important;color:#F5F7FA!important;border:1px solid #45505E!important;
}
.sin-final-assessment-dialog .eyebrow{color:#6CE9A6!important}
.sin-final-assessment-dialog .sin-final-assessment-actions button.secondary{
 background:#232833!important;color:#F5F7FA!important;border:1px solid #45505E!important;
}
.sin-final-assessment-dialog button:not(.secondary){background:#12B76A!important;color:#06190F!important;border-color:#12B76A!important}
.sin-status-badge.sin-status-in-progress{background:#194B37!important;color:#82E6B0!important}
.sin-status-badge.sin-status-planned{background:#232833!important;color:#D5DEE9!important}
.sin-status-badge.sin-status-completed{background:#20513A!important;color:#9BF1C2!important}
.sin-status-badge.sin-status-skipped{background:#5C452A!important;color:#F7CE91!important}
.sin-scheduled-card .sin-status-badge{border:1px solid transparent}
:root[data-theme="light"] .sin-final-assessment-dialog{
 background:#FFFFFF!important;color:#14283E!important;border-color:#D5DCE5!important;
}
:root[data-theme="light"] .sin-final-assessment-dialog h2,
:root[data-theme="light"] .sin-final-assessment-dialog h3,
:root[data-theme="light"] .sin-final-assessment-dialog label{color:#14283E!important}
:root[data-theme="light"] .sin-final-assessment-dialog > p{color:#556579!important}
:root[data-theme="light"] .sin-final-assessment-dialog button:not(.secondary){background:#087F4A!important;color:#FFFFFF!important}
:root[data-theme="light"] .sin-status-badge.sin-status-planned{background:#E8EEF3!important;color:#465969!important}
:root[data-theme="light"] .sin-status-badge.sin-status-in-progress{background:#D6EEE1!important;color:#126542!important}

/* PLAN: graphite-first visual language, emerald only for choices and key CTAs. */
.sin-plan-screen .sin-plan-goal-header{border-color:#343A46;background-color:#171A20}
.sin-plan-screen .sin-plan-goal-header .eyebrow{color:#6CE9A6}
.sin-plan-screen .sin-programme-progress-track{background:#343A46}
.sin-plan-screen .sin-programme-progress-track>div{background:#12B76A;background-image:none}
.sin-plan-screen .sin-journey-stages article{background:#1D222B;border-color:#343A46}
.sin-plan-screen .sin-journey-stage-num{color:#6CE9A6}
.sin-plan-screen .sin-journey-stages article b{color:#E3EAF0}
.sin-wizard-shell{background:#171A20!important;border-color:#343A46!important;box-shadow:none}
.sin-wizard-shell .sin-wizard-progress span{border-bottom-color:#343A46;color:#98A2B3}
.sin-wizard-shell .sin-wizard-progress .active{border-bottom-color:#12B76A;color:#F5F7FA}
.sin-wizard-shell .sin-wizard-progress .done{border-bottom-color:#327F5C;color:#D6E5DC}
.sin-wizard-shell .sin-wizard-choice{
 background:#232833!important;color:#F5F7FA!important;border:1px solid #414956!important;
 box-shadow:none!important;transition:border-color .15s ease,background-color .15s ease;
}
.sin-wizard-shell .sin-wizard-choice:hover{border-color:#579A76!important;background:#29362F!important}
.sin-wizard-shell .sin-wizard-choice.selected,
.sin-wizard-shell .sin-wizard-choice[aria-pressed="true"]{
 background:#1D382B!important;border:2px solid #12B76A!important;
 box-shadow:0 0 0 1px rgba(18,183,106,.12)!important;
}
.sin-wizard-shell .sin-wizard-choice strong{color:#F5F7FA}
.sin-wizard-shell .sin-wizard-choice small{color:#AFBBC8;opacity:1}
.sin-wizard-shell .sin-wizard-icon{color:#6CE9A6}
.sin-wizard-shell .sin-wizard-summary>div{background:#232833;border:1px solid #343A46}
.sin-wizard-shell .sin-wizard-summary small{color:#98A2B3}
.sin-wizard-shell .sin-preview-launch,
.sin-wizard-shell .sin-twelve-preview,
.sin-wizard-shell .sin-preview-week{background:#1D222B;border-color:#343A46;color:#E3EAF0}
.sin-wizard-shell .sin-preview-week strong{color:#BFE5D0}
.sin-wizard-shell .sin-preview-week span{color:#D3DCE6}
.sin-wizard-shell .sin-wizard-footer button:not(.secondary),
.sin-wizard-shell button[data-action*="activate"]{background:#12B76A!important;color:#07190F!important}
.sin-wizard-shell button.secondary{background:#232833!important;color:#F5F7FA!important;border:1px solid #414956!important}
.sin-wizard-shell .sin-wizard-choice:focus-visible{outline:2px solid #6CE9A6;outline-offset:3px}
.sin-wizard-shell .sin-wizard-body .eyebrow{color:#6CE9A6}
:root:not([data-theme="light"]) .sin-plan-screen .sin-status-badge.sin-status-in-progress{background:#194B37;color:#82E6B0}
:root[data-theme="light"] .sin-wizard-shell{background:#FFF!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-choice{background:#F2F5F8!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-choice.selected,
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-choice[aria-pressed="true"]{background:#E0F4E9!important;border-color:#087F4A!important}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-choice strong{color:#14283E}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-choice small{color:#526174}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-progress .active{color:#14283E;border-bottom-color:#087F4A}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-summary>div,
:root[data-theme="light"] .sin-wizard-shell .sin-preview-launch,
:root[data-theme="light"] .sin-wizard-shell .sin-preview-week{background:#F1F4F8;color:#14283E;border-color:#D5DCE5}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-footer button:not(.secondary){background:#087F4A!important;color:#FFF!important}
@media(min-width:900px){
 body:has(.sin-plan-screen)>main,
 body:has(.sin-wizard-shell)>main{max-width:1000px;width:calc(100% - 64px);box-sizing:border-box;padding:26px 24px 110px}
 body:has(.sin-plan-screen) #nav,
 body:has(.sin-wizard-shell) #nav{max-width:1048px;left:50%!important;right:auto!important;transform:translateX(-50%);border-left:1px solid #343A46;border-right:1px solid #343A46;border-radius:16px 16px 0 0}
}
@media(min-width:1200px){
 body:has(.sin-plan-screen)>main,body:has(.sin-wizard-shell)>main{max-width:1080px}
 body:has(.sin-plan-screen) #nav,body:has(.sin-wizard-shell) #nav{max-width:1080px}
}
@media(max-width:600px){
 .sin-wizard-shell .sin-wizard-choices{grid-template-columns:1fr}
 .sin-wizard-shell .sin-wizard-goals{grid-template-columns:1fr}
 .sin-wizard-shell .sin-wizard-choice{min-height:76px;padding:13px}
}

/* Plan refinement: neutral cinematic overlay, aligned controls, emerald roadmap states. */
.sin-plan-screen .sin-plan-goal-header{
 background-color:#171A20!important;
 background-image:linear-gradient(90deg,rgba(12,14,18,.96) 0%,rgba(12,14,18,.88) 42%,rgba(12,14,18,.48) 100%),url('https://images.unsplash.com/photo-1517963628607-235ccdd5476c?auto=format&fit=crop&w=1200&q=70')!important;
 background-position:center 52%!important;min-height:280px;padding:32px clamp(24px,4vw,40px);
}
.sin-plan-screen .sin-plan-goal-content{width:100%;max-width:100%;display:flex;flex-direction:column;align-items:flex-start}
.sin-plan-screen .sin-plan-goal-header h2,.sin-plan-screen .sin-plan-goal-description{max-width:680px}
.sin-plan-screen .sin-plan-goal-footer{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;justify-content:initial;border-top-color:rgba(220,230,236,.2)}
.sin-plan-screen .sin-plan-goal-footer button{
 background:#232833!important;border:1px solid #59636F!important;color:#F5F7FA!important;
 border-radius:11px;padding:12px 18px;min-height:44px;box-shadow:0 4px 16px rgba(0,0,0,.26)
}
.sin-plan-screen .sin-plan-goal-footer button:hover{border-color:#6CE9A6!important;background:#2B353A!important}
.sin-plan-screen .sin-timeline-week{background:#171A20!important;border-color:#343A46!important}
.sin-plan-screen .sin-timeline-week.sin-timeline-current{border-color:#407960!important;box-shadow:inset 3px 0 0 #12B76A!important}
.sin-plan-screen .sin-timeline-current .sin-timeline-num{background:#20513A!important;color:#B9F2D3!important}
.sin-plan-screen .sin-timeline-current .sin-timeline-status{color:#6CE9A6!important}
.sin-plan-screen .sin-timeline-week:not(.sin-timeline-current) .sin-timeline-num{background:#232833;color:#DDE5EA}
.sin-plan-screen .sin-timeline-session{background:#1D222B!important;border-color:#343A46!important}
.sin-plan-screen .sin-timeline-session .session-exercises>div{border-bottom-color:#343A46}
.sin-wizard-shell .sin-wizard-summary>div{background:#232833!important;border-color:#343A46!important}
.sin-wizard-shell .sin-wizard-summary>div strong{color:#F5F7FA}
.sin-wizard-shell .sin-preview-launch,
.sin-wizard-shell .sin-twelve-preview,
.sin-wizard-shell .sin-preview-week{background:#1D222B!important;border-color:#343A46!important}
.sin-wizard-shell .sin-preview-week strong{color:#C4E6D4!important}
.sin-wizard-shell .sin-preview-week span{color:#D8E0E8!important}
.sin-wizard-shell .sin-wizard-body [style*="background:#263"],.sin-wizard-shell .sin-wizard-body [style*="background: #263"]{background:#232833!important}
:root[data-theme="light"] .sin-plan-screen .sin-timeline-week{background:#FFF!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-plan-screen .sin-timeline-current .sin-timeline-num{background:#D6EEE1!important;color:#075B37!important}
:root[data-theme="light"] .sin-plan-screen .sin-timeline-session{background:#F4F6F8!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-summary>div,
:root[data-theme="light"] .sin-wizard-shell .sin-preview-launch,
:root[data-theme="light"] .sin-wizard-shell .sin-preview-week{background:#F1F4F8!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell .sin-wizard-summary>div strong{color:#14283E}
@media(max-width:650px){
 .sin-plan-screen .sin-plan-goal-header{min-height:290px;padding:26px 20px;background-position:61% center!important}
 .sin-plan-screen .sin-plan-goal-footer{grid-template-columns:1fr}
 .sin-plan-screen .sin-plan-goal-footer button{width:100%}
}

/* Final builder colour cleanup — neutral editorial image, muted review panels. */
.sin-plan-empty.sin-plan-empty-photo{
 background-color:#171A20!important;
 background-image:linear-gradient(94deg,rgba(11,13,17,.96) 0%,rgba(11,13,17,.83) 47%,rgba(11,13,17,.26) 100%),url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1600&q=80')!important;
}
.sin-wizard-shell .sin-wizard-experience-photo{
 background-color:#171A20!important;
 background-image:linear-gradient(90deg,rgba(11,13,17,.75),rgba(11,13,17,.10)),url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1100&q=72')!important;
}
.sin-wizard-shell .sin-wizard-feature-image{
 background-color:#171A20!important;background-blend-mode:luminosity!important;
}
.sin-wizard-shell .sin-wizard-feature-image span{color:#6CE9A6!important}
.sin-wizard-shell .sin-final-prescribed{
 background:#232833!important;border-left:3px solid #3C8763!important;color:#F5F7FA!important;
}
.sin-wizard-shell .sin-activation-next{
 background:#232833!important;border:1px solid #343A46!important;border-radius:14px;padding:20px!important;margin:18px 0!important;
}
.sin-wizard-shell .sin-activation-next button{
 background:#12B76A!important;color:#07190F!important;border:0!important;border-radius:11px;
}
.sin-wizard-shell .sin-wizard-summary>div,.sin-wizard-shell .sin-empty-demo-banner{
 background:#232833!important;border:1px solid #343A46!important;border-radius:12px;
}
.sin-wizard-shell .sin-preview-launch{
 background:#1D222B!important;border:1px solid #343A46!important;border-radius:15px;
}
.sin-wizard-shell .sin-preview-week{
 background:#232833!important;border:1px solid #343A46!important;color:#D8E0E8!important;
}
.sin-wizard-shell .sin-preview-week strong{color:#C4E6D4!important}
.sin-wizard-shell .sin-preview-week span{color:#D8E0E8!important}
.sin-wizard-shell .sin-builder-heading .secondary{background:#232833!important;border-color:#414956!important;color:#F5F7FA!important}
:root[data-theme="light"] .sin-wizard-shell :is(.sin-final-prescribed,.sin-activation-next,.sin-wizard-summary>div,.sin-empty-demo-banner,.sin-preview-launch,.sin-preview-week){background:#F1F4F8!important;border-color:#D5DCE5!important;color:#14283E!important}
:root[data-theme="light"] .sin-wizard-shell .sin-activation-next button{background:#087F4A!important;color:#FFF!important}
:root[data-theme="light"] .sin-wizard-shell .sin-preview-week span{color:#34475C!important}
@media(min-width:900px){
 body:has(.sin-wizard-final)>main{max-width:1080px;width:calc(100% - 64px);box-sizing:border-box}
 body:has(.sin-wizard-final) .sin-wizard-final{max-width:100%}
}

/* Unified neutral photographic treatment and Plan setup/preview surfaces. */
.sin-home-photo-hero,.sin-v2-home .sin-home-carousel{background-color:#111418!important}
.sin-home-photo{background:linear-gradient(135deg,#24272C,#0B0D10)!important}
.sin-home-photo img{filter:grayscale(.45) saturate(.28) contrast(1.11) brightness(.85)!important}
.sin-home-photo:after{
 background:linear-gradient(90deg,rgba(10,12,15,.92) 0%,rgba(10,12,15,.60) 52%,rgba(10,12,15,.23) 100%),linear-gradient(0deg,rgba(10,12,15,.65),transparent 65%)!important
}
.sin-wizard-schedule-feature{
 background:linear-gradient(110deg,#232833,#1C2924)!important;
 border:1px solid #343A46!important;color:#F5F7FA!important
}
.sin-wizard-schedule-feature .sin-schedule-feature-icon{color:#6CE9A6!important}
.sin-wizard-shell.sin-wizard-final .sin-wizard-summary>div,
.sin-wizard-shell.sin-wizard-final .sin-wizard-summary>div:first-child,
.sin-wizard-shell.sin-wizard-final .sin-final-prescribed{
 background:#232833!important;border-color:#343A46!important;color:#F5F7FA!important
}
.sin-wizard-shell.sin-wizard-final .sin-final-prescribed{border-left:3px solid #3C8763!important}
.sin-wizard-shell .sin-preview-launch,.sin-wizard-shell .sin-twelve-preview{background:#1D222B!important;border-color:#343A46!important;color:#F5F7FA!important}
.sin-wizard-shell .sin-twelve-preview .sin-preview-week,
.sin-wizard-shell .sin-twelve-preview .sin-preview-week[open],
.sin-wizard-shell .sin-twelve-preview details,
.sin-wizard-shell .sin-twelve-preview summary{
 background:#20262D!important;border-color:#414B56!important;color:#E1E7EC!important
}
.sin-wizard-shell .sin-twelve-preview .sin-preview-week strong{color:#C0E8D0!important}
.sin-wizard-shell .sin-twelve-preview .sin-preview-detail{color:#AAB6C2!important}
.sin-wizard-shell .sin-twelve-preview [style*="background:#1"],.sin-wizard-shell .sin-twelve-preview [style*="background: #1"]{background:#20262D!important}
:root[data-theme="light"] .sin-wizard-schedule-feature{background:#E8EEE9!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell.sin-wizard-final .sin-wizard-summary>div,
:root[data-theme="light"] .sin-wizard-shell.sin-wizard-final .sin-final-prescribed,
:root[data-theme="light"] .sin-wizard-shell .sin-twelve-preview .sin-preview-week,
:root[data-theme="light"] .sin-wizard-shell .sin-twelve-preview details,
:root[data-theme="light"] .sin-wizard-shell .sin-twelve-preview summary{background:#F1F4F8!important;color:#14283E!important;border-color:#D5DCE5!important}
:root[data-theme="light"] .sin-wizard-shell .sin-twelve-preview .sin-preview-week strong{color:#075B37!important}

/* Plan final setup: actual split cards and three locked choices, not wizard choices. */
.sin-wizard-final .sin-final-locked>div{
 background:#232833!important;border:1px solid #343A46!important;color:#F5F7FA!important;
 box-shadow:none!important;
}
.sin-wizard-final .sin-final-locked small{color:#9DAAB9!important;opacity:1}
.sin-wizard-final .sin-final-locked strong{color:#F5F7FA!important}
.sin-wizard-final .sin-final-split-choice{
 background:#232833!important;color:#F5F7FA!important;border:1px solid #414956!important;
 box-shadow:none!important;transform:none;
}
.sin-wizard-final .sin-final-split-choice:not(.selected):hover{
 background:#29342F!important;border-color:#5B9878!important;
}
.sin-wizard-final .sin-final-split-choice.selected,
.sin-wizard-final .sin-final-split-choice[aria-pressed="true"]{
 background:#1D382B!important;color:#F5F7FA!important;border:2px solid #12B76A!important;
 box-shadow:0 0 0 1px rgba(18,183,106,.12)!important;
}
.sin-wizard-final .sin-final-split-choice strong{color:#F5F7FA!important}
.sin-wizard-final .sin-final-split-choice small{color:#BAC6D0!important;opacity:1}
.sin-wizard-final .sin-final-split-choice:focus-visible{outline:2px solid #6CE9A6;outline-offset:3px}
:root[data-theme="light"] .sin-wizard-final .sin-final-locked>div,
:root[data-theme="light"] .sin-wizard-final .sin-final-split-choice{
 background:#F1F4F8!important;border-color:#D5DCE5!important;color:#14283E!important;
}
:root[data-theme="light"] .sin-wizard-final .sin-final-split-choice.selected,
:root[data-theme="light"] .sin-wizard-final .sin-final-split-choice[aria-pressed="true"]{
 background:#DFF2E7!important;border-color:#087F4A!important;
}
:root[data-theme="light"] .sin-wizard-final .sin-final-locked strong,
:root[data-theme="light"] .sin-wizard-final .sin-final-split-choice strong{color:#14283E!important}
:root[data-theme="light"] .sin-wizard-final .sin-final-locked small,
:root[data-theme="light"] .sin-wizard-final .sin-final-split-choice small{color:#526174!important}
