:root { color-scheme: light; --ink: #243d39; --muted: #6d756c; --paper: #fffdf8; --line: #ddd9cd; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #000; font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
header { max-height: 100px; }
main { max-width: 1440px; margin: 0 auto; padding: 48px 40px 28px; }
.page-header { position: relative; padding-bottom: 30px; }
.eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 650; letter-spacing: 0.19em; color: #7a856d; }
h1 { margin: 0; font: 500 56px/1.1 Georgia, "Times New Roman", serif; letter-spacing: -2px; }
.header-star { display: inline-block; margin-left: 22px; color: #b39139; font-size: 48px; vertical-align: middle; }
.intro { margin: 15px 15px 15px 15px; color: #000; }
h2 { margin: 0; font-size: 17px; font-weight: 600; }
.controls, .chart-panel, .positions-panel { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.controls { padding: 22px 24px 17px; }
.control-heading, .chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.control-heading { margin-bottom: 20px; }
.live-toggle { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
.live-toggle input { accent-color: #426a54; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4d8c65; }
.live-toggle:has(input:not(:checked)) .live-dot { background: #b3b5ad; }
.control-grid { display: grid; grid-template-columns: minmax(180px, 1.5fr) minmax(180px, 1.5fr) 1.2fr 1.1fr 1fr auto; gap: 14px; align-items: end; }
label { display: flex; flex-direction: column; gap: 6px; color: #58675e; font-size: 12px; font-weight: 550; }
input, select, button { min-width: 0; border-radius: 5px; font: inherit; }
input:not([type=checkbox]), select { width: 100%; height: 40px; padding: 7px 9px; color: var(--ink); border: 1px solid #d5d9cd; background: #fffefb; font-size: 13px; }
input:disabled, select:disabled { color: #7a8177; background: #f2f3eb; opacity: 1; }
button { padding: 10px 15px; border: 1px solid #2e5046; color: #fffdf8; background: #2e5046; cursor: pointer; white-space: nowrap; font-size: 13px; font-weight: 550; }
button:hover { background: #3b6457; }
button:disabled { cursor: wait; opacity: 0.65; }
button span { margin-left: 10px; }
:focus-visible { outline: 3px solid #a59a5b; outline-offset: 3px; }
.control-note { margin: 14px 0 0; color: #7c8278; font-size: 11px; }
.control-note.error { color: #a53c28; }
#fold-control { max-width: 260px; margin-top: 14px; }
[hidden] { display: none !important; }
.status { min-height: 23px; margin: 20px 2px 12px; color: #5c7162; font-size: 13px; }
.status.error { color: #a53c28; }
.chart-heading { padding: 22px 24px 0; }
.chart-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.chart-scroll { overflow-x: auto; padding: 12px 0 0; }
svg { display: block; width: 100%; min-width: 960px; height: auto; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.svg-section-label { fill: #7a8176; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; }
.sign-symbol { font-size: 24px; }
.sign-name { font-size: 11px; fill: #536350; }
.degree-label { fill: #8e9488; font-size: 9px; }
.house-number { fill: #475a50; font-size: 19px; font-weight: 550; }
.house-cusp { fill: #888c7e; font-size: 9px; }
.planet-symbol { font-size: 25px; }
.planet-name { fill: #344a40; font-size: 11px; font-weight: 600; }
.planet-degree { fill: #778073; font-size: 10px; }
.planet-marker:focus circle, .planet-marker:hover circle { stroke-width: 3px; }
.chart-footnote { display: flex; justify-content: space-between; gap: 20px; padding: 16px 24px; border-top: 1px solid #ede9df; color: #818779; font-size: 11px; }
.positions-panel { margin-top: 24px; color: #000 }
.table-scroll { overflow-x: auto; padding: 12px 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
thead th { color: #8a8d7f; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
th, td { padding: 12px 14px; border-bottom: 1px solid #ede9df; text-align: left; white-space: nowrap; }
tbody th { font-weight: 500; }
td.retrograde { color: #af654a; }
.earth-note { padding: 16px 24px; margin: 0; color: #7a7e70; font-size: 12px; background: #faf7ee; border-radius: 0 0 12px 12px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; color: #8b8e81; font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1200px) { .control-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { main { padding: 28px 14px 20px; } h1 { font-size: 44px; } .controls { padding: 18px 16px; } .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .timezone-field, .city-field { grid-column: span 2; } .chart-heading { align-items: flex-start; padding: 18px 16px 0; flex-direction: column; gap: 4px; } .chart-footnote, footer { flex-direction: column; gap: 4px; } .chart-footnote, .earth-note { padding: 14px 16px; } .table-scroll { padding: 10px 8px 0; } }
