/* Align Days — shared stylesheet */

:root{
  --ink: #1A1D24;
  --ink-deep: #101216;
  --paper: #EFEDE6;
  --paper-dim: #E2DFD4;
  --brass: #C98A3E;
  --on-brass: #101216;   /* text on a gold fill: dark in the dark theme, white in the light theme (the original look, now one rule) */
  --jade: #5C9080;
  --clay: #8C83B3;   /* the "caution / not suited" accent: a soft violet. No red anywhere (Sheryl, 2026-11-22). */
  --line: color-mix(in srgb, var(--paper) 12%, transparent);
  --muted: color-mix(in srgb, var(--paper) 65%, transparent);
  --muted-soft: color-mix(in srgb, var(--paper) 45%, transparent);

  /* The finder card is a fixed paper ticket, not a page surface - it stays
     this same cream-on-ink pairing in both themes, so it isn't part of the
     --ink/--paper swap below. */
  --card-bg: #EFEDE6;
  --card-fg: #101216;

  /* The gutter stops growing once the viewport is wide; beyond that the extra
     space goes into centring the content instead, so a large screen does not
     leave everything huddled against the left edge. Sections keep their
     backgrounds full-bleed because the centring is done with padding, not a
     wrapper. */
  --gutter: clamp(20px, 5vw, 72px);
  --pad-x: max(var(--gutter), calc((100% - 1400px) / 2));
}

/* Light mode — everything else (--line, --muted, --muted-soft, and every
   color-mix() built on --paper throughout this file) recalculates from
   these two, since custom properties resolve through the cascade rather
   than at definition time. --ink-deep, --card-bg/--card-fg and the brass/
   jade/clay accents are deliberately left out: they're fixed brand marks,
   not page surfaces, in both themes. Dark stays the default look for
   anyone who hasn't chosen — set via the toggle in site.js, kept in
   localStorage as "powerdays.theme". */
:root[data-theme="light"]{
  --on-brass: #FFFFFF;
  --ink: #F8F7F4;
  --paper: #1A1D24;
  /* Dark text needs more weight than light text at the same percentage, so the
     two greys are stronger here than in dark mode (Sheryl, 2026-11-15: the
     footer and small notes were barely readable). */
  --muted: color-mix(in srgb, var(--paper) 90%, transparent);
  --muted-soft: color-mix(in srgb, var(--paper) 80%, transparent);   /* darker grey, still not black (Sheryl, 2026-11-27) */
}

/* Placeholders and inactive pills read too washed-out in light mode at
   --muted/--muted-soft's usual opacity - dark text needs more weight than
   light text does at the "same" percentage to look equally readable, and
   these are interactive form controls, not fine print, so legibility
   matters more here. Scoped to light mode and these two cases specifically,
   rather than darkening --muted/--muted-soft globally and affecting every
   secondary label and footnote on the site that reads fine as-is. */
:root[data-theme="light"] .chart-add .field input::placeholder,
:root[data-theme="light"] .contact-field input::placeholder,
:root[data-theme="light"] .contact-field textarea::placeholder,
:root[data-theme="light"] .privacy-note::placeholder{
  color: color-mix(in srgb, var(--paper) 75%, transparent);
}
:root[data-theme="light"] .topic-pill,
:root[data-theme="light"] .career-pill{
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
/* Field labels ("Bride — date of birth") at --muted-soft's 45% read as a
   thin, low-contrast blue-gray in light mode - nearly black instead, the
   same weight body text gets in a typical light-mode reading UI. */
:root[data-theme="light"] .chart-add .field label{
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}
/* Same problem, the calendar grid: the Officer/Constellation "en" labels
   and the day-pillar line are all --muted-soft/--muted-family opacities,
   which read as a thin, hard-to-read gray across nearly every square in
   light mode - not just the barred ones already fixed above. Darkened
   generally; the barred-cell rules further down still win where both
   apply, since those need to stay legible against the clay tint too. */
:root[data-theme="light"] .cd-off-en{ color: color-mix(in srgb, var(--paper) 75%, transparent); }
:root[data-theme="light"] .cd-man-en{ color: color-mix(in srgb, var(--paper) 60%, transparent); }
:root[data-theme="light"] .cd-pillar{ color: color-mix(in srgb, var(--paper) 80%, transparent); }

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

/* ── TWO FONTS ──────────────────────────────────────────────
   Fraunces (serif) for anything meant to be read as a sentence: headings,
   paragraphs, lists, small print, and the explanatory lines inside a day's
   detail and the result cards. Space Grotesk (sans) for the interface:
   buttons, inputs, nav, labels, badges, tables, numbers. Space Mono is
   gone - its small uppercase labels are Space Grotesk now. A new prose
   class belongs in this list; anything not listed stays Space Grotesk. */
p, .section li,
.lede, .fine-print, .hero-sub, .footer-note, .footer-bottom, .cc-sub, .cred-label,
.contact-lock, .step-sub, .goal-group-sub, .kb-note, .personal-note, .td-desc,
.cta-more, .interest-fine, .role-hint, .tc-god, .sb-use,
.cdt-line, .cdt-note, .cdt-star, .cdt-barred, .cdt-harmony, .cdt-spirit,
.cdt-theme, .cdt-structure, .cdt-clash-hour,
.m-pick-why, .m-why-note, .m-pick-structure, .m-pick-clash, .mc-body{
  font-family: 'Fraunces', serif;
}
button, input, select, textarea{ font-family: 'Space Grotesk', sans-serif; }
/* Space Mono's digits were all one width; keep columns of numbers steady. */
.cdt-val, .cdt-score, .person-born, .cp-dob, .tc-num, .admin-table td{
  font-variant-numeric: tabular-nums;
}

.wrap{position: relative; z-index: 1;}

/* ── HEADER / NAV ───────────────────────────────────────── */

/* Logo and nav on the left, everything after the nav packed to the right.
   space-between used to spread the sign-in button, theme toggle and menu
   button evenly across whatever was left, so they drifted apart. */
header{
  display:flex;
  justify-content: flex-start;
  align-items: center;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}

.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
  flex-shrink: 0;
}
.logo-glyph{
  font-family:'Fraunces', serif;
  font-size: 20px;
  color: var(--brass);
  border: 1px solid var(--brass);
  width: 40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 2px;
}
.logo-text{
  font-family: 'Fraunces', serif;
  font-size: 21px;
  letter-spacing: 0.5px;
}
.logo-text span{ color: var(--brass); font-style: italic; }

nav{display:flex; gap: 32px; font-size: 14px; color: var(--muted);}
header nav{ margin-left: 32px; margin-right: auto; }
nav a{color:inherit; text-decoration:none; padding: 4px 0; border-bottom: 1px solid transparent;}
nav a:hover{color: var(--paper);}
nav a[aria-current="page"]{ color: var(--paper); border-bottom-color: var(--brass); }

/* Visible everywhere, not just mobile - it's the door to My People now,
   not only the mobile nav's own toggle, so it can't disappear once the
   viewport is wide enough for the header's own links to show inline. */
.nav-toggle{
  display:block;
  order: 5;
  background:none;
  border:1px solid var(--line);
  color: var(--paper);
  border-radius: 2px;
  width: 42px; height: 38px;
  font-size: 16px;
  cursor:pointer;
  flex-shrink: 0;
}

@media (min-width: 881px){ .nav-toggle.is-phone-only{ display: none; } }

/* The hamburger's own menu - account-level things that aren't date-finding
   features and so don't belong in the tab row beside them. Anchored to the
   header, which is already sticky and so already a containing block. */
.account-menu{
  position: absolute;
  top: calc(100% - 8px);
  right: var(--pad-x);
  z-index: 60;
  min-width: 200px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.account-item{
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 3px;
  padding: 11px 14px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14.5px;
  cursor: pointer;
}
.account-item:hover{ background: color-mix(in srgb, var(--paper) 7%, transparent); }

.cta-small{
  border:1px solid var(--brass);
  color: var(--brass);
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 14px;
  background:none;
  cursor:pointer;
  font-family:'Space Grotesk', sans-serif;
  text-decoration:none;
  display:inline-block;
  white-space: nowrap;
}
.cta-small:hover{ background: var(--brass); color: var(--on-brass); }

.header-actions{ display:flex; align-items:center; gap: 20px; }
.signin-link{ color: var(--muted); font-size: 14px; text-decoration:none; }
.signin-link:hover{ color: var(--paper); }

.theme-toggle{
  background:none;
  border:1px solid var(--line);
  color: var(--muted);
  border-radius: 2px;
  width: 38px; height: 38px;
  font-size: 15px;
  line-height: 1;
  cursor:pointer;
  flex-shrink: 0;
}
.theme-toggle:hover{ color: var(--paper); border-color: var(--brass); }

/* ── PRO NAVIGATION ─────────────────────────────────────────

   Signed in as Pro, the header's own nav becomes the Pro section switcher
   instead of sitting above a second bar — Home/Almanac/About are still one
   click away in the footer, so nothing needs saying twice. */

nav.is-pro{ gap: 8px; }
.pro-tab{
  background:none;
  border:1px solid transparent;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 3px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 14px;
  cursor:pointer;
}
.pro-tab:hover{ color: var(--paper); }
.pro-tab.is-active{ color: var(--on-brass); background: var(--brass); }

/* ── CONTACT PAGE ───────────────────────────────────────── */

.contact-layout{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  padding-top: clamp(40px, 6vw, 76px);
}
.contact-intro h1{
  font-family:'Fraunces', serif;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  margin: 14px 0 16px;
  max-width: 460px;
}

.contact-trust{
  display:flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 34px;
}
.ct-item{ display:flex; flex-direction:column; gap: 3px; }
.ct-icon{
  width: 38px; height: 38px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass);
  margin-bottom: 6px;
}
.ct-title{ font-size: 14.5px; font-weight: 600; color: var(--paper); }
.ct-sub{ font-size: 13px; color: var(--muted); }

.contact-card{
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  border-radius: 6px;
}
.contact-card h2{
  font-family:'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
}
.cc-sub{ font-size: 14px; color: var(--muted); margin: 6px 0 22px; }

.topic-pills{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
/* The window's span pills sit directly under a .chart-add form with no
   bottom margin of its own (unlike "the couple"/"the parents", which are
   followed by an element carrying its own top margin) - without this the
   "Search from" field and the pills touch with no gap at all. */
#m-span-pills, #career-span-pills, #business-span-pills{ margin-top: 20px; }
.topic-pill{
  padding: 13px 10px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13.5px;
  cursor: pointer;
  text-align:center;
}
.topic-pill:hover{ border-color: rgba(201,138,62,0.5); }
.topic-pill.is-active{ border-color: var(--brass); color: var(--paper); background: rgba(201,138,62,0.08); }

/* Career's activity switch - same visual family as .topic-pill, but a wider
   grid since there are ten of these rather than three, and a disabled state
   for the two activities still waiting on sourced weights. */
.career-pills{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.career-pill{
  padding: 15px 12px 13px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13.5px;
  cursor: pointer;
  text-align:center;
}
.career-pill:hover{ border-color: rgba(201,138,62,0.5); }
.career-pill.is-active{ border-color: var(--brass); color: var(--paper); background: rgba(201,138,62,0.08); font-weight:600; }
.career-pill.is-soon{ cursor: default; opacity: 0.5; }
.career-pill.is-soon:hover{ border-color: var(--line); }

@media (max-width: 720px){
  .career-pills{ grid-template-columns: repeat(2, 1fr); }
}

/* Find dates sits alone on its own .chart-add row at the bottom of the
   Marriage form, with nothing else to flex against - flex-start would
   otherwise strand it on the left. */
#find-dates-row{ justify-content: flex-end; }

.contact-field{ display:flex; flex-direction:column; gap: 7px; margin-bottom: 18px; }
.contact-field label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.contact-field input, .contact-field select, .contact-field textarea{
  padding: 12px 14px;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14.5px;
}
.contact-field textarea{ resize: vertical; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus{
  outline:none; border-color: var(--brass);
}
.contact-field input::placeholder, .contact-field textarea::placeholder{ color: var(--muted-soft); }
.contact-send{
  width:100%;
  padding: 14px 20px;
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 3px;
  color: var(--on-brass);
  font-family:'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.contact-send:hover{ filter: brightness(1.08); }
.contact-lock{
  display:flex; align-items:center; gap: 7px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-soft);
}

@media (max-width: 880px){
  .contact-layout{ grid-template-columns: 1fr; gap: 40px; }
  .topic-pills{ grid-template-columns: repeat(2, 1fr); }
}

/* ── SHARED TYPE ────────────────────────────────────────── */

.eyebrow{
  font-family:'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 22px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 28px; height:1px;
  background: var(--jade);
}

.section-label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 18px;
}

h1{
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 26px;
}
h1 em{ font-style: italic; color: var(--brass); }
.nowrap-brass{ color: var(--brass); white-space: nowrap; }

.lede{
  font-size: 16.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  max-width: 560px;
}

.fine-print{ color: var(--muted-soft); font-size: 13.5px; line-height:1.6; }

/* page banner used on interior pages */
.page-head{
  padding: clamp(34px, 5vw, 76px) var(--pad-x) clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-head h1{ font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 20px; max-width: 900px; }

/* ── HERO ───────────────────────────────────────────────── */

.hero{
  padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(26px, 4vw, 58px);
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-sub{
  font-size: 16.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  max-width: 480px;
  margin-bottom: 36px;
}

/* ── INPUT CARD ─────────────────────────────────────────── */

.input-card{
  background: var(--card-bg);
  color: var(--card-fg);
  border-radius: 4px;
  padding: 26px;
  display:flex;
  flex-direction:column;
  gap: 16px;
  max-width: 520px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.input-row{display:flex; gap:12px;}
.field{flex:1; display:flex; flex-direction:column; gap:6px;}
.field label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-fg) 55%, transparent);
}
.field input, .field select{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--card-fg) 18%, transparent);
  border-radius: 3px;
  background: #fff;
  color: var(--card-fg);
  width: 100%;
}
.field input:focus, .field select:focus{
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.find-btn{
  margin-top: 4px;
  background: var(--card-fg);
  color: var(--card-bg);
  border: none;
  padding: 14px;
  border-radius: 3px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.find-btn:hover{ background: var(--clay); }
.form-note{
  font-family:'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--card-fg) 50%, transparent);
  text-transform: uppercase;
}
.form-error{ color: var(--clay); font-size: 13px; }

/* ── COMPASS ────────────────────────────────────────────── */

/* The wheel sits beside the heading rather than under it — it is a picture of
   today, not a section of its own, so it shares the intro block and carries no
   rule around it. */
.page-head.intro{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-bottom: clamp(16px, 2vw, 28px);
}
/* min-width:0 keeps a long heading from forcing the grid wider than the page. */
.intro-text{ min-width: 0; }
.page-head.intro .lede{ margin-bottom: 0; }
.compass-wrap{ display:flex; justify-content:center; }

@media (max-width: 860px){
  .page-head.intro{ grid-template-columns: 1fr; gap: 36px; }
}

.page-head.no-rule{ border-bottom: none; }

/* The header is sticky and 85px tall, so an anchor jump would otherwise land
   its target underneath it — #finder, the officer entries, the interest
   section. Applied to anything with an id, since only scroll targets are
   affected, and it improves the script’s scrollIntoView on the results too. */
[id]{ scroll-margin-top: 108px; }

/* Emphasis inside body prose. The paragraphs are set at 72% opacity, so bold
   alone barely registers — the lift to full paper is what makes it read. */
.section p strong{ color: var(--paper); font-weight: 600; }

/* Section dividers stop at the gutters rather than running wall to wall, and
   are dotted. Drawn as a pseudo-element because a section's own border would
   span its full-bleed padding and there is no way to inset it.

   `.no-rule` suppresses it, as it did the border it replaces. */
.section,
.cta-band,
.results-section,
#interest-section{ position: relative; }

.section::before,
.cta-band::before,
.results-section::before,
#interest-section::before{
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--pad-x) / 2);
  right: calc(var(--pad-x) / 2);
  border-top: 1px dotted color-mix(in srgb, var(--paper) 28%, transparent);
}
.section.no-rule::before,
.cta-band.no-rule::before{ content: none; }

/* ── GOALS ──────────────────────────────────────────────── */

/* ── GENERIC PROSE / STEPS / TABLE ──────────────────────── */

.section{ padding: clamp(34px, 5vw, 76px) var(--pad-x); }
.section h2{
  font-family:'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 20px;
  max-width: 700px;
}
.section h3{
  font-family:'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.section p{
  font-size: 15.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  max-width: 680px;
  margin-bottom: 14px;
}

/* A list that reads as prose rather than as a bulleted form. */
.plain-list{ list-style: none; max-width: 74ch; margin: 4px 0 14px; }
.plain-list li{
  font-size: 17px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.plain-list li::before{
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* a heading inside a section, under the h2 */
.sub-head{
  font-family:'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  margin: 30px 0 12px;
}

.privacy-note{
  display: block;
  width: 100%;
  max-width: 520px;
  margin-top: 10px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  resize: vertical;
}
.privacy-note:focus{ outline: none; border-color: var(--brass); }
.privacy-note::placeholder{ color: var(--muted-soft); }
.section.prose a{ color: var(--brass); }

/* Pages that are read rather than scanned. Larger type fills the measure at
   roughly the same characters per line, so the column looks less lost on a
   wide screen without the lines themselves growing hard to follow. */
.section.prose p{
  font-size: 17px;
  line-height: 1.75;
  max-width: 74ch;
  margin-bottom: 18px;
}
.section.prose .pull{ max-width: 74ch; }

/* ── CTA BAND + FOOTER ──────────────────────────────────── */

.cta-band{
  padding: clamp(34px, 5vw, 76px) var(--pad-x);
  text-align:center;
}
.cta-band h2{
  font-family:'Fraunces', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-band p{ color: var(--muted); margin: 0 auto 26px; max-width: 520px; line-height:1.65; }
.btn-primary{
  display:inline-block;
  background: var(--brass);
  color: var(--on-brass);
  border: 1px solid var(--brass);
  padding: 13px 28px;
  border-radius: 3px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 16px;
  text-decoration:none;
  cursor:pointer;
}
.btn-primary:hover{ background: transparent; color: var(--brass); }

footer{
  padding: 44px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
  display:grid;
  /* The brand block plus two link columns (Explore, Company), so the links
     sit flush right rather than floating in a mostly empty middle. */
  grid-template-columns: auto auto;
  justify-content: end;   /* the two link columns only, flush right */
  gap: 40px 72px;
  font-size: 13.5px;
  color: var(--muted-soft);
}
footer h4{
  font-family:'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 14px;
  font-weight: 400;
}
footer ul{ list-style:none; display:flex; flex-direction:column; gap: 9px; }
footer a{ color: var(--muted); text-decoration:none; }
footer a:hover{ color: var(--paper); }
.footer-note{ line-height: 1.6; max-width: 340px; margin-top: 14px; }
.footer-bottom{
  padding: 18px var(--pad-x) 40px;
  font-size: 12px;
  color: color-mix(in srgb, var(--paper) 32%, transparent);
}
/* On the light theme the fine print was far too faint (Sheryl, 2026-11-15). */
:root[data-theme="light"] .footer-bottom{ color: color-mix(in srgb, var(--paper) 68%, transparent); }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 880px){
  header{ flex-wrap: wrap; row-gap: 16px; }
  header .logo{ margin-right: auto; }
  header nav{ margin: 0; }
  .nav-toggle{ order: 3; }
  nav{
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    display:none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  nav.open{ display:flex; }
  /* One phone menu everywhere (Sheryl, 2026-11-09): centred, full-width rows, the
     current page as a solid brass bar - the same as the Pro tabs. */
  nav a{ padding: 10px 0; font-size: 15px; border-bottom: none; text-align: center; border-radius: 3px; }
  nav a[aria-current="page"]{ color: var(--on-brass); background: var(--brass); }
  nav .pro-tab{ font-size: 15px; padding: 10px 0; }
  .hero{ grid-template-columns: 1fr; }
  
  footer{ grid-template-columns: auto auto; justify-content: end; gap: 40px 48px; }
}
@media (max-width: 540px){
  .input-row{ flex-direction: column; }
  /* Explore and Company side by side on a phone (the brand block that used to
     span the top is gone). */
  footer{ grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 32px 24px; }
}

/* ── HERO (single column, form centred) ─────────────────── */

.hero{
  display: block;
  text-align: center;
  padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(34px, 5vw, 76px);
}
.hero .eyebrow{ justify-content: center; }
.hero h1{ max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-sub{ margin-left: auto; margin-right: auto; max-width: 620px; }
.input-card{ margin: 0 auto; width: 100%; text-align: left; }
.hero-inner{ max-width: 940px; margin: 0 auto; }

/* ── RESULTS ────────────────────────────────────────────── */

.results-section{
  padding: clamp(28px, 4vw, 60px) var(--pad-x) clamp(34px, 5vw, 76px);
}
.results-head{ margin-bottom: 28px; }
.results-head h2{
  font-family:'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}

/* ── the three best days ────────────────────────────────── */

.results-lead{
  font-family:'Fraunces', serif;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.35;
  color: var(--paper);
  margin-top: 14px;
  max-width: 720px;
}

.top-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.top-card{
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  padding: 26px 22px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.top-card.lead{ border-color: var(--brass); background: rgba(184,146,63,0.10); }

.tc-rank{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 16px;
}
.top-card.lead .tc-rank{ color: var(--brass); }
.tc-dow{
  font-family:'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.tc-num{
  font-family:'Fraunces', serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 600;
  margin: 6px 0 4px;
}
.top-card.lead .tc-num{ color: var(--brass); }
.tc-mon{
  font-family:'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.tc-when{
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.tc-bar{
  height: 3px;
  width: 46px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--paper) 22%, transparent);
  margin: 18px auto;
}
.top-card.best .tc-bar{ background: var(--brass); }
.top-card.favorable .tc-bar{ background: var(--jade); }
.top-card.steady .tc-bar{ background: color-mix(in srgb, var(--paper) 30%, transparent); }
.top-card.poor .tc-bar{ background: var(--clay); }
.tc-officer{
  font-family:'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.tc-cn{ color: var(--muted-soft); font-weight: 500; }
.tc-way{
  display: inline-block;
  max-width: 100%;
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 8px;
  color: var(--muted-soft);
  margin: 0 auto 12px;
}
.tc-way.yellow{ color: var(--brass); border-color: rgba(201,138,62,0.45); }
.tc-god{
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-soft);
  margin-top: 8px;
}
.top-card.best .tc-god{
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-soft);
  margin-top: 8px;
}
.top-card.favorable .tc-god{
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-soft);
  margin-top: 8px;
}
.top-card.steady .tc-god{
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-soft);
  margin-top: 8px;
}
.top-card.poor .tc-god{
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-soft);
  margin-top: 8px;
}

@media (max-width: 820px){
  .top-grid{ grid-template-columns: 1fr; gap: 14px; }
  .top-card{ text-align: left; }
  .tc-bar{ margin: 16px 0; }
  .tc-way{ margin-left: 0; }
  .tc-num{ font-size: 46px; }
}

/* ── the twelve days, written out ───────────────────────── */

.officer-days{
  margin-top: 4px;
}
/* Solid between entries, dotted between sections. The two kinds of division
   read as different things that way — one says "and another", the other says
   "and now something else". */
.officer-day{
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
/* Marks are sized by how many characters they hold, not by which kind of
   entry they belong to — a single character is a single character, so 破
   sits at the same 40px as 閉. Only the longer names come down, and only
   far enough to wrap inside the same 68px column. */
.od-mark.is-two{ font-size: 30px; line-height: 1.15; }
.od-mark.is-four{ font-size: 23px; line-height: 1.2; letter-spacing: 1px; }

.od-mark{
  font-family:'Fraunces', serif;
  font-size: 40px;
  line-height: 1;
  color: var(--brass);
  text-align: center;
  padding-top: 2px;
}
.od-body h3{
  font-family:'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.od-body p{
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  margin-bottom: 10px;
  max-width: 700px;
}

/* On a laptop the entries were capped at 700px inside a 1400px container,
   leaving the right half of every row empty. Two columns fills the width and
   halves the scroll; each entry keeps its own rule, so it still reads as a
   list rather than a table. */
@media (min-width: 1040px){
  .officer-days{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
  }
  .od-body p{ max-width: none; }
}

/* Pro's Knowledge base: a left-hand jump list next to the entries, so new
   sections stay reachable as more get added rather than requiring a scroll
   through everything above them. Sticky under the site's fixed header
   (which is 85px, hence the 108px [id] scroll-margin already set globally). */
.kb-layout{
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-top: 36px;
}
.kb-toc{
  flex: 0 0 200px;
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
}
.kb-toc a{
  font-size: 13.5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: color-mix(in srgb, var(--paper) 62%, transparent);
  text-decoration: none;
}
.kb-toc a:hover{ color: var(--brass); }
/* The section being read is lit in the list as the page scrolls past its title (Sheryl, 2026-11-27); a phone has its own pill style. */
.kb-toc a.is-active{ color: var(--brass); border-bottom-color: var(--brass); }
.kb-content{ flex: 1 1 auto; min-width: 0; }
/* These entries run two paragraphs long, unlike the twelve Day Officers'
   one-liners - the .officer-days 2-column grid it otherwise inherits would
   crowd them, so one column reads easier here. Paragraph width stays capped
   too, since the single column is wider than the grid's own columns were. */
.kb-content.officer-days{ display: block; }
.kb-content .od-body p{ max-width: 700px; }

/* Marks the shift from calendar-level layers (Ways, Breaker, Harmony,
   Spent) to chart-based personal indicators (Personal Clash onward) -
   a plain line rather than a new heading tier, since it's a transition
   note, not another entry. */
/* .section p already sets its own 680px max-width at equal-or-higher
   specificity (one class + a type selector) - .kb-note needs the extra
   class-level specificity below to actually win, not just appear later. */
.section .kb-note{
  max-width: none;
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  padding: 22px 0 4px;
}

/* "What it means" needs clearer air than .sub-head's default 30px gives
   when a lead paragraph sits directly above it - the "Beyond the Day
   Officer" lead itself keeps its normal 720px measure, per Sheryl. */
#pro-panel-knowledge .results-lead + .sub-head{ margin-top: 46px; }

@media (max-width: 860px){
  .kb-layout{ flex-direction: column; gap: 14px; min-width: 0; }
  /* A strip of titles pinned under the header: swipe it left or right, tap a
     title to go to it, and the one you are reading stays highlighted. */
  /* The list is a <nav>, and the phone header rules give every nav `order: 4`,
     which is what sent it to the bottom of the page - so it is put first here. */
  .kb-toc{
    order: -1;
    border-top: 0;
    flex: none;
    min-width: 0;
    align-self: stretch;
    position: sticky;
    top: 84px;
    z-index: 30;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    gap: 8px;
    margin: 0 calc(var(--pad-x) * -1);
    padding: 10px var(--pad-x);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: color-mix(in srgb, var(--ink) 30%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 0;
  }
  .kb-toc::-webkit-scrollbar{ display: none; }
  .kb-toc a{
    flex: none; scroll-snap-align: center; white-space: nowrap;
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 13.5px; border-bottom: 1px solid var(--line);
  }
  .kb-toc a.is-active{ color: var(--on-brass); background: var(--brass); border-color: var(--brass); }
  /* Leave room for the header and the strip when a title is tapped. */
  .kb-content article{ scroll-margin-top: 150px; }
}

/* The list keeps its closing rule — without one the final row runs straight
   into the note beneath it. The band lower down still needs none. */
.cta-band.no-rule{ border-top: none; }

/* The one line the About page sets apart from the prose around it. */
.pull{
  font-family:'Fraunces', serif;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: var(--paper);
  border-left: 2px solid var(--brass);
  padding-left: 20px;
  margin-top: 22px;
}

/* Four value props, icon over title over description, separated by rules
   rather than boxed — echoes the dotted section rule already used site-wide. */
.trust-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
/* Course promo reuses .trust-item's own divider/icon treatment, just three
   across instead of four. */
.trust-row.course-features{ grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.trust-item{
  padding-left: 24px;
  border-left: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
}
.trust-item:first-child{ border-left: none; padding-left: 0; }
.trust-item svg{ color: var(--brass); display: block; margin-bottom: 16px; }
.trust-item h3{ margin-bottom: 8px; }
.trust-item p{ font-size: 13.5px; max-width: none; margin-bottom: 0; }

@media (max-width: 860px){
  .trust-row{ grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .trust-item{ border-left: none; padding-left: 0; }
}

/* Honest stat + real testimonial, kept plain rather than dressed up as
   marketing proof — a single number and one attributed quote. */
.credibility-row{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.cred-stat{ min-width: 160px; }
.cred-number{
  font-family:'Fraunces', serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
}
.cred-label{
  font-size: 14px;
  color: var(--muted);
  max-width: 220px;
  margin-top: 8px;
  margin-bottom: 0;
}
.cred-quote{ flex: 1; min-width: 240px; margin-top: 0; }
.cred-quote cite{
  display: block;
  margin-top: 10px;
  font-family:'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}

/* Left-aligned variant. The centred base rule uses `margin: 0 auto` to centre
   the capped paragraphs, so each of those needs its auto margin cleared too —
   text-align alone would leave them floating in the middle. */
.cta-band.is-left{ text-align: left; }
.cta-band.is-left p{ margin-left: 0; margin-right: 0; }
/* The secondary offer sits under the button, held apart by space and a
   quieter weight rather than a rule. */
/* Scoped to .cta-band so it outranks `.cta-band p`, which would otherwise
   zero the top margin and jam this against the button. */
.cta-band .cta-more{
  margin: 40px auto 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-soft);
}
.cta-more a{ color: var(--brass); white-space: nowrap; }
.cta-more a:hover{ text-decoration: underline; }

@media (max-width: 620px){
  .officer-day{ grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; }
  .od-mark{ font-size: 28px; }
}

/* the twelve Officers, on the wheel */
.off-mark{
  font-family:'Fraunces', serif;
  font-size: 21px;
  fill: var(--paper);
  opacity: 0.42;
}
.off-mark.is-today{
  fill: var(--brass);
  opacity: 1;
  font-size: 27px;
}

/* ── optional birth panel inside the finder ─────────────── */

[hidden]{ display: none !important; }

.personal{
  border-top: 1px solid color-mix(in srgb, var(--card-fg) 12%, transparent);
  padding-top: 16px;
}
.personal-note{
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--card-fg) 55%, transparent);
  margin-top: 10px;
}

/* ── clash flag on a result card ────────────────────────── */

.top-card.has-clash{ border-color: rgba(140,131,179,0.55); }
.tc-clash{
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(140,131,179,0.5);
  background: rgba(140,131,179,0.12);
  border-radius: 3px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--clay);
}
.avoid-row:last-child{ border-bottom: none; }

#today-date{
  font-family:'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.cs-row:last-child{ border-bottom: none; }

/* ── the four pillars ───────────────────────────────────── */

.pillar-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px auto 0;
  max-width: 760px;
}

.chart-master{ text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.pillar-col{
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  padding: 20px 14px 18px;
  text-align: center;
}
.pillar-col.is-day{ border-color: var(--brass); background: rgba(184,146,63,0.10); }
.pillar-col.is-empty{ opacity: 0.5; }
.pc-label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 14px;
}
.pillar-col.is-day .pc-label{ color: var(--brass); }
.pc-char{
  font-family:'Fraunces', serif;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
}
.pc-stem{ color: var(--paper); }
.pc-branch{ color: var(--muted); }
.pillar-col.is-day .pc-stem, .pillar-col.is-day .pc-branch{ color: var(--brass); }   /* both characters: the Day Master can be read as the stem or the whole day pillar (Sheryl, 2026-11-21) */
.pc-unknown{ color: var(--muted-soft); font-size: 30px; }
.pc-en{
  font-size: 13px;
  margin-top: 10px;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
}
.pc-el{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--jade);
  margin-top: 6px;
}
.pc-sub{
  font-size: 11.5px;
  color: var(--muted-soft);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

@media (max-width: 620px){
  .pillar-grid{ grid-template-columns: repeat(2, 1fr); }
  .pc-char{ font-size: 32px; }
}

/* ── optional birth panel inside the finder ─────────────── */

[hidden]{ display: none !important; }

.personal{
  border-top: 1px solid color-mix(in srgb, var(--card-fg) 12%, transparent);
  padding-top: 16px;
}
.personal-note{
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--card-fg) 55%, transparent);
  margin-top: 10px;
}

/* ── clash flag on a result card ────────────────────────── */

.top-card.has-clash{ border-color: rgba(140,131,179,0.55); }
.tc-clash{
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(140,131,179,0.5);
  background: rgba(140,131,179,0.12);
  border-radius: 3px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--clay);
}
/* Spent days sit alongside the Breaker flag but read differently: a Breaker
   opposes the day, a spent day is simply depleted. Brass rather than clay,
   so a reader can tell the two apart at a glance. */
.tc-clash.is-good{
  border-color: rgba(92,144,128,0.5);
  background: rgba(92,144,128,0.12);
  color: var(--jade);
}
.tc-clash.is-spent{
  border-color: rgba(201,138,62,0.45);
  background: rgba(201,138,62,0.10);
  color: var(--brass);
}
.tc-clash + .tc-clash{ margin-top: 6px; }

/* Today reuses the pillar grid, left-aligned rather than centred. */
#today-date{
  font-family:'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
#today-grid .pillar-grid{ margin-left: 0; }

/* ── today: what the day is ─────────────────────────────── */

#today-detail{
  margin-top: 30px;
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.td-row{
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.td-label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--jade);
  padding-top: 4px;
}
.td-value{ min-width: 0; }
.td-heading{
  font-family:'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
}
.td-row.is-yellow .td-heading{ color: var(--brass); }
.td-row.is-black .td-heading{ color: var(--muted); }
.td-row.is-breaker .td-label{ color: var(--clay); }
.td-row.is-breaker .td-heading{ color: var(--clay); }
.td-desc{
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}
.td-more{
  display: inline-block;
  margin-top: 8px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
}
.td-more:hover{ text-decoration: underline; }

@media (max-width: 620px){
  .td-row{ grid-template-columns: 1fr; gap: 6px; }
}

/* Today: pillars on the left, what the day is on the right. */
.today-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 26px;
}
.today-layout #today-grid .pillar-grid{ margin: 0; max-width: none; }
.today-layout #today-detail{ margin-top: 0; border-top: none; }

/* Stacked in the side column — a 118px label rail leaves too little for the
   text once the pillars have taken their half. */
