@font-face {
  font-family: "LC Display";
  src: url("/static/life_compass/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #102a3a;
  --navy-soft: #1a4258;
  --aegean: #327aa0;
  --terracotta: #c64a3f;
  --terracotta-dark: #9e342c;
  --olive: #637451;
  --bronze: #b4882e;
  --ink: #142d3d;
  --muted: #6f746f;
  --line: #d7cdbc;
  --paper: #f6f0e4;
  --paper-strong: #fffdf7;
  --paper-soft: #eee4d3;
  --shadow: 0 16px 44px rgba(26, 37, 39, .09);
  --shadow-sm: 0 8px 22px rgba(26, 37, 39, .07);
  --radius: 14px;
  --serif: "LC Display", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --brass: var(--bronze);
  --sea: var(--aegean);
  --seal: var(--terracotta);
  color-scheme: light;
}

html[data-theme="dusk"] {
  --ink: #f1e7d5;
  --muted: #adb8b8;
  --line: #385263;
  --paper: #0a2231;
  --paper-strong: #16394d;
  --paper-soft: #1d465a;
  --navy: #f1e7d5;
  --navy-soft: #b5d2de;
  --aegean: #70b4d0;
  --terracotta: #e06c58;
  --olive: #9aae77;
  --bronze: #d3ab57;
  --shadow: 0 18px 48px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--paper); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
}

/* --- Background: the heavily-faded landfall (Dawn) / night sky (Dusk) --- */
body {
  background-image:
    linear-gradient(rgba(245, 239, 226, .8), rgba(245, 239, 226, .89)),
    radial-gradient(120% 78% at 50% 0%, color-mix(in srgb, var(--aegean) 10%, transparent), transparent 62%),
    url("/static/life_compass/assets/bireme_landfall_athens.png");
  background-size: auto, auto, cover;
  background-position: center, center, center 30%;
  background-attachment: scroll, scroll, fixed;
}
html[data-theme="dusk"] body {
  background-image:
    linear-gradient(rgba(6, 18, 27, .62), rgba(5, 15, 24, .78)),
    radial-gradient(120% 78% at 80% -10%, color-mix(in srgb, var(--aegean) 20%, transparent), transparent 64%),
    url("/static/life_compass/assets/bireme_following_nightsky.png");
  background-size: auto, auto, cover;
  background-position: center, center, center 30%;
  background-attachment: scroll, scroll, fixed;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--serif); line-height: 1.08; }
h1 { margin-bottom: .4rem; font-size: clamp(2rem, 4vw, 4.5rem); letter-spacing: -.035em; }
h2 { margin-bottom: .35rem; font-size: clamp(1.25rem, 2vw, 1.8rem); }
h3 { margin-bottom: .25rem; font-size: 1.05rem; }

.lc-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 8px clamp(16px, 3vw, 48px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
}

.lc-sprite, .lc-icn { display: none; }
.bi { display: inline-flex; flex: none; line-height: 1; }
.lc-brand { display: inline-flex; gap: 9px; align-items: center; width: fit-content; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; }
.lc-brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--bronze); border-radius: 50%; color: var(--navy); }
.lc-brand-mark .bi { font-size: 15px; }
.lc-primary-nav, .lc-appearance, .lc-map-nav, .lc-filter-row { display: flex; align-items: center; }
.lc-primary-nav { gap: 8px; }
.lc-primary-nav button, .lc-appearance button, .lc-map-nav button, .lc-filter-row button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lc-primary-nav button { display: inline-flex; gap: 8px; align-items: center; padding: 9px 20px; border-radius: 999px; color: var(--muted); font-weight: 650; }
.lc-primary-nav button .bi { font-size: 15px; opacity: .7; }
.lc-primary-nav button[aria-current="page"] .bi { opacity: 1; }
.lc-primary-nav button[aria-current="page"] { color: #fff7e9; background: var(--navy); }
.lc-header-tools { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.lc-header-tools form { margin: 0; }
.lc-appearance { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lc-appearance button { padding: 4px 8px; border-radius: 999px; color: var(--muted); font-size: .72rem; }
.lc-appearance button[aria-pressed="true"] { color: var(--paper-strong); background: var(--navy-soft); }
.lc-demo-badge, .lc-private-badge { padding: 4px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lc-demo-badge { color: var(--terracotta-dark); background: color-mix(in srgb, var(--terracotta) 12%, var(--paper)); }
.lc-private-badge { color: var(--olive); background: color-mix(in srgb, var(--olive) 12%, var(--paper)); }
.lc-demo-notice { display: flex; justify-content: center; gap: 16px; align-items: center; min-height: 36px; padding: 5px 16px; color: var(--muted); background: color-mix(in srgb, var(--bronze) 10%, var(--paper)); font-size: .76rem; }

.lc-shell { width: min(1640px, calc(100% - 32px)); margin: 0 auto; padding: clamp(14px, 1.5vw, 24px) 0 50px; }
.lc-view[hidden], [data-map-view][hidden] { display: none !important; }
.lc-page-heading, .lc-section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 16px; }
.lc-page-heading--today { min-height: 126px; padding: 18px 24px; border: 1px solid color-mix(in srgb, var(--line) 74%, transparent); border-radius: var(--radius); background: linear-gradient(90deg, color-mix(in srgb, var(--paper-strong) 92%, transparent), color-mix(in srgb, var(--paper) 70%, transparent)), url("/static/life_compass/assets/bireme_journey.png") center 58% / cover; box-shadow: var(--shadow); }
.lc-page-heading--today h1 { font-size: clamp(2rem, 3.2vw, 3.7rem); }
html[data-theme="dusk"] .lc-page-heading--today { background-image: linear-gradient(90deg, color-mix(in srgb, var(--paper-strong) 94%, transparent), color-mix(in srgb, var(--paper) 70%, transparent)), url("/static/life_compass/assets/bireme_following_nightsky.png"); }
.lc-heading-context { display: grid; max-width: 520px; gap: 4px; padding: 14px 18px; border-left: 3px solid var(--bronze); background: color-mix(in srgb, var(--paper-strong) 80%, transparent); }
.lc-heading-context strong { font-family: var(--serif); font-size: 1.15rem; }
.lc-label, .lc-kicker { display: flex; align-items: center; gap: 7px; color: var(--aegean); font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lc-label::before, .lc-kicker::before { content: ""; flex: none; width: 5px; height: 5px; border: 1px solid var(--bronze); transform: rotate(45deg); }
.lc-kicker { margin-bottom: .5rem; }
.lc-kicker.is-plain::before, .lc-label.is-plain::before { display: none; }

.lc-panel { position: relative; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--line) 88%, transparent); border-left: 4px solid var(--rail, color-mix(in srgb, var(--line) 88%, transparent)); border-radius: var(--radius); background: var(--paper-strong); box-shadow: var(--shadow-sm); }
.lc-rail-star { --rail: var(--terracotta); }
.lc-rail-sea { --rail: var(--aegean); }
.lc-rail-navy { --rail: var(--navy-soft); }
.lc-rail-brass { --rail: var(--bronze); }
.lc-rail-olive { --rail: var(--olive); }
/* corner brackets — a drawn navigational frame */
.lc-brackets::before, .lc-brackets::after { content: ""; position: absolute; width: 11px; height: 11px; border: 0 solid color-mix(in srgb, var(--bronze) 55%, transparent); pointer-events: none; }
.lc-brackets::before { top: 6px; left: 6px; border-top-width: 1px; border-left-width: 1px; }
.lc-brackets::after { bottom: 6px; right: 6px; border-bottom-width: 1px; border-right-width: 1px; }
.lc-panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 10px; }
.lc-panel-heading h2, .lc-panel-heading p { margin-bottom: 0; }
.lc-panel-heading h2 { display: flex; gap: 8px; align-items: center; font-size: 1.1rem; }
.lc-panel-heading h2 .bi { font-size: .85em; color: var(--bronze); }
.lc-guidance { margin: 10px 0 0; color: var(--muted); font-size: .77rem; }
.lc-count { color: var(--muted); font-size: .78rem; }
.lc-text-button, .lc-primary-button, .lc-secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
}
.lc-text-button { border: 0; color: var(--aegean); background: transparent; }
.lc-primary-button { border: 1px solid var(--navy); color: var(--paper-strong); background: var(--navy); }
.lc-secondary-button { border: 1px solid var(--line); color: var(--navy); background: var(--paper-strong); }
.lc-primary-button:hover, .lc-secondary-button:hover, .lc-text-button:hover { filter: brightness(.96); }

.lc-today-grid { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(300px, .66fr); gap: 14px; align-items: start; }
.lc-today-column, .lc-today-side, .lc-today-main { display: grid; gap: 14px; align-content: start; }

/* ---- Today hero: North Star takes two thirds, the week's commitments take one ---- */

