/* Ferment. Warm laboratory: enamel paper, one brine ochre accent, grid paper under every chart.
   One theme, because a kitchen notebook is a daylight object. One radius family. */

:root {
  /* Warm laboratory, lit from inside a jar. One accent hue, three depths of it:
     --accent carries every label and control (AA on paper and on card),
     --accent-deep is the shadow end of the same hue, --honey is light through glass
     and is never used for text. Measured, not guessed. */
  --paper:   #F4EDE0;
  --paper-2: #EDE4D3;
  --card:    #FFFAF1;
  --card-2:  #F0E7D5;
  --ink:     #2A2118;
  --ink-2:   #4E4234;
  --muted:   #6B5F4E;
  --hair:    #E2D8C4;
  --hair-2:  #CDC1A7;
  --accent:  #A4501B;
  --accent-lit:  #AE5518;
  --accent-deep: #7E3B12;
  --accent-soft: rgba(164, 80, 27, .10);
  --accent-line: rgba(164, 80, 27, .30);
  --honey:     #E9A33A;
  --honey-lit: #F7CE86;
  --on-accent: #FFF6E6;
  --warn:    #8A2A1A;
  --warn-soft: rgba(138, 42, 26, .10);
  --grid:    rgba(107, 95, 78, .17);

  /* tinted shadows, never neutral grey */
  --lift-1: 0 1px 2px rgba(90, 45, 15, .06), 0 2px 10px -6px rgba(90, 45, 15, .22);
  --lift-2: 0 1px 2px rgba(90, 45, 15, .08), 0 12px 26px -14px rgba(90, 45, 15, .40);
  --glow:   0 8px 30px -12px rgba(201, 124, 38, .55);

  --r: 14px;
  --r-sm: 9px;
  --pill: 999px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --measure: 34rem;
  --tabh: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  user-select: none;
}
/* Paper grain. Two offset dot fields at very low opacity, so a flat fill never looks like plastic. */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-radial-gradient(circle at 17% 43%, rgba(126, 59, 18, .055) 0 .7px, transparent .7px 3.4px),
    repeating-radial-gradient(circle at 63% 71%, rgba(126, 59, 18, .04) 0 .6px, transparent .6px 2.9px);
}
input, textarea, select { user-select: text; font-family: inherit; }
button { font: inherit; color: inherit; }

/* ---------- layout ---------- */
#stage { position: fixed; inset: 0 0 var(--tabspace, 0px) 0; }
body.has-tabs { --tabspace: calc(var(--tabh) + var(--sab, 0px)); --tabbar: var(--tabh); }
body.is-capturing { --tabspace: 0px; --tabbar: 0px; }

.view, .screen { position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--paper); }
.view[hidden], .screen[hidden] { display: none !important; }

.scroller {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(18px + var(--sat, 0px)) 18px 40px;
}
.page > .scroller { padding-top: 12px; }
.scroller > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 20, "WONK" 1; letter-spacing: -0.012em; }
h1.xl { font-size: 34px; line-height: 1.04; margin: 2px 0 0; letter-spacing: -0.022em; text-wrap: balance; }
h2.serif { font-size: 22px; line-height: 1.18; margin: 0; letter-spacing: -0.016em; text-wrap: balance; }
h3 { text-wrap: balance; }
.thing-badge, .ag-when, .count, .factrow b, table.lab td.n, table.lab td.pct, .rung .num,
.rung .meta, .stg .when, .target, .chartwrap .cap span, .logrow .t, .logrow .k .v {
  font-variant-numeric: tabular-nums;
}
.eyebrow { text-wrap: balance; }
h3 { font-size: 16px; margin: 0; font-weight: 600; }
.eyebrow { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 500; }
.eyebrow.mt { margin-top: 30px; }
.lede { font-size: 17px; color: var(--ink-2); margin: 14px 0 0; text-wrap: pretty; }
.help { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.fineprint { font-size: 13px; color: var(--muted); margin: 26px 0 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.warn { color: var(--warn); }

/* ---------- view headers ---------- */
.vhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.vhead.viewband { align-items: center; }
.iconbtn { width: 40px; height: 40px; border: 1px solid var(--hair); background: var(--card);
  border-radius: var(--pill); display: grid; place-items: center; cursor: pointer; flex: none; }
.iconbtn svg { width: 19px; height: 19px; fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; }
.iconbtn:active { background: var(--card-2); transform: scale(.94); }
.iconbtn { transition: transform .12s ease, background-color .12s ease; box-shadow: var(--lift-1); }

/* The shared icon shape language. Every mark is drawn on a 24 unit grid, so the stroke width
   below is solved per display size to land on the same 1.35 CSS pixels on screen. */
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; display: block; }

/* the right column of the shelf: settings above, the jar hanging below */
.shelf-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }

