/* REDSTONEPEDIA — generated by `mctas site build` (crates/site/assets/style.css) */
:root {
  --bg: #f6f5f2;
  --fg: #1d1c1a;
  --muted: #6b6760;
  --line: #dedad2;
  --card: #ffffff;
  --accent: #c8231e;
  --accent-soft: #f7dcda;
  --ok: #2f7d32;
  --ok-soft: #dcefdc;
  --warn: #9a6400;
  --warn-soft: #f6e7c8;
  --door: #6d4c2f;
  --clock: #8b1d1a;
  --circuit: #2d5b85;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151514;
    --fg: #ecebe8;
    --muted: #a19d95;
    --line: #34322e;
    --card: #1f1e1c;
    --accent: #ff5a4f;
    --accent-soft: #4a1f1c;
    --ok: #7fd383;
    --ok-soft: #1f3a20;
    --warn: #f0c060;
    --warn-soft: #3b3018;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { line-height: 1.5; font-size: 15px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }

header.top {
  display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap;
  padding: 10px 24px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.logo { font-weight: 800; letter-spacing: .08em; color: var(--fg); font-size: 17px; display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); display: inline-block; }
.tabs-top { display: flex; gap: 4px; }
.tab-top { color: var(--muted); font-weight: 600; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.tab-top:hover { color: var(--fg); background: var(--bg); text-decoration: none; }
.tab-top.on { color: var(--accent); background: var(--accent-soft); }
.tab-top .count { font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 2px; }
.hsearch { flex: 1 1 240px; margin-left: auto; max-width: 460px; }
.hsearch input { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--fg); font: inherit; }
.hsearch input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
@media (max-width: 640px) {
  header.top { padding: 8px 10px; gap: 8px 6px; position: static; }
  .logo { font-size: 13px; letter-spacing: .02em; gap: 5px; }
  .logo-dot { width: 9px; height: 9px; }
  .tabs-top { gap: 0; margin-left: auto; }
  .tab-top { padding: 4px 6px; font-size: 13.5px; }
  .tab-top .count { display: none; }
  .hsearch { flex-basis: 100%; max-width: none; margin-left: 0; }
  /* wide tables scroll inside themselves instead of widening the page */
  table.list, table.props, table.metrics { display: block; overflow-x: auto; max-width: 100%; }
  h1 { font-size: 23px; }
  /* compact cards (critique C3: one 390x300 picture per card was 1.3 cards a screen): a small
     picture on the left, the properties on the right, about 6 cards a screen */
  .grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .grid > .card { min-width: 0; }
  .grid > .card { flex-direction: row; align-items: stretch; }
  /* the picture fills the card's height (critique: white strips above and below it when the
     text is taller) */
  .grid > .card > .thumb { flex: 0 0 40%; width: 40%; max-width: 168px; aspect-ratio: auto; align-self: stretch; min-height: 104px; }
  .grid > .card > .meta { flex: 1; min-width: 0; padding: 7px 10px; }
}
.nowrap { white-space: nowrap; }
/* the search's cards that only mention its words, under their own line (a full-width row of the grid) */
.grid > p.also { grid-column: 1 / -1; margin: 10px 0 0; color: var(--muted); font-weight: 600; }
/* the Clocks tab: one heading per period over its clocks (vjeux 01:24Z) */
.grid > h3.period { grid-column: 1 / -1; margin: 18px 0 0; font-size: 18px; }
.grid > h3.period a { color: inherit; }
.grid > h3.period .count { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }
/* the Clocks tab's jump bar: the list of every period, then the landmark periods */
.periods { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; }
.periods[hidden] { display: none; }
.periods .jump-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.periods .chip .n { color: var(--muted); font-size: 12px; margin-left: 2px; }
.periods .chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.periods .chip.on .n { color: #fff; }
.periods select { max-width: 100%; font: inherit; font-size: 14px; padding: 4px 6px; }
/* a phone: one line, the landmarks scrolling sideways (webrender's profile: the tab's first screen
   showed one card under four lines of chips) */
@media (max-width: 640px) {
  /* (min-width 0: the strip's chips in one row are ~900 px of content, which a flex item grows
     to by default; the bar stays the screen's width and the strip scrolls) */
  .periods { flex-wrap: nowrap; min-width: 0; }
  .periods select { flex: 0 0 auto; max-width: 58%; }
  .periods .jump-chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .periods .jump-chips .chip { flex: 0 0 auto; }
  .summary { gap: 6px 12px; }
}
/* a wide table inside its scroll frame keeps its columns and scrolls (critique: the variations
   table's last column was cut, links wrapped one word per line) */
.scroll-x > table.list { display: table; width: max-content; min-width: 100%; max-width: none; }
.scroll-x > table.list th, .scroll-x > table.list td { white-space: nowrap; }
/* a kind's table wraps its cells (critique: a 1,150 px "best at" cell pushed the sizes off a
   1280 px screen) */
.scroll-x > table.kind-sizes { width: 100%; }
.scroll-x > table.kind-sizes th, .scroll-x > table.kind-sizes td { white-space: normal; }
.scroll-x > table.kind-sizes td:first-child { min-width: 14em; }
.scroll-x > table.list td.def { white-space: normal; min-width: 180px; max-width: 280px; }
/* on a phone a kind's table stacks: one small block per size / record / period, its numbers under
   its name (no sideways scrolling: critique, cut columns on phones) */
@media (max-width: 640px) {
  .scroll-x > table.kind-sizes { display: block; width: auto; min-width: 0; }
  .scroll-x > table.kind-sizes thead { display: none; }
  .scroll-x > table.kind-sizes tbody, .scroll-x > table.kind-sizes tr { display: block; }
  .scroll-x > table.kind-sizes tr { padding: 8px 10px; border-bottom: 1px solid var(--line); }
  .scroll-x > table.kind-sizes td { display: block; white-space: normal; max-width: none; min-width: 0; padding: 2px 0; border: 0; }
  .scroll-x > table.kind-sizes td + td { color: var(--muted); font-size: 13px; }
}
table.kind-sizes tr.on td { background: var(--card); }
p.needs { margin: 4px 0 8px; padding: 6px 10px; border-left: 3px solid var(--accent); background: var(--card); font-size: 14px; }
/* an extended clock: its tested base and what each step adds */
p.extended { margin: 4px 0 8px; padding: 6px 10px; border-left: 3px solid var(--line); background: var(--card); font-size: 14px; }
.scroll-x { overflow-x: auto; max-width: 100%; }
.phone-only { display: none; }
@media (max-width: 640px) { .phone-only { display: block; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro { margin: 2px 0 14px; font-size: 14px; }
footer nav.foot { margin-bottom: 6px; }
footer nav.foot a { color: var(--muted); }

main { max-width: 1440px; margin: 0 auto; padding: 16px 24px 48px; }
/* a redirect page (a design that left the site: crates/site/src/published.rs): one short column */
main.moved { max-width: 640px; padding-top: 32px; }
main.moved h1 { font-size: 22px; margin: 12px 0; }
footer { max-width: 1440px; margin: 0 auto; padding: 16px 24px 32px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
h1 { font-size: 30px; margin: 8px 0 4px; }
/* (after the rule above, or a phone kept the 30px title: critique b0fb9ae4e, a 4-line title pushed
   the 3D view off the first screen) */
@media (max-width: 640px) { h1 { font-size: 23px; line-height: 1.25; } }
h2 { font-size: 20px; margin: 28px 0 10px; }
.lede { color: var(--muted); font-size: 16px; margin: 4px 0 12px; }
.crumbs { color: var(--muted); font-size: 13px; margin: 0; }
.hero h1 { letter-spacing: .06em; }
.notice { padding: 12px 16px; background: var(--warn-soft); border-radius: var(--radius); }
h1.formula { font-size: 40px; font-variant-numeric: tabular-nums; }

/* the index: filters + results */
.app { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
/* (minmax(0, ...) and min-width: 0: a child's widest content, the sort select's longest option,
   widened the phone page to 427 px: critique blocker at 375 px and 320 px) */
.app > * { min-width: 0; }
select { max-width: 100%; }
@media (max-width: 860px) { .app { grid-template-columns: minmax(0, 1fr); } }
.filters {
  position: sticky; top: 64px; max-height: calc(100vh - 80px); overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
}
@media (max-width: 860px) { .filters { position: static; max-height: none; } }
.ftoggle { display: none; width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--fg); padding: 8px; border-radius: 8px; font-weight: 600; cursor: pointer; }
@media (max-width: 860px) {
  .ftoggle { display: block; }
  .filters.collapsed > :not(.ftoggle) { display: none; }
  .filters:not(.collapsed) > .ftoggle { margin-bottom: 8px; }
}
.filters h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 6px; }
.filters h3:first-child { margin-top: 0; }
.filters input[type=search], .filters input[type=text], .filters select {
  width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--fg); font: inherit;
}
.filters .time input { border-color: var(--accent); }
.filters .hint { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.filters .error { font-size: 12px; color: var(--accent); margin: 3px 0 0; }
.filters .range { display: flex; gap: 6px; align-items: center; }
.filters .range input { width: 50%; }
.filters .range-label { font-size: 13px; margin: 6px 0 2px; }
/* (no scroll box of its own: the panel scrolls once, critique C28 found three nested ones cutting
   rows in half; the block kinds have their own filter box) */
.filters .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.filters label.check { display: flex; gap: 6px; align-items: center; font-size: 13px; margin: 4px 0; }
.filters .reset { margin-top: 14px; width: 100%; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: var(--bg); color: var(--fg); padding: 5px 11px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; }
.tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip {
  display: inline-flex; gap: 4px; align-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--fg);
  padding: 2px 8px; border-radius: 999px; font-size: 12px; cursor: pointer; font-family: inherit; text-align: left;
}
a.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip .count { color: var(--muted); font-size: 11px; }
.chip.in { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.chip.out { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); text-decoration: line-through; }
.chip.zero { opacity: .45; }
button { font: inherit; }
.button, .filters .reset, #more {
  display: inline-block; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 6px 14px; border-radius: 8px; cursor: pointer;
}
#more[hidden] { display: none; }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.alt { background: var(--card); color: var(--accent); }
.summary { color: var(--muted); margin: 0 0 12px; font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.summary strong { color: var(--fg); }
.summary select { padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; }
.more-wrap { text-align: center; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(320px, 420px)); }
/* a study page's kinds, one card each: a grid of cells, each kind's words above its card, the
   cards lined up at the bottom of each row */
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 22px; margin: 18px 0; align-items: stretch; }
.kind-cell { display: flex; flex-direction: column; min-width: 0; }
.kind-cell h2 { margin: 0 0 4px; font-size: 18px; }
.kind-cell > p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.kind-cell > .card { margin-top: auto; }
.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--fg); box-shadow: var(--shadow); transition: transform .08s ease, border-color .08s ease;
}
/* (only where a pointer hovers: on a phone a tapped card kept a red outline that read as a warning,
   critique e92a18d12) */
