/* ================================================================
   RISE HOUSE — BUILD 44 VISUAL CONCEPT
   Presentation layer only. Existing data hooks, element IDs, Supabase
   calls and interaction contracts remain in index.html.
   ================================================================ */

:root{
  --bg:#F7F2E9;
  --surface:#FFFDF8;
  --ink:#1E1F20;
  --muted:#69645C;
  --faint:#8A8378;
  --line:#E7DECF;
  --line2:#D8CCB9;
  --forest:#20211F;
  --forest2:#121312;
  --lime:#D8BC77;
  --lime-soft:#F2E8D2;
  --brand:#B58E3C;
  --brand-ink:#86661F;
  --ok-bg:#EAF0E7;
  --ok:#4E664F;
  --ok-dot:#728B70;
  --r-xl:30px;
  --r-lg:20px;
  --r-md:14px;
  --r-sm:10px;
  --shadow:0 12px 30px rgba(35,31,24,.08);
  --shadow-up:0 18px 48px rgba(23,21,18,.16);
  --display:"DM Serif Display", Georgia, serif;
  --body:Geist,system-ui,-apple-system,"Segoe UI",sans-serif;
}

:root[data-theme="dark"]{
  --bg:#171613;
  --surface:#211F1B;
  --ink:#F3EFE8;
  --muted:#B7AFA2;
  --faint:#958D82;
  --line:#373229;
  --line2:#4A4337;
  --forest:#292824;
  --forest2:#11110F;
  --lime:#E1C77F;
  --lime-soft:#332D23;
  --brand:#D4B263;
  --brand-ink:#E1C77F;
  --shadow:0 12px 30px rgba(0,0,0,.24);
  --shadow-up:0 18px 48px rgba(0,0,0,.38);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#171613;
    --surface:#211F1B;
    --ink:#F3EFE8;
    --muted:#B7AFA2;
    --faint:#958D82;
    --line:#373229;
    --line2:#4A4337;
    --forest:#292824;
    --forest2:#11110F;
    --lime:#E1C77F;
    --lime-soft:#332D23;
    --brand:#D4B263;
    --brand-ink:#E1C77F;
    --shadow:0 12px 30px rgba(0,0,0,.24);
    --shadow-up:0 18px 48px rgba(0,0,0,.38);
  }
}

html,body{background:var(--bg)}
body{
  background:
    radial-gradient(circle at 100% 0%,rgba(201,169,97,.10),transparent 34%),
    var(--bg);
}
.wrap{max-width:480px;padding-left:20px;padding-right:20px;padding-bottom:calc(106px + env(safe-area-inset-bottom))}

/* Typography: editorial headlines, functional UI. */
h1,h2,h3,.big,.pts .n,.meter .fr,.nextup .t{font-family:var(--display)}
h1,h2,h3{font-weight:400;letter-spacing:-.025em}
.screenhead h1{font-size:36px;line-height:1.02;font-weight:400}
.screenhead p{font-size:13.5px;line-height:1.58;max-width:31em}
.eyebrow{
  text-align:left;color:var(--brand-ink);font-size:9.5px;letter-spacing:.23em;font-weight:700;
}
.eyebrow::before{content:""}
.sechead{align-items:flex-start;gap:5px}

/* Brand masthead: smaller, quieter, more like an editorial folio. */
.masthead{padding:16px 0 13px;border-bottom:1px solid color-mix(in srgb,var(--line) 82%,transparent);gap:11px}
.masthead img{width:27px;height:27px;flex-basis:27px}
.masthead .nm{font-size:9.5px;letter-spacing:.24em;color:var(--ink)}
.masthead .nm:before{content:"RISE HOUSE  /  ";color:var(--brand)}