/* days-remaining rule: big numeral, dashed week run, dates */
.lc-voyage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-bottom: 10px; padding: 9px 12px 10px; border-radius: 10px; border: 1px solid var(--line); border-top: 2px solid var(--bronze); background: color-mix(in srgb, var(--bronze) 7%, var(--paper-strong)); }
.lc-voyage-top { grid-row: 1 / 3; display: flex; align-items: baseline; gap: 8px; }
.lc-voyage-num { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: .85; color: var(--navy); }
.lc-voyage-lab { font-family: var(--mono); font-size: .54rem; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.lc-voyage-weeks { display: flex; gap: 5px; align-self: end; }
.lc-voyage-weeks i { flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--line) 85%, transparent); }
.lc-voyage-weeks i.on { background: var(--bronze); }
.lc-voyage-sub { margin: 0; align-self: start; font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.lc-mini { display: grid; gap: 3px; padding: 8px 12px; border: 1px solid rgba(246, 236, 217, .16); border-left: 2px solid var(--rail, rgba(246, 236, 217, .4)); border-radius: 0 9px 9px 0; background: rgba(9, 20, 28, .42); }
.lc-mini--main { --rail: var(--terracotta); }
.lc-mini--health { --rail: var(--olive); }
.lc-mini-k { margin: 0; font-family: var(--mono); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c9a6; }
.lc-mini-title { font-family: var(--serif); font-size: .95rem; line-height: 1.2; color: #fdf5e4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-mini-title.is-done { text-decoration: line-through; text-decoration-color: var(--rail); opacity: .68; }
.lc-mini-prog { display: flex; align-items: center; gap: 9px; }
.lc-mini-prog small { font-family: var(--mono); font-size: .58rem; color: #d9c9a6; white-space: nowrap; }
.lc-mini-set { padding: 2px 0; border: 0; background: none; color: #f4d9a6; font-weight: 700; font-size: .8rem; text-align: left; cursor: pointer; }
.lc-mini-set:hover { text-decoration: underline; }

.lc-dashbar { display: flex; gap: 3px; flex: 1; min-width: 36px; max-width: 128px; }
.lc-dashbar i { flex: 1; height: 4px; border-radius: 2px; background: rgba(246, 236, 217, .28); }
.lc-dashbar i.on { background: var(--terracotta); }
.lc-dots { display: inline-flex; gap: 4px; }
.lc-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--olive) 55%, transparent); }
.lc-dots i.on { background: var(--olive); border-color: var(--olive); }

/* ---- Today's Work panel + integrated Health row ---- */
.lc-sub { margin: 2px 0 0; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-panel-heading h2 + .lc-sub { margin-top: 3px; }
.lc-work-title { display: flex; align-items: baseline; gap: 10px; }
.lc-work-title h2 { margin: 0; }
.lc-work-title .lc-sub { margin: 0; }
.lc-work-tally { flex: none; display: flex; align-items: center; gap: 14px; }
.lc-work-tally b { font-family: var(--mono); font-size: 1.15rem; color: var(--navy); }
.lc-work-tally .lc-text-button { min-height: 0; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--bronze) 45%, var(--line)); border-radius: 999px; color: var(--bronze); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.lc-work-tally .lc-text-button:hover { color: var(--navy); border-color: var(--bronze); }
.lc-work-tally .lc-text-button.is-underway { color: #fdf7ea; border-color: var(--bronze); background: var(--bronze); }
.lc-task-actions { display: inline-flex; align-items: center; gap: 12px; }
.lc-task-hint { font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-work-health[hidden] { display: none; }
.lc-wh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; padding: 11px 12px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-left: 3px solid var(--olive); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--olive) 7%, transparent); }
.lc-wh-lead { display: grid; gap: 2px; min-width: 0; }
.lc-wh-lead .lc-kicker { margin: 0; color: var(--olive); }
.lc-wh-title { font-family: var(--serif); font-size: 1rem; color: var(--navy); }
.lc-wh-tail { margin-left: auto; display: grid; gap: 2px; justify-items: end; }
.lc-wh-count { font-family: var(--mono); font-size: .66rem; color: var(--muted); }
.lc-wh-hint { font-family: var(--mono); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lc-wh-done { font-family: var(--mono); font-size: .66rem; font-weight: 600; color: var(--olive); }
.lc-wh-row.is-done .lc-wh-title { text-decoration: line-through; text-decoration-color: var(--olive); opacity: .68; }
/* the week's seven days: tap any past day to record or correct it */
.lc-hstrip { display: flex; gap: 4px; }
.lc-hday { display: grid; gap: 1px; justify-items: center; width: 34px; padding: 5px 2px; border: 1px solid color-mix(in srgb, var(--olive) 26%, var(--line)); border-radius: 7px; background: var(--paper-strong); cursor: pointer; }
.lc-hday:hover:not([disabled]) { border-color: var(--olive); }
.lc-hday[disabled] { cursor: default; }
/* a closed day is a record, not a control: it keeps its mark but loses its edge */
.lc-hday.is-sealed { border-style: dashed; border-color: color-mix(in srgb, var(--line) 80%, transparent); opacity: .72; }
.lc-hday.is-sealed.is-on { border-style: solid; border-color: color-mix(in srgb, var(--olive) 45%, transparent); background: color-mix(in srgb, var(--olive) 62%, var(--paper-strong)); opacity: .85; }
.lc-hday.is-today { cursor: pointer; }
.lc-hday.is-on { color: #fdf7ea; border-color: var(--olive); background: var(--olive); }
.lc-hday.is-today { box-shadow: 0 0 0 2px color-mix(in srgb, var(--bronze) 60%, transparent); }
.lc-hday-d { font-family: var(--mono); font-size: .5rem; letter-spacing: .06em; text-transform: uppercase; color: inherit; opacity: .75; }
.lc-hday-v { font-family: var(--mono); font-size: .68rem; font-weight: 600; line-height: 1.1; }
.lc-hentry { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding: 9px 12px; border-radius: 8px; background: color-mix(in srgb, var(--olive) 8%, var(--paper-strong)); }
.lc-hentry[hidden] { display: none; }
.lc-hentry .lc-sub { margin: 0; }
.lc-hentry input { width: 110px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.lc-hentry .lc-primary-button { min-height: 0; padding: 7px 14px; }

/* ---- Focus Watch: a full-screen crossing over the armillary sphere ---- */
.lc-watch-overlay {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--bronze) 40%, transparent);
  border-radius: var(--radius);
  color: #f6ecd9;
  background: linear-gradient(rgba(10, 16, 22, .58), rgba(10, 16, 22, .68)),
    url("/static/life_compass/assets/star_compass.png") center 44% / cover;
  box-shadow: 0 40px 120px rgba(6, 14, 20, .6);
  overflow: hidden;
}
.lc-watch-overlay::backdrop { background: rgba(8, 16, 22, .82); backdrop-filter: blur(6px); }
.lc-watch-inner { display: grid; justify-items: center; padding: clamp(22px, 4vw, 34px) 24px clamp(24px, 4vw, 32px); text-align: center; }
.lc-watch-overlay .lc-kicker { justify-content: center; color: #e7c584; }
.lc-watch-overlay .lc-kicker::before { border-color: #e7c584; }
.lc-watch-task { margin: 6px 0 0; max-width: 22ch; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.35rem); line-height: 1.1; color: #fffaf0; text-shadow: 0 2px 18px rgba(6, 14, 20, .7); }
.lc-watch-dial { width: clamp(190px, 34vw, 250px); margin: clamp(10px, 2vw, 18px) 0; }
.lc-watch-dial svg { display: block; width: 100%; height: auto; }
.lc-dial-track { fill: none; stroke: rgba(246, 236, 217, .16); stroke-width: 9; }
.lc-dial-run { fill: none; stroke: #dcae4a; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.lc-watch-clock { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1; color: #fffaf0; font-variant-numeric: tabular-nums; text-shadow: 0 2px 18px rgba(6, 14, 20, .7); }
.lc-watch-note { margin: 8px 0 0; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #d9c9a6; }
.lc-watch-actions { display: flex; gap: 8px; margin-top: 18px; }
.lc-watch-button { padding: 12px 26px; border: 0; border-radius: 10px; background: var(--paper-strong); color: var(--navy); font-weight: 750; font-size: .92rem; cursor: pointer; box-shadow: 0 10px 26px rgba(6, 14, 20, .35); }
.lc-watch-button:hover { filter: brightness(.96); }
@media (prefers-reduced-motion: no-preference) {
  .lc-watch-overlay[open] { animation: lc-watch-in .22s ease-out; }
  @keyframes lc-watch-in { from { opacity: 0; transform: scale(.97); } }
}

/* ---- Today: the month at a glance ---- */
.lc-month-panel .lc-panel-heading { margin-bottom: 10px; }
.lc-month-effort { margin-top: 12px; padding-top: 11px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.lc-month-effort .lc-label { margin-bottom: 7px; }
.lc-focus-title { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2.05rem); }
.lc-finish-line { display: flex; gap: 9px; align-items: flex-start; margin: 0; color: var(--muted); }
.lc-finish-line::before { content: "◇"; color: var(--terracotta); }
.lc-focus-resolved > .lc-focus-title,
.lc-focus-resolved > strong,
.lc-focus-resolved > .lc-guidance { text-decoration: line-through; opacity: .56; }
.lc-completion-seal { display: grid; grid-template-columns: 32px 1fr; gap: 1px 10px; align-items: center; margin-top: 16px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--terracotta) 42%, var(--line)); border-radius: 10px; color: var(--terracotta-dark); background: color-mix(in srgb, var(--terracotta) 8%, var(--paper)); }
.lc-completion-seal > span { grid-row: 1 / 3; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: white; background: var(--terracotta); font-weight: 900; }
.lc-completion-seal small { color: var(--muted); }
.lc-completion-seal--health { color: var(--olive); border-color: color-mix(in srgb, var(--olive) 46%, var(--line)); background: color-mix(in srgb, var(--olive) 9%, var(--paper)); }
.lc-completion-seal--health > span { background: var(--olive); }
.lc-hold-button { position: relative; isolation: isolate; overflow: hidden; min-height: 40px; margin-top: 16px; padding: 8px 13px; border: 1px solid var(--terracotta); border-radius: 9px; color: var(--terracotta-dark); background: transparent; cursor: pointer; font-weight: 800; }
.lc-hold-button span { position: relative; z-index: 1; }
.lc-hold-button i, .lc-hold-complete i { position: absolute; z-index: -1; inset: 0; background: color-mix(in srgb, var(--terracotta) 22%, transparent); transform: scaleX(0); transform-origin: left; }
.lc-hold-button.is-holding i, .lc-hold-complete.is-holding i { animation: lc-hold var(--hold-duration, 900ms) linear forwards; }

.lc-task-list { display: grid; gap: 8px; }
.lc-task-row { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--line) 74%, transparent); border-radius: 11px; background: var(--paper-strong); }
.lc-task-row:first-child { border-left: 3px solid var(--terracotta); }
.lc-row-sweep { position: absolute; z-index: -1; inset: 0; transform: scaleX(0); transform-origin: left; background: color-mix(in srgb, var(--terracotta) 20%, transparent); pointer-events: none; }
.lc-task-row.is-holding .lc-row-sweep { animation: lc-hold var(--hold-duration, 1250ms) linear forwards; }
.lc-task-row.is-holding { border-color: var(--terracotta); }
.lc-task-check { position: relative; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-strong); cursor: pointer; color: #fff7ef; }
.lc-task-check .bi { font-size: 16px; }
.lc-task-check.lc-hold-complete { border-color: transparent; background: transparent; }
.lc-task-check-ring { width: 20px; height: 20px; border: 2px solid color-mix(in srgb, var(--terracotta) 42%, var(--line)); border-radius: 50%; transition: border-color .15s, box-shadow .15s; }
.lc-task-check.lc-hold-complete:hover .lc-task-check-ring { border-color: var(--terracotta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--terracotta) 14%, transparent); }
.lc-task-check.is-checked { border-color: var(--terracotta); background: var(--terracotta); }
.lc-task-row.is-done { border-color: color-mix(in srgb, var(--terracotta) 34%, var(--line)); background: color-mix(in srgb, var(--terracotta) 9%, var(--paper-strong)); }
.lc-task-row.is-done:first-child { border-left-color: var(--terracotta); }
.lc-task-row.is-done .lc-task-title { text-decoration: line-through; opacity: .6; }
.lc-task-title { display: block; font-weight: 700; }
.lc-task-project { color: var(--muted); font-size: .72rem; }
.lc-task-watch { border: 0; color: var(--aegean); background: transparent; cursor: pointer; font-size: .74rem; font-weight: 750; }

