
/* chart menu (2026-10-14, Emilian): tap empty space on the chart for zodiac, houses, orbs and decans */
.cm { position: fixed; z-index: 75; width: min(372px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; box-sizing: border-box;
  padding: 6px 18px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 18px; background: var(--card);
  box-shadow: 0 16px 40px rgba(0,0,0,.24); display: flex; flex-direction: column; -webkit-tap-highlight-color: transparent; }
.cm[hidden] { display: none; }
.cm .cm-row { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); flex: none; }
.cm .cm-name { flex: none; font: 500 18px/1 var(--f-display); color: var(--text); }
html:root .cm button.cm-row { height: auto; min-height: 52px; width: 100%; border-bottom: 0; }
.cm .cm-row .cm-val { font-size: 14.5px; color: var(--text-2); }
/* nothing on the folding box itself: padding or a border there made the fold jump at its first and last frame (2026-10-15 19:14,
   Emilian: "expanding and retracting orbs is not smooth") */
/* the orbs open and close by one smooth fold, played either way and reversible mid-way (2026-10-15 19:14, Emilian: "expanding and
   retracting orbs is not smooth"): a grid row easing from 0 to its full height, instead of a measured height that could be off */
html:root .cm .cm-orbs { display: grid; grid-template-rows: 0fr; opacity: 0; overflow: visible; flex: none; border: 0; padding: 0;
  transition: grid-template-rows .32s cubic-bezier(.32,.72,0,1), opacity .32s cubic-bezier(.32,.72,0,1); }
html:root .cm .cm-orbs.open { grid-template-rows: 1fr; opacity: 1; }
.cm .cm-orbs-in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.cm .cm-orbs-in > :first-child { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 70%, transparent); padding-top: 4px; }   /* in the accent like the other open folds (2026-10-22 14:07) */
.cm .cm-orbs-in > :last-child { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { html:root .cm .cm-orbs { transition: none; } }

.cm button { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border: 0; background: transparent;
  color: var(--text-3); font: 500 15px var(--f-body); cursor: pointer; text-align: left; flex: none; -webkit-tap-highlight-color: transparent; }
.cm button[role="radio"][aria-checked="true"] { color: var(--accent); }
.cm button[role="radio"][aria-checked="false"] { opacity: .62; }
.cm .nt-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; border: 1.3px solid currentColor; transition: background-color .25s ease; }
.cm button[aria-checked="true"] .nt-dot { background: currentColor; }
.cm .cm-row { color: var(--text-2); }
/* the two tabs at the top (2026-11-12 22:17): two equal raised buttons like the fixed stars box's, the open one ringed in the accent */
.cm .cm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0 8px; flex: none; }
html:root .cm .cm-tabs button { height: 36px; border: 0; border-radius: 10px; background: var(--zs-lift-soft, color-mix(in srgb, var(--text) 7%, transparent)); color: var(--text-2);
  font: 400 17px 'EB Garamond', Georgia, serif; justify-content: center; text-align: center; padding: 0; cursor: pointer; box-shadow: none; transition: color .16s cubic-bezier(.32,.72,0,1), box-shadow .16s cubic-bezier(.32,.72,0,1); }