/* the small accurate vessel that names what kind of thing this is */
.kindmark { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.15;
  stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -3px; margin-right: 6px; }
.rungmark { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.47;
  stroke-linecap: round; stroke-linejoin: round; align-self: center; opacity: .75; }

/* the family glyph on a detail page, set like a specimen on warm ground */
.specimen { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: var(--pill);
  margin-bottom: 12px; box-shadow: var(--lift-1), inset 0 1px 0 rgba(255, 255, 255, .7);
  background: radial-gradient(80% 80% at 50% 24%, #FFF6E4, #F0E2C6);
  border: 1px solid var(--hair); }
.specimen .vessel { width: 34px; height: 34px; margin: 0; }

/* the feed reading on a culture page */
.feedrow { display: flex; gap: 14px; align-items: center; }
.herojar { display: block; margin: 0 0 8px -4px; filter: drop-shadow(0 8px 14px rgba(126, 59, 18, .24)); }
.rhero .sub .kindmark { stroke: var(--accent); }
.jar-feed { width: 54px; height: 79px; }

/* ---------- top bar on pushed pages ---------- */
.topbar {
  flex: none; display: flex; align-items: center; gap: 4px;
  padding: calc(8px + var(--sat, 0px)) 12px 8px;
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.backbtn { width: 42px; height: 42px; border: 0; background: none; display: grid; place-items: center;
  cursor: pointer; border-radius: var(--pill); flex: none; }
.backbtn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.62; stroke-linecap: round; stroke-linejoin: round; }
.backbtn:active { background: var(--card-2); }
.topbar-t { font-size: 15px; font-weight: 500; color: var(--ink-2); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }

/* ---------- tab bar ---------- */
#tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tabh) + var(--sab, 0px)); padding-bottom: var(--sab, 0px);
  display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: stretch;
  background: linear-gradient(180deg, var(--card), var(--paper-2));
  border-top: 1px solid var(--hair-2); box-shadow: 0 -6px 20px -14px rgba(90, 45, 15, .5);
}
#tabs[hidden], body.is-capturing #tabs { display: none; }
.tab { border: 0; background: none; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; cursor: pointer; color: var(--muted); padding: 0; }
.tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.47;
  stroke-linecap: round; stroke-linejoin: round; }
.tab i { font-style: normal; font-size: 11px; letter-spacing: .02em; }
.tab { position: relative; transition: color .16s ease; }
.tab.is-on { color: var(--accent); }
.tab.is-on svg { stroke-width: 1.85; }
.tab.is-on::before { content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 3px;
  margin-left: -13px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tab:active svg { transform: scale(.9); }
.tab svg { transition: transform .14s ease; }
.capfab {
  align-self: center; justify-self: center; width: 56px; height: 56px; border-radius: var(--pill);
  border: 0; color: var(--on-accent); display: grid; place-items: center;
  background: radial-gradient(80% 80% at 50% 18%, var(--honey), var(--accent) 62%, var(--accent-deep));
  cursor: pointer; margin-top: -20px;
  box-shadow: var(--glow), 0 3px 10px rgba(60, 28, 8, .3), inset 0 1px 0 rgba(255, 246, 230, .3);
  transition: transform .14s ease, box-shadow .14s ease;
}
.capfab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.35;
  stroke-linecap: round; stroke-linejoin: round; }
.capfab:active { transform: translateY(1px) scale(.94); box-shadow: 0 2px 6px rgba(60, 28, 8, .35); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--accent-deep); border-radius: var(--r-sm);
  /* The light end of this gradient still clears AA against --on-accent. */
  background: linear-gradient(180deg, var(--accent-lit), var(--accent-deep));
  color: var(--on-accent); box-shadow: var(--lift-1), inset 0 1px 0 rgba(255, 246, 230, .22);
  padding: 12px 18px; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px) scale(.988); box-shadow: inset 0 1px 3px rgba(60, 28, 8, .35); }
.btn.ghost { background: linear-gradient(180deg, var(--card), var(--card-2)); color: var(--ink);
  border-color: var(--hair-2); box-shadow: var(--lift-1); }
