/* gauss: what the page adds to sItô's styles (app.css). */

/* the wordmark µ𝒢auß: µ small, italic, in the accent (as sItô's s); the
   calligraphic G of KaTeX (its font is the page's); "auß" bold, as "Itô" */
.g-wm { white-space: nowrap; }
.g-wm-mu { font-style: italic; font-weight: 400; font-size: 0.6em; color: var(--accent); margin-right: 0.08em; }
.g-wm-g { font-family: KaTeX_Caligraphic, var(--serif); font-weight: 400; }
.g-wm-rest { font-weight: 700; letter-spacing: 0.03em; }
.colophon .g-wm-mu { font-size: 1em; margin-right: 0.04em; }
.colophon .g-wm-rest { letter-spacing: 0; }
.colophon .name { color: var(--ink); }

/* the form's controls as sklarpy's: the browser's own, in the theme's accent */
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.g-regular { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.g-regular input { margin: 0; }

/* rows of cards: wrap on a desktop, scroll sideways on a phone */
.g-cards { display: flex; gap: 0.6rem; list-style: none; margin: 0 0 0.6rem; padding: 0 0 0.3rem;
  overflow-x: auto; scroll-snap-type: x proximity; }
.g-cards > li { flex: 0 0 auto; scroll-snap-align: start; }
@media (min-width: 700px) { .g-cards { flex-wrap: wrap; overflow: visible; } }
.g-cards .card { width: 10.5rem; min-height: 5.2rem; }
.card-meta { color: var(--soft); font-size: 0.78rem; }
.spark { width: 100%; height: 1.75rem; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.g-chosen b { font-family: var(--mono); font-weight: 500; }

/* the parameter tables: the form's (inputs) and the result's */
.g-ptable-wrap { overflow-x: auto; margin: 0.2rem 0 0.8rem; }
.g-ptable, .g-results-table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.g-ptable th, .g-ptable td, .g-results-table th, .g-results-table td {
  text-align: left; padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.g-ptable thead th, .g-results-table thead th { font-weight: 400; color: var(--soft); font-size: 0.78rem; letter-spacing: 0.03em; }
.g-ptable input { width: 5.6rem; padding: 0.3rem 0.4rem; font-size: 0.82rem; }
.g-ptable input::placeholder { color: var(--soft); opacity: 0.55; }
.g-range { white-space: nowrap; }
.g-range input + input { margin-left: 0.25rem; }
.g-box { white-space: nowrap; font-size: 0.82rem; }
.g-bound { color: var(--danger); font-family: var(--serif); }
.g-warnings { color: var(--soft); font-size: 0.86rem; margin: 0.6rem 0 0; padding-left: 1.1rem; }


/* the chart legend's marks */
.g-dot { display: inline-block; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--ink); opacity: 0.7; }
.g-fill { display: inline-block; width: 1.1rem; height: 0.6rem; }

/* small multiples: the components */
.g-smalls { display: grid; gap: 0.6rem 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.g-small { margin: 0; }
.g-small figcaption { color: var(--soft); font-size: 0.85rem; min-height: 1.6rem; }
.chart.g-chart-small { height: 170px; }
@media (min-width: 700px) { .chart.g-chart-small { height: 200px; } }

.result header h3 { margin-right: auto; }

/* numbers in tables: right-aligned, with room */
.g-elasticity { border-collapse: collapse; margin-top: 0.8rem; }
.g-elasticity th, .g-elasticity td { padding: 0.25rem 0.9rem 0.25rem 0; text-align: left; }
.g-elasticity td { text-align: right; font-variant-numeric: tabular-nums; }
.g-elasticity caption { text-align: left; font-variant: normal; letter-spacing: 0; color: var(--soft); font-size: 0.88rem; padding-bottom: 0.3rem; }

/* the columns must not grow to their widest content (a table scrolls inside
   its own box instead), or the page is wider than a phone */
.layout > *, .form-col, .results-col, .results, .result, fieldset { min-width: 0; max-width: 100%; }
.g-ptable-wrap { max-width: 100%; }
.result header { row-gap: 0.4rem; }
/* a long typeset formula scrolls in its own box */
.preview, .card-math, .g-small figcaption { overflow-x: auto; overflow-y: hidden; max-width: 100%; }
.preview .katex-display { margin: 0.4rem 0; }
textarea, input { max-width: 100%; }

/* --- the form: your data and your model first ------------------------------ */
.g-step { border-top: 1px solid var(--border); padding: 0.9rem 0 0.6rem; }
.g-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 0.6rem; }
.g-step-title { font-size: 0.95rem; font-weight: 700; margin: 0; font-variant: small-caps; letter-spacing: 0.14em; color: var(--accent); }
.g-step-head .linklike { font-variant: small-caps; letter-spacing: 0.1em; font-size: 0.95rem; font-weight: 700; color: var(--accent);
  text-decoration-color: var(--accent); }
.g-drop { display: flex; align-items: center; justify-content: center; gap: 0.6rem; cursor: pointer;
  padding: 0.75rem 1rem; border: 1.5px dashed var(--accent); border-radius: var(--radius);
  background: var(--field); color: var(--accent); }
.g-drop svg { width: 1.5rem; height: 1.5rem; flex: none; }
.g-drop:hover, .g-drop:focus-within { background: var(--paper-2); }
.g-drop-main { font-size: 1.1rem; }
.g-drop-main u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.g-chosen-line { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; padding: 0.55rem 0.7rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--field); }
.g-chosen-line .spark { width: 5rem; height: 1.4rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--soft); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.linklike:hover { color: var(--ink); text-decoration-color: var(--accent); }
.g-kernel { min-height: 5.2rem; font-size: 0.95rem; }


/* collapsed sections, each with what it holds in one line */
details.g-more { border-top: 1px solid var(--border); padding: 0.1rem 0; }
details.g-more > summary { display: flex; align-items: baseline; gap: 0.8rem; list-style: none; padding: 0.55rem 0;
  color: var(--ink); font-size: 1rem; }
details.g-more > summary::-webkit-details-marker { display: none; }
details.g-more > summary { cursor: pointer; }
details.g-more > summary::before { content: "▸"; color: var(--accent); font-size: 1.15rem; line-height: 1; width: 1rem;
  transition: transform 0.15s; }
details.g-more > summary:hover::before { color: var(--ink); }
details.g-more > summary:hover > span:first-of-type { color: var(--ink); }
details.g-more[open] > summary::before { transform: rotate(90deg); }
details.g-more > summary > span:first-of-type { font-variant: small-caps; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; min-width: 6rem; }
details.g-more > :not(summary) { margin-left: 1.5rem; }
/* the Fit row: sticky at the foot of the screen, as sItô's .floatbar */
#runrow { position: sticky; bottom: 0; z-index: 6; align-items: center;
  padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, var(--paper) 30%); }
