/* Career Rebuild app. Brand: Sunrise (see ../brand/brand-guide.md).
   Layout: phone-first single column, sticky header, bottom tab bar; widens to a centred column on desktop. */
:root{
  --sunrise:#FF6B4A; --ember:#FF9F43; --navy:#14213D; --cream:#FFF6EC; --peach:#FFD9C7; --sky:#9DB8DA;
  --bg:#0E1729; --surface:#16223B; --surface-2:#1E2C4A; --line:#26334F;
  --fg:#FFF6EC; --muted:#B4BACB; --good:#7BD3A0;
  --display:"Bricolage Grotesque","Avenir Next","Segoe UI",system-ui,sans-serif;
  --body:"Figtree","Segoe UI",system-ui,-apple-system,sans-serif;
  --spring:cubic-bezier(.34,1.56,.64,1);
  --ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit}
a{color:inherit}
h1,h2,h3{font-family:var(--display);margin:0;line-height:1.1;text-wrap:balance}
p{margin:0}
:focus-visible{outline:2px solid var(--ember);outline-offset:3px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.shell{max-width:760px;margin:0 auto;min-height:100%;display:flex;flex-direction:column;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}

/* Header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.brand{display:flex;align-items:center;gap:8px;font-family:var(--display);font-weight:800;font-size:1.1rem;letter-spacing:-.01em;background:none;border:0;padding:0;cursor:pointer}
.brand svg{width:30px;height:30px}
.brand i{font-style:normal;color:var(--sunrise)}
.top-actions{display:flex;gap:8px}
.pill-btn{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 12px;font-size:.85rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:transform .2s var(--spring)}
.pill-btn svg{width:16px;height:16px;flex:0 0 16px}
.pill-btn:active{transform:scale(.95)}
.pill-btn.warm{background:var(--peach);color:var(--navy);border-color:transparent}

/* Views */
main{flex:1;display:flex;flex-direction:column;gap:26px;padding:6px 0 24px}
.view-enter{animation:viewIn .45s var(--ease) both}
@keyframes viewIn{from{opacity:.25;transform:translateY(10px)}to{opacity:1;transform:none}}
.pad{padding-inline:16px}
.greeting{display:flex;flex-direction:column;gap:2px}
.greeting small{color:var(--muted);font-size:.9rem}
.greeting h1{font-size:clamp(1.6rem,6vw,2.2rem);font-weight:800;letter-spacing:-.02em}

/* Today's step hero */
.hero{margin-inline:16px;position:relative;overflow:hidden;border-radius:22px;padding:20px;min-height:200px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;
  background:linear-gradient(180deg,rgba(20,33,61,0) 0%,rgba(20,33,61,.15) 100%),linear-gradient(150deg,#FFB27A 0%,var(--sunrise) 48%,#C2410C 100%);color:var(--navy)}
.hero .sun{position:absolute;right:-30px;top:-40px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255,246,236,.9),rgba(255,217,199,.35) 55%,transparent 70%);animation:sunrise 1.6s var(--ease) both}
@keyframes sunrise{from{transform:translateY(60px);opacity:.3}to{transform:none;opacity:1}}
.hero .steps-art{position:absolute;right:18px;top:22px;display:flex;align-items:flex-end;gap:5px;opacity:.9}
.hero .steps-art span{width:16px;background:var(--navy);border-radius:3px}
.eyebrow{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.hero h2{font-size:clamp(1.35rem,5vw,1.75rem);font-weight:800;max-width:20ch;position:relative}
.hero p{max-width:40ch;font-weight:500;position:relative}
.hero .row-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;position:relative}
.btn{border:0;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:transform .25s var(--spring),box-shadow .25s}
.btn:active{transform:scale(.95)}
.btn.dark{background:var(--navy);color:var(--cream)}
.btn.ghost{background:rgba(20,33,61,.12);color:var(--navy)}
.btn.coral{background:var(--sunrise);color:var(--navy)}
.btn.line{background:transparent;color:var(--fg);border:1px solid var(--line)}
.btn.block{width:100%;justify-content:center;padding:13px 16px}

/* Rows */
.row-block{display:flex;flex-direction:column;gap:4px}
.row-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-inline:16px}
.row-head h3{font-size:1.1rem;font-weight:700}
.row-head .count{color:var(--muted);font-size:.85rem}
.row{display:flex;gap:14px;overflow-x:auto;padding:14px 16px 18px;scroll-snap-type:x proximity;scrollbar-width:none;scroll-padding-inline:16px}
.row::-webkit-scrollbar{display:none}
.row .card{flex:0 0 156px}