.btn.ghost:active { background: var(--card-2); box-shadow: inset 0 1px 3px rgba(90, 45, 15, .16); }
.btn.danger { color: var(--warn); border-color: rgba(138, 42, 26, .42);
  background: linear-gradient(180deg, var(--card), #F6E9DE); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btnrow .btn { flex: 1 1 auto; }
.linkbtn { border: 0; background: none; color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; padding: 6px 0; font-size: 14px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--hair-2); background: linear-gradient(180deg, var(--card), var(--card-2));
  color: var(--ink-2); box-shadow: var(--lift-1);
  border-radius: var(--pill); padding: 7px 15px; font-size: 13px; cursor: pointer;
  min-height: 40px; display: inline-flex; align-items: center; gap: 7px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.chip:active { transform: scale(.965); box-shadow: inset 0 1px 3px rgba(90, 45, 15, .16); }
.chip svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.15;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip.is-on { background: linear-gradient(180deg, var(--accent-lit), var(--accent-deep));
  border-color: var(--accent-deep); color: var(--on-accent); }
.chip.is-on svg { stroke: var(--on-accent); }

/* ---------- cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--card), var(--paper-2));
  border: 1px solid var(--hair); border-radius: var(--r);
  box-shadow: var(--lift-1); padding: 16px; margin-bottom: 12px;
}
.card.flat { background: transparent; border-style: dashed; box-shadow: none; }
.card > * { position: relative; }
.stack { display: grid; gap: 10px; margin-top: 14px; }
.bigchoice {
  text-align: left; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r);
  padding: 15px 16px; cursor: pointer; display: block; width: 100%;
}
.bigchoice b { display: block; font-size: 16px; font-weight: 600; }
.bigchoice i { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.bigchoice:active { background: var(--card-2); }

/* ---------- welcome ---------- */
.welcome { padding-top: 4vh; }
.wordmark { margin: 0 0 8px -6px; filter: drop-shadow(0 12px 22px rgba(126, 59, 18, .3)); }
.wordmark .jar-hero { width: 106px; height: 154px; }

/* ---------- agenda ---------- */
.agenda { border-top: 1px solid var(--hair); margin-bottom: 26px; }
.ag-row {
  display: grid; grid-template-columns: 5.7rem 1fr auto; gap: 10px; align-items: baseline;
  padding: 13px 6px; border-bottom: 1px solid var(--hair); width: 100%; border-radius: var(--r-sm);
  background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer;
  transition: background-color .14s ease;
}
.ag-row:active { background: var(--card-2); }
.ag-when { font-family: var(--mono); font-size: 12.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.ag-row.is-late .ag-when { color: var(--warn); font-weight: 500; }
.ag-what b { display: block; font-weight: 600; font-size: 15px; }
.ag-what i { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.ag-do { font-size: 12.5px; color: var(--accent-deep); border: 1px solid var(--accent-line); border-radius: var(--pill);
  padding: 5px 12px; background: var(--accent-soft); flex: none;
  min-height: 38px; display: inline-flex; align-items: center; }

/* ---------- ward round cards ---------- */
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.sec-title h2 { font-size: 18px; }
.sec-title .count { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.thing {
  position: relative; display: block; width: 100%; text-align: left;
  background: linear-gradient(180deg, var(--card), var(--paper-2));
  border: 1px solid var(--hair); box-shadow: var(--lift-1);
  border-radius: var(--r); padding: 0; margin-bottom: 12px; cursor: pointer; overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease;
}
.thing:active { transform: scale(.988); box-shadow: inset 0 1px 4px rgba(90, 45, 15, .14); }
.thing-top { display: flex; gap: 14px; padding: 14px 16px 12px; align-items: center; }
.vessel { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.05;
  stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.thing-id { flex: 1; min-width: 0; }
.thing-id b { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2;
  font-variation-settings: "SOFT" 20, "WONK" 1; }
.thing-id i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 3px; }
.thing-badge { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: var(--card-2);
  border-radius: var(--r-sm); padding: 4px 8px; flex: none; }
.thing-next {
  border-top: 1px solid var(--hair); padding: 11px 16px; font-size: 13.5px; color: var(--ink-2);
  display: flex; gap: 8px; align-items: center;
  background: linear-gradient(180deg, rgba(233, 163, 58, .10), rgba(233, 163, 58, .18));
}
.thing-next b { color: var(--accent); font-weight: 600; }
.thing-next.is-late b { color: var(--warn); }

/* stage pips */
.pips { display: flex; gap: 4px; margin-top: 9px; }
.pip { height: 4px; border-radius: 2px; background: var(--hair-2); flex: 1; }
.pip.is-done { background: var(--accent-line); }
.pip.is-now { background: var(--accent); }

.thing.is-retired .thing-id b { color: var(--ink-2); }
.thing.is-retired .jar { opacity: .72; filter: saturate(.55); }
.thing.is-retired .thing-next b { color: var(--muted); }

/* ---------- empty states ---------- */
.empty { position: relative; border: 1px solid var(--hair); border-radius: var(--r);
  padding: 8px 18px 20px; text-align: center; box-shadow: var(--lift-1);
  background: radial-gradient(120% 90% at 50% 6%, rgba(233, 163, 58, .16), rgba(233, 163, 58, 0) 62%),
              linear-gradient(180deg, var(--card), var(--paper-2));
  margin-bottom: 14px; overflow: hidden; }
.empty h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 6px;
  text-wrap: balance; }
.empty p { margin: 0 auto 16px; color: var(--muted); font-size: 14.5px; max-width: 30ch; text-wrap: pretty; }
.empty .btnrow { justify-content: center; }
.empty .btn { flex: 0 1 auto; }

/* ---------- ladder ---------- */
.tier { margin-bottom: 30px; }
.tier + .tier, #rBody .lede + .tier { margin-top: 26px; }
.tier-head { border-top: 2px solid var(--accent-deep); padding-top: 10px; margin-bottom: 12px; }
.tier-head h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0; }
.tier-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.rung {
  display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 12px; align-items: start; width: 100%;
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hair);
  padding: 14px 2px; cursor: pointer; transition: transform .12s ease, background-color .12s ease;
  border-radius: var(--r-sm);
}
.rung:active { background: var(--card-2); transform: scale(.99); }
.rung .num { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.rung b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.25; }
.rung i { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rung .meta { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-top: 6px; }

/* ---------- recipe page ---------- */
.rhero { margin-bottom: 20px; }
.rhero .vessel { width: 40px; height: 40px; margin-bottom: 10px; }
.rhero h1 { font-family: var(--serif); font-size: 30px; line-height: 1.08; font-weight: 600; margin: 0;
  font-variation-settings: "SOFT" 20, "WONK" 1; }
.rhero .sub { font-size: 15px; color: var(--accent); margin: 6px 0 0; }
.rhero .blurb { font-size: 15.5px; color: var(--ink-2); margin: 14px 0 0; }
.factrow { display: flex; gap: 20px; margin-top: 16px; padding: 12px 0; border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair); }
.factrow div { flex: 1; }
.factrow span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.factrow b { display: block; font-family: var(--mono); font-size: 14px; margin-top: 3px; font-weight: 500; }

.calc { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r); padding: 15px; margin: 20px 0; }
.calc .lbl { font-size: 13px; color: var(--muted); }
.calcrow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.calcrow input[type=number] {
  flex: 1; font-family: var(--mono); font-size: 20px; padding: 9px 12px; border: 1px solid var(--hair-2);
  border-radius: var(--r-sm); background: var(--paper); color: var(--ink); min-width: 0;
}
.stepper { width: 44px; height: 44px; border: 1px solid var(--hair-2);
  background: linear-gradient(180deg, var(--card), var(--card-2)); color: var(--accent);
  border-radius: var(--r-sm); cursor: pointer; flex: none; display: grid; place-items: center;
  box-shadow: var(--lift-1); transition: transform .12s ease, box-shadow .12s ease; }
.stepper:active { transform: scale(.93); box-shadow: inset 0 1px 3px rgba(90, 45, 15, .18); }

table.lab { width: 100%; border-collapse: collapse; margin-top: 4px; }
table.lab th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0 0 7px; border-bottom: 1px solid var(--hair-2); }
table.lab td { padding: 9px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; font-size: 14.5px; }
table.lab td.n { font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.lab td.pct, table.lab th.pct { padding-right: 16px; width: 4.4rem; }
table.lab td.pct { font-family: var(--mono); text-align: right; color: var(--muted); font-size: 13px; }
table.lab th.u { text-transform: none; letter-spacing: 0; font-family: var(--mono); font-size: 12px; }
table.lab tr.zero td.n { color: var(--muted); }
.ingnote { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- stage plan ---------- */
.rail { position: relative; margin: 8px 0 0; padding-left: 26px; }
.rail::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--hair-2); }
.stg { position: relative; padding: 0 0 22px; }
.stg::before { content: ""; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px;
  border-radius: var(--pill); background: var(--paper); border: 2px solid var(--hair-2); }