/* Home hero — place and belonging first. */
.today{
  position:relative;isolation:isolate;overflow:hidden;
  margin:0 -20px 18px;padding:38px 22px 30px;min-height:230px;
  display:flex;flex-direction:column;justify-content:flex-end;
  border-radius:0 0 30px 30px;
  background:
    linear-gradient(180deg,rgba(18,18,16,.05) 0%,rgba(18,18,16,.18) 42%,rgba(18,18,16,.82) 100%),
    url("assets/mountains.jpg") 72% center/cover no-repeat;
  color:#fff;
  box-shadow:0 20px 45px rgba(34,29,21,.13);
}
.today::after{
  content:"";position:absolute;right:-42px;top:28px;width:152px;height:152px;z-index:-1;
  background:url("enso.png") center/contain no-repeat;filter:invert(1);opacity:.12;transform:rotate(-10deg);
}
.today .dstamp{color:rgba(255,255,255,.78);font-size:10px;letter-spacing:.23em}
.today h1{font-size:43px;line-height:.98;max-width:320px;margin-top:9px;text-shadow:0 2px 18px rgba(0,0,0,.22)}
.today .chipline{margin-top:13px}
.today .chip{margin:0;background:rgba(247,242,233,.16);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(10px);font-size:11px;letter-spacing:.04em}

/* Fewer “app cards”; more editorial sections. */
.card,.tdrow,.tile,.link,.step,.note,.list{
  border-color:var(--line);box-shadow:none;
}
.card{background:color-mix(in srgb,var(--surface) 94%,transparent)}

.nextup{
  margin-top:0;border-radius:22px;padding:21px 20px;background:var(--forest);box-shadow:var(--shadow);
  position:relative;overflow:hidden;
}
.nextup::after{
  content:"";position:absolute;inset:0;background:linear-gradient(125deg,transparent 55%,rgba(201,169,97,.11));pointer-events:none;
}
.nextup .rel{color:var(--lime);letter-spacing:.18em}
.nextup .t{font-size:29px;font-weight:400}
.nextup .what{font-size:17px;letter-spacing:-.01em}
.nextup.calm{background:var(--surface);border:1px solid var(--line);box-shadow:none}
.nextup.calm::after{display:none}

.tdlist{gap:0;margin-top:18px;border-top:1px solid var(--line)}
.tdrow{
  border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;
  padding:15px 2px;min-height:62px;
}
.tdrow .mk{width:26px;height:26px;flex-basis:26px;border-width:1.5px}
.tdrow .ti{font-size:15px}
.tdrow .go{color:var(--brand);font-size:17px}
.tdclear{border-radius:16px;background:rgba(255,255,255,.28)}

.week{margin-top:24px;padding:19px 17px 16px;border-radius:22px;background:var(--surface)}
.week .eyebrow{color:var(--ink)}
.days{gap:2px}
.day{border-radius:999px;padding:8px 0}
.day[aria-current="date"]{background:var(--brand);color:#181713}
.day[aria-current="date"] .d,.day[aria-current="date"] .n{color:#181713}
.day[aria-current="date"] .dots i{background:#181713}
.day.sel{box-shadow:inset 0 0 0 1px var(--brand)}
.agenda{border-top-color:var(--line)}

/* Home glance tiles become two expressive destinations rather than dashboard boxes. */
#residentHome > .cards{grid-template-columns:1fr;gap:10px;margin-top:13px}
#residentHome > .cards .tile{
  min-height:116px;align-items:flex-start;text-align:left;padding:18px 18px;border-radius:20px;
  position:relative;overflow:hidden;background:var(--surface);
}
#residentHome > .cards .tile .big{font-size:34px;margin-top:11px}
#residentHome > .cards .tile .sub{max-width:70%;font-size:12.5px;line-height:1.45}
#residentHome > .cards .tile[data-card="journey"]{
  min-height:174px;color:#fff;border:0;
  background:linear-gradient(180deg,rgba(15,15,13,.06),rgba(15,15,13,.78)),url("assets/patio.jpg") center/cover no-repeat;
}
#residentHome > .cards .tile[data-card="journey"] .eyebrow{color:#E4C986}
#residentHome > .cards .tile[data-card="journey"] .sub{color:rgba(255,255,255,.82)}
#residentHome > .cards .tile[data-card="fee"]::after{
  content:"HOUSE";position:absolute;right:16px;bottom:14px;font-size:9px;font-weight:700;letter-spacing:.23em;color:var(--faint);
}

.toolbox{border-radius:16px;min-height:58px;justify-content:space-between;padding:0 17px;text-align:left;box-shadow:none}
.quote{padding-top:34px}
.quote .qt{font-family:var(--display);font-style:normal;font-size:21px;line-height:1.35}
.quote .mk{color:var(--brand)}