/* the chain drawn as a measuring tape */
.lc-chain { margin-top: 6px; }
.lc-tape { position: relative; display: grid; grid-template-columns: repeat(14, 1fr); align-items: start; padding: 4px 0 0; row-gap: 6px; }
.lc-tape::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: color-mix(in srgb, var(--line) 78%, transparent); }
.lc-tape-day { position: relative; display: grid; grid-template-rows: 18px 12px auto; justify-items: center; }
.lc-tape-mark { grid-row: 1; font-family: var(--sans); font-weight: 800; font-size: 1rem; line-height: 1; color: var(--terracotta); }
.lc-tape-day.is-today .lc-tape-mark { color: var(--bronze); }
.lc-tape-tick { grid-row: 2; width: 1px; height: 12px; background: color-mix(in srgb, var(--line) 88%, transparent); }
.lc-tape-day.is-week .lc-tape-tick { width: 2px; height: 16px; background: var(--bronze); }
.lc-tape-day.is-crossed .lc-tape-tick { width: 2px; background: var(--terracotta); }
.lc-tape-day.is-today .lc-tape-tick { width: 2px; background: var(--bronze); }
.lc-tape-lab { grid-row: 3; display: grid; justify-items: center; margin-top: 3px; font-family: var(--mono); font-size: .52rem; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lc-tape-lab b { font-weight: 600; font-size: .6rem; color: var(--ink); }
.lc-tape-day.is-today .lc-tape-lab, .lc-tape-day.is-today .lc-tape-lab b { color: var(--bronze); }
.lc-tape-health { position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--olive); }

.lc-health-progress { display: grid; gap: 9px; }
.lc-progress-track { overflow: hidden; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--line) 65%, var(--paper)); }
.lc-progress-fill { width: var(--progress, 0%); height: 100%; border-radius: inherit; background: var(--terracotta); }
.lc-health-progress .lc-progress-fill { background: var(--olive); }
.lc-health-log { display: flex; gap: 8px; margin-top: 12px; }
.lc-health-log input { min-width: 0; }
.lc-health-summary { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; }
.lc-health-summary strong { color: var(--olive); }
.lc-today-evidence { margin: 0; color: var(--muted); font-size: .72rem; }
.lc-daily-lock { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--muted); font-size: .7rem; }
.lc-daily-picker { display: grid; gap: 12px; max-height: 440px; overflow-y: auto; }
.lc-plan-group { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--paper-soft) 35%, transparent); }
.lc-plan-group.is-focus { border-left-color: var(--terracotta); background: color-mix(in srgb, var(--terracotta) 6%, transparent); }
.lc-plan-group-head { margin: 0 0 2px; }
.lc-plan-group-head .lc-sub { margin: 0; }
.lc-plan-group-head strong { display: block; font-family: var(--serif); font-size: 1rem; color: var(--navy); }
.lc-daily-choice { display: grid !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-strong); cursor: pointer; }
.lc-daily-choice input { width: auto; }
.lc-daily-choice small { display: block; color: var(--muted); font-weight: 450; font-size: .72rem; }

.lc-empty { padding: 22px; border: 1px dashed var(--line); border-radius: 12px; background: color-mix(in srgb, var(--paper-strong) 70%, transparent); color: var(--muted); text-align: center; }
.lc-wake-list { display: grid; gap: 8px; }
.lc-wake-item { display: grid; grid-template-columns: 44px 1fr; gap: 9px; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent); font-size: .78rem; }
.lc-wake-item time { color: var(--muted); font-variant-numeric: tabular-nums; }

.lc-flow-note { margin: -6px 0 12px; color: var(--muted); font-size: .74rem; }
.lc-flow-note span { color: var(--navy); font-weight: 750; }
.lc-filter-row { flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lc-filter-row button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.lc-filter-row button[aria-pressed="true"] { color: #fff7ef; border-color: var(--navy-soft); background: var(--navy-soft); }
.lc-project-board { display: grid; grid-template-columns: repeat(4, minmax(210px, 1fr)); gap: 12px; align-items: start; }
.lc-project-column { min-height: 420px; padding: 12px; border: 1px solid color-mix(in srgb, var(--line) 68%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--paper-soft) 42%, transparent); }
.lc-project-column-heading { display: flex; justify-content: space-between; margin-bottom: 12px; padding: 2px 4px 9px; border-bottom: 1px solid var(--line); }
.lc-project-column-heading strong { color: var(--navy); font-family: var(--serif); }
.lc-project-stack { display: grid; gap: 9px; }
.lc-project-rest { display: grid; gap: 9px; }
.lc-project-rest[hidden] { display: none; }
.lc-project-more { margin-top: 2px; padding: 8px; border: 1px dashed var(--line); border-radius: 9px; color: var(--aegean); background: transparent; cursor: pointer; font-size: .74rem; font-weight: 750; }
.lc-project-more:hover { border-color: var(--aegean); }
.lc-project-card { width: 100%; padding: 14px; border: 1px solid color-mix(in srgb, var(--line) 78%, transparent); border-left: 3px solid var(--bronze); border-radius: 11px; color: var(--ink); background: var(--paper-strong); text-align: left; cursor: pointer; }
.lc-project-card:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(28, 39, 42, .08); }
.lc-project-card h3 { font-size: 1rem; }
.lc-project-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: .7rem; }
.lc-project-progress { margin-top: 11px; }
.lc-project-card[data-state="victory"] { border-left-color: var(--olive); }
.lc-project-card[data-state="to_revisit"] { border-left-color: var(--aegean); }

/* single-category view: full-width rows, one after another */
.lc-project-list { display: grid; gap: 10px; }
.lc-project-list-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lc-project-list-head .lc-kicker { margin: 0; }
.lc-project-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 240px) minmax(120px, 180px); gap: 20px; align-items: center; width: 100%; padding: 15px 18px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-left: 4px solid var(--bronze); border-radius: 11px; background: var(--paper-strong); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); }
.lc-project-row[data-state="on_course"] { border-left-color: var(--terracotta); }
.lc-project-row[data-state="victory"] { border-left-color: var(--olive); }
.lc-project-row[data-state="to_revisit"] { border-left-color: var(--muted); }
.lc-project-row[data-state="idea"] { border-left-color: var(--aegean); }
.lc-project-row:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(28, 39, 42, .1); }
.lc-project-row-main { min-width: 0; }
.lc-project-row-title { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.lc-project-row-thesis { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-project-row-prog { display: grid; gap: 5px; }
.lc-project-row-prog .lc-progress-track { display: block; }
.lc-project-row-prog .lc-progress-fill { display: block; }
.lc-project-row-prog small { font-family: var(--mono); font-size: .62rem; color: var(--muted); }
.lc-project-row-meta { text-align: right; }
.lc-project-row-meta b { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.lc-project-row-meta small { color: var(--muted); font-size: .68rem; }
@media (max-width: 720px) {
  .lc-project-row { grid-template-columns: 1fr; gap: 10px; }
  .lc-project-row-meta { text-align: left; }
}

.lc-season-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 24px; border-radius: var(--radius); color: #fff8e8; background: linear-gradient(90deg, rgba(12, 36, 50, .96), rgba(12, 36, 50, .58)), url("/static/life_compass/assets/bireme_journey.png") center 55% / cover; box-shadow: var(--shadow); }
html[data-theme="dusk"] .lc-season-hero { background-image: linear-gradient(90deg, rgba(4, 20, 32, .94), rgba(4, 20, 32, .5)), url("/static/life_compass/assets/bireme_following_nightsky.png"); }
.lc-season-hero h1, .lc-season-hero h2 { color: #fff8e8; }
.lc-season-hero h1 { max-width: 920px; font-size: clamp(1.7rem, 2.8vw, 3.15rem); }
.lc-season-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; color: #d8e3e3; font-size: .72rem; }
.lc-season-meta span { padding: 4px 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; }
.lc-week-route { display: grid; grid-template-columns: repeat(var(--weeks, 12), minmax(22px, 1fr)); gap: 5px; margin: 10px 0; }
.lc-week-node { display: grid; min-height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--paper-soft); font-size: .65rem; }
.lc-week-node.is-elapsed { color: #fff; border-color: var(--navy-soft); background: var(--navy-soft); }
.lc-week-node.is-current { color: #fff; border-color: var(--terracotta); background: var(--terracotta); box-shadow: 0 0 0 2px color-mix(in srgb, var(--terracotta) 24%, transparent); }
.lc-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.lc-stat { padding: 10px; border-right: 1px solid var(--line); }
.lc-stat:last-child { border-right: 0; }
.lc-stat strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.5rem; }
.lc-stat span { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
/* ---- Season calendar: large, month-navigable, one continuous plate ---- */
.lc-calendar-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.lc-calendar-header h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.lc-cal-nav { display: flex; gap: 6px; }
.lc-cal-nav button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper-strong); color: var(--navy); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.lc-cal-nav button:hover:not([disabled]) { border-color: var(--aegean); }
.lc-cal-nav button[disabled] { opacity: .35; cursor: default; }
.lc-cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 11px; margin: 0; font-family: var(--mono); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lc-cal-legend span { display: inline-flex; align-items: center; gap: 4px; }
.lc-cal-legend .lc-lg-x { color: var(--terracotta); font-family: var(--serif); font-size: .9rem; line-height: 1; }
.lc-cal-legend .lc-lg-m { width: 10px; height: 10px; border-radius: 3px; background: var(--aegean); }
.lc-cal-legend .lc-lg-hw { width: 10px; height: 10px; border-radius: 3px; background: var(--olive); }
.lc-cal-grid { display: grid; gap: 0; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--line) 30%, transparent); }
/* weeks are ruled apart, the way a ledger is */
.lc-cal-week { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) 34px; gap: 3px; padding: 3px 0; }
.lc-cal-week + .lc-cal-week { border-top: 1px solid color-mix(in srgb, var(--line) 62%, transparent); }
.lc-cal-weekdays { padding-bottom: 3px; }
.lc-cal-weekday { align-self: center; padding: 3px 2px; color: var(--muted); text-align: center; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; }
.lc-cal-day { position: relative; min-height: clamp(40px, 4.4vw, 54px); padding: 5px 7px; border-radius: 5px; color: var(--muted); background: var(--paper-strong); font-family: var(--mono); font-size: .72rem; }
.lc-cal-day.is-needle { color: var(--ink); background: color-mix(in srgb, var(--terracotta) 13%, var(--paper-strong)); }
.lc-cal-day.is-needle::after { content: "×"; position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); color: var(--terracotta); font-family: var(--serif); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.lc-cal-day.has-health::before { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }
.lc-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--bronze); color: var(--ink); }
.lc-cal-day.is-blank { min-height: 0; background: transparent; }
/* The week's verdict is drawn as two rules along the floor of the row:
   olive (Upkeep) at the very bottom, aegean (Main Focus) just above it.
   Both are strong at the week's ends and fade through the middle, so they
   read as a measured span rather than a solid bar. */
/* The week's verdict is its own ledger column: two squares, filled when met.
   A column reads as a fact about the week; a rule under it read as a divider. */
.lc-wk-seal { display: flex; gap: 3px; justify-content: center; align-items: center; }
.lc-wk-seal.is-blank { visibility: hidden; }
.lc-wk-seal i { width: 11px; height: 11px; border-radius: 3px; border: 1px solid color-mix(in srgb, var(--line) 90%, transparent); background: transparent; }
.lc-wk-seal i.is-on.is-main { border-color: var(--aegean); background: var(--aegean); }
.lc-wk-seal i.is-on.is-health { border-color: var(--olive); background: var(--olive); }
.lc-cal-grid.is-compact .lc-wk-seal { gap: 2px; }
.lc-cal-grid.is-compact .lc-wk-seal i { width: 6px; height: 6px; border-radius: 2px; }
/* compact variant for the Today month card */
.lc-cal-grid.is-compact .lc-cal-week { grid-template-columns: repeat(7, minmax(0, 1fr)) 18px; padding: 2px 0; }
.lc-cal-grid.is-compact .lc-cal-day { min-height: 30px; padding: 3px 4px; font-size: .58rem; }
.lc-cal-grid.is-compact .lc-cal-day.is-needle::after { font-size: 1.6rem; }
.lc-cal-grid.is-compact .lc-cal-day.has-health::before { top: 3px; right: 3px; width: 4px; height: 4px; }
.lc-cal-grid.is-compact .lc-cal-weekday { font-size: .5rem; }