/* Cards */
.card{position:relative;height:208px;border:0;border-radius:16px;padding:12px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;cursor:pointer;
  color:var(--cream);overflow:hidden;scroll-snap-align:start;isolation:isolate;
  transition:transform .4s var(--spring),box-shadow .4s var(--ease);animation:cardIn .5s var(--ease) both;animation-delay:calc(var(--i,0) * 45ms)}
@keyframes cardIn{from{opacity:.3;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
.card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 35%,rgba(10,18,34,.55) 100%)}
.card:hover,.card:focus-visible{transform:scale(1.07) translateY(-6px);box-shadow:0 20px 34px -14px rgba(255,107,74,.55);z-index:3}
.card .glyph{pointer-events:none;position:absolute;right:-10px;top:-6px;width:96px;height:96px;opacity:.22;z-index:-1}
.card .badges{display:flex;gap:6px;flex-wrap:wrap}
.badge{font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;background:rgba(255,246,236,.92);color:var(--navy);border-radius:999px;padding:3px 8px}
.badge.done{background:var(--good)}
.card .title{font-family:var(--display);font-weight:700;font-size:1rem;line-height:1.15}
.card .src{font-size:.75rem;opacity:.85;margin-top:4px}
.card.locked{cursor:default}
.card.locked .badge{background:var(--navy);color:var(--peach)}

