/* The visual map of The Aquarian Transition (/the-celestial-algorithm/map/).
   Written by Claude (Anthropic) for Sticks/Philip, November 2026.
   Loaded on that one page only. It uses the site's own colours and typefaces (app/globals.css),
   so it follows light and dark by itself. */

/* this page needs room: the reading text keeps its measure, the map takes the width */
[data-group='grimoire'] .prose.prose--map { max-width: 80rem; padding-inline: clamp(0.75rem, 3vw, 2rem); }
.prose--map > h1,
.prose--map > [data-verbatim] > p,
.prose--map > [data-verbatim] > nav,
.prose--map > [data-verbatim] > details { max-width: var(--measure); }

.sky-map {
  --sm-chart: #1f5f8b; --sm-meet: #8a4a0e; --sm-hard: var(--rust); --sm-easy: var(--moss);
  --sm-gpt: #5b4a8a; --sm-claude: #1f5f8b; --sm-both: #3f5a2e; --sm-sticks: #8a4a0e;
  margin: 1.5rem 0 2rem; font-family: var(--font-ui-stack); font-size: 0.95rem; line-height: 1.45; color: var(--text);
}
:root[data-theme='dark'] .sky-map { --sm-chart: #8cc4ec; --sm-meet: #f0b36a; --sm-gpt: #c3b4ee; --sm-claude: #8cc4ec; --sm-both: #9dbf7e; --sm-sticks: #f0b36a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .sky-map { --sm-chart: #8cc4ec; --sm-meet: #f0b36a; --sm-gpt: #c3b4ee; --sm-claude: #8cc4ec; --sm-both: #9dbf7e; --sm-sticks: #f0b36a; }
}
.sky-map:not(.is-ready) { padding: 1rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); font-family: var(--font-body-stack); }
.sky-map a { color: var(--accent); }
.sm-glyph { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Noto Sans Symbols', 'Apple Symbols', 'DejaVu Sans', sans-serif; }
.sm-muted { color: var(--muted); }

/* ---------- the controls */
.sm-bar-top { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: flex-end; padding: 0.75rem 1rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); }
.sm-field > label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.2rem; }
.sm-field--btns { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start; margin-left: auto; }
.sm-select, .sm-input, .sm-form input[type='text'], .sm-form input[type='url'], .sm-form input[type='date'], .sm-form input[type='time'], .sm-form input[type='number'], .sm-form select, .sm-form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--muted); border-radius: 6px; min-height: 44px; padding: 0 0.6rem; max-width: 100%; box-sizing: border-box;
}
.sm-select { min-width: min(18rem, 100%); }
.sm-select--small { min-height: 36px; min-width: 0; }
.sm-daterow { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.sm-btn { font: inherit; min-height: 44px; padding: 0 0.9rem; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); cursor: pointer; }
.sm-btn--quiet { background: transparent; color: var(--text); border-color: var(--muted); }
.sm-btn:hover { filter: brightness(1.08); }
.sm-btn:disabled { opacity: 0.6; cursor: progress; }
.sm-show { position: relative; }
.sm-show > summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 0.9rem; border: 1px solid var(--muted); border-radius: 6px; }
.sm-show > summary::-webkit-details-marker { display: none; }
.sm-show > summary::after { content: ' \25BE'; margin-left: 0.35rem; }
.sm-show[open] > summary { background: var(--tint); }
.sm-show__in { position: absolute; right: 0; z-index: 12; margin-top: 0.3rem; width: min(22rem, 86vw); max-height: 70vh; overflow: auto; padding: 0.75rem 1rem; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); }
.sm-show fieldset { border: 0; margin: 0 0 0.75rem; padding: 0; }
.sm-show legend { font-weight: 700; padding: 0; margin-bottom: 0.25rem; }
.sm-check { display: flex; gap: 0.5rem; align-items: center; min-height: 36px; }
.sm-check input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--accent); }
.sm-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--muted); border-radius: 6px; overflow: hidden; }
.sm-seg__b { font: inherit; min-height: 36px; padding: 0 0.7rem; background: transparent; color: var(--text); border: 0; border-right: 1px solid var(--rule); cursor: pointer; }
.sm-seg__b:last-child { border-right: 0; }
.sm-seg__b.is-on { background: var(--text); color: var(--bg); }

