/* site.css — the look shared by every Rule of Thumb page.
   Colors are set once as "tokens" below; dark mode just swaps the tokens. */

:root {
  /* Calm palette: soft off-white, one deep green accent, quiet greys. */
  --bg: #f6f6f3;
  --surface: #ffffff;
  --fg: #1f2421;
  --muted: #5f6763;
  --line: #e0e3df;
  --accent: #2a6b52;
  --accent-fg: #ffffff;
  --hero-bg: #eaf2ed;
  --wet-bg: #e6f0ea;
  --radius: 10px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141816; --surface: #1b201d; --fg: #e4e9e6; --muted: #9aa6a0; --line: #2d3531;
    --accent: #7cc4a6; --accent-fg: #0f1512; --hero-bg: #1c2a23; --wet-bg: #1f3129;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141816; --surface: #1b201d; --fg: #e4e9e6; --muted: #9aa6a0; --line: #2d3531;
  --accent: #7cc4a6; --accent-fg: #0f1512; --hero-bg: #1c2a23; --wet-bg: #1f3129;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 var(--display);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header and Tools dropdown menu */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); position: relative; z-index: 10; }
.site-header__inner {
  max-width: 960px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; min-width: 0; }
.brand__mark { color: var(--accent); display: flex; }
.brand__name { font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.5rem); letter-spacing: -0.01em; white-space: nowrap; }
.site-header__nav { display: flex; align-items: center; gap: 8px; flex: none; }
/* My workbench: a plain link to the home page's settings panel, shaped like
   the Tools button. On narrow phones only its icon shows, to keep one line. */
.bench-link {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--fg); text-decoration: none; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line);
}
.bench-link:hover { border-color: var(--accent); }
.bench-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bench-link__icon { display: flex; color: var(--accent); }
@media (max-width: 479px) {
  .bench-link { padding: 8px 11px; }
  .bench-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.tools-menu { position: relative; }
.tools-menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); max-width: 52vw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tools-menu summary::-webkit-details-marker { display: none; }
.tools-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Dropdown arrow: a small solid triangle that points right when closed
   and turns to point down when open. Used on every open/close box. */
.tools-menu__caret, .soon > summary::after, .settings-fold > summary::after {
  content: ""; width: 0; height: 0; flex: none;
  border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent currentColor;
  transition: transform 0.15s;
}
.tools-menu details[open] .tools-menu__caret, .soon[open] > summary::after, .settings-fold[open] > summary::after { transform: rotate(90deg); }
.tools-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.14); padding: 8px; max-height: 75vh; overflow-y: auto;
}
.tools-menu__panel a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--fg); text-decoration: none; }
.tools-menu__panel a:hover { background: var(--bg); }
.tools-menu__panel a[aria-current="page"] { background: var(--hero-bg); font-weight: 600; }
.tools-menu__all { font-weight: 600; }
.tools-menu__group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.tools-menu__label { margin: 4px 12px 2px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; }
.site-footer__inner { max-width: 960px; margin: 0 auto; padding: 24px 16px 32px; font-size: 0.875rem; }
.site-footer p { margin: 0 0 6px; max-width: 70ch; }
.site-footer__tip { margin-top: 12px !important; }