#runrow .primary { flex: 0 1 18rem; width: auto; }
#runrow .secondary:disabled { opacity: 0.45; cursor: not-allowed; }

/* the results before any fit */
.g-welcome { border-top: 1px solid var(--border); padding: 1rem 0; max-width: 40rem; }
.g-welcome p { margin: 0 0 0.7rem; line-height: 1.5; }

/* the sheets of examples */
.g-sheet-cards { flex-wrap: wrap; overflow: visible; }
.g-sheet-cards .card { width: 14rem; }

/* the data section */
.chart.g-chart-series { height: 150px; margin-top: 0.6rem; }
.g-drop.g-over { background: var(--paper-2); border-style: solid; }
.g-columns { margin-top: 0.7rem; }
details.g-preview { margin-top: 0.4rem; }
details.g-preview .g-results-table { font-size: 0.8rem; }

.g-model-out { min-height: 1.5rem; }
.g-error { margin: 0.3rem 0 0.4rem; }
.g-caret { margin: 0.3rem 0 0; padding: 0.4rem 0.6rem; background: var(--field); border-radius: var(--radius);
  font-size: 0.85rem; color: var(--danger); overflow-x: auto; white-space: pre; }

/* a fit that waits, runs, stopped or was refused */
.g-job { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; }
/* tall enough that, on a phone, the page can scroll it to the top while the
   fit runs; the results then take its place */
.g-job-active { min-height: 80vh; align-content: flex-start; }
.g-job-line { margin: 0; }
.g-job-failed .field-error { margin: 0; }
.g-functional { margin-top: .5rem; }