.stg.is-done::before { background: var(--accent-line); border-color: var(--accent-line); }
.stg.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.stg h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.stg .when { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 2px 0 0; }
.stg .sum { font-size: 14.5px; color: var(--ink-2); margin: 6px 0 0; }
.stg ul { margin: 9px 0 0; padding-left: 18px; }
.stg li { font-size: 14px; color: var(--ink-2); margin-bottom: 5px; }
.watch { font-size: 13.5px; color: var(--ink-2); background: var(--warn-soft); border-left: 2px solid var(--warn);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 9px 12px; margin: 10px 0 0; }
.targets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.target { font-family: var(--mono); font-size: 11.5px; color: var(--accent-deep); background: var(--accent-soft);
  border-radius: var(--r-sm); padding: 4px 8px; }

/* checkable tasks on a live batch */
/* A checklist row is the most tapped control in the app, so it gets a full 44px of height. */
.task { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; background: none;
  border: 0; padding: 11px 0; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.task .box { width: 18px; height: 18px; border: 1.5px solid var(--hair-2); border-radius: 5px; flex: none;
  margin-top: 2px; display: grid; place-items: center; transition: transform .12s ease, background-color .12s ease; }
.task:active .box { transform: scale(.86); }
.task.is-done .box { background: var(--accent); border-color: var(--accent); }
.task.is-done .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--on-accent);
  border-bottom: 2px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.task.is-done span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--hair-2); }

