/* The daily page ("Cerul de azi"). Loaded after app.css and uses its tokens (each with the value from the design language as fallback).
   An instrument and an almanac: sharp plates, hairlines, typeset rows. The only round things are the wheel, the Moon and the stars. */
#today { position: fixed; inset: 0; z-index: 9; overflow: hidden auto; color: var(--ink, #f6efe9); font: 400 18px/1.6 var(--sans, system-ui, sans-serif);
  background: radial-gradient(1100px 620px at 24% -8%, rgba(126, 58, 150, .17), transparent 70%), var(--night, #0e0513); scrollbar-width: thin; scrollbar-color: var(--line-2, rgba(246, 239, 233, .34)) transparent;
  --t-ink: var(--ink, #f6efe9); --t-ink2: var(--ink-2, #dccfe3); --t-dim: var(--dim, #b3a0be); --t-line: var(--line, rgba(246, 239, 233, .16)); --t-line2: var(--line-2, rgba(246, 239, 233, .34));
  --t-gold: var(--gold, #f0c48a); --t-gold2: var(--gold-2, #ffe2bb); --t-rose: var(--rose, #e58bc0); --t-night: var(--night, #0e0513); --t-mono: var(--mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace); }
#today ::selection { background: var(--t-gold); color: #1b0a22; }
#today :focus-visible { outline: 2px solid var(--t-gold); outline-offset: 3px; }
#today button { font-family: inherit; border-radius: 0; }
.t-page { max-width: 1180px; margin: 0 auto; padding: 0 32px 110px; }
.t-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 64px; background: var(--t-night); border-bottom: 1px solid var(--t-line); }
.t-brand { font: 500 1.05rem var(--serif); letter-spacing: .42em; color: var(--t-gold2); }
.t-link { background: none; border: 0; padding: 12px 0 5px; min-height: 44px; color: var(--t-gold2); font: 500 17px var(--sans); cursor: pointer; transition: color .2s; }
.t-link:hover, .t-link:focus-visible { color: var(--t-ink); }
.t-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--t-gold); color: #1b0a22; border: 0; padding: 16px 28px; font: 600 18px var(--sans); cursor: pointer; }
.t-btn i { font-style: normal; transition: transform .2s ease; } .t-btn:hover i { transform: translateX(4px); } .t-btn:active { filter: brightness(.88); }
.t-fine { color: var(--t-dim); font-size: 15px; line-height: 1.55; max-width: 64ch; margin: 12px 0 0; }

/* the instrument */
.t-hero { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 60px; align-items: start; padding-top: 34px; }
.t-wheel { display: block; width: 100%; height: auto; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; overflow: visible; }
.t-wheel.drag { cursor: grabbing; }
.t-wheel path, .t-wheel circle { vector-effect: non-scaling-stroke; }
.tw-rule { fill: none; stroke: var(--t-line2); stroke-width: 1; } .tw-tick { fill: none; stroke: var(--t-ink); stroke-opacity: .34; stroke-width: 1; }
.tw-con { fill: none; stroke: var(--t-ink); stroke-opacity: .2; stroke-width: 1; } .tw-star { fill: none; stroke: var(--t-ink); stroke-opacity: .62; stroke-width: 2.6; stroke-linecap: round; }
.tw-sign { fill: none; stroke: var(--t-ink2); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.tw-lead { fill: none; stroke: var(--t-ink); stroke-opacity: .5; stroke-width: 1; } .tw-dot { fill: var(--t-gold); }
.tw-gl { fill: none; stroke: var(--t-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } .tw-body.sun .tw-gl { stroke: var(--t-gold); } .tw-hit { fill: transparent; }
.tw-chord { fill: none; stroke: var(--t-ink2); } .tw-chord.hot { stroke: var(--t-gold); } .tw-touch { fill: none; stroke: var(--t-gold); stroke-width: 1.3; } .tw-end { fill: var(--t-night); stroke: var(--t-gold); stroke-width: 1.3; } .tw-nlead { fill: none; stroke: var(--t-dim); stroke-opacity: .7; stroke-width: 1; }
.tw-body.hi .tw-gl { stroke: var(--t-gold); } .tw-body.hi .tw-hit { stroke: var(--t-gold); stroke-width: 1; }
.tw-natal { fill: none; stroke: var(--t-ink2); stroke-opacity: .8; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; } .tw-natal-t { fill: var(--t-dim); font: 500 14.5px var(--t-mono); text-anchor: middle; }
.tw-retro { fill: var(--t-rose); font-family: var(--t-mono); font-weight: 500; text-anchor: middle; }
.tm-dark { fill: #1c0c25; stroke: var(--t-line2); stroke-width: 1; } .tm-lit { fill: #f4ebdb; } .t-moon { flex: none; display: block; }
.t-scale { position: relative; height: 82px; margin-top: 20px; }
.t-ticks { position: absolute; inset: 0 0 auto; height: 46px; border-bottom: 1px solid var(--t-line2); }
.t-ticks i { position: absolute; bottom: 0; width: 1px; height: 7px; background: var(--t-ink); opacity: .36; } .t-ticks i.wk { height: 15px; opacity: .7; }
.t-mark { position: absolute; top: 0; z-index: 2; width: 24px; height: 24px; margin-left: -12px; padding: 0; background: none; border: 0; cursor: pointer; }
.t-mark::before { content: ""; position: absolute; left: 7px; top: 7px; width: 9px; height: 9px; border: 1px solid var(--t-ink); border-radius: 50%; box-sizing: border-box; }
.t-mark.fullMoon::before, .t-mark.lunarEclipse::before { background: var(--t-ink); } .t-mark.solarEclipse::before, .t-mark.lunarEclipse::before { box-shadow: 0 0 0 3px var(--t-night), 0 0 0 4px var(--t-gold); border-color: var(--t-gold); } .t-mark.lunarEclipse::before { background: var(--t-gold); }
.t-mark.turn::before { border-radius: 0; width: 7px; height: 7px; left: 8px; top: 8px; transform: rotate(45deg); border-color: var(--t-rose); } .t-mark.equinox::before, .t-mark.solstice::before { border-radius: 0; height: 11px; width: 1px; left: 11px; top: 6px; border: 0; background: var(--t-gold); }
.t-mark:hover::before { border-color: var(--t-gold); }
#tScrub { position: absolute; left: 0; top: 16px; width: 100%; height: 44px; margin: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; cursor: ew-resize; touch-action: pan-y; }
#tScrub::-webkit-slider-runnable-track { height: 44px; background: none; } #tScrub::-moz-range-track { height: 44px; background: none; }
#tScrub::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 38px; margin-top: -4px; background: var(--t-gold); border: 0; border-radius: 0; box-shadow: 0 0 0 5px var(--t-night), 0 0 0 6px var(--t-gold); }
#tScrub::-moz-range-thumb { width: 3px; height: 38px; background: var(--t-gold); border: 0; border-radius: 0; box-shadow: 0 0 0 5px var(--t-night), 0 0 0 6px var(--t-gold); }
.t-labels { position: absolute; inset: 56px 0 auto; height: 20px; font: 400 13.5px var(--t-mono); color: var(--t-dim); pointer-events: none; }
.t-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; } .t-labels .mid { color: var(--t-gold2); }
.t-steps { display: flex; justify-content: space-between; gap: 16px; }
.t-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; font-size: 15px; color: var(--t-dim); } .t-key span { display: inline-flex; align-items: center; } .t-key .t-mark { position: relative; top: auto; margin: 0 2px 0 -5px; cursor: default; flex: none; }

/* the readout */
.t-when { margin: 0; font: 400 14.5px/1.5 var(--t-mono); color: var(--t-gold2); } .t-streak { display: inline-block; margin-left: 16px; color: var(--t-dim); }
#today h1 { font: 500 clamp(2.4rem, 4.4vw, 3.5rem)/1.04 var(--serif); letter-spacing: -.01em; margin: 12px 0 14px; }
.t-sub { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--t-ink2); font-size: 1.05rem; } .t-sub .gl { width: 22px; height: 22px; color: var(--t-gold); }
.t-eph { width: 100%; margin-top: 26px; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.t-eph th { text-align: left; font: 400 14.5px var(--sans); color: var(--t-dim); padding: 0 0 8px; border-bottom: 1px solid var(--t-line2); } .t-eph th:last-child, .t-eph td:last-child { text-align: right; }
.t-eph td { padding: 8px 0; border-bottom: 1px solid var(--t-line); font: 400 15px var(--t-mono); color: var(--t-ink2); white-space: nowrap; } .t-eph td:first-child { font: 500 17px var(--sans); color: var(--t-ink); }
.t-eph .gl { width: 18px; height: 18px; margin-right: 10px; color: var(--t-gold); vertical-align: -4px; } .t-eph abbr { color: var(--t-rose); text-decoration: none; margin-left: 4px; }
#tLegend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; } #tLegend span { display: inline-flex; align-items: center; gap: 8px; } #tLegend path { stroke: var(--t-ink2); fill: none; }
.t-morrow { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--t-line); font: 400 14.5px/1.5 var(--t-mono); color: var(--t-ink2); } .t-morrow:empty { display: none; }

/* sections */
#today h3 { display: flex; align-items: center; gap: 18px; margin: 76px 0 24px; font: italic 500 1.4rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--t-ink); }
#today h3::after { content: ""; flex: 1; height: 11px; background: linear-gradient(var(--t-gold), var(--t-gold)) 0 50% / 1px 11px no-repeat, linear-gradient(var(--t-line), var(--t-line)) 0 50% / 100% 1px no-repeat; }
#today h3 ~ h3 { margin-top: 46px; font-size: 1.18rem; color: var(--t-ink2); }
.t-over { max-width: 33em; margin: 68px 0 0; font: 400 clamp(1.3rem, 2.1vw, 1.68rem)/1.42 var(--serif); color: var(--t-ink); }
.t-ask { max-width: 30em; margin: 24px 0 0; padding-left: 18px; border-left: 1px solid var(--t-gold); font: italic 500 1.3rem/1.4 var(--serif); color: var(--t-gold2); }

.t-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--t-line2); border-bottom: 1px solid var(--t-line); }
.t-week button { position: relative; display: grid; align-content: start; justify-items: start; gap: 7px; min-width: 0; padding: 16px 12px 18px; background: none; border: 0; border-left: 1px solid var(--t-line); color: var(--t-ink); text-align: left; cursor: pointer; transition: background-color .15s; }
.t-week button:first-child { border-left: 0; padding-left: 0; } .t-week button:hover { background: rgba(246, 239, 233, .04); }
.t-week button[aria-pressed="true"]::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--t-gold); }
.t-week small { font-size: 14.5px; color: var(--t-dim); } .t-week b { font: 500 2rem/1 var(--serif); font-variant-numeric: lining-nums; }
.t-week .sg { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--t-ink2); min-width: 0; } .t-week .sg .gl { width: 17px; height: 17px; } .t-week em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.t-week .in { font: 400 13.5px var(--t-mono); color: var(--t-dim); } .t-week .ev { font: italic 500 1.02rem/1.25 var(--serif); color: var(--t-gold2); }

.zgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--t-line2); border-bottom: 1px solid var(--t-line); }
.zgrid button { display: grid; justify-items: center; gap: 6px; min-height: 44px; padding: 16px 0 13px; background: none; border: 0; color: var(--t-dim); font: 500 14.5px var(--sans); cursor: pointer; transition: color .15s, box-shadow .2s; transform: none; }
.zgrid button .gl { width: 22px; height: 22px; color: var(--t-ink2); transition: color .15s; } .zgrid button:hover { color: var(--t-ink); transform: none; border-color: transparent; }
.zgrid button[aria-pressed="true"] { background: none; color: var(--t-ink); box-shadow: inset 0 -2px 0 var(--t-gold); } .zgrid button[aria-pressed="true"] .gl { color: var(--t-gold); }
.zread { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 52px; align-items: start; margin-top: 40px; padding: 0; background: none; border: 0; border-radius: 0; }
.zread figure { margin: 0; } .t-zod { display: block; width: 100%; height: auto; } .zread .t-zod + .t-con { width: 120px; margin-top: 18px; } .zread figcaption { margin-top: 12px; font: 400 13.5px var(--t-mono); color: var(--t-dim); }
.t-con { display: block; width: 100%; height: auto; } .t-con path { fill: none; stroke: var(--t-ink2); stroke-opacity: .7; stroke-width: 1; vector-effect: non-scaling-stroke; } .t-con circle { fill: var(--t-gold2); }
.zread strong { display: block; margin: 0 0 10px; font: 500 2.5rem/1 var(--serif); } .zread p { margin: 0; max-width: 60ch; font-size: 1.06rem; color: var(--t-ink); } .zread small { display: block; max-width: 64ch; font-size: 15px; line-height: 1.55; color: var(--t-dim); }
.t-house { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; margin: 24px 0 16px; padding: 16px 0; border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.t-house p { font-size: 17px; color: var(--t-ink2); } .t-house b { display: block; margin-bottom: 3px; font: 500 14px var(--t-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t-gold2); }
.t-houses { display: block; width: 92px; height: 92px; } .t-houses path { fill: none; stroke: var(--t-line2); stroke-width: 1; vector-effect: non-scaling-stroke; } .t-houses path.on { fill: var(--t-gold); fill-opacity: .2; stroke: var(--t-gold); }
.t-houses .sg { stroke: var(--t-dim); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; } .t-houses text { fill: var(--t-ink); font: 500 38px var(--serif); text-anchor: middle; font-variant-numeric: lining-nums; }

.t-open p { max-width: 52ch; margin: 0 0 22px; font-size: 1.06rem; }
.mine2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 18px; border-top: 1px solid var(--t-line2); border-bottom: 1px solid var(--t-line); }
.mine2 > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; align-content: start; padding: 26px 30px 28px 0; background: none; border: 0; border-radius: 0; }
.mine2 > div + div { padding-left: 30px; border-left: 1px solid var(--t-line); }
.mine2 .seal { grid-row: 1 / 5; width: 76px; height: 76px; color: var(--t-gold2); } .mine2 b { display: block; font: 500 3rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--t-gold); }
.mine2 strong { display: block; margin: 8px 0 2px; font: 500 1.4rem/1.2 var(--serif); } .mine2 small { display: block; margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: var(--t-dim); } .mine2 p { margin: 0; font-size: 1rem; color: var(--t-ink2); }
.t-house-line { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--t-line); color: var(--t-ink2); font-size: 17px; }