/* --- phase 6c ------------------------------------------------------------ */


/* the mean, one line; the sheet explains */
.g-meanbtn { display: flex; align-items: baseline; gap: 0.6rem; width: 100%; text-align: left; margin: 0.8rem 0 0.4rem;
  padding: 0.55rem 0.7rem; background: var(--field); border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; color: var(--ink); cursor: pointer; }
.g-meanbtn:hover { border-color: var(--accent); }
.g-meanbtn .label { color: var(--soft); min-width: 3.2rem; }
.g-meanbtn .what { flex: 1; }
.g-meanbtn .go { color: var(--accent); }
.g-choices { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.8rem; }
.g-choice { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.7rem 0.8rem; }
.g-choice:has(> label > input:checked) { border-color: var(--accent); }
.g-choice > label { display: flex; gap: 0.5rem; align-items: baseline; font-weight: 700; }
.g-choice p { margin: 0.3rem 0 0.5rem 1.4rem; color: var(--soft); font-size: 0.9rem; line-height: 1.45; }
.g-choice .seg, .g-choice .g-sub, .g-choice > input { margin-left: 1.4rem; }
.g-choice > input { width: calc(100% - 1.4rem); }
.g-choices input[type=radio] { accent-color: var(--accent); }
.g-sub { display: grid; gap: 0.4rem; margin-top: 0.4rem; }
.g-sub label { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.92rem; }
.g-sub label span { color: var(--soft); }

/* the parameter table's caption: what the grey values are */
.g-caption { color: var(--soft); font-size: 0.84rem; margin: 0.2rem 0 0.4rem; line-height: 1.4; }
/* the parameters' caption with its reset button at the right */
.g-caption-row { display: flex; align-items: flex-start; gap: 0.8rem; }
.g-caption-row .g-caption { flex: 1; }
.g-reset { flex: none; padding: 0.35rem 0.7rem; font-size: 0.78rem; letter-spacing: 0.04em; margin-top: 0.15rem; }
@media (max-width: 480px) { .g-caption-row { flex-direction: column; gap: 0.3rem; } }
abbr.g-name { text-decoration: underline dotted var(--soft); text-underline-offset: 3px; cursor: help; }

/* the settings: a note under each field */
.field .g-fieldnote { display: block; color: var(--soft); font-size: 0.78rem; margin-top: 0.2rem; }

/* the fit's numbers, first and larger */
.g-headline { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: baseline; margin: 0.4rem 0 0.9rem; }
.g-headline div { display: grid; }
.g-headline dt { color: var(--soft); font-size: 0.8rem; }
.g-headline dd { margin: 0; font-family: var(--mono); font-size: 1.35rem; }
.g-agree { flex-basis: 100%; color: var(--soft); font-size: 0.92rem; margin: 0; }
.g-fixed { color: var(--soft); font-style: italic; }
.g-report { margin: 0.4rem 0 0; padding-left: 1.1rem; line-height: 1.5; }
.g-report li + li { margin-top: 0.35rem; }

/* the colours of the charts: X, and the forecast's region */
:root { --x: var(--accent); --forecast-bg: var(--c3); }
:root[data-theme="dark"] { --forecast-bg: var(--c2); }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] { --forecast-bg: var(--c2); } }

/* the legend's marks, in the variable's colour */
.g-sw { display: inline-block; width: 1.1rem; height: 0; border-top: 2px solid var(--x); vertical-align: middle; }
.g-fill { background: var(--x); }
.g-fill-50 { opacity: 0.4; }
.g-fill-90 { opacity: 0.2; }
.g-region { display: inline-block; width: 1.1rem; height: 0.8rem; background: var(--forecast-bg); opacity: 0.35; vertical-align: middle; }
.g-sw.trend { border-top: 1.5px dashed var(--soft); }
.result .note a { color: var(--accent); text-decoration-color: var(--border); text-underline-offset: 3px; }

/* the examples sheet: by idea, each card saying what it shows */
.g-idea { font-size: 1rem; font-variant: small-caps; letter-spacing: 0.1em; color: var(--accent); margin: 1rem 0 0.4rem; }
.g-sheet-cards .g-example-card { width: 16rem; text-align: left; }
.card-says { color: var(--soft); font-size: 0.82rem; line-height: 1.4; }

