/* The new home page. One calm column: what you're aiming for, where you left
   off, what to do next, and a footnote. Everything else lives in Hazel's own
   page, which is where the conversation list already is. */
:root{
  --bg:#eef0ec; --panel:#fff; --ink:#15201a; --ink-soft:#46524a; --muted:#5c6b61;
  --line:#dde3dd; --green:#126433; --green-deep:#0c4423; --pink:#EC0C8D;
  --pink-ink:#A8066B; --pink-btn:#C00A77;
  --font:"Fraunces",Georgia,serif; --ui:"Inter",-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"IBM Plex Mono",monospace;
}
*{box-sizing:border-box}
/* A `display` rule on a class beats the hidden attribute's UA display:none, so
   anything flex or grid stays on screen while the code believes it is gone. It
   has already shipped once that way — the voice level meter sat under the
   composer on every page load — and this page hides a dozen things, including
   the sign-in card itself. One rule, once. */
[hidden]{display:none !important}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--ui);
  -webkit-font-smoothing:antialiased}
a{color:var(--green)}
a:hover{color:var(--green-deep)}
.wrap{max-width:880px;margin:0 auto;padding:0 48px}


.bar{display:flex;align-items:center;justify-content:space-between;
  padding:16px 48px;background:var(--panel)}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.brand__mark{display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:23px;background:var(--green)}
.brand__text b{display:block;font-family:var(--font);font-size:25px;font-weight:600;line-height:1.1}
.brand__text i{display:block;font-style:normal;font-size:13.5px;color:var(--muted);margin-top:2px}
.who{display:flex;align-items:center;gap:18px;font-size:14.5px;color:var(--muted)}
.who__chip{display:inline-flex;align-items:center;gap:10px;border:1.5px solid var(--line);
  border-radius:24px;padding:6px 16px 6px 6px;color:var(--ink);font-weight:500}
.who__initial{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;
  border-radius:15px;background:#fbe4f0;color:var(--pink-ink);font-size:14px;font-weight:700}

.lanes{display:flex;height:5px}
.lanes span{flex:1 1 0}

.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted)}