/* ---- Season layout: the calendar is the page, the measures sit beside it ----
   Two panes of the same height, each scrolling its own overflow. Nothing is
   stacked above or below the calendar. */
.lc-season-top { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(320px, 1fr); gap: 12px; align-items: stretch; margin-bottom: 12px; height: clamp(486px, calc(100vh - 336px), 726px); }
.lc-season-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; min-height: 0; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--bronze) 45%, transparent) transparent; }
.lc-season-sidebar::-webkit-scrollbar { width: 8px; }
.lc-season-sidebar::-webkit-scrollbar-track { border-radius: 4px; background: color-mix(in srgb, var(--line) 26%, transparent); }
.lc-season-sidebar::-webkit-scrollbar-thumb { border-radius: 4px; background: color-mix(in srgb, var(--bronze) 45%, transparent); }
.lc-season-calendar { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.lc-season-calendar .lc-cal-grid { flex: 1; grid-auto-rows: minmax(46px, 1fr); }
.lc-season-calendar .lc-cal-day { min-height: 0; }
.lc-side-focus { padding: 8px 10px; border-left: 3px solid var(--line); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--paper-soft) 40%, transparent); }
.lc-side-focus.is-main { border-left-color: var(--terracotta); }
.lc-side-focus.is-health { border-left-color: var(--olive); }
.lc-side-focus .lc-sub { display: block; margin: 0 0 2px; }
.lc-side-focus strong { font-family: var(--serif); font-size: .98rem; color: var(--navy); }
.lc-verdict-state { margin: 4px 0 8px; font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; color: var(--navy); }
.lc-verdict-list { display: grid; gap: 5px; margin: 0 0 8px; padding: 0; list-style: none; }
.lc-verdict-list li { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; padding: 4px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.lc-verdict-list li b { font-family: var(--mono); color: var(--terracotta-dark); }
.lc-pace { margin: 0; padding: 8px 0 8px 12px; border-left: 3px solid var(--bronze); font-size: .78rem; line-height: 1.5; color: var(--ink); }
/* the Victory tab's two-column rows (distinct from the Map's Season rows) */
.lc-victory-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; margin-bottom: 12px; }
.lc-victory-row.is-full { grid-template-columns: 1fr; }
@media (max-width: 900px) { .lc-victory-row { grid-template-columns: 1fr; } }
/* the season ledger: commitments, then the numbers, then where the effort went */
.lc-ledger { display: flex; flex-direction: column; gap: 10px; }
.lc-ledger .lc-score-grid { grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2px 0 0; border-top: 1px solid var(--line); }
.lc-ledger .lc-score-grid div { padding: 9px 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lc-ledger .lc-score-grid div:nth-child(3n) { border-right: 0; }
.lc-ledger .lc-score-grid div:nth-child(n+4) { border-bottom: 0; }
.lc-ledger-meter { display: grid; gap: 5px; }
.lc-ledger-meter-bar { height: 6px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--line) 55%, transparent); }
.lc-ledger-meter-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--aegean), var(--bronze)); }
.lc-ledger-meter .lc-sub { margin: 0; }
.lc-ledger-effort { padding-top: 10px; border-top: 1px solid var(--line); }
.lc-ledger-effort .lc-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin: 0 0 7px; }
.lc-ledger-effort .lc-label span { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 900px) {
  .lc-season-top { grid-template-columns: 1fr; height: auto; }
  .lc-season-sidebar { overflow-y: visible; padding-right: 0; }
  .lc-season-calendar { height: auto; max-height: 720px; }
}

/* ---- Season tabs + Victory ---- */
/* ---- Victory: the distance stated once, then what remains and what is won ---- */
.lc-victory-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
@media (max-width: 900px) { .lc-victory-grid { grid-template-columns: 1fr; } }
.lc-vic-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; margin-bottom: 12px; }
.lc-vic-head-main { min-width: 0; flex: 1 1 320px; }
.lc-vic-state { margin: 4px 0 4px; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--navy); }
.lc-vic-head .lc-guidance { margin: 0; }
.lc-vic-head.is-reached .lc-vic-state { color: var(--olive-dark, var(--olive)); }
.lc-vic-figs { display: flex; gap: 0; flex: none; }
.lc-vic-figs div { padding: 2px 18px; border-left: 1px solid var(--line); text-align: center; }
.lc-vic-figs div:first-child { border-left: 0; }
.lc-vic-figs b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.lc-vic-figs b i { font-style: normal; color: var(--muted); font-size: .62em; }
.lc-vic-figs span { display: block; margin-top: 5px; font-family: var(--mono); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lc-vic-list { display: grid; gap: 9px; }
.lc-vic-row { display: grid; gap: 6px; padding: 11px 13px; border: 1px solid var(--line); border-left: 3px solid var(--terracotta); border-radius: 9px; background: var(--paper); }
.lc-vic-row.is-drifting { border-left-color: var(--terracotta-dark); background: color-mix(in srgb, var(--terracotta) 5%, var(--paper)); }
.lc-vic-row.is-won { border-left-color: var(--olive); background: color-mix(in srgb, var(--olive) 6%, var(--paper)); }
.lc-vic-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lc-vic-top b { flex: none; font-family: var(--mono); font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lc-vic-name { font-family: var(--serif); font-size: 1.02rem; color: var(--navy); }
.lc-vic-meta { margin-top: 2px; font-family: var(--mono); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lc-vic-next { margin-top: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--terracotta-dark); }
.lc-vic-next.is-drift { color: var(--terracotta); font-weight: 600; }
.lc-vic-next.is-evidence { color: var(--olive); }
.lc-vic-action { margin: 4px 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink); }
.lc-vic-ending { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.lc-vic-ending b { color: var(--navy); }
.lc-season-project-list { display: grid; gap: 11px; }
.lc-season-project-item { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lc-season-project-item:last-child { border: 0; }
.lc-drift { margin-top: 12px; padding: 11px; border-left: 3px solid var(--terracotta); color: var(--terracotta-dark); background: color-mix(in srgb, var(--terracotta) 8%, var(--paper)); font-size: .76rem; }

.lc-map-hero { display: flex; justify-content: space-between; align-items: flex-end; min-height: 250px; padding: clamp(24px, 4vw, 54px); border-radius: var(--radius); color: #f8eddb; background: linear-gradient(90deg, rgba(13, 37, 51, .96), rgba(13, 37, 51, .48)), url("/static/life_compass/assets/bireme_landfall_athens.png") center 48% / cover; box-shadow: var(--shadow); }
html[data-theme="dusk"] .lc-map-hero { background-image: linear-gradient(90deg, rgba(5, 19, 30, .95), rgba(5, 19, 30, .45)), url("/static/life_compass/assets/bireme_following_nightsky.png"); }
.lc-map-hero h1 { color: #fff8e8; }
.lc-map-hero p:not(.lc-kicker) { max-width: 720px; margin-bottom: 0; color: #e1ded3; }
.lc-route-heading { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; color: var(--muted); }
.lc-route-heading p { margin: 0; }
.lc-season-route { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 300px); gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x proximity; }
.lc-route-card { display: grid; min-height: 288px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper-strong); text-align: left; cursor: pointer; scroll-snap-align: start; transition: transform .15s ease, box-shadow .15s ease; }
.lc-route-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 39, 42, .1); }
.lc-route-card.is-current { border: 2px solid var(--terracotta); background: color-mix(in srgb, var(--terracotta) 5%, var(--paper-strong)); }
.lc-route-card.is-draft { border-style: dashed; }
.lc-route-card h3 { align-self: center; font-size: 1.2rem; }
.lc-route-card-footer { align-self: end; color: var(--muted); font-size: .72rem; }
.lc-route-status { width: fit-content; padding: 4px 8px; border-radius: 999px; color: var(--olive); background: color-mix(in srgb, var(--olive) 12%, var(--paper)); font-size: .66rem; }
.lc-map-foundations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.lc-bearing-grid, .lc-principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.lc-bearing-card { display: grid; grid-template-columns: 28px 1fr; gap: 8px; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-left: 3px solid var(--bronze); border-radius: 10px; background: var(--paper); }
.lc-bearing-card span { color: var(--bronze); font-size: .68rem; letter-spacing: .12em; }
.lc-principle-card { min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.lc-principle-card summary { color: var(--navy); cursor: pointer; font-family: var(--serif); font-weight: 700; }
.lc-principle-card p { margin: 9px 0 0; color: var(--muted); font-size: .76rem; }
.lc-ambition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lc-ambition-card { min-height: 200px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--aegean); border-radius: var(--radius); background: var(--paper-strong); }
.lc-ambition-card p { color: var(--muted); }
.lc-ambition-stats { display: flex; gap: 14px; margin-top: 22px; color: var(--aegean); font-size: .72rem; }
.lc-season-archive { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; }
.lc-season-archive-card { min-width: 270px; max-width: 320px; min-height: 300px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper-strong); text-align: left; cursor: pointer; scroll-snap-align: start; }
.lc-season-archive-card.is-active { border: 2px solid var(--terracotta); }
.lc-season-detail { margin-top: 16px; padding: 24px; scroll-margin-top: 76px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-strong); }
.lc-season-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.lc-evidence-list { margin: 0; padding-left: 18px; }
.lc-season-record-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.lc-record-section { padding-top: 22px; }
.lc-record-projects { display: grid; gap: 8px; }
.lc-record-project { border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.lc-record-project summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 13px 15px; cursor: pointer; }
.lc-record-project summary > span { display: grid; gap: 2px; }
.lc-record-project summary small, .lc-record-project summary > span:last-child { color: var(--muted); font-size: .7rem; }
.lc-record-project > div { padding: 0 15px 15px; }
.lc-record-task-list { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.lc-record-task-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 9px; border-radius: 7px; background: var(--paper-strong); font-size: .76rem; }
.lc-record-task-list li.is-done span::before { content: "×"; margin-right: 7px; color: var(--terracotta); font-weight: 900; }
.lc-record-task-list time { color: var(--muted); white-space: nowrap; }
.lc-weekly-ledger { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 9px; }
.lc-weekly-record { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.lc-weekly-commitment { display: grid; gap: 2px; margin-top: 7px; padding: 8px 9px; border-left: 3px solid var(--line); background: var(--paper-strong); }
.lc-weekly-commitment > span { color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.lc-weekly-commitment small { color: var(--muted); }
.lc-weekly-commitment.is-main { border-left-color: var(--terracotta); }
.lc-weekly-commitment.is-health { border-left-color: var(--olive); }
.lc-completion-note { color: var(--olive); font-size: .76rem; font-weight: 700; }

/* One dialog shell for every panel: bronze rule at the top, kicker + serif
   title, a round close, a hairline under the header. */
.lc-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 36px); padding: 0; border: 1px solid var(--line); border-top: 3px solid var(--bronze); border-radius: var(--radius); color: var(--ink); background: var(--paper-strong); box-shadow: 0 28px 90px rgba(8, 20, 28, .36); }
.lc-dialog::backdrop { background: rgba(7, 24, 34, .62); backdrop-filter: blur(5px); }
.lc-dialog form, .lc-project-dialog > div, .lc-thesis-dialog > div { display: grid; gap: 14px; padding: clamp(20px, 3vw, 26px); }
.lc-dialog-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); }
.lc-dialog-heading h2 { margin: 3px 0 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.lc-dialog-heading .lc-kicker { margin-bottom: 0; }
.lc-dialog-heading button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: var(--paper-soft); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.lc-dialog-heading button:hover { color: var(--navy); background: color-mix(in srgb, var(--bronze) 18%, var(--paper-soft)); }
.lc-dialog label { display: grid; gap: 6px; color: var(--navy); font-size: .78rem; font-weight: 750; }
.lc-dialog input, .lc-dialog textarea, .lc-dialog select, .lc-health-log input { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); }
.lc-dialog textarea { resize: vertical; }
.lc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc-field-note { color: var(--muted); font-size: .68rem; font-weight: 450; }
.lc-dialog-explainer { margin: -4px 0 2px; padding: 11px 13px; border-left: 3px solid var(--aegean); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--aegean) 8%, var(--paper)); color: var(--muted); font-size: .76rem; line-height: 1.5; }
.lc-dialog-explainer strong { color: var(--navy); }
.lc-field-label { color: var(--navy); font-size: .78rem; font-weight: 750; }
.lc-task-editor { display: grid; gap: 8px; }
.lc-task-editor-rows { display: grid; gap: 7px; }
.lc-task-editor-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.lc-task-editor-row input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); }
.lc-task-editor-remove { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--paper-strong); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.lc-task-editor-remove:hover { color: var(--terracotta-dark); border-color: color-mix(in srgb, var(--terracotta) 45%, var(--line)); }
.lc-task-editor-add { justify-self: start; min-height: 0; padding: 6px 12px; font-size: .76rem; }
.lc-pair-editor { display: grid; gap: 8px; }
.lc-pair-rows { display: grid; gap: 7px; }
.lc-pair-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) auto; gap: 6px; align-items: center; }
.lc-pair-row input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); }
.lc-pair-row [data-pair-phrase] { font-weight: 650; }
@media (max-width: 540px) { .lc-pair-row { grid-template-columns: 1fr auto; } .lc-pair-row [data-pair-detail] { grid-column: 1 / -1; } }
.lc-counter { display: block; margin-top: 4px; text-align: right; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--muted); }
.lc-counter.is-full { color: var(--terracotta-dark); }
.lc-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.lc-health-preview { min-height: 44px; margin: 0; padding: 10px; border-left: 3px solid var(--olive); color: var(--muted); background: color-mix(in srgb, var(--olive) 8%, var(--paper)); font-size: .78rem; }
.lc-project-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.lc-project-detail-tasks { display: grid; gap: 7px; }
/* ---- The Thesis: the same card system as the app, at dialog scale ---- */
.lc-thesis-dialog { width: min(940px, calc(100% - 28px)); }
.lc-thesis-lede { margin: 0; max-width: 74ch; font-family: var(--serif); font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.45; color: var(--navy); }
.lc-thesis-chain { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--bronze) 26%, var(--line)); border-left: 3px solid var(--bronze); border-radius: 0 9px 9px 0; background: color-mix(in srgb, var(--bronze) 8%, transparent); font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-thesis-chain b { color: var(--navy); font-weight: 600; }
.lc-thesis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.lc-thesis-grid section { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-left: 3px solid var(--rail, var(--aegean)); border-radius: 10px; background: linear-gradient(180deg, var(--paper-strong), color-mix(in srgb, var(--paper-soft) 34%, var(--paper-strong))); }
.lc-thesis-grid section:nth-child(3n+1) { --rail: var(--aegean); }
.lc-thesis-grid section:nth-child(3n+2) { --rail: var(--olive); }
.lc-thesis-grid section:nth-child(3n+3) { --rail: var(--bronze); }
.lc-thesis-grid section p:not(.lc-label) { margin: 6px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink); }
.lc-thesis-grid .lc-label { margin: 0; }
.lc-thesis-foot { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1rem; color: var(--navy); }