.t-rows { border-top: 1px solid var(--t-line2); }
#today .ri.tm { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 26px; padding: 17px 0 18px; border: 0; border-bottom: 1px solid var(--t-line); }
#today .ri.tm > b { display: block; width: auto; height: auto; padding: 5px 0 0; border: 0; border-radius: 0; font: 500 14.5px/1.45 var(--t-mono); font-variant-numeric: tabular-nums; color: var(--t-gold2); }
#today .ri.tm > b i { display: block; font-style: normal; font-weight: 400; color: var(--t-dim); } #today .ri.tm > b .gl { width: 24px; height: 24px; color: var(--t-gold); }
#today .ri.tm strong { display: block; font: 500 1.1rem/1.35 var(--sans); } #today .ri.tm strong i { display: inline-block; margin-left: 14px; font: 400 14px var(--t-mono); color: var(--t-dim); }
#today .ri.tm.major strong { font: 500 1.6rem/1.2 var(--serif); } #today .ri.tm.turn strong { font: italic 500 1.32rem/1.25 var(--serif); }
#today .ri.tm p { margin: 5px 0 0; max-width: 66ch; font-size: 17px; color: var(--t-ink2); } #today .ri.tm.tr { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
#today .ri.tm[data-tjump] { cursor: pointer; transition: background-color .15s; } #today .ri.tm[data-tjump]:hover { background: rgba(246, 239, 233, .035); } #today .ri.tm[data-tjump]:hover > b { color: var(--t-gold); }
.t-held { margin: 0; font-size: 17px; color: var(--t-ink2); } .t-held span + span::before { content: "·"; margin: 0 11px; color: var(--t-dim); }
.t-stars .stat { margin: 0 0 8px; font: 500 1.3rem/1.35 var(--serif); color: var(--t-ink); } .t-stars .note { margin: 0; max-width: 70ch; font-size: 15px; color: var(--t-dim); }