@media (hover: hover) { .card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); } }
.card:hover { text-decoration: none; }
.card:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.thumb, .viewer { position: relative; background: #2a2926; overflow: hidden; }
.thumb { aspect-ratio: 4 / 3; width: 100%; }
.viewer { width: 100%; height: 480px; border-radius: var(--radius); margin: 12px 0; }
.thumb canvas, .viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #f3efe6; text-align: center; padding: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .10), transparent 60%), var(--kind-color, #3a3834);
}
.k-door { --kind-color: var(--door); }
.k-clock { --kind-color: var(--clock); }
.k-circuit { --kind-color: var(--circuit); }
.mcview-ready > .fallback { display: none; }
/* interim pictures (until the 3D viewer renders): the picture fills the box, the labels overlay it */
.fallback.has-pic { justify-content: flex-end; align-items: flex-start; padding: 0; background: #1e1d1b; }
.fallback .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fallback .pic.contain { object-fit: contain; }
.fallback.has-pic .fb-big, .fallback.has-pic .fb-small, .fallback.has-pic .fb-note {
  position: relative; background: rgba(0, 0, 0, .55); color: #fff; padding: 1px 7px; border-radius: 6px; margin: 0 0 6px 6px;
}
.fallback.has-pic .fb-big { font-size: 15px; }
.fallback.has-pic .fb-small { display: none; }
/* door GIFs carry their own label at the bottom: ours goes on top */
.k-door .fallback.has-pic { justify-content: flex-start; }
.k-door .fallback.has-pic .fb-big { margin: 6px 0 0 6px; }
video.video { width: 100%; max-height: 560px; background: #000; border-radius: var(--radius); }
.fb-big { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fb-small { font-size: 12px; opacity: .8; word-break: break-all; }
.fb-note { font-size: 12px; opacity: .6; }
.meta { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 3px; }
.meta .kind { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.meta .title { font-weight: 700; font-size: 15px; word-break: break-word; }
.meta .name { color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .8; word-break: break-all; margin-top: 2px; }
p.kindline { margin: 0 0 2px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
p.oneliner { margin: 4px 0 6px; font-size: 16px; line-height: 1.45; max-width: 760px; }
p.why { margin: 0 0 6px; font-size: 14.5px; line-height: 1.45; max-width: 760px; color: var(--fg); }
p.warn { margin: 6px 0 8px; padding: 7px 11px; max-width: 760px; font-size: 14px; border-left: 3px solid #d39e00; background: rgba(255, 193, 7, .16); border-radius: 4px; }
details.more { margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; background: var(--card); }
details.more > summary { cursor: pointer; padding: 8px 0; font-weight: 650; }
p.design-name { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
p.design-name code { font-size: 12.5px; }
.meta .title .n { color: var(--accent); font-weight: 700; }
.meta .sub { color: var(--muted); font-size: 12.5px; }
.badges { display: flex; gap: 4px; flex-wrap: wrap; min-width: 0; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
/* (a card's chips wrap inside it instead of running off its edge: critique, a cut "mirror"
   chip; the phone shots cut "stone door taking the least spac...") */
.card .badge { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.badge.st-judged { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.badge.st-redsim { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.badge.st-formula { background: var(--bg); border-style: dashed; }

/* tables */
table { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
table.props th { width: 260px; color: var(--muted); font-weight: 500; }
table.small th, table.small td { font-size: 12.5px; padding: 4px 8px; }
table.list thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:target { background: var(--accent-soft); }
pre.design { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; overflow: auto; max-height: 520px; }
details summary { cursor: pointer; color: var(--muted); margin: 8px 0; }
.loading { color: var(--muted); }
.empty { grid-column: 1 / -1; padding: 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
/* boards */
ul.toc { columns: 3 260px; padding-left: 18px; }
.board { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .board { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-size: 13px; }
/* circuit pages: what it does, how to try it, the judge's test, measurements */
section.what { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--circuit); border-radius: var(--radius); padding: 4px 18px 8px; margin: 12px 0 16px; }
section.what h2 { margin-top: 12px; }
section.what p { font-size: 15.5px; line-height: 1.55; }
ul.badgelist { margin: 4px 0 10px; padding-left: 20px; font-size: 14.5px; }
ul.badgelist li { margin: 2px 0; }
table.kind-sizes td { vertical-align: top; }
p.howdesign { font-size: 14px !important; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
p.howdesign b { color: var(--fg); }
table.truth { width: auto; margin: 8px 0; }
table.truth th, table.truth td { text-align: center; min-width: 54px; font-variant-numeric: tabular-nums; }
table.truth td.on { background: var(--warn-soft); color: var(--warn); font-weight: 700; }
table.truth td.off { color: var(--muted); }
.tag-in { color: #4f9a1a; font-weight: 700; }
.tag-out { color: #d9700f; font-weight: 700; }
.tag-pos { color: #2d5b85; font-weight: 700; }
.wave-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 6px; }
.wave-wrap.fit { overflow-x: visible; max-width: 760px; }
svg.wave.fit { width: 100%; height: auto; }
svg.wave .warm { fill: rgba(128, 128, 128, .16); }
svg.wave { display: block; font: 11px system-ui, sans-serif; }
svg.wave .win { fill: #8fd14f; stroke: #4f9a1a; stroke-width: 1; }
svg.wave .wout { fill: #f5a54a; stroke: #d9700f; stroke-width: 1; }
svg.wave .base { stroke: var(--line); stroke-width: 1; }
svg.wave .ph { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }
svg.wave .phl, svg.wave .ax { fill: var(--muted); }
svg.wave .wl { fill: var(--fg); font-weight: 700; }
svg.wave .wpos { fill: none; stroke: #2d5b85; stroke-width: 2; }
svg.wave .tgt { stroke: #2d5b85; stroke-width: 1; stroke-dasharray: 4 3; opacity: .7; }
svg.wave .tgtl { fill: #2d5b85; font-weight: 700; }
svg.wave .note { fill: #2d5b85; }
p.wave-note { margin: 6px 0 0; font-size: 14px; }
svg.wave .mk { stroke-width: 2; }
svg.wave .mk-place { stroke: #2f7d32; }
svg.wave .mk-clear { stroke: #c8231e; }
svg.wave .mk-shape { stroke: #7a3fb0; }
svg.wave .mk-update { stroke: #2d5b85; }
.mk-place-t { color: #2f7d32; font-weight: 700; }
.mk-clear-t { color: #c8231e; font-weight: 700; }
.mk-shape-t { color: #7a3fb0; font-weight: 700; }
.mk-update-t { color: #2d5b85; font-weight: 700; }
table.metrics th { width: 120px; }
table.metrics td.def { color: var(--muted); font-size: 13px; }
h2 .count { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; white-space: nowrap; display: inline-block; }
dl.glossary dt { font-weight: 700; margin-top: 10px; }
dl.glossary dd { margin: 2px 0 0 0; color: var(--fg); }
dl.glossary dt:target, dl.glossary dt:target + dd { background: var(--accent-soft); }
/* tunable groups: the member picker */
section.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px 12px; margin: 0 0 14px; }
section.group h2 { margin: 12px 0 4px; }
nav.picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
a.pick { display: inline-flex; flex-direction: column; align-items: center; min-width: 64px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); line-height: 1.2; }
a.pick:hover { border-color: var(--accent); text-decoration: none; }
a.pick b { font-size: 14px; }
a.pick span { font-size: 11px; color: var(--muted); }
a.pick.on { background: var(--accent); border-color: var(--accent); color: #fff; }
a.pick.on span { color: #fff; opacity: .85; }
details.layouts summary { font-weight: 600; }
tr.showing { background: var(--accent-soft); }
a.view { font-weight: 700; }