html:root .cm .cm-tabs button[aria-selected="true"] { color: var(--accent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, transparent); }
.cm .cm-pane { display: flex; flex-direction: column; }
.cm .cm-pane[hidden] { display: none; }
html:root .cm .cm-pane > .cm-row:nth-last-child(2) { border-bottom: 0 !important; }
/* Share chart at the menu's foot (2026-11-14): a hairline above, the arrow-from-a-box mark where the chevrons sit */
html:root .cm .cm-share { margin-top: 6px; border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent) !important; border-bottom: 0 !important; }
html:root .cm .cm-share .cm-chev { width: 18px; height: 18px; transform: none !important; }
html:root .cm.cm-away .cm-share { display: none; }
/* the chart menu's own button at the wheel's lower right corner and its one-time hint (2026-11-14 23:16) */
html:root #svgWrap { position: relative; }
html:root #cmBtn { position: absolute; z-index: 3; width: 38px; height: 38px; margin: -19px 0 0 -19px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: transparent; color: var(--ds-accent, var(--accent)); opacity: .55; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: opacity .16s cubic-bezier(.32,.72,0,1), transform .16s cubic-bezier(.32,.72,0,1); }
html:root #cmBtn svg { width: 22px; height: 22px; }
html:root #cmBtn:active { transform: scale(.92); opacity: .85; }
@media (hover: hover) { html:root #cmBtn:hover { opacity: .9; } }
html.embed #cmBtn { display: none; }
html:root #cmHint { position: absolute; z-index: 3; transform: translate(26px, -50%); white-space: nowrap; pointer-events: none;
  font: 400 16px 'EB Garamond', Georgia, serif; color: var(--ds-text, var(--text)); padding: 7px 12px; border-radius: 10px;
  background: var(--zs-menu, var(--card)); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 14px rgba(0,0,0,.22);
  opacity: 0; transition: opacity .32s cubic-bezier(.32,.72,0,1); }