/* ---------- charts ---------- */
.chartwrap { margin: 14px 0 4px; }
.chartwrap .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.chartwrap .cap b { font-size: 13.5px; font-weight: 600; }
.chartwrap .cap span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
svg.chart { width: 100%; height: 132px; display: block; }
.c-grid { stroke: var(--grid); }
.c-axis { stroke: var(--hair-2); stroke-width: 1; }
.c-band { fill: var(--accent-soft); }
.c-zero { stroke: var(--hair-2); stroke-width: 1; stroke-dasharray: 3 3; }
.c-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-dot { fill: var(--paper); stroke: var(--accent); stroke-width: 1.8; }
.c-num { font-family: var(--mono); font-size: 9px; fill: var(--muted); }
.c-empty { font-family: var(--sans); font-size: 11px; fill: var(--muted); }

/* ---------- log stream ---------- */
.logrow { display: grid; grid-template-columns: 4.9rem 1fr auto; gap: 10px; align-items: baseline;
  padding: 10px 2px; border-bottom: 1px solid var(--hair); }
.logrow .t { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.logrow .t b { display: block; font-weight: 500; color: var(--ink-2); }
.logrow .k { font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.logrow .k b { font-weight: 600; }
.logrow .k .v { font-family: var(--mono); color: var(--accent); }
.logrow .k em { font-style: normal; display: block; color: var(--muted); font-size: 13px; margin-top: 2px;
  overflow-wrap: anywhere; }
.logrow .x { border: 0; background: none; color: var(--muted); cursor: pointer;
  width: 40px; height: 40px; border-radius: var(--r-sm); flex: none; display: grid; place-items: center;
  transition: transform .12s ease, background-color .12s ease; }
.logrow .x .ic { width: 15px; height: 15px; }
.logrow .x:active { background: var(--card-2); transform: scale(.9); }

/* ---------- filmstrip ---------- */
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.strip::-webkit-scrollbar { display: none; }
.shotbtn { flex: none; width: 92px; border: 1px solid var(--hair); border-radius: var(--r-sm); overflow: hidden;
  background: var(--card-2); padding: 0; cursor: pointer; box-shadow: var(--lift-1);
  transition: transform .12s ease; }
.shotbtn:active { transform: scale(.96); }
.shotbtn img { display: block; width: 92px; height: 118px; object-fit: cover; background: var(--card-2); }
.shotbtn img.is-loading, .bigshot.is-loading { animation: shimmer 1.1s ease-in-out infinite alternate; }
@keyframes shimmer { from { opacity: .5; } to { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .shotbtn img.is-loading, .bigshot.is-loading { animation: none; opacity: .7; } }
.shotbtn i { display: block; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted);
  padding: 4px 5px; text-align: left; }
.bigshot { width: 100%; border-radius: var(--r); border: 1px solid var(--hair); display: block; background: var(--card-2); }

/* ---------- lineage tree ---------- */
.tw { list-style: none; margin: 8px 0 0; padding: 0; }
.tw-row { position: relative; padding-left: calc(var(--d) * 20px); margin-bottom: 6px; }
.tw-row::before { content: ""; position: absolute; left: calc(var(--d) * 20px - 12px); top: -6px; bottom: 50%;
  width: 1px; background: var(--hair-2); display: var(--showline, block); }
.tw-row.tw-top::before { display: none; }
.tw-row::after { content: ""; position: absolute; left: calc(var(--d) * 20px - 12px); top: 50%;
  width: 10px; height: 1px; background: var(--hair-2); }
.tw-row.tw-top::after { display: none; }
.tw-node { display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--hair);
  border-radius: var(--r-sm); padding: 9px 12px; cursor: pointer; }
.tw-node b { display: block; font-size: 14.5px; font-weight: 600; }
.tw-node i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 1px; }
.tw-row.is-focus .tw-node { border-color: var(--accent); background: var(--accent-soft); }
.tw-row.is-retired .tw-node b { color: var(--muted); }
.tw-ghost .tw-node { background: transparent; border-style: dashed; cursor: default; }

/* ---------- guide ---------- */
.topic { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hair);
  padding: 14px 2px; cursor: pointer; }