@media (max-width: 1020px) { .t-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; } .t-inst { max-width: 620px; width: 100%; margin: 0 auto; } .zgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .zgrid button:nth-child(-n+6) { border-bottom: 1px solid var(--t-line); } }
@media (max-width: 720px) {
  .t-page { padding: 0 18px 80px; } .t-bar { height: 56px; } .t-hero { padding-top: 20px; gap: 30px; } #today h1 { font-size: 2.2rem; } #today h3 { margin: 56px 0 18px; font-size: 1.25rem; } .t-over { margin-top: 48px; }
  .t-eph td { font-size: 14px; } .t-eph td:first-child { font-size: 16px; } .t-labels span:not(.mid):nth-child(odd) { display: none; }
  .t-week button { padding: 12px 4px 14px; justify-items: center; text-align: center; gap: 8px; } .t-week button:first-child { padding-left: 4px; } .t-week b { font-size: 1.45rem; } .t-week small { font-size: 13.5px; } .t-week em, .t-week .in { display: none; }
  .t-week .ev { width: 6px; height: 6px; overflow: hidden; font-size: 0; background: var(--t-gold); }
  .zgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .zgrid button:nth-child(-n+8) { border-bottom: 1px solid var(--t-line); }
  .zread { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; } .zread figure { display: grid; grid-template-columns: min(62vw, 250px) minmax(0, 1fr); column-gap: 20px; align-items: end; } .zread .t-zod { grid-row: 1 / 3; } .zread .t-zod + .t-con { width: 100%; max-width: 120px; margin: 0; align-self: end; } .zread figcaption { margin: 10px 0 0; align-self: start; font-size: 12.5px; } .zread strong { font-size: 2.1rem; }
  .mine2 { grid-template-columns: minmax(0, 1fr); } .mine2 > div { grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; } .mine2 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--t-line); } .mine2 .seal { width: 60px; height: 60px; }
  #today .ri.tm { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } #today .ri.tm.tr { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; } #today .ri.tm strong i { display: block; margin: 3px 0 0; } #today .ri.tm.major strong { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { #today * { transition: none !important; } }
/* the scale's first and last dates stay inside the page, whatever their length */
.t-labels span:nth-child(4) { transform: translateX(-100%); } /* the last date (28 days ahead): its end stays inside the page */
.t-brand { display: inline-flex; align-items: center; gap: 12px; } .t-brand .logo { width: 30px; height: 30px; fill: var(--t-gold2); stroke: none; }
.t-right { display: inline-flex; align-items: center; gap: 22px; }
.t-acct { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--t-ink); cursor: pointer; } .t-acct svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; } .t-acct.in svg { stroke: var(--t-gold2); }
.t-acct span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