html:root #cmHint.on { opacity: 1; }
/* phones: small, in the chart tabs' row at the bottom, left of the colour dot; the hint just above it (2026-11-15) */
html:root #tabbar > #cmBtn.in-bar { left: auto !important; top: auto !important; right: 40px; bottom: calc(100% + 7px); margin: 0; width: 32px; height: 32px; opacity: .45; }   /* centre level with the colour dot (2026-11-17, Emilian: "the chart settings button should be on the same plane as the Color picker button") */
html:root #tabbar > #cmBtn.in-bar svg { width: 18px; height: 18px; }
/* computers: in the top bar right after Search (2026-11-16 08:01, Emilian: "not liking where this button sits on desktop. I would rather have it next to the search button in the top bar") */
html:root .timebar > #cmBtn.in-top { border: 0 !important; overflow: visible; top: 50% !important; left: calc(50% + var(--when-w, 240px) / 2 + 16px + var(--find-w, 60px) / 2 + 22px) !important; margin: 0; transform: translateY(-50%); width: 40px; height: 40px; opacity: 1; }
html:root .timebar > #cmBtn.in-top:active { transform: translateY(-50%) scale(.92); }
html:root .timebar > #cmBtn.in-top { width: 40px; height: 44px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
html:root .timebar > #cmBtn.in-top svg { width: 22px; height: 22px; flex: none; }
/* Search's colours (2026-11-16 08:12, Emilian: "chart settings should match in color to other buttons") */
html:root:not([data-theme="dark"]) body .timebar > #cmBtn.in-top { color: var(--text-3) !important; }
@media (hover: hover) { html:root body .timebar > #cmBtn.in-top:hover { color: var(--accent) !important; opacity: 1; } }
/* the 3D faces cut in the same colours as Search's (2026-11-16) */
html:root body #cmBtn { --cut: var(--card, #fff); }
html:root body #tabbar > #cmBtn.in-bar { --cut: var(--pgl, var(--card)); }
:root[data-theme="dark"] body #cmBtn { --cut: #121216; }
html:root .timebar > #cmBtn.in-top svg { filter: drop-shadow(0 1.5px 1.5px rgba(0,0,0,.45)); }
html:root .timebar > #cmBtn.in-top::after { content: "Toggle"; display: block; font: 500 10px/1.1 var(--f-body); letter-spacing: .03em; white-space: nowrap; color: currentColor; opacity: .9; }   /* "Toggle" (2026-11-16 08:13, Emilian: "call that button \"toggle\" as well") */
/* no words under Search and Toggle on computers (2026-11-16 08:17, Emilian: "sure, let's try that", after "it does feel a bit crowded now"); their names show on hover */
html:not(.app):not(.embed) body .timebar #findBtn::after, html:root body .timebar > #cmBtn.in-top::after { display: none !important; }
html:root #cmHint.in-top { position: fixed; transform: translateX(-50%); }
html:root #tabbar > #cmHint.in-bar { left: auto !important; top: auto !important; right: 12px; bottom: calc(100% + 40px); transform: none; }   /* no line under a tab's last row */
.cm .cm-val { margin-left: auto; color: var(--text-3); font-weight: 500; font-size: 14px; }
.cm .cm-row[aria-expanded="true"] .cm-val, .cm .cm-row.chg .cm-val { color: var(--accent); }
.cm .cm-chev { width: 12px; height: 12px; flex: none; color: var(--text-3); transition: transform .3s cubic-bezier(.32,.72,0,1); }
.cm .cm-row[aria-expanded="true"] .cm-chev { transform: rotate(180deg); }

/* midpoints fold (2026-10-25): the chosen pairs as small raised tokens, then the planets seven to a row; the first planet tapped is
   ringed in the accent until the second is tapped. Claude's draft look */
.cm .cm-mp-on { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 2px; }
.cm .cm-pk:is([data-pk="stars"], [data-pk="ast"]) .cm-orbs-in { display: block; padding: 0 10px; }
/* Chart points (2026-11-12): the planets seven to a row, each its symbol over a small name; on ringed in the accent, off faded */
.cm .cm-mp-grid.cm-pt-grid { grid-template-columns: repeat(5, 1fr); padding: 12px 10px 10px; gap: 6px; }
html:root .cm button.cm-mp-pl.cm-pt { height: 56px; flex-direction: column; gap: 4px; padding: 0; }
.cm .cm-pt .cm-pt-n { font: 400 13px 'EB Garamond', Georgia, serif; color: var(--text-2); white-space: nowrap; line-height: 1; }
.cm .cm-pt:not(.on) .cm-mp-g, .cm .cm-pt:not(.on) .cm-pt-n { opacity: .32; }
html:root .cm button.cm-pt { position: relative; }
.cm .cm-key { position: absolute; top: 4px; right: 6px; font: 500 10px var(--f-body); line-height: 1; opacity: .45; color: var(--text-2); pointer-events: none; }
html:root .cm button.cm-pt.on { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 75%, transparent); }
/* asteroids without a symbol of their own show their short name (the wheel's label), in the menu's quiet ink (the asteroid ink is for the wheel's cream or onyx) */
.cm-as-lab { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; flex: none; font: 600 12px 'EB Garamond', Georgia, serif; color: var(--p-ast); letter-spacing: .01em; }
#zsAstBox .sb-grp { margin: 12px 10px 4px; font: 500 15px 'EB Garamond', Georgia, serif; color: var(--accent); }
.cm .cm-fs-q { display: block; width: 100%; box-sizing: border-box; margin: 10px 0 6px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: transparent; color: var(--text); font: 400 16px 'EB Garamond', Georgia, serif; outline: none; }
.cm .cm-fs-q:focus { border-color: var(--accent); }
.cm .cm-fs-res { display: grid; gap: 2px; padding-bottom: 8px; }
html:root .cm button.cm-fs-row { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px; border-radius: 10px; justify-content: flex-start; text-align: left; }
.cm .cm-fs-row .cm-fs-n { flex: 1; font: 400 17px 'EB Garamond', Georgia, serif; } .cm .cm-fs-row small { color: var(--text-3); font: 14px var(--f-num, var(--f-body)); }
#svg .zs-fs .fs-hit { pointer-events: stroke; cursor: pointer; }
#svg { overflow: visible; }
.cm .cm-sel[aria-expanded="true"] + .cm-pk .cm-orbs-in > .cm-mp-on:first-child { box-shadow: none; padding-top: 16px; }   /* no second line under an open Fixed stars / Midpoints row (2026-11-12 17:52) */
#svg .zs-fs .fs-dg { opacity: 0; transition: opacity .2s cubic-bezier(.32,.72,0,1); pointer-events: none; }
#svg .zs-fs .fs-nm { transition: opacity .2s cubic-bezier(.32,.72,0,1); pointer-events: none; }
#svg .zs-fs:hover .fs-dg { opacity: 1; }
#svg .zs-fs:hover .fs-nm { opacity: 0; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .3s cubic-bezier(.32,.72,0,1); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox)[hidden] { display: none; } :is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox).on { opacity: 1; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-card { width: min(440px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 80px)); display: flex; flex-direction: column; border-radius: var(--zs-card-radius, 16px);
  background: var(--zs-card-bg, var(--zs-menu, var(--card))); box-shadow: var(--zs-card-shadow, 0 18px 48px rgba(0,0,0,.4)); color: var(--text); transform: scale(.96); transition: transform .32s cubic-bezier(.32,.72,0,1); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox).on .sb-card { transform: none; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-head { display: flex; align-items: center; padding: 16px 18px 10px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-head b { flex: 1; font: 500 24px 'Cormorant Garamond', 'Cormorant', Georgia, serif; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-x { background: none; border: 0; color: var(--text-2); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-tools { padding: 12px 18px 6px; display: grid; gap: 10px; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-q { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: transparent; color: var(--text); font: 400 16px 'EB Garamond', Georgia, serif; outline: none; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-q:focus { border-color: var(--accent); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-tabs button { height: 34px; border: 0; border-radius: 10px; background: var(--zs-lift-soft, color-mix(in srgb, var(--text) 7%, transparent)); color: var(--text-2); font: 400 16px 'EB Garamond', Georgia, serif; cursor: pointer; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-tabs button[aria-selected="true"] { color: var(--accent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, transparent); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-n em { display: block; font-style: normal; font-size: 13.5px; color: var(--text-3); margin-top: -2px; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row:has(em) { height: 50px; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-none { margin: 14px 10px; color: var(--text-3); font: 15px 'EB Garamond', Georgia, serif; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-list { overflow-y: auto; padding: 8px 10px 12px; scrollbar-width: thin; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row { display: flex; align-items: center; gap: 9px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--text); cursor: pointer; text-align: left; }
@media (hover: hover) { :is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); } }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row .cm-mp-g { width: 15px; height: 15px; flex: none; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-n { flex: 1; font: 400 18px 'EB Garamond', Georgia, serif; } :is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row small { color: var(--text-3); font: 14px 'EB Garamond', Georgia, serif; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-tick { width: 16px; font-style: normal; color: var(--accent); text-align: right; }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-row.on .sb-n { color: var(--accent); }
:is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-rd { flex: none; padding: 4px 8px; border-radius: 8px; font: 400 14px 'EB Garamond', Georgia, serif; color: var(--accent); }
@media (hover: hover) { :is(#zsStarBox, #zsAstBox, #zsLotBox, #zsTrBox) .sb-rd:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); } }
html:root .cm button.cm-fs-all { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 8px; border-radius: 10px; justify-content: flex-start; font: 400 17px 'EB Garamond', Georgia, serif; color: var(--text); }
.cm .cm-fs-all span { color: var(--text-3); font-size: 14px; margin-right: auto; }
.cm .cm-fs-none { margin: 6px 4px 10px; color: var(--text-3); font-size: 14px; }
.cm .cm-mp-on[hidden] { display: none; }
html:root .cm button.cm-mp-tok { height: 32px; padding: 0 8px 0 10px; gap: 2px; border-radius: 10px; color: var(--text-2); justify-content: flex-start;
  background: color-mix(in srgb, var(--zs-card-bg, var(--zs-menu, var(--card))) 80%, var(--zs-lift, #fff)); box-shadow: 0 1px 2px rgba(0,0,0,.14); }
:root[data-theme="dark"] .cm button.cm-mp-tok { background: color-mix(in srgb, var(--zs-card-bg, var(--zs-menu, var(--card))) 90%, var(--zs-lift, #fff)); }
.cm .cm-mp-tok i { font: 400 15px var(--f-num, var(--f-body)); color: var(--text-3); padding: 0 1px; }
.cm .cm-mp-x { margin-left: 6px; font-size: 17px; line-height: 1; color: var(--text-3); }
.cm .cm-mp-g { width: 17px; height: 17px; flex: none; }
.cm .cm-mp-ang { font: 600 12px var(--f-num, var(--f-body)); color: var(--accent); letter-spacing: .02em; }
.cm .cm-mp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 10px 0 8px; }
html:root .cm button.cm-mp-pl { height: 38px; justify-content: center; border-radius: 10px; }
.cm .cm-mp-pl .cm-mp-g { width: 21px; height: 21px; }
html:root .cm button.cm-mp-pl[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
@media (hover: hover) { html:root .cm button.cm-mp-pl:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); } }
.cm .orb-line { display: flex; align-items: center; height: 36px; gap: 4px; color: var(--text-2); flex: none; }
/* applying | separating (2026-10-26): a small heading over the two columns, each column a − value + stepper */
.cm .orb-head { display: flex; align-items: flex-end; height: 26px; gap: 4px; flex: none; color: var(--text-2); font: 500 12px var(--f-body); letter-spacing: .02em; }
.cm .orb-head span:first-child { flex: 1; }
.cm .orb-head span:not(:first-child), .cm .orb-st { width: 96px; flex: none; }   /* the menu 372px wide for the two columns (was 330px) */
.cm .orb-head span:not(:first-child) { text-align: center; }
.cm .orb-st { display: flex; align-items: center; justify-content: center; }
.cm .orb-st .orb-v { width: 48px; }
/* − and + sit in the middle of their buttons, the same distance from the number on both sides (2026-11-13 09:50, Emilian: "plus and
   minus here feel like... not rightly spaced": a later button rule set them to the left of their 28px boxes) */
html:root .cm .orb-st button.orb-s { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 0; }
.cm .orb-st.chg .orb-v { color: var(--accent); }
@media (max-width: 420px) { .cm .orb-head span:not(:first-child), .cm .orb-st { width: 92px; } .cm .orb-st .orb-v { width: 40px; font-size: 14px; } .cm .orb-st button.orb-s { width: 26px; } }
.cm .orb-g { width: 15px; height: 15px; flex: none; color: var(--accent); margin-right: 4px; }
.cm .orb-n { flex: 1; min-width: 0; font: 500 14px var(--f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm .orb-v { width: 34px; flex: none; text-align: center; font: 500 15px var(--f-num, var(--f-body)); color: var(--text); font-variant-numeric: tabular-nums; }
.cm .orb-line.chg .orb-v { color: var(--accent); }
.cm .orb-n { font-size: 14px; }
.cm button.orb-s { width: 28px; height: 30px; display: grid; place-items: center; color: var(--accent); font: 400 19px/1 var(--f-body); }
.cm button.orb-reset { height: 32px; justify-content: flex-start; color: var(--accent); font: 500 13px var(--f-body); }
.cm button.orb-reset.off { display: none; }   /* no empty space under Quincunx while the orbs are standard (2026-10-20 21:53, Emilian) */
.cm .cm-sel .cm-val, .cm .cm-orb-btn .cm-val { color: var(--accent); }
.cm .cm-sel[aria-expanded="true"] .cm-chev { transform: rotate(180deg); }
html:root .cm button.cm-opt { width: 100%; height: 42px; padding: 0 2px 0 14px; opacity: 1; color: var(--text-2); font: 500 15px var(--f-body); }
html:root .cm button.cm-opt[aria-checked="true"] { color: var(--accent); }
.cm .cm-ok { width: 14px; height: 14px; opacity: 0; } .cm .cm-opt[aria-checked="true"] .cm-ok { opacity: 1; }
/* every chart-menu choice (Zodiac, Houses, Decans) as chips in two columns (11:24, Emilian: "have it so all choices are like that, in two columns"; Houses first, 2026-10-31 11:12, Emilian: "when clicking on houses, instead of showing a vertical list, make them
   into thin chips"; "two columns"): the chosen one outlined and written in the accent; look is Claude's draft */
#zsTrBox .sb-card { width: min(480px, calc(100vw - 32px)); }
#zsTrBox .sb-row.zs-trr { height: auto; min-height: 54px; padding: 6px 10px; gap: 12px; }
#zsTrBox .zs-tri { display: flex; align-items: center; justify-content: center; gap: 2px; flex: none; width: 60px; } #zsTrBox .zs-tri > span { width: 14px; text-align: center; font-size: 14px; color: var(--text-2); } #zsTrBox .zs-tri .pg { width: 19px; height: 19px; } #zsTrBox .zs-tri .pg:nth-child(2) { width: 14px; height: 14px; color: var(--text-2); }
#zsTrBox .zs-tro { flex: none; text-align: right; font: 400 17px 'EB Garamond', Georgia, serif; } #zsTrBox .zs-tro small { display: block; font-size: 13px; color: var(--text-3); }
#zsLotBox .sb-tabs { grid-template-columns: 1fr 1fr; } #zsLotBox .sb-row .cm-mp-g { width: 24px; height: 24px; } #zsLotBox .sb-row .cm-as-lab { min-width: 24px; } #zsLotBox .sb-grp { margin: 12px 10px 4px; font: 500 15px 'EB Garamond', Georgia, serif; color: var(--accent); }
#zsLotBox .sb-row:has(em) { height: auto; min-height: 50px; padding-top: 6px; padding-bottom: 6px; } #zsLotBox .sb-foot { margin: 0; padding: 8px 18px 14px; color: var(--text-3); font: 14px 'EB Garamond', Georgia, serif; }
.cm .cm-pk:not([data-pk="mid"]):not([data-pk="stars"]):not([data-pk="ast"]):not([data-pk="pts"]):not([data-pk="lots"]) .cm-orbs-in { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 10px; }
.cm .cm-pk:not([data-pk="mid"]) .cm-opt:nth-child(-n+2) { margin-top: 10px; } .cm .cm-pk:not([data-pk="mid"]) .cm-opt:last-child, .cm .cm-pk:not([data-pk="mid"]) .cm-opt:nth-last-child(2):nth-child(odd) { margin-bottom: 10px; }   /* room inside the fold only, so the shut fold takes no height */

/* the chips wear the menu's own raised look, like the midpoint chips beside them (2026-10-31 11:24, Emilian: "give the chips less rounding..
   make them fit the rest of our app"): 10px corners, lifted from the menu, a soft shadow, the chosen one ringed in the accent */
html:root .cm .cm-pk:not([data-pk="mid"]) button.cm-opt { height: 32px; padding: 0 8px; justify-content: center; border-radius: 10px; border: 0;
  background: var(--raise-bot); color: var(--text); box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.1)), 0 1px 2px rgba(0,0,0,.14);
  font: 500 14px var(--f-body); white-space: nowrap; }
/* (2026-11-14 10:08, Emilian: "buttons are a bit hard to see", "it should all go together"): the chips take the same raised-button colour
   and words as the More tiles (--raise-bot, --text), not a faint mix of the menu, so they stand out the way every other button does */
html:root .cm .cm-pk:not([data-pk="mid"]) button.cm-opt[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 1px 2px rgba(0,0,0,.14); }
.cm .cm-pk:not([data-pk="mid"]) .cm-ok { display: none; }
.cm .cm-pk.open + .cm-sel, .cm .cm-pk.open + .cm-row { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 70%, transparent); }
.cm .cm-sel { border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent) !important; }
/* the open fold framed in the accent (2026-10-22 14:05, Emilian: "lines turn gold when opening one of the menus?"): the line above the open row,
   under it and under its choices take the accent (ink by day, gold at night); a mouse click leaves no focus box, the keyboard still gets one */
.cm .cm-sel[aria-expanded="true"] { border-bottom-color: color-mix(in srgb, var(--accent) 70%, transparent) !important; }
.cm .cm-sel[aria-expanded="true"]:not(:first-child), .cm :is(.cm-sel, .cm-row):has(+ .cm-sel[aria-expanded="true"]) { border-bottom-color: color-mix(in srgb, var(--accent) 70%, transparent) !important; }
.cm :is(.cm-sel, .cm-row, .cm-opt):focus:not(:focus-visible) { outline: none !important; }
/* every floating menu in the menu tone of the page colour, with the Settings card's edge and glow (2026-10-20 21:53, Emilian: "make this
   menu and every menu follow our color + accent theme"): the chart menu, the colour card, the language list, the side tables */
html:root:not(.zsNoAcc) body :is(.cm, #colCard, #eduList, .asp-col:not([hidden])) { background: var(--zs-card-bg, var(--zs-menu, var(--card))) !important;
  border: var(--zs-card-border, 1px solid var(--line)) !important; box-shadow: var(--zs-card-shadow, 0 16px 40px rgba(0,0,0,.24)) !important; }
/* the planet, aspect and figure cards join them (2026-10-24 13:31, Emilian: "these menus that open, they don't keep the theme that we had"):
   the menu tone of the page colour instead of the plain cream card, and the rows' words in EB Garamond like every interface label */
html:root:not(.zsNoAcc) body :is(#plInfo .pli-card, #aspWord.col, #gtWord.col) { background: var(--zs-card-bg, var(--zs-menu, var(--card))) !important;
  border: var(--zs-card-border, 1px solid var(--line)) !important; box-shadow: var(--zs-card-shadow, 0 16px 40px rgba(0,0,0,.24)) !important; }
/* the folded button wears the card's own colour, edge and shadow, so the circle it closes into matches the card (2026-10-25 11:36,
   Emilian: "when it closes, the circle doesnt match color") */
html:root:not(.zsNoAcc) body #plInfo .pli-open { background: var(--zs-card-bg, var(--zs-menu, var(--card))) !important;
  border: var(--zs-card-border, 1px solid var(--line)) !important; box-shadow: var(--zs-card-shadow, 0 8px 22px rgba(0,0,0,.18)) !important; }
html:root body #plInfo .pli-nm { font-family: var(--f-num); }
/* its heading stays put over the scrolling list, so it wears the same tone (was the plain card colour) */
html:root:not(.zsNoAcc) body #plInfo .pli-head { background: var(--zs-card-bg, var(--zs-menu, var(--card))) !important; }
/* the Charts panel on computers in the same tone as Weather and More (2026-10-20 21:59, Emilian: "these are all diferent colors? i like the
   color on the weather thing"); its boxes a lighter step of that same tone */
@media (min-width: 761px) {
  html:root:not(.app):not(.embed):not(.zsNoAcc) body #charts.charts { background: var(--zs-card-bg, var(--zs-menu)) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
    border: var(--zs-card-border, 1px solid var(--line)) !important; box-shadow: var(--zs-card-shadow, 0 10px 28px rgba(40,28,10,.14)) !important; }
  html:root:not(.app):not(.embed):not(.zsNoAcc) body #charts :is(.ch-hero:not(.add), .ch-tile:not(.new), .ch-chip, .ch-item, .ch-folder, .ch-newcard) {
    background: color-mix(in srgb, var(--zs-card-bg, var(--zs-menu)) 55%, var(--card)) !important; }
  html:root[data-theme="dark"]:not(.app):not(.embed):not(.zsNoAcc) body #charts :is(.ch-hero:not(.add), .ch-tile:not(.new), .ch-chip, .ch-item, .ch-folder, .ch-newcard) {
    background: color-mix(in srgb, var(--zs-card-bg, var(--zs-menu)) 94%, var(--zs-lift, #fff)) !important; }
  html:root:not(.app):not(.embed) body #charts #chItems .ch-hero:not(.add) .ch-open, html:root:not(.app):not(.embed) body #charts .ch-item .ch-open { background: transparent !important; }
}
