/* Moon Garden: a night garden in plum and candle gold (docs/STYLE.md). One dark look on purpose. */
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-italic.woff2') format('woff2'); font-style: italic; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #1b1422; --plum: #3a2747; --card: #251b2e; --card2: #2b2135; --line: #3a2d45; --line2: #5a4767;
  --ink: #efe6d8; --muted: #a99bb3; --gold: #e8c36a; --gold-ink: #241a12; --peach: #f0a37a; --sage: #9cc7a0;
  --moonlit: #efe2c0; --moondark: #3a2d45;
  --t-w: #9fc3e8; --t-f: #e8c36a; --t-r: #e39a86; --t-n: #c3b1d6;
  --display: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --body: 'Outfit', system-ui, -apple-system, sans-serif;
  --r: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.45 var(--body);
  background: radial-gradient(120% 50% at 50% 0%, var(--plum), var(--night) 70%) fixed, var(--night);
  -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* top bar and tabs */
#app main { max-width: 640px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 8px) max(16px, env(safe-area-inset-right, 0px)) calc(96px + var(--safe-b)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; }
.topbar { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.brand { font: italic 600 22px var(--display); color: var(--gold); flex: 1; letter-spacing: .3px; }
.sync { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.sync[data-state=offline], .sync[data-state=error] { color: var(--peach); border-color: var(--peach); }
.btn-hdr { background: none; border: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 20px; cursor: pointer; }
.version { text-align: center; color: var(--muted); font-size: 12px; opacity: .7; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(27, 20, 34, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + var(--safe-b)) max(8px, env(safe-area-inset-left, 0px)); }
.tabs button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.tabs button b { font-size: 20px; font-weight: 400; line-height: 1.1; font-family: var(--display); }
.tabs button.on { color: var(--gold); font-weight: 600; }

/* bits */
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.pad { padding: 10px 12px; }
.calm { text-align: center; font: italic 600 19px var(--display); color: var(--muted); padding: 8px; }
.lore { font-size: 13px; color: var(--muted); font-style: italic; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.cat { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; background: var(--sage); color: #1b1422; white-space: nowrap; font-family: var(--body); }
.warn { color: var(--peach); font-size: 13px; }
.qty { color: var(--muted); font-weight: 400; font-size: .85em; }
.tag { font-size: 10.5px; background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 1px 7px; font-family: var(--body); font-weight: 600; vertical-align: 2px; }
.sec { font-size: 20px; margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.sec small { font: 400 12px var(--body); color: var(--muted); }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.moon.glow { filter: drop-shadow(0 0 22px rgba(239, 226, 192, .45)); }
.moon-unknown { display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--line2); color: var(--muted); font-size: 12px; flex: none; }
.moon-unknown.big { width: 130px; height: 130px; font: 600 46px var(--display); }

/* buttons */
.btn { background: var(--card2); border: 1px solid var(--line2); border-radius: 999px; padding: 10px 14px; font-size: 14px; cursor: pointer; color: var(--ink); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 600; }
.btn.ghost { background: none; }
.btn.wide { width: 100%; padding: 13px; font-size: 16px; }
.btn.icon { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; font-size: 22px; background: none; border-color: transparent; }
.btn.icon.tiny { width: auto; min-width: 32px; height: 32px; font-size: 16px; padding: 0 6px; color: var(--muted); }
.btn.confirm { color: var(--peach) !important; border-color: var(--peach) !important; font-size: 12px !important; }
.btn.danger { background: none; color: var(--peach); border-color: var(--peach); }
.btn:disabled { opacity: .5; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font-size: 13px; white-space: nowrap; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 600; }

/* the sky */
.sky { display: flex; gap: 16px; align-items: center; padding: 6px 0; }
.sky .moon { flex: none; }
.sky-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sky h2 { font-size: 30px; }
.sky .next { color: var(--gold); font: italic 600 17px var(--display); }
.sky .next.new { color: var(--ink); }
.sky.fullnight h2 { color: var(--gold); font-size: 34px; }
.sky.fullnight .moon { filter: drop-shadow(0 0 34px rgba(239, 226, 192, .7)); }

/* plant rows */
.list { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.row:last-child, .hist:last-child, .phase:last-child, .job:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 6px 8px 10px; text-align: left; cursor: pointer; }
.row-main .pl { flex: none; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-text b { font-weight: 600; font-size: 15px; }
.row-text small { color: var(--muted); font-size: 12.5px; }
.row-text small.due { color: var(--peach); font-weight: 600; }
.row .moon, .row .moon-unknown { flex: none; }
.drop { flex: none; width: 46px; height: 46px; margin-right: 6px; border-radius: 50%; border: 1px solid var(--line2); background: none; font-size: 18px; cursor: pointer; }
.drop:active { background: var(--card2); }

/* calendar */
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-nav h2 { font-size: 26px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal .wd { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; padding-bottom: 2px; }
.cday { background: none; border: 0; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 3px; cursor: pointer; min-height: 52px; }
.cday .dn { font-size: 12px; }
.cday.today { background: var(--card); outline: 1px solid var(--gold); }
.cday.fullday .dn { color: var(--gold); font-weight: 700; }
.cday .dots { display: flex; gap: 2px; min-height: 5px; }
.cday .dots i, .legend i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.legend i { width: 8px; height: 8px; margin-right: 5px; }
.t-w { background: var(--t-w); } .t-c { background: #7fd1c7; } .t-p { background: #b9d98a; } .t-f { background: var(--t-f); } .t-r { background: var(--t-r); } .t-n { background: var(--t-n); }
.moonline { display: flex; gap: 12px; align-items: center; }
.moonline div, .phase div { display: flex; flex-direction: column; min-width: 0; }
.moonline b, .phase b { font: 700 17px var(--display); }
.moonline small, .phase small { color: var(--muted); font-size: 12.5px; }

/* the moon screen */
.moonhero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0 4px; text-align: center; }
.moonhero h2 { font-size: 34px; margin-top: 8px; }
.next-full { display: flex; flex-direction: column; gap: 2px; border-color: var(--gold); }
.next-full b { font: 700 24px var(--display); color: var(--gold); }
.next-full small { color: var(--ink); }
.phase { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.phase.past { opacity: .55; }
.phase .moon { flex: none; }

/* sheets */
.overlay { position: fixed; inset: 0; background: rgba(8, 5, 12, .6); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 30; }
.overlay.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; background: var(--card2); border-top: 1px solid var(--line2); border-radius: 22px 22px 0 0;
  padding: 6px max(16px, env(safe-area-inset-right, 0px)) calc(24px + var(--safe-b)) max(16px, env(safe-area-inset-left, 0px)); transform: translateY(105%); transition: transform .25s ease; display: flex; flex-direction: column; gap: 12px; }
.sheet.open { transform: none; }
.sheet > * { flex-shrink: 0; } /* lists in a scrolling sheet must never be squeezed */
@media (min-width: 700px) { .sheet { left: 50%; right: auto; width: 640px; margin-left: -320px; } }
.grab { width: 40px; height: 4px; border-radius: 9px; background: var(--line2); align-self: center; flex: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: -4px -8px 0; }
.sheet-head h2 { font-size: 22px; }
.plant-top, .day-top { display: flex; gap: 12px; align-items: center; }
.plant-top h2, .day-top h2 { font-size: 26px; }
.latin { font: italic 600 15px var(--display); color: var(--muted); }
.catline { margin-top: -4px; }
.catline .cat { margin-left: 0; font-size: 12px; }
.water-moon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 0; }
.water-moon p { font-size: 15px; }
.info { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.info div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info div:last-child { border-bottom: 0; }
.info span { color: var(--gold); font-weight: 600; font-size: 13px; }
.hist { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.hist > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hist small { color: var(--muted); font-size: 12.5px; }
.job { display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; font-size: 14px; cursor: pointer; }
.job .box { width: 20px; height: 20px; flex: none; border: 1.5px solid var(--gold); border-radius: 6px; display: grid; place-items: center; font-size: 13px; color: var(--gold-ink); }
.job.done { color: var(--muted); text-decoration: line-through; }
.job.done .box { background: var(--gold); }

/* in memory, and the gone button */
.memory .hist { gap: 10px; }
.memory .hist > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.memory .pl { flex: none; filter: grayscale(.6); opacity: .8; }
.gone-btn { color: var(--muted); border-color: var(--line); margin-top: 8px; }

/* the day the plant card buttons mark */
.daypick { position: relative; align-self: center; font-size: 13px; color: var(--muted); padding: 4px 10px; cursor: pointer; }
.daypick b { color: var(--ink); font-weight: 600; }
.daypick.past b { color: var(--gold); }
.daypick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; padding: 0; border: 0; }
.sec-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.sec-row .sec { margin-top: 0; }

/* vase picker */
.vase-preview { display: flex; justify-content: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 0 6px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchip { position: relative; }
.vchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vchip span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); border-radius: 999px; padding: 5px 11px; font-size: 13px; color: var(--ink); cursor: pointer; }
.vchip i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #ffffff40; }
.vchip input:checked + span { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 600; }
.vchip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* forms */
form.card, form.edit { display: flex; flex-direction: column; gap: 8px; }
label, legend { font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; font: 16px var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; }
input[type=date] { color-scheme: dark; }
fieldset { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.check { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; padding: 6px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two div { display: flex; flex-direction: column; gap: 6px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.seg label { position: relative; color: var(--ink); }
.seg input, .kinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 9px 4px; font-size: 13px; cursor: pointer; }
.seg input:checked + span { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.seg input:focus-visible + span, .kinds input:focus-visible + span { outline: 2px solid var(--gold); }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
.kinds label { position: relative; }
.kinds span { display: grid; place-items: center; padding: 6px 0; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.kinds input:checked + span { border-color: var(--gold); background: var(--card); box-shadow: 0 0 0 1px var(--gold); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s; z-index: 40;
  background: var(--moonlit); color: #1b1422; border-radius: 14px; padding: 10px 12px 10px 14px; font-size: 14px; display: flex; gap: 12px; align-items: center; width: max-content; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .undo { background: none; border: 0; font-weight: 700; text-decoration: underline; cursor: pointer; color: #1b1422; padding: 4px; }

/* login */
.gate { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px)); text-align: center; max-width: 420px; margin: 0 auto; }
.gate h1 { font-size: 40px; color: var(--gold); font-style: italic; }
.gate p { color: var(--muted); }
.gate form { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.gate label { display: flex; flex-direction: column; gap: 6px; }
.gate .primary { background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 999px; padding: 13px; font-weight: 600; font-size: 16px; cursor: pointer; }
.gate .error { color: var(--peach); min-height: 1.4em; }
.noscript { padding: 24px; }

/* loading screen: the moon rises */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(120% 60% at 50% 30%, var(--plum), var(--night) 70%); transition: opacity .4s; }
.splash.gone { opacity: 0; pointer-events: none; }
.splash .sp-moon { width: 132px; height: 132px; animation: rise 1.6s ease-out both; filter: drop-shadow(0 0 30px rgba(239, 226, 192, .55)); }
.splash .sp-title { font: italic 600 40px var(--display); color: var(--gold); animation: fade 1.2s .5s both; }
.splash .sp-sub { color: var(--muted); font-size: 14px; animation: fade 1.2s .9s both; min-height: 1.4em; }
.splash .star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--moonlit); animation: twinkle 2.4s ease-in-out infinite; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .splash *, .sheet, .toast { animation: none !important; transition: none !important; } }

/* ---------- one job per tab (2026-11-08): sleeker pieces ---------- */
.page { font-size: 30px; }
.plus { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); color: var(--gold-ink); font: 600 24px var(--body); cursor: pointer; display: grid; place-items: center; }
.skyline { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 0; text-align: left; cursor: pointer; color: var(--ink); }
.skyline span { display: flex; flex-direction: column; min-width: 0; }
.skyline i { font: italic 600 24px var(--display); }
.skyline small { color: var(--gold); font-size: 13px; }
.skyline.fullnight i { color: var(--gold); }
.list > .row { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 6px 12px 6px 8px; text-align: left; cursor: pointer; color: var(--ink); min-height: 52px; }
.list > .row:last-child { border-bottom: 0; }
.list > .row:active { background: var(--card2); }
.row .pl { flex: none; }
.row-name { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; }
.row .cat { margin-left: 6px; }
.due { font-size: 13px; color: var(--muted); white-space: nowrap; }
.due.hot { color: var(--peach); font-weight: 600; }
.folded { display: flex; justify-content: space-between; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; color: var(--muted); font-size: 14px; cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
@media (max-width: 380px) { .grid { grid-template-columns: 1fr 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--ink); text-align: center; min-width: 0; }
.pcard b { font-weight: 600; font-size: 14px; line-height: 1.2; }
.pcard small { color: var(--muted); font-size: 12px; }
.pcard .cat { margin: 3px 0 0; }
.who { display: flex; align-items: center; gap: 12px; }
.who div { display: flex; flex-direction: column; min-width: 0; }
.who b { font: 700 24px var(--display); }
.who small { color: var(--muted); font-size: 13px; }
.linkish { background: none; border: 0; color: var(--muted); font: 14px var(--body); padding: 8px 4px; cursor: pointer; align-self: center; }
.linkish.red { color: var(--peach); }
.links { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 4px; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.hero h2 { font-size: 28px; margin-top: 4px; }
.hero .small { font-size: 13px; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.hero .cat { margin-left: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 11px; font-size: 13.5px; line-height: 1.35; min-width: 0; }
.facts div:last-child:nth-child(odd) { grid-column: span 2; }
.fk { display: block; color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: .04em; margin-bottom: 2px; }
.daypick { align-self: center; }
details.more { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
details.more summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 4px 0; }
details.more[open] { display: flex; }
.slider { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.slider input { width: 100%; accent-color: var(--gold); padding: 0; border: 0; background: none; }
.slider .hint { text-align: center; }
.guide { display: flex; flex-direction: column; gap: 10px; }
.doavoid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doavoid div { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; min-width: 0; }
.doavoid b { font: 700 17px var(--display); }
.doavoid div:first-child b { color: var(--sage); }
.doavoid div:last-child b { color: var(--peach); }
.fits { font-size: 13px; color: var(--gold); }
.mrow { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 9px 12px; cursor: pointer; color: var(--ink); text-align: left; }
.mrow b { flex: 1; font: 700 17px var(--display); }
.mrow .tag { margin-right: 4px; }
.mdetail { padding: 6px 14px 12px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.moonline { display: flex; align-items: center; gap: 10px; }
.moonline b { font: 700 17px var(--display); }
.moonline small { color: var(--muted); margin-left: auto; font-size: 12.5px; }
#app main > section:not([hidden]) { display: flex; flex-direction: column; gap: 14px; }