/* the parameter table: the defaults as values; the visitor's own marked */
.g-ptable input { color: var(--ink); }
.g-ptable input.g-mine { color: var(--accent); font-weight: 700; border-color: var(--accent); }
.g-mine-word { color: var(--accent); font-weight: 700; }

/* the mean's line: its mode in a word */
.g-meanbtn .g-mode { color: var(--soft); font-size: 0.85rem; margin-left: 0.6rem; white-space: nowrap; }

/* --- phase 6d: the statistics and their views ------------------------------- */
.g-stats { min-height: 10rem; }
.g-chip { background: var(--field); border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.6rem;
  font-size: 0.78rem; color: var(--ink); cursor: pointer; }
.g-chip:hover { border-color: var(--accent); }
.g-tabtitle { margin: 0.4rem 0 0.6rem; color: var(--ink); }
.g-statgrid { display: grid; gap: 0.8rem 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .g-statgrid { grid-template-columns: 3fr 2fr; } }
.g-statfig { margin: 0; min-width: 0; }
.g-statfig figcaption { font-family: var(--mono); font-size: 0.82rem; color: var(--soft); margin-bottom: 0.2rem; }
.chart.g-fan { height: 300px; }
.chart.g-density { height: 300px; }
@media (max-width: 700px) { .chart.g-fan, .chart.g-density { height: 240px; } }
.g-fill-x { background: var(--x); opacity: 0.45; }
.g-fill-x-f { background: var(--c2); opacity: 0.45; }
.g-sw-c1 { border-top-color: var(--c1); } .g-sw-c2 { border-top-color: var(--c2); } .g-sw-c3 { border-top-color: var(--c3); }
.g-sw-c4 { border-top-color: var(--c4); } .g-sw-c5 { border-top-color: var(--c5); } .g-sw-c6 { border-top-color: var(--c6); }
.g-tick { display: inline-block; width: 0; height: 0.8rem; border-left: 2px solid currentColor; vertical-align: middle; }
.g-tick.g-sw-c1 { color: var(--c1); } .g-tick.g-sw-c4 { color: var(--c4); } .g-tick.g-sw-c6 { color: var(--c6); }
table.g-elasticity caption { font-variant: normal; text-transform: none; letter-spacing: 0; }
.g-sw-ink { border-top-color: var(--ink); } .g-sw-x { border-top-color: var(--x); }
.g-sw.dash { border-top-style: dashed; }
.g-tick.g-sw-ink { color: var(--ink); } .g-tick.g-sw-x { color: var(--x); } .g-tick.g-sw-c2 { color: var(--c2); }
@media (min-width: 1100px) { .g-statgrid.g-stacked { grid-template-columns: 1fr; } }
.g-stacked .chart.g-density { height: 220px; }
.g-tick.g-sw-c2 { color: var(--c2); } .g-tick.g-sw-c3 { color: var(--c3); }
.g-statfig + .g-statfig, .g-statfig + table, table + table { margin-top: 1rem; }
.chart.g-density { height: 220px; }
.chart.g-spread { height: 160px; }
.g-number { margin: 1rem 0 0.2rem; }

/* ---- phase 6h: the results made readable ------------------------------------ */
/* the model section: what x is */
.g-define .katex { color: var(--accent); }
/* formulas set flush left */
.g-eqs { margin: 0.4rem 0 0.8rem; }
.g-eqs .katex-display { margin: 0.35rem 0; text-align: left; }
.g-eqs .katex-display > .katex { text-align: left; }
/* a figure's title, and the i that explains it */
.g-title { display: flex; align-items: center; gap: 0.4rem; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 1.2rem 0 0.3rem; }
.g-info { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; padding: 0; border-radius: 50%;
  border: 1px solid var(--soft); background: none; color: var(--soft); font: italic 700 0.75rem/1 var(--serif); cursor: pointer; vertical-align: middle; flex: none; }