.today-layout .td-row{ grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
.today-layout .td-row:first-child{ padding-top: 0; }
.today-layout .td-label{ padding-top: 0; }

@media (max-width: 900px){
  .today-layout{ grid-template-columns: 1fr; gap: 28px; }
  .today-layout #today-detail{ border-top: 1px solid var(--line); }
}

/* ── Today/Monthly tabs (homepage #today-section) ──────────
   Same pill shape as pro.html's .pro-tab, new class since index.html never
   loads pro.js and this has none of that component's 9-panel/admin
   baggage - just two buttons and two panels. */
.home-tabs{ display:flex; gap: 10px; margin: 18px 0 26px; }
.home-tab{
  background:none;
  border:1px solid var(--line);
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 4px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 15px;
  cursor:pointer;
}
.home-tab:hover{ border-color: var(--muted-soft); color: var(--paper); }
.home-tab.is-active{ color: var(--on-brass); background: var(--brass); border-color: var(--brass); }

/* ── the hour list, shared with Pro's own Hour Guide ───────
   The homepage's own collapsible toggle (.hour-toggle*) is gone -
   removed along with the homepage hour teaser (Sheryl, 2026-10-11:
   "remove see today by hour"), now that Pro's Day tab has the real
   version. .hour-list/.hour-cols/.hr-* stay: pro.js's renderHourGuide
   still builds them. */
.hour-list{ margin-top: 14px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.hour-cols{
  display: grid; grid-template-columns: 118px 96px 1fr; gap: 14px;
  padding: 10px 16px; background: color-mix(in srgb, var(--paper) 3%, transparent);
  border-bottom: 1px solid var(--line); font-family:'Space Grotesk', sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}
.hour-row{
  display: grid; grid-template-columns: 118px 96px 1fr; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--line); align-items: start;
}
.hour-row:last-child{ border-bottom: 0; }
.hr-range{ font-family:'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hr-full{ display: none; }
.hr-pillar{ font-family:'Fraunces', serif; font-size: 15px; color: var(--paper); }
.hr-animal{ font-family:'Space Grotesk', sans-serif; font-size: 11.5px; color: var(--muted-soft); margin-top: 2px; }
.hr-markers{ display: flex; flex-wrap: wrap; gap: 6px; }
.hr-tag{
  font-family:'Space Grotesk', sans-serif; font-size: 12.5px; padding: 3px 9px;
  border: 1px solid var(--line); border-radius: 3px; color: var(--paper);
  white-space: nowrap;
}
.hr-tag.is-formula{ border-color: var(--brass); color: var(--brass); }
.hr-tag.is-good{ border-color: var(--jade); color: var(--jade); }
.hr-tag.is-bad{ border-color: var(--muted-soft); color: var(--muted-soft); }
.hr-empty{ font-family:'Fraunces', serif; font-style: italic; color: var(--muted-soft); font-size: 13.5px; }

/* The one absolute call-out in an otherwise goal-less table - a clash
   is a clash regardless of what the hour is used for, the same reason
   .cdt-clash-hour already flags it elsewhere (marriage.js). */
.hour-row.is-clash{ background: color-mix(in srgb, var(--clay) 8%, transparent);
  border-left: 3px solid var(--clay); padding-left: 13px; }
.hr-clash-note{ font-family:'Space Grotesk', sans-serif; font-size: 12.5px; color: var(--clay); }

/* The one hour block that's a clock fact, not a judgment - safe to
   highlight regardless of goal, unlike the Status column that was
   dropped (Sheryl, 2026-10-08). */
.hour-row.is-now{ background: color-mix(in srgb, var(--brass) 10%, transparent);
  border-left: 3px solid var(--brass); padding-left: 13px; }
.hour-row.is-now.is-clash{ border-left-color: var(--clay); }
.hr-now-badge{
  display: inline-block; margin-left: 8px; font-family:'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--brass);
  border: 1px solid var(--brass); border-radius: 3px; padding: 1px 5px; vertical-align: middle;
}
.cal-detail .section-label{ font-size: 11px; margin-top: 18px; margin-bottom: 10px; }

@media (max-width: 620px){
  .hour-cols{ display:none; }
  .hour-row{ grid-template-columns: 1fr; row-gap: 6px; }
}

/* ── what comes next ─────────────────────────────── */

.tease-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.tease{
  padding: 26px 22px 28px;
  background: var(--ink);
}
.tease-mark{
  font-family:'Fraunces', serif;
  font-size: 24px;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 16px;
}
.tease h3{
  font-family:'Fraunces', serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
}
.tease-cn{
  display: block;
  font-size: 13px;
  color: var(--muted-soft);
  margin-top: 3px;
}
.tease p{
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

.interest-call{
  margin-top: 34px;
  font-family:'Fraunces', serif;
  font-size: 18px;
  color: var(--paper);
}
.interest-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  max-width: 520px;
}
.interest-row input{
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 15px;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14.5px;
}
.interest-row input:focus{
  outline: none;
  border-color: var(--brass);
}
.interest-row button{
  flex: 0 0 auto;
  padding: 13px 22px;
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 3px;
  color: var(--on-brass);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.interest-row button:hover{ filter: brightness(1.08); }
.interest-row button:disabled{
  background: transparent;
  color: var(--muted-soft);
  border-color: var(--line);
  cursor: default;
  filter: none;
}
.interest-fine{
  margin-top: 12px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-soft);
}

/* The sign-in overlay, injected by signin-modal.js. Sits above everything
   else on the page it's opened from rather than navigating away. */
.signin-modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16,18,22,0.72);
}
.signin-modal-overlay[hidden]{ display: none; }
.signin-modal{
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.signin-modal h2{
  font-family:'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--paper);
  margin: 4px 0 12px;
}
.signin-modal .interest-fine{ max-width: none; }
.signin-modal .interest-row{ max-width: none; }
.signin-modal-close{
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.signin-modal-close:hover{ color: var(--paper); }
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px){
  .tease-grid{ grid-template-columns: 1fr 1fr; }
  .tease{ padding: 22px 18px 24px; }
}

/* ── the Pro view ─────────────────────────────────────────── */

.alt-toggle{
  display: inline-block;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(201,138,62,0.4);
  color: var(--brass);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.alt-toggle:hover{ border-bottom-color: var(--brass); }

/* the invitation to sign in, shown while the view is open to everyone */
.invite{
  padding: 24px 26px;
  border: 1px solid rgba(201,138,62,0.32);
  background: rgba(201,138,62,0.06);
  border-radius: 4px;
}
.invite-head{
  font-family:'Fraunces', serif;
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 8px;
}
.invite-text p{
  font-size: 14px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  max-width: 62ch;
}
.invite .interest-row{ margin-top: 18px; }

/* ── MY PROFILE ─────────────────────────────────────────────

   Only what the app actually knows or controls: there are no
   notification, language or billing systems behind this page, and a
   switch that flips nothing is worse than no switch at all. */
/* One column, full width. Side by side made each card narrow enough that
   its rows wrapped, which read as busier than the same content stacked. */
.profile-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}
.profile-card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 24px 20px;
  background: color-mix(in srgb, var(--paper) 2%, transparent);
}
.profile-card h3{
  font-family:'Fraunces', serif;
  font-size: 19px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.profile-id{ display:flex; align-items:center; gap: 15px; margin-bottom: 20px; }
.profile-avatar{
  flex: 0 0 auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--on-brass);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces', serif;
  font-size: 25px;
}
.profile-name{ display:flex; align-items:center; gap: 9px; font-family:'Fraunces', serif; font-size: 19px; }
.profile-email{ font-size: 13px; color: var(--muted-soft); margin-top: 3px; word-break: break-all; }

.profile-rows{ display:flex; flex-direction:column; }
.profile-row{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 7%, transparent);
  font-size: 13.5px;
  color: var(--muted);
}
.profile-row:last-child{ border-bottom: 0; }
.profile-row b{ color: var(--paper); font-weight: 600; text-align: right; }
.profile-row select{
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13.5px;
  padding: 7px 10px;
}
.profile-row label{ color: var(--muted); }
.profile-edit{ display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.profile-edit input{
  width: 170px; max-width: 100%; height: 36px; padding: 0 10px; text-align: right;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line); border-radius: 3px; color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600;
}
/* The name is a plain boxed field (no pencil - it read as a button). Save sits
   at the bottom of the card, not beside the field. */
.profile-save{ margin-top: 18px; }
.profile-edit input:focus{ outline: none; border-color: var(--brass); }
.profile-edit input::placeholder{ color: var(--muted-soft); font-weight: 400; }
.profile-edit input:disabled{ opacity: 0.6; }
.profile-card .cta-small{ margin-top: 18px; }
.profile-card .interest-fine{ margin-top: 14px; }

