:root {
  --paper: #f2eff7;
  --panel: #e7e2f1;
  --ink: #1d1838;
  --muted: #5c5677;
  --line: #d6cfe6;
  --plum: #4b3a86;
  --plum-ink: #ffffff;
  --ochre: #a8781f;
  --ochre-soft: #ecdcb8;
  --now: #2f7a6d;
  --focus: #4b3a86;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 66ch;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17142a;
    --panel: #221e3a;
    --ink: #ece8f7;
    --muted: #b2abcb;
    --line: #37315a;
    --plum: #b9a8f0;
    --plum-ink: #17142a;
    --ochre: #e0b45f;
    --ochre-soft: #4a3c1f;
    --now: #6cc7b5;
    --focus: #b9a8f0;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}

a { color: var(--plum); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.25rem, 6.2vw, 3.75rem); font-weight: 700; font-variation-settings: "wdth" 85; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 650; margin-top: 3rem; }
h3 { font-size: 1.2rem; font-weight: 650; margin-top: 1.75rem; }
p, ul, ol, table { margin: 0.9rem 0 0; }

.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose li + li { margin-top: 0.35rem; }

/* Header and footer */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 1.9rem; height: 1.9rem; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--ink); }
.site-head nav { display: flex; gap: 1.25rem; }

.site-foot { margin-top: 5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2.5rem; }
.site-foot a { color: var(--muted); }
.site-foot nav { display: flex; gap: 1.25rem; }