.g-info:hover, .g-info:focus-visible { border-color: var(--accent); color: var(--accent); }
/* the popovers: centred, as the browser places them */
.g-pop { max-width: min(34rem, calc(100vw - 2rem)); padding: 0.9rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25); }
.g-pop::backdrop { background: rgba(0, 0, 0, 0.12); }
.g-pop-said { margin: 0.2rem 0 0.5rem; font-size: 0.92rem; line-height: 1.45; }
/* the fit card's line, a mark when there are notes */
.g-fitline { display: flex; align-items: center; gap: 0.4rem; color: var(--soft); font-size: 0.92rem; }
.g-warn { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--c3); color: #1a1a1a; font: 700 0.75rem/1 var(--serif); }
.g-notes { margin: 0 0 0.6rem; padding-left: 1.1rem; font-size: 0.92rem; }
.g-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, auto)); gap: 0.2rem 1.2rem; margin: 0 0 0.4rem; font-size: 0.9rem; }
.g-facts dt { color: var(--soft); font-size: 0.8rem; }
.g-facts dd { margin: 0; font-family: var(--mono); }
/* the parameters: fixed rows greyed, the mean's coefficients after them */
.g-row-fixed th, .g-row-fixed td { color: var(--soft); opacity: 0.8; }
/* the numbers: formula = value, the changes behind the i */
.g-nums { display: flex; flex-wrap: wrap; gap: 0.4rem 2.4rem; margin: 1rem 0; }
.g-num { display: flex; align-items: center; gap: 0.35rem; margin: 0; font-size: 1.05rem; }
.g-changes { border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.g-changes th, .g-changes td { padding: 0.3rem 1.2rem 0.3rem 0; border-bottom: 1px solid var(--grid); }
.g-changes thead th { font-weight: 400; text-align: right; color: var(--soft); }
.g-changes tbody th { text-align: left; font-weight: 400; }
.g-changes td { white-space: pre; text-align: right; font-family: var(--mono); font-size: 0.92rem; }
/* x's own derivatives: its mean in the accent, its spread dashed */
.g-sw-accent { border-top-color: var(--accent); }
.g-sw-soft { border-top-color: var(--soft); }
/* the tabs: a variable's name typeset; the strip scrolls on a phone */
[data-tabs] [role=tab] .katex { font-size: 1.05em; }
.g-statfig > figcaption.g-title { font-family: var(--serif); }
/* the data section's regular times, offered ticked */
.g-regular { display: flex; align-items: center; gap: 0.4rem; margin: 0.3rem 0; font-size: 0.92rem; cursor: pointer; }
.g-regular input { margin: 0; }
.g-tick.g-sw-soft { color: var(--soft); }

/* ---- phase 7b: the Model section, equations first, then three areas ------------ */
/* the equations, each once, flush left */
.g-model-out { margin: 0 0 0.6rem; }
.g-model-out .preview { margin: 0; }
.g-model-out .katex-display { margin: 0.25rem 0; text-align: left; }
.g-model-out .katex-display > .katex { text-align: left; }
/* KERNEL and MEAN: a rule above, the heading as PARAMETERS' (its text where the
   summaries' text is, after their arrow), the explanation in an i */
.g-area { border-top: 1px solid var(--border); padding: 0.55rem 0 0.75rem; }
.g-area-head { display: flex; align-items: center; gap: 0.4rem; padding-left: 1.8rem; margin: 0 0 0.45rem; }
.g-area-title { font-variant: small-caps; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; font-size: 1rem; margin: 0; }
.g-area > textarea { display: block; margin-left: 1.5rem; width: calc(100% - 1.5rem); }
.g-area-mean { display: flex; align-items: center; gap: 0.8rem; }
.g-area-mean .g-area-head { margin: 0; min-width: 6.5rem; }
.g-area-mean .g-meanbtn { flex: 1; width: auto; margin: 0; min-width: 0; }
/* STATISTICS: collapsed as PARAMETERS, its i beside the name */
details.g-area-stats > summary { gap: 0.4rem; align-items: center; }
details.g-area-stats > summary::before { margin-right: 0.4rem; }
details.g-area-stats > summary > span:first-of-type { min-width: 0; }
details.g-area-stats > textarea { display: block; width: calc(100% - 1.5rem); }
/* the statistics you can use: the form, and what it is */
.g-forms { border-collapse: collapse; margin: 0.6rem 0 0.2rem; font-size: 0.86rem; }
.g-forms th, .g-forms td { padding: 0.2rem 0.8rem 0.2rem 0; text-align: left; vertical-align: baseline; border: 0; font-weight: 400; }
.g-forms th { white-space: nowrap; }
.g-forms td { color: var(--soft); line-height: 1.35; }
.g-forms code { font-family: var(--mono); font-size: 0.8rem; }
.g-forms-note { color: var(--soft); font-size: 0.84rem; margin: 0.3rem 0 0.6rem; }
.g-deriv { color: var(--accent); font-style: italic; margin-left: 0.35rem; }
.g-forms-note .g-deriv { margin: 0 0.25rem 0 0; }
/* on a narrow screen, what a form is goes under it when there is no room beside */
@media (max-width: 700px) {
  .g-forms, .g-forms tbody { display: block; }
  .g-forms tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; margin-bottom: 0.35rem; }
  .g-forms th, .g-forms td { display: block; padding: 0; }
  .g-forms td { flex: 1 1 11rem; }
}

