/* The Panchang screen (views/panchang.js) and the Charts / Panchang switch. Design: design-brief.md,
   "Panchang". Uses the app's tokens from styles.css; the ones below are its own. */

:root {
  --pc-night: #DEE2DE;          /* the night part of the timeline, a shade under --ground */
  /* the tithi groups (since 2026-10-04): the Shadbala tones of their elements, darkened in light mode
     just enough that the 10px surface-coloured words inside pass 4.5:1 (dark mode: the tones as they are) */
  --pc-tg-nanda: #8A6A48;       /* fire, --sbp0 */
  --pc-tg-bhadra: #717443;      /* earth, --sbp5 darkened */
  --pc-tg-jaya: #8C6578;        /* ether, --sbp3 darkened */
  --pc-tg-rikta: #5C7765;       /* water, --sbp2 darkened */
  --pc-tg-purna: #5A7485;       /* air, --sbp1 darkened */
  /* the words on those tones (since 2026-10-08): white in light mode (4.9:1 and more), near-black in dark
     mode (5.6:1 and more; the dark --surface gave Nanda's brown only 4.50:1) */
  --pc-tg-t: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --pc-night: #151C22; --pc-tg-nanda: var(--sbp0); --pc-tg-bhadra: var(--sbp5); --pc-tg-jaya: var(--sbp3); --pc-tg-rikta: var(--sbp2); --pc-tg-purna: var(--sbp1); --pc-tg-t: #12181D; }
}
:root[data-theme="dark"] { --pc-night: #151C22; --pc-tg-nanda: var(--sbp0); --pc-tg-bhadra: var(--sbp5); --pc-tg-jaya: var(--sbp3); --pc-tg-rikta: var(--sbp2); --pc-tg-purna: var(--sbp1); --pc-tg-t: #12181D; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------------- Charts / Panchang */
.pc-main {
  display: flex; margin: -4px 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden;
  background: var(--surface);
}
.pc-main-item {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 2px 8px 0;
  color: var(--ink-2); text-decoration: none; font-size: 16px; font-weight: 500;
}
.pc-main-item + .pc-main-item { border-left: 1px solid var(--line); }
.pc-main-item[aria-current="page"] { background: var(--ink); color: var(--surface); }
.pc-main-item:focus-visible { outline-offset: -4px; }
.pc-head { padding: 20px 0 12px; }
.pc-head .display { font-size: 34px; }

/* ---------------------------------------------------------------- place and date */
.pc-where { display: grid; gap: 6px; }
.pc-place-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.pc-place { font-size: 16px; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-change { flex: none; color: var(--ink-2); }
.pc-picker { display: grid; gap: 10px; padding: 12px; }
.pc-picker[hidden] { display: none; }
.pc-picker-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-date-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.pc-date-row.has-today { grid-template-columns: 44px minmax(0, 1fr) 44px auto; }
.pc-date-field { display: block; min-width: 0; position: relative; }
/* the date in the app's own words over the native field, "Mon 5 Oct 2026" (review UX-M15: the field
   showed 10/05/2026); the field's own text shows only while it is edited from the keyboard */
.pc-date-text {
  position: absolute; left: 12px; right: 36px; top: 0; bottom: 0; display: flex; align-items: center;
  font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; pointer-events: none; z-index: 1;
}
.pc-date-field input:not(:focus-visible) { color: transparent; }
.pc-date-field input:not(:focus-visible)::-webkit-datetime-edit { color: transparent; }
.pc-date-field:has(input:focus-visible) .pc-date-text { visibility: hidden; }
.pc-date-field input { height: 44px; line-height: 42px; }
.pc-daybtn { border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.pc-daybtn svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pc-today { padding-left: 12px; padding-right: 12px; }

/* ---------------------------------------------------------------- the Now card */
.pc-now { margin-top: 10px; padding: 12px 16px 8px; display: grid; gap: 1px; }
.pc-now-when { font-size: 14px; color: var(--accent); font-weight: 600; }
.pc-tithi { line-height: 1.05; margin-top: 2px; }
.pc-tithi .skt { font-size: 42px; font-style: normal; color: var(--ink); }
/* "Krishna 10" before the name: the tithi in its one form, "Krishna 10 Dashami" (since 2026-10-06) */
.pc-tithi-pk { font-size: 19px; color: var(--ink-2); margin-right: 2px; white-space: nowrap; }
.pc-tithi-sub { font-size: 17px; }
.pc-dim { color: var(--ink-2); font-size: 0.86em; }
.pc-span { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 4px; }
.pc-progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin: 4px 0 6px; }
.pc-progress span { display: block; height: 100%; background: var(--accent); }
.pc-nak { font-size: 17px; }
.pc-nak .skt { font-size: 23px; font-style: normal; }
/* the Moon's light, in the top card and the panel (owner 2026-10-08, decision 29) */
.pc-moon { font-size: 15px; margin-top: 2px; }
.pc-moon b, .pc-m-moon b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* the three readings (activity, personal, rising sign), side by side, never added */
.pc-reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.pc-reads-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-read {
  display: grid; align-content: start; gap: 1px; min-width: 0; padding: 6px 8px 7px;
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--ground);
}
.pc-read-l { font-size: 13px; line-height: 1.25; color: var(--ink-2); overflow-wrap: anywhere; }
.pc-read-v { font-size: 23px; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ink); }
.pc-read-v .skt { font-size: 19px; }
.pc-read-w { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.pc-band { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: 0; }
.pc-best { font-size: 14px; line-height: 1.35; margin-top: 6px; color: var(--ink-2); }
.pc-best .link-btn { font-size: 14px; min-height: 44px; padding: 0; color: var(--ink); vertical-align: middle; }
.pc-sc { font-size: 13px; min-width: 3em; text-align: center; font-variant-numeric: tabular-nums; }
.pc-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chip {
  font-size: 13px; line-height: 1.3; padding: 3px 8px 2px; border-radius: 999px;
  background: var(--ground); color: var(--ink); border: 1px solid var(--line);
}
.pc-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--dg-s4); }
.pc-chip-good::before { background: var(--dg-s6); }
.pc-chip-bad::before { background: var(--dg-s2); }
.pc-how { margin-top: 2px; }
.pc-how > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.pc-how p { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.pc-how .pc-how-src { margin-top: 0; }
.pc-wt { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; line-height: 1.35; }
.pc-wt th { text-align: left; font-weight: 400; color: var(--ink-2); padding: 3px 8px 3px 0; }
.pc-wt td { text-align: right; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; padding: 3px 0; vertical-align: top; }
.pc-wt tr + tr > * { border-top: 1px solid var(--line); }
.pc-wt .pill { font-size: 13px; }
.pc-how b { color: var(--ink); font-weight: 600; }
.pc-how-now { color: var(--ink) !important; }

/* ---------------------------------------------------------------- the compact table */
.pc-table { margin-top: 12px; padding: 4px 12px 10px; }
.pc-tr { border-bottom: 1px solid var(--line); }
.pc-tr > summary, div.pc-tr {
  display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 6px 0 5px; min-height: 44px;
}
.pc-tr > summary { list-style: none; cursor: pointer; position: relative; padding-right: 16px; }
div.pc-tr { padding-right: 16px; }
.pc-tr > summary::-webkit-details-marker { display: none; }
.pc-tr > summary::after {
  content: ""; position: absolute; right: 3px; top: 16px; width: 6px; height: 6px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.pc-tr[open] > summary::after { transform: rotate(-135deg); top: 19px; }
.pc-tr > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-tl { font-size: 13px; color: var(--ink-2); padding-top: 2px; line-height: 1.3; }
.pc-tv { font-size: 16px; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.pc-ts { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 1px; }
.pc-kl { display: block; }
.pc-kl + .pc-kl { margin-top: 3px; }
.pc-kl .pill { margin-left: 4px; vertical-align: 1px; }
.pc-more { font-size: 13px; color: var(--ink-2); line-height: 1.45; padding: 0 0 10px; }
.pc-foot { padding-top: 8px; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
/* a source, as a label after the words it covers: Vic DiCara, Tradition, Claude’s proposal */
.pc-src { display: inline-block; font-size: 13px; line-height: 1.3; padding: 0 4px; margin-left: 2px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-2); white-space: nowrap; font-weight: 400; }
.pc-q { min-width: 3.9em; font-size: 13px; }

/* ---------------------------------------------------------------- Today's times */
.pc-fold { margin-top: 20px; }
.pc-h { font-size: 14px; font-weight: 500; color: var(--stone-ink); margin: 16px 0 4px; }
.pc-gantt { position: relative; margin: 8px 0 0; display: grid; gap: 4px; cursor: pointer; border-radius: 2px; }
.pc-gantt:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pc-g-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px; align-items: center; }
.pc-g-label { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.pc-g-strong .pc-g-label { color: var(--ink); font-weight: 600; }
.pc-g-track {
  position: relative; height: 16px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(to right, var(--surface) 0, var(--surface) var(--pc-sunset), var(--pc-night) var(--pc-sunset), var(--pc-night) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pc-g-strong .pc-g-track { height: 22px; }
.pc-seg {
  position: absolute; top: 0; bottom: 0; box-shadow: inset -1px 0 0 var(--surface);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
/* the words in a bar: 11px 600 (since 2026-10-08, was 10px; owner: "the G and D ... are not clear"),
   over the faint hour lines (z-index 1) and under the time line (2), in the bar's own text colour */
.pc-sl { position: relative; z-index: 1; font-size: 11px; line-height: 1; font-weight: 600; white-space: nowrap; pointer-events: none; }
.pc-sl[hidden] { display: none; }
.pc-seg-bad { background: var(--dg-s2); color: var(--dg-s2-t); }
.pc-seg-good { background: var(--dg-s6); color: var(--dg-s6-t); }
.pc-seg-neutral { background: var(--dg-s4); color: var(--dg-s4-t); }
/* the dosha bars in the tithi groups' darkened tones (water, fire, air), so the 10px words pass 4.5:1 in
   light mode (review 2026-10-05: Kapha 3.38:1, Vata 4.28:1 on --sbp2 and --sbp1); dark mode unchanged */
.pc-seg-kapha { background: var(--pc-tg-rikta); color: var(--pc-tg-t); }
.pc-seg-pitta { background: var(--pc-tg-nanda); color: var(--pc-tg-t); }
.pc-seg-vata { background: var(--pc-tg-purna); color: var(--pc-tg-t); }
/* hour marks, sunrise and sunset under the rows; the now time above them */
.pc-g-axis .pc-g-track, .pc-g-top .pc-g-track { background: none; box-shadow: none; height: 16px; overflow: visible; }
.pc-g-ticks > span {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 13px; line-height: 16px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pc-g-ticks > .pc-g-sun { color: var(--stone-ink); font-weight: 600; }
.pc-g-ticks > .pc-g-first { transform: none; }
.pc-g-ticks > .pc-g-last { transform: translateX(-100%); }
.pc-g-nowlab {
  position: absolute; top: 0; transform: translateX(-50%); padding: 0 4px; border-radius: 3px;
  background: var(--accent); color: var(--surface); font-size: 13px; line-height: 16px; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pc-g-over { position: absolute; inset: 0 0 20px 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px; pointer-events: none; }
.pc-g-ov { position: relative; }
.pc-g-line { position: absolute; top: var(--pc-top); bottom: -4px; width: 1px; background: var(--ink); opacity: .16; }
.pc-g-sunline { width: 2px; margin-left: -1px; background: var(--stone); opacity: 1; }
/* the movable time line (verdigris: time), its label above the rows, and a faint tick at now */
.pc-g-now { position: absolute; top: 14px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--accent); border-radius: 1px; z-index: 2; }
.pc-g-nowtick { position: absolute; top: 14px; height: 8px; width: 2px; margin-left: -1px; background: var(--accent); opacity: .45; }
.pc-gantt { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
/* the panel under the chart: everything at the time line's moment */
.pc-g-read {
  min-height: 44px; margin-top: 6px; padding: 8px 10px 4px; border-radius: var(--radius-control);
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.4;
}
.pc-g-read b { font-weight: 600; }
.pc-g-read .pc-reads { margin-top: 4px; }
.pc-m-when { font-size: 16px; color: var(--accent); font-variant-numeric: tabular-nums; }
.pc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin-top: 8px; }
.pc-tile { display: flex; justify-content: space-between; gap: 6px; min-width: 0; border-bottom: 1px solid var(--line); padding: 2px 0 3px; }
.pc-tile-l { font-size: 13px; color: var(--ink-2); }
.pc-tile-q { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.pc-tile-v { font-size: 14px; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pc-tile-v .pc-dot { margin: 0 3px 0 2px; }
.pc-gb { font-size: 13px; line-height: 1.4; margin-top: 6px; color: var(--ink); }
.pc-gb b { font-weight: 600; margin-right: 2px; }
.pc-how-h { color: var(--ink) !important; font-weight: 600; margin-top: 10px !important; }
.pc-how .pc-wt td + td { padding-left: 8px; }
/* jump to a time, 15 minutes either way, now */
.pc-step { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.pc-stepbtn { min-width: 52px; padding-left: 10px; padding-right: 10px; font-variant-numeric: tabular-nums; }
.pc-jumpfield { flex: 1 1 96px; min-width: 96px; max-width: 150px; display: block; }
.pc-jumpfield input { height: 44px; text-align: center; font-variant-numeric: tabular-nums; }
/* the two score curves over the day, on -10..+10 with a zero line */
.pc-g-curverow .pc-g-track.pc-g-curvetrack { height: 64px; background: var(--surface); }
.pc-curves { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pc-cv-zero { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-cv-act, .pc-cv-me { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pc-cv-act { stroke: var(--ink); stroke-width: 1.75; }
.pc-cv-me { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 4 3; }
.pc-g-scale { display: flex; flex-direction: column; justify-content: space-between; height: 64px; font-size: 13px; line-height: 1; color: var(--ink-3); text-align: right; padding-right: 2px; font-variant-numeric: tabular-nums; }
.pc-cv-legend { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.pc-cv-key { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--ink); margin-right: 6px; vertical-align: 4px; }
.pc-cv-key-me { border-top: 2px dashed var(--ink-2); }
/* the activity row in its band's shade; a rising sign 8th from the birth sign marked on top */
.pc-seg-band.dg-s1, .pc-band.dg-s1, .pc-legend i.dg-s1, .pc-mday.dg-s1 { background: var(--dg-s1); color: var(--dg-s1-t); }
.pc-seg-band.dg-s2, .pc-band.dg-s2, .pc-legend i.dg-s2, .pc-mday.dg-s2 { background: var(--dg-s2); color: var(--dg-s2-t); }
.pc-seg-band.dg-s3, .pc-band.dg-s3, .pc-legend i.dg-s3, .pc-mday.dg-s3 { background: var(--dg-s3); color: var(--dg-s3-t); }
.pc-seg-band.dg-s4, .pc-band.dg-s4, .pc-legend i.dg-s4, .pc-mday.dg-s4 { background: var(--dg-s4); color: var(--dg-s4-t); }
.pc-seg-band.dg-s5, .pc-band.dg-s5, .pc-legend i.dg-s5, .pc-mday.dg-s5 { background: var(--dg-s5); color: var(--dg-s5-t); }
.pc-seg-band.dg-s6, .pc-band.dg-s6, .pc-legend i.dg-s6, .pc-mday.dg-s6 { background: var(--dg-s6); color: var(--dg-s6-t); }
.pc-seg-band.dg-s7, .pc-band.dg-s7, .pc-legend i.dg-s7, .pc-mday.dg-s7 { background: var(--dg-s7); color: var(--dg-s7-t); }
.pc-seg-mark { box-shadow: inset 0 3px 0 var(--ink), inset -1px 0 0 var(--surface); }
/* Abhijit, Nishita and Brahma muhurta in the Muhurta row: a thick ink outline, their names written in the bar */
.pc-seg-named { box-shadow: inset 0 0 0 2px var(--ink); }
/* the label over a tapped bar: its name, meaning, quality in a word, and times */
.pc-g-tip {
  position: absolute; z-index: 3; left: 0; top: 0; max-width: min(340px, 100%); padding: 4px 8px; border-radius: 4px;
  background: var(--ink); color: var(--surface); font-size: 13px; line-height: 1.35; pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.pc-g-tip b { font-weight: 700; }
.pc-g-tipq, .pc-g-tipt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-g-tipq::before, .pc-g-tipt::before { content: '· '; }
.pc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.pc-legend-night i { background: var(--pc-night); box-shadow: inset 0 0 0 1px var(--line); }
.pc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }

/* rows: time, name, a good / neutral / avoid pill */
.pc-list { list-style: none; margin: 2px 0 0; padding: 0; }
.pc-item {
  display: grid; grid-template-columns: minmax(0, 8.4em) minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline;
  padding: 7px 8px 6px; border-radius: var(--radius-control); font-size: 16px; line-height: 1.3;
}
.pc-item-tight { padding-top: 5px; padding-bottom: 4px; font-size: 14px; }
/* on today, what is already over: quieter, and said to screen readers ("over") */
.pc-item.is-past, .pc-kt.is-past > details > .pc-item, .pc-best.is-past { color: var(--ink-3); }
.pc-item.is-past .pc-item-time, .pc-kt.is-past .pc-item-time { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.pc-item.is-past .pill, .pc-kt.is-past .pill { opacity: .55; }
.pc-list > li:nth-child(odd):not(.is-now) > .pc-item, .pc-list > .pc-item:nth-child(odd):not(.is-now),
.pc-list > li:nth-child(odd):not(.is-now) > details > .pc-item { background: var(--surface); }
.pc-item.is-now, .pc-kt.is-now > details > .pc-item { background: var(--accent-wash); }
.pc-item.is-now .pc-item-time::before, .pc-kt.is-now .pc-item-time::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 5px; vertical-align: 1px;
}
.pc-item-time { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.pc-item-name { min-width: 0; overflow-wrap: anywhere; }
.pc-item-name .skt { font-size: 17px; }
.pc-num { display: inline-block; min-width: 1.3em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pc-kt > details > summary { list-style: none; cursor: pointer; min-height: 44px; align-items: center; }
.pc-kt > details > summary::-webkit-details-marker { display: none; }
.pc-kt > details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pc-kt .pc-more { padding: 4px 8px 8px; }
.pc-wins .pc-item-name { font-size: 14px; }
/* best windows and found times are buttons that open the moment */
button.pc-item { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; min-height: 44px; }
button.pc-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pc-list > li:nth-child(odd) > button.pc-item:not(.is-now) { background: var(--surface); }

/* ---------------------------------------------------------------- Find best times */
.pc-search { display: grid; gap: 8px; margin-top: 8px; }
.pc-days { max-width: 360px; }
.pc-found .pc-item-time b { font-weight: 600; color: var(--ink); margin-right: 4px; }
.pc-found .pc-item { grid-template-columns: minmax(0, 1fr) auto; }
.pc-found .pc-item-time { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- the month */
.pc-month { margin-top: 8px; display: grid; gap: 8px; }
.pc-month-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.pc-month-name { text-align: center; font-size: 17px; }
.pc-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pc-mwd { font-size: 13px; color: var(--ink-3); text-align: center; }
.pc-mday {
  min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; padding: 2px 0;
  display: grid; align-content: center; justify-items: center; gap: 0; min-width: 0;
}
/* the day's number and, once worked out, its score written under it (colour is never the only sign) */
.pc-mnum { line-height: 1.15; }
.pc-mscore { font-size: 13px; line-height: 1.15; min-height: 1.15em; white-space: nowrap; }
.pc-mday-empty { border: 0; background: none; cursor: default; }
.pc-mday.is-today { box-shadow: inset 0 0 0 2px var(--ink-2); }
.pc-mday.is-sel { outline: 2px solid var(--accent); outline-offset: 1px; }
.pc-mday:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-sub { margin-top: 12px; }
.pc-sub > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 16px; color: var(--ink-2); }
.pc-sub > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); margin: 0 10px 0 4px; }
.pc-sub[open] > summary::before { transform: rotate(45deg); }

/* ---------------------------------------------------------------- about, options */
.pc-para { font-size: 16px; line-height: 1.45; margin-top: 8px; }
.pc-limbs { max-width: 360px; }
.pc-opts { display: grid; gap: 12px; margin-top: 8px; }
.pc-opts .hint { margin-top: -4px; }

@media (max-width: 380px) {
  .pc-item { grid-template-columns: minmax(0, 7em) minmax(0, 1fr) auto; gap: 2px 8px; padding-left: 6px; padding-right: 6px; }
  .pc-item .pc-q { min-width: 0; }
  .pc-read { padding: 5px 6px 6px; }
  .pc-read-v { font-size: 19px; }
  .pc-read-v .skt { font-size: 16px; }
}

/* ---------------------------------------------------------------- the personal Panchang */
/* "For", a cell of the picker row over the graph (since 2026-10-03) */
.pc-for select {
  height: 44px; font-size: 16px; padding-left: 10px; padding-right: 30px;
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
}
.pc-you { margin-top: 2px; }
.pc-you > summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center;
  gap: 2px 6px; font-size: 16px; line-height: 1.3; padding: 4px 0;
}
.pc-you > summary::-webkit-details-marker { display: none; }
.pc-you > summary::after {
  content: ""; width: 6px; height: 6px; margin-left: 4px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg); position: relative; top: -2px;
}
.pc-you[open] > summary::after { transform: rotate(-135deg); top: 2px; }
.pc-you > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-you-for { font-size: 13px; color: var(--ink-2); margin-right: 2px; }
.pc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--dg-s4); }
.pc-dot-good { background: var(--dg-s6); }
.pc-dot-bad { background: var(--dg-s2); }
.pc-you-more { display: grid; gap: 6px; padding: 2px 0 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.pc-you-more b { color: var(--ink); font-weight: 600; }
.pc-you-more .skt { color: var(--ink); font-size: 16px; }
/* the Methods page's "Personal Panchang for" row (a chart, chosen on the Panchang page) */
.m-chart-v { text-align: left; color: var(--ink); margin-top: 4px; }

/* ---------------------------------------------------------------- since 2026-10-02 */
/* the tithi's span with its name, and how far through it */
.pc-span-l { color: var(--ink); font-weight: 500; }
.pc-prog-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 2px 0 4px; }
.pc-prog-row .pc-progress { margin: 0; }
.pc-prog-l { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* sunrise, sunset and Brahma muhurta in the Now card */
.pc-sun { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.pc-sun-c { display: grid; gap: 0; min-width: 0; }
.pc-sun-l { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.pc-sun-v { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
/* where the Sun does not rise or set: the note under the sun row */
.pc-polar { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.pc-polar b { color: var(--ink); font-weight: 600; }
/* the day's Vaishnava calendar (titles exactly as published) */
.pc-vc { display: grid; gap: 3px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.pc-vc-key { font-size: 16px; font-weight: 600; color: var(--ink); }
.pc-vc-ev { color: var(--ink); }
.pc-vc-fast { font-weight: 600; }
.pc-vc-note { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.pc-vc-bf { color: var(--ink); }
.pc-vc-on { font-size: 13px; color: var(--ink-2); }
.pc-vc-src { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.pc-vc-src .pc-src { margin-left: 0; }
/* a published title under the app's plain line, exactly as published (since 2026-10-06) */
.pc-vc-title, .pc-holy-title { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
/* Ekadashi (a filled dot) and festival (a ring) marks: the month's days, the holy-day list */
.pc-mk { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; flex: none; }
.pc-mk-fast { background: currentColor; }
.pc-mk-fest { box-shadow: inset 0 0 0 1.5px currentColor; }
.hint .pc-mk { margin-left: 2px; margin-right: 4px; }
.pc-mday { position: relative; }
.pc-mday .pc-mk { position: absolute; right: 4px; top: 4px; margin: 0; }
.pc-holy .pc-item { grid-template-columns: minmax(0, 6.6em) minmax(0, 1fr); }
.pc-holy .pc-item-time b { font-weight: 600; color: var(--ink); }
.pc-holy .pc-item-name { font-size: 16px; }
.pc-holy-plain { display: block; font-weight: 500; }
/* the day at a glance: a grid of short chips in the grade's shade */
.pc-gl-hint { margin-top: 2px; }
.pc-gl-key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 6px; vertical-align: -1px; }
.pc-gl-h { font-size: 14px; font-weight: 500; color: var(--stone-ink); margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.pc-gl-word { color: var(--ink); font-weight: 600; }
/* the good ones under their time: names only, as many to a line as fit */
.pc-gl.pc-gl-names { display: flex; flex-wrap: wrap; }
.pc-gl-names .pc-gl-chip { flex: 0 1 auto; padding: 4px 10px; }
.pc-gl.pc-gl-names + .pc-gl-names { margin-top: 8px; }
.pc-gl-time { flex: 0 0 auto; align-self: center; min-width: 9.5em; margin-right: 4px; font-size: 14px; color: var(--stone-ink); font-variant-numeric: tabular-nums; }
.pc-gl-chip.is-past { background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pc-gl { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 5px; }
.pc-gl-chip {
  display: grid; align-content: center; gap: 1px; min-height: 44px; min-width: 0; padding: 4px 7px; text-align: left;
  border: 0; border-radius: var(--radius-control); font: inherit; cursor: pointer;
}
.pc-gl-green, .pc-gl-key.pc-gl-green { background: var(--dg-s6); color: var(--dg-s6-t); }
.pc-gl-yellow, .pc-gl-key.pc-gl-yellow { background: var(--dg-s4); color: var(--dg-s4-t); }
.pc-gl-red, .pc-gl-key.pc-gl-red { background: var(--dg-s2); color: var(--dg-s2-t); }
.pc-gl-chip.is-sel { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-gl-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pc-gl-n { font-size: 13px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.pc-gl-s { font-size: 13px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pc-gl-do { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.2; padding: 0 3px; margin-left: 4px; border: 1px solid currentColor; border-radius: 3px; vertical-align: 1px; }
/* the activity: a button opening the list, the chosen one's definition, Start or Do */
.pc-act { display: grid; gap: 2px; }
.pc-act-btn {
  width: 100%; min-height: 44px; min-width: 0; padding: 4px 30px 4px 10px; position: relative; text-align: left; line-height: 1.25;
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; cursor: pointer;
}
.pc-act-btn:hover { border-color: var(--ink-3); }
.pc-act-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pc-act-btn::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.pc-act-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -1px; }
.pc-act-now { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pc-mode { margin-top: 4px; }
.pc-mode span { font-size: 14px; }
.pc-mode-one { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.pc-act-mode { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.3; padding: 0 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-2); vertical-align: 1px; white-space: nowrap; }
.pc-act-list { padding: 4px 12px 10px; margin-top: 4px; }
.pc-act-list[hidden] { display: none; }
.pc-act-h { font-size: 13px; font-weight: 500; color: var(--stone-ink); margin: 12px 0 2px; }
.pc-act-ul { list-style: none; margin: 0; padding: 0; }
.pc-act-item {
  display: grid; gap: 1px; width: 100%; min-height: 44px; padding: 6px 4px 6px; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; cursor: pointer;
}
.pc-act-item.pc-act-var { padding-left: 18px; }
.pc-act-item.is-sel { background: var(--accent-wash); }
.pc-act-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pc-act-name { font-size: 16px; color: var(--ink); line-height: 1.3; }
/* the list's filter (since 2026-10-06): a field over the groups; a group left empty hides */
.pc-act-find { margin: 8px 0 2px; }
.pc-act-grp[hidden], .pc-act-ul > li[hidden] { display: none; }
/* names only, so two to a row where they fit (one at 320px): the list about half as tall */
.pc-act-ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); column-gap: 10px; }
.pc-act-ul .pc-act-item.pc-act-var { padding-left: 4px; }
.pc-act-var .pc-act-name { color: var(--ink-2); }

/* ---------------------------------------------------------------- since 2026-10-03 */
/* "Times of the day" right after the Now card: the picker that drives the graph, then the graph */
.pc-plan { margin-top: 22px; }
.pc-plan > .section { margin: 0 0 8px; }
.pc-pick { display: grid; gap: 4px; }
.pc-pick-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; align-items: start; }
.pc-pick-one { grid-template-columns: minmax(0, 1fr); }
.pc-pick-c { display: grid; gap: 2px; min-width: 0; }
.pc-pick-l { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.pc-pick .pc-act { gap: 4px; }
.pc-pick .pc-act-list { margin-top: 0; }
.pc-pick .pc-best { margin-top: 0; }
/* a tap on a chip or a window scrolls here: the legend line stays in view above the chart */
#pc-gantt { scroll-margin-top: 36px; }
/* the lane groups: a small label over the first lane of each, on the page ground so the hour lines
   pass behind it (the time line, z-index 2, still crosses it) */
.pc-g-grp { position: relative; z-index: 1; height: 15px; margin-top: 5px; }
.pc-g-glabel {
  display: inline-block; padding-right: 6px; background: var(--ground);
  font-size: 13px; line-height: 15px; font-weight: 600; color: var(--stone-ink); white-space: nowrap;
}
/* a sub-part of a group ("The day", "Divisions" under "Everyone", since 2026-10-04): the same
   size, lighter and set in by 8px, so it reads as part of the group above it */
.pc-g-subgrp { margin-top: 3px; padding-left: 8px; }
.pc-g-subfirst { margin-top: 0; }
.pc-g-slabel { font-weight: 500; color: var(--ink-2); }
/* the legend under the chart: the score's six bands, then the other rows' shades and the night */
.pc-legend + .pc-legend { margin-top: 2px; }
.pc-legend-h { color: var(--ink); font-weight: 500; }
.pc-legend-mark i { background: var(--surface); box-shadow: inset 0 3px 0 var(--ink), inset 0 0 0 1px var(--line); }

/* ---------------------------------------------------------------- since 2026-10-04 */
/* "The day" rows (weekday, tithi, nakshatra, yoga, karana, siddhi). A tithi group takes the quiet
   Shadbala tone of its element: Nanda fire = sandstone brown (as Pitta), Bhadra earth = olive, Jaya
   ether = mauve, Rikta water = sage (as Kapha), Purna air = slate blue (as Vata); the weekday takes
   the colour of the group that makes a Siddha yoga on it, Sunday and Monday plain. */
.pc-tg-nanda { background-color: var(--pc-tg-nanda); color: var(--pc-tg-t); }
.pc-tg-bhadra { background-color: var(--pc-tg-bhadra); color: var(--pc-tg-t); }
.pc-tg-jaya { background-color: var(--pc-tg-jaya); color: var(--pc-tg-t); }
.pc-tg-rikta { background-color: var(--pc-tg-rikta); color: var(--pc-tg-t); }
.pc-tg-purna { background-color: var(--pc-tg-purna); color: var(--pc-tg-t); }
.pc-tg-amavasya { background-color: var(--ink); color: var(--surface); }
.pc-tg-none { background-color: var(--ground); color: var(--ink); }
.pc-tg-chidra-key { background-color: var(--ink-3); }
/* a chidra tithi: a dashed lower edge (a flaw, a hole) */
.pc-seg-chidra {
  background-image: repeating-linear-gradient(90deg, var(--surface) 0 3px, transparent 3px 6px);
  background-size: 100% 3px; background-position: left bottom; background-repeat: no-repeat;
}
.pc-g-thin .pc-g-track { height: 14px; }
.pc-g-empty { position: absolute; left: 6px; top: 0; font-size: 11px; line-height: 14px; color: var(--ink-3); white-space: nowrap; }
/* the swatch before a part of the panel's day line and in the key: the row's colour */
.pc-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; flex: none; }
.pc-sw.pc-seg-chidra { background-size: 100% 3px; }
.pc-sw.pc-tg-none { box-shadow: inset 0 0 0 1px var(--line); }
/* the panel: the day at the line's moment, under the readings (since 2026-10-04, the graph's order) */
.pc-m-day { display: grid; gap: 2px; margin-top: 8px; font-size: 14px; line-height: 1.4; }
.pc-m-day p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.pc-m-day b { font-weight: 600; }
.pc-m-day2 { font-size: 13px; color: var(--ink); }
.pc-m-siddhi { font-size: 13px; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.pc-m-moon { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
.pc-how .pc-how-moon { color: var(--ink); }
/* the key to the day rows: a closed disclosure under the legend */
.pc-key { margin-top: 2px; }
.pc-key > summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.pc-key > summary::-webkit-details-marker { display: none; }
.pc-key > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-key-q {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--ink-3); font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink-2);
}
.pc-key[open] .pc-key-q { background: var(--ink-2); border-color: var(--ink-2); color: var(--surface); }
.pc-key-body { display: grid; gap: 6px; padding: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.pc-key-body b { color: var(--ink); font-weight: 600; }
.pc-key-body .nw { margin-right: 2px; }

/* ---------------------------------------------------------------- overall, for a chosen chart (2026-10-04) */
/* the bottom line for the person: a full-width cell under the readings, a darker edge, the sum under it */
.pc-read-all { grid-column: 1 / -1; border-color: var(--ink-2); gap: 2px; }
.pc-read-all .pc-read-l { color: var(--ink); font-weight: 600; }
.pc-read-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pc-read-all .pc-read-v { font-size: 23px; font-weight: 600; }
.pc-read-sum { font-size: 13px; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* the third curve: overall thick ink, drawn last; the activity line then quieter */
.pc-cv-all { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke: var(--ink); stroke-width: 2.75; }
.pc-curves.has-all .pc-cv-act { stroke: var(--ink-2); stroke-width: 1.25; }
.pc-cv-key-all { border-top-width: 3px; }
.pc-cv-legend.has-all .pc-cv-key:not(.pc-cv-key-all):not(.pc-cv-key-me) { border-top: 1.5px solid var(--ink-2); }
/* which score drives a list */
.pc-pick .pc-by { margin: 0; }
.pc-how .pc-how-all { color: var(--ink); }
/* Find best times: best first or by date (since 2026-10-06) */
.pc-order { max-width: 360px; }

/* ---------------------------------------------------------------- the Methods page, since 2026-10-06 */
/* jump buttons in one row that scrolls sideways inside itself, kept under the 56px bar */
.m-jump {
  position: sticky; top: 56px; z-index: 4; display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 -16px; padding: 6px 16px; background: var(--ground); border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.m-jump::-webkit-scrollbar { display: none; }
.m-jump-b {
  flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-control);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.m-jump-b:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* each group a fold (the app's fold style and chevron); its title under the bar and the jump row */
.m-group { scroll-margin-top: 116px; }
.m-group > summary .section { margin: 0; }
.m-count { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.m-group > summary + .m-row { border-top: 0; }
.m-device { margin-top: 28px; }
/* "What each preset sets": a small fold with its own chevron */
.m-sub { margin-top: 4px; }
.m-sub > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 16px; color: var(--ink-2); }
.m-sub > summary::-webkit-details-marker { display: none; }
.m-sub > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); margin: 0 10px 0 4px; transition: transform 150ms ease; }
.m-sub[open] > summary::before { transform: rotate(45deg); }
.m-sub > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-control); }
/* the owner's note under a source line, for him alone */
.m-own { display: block; margin-top: 2px; color: var(--ink-3); }
/* the glossary: term over its one line */
.m-gloss { margin: 4px 0 0; }
.m-gloss-row { padding: 8px 0; border-top: 1px solid var(--line); }
.m-gloss-row:first-child { border-top: 0; }
.m-gloss dt { font-size: 16px; font-weight: 500; color: var(--ink); }
.m-gloss dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .m-sub > summary::before { transition: none; } }

/* ---------------------------------------------------------------- since 2026-10-08 */
/* the key under the graph, always in view: one 13px line per row, its name in ink 600, each colour a
   10px swatch with its words; the unfavourable marks said in words */
.pc-k { display: grid; gap: 3px; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.pc-k-row { margin: 0; }
.pc-k-h { color: var(--ink); font-weight: 600; margin-right: 2px; }
.pc-k-i { display: inline; margin-right: 10px; }
.pc-k-i .pc-sw { vertical-align: -1px; }
.pc-k b { color: var(--ink); font-weight: 600; }
.pc-k-warn .pc-k-h { color: var(--stone-ink); }
.pc-sw.pc-k-night { background: var(--pc-night); box-shadow: inset 0 0 0 1px var(--line); }
.pc-sw.pc-k-mark { background: var(--dg-s4); box-shadow: inset 0 3px 0 var(--ink); }
.pc-sw.pc-seg-mark { box-shadow: inset 0 3px 0 var(--ink); }
/* the panel: what bars a beginning, in words */
.pc-m-warn { color: var(--stone-ink); font-weight: 500; }
.pc-tithi-sub .pc-m-warn { font-weight: 500; }
.pc-m-you { margin-top: 8px; font-size: 14px; line-height: 1.4; }
.pc-m-you p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.pc-m-you .pc-m-you-h { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pc-m-you b { font-weight: 600; }
/* the activity list in two parts, Doing first; the day at a glance the same */
.pc-act-part { font-size: 14px; font-weight: 600; color: var(--ink); margin: 12px 0 0; }
.pc-act-part[hidden] { display: none; }
.pc-act-part2 { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.pc-act-do .pc-act-ul { margin-top: 4px; }
.pc-gl-part { font-size: 14px; font-weight: 600; color: var(--ink); margin: 14px 0 2px; }
.pc-gl-part + .pc-gl-h { margin-top: 4px; }
/* a long source label in "How these are worked out" (the Do score's weights) wraps at 320px */
.pc-how-h .pc-src { white-space: normal; }