.topic b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.topic i { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.topic:active { background: var(--card-2); }

.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.platebtn { background: linear-gradient(180deg, var(--card), var(--paper-2)); border: 1px solid var(--hair);
  border-radius: var(--r); padding: 8px 8px 10px; box-shadow: var(--lift-1);
  cursor: pointer; text-align: left; transition: transform .12s ease, box-shadow .12s ease; }
.platebtn:active { transform: scale(.98); box-shadow: inset 0 1px 4px rgba(90, 45, 15, .14); }
.platebtn b { display: block; font-size: 13.5px; font-weight: 600; margin-top: 4px; line-height: 1.25; }
.verdict { display: inline-block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--pill); padding: 2px 8px; margin-top: 6px; font-weight: 500; }
.verdict.ok { background: var(--accent-soft); color: var(--accent-deep); }
.verdict.out { background: var(--warn-soft); color: var(--warn); }

svg.plate { width: 100%; height: auto; display: block; }
.a-glass { fill: #FFFDF8; stroke: var(--hair-2); stroke-width: 1.4; }
.a-brine { fill: rgba(233, 163, 58, .22); stroke: var(--hair-2); stroke-width: 1; }
.a-tea { fill: rgba(201, 122, 30, .30); stroke: none; }
.a-cloud { fill: rgba(233, 163, 58, .24); stroke: none; }
.a-mold { fill: rgba(74, 67, 53, .28); stroke: var(--ink-2); stroke-width: 1; }
.a-mold-core { fill: rgba(74, 67, 53, .55); stroke: none; }
.a-hair { stroke: var(--ink-2); stroke-width: 1; stroke-linecap: round; }
.a-film { fill: rgba(255, 255, 255, .85); stroke: var(--hair-2); stroke-width: 1; }
.a-wrinkle { fill: none; stroke: var(--hair-2); stroke-width: 1; }
.a-pellicle { fill: rgba(255, 250, 241, .95); stroke: var(--hair-2); stroke-width: 1.2; }
.a-pellicle-new { fill: rgba(255, 250, 241, .65); stroke: var(--hair-2); stroke-width: 1; stroke-dasharray: 3 2; }
.a-strand { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.a-sediment { fill: rgba(126, 59, 18, .38); stroke: none; }
.a-bubble { fill: none; stroke: var(--hair-2); stroke-width: 1; }
.a-edge { stroke: var(--hair-2); stroke-width: 1.2; }
.a-pink { fill: rgba(138, 42, 26, .30); stroke: var(--warn); stroke-width: 1; }

.prose p { font-size: 15.5px; color: var(--ink-2); margin: 0 0 14px; }
.prose p:first-child { font-size: 17px; color: var(--ink); }
.source { font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 12px; margin-top: 8px; }

/* ---------- fields ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.field input[type=text], .field input[type=number], .field input[type=date], .field textarea, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--hair-2); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); font-size: 16px;
}
.field textarea { min-height: 78px; resize: vertical; }
.field input[type=number] { font-family: var(--mono); }
.field.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.field.row > div { flex: 1; }
.field.row label { margin-bottom: 2px; }
input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--accent); flex: none; }
/* The visible box stays 24px; the negative margin gives it a 44px thumb-sized tap area
   without moving anything, because a 24px control is half the Android touch minimum. */
.tapbox { width: 44px; height: 44px; margin: -10px; display: grid; place-items: center;
  flex: none; cursor: pointer; }
input[type=range] { width: 100%; height: 44px; accent-color: var(--accent); }
.segbtns { display: flex; gap: 0; border: 1px solid var(--hair-2); border-radius: var(--r-sm); overflow: hidden; }
.segbtns button { flex: 1; border: 0; background: var(--card); padding: 10px 6px; font-size: 14px; cursor: pointer;
  border-right: 1px solid var(--hair-2); transition: background-color .12s ease; }
.segbtns button:active { background: var(--card-2); }
.segbtns button:last-child { border-right: 0; }
.segbtns button.is-on { background: var(--accent); color: var(--on-accent); }

/* ---------- sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(33, 29, 22, .42);
  display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-panel {
  width: 100%; max-height: 88%; overflow-y: auto; background: var(--paper);
  border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + var(--sab, 0px));
  border-top: 1px solid var(--hair-2);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 20px; }
.sheet-foot { display: flex; gap: 10px; margin-top: 6px; }
.sheet-foot .btn { flex: 1; }
.sheet-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* ---------- capture ---------- */
.capture { background: radial-gradient(90% 60% at 50% 12%, #241A0E, #140F08 70%); color: #F5EBD8; }
.topbar.cap { background: transparent; border-bottom: 0; }
.topbar.cap .backbtn svg { stroke: #F5EBD8; }
.topbar.cap .topbar-t { color: #F5EBD8; font-size: 16px; font-weight: 600; }
.capwrap { flex: 1; display: flex; flex-direction: column; padding: 0 16px calc(14px + var(--sab, 0px)); overflow: hidden; }
.capstage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.camframe { position: relative; height: 100%; aspect-ratio: 3 / 4; max-width: 100%;
  border-radius: var(--r); overflow: hidden; background: #0C0A07; touch-action: none;
  box-shadow: 0 0 0 1px rgba(244, 200, 120, .18), 0 18px 40px -22px rgba(0, 0, 0, .9); }
#camVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#camGhost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32;
  filter: grayscale(.4) contrast(1.1); pointer-events: none; }
#camGhost[hidden] { display: none; }
.camwait { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  gap: 10px; color: #B4A488; font-size: 14px; }
.capstage.is-waiting .camwait { display: flex; }
.camwait span { width: 12px; height: 12px; border: 2px solid #5A4A30; border-top-color: #E9A33A;
  border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.marks { position: absolute; inset: 0; }
.mk { position: absolute; left: 0; right: 0; height: 0; }
.mk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1.5px solid #F4C878; }
.mk-ref::before { border-top-style: dashed; opacity: .7; }
.mk i { position: absolute; left: 8px; top: -20px; font-style: normal; font-size: 11px; color: #241A0E;
  background: #F4C878; padding: 1px 7px; border-radius: var(--pill); font-weight: 500; }
.mk-live .grip { position: absolute; right: 8px; top: -17px; width: 34px; height: 34px; border-radius: var(--pill);
  background: radial-gradient(70% 70% at 50% 26%, #FFE9C0, #E9A33A); border: 3px solid #241A0E;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.capsub { font-size: 13.5px; color: #C4B393; margin: 12px 0 0; text-align: center; text-wrap: pretty; }
.capread { display: flex; align-items: baseline; gap: 10px; justify-content: center; margin-top: 8px; }
.capread b { font-family: var(--mono); font-size: 26px; color: #F4C878; font-variant-numeric: tabular-nums; }
.capread i { font-style: normal; font-size: 12.5px; color: #C4B393; }
.capture .chips { justify-content: center; margin-top: 12px; }
.capture .chip { background: rgba(244, 200, 120, .10); border-color: rgba(244, 200, 120, .34); color: #EFE2C6;
  box-shadow: none; }
.capture .chip.is-on { background: linear-gradient(180deg, #F7D79A, #E9A33A); border-color: #E9A33A; color: #241A0E; }
.capfoot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.ghostbtn { border: 1px solid rgba(244, 200, 120, .34); background: transparent; color: #EFE2C6;
  border-radius: var(--pill); padding: 9px 15px; font-size: 13px; cursor: pointer; min-height: 40px; }
.ghostbtn[aria-pressed="false"] { opacity: .55; }
.shutter { border: 0; color: #241A0E; border-radius: var(--pill); padding: 15px 26px;
  background: linear-gradient(180deg, #FFE2AE, #E9A33A);
  box-shadow: 0 6px 22px -8px rgba(233, 163, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
  font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.shutter:active { transform: translateY(1px) scale(.96); box-shadow: 0 2px 8px -4px rgba(233, 163, 58, .8); }
.fallback { margin-top: 14px; text-align: center; }
.fallback p { font-size: 14px; color: #EFE2C6; margin: 0 0 12px; text-wrap: pretty; }
.capture .btn.ghost { background: transparent; color: #EFE2C6; border-color: rgba(244, 200, 120, .38); box-shadow: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar, 0px) + 16px + var(--sab, 0px)); z-index: 60;
  background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: var(--pill);
  font-size: 14px; margin: 0; max-width: 88%; text-align: center; pointer-events: none;
}
.toast[hidden] { display: none; }

/* ============================================================
   THE JAR: the signature element. Glass lit from inside, filled to a level
   that means something, bubbles rising through it. The launcher icon is the
   same object, so the first screen and the home screen are one thing.
   ============================================================ */
.jar { width: 42px; height: 61px; flex: none; display: block; overflow: visible; }
.j-glass { fill: rgba(255, 255, 255, .72); }
.j-edge  { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.j-neck  { fill: rgba(255, 255, 255, .8); stroke: var(--accent); stroke-width: 1.3; }
.j-lid   { fill: var(--accent); }
.j-lid-hi { fill: rgba(255, 246, 230, .42); }
.j-s0 { stop-color: #F4C070; }
.j-s1 { stop-color: #E39A2C; }
.j-s2 { stop-color: #B96D18; }
.j-h0 { stop-color: rgba(255, 244, 214, .85); }
.j-h1 { stop-color: rgba(255, 244, 214, 0); }
.j-line  { fill: none; stroke: #FFF3D8; stroke-width: 1.6; stroke-linecap: round; opacity: .85; }
.j-bub   { fill: rgba(255, 250, 232, .78); }
.j-shine { stroke: rgba(255, 255, 255, .8); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.jar.is-late .j-s0 { stop-color: #E4A279; }
.jar.is-late .j-s1 { stop-color: #C1603A; }
.jar.is-late .j-s2 { stop-color: #8A2A1A; }
.jar.is-late .j-line { stroke: #FFE2D2; }
.jar.is-late .j-edge { stroke: var(--warn); }

@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  16%  { opacity: .9; }
  82%  { opacity: .75; }
  100% { transform: translateY(var(--tr, -18px)); opacity: 0; }
}
.j-bub { animation: rise var(--dur, 3.4s) var(--del, 0s) linear infinite; }

.jar-hero { width: 96px; height: 140px; }
.jar-hero .j-edge { stroke-width: 1.2; }
.jar-hero .j-shine { stroke-width: 2.2; }
.i-fill { fill: rgba(255, 255, 255, .8); stroke: none; }

/* ---------- the shelf: the Kitchen header, and the app's face ---------- */
.shelf {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--hair); box-shadow: var(--lift-2);
  background:
    radial-gradient(72% 86% at 78% 62%, rgba(233, 163, 58, .42), rgba(233, 163, 58, 0) 68%),
    linear-gradient(168deg, #FFFAF1 0%, #F3E6D0 58%, #EBD9BC 100%);
  padding: 18px 18px 16px; margin-bottom: 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end;
}
.shelf::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: linear-gradient(180deg, rgba(126, 59, 18, .16), rgba(126, 59, 18, .30));
}
.shelf > * { position: relative; }
.shelf .eyebrow { color: var(--accent-deep); }
.shelf h1 { margin-top: 2px; }
.shelf .shelf-line { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 4px; max-width: 24ch;
  text-wrap: pretty; }
.shelf-jar { align-self: end; margin: 0 -2px -14px 0; filter: drop-shadow(0 10px 18px rgba(126, 59, 18, .34)); }
.shelf-top { position: absolute; top: 14px; right: 14px; }

/* the three other tabs get the same light, without the jar */
.viewband {
  position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--hair);
  box-shadow: var(--lift-1); padding: 16px 18px 15px; margin-bottom: 22px;
  background:
    radial-gradient(90% 130% at 92% 0%, rgba(233, 163, 58, .30), rgba(233, 163, 58, 0) 62%),
    linear-gradient(168deg, #FFFAF1, #F1E5D1);
}
.viewband::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(180deg, rgba(126, 59, 18, .12), rgba(126, 59, 18, .26));
}
.viewband > * { position: relative; }
.viewband .eyebrow { color: var(--accent-deep); }

/* ---------- drawn illustrations ---------- */
.illus { width: 100%; max-width: 232px; height: auto; display: block; margin: 4px auto 12px; }
.illus-sm { max-width: 190px; }
.i-glass { fill: rgba(255, 255, 255, .78); }
.i-edge  { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.i-fill  { fill: rgba(255, 255, 255, .85); stroke: var(--accent); stroke-width: 1.3; }
.i-brine { fill: var(--honey); opacity: .85; }
.i-shine { stroke: rgba(255, 255, 255, .9); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.i-lid   { fill: var(--accent-deep); }
.i-lidtop { fill: var(--accent); }
.i-lidhi { fill: rgba(255, 246, 230, .28); }
.i-shelf { stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.i-pool  { fill: rgba(126, 59, 18, .1); }
.i-drip  { fill: none; stroke: var(--honey); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 6; }
.i-mark  { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.i-mark-d { stroke-dasharray: 4 4; }
.i-arrow { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.illus-photo { max-width: 84px; margin: 0 auto; opacity: .55; }
.nophoto { display: grid; place-items: center; background: var(--card-2); }
.nophoto span { font-size: 11px; color: var(--muted); padding: 0 8px 8px; text-align: center; }

/* ---------- motion: gentle rises and settles ---------- */
@keyframes settle { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.settle { animation: settle .3s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pagein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.screen.page:not([hidden]) > .scroller { animation: pagein .22s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes sheetin { from { transform: translateY(22px); } to { transform: none; } }
.sheet:not([hidden]) .sheet-panel { animation: sheetin .22s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet:not([hidden]) { animation: fadein .16s linear both; }

/* focus that is visible without shouting, on every control */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  /* Stop travel, keep every shape. The bubbles hold mid-rise rather than disappearing. */
  .settle, .camwait span, .screen.page:not([hidden]) > .scroller,
  .sheet:not([hidden]) .sheet-panel, .sheet:not([hidden]) { animation: none; }
  .j-bub { animation: none; transform: translateY(calc(var(--tr, -18px) * .45)); opacity: .8; }
  .btn, .chip, .thing, .tab svg, .task .box, .shotbtn, .segbtns button,
  .iconbtn, .stepper, .platebtn, .rung, .ag-row, .capfab, .shutter { transition: none; }
}

@media (min-width: 620px) {
  .plates { grid-template-columns: repeat(3, 1fr); }
}