/* Page intro */
.intro { padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.intro .lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin-top: 1rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* Calculator */
.tool { margin-top: 2rem; background: var(--panel); border-radius: 22px; padding: clamp(1.25rem, 4vw, 2rem); }
.tool form { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; }
.field .hint { font-size: 0.9rem; color: var(--muted); }
input[type="date"] {
  font: 500 1.1rem/1.2 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  min-height: 3rem;
}
input[type="date"]:hover { border-color: var(--muted); }
.btn {
  font: 650 1.05rem/1 var(--body);
  background: var(--plum);
  color: var(--plum-ink);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  min-height: 3rem;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.form-error { color: #b3261e; font-weight: 600; flex-basis: 100%; margin: 0; }
@media (prefers-color-scheme: dark) { .form-error { color: #ffb4ab; } }

.result { margin-top: 1.75rem; }
.result[hidden] { display: none; }
.result-grid { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 760px) { .result-grid { grid-template-columns: 300px minmax(0, 1fr); } }

.wheel { width: 100%; max-width: 300px; margin-inline: auto; display: block; }
.wheel-legend { list-style: none; padding: 0; margin: 0.75rem auto 0; max-width: 300px; font-size: 0.92rem; color: var(--muted); display: grid; gap: 0.3rem; }
.wheel-legend span { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: -0.05rem; }

.headline-result:focus { outline: none; }
.headline-result { font: 650 clamp(1.35rem, 3.6vw, 1.75rem)/1.25 var(--display); margin: 0; }
.natal-line { color: var(--muted); margin-top: 0.5rem; }
.natal-line strong { color: var(--ink); }

.returns { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0; }
.returns > li { padding: 1rem 0; border-top: 1px solid var(--line); }
.returns > li:first-child { border-top: 0; padding-top: 0.25rem; }
.returns h3 { margin: 0; font-size: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: baseline; }
.badge { font: 600 0.8rem/1 var(--body); border-radius: 999px; padding: 0.35rem 0.6rem; background: var(--ochre-soft); color: var(--ink); }
.badge.now { background: var(--now); color: var(--paper); }
.season { margin: 0.4rem 0 0; }
.passes { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.97rem; }
.passes strong { color: var(--ink); font-weight: 600; }

/* Tables */
.table-scroll { overflow-x: auto; margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; color: var(--muted); font-size: 0.92rem; padding-bottom: 0.5rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; }
td.sign { white-space: nowrap; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style-position: outside; }
.faq details p { color: var(--muted); }

/* Home */
.sky-now { margin-top: 1.5rem; font-size: 1.05rem; color: var(--muted); }
.sky-now strong { color: var(--ink); }
.tool-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 0; }
.tool-list li { border-top: 1px solid var(--line); }
.tool-list li:last-child { border-bottom: 1px solid var(--line); }
.tool-list a { display: grid; grid-template-columns: 3rem 1fr; gap: 0.25rem 1rem; padding: 1.25rem 0; text-decoration: none; color: var(--ink); }
.tool-list a:hover .tool-name { text-decoration: underline; text-underline-offset: 0.2em; }
.tool-list .glyph { grid-row: span 2; font-size: 2rem; line-height: 1; color: var(--ochre); }
.tool-name { font: 650 1.3rem/1.2 var(--display); }
.tool-desc { color: var(--muted); }
.soon { color: var(--muted); margin-top: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .result.reveal .wheel .transit-arc { animation: draw 900ms ease-out both; }
  @keyframes draw { from { stroke-dashoffset: var(--arc-len); } to { stroke-dashoffset: 0; } }
}

/* Radio choice */
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.choice legend { font-weight: 600; padding: 0; margin-bottom: 0.35rem; width: 100%; }
.choice label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 3rem; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--plum); }

.btn-link { display: inline-block; text-decoration: none; }
.result h3 { margin-top: 1.5rem; }

/* Sign grid */
.sign-grid { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.sign-grid li { border-top: 1px solid var(--line); }
.sign-grid a { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; padding: 0.85rem 0; text-decoration: none; color: var(--ink); }
.sign-grid a:hover .n { text-decoration: underline; text-underline-offset: 0.2em; }
.sign-grid a[aria-current="page"] .n { color: var(--plum); }
.sign-grid .g { font-size: 1.5rem; line-height: 1.2; color: var(--ochre); }
.sign-grid .n { display: block; font-weight: 650; }
.sign-grid .t { display: block; color: var(--muted); font-size: 0.95rem; }

tr.row-now td { font-weight: 650; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
td.sign a { text-decoration: none; }
td.sign a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .site-head nav .nav-about { display: none; }
  .site-head nav { gap: 1rem; }
  .brand { font-size: 1.05rem; }
}
.site-head nav a { white-space: nowrap; }
@media (max-width: 420px) {
  .site-head nav { gap: 0.8rem; font-size: 0.95rem; }
  .brand svg { width: 1.6rem; height: 1.6rem; }
}

/* Home groups */
.intro + h2 { margin-top: 2.5rem; }
.tool-list + h2 { margin-top: 2.5rem; }
h2 + .tool-list { margin-top: 0.75rem; }
.num-glyph { font-family: var(--display); font-weight: 700; }

/* Header: compact on small screens */
.site-head nav .nav-all { display: none; }
@media (max-width: 720px) {
  .site-head nav a { display: none; }
  .site-head nav .nav-all { display: inline; }
}

/* Numerology form + results */
.field-wide { flex: 1 1 18rem; }
input[type="text"], input[type="number"] {
  font: 500 1.1rem/1.2 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 0.7rem 0.85rem; min-height: 3rem; width: 100%;
}
input[type="number"] { width: 8rem; }
input[type="text"]:hover, input[type="number"]:hover { border-color: var(--muted); }
.num-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.num-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.num-row:first-child { border-top: 0; }
.num-row h3 { margin: 0; font-size: 1.15rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: baseline; }
.num-big { font: 700 3.2rem/1 var(--display); color: var(--plum); font-variation-settings: "wdth" 80; text-align: center; }
.note { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--ochre); padding-left: 0.75rem; margin-top: 0.6rem; }
.math { margin-top: 0.6rem; font-size: 0.95rem; }
.math summary { cursor: pointer; color: var(--plum); font-weight: 600; }
.math ol { padding-left: 1.2rem; }
.math code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9rem; word-break: break-word; }
.num-g { font-family: var(--display); font-weight: 700; }
.meanings { margin: 1rem 0 0; }
.meanings div { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.meanings dt { font-weight: 650; }
.meanings dd { margin: 0.2rem 0 0; color: var(--muted); }
.plain-links { padding-left: 1.1rem; }
table.chart td:first-child { font-weight: 650; width: 6rem; }
@media (max-width: 420px) { .num-row { grid-template-columns: 3rem 1fr; } .num-big { font-size: 2.4rem; } }

/* Desktop nav: About lives in the footer */
.site-head nav .nav-about { display: none; }

/* Chinese zodiac */
.cz-glyph { font-family: "Noto Serif TC", "Songti SC", "PMingLiU", serif; font-size: 1.35rem; color: var(--ochre); }
.tool-list .glyph[lang="zh"] { font-family: "Noto Serif TC", "Songti SC", "PMingLiU", serif; font-size: 1.8rem; }
.cz-result { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.cz-big { font: 400 5.5rem/1 "Noto Serif TC", "Songti SC", "PMingLiU", serif; color: var(--ochre); }
.cz-pair { font-size: 3.6rem; letter-spacing: 0.05em; }
@media (max-width: 520px) { .cz-result { grid-template-columns: 1fr; gap: 0.5rem; } .cz-big { font-size: 4rem; } }
select {
  font: 500 1.05rem/1.2 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 0.7rem 0.85rem; min-height: 3rem; min-width: 12rem;
}
.field .hint input[type="date"] { min-height: 2.4rem; padding: 0.35rem 0.5rem; font-size: 0.95rem; margin-top: 0.3rem; }
.rating { display: flex; gap: 0.35rem; margin-top: 0.6rem; }
.rating .dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--line); }
.rating .dot.on { background: var(--ochre); }
table.cz-matrix { width: auto; border-collapse: separate; border-spacing: 3px; }
table.cz-matrix th, table.cz-matrix td { border: 0; padding: 0; text-align: center; }
table.cz-matrix thead th { padding-bottom: 0.3rem; }
table.cz-matrix tbody th { text-align: right; padding-right: 0.6rem; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
table.cz-matrix td { width: 2rem; height: 2rem; border-radius: 6px; }
.r5 { background: var(--plum); }
.r3 { background: color-mix(in srgb, var(--plum) 25%, var(--paper)); }
.r2 { background: color-mix(in srgb, var(--ochre) 45%, var(--paper)); }
.r1 { background: var(--ochre); }
.cz-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.92rem; color: var(--muted); }
.cz-legend span { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 4px; margin-right: 0.4rem; vertical-align: -0.1rem; }
.tool-list .num-glyph { font-size: 1.35rem; line-height: 1.6; }
@media (max-width: 1000px) and (min-width: 721px) { .site-head nav { gap: 0.9rem; font-size: 0.95rem; } }
@media (max-width: 900px) {
  .site-head nav a { display: none; }
  .site-head nav .nav-all { display: inline; }
}

/* Mercury retrograde */
.status-answer { font: 650 clamp(1.5rem, 4vw, 2.2rem)/1.2 var(--display); margin-top: 1.25rem; max-width: 30ch; }
.status-answer[data-state="retrograde"] { color: var(--ochre); }
.retro { margin-top: 2rem; }
.retro h3 { margin-top: 0; }
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 11rem 1fr; gap: 0.15rem 1rem; padding: 0.55rem 0 0.55rem 1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 0.95rem; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline li.tl-main::before { background: var(--ochre); }
.timeline .tl-k { font-weight: 650; }
.timeline .tl-n { grid-column: 2; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } .timeline .tl-n { grid-column: 1; } }
@media (max-width: 1100px) and (min-width: 901px) { .site-head nav { gap: 0.75rem; font-size: 0.92rem; } }