/* --- phase 7b: the sheets' heads, the mean's line ---------------------------- */
/* the heading as the sections' (MODEL), the button filled in the accent */
.models-head h2 { font: 700 0.95rem var(--serif); font-variant: small-caps; letter-spacing: 0.14em; color: var(--accent); }
.models-close { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; padding: 0.45rem 1.1rem; }
.models-close:hover { color: var(--accent-ink); filter: brightness(1.08); }
/* the mean's line: the trend's mode, then change */
.g-area-mean .g-meanbtn .what { flex: 0 1 auto; }
.g-area-mean .g-meanbtn .g-mode { color: var(--ink); font-size: inherit; margin: 0; }
.g-area-mean .g-meanbtn .what:not(:empty)::after { content: "·"; margin-left: 0.6rem; color: var(--soft); }

/* the Data section: examples · upload; a file dragged over it */
.g-step-links { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.g-step-links .g-sep { color: var(--soft); }
#data.g-over { outline: 1px dashed var(--accent); outline-offset: 0.3rem; border-radius: var(--radius); }
#data .g-drop.g-over { outline: none; }
/* the columns of a file, folded as PARAMETERS */
details.g-columns-more { margin-top: 0.6rem; }
.g-first-rows-title { margin: 0.7rem 0 0.2rem; color: var(--soft); font-size: 0.9rem; }
/* the KERNEL info: the named kernels, a table that scrolls on a phone */
.g-pop-wide { max-width: min(52rem, calc(100vw - 2rem)); max-height: min(80vh, 46rem); overflow: auto; }
.g-ktable-wrap { overflow-x: auto; }
.g-ktable { border-collapse: collapse; font-size: 0.86rem; width: 100%; }
.g-ktable th, .g-ktable td { padding: 0.35rem 0.8rem 0.35rem 0; border-bottom: 1px solid var(--grid); text-align: left; vertical-align: top; }
.g-ktable thead th { color: var(--accent); font-weight: 700; }
.g-ktable tbody th { font-weight: 400; white-space: nowrap; }
.g-ktable .g-kgroup th { padding-top: 0.8rem; font-family: var(--serif); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--border); }
.g-forecast { margin: 0.6rem 0 0.2rem; }
/* the wordmark inside running text (About, the footer) */
.g-about-wm { font-size: 1.05em; }
.about summary { cursor: pointer; color: var(--soft); }

/* The help sheet: its groups apart, as the user wrote them. */
.help .limits-list > div.g-help-gap { margin-top: 0.9rem; }
.g-sc { font-variant: small-caps; letter-spacing: 0.06em; }

/* the line a share link opens with when its result is not stored (phase 16) */
.g-link-notice { margin: 0 0 0.8rem; color: var(--ink); font-size: 0.95rem; animation: g-fade-in 0.6s ease-out both; }
.g-share-status { margin: 0.4rem 0 0; min-height: 1.2rem; font-size: 0.9rem; color: var(--soft); }
.g-share-status:empty { display: none; }
@keyframes g-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .g-link-notice { animation: none; } }
/* a link inside a sheet (Help's More row): the accent and an underline, as the About section's */
.models a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
.models a:hover, .models a:focus-visible { color: var(--ink); }
