/*
 * water-compute.css: the few rules the water compute page adds to the house sheets (vealth-next.css, vealth-workfield.css).
 * It declares no color of its own: ink, rules and the role hues come from the house variables, so both themes hold.
 * One column on a phone. Tap targets are 48px or more. A figure past its window is marked in the attention hue and in words, never by color alone.
 */

.wc-page .wc-place { margin: 28px 0 0; padding: 0; }
.wc-page .wc-place--first { border-top: 1px solid var(--wf-line-soft); padding-top: 18px; }
.wc-page .wc-place-h { font: 600 clamp(22px, 5.5vw, 28px)/1.25 "Fraunces", Georgia, serif; color: var(--ink); margin: 0 0 6px; }
.wc-page .wc-meta { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 62ch; }

.wc-page .wc-fold { border-top: 1px solid var(--wf-line-soft); margin: 0; padding: 0; }
.wc-page .wc-fold:last-of-type { border-bottom: 1px solid var(--wf-line-soft); }
.wc-page .wc-fold > summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  min-height: 48px; padding: 12px 2px; cursor: pointer; list-style: none;
}
.wc-page .wc-fold > summary::-webkit-details-marker { display: none; }
.wc-page .wc-fold > summary::before { content: "+"; font: 600 20px/1 "Inter", system-ui, sans-serif; color: var(--wf-value); width: 18px; flex: none; }
.wc-page .wc-fold[open] > summary::before { content: "\2212"; }
.wc-page .wc-fold > summary .wc-place-h { margin: 0; font-size: 19px; }
.wc-page .wc-fold > summary .wc-fresh { font-size: 15.5px; }
.wc-page .wc-fold[open] { padding-bottom: 18px; }
.wc-page .wc-fold > *:not(summary) { margin-left: 0; }

.wc-page .wc-program { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--wf-line-soft); }
.wc-page .wc-program h4 { font: 600 20px/1.3 "Fraunces", Georgia, serif; color: var(--ink); margin: 0 0 4px; }
.wc-page .wc-states { margin-top: 6px; }
.wc-page .wc-states > div { padding: 10px 0 12px; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); }
.wc-page .wc-states dt { font-size: 16px; }
.wc-page .wc-states dd { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }

.wc-page .wc-small { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; max-width: 66ch; overflow-wrap: anywhere; }
.wc-page .wc-more { margin: 10px 0 0; }
.wc-page .wc-more > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 15.5px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--wf-line); text-underline-offset: 3px; }
.wc-page .wc-inputs { margin: 6px 0 0; padding: 0 0 0 18px; }
.wc-page .wc-inputs li { margin: 0 0 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.wc-page .wc-inputs b { color: var(--ink); font-weight: 600; }
.wc-page .wc-inputs code, .wc-page .wc-small code, .wc-page .wc-states code { font-size: 14px; overflow-wrap: anywhere; }
.wc-page .wc-inputs a, .wc-page .wc-small a, .wc-page .wc-states a { padding: 0; display: inline; }

.wc-page .wc-fresh { color: var(--wf-soft); font-size: inherit; }
.wc-page .wc-fresh--past { color: var(--wf-attention); font-weight: 600; }
.wc-page .wc-live-count.wc-fresh--past { color: var(--wf-attention); }

.wc-page .wc-board { display: block; margin-top: 4px; color: var(--muted); }
.wc-page .wc-board[data-state="open"] { color: var(--wf-living); font-weight: 600; }
.wc-page .wc-board a { display: block; margin: 0; padding: 10px 0; min-height: 44px; box-sizing: border-box; }

.wc-page .wf-boundary { font-size: 16px; line-height: 1.6; }

.wc-page .wc-never { margin: 10px 0 0; padding: 0 0 0 20px; max-width: 66ch; }
.wc-page .wc-never li { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.wc-page .wc-ledger-list { margin-top: 10px; }
.wc-page .wc-ledger-list li { padding-bottom: 10px; border-bottom: 1px solid var(--wf-line-soft); }
.wc-page .wc-ledger-list a { padding: 0; display: inline; }

@media (max-width: 620px) {
  .wc-page .wc-states > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .wc-page .wc-fold > summary .wc-place-h { font-size: 18px; }
  /* A phone reads at 16px: every sentence a person must read sets there. */
  .wc-page .wc-small, .wc-page .wc-inputs li, .wc-page .wc-more > summary, .wc-page .wc-fold > summary .wc-fresh { font-size: 16px; }
}