/* Page headings */
.page-head { padding: 40px 0 8px; }
.home-head { padding-top: 32px; }
.soon summary, .settings-fold > summary { cursor: pointer; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.soon summary h2, .settings-fold > summary h2 { margin: 0; display: inline; }
.soon summary, .settings-fold > summary { list-style: none; }
.soon summary::-webkit-details-marker, .settings-fold > summary::-webkit-details-marker { display: none; }
.soon > summary::after, .settings-fold > summary::after { margin-left: auto; align-self: center; color: var(--muted); }
.soon { border-top: 1px solid var(--line); padding-top: 16px; }
.soon ul { margin: 0; padding-left: 1.2em; max-width: 70ch; }
.soon li { margin-bottom: 4px; font-size: 0.95rem; }
.settings-fold form { margin-top: 16px; }

/* My workbench: the setup panel at the top of the home page */
.workbench { margin-top: 20px; scroll-margin-top: 16px; }
/* My notebook: saved designs, each a small picture, its name and date. */
.notebook { margin-top: 20px; scroll-margin-top: 16px; }
.notebook h2 { margin: 0; }
.notebook__intro { margin: 4px 0 12px; max-width: 60ch; }
.notebook__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.note { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 4px 4px 8px; min-width: 0; }
.note:hover { border-color: var(--accent); }
.note__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; padding: 6px 0; }
.note__pic { width: 44px; height: 44px; flex: none; }
.note__pic path { fill: color-mix(in srgb, var(--accent) 18%, transparent); stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.note__text { display: flex; flex-direction: column; min-width: 0; }
.note__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workbench h2 { margin: 0; }
.workbench__intro { margin: 4px 0 8px; max-width: 60ch; }
.workbench__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.workbench__summary p { margin: 0; flex: 1 1 220px; }
.workbench__block { margin-top: 20px; }
.workbench fieldset.workbench__block { border: 0; padding: 0; min-width: 0; }
.workbench .small { margin: 6px 0 0; }
.workbench__help { margin-top: 10px; }
.workbench__help p { max-width: 60ch; }
.workbench__done { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.workbench__done .status { margin: 0; }
.button.button--quiet { background: var(--surface); color: var(--fg); border-color: var(--line); }
.button.button--quiet:hover { border-color: var(--accent); }
.link-button { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--muted); font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg); cursor: pointer; font-weight: 500; }
.check span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 4px; flex: none; }
.check input:checked + span { border-color: var(--accent); background: var(--wet-bg); }
.check input:checked + span::before { background: var(--accent); border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--wet-bg); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.clay-list { display: grid; gap: 10px; margin: 10px 0 12px; }
.clay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.clay-row .field { display: flex; align-items: center; gap: 6px; }
.clay-row__name { flex: 1 1 60%; min-width: 0; }
.clay-row__name input { width: 100%; min-width: 0; }
.clay-row__pct input { width: 7ch; }
.clay-row__use { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.85rem; color: var(--muted); cursor: pointer; }
.clay-row__use input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.clay-row__pct b { font-weight: 500; color: var(--muted); }
@media (max-width: 480px) { .clay-row__pct { margin-left: 52px; } }
.fav-scale { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.fav-scale .field { display: flex; align-items: center; gap: 6px; }
h1 { font-weight: 600; font-size: clamp(1.35rem, 3.6vw, 1.7rem); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-weight: 600; font-size: 1.15rem; margin: 0 0 8px; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.05rem; margin: 0 0 4px; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
section { margin-top: 32px; }

/* Cards (tool list, settings box, result panels) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding: 0; margin: 0; list-style: none; }
.tool-card { display: flex; flex-direction: column; gap: 6px; height: 100%; position: relative; transition: border-color 0.15s, box-shadow 0.15s; }
.tool-card:has(a.cover):hover { border-color: var(--accent); box-shadow: 0 6px 16px rgb(0 0 0 / 0.06); }
.tool-card a.cover::after { content: ""; position: absolute; inset: 0; }
.tool-card a.cover h3 { color: var(--fg); }
.tool-card a.cover h3::after { content: " →"; color: var(--accent); }
.tool-card__group { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tool-card a.cover { color: inherit; text-decoration: none; }
.tool-section { margin-top: 28px; }
.tool-section__blurb { margin: 0 0 12px; max-width: 60ch; }
.badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}

/* Form fields */
.fields { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; }
.field { display: grid; gap: 4px; }
.field > span, fieldset > legend {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600;
}
input[type="text"], input[type="number"], input[type="email"], input[type="password"], select {
  font: 500 1rem var(--mono); padding: 8px 10px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg);
}
input.short { width: 9ch; }
input.medium { width: 18ch; max-width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 14px; min-height: 44px; font: 500 0.95rem var(--mono); cursor: pointer; }
.segmented label + label span { border-left: 1px solid var(--line); }
.segmented input:checked + span { background: var(--accent); color: var(--accent-fg); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.status { font-size: 0.85rem; color: var(--accent); min-height: 1.3em; margin: 12px 0 0; }

/* Results tables used by the tools */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.results { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.results th, .results td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.results th:first-child, .results td:first-child { text-align: left; }
.results thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.results td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.results td:first-child { font-family: var(--display); font-weight: 600; }
.results tbody tr:last-child td { border-bottom: none; }
.wet { background: var(--wet-bg); }
.results td .sub { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.results td.wet .sub { color: var(--fg); opacity: 0.75; }

/* The big answer number on a tool page */
.answer { font: 500 clamp(1.6rem, 6vw, 2.4rem)/1.2 var(--mono); color: var(--fg); margin: 4px 0; }
.answer-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }

/* Plain-language "how it works" text under each tool */
.explain { max-width: 68ch; }
.explain p { margin: 0 0 12px; }
.formula { font-family: var(--mono); font-size: 0.92rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; }


/* Small shared helpers */
.small { font-size: 0.85rem; margin: 8px 0 0; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.error { color: #b3261e; font-size: 0.9rem; min-height: 1.3em; margin: 8px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .error { color: #f2a59e; } }
:root[data-theme="dark"] .error { color: #f2a59e; }
input[aria-invalid="true"] { border-color: #b3261e; }

/* Stray taps: a quick double-tap or a mis-tap on a phone can highlight a block
   of text. Buttons, labels, headings, the menu, the tool cards and the 3D view
   can't be highlighted. Answers, tables and the explanation text still can,
   so people can copy a number. touch-action: manipulation also stops a quick
   double-tap on a button from zooming the page. */
button, .button, .chip, .segmented, label, legend, summary, select,
h1, h2, h3, .site-header, .site-footer, .tool-card, .pot-stage, .dim-labels {
  -webkit-user-select: none; user-select: none;
}
button, .button, .chip, .segmented label, summary, select { touch-action: manipulation; }
/* Typing boxes must stay selectable even inside a label (Safari won't let you
   type or place the cursor otherwise). */
input, textarea { -webkit-user-select: text; user-select: text; }

/* Buttons */
.button, .chip {
  font: 600 0.95rem var(--display); min-height: 44px; padding: 8px 16px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-fg);
}
/* A link styled as a button (e.g. the Unlock checkout link). */
a.button, a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.button:disabled { opacity: 0.45; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg); color: var(--fg); border-color: var(--line); font-family: var(--mono); font-weight: 500; padding: 8px 12px; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

/* Tool layout: a row of answer cards that stacks on phones */
.scale-row { margin-top: 16px; }
.scale-input { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.scale-input .field { display: flex; align-items: center; gap: 6px; }
/* The named-scale menu on the Scale converter: its options are long, so let it
   shrink to fit a phone instead of pushing the page sideways. */
.scale-input .field.scale-pick { flex: 1 1 16rem; min-width: 0; }
.scale-pick select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.scale-prefix { font: 500 1.1rem var(--mono); color: var(--muted); }
.result-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 12px; }
.result p { margin: 0; }
.result .answer { overflow-wrap: anywhere; font-size: clamp(1.3rem, 5vw, 1.75rem); }
.result-grid.is-empty .answer { color: var(--muted); }
.lumber-pick { margin: 12px 0 16px; }
fieldset > .segmented { justify-self: start; }
.lumber-table h3 { margin-top: 0; }
.lumber-table .small { margin: 0 0 8px; }
/* On phones, each lumber row becomes a small card: name on top, then
   Real / Fired / Wet side by side, so the wet size never scrolls out of view. */
@media (max-width: 640px) {
  .lumber-table .scroll { overflow: visible; border: 0; background: none; }
  .lumber-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lumber-table tbody tr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
    margin-bottom: 8px; overflow: hidden;
  }
  .lumber-table tbody td { display: block; border: 0; text-align: left; white-space: normal; padding: 6px 10px 8px; font-size: 0.85rem; }
  .lumber-table tbody td:first-child { grid-column: 1 / -1; padding: 8px 10px 0; font-size: 0.95rem; }
  .lumber-table tbody td:first-child .sub { display: inline; margin-left: 6px; }
  .lumber-table tbody td[data-label]::before {
    content: attr(data-label); display: block; font: 600 0.68rem var(--display);
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2px;
  }
  .lumber-table tbody tr:last-child td { border-bottom: 0; }
  .no-wet .lumber-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Clay shrinkage: one chart, settings on top, answers beside each box */
.chart-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 12px 16px; align-items: end; }
.chart-settings select, .chart-settings .clay-pick select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.chart { margin-top: 16px; }
.chart .results th[scope="row"] { text-align: left; font-weight: 600; font-size: 0.95rem; }
.chart .results tbody tr:last-child th { border-bottom: none; }
.chart .results td { font-size: 1.05rem; white-space: normal; vertical-align: middle; }
.chart .results td.wet { font-weight: 600; }
.chart .results td input { width: 8.5ch; min-height: 40px; padding: 6px 8px; text-align: right; font: 500 1rem var(--mono); }
.with-unit { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); }
.chart .results td:nth-child(2) { text-align: right; }
.chart-note { margin-top: 12px; }
#calc .error:empty { display: none; }
.chart .results td input.is-auto { background: transparent; border-style: dashed; color: var(--accent); }
.tile-figure { margin: 8px 0 16px; max-width: 420px; }
.tile-figure svg { width: 100%; height: auto; display: block; }
.tf-wet { fill: var(--wet-bg); stroke: var(--muted); stroke-width: 1.5; }
.tf-fired { fill: var(--surface); stroke: var(--muted); stroke-width: 1.5; }
.tf-line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.tf-label { fill: var(--muted); font: 600 12px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.tf-num { fill: var(--fg); font: 600 15px var(--mono); }
.tf-small { fill: var(--muted); font: 400 12px var(--mono); }
/* Plaster calculator */
.plaster-fields { margin-top: 16px; }
.plaster-model { margin-top: 20px; }
.plaster-type { margin-top: 20px; }
.field .unit { text-transform: none; letter-spacing: 0; font-weight: 400; }
.chip-num { opacity: 0.7; margin-left: 4px; }
.plaster-steps { margin-top: 16px; }
.plaster-steps ol { margin: 8px 0 0; padding-left: 1.4em; max-width: 64ch; }
.plaster-steps li { margin-bottom: 6px; }
.answer--inline { margin: 0; min-height: 44px; display: flex; align-items: center; }

@media print {
  :root { --bg: #fff; --surface: #fff; --fg: #000; --muted: #444; --line: #bbb; --wet-bg: #eee; --accent: #000; --hero-bg: #fff; color-scheme: light; }
  .tools-menu, .bench-link, .soon, .settings-fold, .workbench, .notebook, [data-no-print], [data-clay-settings] { display: none !important; }
  .site-header, .site-footer { border: 0; }
  .site-footer__tip { display: none; }
  section { break-inside: avoid; }
  .card { border-color: #bbb; }
  .result-grid { grid-template-columns: repeat(3, 1fr); }
  .result-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .error:empty, .status:empty { display: none; }
  .lumber-table[hidden] { display: block !important; }
  .lumber-table + .lumber-table { margin-top: 16px; }
}

/* Profile designer: the 3D view */
.pot-card { display: grid; gap: 12px; }
.pot-stage {
  position: relative; border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
}
/* touch-action: pan-y lets an up-and-down finger swipe scroll the page as
   usual, while a sideways swipe turns the pot. Two fingers pinch to zoom and
   slide up or down together to tilt. */
.pot-canvas { display: block; width: 100%; height: clamp(280px, 55vh, 520px); touch-action: pan-y; cursor: grab; outline: none; }
.pot-stage.is-dragging .pot-canvas { cursor: grabbing; }
.pot-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.pot-tools { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.pot-tools .chip { background: var(--surface); min-width: 44px; padding: 8px 10px; }
.pot-fallback { padding: 48px 16px; text-align: center; margin: 0; }
.pot-size { margin: 0; font-family: var(--mono); font-size: 0.95rem; }
.pot-size strong { font-family: var(--display); font-weight: 600; }
@media print { .pot-canvas { height: 360px; } .pot-stage { background: none; } }
/* Dimension labels sit over the 3D view; page.js moves each one to the middle
   of its line. */
.dim-labels { position: absolute; inset: 0; pointer-events: none; }
.dim-label {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font: 500 0.8rem var(--mono); color: var(--accent);
  background: color-mix(in srgb, var(--surface) 85%, transparent); padding: 1px 5px; border-radius: 4px;
}
.dim-label--right { margin: -0.7em 0 0 8px; }
.dim-label--above { margin: -1.9em 0 0; translate: -50% 0; }
.dim-label--below { margin: 0.5em 0 0; translate: -50% 0; }
.pot-tools .chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.dim-label--right.dim-label--left { margin-left: 0; translate: calc(-100% - 8px) 0; }
/* Shape buttons, Smooth and units in one row above the view; wraps on phones. */
.pot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* Name and save to My notebook. */
.pot-save { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pot-save__name { flex: 1 1 200px; }
.pot-save__name input { width: 100%; }
.pot-save__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pot-save__link { font-size: 0.9rem; }
.pot-save__status { flex-basis: 100%; margin: 0; }
.pot-save__status:empty { display: none; }
.pot-units { margin-left: auto; }
.pot-bar .chip { padding: 8px 10px; }
.pot-bar__label { margin: 0; }

/* Profile designer: the flat outline editor beside the 3D view */
.pot-work { display: grid; gap: 12px; }
@media (min-width: 760px) { .pot-work { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.pot-editor { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); position: relative; overflow: hidden; }
/* The empty parts of the outline scroll the page like anywhere else; only the
   points and the line itself catch a finger for drawing. */
.ed { display: block; width: 100%; height: clamp(280px, 55vh, 520px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ed-handle, .ed-hit { touch-action: none; }
/* On phones both boxes are a little shorter, so there's page around them. */
@media (max-width: 640px) { .ed, .pot-canvas { height: min(48vh, 340px); } }
.pot-hint { margin: 0; padding: 6px 10px 8px; font-size: 0.8rem; border-top: 1px solid var(--line); }
.ed-grid line { stroke: var(--line); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.ed-grid line.major { stroke: color-mix(in srgb, var(--line) 60%, var(--muted)); }
.ed-grid line.table { stroke: var(--muted); stroke-width: 1.5px; }
.ed-axis { stroke: var(--muted); stroke-width: 1px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.ed-mirror { fill: none; stroke: var(--muted); stroke-width: 1px; stroke-dasharray: 3 4; opacity: 0.6; vector-effect: non-scaling-stroke; }
.ed-wall { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: none; }
.ed-line { fill: none; stroke: var(--accent); stroke-width: 2.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ed-hit { fill: none; stroke: transparent; stroke-width: 28px; vector-effect: non-scaling-stroke; cursor: copy; pointer-events: stroke; }
.ed-handle { cursor: grab; }
.ed.is-dragging .ed-handle { cursor: grabbing; }
.ed-grab { fill: transparent; }
.ed-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.ed-handle.is-selected .ed-dot { fill: var(--accent); }
.pot-fields { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.pot-fields fieldset:disabled { opacity: 0.55; }
.pot-fields .fields { gap: 12px 16px; }
@media print { .ed { height: 360px; } }
/* Square handle = sharp corner, round handle = smooth curve. */
.ed-handle .ed-round, .ed-handle.is-curve .ed-square { display: none; }
.ed-handle.is-curve .ed-round { display: inline; }
/* Profile designer: the numbers */
.pot-results { margin-top: 0; }
.pot-result { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--surface); }
.pot-result.wet { background: var(--wet-bg); }
.pot-shrink { margin: 0; }
/* Grid children may shrink below their content, so the wide nesting table
   scrolls inside its box on phones instead of stretching the card. */
.pot-card > * { min-width: 0; }
.pot-nest { display: grid; gap: 12px; }
.pot-nest .error { margin: 0; }
.pot-nest .results th { vertical-align: bottom; }
.pot-nest .results th .sub { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.pot-nest .results td .sub { display: inline; margin-left: 6px; }
@media (max-width: 480px) { .pot-nest .results th, .pot-nest .results td { padding: 8px 6px; } }

/* Clay absorption: four-column chart of tiles, and the reading guide */
.absorb-chart th[scope="row"] { padding-right: 4px; }
.absorb-chart .tile-name { width: 100%; min-width: 6ch; max-width: 14ch; min-height: 40px; padding: 6px 4px; font: 600 0.95rem var(--display); border: none; border-bottom: 1px dashed var(--line); border-radius: 0; background: transparent; color: var(--fg); }
.absorb-chart td input { width: 6.5ch; }
.absorb-chart td:nth-child(3) { text-align: right; }
.absorb-chart th, .absorb-chart td { padding-left: 6px; padding-right: 6px; }
.absorb-guide td { white-space: normal; vertical-align: top; }
.absorb-guide td:first-child { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.absorb-guide td:last-child { text-align: left; font-family: var(--display); }
.absorb-guide tr.is-hit td { background: var(--wet-bg); }
.absorb-guide tr.is-hit td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.explain ol { margin: 0 0 12px; padding-left: 1.4em; }
.explain ol li { margin-bottom: 4px; }
.starters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.starters [data-starters] { display: contents; }
.starters .chip { font-family: inherit; padding: 6px 10px; }
@media print { .starters { display: none; } }
/* Profile designer on a phone turned sideways: outline and 3D pot side by side,
   each as tall as the screen allows, so you can watch the pot while you drag. */
.pot-turn { display: none; }
@media (max-width: 640px) and (orientation: portrait) and (pointer: coarse) { .pot-turn { display: inline; } }
@media (orientation: landscape) and (max-height: 500px) {
  .pot-work { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed { height: max(170px, calc(100svh - 120px)); }
  .pot-canvas { height: max(220px, calc(100svh - 64px)); }
}
/* Profile designer: up/down nudge arrows beside the size boxes, and the ‹ › point picker. */
.nudge { display: inline-flex; align-items: stretch; }
.nudge input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.nudge-btns { display: flex; flex-direction: column; }
.nudge-btn {
  min-width: 34px; flex: 1; padding: 0 6px; font: 0.7rem var(--mono); line-height: 1; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg);
}
.nudge-btns .nudge-btn { border-left: 0; }
.nudge-btns .nudge-btn:first-child { border-top-right-radius: 6px; border-bottom: 0; }
.nudge-btns .nudge-btn:last-child { border-bottom-right-radius: 6px; }
.nudge-btn:active { background: var(--accent); color: var(--accent-fg); }
.nudge-btn:disabled { opacity: 0.45; cursor: default; }
.pot-point-pick { display: flex; align-items: center; gap: 8px; }
.pot-point-pick .nudge-btn { min-height: 32px; min-width: 32px; border-radius: 6px; font-size: 1.1rem; }

/* Profile designer: flat slab template. On screen the whole sheet is scaled to
   fit; printing swaps the page for true-size Letter pages (template.js). */
.pot-tpl { display: grid; gap: 10px; justify-items: start; }
.pot-tpl-body { display: grid; gap: 10px; width: 100%; }
.pot-tpl-body p { margin: 0; }
.t-wrap { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px; overflow: hidden; }
.t-sheet { display: block; width: 100%; height: auto; max-height: 70vh; }
.t-list { margin: 0; padding-left: 1.2em; }
.t-list li { margin-bottom: 4px; }
.t-cut { fill: none; stroke: #111; stroke-width: 0.35; }
.t-tab { fill: none; stroke: #111; stroke-width: 0.3; stroke-dasharray: 2 1.5; }
.t-dart { fill: #ddd; stroke: none; }
.t-mark { fill: none; stroke: #111; stroke-width: 0.35; }
.t-check { fill: none; stroke: #111; stroke-width: 0.3; }
.t-join { fill: none; stroke: #999; stroke-width: 0.25; }
.t-label { font: 600 6px/1 var(--display); fill: #111; }
.t-title { font: 600 4.2px/1 var(--display); fill: #111; }
.t-small { font: 3px/1 var(--display); fill: #333; }
.t-label--small { font-size: 4px; }
.t-warn { margin: 0; padding: 8px 10px; border-left: 3px solid var(--accent); background: var(--wet-bg); border-radius: 4px; }
.t-tips { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; width: 100%; box-sizing: border-box; }
.t-tips ul { margin: 4px 0 0; padding-left: 1.2em; }
.t-tips li { margin-bottom: 2px; }
.tpl-print { display: none; }
@media print {
  @page { size: letter; margin: 0.3in; }
  html.print-template body > :not(.tpl-print) { display: none !important; }
  html.print-template .tpl-print { display: block; }
  html.print-template body { background: #fff; }
  html.print-template body { margin: 0; padding: 0; }
  .tpl-page { break-after: page; page-break-after: always; break-inside: avoid; overflow: hidden; }
  .tpl-page:last-child { break-after: auto; page-break-after: auto; }
  .tpl-page svg { display: block; }
}

/* ===== Warm pencil look (Nov 24 2026): matches chouinard.studio.
   White paper, graphite ink, light Geist type, nothing shouty.
   This block only re-sets colours and type; everything above still applies. ===== */
:root {
  --bg: #fafaf8; --surface: #ffffff; --fg: #2f3032; --muted: #6c6d72; --line: #dcdcd8;
  --accent: #3a3b3d; --accent-fg: #fafaf8; --accent-soft: #efefec;
  --ember: #9a4a2a;                 /* salt-glaze orange, used sparingly */
  --hero-bg: #f3f2ee; --wet-bg: #f7efe9;
  --display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1b1a; --surface: #222220; --fg: #e8e6e1; --muted: #a3a19b; --line: #3a3936;
    --accent: #e8e6e1; --accent-fg: #1b1b1a; --accent-soft: #2c2b29; --ember: #e0a160;
    --hero-bg: #262523; --wet-bg: #2e2620;
  }
}
:root[data-theme="dark"] {
  --bg: #1b1b1a; --surface: #222220; --fg: #e8e6e1; --muted: #a3a19b; --line: #3a3936;
  --accent: #e8e6e1; --accent-fg: #1b1b1a; --accent-soft: #2c2b29; --ember: #e0a160;
  --hero-bg: #262523; --wet-bg: #2e2620;
}
body { font-weight: 300; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, .brand__name { font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 300; }
strong, b { font-weight: 500; }
.lede { font-size: 1.05rem; }
/* Labels: quiet sentence case instead of small shouting capitals */
.field > span, fieldset > legend, .answer-label, .results thead th, .tool-card__group, .badge, .tools-menu__label, .soon__label {
  text-transform: none; letter-spacing: 0; font-size: 0.9rem; font-weight: 400; color: var(--muted);
}
input[type="text"], input[type="number"], input[type="email"], input[type="password"], select { font: 400 1.05rem var(--display); background: var(--surface); border-radius: 4px; }
.segmented { border-radius: 999px; }
.segmented span { font: 400 0.95rem var(--display); padding: 10px 16px; }
.segmented input:checked + span { background: var(--accent-soft); color: var(--fg); box-shadow: inset 0 0 0 1px var(--accent); border-radius: 999px; }
.button, .chip, .bench-link, .tools-menu summary { font: 400 0.95rem var(--display); border-radius: 999px; }
.button { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip { background: transparent; border-color: var(--line); }
.chip:hover, .button--quiet:hover { border-color: var(--accent); }
.chip[aria-pressed="true"], .pot-tools .chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--fg); border-color: var(--accent); }
.card { border-radius: 4px; }
.answer { font-weight: 300; }
.results td:first-child { font-weight: 400; }
.dim-label { font: 400 0.85rem var(--display); color: var(--fg); }
.formula { font-family: var(--display); }

/* Profile designer, calmer: three plain answers in a line, no boxes */
.pot-results { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 24px; padding: 4px 2px 0; }
.pot-result { border: 0; padding: 0; background: none; }
.pot-result .answer { font-size: clamp(1.25rem, 4.5vw, 1.5rem); margin: 0; }
.pot-result.wet { background: none; }
.pot-result.wet .answer { color: var(--ember); }
.pot-main { padding-top: 12px; border-top: 1px solid var(--line); }
/* The point box only shows once you tap a point on the drawing */
.pot-fields fieldset.pot-point:disabled { display: none; }
.pot-point-pick .nudge-btn { border-radius: 999px; }
.nudge-btn { background: var(--surface); }
/* More options: tap a line to open it */
.more-list { border-top: 1px solid var(--line); }
.more { border-bottom: 1px solid var(--line); }
.more > summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  padding: 14px 28px 14px 2px; position: relative; min-height: 44px;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.3rem; font-weight: 200; color: var(--muted); transition: transform 0.2s; }
.more[open] > summary::after { transform: rotate(45deg); }
.more__title { color: var(--fg); font-weight: 400; }
.more__hint { color: var(--muted); font-size: 0.88rem; }
.more__body { padding: 0 2px 18px; display: grid; gap: 12px; }
.pot-save { border-top: 0; margin-top: 4px; padding-top: 0; }
@media (max-width: 480px) { .pot-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Profile designer: with Clay picked, one plain line says the size to make is bigger */
.wet-note { flex-basis: 100%; margin: 0; padding: 8px 12px; border-left: 2px solid var(--ember); background: var(--wet-bg); font-size: 0.95rem; }
.wet-note strong { color: var(--ember); font-weight: 500; white-space: nowrap; }
.wet-tag { display: inline-block; margin-right: 6px; padding: 0 8px; border: 1px solid var(--ember); border-radius: 999px; color: var(--ember); font-size: 0.8rem; line-height: 1.6; }
/* On screen the wet line replaces the third answer box; printing still shows the box. */
@media screen { .pot-results .pot-result.wet { display: none !important; } }

/* Readability: a touch heavier than the website's hairline 300, since these
   pages are read while working; labels in drawings lose their capitals too. */
body { font-weight: 350; }
:root { --muted: #626368; }
.tf-label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.tf-num { font-weight: 500; }
.chart .results th[scope="row"], .chart .results td.wet, .results th[scope="row"] { font-weight: 450; }
.tools-menu__panel a[aria-current="page"], .tools-menu__all, .pot-size strong, .absorb-chart .tile-name { font-weight: 450; }
.results td:first-child { font-weight: 450; }
.lumber-table tbody td[data-label]::before { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.8rem; }

/* Paid extras, said up front (Nov 29): a small "$10 unlock" tag on the line
   in the list, and an offer box with a faded preview when it's opened. */
.paid-tag { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid var(--ember); border-radius: 999px; color: var(--ember); font-size: 0.78rem; line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
.paid-tag--done { border-color: var(--line); color: var(--muted); }
.unlock-offer { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px 22px; align-items: start; width: 100%;
  padding: 16px; border: 1px solid var(--line); border-left: 2px solid var(--ember); border-radius: 4px; background: var(--hero-bg); }
.unlock-offer[hidden] { display: none; }
.unlock-offer__preview { position: relative; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); padding: 10px; overflow: hidden; }
.unlock-offer__sheet svg { display: block; width: 100%; height: auto; max-height: 200px; opacity: 0.6; }
.unlock-offer__sheet svg * { vector-effect: non-scaling-stroke; }
.unlock-offer__sheet .t-cut, .unlock-offer__sheet .t-mark { stroke: var(--fg); stroke-width: 1.4px; }
.unlock-offer__sheet .t-tab, .unlock-offer__sheet .t-join { stroke: var(--muted); stroke-width: 1px; stroke-dasharray: 4 3; }
.unlock-offer__sheet .t-dart { fill: var(--line); }
.unlock-offer__badge { display: block; margin-top: 8px; text-align: center; color: var(--muted); font-size: 0.8rem; }
.unlock-offer__text { display: grid; gap: 8px; }
.unlock-offer__text p { margin: 0; }
.unlock-offer__title { font-size: 1.05rem; font-weight: 450; }
.unlock-offer__list { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: 0.95rem; }
.unlock-offer__list li::marker { color: var(--ember); }
.unlock-offer__price strong { color: var(--ember); }
.unlock-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 2px; }
.unlock-offer__restore { font-size: 0.92rem; color: var(--fg); }
@media (max-width: 560px) { .unlock-offer { grid-template-columns: 1fr; padding: 14px; } .unlock-offer__preview { max-width: 260px; } }
.tool-card__paid { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); }

/* "Add to Home Screen" on the home page (Nov 29): a quiet pill under the
   intro line; on iPhone and Android it opens three short steps. */
.home-screen { margin-top: 14px; }
.home-screen[hidden] { display: none; }
.home-screen__btn { display: inline-flex; align-items: center; gap: 8px; }
.home-screen__btn svg { flex: none; }
.home-screen__steps { margin-top: 12px; max-width: 34rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.home-screen__steps[hidden] { display: none; }
.home-screen__list { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.home-screen__list b { font-weight: 500; }
.home-screen__note { margin: 10px 0 0; font-size: 0.9rem; }
@media print { .home-screen { display: none !important; } }

/* The slab template's "Download printable PDF" is the main thing to do there,
   so it's the one filled salt-glaze button (Den, Nov 29). */
.button.t-print { background: var(--ember); border-color: var(--ember); color: var(--bg); font-weight: 500; padding: 12px 22px; margin-top: 4px; }
.button.t-print:hover:not(:disabled) { filter: brightness(1.08); }
.button.t-print:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
@media (max-width: 560px) { .button.t-print { width: 100%; } }

/* Tips (Dec 3): a "Leave a tip" pill in the footer and one quiet line under
   each tool's answer. Visible, never nagging; tips unlock nothing. */
.site-footer__tip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tip-pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 16px; min-height: 44px; }
.tip-pill__icon { display: flex; color: var(--ember); }
.button.button--quiet.tip-pill:hover { border-color: var(--ember); }
.tip-line { margin: 6px 0 0; display: flex; justify-content: flex-end; }
.tip-cup { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ember); opacity: 0.75; }
.tip-cup:hover, .tip-cup:focus-visible { opacity: 1; background: var(--accent-soft); }
.tip-cup svg { width: 20px; height: 20px; }

/* Trademark mark after the site name in the header (first mention on every page). */
.brand__name .tm { font-size: 0.45em; vertical-align: super; line-height: 0; margin-left: 0.08em; font-weight: 400; }

/* Accounts (Dec 2026): the /account/ page, the account button in the top bar,
   and the plain info pages (How it works, Privacy, Terms). */
.acct { display: grid; gap: 4px; max-width: 34rem; }
.acct h2 { margin: 0 0 6px; }
.acct p { margin: 6px 0; }
.acct__form { display: grid; gap: 12px; margin-bottom: 4px; }
.acct__form input { width: 100%; }
.acct__delete { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.acct__delete summary { cursor: pointer; color: var(--muted); }
.acct-link { position: relative; }
.acct-link__dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.page-text { max-width: 40rem; }
.page-text h2 { margin-top: 28px; }
.page-text li { margin: 4px 0; }
.page-text table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.page-text th, .page-text td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.site-footer__links a { margin-right: 12px; }

/* "How to add it to your Home Screen" drop-down on How it works */
.how-steps { margin: 12px 0; }
.how-steps summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.how-steps h3 { font-size: 1rem; margin: 18px 0 4px; }
.how-steps ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.how-steps b { font-weight: 500; }
@media print { .how-steps { border: 0; padding: 0; } .how-steps:not([open]) > *:not(summary) { display: block; } }

/* First-visit welcome card on the home page */
.welcome[hidden] { display: none; }
.welcome h2 { margin-top: 0; }
@media print { .welcome { display: none !important; } }