.course-line{background:var(--green);color:#fff}
.course-line .wrap{display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding-top:11px;padding-bottom:11px;font-size:15.5px}
.course-line a{color:#fff;font-weight:600;font-size:14.5px;white-space:nowrap}

.goal-band{background:var(--panel);border-bottom:1px solid #e2e7e2}
.goal-band .wrap{display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding-top:14px;padding-bottom:14px}
.goal-band__inner{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.goal-band__q{font-size:17px;font-weight:600}
.goal-band a{font-size:14.5px;font-weight:600;white-space:nowrap}
/* Nothing told yet: same band, an invitation instead of an answer. */
.goal-band--empty{background:#fdf1f8;border-bottom-color:#f4d4e6}
.goal-band--empty .eyebrow{color:var(--pink-ink)}
.goal-band--empty .goal-band__q{font-weight:400;color:var(--ink-soft)}
.goal-band--empty a{color:var(--pink-ink)}

.hello{display:flex;align-items:flex-end;justify-content:space-between;
  gap:36px;padding:44px 0 30px}
.hello h1{margin:0;font-family:var(--font);font-size:46px;line-height:1.08;font-weight:600}

.btn{display:inline-flex;align-items:center;gap:9px;text-decoration:none;
  font-size:15.5px;font-weight:600;white-space:nowrap}
.btn--pill{background:var(--panel);color:var(--ink);border:1.5px solid var(--line);
  border-radius:26px;padding:12px 20px}
.btn--pill:hover{border-color:var(--green);color:var(--ink)}
.btn--green{background:var(--green);color:#fff;border-radius:26px;padding:13px 24px}
.btn--green:hover{background:var(--green-deep);color:#fff}

.card{background:var(--panel);border-radius:18px;overflow:hidden}
.resume__body{padding:26px 30px 24px}
.resume h2{margin:0 0 18px;font-family:var(--font);font-size:30px;font-weight:600;
  line-height:1.15;overflow-wrap:anywhere}
.resume .eyebrow{display:block;margin-bottom:13px}
.resume__quote{display:flex;gap:14px;align-items:flex-start}
.resume__avatar{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:16px;background:var(--green);margin-top:2px}
.resume__quote p{margin:0;background:#f3f5f2;border-radius:14px;padding:18px 20px;
  font-size:17px;line-height:1.6;color:#27332b}
.resume__go{display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:var(--green);color:#fff;text-decoration:none;padding:20px 30px;
  font-size:17.5px;font-weight:600}
.resume__go:hover{background:var(--green-deep);color:#fff}

.empty{padding:34px 30px;text-align:center}
.empty p{margin:0 0 20px;font-size:17px;line-height:1.55;color:var(--ink-soft)}

/* Deliberately unfinished-looking: this is a placeholder, and should read as one. */
.notbuilt{margin-top:20px;border:1.5px dashed #c9d3cb;border-radius:18px;padding:22px 28px}
.notbuilt p{margin:9px 0 0;font-size:15.5px;line-height:1.6;color:var(--muted)}

.foot{margin-top:40px;padding-top:26px;border-top:1px solid var(--line);padding-bottom:56px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 28px}
.chips a{background:var(--panel);border-radius:20px;padding:10px 18px;
  text-decoration:none;color:var(--ink-soft);font-size:15.5px}
.chips a:hover{color:var(--ink)}

@media (max-width:720px){
  .wrap{padding:0 20px}
  .bar{padding:14px 20px}
  .hello{display:block}
  .hello h1{font-size:34px;margin-bottom:18px}
  .resume h2{font-size:24px}
  .resume__go{padding:18px 22px;font-size:16px}
  .resume__body{padding:22px}
  .brand__text b{font-size:21px}
}

/* At phone width the header has three things competing for 375px and all of
   them wrapped. The brand is the one that can lose its second line, and the
   name chip can fall back to just the initial. "Sign out" never wraps. */
@media (max-width:520px){
  .bar{padding:12px 20px;gap:12px}
  .brand__text b{font-size:19px}
  .brand__text i{display:none}
  .who{gap:12px}
  .who a{white-space:nowrap;font-size:14px}
  .who__chip{padding:5px;border:none}
  .who__chip span:last-child{display:none}
  .goal-band .wrap{display:block}
  .goal-band .wrap a{display:inline-block;margin-top:6px}
}

/* ── The next step ───────────────────────────────────────────────────────────
   The one thing Hazel asked them to go and do. Pink, because it is the only
   place on this page that is asking something OF them rather than offering
   something to them. */
.next{display:flex;gap:16px;align-items:flex-start;margin-top:20px;padding:24px 28px 26px}
.next__icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:12px;background:#fbe4f0}
.next__body{flex:1 1 auto;min-width:0}
.next__label{color:var(--pink-ink);display:block;margin-bottom:9px}
.next h2{margin:0 0 18px;font-family:var(--font);font-size:23px;font-weight:600;line-height:1.25}
.next__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.btn--pink{background:var(--pink-btn);color:#fff;border-radius:26px;padding:12px 22px}
.btn--pink:hover{background:#9c0560;color:#fff}
.btn--plain{background:#fff;color:var(--ink);border:1.5px solid var(--line);
  border-radius:26px;padding:12px 22px}
.btn--plain:hover{border-color:var(--ink-soft);color:var(--ink)}
.btn--bare{background:none;border:none;font:inherit;font-size:15.5px;font-weight:500;
  color:var(--ink-soft);cursor:pointer;padding:12px 6px}
.btn--bare:hover{color:var(--ink)}
@media (max-width:620px){
  .next{padding:22px}
  .next__actions .btn--pink,.next__actions .btn--plain{flex:1 1 auto;text-align:center}
}

/* ── What they bought ────────────────────────────────────────────────────────
   Hazel is the same whatever somebody owns, so everything above this is fixed
   and this is the only part that changes with the purchase. Tabs only when
   there is more than one; one product does not need navigation. */
#spaces{margin-top:44px}
.spaces__tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1.5px solid var(--line);margin-bottom:26px}
.spaces__tabs button{font:inherit;font-size:16px;font-weight:600;padding:14px 18px;
  border:none;background:none;cursor:pointer;color:var(--muted);
  border-bottom:3px solid transparent;margin-bottom:-1.5px}
.spaces__tabs button:hover{color:var(--ink)}
.spaces__tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--ink)}
.space h2{margin:0 0 6px;font-family:var(--font);font-size:27px;font-weight:600}
.space__blurb{margin:0 0 20px;font-size:16.5px;line-height:1.6;color:var(--ink-soft)}
.space__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tool{display:flex;flex-direction:column;background:var(--panel);border-radius:18px;
  padding:24px 26px 26px;text-decoration:none;color:inherit}
.tool .eyebrow{display:block;margin-bottom:10px}
.tool h3{margin:0 0 9px;font-family:var(--font);font-size:21px;font-weight:600;line-height:1.25}
.tool p{margin:0 0 20px;font-size:15.5px;line-height:1.6;color:var(--ink-soft)}
.tool__go{margin-top:auto;align-self:flex-start;font-size:15.5px;font-weight:600;color:var(--green)}
.tool--locked{opacity:.62}
.space__sub{margin:30px 0 16px;font-family:var(--font);font-size:20px;font-weight:600}
@media (max-width:720px){ .space__cards{grid-template-columns:1fr} }

/* ── Sign in ─────────────────────────────────────────────────────────────────
   One card, centred, nothing else on the page. Name and email, no password —
   these are genealogy hobbyists and a password is one more thing to lose. */
.signin{display:flex;align-items:flex-start;justify-content:center;
  min-height:100vh;padding:min(12vh,110px) 20px 40px;background:var(--bg)}
.signin-card{width:100%;max-width:440px;background:var(--panel);border-radius:20px;
  padding:38px 36px 34px}
.signin-card__mark{display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:26px;background:var(--green);margin-bottom:20px}
.signin-card h1{margin:8px 0 10px;font-family:var(--font);font-size:33px;
  line-height:1.15;font-weight:600}
.signin-card__lead{margin:0 0 24px;font-size:16.5px;line-height:1.55;color:var(--ink-soft)}
.signin-card label{display:block;font-size:14.5px;font-weight:600;margin:0 0 7px}
.signin-card input{display:block;width:100%;box-sizing:border-box;font:inherit;
  font-size:16.5px;padding:13px 14px;border:1.5px solid var(--line);border-radius:12px;
  background:#fff;color:var(--ink);margin-bottom:18px}
.signin-card input:focus{outline:none;border-color:var(--green)}
.signin-card__go{width:100%;justify-content:center;border:none;font:inherit;
  font-size:17px;font-weight:600;cursor:pointer;padding:15px}
.signin-err{margin:0;font-size:15.5px;line-height:1.55;color:#b5005a}
.signin-err:empty{display:none}
.signin-err--lapsed{color:var(--ink)}
.signin-err__cta{display:block;margin-top:16px;text-align:center;text-decoration:none;
  background:var(--green);color:#fff;border-radius:26px;padding:13px 22px;font-weight:600}
.signin-err__cta:hover{background:var(--green-deep);color:#fff}


/* ── The Skills Workshop's own cards ─────────────────────────────────────────
   Lifted from the dashboard they already live on rather than approximated, so a
   student who has used these for a year recognises them — the badge, the
   coloured top, the gel-lane texture on the practice modules. Every selector is
   scoped to #spacePanel because this page has its own, different `.card`. */
#spacePanel .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
#spacePanel{--radius:16px;--border:#d8d3c4;--font-display:var(--font);
  --pink:#EC0C8D;--orange:#FF4C00;--lime:#D7DE23;--green:#126433;--ink:#1f2a24}
#spacePanel .card{ background:#fff; border-radius:var(--radius); border:1px solid var(--border); display:flex; flex-direction:column; text-decoration:none; color:var(--ink); position:relative; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
#spacePanel .card:hover{ transform:translateY(-5px); border-color:transparent; box-shadow:0 14px 28px -12px rgb(0 0 0 / .18); }
#spacePanel .card:focus-visible{ outline:3px solid var(--accent, var(--ink)); outline-offset:2px; }
#spacePanel .card__top{ height:84px; border-radius:var(--radius) var(--radius) 0 0; background:var(--accent); }
#spacePanel .badge{ position:absolute; left:22px; top:44px; width:80px; height:80px; border-radius:50%; background:var(--accent); display:flex; align-items:center; justify-content:center; border:4px solid #fff; box-shadow:0 2px 6px rgb(0 0 0 / .12); z-index:2; overflow:hidden; }
#spacePanel .badge img{ width:100%; height:100%; object-fit:cover; object-position:center; }
#spacePanel .badge--bkm img, #spacePanel .badge--network img{ object-fit:contain; }
#spacePanel .card__body{ padding:52px 22px 24px; flex:1; display:flex; flex-direction:column; }
#spacePanel .card__body .eyebrow{ color:var(--accent); margin-bottom:8px; }
#spacePanel .card__body h3{ font-family:var(--font-display); font-weight:600; font-size:21px; margin:0 0 10px; }
#spacePanel .card__body p{ font-size:14px; line-height:1.55; color:#57564d; margin:0 0 22px; flex:1; }
#spacePanel .open-link{ font-size:13.5px; font-weight:600; color:var(--accent); display:inline-flex; align-items:center; gap:6px; }
#spacePanel .open-link svg{ width:14px; height:14px; transition:transform .2s ease; }
#spacePanel .card:hover .open-link svg{ transform:translateX(4px); }
#spacePanel .card--bkm{ --accent:#34a6de; }
#spacePanel .card--network{ --accent:var(--orange); }
#spacePanel .card--unit1{ --accent:var(--pink); }
#spacePanel .card--unit2{ --accent:var(--orange); }
#spacePanel .card--unit3{ --accent:var(--lime); }
#spacePanel .card--unit4{ --accent:var(--green); }
#spacePanel .card--session .card__top{
  background:var(--accent); overflow:hidden; position:relative;
}
#spacePanel .card__lanes{
  position:absolute; inset:0; width:100%; height:100%;
  color:#fff; opacity:.34; display:block;
}
#spacePanel .card--session .badge--unit{
  background:var(--accent); color:#fff;
  font-family:var(--font-display); font-size:32px; font-weight:600; line-height:1;
}
#spacePanel .card--unit3 .badge--unit{ color:var(--ink); }
#spacePanel .card--session .card__body h3{ font-size:21px; }
#spacePanel .card--locked{ cursor:default; }
#spacePanel .card--locked .card__top{ filter:grayscale(.3); opacity:.7; }
#spacePanel .card--locked .badge--unit{ filter:grayscale(.25); opacity:.8; }
#spacePanel .card--locked .card__body h3{ opacity:.75; }
#spacePanel .card--unit3 .card__body .eyebrow, #spacePanel .card--unit3 .open-link{ color:#8a8f11; }
@media (max-width:720px){ #spacePanel .grid{grid-template-columns:1fr} }

.hello__until{margin:10px 0 0;font-size:16px;line-height:1.5;color:var(--ink-soft)}

/* ── The account menu ────────────────────────────────────────────────────────
   The name in the corner looked like a button and did nothing. It is one now:
   which address they are signed in under, a way to change it, and the way out. */
.who{position:relative}
.who__chip{cursor:pointer}
.who__chip:hover{border-color:var(--ink-soft)}
.who__menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;min-width:252px;
  background:var(--panel);border:1.5px solid var(--line);border-radius:14px;
  padding:8px;box-shadow:0 14px 34px -14px rgb(0 0 0 / .26)}
.who__email{margin:0;padding:10px 12px 12px;font-size:14px;color:var(--muted);
  border-bottom:1px solid var(--line);word-break:break-all}
.who__menu button,.who__menu a{display:block;width:100%;text-align:left;font:inherit;
  font-size:15.5px;padding:11px 12px;border:none;background:none;border-radius:9px;
  color:var(--ink);text-decoration:none;cursor:pointer}
.who__menu button:hover,.who__menu a:hover{background:#f3f5f2;color:var(--ink)}
/* The sprint's card: back in where they left off, or to the sprint's home. */
.sprint-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.btn--quiet{background:#fff;color:var(--green);border:1.5px solid #c9dccf;border-radius:26px;padding:12px 22px}
.btn--quiet:hover{border-color:var(--green);color:var(--green-deep)}
.space__more{margin:14px 0 0;font-size:15px;color:var(--ink-soft)}


/* Home | Research Log, under the bar */
.toptabs{display:flex;gap:4px;padding:0 48px;background:var(--panel);border-top:1px solid var(--line)}
.toptab{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;font-weight:600;font-size:16px;
  color:var(--ink-soft);text-decoration:none;border-bottom:3px solid transparent}
.toptab:hover{color:var(--ink)}
.toptab[aria-current="page"]{color:var(--ink);border-bottom-color:var(--green)}
.toptab__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;
  border-radius:11px;background:var(--green);color:#fff;font-size:12.5px;font-weight:700}
.log-note{margin:24px 0 0;padding:18px 22px;border-radius:16px;background:#fff8d6;border:1.5px solid #e9d36a}
.log-note p{margin:0 0 12px;font-size:17px;line-height:1.5}
.log-note__go{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
@media (max-width:720px){.toptabs{padding:0 12px}}


/* ── The Dive and the starters (17 Nov 2026) ─────────────────────────────────
   The pieces under the greeting are moved into the server's order, so each one
   carries its own gap instead of relying on which card happens to come first. */
.hello{padding-bottom:10px}
.piece{margin-top:20px}
.piece-err{margin:16px 0 0;font-size:16px;line-height:1.5;color:#b5005a}

/* Where you left off, as one row: still one click back in, but it no longer
   leads the page. */
.resume--row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.resume--row .resume__body{padding:18px 24px;min-width:0}
.resume--row .eyebrow{margin-bottom:5px}
.resume--row h2{margin:0;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resume--row .resume__quote{display:none}
.resume--row .resume__go{flex:0 0 auto;align-self:stretch;padding:0 24px;font-size:15.5px;gap:12px}

.dq,.dive{padding:26px 30px 28px}
.dq .eyebrow,.dive .eyebrow{display:block;margin-bottom:12px}
.dq h2,.dive h2{margin:0 0 18px;font-family:var(--font);font-size:28px;font-weight:600;line-height:1.18}
.dq blockquote{margin:0 0 18px;padding:16px 20px;border-left:4px solid var(--green);background:#f3f5f2;
  border-radius:0 14px 14px 0;font-size:18px;line-height:1.6;color:#27332b;
  white-space:pre-wrap;overflow-wrap:anywhere}
.dq__full{margin:-6px 0 18px}
.dq__full summary{display:inline-block;padding:8px 0;font-size:16px;font-weight:600;color:var(--green);
  text-decoration:underline;cursor:pointer}
.dq__full blockquote{margin:8px 0 0;border-left-color:#c9d2cb;font-size:16.5px}
.dq__ask{margin:0 0 18px;font-size:17px;color:var(--ink-soft)}
.dq button,.dive > button,.starter button,.starters__row button,.dive__says button,.dive__cases button{
  font:inherit;cursor:pointer;border:none}
.dq button,.dive > button{font-size:16.5px;font-weight:600}
button:disabled{opacity:.6;cursor:default}

.dive__cases{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.dive__cases button{text-align:left;background:#fff;color:var(--ink);border:1.5px solid #c9dccf;
  border-radius:14px;padding:13px 18px;font-size:16px;font-weight:600;line-height:1.4;white-space:normal}
.dive__cases button:hover{border-color:var(--green)}
.dive__helper{margin:22px 0 12px;font-size:16px;color:var(--ink-soft)}
.dive__says{display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin-bottom:22px}
.dive__says button{text-align:left;background:#f3f5f2;color:#27332b;border-radius:20px;
  padding:11px 18px;font-size:16px;line-height:1.4}
.dive__says button:hover{background:#e6ebe6}
.dive__note{margin:0 0 22px;padding:14px 18px;border-radius:12px;background:#fff8d6;
  font-size:15.5px;line-height:1.55;color:#4a4220}

.starters{margin-top:36px}
.starters__h{margin:0 0 18px;font-family:var(--font);font-size:26px;font-weight:600;line-height:1.2}
.starters__label{display:block;margin-bottom:12px}
.starters__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.starter{display:flex;flex-direction:column;background:var(--panel);border-radius:18px;padding:24px 24px 26px}
.starter h3{margin:0 0 10px;font-family:var(--font);font-size:21px;font-weight:600;line-height:1.25}
.starter p{margin:0 0 20px;font-size:15.5px;line-height:1.6;color:var(--ink-soft);flex:1}
.starter button{align-self:flex-start;background:var(--green);color:#fff;border-radius:26px;
  padding:12px 26px;font-size:15.5px;font-weight:600}
.starter button:hover{background:var(--green-deep)}
.starters__row{display:flex;flex-wrap:wrap;gap:10px}
.starters__row button{background:var(--panel);color:var(--ink);border:1.5px solid var(--line);
  border-radius:26px;padding:12px 20px;font-size:15.5px;font-weight:600}
.starters__row button:hover{border-color:var(--green)}
@media (max-width:820px){ .starters__grid{grid-template-columns:1fr} }
@media (max-width:620px){
  .dq,.dive{padding:22px}
  .dq h2,.dive h2{font-size:24px}
  .resume--row{display:block}
  .resume--row h2{white-space:normal}
  .resume--row .resume__go{padding:14px 22px}
  .starters__row button{flex:1 1 100%;text-align:left}
}