/* Secondary screens: stronger editorial openings. */
.screenhead{padding:29px 0 18px}
#t-start .screenhead,#t-more .screenhead{border-bottom:1px solid var(--line);margin-bottom:14px}
#t-ask .screenhead{
  margin:0 -20px 18px;padding:32px 22px 29px;border-radius:0 0 28px 28px;
  background:var(--forest);color:var(--on-forest);
}
#t-ask .screenhead p{color:rgba(255,255,255,.70)}
#t-ask .screenhead::before{content:"NEED SOMETHING?";display:block;margin-bottom:10px;font-size:9px;font-weight:700;letter-spacing:.23em;color:var(--lime)}

#t-me .screenhead{
  margin:0 -20px 20px;padding:95px 22px 26px;min-height:245px;position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:flex-end;color:#fff;
  border-radius:0 0 30px 30px;
  background:linear-gradient(180deg,rgba(15,14,12,.08),rgba(15,14,12,.78)),url("assets/patio.jpg") center/cover no-repeat;
}
#t-me .screenhead p{color:rgba(255,255,255,.78)}
#t-me .screenhead::before{content:"YOUR PLACE. YOUR PEOPLE. YOUR PLAN.";font-size:9px;font-weight:700;letter-spacing:.21em;color:#E4C986;margin-bottom:10px}

/* Me tiles: preserve the hooks, change the visual hierarchy. */
#t-me > .cards{grid-template-columns:1fr 1fr;gap:10px}
#t-me > .cards .tile{min-height:142px;border-radius:18px;align-items:flex-start;text-align:left;padding:17px;background:var(--surface)}
#t-me > .cards .tile .eyebrow{font-size:9px}
#t-me > .cards .tile .big{font-size:25px;margin-top:14px}
#t-me > .cards .tile .sub{font-size:11.5px;line-height:1.42}
#t-me > .cards .tile[data-card="house"]{
  grid-column:1/-1;min-height:188px;color:#fff;border:0;
  background:linear-gradient(180deg,rgba(20,19,17,.10),rgba(20,19,17,.82)),url("assets/house.jpg") 82% center/cover no-repeat;
}
#t-me > .cards .tile[data-card="house"] .eyebrow{color:#E4C986}
#t-me > .cards .tile[data-card="house"] .sub{color:rgba(255,255,255,.80)}
#t-me > .cards .tile[data-card="standing"]{background:#20211F;color:white;border:0}
#t-me > .cards .tile[data-card="standing"] .eyebrow{color:#E4C986}
#t-me > .cards .tile[data-card="standing"] .sub{color:rgba(255,255,255,.70)}

/* Start / forms / links — still practical, just cleaner. */
.step{border-radius:18px;padding:16px;background:var(--surface)}
.step .n{border-color:var(--brand);color:var(--brand)}
.link{border-radius:16px;padding:16px;background:var(--surface)}
.link .arw{color:var(--brand)}

/* Bottom sheet: keeps the current interaction model but feels more native. */
#sheet .scrim{background:rgba(18,17,14,.58);backdrop-filter:blur(3px)}
#sheet .panel{border-radius:28px 28px 0 0;background:var(--bg);box-shadow:0 -18px 55px rgba(0,0,0,.18)}
#sheet .grab{background:var(--line2)}
#sheet h2{font-family:var(--display);font-size:30px;font-weight:400;letter-spacing:-.02em}

/* Login: same auth behavior, now reads like the product brand. */
#signin{padding-top:36px}
.brand img{width:min(31vw,118px)}
.brand .wordmark{color:var(--ink);letter-spacing:.22em}
.brand .wordmark:before{content:""}
#code{font-family:var(--display);font-size:34px;letter-spacing:.22em;border-bottom-color:var(--line2)}
#go{border-radius:999px;background:var(--ink);box-shadow:var(--shadow)}