/* Birth chart calculators */
.check { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500 !important; font-size: 0.95rem; margin-top: 0.4rem; cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--plum); }
input[type="time"] { font: 500 1.1rem/1.2 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.7rem 0.85rem; min-height: 3rem; }
input[type="time"]:disabled { opacity: 0.45; }
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 0.25rem 0 0; padding: 0.3rem; list-style: none; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(29, 24, 56, 0.16); max-height: 18rem; overflow-y: auto; }
.combo-list li { padding: 0.6rem 0.7rem; border-radius: 8px; cursor: pointer; }
.combo-list li[aria-selected="true"] { background: var(--panel); }
.placements { list-style: none; padding: 0; margin: 1rem 0 0; }
.placements li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.8rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.placements li:first-child { border-top: 0; }
.placements h3 { margin: 0; font-size: 1.08rem; }
.placements .pl-glyph { font: 600 1.5rem/1.2 var(--display); color: var(--plum); text-align: center; }
.placements li.is-focus .pl-glyph { color: var(--ochre); }
.placements li.is-focus h3 { font-size: 1.25rem; }
.pl-deg { font-weight: 500; color: var(--muted); font-size: 0.95rem; margin-left: 0.3rem; }

/* Form rows: inputs and button share one baseline; options sit on their own row below */
.tool form { align-items: flex-end; }
.tool form .form-row, .tool form .choice { flex-basis: 100%; order: 10; margin-top: -0.25rem; }
.tool form .form-error { order: 11; }
.tool form .choice legend { width: auto; margin-bottom: 0; margin-right: 0.5rem; }
.tool form .choice label { min-height: 2.25rem; }
.check.form-row { margin-top: -0.1rem; }
#cz-form[data-tool="compat"] { align-items: flex-start; }
#cz-form[data-tool="compat"] .btn { margin-top: calc(1.0625rem * 1.6 + 0.35rem); }
@media (max-width: 640px) {
  .tool form .form-row { order: 5; margin-top: -0.5rem; }
  .tool form .combo { order: 6; }
  .tool form .btn { order: 20; }
  .tool form .form-error { order: 21; }
}