/* ---------- wheel and panel */
.sm-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
@media (min-width: 62rem) {
  .sm-stage { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .sm-wheel { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 0.5rem); }
}
.sm-wheel { border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); padding: 0.5rem; }
.sm-wheel__svg { display: block; width: 100%; height: auto; max-height: 78vh; }
.sm-sign { stroke: var(--rule); }
.sm-sign--a { fill: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.sm-sign--b { fill: color-mix(in srgb, var(--text) 11%, var(--bg)); }
.sm-sign__glyph { font-size: 22px; fill: var(--muted); }
.sm-tick { stroke: var(--muted); stroke-width: 0.8; }
.sm-ring { fill: none; stroke: var(--rule); }
.sm-ring--in { fill: color-mix(in srgb, var(--text) 3%, var(--bg)); }
.sm-body text.sm-glyph { font-size: 25px; fill: var(--text); }
.sm-body--fast text.sm-glyph { font-size: 20px; fill: var(--muted); }
.sm-body--small text.sm-glyph, .sm-body--point text.sm-glyph { font-size: 20px; }
.sm-body__tick { stroke: var(--text); stroke-width: 1.2; }
.sm-body--fast .sm-body__tick { stroke: var(--muted); }
.sm-body__dot { fill: var(--text); }
.sm-body--fast .sm-body__dot { fill: none; }
.sm-body__hit, .sm-point__hit { fill: transparent; cursor: pointer; }
.sm-body:hover .sm-body__hit, .sm-body.is-on .sm-body__hit { fill: color-mix(in srgb, var(--text) 12%, transparent); }
.sm-body.is-on .sm-body__hit { stroke: var(--text); stroke-width: 1.5; }
.sm-body__back { font: 600 10px var(--font-ui-stack); fill: var(--muted); }
.sm-point text.sm-glyph { font-size: 21px; fill: var(--sm-chart); }
.sm-point__tick { stroke: var(--sm-chart); stroke-width: 1.6; }
.sm-point__dot { fill: var(--sm-chart); }
.sm-point.is-soft { opacity: 0.4; }
.sm-point.is-soft .sm-point__dot { display: none; }
.sm-point:hover .sm-point__hit, .sm-point.is-on .sm-point__hit { fill: color-mix(in srgb, var(--sm-chart) 16%, transparent); }
.sm-point.is-on .sm-point__hit { stroke: var(--sm-chart); stroke-width: 1.5; }
.sm-line { stroke-linecap: round; opacity: 0.8; pointer-events: none; }
.sm-line--meet { stroke: var(--sm-meet); }
.sm-line--hard { stroke: var(--sm-hard); }
.sm-line--easy { stroke: var(--sm-easy); }
.sm-line.is-on { opacity: 1; stroke-width: 5px; }
.sm-line--ring { fill: none; stroke-width: 2.5px; }
.sm-line--ring.is-on { stroke-width: 4px; }
.sm-line__hit { stroke: transparent; stroke-width: 16; }
.sm-line__hit[data-key] { cursor: pointer; }
.sm-centre { font-family: var(--font-display-stack); font-size: 19px; fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.sm-centre--who { font-size: 15px; fill: var(--sm-chart); }
.sm-star { cursor: pointer; }
.sm-star circle { fill: var(--muted); }
.sm-star.is-touched circle { fill: var(--sm-meet); stroke: var(--bg); }
.sm-wheel__svg.is-narrow .sm-body text.sm-glyph { font-size: 33px; }
.sm-wheel__svg.is-narrow .sm-body--fast text.sm-glyph, .sm-wheel__svg.is-narrow .sm-body--small text.sm-glyph, .sm-wheel__svg.is-narrow .sm-body--point text.sm-glyph { font-size: 27px; }
.sm-wheel__svg.is-narrow .sm-point text.sm-glyph { font-size: 28px; }
.sm-wheel__svg.is-narrow .sm-sign__glyph { font-size: 27px; }
.sm-wheel__svg.is-narrow .sm-centre { font-size: 25px; }
.sm-wheel__svg.is-narrow .sm-centre--who { font-size: 20px; }
.sm-legend { margin: 0.4rem 0.25rem 0.1rem; font-size: 0.82rem; color: var(--text); line-height: 1.9; }
.sm-key { display: inline-block; width: 1.4rem; height: 0.3rem; border-radius: 2px; vertical-align: middle; background: var(--text); }
.sm-key--meet { background: var(--sm-meet); }
.sm-key--hard { background: var(--sm-hard); }
.sm-key--easy { background: var(--sm-easy); }
.sm-key--named { height: 0.55rem; background: var(--sm-hard); }
.sm-key--calc { height: 0.55rem; background: var(--sm-hard); opacity: 0.4; }
.sm-key--exactmark { width: 2px; height: 0.9rem; background: var(--text); }
.sm-key--ecl { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.sm-key--dia { width: 0.6rem; height: 0.6rem; transform: rotate(45deg); background: var(--sm-meet); }

.sm-panel { display: grid; gap: 0.75rem; min-width: 0; align-content: start; }
.sm-card { border: 1px solid var(--rule); border-radius: 8px; padding: 0.8rem 1rem; background: var(--bg); min-width: 0; overflow-wrap: anywhere; }
.sm-card--sel { border-left: 6px solid var(--text); }
.sm-card--sel.sm-card--meet { border-left-color: var(--sm-meet); }
.sm-card--sel.sm-card--hard { border-left-color: var(--sm-hard); }
.sm-card--sel.sm-card--easy { border-left-color: var(--sm-easy); }
.sky-map .sm-h { font-family: var(--font-display-stack); font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.3rem; padding: 0; border: 0; }
.sky-map h3.sm-h { font-size: 1.2rem; }
.sm-k { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0.7rem 0 0.3rem; }
.sm-card > .sm-k:first-child { margin-top: 0; }
.sm-card p { margin: 0.35rem 0; }
.sm-para, .sm-how p, .sm-note { font-family: var(--font-body-stack); font-size: 1rem; line-height: 1.55; }
.sm-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.75rem; margin: 0.5rem 0; }
.sm-facts dt { color: var(--muted); }
.sm-facts dd { margin: 0; }
.sm-links { font-size: 0.92rem; }
.sm-tag { display: inline-block; font-family: var(--font-ui-stack); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; padding: 0 0.4rem; border: 1px solid currentColor; border-radius: 4px; margin-right: 0.35rem; vertical-align: 0.1em; color: var(--muted); }
.sm-tag--gpt { color: var(--sm-gpt); }
.sm-tag--claude { color: var(--sm-claude); }
.sm-tag--both { color: var(--sm-both); }
.sm-tag--sticks { color: var(--sm-sticks); }
.sm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.sm-list--long { max-height: 22rem; overflow: auto; padding-right: 0.25rem; }
.sm-item { display: flex; flex-wrap: wrap; gap: 0.15rem 0.55rem; align-items: baseline; width: 100%; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid var(--rule); border-left: 5px solid var(--text); border-radius: 6px; padding: 0.45rem 0.6rem; min-height: 44px; cursor: pointer; }
.sm-item--meet { border-left-color: var(--sm-meet); }
.sm-item--hard { border-left-color: var(--sm-hard); }
.sm-item--easy { border-left-color: var(--sm-easy); }
.sm-item:hover { background: var(--tint); }
.sm-item.is-on { background: var(--tint); outline: 2px solid var(--text); }
.sm-item__g { white-space: nowrap; }
.sm-item__d { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 4.4rem; }
.sm-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--text); margin-left: auto; align-self: center; }
.sm-link { font: inherit; background: none; border: 0; padding: 0; min-height: 32px; color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; text-align: left; }
.sm-link--quiet { color: var(--muted); }
.sm-when { list-style: none; margin: 0.2rem 0; padding: 0; }
.sm-fold { border: 1px solid var(--rule); border-radius: 8px; padding: 0.35rem 1rem; background: var(--bg); min-width: 0; }
.sm-fold > summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 600; }
.sm-fold[open] > summary { margin-bottom: 0.4rem; }
.sm-card .sm-fold { margin-top: 0.5rem; }
.sm-month__head { font-family: var(--font-display-stack); font-size: 1.05rem; }
.sm-story__h { font-weight: 700; margin-top: 0.9rem !important; }
.sm-skylist { padding-left: 1.1rem; margin: 0.3rem 0; font-size: 0.95rem; }
.sm-skylist li { margin: 0.3rem 0; }