/* Floating navigation, with Ask treated as the signature action. */
#tabbar{
  left:0;right:0;bottom:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,transparent,rgba(247,242,233,.88) 30%,rgba(247,242,233,.98));
  backdrop-filter:blur(10px);border-top:0;
}
:root[data-theme="dark"] #tabbar{background:linear-gradient(180deg,transparent,rgba(23,22,19,.88) 30%,rgba(23,22,19,.98))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) #tabbar{background:linear-gradient(180deg,transparent,rgba(23,22,19,.88) 30%,rgba(23,22,19,.98))}}
#tabbar .in{
  max-width:450px;margin:0 auto;border:1px solid var(--line);border-radius:24px;padding:5px 6px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 12px 36px rgba(25,22,18,.12);
}
#tabbar button{min-height:58px;border-radius:18px;color:var(--muted);font-size:9px;letter-spacing:.03em;gap:3px}
#tabbar button svg{width:20px;height:20px;stroke-width:1.6}
#tabbar button[aria-current="page"]{color:var(--ink);background:var(--lime-soft)}
#tabbar button[data-tab="ask"]{position:relative}
#tabbar button[data-tab="ask"] svg{width:32px;height:32px;padding:7px;border-radius:999px;background:var(--brand);color:#171713;stroke:#171713;margin-top:-16px;box-shadow:0 8px 20px rgba(96,73,24,.20)}
#tabbar button[data-tab="ask"][aria-current="page"]{background:transparent;color:var(--ink)}

/* The ensō stays present, but atmospheric. */
#mark{opacity:.022!important;width:min(80vw,360px)!important;right:-125px!important;top:23vh!important}

/* Dark theme photography remains photography; keep brand art readable. */
:root[data-theme="dark"] .today::after{filter:invert(1)}

@media (max-width:360px){
  .today h1{font-size:38px}
  #t-me > .cards{grid-template-columns:1fr}
  #t-me > .cards .tile[data-card="house"]{grid-column:auto}
}

/* ================================================================
   BUILD 45 — REVISED CONCEPT DECK
   Home / Ask / Me / Journey / Resources
   ================================================================ */

:root{
  --bg:#F7F2E8;
  --surface:#FFFDF8;
  --ink:#202020;
  --muted:#6F6A62;
  --faint:#938B7E;
  --line:#E5D9C8;
  --line2:#D6C6AE;
  --brand:#B88928;
  --brand-ink:#8B661B;
  --lime:#D9B95E;
  --lime-soft:#F1E5C8;
  --display:"DM Serif Display",Georgia,serif;
  --r-xl:28px;
  --r-lg:20px;
  --r-md:14px;
}

body{background:var(--bg)}
.wrap{padding-left:16px;padding-right:16px;max-width:480px;padding-bottom:calc(98px + env(safe-area-inset-bottom))}
.masthead{margin:0 -2px;padding:15px 2px 12px}

/* HOME ----------------------------------------------------------- */
.today{
  margin:0 -16px 16px;
  padding:32px 24px 26px;
  min-height:310px;
  border-radius:0 0 28px 28px;
  justify-content:flex-start;
  background:
    linear-gradient(180deg,rgba(247,242,232,.98) 0%,rgba(247,242,232,.92) 29%,rgba(247,242,232,.10) 56%,rgba(18,17,15,.40) 100%),
    url("assets/mountains.jpg") center 72%/cover no-repeat;
  color:var(--ink);
  box-shadow:none;
}
.today::after{display:none}
.today .dstamp{order:3;margin-top:auto;color:rgba(255,255,255,.86);text-shadow:0 1px 8px rgba(0,0,0,.35);font-size:9px}
.today h1{font-size:40px;line-height:.98;margin:3px 0 0;color:var(--ink);text-shadow:none;max-width:300px}
.today .chipline{margin-top:12px}
.today .chip{background:rgba(255,255,255,.72);color:var(--ink);border-color:rgba(255,255,255,.75);backdrop-filter:blur(12px)}

#nextUp{margin-top:-2px}
.nextup{border-radius:18px;padding:18px 18px}
.nextup .t{font-size:25px}
.nextup .what{font-size:16px}
#todayList{margin-top:2px}
.tdlist{margin-top:12px}
.tdrow{padding:13px 4px;min-height:58px}

.week{margin-top:18px;border-radius:20px;padding:17px 15px;background:rgba(255,253,248,.90)}
.week .sechead{align-items:center}
.week .eyebrow{font-family:var(--display);font-size:18px;letter-spacing:-.02em;text-transform:none;font-weight:400;color:var(--ink)}
.week .secsub{font-size:11px}