/* Full birth chart */
@media (min-width: 760px) { .chart-grid { grid-template-columns: 340px minmax(0, 1fr); } }
.chart-wheel { max-width: 340px; }
.placements-table th[scope="row"] { white-space: nowrap; font-weight: 650; }
.pl-g { display: inline-block; width: 1.6rem; color: var(--plum); font-family: var(--display); }
.pl-line { color: var(--muted); font-size: 0.95rem; min-width: 14rem; }
.placements-table abbr { text-decoration: none; color: var(--ochre); font-weight: 700; cursor: help; }
.asp-g { color: var(--ochre); }
.balance { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 1.5rem; margin-top: 0.5rem; }
.balance h3 { font-size: 1rem; margin: 1rem 0 0.4rem; }
.bal-row { display: grid; grid-template-columns: 5.5rem 1fr 1.5rem; gap: 0.6rem; align-items: center; font-size: 0.95rem; padding: 0.15rem 0; }
.bal-bar { height: 0.55rem; border-radius: 999px; background: linear-gradient(90deg, var(--plum) var(--w), var(--line) var(--w)); }
.bal-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .placements-table thead, table.aspects thead { display: none; }
  .placements-table tr, table.aspects tr { display: grid; grid-template-columns: auto 1fr auto; gap: 0.15rem 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .placements-table th, .placements-table td, table.aspects td { border: 0; padding: 0; }
  .placements-table .pl-line { grid-column: 1 / -1; min-width: 0; }
  table.aspects tr { grid-template-columns: 1fr auto; }
  table.aspects td:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; }
}
.code-box { width: 100%; font: 0.9rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.8rem; resize: vertical; margin-top: 1rem; }
.site-foot nav { flex-wrap: wrap; }
/* Cookie consent (Europe only) */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 40rem; margin-inline: auto; background: var(--panel); border: 1.5px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: 0 12px 40px rgba(29, 24, 56, 0.22); display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 0.95rem; flex: 1 1 18rem; }
.consent-actions { display: flex; gap: 0.5rem; }
.btn-small { padding: 0.65rem 1.1rem; min-height: 2.6rem; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.share-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.opt { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.facts { padding-left: 1.1rem; }
.moon-svg { max-width: 220px; height: auto; }
@media (min-width: 760px) { .moon-grid { grid-template-columns: 240px minmax(0, 1fr); } }
.ph-icon svg { width: 22px; height: 22px; vertical-align: -5px; margin-right: 0.35rem; }
table.moon-cal tr.ph-full td, table.moon-cal tr.ph-new td { font-weight: 600; }
table.moon-cal tr.ph-first td, table.moon-cal tr.ph-last td { color: var(--muted); }
/* Synastry */
.syn-form { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.person { border: 1.5px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem 1.1rem; margin: 0; display: grid; gap: 0.8rem; min-width: 0; }
.person legend { font: 650 1.05rem/1 var(--display); padding: 0 0.4rem; }
.person input[type="date"], .person input[type="time"], .person input[type="text"] { width: 100%; }
.syn-actions, .syn-form .form-error { grid-column: 1 / -1; }
.syn-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.syn-tally div { background: var(--paper); border-radius: 14px; padding: 0.8rem; display: grid; gap: 0.2rem; font-size: 0.9rem; color: var(--muted); }
.syn-tally .n { font: 700 2rem/1 var(--display); color: var(--ink); }
.syn-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.syn-list li { padding: 0.75rem 0 0.75rem 0.9rem; border-left: 3px solid var(--line); margin-top: 0.5rem; }
.syn-list li.syn-easy { border-left-color: var(--plum); }
.syn-list li.syn-hard { border-left-color: var(--ochre); }
.syn-list h3 { margin: 0; font-size: 1.02rem; }
.tool-h { margin-top: 0; font-size: 1.4rem; }
.tool + .tool { margin-top: 1.5rem; }
.moon-now { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.75rem; }
.moon-now .moon-svg { width: 56px; height: 56px; flex: none; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 0.35rem 0; border-top: 1px solid var(--line); }

/* Zodiac compatibility */
.zc-big, .zc-pair { font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", "Noto Sans Symbols", sans-serif; }
.zc-pair { color: var(--ochre); margin-right: 0.35rem; letter-spacing: 0.05em; }
table.zc-matrix td a { display: block; width: 100%; height: 100%; border-radius: inherit; }
table.zc-matrix td a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
table.zc-matrix td.cur { box-shadow: 0 0 0 3px var(--ink); }
table.zc-matrix thead th { font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", "Noto Sans Symbols", sans-serif; color: var(--ochre); font-size: 1.15rem; }
.zc-guides, .zc-more { columns: 2 15rem; column-gap: 2rem; }
.zc-guides li, .zc-more li { break-inside: avoid; }