/* ---------- the strip of years */
.sm-strip { margin-top: 1.25rem; border: 1px solid var(--rule); border-radius: 8px; padding: 0.6rem 0.8rem 0.4rem; background: var(--bg); }
.sm-strip__top { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.sm-strip__top .sm-k { margin: 0; text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.sm-strip__rows { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); }
.sm-strip__label { display: flex; align-items: center; font-size: 0.8rem; color: var(--muted); padding-right: 0.4rem; box-sizing: border-box; }
.sm-strip__scroll { overflow-x: auto; overflow-y: hidden; }
.sm-strip__svg { display: block; touch-action: pan-y; cursor: ew-resize; }
.sm-strip__svg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sm-axis__year { stroke: var(--rule); }
.sm-axis__month { stroke: var(--muted); stroke-width: 0.7; }
.sm-axis__label { font: 12px var(--font-ui-stack); fill: var(--muted); }
.sm-row__rule { stroke: var(--rule); }
.sm-band { stroke: var(--bg); }
.sm-band--a { fill: color-mix(in srgb, var(--text) 8%, var(--bg)); }
.sm-band--b { fill: color-mix(in srgb, var(--text) 17%, var(--bg)); }
.sm-band__label { font-size: 12px; fill: var(--text); pointer-events: none; }
.sm-bar { cursor: pointer; }
.sm-bar--meet rect { fill: var(--sm-meet); }
.sm-bar--hard rect { fill: var(--sm-hard); }
.sm-bar--easy rect { fill: var(--sm-easy); }
.sm-bar__span { opacity: 0.3; }
.sm-bar__part { opacity: 0.38; }
.sm-bar.is-named .sm-bar__part { opacity: 1; }
.sm-bar__exact { stroke: var(--text); stroke-width: 1; opacity: 0.45; }
.sm-bar.is-named .sm-bar__exact, .sm-bar.is-on .sm-bar__exact { opacity: 1; stroke-width: 1.6; }
.sm-bar .sm-bar__hit { fill: transparent; }
.sm-bar.is-on .sm-bar__part { opacity: 1; stroke: var(--text); stroke-width: 2; }
.sm-ev { cursor: pointer; }
.sm-ev--eclipse.sm-ev--sun { fill: var(--text); }
.sm-ev--eclipse.sm-ev--moon { fill: var(--bg); stroke: var(--text); stroke-width: 1.5; }
.sm-ev--meet.sm-ev--meet { fill: var(--sm-meet); }
.sm-ev--meet.sm-ev--hard { fill: var(--sm-hard); }
.sm-ev--meet.sm-ev--easy { fill: var(--sm-easy); }
.sm-head { pointer-events: none; }
.sm-head line { stroke: var(--text); stroke-width: 1.6; }
.sm-head path { fill: var(--text); }
.sm-head.is-out { opacity: 0.3; }

/* ---------- table, notes, forms, the add-a-chart box */
.sm-fold--table { margin-top: 1rem; }
.sm-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.sm-table th, .sm-table td { border-bottom: 1px solid var(--rule); padding: 0.3rem 0.5rem; text-align: left; vertical-align: top; }
.sm-table__box { overflow-x: auto; }
.sm-note__one { border-top: 1px solid var(--rule); padding: 0.5rem 0; }
.sm-note__text { white-space: pre-wrap; font-family: var(--font-body-stack); font-size: 1rem; }
.sm-form { display: grid; gap: 0.65rem; }
.sm-form label { display: grid; gap: 0.2rem; font-size: 0.9rem; }
.sm-form textarea { padding: 0.5rem 0.6rem; min-height: 7rem; resize: vertical; width: 100%; }
.sm-form input[type='text'], .sm-form input[type='url'] { width: 100%; }
.sm-form__kind { border: 0; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.sm-form__kind label { display: flex; gap: 0.5rem; align-items: center; min-height: 36px; }
.sm-form__trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sm-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.sm-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sm-notes__status { min-height: 1.3em; margin: 0; }
.sm-dialog { width: min(100% - 2rem, 30rem); max-height: 90vh; overflow: auto; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); color: var(--text); padding: 1.1rem 1.25rem; font-family: var(--font-ui-stack); }
.sm-dialog::backdrop { background: rgb(0 0 0 / 0.5); }
.sm-dialog .sm-h { font-family: var(--font-display-stack); font-size: 1.3rem; margin: 0; }
.sm-dialog .sm-muted { color: var(--muted); margin: 0; }

@media (max-width: 40rem) {
  .sm-field, .sm-select { width: 100%; }
  .sm-field--btns { margin-left: 0; }
  .sm-show__in { left: 0; right: auto; }
  .sm-strip__rows { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .sm-form__two { grid-template-columns: 1fr; }
}
@media print { .sm-bar-top, .sm-strip, .sm-notes { display: none; } }

/* ---------- symbols (20 Nov 2026): elements, aspect marks, the key ---------- */
.sky-map { --sm-fire: #b5452c; --sm-earth: #56752f; --sm-air: #a37b12; --sm-water: #2a6a99; }
:root[data-theme='dark'] .sky-map { --sm-fire: #f08a6c; --sm-earth: #a5c77e; --sm-air: #e8cf7a; --sm-water: #8cc4ec; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .sky-map { --sm-fire: #f08a6c; --sm-earth: #a5c77e; --sm-air: #e8cf7a; --sm-water: #8cc4ec; } }
.sm-sign--fire { fill: color-mix(in srgb, var(--sm-fire) 16%, var(--bg)); }
.sm-sign--earth { fill: color-mix(in srgb, var(--sm-earth) 16%, var(--bg)); }
.sm-sign--air { fill: color-mix(in srgb, var(--sm-air) 16%, var(--bg)); }
.sm-sign--water { fill: color-mix(in srgb, var(--sm-water) 16%, var(--bg)); }
.sm-band--fire { fill: color-mix(in srgb, var(--sm-fire) 20%, var(--bg)); }
.sm-band--earth { fill: color-mix(in srgb, var(--sm-earth) 20%, var(--bg)); }
.sm-band--air { fill: color-mix(in srgb, var(--sm-air) 20%, var(--bg)); }
.sm-band--water { fill: color-mix(in srgb, var(--sm-water) 20%, var(--bg)); }
.sm-el { fill: none; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.sm-el--fire { stroke: var(--sm-fire); } .sm-el--earth { stroke: var(--sm-earth); } .sm-el--air { stroke: var(--sm-air); } .sm-el--water { stroke: var(--sm-water); }
.sm-el__svg { vertical-align: -2px; }
.sm-sign__glyph { fill: var(--text); }
.sm-line__mark { pointer-events: none; }
.sm-line__mark circle { fill: var(--bg); stroke-width: 1.2; }
.sm-line__mark text { font-size: 12px; }
.sm-line__mark--meet circle { stroke: var(--sm-meet); } .sm-line__mark--meet text { fill: var(--sm-meet); }
.sm-line__mark--hard circle { stroke: var(--sm-hard); } .sm-line__mark--hard text { fill: var(--sm-hard); }
.sm-line__mark--easy circle { stroke: var(--sm-easy); } .sm-line__mark--easy text { fill: var(--sm-easy); }
.sm-line__mark.is-on circle { stroke-width: 2.4; }
.sm-wheel__svg.is-narrow .sm-line__mark text { font-size: 16px; }
.sm-body__back.sm-glyph { font-size: 13px; font-weight: 400; }
.sm-strip__g { display: inline-block; min-width: 1.25em; font-size: 1rem; color: var(--text); }
.sm-bar__g { font-size: 10.5px; fill: var(--muted); pointer-events: none; }
.sm-bar.is-on .sm-bar__g, .sm-bar.is-named .sm-bar__g { fill: var(--text); }
.sm-h__g { font-weight: 400; white-space: nowrap; }
.sm-fold--key { margin-top: 0.6rem; }
.sm-keys { display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }
.sm-table--key { font-size: 0.88rem; }
.sm-table--key th[scope='row'] { font-weight: 600; }
.sm-key__g { font-size: 1.15rem; }

/* ---------- big moments and the full key (20 Nov 2026) ---------- */
.sm-mom { cursor: pointer; stroke: var(--bg); stroke-width: 0.8; }
.sm-mom--forecast { fill: var(--sm-meet); }
.sm-mom--sky { fill: var(--text); }
.sm-mom--claim { fill: color-mix(in srgb, var(--sm-meet) 70%, var(--text)); }
.sm-mom.is-on { stroke: var(--text); stroke-width: 2; }
.sm-mom--sky.is-on { stroke: var(--sm-meet); }
.sm-strip__label.is-moments { color: var(--text); font-weight: 600; }
.sm-moments { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; margin: 0.2rem 0 0.6rem; }
.sm-moments .sm-btn { min-height: 40px; }
.sm-moments__sel { flex: 1 1 16rem; max-width: 34rem; min-width: 0; }
.sm-moments .sm-muted { flex: 1 1 100%; font-size: 0.82rem; }
.sm-card--moment { border-left-color: var(--sm-meet); }
.sm-keymark { vertical-align: -3px; flex: none; }
.sm-keymark--wide { margin-right: 2px; }
.sm-keys--own { margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.sm-marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.sm-marks li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.6rem; align-items: start; }
.sm-marks__m { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; min-height: 1.4rem; }
.sm-key__g--chart { color: var(--sm-chart); }
.sm-key__g--soft { opacity: 0.4; }
.sm-keystar { fill: var(--muted); }
.sm-keystar--on { fill: var(--sm-meet); }
.sm-dot--key { margin-left: 0; }
.sm-marks .sm-tag { margin-right: 2px; }
.sm-marks__small { font-size: 0.72rem; }
@media (max-width: 40rem) { .sm-moments .sm-btn { flex: 1 1 40%; } .sm-moments__sel { flex-basis: 100%; order: 3; } }

/* ---------- results so far: hits and misses (21 Nov 2026) ---------- */
.sm-res { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sm-res--hit { stroke: var(--sm-easy); }
.sm-res--miss { stroke: var(--sm-hard); }
.sm-res--open { stroke: var(--muted); stroke-width: 1.8; }
.sm-res__bg { fill: var(--bg); stroke: var(--rule); stroke-width: 1; }
.sm-mom--result { stroke: none; }
.sm-mom--result.is-on .sm-res__bg { stroke: var(--text); stroke-width: 2; }
.sm-score { flex: 1 1 100%; margin: 0; font-size: 0.9rem; }
.sm-card--result.sm-card--hit { border-left-color: var(--sm-easy); }
.sm-card--result.sm-card--miss { border-left-color: var(--sm-hard); }

/* ---------- the money shock on the strip (21 Nov 2026): part 17 by Claude Opus 5.5 ---------- */
.sm-mom--money { fill: var(--sm-hard); }
.sm-mom--test { fill: var(--bg); stroke: var(--sm-hard); stroke-width: 1.6; }
.sm-mom--test.is-on, .sm-mom--money.is-on { stroke: var(--text); stroke-width: 2; }
.sm-ms { cursor: pointer; }
.sm-ms rect { stroke: var(--bg); }
.sm-ms--hit rect { fill: color-mix(in srgb, var(--sm-hard) 70%, var(--bg)); }
.sm-ms--lull rect { fill: color-mix(in srgb, var(--sm-easy) 55%, var(--bg)); }
.sm-ms.is-on rect { stroke: var(--text); stroke-width: 2; }
.sm-ms__label { font: 600 11px var(--font-ui-stack); fill: var(--bg); pointer-events: none; }
.sm-ms__tint { pointer-events: none; }
.sm-ms__tint--hit { fill: color-mix(in srgb, var(--sm-hard) 9%, transparent); }
.sm-ms__tint--lull { fill: color-mix(in srgb, var(--sm-easy) 6%, transparent); }
.sm-card--money { border-left-color: var(--sm-hard); }
.sm-strip__label.is-moments { white-space: nowrap; font-size: 0.72rem; line-height: 1; overflow: hidden; }

/* The day's predictions: the transit beside its practical effect, above it where there is no room. */
.sm-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0 1.2rem; padding: 0.6rem 0; border-top: 1px solid var(--rule); }
.sm-pair .sm-para { margin: 0.15rem 0; }
.sm-pair--pick { padding-top: 0.3rem; border-top: 0; }
.sm-pair--pick .sm-k { margin-top: 0; }