.home-chores{padding:20px 2px 6px}
.home-chores .sechead{display:flex;justify-content:space-between;align-items:center;margin:0 8px 6px}
.home-section-title{font-family:var(--display);font-size:20px;line-height:1.1;color:var(--ink)}
#homeChoresCount{font-size:11px;color:var(--muted)}
.home-chore-list{border-top:1px solid var(--line)}
.home-chore-row{
  width:100%;appearance:none;border:0;border-bottom:1px solid var(--line);background:transparent;
  min-height:58px;padding:11px 6px;display:flex;align-items:center;gap:12px;text-align:left;
  color:var(--ink);font:inherit;cursor:pointer;
}
.home-chore-mark{width:21px;height:21px;border:1.5px solid #8B8B86;border-radius:50%;display:grid;place-items:center;font-size:11px;flex:0 0 21px}
.home-chore-row.done .home-chore-mark{border-color:var(--brand);background:var(--brand);color:white}
.home-chore-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.home-chore-copy b{font-size:13.5px;font-weight:500}
.home-chore-copy small{font-size:10.5px;color:var(--faint);line-height:1.3}
.home-chore-arrow{color:var(--brand);font-size:20px}
.home-chore-empty{padding:16px 6px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.home-senior-card{grid-template-columns:1fr!important;margin-top:12px!important}

/* ME ------------------------------------------------------------- */
#t-me .screenhead.me-hero{
  margin:0 -16px 22px;
  padding:162px 20px 20px;
  min-height:270px;
  border-radius:0 0 27px 27px;
  background:
    linear-gradient(180deg,rgba(20,18,14,.04),rgba(20,18,14,.16) 45%,rgba(20,18,14,.78) 100%),
    url("assets/patio.jpg") center/cover no-repeat;
  color:#fff;
}
#t-me .screenhead.me-hero::before{display:none}
#t-me .me-hero .eyebrow{color:#F2D98A;margin-bottom:6px}
#t-me .me-hero h1{font-size:36px;color:#fff}
#t-me .me-hero p{margin:4px 0 0;color:rgba(255,255,255,.82);font-size:10px;letter-spacing:.22em;text-transform:uppercase;font-weight:600}

.me-primary{display:flex;flex-direction:column;gap:8px}
.me-row{
  width:100%;min-height:72px;appearance:none;border:1px solid var(--line);background:rgba(255,253,248,.92);
  border-radius:15px;padding:11px 13px;display:flex;align-items:center;gap:12px;text-align:left;
  color:var(--ink);font-family:var(--body);text-decoration:none;cursor:pointer;box-shadow:none;
}
.me-row:active{filter:brightness(.97)}
.me-icon{width:38px;height:38px;border-radius:50%;background:#F1E2C1;color:#27251F;display:grid;place-items:center;flex:0 0 38px;font-weight:700;font-size:18px}
.me-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.me-copy b{font-family:var(--display);font-weight:400;font-size:17px;line-height:1.05}
.me-copy small{font-size:10.5px;line-height:1.35;color:var(--muted)}
.me-arrow{font-size:20px;color:var(--brand);margin-left:auto}
.me-value{font-size:12px;color:var(--muted);max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fee-row .me-value{font-family:var(--display);font-size:22px;color:var(--ink)}
.me-row-static{font-size:12px;color:var(--muted)}
.me-more-head{margin:22px 4px 8px}
#t-me > #wkBtn.me-row{display:flex}
#t-me > #wkBtn.hide{display:none}

#t-me > .cards.me-support-grid{grid-template-columns:1fr 1fr;gap:8px}
#t-me > .cards.me-support-grid .tile{min-height:125px;border-radius:16px;padding:15px;background:rgba(255,253,248,.92)}
#t-me > .cards.me-support-grid .tile .big{font-size:23px;margin-top:12px}
#t-me > .cards.me-support-grid .tile .sub{font-size:10.5px}
#t-me > .cards.me-support-grid .me-house{
  grid-column:1/-1;min-height:170px;color:white;border:0;
  background:linear-gradient(180deg,rgba(18,17,14,.10),rgba(18,17,14,.78)),url("assets/house.jpg") center/cover no-repeat;
}
#t-me > .cards.me-support-grid .me-house .eyebrow{color:#E7CA75}
#t-me > .cards.me-support-grid .me-house .sub{color:rgba(255,255,255,.80)}

/* JOURNEY -------------------------------------------------------- */
#t-journey{padding-bottom:14px}
.journey-hero{
  margin:0 -16px 0;padding:30px 20px 188px;min-height:310px;border-radius:0 0 0 0;
  background:
    linear-gradient(180deg,rgba(247,242,232,.96),rgba(247,242,232,.72) 32%,rgba(247,242,232,.04) 62%,rgba(20,18,14,.38)),
    url("assets/mountains.jpg") center/cover no-repeat;
}
.journey-hero .eyebrow{margin-bottom:7px}
.journey-hero h1{font-size:39px;line-height:.98;color:var(--ink)}
.journey-hero p{margin:8px 0 0;font-size:9px;letter-spacing:.23em;text-transform:uppercase;color:var(--ink);font-weight:700}
.journey-summary{
  position:relative;margin:-54px 8px 16px;padding:15px 16px;border-radius:17px;
  background:rgba(255,253,248,.92);backdrop-filter:blur(12px);border:1px solid rgba(231,222,207,.9);
  display:flex;align-items:flex-end;justify-content:space-between;gap:10px;box-shadow:0 12px 30px rgba(30,28,24,.08);
}
.journey-summary strong{display:block;margin-top:5px;font-family:var(--display);font-weight:400;font-size:21px;line-height:1.05}
.journey-day{font-size:11px;color:var(--muted);text-align:right}
#journeyBox{padding:0 6px}
#journeyBox .jday{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:17px}
#journeyBox .trail{margin-top:9px}
#journeyBox .note,#journeyBox .card{background:rgba(255,253,248,.90)}

/* ASK ------------------------------------------------------------ */
#t-ask{padding-top:12px}
#t-ask .screenhead{
  margin:0 4px 10px;padding:22px 16px 16px;border-radius:22px 22px 0 0;
  min-height:0;background:transparent;color:var(--ink);border:1px solid var(--line);border-bottom:0;
}
#t-ask .screenhead::before{color:var(--brand-ink);margin-bottom:7px}
#t-ask .screenhead h1{font-size:31px}
#t-ask .screenhead p{color:var(--muted);font-size:12px;line-height:1.45}
#t-ask #askBox{
  margin:0 4px;padding:0 12px 22px;background:rgba(255,253,248,.74);
  border:1px solid var(--line);border-top:0;border-radius:0 0 22px 22px;min-height:58vh;
}
#t-ask #askBox .card,#t-ask #askBox .note{margin-left:0;margin-right:0}
#t-ask input,#t-ask select,#t-ask textarea{background:rgba(255,253,248,.92);border-color:#DDCFB9;border-radius:12px}
#t-ask textarea{min-height:112px}
#t-ask .btn{width:auto;min-width:96px;border-radius:13px}