.lc-inline-add { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 4px; }
.lc-inline-add input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); }
.lc-inline-add button { min-height: 0; padding: 8px 14px; }
.lc-toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 380px; padding: 12px 15px; border-radius: 10px; color: #fff7ef; background: var(--navy-soft); box-shadow: var(--shadow); font-size: .8rem; }
.lc-toast.is-error { background: var(--terracotta-dark); }

@media (max-width: 1000px) {
  .lc-header { grid-template-columns: auto 1fr auto; }
  .lc-brand span:last-child, .lc-demo-badge, .lc-private-badge { display: none; }
  .lc-project-board { grid-template-columns: repeat(2, 1fr); }
  .lc-today-grid { grid-template-columns: 1fr; }
  .lc-season-head { grid-template-columns: 1fr; }
  .lc-season-grid { grid-template-columns: 1fr; }
  .lc-ambition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .lc-header { position: static; grid-template-columns: 1fr auto; gap: 7px; padding: 8px 12px; }
  .lc-brand { grid-column: 1; }
  .lc-header-tools { grid-column: 2; }
  .lc-primary-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .lc-primary-nav button { padding: 8px 4px; font-size: .78rem; }
  .lc-appearance { display: none; }
  .lc-demo-notice { justify-content: space-between; }
  .lc-demo-notice span { max-width: 260px; }
  .lc-shell { width: min(100% - 24px, 720px); padding-top: 20px; }
  .lc-page-heading, .lc-section-heading, .lc-map-hero { align-items: flex-start; flex-direction: column; }
  .lc-page-heading--today { padding: 20px; }
  .lc-heading-context { width: 100%; }
  .lc-season-focus-row, .lc-map-foundations, .lc-form-grid, .lc-season-detail-grid, .lc-season-record-overview { grid-template-columns: 1fr; }
  .lc-weekly-ledger { grid-template-columns: 1fr; }
  .lc-bearing-grid, .lc-principle-grid { grid-template-columns: 1fr; }
  .lc-project-board { display: block; }
  .lc-project-column { min-height: 0; margin-bottom: 10px; }
  .lc-season-hero { grid-template-columns: 1fr; }
  .lc-stat-row { grid-template-columns: repeat(2, 1fr); }
  .lc-week-route { overflow-x: auto; grid-template-columns: repeat(var(--weeks, 12), 34px); }
  .lc-calendar-day { min-height: 42px; }
  .lc-map-hero { min-height: 300px; padding: 24px; }
  .lc-ambition-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .lc-view:not([hidden]) { animation: lc-arrive .24s ease-out; }
  .lc-project-card { transition: transform .16s ease, box-shadow .16s ease; }
  @keyframes lc-arrive { from { opacity: 0; transform: translateY(4px); } }
}

@keyframes lc-hold { to { transform: scaleX(1); } }

/* ---- consistent illustrated header band (all four screens) ---- */
.lc-band {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  height: clamp(198px, 23vh, 248px);
  margin-bottom: 16px;
  padding: 16px clamp(20px, 3.5vw, 40px);
  border: 1px solid color-mix(in srgb, var(--bronze) 34%, var(--line));
  border-radius: var(--radius);
  color: #f6ecd9;
  background: linear-gradient(90deg, rgba(13, 32, 43, .8) 0%, rgba(13, 32, 43, .5) 46%, rgba(13, 32, 43, .16) 100%),
    url("/static/life_compass/assets/bireme_journey.png") center 52% / cover;
  box-shadow: var(--shadow);
}
html[data-theme="dusk"] .lc-band { background-image: linear-gradient(90deg, rgba(4, 16, 25, .82) 0%, rgba(4, 16, 25, .54) 46%, rgba(4, 16, 25, .2) 100%), url("/static/life_compass/assets/bireme_following_nightsky.png"); }
.lc-band--projects { background-position-y: 38%; }
.lc-band--season { background-position-y: 60%; }
.lc-band--map { background-image: linear-gradient(90deg, rgba(13, 32, 43, .8) 0%, rgba(13, 32, 43, .5) 46%, rgba(13, 32, 43, .16) 100%), url("/static/life_compass/assets/bireme_landfall_athens.png"); background-position-y: 46%; }
html[data-theme="dusk"] .lc-band--map { background-image: linear-gradient(90deg, rgba(4, 16, 25, .82) 0%, rgba(4, 16, 25, .54) 46%, rgba(4, 16, 25, .2) 100%), url("/static/life_compass/assets/bireme_following_nightsky.png"); }
/* Every hero reads the same: kicker, serif title, a row of selectors along the
   bottom of the left two thirds; the right third carries meta and actions. */