.profile-badge{
  display:inline-block;
  margin-top: 8px;
  border: 1px solid var(--brass);
  border-radius: 20px;
  padding: 4px 12px;
  color: var(--brass);
  font-size: 12px;
}
.profile-plan-head{ display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.profile-plan-head .profile-badge{ margin-top: 0; }
.profile-pill{
  border: 1px solid var(--jade);
  border-radius: 20px;
  padding: 4px 12px;
  color: var(--jade);
  font-size: 12px;
}

/* Rows the design keeps a place for but nothing stands behind yet. Dimmed
   and tagged rather than removed, so the shape of the finished page is
   still visible - and rather than left looking live, which is the one
   thing a setting that changes nothing must not do. */
.profile-row.is-soon{ opacity: 0.55; }
.profile-row.is-soon::after{
  content: 'Soon';
  font-family:'Space Grotesk', sans-serif;
  font-size: 8.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 7px;
  order: 3;
}
.profile-row.is-soon b{ order: 2; }
.profile-row.is-soon select{ pointer-events: none; }

/* ── MY PEOPLE ──────────────────────────────────────────────

   One row per saved person, carrying enough of their chart to recognise
   them by - the Day Master and the four pillars - without repeating the
   full reading Your Days already gives. The actions sit in their own
   labelled column as visible buttons rather than behind a menu, so what
   you can do with someone is never a guess. */
.people-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 18px;
}
.people-head h3{
  font-family:'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.people-head .cta-small:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}
.people-head .cta-small:disabled:hover{ background: none; color: var(--brass); }
#people-cap-note{ margin: -6px 0 16px; }

/* Header row and person rows share one column template so the labels sit
   exactly over what they name. */
.people-table{
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 18px;
}
.people-cols,
.person-row{
  display: grid;
  /* The last column is a fixed width, not auto, so the header row and every
     person row resolve to the same tracks - auto sized each row by its own
     content and the labels drifted off the data. Wide enough for the three
     remaining action buttons side by side ("Read days" removed, Sheryl
     2026-09-29 - selecting the row already does what it did - so this
     shrank from 388px). */
  grid-template-columns: minmax(170px, 1.2fr) minmax(130px, 1fr) minmax(190px, 1.3fr) 290px;
  column-gap: 28px;
  align-items: center;
  padding-left: 22px;
  padding-right: 22px;
}
.people-cols{
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  font-family:'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}
#chart-note{ margin-top: 18px; }
#chart-note:empty{ display: none; }
/* The header's last label has to line up with the buttons under it, which
   are right-aligned, so it is too. */
.people-cols span:last-child{ text-align: right; }

.person-row{
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
/* Was `.person-row:last-child` - broke once each row started carrying a
   sibling `.person-chart` after it (the row is no longer necessarily the
   last element in the list). Selecting the container's actual last child,
   whichever kind it is, keeps the "no divider after the final item" rule
   correct either way. */
.people-rows > *:last-child{ border-bottom: 0; }
.person-row.is-on{ background: rgba(201,138,62,0.07); box-shadow: inset 3px 0 0 var(--brass); }

/* The whole row selects - same `current` a "Read days" click sets, so
   `.is-on` above already doubles as "this is the one shown below." No
   separate "View chart" button (removed, Sheryl 2026-09-29 - it was
   duplicating the row's own interaction). */
.person-row.pr-clickable{ cursor: pointer; }
.person-row.pr-clickable:hover .person-name{ text-decoration: underline; text-underline-offset: 3px; }
.person-row.pr-clickable:focus-visible{ outline: 2px solid var(--brass); outline-offset: -2px; }

/* "The chart" - moved here from the top of Your Days. One shared display,
   not one per row, always showing whoever is `current` (the default
   profile until a different row is selected) rather than starting empty.
   Same markup as it always had - .pillar-grid/.pillar-col, .star-branches/
   .sb-item - so no new rules were needed for the content itself, only this
   section's own top spacing since it now sits below a bordered table
   instead of directly under the page intro. */
#people-chart{ margin-top: 28px; }

.pr-person{ display:flex; align-items:center; gap: 14px; min-width: 0; }
.person-avatar{
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--muted);
  font-family:'Fraunces', serif;
  font-size: 18px;
}
.person-row.is-on .person-avatar{ border-color: var(--brass); color: var(--brass); }
.person-name{
  font-family:'Fraunces', serif;
  font-size: 18px;
  color: var(--paper);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.person-you{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--on-brass);
  background: var(--brass);
  border-radius: 20px;
  padding: 2px 8px;
}
.person-born{
  font-family:'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* On wide screens the header row already names these columns; the labels
   only appear once the row stacks. */
.pr-label{
  display: none;
  font-family:'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  margin-bottom: 5px;
}
.pr-value{ font-size: 14.5px; color: var(--paper); }
.pr-value.is-empty{ color: var(--muted-soft); }
.pr-pillars{ font-family:'Fraunces', serif; font-size: 17px; letter-spacing: 1px; }
.pr-pil.is-day{ color: var(--brass); }
.pr-pil.is-empty{ color: var(--muted-soft); }
.pr-sep{ color: var(--muted-soft); padding: 0 6px; }

/* The actions are the point of the column: three labelled buttons, always
   showing, the main one in brass. */
.pr-actions{ display:flex; gap: 8px; justify-content: flex-end; }
.person-act{
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 15px;
  color: var(--paper);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}
.person-act:hover{ border-color: var(--muted-soft); background: color-mix(in srgb, var(--paper) 6%, transparent); }
/* Fixed width so "Default" and "Make default" occupy the same slot and the
   buttons on either side line up down the column. */
.person-act.is-mark{ width: 120px; }

/* The current default: same slot and width as "Make default", filled and
   inert so it reads as a state, not a button waiting to be pressed. */
.person-act.is-default,
.person-act.is-default:disabled{
  background: rgba(201,138,62,0.14);
  border-color: var(--brass);
  color: var(--brass);
  cursor: default;
  opacity: 1;
}
.person-act.is-default:hover{ background: rgba(201,138,62,0.14); border-color: var(--brass); }
.person-act.is-del{ color: var(--muted); }
.person-act.is-del:hover{ border-color: var(--clay); color: var(--clay); background: none; }

.people-empty{
  padding: 34px 22px;
  text-align: center;
  color: var(--muted-soft);
  font-size: 14px;
}
/* Stacks earlier than the site's 880px breakpoint: three visible buttons
   plus three data columns need roughly 1040px before they fit in one row
   (shrank from 1160px when "Read days" was removed). */
@media (max-width: 1060px){
  .people-cols{ display: none; }
  .person-row{
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .pr-label{ display: block; }
  .pr-actions{ justify-content: flex-start; flex-wrap: wrap; }
}

/* saved charts */
.chart-row{ display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.chart-pill{
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 16px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: left;
  cursor: pointer;
  font-family:'Space Grotesk', sans-serif;
}
.chart-pill:hover{ border-color: var(--muted-soft); }
.chart-pill.is-on{ border-color: var(--brass); background: rgba(201,138,62,0.10); }
.chart-pill.is-add{
  border-style: dashed;
  background: none;
  color: var(--muted-soft);
  align-items: center;
  justify-content: center;
  font-family:'Space Grotesk', sans-serif;
  font-size: 14px;
}
.chart-pill.is-add:hover{ border-color: var(--brass); color: var(--paper); }
.cp-name{ font-family:'Fraunces', serif; font-size: 15px; color: var(--paper); }
.cp-dob{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--muted-soft);
}
.chart-del{
  align-self: stretch;
  padding: 0 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.chart-del:hover{ border-color: var(--clay); color: var(--clay); }
.chart-add{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
/* .field was written for the light input card on the hero, where a dark
   label on white is right. On this page it renders dark on dark and the
   labels vanish, so the whole group is restated for the dark ground. */
.chart-add .field{ flex: 1 1 170px; margin: 0; gap: 7px; }
.chart-add .field label{
  color: var(--muted-soft);
  font-size: 9.5px;
  letter-spacing: 1.5px;
}
/* One height for every control on the row, set explicitly rather than left to
   whatever padding and font metrics happen to produce — a text input and a
   button do not agree on their own. */
.chart-add .field input,
.chart-add button{
  height: 46px;
  line-height: 1;
}
.chart-add .field input{
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0 14px;
  font-size: 14.5px;
}
.lbl-opt{
  color: var(--muted-soft);
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 9px;
  margin-left: 5px;
}
.chart-add .field input:focus{
  outline: none;
  border-color: var(--brass);
}
.chart-add .field input::placeholder{ color: var(--muted-soft); }
/* the native date and time pickers ship a black icon, invisible here */
.chart-add .field input::-webkit-calendar-picker-indicator{
  filter: invert(1);
  opacity: 0.45;
  cursor: pointer;
}
.chart-add .field input::-webkit-calendar-picker-indicator:hover{ opacity: 0.8; }
.chart-add button{
  flex: 0 0 auto;
  padding: 0 24px;
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 3px;
  color: var(--on-brass);
  font-family:'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.chart-add button:hover{ filter: brightness(1.08); }
/* A second, lower-emphasis action next to "Show my days" - viewing a
   reading and saving it as a profile are two separate, deliberate clicks
   now, not one inferred from the other. */
.chart-add button.is-ghost{
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
}
.chart-add button.is-ghost:hover{ border-color: var(--brass); color: var(--brass); filter: none; }

/* the two branches a chart makes special */
.star-branches{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.sb-item{ padding: 22px 24px; background: var(--ink); }
.sb-mark{ font-size: 20px; line-height: 1; margin-bottom: 12px; }
.sb-label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.sb-value{
  font-family:'Fraunces', serif;
  font-size: 21px;
  color: var(--brass);
  margin-top: 6px;
}
.sb-use{
  font-size: 13.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  margin-top: 10px;
}

/* the next star days, as chips above the calendar */
.star-summary{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px;
}
.ss-label{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-right: 4px;
}
.ss-day{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(201,138,62,0.4);
  background: rgba(201,138,62,0.08);
  border-radius: 3px;
  color: var(--brass);
  font-family:'Space Grotesk', sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.ss-day:hover{ background: rgba(201,138,62,0.18); }
.ss-mark{ font-size: 11px; }
.ss-more{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}

@media (max-width: 720px){
  .star-branches{ grid-template-columns: 1fr; }
  .cal-grid{ gap: 4px; }
  .cal-day{ padding: 5px 4px 6px; min-height: 68px; }
  .cd-off-en, .cd-man-en{ display: none; }
  /* Once the cells can shrink they are narrow, so the marks wrap under the
     date rather than sitting beside it and squeezing it out. */
  .cd-top{ flex-wrap: wrap; gap: 2px; }
  .cd-stars{ font-size: 10px; letter-spacing: -0.5px; }
}

/* the calendar */
.cal-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cal-view-toggle{
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.cal-view-toggle label{ display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cal-view-toggle input{ accent-color: var(--brass); cursor: pointer; }
.cal-title{
  font-family:'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--paper);
  min-width: 190px;
}
.cal-head button{
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-size: 15px;
  cursor: pointer;
}
.cal-head button:hover:not(:disabled){ border-color: var(--brass); color: var(--brass); }
.cal-head button:disabled{ opacity: 0.3; cursor: default; }
.cal-head button.cal-today{
  width: auto; padding: 0 14px; font-family:'Space Grotesk', sans-serif; font-size: 13px;
}

.cal-grid{
  display: grid;
  /* minmax(0, 1fr) rather than 1fr: a grid item's min-width defaults to auto,
     so cells refuse to shrink below their own content and push the whole grid
     wider than the screen. On a 375px phone that was 415px of grid inside a
     335px column, and the page scrolled sideways. */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal-dow{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--muted-soft);
  text-align: center;
  padding-bottom: 6px;
}
.cal-pad{ min-height: 10px; }

.cal-day{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;          /* see .cal-grid — the other half of the same fix */
  gap: 2px;
  min-height: 92px;
  padding: 8px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper) 1.5%, transparent);
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  text-align: left;
}
.cal-day:hover{ border-color: var(--muted-soft); }
.cal-day.is-open{ outline: 2px solid var(--brass); outline-offset: -2px; }
.cal-day.is-past{ opacity: 0.32; }

/* One square is highlighted, not four grades of one. Shading every day by
   tier made a heat map that had to be decoded; a single pick answers the
   question people arrive with, and any other day's score is one click away
   in the panel below. */
.cal-day.is-pick{
  background: rgba(201,138,62,0.24);
  border-color: var(--brass);
}
.cal-day.is-pick .cd-num{ color: var(--brass); }

/* A box, not a mark - matches your chosen theme the same way is-pick marks
   the month's strongest day. Jade rather than brass so the two read as
   different things when a day happens to be both. */
.cal-day.is-theme{
  background: rgba(92,144,128,0.16);
  border-color: var(--jade);
}
.cal-day.is-theme .cd-num{ color: var(--jade); }
/* Day Officer filter: the chosen officer's days ringed in green, the rest dimmed. */
.cal-day.is-officer{ box-shadow: inset 0 0 0 1.5px #46c28f; }
.cal-day.is-dim{ opacity: 0.32; }
.cal-day.is-pick.is-theme{
  background: linear-gradient(135deg, rgba(201,138,62,0.24), rgba(92,144,128,0.16));
  border-color: var(--brass);
}
.cal-day.is-pick.is-theme .cd-num{ color: var(--brass); }

.cd-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}
.cd-num{ font-family:'Fraunces', serif; font-size: 16px; color: var(--paper); line-height: 1; }
.cd-stars{ font-size: 11px; line-height: 1; color: var(--brass); letter-spacing: 1px; }
.cd-spirit{ color: var(--jade); }
.cd-harmony{ color: var(--jade); }
/* A day a hard rule rules out. Clay, the site's own "avoid" color (matches
   .tc-clash, the clashing-hour warnings). No strikethrough (reads as
   clutter, not professional). The number itself stays clay, the same way a
   pick's number turns brass and a theme match turns jade - it's the one
   place an accent color still belongs, since it's large and bold enough to
   stay readable on the tint. Everything smaller (Officer/Constellation
   labels, the pillar line) stays plain foreground instead: at that size the
   same accent colors lost too much contrast against the clay tint,
   especially in light mode. */
/* Ten Great Defeat (十惡大敗) - a lighter version of the barred-day red,
   since this is a caution rather than an exclusion for most activities (it's
   a hard bar only for Contract, which already lands on .is-barred too - see
   eligible() in _lib.js). Sheryl, 2026-09-25: flag it beyond the shared ⚡
   spent-day mark every spent-day kind already gets. Declared before
   .is-barred so a day that is both (Contract) simply reads as barred. */
.cal-day.is-ferocious{
  background: rgba(140,131,179,0.08);
  border-color: rgba(140,131,179,0.3);
}
.cal-day.is-ferocious .cd-num{ color: var(--clay); }
.cal-day.is-past.is-ferocious{
  background: color-mix(in srgb, var(--paper) 1.5%, transparent);
  border-color: var(--line);
}
.cal-day.is-past.is-ferocious .cd-num{ color: var(--paper); }

.cal-day.is-barred{
  background: rgba(140,131,179,0.12);
  border-color: rgba(140,131,179,0.45);
}
.cal-day.is-barred .cd-num{ color: var(--clay); }
.cal-day.is-barred .cd-off-cn,
.cal-day.is-barred .cd-man-cn,
.cal-day.is-barred .cd-pillar{ color: var(--paper); }
.cal-day.is-barred .cd-off-en,
.cal-day.is-barred .cd-man-en{ color: color-mix(in srgb, var(--paper) 85%, transparent); }
/* A day already in the past gets no fresh attention drawn to it either way -
   the ordinary faded look wins over the clay warning for this one combo. */
.cal-day.is-past.is-barred{
  background: color-mix(in srgb, var(--paper) 1.5%, transparent);
  border-color: var(--line);
}
/* With the clay tint gone for this combo, the brass/jade officer and
   mansion colors read fine again - the contrast problem was only ever the
   tint underneath them, so no override needed here. */
.cal-day.is-past.is-barred .cd-num{ color: var(--paper); }
.cal-day.is-past.is-barred .cd-off-cn{ color: var(--brass); }
.cal-day.is-past.is-barred .cd-man-cn{ color: var(--jade); }
.cal-day.is-past.is-barred .cd-off-en{ color: var(--muted-soft); }
.cal-day.is-past.is-barred .cd-man-en{ color: color-mix(in srgb, var(--paper) 32%, transparent); }
.cal-day.is-past.is-barred .cd-pillar{ color: var(--muted); }
.cdt-harmony{ font-size: 13.5px; line-height: 1.6; color: var(--jade); margin-top: 10px; }
.cdt-barred{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(140,131,179,0.35);
  font-size: 13px;
  line-height: 1.6;
  color: var(--clay);
}
.cd-warn{ color: var(--clay); }
.cdt-spirit{ font-size: 13.5px; line-height: 1.6; color: var(--jade); margin-top: 10px; }

/* The Day View's own four-pillar strip (Sheryl, 2026-10-08, from
   reference images) - .pillar-grid/.pillar-col already exist for the
   free homepage's Today panel; this just fits them into the narrower
   detail panel and calms the type scale down to match. */
.cdt-date-pillars{ margin: 14px 0 18px; max-width: none; }
.cdt-date-pillars .pc-char{ font-size: 26px; }
.cdt-date-pillars .pc-label{ margin-bottom: 8px; }

/* Spirit Day / Spent Day as their own callouts, not a plain line -
   the same information, just given the weight a fact worth noticing
   on its own deserves. */
.cdt-card{
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 14px 16px; margin-top: 12px;
}
.cdt-card-icon{ font-size: 18px; line-height: 1; margin-top: 1px; }
.cdt-card-title{
  font-family:'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.3px;
}
.cdt-card-text{ font-size: 13.5px; line-height: 1.5; margin-top: 4px;
  color: color-mix(in srgb, var(--paper) 78%, transparent); }

/* Good for / Use caution for - the Officer's own derived suitability
   pair, the Day Snapshot's last row, side by side with a list
   instead of one sentence. */
.cdt-suited-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cdt-card.is-good{ border-color: var(--jade); background: rgba(92,144,128,0.08); }
.cdt-card.is-good .cdt-card-title{ color: var(--jade); }
.cdt-card.is-caution{ border-color: var(--clay); background: rgba(140,131,179,0.08); }
.cdt-card.is-caution .cdt-card-title{ color: var(--clay); }
.cdt-card-list{
  margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px;
  line-height: 1.7; color: color-mix(in srgb, var(--paper) 82%, transparent);
}
.cdt-card-list li{ padding-left: 18px; position: relative; }
.cdt-card.is-good .cdt-card-list li::before{ content: '✓'; position: absolute; left: 0; color: var(--jade); }
.cdt-card.is-caution .cdt-card-list li::before{
  content: '!'; position: absolute; left: 2px; color: var(--clay); font-weight: 700;
}
@media (max-width: 620px){ .cdt-suited-grid{ grid-template-columns: 1fr; } }

/* Day Snapshot - one compact list instead of a full-width card per fact
   (Sheryl, 2026-10-10: "is ugly, and extremely vertical view"). */
.cdt-snapshot{ border: 1px solid var(--line); border-radius: 6px; margin-top: 16px; overflow: hidden; }
.cdt-snap-head{
  font-family:'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-soft);
  padding: 12px 16px 8px;
}
.cdt-snap-row{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 16px; border-top: 1px solid var(--line);
}
.cdt-snap-icon{
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family:'Fraunces', serif; font-size: 13px; color: var(--paper); margin-top: 1px;
}
.cdt-snap-mid{ min-width: 0; flex: 1; }
.cdt-snap-label{
  font-family:'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted-soft);
}
.cdt-snap-name{ font-family:'Fraunces', serif; font-size: 14.5px; color: var(--paper); margin-top: 2px; }
.cdt-snap-note{
  font-size: 12.5px; line-height: 1.5; margin-top: 2px;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}
.cdt-snap-row.is-yellow .cdt-snap-icon{ border-color: var(--brass); color: var(--brass); }
.cdt-snap-row.is-black .cdt-snap-icon{ border-color: var(--muted); color: var(--muted); }
.cdt-snap-row.is-mansion .cdt-snap-icon{ border-color: var(--jade); color: var(--jade); }
.cdt-snap-row.is-breaker .cdt-snap-icon{ border-color: var(--clay); color: var(--clay); }
.cdt-snap-row.is-match .cdt-snap-icon{ border-color: var(--jade); color: var(--jade); }
.cdt-snap-row.is-match .cdt-snap-note{ color: var(--jade); }
/* Admin-only value, same signed-number treatment as .cdt-val. */
.cdt-snap-val{
  flex: none; margin-left: auto; padding-left: 12px;
  font-family:'Space Grotesk', sans-serif; font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--jade);
}
.cdt-snap-val.is-down{ color: var(--clay); }
.cdt-snap-val.is-zero{ color: var(--muted-soft); }
.cdt-snap-mid .td-more{ display: inline-block; margin-top: 4px; }
.cdt-snap-row.is-total{ background: color-mix(in srgb, var(--brass) 6%, transparent); }
.cdt-snap-row.is-total .cdt-snap-icon{ border-color: var(--brass); color: var(--brass); }
.cdt-snap-row.is-total .cdt-snap-val{ color: var(--brass); font-family:'Fraunces', serif; font-size: 18px; }
.cdt-snapshot .cdt-snap-suited{ margin-top: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.td-row.is-spirit .td-heading{ color: var(--jade); }
.td-row.is-mansion .td-heading{ color: var(--jade); }
/* The day's own pillar, full view only - reference rather than a reason to
   pick the day, so it sits quiet above the Officer rather than competing
   with it. */
.cd-pillar{
  display: block;
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cd-officer{
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 5px;
  width: 100%;
  min-width: 0;
}
.cd-off-cn{
  font-family:'Fraunces', serif;
  font-size: 14px;
  color: var(--brass);
  flex: 0 0 auto;
}
.cd-off-en{
  font-family:'Space Grotesk', sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* The mansion sits under the Officer, quieter than it, because it is
   reference rather than a reason to pick the day. */
.cd-mansion{
  display: flex;
  align-items: baseline;
  gap: 5px;
  width: 100%;
  min-width: 0;
  margin-top: 3px;
}
.cd-man-cn{
  font-family:'Fraunces', serif;
  font-size: 11px;
  color: var(--jade);
  flex: 0 0 auto;
}
.cd-man-en{
  font-family:'Space Grotesk', sans-serif;
  font-size: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 32%, transparent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.cal-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.cl-key{ display: inline-flex; align-items: center; gap: 7px; }
.cl-swatch{
  width: 13px;
  height: 13px;
  border-radius: 2px;
  border: 1px solid var(--line);
  display: inline-block;
}
.cl-swatch.is-pick{ background: rgba(201,138,62,0.24); border-color: var(--brass); }
.cl-swatch.is-theme{ background: rgba(92,144,128,0.16); border-color: var(--jade); }
.cl-swatch.is-officer{ background: rgba(70,194,143,0.16); border-color: #46c28f; }
.cl-swatch.is-barred{ background: rgba(140,131,179,0.12); border-color: rgba(140,131,179,0.45); }
.cl-swatch.is-ferocious{ background: rgba(140,131,179,0.08); border-color: rgba(140,131,179,0.3); }

/* the day under the calendar */
.cal-detail{
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper) 2%, transparent);
}
.cal-detail.is-best{ border-left-color: var(--brass); }
.cal-detail.is-favorable{ border-left-color: rgba(201,138,62,0.5); }
.cal-detail.is-poor{ border-left-color: var(--clay); }
.cdt-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cdt-when{ font-family:'Fraunces', serif; font-size: 19px; color: var(--paper); }
.cdt-score{ font-family:'Space Grotesk', sans-serif; font-size: 13px; color: var(--brass); }

.cdt-line{ font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: 12px; }
.cdt-highlight{
  font-family:'Fraunces', serif; font-size: 15.5px; line-height: 1.5;
  color: var(--brass); margin: 4px 0 18px;
}

/* The day's Ten God theme, brass like the other "what to use this for"
   lines (.cdt-star) - jade instead, matching the calendar's own .is-theme
   box, when it's the theme actually chosen in the dropdown. */
.cdt-theme{ font-size: 13.5px; line-height: 1.6; color: var(--brass); margin-top: 10px; }
.cdt-theme.is-match{ color: var(--jade); font-weight: 600; }

/* The arithmetic behind the number. Monospace on the values so the column
   aligns and the sum reads as a sum. */
.cdt-rows{ margin-top: 18px; border-top: 1px solid var(--line); }
.cdt-row{
  display: grid;
  grid-template-columns: 92px 1fr 56px;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 6%, transparent);
}
.cdt-layer{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.cdt-what{ min-width: 0; }
.cdt-name{ display: block; font-family:'Fraunces', serif; font-size: 14.5px; color: var(--paper); }
.cdt-note{ display: block; font-size: 12.5px; line-height: 1.5; color: color-mix(in srgb, var(--paper) 50%, transparent); margin-top: 2px; }
.cdt-val{
  font-family:'Space Grotesk', sans-serif;
  font-size: 13px;
  text-align: right;
  color: var(--jade);
}
.cdt-row.is-down .cdt-val{ color: var(--clay); }
/* The unscored row reads like the rest. Its note already says "not scored";
   dimming the name as well made it look disabled rather than deliberate. */
.cdt-row.is-quiet .cdt-val{ color: var(--muted-soft); }
.cdt-row.is-total{
  border-bottom: none;
  border-top: 1px solid var(--line);
  margin-top: 2px;
  padding-top: 12px;
}
.cdt-row.is-total .cdt-what{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.cdt-row.is-total .cdt-val{
  font-family:'Fraunces', serif;
  font-size: 19px;
  color: var(--brass);
}

/* Without the values the table becomes a list of what applied, so the
   column comes out rather than sitting empty. */
.cdt-rows.no-values .cdt-row{ grid-template-columns: 92px 1fr; }

@media (max-width: 620px){
  .cdt-row{ grid-template-columns: 1fr 56px; }
  .cdt-rows.no-values .cdt-row{ grid-template-columns: 1fr; }
  .cdt-layer{ display: none; }
}
.cdt-star{ font-size: 13.5px; line-height: 1.6; color: var(--brass); margin-top: 10px; }
.cdt-flag{
  font-family:'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 12px;
}


/* The marriage shortlist. Three cards, ranked, on the dark panel ground the
   Pro calendar already uses — the answer someone came for, before the year
   grid below it. */
.m-pick{
  border-top: 1px solid var(--line);
  padding: 18px 0 16px;
}
.m-pick:first-child{ border-top: none; padding-top: 4px; }
.m-pick-rank{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brass);
}
.m-pick-date{
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.25;
  color: var(--paper);
  margin-top: 6px;
}
.m-pick-why{
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 8px;
  max-width: 62ch;
}
@media (max-width: 620px){
  .m-pick-date{ font-size: 21px; }
}

/* The date's own three pillars on each shortlist card. Monospace so the
   characters line up down the column and can be copied onto a form. */
.m-pick-pillars{
  display: flex;
  gap: 26px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.m-pil{ display: flex; flex-direction: column; gap: 2px; }
.m-pil-label{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.m-pil-cn{
  font-size: 19px;
  line-height: 1.2;
  color: var(--brass);
}
.m-pil-en{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--muted);
}

/* Each shortlist card lists every layer, one per line — a run-on sentence
   stopped being readable once the quiet layers were included too. */
.m-pick-why{ margin-top: 12px; }
.m-why-row{
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 6px 0;
  align-items: baseline;
}
.m-why-layer{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.m-why-name{ display: block; font-family: 'Fraunces', serif; font-size: 14.5px; color: var(--paper); }
.m-why-note{ display: block; font-size: 12.5px; line-height: 1.55; color: var(--muted-soft); margin-top: 2px; }
.m-why-row.is-down .m-why-name{ color: var(--clay); }
.m-why-row.is-quiet .m-why-name{ color: var(--muted); }

.m-more{
  margin-top: 22px;
  background: none;
  border: 1px solid var(--line);
  color: var(--brass);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2px;
  padding: 11px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.m-more:hover{ border-color: var(--brass); color: var(--paper); }

@media (max-width: 620px){
  .m-why-row{ grid-template-columns: 1fr; gap: 2px; }
}

/* Layers that score nothing are still listed — "neutral" has to stay
   distinguishable from "not checked" — but they sit below the ones that
   count rather than competing with them for attention. */
.m-why-parked{
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dotted var(--line);
  opacity: 0.72;
}
.m-why-parked-label{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 4px;
}
.cdt-row.is-parked-first{ border-top: 1px dotted var(--line); }

/* Where the days that check every box end. The near-misses are still worth
   showing — a couple with a date already booked needs to know how close it
   comes — but they are not the same kind of answer. */
.m-pick-break{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.m-pick-break-label{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.m-pick.is-partial .m-pick-rank{ color: var(--muted-soft); }
.m-pick.is-partial .m-pick-date{ color: var(--muted); }

/* Special structures: which hour completes one. Brass, like the stars, since
   it is advice about what to use rather than a warning. */
.cdt-structure{ font-size: 13.5px; line-height: 1.6; color: var(--brass); margin-top: 10px; }
.m-pick-structure{
  font-size: 13px;
  line-height: 1.6;
  color: var(--brass);
  margin-top: 10px;
  max-width: 62ch;
}

/* The clashing hour, marriage's own callout for it - clay rather than
   brass, since this one really is a warning: leave this hour alone. */
.cdt-clash-hour{ font-size: 13.5px; line-height: 1.6; color: var(--clay); margin-top: 10px; }
.m-pick-clash{
  font-size: 13px;
  line-height: 1.6;
  color: var(--clay);
  margin-top: 10px;
  max-width: 62ch;
}

/* A rare moment, called out. Brass and boxed, because the whole point is
   that it stands apart from an ordinary reading. */
.moment-callout{
  border: 1px solid var(--brass);
  background: rgba(201,138,62,0.07);
  padding: 16px 20px 14px;
  margin: 18px 0 8px;
  border-radius: 3px;
}
.mc-head{
  font-family: 'Fraunces', serif;
  font-size: 17px;
  color: var(--brass);
}
.mc-body{
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
  margin: 6px 0 0;
  max-width: 64ch;
}

/* ── PURPOSE FUNNEL (homepage wizard) ──────────────────────
   Ported from .mockups/funnel-mockup.html. Reuses the site's existing
   --brass/--jade/--clay/--line/--muted/--muted-soft tokens throughout, and
   the real .top-grid/.top-card/.pillar-grid/.field components unchanged —
   only what the mockup actually invented is new here. Generic-sounding
   selectors (.step, .dots, .chip, .spacer, .nav-row) are scoped under
   .funnel-section so they can't collide with anything on another page. */

.cta-row{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:34px; }
.cta-primary{
  background: var(--brass); color: var(--on-brass); border:none; padding:14px 24px; border-radius:3px;
  font-family:'Space Grotesk', sans-serif; font-size:15px; cursor:pointer; text-decoration:none; display:inline-block;
}
.cta-primary:hover{ background: var(--clay); color: var(--paper); }
.cta-secondary{
  border:1px solid var(--line); color: var(--paper); padding:14px 24px; border-radius:3px;
  font-family:'Space Grotesk', sans-serif; font-size:15px; text-decoration:none; display:inline-block;
}
.proof-row{ display:flex; gap:26px; flex-wrap:wrap; justify-content:center; }
.proof{ display:flex; align-items:center; gap:9px; font-size:13px; color: var(--muted); }
.proof svg{ color: var(--brass); flex-shrink:0; }

.funnel-section{ padding: 36px var(--pad-x) 24px; border-top: 1px dotted var(--line); text-align:center; }
.funnel-section.is-hidden{ display:none; }
.funnel-section h2{
  font-family:'Fraunces', serif; font-weight:600;
  font-size: clamp(24px,3vw,32px); margin-bottom:8px;
}
.funnel-section > .step-sub{
  max-width:560px; font-size:13.5px; color: var(--muted); margin:0 auto 22px;
}

/* The funnel card is a panel ON the page, not a fixed paper ticket like the
   old finder's — a light card in dark mode reads as a mistake, not a
   deliberate motif, once it's a multi-step wizard. --fn-bg/--fn-fg are
   local to .funnel so they flip with the page theme instead of reusing the
   site's fixed --card-bg/--card-fg (which stays cream-on-ink everywhere
   else on purpose — marriage.html, contact.html and this same page's own
   .field styling all still depend on that being fixed). Text-align resets
   to left here: the section around it is centered (heading + intro line),
   but the wizard's own labels, fields and button rows read left-aligned,
   same as the mockup they were designed in. */
.funnel{
  --fn-bg: color-mix(in srgb, var(--paper) 6%, var(--ink));
  --fn-fg: var(--paper);
  background: var(--fn-bg); color: var(--fn-fg);
  border-radius: 6px; padding: 24px 26px 22px; margin:30px auto 0;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  min-height: 460px; display:flex; flex-direction:column;
  max-width: 760px; text-align:left;
}
.funnel-head{ display:flex; align-items:center; justify-content:flex-end; margin-bottom:16px; }
.funnel-time{
  font-family:'Space Grotesk', sans-serif; font-size:11px; letter-spacing:0.5px;
  color: color-mix(in srgb, var(--fn-fg) 45%, transparent);
}
.funnel-section .dots{ display:flex; align-items:center; gap:6px; margin-bottom:20px; }
.funnel-section .dot{ width:7px; height:7px; border-radius:50%; background: color-mix(in srgb, var(--fn-fg) 16%, transparent); flex-shrink:0; }
.funnel-section .dot-bar{ flex:1; height:1px; background: color-mix(in srgb, var(--fn-fg) 12%, transparent); }
.funnel-section .dot.is-done{ background: var(--brass); }
.funnel-section .dot.is-current{ background: var(--brass); width:9px; height:9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }

.funnel-section .step{ display:none; flex:1; flex-direction:column; }
.funnel-section .step.is-active{ display:flex; }
.funnel-section .step h2{ font-family:'Fraunces', serif; font-weight:600; font-size:21px; margin-bottom:6px; }
.funnel-section .step .step-sub{ max-width:560px; font-size:13.5px; color: color-mix(in srgb, var(--fn-fg) 60%, transparent); margin-bottom:22px; }

.goal-grid{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:10px; }
.goal-tile{
  border: 1.5px solid color-mix(in srgb, var(--fn-fg) 14%, transparent);
  border-radius: 5px; padding:13px 10px 11px; text-align:center; cursor:pointer;
  background: transparent; font-family: inherit; color: var(--fn-fg);
  display:flex; flex-direction:column; align-items:center; gap:6px;
  transition: border-color .15s, background .15s;
}
.goal-tile:hover{ border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.goal-tile svg{ color: color-mix(in srgb, var(--fn-fg) 70%, transparent); }
.goal-tile span{ font-size:12.5px; line-height:1.3; }
.goal-tile.is-selected{ border-color: var(--brass); background: color-mix(in srgb, var(--brass) 8%, transparent); }
.goal-tile.is-selected svg{ color: var(--brass); }

.more-bar{
  width:100%; margin-top:10px; padding:12px; text-align:center;
  border: 1px dashed color-mix(in srgb, var(--fn-fg) 22%, transparent);
  border-radius:5px; background:none; font-family:'Space Grotesk', sans-serif;
  font-size:13px; color: color-mix(in srgb, var(--fn-fg) 55%, transparent); cursor:pointer;
}
.more-bar:hover{ border-color: color-mix(in srgb, var(--brass) 55%, transparent); color: var(--fn-fg); }
.more-bar[hidden]{ display:none; }

.goal-group-label{
  font-family:'Space Grotesk', sans-serif; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color: var(--jade); margin: 18px 0 4px;
  display:flex; align-items:center; gap:8px;
}
.goal-group-label:first-of-type{ margin-top:0; }
.pro-pill{
  font-family:'Space Grotesk', sans-serif; font-size:9.5px; letter-spacing:0.5px; text-transform:uppercase;
  color: var(--on-brass); background: var(--brass); border-radius:10px; padding:2px 8px;
}
.goal-group-sub{ font-size:12.5px; color: color-mix(in srgb, var(--fn-fg) 50%, transparent); margin-bottom:10px; }

/* .field itself (layout/spacing) and .field input/select (white background,
   fixed dark text) are shared, unmodified — see INPUT CARD above. Only the
   label color needs a local override: it's built on the fixed --card-fg, so
   left alone it would render near-invisible against this card's own dark
   background at night. */
.funnel-section .field label{ color: color-mix(in srgb, var(--fn-fg) 55%, transparent); }
.skip-link{
  align-self:flex-start; font-size:13px; color: color-mix(in srgb, var(--fn-fg) 55%, transparent);
  text-decoration:underline; cursor:pointer; margin-top:-6px;
}

.step-error{ font-size:13px; color: var(--clay); margin-top:-8px; margin-bottom:16px; }
.step-error[hidden]{ display:none; }

.review-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.funnel-section .chip{
  font-size:13px; padding:7px 12px; border-radius:20px;
  background: color-mix(in srgb, var(--fn-fg) 6%, transparent);
  color: color-mix(in srgb, var(--fn-fg) 78%, transparent);
}
.funnel-section .chip strong{ color: var(--fn-fg); }

.funnel-section .spacer{ flex:1; }
.funnel-section .nav-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.back-btn{
  font-family:'Space Grotesk', sans-serif; font-size:13.5px; color: color-mix(in srgb, var(--fn-fg) 55%, transparent);
  background:none; border:none; cursor:pointer; padding:10px 4px;
}
.continue-btn{
  margin-left:auto; background: var(--brass); color: var(--on-brass); border:none;
  padding:13px 24px; border-radius:3px; font-family:'Space Grotesk', sans-serif; font-size:15px; cursor:pointer;
}
.continue-btn:hover{ background: var(--clay); color: var(--fn-fg); }
.continue-btn:disabled{ opacity:0.35; cursor:not-allowed; }
.continue-btn:disabled:hover{ background: var(--brass); color: var(--on-brass); }

.loading-wrap{ display:flex; flex-direction:column; align-items:center; text-align:center; flex:1; justify-content:center; }
.loading-wrap h2{ font-size:20px; margin-bottom:6px; }
.loading-wrap .step-sub{ margin-bottom:4px; max-width:320px; }
.orb{
  width:72px; height:72px; border-radius:50%; margin-bottom:22px; position:relative;
  background: radial-gradient(circle at 32% 28%, var(--brass), var(--clay) 62%, #2a2016 100%);
  box-shadow: 0 0 34px rgba(201,138,62,0.35);
}
.orb-ring{ position:absolute; inset:-15px; animation: orb-spin 3s linear infinite; }
.orb-dot{ position:absolute; width:5px; height:5px; border-radius:50%; background: var(--brass); }
.orb-dot:nth-child(1){ top:0; left:50%; margin-left:-2.5px; }
.orb-dot:nth-child(2){ top:52%; right:-3px; margin-top:-2.5px; }
.orb-dot:nth-child(3){ bottom:4px; left:14%; }
@keyframes orb-spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .orb-ring{ animation:none; } }

.check-list{ list-style:none; margin-top:20px; display:flex; flex-direction:column; gap:11px; align-items:flex-start; }
.check-list li{
  font-size:13.5px; color: color-mix(in srgb, var(--fn-fg) 42%, transparent);
  display:flex; align-items:center; gap:10px; opacity:0.5; transition: opacity .25s, color .25s;
}
.check-list li::before{
  content:''; width:15px; height:15px; border-radius:50%; flex-shrink:0;
  border:1.5px solid color-mix(in srgb, var(--fn-fg) 22%, transparent);
  background-size:9px; background-repeat:no-repeat; background-position:center;
  transition: border-color .25s, background-color .25s;
}
.check-list li.is-done{ color: var(--fn-fg); opacity:1; }
.check-list li.is-done::before{
  border-color: var(--jade); background-color: var(--jade);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 9 18 20 6'/%3E%3C/svg%3E");
}
.loading-quote{ font-family:'Fraunces', serif; font-style:italic; font-size:14px; color: color-mix(in srgb, var(--fn-fg) 55%, transparent); margin-top:24px; }

.results-restart{ margin-top:22px; font-size:13px; color: var(--muted); text-decoration:underline; cursor:pointer; display:inline-block; }

/* Locked teaser: the same real .top-card, not a generic placeholder — only
   the specifics blur, so it still reads as "your actual results", just
   paid. This pattern is new to the live site (previously only in the
   mockup); the Wedding/Move-In Pro gate in funnel.js is what decides
   `locked`, client-side, same caveat as every other Pro check here. */
.top-card.is-locked .tc-num, .top-card.is-locked .tc-officer,
.top-card.is-locked .tc-god, .top-card.is-locked .tc-way{ filter: blur(6px); user-select:none; }
.lock-badge{ position:absolute; top:16px; right:16px; color: var(--muted-soft); }
.top-card{ position:relative; }
.unlock-banner{
  grid-column: 1 / -1; display:flex; align-items:center; justify-content:space-between; gap:18px;
  border:1px solid rgba(201,138,62,0.4); background: rgba(201,138,62,0.08); border-radius:4px;
  padding:18px 22px; flex-wrap:wrap; margin-top:4px;
}
.unlock-banner p{ font-size:13.5px; color: var(--muted); margin:0; max-width:440px; }
.unlock-banner strong{ color: var(--paper); }
.unlock-btn{
  background: var(--brass); color: var(--on-brass); border:none; padding:12px 22px; border-radius:3px;
  font-family:'Fraunces',serif; font-size:14.5px; cursor:pointer; white-space:nowrap;
  text-decoration:none; display:inline-block;
}

@media (max-width: 880px){
  .goal-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px){
  .goal-grid{ grid-template-columns: 1fr 1fr; }
  .goal-tile span{ font-size:11.5px; }
}
.cd-pure{ color: var(--brass); }

/* ── ADMIN: account-menu entries ─────────────────────────
   Users/Audit Log live only in the account menu, not a header row —
   each jumps straight to its own panel (see pro.js's showAdminSubTab). */
.account-item.is-admin-console{ color: var(--brass); }
.account-item-divider{ height:1px; background: var(--line); margin: 6px 4px; }

/* ── ADMIN: add-user card ───────────────────────────────── */
.add-user-card{
  border:1px solid var(--line); border-radius:5px; padding:22px 24px;
  background: color-mix(in srgb, var(--paper) 3%, transparent); margin: 26px 0 20px;
  max-width: 640px;
}
.add-user-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:flex-end; }
.au-field{ flex:1 1 220px; display:flex; flex-direction:column; gap:6px; }
.au-field.role-field{ flex: 0 0 160px; }
.au-field label{
  font-family:'Space Grotesk', sans-serif; font-size:10.5px; letter-spacing:1.2px;
  text-transform:uppercase; color: var(--muted-soft);
}
.au-field input, .au-field select{
  padding: 12px 14px; background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line); border-radius: 3px; color: var(--paper);
  font-family:'Space Grotesk', sans-serif; font-size: 14.5px;
}
.au-field input:focus, .au-field select:focus{ outline:none; border-color: var(--brass); }
.role-hint{ font-size:12px; color: var(--muted-soft); margin-top:10px; max-width: 520px; line-height:1.5; }
.role-hint strong{ color: var(--paper); }
.grant-btn{
  flex: 0 0 auto; padding: 13px 20px; background: var(--brass); border: 1px solid var(--brass);
  border-radius: 3px; color: var(--on-brass); font-family:'Space Grotesk', sans-serif; font-size: 14px;
  font-weight: 600; cursor: pointer; white-space:nowrap;
}
.grant-btn:hover{ filter: brightness(1.08); }

.admin-summary{
  font-family:'Space Grotesk', sans-serif; font-size:12.5px; letter-spacing:0.3px;
  color: var(--muted); margin-bottom: 16px;
}
.admin-summary strong{ color: var(--paper); font-weight:600; }

/* ── ADMIN: table ───────────────────────────────────────── */
.admin-table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:3px; }
.admin-table{ width:100%; border-collapse: collapse; font-size:13.5px; }
.admin-table th{
  text-align:left; font-family:'Space Grotesk', sans-serif; font-weight:400;
  font-size:10.5px; letter-spacing:1.2px; text-transform:uppercase;
  color: var(--muted-soft); padding: 12px 14px; border-bottom:1px solid var(--line);
  white-space: nowrap;
}
.admin-table td{ padding: 13px 14px; border-bottom:1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td{ border-bottom: none; }
.admin-table tr.is-revoked td{ opacity: .5; }
.email-cell{ display:flex; align-items:center; gap:8px; }
.you-badge{
  font-family:'Space Grotesk', sans-serif; font-size:9px; letter-spacing:0.5px; text-transform:uppercase;
  color: var(--muted-soft); border:1px solid var(--line); border-radius:2px; padding:2px 6px;
}
.admin-badge{
  font-family:'Space Grotesk', sans-serif; font-size:10.5px; letter-spacing:.5px;
  padding:3px 8px; border:1px solid var(--line); border-radius:2px; text-transform:uppercase;
}
.admin-badge.is-admin{ color: var(--brass); border-color: var(--brass); }
.status-dot{ display:inline-flex; align-items:center; gap:7px; font-size:13px; }
.status-dot::before{ content:''; width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.status-dot.is-active::before{ background: var(--jade); }
.status-dot.is-active{ color: var(--jade); }
.status-dot.is-invited::before{ background: var(--muted-soft); }
.status-dot.is-invited{ color: var(--muted-soft); }
.status-dot.is-revoked::before{ background: var(--clay); }
.status-dot.is-revoked{ color: var(--clay); }
.signin-cell{ color: var(--muted); }

/* Inline actions, always visible — a role select plus two buttons. Red
   stays reserved for Delete alone. */
.row-actions{ display:flex; align-items:center; gap:8px; flex-wrap:nowrap; justify-content:flex-end; }
.row-role-select{
  background: transparent; color: var(--paper); border:1px solid var(--line); border-radius:2px;
  padding: 7px 9px; font-family:'Space Grotesk',sans-serif; font-size:13px; cursor:pointer;
}
.row-role-select:focus{ outline:none; border-color: var(--brass); }
.row-role-select:disabled{ color: var(--muted-soft); cursor:not-allowed; opacity:.6; }
.row-act{
  font-family:'Space Grotesk',sans-serif; font-size:12.5px; cursor:pointer;
  background:none; color: var(--muted); border:1px solid var(--line);
  border-radius:2px; padding:7px 12px; white-space:nowrap;
}
.row-act:hover{ color: var(--paper); border-color: var(--muted); }
.row-act.is-danger{ color: var(--clay); border-color: color-mix(in srgb, var(--clay) 55%, transparent); }
.row-act.is-danger:hover{ background: color-mix(in srgb, var(--clay) 12%, transparent); }
.row-act:disabled{ color: var(--muted-soft); border-color: var(--line); cursor:not-allowed; }
.row-act:disabled:hover{ background:none; border-color: var(--line); }


/* ── GALAXY BACKDROP (dark theme only) ─────────────────────
   Sheryl, 2026-10-25: "galaxy design and a little moving of the stars or
   planets". Pure CSS so every page that loads this stylesheet gets it, with
   no markup or script to add. A faint nebula sits in the body background;
   two star layers (box-shadow dots, scattered in vw/vh so they scale with
   the screen) twinkle and sway a few pixels. (Two drifting planets were
   tried and removed on 2026-10-25 - "weird, stars ok".)
   Everything is fixed behind the page, ignores the mouse, moves only with
   transform and opacity (cheap), and stops moving for anyone who has asked
   their device for reduced motion. Light theme has its own softer version below: a
   dark starfield would cost legibility, so it is fainter. */
:root:not([data-theme="light"]) body{
  background:
    radial-gradient(ellipse 60% 45% at 88% 6%, rgba(125,95,205,0.17), transparent 70%),
    radial-gradient(ellipse 55% 42% at 6% 52%, rgba(60,135,155,0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 72% 98%, rgba(201,138,62,0.10), transparent 70%),
    var(--ink);
  background-attachment: fixed;
}
/* Phones only (Sheryl, 2026-11-27): phones, iOS especially, ignore
   background-attachment: fixed, so the washes stretched over the whole page
   and looked lighter and more colourful than on desktop. On a phone they sit
   on a fixed layer instead. Desktop is untouched. */
@media (max-width: 700px){
  :root:not([data-theme="light"]) body{ background: var(--ink); }
  :root:not([data-theme="light"])::before{
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
      radial-gradient(ellipse 60% 45% at 88% 6%, rgba(125,95,205,0.17), transparent 70%),
      radial-gradient(ellipse 55% 42% at 6% 52%, rgba(60,135,155,0.14), transparent 70%),
      radial-gradient(ellipse 50% 40% at 72% 98%, rgba(201,138,62,0.10), transparent 70%);
  }
}
:root:not([data-theme="light"]) body::before,
:root:not([data-theme="light"]) body::after{
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
:root:not([data-theme="light"]) body::before{
  top: 0; left: 0; width: 1px; height: 1px;
  box-shadow:
    74.7vw 20.3vh 0 rgba(255,255,255,0.56),
    54.4vw 12.8vh 0 rgba(180,205,255,0.33),
    68.3vw 50.3vh 0 rgba(180,205,255,0.87),
    98.7vw 40.9vh 0 rgba(255,255,255,0.77),
    97.2vw 2.9vh 0 rgba(255,255,255,0.39),
    21.6vw 48.3vh 0 rgba(180,205,255,0.52),
    82.8vw 3.1vh 0 rgba(255,255,255,0.81),
    53.7vw 50.9vh 0 rgba(255,255,255,0.58),
    65.7vw 31.4vh 0 rgba(255,255,255,0.81),
    42.3vw 84.7vh 0 rgba(255,255,255,0.33),
    95.1vw 19.7vh 0 rgba(180,205,255,0.82),
    60.7vw 15.6vh 0 rgba(255,255,255,0.34),
    54.5vw 71.4vh 0 rgba(255,255,255,0.33),
    21.8vw 59.6vh 0 rgba(255,255,255,0.81),
    32.7vw 40.7vh 0 rgba(255,255,255,0.87),
    70.6vw 58.2vh 0 rgba(255,255,255,0.51),
    67.5vw 79.3vh 0 rgba(255,255,255,0.71),
    27.6vw 88.0vh 0 rgba(180,205,255,0.51),
    47.0vw 39.0vh 0 rgba(255,255,255,0.88),
    15.2vw 0.8vh 0 rgba(255,255,255,0.88),
    62.1vw 81.9vh 0 rgba(180,205,255,0.32),
    18.3vw 61.1vh 0 rgba(255,255,255,0.78),
    4.9vw 97.3vh 0 rgba(255,255,255,0.34),
    16.9vw 9.8vh 0 rgba(255,255,255,0.83),
    84.4vw 91.9vh 0 rgba(240,210,160,0.31),
    94.0vw 49.1vh 0 rgba(255,255,255,0.69),
    54.7vw 39.5vh 0 rgba(255,255,255,0.37),
    20.7vw 23.8vh 0 rgba(255,255,255,0.39),
    59.6vw 98.3vh 0 rgba(180,205,255,0.67),
    31.6vw 8.1vh 0 rgba(255,255,255,0.74),
    92.8vw 4.4vh 0 rgba(255,255,255,0.54),
    32.3vw 20.0vh 0 rgba(255,255,255,0.56),
    21.8vw 49.9vh 0 rgba(255,255,255,0.61),
    97.5vw 10.0vh 0 rgba(255,255,255,0.43),
    75.8vw 14.3vh 0 rgba(255,255,255,0.32),
    62.2vw 68.1vh 0 rgba(240,210,160,0.4),
    16.4vw 52.4vh 0 rgba(255,255,255,0.33),
    48.5vw 11.6vh 0 rgba(255,255,255,0.51),
    23.1vw 54.8vh 0 rgba(255,255,255,0.46),
    19.5vw 52.4vh 0 rgba(180,205,255,0.49),
    25.6vw 77.9vh 0 rgba(255,255,255,0.84),
    29.2vw 81.8vh 0 rgba(180,205,255,0.77),
    83.4vw 40.5vh 0 rgba(255,255,255,0.77),
    99.8vw 79.8vh 0 rgba(255,255,255,0.66),
    23.2vw 22.0vh 0 rgba(255,255,255,0.6),
    41.9vw 60.6vh 0 rgba(255,255,255,0.76),
    46.8vw 9.5vh 0 rgba(255,255,255,0.76),
    51.5vw 83.8vh 0 rgba(255,255,255,0.75),
    68.5vw 59.6vh 0 rgba(255,255,255,0.38),
    68.3vw 95.4vh 0 rgba(255,255,255,0.76),
    69.2vw 11.8vh 0 rgba(180,205,255,0.6),
    76.1vw 86.8vh 0 rgba(180,205,255,0.45),
    59.8vw 75.4vh 0 rgba(180,205,255,0.69),
    36.9vw 46.7vh 0 rgba(255,255,255,0.39),
    10.9vw 76.4vh 0 rgba(255,255,255,0.85),
    65.7vw 35.1vh 0 rgba(255,255,255,0.8),
    97.3vw 58.9vh 0 rgba(180,205,255,0.36),
    48.2vw 22.3vh 0 rgba(180,205,255,0.75),
    48.2vw 16.3vh 0 rgba(255,255,255,0.35),
    23.3vw 74.0vh 0 rgba(255,255,255,0.76),
    10.6vw 77.8vh 0 rgba(255,255,255,0.64),
    87.0vw 17.7vh 0 rgba(255,255,255,0.65),
    44.0vw 98.9vh 0 rgba(240,210,160,0.42),
    21.7vw 10.1vh 0 rgba(255,255,255,0.63),
    29.8vw 64.2vh 0 rgba(255,255,255,0.57),
    53.1vw 91.9vh 0 rgba(255,255,255,0.39),
    64.6vw 94.8vh 0 rgba(255,255,255,0.68),
    49.7vw 36.0vh 0 rgba(255,255,255,0.82),
    71.7vw 56.6vh 0 rgba(255,255,255,0.7),
    98.4vw 76.2vh 0 rgba(255,255,255,0.75),
    1.1vw 16.0vh 0 rgba(255,255,255,0.89),
    24.1vw 13.9vh 0 rgba(255,255,255,0.85),
    58.6vw 35.4vh 0 rgba(240,210,160,0.35),
    14.3vw 96.9vh 0 rgba(255,255,255,0.61),
    89.4vw 47.1vh 0 rgba(255,255,255,0.77),
    58.3vw 10.5vh 0 rgba(180,205,255,0.54),
    5.3vw 30.9vh 0 rgba(255,255,255,0.6),
    39.8vw 20.4vh 0 rgba(180,205,255,0.46),
    76.4vw 24.6vh 0 rgba(255,255,255,0.52),
    56.5vw 89.9vh 0 rgba(240,210,160,0.6),
    10.4vw 36.1vh 0 rgba(255,255,255,0.69),
    48.4vw 28.9vh 0 rgba(180,205,255,0.49),
    75.6vw 96.3vh 0 rgba(255,255,255,0.49),
    81.3vw 62.9vh 0 rgba(255,255,255,0.86),
    28.0vw 47.2vh 0 rgba(255,255,255,0.71),
    67.5vw 59.0vh 0 rgba(255,255,255,0.54),
    57.8vw 80.2vh 0 rgba(255,255,255,0.82),
    23.6vw 21.3vh 0 rgba(255,255,255,0.34),
    60.9vw 88.9vh 0 rgba(255,255,255,0.59),
    81.5vw 96.1vh 0 rgba(180,205,255,0.45),
    76.1vw 51.4vh 0 rgba(180,205,255,0.75),
    98.2vw 54.5vh 0 rgba(255,255,255,0.53),
    95.6vw 81.9vh 0 rgba(255,255,255,0.73),
    34.2vw 18.8vh 0 rgba(180,205,255,0.54),
    29.2vw 98.4vh 0 rgba(255,255,255,0.7),
    90.8vw 57.3vh 0 rgba(255,255,255,0.58),
    0.4vw 3.0vh 0 rgba(255,255,255,0.37),
    76.8vw 46.8vh 0 rgba(255,255,255,0.57),
    99.5vw 44.4vh 0 rgba(255,255,255,0.48),
    65.3vw 30.6vh 0 rgba(255,255,255,0.87),
    59.5vw 62.2vh 0 rgba(255,255,255,0.86),
    80.1vw 87.8vh 0 rgba(255,255,255,0.73),
    71.0vw 84.9vh 0 rgba(180,205,255,0.44),
    70.9vw 57.4vh 0 rgba(255,255,255,0.85),
    22.1vw 58.3vh 0 rgba(240,210,160,0.7),
    49.1vw 47.3vh 0 rgba(255,255,255,0.82),
    84.2vw 90.0vh 0 rgba(255,255,255,0.69),
    2.4vw 90.9vh 0 rgba(255,255,255,0.66),
    33.8vw 99.4vh 0 rgba(255,255,255,0.81),
    56.9vw 95.8vh 0 rgba(240,210,160,0.48);
  animation: gx-twinkle 6s ease-in-out infinite alternate, gx-sway 90s ease-in-out infinite alternate;
}
:root:not([data-theme="light"]) body::after{
  top: 0; left: 0; width: 2px; height: 2px; border-radius: 50%;
  box-shadow:
    67.0vw 98.0vh 0 rgba(240,210,160,0.86),
    20.0vw 19.9vh 0 rgba(255,255,255,0.41),
    67.1vw 87.8vh 0 rgba(255,255,255,0.55),
    0.0vw 6.1vh 0 rgba(180,205,255,0.51),
    26.0vw 78.8vh 0 rgba(255,255,255,0.31),
    97.6vw 39.1vh 0 rgba(255,255,255,0.39),
    61.0vw 53.5vh 0 rgba(255,255,255,0.51),
    32.1vw 43.3vh 0 rgba(255,255,255,0.38),
    77.3vw 64.2vh 0 rgba(255,255,255,0.83),
    47.8vw 57.8vh 0 rgba(255,255,255,0.69),
    12.7vw 4.9vh 0 rgba(240,210,160,0.34),
    59.2vw 52.4vh 0 rgba(240,210,160,0.38),
    64.1vw 14.4vh 0 rgba(255,255,255,0.74),
    31.2vw 76.7vh 0 rgba(255,255,255,0.86),
    33.9vw 51.5vh 0 rgba(180,205,255,0.85),
    33.1vw 20.2vh 0 rgba(255,255,255,0.82),
    90.8vw 79.5vh 0 rgba(180,205,255,0.74),
    51.0vw 6.8vh 0 rgba(180,205,255,0.46),
    89.1vw 7.6vh 0 rgba(255,255,255,0.53),
    50.2vw 88.1vh 0 rgba(255,255,255,0.63),
    78.8vw 4.4vh 0 rgba(255,255,255,0.36),
    28.6vw 32.1vh 0 rgba(255,255,255,0.65),
    28.7vw 48.9vh 0 rgba(255,255,255,0.87),
    34.2vw 92.3vh 0 rgba(180,205,255,0.47),
    49.1vw 83.6vh 0 rgba(255,255,255,0.61),
    76.9vw 22.1vh 0 rgba(255,255,255,0.54),
    83.2vw 79.1vh 0 rgba(255,255,255,0.61),
    0.4vw 66.2vh 0 rgba(255,255,255,0.59),
    69.7vw 65.5vh 0 rgba(255,255,255,0.47),
    26.6vw 68.4vh 0 rgba(255,255,255,0.42),
    21.3vw 91.6vh 0 rgba(255,255,255,0.89),
    44.7vw 72.5vh 0 rgba(255,255,255,0.55),
    88.9vw 47.7vh 0 rgba(255,255,255,0.75),
    21.6vw 96.3vh 0 rgba(180,205,255,0.72),
    86.2vw 13.4vh 0 rgba(240,210,160,0.38),
    95.0vw 64.4vh 0 rgba(255,255,255,0.59),
    6.0vw 78.5vh 0 rgba(255,255,255,0.36),
    12.9vw 23.2vh 0 rgba(180,205,255,0.55),
    48.6vw 34.9vh 0 rgba(240,210,160,0.81),
    86.1vw 43.7vh 0 rgba(240,210,160,0.84),
    86.2vw 37.0vh 0 rgba(255,255,255,0.4),
    46.4vw 53.2vh 0 rgba(180,205,255,0.41),
    39.7vw 96.9vh 0 rgba(255,255,255,0.52),
    66.7vw 32.6vh 0 rgba(255,255,255,0.67),
    76.1vw 27.3vh 0 rgba(255,255,255,0.37),
    73.6vw 55.6vh 0 rgba(255,255,255,0.41),
    4.6vw 43.6vh 0 rgba(255,255,255,0.6),
    13.8vw 23.8vh 0 rgba(255,255,255,0.73),
    80.0vw 83.1vh 0 rgba(180,205,255,0.76),
    34.7vw 9.8vh 0 rgba(240,210,160,0.53),
    60.8vw 31.5vh 0 rgba(255,255,255,0.59),
    96.9vw 16.1vh 0 rgba(255,255,255,0.51),
    1.2vw 64.3vh 0 rgba(180,205,255,0.56),
    25.8vw 29.1vh 0 rgba(255,255,255,0.57),
    32.9vw 39.8vh 0 rgba(255,255,255,0.36),
    43.7vw 38.4vh 0 rgba(255,255,255,0.42),
    46.2vw 45.8vh 0 rgba(255,255,255,0.46),
    68.6vw 43.6vh 0 rgba(180,205,255,0.51),
    81.8vw 72.6vh 0 rgba(255,255,255,0.58),
    61.9vw 57.2vh 0 rgba(180,205,255,0.87);
  animation: gx-twinkle 9s ease-in-out -4s infinite alternate, gx-sway 130s ease-in-out -30s infinite alternate-reverse;
}

@keyframes gx-twinkle{ from{ opacity: 0.45; } to{ opacity: 1; } }
@keyframes gx-sway{ from{ transform: translate(0, 0); } to{ transform: translate(18px, 12px); } }

@media (prefers-reduced-motion: reduce){
  :root:not([data-theme="light"]) body::before,
  :root:not([data-theme="light"]) body::after{ animation: none; }
}

/* ── Light theme backdrop ──────────────────────────────────
   Sheryl, 2026-10-25: after a floating moon, a CSS sun and clouds, and a set
   of gold dials were all tried and passed over, "just have different hues of
   colour as background for now". So the light page gets soft colour washes
   only - lavender, sky blue, mint, peach and a touch of gold - and no moving
   parts. The night version keeps its stars. Fixed, so the colours
   stay put while the page scrolls. */
:root[data-theme="light"] body{
  /* Softer and broader (Sheryl, 2026-11-15): lower colour strength, larger
     patches that fade out further, so the tint reads as a wash rather than
     as separate blobs. (A more purple version was tried and was too much.) */
  background:
    radial-gradient(ellipse 90% 70% at 90% 0%, rgba(165,140,235,0.14), transparent 85%),
    radial-gradient(ellipse 85% 66% at 0% 30%, rgba(130,190,235,0.13), transparent 85%),
    radial-gradient(ellipse 85% 66% at 8% 100%, rgba(120,205,180,0.13), transparent 85%),
    radial-gradient(ellipse 85% 62% at 100% 85%, rgba(245,170,130,0.13), transparent 85%),
    radial-gradient(ellipse 65% 50% at 50% 50%, rgba(245,205,120,0.07), transparent 85%),
    var(--ink);
  background-attachment: fixed;
}
/* Phones only: same fixed-layer fix as the dark theme above. */
@media (max-width: 700px){
  :root[data-theme="light"] body{ background: var(--ink); }
  :root[data-theme="light"]::before{
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
      radial-gradient(ellipse 90% 70% at 90% 0%, rgba(165,140,235,0.14), transparent 85%),
      radial-gradient(ellipse 85% 66% at 0% 30%, rgba(130,190,235,0.13), transparent 85%),
      radial-gradient(ellipse 85% 66% at 8% 100%, rgba(120,205,180,0.13), transparent 85%),
      radial-gradient(ellipse 85% 62% at 100% 85%, rgba(245,170,130,0.13), transparent 85%),
      radial-gradient(ellipse 65% 50% at 50% 50%, rgba(245,205,120,0.07), transparent 85%);
  }
}

/* ── Today: the logged-in homepage (Sheryl, 2026-10-26) ─────
   Greeting, whose chart, a Today / Month switch, then one day at a time as
   three short cards: the day's energy, what it means for the chart, the
   hours. Same dark/light tokens as the rest of the page, no new colours. */
.today-head{ padding-bottom: 8px; }
.pro-hello{
  font-family: 'Fraunces', serif; font-size: clamp(30px, 5vw, 44px);
  font-weight: 600; line-height: 1.1; color: var(--paper);
}
.pro-date, .pro-sub{
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--muted);
  margin-top: 6px;
}
.viewing-row{
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px;
}
.viewing-row label{
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted);
}
.viewing-row select,
.when-field select{
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper);
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 8px 12px; min-width: 150px; max-width: 100%;
}
.viewing-row select option,
.when-field select option{ color: var(--paper); background: var(--ink); }
.viewing-row select,
.when-field select{ color-scheme: dark; }
:root[data-theme="light"] .viewing-row select,
:root[data-theme="light"] .when-field select{ color-scheme: light; }
.who-sub[hidden]{ display: none; }
.manage-profiles{
  margin-top: 16px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.manage-profiles[hidden]{ display: none; }
#today-month-tabs{ margin-top: 22px; margin-bottom: 8px; }

.day-dash{ display: grid; gap: 14px; }
.dd-date{
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--paper);
}
.dd-card{
  padding: 22px 20px;
  border: 1px solid var(--line); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.dd-h{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 12px;
}
.dd-h-sub{
  text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 13px; margin-left: 10px;
}
.dd-officer{ display: flex; align-items: center; gap: 16px; }
.dd-headline{
  font-family: 'Fraunces', serif; font-size: clamp(17px, 4.4vw, 20px); font-weight: 600;
  line-height: 1.25; color: var(--paper);
}
.dd-outside-h{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--jade);
}
.dd-card.has-score{ position: relative; }
.dd-score{ position: absolute; top: 16px; right: 18px; font-size: 15px; font-weight: 600; }
.dd-dateline{
  text-align: left; margin: -2px 0 14px;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--muted);
}
.dd-card.has-side{ position: relative; }
/* Day arrows: outside the card, on a desktop only (Sheryl, 2026-11-13). Below
   820px, and on any touch screen, a swipe does the job. The day area borrows
   36px of the page gutter each side so the arrows are not clipped by the
   slide animation. */
.dd-step{
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 64px; padding: 0; cursor: pointer;
  background: none; border: 0; color: var(--muted);
  font-family: 'Space Grotesk', sans-serif; font-size: 28px; line-height: 1;
}
.dd-step.is-prev{ left: -34px; }
.dd-step.is-next{ right: -34px; }
.dd-step:hover{ color: var(--brass); }
@media (min-width: 820px) and (pointer: fine){
  #today-dash{ margin: 0 -36px; padding: 0 36px; }
  .dd-step{ display: block; }
}
.dd-swipe-hint{
  text-align: left; margin: -8px 0 12px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: var(--muted-soft);
}
/* The day slides out, the next slides in. */
#today-dash{ overflow-x: clip; }
.day-dash.dd-out-next{ transform: translateX(-36px); opacity: 0; transition: transform 0.15s ease-in, opacity 0.15s ease-in; }
.day-dash.dd-out-prev{ transform: translateX(36px); opacity: 0; transition: transform 0.15s ease-in, opacity 0.15s ease-in; }
.day-dash.dd-in-next{ animation: ddInNext 0.22s ease-out; }
.day-dash.dd-in-prev{ animation: ddInPrev 0.22s ease-out; }
@keyframes ddInNext{ from{ opacity: 0; transform: translateX(36px); } to{ opacity: 1; transform: none; } }
@keyframes ddInPrev{ from{ opacity: 0; transform: translateX(-36px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .day-dash.dd-in-next, .day-dash.dd-in-prev{ animation: none; }
}
.dd-step:focus-visible{ outline: 2px solid var(--brass); outline-offset: -2px; border-radius: 4px; color: var(--brass); }
/* "Today" (on any other day) and "Month View" sit together on the heading row. */
.dd-row-actions{ display: flex; align-items: baseline; gap: 18px; }
.dd-lede{ margin-top: 14px; }
.dd-quote{
  margin: 14px 0 0; font-family: 'Fraunces', serif; font-size: 16.5px; line-height: 1.5; color: var(--paper);
}
.dd-quote[hidden]{ display: none; }
.dd-quote + .dd-lede{ margin-top: 10px; }
.dd-approach{ margin-top: 22px; display: grid; gap: 18px; }
.dd-approach-h{
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--brass);
}
/* Good for in green, Caution for in orange: the label says which way it leans. */
.dd-approach-group.is-good .dd-approach-h{ color: #46c28f; }
.dd-approach-group.is-caution .dd-approach-h{ color: var(--brass); }
:root[data-theme="light"] .dd-approach-group.is-good .dd-approach-h{ color: #2b8a62; }
.dd-approach-row{
  margin: 0; font-family: 'Fraunces', serif; font-size: 15.5px; line-height: 1.55; color: var(--paper);
}
.dd-sep{ margin: 0 3px; color: var(--muted-soft); }
.dd-approach-item{ white-space: nowrap; }
.dd-h.has-action{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dd-h-action{
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none;
  color: var(--brass); border-bottom: 1px solid transparent;
}
.dd-h-action:hover{ border-bottom-color: var(--brass); }
/* On a phone the twelve hours sit behind the button; on a wide screen they are
   simply shown, so there is nothing to open. */
@media (max-width: 700px){
  .dd-allhours.is-collapsed{ display: none; }
}
@media (min-width: 701px){
  .dd-h-action[aria-expanded]{ display: none; }
}
.dd-officer-cn{
  flex: none; width: 88px; height: 88px; display: grid; place-items: center;
  border: 1.5px solid var(--brass); border-radius: 50%;
  font-family: 'Fraunces', serif; font-size: 46px; line-height: 1; color: var(--brass);
  background: color-mix(in srgb, var(--brass) 8%, transparent);
}
/* A livelier green than the page's jade, so a green day matches the orange
   one in strength rather than fading back. */
.dd-officer-cn.is-green{
  border-color: #46c28f; color: #46c28f;
  background: color-mix(in srgb, #46c28f 12%, transparent);
}
:root[data-theme="light"] .dd-officer-cn.is-green{
  border-color: #2b8a62; color: #2b8a62;
  background: color-mix(in srgb, #2b8a62 10%, transparent);
}
.dd-officer-text{ min-width: 0; }
.dd-officer-name{
  margin-bottom: 5px;
  font-family: 'Fraunces', serif; font-size: clamp(17px, 4.4vw, 20px); line-height: 1.25;
  font-weight: 600; color: var(--brass);
}
.dd-officer-name.is-green{ color: #46c28f; }
:root[data-theme="light"] .dd-officer-name.is-green{ color: #2b8a62; }
.dd-officer-plain{
  font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.45; color: var(--muted); margin-top: 3px;
}
.dd-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
/* One type scale for the whole Today page (Sheryl, 2026-11-13: "I want it to
   be aligned"). Two typefaces only:
     Fraunces       20px headline and day name   |  15px every sentence
     Space Grotesk  15px tags, date, score, picker  |  13px secondary (times,
                    animals, links, small labels)   |  12px caps section headings
   Written with the page id so it wins over the older per-component sizes. */
:is(#today-dash, #month-day-detail) .dd-quote, :is(#today-dash, #month-day-detail) .dd-note, :is(#today-dash, #month-day-detail) .dd-lede,
:is(#today-dash, #month-day-detail) .dd-approach-row, :is(#today-dash, #month-day-detail) .dd-approach-item,
:is(#today-dash, #month-day-detail) .dd-row-text, :is(#today-dash, #month-day-detail) .dd-empty, :is(#today-dash, #month-day-detail) .hr-pillar,
:is(#today-dash, #month-day-detail) .dd-allhours .interest-fine{ font-size: 15px; }
/* "Good for" / "Caution for" use the same typeface and size as the items
   under them (bold, coloured), not a different one. */
:is(#today-dash, #month-day-detail) .dd-approach-h{ font-family: 'Fraunces', serif; font-size: 15px; }
:is(#today-dash, #month-day-detail) .hr-tag, :is(#today-dash, #month-day-detail) .dd-dateline, :is(#today-dash, #month-day-detail) .dd-score,
:is(#today-dash, #month-day-detail) .viewing-row label, :is(#today-dash, #month-day-detail) .viewing-row .gs-btn{ font-size: 15px; line-height: 1.3; }
:is(#today-dash, #month-day-detail) .hr-start, :is(#today-dash, #month-day-detail) .hr-full, :is(#today-dash, #month-day-detail) .hr-range, :is(#today-dash, #month-day-detail) .hr-animal,
:is(#today-dash, #month-day-detail) .dd-h-action, :is(#today-dash, #month-day-detail) summary, :is(#today-dash, #month-day-detail) .dd-outside-sub,
:is(#today-dash, #month-day-detail) .bh-label, :is(#today-dash, #month-day-detail) .bh-hour,
:is(#today-dash, #month-day-detail) .alt-toggle, :is(#today-dash, #month-day-detail) .dd-footnote{ font-size: 13px; }
.dd-note{
  font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 10px;
}
.dd-row{
  display: grid; grid-template-columns: minmax(170px, 230px) 1fr; gap: 6px 16px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.dd-h + .dd-row, .dd-card > .dd-row:first-child{ border-top: 0; padding-top: 0; }
.dd-row .hr-tag{ justify-self: start; white-space: normal; font-size: 15px; line-height: 1.3; }
.dd-row-text{ font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.5; color: var(--muted); }
.dd-empty{
  font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; color: var(--muted-soft); margin-bottom: 10px;
}
.dd-more{ margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.dd-more summary{
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--brass); cursor: pointer;
}
.dd-more-body{ margin-top: 14px; display: grid; gap: 14px; }
.dd-more-body .td-more{ justify-self: start; }
.dd-more-body .alt-toggle{ justify-self: start; }
.dd-hours .hour-list{ margin-top: 0; }
.dd-allhours{ margin-top: 12px; }
.hour-row.is-quiet{ opacity: 0.72; }
.dd-jump{
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px;
}
.dd-jump p{ font-family: 'Fraunces', serif; font-size: 15px; color: var(--muted); }
.month-select{ margin-top: 28px; }
#month-day-detail{ margin-top: 18px; }

@media (max-width: 620px){
  .dd-row{ grid-template-columns: 1fr; }
  .dd-card{ padding: 16px 16px; }
  .dd-officer-cn{ width: 80px; height: 80px; font-size: 42px; }
}

/* The phone menu's way into the account items (My Profile, My Chart, Sign
   in/out). Added by site.js; there is no use for it once the header's links sit
   inline, because the hamburger opens the account menu directly then. */
.nav-account-link{
  display: none;
  background: none; border: 0; border-top: 1px solid var(--line);
  margin-top: 6px; padding: 14px 0 6px;
  color: var(--muted); font-family: 'Space Grotesk', sans-serif; font-size: 15px;
  text-align: center; cursor: pointer;
}
@media (max-width: 880px){
  .nav-account-link{ display: block; }
}

/* ── Who is this for (Business) ──────────────────────────────
   Sheryl, 2026-10-26, from a reference: saved profiles as pills with the one
   in use ticked, an Add person pill, the birth details on one line with Edit
   details beside it, and a Person details panel that opens in place. */
.who{ margin-top: 26px; }
.who-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.who-title{ font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--paper); }
.who-sub{ font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: var(--muted-soft); }
.who-pills{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.who-pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 3px; cursor: pointer;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 14.5px;
}
.who-pill:hover{ border-color: var(--muted-soft); }
.who-pill.is-on{ border-color: var(--brass); background: rgba(201,138,62,0.10); }
.who-ico{ font-size: 14px; line-height: 1; }
.who-line{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted);
}
.who-details{
  display: grid; gap: 10px; margin-top: 12px; padding: 16px;
  border: 1px solid var(--line); border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.who-details[hidden]{ display: none; }
.who-details-title{ font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper); }
.who-details input{
  width: 100%; height: 46px; padding: 0 14px; border-radius: 3px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 14.5px;
}
.who-details input:focus{ outline: none; border-color: var(--brass); }
.who-details input::placeholder{ color: var(--muted-soft); }
.who-details-actions{ display: flex; gap: 10px; }
.who-details-actions button{
  flex: 1; height: 46px; padding: 0 16px; border-radius: 3px; cursor: pointer;
  border: 1px solid var(--line); background: none; color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 14px;
}
.who-details-actions button:hover{ border-color: var(--muted-soft); }
.who-details-actions .is-ghost{ border-color: var(--brass); color: var(--brass); }

.when-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.when-field label{
  display: block; margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: var(--muted);
}
.when-field select{ width: 100%; min-width: 0; }
/* Weekends Only (Marriage): a tick box on the same row as the window fields. */
.when-check{ display: flex; align-items: flex-end; }
.when-check label{ display: flex; align-items: center; gap: 10px; height: 46px; margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; }
.when-check input{ width: 18px; height: 18px; accent-color: var(--brass); }
/* With Weekends Only on, weekdays stay on the calendar but step back. */
.cal-day.is-offday{ opacity: 0.4; }

/* ── See-through dropdowns (assets/js/glass-select.js) ───────
   The open list is drawn by the page, so it can be tinted and blurred and let
   the starfield (or the light-theme washes) show through; the real <select>
   stays in the page, hidden, as the value everything else reads. */
.gs{ position: relative; display: inline-block; min-width: 150px; max-width: 100%; }
.field .gs, .when-field .gs{ display: block; width: 100%; }
.gs-native{ display: none !important; }
.gs-btn{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 8px 12px; text-align: left; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper);
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line); border-radius: 4px;
}
.field .gs-btn, .when-field .gs-btn{ height: 46px; padding: 0 14px; font-size: 14.5px; }
/* On Business and Career the Viewing for / Planning for dropdowns and the Time
   Window boxes share one height, 40px (Sheryl, 2026-11-08). */
#pro-panel-business .viewing-row .gs-btn, #pro-panel-career .viewing-row .gs-btn,
#pro-panel-business .when-field .gs-btn, #pro-panel-career .when-field .gs-btn,
#pro-panel-business .when-field input[type="text"], #pro-panel-career .when-field input[type="text"]{
  height: 40px; padding: 0 14px; font-size: 14px;
}
/* Marriage: the Planning for dropdown and every field on its forms, plus the Find
   Dates button, are 40px in the same 14px type. */
#pro-panel-marriage .viewing-row .gs-btn,
#pro-panel-marriage .when-field .gs-btn,
#pro-panel-marriage .when-field input[type="text"],
#pro-panel-marriage .chart-add .field input,
#pro-panel-marriage .chart-add button{
  height: 40px; padding: 0 14px; font-size: 14px;
}
/* The Find My Dates button and the field labels follow the same height and type. */
#pro-panel-business .btn-primary, #pro-panel-career .btn-primary, #pro-panel-marriage .btn-primary{
  display: inline-flex; align-items: center; height: 40px; padding: 0 24px; font-size: 14px;
}
#pro-panel-business .when-field label, #pro-panel-career .when-field label, #pro-panel-marriage .when-field label{ font-size: 13px; }
.gs-btn::after{ content: '▾'; font-size: 12px; color: var(--muted); }
.gs-btn:hover{ border-color: var(--muted-soft); }
.gs-btn:focus-visible, .gs.is-open .gs-btn{ outline: none; border-color: var(--brass); }
.gs-list{
  position: absolute; left: 0; min-width: 100%; top: calc(100% + 4px); z-index: 70;
  margin: 0; padding: 4px; list-style: none; max-height: 320px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--muted-soft) transparent;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .gs-list{
    background: color-mix(in srgb, var(--ink) 52%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
  }
}
.gs-list[hidden]{ display: none; }
.gs.is-up .gs-list{ top: auto; bottom: calc(100% + 4px); }
.gs-opt{
  padding: 10px 12px; border-radius: 3px; cursor: pointer; white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper);
}
.gs-opt:hover, .gs-opt.is-active{ background: color-mix(in srgb, var(--paper) 10%, transparent); }
.gs-opt.is-selected{ color: var(--brass); }
.gs-opt.is-selected::after{ content: '✓'; margin-left: 14px; float: right; }
.gs-opt.is-disabled{ opacity: 0.45; cursor: default; }

/* Search from: a plain typed date, in the same box as the other inputs. */
.when-field input[type="text"]{
  width: 100%; height: 46px; padding: 0 14px; border-radius: 3px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 14.5px;
}
.when-field input[type="text"]:focus{ outline: none; border-color: var(--brass); }
.when-field input[type="text"]::placeholder{ color: var(--muted-soft); }
.viewing-row[hidden]{ display: none; }

/* ── Flip cards (Business results) ───────────────────────────
   Double-click or double-tap a result to turn it over to its hours. Only one
   face shows at a time, so the card is as tall as that face. The turn is a
   quick edge-on squash and re-open (see renderCareerCard). */
.flip-card{ touch-action: manipulation; }
.flip-card .flip-face{
  backface-visibility: hidden;
}
.flip-card .flip-face[hidden]{ display: none; }
.flip-card .flip-back .dd-h{ margin-top: 14px; }
.flip-foot{
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
}
.flip-back .flip-btn{ margin-top: 12px; }

/* ── Hours laid out across, on a desktop ────────────────────
   Sheryl, 2026-10-27, looking at the hour list stretched over a wide card:
   "can it be horizontal?". On a wide screen the twelve hours become a grid
   of cells instead of one long row-per-hour table - six across (two rows) on
   a wide screen, four across (three rows) on a narrower desktop - each cell
   the hour, its pillar and animal, and its markers stacked. A phone keeps the
   plain list. The highlights view just leaves the quiet cells out, so the grid
   shortens itself. */
@media (min-width: 900px){
  .hour-list{
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px; background: var(--line);
  }
  .hour-cols{ display: none; }
  .hour-row{
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
    grid-template-areas: "range pillar" "markers markers"; gap: 8px 10px;
    padding: 14px 14px 16px; border-bottom: 0;
    background: color-mix(in srgb, var(--ink) 78%, transparent);
  }
  /* Time on the left, the hour's Chinese and animal on the right, the stars
     underneath; the compact lists show the whole stretch of the hour. */
  .hr-range{ grid-area: range; }
  .hr-pillar-cell{ grid-area: pillar; }
  .hr-markers{ grid-area: markers; }
  .hr-pillar{ font-size: 13px; color: var(--muted); }
  .hr-animal{ font-size: 13px; color: var(--muted); }
  .hr-animal::before{ content: '\00b7\00a0'; }
  .hr-start{ display: none; }
  .hr-full{ display: inline; }
  .hr-clash-bolt{ top: auto; bottom: 14px; transform: none; }
  .hour-row.is-clash{ border-left: 0; padding-left: 14px; box-shadow: inset 0 3px 0 var(--clay); }
  .hour-row.is-now{ box-shadow: inset 0 3px 0 var(--brass); }
  .hour-row.is-now.is-clash{ box-shadow: inset 0 3px 0 var(--clay); }
  .hr-pillar-cell{ display: flex; align-items: baseline; gap: 8px; }
  .hr-animal{ margin-top: 0; }
  .hr-markers{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .hr-tag{ white-space: normal; }
}
@media (min-width: 1180px){
  .hour-list{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Business activities on a phone: four, then a button for the rest. */
/* "More activities": a dashed box like the homepage's "Show more occasions"
   bar, not a text link (Sheryl, 2026-10-30). */
.more-activities{
  display: none; width: 100%; margin-top: 10px; padding: 12px; text-align: center;
  border: 1px dashed color-mix(in srgb, var(--paper) 22%, transparent); border-radius: 5px;
  background: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.more-activities:hover{ border-color: color-mix(in srgb, var(--brass) 55%, transparent); color: var(--paper); }
#business-pills-note{ margin-top: 14px; }
@media (max-width: 700px){
  .more-activities{ display: block; }
  .career-pills.is-collapsed .career-pill:nth-child(n+5):not(.is-active){ display: none; }
  #business-pills.is-collapsed ~ #business-pills-note{ display: none; }
}

/* ── Business results, compact on a phone ────────────────────
   Sheryl, 2026-10-27: shorter cards on a phone, and Chinese only where it is
   the name of the thing. One line a row (its explanation opens on a tap), the
   Chinese in row names and hour markers hidden unless "Show Chinese" is on, and
   the twelve hours two across - all twelve visible, no sideways swiping. */
.results-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cn-toggle{ display: none; }
.flip-tip{ display: none; font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--muted-soft); }
@media (hover: none){
  .flip-tip{ display: inline; }
}
@media (max-width: 700px){
  .cn-toggle{ display: inline-block; }
  html.cn-off .flip-card .cn{ display: none; }
  .flip-card .cdt-line{ font-size: 13.5px; line-height: 1.5; margin-top: 8px; }
  .flip-card .cdt-rows{ margin-top: 12px; }
  .flip-card .cdt-row{ grid-template-columns: 1fr auto; gap: 10px; padding: 7px 0; cursor: pointer; }
  .flip-card .cdt-rows.no-values .cdt-row{ grid-template-columns: 1fr; }
  .flip-card .cdt-note{ display: none; }
  .flip-card .cdt-row.is-open .cdt-note{ display: block; }
  .flip-card .cdt-name{ font-size: 14px; }

}

/* ── The hours as plain text (Sheryl, 2026-10-27: "I don't like the boxes, I
   want it horizontal") ──────────────────────────────────
   No outlined chips and no boxed cells: each hour reads left to right - the
   time and the hour on the left, its stars on the right one to a line, the
   Chinese beside the English in a colour that still says what kind of star it
   is (green supportive, grey cautionary, gold a formula marker). On a desktop (900px
   and up) the boxes stay, as in the block above. Only
   the compact hour lists (the day dashboards and the flip card's back); the
   older full hour guide is unchanged. */
@media (max-width: 899px){
  .hour-list.is-highlights{ border: 0; border-radius: 0; background: none; margin-top: 6px; }
  .hour-list.is-highlights .hour-cols{ display: none; }
  .hour-list.is-highlights .hour-row{
    display: grid; grid-template-columns: 70px 1fr;
    grid-template-areas: "range markers" "pillar markers";
    column-gap: 14px; row-gap: 2px; align-items: start;
    padding: 10px 0; border-bottom: 1px solid var(--line);
    background: none; box-shadow: none;
  }
  .hour-list.is-highlights .hour-row:last-child{ border-bottom: 0; }
  .hour-list.is-highlights .hr-range{ grid-area: range; color: var(--paper); font-weight: 600; font-size: 13px; }
  .hour-list.is-highlights .hr-pillar-cell{ grid-area: pillar; display: flex; align-items: baseline; gap: 6px; }
  .hour-list.is-highlights .hr-animal{ margin-top: 0; }
  .hour-list.is-highlights .hr-markers{ grid-area: markers; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
  .hour-list.is-highlights .hr-tag{
    border: 0; padding: 0; background: none; white-space: normal;
    font-size: 13.5px; line-height: 1.4; color: var(--paper);
  }
  .hour-list.is-highlights .hr-tag.is-good{ color: var(--jade); }
  .hour-list.is-highlights .hr-tag.is-bad{ color: var(--muted); }
  .hour-list.is-highlights .hr-tag .cn{ margin-right: 8px; color: var(--muted-soft); }
  .hour-list.is-highlights .hr-tag.is-good .cn{ color: var(--jade); }
  .hour-list.is-highlights .hr-tag.is-formula .cn{ color: var(--brass); }
  .hour-list.is-highlights .hr-tag.is-formula{ color: var(--brass); }
  /* The clashing hour and the current hour get a bar in the margin, so their
     text stays on the same line as every other hour's. */
  .hour-list.is-highlights{ overflow: visible; }
  .hour-list.is-highlights .hour-row{ position: relative; }
  .hour-list.is-highlights .hour-row.is-clash, .hour-list.is-highlights .hour-row.is-now{ border-left: 0; }
  .hour-list.is-highlights .hour-row.is-clash::before,
  .hour-list.is-highlights .hour-row.is-now::before{
    content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px;
    background: var(--brass);
  }
  .hour-list.is-highlights .hour-row.is-clash::before{ background: var(--clay); }
}

/* ── Account menu: the same see-through panel as every dropdown ─────────
   (Sheryl, 2026-10-31: "make sure is also transparent and consistent through
   out"). Same tint, blur, border, row size and hover as .gs-list. */
.account-menu{
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .account-menu{
    background: color-mix(in srgb, var(--ink) 52%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
  }
}
.account-item{ font-size: 14px; padding: 10px 12px; border-radius: 3px; }
.account-item:hover{ background: color-mix(in srgb, var(--paper) 10%, transparent); }
.row-actions .gs{ min-width: 110px; }
.gs-btn:disabled{ opacity: 0.6; cursor: not-allowed; }

.star-summary[hidden]{ display: none; }

/* ── Month view, laid out like the wireframe (Sheryl, 2026-10-31) ────────
   Title and arrows, Activity / Energy Theme side by side, Top Dates, the
   calendar (Monday first), a Selected Day card. The Today / Month toggle and
   Viewing for share one row above all of it. */
.head-grid{ display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; }
.head-left{ min-width: 0; }
.dd-outside-left{ display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.dd-outside-sub{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.dd-outside-row{ display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; margin-top: 22px; }
.dd-outside-row .viewing-row{ margin-top: 0; align-items: center; }
/* On the For You row the profile picker reads as the control that sets whose
   chart this section is calculated for: brighter label, brass-edged button. */
.dd-outside-row .viewing-row label{ font-size: 14px; color: var(--paper); }
.dd-outside-row .viewing-row .gs-btn{
  height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600;
  border-color: var(--brass);
  background: color-mix(in srgb, var(--brass) 10%, transparent);
}
.day-dash > .dd-outside-row:first-child{ margin-top: 0; }
.view-row{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.view-row .section-label{ margin-bottom: 0; }
.viewing-row .alt-toggle{ font-size: 12.5px; }
.manage-profiles{ margin-top: 14px; }

.month-head{ display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; }
.month-head-left{ min-width: 0; }
.month-head-right{ display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; margin-left: auto; }
.month-eyebrow{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--jade); margin-bottom: 4px;
}
.month-title{
  font-family: 'Fraunces', serif; font-size: clamp(24px, 4vw, 32px); font-weight: 600;
  color: var(--paper); line-height: 1.15; margin: 0;
}
/* Today, Go to Date and Day View on one line under the header. */
.month-sub{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.month-sub-left{ display: flex; align-items: center; gap: 8px; }
.month-sub .alt-toggle{ font-size: 13px; color: var(--paper); padding: 0; }
.month-sub .alt-toggle:disabled{ color: var(--muted-soft); cursor: default; }
.month-sep{ color: var(--muted-soft); }
/* Everything in the Month view above the selected day sits on one translucent
   panel (Sheryl, 2026-11-13). No blur and no solid fill: the galaxy backdrop
   has to stay visible through it, like the other cards. */
.month-card{
  padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 2.5%, transparent);
}
@media (max-width: 560px){ .month-card{ padding: 16px 14px 18px; } }
.month-nav{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.month-nav button:not(.alt-toggle), .sel-day-nav button:not(.alt-toggle){
  min-width: 38px; height: 38px; padding: 0 10px;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  border: 1px solid var(--line); border-radius: 4px; color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 18px; line-height: 1; cursor: pointer;
}
.month-nav button:not(.alt-toggle):hover:not(:disabled), .sel-day-nav button:not(.alt-toggle):hover:not(:disabled){ border-color: var(--brass); color: var(--brass); }
.month-nav button:disabled, .sel-day-nav button:disabled{ opacity: 0.3; cursor: default; }
.month-nav button:not(.alt-toggle){ border-radius: 999px; }
.month-nav button.cal-today:not(.alt-toggle){ font-size: 14px; padding: 0 16px; }
.month-nav .alt-toggle{ font-size: 14px; color: var(--paper); padding: 0 6px; }
#dayJumpForm{ margin-top: 12px; }
#pro-year .form-error:empty{ display: none; }

/* Calendar Display: the Simple / Full switch, under Viewing for in the head
   and only while the Month view is open. */
.cal-display{ display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; margin: 0; }
.cal-display[hidden]{ display: none; }
.cal-display-label{
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.seg{ display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 4%, transparent); }
.seg label{ position: relative; cursor: pointer; }
.seg input{ position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span{
  display: block; padding: 7px 16px; border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--muted);
}
.seg input:checked + span{ background: color-mix(in srgb, var(--paper) 10%, transparent); color: var(--paper); }
.seg input:focus-visible + span{ outline: 2px solid var(--brass); outline-offset: 1px; }

.month-filters{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin: 16px 0 4px; align-items: end; }
.month-filters .field label{
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-soft);
}
#pro-year .month-filters .gs-btn{ height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.gs-text{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-btn{ min-width: 0; }

.topdays-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.topdays-note{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--muted-soft); }
.topdays-head + .star-summary{ margin-top: 8px; }

/* Top dates: bigger, brighter chips that read as the things to press, and the one
   being shown is filled. */
#pro-year .topdays-head{ margin-top: 20px; }
#pro-year .topdays-head .ss-label{ font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--brass); }
#pro-year .star-summary{ margin: 10px 0 20px; gap: 10px; }
/* The green heading above the panel, same as "Today's energy" on the Today screen. */
#pro-year > .month-outside{ margin: 0 0 10px; }
#pro-year .ss-day{
  min-height: 40px; padding: 8px 16px; border-radius: 8px;
  border: 1px solid rgba(201,138,62,0.7); background: rgba(201,138,62,0.16);
  font-size: 14px; font-weight: 600;
}
#pro-year .ss-day:hover, #pro-year .ss-day.is-active{ background: rgba(201,138,62,0.34); color: var(--paper); }
#pro-year .ss-mark{ font-size: 12px; }

/* The calendar itself, easier to read: brighter weekday letters, dates and Day
   Officer labels, past days only dimmed, and the neighbouring months' days
   shown muted in place of blank squares. */
#pro-year .cal-dow{ font-size: 11px; color: var(--muted); }
#pro-year .cal-day{ border-color: color-mix(in srgb, var(--paper) 16%, transparent); background: color-mix(in srgb, var(--paper) 4%, transparent); }
#pro-year .cal-day.is-past{ opacity: 0.6; }
#pro-year .cd-pillar{ font-size: 10px; color: color-mix(in srgb, var(--paper) 72%, transparent); }
#pro-year .cd-off-en{ font-size: 9.5px; color: var(--muted); }
#pro-year .cd-man-en{ font-size: 9px; color: color-mix(in srgb, var(--paper) 58%, transparent); }
#pro-year .cd-man-cn{ font-size: 12px; }
.cal-adj{
  min-height: 92px; padding: 8px; border: 1px solid var(--line); border-radius: 3px;
  background: color-mix(in srgb, var(--paper) 1.5%, transparent);
}
.cal-adj .cd-num{ color: var(--muted-soft); }
@media (max-width: 720px){ .cal-adj{ min-height: 68px; padding: 5px 4px 6px; } }
.dd-best .bh{ margin: 0 0 14px; }
/* Best Hours: the supporting-star hours, under the date on a Business or Career card. */
.bh{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; margin: 8px 0 4px; }
.bh-label{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--muted-soft); margin-right: 2px; }
.bh-hour{
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; line-height: 1;
  padding: 5px 9px; border-radius: 999px; color: var(--jade);
  border: 1px solid color-mix(in srgb, var(--jade) 45%, transparent);
  background: color-mix(in srgb, var(--jade) 10%, transparent);
}

.cal-foot{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; }
.cal-legend-box{ width: 100%; }
.cal-legend-box .cal-legend{ margin-top: 10px; }

.sel-day{
  margin-top: 22px; padding: 16px 18px 18px;
  border: 1px solid var(--line); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.sel-day-head{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.sel-day-nav{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sel-day .chart-add{ margin-top: 12px; }
.sel-day .chart-add[hidden]{ display: none; }
.sel-day-empty{ font-family: 'Fraunces', serif; font-size: 17px; color: var(--paper); margin: 14px 0 2px; }
.sel-day .day-dash{ margin-top: 14px; }
@media (max-width: 340px){
  .month-filters{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  #pro-year .topdays-head{ flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ── FAQ (landing page, above the footer) ────────────────────
   A single-column accordion on native <details>/<summary>, so it opens and
   closes with a click, Enter or Space and is announced as a disclosure
   without any script. Questions are collapsed on load; thin dividers, no
   cards; the chevron turns when open. */
.faq-list{ max-width: 760px; border-top: 1px solid var(--line); margin-top: 8px; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-family: 'Fraunces', serif; font-size: clamp(17px, 2vw, 19px); line-height: 1.4;
  color: var(--paper);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease;
}
.faq-item[open] summary::after{ transform: rotate(-135deg) translateY(-2px); }
.faq-item summary:hover{ color: var(--brass); }
.faq-item summary:focus-visible{ outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
.faq-answer{ padding: 0 2px 22px; max-width: 680px; }
.faq-answer p{ margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
@media (prefers-reduced-motion: reduce){
  .faq-item summary::after{ transition: none; }
}
.faq-more{ max-width: 760px; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.faq-more a{ color: var(--brass); }
.faq-learn{ margin: 12px 0 0; font-size: 14px; }
.faq-learn a{ color: var(--brass); text-decoration: none; border-bottom: 1px solid transparent; }
.faq-learn a:hover{ border-bottom-color: var(--brass); }
.faq-cta{ max-width: 760px; margin: 40px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; }
.faq-cta h2{ margin: 0 0 8px; font-family: 'Fraunces', serif; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.35; font-weight: 500; color: var(--paper); }
.faq-cta p{ margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq-cta a{ color: var(--brass); font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.faq-cta a:hover{ border-bottom-color: var(--brass); }

/* On a phone the one-line subtitles under the page headings (Today, Marriage,
   Business, Career) are left out, so each page gets to its content sooner
   (Sheryl, 2026-11-08). */
@media (max-width: 700px){
  #pro-panel-marriage .eyebrow + h2 + .results-lead,
  #pro-panel-business .eyebrow + h2 + .results-lead,
  #pro-panel-career .eyebrow + h2 + .results-lead{ display: none; }
}

/* On a phone the Business and Career result cards use the full width of the
   page, the same as the Today cards, instead of sitting inset inside a second
   layer of side padding (Sheryl, 2026-11-08). */
@media (max-width: 700px){
  #business-results, #career-results{ padding-left: 0; padding-right: 0; }
}

/* Activity: the dropdown on a phone, every activity as a pill on a wide screen. */
@media (min-width: 701px){
  .plan-select-row{ display: none; }
}
@media (max-width: 700px){
  #career-pills, #business-pills, #m-occasion-pills{ display: none; }
}

/* Marriage on a phone: each person's time of birth sits beside their date, so
   the couple takes two rows instead of four (Sheryl, 2026-11-08). */
@media (max-width: 700px){
  #couple-form{ display: grid; grid-template-columns: 1fr 112px; gap: 14px; }
  #couple-form .field{ flex: none; min-width: 0; }
  #couple-form .field[hidden]{ display: none; }
  #couple-form #couple-name-field, #couple-form #save-couple{ grid-column: 1 / -1; }
  /* The parents: two to a row, so four fields take two rows on any phone. */
  #parents-form{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  #parents-form .field{ flex: none; min-width: 0; }
}

/* Marriage: the couple and parents fields sit right under their headings, with
   no empty saved-row, divider line or extra padding in between (Sheryl,
   2026-11-08). */
#marriage-saved-row:empty{ display: none; }
#couple-form, #parents-form{ margin-top: 0; padding-top: 0; border-top: 0; }

/* Save Couple's Chart takes the same type, colour and shape as Find My Dates,
   and keeps its own width rather than stretching across the form. */
#pro-panel-marriage #save-couple{
  font-weight: 400; color: var(--on-brass); padding: 0 24px; justify-self: start;
}
#pro-panel-marriage #save-couple:hover{ background: transparent; color: var(--brass); }

/* On a phone the account menu opens as the same full-width centred list, not a
   small floating card; the card stays for wider screens. */
@media (max-width: 880px){
  .account-menu{
    order: 4; position: static; width: 100%; min-width: 0;
    margin: 0; padding: 12px 0 0;
    background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0;
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* The same soft grey as the Pro tabs in the list before it. */
  .account-item{ text-align: center; padding: 10px 0; font-size: 15px; color: var(--muted); }
  .account-item:hover{ color: var(--paper); background: none; }
}

/* The Add a Profile link beside each Viewing for dropdown. */
.add-profile-link{ font-size: 12.5px; white-space: nowrap; }
.field-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field-head .add-profile-link{ margin: 0; }

/* ── Language toggle (hidden until translations are switched on) ─────────
   Built by assets/js/i18n.js: a small button beside the theme button, and a
   short menu under the header. */
.lang-toggle{
  order: 4;
  background: none; border: 1px solid var(--line); color: var(--muted);
  border-radius: 2px; min-width: 38px; height: 38px; padding: 0 9px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1;
  cursor: pointer; flex-shrink: 0;
}
.lang-toggle:hover{ color: var(--paper); border-color: var(--brass); }
.lang-menu{
  position: absolute; top: calc(100% - 8px); right: var(--pad-x); z-index: 60;
  min-width: 170px; padding: 6px; display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .lang-menu{ background: color-mix(in srgb, var(--ink) 52%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.lang-menu[hidden]{ display: none; }
.lang-item{
  background: none; border: 0; border-radius: 3px; padding: 10px 12px; text-align: center; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--muted);
}
.lang-item:hover{ color: var(--paper); background: color-mix(in srgb, var(--paper) 10%, transparent); }
.lang-item.is-on{ color: var(--on-brass); background: var(--brass); }
@media (max-width: 880px){
  .lang-toggle{ order: 0; }
  html.i18n-on header{ column-gap: 10px; }
  .lang-menu{ order: 4; position: static; width: 100%; min-width: 0; margin: 0; padding: 12px 0 0;
    background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0;
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Type for the other languages: the browser falls back from Fraunces and Space
   Grotesk to a Chinese or Thai face; Thai needs more line height and breaks
   words by itself. (Web fonts for both are a later polish, once the design is final.) */
html[lang="zh-Hans"] body{ line-height: 1.75; }
html[lang="th"] body{ line-height: 1.8; overflow-wrap: break-word; word-break: normal; }

/* The late-evening footnote on today's card: small and muted, with the one link. */
.dd-footnote{
  margin: 12px 0 0; padding: 0;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; line-height: 1.5; color: var(--muted-soft);
}
.dd-footlink{
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.dd-footlink:hover{ color: var(--muted); text-decoration-color: var(--muted-soft); }

/* Clashing hour in the highlights list: just a bolt at the right of the row. */
.hour-list.is-highlights .hour-row{ position: relative; }
.hr-clash-bolt{ position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--clay); font-size: 14px; line-height: 1; }
.hour-list.is-highlights .hour-row.is-clash .hr-markers{ padding-right: 28px; }

/* ── PRO PLANS AND CHECKOUT (signed-out Pro page) ───────────
   Sheryl, 2026-11-14. Free and Pro side by side; the Pro card carries the
   monthly price only (no Monthly / Yearly switch). The yearly price is its own
   call to action in a full-width band under both cards. Then a checkout
   step. Every figure is written by pro.js. */
.pp{ --pp-green: #46c28f; }
:root[data-theme="light"] .pp{ --pp-green: #2b8a62; }

.pp-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
#pp-checkout .pp-grid{ margin-top: 18px; }
.pp-card{
  display: flex; flex-direction: column; min-width: 0; padding: 26px 24px;
  border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.pp-card.is-pro{ border: 2px solid var(--brass); background: color-mix(in srgb, var(--brass) 8%, transparent); }
.pp-plan-row{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-plan{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}
.pp-card.is-pro .pp-plan{ color: var(--brass); font-weight: 700; }
.pp-badge{
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  color: var(--on-brass); background: var(--brass);
}
.pp-price{ font-family: 'Fraunces', serif; font-size: clamp(20px, 4.4vw, 24px); font-weight: 600; line-height: 1.2; color: var(--paper); margin: 10px 0 4px; }
.pp-per{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.pp-rule{ border-top: 1px solid var(--line); margin: 18px 0; }
.pp-card.is-pro .pp-rule{ border-top-color: color-mix(in srgb, var(--brass) 45%, transparent); }
.pp .pp-tagline{ max-width: none; font-family: 'Fraunces', serif; font-size: clamp(17px, 4.4vw, 20px); font-weight: 600; line-height: 1.25; color: var(--paper); margin: 0 0 8px; }
.pp .pp-desc{ max-width: none; font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.pp-list{ list-style: none; margin: 0; padding: 0; font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.5; color: var(--paper); }
.pp .pp-list li{ position: relative; padding-left: 26px; margin: 0 0 11px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.5; color: var(--paper); }
.pp-list li::before{ content: '\2713'; position: absolute; left: 0; top: 0; color: var(--pp-green); font-weight: 700; }
.pp .pp-nofree{ max-width: none; font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.55; color: var(--muted-soft); margin: 6px 0 0; }
.pp-spacer{ flex: 1; min-height: 8px; }
.pp-cta{
  width: 100%; margin-top: 22px; padding: 13px 22px; border: 1px solid var(--brass); border-radius: 3px; cursor: pointer;
  background: var(--brass); color: var(--on-brass);   /* white text on gold, like every gold fill on the site */
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600;
}
.pp-cta:hover{ filter: brightness(1.08); }
.pp-cta:focus-visible{ outline: 2px solid var(--paper); outline-offset: 2px; }

/* The foot of the Pro card is its price: Monthly and Yearly side by side, each
   with its own button. (The Free card has no price box - Sheryl, 2026-11-14.)
   The Pro card is the wider of the two so both boxes fit; they stack when the
   card itself is narrow, whatever the screen width. */
.pp .pp-card > .pp-nofree:last-child{ margin-bottom: 0; }
.pp-plans-grid{ grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.pp-card .pp-plan + .pp-tagline, .pp-plan-row + .pp-tagline{ margin-top: 12px; }
.pp .pp-card .pp-desc{ margin-bottom: 0; }
.pp-list + .pp-nofree{ margin-bottom: 18px; }
.pp-list{ margin-bottom: 18px; }
.pp-list:has(+ .pp-nofree), .pp-list:has(+ .pp-also){ margin-bottom: 0; }
/* One line under the Pro list for the rest of what Pro includes. */
.pp .pp-also{ max-width: none; font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.55; color: var(--muted); margin: 4px 0 18px; }
.pp-card.is-pro{ container-type: inline-size; }
.pp-options{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@container (max-width: 400px){ .pp-options{ grid-template-columns: 1fr; } }
.pp-option{
  display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 20px;
  border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); border-radius: 4px;
  background: color-mix(in srgb, var(--ink-deep) 35%, transparent);
}
.pp-opt-name{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.pp-option .pp-price{ margin: 6px 0 4px; }
/* The yearly saving sits beside the price, as a small green pill. */
.pp-price-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 4px; }
.pp-option .pp-price-row .pp-price{ margin: 0; }
.pp-opt-save{
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; line-height: 1;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  color: var(--pp-green); background: color-mix(in srgb, var(--pp-green) 14%, transparent);
}
.pp-option .pp-per{ margin-bottom: 14px; }
/* Both buttons sit on the same line, whatever each box has above it. */
.pp-option .pp-cta{ margin-top: auto; }
.pp-cta.is-outline{ background: none; color: var(--brass); }
.pp-cta.is-outline:hover{ filter: none; background: color-mix(in srgb, var(--brass) 14%, transparent); }
.pp .pp-foot{ max-width: none; font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; margin: 18px 0 0; }
.pp-foot .alt-toggle{ font-size: 13px; }
/* ── Reviews carousel, under the plans (Sheryl, 2026-11-14) ──
   One review at a time. Every slide sits in the same grid cell, so the box is
   as tall as the longest review and nothing jumps when they change. */
.rv{ margin-top: 48px; }
.rv-stage{
  display: grid; margin-top: 14px; padding: 26px 24px;
  border: 1px solid var(--line); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
}
.rv-slide{
  grid-area: 1 / 1; margin: 0; max-width: 720px; justify-self: center; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.rv-slide.is-on{ opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
.rv-slide blockquote{
  margin: 0; font-family: 'Fraunces', serif; font-size: clamp(17px, 4.4vw, 20px); line-height: 1.5; color: var(--paper);
}
.rv-slide blockquote::before{ content: 'C'; }
.rv-slide blockquote::after{ content: 'D'; }
.rv-slide figcaption{ margin-top: 16px; font-family: 'Space Grotesk', sans-serif; }
.rv-name{ display: block; font-size: 15px; font-weight: 600; color: var(--brass); }
.rv-role{ display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rv-dots{ display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.rv-dot{
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.rv-dot::after{
  content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: color-mix(in srgb, var(--paper) 28%, transparent);
}
.rv-dot.is-on::after{ background: var(--brass); }
.rv-dot:focus-visible{ outline: 2px solid var(--brass); outline-offset: -4px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce){ .rv-slide, .rv-slide.is-on{ transition: none; } }
@media (max-width: 760px){ .rv-stage{ padding: 22px 18px; } }

/* Checkout step. */
#pp-checkout > .alt-toggle{ margin-bottom: 14px; }
.pp-line{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--paper); margin: 0 0 10px; }
.pp-line.is-soft{ font-size: 13px; color: var(--muted); }
.pp-line.is-green{ font-size: 13px; color: var(--pp-green); }
.pp-line.is-total span:last-child{ font-size: 15px; font-weight: 600; }
.pp .pp-terms{ max-width: none; font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.pp-label{ display: block; font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.pp-label:first-child{ margin-top: 0; }
#pp-form input{
  width: 100%; box-sizing: border-box; height: 46px; padding: 0 15px; border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent);
  background: color-mix(in srgb, var(--paper) 5%, transparent); color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 14.5px;
}
#pp-form input:focus{ outline: none; border-color: var(--brass); }
.pp .pp-secure{ max-width: none;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.5; color: var(--muted);
  margin: 16px 0 0; padding: 14px; border: 1px dashed color-mix(in srgb, var(--paper) 35%, transparent); border-radius: 4px;
}
#pp-form .pp-cta{ margin-top: 16px; }
#pp-form .interest-fine{ margin-top: 10px; }

@media (max-width: 760px){
  .pp-grid, .pp-plans-grid{ grid-template-columns: 1fr; }
  /* Phone and narrow layouts: Monthly above, Yearly below, each full width. */
  .pp-options{ grid-template-columns: 1fr; }
  .pp-card{ padding: 22px 18px; }
}

/* The Month view on the same type scale (Sheryl, 2026-11-15): Fraunces 20
   headline / 15 sentences; Space Grotesk 15 controls and chips / 13 links and
   notes / 12 caps labels. The date numbers and glyphs inside each square are
   smaller (13px) so they balance the tiny labels; the arrow glyphs are left alone - they have to fit a square. */
#pro-year .month-title{ font-size: clamp(17px, 4.4vw, 20px); }
#pro-year .cd-num{ font-size: 13px; font-weight: 600; }
#pro-year .cd-off-cn{ font-size: 13px; }
#pro-year .cal-dow, #pro-year .ss-label, #pro-year .month-filters .field label,
#pro-year .dd-note-label{ font-size: 12px; }
#pro-year .month-sub .alt-toggle, #pro-year .add-profile-link, #pro-year .topdays-note,
#pro-year .cal-legend, #pro-year .cl-key{ font-size: 13px; }
#pro-year .seg span, #pro-year .month-filters .gs-btn, #pro-year .gs-text,
#pro-year .chart-add button, #pro-year .chart-add .field input, #pro-year .chart-add .field label,
#pro-year .ss-day{ font-size: 15px; }
#pro-year .chart-add .field label{ font-size: 12px; }
#year-note{ font-size: 15px; }

/* The twelve hours on a desktop: two columns, six rows (Sheryl, 2026-11-15),
   in the day cards. Other hour lists keep their own layout. */
@media (min-width: 900px){
  /* Read down the left column, then down the right: Zi, then Chou below it. */
  .dd-hours .hour-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; }
}

/* My Profiles on the same type scale (Sheryl, 2026-11-15): Fraunces 20 headings
   / 15 sentences; Space Grotesk 15 values / 13 links and notes / 12 labels.
   The big Chinese characters in the four pillar boxes and the star icons stay
   large on purpose. */
#pro-panel-people .results-lead, #pro-panel-people #chart-note{ font-size: 15px; }
#pro-panel-people .person-name, #pro-panel-people .sb-value{ font-size: 20px; }
#pro-panel-people .person-avatar{ font-size: 15px; }
#pro-panel-people .pr-pil, #pro-panel-people .pr-sep, #pro-panel-people .sb-use{ font-size: 15px; }
#pro-panel-people .pr-value{ font-size: 15px; }
#pro-panel-people .person-act, #pro-panel-people .pc-en{ font-size: 13px; }
#pro-panel-people .person-born, #pro-panel-people .pr-label, #pro-panel-people .pc-label,
#pro-panel-people .pc-el, #pro-panel-people .pc-sub, #pro-panel-people .sb-label{ font-size: 12px; }

/* Pricing boxes on the light theme (Sheryl, 2026-11-15): translucent like every
   other card, so the page's tint shows through - no white fill. The outlined
   button gets a darker gold so its text is readable on a light page. */
:root[data-theme="light"] .pp-card{ background: color-mix(in srgb, var(--paper) 3%, transparent); }
:root[data-theme="light"] .pp-card.is-pro{ background: color-mix(in srgb, var(--brass) 8%, transparent); }
:root[data-theme="light"] .pp-option{
  background: color-mix(in srgb, var(--paper) 3.5%, transparent);
  border-color: color-mix(in srgb, var(--paper) 18%, transparent);
}
:root[data-theme="light"] .pp-cta.is-outline{ color: #8a5a1f; box-shadow: none; border-color: #b57a2e; }
:root[data-theme="light"] .pp-cta.is-outline:hover{ background: color-mix(in srgb, var(--brass) 16%, transparent); }

/* ── ONE TYPE SCALE, SITE-WIDE (Sheryl, 2026-11-15) ───────────
   Fraunces 20 headings / 15 sentences. Space Grotesk 15 controls and values /
   13 links, notes and fine print / 12 caps labels. Left as they are on
   purpose: page titles (h1) and section titles (h2), the home hero, the logo,
   the navigation (14px), buttons (14px, the site button), the big Chinese
   glyphs and icons. */
body section p:not(.hero-sub), body article p, body details p{ font-size: var(--fs-read); }
body .section p strong, body article p strong{ font-size: inherit; }
body .interest-fine, body .step-sub, body .footer-note, body .back-btn, body .faq-more{ font-size: 13px; }
body footer a, body footer li{ font-size: 13px; }
body footer h4, body label, body .field label, body th, body .goal-group-label, body .lbl-opt,
body .cl-key, body .pp-label{ font-size: 12px; }
body h3, body summary, body section h2.card-title, body .cal-title{ font-size: 20px; }
body .results-lead{ font-size: var(--fs-read); }
body .gs-opt, body .gs-text, body select, body option, body .ct-title{ font-size: var(--fs-ctrl); }
body .career-pill, body .topic-pill, body .alt-toggle, body .goal-pill{ font-size: 13px; }
body section li{ font-size: var(--fs-read); }
/* The sign-in pop-up and the checkout form on the same scale. */
body .signin-modal h2{ font-size: 20px; }
body .signin-modal input, body #pp-form input, body .interest-row input{ font-size: var(--fs-ctrl); }

/* Dark theme on a phone: fewer stars show (Sheryl, 2026-11-15). Same galaxy, but
   the dots are dimmer and the second, larger layer is dimmer still, so the
   screen reads as calmer. The twinkle keeps its own timing. */
@keyframes gx-twinkle-soft{ from{ opacity: 0.18; } to{ opacity: 0.55; } }
@keyframes gx-twinkle-softer{ from{ opacity: 0.1; } to{ opacity: 0.35; } }
@media (max-width: 700px){
  :root:not([data-theme="light"]) body::before{ opacity: 0.4; }
  :root:not([data-theme="light"]) body::after{ opacity: 0.25; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference){
  :root:not([data-theme="light"]) body::before{
    animation: gx-twinkle-soft 6s ease-in-out infinite alternate;
  }
  :root:not([data-theme="light"]) body::after{
    animation: gx-twinkle-softer 9s ease-in-out -4s infinite alternate;
  }
}

/* The Almanac on a phone: no solid line under the last Officer (Close Day), where
   the dotted section line follows straight after (Sheryl, 2026-11-15). */
@media (max-width: 700px){
  .officer-days > .officer-day:last-child{ border-bottom: 0; padding-bottom: 8px; }
}

/* A few bright stars that shine (dark theme only; Sheryl, 2026-11-15): six large
   glowing stars in two small groups, each group pulsing on its own timing so
   they take turns rather than blinking together. Fixed behind the page, no
   pointer events, and still for anyone who has asked for reduced motion. */
:root:not([data-theme="light"])::before,
:root:not([data-theme="light"])::after{
  content: "";
  position: fixed; top: 0; left: 0; width: 3px; height: 3px; border-radius: 50%;
  pointer-events: none; z-index: -1;
}
:root:not([data-theme="light"])::before{
  box-shadow:
    18vw 14vh 0 0 rgba(255,255,255,0.95), 18vw 14vh 8px 2px rgba(190,210,255,0.55), 18vw 14vh 22px 6px rgba(150,170,255,0.22),
    81vw 27vh 0 0 rgba(255,244,225,0.95), 81vw 27vh 8px 2px rgba(255,225,170,0.5),  81vw 27vh 22px 6px rgba(255,200,140,0.2),
    47vw 82vh 0 0 rgba(255,255,255,0.95), 47vw 82vh 8px 2px rgba(190,210,255,0.55), 47vw 82vh 22px 6px rgba(150,170,255,0.22);
  animation: gx-shine 5.5s ease-in-out infinite;
}
:root:not([data-theme="light"])::after{
  box-shadow:
    69vw 9vh 0 0 rgba(255,255,255,0.95),  69vw 9vh 8px 2px rgba(190,210,255,0.55),  69vw 9vh 22px 6px rgba(150,170,255,0.22),
    9vw 63vh 0 0 rgba(255,244,225,0.95),  9vw 63vh 8px 2px rgba(255,225,170,0.5),   9vw 63vh 22px 6px rgba(255,200,140,0.2),
    90vw 74vh 0 0 rgba(255,255,255,0.95), 90vw 74vh 8px 2px rgba(190,210,255,0.55), 90vw 74vh 22px 6px rgba(150,170,255,0.22);
  animation: gx-shine 7.5s ease-in-out -3s infinite;
}
/* Shine in place: brightness only, no scaling or movement (scaling would slide
   the stars, since each one is a offset shadow of the same small element). */
@keyframes gx-shine{
  0%, 100%{ opacity: 0.12; }
  45%{ opacity: 1; }
  60%{ opacity: 0.55; }
}
/* And the original star layers no longer drift: they twinkle where they are. */
@media (prefers-reduced-motion: no-preference){
  :root:not([data-theme="light"]) body::before{ animation: gx-twinkle 6s ease-in-out infinite alternate; }
  :root:not([data-theme="light"]) body::after{ animation: gx-twinkle 9s ease-in-out -4s infinite alternate; }
}
@media (prefers-reduced-motion: reduce){
  :root:not([data-theme="light"])::before, :root:not([data-theme="light"])::after{ animation: none; opacity: 0.6; }
}

/* The Almanac wheel turns to today's Officer (Sheryl, 2026-11-15): the ring
   rotates until today's glyph is under the pointer at the top, and each glyph
   turns the opposite way so it stays upright. */
/* One fast full spin, then it slows into today's Officer (Sheryl, 2026-11-23). --spin is the resting angle plus one
   full turn; the glyphs counter-turn the same amount so they stay upright. */
@keyframes wheel-turn{ from{ transform: rotate(0deg); } to{ transform: rotate(var(--spin, var(--turn))); } }
@keyframes wheel-unturn{ from{ transform: rotate(0deg); } to{ transform: rotate(calc(-1 * var(--spin, var(--turn)))); } }
.wheel-ring.is-turning{
  transform-origin: 170px 170px; transform: rotate(var(--spin, var(--turn)));
  animation: wheel-turn 6.5s cubic-bezier(0.2, 0.6, 0.15, 1) 0.4s both;
}
.wheel-ring.is-turning .off-mark{
  transform-box: fill-box; transform-origin: center; transform: rotate(calc(-1 * var(--spin, var(--turn))));
  animation: wheel-unturn 6.5s cubic-bezier(0.2, 0.6, 0.15, 1) 0.4s both;
}
@media (prefers-reduced-motion: reduce){
  .wheel-ring.is-turning, .wheel-ring.is-turning .off-mark{ animation: none; }
}

/* ── Hour highlights and For You: one flat, bulleted look (Sheryl, 2026-11-16) ──
   Every hour and every marker is still shown, with the same colour meanings
   (green supportive, grey cautionary, gold formula, clay for the clashing
   hour). What changed is the layout only: two labelled columns of six hours,
   no boxes around the markers, a bullet in the marker's own colour, and a thin
   line between hours. For You uses the same bullets and drops its enclosing box. */
:root{ --bullet-good: #46c28f; }
:root[data-theme="light"]{ --bullet-good: #2b8a62; }

.hour-list.is-highlights{
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row;
  gap: 0 36px; margin-top: 6px; border: 0; border-radius: 0; background: none; overflow: visible;
}
.hour-list.is-highlights .hour-cols{ display: none; }
.hour-list.is-highlights .hg-col{ min-width: 0; }
.hour-list.is-highlights .hg-label{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); padding: 4px 0 12px;
}
.hour-list.is-highlights .hour-row{
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "range pillar" "markers markers"; gap: 10px 12px;
  padding: 16px 0 18px; border: 0; border-top: 1px solid var(--line);
  background: none; box-shadow: none; opacity: 1;
}
.hour-list.is-highlights .hg-label + .hour-row{ border-top: 0; padding-top: 4px; }
.hour-list.is-highlights .hour-row::before{ display: none; }
.hour-list.is-highlights .hr-range{
  grid-area: range; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--paper);
}
.hour-list.is-highlights .hr-pillar-cell{ grid-area: pillar; display: flex; align-items: baseline; gap: 6px; }
.hour-list.is-highlights .hr-pillar, .hour-list.is-highlights .hr-animal{ font-size: 13px; color: var(--muted); }
.hour-list.is-highlights .hr-markers{ grid-area: markers; display: flex; flex-direction: column; gap: 7px; }
.hour-list.is-highlights .hr-tag{
  display: flex; align-items: baseline; gap: 9px; border: 0; background: none; padding: 0;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 400; line-height: 1.4;
  white-space: normal; color: var(--muted);
}
.hour-list.is-highlights .hr-tag::before{
  content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translateY(-1px);
}
.hour-list.is-highlights .hr-tag.is-good{ color: var(--bullet-good); }
.hour-list.is-highlights .hr-tag.is-bad{ color: var(--muted); }
.hour-list.is-highlights .hr-tag.is-formula{ color: var(--brass); }
.hour-list.is-highlights .hr-empty{ font-size: 13px; }
/* The clashing hour: its time in clay, with the bolt under the pillar. */
.hour-list.is-highlights .hour-row.is-clash .hr-range{ color: var(--clay); }
.hour-list.is-highlights .hr-clash-bolt{ right: 0; top: auto; bottom: 18px; transform: none; }
.hour-list.is-highlights .hour-row.is-clash .hr-markers{ padding-right: 24px; }
.hr-full{ display: inline; }
.hr-start{ display: none; }

/* Clashing hour beside Best Hours. */
.bh-clash{ display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; }
.bh-hour.is-clash{
  color: var(--clay);
  border-color: color-mix(in srgb, var(--clay) 50%, transparent);
  background: color-mix(in srgb, var(--clay) 12%, transparent);
}

@media (max-width: 700px){
  .hour-list.is-highlights{ grid-template-columns: 1fr; }
  .hour-list.is-highlights .hg-col + .hg-col{ margin-top: 20px; }
  .hr-full{ display: none; }
  .hr-start{ display: inline; }
}

/* For You: no enclosing box; the same bullets; stronger text. */
/* For You sits in a box again, like Hour Highlights (Sheryl, 2026-11-16). */
.dd-card.dd-flat{ padding: 18px 20px; }
.dd-flat .dd-row{ display: block; padding: 16px 0; border: 0; border-top: 1px solid var(--line); }
.dd-flat .dd-row:first-child, .dd-flat > .dd-row:first-of-type{ border-top: 0; padding-top: 0; }
.dd-flat .dd-row:last-child{ padding-bottom: 0; }
.dd-flat .hr-tag{
  display: flex; align-items: baseline; gap: 9px; border: 0; background: none; padding: 0; margin-bottom: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--paper);
}
.dd-flat .hr-tag::before{
  content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translateY(-1px);
}
.dd-flat .hr-tag.is-good{ color: var(--bullet-good); }
.dd-flat .hr-tag.is-bad{ color: var(--muted); }
.dd-flat .hr-tag.is-formula{ color: var(--brass); }
.dd-flat .dd-row-text{ padding-left: 15px; color: color-mix(in srgb, var(--paper) 88%, transparent); }

/* ── Buttons and dropdowns, one size and one font (Sheryl, 2026-11-16) ──────
   Every button, activity pill and dropdown (the closed box and its open list)
   is Space Grotesk 15px. Before, the closed dropdown showed Space Grotesk 14.5
   while its open list used a different serif at a different size, and buttons
   were 14. Icon-only controls (hamburger, arrows, close) and the small text
   links (13px) are not part of this. */
body .gs-btn, body .gs-text, body .gs-opt, body .gs-list,
body select, body option,
body .cta-small, body .cta-primary, body .btn-primary, body .contact-send, body .continue-btn,
body .interest-row button, body .chart-add button, body .grant-btn, body .pp-cta,
body .career-pill, body .topic-pill, body .goal-pill, body .pro-pill, body .back-btn{
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-ctrl);
}

/* The hour lists: hours across the two columns line up row for row, so the
   dividers between hours meet across the page. */
@media (min-width: 701px){
  .hour-list.is-highlights{ grid-template-rows: auto repeat(6, auto); grid-auto-flow: column; }
  .hour-list.is-highlights .hg-col{ display: contents; }
}
/* Some dropdowns carry their own id-level sizes (Business, Career, Marriage, Month
   filters); this one rule wins over all of them. */
body .gs-btn, body .gs-btn .gs-text, body .gs-opt{ font-size: var(--fs-ctrl) !important; font-family: 'Space Grotesk', sans-serif !important; }
body .btn-primary, body #business-find, body #career-find, body #find-dates, body #save-couple, body #m-find{
  font-size: var(--fs-ctrl) !important; font-family: 'Space Grotesk', sans-serif !important;
}
body #save-couple, body #find-dates, body #business-find, body #career-find, body .btn-primary{ color: var(--on-brass); }

/* Today's Wisdom on the Today card (Sheryl, 2026-11-15/16): set between two thin
   lines, the quote in italic Fraunces 20 with curly quotation marks, the first
   sentence of the reflection under it, the rest behind "Read Reflection". */
.dd-wisdom{ margin-top: 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dd-wis-label{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brass); margin-bottom: 10px;
}
.dd-card .dd-wis-quote, #today-dash .dd-wis-quote{
  margin: 0; font-family: 'Fraunces', serif; font-size: 20px; font-style: italic; font-weight: 600;
  line-height: 1.4; color: var(--paper); max-width: none;
}
.dd-wis-quote::before{ content: '“'; }
.dd-wis-quote::after{ content: '”'; }
.dd-card .dd-wis-teaser, #today-dash .dd-wis-teaser{
  margin: 10px 0 0; font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 88%, transparent); max-width: none;
}
.dd-wis-btn{
  display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--brass);
  border-bottom: 1px solid transparent;
}
.dd-wis-btn:hover{ border-bottom-color: var(--brass); }
.dd-card .dd-wis-text, #today-dash .dd-wis-text{
  margin: 8px 0 0; font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 88%, transparent); max-width: none;
}
.dd-wis-text.is-collapsed{ display: none; }
/* On a wide screen the whole reflection shows and the button is not needed. */
@media (min-width: 900px){
  .dd-wis-text.is-collapsed{ display: block; }
  .dd-wis-btn{ display: none; }
  .dd-card .dd-wis-text, #today-dash .dd-wis-text{ margin-top: 8px; }
}

/* "Traditional indicators" and its tags on one line. */
.dd-indicators{ display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.dd-indicators .dd-tags{ margin-top: 0; }
.dd-ind-label{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }

/* The Today card in two columns on a wide screen (Sheryl, 2026-11-16): the day on
   the left, Today's Wisdom as a soft panel on the right. Below 900px, and on any
   card without a wisdom (the Month view), everything simply stacks. */
.dd-split{ display: block; }
@media (min-width: 900px){
  .dd-split.has-side{
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "top side" "bottom side"; column-gap: 40px; align-items: start;
  }
  .dd-split.has-side .dd-top{ grid-area: top; }
  .dd-split.has-side .dd-side{ grid-area: side; }
  .dd-split.has-side .dd-bottom{ grid-area: bottom; }
  .dd-split.has-side .dd-wisdom{
    margin-top: 22px; padding: 22px 24px; border: 0; border-radius: 12px;
    background: color-mix(in srgb, var(--paper) 6%, transparent);
  }
  .dd-split.has-side .dd-wis-quote{
    padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
  }
  .dd-split.has-side .dd-wis-teaser{ margin-top: 0; }
  .dd-split.has-side .dd-approach{ grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* Good for / Caution for as bullet lists on a wide screen (Sheryl, 2026-11-16):
   one item per line, a bullet in the heading's colour. A phone keeps the short
   inline lines with bars. */
@media (min-width: 900px){
  .dd-approach-row{ display: flex; flex-direction: column; gap: 6px; }
  .dd-approach-row .dd-sep{ display: none; }
  .dd-approach-item{ display: flex; align-items: baseline; gap: 9px; white-space: normal; }
  .dd-approach-item::before{
    content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translateY(-1px);
  }
  .dd-approach-group.is-good .dd-approach-item::before{ color: var(--bullet-good, #46c28f); }
  .dd-approach-group.is-caution .dd-approach-item::before{ color: var(--brass); }
}

/* Day strip above the Today card, phone only (Sheryl, 2026-11-16): same pill look
   as the Knowledge Base strip, translucent, no line. */
.dd-strip{ display: none; }
@media (max-width: 860px){
  .dd-strip{
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; margin: 0 0 12px; padding: 2px 0;
    /* Pinned under the header while the Today card scrolls (Sheryl, 2026-11-18). */
    position: sticky; top: 84px; z-index: 30;
    margin: 0 calc(var(--pad-x) * -1) 12px; padding: 8px var(--pad-x);
    background: color-mix(in srgb, var(--ink) 30%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .dd-strip::-webkit-scrollbar{ display: none; }
  .dd-strip-pill{
    flex: none; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
    min-width: 54px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 30%, transparent); color: color-mix(in srgb, var(--paper) 70%, transparent);
    font-family: 'Space Grotesk', sans-serif; cursor: pointer; position: relative;
  }
  .dd-strip-dow{ font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
  .dd-strip-num{ font-size: 15px; font-weight: 600; }
  .dd-strip-pill.is-active{ color: var(--on-brass); background: var(--brass); border-color: var(--brass); }
  .dd-strip-pill.is-today:not(.is-active)::after{
    content: ''; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%; background: var(--brass);
  }
}

/* Saved Profiles: the title is the header; the count is a quiet line under it (Sheryl, 2026-11-16). */
.people-head-text{ min-width: 0; }
body section .people-head p.people-count{ margin: 4px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }

/* "Your Saved Profiles" in the small bold green caps style of the other section labels (Sheryl, 2026-11-16). */
body section .people-head h3{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--jade); margin: 0;
}

/* The day's own pillar at the top of the Today card, laid out like the Officer
   block: round badge with the animal, name in the element's colour, pillar line
   (Sheryl, 2026-11-18). */
.dd-pillar-row{ margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dd-pillar-badge{
  flex: none; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--pc); color: var(--pc);
  background: color-mix(in srgb, var(--pc) 10%, transparent);
}
.dd-pillar-title{
  margin-bottom: 5px; font-family: 'Fraunces', serif; font-size: clamp(17px, 4.4vw, 20px);
  line-height: 1.25; font-weight: 600; color: var(--pc);
}
.dd-pillar-sub{ font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--muted); }
.el-wood{ --pc: #46c28f; } .el-fire{ --pc: #ff8a5c; } .el-earth{ --pc: var(--brass); }
.el-metal{ --pc: #b4bdd0; } .el-water{ --pc: #5aa9e6; }
:root[data-theme="light"] .el-wood{ --pc: #2b8a62; } :root[data-theme="light"] .el-fire{ --pc: #c8502a; }
:root[data-theme="light"] .el-metal{ --pc: #6b7488; } :root[data-theme="light"] .el-water{ --pc: #2f78b5; }
@media (max-width: 700px){ .dd-pillar-badge{ width: 80px; height: 80px; } .dd-pillar-badge svg{ width: 46px; height: 46px; } }

.dd-sec-label{ margin-bottom: 14px; }

/* The section headings above the cards (Today's energy, For you, Hour highlights) in the muted jade green (Sheryl, 2026-11-18). */
body .dd-outside-h{ color: var(--jade); }

.dd-d-short{ display: none; }
@media (max-width: 860px){ .dd-d-full{ display: none; } .dd-d-short{ display: inline; } }

/* For You groups: a small label over each, rows divided by thin lines inside a group. */
.dd-flat .dd-fy-label{ margin: 0 0 10px; }
.dd-flat .dd-row + .dd-fy-label{ margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.dd-flat .dd-fy-label + .dd-row{ border-top: 0; padding-top: 6px; }

/* For You: no bullet dots in front of the item names (Sheryl, 2026-11-18). */
.dd-flat .hr-tag::before{ display: none; }
.dd-flat .dd-row-text{ padding-left: 0; }

/* Hour Highlights on a phone (Sheryl, 2026-11-18): no "Night & Morning" / "Day & Evening"
   headings, and the Clashing hour row lines up with Best Hours (same label width,
   no indent). */
:is(#today-dash, #month-day-detail) .bh > .bh-clash{ margin-left: 0; }
:is(#today-dash, #month-day-detail) .bh .bh-label{ display: inline-block; min-width: 96px; }
@media (max-width: 700px){
  .hour-list.is-highlights .hg-label{ display: none; }
  .hour-list.is-highlights .hg-col + .hg-col{ margin-top: 0; }
  /* With the group headings gone, the line between the two columns' hours must stay. */
  .hour-list.is-highlights .hg-col + .hg-col .hg-label + .hour-row{ border-top: 1px solid var(--line); padding-top: 16px; }
}

/* Best Hours pills in the livelier green (Sheryl, 2026-11-18). The clashing hour keeps its clay. */
.bh-hour:not(.is-clash){
  color: var(--bullet-good);
  border-color: color-mix(in srgb, var(--bullet-good) 55%, transparent);
  background: color-mix(in srgb, var(--bullet-good) 12%, transparent);
}

/* Hour times in the highlights list in the same muted grey as the animal name (Sheryl, 2026-11-18);
   the clashing hour keeps its clay. */
.hour-list.is-highlights .hr-range{ color: var(--muted); }

/* The clashing hour's own tag in the same clay red as its time and pill (Sheryl, 2026-11-18). */
.hour-list .hr-tag.is-clash-tag, .hour-list.is-highlights .hr-tag.is-clash-tag{ color: var(--clay); }

/* "Now" preview line under Best Hours. */
.bh-now{ margin-top: 10px; }
.bh-now .bh-now-range{ color: var(--paper); border-color: var(--line); background: none; }
.bh-now .bh-now-tag{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; padding: 0; border: 0; background: none; white-space: nowrap; }
.bh-now .bh-now-tag.is-good{ color: var(--bullet-good); }
.bh-now .bh-now-tag.is-bad{ color: var(--muted); }
.bh-now .bh-now-tag.is-formula{ color: var(--brass); }
.bh-now .bh-now-tag.is-clash-tag{ color: var(--clay); }
.dd-now-note{ margin-top: 10px; }

/* The after-11 PM note in the same text as the For You descriptions (Sheryl, 2026-11-18). */
#today-dash .dd-now-note{
  font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 88%, transparent); margin: 14px 0 0;
}
#today-dash .dd-now-note .dd-footlink{ font-family: inherit; font-size: inherit; line-height: inherit; text-decoration-color: color-mix(in srgb, var(--paper) 35%, transparent); }

/* The live-hour row copied under Best Hours: one column, a line above it. */
.hour-list.is-highlights.dd-now-clone{ display: block; margin-top: 12px; }
.hour-list.is-highlights.dd-now-clone .hour-row{ border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 4px; }

/* The after-11 PM note in the muted grey (Sheryl, 2026-11-18). */
#today-dash .dd-now-note, #today-dash .dd-now-note strong{ color: var(--muted); }

/* More room around the after-11 PM note (Sheryl, 2026-11-18). */
#today-dash .dd-now-note{ margin: 22px 0 6px; line-height: 1.7; }

/* Once the twelve hours are open, the after-11 PM note and the live-hour preview line step aside. */
.dd-card.is-open .dd-now-note, .dd-card.is-open .dd-now-clone{ display: none !important; }

/* Hour rows on one line (Sheryl, 2026-11-18): time, NOW and the animal on the left,
   the markers on the right, right-aligned. Used by the full list and the live-hour
   row under Best Hours alike. */
.hour-list.is-highlights .hour-row{
  display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 6px 14px;
}
.hour-list.is-highlights .hr-range{ order: 1; flex: none; }
.hour-list.is-highlights .hr-pillar-cell{ order: 2; flex: none; margin-right: auto; align-self: baseline; padding-top: 2px; }
.hour-list.is-highlights .hr-markers{ order: 3; flex: 0 1 auto; align-items: flex-end; text-align: right; min-width: 0; }
.hour-list.is-highlights .hr-tag{ justify-content: flex-end; }
.hour-list.is-highlights .hr-clash-bolt{ order: 4; }
.hour-list.is-highlights .hour-row.is-clash .hr-markers{ padding-right: 0; }
.hour-list.is-highlights .hour-row .hr-clash-bolt{ position: static; transform: none; align-self: center; margin-left: 2px; }

/* Hour rows: no bullet dots, and the markers at the same size as the hour (Sheryl, 2026-11-18). */
.hour-list.is-highlights .hr-tag::before{ display: none; }
#today-dash .hour-list.is-highlights .hr-tag, #month-day-detail .hour-list.is-highlights .hr-tag{ font-size: 13px; gap: 0; }

/* Hour rows: the time, animal and the first marker share one first line (Sheryl, 2026-11-18). */
.hour-list.is-highlights .hour-row{ align-items: baseline; }
.hour-list.is-highlights .hr-pillar-cell{ padding-top: 0; align-self: auto; }
.hour-list.is-highlights .hr-range, .hour-list.is-highlights .hr-tag, .hour-list.is-highlights .hr-pillar-cell{ line-height: 1.4; }
.hour-list.is-highlights .hour-row .hr-clash-bolt{ align-self: flex-start; }

/* Best Hours and Clashing Hour on one line (a wide card): keep a clear gap between the two groups.
   When the Clashing Hour sits alone on its own row it has no indent. */
:is(#today-dash, #month-day-detail) .bh > .bh-clash{ margin-left: 28px; }
:is(#today-dash, #month-day-detail) .bh > .bh-clash:first-child{ margin-left: 0; }

/* Same gap between each label and its time capsule (Sheryl, 2026-11-18). When the Clashing Hour
   shares the Best Hours line the labels take their natural width; stacked, they line up. */
:is(#today-dash, #month-day-detail) .bh > .bh-label{ margin-right: 4px; }
:is(#today-dash, #month-day-detail) .bh-clash{ gap: 10px; }
:is(#today-dash, #month-day-detail) .bh-clash .bh-label{ min-width: 0; margin: 0; }
:is(#today-dash, #month-day-detail) .bh:has(> .bh-clash:not(:first-child)) > .bh-label{ min-width: 0; }
:is(#today-dash, #month-day-detail) .bh .bh-label{ min-width: 0; }

/* The Clashing Hour always starts its own line under Best Hours, flush left, so the two labels
   line up (it had wrapped onto a second line with an indent when Best Hours had several times). */
:is(#today-dash, #month-day-detail) .bh > .bh-clash{ flex: 0 0 100%; margin-left: 0; margin-top: 2px; }

/* Best Hours and Clashing Hour on two rows: labels start at the same place and both capsules start at the
   same place (Sheryl, 2026-11-18). */
:is(#today-dash, #month-day-detail) .bh > .bh-label{ min-width: 7em; margin-right: 4px; }
:is(#today-dash, #month-day-detail) .bh-clash .bh-label{ min-width: 7em; margin: 0; }
:is(#today-dash, #month-day-detail) .bh:has(> .bh-clash:not(:first-child)) > .bh-label{ min-width: 7em; }
#today-dash .dd-now-note strong{ font-weight: 400; }

/* Desktop day arrows near the top of the card, beside the Officer block. The card is tall now
   that the Almanac opens by default, so the middle of it was far below the screen (Sheryl, 2026-11-21). */
@media (min-width: 820px) and (pointer: fine){
  .dd-step{ top: 170px; transform: none; }
}

/* Profile row buttons (Default / Edit / Remove) at the same 15px as Add Profile, and the column label on
   the 12px caps size (Sheryl, 2026-11-21). The actions column is a little wider to hold them. */
.person-act{ font-size: var(--fs-ctrl); padding: 9px 14px; }
.people-cols{ font-size: 12px; }
@media (min-width: 861px){
  .people-cols, .person-row{ grid-template-columns: minmax(170px, 1.2fr) minmax(130px, 1fr) minmax(190px, 1.3fr) 330px; }
}
#pro-panel-people .person-act{ font-size: var(--fs-ctrl); }

/* Every text field, dropdown and form button at the one control size, 15px (Sheryl, 2026-11-21). A few
   panels had their own 14, 14.5 or 13.5. Small text links (13px) and caps labels (12px) are not controls. */
body input[type="text"], body input[type="email"], body input[type="tel"], body input[type="time"],
body input[type="date"], body textarea, body select, body option,
body #profile-fullname-save, body #profile-theme{
  font-size: var(--fs-ctrl) !important;
}

/* Your Personal Day Markers: compact rows with a hairline between them; the explanation opens
   underneath its own row (Sheryl, 2026-11-21). */
.pdm{ margin-top: 34px; }
#pro-panel-people .pdm-h{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--jade); margin: 0 0 6px;
}
.pdm-sub{ margin: 0 0 14px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.pdm-list{ list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pdm-row{ border-bottom: 1px solid var(--line); }
.pdm-line{
  display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; width: 100%;
  padding: 14px 10px; margin: 0; background: none; border: 0; border-radius: 6px; text-align: left; cursor: pointer;
  color: inherit; font: inherit;
}
.pdm-line:hover, .pdm-line.is-open{ background: color-mix(in srgb, var(--paper) 5%, transparent); }
.pdm-line:hover .pdm-name, .pdm-line.is-open .pdm-name{ color: var(--brass); }
.pdm-line:focus-visible{ outline: 2px solid var(--brass); outline-offset: -2px; }
.pdm-name{ display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; min-width: 0;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--paper); }
.pdm-cn{ color: var(--muted); }
.pdm-days{ font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--paper); text-align: right; }
.pdm-explain{
  margin: 0 0 14px; padding: 12px 14px; border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 6%, transparent);
  font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--paper) 88%, transparent);
}
.pdm-note{ margin: 14px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.5; color: var(--muted-soft); }

/* Cancel in the profile form is a secondary button - the same outlined orange as Add Profile -
   not a second filled one next to Save (Sheryl, 2026-11-21). */
.chart-add button.cta-small{ background: none; border: 1px solid var(--brass); color: var(--brass); filter: none; }
.chart-add button.cta-small:hover{ background: color-mix(in srgb, var(--brass) 12%, transparent); filter: none; }

/* One filled button on the profile page, and it is Add Profile; the form's Save changes and Cancel are
   outlined (Sheryl, 2026-11-21).  */
#people-add{ background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
#people-add:hover{ filter: brightness(1.08); }
#people-add:disabled{ background: none; color: var(--brass); filter: none; }
.chart-add button[type="submit"]{ background: none; border: 1px solid var(--brass); color: var(--brass); filter: none; }
.chart-add button[type="submit"]:hover{ background: color-mix(in srgb, var(--brass) 12%, transparent); filter: none; }
.chart-add button.cta-small{ border-color: var(--line); color: var(--paper); }
.chart-add button.cta-small:hover{ background: color-mix(in srgb, var(--paper) 6%, transparent); }
.chart-add button{ font-weight: 400; }

/* ── My Profiles on a phone: compact rows (Sheryl, 2026-11-21) ──
   Header (initial, name, Default, birth date and time, a three-dot menu), then Day Master and
   Four Pillars each on one line, label left and value right. About 130px a profile. The desktop
   table and the 701-1060px stacked layout are untouched. */
.person-default{
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--brass); border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent);
  border-radius: 999px; padding: 1px 8px; display: none;
}
.pr-menu-wrap{ display: none; position: relative; margin-left: auto; }
@media (max-width: 700px){
  .people-table{ overflow: visible; border: 0; margin-top: 12px; }
  .person-row{
    grid-template-columns: 1fr; row-gap: 8px; padding: 14px 14px 12px; margin-bottom: 10px;
    border: 1px solid var(--line); border-radius: 8px; border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 3%, transparent); overflow: visible;
  }
  .people-rows > *:last-child{ border-bottom: 1px solid var(--line); }
  .person-row.is-on{ box-shadow: inset 3px 0 0 var(--brass); background: rgba(201,138,62,0.07); }
  .pr-person{ gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .person-avatar{ width: 38px; height: 38px; font-size: 16px; }
  .person-name{ font-size: 18px; gap: 4px 10px; }
  .person-default{ display: inline-block; }
  .person-born{ margin-top: 2px; }
  .pr-master, .pr-pillar-cell{ display: flex; align-items: baseline; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; }
  .pr-label{ margin: 0; font-size: 12px; white-space: nowrap; }
  .pr-master .pr-value, .pr-pillar-cell .pr-value{ text-align: right; margin-left: auto; }
  .pr-pillars{ font-size: 17px; }
  .pr-sep{ padding: 0 5px; }
  .pr-actions{ display: none; }
  .pr-menu-wrap{ display: block; }
  .pr-menu-btn{
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0; margin-right: -8px;
    background: none; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer;
  }
  .pr-menu-btn:hover, .pr-menu-btn[aria-expanded="true"]{ color: var(--paper); background: color-mix(in srgb, var(--paper) 8%, transparent); }
  .pr-menu-btn:focus-visible{ outline: 2px solid var(--brass); outline-offset: -2px; }
  .pr-menu{
    position: absolute; right: 0; top: 44px; z-index: 40; min-width: 180px; padding: 6px;
    background: var(--ink); border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  }
  .pr-menu[hidden]{ display: none; }
  .pr-menu-item{
    display: block; width: 100%; text-align: left; padding: 11px 12px; background: none; border: 0; border-radius: 5px;
    font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--paper); cursor: pointer;
  }
  .pr-menu-item:hover, .pr-menu-item:focus-visible{ background: color-mix(in srgb, var(--paper) 8%, transparent); outline: none; }
  .pr-menu-item.is-del{ color: var(--clay); }
  .pr-menu-item.is-current, .pr-menu-item:disabled{ color: var(--brass); cursor: default; background: none; }
  #chart-note{ margin-top: 6px; font-size: 13px; color: var(--muted-soft); }
}

/* One gap between cards on a phone: the saved-profile cards now match the pillar cards (14px). */
@media (max-width: 700px){
  .person-row{ margin-bottom: 14px; }
  .people-rows > *:last-child{ margin-bottom: 0; }
  .people-table{ margin-top: 14px; }
  #chart-note{ margin-top: 14px; }
}

/* The saved-profile cards sit further apart (Sheryl, 2026-11-21). */
@media (max-width: 700px){
  .person-row{ margin-bottom: 24px; }
  .people-rows > *:last-child{ margin-bottom: 0; }
}
@media (max-width: 700px){
  .person-row{ margin-bottom: 36px; }
  .people-rows > *:last-child{ margin-bottom: 0; }
}

/* On a phone, hovering a row (or its three-dot button) no longer underlines the name and the Default label. */
@media (max-width: 700px){
  .person-row.pr-clickable:hover .person-name{ text-decoration: none; }
  .person-default{ text-decoration: none; }
}
.pdm-line:hover .pdm-cn, .pdm-line.is-open .pdm-cn{ color: var(--brass); }
@media (max-width: 700px){ .pr-menu-item.is-del{ color: var(--paper); } }
/* The three-dot menu is semi-transparent, with a soft blur behind it (Sheryl, 2026-11-21). */
@media (max-width: 700px){
  .pr-menu{
    background: color-mix(in srgb, var(--ink) 55%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
}

/* Settings rows with a "Soon" tag: label, value and tag in three fixed columns, so every value
   starts at the same place whatever the label (Sheryl, 2026-11-21). */
.profile-row.is-soon{ display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; align-items: center; column-gap: 16px; }
.profile-row.is-soon b{ order: 0; text-align: left; justify-self: start; }
.profile-row.is-soon select{ width: 100%; min-width: 0; }
@media (max-width: 480px){ .profile-row.is-soon{ grid-template-columns: minmax(0, 1fr) 120px auto; column-gap: 10px; } }

/* The one-line note under the Almanac time row. */
.profile-row-note{ margin: -4px 0 6px; padding: 0 0 10px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 7%, transparent); }
body section .profile-rows p.profile-row-note{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.5; color: var(--muted-soft); margin: -4px 0 6px; padding: 0 0 12px; }

/* No "Soon" tag on the settings rows (Sheryl, 2026-11-21); the rows keep their muted look and fixed value column. */
.profile-row.is-soon::after{ display: none; }
.profile-row.is-soon{ grid-template-columns: minmax(0, 1fr) 170px; }
@media (max-width: 480px){ .profile-row.is-soon{ grid-template-columns: minmax(0, 1fr) 120px; } }
/* Without the tag the muted rows go back to label left, value right, like every other row. */
.profile-row.is-soon, .profile-row.is-soon{ display: flex; align-items: center; justify-content: space-between; }
.profile-row.is-soon b{ text-align: right; justify-self: auto; }
.profile-row.is-soon select{ width: auto; }

/* The Display name box and the two dropdowns on the settings card share one width and one right edge (Sheryl, 2026-11-21). */
.profile-row .profile-edit{ flex: 0 0 auto; }
.profile-row .profile-edit input, .profile-row select, .profile-row.is-soon select{ width: 170px; min-width: 0; box-sizing: border-box; height: 40px; }
@media (max-width: 480px){
  .profile-row .profile-edit input, .profile-row select, .profile-row.is-soon select{ width: 150px; }
}
/* The Appearance dropdown is the site's custom dropdown (.gs), so it takes the same width as the name box. */
.profile-row .gs{ width: 170px; flex: 0 0 auto; }
.profile-row .gs .gs-btn{ width: 100%; min-width: 0; box-sizing: border-box; height: 40px; }
@media (max-width: 480px){ .profile-row .gs{ width: 150px; } }

/* Your Membership: the plan as a gold sparkle tile with its name in gold beside it (Sheryl, 2026-11-21). */
.profile-plan-head{ justify-content: flex-start; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 14px; }
.profile-plan-head .profile-badge{
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; margin: 0;
  color: var(--brass); font-family: 'Space Grotesk', sans-serif; font-size: 17px; letter-spacing: 0.2px;
}
.profile-plan-head .profile-badge::before{
  content: ''; flex: none; width: 44px; height: 44px; border-radius: 10px;
  background-color: color-mix(in srgb, var(--brass) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent);
  background-repeat: no-repeat; background-position: center; background-size: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C98A3E' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M10 6l1.8 5.2L17 13l-5.2 1.8L10 20l-1.8-5.2L3 13l5.2-1.8z'/%3E%3Cpath d='M18.5 3v4M16.5 5h4'/%3E%3C/svg%3E");
}
.profile-plan-head .profile-pill{ margin-left: auto; }
.profile-plan-head .profile-pill + .profile-pill{ margin-left: 0; }

/* Month card header (Sheryl, 2026-11-21): the previous / next arrows sit on the same row as the month name;
   Simple / Full moves down beside Today and Go to Date; all four use the same 15px text. */
.month-sub{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.month-sub .cal-display{ margin-left: auto; }
#pro-year .month-sub .alt-toggle, #pro-year .month-sub .month-sep, #pro-year .seg span{ font-size: 15px; }

/* The days of the neighbouring months are left blank (Sheryl, 2026-11-21): a cleaner calendar, and the
   next or previous month is one arrow away. The cells stay so the 1st still lands on its weekday. */
.cal-adj{ border-color: transparent; background: none; }
.cal-adj .cd-num{ display: none; }

/* Calendar legend in two short groups, a small caps label at the start of each line (Sheryl, 2026-11-21). */
.cal-legend-box .cal-legend{ align-items: center; margin-top: 8px; }
.cl-group{
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted-soft); margin-right: 4px;
}

/* Today and Go to Date as quiet outlined pills instead of underlined text (Sheryl, 2026-11-21). */
#pro-year .month-sub .alt-toggle{
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: none;
  color: var(--paper);
}
#pro-year .month-sub .alt-toggle:hover:not(:disabled){ border-color: var(--brass); color: var(--brass); }
#pro-year .month-sub .alt-toggle:disabled{ opacity: 0.45; cursor: default; }
#pro-year .month-sub .month-sep{ display: none; }
#pro-year .month-sub-left{ display: flex; align-items: center; gap: 8px; }

/* Go to Date: the date form opens straight under the row's own line, without a second line of its own. */
#dayJumpForm{ border-top: 0; margin-top: 0; padding-top: 14px; }

/* ── Pro landing page (signed-out view), Sheryl 2026-11-21 ──────────────────────────────
   Hero, why Pro, a three-step Career walkthrough, Free vs Pro, membership. Everything is scoped to
   .pro-land, so no other page is touched. Mobile first; two columns from 860px. */
.pro-land{ max-width: 1040px; margin: 0 auto; }
.pro-land h2{ font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: 0; }
.pl-block{ padding: clamp(44px, 8vw, 96px) 0 0; }
.pl-block > h2{ font-size: clamp(26px, 4.6vw, 36px); line-height: 1.18; margin: 0 0 22px; max-width: 22ch; }

/* 1. Hero */
.pl-hero{ padding: clamp(6px, 3vw, 36px) 0 0; }
.pl-hero-h{
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(36px, 7.4vw, 62px); line-height: 1.08;
  color: var(--paper); margin: 0 0 20px; max-width: 16ch;
}
.pl-hero-sub{ font-family: 'Fraunces', serif; font-size: clamp(17px, 2.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.pl-explore{ min-width: 180px; }

/* 2. Why Pro */
.pl-why-list{ list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.pl-why-list li{ display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pl-why-list li:last-child{ border-bottom: 1px solid var(--line); }
.pl-icon{ display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--brass);
  background: color-mix(in srgb, var(--brass) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); }
.pl-why-list h3{ font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; line-height: 1.25; margin: 2px 0 6px; color: var(--paper); }
.pl-num{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; color: var(--brass); margin-right: 8px; }
.pl-why-list p{ margin: 0; font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 38em; }
@media (min-width: 860px){
  .pl-why-list{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .pl-why-list li{ grid-template-columns: 1fr; border: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  .pl-why-list li:last-child{ border-bottom: 0; }
}

/* 3. See what Pro can do */
.pl-see-lead{ font-family: 'Fraunces', serif; font-size: clamp(19px, 3vw, 24px); font-weight: 600; line-height: 1.3; color: var(--paper); margin: 0 0 10px; max-width: 28em; }
.pl-see-intro{ font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; max-width: 38em; }
.pl-steps{ margin-top: 20px; }
.pl-step{ display: grid; gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.pl-step:last-child{ border-bottom: 1px solid var(--line); }
.pl-step-no{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--jade); font-weight: 700; }
.pl-step-text h3{ font-family: 'Fraunces', serif; font-size: clamp(22px, 3.6vw, 28px); font-weight: 600; line-height: 1.2; color: var(--paper); margin: 8px 0 10px; }
.pl-step-text p{ margin: 0; font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.pl-shot{ margin: 0; }
.pl-shot img{
  display: block; width: 100%; max-width: 360px; height: auto; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.pl-shot figcaption{ margin-top: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted-soft); }
@media (min-width: 860px){
  .pl-step{ grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; padding: 48px 0; }
}

/* 4. Free vs Pro */
.pl-compare{ width: 100%; border-collapse: collapse; margin-top: 6px; font-family: 'Space Grotesk', sans-serif; }
.pl-compare thead th{ font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; text-align: center; padding: 0 0 12px; width: 92px; }
.pl-compare thead th:last-child{ color: var(--brass); }
.pl-compare tbody th, .pl-compare tbody td{ padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pl-compare tbody tr:last-child th, .pl-compare tbody tr:last-child td{ border-bottom: 1px solid var(--line); }
.pl-compare tbody th{ text-align: left; font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--paper); padding-right: 14px; }
.pl-compare td{ text-align: center; font-size: 17px; }
.pl-sub{ display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted-soft); }
.pl-yes{ color: #46c28f; }
:root[data-theme="light"] .pl-yes{ color: #2b8a62; }
.pl-no{ color: var(--muted-soft); }

/* 5. Membership: two plans side by side, stacked on a phone */
.pm-options{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
@media (max-width: 560px){ .pm-options{ grid-template-columns: 1fr; } }
.pl-member .pp-foot{ text-align: left; max-width: 44em; }
.pl-faqnote a{ color: var(--brass); text-decoration: none; }
.pl-faqnote a:hover{ text-decoration: underline; }
.pl-member{ padding-bottom: 12px; }
@media (max-width: 560px){ .pl-compare thead th{ width: 58px; letter-spacing: 2px; } }
.pl-compare{ max-width: 760px; }


/* Pro landing: start at the same left edge as the header and the other pages, not centred in a narrower column
   (Sheryl, 2026-11-21). Each block keeps its own reading width. */
.pro-land{ max-width: none; margin: 0; }
.pl-hero, .pl-block{ max-width: 1040px; margin-left: 0; margin-right: 0; }

/* One column width for every block, so nothing looks half-centred (Sheryl, 2026-11-21): the table matches the
   plan cards, headings balance their lines instead of leaving a single word alone, and "Sign In" sits inline. */
.pl-compare{ max-width: none; }
.pl-block > h2{ max-width: none; text-wrap: balance; }
.pl-hero-h{ text-wrap: balance; }
.pl-member .pp-foot .alt-toggle{ display: inline; margin-top: 0; }

/* Dotted section dividers run exactly as wide as the content and the header, from the logo's edge to the other edge,
   instead of poking half a gutter out on each side (Sheryl, 2026-11-21). */
.section::before,
.cta-band::before,
.results-section::before,
#interest-section::before{
  left: var(--pad-x);
  right: var(--pad-x);
}

/* 3. The Career replay: text on the left, a laptop and a phone on the right (Sheryl, 2026-11-21). */
.pl-see-grid{ display: grid; gap: 30px; }
.pl-see h2 em{ font-style: italic; font-weight: 500; color: var(--brass); }
.pl-see-intro{ font-family: 'Fraunces', serif; font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; max-width: 30em; }
.pl-play-steps{ list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 32em; }
.pl-play-step{
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; width: 100%; text-align: left;
  padding: 14px 14px; background: none; border: 1px solid transparent; border-radius: 12px; cursor: pointer; color: var(--muted);
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.5;
}
.pl-play-step strong{ display: block; font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--paper); margin-bottom: 2px; }
.pl-play-n{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pl-play-step:hover{ border-color: var(--line); }
.pl-play-step.is-on{ border-color: color-mix(in srgb, var(--brass) 45%, transparent); background: color-mix(in srgb, var(--brass) 7%, transparent); color: color-mix(in srgb, var(--paper) 80%, transparent); }
.pl-play-step.is-on .pl-play-n{ background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.pl-play-step:focus-visible, .pl-playpause:focus-visible{ outline: 2px solid var(--brass); outline-offset: 2px; }
.pl-playpause{ margin-top: 14px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--paper); font-family: 'Space Grotesk', sans-serif; font-size: 15px; cursor: pointer; }
.pl-playpause:hover{ border-color: var(--brass); color: var(--brass); }

.pl-stage{
  position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 80% 0%, color-mix(in srgb, var(--brass) 12%, transparent), transparent 60%),
              color-mix(in srgb, var(--paper) 4%, transparent);
}
.pl-laptop{ position: absolute; right: 4%; top: 7%; width: 76%; }
.pl-laptop-screen{ position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px 10px 0 0;
  border: 7px solid #2b2e38; border-bottom-width: 9px; background: #0f1116; box-shadow: 0 22px 60px rgba(0,0,0,0.45); }
.pl-laptop-base{ height: 12px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#3a3d48, #2b2e38); }
.pl-phone{ position: absolute; left: 5%; bottom: 6%; width: 25%; }
.pl-phone-screen{ position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 22px;
  border: 6px solid #2b2e38; background: #0f1116; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.pl-phone-screen::before{ content: ''; position: absolute; top: 5px; left: 50%; width: 30%; height: 6px; transform: translateX(-50%);
  border-radius: 6px; background: #14161c; z-index: 2; }
.pl-demo{ position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: transparent; pointer-events: none; }
.pl-stage-cap{ margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted-soft); }
@media (min-width: 860px){
  .pl-see-grid{ grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 56px; align-items: center; }
  .pl-stage-cap{ grid-column: 2; margin-top: -18px; }
}
@media (max-width: 700px){
  .pl-stage{ aspect-ratio: 4 / 5; }
  .pl-laptop{ display: none; }
  .pl-phone{ left: 50%; transform: translateX(-50%); bottom: 5%; width: 56%; max-width: 250px; }
}
@media (prefers-reduced-motion: reduce){ .pl-demo{ scroll-behavior: auto; } }

/* Plan buttons and the saving tag in regular weight, like the rest of the site's buttons (Sheryl, 2026-11-21). */
.pp-cta, .pp-opt-save{ font-weight: 400; }

/* The two plan cards are semi-transparent, like the other panels, so the galaxy shows through (Sheryl, 2026-11-21). */
.pm-options .pp-option{
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Checkout as a drop-down under the plans: the chosen plan is marked and the panel eases in. */
.pm-options .pp-option.is-selected{ border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.pp-drop{ margin-top: 18px; padding: 22px 0 6px; border-top: 1px solid var(--line); animation: pp-drop-in 0.25s ease-out; }
.pp-drop > h2{ font-size: clamp(22px, 3.6vw, 28px); margin: 6px 0 8px; }
.pp-drop > #pp-back{ margin: 0 0 10px; }
@keyframes pp-drop-in{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .pp-drop{ animation: none; } }

/* Log in / Sign up window (Sheryl, 2026-11-21) and the header's Sign up button. */
.cta-small.is-filled{ background: var(--brass); color: var(--on-brass); border-color: var(--brass); }
.cta-small.is-filled:hover{ filter: brightness(1.08); }
@media (max-width: 560px){
  .header-actions{ gap: 12px; }
  .header-actions .cta-small:not(.is-filled){ display: none; }
}
.sm-auth{ max-width: 440px; }
.sm-tabs{ display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 14px 0 18px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 5%, transparent); }
.sm-tab{ padding: 9px 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-family: 'Space Grotesk', sans-serif; font-size: 15px; cursor: pointer; }
.sm-tab.is-on{ background: color-mix(in srgb, var(--paper) 12%, transparent); color: var(--paper); }
.sm-tab:focus-visible, .sm-link:focus-visible{ outline: 2px solid var(--brass); outline-offset: 2px; }
.sm-form{ display: grid; gap: 8px; margin-bottom: 6px; }
.sm-form[hidden]{ display: none; }
.sm-label{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.sm-form input{ width: 100%; box-sizing: border-box; }
.sm-go{ margin-top: 10px; width: 100%; }
.sm-switch{ margin-top: 10px; }
.sm-alt{ margin: 14px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.sm-link{ background: none; border: 0; padding: 0; color: var(--brass); font: inherit; cursor: pointer; }
.sm-link:hover{ text-decoration: underline; }
.sm-form input{
  height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px;
  background: color-mix(in srgb, var(--paper) 4%, transparent); color: var(--paper);
  font-family: 'Space Grotesk', sans-serif; font-size: 15px;
}
.sm-form input::placeholder{ color: var(--muted-soft); }
.sm-form input:focus{ outline: none; border-color: var(--brass); }
.sm-go{ height: 46px; }

/* Membership: cancel / resume (2026-11-21) */
.sub-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.sub-actions .cta-small{ font-weight:400; }
.sub-error{ color:var(--clay); }
#profile-sub-note{ margin-top:12px; }

/* Cancel is a quiet text link, not a button: we do not push people towards it (Sheryl, 2026-11-21) */
.sub-actions{ align-items:center; gap:10px 22px; }
.sub-actions #sub-cancel{
  order: 3; margin-left: auto; padding: 0; border: 0; background: none; box-shadow: none; min-height: 0; height: auto;
  font: 400 13px/1.4 'Space Grotesk', system-ui, sans-serif; color: var(--muted, rgba(255,255,255,.55));
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sub-actions #sub-cancel:hover{ color: inherit; }
.sub-actions #sub-cancel[hidden]{ display: none; }
.sub-actions #sub-cancel{
  flex-basis: 100%; margin: 14px 0 0; text-align: left; font-size: 12px; opacity: .5; text-decoration: none;
}
.sub-actions #sub-cancel:hover, .sub-actions #sub-cancel:focus-visible{ opacity: .85; text-decoration: underline; }
.sub-actions{ justify-content: flex-end; }
.sub-actions #sub-cancel{ flex-basis: auto; margin: 0; text-align: right; }

.sub-dialog .interest-fine{ margin: 8px 0 18px; }
.sub-dialog .sm-switch{ display: block; width: 100%; text-align: center; }
.sub-dialog .sm-switch{ margin-top: 16px; padding: 6px 0 2px; }
.sub-dialog .sm-switch{ border: 0; border-bottom: 0; box-shadow: none; text-decoration: none; margin-top: 18px; padding: 8px 0; }
.sub-dialog .sm-switch:hover{ text-decoration: underline; }
.sub-dialog{ padding-bottom: 26px; }
/* One type scale for the membership pieces: links and notes 13px, controls 15px, caps labels 12px */
.sub-actions #sub-cancel{ font-size: 13px; opacity: .6; }
.sub-dialog .sm-switch{ font-size: 13px; font-weight: 400; }
.sub-dialog .btn-primary{ font-weight: 400; }

/* ── Consistency pass, 2026-11-21 ──────────────────────────────────────────
   One rule for buttons and CTAs: Space Grotesk, regular weight (never bold), 15px controls / 13px text links,
   3px corners on rectangular buttons (pills stay pills, icon arrows stay icons). */
body .cta, body .cta-small, body .btn-primary, body .alt-toggle, body .gs-btn,
body .interest-row button, body .chart-add button, body .grant-btn, body .pp-cta{ font-weight: 400 !important; }
body .cta-small, body .gs-btn, body .interest-row button, body .grant-btn{ border-radius: 3px; }
body .cta-small.is-filled{ border-radius: 3px; }
body .lang-item{ font-size: 15px; }
/* Pop-ups share one box: the sign-in window's (6px corners, 1px line, soft shadow, dimmed backdrop) */
body .lang-menu, body .account-menu{ border-radius: 6px; }
body #dayPrev, body #dayNext{ border-radius: 999px; }

/* Saved profiles: empty state (2026-11-21) */
.people-empty{ padding: 22px 16px 26px; }
.people-empty-icon{ display: block; margin: 0 auto 10px; color: var(--muted-soft); opacity: .8; }
.people-empty p{ margin: 0; }
.people-empty .people-empty-title{ font-family: 'Fraunces', serif; font-size: 20px; color: var(--paper); margin-bottom: 4px; }
.people-empty .people-empty-text{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); }
.people-empty{ grid-column: 1 / -1; width: 100%; box-sizing: border-box; text-align: center; }
.people-empty .people-empty-title, .people-empty .people-empty-text{ max-width: none; margin-left: auto; margin-right: auto; }
/* Below the table breakpoint there is no table frame around the list, so the empty state carries its own box */
@media (max-width: 1060px){
  .people-empty{ border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--paper) 3%, transparent); padding: 26px 18px 28px; }
}
.page-head .results-lead a{ color: var(--brass); text-decoration: none; }
.page-head .results-lead a:hover{ text-decoration: underline; }

/* One header on every page and every tab (Sheryl, 2026-11-21): on phones it is always a single row,
   logo | language | theme | menu. The header buttons move into the menu so the ribbon never grows a second row. */
.nav-mobile-only{ display: none; }
@media (max-width: 880px){
  header > .cta-small, header .header-actions{ display: none; }
  header nav .nav-mobile-only{ display: block; }
}

/* How it works (Sheryl, 2026-11-22): the Why list's look, four steps, no icons */
.pl-how-list li{ grid-template-columns: 1fr; }
@media (min-width: 860px){
  .pl-how-list{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

/* Admin: people waiting for approval (2026-11-22) */
.pending-card{ margin: 0 0 22px; padding: 18px 18px 8px; border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--brass) 6%, transparent); }
.pending-card h3{ margin: 0 0 4px; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--paper); }
.pending-count{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 400; color: var(--brass); }
.pending-note{ margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); max-width: none; }
.pending-list{ list-style: none; margin: 0; padding: 0; }
.pending-row{ display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.pending-who{ display: grid; gap: 2px; min-width: 0; font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.pending-who strong{ font-weight: 400; color: var(--paper); }
.pending-who span{ font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.menu-badge{ display: inline-block; margin-left: 8px; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--brass); color: var(--on-brass); font-size: 12px; line-height: 18px; text-align: center; }

/* "Let's get acquainted" name prompt on Today (2026-11-22) */
.name-prompt{ position: relative; margin: 18px 0 0; padding: 16px 18px 14px; max-width: 520px; border: 1px solid var(--line); border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 4%, transparent); }
.name-prompt[hidden]{ display: none; }
.name-prompt h3{ margin: 0 0 2px; padding-right: 28px; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--paper); }
.name-prompt p{ margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--muted); max-width: none; }
.name-prompt-close{ position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.name-prompt-close:hover{ color: var(--paper); }
.name-prompt-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.name-prompt-row input{ flex: 1 1 200px; min-width: 0; height: 44px; font-size: 15px; box-sizing: border-box; }
.name-prompt-row .alt-toggle{ font-size: 13px; }
.name-prompt .name-prompt-err{ margin: 10px 0 0; color: var(--clay); }
.name-prompt-row input{ padding: 0 15px; background: color-mix(in srgb, var(--paper) 4%, transparent); border: 1px solid var(--line); border-radius: 3px; color: var(--paper); font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.name-prompt-row input:focus{ outline: none; border-color: var(--brass); }
.name-prompt-row input::placeholder{ color: var(--muted-soft); }
.name-prompt-row .alt-toggle{ font-size: 15px; }

/* My Account: set or change password (2026-11-22) */
.pw-change{ margin: 0 0 6px; padding: 12px 0 4px; }
.pw-change[hidden]{ display: none; }
.pw-change input{ width: 100%; box-sizing: border-box; height: 44px; padding: 0 15px; background: color-mix(in srgb, var(--paper) 4%, transparent); border: 1px solid var(--line); border-radius: 3px; color: var(--paper); font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.pw-change input:focus{ outline: none; border-color: var(--brass); }
.pw-change-actions{ display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.pw-change-actions .alt-toggle{ font-size: 15px; }
.pw-change .interest-fine, #pw-note{ margin: 8px 0 0; }
.profile-row #pw-open{ font-size: 15px; }
.pw-note:empty{ display: none; }
.pw-note{ margin: 6px 0 10px; }
.profile-row .alt-toggle{ margin-top: 0; }
.profile-row #pw-open{ align-self: center; }
/* Password update: a plain gold text button, no line under it (Sheryl, 2026-11-22) */
.profile-row #pw-open, .pw-change-actions .alt-toggle{ border-bottom: 0; text-decoration: none; }
.profile-row #pw-open:hover, .pw-change-actions .alt-toggle:hover{ border-bottom: 0; filter: brightness(1.15); }
.pw-change-actions .cta-small{ padding: 6px 14px; line-height: 1.3; }
.pw-change input{ height: 40px; }
/* Boxed controls in the account cards read the same: text starts at the left, regular weight (Sheryl, 2026-11-22) */
.profile-edit input{ text-align: left; font-weight: 400; padding: 0 10px; }
.profile-row .profile-edit input, .profile-row select{ height: 40px; }

/* ══════════════════════════════════════════════════════════════════════════
   RULEBOOK (Sheryl approved 2026-11-22; see design-rulebook.md). This block comes last and is the one place
   that sets type size, weight and corners for controls, rows, labels and links.
   Phones (up to 600px) are 1px smaller on every tier.
   Links: no underline anywhere (rule A). Links are gold, brighten on hover, underline only on keyboard focus.
   ══════════════════════════════════════════════════════════════════════════ */
:root{ --fs-ctrl: 15px; --fs-small: 13px; --fs-cap: 12px; --fs-read: 15px; --fs-card-h: 20px; --r-ctl: 3px; --r-box: 6px; }
@media (max-width: 600px){
  :root{ --fs-ctrl: 14px; --fs-small: 12px; --fs-cap: 11px; --fs-read: 14px; --fs-card-h: 19px; }
}

/* Controls: buttons */
body .contact-send, body .cta-small, body .cta-primary, body .cta-secondary, body .btn-primary, body .pp-cta, body .grant-btn,
body .continue-btn, body .back-btn, body .is-ghost, body .person-act, body .lang-item, body .account-item,
body .pro-tab, body .nav-account-link, body .home-tab, body .topic-pill, body .career-pill, body .pl-play-step,
body .pl-playpause, body .sm-tab, body .pr-menu-item, body .chart-pill, body .row-act, body .profile-save{
  font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-ctrl); font-weight: 400;
}
body .cta-small, body .cta-primary, body .cta-secondary, body .btn-primary, body .pp-cta, body .grant-btn,
body .continue-btn, body .person-act, body .is-ghost, body .row-act{ border-radius: var(--r-ctl); }

/* Controls: fields and dropdowns */
body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body select, body textarea, body .gs-btn{
  font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-ctrl); font-weight: 400; text-align: left; border-radius: var(--r-ctl);
}
body .gs-btn{ text-align: left; }

/* Rows in the account cards: label small, value or control at control size */
body .profile-row > span, body .profile-row > label, body .profile-row label{ font-size: var(--fs-small); letter-spacing: normal; text-transform: none; }
body .profile-row b, body .profile-row select, body .profile-row input, body .profile-edit input{ font-size: var(--fs-ctrl); }
body .profile-row b{ font-weight: 600; }
body .profile-row select, body .profile-row input, body .profile-edit input, body .pw-change input{ height: 40px; font-weight: 400; }

/* Small text: notes, hints, counts, footnotes, cells */
body .interest-fine, body .profile-row-note, body .pp-foot, body .sm-alt, body .people-count, body .role-hint,
body .pending-note, body .name-prompt p, body .people-empty-text, body .pl-stage-cap, body .admin-summary,
body .cal-day, body .dd-strip-pill, body .alt-toggle.cn-toggle, body .dd-h-action, body .sm-link, body .skip-link,
body .results-restart, body .dd-footlink, body .lang-toggle{
  font-size: var(--fs-small);
}

/* Caps labels */
body .eyebrow, body .section-label, body .goal-group-label, body .sm-label, body .admin-table th{ font-size: var(--fs-cap); }

/* Card and pop-up headings */
body .signin-modal h2, body .name-prompt h3, body .pending-card h3, body .people-empty .people-empty-title{ font-size: var(--fs-card-h); }

/* Text buttons: gold text, no line */
body .alt-toggle{ font-size: var(--fs-ctrl); border-bottom: 0; text-decoration: none; }
body .alt-toggle:hover{ border-bottom: 0; text-decoration: none; filter: brightness(1.15); }
body .alt-toggle.signin-link, body .alt-toggle.signup-link, body .alt-toggle.cn-toggle, body .alt-toggle.sm-switch,
body .pp-foot .alt-toggle, body .sub-dialog .sm-switch{ font-size: var(--fs-small); }

/* Links: no underline anywhere (rule A) */
body a, body .sm-link, body .skip-link, body .results-restart, body .dd-footlink, body .dd-h-action,
body #sub-cancel, body .faq-learn a, body .faq-cta a, body .pl-faqnote a, body .cta-more a, body .td-more,
body .page-head .results-lead a, body .person-row.pr-clickable .person-name{
  text-decoration: none; text-underline-offset: 3px;
}
body a:hover{ text-decoration: none; }
body .sm-link:hover, body .skip-link:hover, body .results-restart:hover, body .dd-footlink:hover,
body .cta-more a:hover, body .td-more:hover, body .faq-learn a:hover, body .pl-faqnote a:hover,
body .page-head .results-lead a:hover, body #sub-cancel:hover, body .person-row.pr-clickable:hover .person-name{
  text-decoration: none; filter: brightness(1.15);
}
body a:focus-visible, body .sm-link:focus-visible, body .alt-toggle:focus-visible, body .skip-link:focus-visible,
body .results-restart:focus-visible, body #sub-cancel:focus-visible{ text-decoration: underline; }
body .prose a, body .faq-answer a, body .pp-foot a, body .pp-terms a, body .footer-bottom a, body .skip-link, body .results-restart{ color: var(--brass); }
body .dd-h-action{ border-bottom: 0; }
body section .people-head p.people-count{ font-size: var(--fs-small); }
body .profile-row #pw-open{ font-size: var(--fs-ctrl); }

/* Filled gold buttons all react the same way on hover: a little brighter. Red is kept for delete and warning only. */
body .cta-primary:hover, body .continue-btn:hover, body .find-btn:hover, body .btn-primary:hover,
body .pp-cta:hover, body .grant-btn:hover, body .contact-send:hover{
  background: var(--brass); color: var(--on-brass); border-color: var(--brass); filter: brightness(1.1);
}

/* No red anywhere: the caution accent is violet, a deeper shade on the light theme for contrast. */
:root[data-theme="light"]{ --clay: #5F5790; }
:root[data-theme="light"] .cal-day.is-barred, :root[data-theme="light"] .cal-day.is-ferocious{ --clay: #5F5790; }

/* Homepage (the landing page) reads from the left, like the Pro page and the rest of the site (Sheryl, 2026-11-22). */
.hero{ text-align: left; }
.hero .eyebrow{ justify-content: flex-start; }
.hero h1, .hero-sub{ margin-left: 0; margin-right: 0; }
.hero-inner{ margin-left: 0; margin-right: 0; }
.cta-row, .proof-row{ justify-content: flex-start; }
.funnel-section{ text-align: left; }
.funnel-section > .step-sub{ margin-left: 0; margin-right: 0; }
.funnel{ margin-left: 0; margin-right: 0; }

/* ── Find a date: intro and How it works on the left, the wizard card on the right (Sheryl's mockup, 2026-11-22) ── */
.finder-grid{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0; text-align: left; }
.finder-intro{ grid-area: intro; }
.finder-grid > .funnel{ grid-area: funnel; max-width: none; margin: 0; }
.finder-how{ grid-area: how; }
.finder-grid{ grid-template-areas: "intro" "funnel" "how"; }
@media (min-width: 960px){
  .finder-grid{ grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); grid-template-areas: "intro funnel" "how funnel"; gap: 36px 64px; align-items: start; }
}
.finder-intro .eyebrow{ margin-bottom: 14px; }
.finder-intro h2{ margin: 0 0 12px; text-align: left; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.finder-intro h2 em{ color: var(--brass); font-style: italic; font-weight: 500; }
.finder-intro .step-sub{ margin: 0; max-width: 30em; font-size: var(--fs-read); line-height: 1.6; color: var(--muted); }
.finder-how{ padding-top: 26px; border-top: 1px solid var(--line); }
.finder-how h3{ margin: 0 0 18px; font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 24px; color: var(--paper); }
.fh-steps{ list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 22px; }
.fh-steps li{ position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.fh-steps li:not(:last-child)::after{ content: ''; position: absolute; left: 22px; top: 48px; bottom: -20px; border-left: 1px dashed var(--line); }
.fh-icon{ display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--brass);
  background: color-mix(in srgb, var(--brass) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brass) 28%, transparent); }
.fh-steps strong{ display: block; margin: 2px 0 4px; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: var(--fs-ctrl); color: var(--paper); }
.fh-steps p{ margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); line-height: 1.55; color: var(--muted); max-width: none; }
.fh-callout{ display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); border-radius: var(--r-box);
  background: color-mix(in srgb, var(--brass) 5%, transparent); font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-ctrl); color: var(--paper); max-width: none; }
.fh-callout .fh-icon{ flex: 0 0 auto; border: 0; background: none; width: 30px; height: 30px; }
.funnel-head{ justify-content: flex-end; }
.funnel-time{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); }
.goal-group-sub{ margin: -2px 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); max-width: none; }

/* Find a date, second version (Sheryl, 2026-11-22): the three steps run across the page, and the wizard flies out
   from the "Find a day" button when it is pressed. */
.finder-grid{ display: block; max-width: 1100px; }
@media (min-width: 960px){ .finder-grid{ display: block; } }
.finder-intro{ margin-bottom: 28px; }
.finder-how{ padding-top: 0; border-top: 0; margin-bottom: 26px; }
.finder-how h3{ margin-bottom: 20px; }
.fh-steps{ grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 22px; }
.fh-steps li{ grid-template-columns: 44px minmax(0, 1fr); }
@media (min-width: 760px){
  .fh-steps{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .fh-steps li{ grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fh-steps li:not(:last-child)::after{ left: 52px; right: -22px; top: 22px; bottom: auto; border-left: 0; border-top: 1px dashed var(--line); width: auto; height: 0; }
}
.finder-actions{ margin: 0 0 8px; }
.finder-actions .cta-small{ min-width: 160px; justify-content: center; }
.funnel-section:not(.is-open) .finder-grid > .funnel{ display: none; }
.funnel-section.is-open .finder-actions{ display: none; }
.funnel-section.is-open .finder-grid > .funnel{ max-width: 860px; margin: 28px 0 0; animation: finder-fly .55s cubic-bezier(.2,.8,.2,1) both; transform-origin: 6% 0; }
@keyframes finder-fly{
  from{ opacity: 0; transform: translateY(-26px) scale(.94); }
  to{ opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce){ .funnel-section.is-open .finder-grid > .funnel{ animation: none; } }
.fh-steps li{ align-content: start; }
.fh-steps strong{ margin-top: 0; }

/* Calendar days to be cautious of: the whole box is red (Sheryl, 2026-11-23). Red is used only for this;
   every other caution mark stays violet. Past days keep their faded look. */
:root{ --caution-red: #D9534A; --caution-red-text: #EE7B71; }
:root[data-theme="light"]{ --caution-red: #C23B31; --caution-red-text: #B02A21; }
.cal-day.is-barred:not(.is-past){
  background: color-mix(in srgb, var(--caution-red) 24%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 85%, transparent);
}
.cal-day.is-ferocious:not(.is-past){
  background: color-mix(in srgb, var(--caution-red) 13%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 50%, transparent);
}
.cal-day.is-barred:not(.is-past) .cd-num, .cal-day.is-ferocious:not(.is-past) .cd-num, .cal-day .cd-warn{ color: var(--caution-red-text); }
.cl-swatch.is-barred{ background: color-mix(in srgb, var(--caution-red) 24%, transparent); border-color: color-mix(in srgb, var(--caution-red) 85%, transparent); }
.cl-swatch.is-ferocious{ background: color-mix(in srgb, var(--caution-red) 13%, transparent); border-color: color-mix(in srgb, var(--caution-red) 50%, transparent); }
#pro-year .cal-day.is-barred:not(.is-past){
  background: color-mix(in srgb, var(--caution-red) 24%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 85%, transparent);
}
#pro-year .cal-day.is-ferocious:not(.is-past){
  background: color-mix(in srgb, var(--caution-red) 13%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 50%, transparent);
}

/* Days that match the chosen energy theme: the whole box in green, the same treatment as the red caution days
   (Sheryl, 2026-11-23). The Day Officer filter stands on its own: its days keep the green ring and the rest dim.
   A day that is also one of the strongest keeps its gold look. */
:root{ --match-green: #3FBF8A; --match-green-text: #5ED3A2; }
:root[data-theme="light"]{ --match-green: #2E9A6B; --match-green-text: #1F7A52; }
.cal-day.is-theme:not(.is-pick):not(.is-past), #pro-year .cal-day.is-theme:not(.is-pick):not(.is-past){
  background: color-mix(in srgb, var(--match-green) 22%, transparent);
  border-color: color-mix(in srgb, var(--match-green) 85%, transparent);
}
.cal-day.is-theme:not(.is-pick) .cd-num{ color: var(--match-green-text); }
.cl-swatch.is-theme{ background: color-mix(in srgb, var(--match-green) 22%, transparent); border-color: color-mix(in srgb, var(--match-green) 85%, transparent); }

/* The Day Officer filter stands on its own too: its days get the whole box in blue, so it never reads as the green
   theme match, the gold strongest days or the red caution days. The other days still dim. */
:root{ --officer-blue: #5AA0E0; --officer-blue-text: #84BBF0; }
:root[data-theme="light"]{ --officer-blue: #2F74B5; --officer-blue-text: #1F5A93; }
.cal-day.is-officer:not(.is-pick):not(.is-past), #pro-year .cal-day.is-officer:not(.is-pick):not(.is-past){
  background: color-mix(in srgb, var(--officer-blue) 22%, transparent);
  border-color: color-mix(in srgb, var(--officer-blue) 85%, transparent);
  box-shadow: none;
}
.cal-day.is-officer:not(.is-pick) .cd-num{ color: var(--officer-blue-text); }
.cl-swatch.is-officer{ background: color-mix(in srgb, var(--officer-blue) 22%, transparent); border-color: color-mix(in srgb, var(--officer-blue) 85%, transparent); }

/* A caution day stays red even when it also matches the chosen theme or Day Officer: the warning wins. */
.cal-day.is-barred.is-theme:not(.is-past), .cal-day.is-barred.is-officer:not(.is-past),
#pro-year .cal-day.is-barred.is-theme:not(.is-past), #pro-year .cal-day.is-barred.is-officer:not(.is-past){
  background: color-mix(in srgb, var(--caution-red) 24%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 85%, transparent);
  box-shadow: none;
}
.cal-day.is-barred.is-theme:not(.is-past) .cd-num, .cal-day.is-barred.is-officer:not(.is-past) .cd-num{ color: var(--caution-red-text); }
/* In the full calendar view on a narrow screen the pillar line was wider than its cell and ran into the next one. */
.cal-day .cd-pillar, .cal-day .cd-off-en, .cal-day .cd-man-en{ max-width: 100%; box-sizing: border-box; }

/* Past days keep their colour (Sheryl, 2026-11-23): a caution, theme or Officer day that has already gone by still shows
   its red, green or blue box, only a little softer than the days ahead. */
.cal-day.is-past.is-barred, .cal-day.is-past.is-ferocious, .cal-day.is-past.is-theme, .cal-day.is-past.is-officer{ opacity: 0.7; }
.cal-day.is-past.is-ferocious{
  background: color-mix(in srgb, var(--caution-red) 13%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 50%, transparent);
}
.cal-day.is-past.is-theme:not(.is-pick){
  background: color-mix(in srgb, var(--match-green) 22%, transparent);
  border-color: color-mix(in srgb, var(--match-green) 85%, transparent);
}
.cal-day.is-past.is-officer:not(.is-pick){
  background: color-mix(in srgb, var(--officer-blue) 22%, transparent);
  border-color: color-mix(in srgb, var(--officer-blue) 85%, transparent);
  box-shadow: none;
}
.cal-day.is-past.is-barred, .cal-day.is-past.is-barred.is-theme, .cal-day.is-past.is-barred.is-officer,
#pro-year .cal-day.is-past.is-barred{
  background: color-mix(in srgb, var(--caution-red) 24%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 85%, transparent);
  box-shadow: none;
}
.cal-day.is-past.is-barred .cd-num, .cal-day.is-past.is-ferocious .cd-num{ color: var(--caution-red-text); }
.cal-day.is-past.is-theme:not(.is-pick):not(.is-barred) .cd-num{ color: var(--match-green-text); }
.cal-day.is-past.is-officer:not(.is-pick):not(.is-barred) .cd-num{ color: var(--officer-blue-text); }
#pro-year .cal-day.is-past.is-theme:not(.is-pick):not(.is-barred){ background: color-mix(in srgb, var(--match-green) 22%, transparent); border-color: color-mix(in srgb, var(--match-green) 85%, transparent); }
#pro-year .cal-day.is-past.is-officer:not(.is-pick):not(.is-barred){ background: color-mix(in srgb, var(--officer-blue) 22%, transparent); border-color: color-mix(in srgb, var(--officer-blue) 85%, transparent); }

/* Phones: the English officer name is shown under the Chinese character, so the calendar can be read without Chinese
   (Sheryl, 2026-11-23). */
@media (max-width: 720px){
  .cal-day .cd-off-en{ display: block; font-size: 8.5px; line-height: 1.2; letter-spacing: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cal-day .cd-officer{ gap: 1px; }
}
@media (max-width: 720px){
  .cal-day .cd-officer{ display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; min-width: 0; }
}
@media (max-width: 720px){ .cal-day .cd-off-en{ text-transform: none; letter-spacing: 0; font-size: 9px; } }
@media (max-width: 720px){ .cal-day .cd-off-en{ font-size: 8px; letter-spacing: -0.1px; } .cal-day{ padding-left: 3px; padding-right: 3px; } }
@media (max-width: 720px){ .cal-day .cd-off-en{ margin-left: -3px; width: calc(100% + 6px); max-width: none; } }

/* The calendar's officer (and constellation) text is one colour, white: the Chinese character and the English name match (Sheryl, 2026-11-23). */
.cal-day .cd-off-cn, .cal-day .cd-off-en, .cal-day .cd-man-cn, .cal-day .cd-man-en,
.cal-day.is-past.is-barred .cd-off-cn, .cal-day.is-past.is-barred .cd-off-en, .cal-day.is-past.is-barred .cd-man-cn, .cal-day.is-past.is-barred .cd-man-en,
#pro-year .cal-day .cd-off-cn, #pro-year .cal-day .cd-off-en{ color: var(--paper); }

/* Phones show the simple calendar only, so there is no Simple / Full switch there (Sheryl, 2026-11-23). */
@media (max-width: 700px){ #cal-display{ display: none !important; } }

/* The month's strongest days: the whole box in orange-gold, as strong as the red, green and blue boxes (Sheryl, 2026-11-23). */
.cal-day.is-pick, #pro-year .cal-day.is-pick, .cal-day.is-pick.is-theme, .cal-day.is-pick.is-officer{
  background: color-mix(in srgb, var(--brass) 26%, transparent);
  border-color: color-mix(in srgb, var(--brass) 90%, transparent);
  box-shadow: none;
}
.cal-day.is-pick .cd-num{ color: var(--brass); }
.cl-swatch.is-pick{ background: color-mix(in srgb, var(--brass) 26%, transparent); border-color: color-mix(in srgb, var(--brass) 90%, transparent); }

/* Error and validation messages are white, not violet (Sheryl, 2026-11-23). */
.step-error, .form-error, .sub-error, .name-prompt .name-prompt-err, .error, p.error,
#sm-error, .sm-error, #c1Error, .interest-fine.sub-error{ color: var(--paper); }

/* Spent days get the same red box as the other caution days (Sheryl, 2026-11-23). */
.cal-day.is-spent:not(.is-pick), #pro-year .cal-day.is-spent:not(.is-pick),
.cal-day.is-past.is-spent:not(.is-pick){
  background: color-mix(in srgb, var(--caution-red) 24%, transparent);
  border-color: color-mix(in srgb, var(--caution-red) 85%, transparent);
  box-shadow: none;
}
.cal-day.is-spent:not(.is-pick) .cd-num{ color: var(--caution-red-text); }
.cal-day.is-past.is-spent{ opacity: 0.7; }

/* Glow on landing (Sheryl, 2026-11-23): when the wheel comes to rest, today's Officer character and the centre ring
   light up in gold once, then settle to a soft steady glow. It starts as the spin ends (0.4s delay + 6.5s turn). */
@keyframes wheel-glow{
  0%{ filter: drop-shadow(0 0 0 rgba(201,138,62,0)); }
  35%{ filter: drop-shadow(0 0 9px rgba(224,160,80,0.95)) drop-shadow(0 0 20px rgba(201,138,62,0.6)); }
  100%{ filter: drop-shadow(0 0 4px rgba(201,138,62,0.55)); }
}
.wheel-ring.is-turning .off-mark.is-today{
  animation: wheel-unturn 6.5s cubic-bezier(0.2, 0.6, 0.15, 1) 0.4s both, wheel-glow 2.4s ease-out 6.7s both;
}
.wheel-ring.is-turning ~ .wheel-core{ animation: wheel-glow 2.4s ease-out 6.7s both; }
@media (prefers-reduced-motion: reduce){
  .wheel-ring.is-turning .off-mark.is-today, .wheel-ring.is-turning ~ .wheel-core{ animation: none; filter: drop-shadow(0 0 4px rgba(201,138,62,0.55)); }
}


/* ── Landing page motion (Sheryl, 2026-11-23) ──
   The hero lines rise one after another when the page loads; the rest fades up as it is scrolled into view
   (assets/js/reveal.js adds .reveal and then .is-in). No movement for people who ask for reduced motion. */
@keyframes hero-rise{ from{ opacity: 0; transform: translateY(22px); } to{ opacity: 1; transform: none; } }
.hero-inner > *{ animation: hero-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(1){ animation-delay: .05s; }
.hero-inner > :nth-child(2){ animation-delay: .18s; }
.hero-inner > :nth-child(3){ animation-delay: .32s; }
.hero-inner > :nth-child(4){ animation-delay: .46s; }
.hero-inner > :nth-child(5){ animation-delay: .60s; }
.reveal{ opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .hero-inner > *{ animation: none; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ── Homepage hero (Sheryl's brief, 2026-11-23): "Don't just pick a date. Find your G.O.A.T. days." ──
   Two columns on a laptop: the message on the left (about 58%), a quiet "living almanac" on the right (about 42%).
   The almanac is a small calendar that is scanned, a few dates softly lit, one date opening to its twelve
   double-hours, then back again. It is an illustration only: it never marks a date as auspicious. */
.hero{ position: relative; overflow: hidden; }
.hero .eyebrow{ text-transform: uppercase; }
.hero h1{ text-wrap: balance; }
.hero h1 .nowrap-brass{ white-space: normal; }
.hero h1 .keep{ white-space: nowrap; }
.hero-sub{ margin-bottom: 30px; }
.hero-sub2{ margin: 0 0 30px; max-width: 34em; font-family: 'Fraunces', serif; font-size: 15px; line-height: 1.55; color: var(--muted); }
.proof-row{ gap: 12px 28px; }
.proof{ color: var(--paper); opacity: .82; font-size: 14px; }
.proof svg{ color: color-mix(in srgb, var(--brass) 80%, var(--paper)); width: 18px; height: 18px; }
#how-it-works, .finder-how{ scroll-margin-top: 110px; }
.hero-art{ display: none; }
@media (min-width: 1000px){
  .hero{ display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 42%); align-items: center; column-gap: 0; }
  .hero .hero-inner{ max-width: none; grid-column: 1; }
  .hero-art{ display: block; grid-column: 2; justify-self: end; width: min(100%, 470px); padding-left: 24px; }
}
.ha-card{ position: relative; padding: 22px 22px 20px; border: 1px solid color-mix(in srgb, var(--brass) 28%, transparent); border-radius: 8px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--paper) 5%, transparent), color-mix(in srgb, var(--paper) 1.5%, transparent));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.55), inset 0 0 0 1px color-mix(in srgb, var(--paper) 3%, transparent);
  opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.hero-art.is-ready .ha-card{ opacity: 1; transform: none; }
.ha-head{ display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ha-month{ font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--paper); }
.ha-sub{ font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.ha-dow, .ha-grid{ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ha-dow{ margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 1.5px; color: var(--muted-soft); text-align: center; }
.ha-d{ position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 1 / 1.08; border: 1px solid transparent; border-radius: 5px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper); background: color-mix(in srgb, var(--paper) 2.5%, transparent);
  transition: background .6s ease, border-color .6s ease, box-shadow .8s ease, transform .6s ease; }
.ha-d.is-pad{ background: none; }
.ha-p{ font-family: 'Fraunces', 'Noto Serif SC', 'Songti SC', serif; font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.ha-d.is-scan{ background: color-mix(in srgb, var(--brass) 16%, transparent); border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.ha-d.is-glow{ background: color-mix(in srgb, var(--brass) 20%, transparent); border-color: color-mix(in srgb, var(--brass) 80%, transparent);
  box-shadow: 0 0 18px -2px color-mix(in srgb, var(--brass) 60%, transparent); }
.ha-d.is-open{ transform: scale(1.08); }
.ha-hours{ position: absolute; inset: 14px; display: flex; flex-direction: column; justify-content: center; padding: 20px 20px 18px; border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(3px);
  opacity: 0; transform: scale(.92); pointer-events: none; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.hero-art.is-hours .ha-hours{ opacity: 1; transform: none; }
.ha-hours-title{ margin-bottom: 4px; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--paper); }
.ha-hours-note{ margin-bottom: 16px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.ha-hours-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ha-h{ display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 5px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--hd, 0s); }
.ha-h span{ font-family: 'Fraunces', 'Noto Serif SC', 'Songti SC', serif; font-size: 13px; color: var(--muted); }
.hero-art.is-hours .ha-h{ opacity: 1; transform: none; }
/* Static fallback: no motion, the calendar with three dates softly lit. */
.hero-art.is-static .ha-card{ opacity: 1; transform: none; transition: none; }
.hero-art.is-static .ha-d, .hero-art.is-static .ha-hours{ transition: none; }
@media (prefers-reduced-motion: reduce){
  .ha-card{ opacity: 1; transform: none; transition: none; }
  .ha-d, .ha-hours, .ha-h{ transition: none; }
}
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

/* One label style for every section opener (Sheryl, 2026-11-23): the small green caps label has the short line before it
   whether it is written as an "eyebrow" or as a "section label". Labels inside cards and lists keep their plain look. */
section > .section-label, .results-head > .section-label{
  display: flex; align-items: center; gap: 10px; font-weight: 400; margin-bottom: 22px;
}
section > .section-label::before, .results-head > .section-label::before{
  content: ''; width: 28px; height: 1px; background: var(--jade); flex: 0 0 auto;
}

/* "What our users say" carousel (2026-11-23): the quotes share one grid cell and cross-fade; dots appear when there is
   more than one quote. */
.cred-carousel{ flex: 1; min-width: 240px; }
.cred-track{ display: grid; }
.cred-slide{ grid-area: 1 / 1; margin-top: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.cred-slide.is-on{ opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.cred-dots{ display: flex; gap: 10px; margin: 18px 0 0 24px; }
.cred-dots button{ width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--paper) 25%, transparent); transition: background .3s ease, transform .3s ease; }
.cred-dots button.is-on{ background: var(--brass); transform: scale(1.25); }
.cred-dots button:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){ .cred-slide, .cred-slide.is-on{ transition: none; } }
/* More than seven quotes: a short count and a thin progress line instead of a long row of dots. */
.cred-dots.is-many{ align-items: center; gap: 14px; }
.cred-count{ font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 1px; color: var(--muted); min-width: 4.5em; }
.cred-bar{ display: block; width: 90px; height: 2px; background: color-mix(in srgb, var(--paper) 18%, transparent); border-radius: 2px; overflow: hidden; }
.cred-bar i{ display: block; height: 100%; width: 0; background: var(--brass); transition: width .5s ease; }

/* The day's facts (Officer, Way, Constellation, Clashing hour, Breaker, Spent, Spirit) all read in the same white; the
   old per-kind colours (gold, grey, green, violet) made the list look uneven (Sheryl, 2026-11-23). */
.td-row .td-heading, .td-row.is-yellow .td-heading, .td-row.is-black .td-heading, .td-row.is-breaker .td-heading,
.td-row.is-spirit .td-heading, .td-row.is-mansion .td-heading{ color: var(--paper); }
/* On a phone the facts list sits straight under the pillar cards: no extra divider above the Day Officer (Sheryl, 2026-11-23). */
.today-layout #today-detail{ border-top: none; }
@media (max-width: 860px){ .today-layout #today-detail{ border-top: none; padding-top: 0; } }
/* No closing line under the last fact: no divider before "Why Align Days" (Sheryl, 2026-11-23). */
#today-detail .td-row:last-child{ border-bottom: none; }

/* ── Find a Date, redesign phase 1 (Sheryl's brief, 2026-11-24) ──
   Desktop: a quiet explanation on the left (about 35%) and the real wizard on the right (about 65%), always showing.
   Phone: one column, the wizard right after the short headline; How It Works folds away until asked for. */
.finder-grid{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1400px; text-align: left; }
.finder-left{ min-width: 0; }
.finder-left .eyebrow{ margin-bottom: 14px; text-transform: uppercase; }
.finder-left h2{ margin: 0 0 14px; text-align: left; font-size: clamp(28px, 3vw, 40px); line-height: 1.14; text-wrap: balance; }
.finder-left .step-sub{ margin: 0 0 26px; max-width: 30em; font-size: var(--fs-read); line-height: 1.6; color: var(--muted); }
.funnel-section.is-open .finder-grid > .funnel, .funnel-section:not(.is-open) .finder-grid > .funnel{ max-width: none; margin: 0; animation: none; display: flex; }
.fh-details{ border-top: 1px solid var(--line); padding-top: 18px; }
.fh-details summary{ list-style: none; cursor: default; font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 22px; color: var(--paper); margin-bottom: 14px; }
.fh-details summary::-webkit-details-marker{ display: none; }
.fh-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fh-list li{ display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.fh-n{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); letter-spacing: 2px; color: var(--brass); }
.fh-list strong{ display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: var(--fs-ctrl); color: var(--paper); margin-bottom: 2px; }
.fh-list p{ margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); max-width: none; }
.fn-title{ margin: 0 0 4px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; color: var(--paper); }
.fn-sub{ margin: 0 0 18px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); max-width: none; }
@media (min-width: 960px){
  .finder-grid{ grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 56px; align-items: start; }
  .finder-left{ position: sticky; top: 110px; }
  .fh-details summary{ pointer-events: none; }
}
@media (max-width: 959px){
  .fh-details{ border-top: 0; padding-top: 0; }
  .fh-details summary{ cursor: pointer; display: inline-block; margin-bottom: 0; font-family: 'Space Grotesk', sans-serif; font-style: normal; font-size: var(--fs-ctrl); color: var(--brass); }
  .fh-details summary::after{ content: '+'; margin-left: 8px; }
  .fh-details[open] summary::after{ content: '\2212'; }
  .fh-details[open] summary{ margin-bottom: 14px; }
  .finder-left .step-sub{ margin-bottom: 14px; }
}
/* The wizard's occasions are one list: four across on a wide card (Wedding is in it). */
@media (min-width: 800px){ #goalGrid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Free search: one calendar month (Sheryl's brief, 2026-11-24) ── */
.month-pick{ padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--fn-fg, var(--paper)) 16%, transparent); border-radius: 6px; }
.mp-head{ display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-ctrl); color: var(--fn-fg, var(--paper)); }
.mp-head strong{ font-weight: 400; }
.mp-free{ font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }
.month-pick select{ width: 100%; height: 44px; }
.mp-note{ margin: 12px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); }
.mp-period{ margin: 6px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--fn-fg, var(--paper)); }

/* Results: compact rows, tied to the finder (not three wide cards) */
.top-grid.is-rows{ display: flex; flex-direction: column; gap: 10px; margin-top: 22px; max-width: 920px; }
.top-grid.is-rows .top-card{ flex-direction: row; align-items: stretch; text-align: left; padding: 16px 20px; gap: 22px; }
.top-grid.is-rows .tc-date{ flex: 0 0 132px; display: flex; flex-direction: column; align-items: flex-start; }
.top-grid.is-rows .tc-rank{ margin-bottom: 8px; }
.top-grid.is-rows .tc-num{ font-size: 40px; margin: 4px 0 2px; }
.top-grid.is-rows .tc-when{ margin-top: 6px; }
.top-grid.is-rows .tc-body{ flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-left: 22px; border-left: 1px solid var(--line); }
.top-grid.is-rows .tc-bar{ display: none; }
.top-grid.is-rows .tc-way{ margin-left: 0; }
@media (max-width: 560px){
  .top-grid.is-rows .top-card{ gap: 14px; padding: 14px; }
  .top-grid.is-rows .tc-date{ flex-basis: 96px; }
  .top-grid.is-rows .tc-num{ font-size: 34px; }
  .top-grid.is-rows .tc-body{ padding-left: 14px; }
}
.results-more{ margin-top: 20px; max-width: 920px; }
.results-more summary{ cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); }
.results-more .fine-print{ margin-top: 10px; }
.results-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }
.results-actions .results-restart, .results-actions .alt-toggle{ margin-top: 0; }

/* Results sit inside the Find a Date section, in the wizard's place (Sheryl, 2026-11-24): the explanation stays on the
   left, the wizard card steps aside and one results card takes its spot, with Edit Search to bring the wizard back. */
.finder-grid > .results-card{ min-width: 0; display: none; padding: 22px 24px 20px; border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 6%, var(--ink)); border: 1px solid var(--line); }
.funnel-section.is-results .finder-grid > .results-card{ display: block; }
.funnel-section.is-results .finder-grid > .funnel{ display: none; }
.results-card[hidden]{ display: none !important; }
.rc-top{ margin-bottom: 6px; }
.results-card .section-label{ margin: 0; }
.results-card h2{ margin: 6px 0 4px; font-size: 28px; line-height: 1.15; }
.results-card .results-lead{ margin: 0; color: var(--muted); font-size: var(--fs-read); }
.rc-period{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); }
.rc-period .results-restart{ margin: 0; color: var(--brass); cursor: pointer; }
.results-card .top-grid{ margin-top: 16px; max-width: none; }

/* a result row: date block, Officer and what stands out, chevron */
.top-grid.is-rows .top-card{ display: block; padding: 0; text-align: left; }
.top-grid.is-rows .tc-row{ display: block; }
.top-grid.is-rows .tc-sum{ display: flex; align-items: center; gap: 18px; padding: 14px 16px; cursor: pointer; list-style: none; }
.top-grid.is-rows .tc-sum::-webkit-details-marker{ display: none; }
.top-grid.is-rows .tc-date{ flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.top-grid.is-rows .tc-dow{ font-size: 11px; }
.top-grid.is-rows .tc-num{ font-size: 36px; margin: 2px 0; }
.top-grid.is-rows .tc-mon{ font-size: 10.5px; }
.top-grid.is-rows .tc-main{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.top-grid.is-rows .tc-rank{ margin: 0; font-size: 10.5px; }
.top-grid.is-rows .tc-officer{ font-family: 'Fraunces', serif; font-size: 18px; color: var(--paper); }
.top-grid.is-rows .tc-meta{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--muted); }
.tc-chev{ flex: 0 0 auto; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); transition: transform .25s ease; margin-right: 4px; }
.tc-row[open] .tc-chev{ transform: rotate(45deg); }
.top-grid.is-rows .tc-more{ padding: 0 16px 16px 118px; display: flex; flex-direction: column; gap: 6px; }
.top-grid.is-rows .tc-when{ margin: 0; }
.top-grid.is-rows .tc-body, .top-grid.is-rows .tc-bar{ display: none; }
@media (max-width: 560px){
  .finder-grid > .results-card{ padding: 18px 16px 16px; }
  .top-grid.is-rows .tc-sum{ gap: 12px; padding: 12px; }
  .top-grid.is-rows .tc-date{ flex-basis: 64px; }
  .top-grid.is-rows .tc-num{ font-size: 30px; }
  .top-grid.is-rows .tc-officer{ font-size: 16px; }
  .top-grid.is-rows .tc-more{ padding: 0 12px 14px 12px; }
}

/* The day card shared by Career, Business and Marriage (2026-11-24): rank, date, pillars, then the layers. */
.cdt-rank{ margin-bottom: 4px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }
.cal-detail.is-steady .cdt-rank{ color: var(--muted); }
.dc-pillars{ display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 14px 0 4px; }
.dc-pil{ display: flex; flex-direction: column; gap: 2px; }
.dc-pil-label{ font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-soft); }
.dc-pil-cn{ font-family: 'Fraunces', 'Noto Serif SC', 'Songti SC', serif; font-size: 22px; line-height: 1.2; color: var(--brass); }
.dc-pil-en{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-small); color: var(--paper); }
.cdt-parked{ margin: 12px 0 2px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--muted-soft); }
.cal-detail.m-pick-card{ margin-top: 14px; }

/* Results rows are always open (no second click); the countdown sits in the top right. */
.top-grid.is-rows .tc-row{ position: relative; }
.top-grid.is-rows .tc-sum{ cursor: default; }
.tc-count{ position: absolute; top: 12px; right: 16px; font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px){ .tc-count{ top: 10px; right: 12px; } }


/* The Business and Career results sit inside a panel that already has side padding, so the heading and cards line up
   with the form above them instead of being inset a second time (Sheryl, 2026-11-24). */
#business-results, #career-results{ padding-left: 0; padding-right: 0; }
#business-results::before, #career-results::before{ left: 0; right: 0; }

/* Good for / Caution for sit side by side on a wide screen whether or not the card has a Wisdom panel beside it
   (Sheryl, 2026-11-24). */
@media (min-width: 900px){
  .dd-approach{ grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* The tear-off almanac page on the Today card (Sheryl, 2026-11-24). A wide-screen addition: on a phone the card keeps its
   day strip and its own date line. The sheet is paper-coloured in both themes, like the wall calendar it imitates. */
.alm-page{ display: none; }
@media (min-width: 900px){
  .dd-card.has-page{ display: grid; grid-template-columns: 236px minmax(0, 1fr); column-gap: 36px; align-items: start; }
  .dd-card.has-page > *{ grid-column: 2; }
  .dd-card.has-page > .alm-page{ grid-column: 1; grid-row: 1 / span 12; display: block; position: sticky; top: 100px; perspective: 900px; }
  .dd-card.has-page > .dd-step{ grid-column: auto; }
  /* the page carries the date and the pillar, so the card's own copies of them step aside here */
  .dd-card.has-page .dd-dateline,
  .dd-card.has-page .dd-pillar-row{ display: none; }
}
.alm-sheet{
  position: relative; padding: 18px 16px 16px; text-align: center; color: #3a2f22;
  background: linear-gradient(180deg, #f3e8cf 0%, #ead9b6 100%);
  border-radius: 6px 6px 10px 10px; box-shadow: 0 14px 34px rgba(0,0,0,.38), inset 0 0 0 1px rgba(122,92,40,.28);
  transform-origin: 50% 0; animation: almDrop .9s cubic-bezier(.2,.8,.25,1) both;
}
/* the perforated top edge, as if just torn from the pad */
.alm-sheet::before{
  content: ''; position: absolute; left: 10px; right: 10px; top: 7px; height: 0;
  border-top: 2px dotted rgba(122,92,40,.45);
}
.alm-sheet::after{
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; animation: almSheen 1.6s ease .7s both;
}
.alm-top{ margin-top: 10px; font-family: 'Fraunces', serif; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: #7a5c28; }
.alm-num{ margin: 6px 0 0; perspective: 600px; }
.alm-num span{
  display: inline-block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 92px; line-height: 1; color: #3a2f22;
  transform-origin: 50% 0; animation: almFlip .8s cubic-bezier(.3,.7,.3,1) .35s both;
}
.alm-dow{ margin-top: 2px; font-family: 'Fraunces', serif; font-size: 17px; color: #4a3b29; }
.alm-lunar{ margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(122,92,40,.3); font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; font-size: 15px; letter-spacing: 2px; color: #6b5330; }
.alm-bottom{ margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(122,92,40,.3); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.alm-art{ color: #4a3b29; animation: almRise .9s ease .8s both; }
.alm-pillar{ font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; font-size: 20px; letter-spacing: 3px; color: #3a2f22; }
.alm-pillar-en{ font-family: 'Fraunces', serif; font-size: 15px; color: #6b5330; }
@keyframes almDrop{ 0%{ opacity: 0; transform: translateY(-18px) rotateX(-28deg) rotate(-1.5deg); } 60%{ opacity: 1; } 100%{ opacity: 1; transform: none; } }
@keyframes almFlip{ 0%{ opacity: 0; transform: rotateX(-95deg); } 100%{ opacity: 1; transform: none; } }
@keyframes almSheen{ 0%{ background-position: 150% 0; } 100%{ background-position: -50% 0; } }
@keyframes almRise{ 0%{ opacity: 0; transform: translateY(8px); } 100%{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .alm-sheet, .alm-sheet::after, .alm-num span, .alm-art{ animation: none; }
}

/* The wide Today card, laid out like the mockup (Sheryl, 2026-11-24): Officer and Day Indicators side by side, then the
   called-out Constellation / Way row, then Today's Insight across the card, then Good for and Caution for. */
.dd-calls{ display: none; }
.dd-call-label{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }
.dd-call.is-yellow .dd-call-label{ color: var(--brass); }
.dd-call.is-black .dd-call-label{ color: var(--muted); }
.dd-call-value{ margin-top: 4px; font-family: 'Fraunces', serif; font-size: var(--fs-card-h); font-weight: 600; color: var(--paper); }
.dd-call-sub{ margin-top: 2px; font-family: 'Fraunces', serif; font-size: var(--fs-read); color: var(--muted); }
@media (max-width: 899px){
  .dd-calls{ display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (min-width: 900px){
  .dd-card.has-page .dd-split, .dd-card.has-page .dd-split.has-side{
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 36px; align-items: start;
    grid-template-areas: "top ind" "calls calls" "side side" "bottom bottom";
  }
  .dd-card.has-page .dd-split .dd-top{ grid-area: top; }
  .dd-card.has-page .dd-split .dd-ind-block{ grid-area: ind; margin-top: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); align-self: stretch; justify-content: center; }
  .dd-card.has-page .dd-split .dd-calls{
    grid-area: calls; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 22px; padding: 18px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .dd-card.has-page .dd-split .dd-call{ padding: 0 24px; border-left: 1px solid var(--line); }
  .dd-card.has-page .dd-split .dd-call:first-child{ padding-left: 0; border-left: 0; }
  .dd-card.has-page .dd-split .dd-side{ grid-area: side; }
  .dd-card.has-page .dd-split .dd-bottom{ grid-area: bottom; }
  .dd-card.has-page .dd-split .dd-wisdom{ margin-top: 22px; }
}
@media (min-width: 900px){
  .dd-card.has-page .dd-split{ grid-template-areas: "top top" "calls calls" "side side" "bottom bottom"; }
  .dd-card.has-page .dd-split .dd-ind-block.is-repeat{ display: none; }
  .dd-card.has-page .dd-split:has(.dd-ind-block:not(.is-repeat)){ grid-template-areas: "top ind" "calls calls" "side side" "bottom bottom"; }
}
/* Additional (warning) indicators: their own full-width section on the wide Today card; on a phone the tags already sit
   in the Traditional indicators block, so this one stays out of the way. */
.dd-warn-block{ display: none; }
@media (min-width: 900px){
  .dd-card.has-page .dd-split{ grid-template-areas: "top top" "calls calls" "warn warn" "side side" "bottom bottom"; }
  .dd-card.has-page .dd-split:has(.dd-ind-block:not(.is-repeat)){ grid-template-areas: "top top" "calls calls" "warn warn" "side side" "bottom bottom"; }
  .dd-card.has-page .dd-split .dd-warn-block{ display: flex; grid-area: warn; margin-top: 0; padding: 18px 0; border-top: 0; border-bottom: 1px solid var(--line); }
}

@media (min-width: 900px){
  .dd-card.has-page .dd-split, .dd-card.has-page .dd-split.has-side, .dd-card.has-page .dd-split.has-side:has(.dd-ind-block){
    grid-template-areas: "top top" "calls calls" "warn warn" "side side" "bottom bottom";
  }
}

/* Phone: the Traditional Indicators stay, the called-out row is wide-screen only, and the Day Pillar badge is replaced by
   the date line ("26 November 2026 · Wood Dragon Day · 丙午年十月十八"). The warning indicators (Ten Great Defeat, Breakers)
   sit at the bottom of the card, each with its description (Sheryl, 2026-11-24). */
.dd-card.has-page .dd-pillar-row{ display: none; }
.dd-warn-block{ display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dd-warn-row{ display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dd-warn-text{ font-family: 'Fraunces', serif; font-size: var(--fs-read); line-height: 1.5; color: var(--muted); }
.dd-dateline-text{ white-space: normal; }

@media (max-width: 899px){
  .dd-card .dd-split{ display: flex; flex-direction: column; }
  .dd-card .dd-split .dd-warn-block{ order: 9; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
}
.dd-card.has-score .dd-dateline{ padding-right: 30px; }

/* Traditional Indicators ARE the call-outs (Sheryl, 2026-11-24): Constellation, Way and Spirit given room, under that
   heading, on every screen. The tag chips repeat them, so they step aside on the Today card. */
.dd-card.has-page .dd-ind-block.is-repeat{ display: none; }
.dd-calls{ display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dd-calls .dd-ind-label{ display: block; margin-bottom: 14px; }
.dd-calls-row{ display: grid; gap: 16px; }
@media (min-width: 900px){
  .dd-card.has-page .dd-split .dd-calls{ display: block; grid-area: calls; padding: 18px 0; margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-auto-flow: initial; }
  .dd-card.has-page .dd-split .dd-calls-row{ display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
}


/* "Good for" uses the same muted green as the section labels and the Way tag, not the brighter one (Sheryl, 2026-11-24). */
.dd-approach-group.is-good .dd-approach-h,
:root[data-theme="light"] .dd-approach-group.is-good .dd-approach-h{ color: var(--jade); }
.dd-approach-group.is-good .dd-approach-item::before{ color: var(--jade); }

/* The warning indicators are part of the Traditional Indicators section now, under its call-outs. */
.dd-calls .dd-warn-block{ display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
@media (min-width: 900px){
  .dd-card.has-page .dd-split .dd-calls .dd-warn-block{ grid-area: auto; display: flex; padding: 16px 0 0; border-bottom: 0; }
}


/* Today's Insight directly under the Officer, then the Traditional Indicators, then Good for / Caution for
   (Sheryl, 2026-11-24). */
@media (min-width: 900px){
  .dd-card.has-page .dd-split, .dd-card.has-page .dd-split.has-side, .dd-card.has-page .dd-split.has-side:has(.dd-ind-block){
    grid-template-areas: "top top" "side side" "calls calls" "bottom bottom";
  }
  .dd-card.has-page .dd-split .dd-calls{ margin-top: 22px; }
}
@media (max-width: 899px){
  .dd-card .dd-split .dd-top{ order: 1; }
  .dd-card .dd-split .dd-side{ order: 2; }
  .dd-card .dd-split .dd-calls{ order: 3; }
  .dd-card .dd-split .dd-bottom{ order: 4; }
  .dd-card .dd-split .dd-ind-block{ order: 5; }
}
/* One line between Today's Insight and Traditional Indicators on a phone: the Insight already closes with a rule. */
@media (max-width: 899px){
  .dd-card.has-page .dd-split .dd-calls{ border-top: 0; margin-top: 18px; padding-top: 0; }
}

/* Good for / Caution for: a rule above them, and headings set like the other section labels (small, spaced capitals),
   still green and gold (Sheryl, 2026-11-24). */
:is(#today-dash, #month-day-detail) .dd-approach{ margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
:is(#today-dash, #month-day-detail) .dd-approach-h{
  font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
}
@media (min-width: 900px){
  .dd-card.has-page .dd-split .dd-calls{ border-bottom: 0; padding-bottom: 0; }
}

/* The almanac page follows the site's own theme instead of a cream sheet (Sheryl, 2026-11-24): the same soft panel and
   brass line as the other cards, in both dark and light themes. */
.alm-sheet{
  color: var(--paper);
  background: color-mix(in srgb, var(--paper) 5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 32%, transparent), 0 10px 26px rgba(0,0,0,.22);
}
.alm-sheet::before{ border-top-color: color-mix(in srgb, var(--brass) 50%, transparent); }
.alm-sheet::after{ background-image: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--brass) 22%, transparent) 50%, transparent 65%); }
.alm-top{ color: var(--brass); }
.alm-num span{ color: var(--paper); }
.alm-dow{ color: var(--paper); }
.alm-lunar{ color: var(--muted); border-top-color: var(--line); }
.alm-bottom{ border-top-color: var(--line); }
.alm-art{ color: var(--brass); }
.alm-pillar{ color: var(--paper); }
.alm-pillar-en{ color: var(--muted); }

/* Stepping to another day tears the page off like a tongshu sheet, left to right (Sheryl, 2026-11-24): the old sheet's
   top edge goes ragged, its left side lifts first and it swings away to the right while the new day shows underneath. */
.alm-ghost, .alm-ghost *, .alm-ghost::after{ animation: none !important; }
.alm-ghost{
  transform-origin: 100% 0;
  clip-path: polygon(0 1.5%, 5% 0, 11% 2%, 17% 0.5%, 24% 2.5%, 31% 0.5%, 38% 2%, 45% 0, 52% 2.5%, 59% 0.5%, 66% 2%, 73% 0, 80% 2.5%, 87% 0.5%, 93% 2%, 100% 0, 100% 100%, 0 100%);
}
.alm-ghost.is-tear-next{ animation: almTearNext .85s cubic-bezier(.45,.05,.55,.95) both !important; }
.alm-ghost.is-tear-prev{ animation: almTearPrev .85s cubic-bezier(.45,.05,.55,.95) both !important; transform-origin: 0 0; }
@keyframes almTearNext{
  0%{ transform: none; opacity: 1; }
  30%{ transform: rotate(-3deg) translate(2px, -2px); opacity: 1; }
  100%{ transform: translate(150px, -90px) rotate(24deg); opacity: 0; }
}
@keyframes almTearPrev{
  0%{ transform: none; opacity: 1; }
  30%{ transform: rotate(3deg) translate(-2px, -2px); opacity: 1; }
  100%{ transform: translate(-150px, -90px) rotate(-24deg); opacity: 0; }
}
/* the new sheet is simply there, underneath, once the old one has gone: a short fade, not a second drop */
.alm-sheet.is-nav{ animation: almReveal .5s ease .15s both; }
@keyframes almReveal{ 0%{ opacity: 0; transform: scale(.97); } 100%{ opacity: 1; transform: none; } }
@media (min-width: 900px){
  .day-dash.dd-in-next, .day-dash.dd-in-prev{ animation: none; }
}
@media (prefers-reduced-motion: reduce){ .alm-sheet.is-nav{ animation: none; } }


/* No sheen sweep across the almanac page (Sheryl, 2026-11-24). */
.alm-sheet::after{ content: none; animation: none; }

/* Path Deity wording: short on a phone, fuller on a wide screen; and the (i) note (Sheryl, 2026-11-24). */
.dd-txt-long{ display: none; }
@media (min-width: 900px){ .dd-txt-short{ display: none; } .dd-txt-long{ display: inline; } }
.dd-info{
  display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 8px; padding: 0;
  border: 1px solid color-mix(in srgb, var(--brass) 60%, transparent); border-radius: 50%; background: none; cursor: pointer;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 11px; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--brass);
  vertical-align: 1px;
}
.dd-info:hover, .dd-info:focus-visible{ background: color-mix(in srgb, var(--brass) 18%, transparent); }
.dd-info-note{ margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--paper) 6%, transparent); }
.dd-info-note[hidden]{ display: none; }
.dd-info-p{ margin: 0 0 8px; font-family: 'Fraunces', serif; font-size: var(--fs-read); line-height: 1.55; color: var(--muted); }
.dd-info-p:last-child{ margin-bottom: 0; }


/* The logo: small capitals, ALIGN upright and DAYS in italic (Sheryl, 2026-11-24). */
.logo-text{ font-size: 17px; letter-spacing: 3px; text-transform: uppercase; }
.logo-text span{ font-style: normal; }
.logo-text i{ font-style: italic; }
/* ...in lower case, not capitals (Sheryl, 2026-11-24). */
.logo-text{ font-size: 22px; letter-spacing: 0.5px; text-transform: lowercase; }
/* Both words in the normal text colour: white on dark, dark on light (Sheryl, 2026-11-24). */
.logo-text, .logo-text span, .logo-text i{ color: var(--paper); }

/* The mark: a sun, a moon and a star (Sheryl, 2026-11-24). */
.logo-glyph svg{ display: block; width: 26px; height: 26px; }
/* No box round the mark (Sheryl, 2026-11-24). */
.logo-glyph{ border: 0; width: auto; height: auto; }
.logo-glyph svg{ width: 32px; height: 32px; }

/* The Month view's day card sits straight on the page, as Today's does, instead of inside a second bordered box that
   insets it (Sheryl, 2026-11-24). The prev/next controls above it stay. */
.sel-day{ padding: 0; border: 0; background: none; border-radius: 0; }
.sel-day .day-dash{ margin-top: 14px; }

/* Changing day turns the page by its corner, right to left, like a wall-calendar leaf, rather than tearing at the top
   (Sheryl, 2026-11-24): the sheet hinges on its left edge, lifts at the far corner and swings over to the left. */
.alm-ghost{ clip-path: none; backface-visibility: hidden; }
.alm-ghost.is-tear-next{ transform-origin: 0 50%; animation: almTurnNext .8s cubic-bezier(.5,.05,.4,1) both !important; }
.alm-ghost.is-tear-prev{ transform-origin: 100% 50%; animation: almTurnPrev .8s cubic-bezier(.5,.05,.4,1) both !important; }
@keyframes almTurnNext{
  0%{ transform: perspective(900px) rotateY(0) rotateZ(0); opacity: 1; }
  22%{ transform: perspective(900px) rotateY(-12deg) rotateZ(-1.5deg); opacity: 1; }
  70%{ opacity: 1; }
  100%{ transform: perspective(900px) rotateY(-160deg) rotateZ(-3deg) translateX(-24px); opacity: 0; }
}
@keyframes almTurnPrev{
  0%{ transform: perspective(900px) rotateY(0) rotateZ(0); opacity: 1; }
  22%{ transform: perspective(900px) rotateY(12deg) rotateZ(1.5deg); opacity: 1; }
  70%{ opacity: 1; }
  100%{ transform: perspective(900px) rotateY(160deg) rotateZ(3deg) translateX(24px); opacity: 0; }
}
.alm-ghost.is-tear-next{ animation-duration: 1s !important; animation-timing-function: ease-in-out !important; }
.alm-ghost.is-tear-prev{ animation-duration: 1s !important; animation-timing-function: ease-in-out !important; }

/* The Chinese character inside the Day Officer circle, a little smaller (Sheryl, 2026-11-24). */
.dd-officer-cn{ font-size: 36px; }
@media (max-width: 620px){ .dd-officer-cn{ font-size: 32px; } }

/* No outline or dotted edge on the almanac page, so it peels away cleanly (Sheryl, 2026-11-24). */
.alm-sheet{ box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.alm-sheet::before{ content: none; }
.alm-ghost{ box-shadow: none; }

/* Phone: no "Today's energy and guidance, for you." line, and the heading sits closer to the card below
   (Sheryl, 2026-11-24). */
@media (max-width: 700px){
  .today-head .pro-sub{ display: none; }
  .section.today-head{ padding-bottom: 0; }
  #today-view{ padding-top: 8px; }
  .today-head .pro-hello{ margin-bottom: 0; }
}
@media (max-width: 700px){ #today-view{ padding-top: 22px; } }

/* The Month view's day card carries the same almanac page as Today's on a wide screen (Sheryl, 2026-11-24). On a phone
   it keeps its own Day Pillar badge, since it has no day-name date line like Today's. */
@media (max-width: 899px){
  .dd-card.has-page.page-month .dd-pillar-row{ display: flex; }
}

/* The Ten God's theme, called out above its description (Sheryl, 2026-11-24). */
.dd-theme{ display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.dd-theme-label{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }
.dd-theme-value{ font-family: 'Fraunces', serif; font-size: var(--fs-card-h); font-weight: 600; color: var(--paper); }
/* Stacked and left-aligned like the Traditional Indicators call-outs: label, theme, then the god and its description. */
.dd-theme{ display: block; margin: 0 0 6px; }
.dd-theme-label, .dd-theme-value{ display: block; }
.dd-theme-value{ margin-top: 4px; }
/* Ten God row: the god's name as a call-out heading, then "Theme: ..." in white above the description. */
.dd-flat .dd-row .dd-god-name{ margin: 0 0 6px; }
.dd-theme{ display: block; margin: 0 0 4px; font-family: 'Fraunces', serif; font-size: var(--fs-read); font-weight: 600; color: var(--paper); }
.dd-theme-label, .dd-theme-value{ display: inline; }


/* Admin "User Access" form: the email field, the role menu and Grant Access are one height and sit on one baseline, with
   the two labels on one line (Sheryl, 2026-11-25). */
.add-user-row{ align-items: flex-end; }
.add-user-row .au-field{ justify-content: flex-end; }
.add-user-row .au-field label{ height: 13px; line-height: 13px; }
.add-user-row .au-field input,
.add-user-row .au-field .gs,
.add-user-row .au-field .gs-btn,
.add-user-row .au-field select,
.add-user-row .grant-btn{ box-sizing: border-box; height: 44px; margin: 0; }
.add-user-row .au-field input, .add-user-row .au-field select{ padding-top: 0; padding-bottom: 0; }
.add-user-row .au-field .gs-btn{ width: 100%; }
.add-user-row .grant-btn{ padding-top: 0; padding-bottom: 0; }

/* Admin users table: the Actions heading sits over its controls (right-aligned, as they are), and the role menu, Revoke and
   Delete share one height with Revoke and Delete one width (Sheryl, 2026-11-25). */
.admin-table th:last-child{ text-align: right; }
.row-actions .gs, .row-actions .gs-btn, .row-actions .row-act{ box-sizing: border-box; height: 36px; }
.row-actions .gs{ width: 112px; min-width: 112px; }
.row-actions .gs-btn{ width: 100%; }
.row-actions .row-act{ width: 84px; padding-left: 0; padding-right: 0; text-align: center; }

/* Three Killings: the activities to take care with, under the description (Sheryl, 2026-11-26). */
.dd-call-avoid{ margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.dd-call-avoid-h{ font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-cap); letter-spacing: 2px; text-transform: uppercase; color: var(--brass); }
.dd-call-avoid-t{ font-family: 'Fraunces', serif; font-size: var(--fs-read); line-height: 1.5; color: var(--paper); overflow-wrap: anywhere; }


/* Today's Go to Date field: the date box and Go are one height and sit on one baseline (Sheryl, 2026-11-26). */
.dd-jump{ flex-wrap: nowrap; align-items: flex-end; gap: 12px; margin-top: 12px; padding-top: 0; border-top: 0; }
.dd-jump .field{ flex: 1 1 auto; min-width: 0; }
.dd-jump .field input, .dd-jump button{ box-sizing: border-box; height: 46px; margin: 0; padding-top: 0; padding-bottom: 0; }
.dd-jump button{ flex: 0 0 auto; padding-left: 24px; padding-right: 24px; }

/* On wide screens the greeting sits the same distance above "Today's energy" as the Business tab's intro sits above its first
   section: 30px (Sheryl, 2026-11-27). A phone keeps its own spacing. */
@media (min-width: 701px){
  .section.today-head{ padding-bottom: 0; }
  #today-view{ padding-top: 15px; }
}

/* Resend Code under a code box: the countdown, then the button (Sheryl, 2026-11-30). */
.sm-resend{ margin-top: 12px; }
.sm-resend-wait{ color: var(--muted); font-size: 13.5px; }

/* The thank you after a contact message: shown where the form was (Sheryl, 2026-11-30). */
.contact-thanks{ margin-top: 22px; padding: 16px 18px; border-left: 2px solid var(--brass); background: color-mix(in srgb, var(--paper) 4%, transparent); font-family: 'Fraunces', serif; font-size: 16.5px; line-height: 1.6; color: var(--paper); }
.contact-thanks p{ margin: 0; }
.contact-again{ margin-top: 14px; padding: 10px 18px; background: transparent; color: var(--brass); border: 1px solid var(--brass); font-family: 'Space Grotesk', sans-serif; font-size: 14px; cursor: pointer; }
.contact-again:hover{ background: color-mix(in srgb, var(--brass) 12%, transparent); }

/* A row with a note under it (Almanac time): the note belongs to the row, so there is one divider, under the note, and it runs the full width like the other rows (Sheryl, 2026-11-30: "the line is not looking right"). */
.profile-row:has(+ .profile-row-note){ border-bottom: 0; padding-bottom: 2px; }
body section .profile-rows p.profile-row-note, .profile-rows .profile-row-note{ max-width: none; width: 100%; box-sizing: border-box; margin: 0; padding: 0 0 12px; }