/* RESOURCES ------------------------------------------------------ */
.resources-head{padding:31px 6px 18px;border-bottom:0!important;margin-bottom:0!important}
.resources-head h1{font-size:37px}
.resources-head p{font-size:9px;letter-spacing:.24em;text-transform:uppercase;color:var(--ink);font-weight:700}
.resource-block{padding:0 2px}
.resource-block .sechead{margin:4px 4px 8px}
#t-resources #linkBox{display:flex;flex-direction:column;gap:8px}
#t-resources #linkBox .link{margin:0;border-radius:15px;min-height:68px;background:rgba(255,253,248,.92);padding:13px 14px}
#t-resources #linkBox .link .ti{font-family:var(--display);font-size:16px;font-weight:400}
#t-resources #linkBox .link .bl{font-size:10.5px}
.resource-actions{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding:0 2px}
.resource-row{
  width:100%;min-height:70px;appearance:none;border:1px solid var(--line);background:rgba(255,253,248,.92);
  border-radius:15px;padding:11px 13px;display:flex;align-items:center;gap:12px;text-align:left;color:var(--ink);font:inherit;cursor:pointer;
}
.resource-row > span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.resource-row b{font-family:var(--display);font-size:16px;font-weight:400}
.resource-row small{font-size:10.5px;color:var(--muted);line-height:1.35}
.resource-row i{font-style:normal;color:var(--brand);font-size:20px}
.resource-icon{width:38px;height:38px;border-radius:50%;background:#F1E4C7;display:grid;place-items:center;font-size:18px;flex:0 0 38px}
.resource-account{margin:28px 2px 0;padding:18px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:12px}
.resource-account .eyebrow{align-self:flex-start}
.resource-signout{appearance:none;border:0;background:none;color:var(--faint);text-decoration:underline;font:inherit;font-size:11px;padding:8px;cursor:pointer}
.resource-lockup{margin-top:18px}

/* GETTING STARTED ------------------------------------------------ */
body.at-start{background:#1C1A16}
body.at-start .masthead,body.at-start #mark{display:none!important}
#tabbar.start-hidden{display:none!important}
#t-start.start-experience{
  margin:0 -16px;min-height:100dvh;padding:20px 18px 38px;position:relative;overflow:hidden;color:#111;
  background:
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.16)),
    url("assets/mountains.jpg") center/cover fixed no-repeat;
}
.start-back{
  width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.22);backdrop-filter:blur(12px);
  color:white;font-size:25px;line-height:1;display:grid;place-items:center;cursor:pointer;margin-bottom:30vh;
}
.start-intro{
  background:rgba(255,255,255,.78);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.45);
  border-radius:22px;padding:22px 19px;margin-bottom:10px;color:#111;box-shadow:0 18px 44px rgba(0,0,0,.16)
}
.start-intro .eyebrow{color:#735715}
.start-intro h1{font-size:38px;line-height:.98;margin:7px 0 12px;color:#111}
.start-intro p{font-size:13px;line-height:1.5;color:#27241F;margin:0}
#t-start #startBox{color:#111}
#t-start #startBox .meter,#t-start #startBox .step,#t-start #startBox .card,#t-start #startBox .empty{
  background:rgba(255,255,255,.78)!important;backdrop-filter:blur(16px);border-color:rgba(255,255,255,.45)!important;color:#111!important;box-shadow:none
}
#t-start #startBox .meter{border-radius:20px}
#t-start #startBox .step{border-radius:18px}
#t-start #startBox .step .ti,#t-start #startBox .step .bl,#t-start #startBox .step .when,#t-start #startBox .meter .say,#t-start #startBox .meter .fr{color:#111!important}
#t-start #startBox .step .bl,#t-start #startBox .step .when{opacity:.72}
#t-start #startBox .step .n{border-color:#A47B22;color:#7A5916}
#t-start #startBox .lk{color:#111;text-decoration:underline}

/* SHEETS / POPUPS ------------------------------------------------ */
#sheet .panel{
  min-height:70dvh;
  max-height:90dvh;
  border-radius:28px 28px 0 0;
  padding:9px 22px calc(30px + env(safe-area-inset-bottom));
}
#sheet .sheethead{padding-left:2px;padding-right:2px}
#sheet h2{text-align:left;font-size:31px;padding-left:0}
#sheet .grab{margin-bottom:18px}
#sheet .btn.ghost{margin-top:22px}

/* NAV ------------------------------------------------------------ */
#tabbar{padding-left:8px;padding-right:8px}
#tabbar .in{padding:4px 5px;border-radius:22px;box-shadow:0 12px 30px rgba(38,32,24,.10)}
#tabbar button{min-height:59px;border-radius:16px;gap:4px}
#tabbar button svg{width:19px;height:19px;padding:0;background:none!important;box-shadow:none!important;margin:0!important;color:currentColor!important;stroke:currentColor!important}
#tabbar button[data-tab="ask"] svg{width:19px;height:19px;padding:0;border-radius:0;background:none;color:currentColor;stroke:currentColor;margin:0;box-shadow:none}
#tabbar button[aria-current="page"]{background:#F0E2C1;color:#24221D}
#tabbar button[aria-current="page"] svg{stroke:#8A6417!important}
#tabbar button[data-tab="me"]{order:3}

/* Director mode: Home and Resources remain available. */
body.director #tabbar .in{justify-content:center}
body.director #tabbar button[data-tab="resources"]{display:flex}

@media (max-width:360px){
  .today h1{font-size:36px}
  #t-me > .cards.me-support-grid{grid-template-columns:1fr}
  #t-me > .cards.me-support-grid .me-house{grid-column:auto}
  .journey-hero h1{font-size:35px}
}