.lc-band-body { position: relative; flex: 0 1 60%; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-bottom: 40px; text-shadow: 0 1px 12px rgba(6, 18, 26, .6); }
.lc-band-side { position: relative; flex: 0 0 clamp(250px, 31%, 400px); display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.lc-band .lc-kicker { display: flex; gap: 8px; align-items: center; color: #e7c584; }
.lc-band-title { margin: 6px 0 0; color: #fdf5e4; font-weight: 700; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.14; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(6, 18, 26, .5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* pinned to the floor of the band, wherever the title happens to end */
.lc-band-foot { position: absolute; left: 0; right: 0; bottom: 0; margin-top: 0; }
.lc-band-meta { margin: 0; font-family: var(--mono); font-size: .62rem; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; color: #d9c9a6; text-align: left; }
.lc-band-meta b { color: #f4d9a6; font-weight: 700; }
.lc-band-flow { margin-top: 8px; opacity: .92; }
.lc-band-sub { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 11px 0 0; color: #efe6cf; font-size: .82rem; font-weight: 600; }
.lc-band-star { display: inline-flex; gap: 5px; align-items: center; padding: 3px 9px; border: 1px solid rgba(233, 197, 132, .55); border-radius: 999px; color: #f4d9a6; background: rgba(233, 197, 132, .12); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; }
.lc-band-star .bi { font-size: .8em; }
button.lc-band-meta { padding: 0; border: 0; background: transparent; cursor: pointer; }
button.lc-band-meta:hover { color: #fdf5e4; text-decoration: underline; text-underline-offset: 3px; }
/* Lines on the artwork are type, not boxes: a gold mono kicker and one value. */
.lc-band-line { display: grid; gap: 1px; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.lc-band-line.is-static { cursor: default; }
.lc-band-line-k { margin: 0; font-family: var(--mono); font-size: .53rem; letter-spacing: .16em; text-transform: uppercase; color: #e7c584; }
.lc-band-line-t { color: #f2e9d5; font-size: .84rem; line-height: 1.4; text-shadow: 0 1px 10px rgba(6, 18, 26, .75); }
.lc-band-line:not(.is-static):hover .lc-band-line-t { color: #fff8ea; text-decoration: underline; text-underline-offset: 3px; }
.lc-band-line.is-static .lc-band-line-t { font-size: .78rem; line-height: 1.35; color: #e6dcc4; }
.lc-band-line-t b { color: #f4d9a6; font-weight: 700; }

/* the selector row, rendered on the artwork */
.lc-band .lc-filter-row { flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
.lc-band .lc-filter-row button { padding: 7px 14px; border: 1px solid rgba(246, 236, 217, .3); border-radius: 999px; color: #e6dcc4; background: rgba(9, 20, 28, .34); font-size: .78rem; font-weight: 650; }
.lc-band .lc-filter-row button:hover { border-color: rgba(246, 236, 217, .6); }
.lc-band .lc-filter-row button[aria-pressed="true"] { color: #14212b; border-color: #e7c584; background: #e7c584; }

/* ---- Season: three equal panels, then a big calendar + outcomes ---- */
.lc-season-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; align-items: stretch; }
.lc-third { display: grid; align-content: start; gap: 9px; }
.lc-third-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); margin-bottom: 2px; }
.lc-third-head h2 { display: flex; gap: 7px; align-items: center; margin: 0; font-size: .96rem; }
.lc-third-head h2 .bi { font-size: .82em; color: var(--bronze); }
.lc-commit-row { padding: 8px 11px; border-left: 3px solid var(--line); border-radius: 0 9px 9px 0; background: color-mix(in srgb, var(--paper-soft) 45%, transparent); }
.lc-commit-row.is-main { border-left-color: var(--terracotta); }
.lc-commit-row.is-health { border-left-color: var(--olive); }
.lc-commit-row .lc-kicker { margin-bottom: 2px; }
.lc-commit-row strong { display: block; font-family: var(--serif); font-size: 1rem; color: var(--navy); }
.lc-commit-row small { display: block; margin-top: 2px; color: var(--muted); font-size: .71rem; }

.lc-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.lc-score-grid div { padding: 7px 2px; border-right: 1px solid var(--line); text-align: center; }
.lc-score-grid div:last-child { border-right: 0; }
.lc-score-grid strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; }
.lc-score-grid strong span { color: var(--muted); font-size: .82rem; }
.lc-score-grid small { color: var(--muted); font-size: .54rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lc-months .lc-guidance, .lc-effort .lc-guidance { margin-top: 6px; }

.lc-season-calendar { margin-bottom: 0; padding: clamp(16px, 2vw, 22px); }
.lc-season-lower { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 12px; align-items: start; }
@media (max-width: 900px) { .lc-season-lower { grid-template-columns: 1fr; } }

.lc-progress-fill--aegean { background: var(--aegean); }
.lc-progress-fill--navy { background: var(--navy-soft); }

.lc-effort-bar { display: flex; overflow: hidden; height: 20px; border: 1px solid var(--line); border-radius: 6px; }
.lc-effort-bar i { min-width: 3px; }
.lc-effort-bar i + i { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .25); }
.lc-effort-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px; color: var(--muted); font-size: .7rem; }
.lc-effort-key span { display: inline-flex; gap: 6px; align-items: center; }
.lc-effort-key i { width: 9px; height: 9px; border-radius: 2px; }

.lc-advanced-row { margin-bottom: 9px; }
.lc-advanced-row:last-child { margin-bottom: 0; }
.lc-advanced-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; font-size: .78rem; }

.lc-month-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; gap: 9px; align-items: center; width: 100%; margin-bottom: 4px; padding: 4px 6px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; text-align: left; }
.lc-month-row:hover { background: color-mix(in srgb, var(--aegean) 8%, transparent); }
.lc-month-label { color: var(--muted); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.lc-month-value { color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; }
.lc-month-row.is-current .lc-progress-fill { background: var(--bronze); }
.lc-score-months .lc-guidance strong { color: var(--navy); }

/* ---- Map: expandable + numbered Bearings & Principles, click-to-edit ---- */
/* the section title is the edit trigger — same rule as every other panel heading */
.lc-inline-edit { display: flex; gap: 12px; align-items: center; width: 100%; margin-bottom: 12px; padding: 0 0 9px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: transparent; cursor: pointer; text-align: left; }
.lc-inline-edit > span { display: grid; gap: 2px; }
.lc-inline-edit .lc-kicker { margin: 0; transition: color .15s; }
.lc-inline-edit h2 { margin: 0; font-size: 1.1rem; transition: color .15s; }
.lc-inline-edit:hover h2, .lc-inline-edit:focus-visible h2 { color: var(--terracotta-dark); }
.lc-inline-edit::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 1.1rem; line-height: 1; transition: color .15s, transform .15s; }
.lc-inline-edit:hover .lc-kicker, .lc-inline-edit:focus-visible .lc-kicker { color: var(--bronze); }
.lc-inline-edit:hover::after { color: var(--bronze); transform: translateX(2px); }

.lc-direction-grid { display: grid; gap: 10px; }
.lc-direction-card { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--paper-strong), color-mix(in srgb, var(--paper-soft) 38%, var(--paper-strong))); transition: border-color .15s ease, box-shadow .15s ease; }
.lc-direction-card:hover { border-color: color-mix(in srgb, var(--bronze) 52%, var(--line)); box-shadow: 0 6px 18px rgba(30, 42, 43, .06); }
.lc-direction-head { display: flex; gap: 12px; align-items: center; padding: 13px 15px; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1rem; }
summary.lc-direction-head { cursor: pointer; list-style: none; }
summary.lc-direction-head::-webkit-details-marker { display: none; }
summary.lc-direction-head::after { content: "+"; margin-left: auto; color: var(--bronze); font-family: var(--sans); font-size: 1.15rem; line-height: 1; transition: transform .2s ease; }
.lc-direction-card[open] > summary.lc-direction-head::after { transform: rotate(45deg); }
.lc-direction-title { min-width: 0; }
.lc-direction-num { flex: none; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: color-mix(in srgb, var(--bronze) 15%, var(--paper)); color: var(--bronze); font-family: var(--sans); font-weight: 800; font-size: .76rem; }
.lc-direction-card p { margin: 0; padding: 0 15px 14px calc(15px + 1.7em + 12px); color: var(--muted); font-size: .8rem; }
.lc-direction-points { margin: 0; padding: 0 15px 15px calc(15px + 1.7em + 12px); display: grid; gap: 6px; list-style: decimal; }
.lc-direction-points li { color: var(--ink); font-size: .8rem; line-height: 1.45; padding-left: 3px; }

@media (max-width: 1040px) {
  .lc-season-head { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .lc-season-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lc-season-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lc-band { flex-direction: column; justify-content: center; align-items: flex-start; height: auto; min-height: 190px; padding: 20px clamp(16px, 4vw, 22px); gap: 10px; }
  .lc-band .lc-primary-button { align-self: flex-start; }
  .lc-focus-strip, .lc-focus-pair, .lc-score-grid { grid-template-columns: 1fr 1fr; }
  .lc-amb-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Ambitions: selectable cards + full-record detail ---- */
.lc-ambition-card { display: block; width: 100%; text-align: left; cursor: pointer; }
.lc-ambition-card.is-north-star { border-top-color: var(--terracotta); box-shadow: 0 0 0 1px color-mix(in srgb, var(--terracotta) 32%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .lc-ambition-card { transition: transform .16s ease, box-shadow .16s ease; }
  .lc-ambition-card:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(28, 39, 42, .1); }
}
.lc-amb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 2px 0 6px; }
.lc-amb-stats div { padding: 9px 6px; border-right: 1px solid var(--line); }
.lc-amb-stats div:last-child { border-right: 0; }
.lc-amb-stats strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.12rem; }
.lc-amb-stats span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lc-amb-season-list { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.lc-amb-season-list li { padding: 11px 13px; border: 1px solid var(--line); border-left: 3px solid var(--aegean); border-radius: 10px; background: var(--paper); }
.lc-amb-season-list li > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lc-amb-season-list strong { font-family: var(--serif); }
.lc-amb-season-list small { color: var(--muted); font-size: .68rem; }
.lc-amb-season-list p { margin: 5px 0; font-size: .82rem; }
.lc-amb-group { margin-top: 6px; }
.lc-amb-group > .lc-label { margin-bottom: 5px; }
.lc-amb-project-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.lc-amb-project-list li { padding: 8px 11px; border-radius: 8px; border-left: 3px solid var(--line); background: var(--paper); }
.lc-amb-project-list.is-victory li { border-left-color: var(--terracotta); }
.lc-amb-project-list.is-on-course li { border-left-color: var(--bronze); }
.lc-amb-project-list.is-idea li { border-left-color: var(--aegean); }
.lc-amb-project-list.is-revisit li { border-left-color: var(--muted); }
.lc-amb-project-list strong { display: block; font-size: .85rem; }
.lc-amb-project-list small { color: var(--muted); font-size: .68rem; }

/* ---- Dusk: a genuinely nocturnal surface, not a palette swap ---- */
html[data-theme="dusk"] .lc-panel { border-color: color-mix(in srgb, var(--aegean) 24%, var(--line)); }
html[data-theme="dusk"] .lc-band { border-color: color-mix(in srgb, var(--bronze) 46%, var(--line)); box-shadow: 0 18px 48px rgba(0, 0, 0, .32), 0 0 0 1px color-mix(in srgb, var(--aegean) 22%, transparent); }
html[data-theme="dusk"] .lc-band .lc-kicker { color: #f0cd8d; }
/* the top of the page is one plate: header and notice share a ground and a
   single rule, instead of stacking three different darks */
html[data-theme="dusk"] .lc-header { border-bottom-color: color-mix(in srgb, var(--aegean) 26%, transparent); background: color-mix(in srgb, #07161f 88%, transparent); }
html[data-theme="dusk"] .lc-demo-notice { border-bottom: 1px solid color-mix(in srgb, var(--aegean) 18%, transparent); background: color-mix(in srgb, #07161f 78%, transparent); backdrop-filter: blur(18px); }
html[data-theme="dusk"] .lc-primary-nav button[aria-current="page"] { color: #07161f; background: var(--navy-soft); }
/* a lit top edge so every panel reads as lifted off the sky */
html[data-theme="dusk"] .lc-panel, html[data-theme="dusk"] .lc-route-card, html[data-theme="dusk"] .lc-season-archive-card {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--aegean) 22%, transparent), 0 16px 40px rgba(0, 0, 0, .45);
}

/* ---- Today: the day's verdict, the Wake as a time ledger ---- */
.lc-work-tally { display: grid; justify-items: end; gap: 2px; }
.lc-work-tally b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--navy); }
.lc-work-tally b span { color: var(--muted); font-size: 1.15rem; }
.lc-day-verdict { font-family: var(--mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lc-day-verdict.is-earned { color: var(--terracotta-dark); }
.lc-work-title { display: grid; gap: 3px; }
.lc-work-title .lc-sub { order: -1; font-family: var(--mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.lc-work-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); color: var(--muted); font-size: .76rem; }
.lc-work-foot-note { font-family: var(--mono); font-size: .55rem; letter-spacing: .11em; text-transform: uppercase; }
.lc-wake-item span { display: grid; gap: 1px; }
.lc-wake-item b { font-weight: 600; color: var(--ink); }
.lc-wake-item small { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-wake-glyph { font-style: normal; font-size: .9em; }
.lc-wake-glyph.is-star { color: var(--terracotta); }
.lc-wake-glyph.is-olive { color: var(--olive); }
.lc-wake-glyph.is-brass { color: var(--bronze); }
.lc-wake-glyph.is-navy { color: var(--navy-soft); }

/* ---- Season: the measures, compacted for the rail ---- */
.lc-season-sidebar > .lc-panel { padding: 12px 14px; }
.lc-season-sidebar .lc-panel-heading { margin-bottom: 8px; }
.lc-season-sidebar .lc-panel-heading h2 { font-size: 1rem; }
.lc-season-sidebar .lc-guidance { margin-bottom: 0; font-size: .72rem; }
/* this Season read against the last: navy over grey, one pair per measure */
.lc-cmp-row { padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.lc-cmp-row:last-of-type { border-bottom: 0; }
.lc-cmp-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; font-size: .84rem; font-weight: 650; color: var(--ink); }
.lc-cmp-head b { font-family: var(--mono); font-size: .72rem; }
.lc-cmp-head b.is-up { color: var(--olive-dark, var(--olive)); }
.lc-cmp-head b.is-down { color: var(--terracotta-dark); }
.lc-cmp-head b.is-flat { color: var(--muted); }
.lc-cmp-bar { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--line) 42%, transparent); }
.lc-cmp-bar + .lc-cmp-bar { margin-top: 3px; }
.lc-cmp-bar i { display: block; height: 100%; border-radius: 3px; }
.lc-cmp-bar.is-now i { background: var(--navy-soft); }
.lc-cmp-bar.is-then i { background: color-mix(in srgb, var(--line) 92%, transparent); }
.lc-cmp-foot { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: .6rem; color: var(--muted); }
/* months of consistency */
.lc-month-rows { display: grid; gap: 7px; }
.lc-month-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; gap: 10px; align-items: center; width: 100%; padding: 4px 6px; border: 1px solid transparent; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.lc-month-row:hover { border-color: color-mix(in srgb, var(--bronze) 40%, transparent); background: color-mix(in srgb, var(--bronze) 8%, transparent); }
.lc-month-row.is-current { border-color: var(--bronze); background: color-mix(in srgb, var(--bronze) 12%, transparent); }
.lc-month-row.is-current .lc-month-lab { color: var(--navy); }
.lc-month-lab { font-family: var(--mono); font-size: .58rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.lc-month-track { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--line) 42%, transparent); }
.lc-month-track i { display: block; height: 100%; border-radius: 4px; background: var(--bronze); }
.lc-month-row b { font-family: var(--mono); font-size: .8rem; text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---- Map: Seasons as full-width rows ---- */
/* ---- Map: Seasons as full-width rows ---- */
.lc-season-row { display: grid; grid-template-columns: minmax(120px, 150px) minmax(0, 2fr) minmax(160px, 1fr) 74px; gap: 18px; align-items: center; width: 100%; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--line) 88%, transparent); border-left: 4px solid var(--line); border-radius: var(--radius); background: var(--paper-strong); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lc-season-row:hover { box-shadow: var(--shadow-sm); }
.lc-season-row.is-active { border-left-color: var(--terracotta); border-color: color-mix(in srgb, var(--bronze) 45%, var(--line)); background: color-mix(in srgb, var(--bronze) 7%, var(--paper-strong)); }
.lc-season-row.is-horizon, .lc-season-row.is-draft { border-left-color: var(--bronze); }
.lc-season-row.is-closed { border-left-color: color-mix(in srgb, var(--line) 90%, transparent); }
.lc-season-row-when .lc-kicker { margin: 0 0 3px; }
.lc-season-row-when span { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--muted); }
.lc-season-row-what h2 { margin: 0 0 3px; font-size: 1.12rem; }
.lc-season-row-what .lc-label { margin: 0; }
.lc-season-row-rate-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-season-row-score { text-align: right; }
.lc-season-row-score b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--navy); }
.lc-season-row-score span { font-family: var(--mono); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-season-archive { display: grid; gap: 10px; }
@media (max-width: 860px) {
  .lc-season-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lc-season-row-what { grid-column: 1 / -1; }
}

/* ---- Project columns and Ambitions: a coloured top edge per category ---- */
.lc-project-column { border-top: 3px solid var(--top, var(--line)); border-radius: var(--radius); }
.lc-project-column[data-column="idea"] { --top: var(--bronze); }
.lc-project-column[data-column="on_course"] { --top: var(--aegean); }
.lc-project-column[data-column="victory"] { --top: var(--terracotta); }
.lc-project-column[data-column="to_revisit"] { --top: var(--olive); }
.lc-top-star { border-top: 3px solid var(--terracotta); }
.lc-top-sea { border-top: 3px solid var(--aegean); }
.lc-top-brass { border-top: 3px solid var(--bronze); }
.lc-top-olive { border-top: 3px solid var(--olive); }
.lc-ambition-card { display: grid; gap: 7px; align-content: start; }
.lc-ambition-card .lc-progress-track { margin-top: 3px; }
.lc-project-card { display: grid; gap: 6px; text-align: left; }
.lc-project-card .lc-label { margin: 0; }
.lc-project-card .lc-project-meta { justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; }
.lc-project-card.is-selected { border-color: var(--bronze); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bronze) 34%, transparent); }

/* ---- The selected Project, read beneath the board ---- */
.lc-project-detail-panel { margin-top: 14px; }
.lc-project-detail-panel.is-empty { padding: 14px 16px; border: 1px dashed color-mix(in srgb, var(--line) 85%, transparent); border-radius: var(--radius); background: transparent; }
.lc-project-detail-panel.is-empty .lc-guidance { margin: 0; }
.lc-project-detail-panel.is-open { border-left: 4px solid var(--aegean); }
.lc-project-detail-panel[data-state="victory"] { border-left-color: var(--terracotta); }
.lc-project-detail-panel[data-state="idea"], .lc-project-detail-panel[data-state="to_revisit"] { border-left-color: var(--bronze); }
.lc-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr); gap: clamp(18px, 3vw, 40px); }
.lc-detail-main h2 { margin: 5px 0 8px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.lc-detail-thesis { margin: 0 0 10px; max-width: 60ch; color: var(--ink); font-size: .92rem; line-height: 1.55; }
.lc-detail-main .lc-label { margin: 0 0 12px; }
.lc-detail-tasks-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lc-detail-tasks-head .lc-label { margin: 0; }
.lc-detail-task { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.lc-detail-task-mark { color: var(--terracotta); font-family: var(--serif); font-size: 1.15rem; line-height: 1; text-align: center; }
.lc-detail-task-title { font-size: .9rem; color: var(--ink); }
.lc-detail-task.is-done .lc-detail-task-title { color: var(--muted); }
.lc-detail-task-status { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .lc-detail-grid { grid-template-columns: 1fr; } }

/* ---- The Season calendar: the whole crossing, month by month, scrolling ---- */
.lc-cal-day.is-outside { opacity: .34; }
.lc-lg-break { flex-basis: 100%; height: 0; }
.lc-calendar-header .lc-kicker { margin: 0 0 2px; }
.lc-calendar-header h2 { margin: 0; }

/* ---- Hero: log the day where you read it ---- */
.lc-mini-log { margin-left: auto; padding: 5px 12px; border: 1px solid rgba(246, 236, 217, .34); border-radius: 999px; color: #f1e6cf; background: rgba(9, 20, 28, .42); font-family: var(--mono); font-size: .53rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.lc-mini-log:hover { border-color: #e7c584; color: #fdf5e4; }
.lc-mini-log.is-logged { color: #14212b; border-color: var(--olive); background: color-mix(in srgb, var(--olive) 86%, #fff); }
.lc-mini-prog { display: flex; gap: 9px; align-items: center; }

/* ---- Required outcomes: title and count on one line, state under the bar ---- */
.lc-season-project-item { display: grid; gap: 4px; }
.lc-season-project-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lc-season-project-head strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--navy); }
.lc-season-project-head b { font-family: var(--mono); font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lc-season-project-state { font-family: var(--mono); font-size: .53rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lc-season-project-state.is-victory { color: var(--terracotta-dark); }

/* ---- Rail density: four measures beside a full-height calendar ---- */
.lc-season-sidebar .lc-side-focus { padding: 6px 9px; }
.lc-season-sidebar .lc-side-focus strong { font-size: .88rem; }
.lc-season-sidebar .lc-score-grid div { padding: 7px 3px; }
.lc-season-sidebar .lc-score-grid strong { font-size: 1.1rem; }
.lc-season-sidebar .lc-ledger { gap: 8px; }
.lc-season-sidebar .lc-ledger-effort { padding-top: 8px; }
.lc-season-sidebar .lc-effort-key { margin-top: 6px; font-size: .66rem; }
.lc-season-sidebar .lc-cmp-row { padding: 6px 0; }
.lc-season-sidebar .lc-cmp-head { margin-bottom: 4px; font-size: .8rem; }
.lc-season-sidebar .lc-month-rows { gap: 4px; }
.lc-season-sidebar .lc-month-row { padding: 2px 5px; }
.lc-season-sidebar .lc-month-track { height: 7px; }
.lc-season-sidebar .lc-season-project-list { gap: 9px; }
.lc-season-sidebar .lc-season-project-head strong { font-size: .92rem; }
/* the calendar owns the height of the row; the scroller takes the remainder */
.lc-season-calendar .lc-calendar-header { flex: none; }

/* ---- One language for Main Focus and Upkeep completion ----
   aegean is the Main Focus, olive is Upkeep, everywhere the two are counted:
   the week rules under the calendar, its legend, and the Season figures. */
.lc-ledger .lc-score-grid div.is-main b, .lc-ledger .lc-score-grid div.is-main strong { color: var(--aegean-dark, var(--aegean)); }
.lc-ledger .lc-score-grid div.is-health strong { color: var(--olive); }
.lc-ledger .lc-score-grid div.is-main small::before,
.lc-ledger .lc-score-grid div.is-health small::before {
  content: ""; display: inline-block; width: 12px; height: 3px; margin-right: 6px;
  border-radius: 2px; vertical-align: middle;
}
.lc-ledger .lc-score-grid div.is-main small::before { background: var(--aegean); }
.lc-ledger .lc-score-grid div.is-health small::before { background: var(--olive); }

/* ---- The calendar header: legend and month stepper on one line ---- */
.lc-cal-tools { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.lc-cal-count { min-width: 108px; font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--muted); }
.lc-cal-nav { display: flex; gap: 4px; align-items: center; }

/* ---- The Project record: thesis, finish line, evidence, Task detail ---- */
.lc-detail-field { margin-bottom: 10px; }
.lc-detail-field .lc-label { display: flex; gap: 8px; align-items: baseline; margin: 0 0 4px; }
.lc-detail-field .lc-label span { font-family: var(--sans); font-size: .7rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.lc-detail-field textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; font-size: .85rem; line-height: 1.5; resize: vertical; }
.lc-detail-field textarea:focus-visible { border-color: var(--aegean); outline: none; }
.lc-detail-actions-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 12px 0; }
.lc-detail-actions-row .lc-label { margin: 0; }
details.lc-detail-task { display: block; padding: 0; }
details.lc-detail-task summary { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); cursor: pointer; list-style: none; }
details.lc-detail-task summary::-webkit-details-marker { display: none; }
details.lc-detail-task[open] summary { border-bottom-color: transparent; }
details.lc-detail-task summary:hover .lc-detail-task-title { color: var(--aegean); }
.lc-detail-task-body { display: grid; gap: 7px; justify-items: start; padding: 4px 0 12px 28px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.lc-detail-task-body .lc-label { margin: 0; }
.lc-detail-task-body textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; font-size: .82rem; line-height: 1.5; resize: vertical; }

/* Victory rows open to show the Tasks behind the count */
details.lc-vic-row summary { cursor: pointer; list-style: none; display: grid; gap: 6px; }
details.lc-vic-row summary::-webkit-details-marker { display: none; }
details.lc-vic-row summary:hover .lc-vic-name { color: var(--terracotta-dark); }
.lc-vic-tasks { display: grid; gap: 4px; margin: 10px 0 6px; padding: 10px 0 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); list-style: none; }
.lc-vic-tasks li { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--ink); }
.lc-vic-tasks li.is-done { color: var(--muted); }
.lc-vic-tasks li.is-done span::before { content: "× "; color: var(--terracotta); font-weight: 800; }
.lc-vic-tasks small { flex: none; font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.lc-lg-group { min-width: 42px; font-weight: 600; color: var(--navy); letter-spacing: .14em; }

/* ---- The chain: one unbroken tape, with the week read above it ---- */
.lc-tape-verdict { grid-row: 1; display: flex; gap: 4px; justify-content: center; align-items: center; }
.lc-tape-verdict i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid color-mix(in srgb, var(--line) 90%, transparent); }
.lc-tape-verdict i.is-on.is-main { border-color: var(--aegean); background: var(--aegean); }
.lc-tape-verdict i.is-on.is-health { border-color: var(--olive); background: var(--olive); }
.lc-tape-day { grid-row: 2; }
/* a hairline in the gap between Sunday and Monday — the only break in the line */
.lc-tape-day.starts-week::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 1px; background: color-mix(in srgb, var(--line) 85%, transparent); }
.lc-tape-day.starts-week { position: relative; }

/* ---- Plot a Project, at the head of the column where Ideas appear ---- */
.lc-plot-card { display: flex; gap: 9px; align-items: center; width: 100%; padding: 13px 14px; border: 1px dashed color-mix(in srgb, var(--bronze) 55%, transparent); border-radius: 10px; color: var(--bronze); background: color-mix(in srgb, var(--bronze) 6%, transparent); font-family: var(--serif); font-size: .96rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.lc-plot-card span { font-family: var(--mono); font-size: 1.05rem; line-height: 1; }
.lc-plot-card:hover { border-style: solid; color: var(--navy); background: color-mix(in srgb, var(--bronze) 14%, transparent); }

/* ---- Victory: one pace track instead of four unjudged figures ---- */
.lc-pace-track { flex: 1 1 380px; min-width: 300px; display: grid; gap: 7px; }
.lc-pace-rule { position: relative; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--line) 45%, transparent); }
.lc-pace-elapsed { display: block; height: 100%; border-radius: 4px; background: color-mix(in srgb, var(--navy-soft) 42%, transparent); }
.lc-pace-mark { position: absolute; top: 50%; width: 3px; height: 20px; margin-left: -1.5px; border-radius: 2px; transform: translateY(-50%); background: var(--terracotta); }
.lc-pace-read { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lc-pace-read b { color: var(--navy); font-size: .82rem; }
.lc-pace-read .is-ahead { color: var(--olive); font-weight: 600; }
.lc-pace-read .is-behind { color: var(--terracotta-dark); font-weight: 600; }
.lc-pace-figs { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-pace-figs b { color: var(--navy); font-family: var(--serif); font-size: 1.02rem; }
.lc-guidance.is-warning { color: var(--terracotta-dark); }

/* ---- The band's own controls: gold type and a drawn menu, never a plate ---- */
.lc-band-action { align-self: flex-start; padding: 7px 16px; border: 1px solid rgba(231, 197, 132, .6); border-radius: 999px; color: #f4d9a6; background: rgba(9, 20, 28, .3); font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.lc-band-action:hover { color: #14212b; border-color: #e7c584; background: #e7c584; }
.lc-season-menu { position: relative; display: grid; gap: 2px; }
.lc-season-menu-button { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; width: 100%; padding: 2px 0 5px; border: 0; border-bottom: 1px solid rgba(231, 197, 132, .45); background: transparent; color: #fdf5e4; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; text-align: left; cursor: pointer; text-shadow: 0 1px 10px rgba(6, 18, 26, .7); transition: border-color .15s; }
.lc-season-menu-button::after { content: ""; flex: none; width: 7px; height: 7px; margin-bottom: 4px; border-right: 1.5px solid #e7c584; border-bottom: 1.5px solid #e7c584; transform: rotate(45deg); transition: transform .15s; }
.lc-season-menu-button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: 0; }
.lc-season-menu-button:hover { border-bottom-color: #e7c584; }
.lc-season-menu-list { position: fixed; z-index: 90; display: grid; max-width: 380px; padding: 5px; border: 1px solid color-mix(in srgb, var(--bronze) 45%, var(--line)); border-radius: 10px; background: var(--paper-strong); box-shadow: var(--shadow); }
.lc-season-menu-list button { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font: inherit; font-size: .84rem; text-align: left; cursor: pointer; }
.lc-season-menu-list button:hover { background: color-mix(in srgb, var(--bronze) 12%, transparent); }
.lc-season-menu-list button[aria-selected="true"] { color: var(--navy); background: color-mix(in srgb, var(--bronze) 18%, transparent); font-weight: 650; }
.lc-season-menu-list small { flex: none; font-family: var(--mono); font-size: .53rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* the Wake bars are a reference, not the page: give them the same half-width
   as everything else and a tighter rhythm */
.lc-victory-grid .lc-months .lc-month-row { padding: 1px 4px; }
.lc-victory-grid .lc-months .lc-progress-track { height: 6px; }
.lc-victory-grid .lc-month-label { min-width: 34px; }

/* ---- The week has no destination until both commitments are set ---- */
.lc-week-prompt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px; align-items: center; margin-bottom: 12px; padding: 15px 18px; border: 1px solid color-mix(in srgb, var(--bronze) 42%, var(--line)); border-left: 4px solid var(--bronze); border-radius: var(--radius); background: linear-gradient(90deg, color-mix(in srgb, var(--bronze) 12%, var(--paper-strong)), var(--paper-strong)); box-shadow: var(--shadow-sm); }
.lc-week-prompt-main { min-width: 0; flex: 1 1 340px; }
.lc-week-prompt-main h2 { margin: 4px 0 3px; font-size: clamp(1.05rem, 1.9vw, 1.35rem); }
.lc-week-prompt-main .lc-guidance { margin: 0; }
.lc-week-prompt-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---- Pace: the rate still demanded against the rate being held ---- */
.lc-rate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 8px; }
.lc-rate { padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 0 9px 9px 0; background: var(--paper); }
.lc-rate b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.lc-rate span { display: block; margin-top: 5px; font-family: var(--mono); font-size: .53rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.lc-rate.is-held { border-left-color: var(--olive); }
.lc-rate.is-short { border-left-color: var(--terracotta); }
.lc-rate.is-short b { color: var(--terracotta-dark); }

/* the Season's measures, six across the foot of the pace panel */
.lc-vic-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lc-vic-stats div { padding: 9px 6px; border-right: 1px solid color-mix(in srgb, var(--line) 65%, transparent); text-align: center; }
.lc-vic-stats div:nth-child(3n) { border-right: 0; }
.lc-vic-stats div:nth-child(n+4) { border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
.lc-vic-stats b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.lc-vic-stats b i { font-style: normal; font-size: .66em; color: var(--muted); }
.lc-vic-stats span { display: block; margin-top: 5px; font-family: var(--mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-vic-stats .is-main b { color: var(--aegean); }
.lc-vic-stats .is-health b { color: var(--olive); }
.lc-vic-stats .is-main span::before, .lc-vic-stats .is-health span::before { content: ""; display: inline-block; width: 9px; height: 3px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
.lc-vic-stats .is-main span::before { background: var(--aegean); }
.lc-vic-stats .is-health span::before { background: var(--olive); }
.lc-vic-row .lc-vic-meta { margin-top: 0; margin-bottom: 5px; }

/* ---- The Project record reads as prose; the form appears only when asked for ---- */
.lc-record-field { padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.lc-record-field:first-of-type { padding-top: 4px; }
.lc-record-field .lc-label { margin: 0 0 5px; }
.lc-record-prose { margin: 0; max-width: 68ch; color: var(--ink); font-size: .95rem; line-height: 1.62; overflow-wrap: anywhere; }
.lc-record-empty { margin: 0; color: var(--muted); font-size: .9rem; font-style: italic; }
.lc-detail-field textarea, .lc-detail-task-body textarea { overflow: hidden; resize: none; }
.lc-detail-main.is-editing .lc-detail-field textarea { min-height: 64px; border-color: color-mix(in srgb, var(--bronze) 45%, var(--line)); background: var(--paper-strong); font-size: .92rem; line-height: 1.55; }
.lc-task-read { display: grid; gap: 4px; justify-items: start; }
.lc-task-edit { display: grid; gap: 7px; justify-items: start; width: 100%; }
.lc-task-read[hidden], .lc-task-edit[hidden] { display: none; }
.lc-detail-task-body .lc-record-prose { font-size: .86rem; }

/* ---- Deleting an Ambition: behind a disclosure, refused while anything depends on it ---- */
.lc-danger-zone { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.lc-danger-zone summary { width: fit-content; font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.lc-danger-zone summary:hover, .lc-danger-zone[open] summary { color: var(--terracotta-dark); }
.lc-danger-zone[open] summary { margin-bottom: 8px; }
.lc-danger-zone .lc-guidance { margin: 0 0 10px; }
.lc-danger-confirm { display: grid; gap: 5px; margin-bottom: 10px; color: var(--ink); font-size: .82rem; }
.lc-danger-confirm input { width: 100%; padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--terracotta) 45%, var(--line)); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; }
.lc-danger-button { padding: 9px 16px; border: 1px solid var(--terracotta-dark); border-radius: 999px; color: #fff7ef; background: var(--terracotta-dark); font-weight: 650; cursor: pointer; }
.lc-danger-button[disabled] { border-color: var(--line); color: var(--muted); background: transparent; cursor: not-allowed; }
