
/* his pairs (2026-10-21 10:58, picked on the Menu pairs panel, saved in the computer preview's db menupairs/): each page colour and night
   tone with its own menu colour, for the top strip on computers and every menu */
html { --zs-menu: #1c3447; }
/* Navy and gold's page moved to a true blue opposite the ring gold (2026-11-11 09:32, Emilian: "ok lets try", picked on the Ring blues panel
   X93Dbp8fggMyGLRf5dqDeH: Midnight, a step lighter #081e3c; was #062035), its menus and top bar a step lighter in the same blue */
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) { --zs-menu: #1e324e; }   /* by day only: without :not it beat the night tones' menus and put navy bars on Onyx (2026-11-12) */
html[data-bg="kz-navygold"], html[data-bg="cream"], html[data-bg="linen"], html[data-bg="parchment"], html[data-bg="sand"], html[data-bg="clay"], html[data-bg="butter"], html[data-bg="lilac"], html[data-bg="mist"], html[data-bg="sage"], html[data-bg="pink"], html[data-bg="roseclay"], html[data-bg="cobalt"], html[data-bg="deepsage"], html[data-bg="paper"], html[data-bg="stone"], html[data-bg="cocoa"], html[data-bg="peach"], html[data-bg="tangerine"], html[data-bg="chartreuse"], html[data-bg="lime"], html[data-bg="leaf"], html[data-bg="emerald"], html[data-bg="teal"], html[data-bg="aqua"], html[data-bg="glacier"], html[data-bg="sky"], html[data-bg="cerulean"], html[data-bg="denim"], html[data-bg="ice"], html[data-bg="silver"], html[data-bg="lemon"], html[data-bg="straw"], html[data-bg="moss"], html[data-bg="mint"], html[data-bg="jade"], html[data-bg="skyblue"], html[data-bg="slate"], html[data-bg="heather"], html[data-bg="lavender"], html[data-bg="orchid"], html[data-bg="rose"], html[data-bg="raspberry"], html[data-bg="g-dawn"], html[data-bg="g-day"], html[data-bg="g-citrus"], html[data-bg="g-heather"], html[data-bg="g2-lemonsky"], html[data-bg="g2-mintheather"], html[data-bg="cb-001"], html[data-bg="cb-021"], html[data-bg="cb-029"], html[data-bg="cb-043"], html[data-bg="cb-066"], html[data-bg="cb-068"], html[data-bg="cb-098"], html[data-bg="cb-005"], html[data-bg="cb-030"], html[data-bg="cb-062"], html[data-bg="cb-063"], html[data-bg="cb-080"], html[data-bg="g2-roselemon"], html[data-bg="fw-clay"], html[data-bg="fw-cool"], html[data-bg="fw-greige"], html[data-bg="fw-pewter"], html[data-bg="fw-sage"], html[data-bg="fw-stone"], html[data-bg="fw-stone-pool"], html[data-bg="g-berry"], html[data-bg="g-field"], html[data-bg="g-spring"], html[data-bg="g-steel"], html[data-bg="g2-iceglow"], html[data-bg="g3-iceorchid"], html[data-bg="g3-lemonmint"], html[data-bg="g4-heather"], html[data-bg="g4-jade"], html[data-bg="g4-lemon"], html[data-bg="g4-mint"], html[data-bg="g4-orchid"], html[data-bg="g4-raspberry"], html[data-bg="g4-skyblue"], html[data-bg="g4-slate"], html[data-bg="palegrey"], html[data-bg="warmgrey"], html[data-bg="g4-rose"], html[data-bg="g4-peach"], html[data-bg="g4-straw"], html[data-bg="g4-moss"], html[data-bg="g-glow"], html[data-bg="g4-silver"], html[data-bg="fw-sand"], html[data-bg="fw-dove"], html[data-bg="fw-deep"], html[data-bg="kz-sage"], html[data-bg="kz-lavender"], html[data-bg="kz-blue"], html[data-bg="kz-blush"], html[data-bg="kz-oat"], html[data-bg="kz-terracotta"], html[data-bg="kz-midnight"], html[data-bg="kz-dplum"], html[data-bg="kz-olive"], html[data-bg="kz-navy"], html[data-bg="kz-plum"], html[data-bg="kz-forest"], html[data-bg="kz-espresso"], html[data-bg="kz-cblue"], html[data-bg="kz-burgundy"], html[data-bg="kz-teal"], html[data-bg="kz-mauve"], html[data-bg="kz-wcharcoal"] { --zs-menu: #1c3447; }
html[data-theme="dark"] { --zs-menu: #1c1c25; }
html[data-theme="dark"][data-bgdark="black"] { --zs-menu: #15151b; } html[data-theme="dark"][data-bgdark="abyss"] { --zs-menu: #0f1832; }
html[data-theme="dark"][data-bgdark="navy"] { --zs-menu: #112146; } html[data-theme="dark"][data-bgdark="plum"] { --zs-menu: #241632; }
html[data-theme="dark"][data-bgdark="forest"] { --zs-menu: #122920; } html[data-theme="dark"][data-bgdark="oxblood"] { --zs-menu: #431823; }
html[data-theme="dark"][data-bgdark="teal"] { --zs-menu: #0d2830; } html[data-theme="dark"][data-bgdark="indigo"] { --zs-menu: #19143e; }
html[data-theme="dark"][data-bgdark="ochre"] { --zs-menu: #42190a; }
/* the computer top strip in the pair's menu colour, day and night (2026-10-21, his pairs) */
@media (min-width: 761px) {
  html:root[data-theme]:not(.app):not(.embed):not(.zsNoAcc) body .timebar, html:root:not(.app):not(.embed):not(.zsNoAcc) body .timebar { background: var(--zs-menu) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html:root[data-theme]:not(.app):not(.embed):not(.zsNoAcc) body .timebar::before { background: var(--zs-menu) !important; }
}
/* the strip raised off the page, no line under it (2026-10-22 10:57, Emilian picked Raised: "it should pop out more, now it's flat and
   blends in with the bottom which doesn't give it a sense of being fixed and stable... apple has chosen to have no divider"):
   a step lighter at the top, a lit top edge and a soft shadow falling onto the page; tried on the computer preview with Shadow (✓), Glass (✗) */
@media (min-width: 761px) {
  html:root[data-theme]:not(.app):not(.embed):not(.zsNoAcc) body .timebar, html:root:not(.app):not(.embed):not(.zsNoAcc) body .timebar { border-bottom: 0 !important; z-index: 60;
    background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 88%, var(--zs-lift, #fff)) 0%, var(--zs-menu) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 12px 30px rgba(60,40,10,.16) !important; }
  html:root[data-theme="dark"]:not(.app):not(.embed):not(.zsNoAcc) body .timebar {
    background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 84%, var(--zs-lift, #fff)) 0%, color-mix(in srgb, var(--zs-menu) 93%, var(--zs-lift, #fff)) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 3px 8px rgba(0,0,0,.55), 0 18px 48px rgba(0,0,0,.9) !important; }
  html:root[data-theme]:not(.app):not(.embed):not(.zsNoAcc) body .timebar::before { background: transparent !important; }
}
/* the right of the strip: Account, Settings (and Install until dismissed); Keys went into More (2026-10-22 11:16) */
@media (min-width: 761px) {
  html:root:not(.app):not(.embed) body .timebar.timebar #profBtn::after { content: "Account" !important; }
  /* words only in the strip, no icon even for the open one (2026-10-22 15:29, Emilian: "i don't like the way the icons show up in the top menu.
     remove them for now and just leave the text"); the open one keeps its colour */
  html:root:not(.app):not(.embed) body .timebar.timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) > svg { display: none !important; }
  /* the Encyclopedia's title face for the strip words and the panel titles (15:27, Emilian: "would like to change this font. maybe to the same one
     with have for the encyclopedia head title font? these fonts can surely be more readable...") */
  html:root:not(.app):not(.embed) body .timebar.timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop)::after { font: 400 19px/1.1 'EB Garamond', Cormorant, serif !important; letter-spacing: .01em !important; }
  /* EB Garamond, the wheel's own numbers face, for every word you click or read as a label (2026-10-22 15:55, Emilian: "ship with EB garamond
     everywhere for now", after the font picker): panel titles, More's tiles, the chart tabs, Settings rows, Charts names and buttons, Weather */
  html:root:not(.app):not(.embed) body :is(#charts .ch-head h2, .wx-head h2, .zsjd-sh h2, #settingsSheet .sheet-title, #settingsSheet > h2) { font-family: 'EB Garamond', Cormorant, serif !important; font-weight: 400 !important; }
  html:root:not(.app):not(.embed) body :is(#deskMenu .charts-btn > span, #deskMenu .mm-w, #csLine *, #csLow *, #settingsSheet .sheet-label, #settingsSheet .cs-btn,
    #charts .ch-addo, #charts .ch-tile, #charts .ch-name, #charts .ch-fn, #charts .ch-newcard, .wx-w, .wx-bal .wx-tx b, .wx h3, .wx-tx b, .wx-sig b, .timebar .when-pick :is(.ds-d, .ds-sep, .ds-t)) { font-family: 'EB Garamond', Cormorant, serif !important; }
  html:root:not(.app):not(.embed) body #deskMenu#deskMenu.desk-menu :is(.charts-btn > span, .mm-w), html:root:not(.app):not(.embed) body #settingsSheet#settingsSheet :is(.sheet-label, .cs-btn) { font-family: 'EB Garamond', Cormorant, serif !important; }
  /* New chart, New folder and Import: words only (15:28, "remove the graphic icons from these three") */
  html:root:not(.app):not(.embed) body #charts #chItems .ch-addw .ch-addo > svg { display: none !important; }
  /* More's icon was cut to a sliver: the button clips what sits outside it, and the open icon sits just left of the word (15:02, "more icon not showing up") */
  html:root:not(.app):not(.embed) body .timebar.timebar #deskMenuBtn { overflow: visible !important; }
  /* Keys lives in Settings now (15:02, Emilian: "move keys into settings menu"); ? still opens it */
  html:root:not(.app):not(.embed) body #deskMenu > #keysBtn { display: none !important; }
  /* the date and time a little larger (2026-10-22 14:11, Emilian: "time should be slightly larger"): 19px → 21px */
  html:root:not(.app):not(.embed) body .timebar.timebar .when-pick :is(.ds-d, .ds-sep, .ds-t) { font-size: 21px !important; }
  /* by day the words in the ink of the text, not the grey (2026-10-22 14:09, Emilian: "what about the color of the text here? it feels very grey") */
  html:root:not([data-theme="dark"]):not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) { color: var(--text) !important; }
  html:root:not([data-theme="dark"]):not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop)::after { color: var(--text) !important; opacity: 1 !important; }
  /* the open icon sits close to its own word, inside the word's slot, not out at the edge or into the word before (2026-10-22 13:08-13:12,
     Emilian: "notice the journal icon is pushing into charts", "charts icon is also just way out there") */
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) > svg { right: calc(100% - 8px) !important; width: 15px !important; height: 15px !important; }
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #deskMenuBtn, #setBtn, #installTop) { margin-left: 6px !important; }
  html:not(.app):not(.embed) body .desk-menu :is(#weatherTop, #keysBtn) { display: flex !important; flex-direction: column !important; align-items: center !important; position: static !important; }
  html:not(.app):not(.embed) body .desk-menu :is(#weatherTop, #keysBtn)::after { content: none !important; display: none !important; }
  html:not(.app):not(.embed) body .desk-menu :is(#weatherTop, #keysBtn) > svg { display: block !important; }
  html:not(.app):not(.embed) body .desk-menu :is(#weatherTop, #keysBtn) > span.mm-w { display: block !important; font: 500 13.5px/1.2 var(--f-body, Karla, sans-serif) !important; letter-spacing: .03em !important; }
  html:root:not(.app):not(.embed) body .desk-menu #keysBtn { width: 80px !important; min-width: 80px !important; height: auto !important; padding: 6px 0 !important; gap: 3px !important; border: 0 !important; border-radius: 10px !important;
    background: transparent !important; box-shadow: none !important; color: inherit !important; font: 500 15px var(--f-body, Karla, sans-serif) !important; }
  html:root:not(.app):not(.embed) body .desk-menu #keysBtn > svg { width: 22px !important; height: 22px !important; color: var(--accent) !important; }   /* the same colour as the other More icons (2026-10-22 13:13, "keys doesn't match the rest") */
}
/* the chart tabs on computers wear the top strip's colour, so the two fixed pieces belong together (2026-10-22 11:17, Emilian: "do you think
   this tab should take on the color of the menu bar at the top?") */
@media (min-width: 761px) {
  html:root:not(.app):not(.embed) body .cs-line, html:root[data-theme]:not(.app):not(.embed) body .cs-line { --tab-bg: var(--zs-menu) !important; }
}
/* words only in the computer top strip; the open section shows its small icon beside its word (2026-10-22 11:08, Emilian: "I don't
   like all the buttons in the top menu. it's too noisy"; "i kind of like the words only, though it misses the visual element of the
   icons"; picked "Words, icon when open": "yup i like that") */
@media (min-width: 761px) {
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) { flex-direction: row !important; gap: 7px !important; }
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) { position: relative !important; transition: color .3s ease, opacity .3s cubic-bezier(.32,.72,0,1) !important; }
  /* the icon waits just left of its word, faded out, so opening a section moves nothing (2026-10-22 11:11, Emilian: "make clicking any
     button more smooth. some of them are a bit clunky now, like journal"); it fades and grows in, and back out the same way */
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop) > svg { display: block !important; position: absolute !important; right: calc(100% + 6px); top: 50%; width: 17px !important; height: 17px !important;
    margin: 0 !important; opacity: 0; transform: translateY(-50%) scale(.6); transition: opacity .3s cubic-bezier(.32,.72,0,1), transform .3s cubic-bezier(.32,.72,0,1) !important; pointer-events: none; }
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop)[aria-expanded="true"] > svg { opacity: 1; transform: translateY(-50%) scale(1); }
  html:root:not(.app):not(.embed) body .timebar.timebar :is(#chartsBtn, #journalTop, #streamTop, #weatherTop, #deskMenuBtn, #profBtn, #setBtn, #keysBtn, #installTop)::after { font: 500 15px/1.1 var(--f-body) !important; letter-spacing: .02em !important; }
}
html:root:is(.app, :not(.app)):not(.zsNoAcc) body #settingsSheet { background: var(--zs-menu) !important; }
/* Ink instead of gold by day (2026-10-22 13:19, Emilian picked Ink on the accent panel: "Ink is best"; 13:13 "I'm not sure I like the gold
   anymore. can we make anything that's more crisp?"): the accent (icons, open words, edges, buttons) is the text colour; the wheel keeps
   its own gold. Night unchanged until he says. */
html:root:not([data-theme="dark"]) { --accent: #26231f !important; --accent-hover: #000 !important; --zs-gold: #26231f !important;
  --zs-bar-edge: rgba(38,35,31,.2) !important; --on-accent: #fbf7ef !important; }
/* but not on a deep day page, where ink would vanish (2026-10-28, the picked Light word in ink on Navy and gold): cream marks there,
   and gold on Navy and gold; the wheels keep their own day ink and gold from the wheel block above */
html:root[data-bgdeep]:not([data-theme="dark"]) { --accent: #e6cf9c !important; --accent-hover: #f3e2bd !important; --zs-gold: #e6cf9c !important;
  --zs-bar-edge: rgba(243,236,223,.2) !important; --on-accent: #26231f !important; }
/* the 3D icons' cut-out faces take the navy by day on Navy and gold, as they take the night tone at night, so every icon reads gold on navy
   (2026-10-28 10:32, Emilian: "change the icon colors so they match"; they showed the day cream) */
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) body :is(svg.zs3d, .ch-tico, .pm-fico svg) { --cut: #081e3c !important; }
/* the combust C beside a planet on the navy page (Weather, Stream) in a red that reads on navy; the wheel keeps its own dark red on cream (2026-10-29) */
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) body :is(.wx-mk, .zst-mk) { --cb: #e0483c; }
/* ...but on a raised tile the cut-out faces take the tile's own colour, not the page navy, so they read as cut out of the tile rather than
   dark holes (2026-10-29 09:41, Emilian on the More menu: "All the icons here are not really fitting the background anymore... can you fix
   them somehow?"); the same mixes as the tiles themselves (computers 78% menu, phones --mm-face) */
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) body #deskMenu.desk-menu > .charts-btn svg { --cut: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; }
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) body #moreMenu .mm-tile svg { --cut: var(--mm-face) !important; }
html:root[data-bg="kz-navygold"]:not([data-theme="dark"]) { --accent: #e0b569 !important; --accent-hover: #eccf8e !important; --zs-gold: #e0b569 !important;
  --zs-bar-edge: rgba(224,181,105,.22) !important; --on-accent: #081e3c !important; }
/* the folder boxes' count, arrow and number in the same ink ("then these should also be ink, or?") */
html:root:not([data-theme="dark"]) body #charts #chItems .ch-tile .ch-tname small, html:root:not([data-theme="dark"]) body #charts #chItems .ch-hero small,
html:root:not([data-theme="dark"]) :is(#chItems, #chOrgDest) .ch-key { color: var(--accent) !important; opacity: 1 !important; }
html:root:not([data-theme="dark"]) body #charts #chItems .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new)::after { border-color: var(--accent) !important; opacity: 1 !important; }
/* ink end */
/* every card that floats over the page wears the top strip's lift on computers: no outline, a lit top edge, a soft shadow on the page
   (2026-10-22 12:01, Emilian: "now that we have the top menu raised, do you think we should change the way these other menus show up?" ... "Yes, do") */
@media (min-width: 761px) {
  html:root:not(.app):not(.embed) body.x, html:root:not(.app):not(.embed) body :is(#settingsSheet, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #charts.charts, #deskMenu, .timebar .pl-menu:not([hidden]), .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord) {
    border-color: transparent !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 14px 34px rgba(60,40,10,.16) !important; }
  html:root[data-theme="dark"]:not(.app):not(.embed) body :is(#settingsSheet, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #charts.charts, #deskMenu, .timebar .pl-menu:not([hidden]), .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord) {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.85) !important; }
}
/* phones and the app wear the computer's new look (2026-10-22 14:54, Emilian: "import as many of the visual changes we've made to desktop
   as you can"): the top bubble and bottom bar in the menu colour, raised with a lit edge and soft shadow instead of an outline; every
   floating card (More, Settings, chart menu, colour card, planet and aspect cards, account box) lifted the same way; the chart tabs in the
   menu colour; your chart, the folders and a chart's placements as raised buttons, not hairline rows */
@media (max-width: 760px) {
  html:root:not(.zsNoAcc) body .timebar::before { border-color: transparent !important; background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 88%, var(--zs-lift, #fff)) 0%, var(--zs-menu) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 14px 34px rgba(60,40,10,.16) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) body .timebar::before { background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 84%, var(--zs-lift, #fff)) 0%, color-mix(in srgb, var(--zs-menu) 93%, var(--zs-lift, #fff)) 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.85) !important; }
  html:root:not(.zsNoAcc) body .tabbar::before { border-color: transparent !important; background: var(--zs-menu) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 -2px 5px rgba(60,40,10,.06), 0 -10px 26px rgba(60,40,10,.12) !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) body .tabbar::before { background: color-mix(in srgb, var(--zs-menu) 93%, var(--zs-lift, #fff)) !important; border-color: transparent !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 -3px 8px rgba(0,0,0,.5), 0 -14px 36px rgba(0,0,0,.7) !important; }
  html:root:not(.zsNoAcc) body .cs-line { --tab-bg: var(--zs-menu) !important; }
  html:root:not(.zsNoAcc) body #moreMenu.more-menu { background: var(--zs-menu) !important; }
  html:root:not(.zsNoAcc) body :is(#moreMenu, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #settingsSheet, .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord, .timebar .pl-menu:not([hidden]), #eduList, .prof-card) { border-color: transparent !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 14px 34px rgba(60,40,10,.16) !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) body :is(#moreMenu, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #settingsSheet, .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord, .timebar .pl-menu:not([hidden]), #eduList, .prof-card) { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.85) !important; }
  html:root:not(.zsNoAcc) body #moreMenu .mm-tile { min-height: 66px; padding: 8px 2px 6px; gap: 5px; }
  html:root:not(.zsNoAcc) body #moreMenu .mm-tile span { color: var(--text); }
  html:root:not(.zsNoAcc) body #moreMenu .mm-tile svg { color: var(--accent); }
  html:root:not(.zsNoAcc) body #charts#charts #chItems :is(.ch-hero:not(.add), .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new), .ch-addw.open .ch-addo) { border: 0 !important; border-radius: 16px !important;
    background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) body #charts#charts #chItems :is(.ch-hero:not(.add), .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new), .ch-addw.open .ch-addo) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-hero:not(.add) { padding: 0 !important; margin-bottom: 14px !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open { padding-bottom: 12px !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open .ch-addo, html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open .ch-addo * { color: var(--text) !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-hero .ch-open { padding: 14px 16px !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) { display: flex !important; flex-direction: column; gap: 10px; margin-top: 0 !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new) { padding: 16px 16px !important; margin: 0 0 10px !important; border-bottom: 0 !important; }
  html:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new):nth-child(even) { padding-left: 16px !important; }
  html:root:not(.zsNoAcc) #chCard :is(.chc-list, .zsm-plist) { display: flex; flex-direction: column; gap: 8px; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
  html:root:not(.zsNoAcc) #chCard :is(.chc-row.chc-go, .zsm-prow) { box-sizing: border-box; border: 0 !important; border-radius: 14px !important; padding: 12px 14px !important;
    background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; color: var(--text); box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) #chCard :is(.chc-row.chc-go, .zsm-prow) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html:root:not(.zsNoAcc) #chCard .chc-acts .ch-btn:not(.chc-open) { border-color: transparent !important; background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html:root[data-theme="dark"]:not(.zsNoAcc) #chCard .chc-acts .ch-btn:not(.chc-open) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html:root:not(.zsNoAcc) #chCard .zsm-prow.on { box-shadow: inset 0 0 0 1.5px var(--accent), 0 5px 14px rgba(60,40,10,.11) !important; }
}
  html.app:root:not(.zsNoAcc) body .timebar::before { border-color: transparent !important; background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 88%, var(--zs-lift, #fff)) 0%, var(--zs-menu) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 14px 34px rgba(60,40,10,.16) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) body .timebar::before { background: linear-gradient(180deg, color-mix(in srgb, var(--zs-menu) 84%, var(--zs-lift, #fff)) 0%, color-mix(in srgb, var(--zs-menu) 93%, var(--zs-lift, #fff)) 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.85) !important; }
  html.app:root:not(.zsNoAcc) body .tabbar::before { border-color: transparent !important; background: var(--zs-menu) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 -2px 5px rgba(60,40,10,.06), 0 -10px 26px rgba(60,40,10,.12) !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) body .tabbar::before { background: color-mix(in srgb, var(--zs-menu) 93%, var(--zs-lift, #fff)) !important; border-color: transparent !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 -3px 8px rgba(0,0,0,.5), 0 -14px 36px rgba(0,0,0,.7) !important; }
  html.app:root:not(.zsNoAcc) body .cs-line { --tab-bg: var(--zs-menu) !important; }
  html.app:root:not(.zsNoAcc) body #moreMenu.more-menu { background: var(--zs-menu) !important; }
  html.app:root:not(.zsNoAcc) body :is(#moreMenu, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #settingsSheet, .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord, .timebar .pl-menu:not([hidden]), #eduList, .prof-card) { border-color: transparent !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 5px rgba(60,40,10,.08), 0 14px 34px rgba(60,40,10,.16) !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) body :is(#moreMenu, #wxCard, #mkCard, #pfxCard, #zrCard, #cmpCard, #settingsSheet, .cm, #colCard, #plInfo .pli-card, #aspWord, #gtWord, .timebar .pl-menu:not([hidden]), #eduList, .prof-card) { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.85) !important; }
  html.app:root:not(.zsNoAcc) body #moreMenu .mm-tile { min-height: 66px; padding: 8px 2px 6px; gap: 5px; }
  html.app:root:not(.zsNoAcc) body #moreMenu .mm-tile span { color: var(--text); }
  html.app:root:not(.zsNoAcc) body #moreMenu .mm-tile svg { color: var(--accent); }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems :is(.ch-hero:not(.add), .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new), .ch-addw.open .ch-addo) { border: 0 !important; border-radius: 16px !important;
    background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) body #charts#charts #chItems :is(.ch-hero:not(.add), .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new), .ch-addw.open .ch-addo) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-hero:not(.add) { padding: 0 !important; margin-bottom: 14px !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open { padding-bottom: 12px !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open .ch-addo, html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-addw.open .ch-addo * { color: var(--text) !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-hero .ch-open { padding: 14px 16px !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) { display: flex !important; flex-direction: column; gap: 10px; margin-top: 0 !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new) { padding: 16px 16px !important; margin: 0 0 10px !important; border-bottom: 0 !important; }
  html.app:root:not(.zsNoAcc) body #charts#charts #chItems .ch-tiles:not(.ch-tiles3) > .ch-tile:not(.new):nth-child(even) { padding-left: 16px !important; }
  html.app:root:not(.zsNoAcc) #chCard :is(.chc-list, .zsm-plist) { display: flex; flex-direction: column; gap: 8px; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
  html.app:root:not(.zsNoAcc) #chCard :is(.chc-row.chc-go, .zsm-prow) { box-sizing: border-box; border: 0 !important; border-radius: 14px !important; padding: 12px 14px !important;
    background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; color: var(--text); box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) #chCard :is(.chc-row.chc-go, .zsm-prow) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html.app:root:not(.zsNoAcc) #chCard .chc-acts .ch-btn:not(.chc-open) { border-color: transparent !important; background: color-mix(in srgb, var(--zs-menu, var(--card)) 78%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 var(--zs-rim, rgba(255,255,255,.6)), 0 1px 2px rgba(60,40,10,.10), 0 6px 16px rgba(60,40,10,.12) !important; }
  html.app:root[data-theme="dark"]:not(.zsNoAcc) #chCard .chc-acts .ch-btn:not(.chc-open) { background: color-mix(in srgb, var(--zs-menu, var(--card)) 88%, var(--zs-lift, #fff)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.5) !important; }
  html.app:root:not(.zsNoAcc) #chCard .zsm-prow.on { box-shadow: inset 0 0 0 1.5px var(--accent), 0 5px 14px rgba(60,40,10,.11) !important; }

/* phones and the app in EB Garamond too (2026-10-22 16:00, Emilian: "yes ship garamond to mobile"): the date, the bottom bar, More's tiles,
   the chart tabs, Settings, Charts, Weather and the panel titles */
@media (max-width: 760px) { html:root body :is(.timebar .when-pick :is(.ds-d, .ds-sep, .ds-t), .timebar button, .tabbar *, #moreMenu#moreMenu :is(.mm-tile, .mm-tile *, .mm-row, .mm-row *, .mm-label),
    #csLine *, #csLow *, #settingsSheet#settingsSheet :is(.sheet-label, .cs-btn, > h2), #charts :is(.ch-head h2, .ch-addo, .ch-tile, .ch-name, .ch-fn, .ch-newcard, .ch-hn),
    .wx-head h2, .wx-w, .wx-bal .wx-tx b, .wx h3, .wx-tx b, .wx-sig b) { font-family: 'EB Garamond', Cormorant, serif !important; } }
html.app:root body :is(.timebar .when-pick :is(.ds-d, .ds-sep, .ds-t), .timebar button, .tabbar *, #moreMenu#moreMenu :is(.mm-tile, .mm-tile *, .mm-row, .mm-row *, .mm-label),
    #csLine *, #csLow *, #settingsSheet#settingsSheet :is(.sheet-label, .cs-btn, > h2), #charts :is(.ch-head h2, .ch-addo, .ch-tile, .ch-name, .ch-fn, .ch-newcard, .ch-hn),
    .wx-head h2, .wx-w, .wx-bal .wx-tx b, .wx h3, .wx-tx b, .wx-sig b) { font-family: 'EB Garamond', Cormorant, serif !important; }

/* More on phones and the app: each item its own raised button, like the computer's More tiles and the Charts tiles
   (2026-10-23 08:09, Emilian: "make these more buttony"); the same rules twice, once for phone widths and once for the app */
@media (max-width: 760px) {
  html:root body #moreMenu#moreMenu { --mm-face: color-mix(in srgb, var(--zs-menu, var(--card)) 70%, var(--zs-lift, #fff)); }
  html:root[data-theme="dark"] body #moreMenu#moreMenu { --mm-face: color-mix(in srgb, var(--zs-menu, var(--card)) 86%, var(--zs-lift, #fff)); }
  html:root body #moreMenu#moreMenu.more-menu { padding: 14px 12px 12px !important; }
  html:root body #moreMenu#moreMenu .mm-grid { gap: 9px !important; }
  html:root body #moreMenu#moreMenu .mm-row + .mm-row { margin-top: 9px !important; }
  html:root body #moreMenu#moreMenu .mm-tile { border: 0 !important; border-radius: 14px !important; background: var(--mm-face) !important; padding: 11px 2px 9px !important; min-height: 74px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(60,40,10,.06), 0 1px 2px rgba(60,40,10,.12), 0 5px 12px rgba(60,40,10,.12) !important;
    transition: transform .14s cubic-bezier(.32,.72,0,1), box-shadow .14s ease !important; -webkit-tap-highlight-color: transparent; }
  html:root body #moreMenu#moreMenu .mm-tile:active { transform: translateY(1px) scale(.98); opacity: 1 !important; box-shadow: inset 0 1px 2px rgba(60,40,10,.14), 0 1px 1px rgba(60,40,10,.08) !important; }
  html:root body #moreMenu#moreMenu .mm-tile[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 1px 2px rgba(60,40,10,.12), 0 5px 12px rgba(60,40,10,.12) !important; }
  html:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile { box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 2px 4px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.45) !important; }
  html:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile:active { box-shadow: inset 0 1px 3px rgba(0,0,0,.5) !important; }
  html:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 2px 4px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.45) !important; }
  /* Account and Settings: wide buttons, icon beside the word, the thin line above them stays */
  html:root body #moreMenu#moreMenu .mm-foot { margin-top: 14px !important; padding-top: 14px !important; }
  html:root body #moreMenu#moreMenu .mm-foot .mm-tile { min-height: 46px !important; padding: 0 6px !important; }
}
  html.app:root body #moreMenu#moreMenu { --mm-face: color-mix(in srgb, var(--zs-menu, var(--card)) 70%, var(--zs-lift, #fff)); }
  html.app:root[data-theme="dark"] body #moreMenu#moreMenu { --mm-face: color-mix(in srgb, var(--zs-menu, var(--card)) 86%, var(--zs-lift, #fff)); }
  html.app:root body #moreMenu#moreMenu.more-menu { padding: 14px 12px 12px !important; }
  html.app:root body #moreMenu#moreMenu .mm-grid { gap: 9px !important; }
  html.app:root body #moreMenu#moreMenu .mm-row + .mm-row { margin-top: 9px !important; }
  html.app:root body #moreMenu#moreMenu .mm-tile { border: 0 !important; border-radius: 14px !important; background: var(--mm-face) !important; padding: 11px 2px 9px !important; min-height: 74px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(60,40,10,.06), 0 1px 2px rgba(60,40,10,.12), 0 5px 12px rgba(60,40,10,.12) !important;
    transition: transform .14s cubic-bezier(.32,.72,0,1), box-shadow .14s ease !important; -webkit-tap-highlight-color: transparent; }
  html.app:root body #moreMenu#moreMenu .mm-tile:active { transform: translateY(1px) scale(.98); opacity: 1 !important; box-shadow: inset 0 1px 2px rgba(60,40,10,.14), 0 1px 1px rgba(60,40,10,.08) !important; }
  html.app:root body #moreMenu#moreMenu .mm-tile[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 1px 2px rgba(60,40,10,.12), 0 5px 12px rgba(60,40,10,.12) !important; }
  html.app:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile { box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 2px 4px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.45) !important; }
  html.app:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile:active { box-shadow: inset 0 1px 3px rgba(0,0,0,.5) !important; }
  html.app:root[data-theme="dark"] body #moreMenu#moreMenu .mm-tile[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 2px 4px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.45) !important; }
  /* Account and Settings: wide buttons, icon beside the word, the thin line above them stays */
  html.app:root body #moreMenu#moreMenu .mm-foot { margin-top: 14px !important; padding-top: 14px !important; }
  html.app:root body #moreMenu#moreMenu .mm-foot .mm-tile { min-height: 46px !important; padding: 0 6px !important; }