/* Category colourways */
.c-cv{background:linear-gradient(160deg,#FF8A5C,#C2410C)}
.c-int{background:linear-gradient(160deg,#3A4E7A,#14213D);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.c-job{background:linear-gradient(160deg,#FFB27A,#E5553A)}
.c-skl{background:linear-gradient(160deg,#5B6F99,#22325A)}
.c-wb{background:linear-gradient(160deg,#9DB8DA,#4D6A94)}
.c-conf{background:linear-gradient(160deg,#FF9F43,#B8461F)}
.c-mon{background:linear-gradient(160deg,#6B7FA8,#2A3A63)}
.c-start{background:linear-gradient(160deg,#FFC27A,#FF6B4A)}
.c-plus{background:linear-gradient(160deg,#2B2140,#14213D);box-shadow:inset 0 0 0 1px rgba(255,159,67,.35)}

/* Search */
.search-box{margin-inline:16px;display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px 14px}
.search-box svg{width:20px;height:20px;flex:0 0 20px;color:var(--muted)}
.search-box input{flex:1;min-width:0;background:transparent;border:0;color:var(--fg);font:inherit;padding:10px 0;outline:none}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 16px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 12px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s}
.chip[aria-pressed="true"]{background:var(--sunrise);border-color:var(--sunrise);color:var(--navy)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;padding:6px 16px}
.empty{margin-inline:16px;padding:28px 20px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}

/* My steps */
.progress{margin-inline:16px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:14px}
.progress .big{font-family:var(--display);font-size:2.6rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.progress .big small{font-size:1rem;font-weight:600;color:var(--muted);margin-left:6px}
.stairs{display:flex;align-items:flex-end;gap:6px;height:84px}
.stairs span{flex:1;border-radius:4px;background:var(--surface-2);transition:background .5s var(--ease),transform .5s var(--spring)}
.stairs span.on{background:linear-gradient(180deg,var(--ember),var(--sunrise));transform:translateY(-2px)}
.list{display:flex;flex-direction:column;gap:10px;padding-inline:16px}
.list-item{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px;cursor:pointer;text-align:left;width:100%;transition:transform .25s var(--spring)}
.list-item:active{transform:scale(.98)}
.list-item .sw{flex:0 0 44px;height:44px;border-radius:10px}
.list-item b{display:block;font-family:var(--display);font-size:.95rem}
.list-item span{font-size:.8rem;color:var(--muted)}
.list-item > div{min-width:0}
.section-title{padding-inline:16px;font-size:1.05rem;font-weight:700;font-family:var(--display)}

/* Community */
.panel{margin-inline:16px;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line)}
.panel.wa{background:linear-gradient(150deg,#1F3B37,#14213D);border-color:#2C5248}
.panel.tt{background:linear-gradient(150deg,#2B2140,#14213D);border-color:#3D3158}
.panel h2{font-size:1.3rem;font-weight:800}
.panel p{color:var(--muted)}
.panel .note{font-size:.82rem}

/* Bottom tabs */
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px)}
.tabs-inner{display:flex;width:100%;max-width:760px}
.tab{flex:1;background:none;border:0;padding:10px 4px 12px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:.72rem;font-weight:600;color:var(--muted);cursor:pointer;position:relative}
.tab svg{width:22px;height:22px;transition:transform .3s var(--spring)}
.tab[aria-current="page"]{color:var(--fg)}
.tab[aria-current="page"] svg{transform:translateY(-2px);color:var(--sunrise)}
.tab[aria-current="page"]::before{content:"";position:absolute;top:0;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--sunrise)}

/* Sheet (detail / support) */
.scrim{position:fixed;inset:0;z-index:50;background:rgba(5,10,20,.6);display:flex;align-items:flex-end;justify-content:center;animation:fade .25s ease both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{width:100%;max-width:640px;max-height:92%;overflow:auto;background:var(--surface);border-radius:24px 24px 0 0;padding:0 0 calc(20px + env(safe-area-inset-bottom,0px));animation:sheetUp .5s var(--spring) both}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
.scrim.closing{animation:fade .2s ease reverse both}
.scrim.closing .sheet{animation:sheetDown .25s var(--ease) both}
@keyframes sheetDown{to{transform:translateY(100%)}}
.sheet-art .badge{position:relative;z-index:1}
.sheet-art{position:relative;height:150px;border-radius:24px 24px 0 0;padding:16px;display:flex;align-items:flex-start;justify-content:space-between;overflow:hidden}
.sheet-art .glyph{pointer-events:none;position:absolute;right:10px;bottom:-14px;width:130px;height:130px;opacity:.25}
.close{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;border:0;background:rgba(14,23,41,.55);color:var(--cream);cursor:pointer;font-size:1.2rem;line-height:1}
.sheet-body{padding:18px 20px 4px;display:flex;flex-direction:column;gap:14px}
.sheet-body h2{font-size:1.45rem;font-weight:800}
.meta{display:flex;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:.85rem}
.meta span:not(:last-child)::after{content:"·";margin-left:6px}
.why{color:var(--fg);font-size:1rem}
.your-step{border-radius:16px;padding:14px 16px;background:linear-gradient(150deg,rgba(255,159,67,.18),rgba(255,107,74,.12));border:1px solid rgba(255,107,74,.35);display:flex;flex-direction:column;gap:6px}
.your-step .eyebrow{color:var(--ember)}
.your-step p{font-weight:600}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.actions .btn{flex:1 1 140px;justify-content:center}
.caveat{font-size:.85rem;color:var(--peach);background:rgba(255,217,199,.08);border-radius:12px;padding:10px 12px}
.support{border-radius:16px;background:var(--surface-2);padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.support b{font-family:var(--display)}
.support ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:.92rem}
.support .num{font-weight:700;user-select:all;font-variant-numeric:tabular-nums}

/* Welcome */
.welcome{min-height:100%;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:40px 24px;max-width:480px;margin:0 auto;animation:viewIn .6s var(--ease) both}
.welcome .logo{width:96px;height:96px}
.welcome h1{font-size:clamp(2.2rem,9vw,3rem);font-weight:800;letter-spacing:-.02em}
.welcome h1 i{font-style:normal;color:var(--sunrise)}
.welcome .slogan{font-family:var(--display);font-size:1.25rem;font-weight:500}
.welcome .slogan b{color:var(--sunrise)}
.welcome label{font-weight:600;font-size:.9rem}
.welcome input{width:100%;margin-top:6px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:13px 14px;color:var(--fg);font:inherit}
.welcome .demo{font-size:.8rem;color:var(--muted)}

.toast{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;background:var(--cream);color:var(--navy);font-weight:700;border-radius:999px;padding:10px 18px;box-shadow:0 10px 30px -10px rgba(0,0,0,.5);animation:toast 2.4s var(--ease) both;white-space:nowrap}
@keyframes toast{0%{opacity:0;transform:translate(-50%,16px)}12%,80%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,8px)}}

@media (min-width:700px){.row .card{flex-basis:176px}.card{height:224px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}

/* Join request form */
.join-form label{font-weight:600;font-size:.9rem;margin-bottom:-8px}
.join-form input:not([type=checkbox]),.join-form select{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--fg);font:inherit}
.join-form .hint{font-size:.8rem;color:var(--muted);margin-top:-8px}
.join-form .tick{display:flex;gap:10px;align-items:flex-start;font-weight:500;margin:0}
.join-form .tick input{margin-top:4px;width:18px;height:18px;accent-color:var(--sunrise);flex:0 0 auto}
.join-form .rules{background:var(--surface-2);border-radius:12px;padding:10px 14px;font-size:.9rem}
.join-form .rules summary{cursor:pointer;font-weight:600}
.join-form .rules ul{margin:8px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:4px;color:var(--muted)}
.bot-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-error{color:#FFB4A2;font-weight:600;font-size:.9rem}
.join-done{display:flex;flex-direction:column;gap:6px;background:rgba(123,211,160,.08);border:1px solid rgba(123,211,160,.3);border-radius:14px;padding:12px 14px}
.join-done p{color:var(--fg)}
.btn:disabled{opacity:.6;cursor:default}

/* Video library */
.card .thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
.card.has-thumb::after{background:linear-gradient(180deg,rgba(10,18,34,.15) 0%,transparent 30%,rgba(10,18,34,.88) 72%)}
.card.has-thumb .glyph{opacity:.9;width:46px;height:46px;right:auto;left:50%;top:30%;transform:translate(-50%,-50%);background:rgba(14,23,41,.6);border-radius:50%;padding:11px;width:42px;height:42px;color:var(--cream)}
.badge.video{background:var(--sunrise);color:var(--navy)}
.section-split{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding-top:16px}
.section-split .eyebrow{color:var(--ember)}
.section-split .count{color:var(--muted);font-size:.85rem}

/* Thumbnails in lists and the detail sheet */
.list-item .lt{flex:0 0 96px;width:96px;height:54px;border-radius:10px;object-fit:cover;background:var(--surface)}
.sheet-art.has-thumb{height:auto;aspect-ratio:16/9}
.sheet-art .art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sheet-art.has-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,18,34,.35),transparent 40%)}
.sheet-art.has-thumb .glyph{display:none}
.sheet-art.has-thumb .badge,.sheet-art.has-thumb .close{position:relative;z-index:2}
/* Video cards: 16:9 picture on top, title underneath (no text over the thumbnail) */
.row .card.has-thumb{flex-basis:224px}
.card.has-thumb{height:auto;min-height:0;padding:0;justify-content:flex-start;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.card.has-thumb::after{display:none}
.card.has-thumb .thumb{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;z-index:0;border-radius:16px 16px 0 0}
.card.has-thumb .badges{position:absolute;top:10px;left:10px;z-index:2}
.card.has-thumb .glyph{position:absolute;top:calc(224px*9/32);left:50%;z-index:2}
.card.has-thumb > span:last-child{padding:10px 12px 12px}
.card.has-thumb .title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card.has-thumb .src{display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted)}
@media (min-width:700px){.row .card.has-thumb{flex-basis:260px}.card.has-thumb .glyph{top:calc(260px*9/32)}}

/* Daily thought */
.quote{margin:4px 16px 16px;padding:18px 18px 16px;border-radius:20px;background:linear-gradient(150deg,var(--surface-2),var(--surface));border:1px solid var(--line);display:flex;flex-direction:column;gap:8px;position:relative}
.quote .eyebrow{color:var(--ember)}
.quote blockquote{margin:0;font-family:var(--display);font-weight:700;font-size:1.25rem;line-height:1.25;text-wrap:balance}
.quote cite{font-style:normal;color:var(--peach);font-size:.85rem}
.quote .btn{align-self:flex-start;margin-top:4px}
.btn.sm{padding:7px 14px;font-size:.85rem}

/* Plan questions */
.plan-form{display:flex;flex-direction:column;gap:18px}
.plan-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.plan-form legend{font-family:var(--display);font-weight:800;font-size:1.15rem;margin-bottom:8px;padding:0}
.plan-form legend small{display:block;font-family:var(--body);font-weight:500;font-size:.8rem;color:var(--muted)}
.plan-form .qn{display:block;font-family:var(--body);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--ember);margin-bottom:4px}
.opt{position:relative;display:block;cursor:pointer}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt span{display:block;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-weight:600;transition:background .2s,border-color .2s}
.opt input:checked + span{border-color:var(--sunrise);background:color-mix(in srgb,var(--sunrise) 18%,var(--surface))}
.opt input:focus-visible + span{outline:2px solid var(--ember);outline-offset:2px}
.opts-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.plan-form input[type=range]{width:100%;accent-color:var(--sunrise)}
.range-labels{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:var(--muted)}
.range-labels output{font-weight:800;color:var(--fg);font-size:.95rem}
.plan-first{justify-content:flex-start}
.plan-first .eyebrow{color:var(--ember)}
.plan-first h1{font-size:clamp(1.8rem,7vw,2.4rem)}
.plan-first p{color:var(--muted)}
.plan-cta{margin-bottom:16px}

/* Your path */
.path{margin:0 16px 16px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:12px}
.path-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.path-head .eyebrow{color:var(--ember)}
.path-head h2{font-size:1.3rem;font-weight:800;margin-top:2px}
.path-head small{color:var(--muted);font-size:.8rem}
.link-btn{background:none;border:0;color:var(--peach);font-weight:700;font-size:.82rem;cursor:pointer;padding:4px 0;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.bar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--sunrise),var(--ember));transition:width .6s var(--ease)}
.path-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.path-list button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:var(--surface-2);border:1px solid transparent;border-radius:14px;padding:8px;cursor:pointer}
.path-list .dot{flex:0 0 28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.85rem;background:var(--bg);color:var(--muted)}
.path-list img{flex:0 0 72px;width:72px;height:40px;border-radius:8px;object-fit:cover}
.path-list .txt{min-width:0}
.path-list b{display:block;font-family:var(--display);font-size:.92rem;line-height:1.2}
.path-list .txt > span{font-size:.75rem;color:var(--muted)}
.path-list li.next button{border-color:var(--sunrise);background:color-mix(in srgb,var(--sunrise) 12%,var(--surface-2))}
.path-list li.next .dot{background:var(--sunrise);color:var(--navy)}
.path-list .up{font-style:normal;color:var(--sunrise);font-weight:700}
.path-list li.done .dot{background:var(--good);color:var(--navy)}
.path-list li.done b{opacity:.7}
.path-done{color:var(--good);font-weight:600}

/* Weekly check-in */
.checkin{margin:0 16px 16px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:10px}
.checkin .eyebrow{color:var(--ember)}
.checkin h2{font-size:1.2rem;font-weight:800}
.checkin > small,.checkin .key{color:var(--muted);font-size:.78rem}
.scale{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.scale button{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;padding:8px 2px;font-size:.7rem;font-weight:600;line-height:1.15;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px}
.scale button .n{font-family:var(--display);font-size:1.15rem;font-weight:800}
.scale button:active{transform:scale(.95)}
.scale.small button{padding:6px 2px}
.scale button[aria-pressed=true]{border-color:var(--sunrise);background:color-mix(in srgb,var(--sunrise) 18%,var(--surface-2))}
.mood{display:flex;align-items:flex-end;gap:2px;height:120px;padding-top:4px;border-bottom:1px solid var(--line)}
.mood .m{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}
.mood .b{width:min(22px,70%);background:var(--sunrise);border-radius:4px 4px 0 0;min-height:4px}
.mood .v{font-size:.72rem;font-weight:700;color:var(--fg);margin-bottom:2px}
.mood .d{position:absolute;bottom:-18px;font-size:.62rem;color:var(--muted);white-space:nowrap}
.checkin .key{margin-top:16px}
.gentle{background:color-mix(in srgb,var(--sky) 14%,var(--surface));border-radius:14px;padding:12px;font-size:.9rem;color:var(--fg)}
.gentle .support{margin-top:10px}

/* Progress extras */
.streak{color:var(--fg)}
.streak b{color:var(--ember)}
.areas{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:14px}
.areas .eyebrow{color:var(--muted)}
.area{display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:.85rem}
.area b{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:600}
.area .bar{grid-column:1/-1;height:6px}

/* Starting out / Rebuilding */
.mode-choices{display:flex;flex-direction:column;gap:12px}
.mode-card{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:left;padding:18px;border-radius:20px;border:2px solid var(--line);background:var(--surface);cursor:pointer;transition:transform .25s var(--spring),border-color .2s}
.mode-card:active{transform:scale(.97)}
.mode-card svg{grid-row:1/3;width:44px;height:44px;padding:9px;border-radius:14px;color:var(--navy)}
.mode-card.start svg{background:linear-gradient(160deg,#FFC27A,#FF6B4A)}
.mode-card.rebuild svg{background:linear-gradient(160deg,#9DB8DA,#FF9F43)}
.mode-card b{font-family:var(--display);font-size:1.2rem;font-weight:800}
.mode-card span{color:var(--muted);font-size:.88rem}
.mode-card.on{border-color:var(--sunrise);background:color-mix(in srgb,var(--sunrise) 12%,var(--surface))}
.mode-pill{margin-top:10px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 12px 5px 8px;font-size:.82rem;font-weight:600;cursor:pointer}
.mode-pill svg{width:18px;height:18px;color:var(--ember)}
.mode-pill b{color:var(--peach);font-weight:700;margin-left:2px;text-decoration:underline;text-underline-offset:3px}
