/* CC-193: first paint (was an inline <style> in index.html; the Content-Security-Policy blocks inline <style>). */
:root{color-scheme:light;background:#FFFFFF}:root[data-theme="dark"]{color-scheme:dark;background:#0A1A28}body{margin:0}img{max-width:100%}[hidden]{display:none!important}
/* Layout: a front page (CC-143), rows of listings, and a four-question box office. */
/* Colours by purpose (CC-136, Lakefront; design/lakefront-brief.md section 3). Light, "Paper and lake", leads; dark is
   "Lights down", the lake at night. Every pair used below meets WCAG AA: scripts/check_contrast.py checks them in CI.
   page/surface/line/rule: backgrounds, hairlines and structural rules · text/muted: type (deep lake, never black)
   field-line: form borders (3:1) · lead: primary buttons, links, active chips, "Free" · star: the star in the wordmark
   and "Today only!", nothing else · gold-*: the admin's ring and its star, nothing else (CC-139) · lake/on-lake/stripe: the masthead band and the flag's stripes · lake-*: the band through the year (CC-165)
   info-soft: calm notes ("Opens…", notices, plain tags) · danger-soft: errors (a band, never red text)
   cat-*: the three category fields, with only white (--on-cat) on them */
:root, :root[data-theme="light"] {
  --page: #FFFFFF; --surface: #F2F7F9; --line: #D3E3EA; --rule: #0E2A40; --field-line: #6F8796;
  --text: #0E2A40; --muted: #4A6275;
  --lake: #0E3A5B; --on-lake: #FFFFFF; --on-lake-muted: #C9DEEA; --stripe: #9CD3EF;
  --lake-winter: #2D4543; --lake-between: #1D495C; --lake-summer: #0C4D75; --lake-dusk: #3B3160; /* CC-165: the masthead's lake through the year */
  --lead: #0E3A5B; --on-lead: #FFFFFF;
  --star: #C8102E;
  --gold-rim: #9A7300; /* CC-139: the pale gold is ~1.4:1 on the page, so in light the rim carries the ring */
  --info-soft: #E6F2F8; --on-info-soft: #0E2A40;
  --danger-soft: #FBE9E7; --on-danger-soft: #0E2A40;
  --focus: #0F5E8C;
  --lift: 0 1px 3px rgb(14 42 64 / 0.3); /* CC-298: the slight shadow on a tag, chip or toggle: a square box, never a pill */
  --cat-theater: #B9472E; --cat-music: #5B3E9E; --cat-art: #2F7A5B;
  --veil: .18; /* CC-238: how much of the page colour lies over a card at the back of the home stack */
  --gauge-ok: #1B8258; --gauge-warn: #B3730A; --gauge-stop: #C8102E; /* CC-207: the budget dial's zones, and nothing else */
  --pie-1: #0E3A5B; --pie-2: #B3730A; --pie-3: #C8102E; --pie-4: #2F7A5B; --pie-5: #5B3E9E; --pie-6: #6F8796; /* CC-244: the Site health pie, most common first */
  --src-ok: #BFE6D2; --src-nothing: #FBEFB0; --src-error: #F9CFCB; --src-manual: #F9BE7C; --src-new: #DFE6EB; --on-src: #0E2A40; /* CC-221: the Source grid blocks */
  --src-ok-deep: #8FD1B0; --src-nothing-deep: #F3DC6B; --src-error-deep: #F2A9A2; --src-manual-deep: #F2A251; --src-new-deep: #C3CFD7; /* hovered or clicked */
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0A1A28; --surface: #0F2334; --line: #22394D; --rule: #A6BDCC; --field-line: #6F8CA3;
  --text: #EAF2F7; --muted: #A6BDCC;
  --lake: #06121C; --on-lake: #EAF2F7; --on-lake-muted: #A6BDCC; --stripe: #5E9FC2;
  --lake-winter: #0C1E1C; --lake-between: #0A1E26; --lake-summer: #081D30; --lake-dusk: #161028;
  --lead: #9CD3EF; --on-lead: #06121C;
  --star: #FF5C70;
  --gold-rim: #B8860B;
  --info-soft: #12304A; --on-info-soft: #EAF2F7;
  --danger-soft: #3A1C22; --on-danger-soft: #EAF2F7;
  --focus: #9CD3EF;
  --lift: 0 1px 3px rgb(0 0 0 / 0.65);
  --cat-theater: #B9472E; --cat-music: #7A5AD0; --cat-art: #2F7A5B; /* music is lighter at night, so tiles don't vanish */
  --veil: .11; /* the veil is the page colour, so at night less of it does the same job */
  --gauge-ok: #4FB08A; --gauge-warn: #E3A73C; --gauge-stop: #FF5C70;
  --pie-1: #9CD3EF; --pie-2: #E3A73C; --pie-3: #FF5C70; --pie-4: #4FB08A; --pie-5: #A68BEA; --pie-6: #8FA7B8;
  --src-ok: #24604A; --src-nothing: #5E5316; --src-error: #7E3F47; --src-manual: #84501A; --src-new: #2E4356; --on-src: #EAF2F7;
  --src-ok-deep: #174A38; --src-nothing-deep: #483F0E; --src-error-deep: #662E36; --src-manual-deep: #693E12; --src-new-deep: #223443;
  color-scheme: dark;
}
:root {
  --on-cat: #FFFFFF;
  /* Crew dots (people): pale tints with ink type, by member, the same in both themes */
  --dot-ink: #0E2A40;
  /* CC-139: the admin's ring and star, shaded as 3-D metal: highlight, gold, shade, deep. The same in both themes. */
  --gold-hi: #FFF3A6; --gold: #FFD700; --gold-shade: #F4C430; --gold-deep: #D4A20F;
  --dot-0: #9CD3EF; --dot-1: #F2C14E; --dot-2: #F4A99A; --dot-3: #B8E0C2; --dot-4: #D9C8F5; --dot-5: #F7D9A8;
  /* Type (CC-136): Instrument Sans is the reading voice (titles, body, form text); Big Shoulders Text is the signage voice
     (navigation, labels, buttons, dates, prices), small, bold and condensed, in sentence case. */
  --display: "Instrument Sans", system-ui, "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, "Helvetica Neue", Arial, sans-serif;
  --sign: "Big Shoulders Text", "Arial Narrow", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif; /* CC-172: editorial details only (the takes' pull quotes) */
  --step--1: 1rem; /* 16px, the minimum for anything */
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.4vw, 2.9rem);
  --step-4: clamp(2.7rem, 8vw, 5.4rem);
  /* Shape (CC-136): square corners everywhere. Circles are people (.face) and nothing else. */
  --r-card: 0;
  --r-ctl: 0;
  /* Motion (CC-225; brief section 6): ease-out for what arrives, ease-in-out for what moves, about 200ms for what drops down */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.45, 0, .55, 1);
  --dur-drop: 200ms;
  --dur-press: 100ms;
  --dur-grow: 180ms;
  --stagger: 30ms;
  --dur-pulse: 500ms; /* CC-231: the ring that confirms a success (pulse, util.js) */
  --grow: 2.5; /* CC-226: how many px a link grows on hover */
}

*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
/* CC-225: every button, and every link that is a whole row, presses to .97. A transform can't move an inline box, so the
   two kinds of link that look like buttons become inline-block. Where the link sits inside its row (an inline link, or
   a tile placed against the row), the row is what scales. The ::after is only there during a press: without it, the
   shrink pulls the edge out from under the pointer, the release lands on the page and the click is lost. The lead pick
   lets go of its overflow for the press, or it would clip that ::after. */
a.btn, a.textbtn { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  button, a.btn, a.textbtn, a.hub-row, .last, .lead-pick, .listing, .wk-row, .crew-plan, .journal-row, .acct-row { transition: transform var(--dur-press) var(--ease-out); }
  button:active:not(:disabled), a.btn:active, a.textbtn:active, a.hub-row:active, .last:active, .lead-pick:active,
  .listing:has(.listing-a:active), .listing:has(.listing-cover:active), .wk-row:has(> .wk-row-a:active), .crew-plan:has(> .crew-plan-a:active),
  .journal-row:has(> .journal-a:active), .acct-row:has(.acct-row-t a:active) { transform: scale(.97); }
  button:active:not(:disabled)::after, a.btn:active::after, a.textbtn:active::after, a.hub-row:active::after, .last:active::after, .lead-pick:active::after,
  .listing-a:active::after, .listing-cover:active::after, .wk-row-a:active::after, .crew-plan-a:active::after, .journal-a:active::after, .acct-row-t a:active::after { content: ""; position: absolute; inset: -2%; }
  .lead-pick:active { overflow: visible; }
}
/* CC-226: links grow 2.5px (--grow) on hover instead of underlining (brief section 6). A scale, so nothing around them moves, from
   the start of the text. It's the scale property, not transform, so it adds to the press rather than replacing it.
   --fs is the text's size in px, set beside its font-size, because the same growth is a different scale at each size
   (test_motion.js holds them together). A scaled element holds its absolutely placed children, so a whole-row link's
   cover can't sit inside the part that grows (.listing-cover). With reduced motion it still grows, without the animation.
   A name that fills its column would grow over the price beside it, so on a device that can hover, names wrap early enough
   that the grown text just fills the column. The row names sit a little low so they mostly grow up, off the line below. */
.navlink, .ev-back, .lf-back .textbtn, .lead-t, .way-t, .last-t, .listing-t, .crew-top, .hub-name, .lf-page .opt-main { transform-origin: 0 50%; }
.navlink { transform-origin: 8px 50%; } /* its text starts after the padding */
.listing-t { transform-origin: 0 75%; }
@media (hover: hover) {
  .lead-t, .last-t, .listing-t, .crew-top, .hub-name { padding-right: calc(100% * var(--grow) / (var(--fs) + var(--grow))); }
  .navlink:hover, .ev-back:hover, .lf-back .textbtn:hover, .lead-pick:hover .lead-t, .way:hover .way-t, .last:hover .last-t, .listing:hover .listing-t,
  .wk-row-a:hover .listing-t, .journal-a:hover .listing-t, .crew-plan-a:hover .listing-t, .crew-sum:hover .crew-top, .hub-row:hover .hub-name,
  .lf-page .opt:hover:not(:disabled) .opt-main { scale: calc(1 + var(--grow) / var(--fs)); }
}
/* The growth eases in and out, as an ease-out does most of it in the first frames and then creeps. No will-change here (CC-235):
   it held the text on a layer drawn at normal size and stretched that image, so hovered text went soft. */
@media (prefers-reduced-motion: no-preference) {
  .lead-t, .way-t, .last-t, .listing-t, .crew-top, .hub-name, .lf-page .opt-main { transition: scale var(--dur-grow) var(--ease-in-out); }
  .navlink, .ev-back, .lf-back .textbtn { transition: transform var(--dur-press) var(--ease-out), scale var(--dur-grow) var(--ease-in-out); }
}
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 1000; padding: 10px 16px; border-radius: var(--r-ctl); background: var(--lead); color: var(--on-lead); font-weight: 600; text-decoration: none; } /* CC-291: off-screen until it has focus */
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.star { width: 1em; height: 1em; fill: var(--star); flex: none; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* CC-137: the masthead, the Chicago flag on the lake (brief sections 1 and 5). Compact on most views: the band, a 32px
   wordmark and the nav, a 6px stripe underneath. Full on home: the date and nav, the wordmark between two stripes, the
   tagline. The red star on the light band is a graphic only (the name is the text), so it isn't held to 3:1. */
.mast { position: relative; z-index: 30; background: var(--lake); color: var(--on-lake); border-bottom: 6px solid var(--stripe); } /* z-index: the water sits under the content, and the phone sheet stays over the page */
/* CC-165: the band follows the real lake in Chicago time (water.js, lakeApply): grey-green in winter, bright in summer,
   in between in spring and autumn, and a dusk tone from just before sunset until 5am. Before the script runs it's --lake. */
.mast[data-season="winter"] { --lake: var(--lake-winter); }
.mast[data-season="spring"], .mast[data-season="autumn"] { --lake: var(--lake-between); }
.mast[data-season="summer"] { --lake: var(--lake-summer); }
.mast[data-season][data-dusk] { --lake: var(--lake-dusk); }
.mast :focus-visible { outline-color: var(--stripe); } /* the page's focus blue would vanish on the lake */
.mast-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand nav"; align-items: center; gap: 8px 24px; padding-block: 12px; }
.mast-date, .mast-tag, .burger { display: none; }
.brand {
  grid-area: brand; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0;
  color: inherit; cursor: pointer; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap; /* CC-252: "Chi Culture Crew" stays on one line */
}
.brand .star { width: 0.56em; height: 0.56em; }
.mast nav { grid-area: nav; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 8px; }
.navlink {
  min-height: 44px; padding: 8px; background: none; border: 0; cursor: pointer; color: var(--on-lake);
  font-family: var(--sign); font-weight: 700; font-size: 1.125rem; --fs: 18; text-decoration: none; text-underline-offset: 8px;
}
.navlink[aria-current="page"] { text-decoration: underline 3px var(--stripe); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; }
/* CC-161: "Lights down" in the light theme, "Lights up" in the dark one: the label names the change it will make */
:root:not([data-theme="dark"]) .theme-toggle .to-light, :root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
.mast .count:not(:empty) { margin-left: 6px; color: var(--on-lake-muted); font-variant-numeric: tabular-nums; }
.mast-full { border-bottom: 0; }
.mast-full .mast-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date nav" "brand brand" "tag tag"; gap: 0 24px; padding-block: 14px 22px; }
.mast-full .mast-date, .mast-full .mast-tag { display: block; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; color: var(--on-lake-muted); }
.mast-date { grid-area: date; font-variant-numeric: tabular-nums; }
.mast-full .brand {
  justify-content: center; gap: 18px; margin-top: 14px; padding: 10px 0 8px;
  border-block: 6px solid var(--stripe); font-size: clamp(min(2.75rem, 10vw), 7vw, 5rem); /* CC-252: under 440px it scales, so the longer name fits */
}
.mast-full .brand .star { width: 0.475em; height: 0.475em; }
.mast-tag { grid-area: tag; margin-top: 10px; text-align: center; text-wrap: balance; }
/* The phone: a 26px wordmark and a hamburger that opens the nav as a sheet over the page, with the you menu open in it */
.burger { grid-area: burger; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.burger .burger-x, .burger[aria-expanded="true"] .burger-lines { display: none; }
.burger[aria-expanded="true"] .burger-x { display: inline; }
@media (max-width: 960px) {
  .mast-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand burger"; padding-block: 6px; }
  .mast-full .mast-in { grid-template-areas: "date burger" "brand brand" "tag tag"; padding-block: 6px 18px; }
  .brand { font-size: 1.625rem; gap: 7px; }
  .mast-full .brand { margin-top: 6px; gap: 12px; }
  .burger { display: grid; }
  .mast nav { display: none; }
  .mast.open nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; justify-content: stretch; gap: 0;
    max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom);
    background: var(--page); color: var(--text); border-bottom: 1.5px solid var(--rule);
  }
  .mast-full.open nav { top: 100%; }
  .mast.open :focus-visible { outline-color: var(--focus); outline-offset: -3px; }
  .mast.open .navlink, .mast.open .me-menu [data-me] {
    display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.25rem; --fs: 20; text-align: left;
  }
  .mast.open .navlink[aria-current="page"], .mast.open .me-menu [aria-current="page"] { font-weight: 800; text-decoration: underline 3px var(--stripe); }
  .mast.open .count:not(:empty) { color: var(--muted); }
}
/* CC-242, CC-290: on a phone the masthead is pinned to the top. The full one (home, join) reduces to the compact one as the
   page scrolls, and nothing in that is laid out by script: scroll events reach a phone late, so a masthead sized from
   them trails the page (CC-290). The masthead keeps its full height and sticks at a negative top, so the page carries it
   up until only the band's 62px are left. Inside it the date scrolls off, the wordmark and the band behind it (plain
   lake, the lower stripe along its foot) stick where the compact band is, and the tagline slides away behind the band.
   That alone is a whole masthead at every scroll position. On top of it, as opacity and transform
   only: the date and tagline fade, the wordmark shrinks to 26px and goes left, the stripe widens to the band. The
   scroll drives those itself (animation-timeline); where it can't, util.js sets --mast-f and --mast-s (paintShrink).
   util.js measures --mast-cut, --mast-pin, --brand-k, --brand-in and --stripe-k once per width (measureMast). */
@media (max-width: 960px) {
  html { scroll-padding-top: 72px; } /* a heading jumped to lands below the pinned band */
  .mast { position: sticky; top: 0; }
  .mast-full { top: calc(-1 * var(--mast-cut, 140px)); } /* 140px: near enough until util.js has measured */
  .mast-full .mast-in {
    position: relative; display: flex; flex-direction: column; align-items: stretch; padding-block: 6px 0;
    --brand-f: clamp(min(2.75rem, 10vw), 7vw, 5rem); --brand-h: calc(var(--brand-f) + 18px);
    --brand-over: max(0px, var(--brand-h) / 2 - 34px); /* how far a tall wordmark's box hangs below the 62px band once it's pinned */
  }
  .mast-full .burger { order: 0; flex: none; align-self: flex-end; position: sticky; top: 6px; z-index: 2; margin-bottom: -44px; }
  .mast-full .mast-date { order: 1; flex: none; display: flex; align-items: center; height: 44px; padding-right: 44px; }
  .mast-full .mast-in::before, .mast-full .mast-in::after { content: ""; flex: none; height: 6px; background: var(--stripe); }
  .mast-full .mast-in::before { order: 2; margin-top: 6px; }
  .mast-full .brand { /* its text's middle pins 28px down, the middle of the compact band */
    order: 3; flex: none; align-self: center; position: sticky; top: calc(28px - var(--brand-h) / 2); z-index: 1;
    height: var(--brand-h); min-height: 0; margin: 0 0 calc(-1 * var(--brand-over)); padding: 9px 0; border: 0; gap: 12px;
    font-size: var(--brand-f); transform-origin: left center;
  }
  .mast-full .brand::before { content: ""; position: absolute; inset: -12px 0; } /* shrunk, it's still 44px to the finger */
  .mast-full .mast-in::after { /* the band: plain lake behind the wordmark, the stripe under it. Pinned, it's what the tagline slides away behind, so nothing ever shows through the wordmark, however late the fade is */
    order: 4; position: sticky; top: calc(56px - var(--brand-h)); box-sizing: border-box; height: calc(var(--brand-h) + 6px);
    margin-top: calc(var(--brand-over) - var(--brand-h)); background: var(--lake); border-bottom: 6px solid var(--stripe);
  }
  .mast-full .mast-tag { order: 5; flex: none; margin: 10px 0 18px; }
  @supports (animation-timeline: scroll()) {
    .mast-full .mast-date, .mast-full .mast-tag { animation: mast-fade linear both; animation-timeline: scroll(root); animation-range: 0px calc(0.8 * var(--mast-pin, 60px)); }
    .mast-full .mast-tag { animation-range: 0px var(--mast-cut, 140px); } /* it greys out as it goes under the band */
    .mast-full .brand { animation: mast-brand linear both; }
    .mast-full .brand .star { animation: mast-star linear both; }
    .mast-full .mast-in::after { animation: mast-stripe linear both; }
    .mast-full .brand, .mast-full .brand .star, .mast-full .mast-in::after { animation-timeline: scroll(root); animation-range: 0px var(--mast-pin, 60px); }
    @media (prefers-reduced-motion: reduce) { /* no in-between: compact as soon as the page moves */
      .mast-full .brand, .mast-full .brand .star, .mast-full .mast-in::after { animation-range: 0px 1px; }
    }
  }
  @supports not (animation-timeline: scroll()) {
    .mast-full .mast-date, .mast-full .mast-tag { opacity: calc(1 - var(--mast-f, 0)); }
    .mast-full .brand { transform: translateX(calc(-1 * var(--brand-in, 0px) * var(--mast-s, 0))) scale(calc(1 - (1 - var(--brand-k, 1)) * var(--mast-s, 0))); }
    .mast-full .brand .star { transform: scale(calc(1 + 0.18 * var(--mast-s, 0))); }
    .mast-full .mast-in::after { transform: scaleX(calc(1 + (var(--stripe-k, 1) - 1) * var(--mast-s, 0))); }
  }
}
@keyframes mast-fade { to { opacity: 0; } }
@keyframes mast-brand { to { transform: translateX(calc(-1 * var(--brand-in, 0px))) scale(var(--brand-k, 1)); } }
@keyframes mast-star { to { transform: scale(1.18); } } /* 0.475em to the compact wordmark's 0.56em */
@keyframes mast-stripe { to { transform: scaleX(var(--stripe-k, 1)); } }

.lede { max-width: 54ch; font-size: 1.125rem; color: var(--muted); }

/* CC-143: the home page as a front page (brief section 5). Under the full masthead, a 12-column grid split 6/3/3:
   the lead pick, three ways in, last chance. With no lead pick the other two share the width. Then the 3px double
   rule (the only one on the site) and "The listings" as rows. The columns stack on a phone. */
.front { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); padding-top: 32px; }
.front.no-lead, .front.has-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.front.has-stack { row-gap: 40px; }
.front-h { font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; color: var(--muted); }

/* The lead pick: one of colour's four places. The whole card is one link to the event, and it's the element CC-144 gives
   the poster's view-transition-name. CC-253: it's a catalog card (CC-250): the category's tint, a rounded edge and the
   category's bar along the bottom. The event's photo, letterboxed on its water, fills the top, and the words sit below. */
.lead-slot { display: flex; margin-right: 28px; }
.lead-pick { --card-radius: 12px; flex: 1; display: flex; flex-direction: column; min-height: 430px; overflow: hidden; color: var(--text); text-decoration: none;
  background: var(--surface); background: color-mix(in srgb, var(--cat, var(--line)) 13%, var(--page));
  border: 1px solid var(--line); border-bottom: 5px solid var(--cat, var(--line)); border-radius: var(--card-radius); }
.lead-sea { position: relative; flex: 1 1 45%; min-height: 120px; }
.lead-in { display: grid; gap: 14px; padding: 18px 28px 22px; }
.lead-k { justify-self: start; padding: 2px 8px; background: var(--cat, var(--lake)); color: var(--on-cat); font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.lead-t { font-family: var(--display); font-weight: 500; font-size: 58px; --fs: 58; line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; margin-top: -6px; }
.lead-deck { font-size: 21px; font-style: italic; line-height: 1.4; max-width: 34ch; }
.lead-by { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--sign); font-weight: 700; font-size: 1.125rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.lead-pick .mark-host { width: 34px; height: 33px; }
.lead-pick .mark-host-int { width: 39px; height: 26px; } /* CC-162: interested, no ring */

/* CC-238: the admin's picks as the pier (leadstack.js). The cards are lead picks: the front one faces you, and the next two
   turn away to the right. The whole row is the stack's, so a few cards can show. Cards overlap and shadows are out, so
   a 3px edge in the page colour parts them, even two of one category. The veil is flat page colour, and it's the only
   thing that dims a back card: its large title stays near 3:1 in light, and everything is full contrast in front.
   will-change stays off: a held layer would soften the text (CC-235). */
.has-stack .lead-slot { grid-column: 1 / -1; display: block; min-width: 0; margin-right: 0; }
.stack { position: relative; --card-w: 50%; }
.stack-cards { position: relative; height: 430px; margin: 4px 0 0; padding: 0; list-style: none; touch-action: pan-y; perspective: 1500px; perspective-origin: 25% 50%; }
.sc { position: absolute; top: 0; left: 0; width: var(--card-w); height: 100%; transform-origin: 0 50%; border-radius: 12px; background: var(--page); box-shadow: 0 0 0 3px var(--page); -webkit-user-select: none; user-select: none; }
.sc:not(.is-front) { cursor: pointer; }
.sc:not(.is-front) .lead-pick { pointer-events: none; }
.sc .lead-pick { height: 100%; min-height: 0; -webkit-user-drag: none; }
.sc .lead-sea { flex: 1 1 45%; min-height: 110px; }
.sc .lead-in { gap: 10px; padding: 14px 24px 18px; }
.sc .lead-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; padding-bottom: 2px; font-size: 38px; --fs: 38; }
.sc .lead-deck { font-size: 19px; }
.sc-veil { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--page); opacity: calc(var(--veil) * var(--veil-k, 0)); pointer-events: none; }
.stack.moving .sc, .stack.moving .sc-veil { transition: transform var(--stack-dur) var(--stack-ease), opacity var(--stack-dur) var(--stack-ease); }
.stack-nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.stack-nav .btn { min-width: 48px; min-height: 48px; }
/* How far through the picks you are. Square, in ink colours: category colour stays on the cards. */
.stack-progress { flex: 0 1 240px; height: 6px; background: var(--line); }
.stack-fill { display: block; height: 100%; background: var(--lead); transform-origin: 0 50%; }
/* It leaves quickly and settles slowly into place: long enough for the ease-out's tail to show */
@media (prefers-reduced-motion: no-preference) { .stack-fill { transition: transform 700ms var(--ease-out); } }
/* The arrows are for desktop with a mouse. On a touch screen you swipe, or tap a back card. */
@media (max-width: 700px), (pointer: coarse) {
  .stack-nav [data-stack-go] { display: none; }
  .stack-nav { margin-top: 16px; }
  .stack-progress { flex: 1 1 auto; }
}

/* Four ways in (CC-252; it was three): stacked links, hairlines between. CC-103's rise stays: 600ms, 120ms apart, first load only. */
.ways { padding-right: 24px; border-right: 1px solid var(--rule); }
.way { display: grid; gap: 4px; width: 100%; min-height: 44px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.way:last-child { border-bottom: 0; }
.way-t { font-family: var(--display); font-weight: 600; font-size: 30px; --fs: 30; line-height: 1.05; letter-spacing: -0.01em; }
.way-d { font-size: 1rem; color: var(--muted); }
.ways.rise .way { animation: door-rise 0.6s var(--ease-out) both; }
.ways.rise .way:nth-of-type(2) { animation-delay: 0.12s; }
.ways.rise .way:nth-of-type(3) { animation-delay: 0.24s; }
.ways.rise .way:nth-of-type(4) { animation-delay: 0.36s; }
@keyframes door-rise { from { opacity: 0; transform: translateY(24px); } }

/* Last chance: soonest to close. "Today only!" is one of red's two jobs (the other is the star). */
.last-col { padding-left: 24px; }
.no-lead .ways, .has-stack .ways { padding-right: 32px; }
.no-lead .last-col, .has-stack .last-col { padding-left: 32px; }
.lasts { list-style: none; margin: 0; padding: 0; }
.last { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.last-w { font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; color: var(--star); font-variant-numeric: tabular-nums; }
.last-t { font-family: var(--display); font-weight: 600; font-size: 22px; --fs: 22; line-height: 1.15; overflow-wrap: anywhere; }
.last-where { font-size: 1rem; color: var(--muted); }
.last-more { min-height: 44px; margin-top: 4px; font-size: 1.0625rem; }

/* The listings: the double rule, the head, then rows (listings.js) */
.front-list { margin-top: 48px; padding-top: 12px; border-top: 3px double var(--rule); }
.front-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.front-list-head h2 { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -0.015em; }
.front-list-head .textbtn { min-height: 44px; font-size: 1.125rem; }

/* A tablet: the lead pick across the top, the other two side by side. A phone: one column, in that order. */
@media (max-width: 1100px) {
  .front, .front.no-lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 32px; }
  .lead-slot { grid-column: 1 / -1; margin-right: 0; }
  .lead-pick { min-height: 380px; }
}
@media (max-width: 700px) {
  .front, .front.no-lead, .front.has-stack { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .lead-pick { min-height: 340px; }
  .lead-in { padding: 16px 20px 18px; }
  .lead-t { font-size: 40px; --fs: 40; }
  .ways, .no-lead .ways, .has-stack .ways { padding-right: 0; border-right: 0; }
  .last-col, .no-lead .last-col, .has-stack .last-col { padding-left: 0; }
  .front-list-head h2 { font-size: 32px; }
  /* The stack runs out to the screen edges, so the third card can leave the page with no sideways scroll */
  .stack { --card-w: 72%; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding-inline: clamp(16px, 4vw, 40px); overflow-x: clip; }
  .stack-cards { height: 400px; margin-top: 12px; }
  .sc .lead-in { gap: 8px; padding: 12px 16px 14px; }
  .sc .lead-t { font-size: 28px; --fs: 28; }
  .sc .lead-deck { font-size: 18px; }
}

.textbtn { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sign); font-weight: 700; color: var(--lead); text-decoration: underline; text-underline-offset: 3px; }

/* CC-140: listings as rows, under day heads (brief section 5). The rows follow the width of their own column, not the
   window's, so they also fit a narrower home column (CC-143). No card, border or shadow: hairlines between rows. */
.listing-days { container: listings / inline-size; }
.listing-day + .listing-day { margin-top: 32px; }
.listing-day-head { font-family: var(--sign); font-weight: 700; font-size: 20px; line-height: 1.2; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.listing-day > .listings:first-child { border-top: 1px solid var(--rule); } /* a sort with no heads (A to Z, price) */
.listings { list-style: none; margin: 0; padding: 0; }
.listing { position: relative; display: grid; grid-template-columns: 112px 150px minmax(0, 1fr) 110px; gap: 20px; align-items: center; min-height: 44px;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
/* CC-155: the whole row opens the event. CC-226: the name grows, so the row's cover is its own link, out of the name's
   way and hidden from keyboards and screen readers (the name is the link they get). The name sits above the cover and
   lets clicks through, except on its link and the dolphin's button. */
.listing-a { text-decoration: none; }
.listing-cover { position: absolute; inset: 0; }
.listing:has(.listing-a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.listing-a:focus-visible { outline: none; } /* the whole row shows the focus ring */
.listing-t { display: block; font-family: var(--display); font-size: 26px; --fs: 26; font-weight: 500; line-height: 1.12; overflow-wrap: anywhere; }
.listing .listing-t { position: relative; z-index: 1; pointer-events: none; }
.listing .listing-t > * { pointer-events: auto; }
.listing-t .mark { margin-left: 8px; vertical-align: -3px; }
/* the dolphin's button: a 44px target around the mark, pulled in so the name's line keeps its height */
.row-pick { position: relative; z-index: 1; display: inline-grid; place-items: center; min-width: 44px; height: 44px; margin: -12px -8px -12px 0;
  padding: 0; border: 0; background: none; color: inherit; cursor: help; vertical-align: middle; }
.row-pick .mark { margin-left: 0; }
.row-pick:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; border-radius: var(--r-ctl); }
.listing-main { display: grid; gap: 3px; min-width: 0; }
.listing-where { font-size: 1rem; color: var(--muted); }
.listing-when, .listing-cost { font-family: var(--sign); font-weight: 700; font-size: 19px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.listing-when .going-day { display: block; margin-top: 2px; font-size: 1rem; color: var(--muted); }
.listing-cost { text-align: right; overflow-wrap: anywhere; }
.listing-meta { display: contents; }
.listing-meta .listing-when { grid-column: 2; grid-row: 1; }
.listing-meta .listing-cost { grid-column: 4; grid-row: 1; }
/* the tile: the category field and the event's water. Its name sits on a solid patch of the field, because white
   across the 42% lines is only about 2.4:1 (CC-138). */
.tile { display: block; width: 112px; height: 76px; }
.tile-k { position: absolute; left: 6px; bottom: 5px; max-width: calc(100% - 12px); padding: 0 4px; background: var(--cat);
  font-family: var(--sign); font-weight: 700; font-size: 15px; line-height: 1.15; }
.crewline { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-family: var(--sign); font-weight: 700; font-size: 1rem; }
.crewline .dots { display: inline-flex; padding-left: 5px; }
.crewline .face { width: 22px; height: 22px; margin-left: -5px; font-size: 12px; border-color: var(--page); }
.listing.ghost .tile, .listing.ghost .bar { background: var(--surface); }
.listing.ghost .bar { display: block; width: 60%; height: 16px; }
.listing.ghost .bar.short { width: 35%; }
.list-state { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
.list-state strong { font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.list-state .hint { color: var(--muted); }
@container listings (max-width: 700px) {
  .listing { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
  .tile { width: 76px; height: 76px; grid-row: span 2; }
  .listing-t { font-size: 21px; --fs: 21; }
  .listing-meta { display: flex; flex-wrap: wrap; grid-column: 2; justify-content: space-between; align-items: baseline; gap: 4px 8px; }
  .listing-meta .listing-when, .listing-meta .listing-cost { grid-column: auto; grid-row: auto; }
  .listing-when, .listing-cost { font-size: 1rem; }
  .listing-when .going-day { display: inline; margin: 0 0 0 6px; }
}

/* CC-250: Neighborhood Notes cards in the catalog, and (CC-253) in the home page's listings. */
.catalog-cards .listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.catalog-cards .listing-day-head + .listings > li:only-child { grid-column: 1 / -1; }
.catalog-cards .listing-day > .listings:first-child { padding-top: 12px; }
.catalog-cards .listing {
  --media-col: 1; --copy-col: 2; --card-radius: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr auto;
  align-items: stretch; gap: 8px 0; height: 100%; min-height: 184px; padding: 0;
  background: var(--surface);
  background: color-mix(in srgb, var(--cat, var(--line)) 13%, var(--page));
  border: 1px solid var(--line); border-bottom: 5px solid var(--cat, var(--line)); border-radius: var(--card-radius);
}
.catalog-cards .listing-flip { --media-col: 2; --copy-col: 1; }
.catalog-cards .listing-cover { border-radius: inherit; }
.catalog-cards .tile {
  grid-column: var(--media-col); grid-row: 1 / -1; width: 100%; height: 100%;
  border-radius: calc(var(--card-radius) - 1px) 0 0 calc(var(--card-radius) - 1px);
}
.catalog-cards .listing-flip .tile { border-radius: 0 calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0; }
.listing-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  background: var(--surface); visibility: hidden;
}
.listing-image.is-loaded { visibility: visible; }
.catalog-cards .listing-main { grid-column: var(--copy-col); grid-row: 1; align-content: start; gap: 5px; padding: 12px 12px 0; }
.catalog-cards .listing-kind {
  justify-self: start; padding: 2px 6px; background: var(--cat, var(--lake)); color: var(--on-cat);
  font-family: var(--sign); font-size: 14px; font-weight: 700; line-height: 1.3;
}
.catalog-cards .listing-t { font-size: 23px; --fs: 23; }
.catalog-cards .listing-meta {
  grid-column: var(--copy-col); grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 4px 10px; margin: 0 12px 10px; padding-top: 7px; border-top: 1px solid var(--line);
}
.catalog-cards .listing-when, .catalog-cards .listing-cost { font-size: 1rem; }
@container listings (max-width: 880px) {
  .catalog-cards .listings { grid-template-columns: minmax(0, 1fr); }
}
@container listings (max-width: 460px) {
  .catalog-cards .listing { grid-template-columns: 40% minmax(0, 1fr); min-height: 154px; }
  .catalog-cards .listing-flip { grid-template-columns: minmax(0, 1fr) 40%; }
  .catalog-cards .listing-t { font-size: 20px; --fs: 20; }
}

/* listings */
.card {
  position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 16px 14px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--lead); }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; } /* keyboard focus on the card's link */
.card h3 a:focus-visible { outline: none; } /* the whole card shows the focus ring */
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 1.5rem; } /* never past the edge (CC-62) */
.card-top .pill { margin-left: auto; }
.card > .card-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } /* the category in the centre (CC-129) */
.card > .card-top .kind { grid-column: 2; }
.kind { font-family: var(--sign); font-size: 1rem; font-weight: 700; color: var(--muted); } /* category colour stays on its fields, never text */
.pill { font-family: var(--sign); font-size: 1rem; font-weight: 700; padding: 0 8px; white-space: nowrap; background: var(--info-soft); color: var(--text); }
.pill.soon-t { background: none; padding-inline: 0; color: var(--star); } /* "Today only!": one of red's three jobs */
.pill.next-t { background: var(--info-soft); color: var(--on-info-soft); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.where { font-size: 1rem; color: var(--muted); overflow-wrap: anywhere; }
.where .hood { white-space: nowrap; }
.card-body { display: grid; align-content: start; gap: 4px; }
.credit { font-size: 1rem; color: var(--muted); overflow-wrap: anywhere; }
.card-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--sign); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.card-foot .cost { color: var(--muted); font-weight: 600; }
.card-foot .cost.free { color: var(--lead); font-weight: 700; }
/* CC-130: a category's colour, on its cards (a band across the top and the type's name), its filter chip and the
   legend. Every pair is at least 4.5:1 on the page and the cards, and the name is always there in text too. */
.cat-theater { --cat: var(--cat-theater); }
.cat-music { --cat: var(--cat-music); }
.cat-art { --cat: var(--cat-art); }
/* CC-138: an event's water (water.js), on its category field. A row tile or the poster is a .water-field with the
   event's cat-* class and waterHTML(e, place) inside; the masthead holds one on the lake. Decoration only, behind the text. */
.water { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; }
.water-field { position: relative; isolation: isolate; overflow: hidden; background: var(--cat, var(--lake)); color: var(--on-cat); }
.card[class*="cat-"] { box-shadow: inset 0 4px 0 var(--cat); padding-top: 20px; }
.chip[class*="cat-"]::before, .cat-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px;
  background: var(--cat); margin-right: 7px; vertical-align: 0.02em; }
.chip[class*="cat-"]::before { margin-right: 0; vertical-align: 0; }
.chip[class*="cat-"][aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px var(--page); } /* the swatch keeps its colour on the ink */
.cat-legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 1rem; color: var(--muted); }
.cat-legend:empty { display: none; }
.cat-legend span { color: var(--text); font-weight: 600; }

/* catalog */
.view-head { padding-block: 40px 24px; display: grid; gap: 10px; } /* CC-149: a Instrument Sans title and an italic deck, no eyebrow */
.view-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.view-head p { color: var(--muted); max-width: 60ch; }
.view-head .lf-deck { font-style: italic; font-size: 1.3125rem; line-height: 1.4; }
@media (max-width: 760px) { .view-head { padding-top: 24px; } }
.filters { display: grid; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; padding: 6px 14px; cursor: pointer;
  font-family: var(--sign); font-weight: 700; font-size: 1.0625rem;
}
.chip:hover { border-color: var(--lead); }
.chip[aria-pressed="true"] { background: var(--lead); color: var(--on-lead); border-color: var(--lead); }
.chip:disabled { opacity: 0.45; cursor: not-allowed; }
.chip .n { font-weight: 500; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: inherit; } /* full contrast on the accent (CC-52: opacity made it 3.1:1) */
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field label, .field .field-lab { font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); }
.field input, .field select {
  width: 100%; min-width: 0; background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 9px 10px;
}
/* CC-141: the catalog's filters, Lakefront style (brief section 5). No box: they sit between two rules. Type, the
   dolphins and Your Crews are segmented controls, square buttons joined by a shared 1.5px ink border. Pressed is the ink
   fill with page-colour type, a solid block rather than a change of hue. The fields are 44px boxes, labels above. */
#filters { gap: 16px; padding: 18px 0; background: none; border: 0; border-block: 1px solid var(--rule); }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.segs { gap: 0; padding: 1.5px 0 0 1.5px; } /* each button overlaps the one before (and the row above, when it wraps) */
.segs .chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -1.5px 0 0 -1.5px; padding: 0 16px;
  border: 1.5px solid var(--text); color: var(--text); font-size: 1.125rem; line-height: 1.2;
}
.segs .chip:hover { border-color: var(--text); background: var(--info-soft); }
.segs .chip[aria-pressed="true"] { background: var(--text); color: var(--page); }
.segs .chip:focus-visible { z-index: 1; } /* the ring sits over the neighbours */
.segs .chip .mark { margin-inline: -2px 0; }
.segs .chip:hover .mark { --mark-bg: var(--info-soft); }
/* CC-162: the admin's-picks chips wear the admin's marks, ink for Interested and the gold ring for Going */
.segs .chip[aria-pressed="true"] .mark { --mark-bg: var(--text); --dol-body: var(--page); --dol-mouth: var(--text); }
#filters .fields { gap: 12px 14px; }
@media (min-width: 900px) { #filters .fields { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } } /* search, then the four boxes */
#view-catalog .field input[type="search"], #view-catalog .field select, .where-btn {
  min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--field-line); font-size: 1.125rem; line-height: 1.2;
}
#view-catalog .field select, .where-btn {
  appearance: none; padding-right: 30px; font-family: var(--sign); font-weight: 600; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
#view-catalog .textbtn { min-height: 44px; }
.tally { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-block: 18px 12px; }
.tally strong { font-variant-numeric: tabular-nums; }
.more-row { display: flex; justify-content: center; margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; } /* at most 3 across (CC-129) */
.empty { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card); display: grid; gap: 10px; justify-items: center; }

/* box office (Find an outing) */
.plan { max-width: 720px; }
.opts { display: grid; gap: 10px; margin-top: 8px; }
.opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; width: 100%;
}
.opt:hover:not(:disabled) { border-color: var(--lead); }
.opt:disabled { opacity: 0.5; cursor: not-allowed; }
.opt[aria-pressed="true"] { border-color: var(--lead); box-shadow: inset 0 0 0 1px var(--lead); }
.opt-main { font-family: var(--display); font-weight: 600; font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }
.opt-sub { color: var(--muted); font-size: 1rem; }
.opt-n { color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* CC-128: the Priced choice's top price slider, opened in place under it */
.price-pick { display: grid; gap: 8px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.price-now { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.price-now label { font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
/* drawn by hand so the thumb can be ink (--text) while the filled part of the track stays --lead; --fill is set by paintPrice() */
.price-pick input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0; cursor: pointer;
  touch-action: pan-y; /* CC-229: a sideways drag on a phone stays with the thumb, and an upward one still scrolls the page */
  background: linear-gradient(to right, var(--lead) var(--fill, 100%), var(--line) var(--fill, 100%));
}
.price-pick input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--text); border: 0; }
.price-pick input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--text); border: 0; }
.price-pick input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.price-pick input[type="range"]:disabled { cursor: default; opacity: 0.6; }
.price-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 1rem; }
.price-pick .hint { margin: 0; }
.datepick { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.datepick .field { flex: 1 1 180px; }
.btn {
  background: var(--lead); color: var(--on-lead); border: 0; border-radius: var(--r-ctl); padding: 11px 18px; cursor: pointer;
  font-family: var(--sign); font-weight: 700; font-size: 1.1875rem;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); } /* secondary: an ink outline */
.btn.ghost:hover:not(:disabled) { filter: none; background: var(--info-soft); }
.btn.neutral { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--field-line); font-weight: 700; } /* a plain, uncoloured button */
.btn.neutral:hover:not(:disabled) { filter: none; background: var(--info-soft); }
.btn.danger { background: transparent; color: var(--on-danger-soft); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.danger.solid { background: var(--on-danger-soft); color: var(--surface); box-shadow: none; }
.btn.danger:not(.solid):hover:not(:disabled) { filter: none; background: var(--danger-soft); }
/* admin edit (CC-56) */
.editor { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-card); }
.editor::backdrop { background: rgb(0 0 0 / 0.55); }
.editor form { display: grid; gap: 14px; }
.editor h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.015em; }
.editor .remove { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.editor .confirm { padding: 12px 14px; border-radius: var(--r-ctl); background: var(--danger-soft); color: var(--on-danger-soft); }
.editor .confirm .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.editor .field { align-content: start; } /* a hint under one field doesn't push its neighbour's input down */
.row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.hint { color: var(--muted); font-size: 1rem; }
.hoods { display: grid; gap: 8px; margin-top: 8px; }
/* CC-292: the map of Chicago in question 4. Sections are SVG groups; all colours are tokens, so both themes follow. */
.rmap { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; font-family: var(--sign); }
.rmap .lake { fill: var(--info-soft); }
.rmap .lake-name { font-size: 10px; fill: var(--muted); font-style: italic; }
.hoods .any-region { justify-content: center; } /* Anywhere sits centred above the map */
.rsec { cursor: pointer; outline: none; }
.rsec path { fill: var(--surface); stroke: var(--page); stroke-width: 3; stroke-linejoin: round; }
.rsec text { font-size: 12.5px; font-weight: 700; fill: var(--text); pointer-events: none; }
.rsec .rn { font-size: 11px; font-weight: 500; fill: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .rsec:hover path { fill: var(--info-soft); } }
.rsec[aria-pressed="true"] path { fill: var(--text); }
.rsec[aria-pressed="true"] text, .rsec[aria-pressed="true"] .rn { fill: var(--page); }
.rsec:focus-visible path { stroke: var(--lead); stroke-width: 6; paint-order: stroke; } /* paints under the fill, so the ring shows outside the section even under later neighbours */
.rsec[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; }
@media (hover: hover) { .rsec[aria-disabled="true"]:hover path { fill: var(--surface); } }
.hoods h2 { font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); margin-top: 10px; }

/* outing */
.outing { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lead); border-radius: var(--r-card); padding: clamp(20px, 4vw, 36px); display: grid; gap: 22px; }
.stop { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 6px 20px; }
.stop + .stop { padding-top: 22px; border-top: 1px solid var(--line); }
.stop-slot { font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); padding-top: 6px; }
.stop-body { display: grid; gap: 8px; min-width: 0; }
.stop-body h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.facts { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.cta { justify-self: start; display: inline-block; text-decoration: none; }
@media (max-width: 560px) { .stop { grid-template-columns: minmax(0, 1fr); } .stop-slot { padding-top: 0; } }
.alts { display: grid; gap: 10px; }
.alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 16px; }
.alt-text { min-width: 0; flex: 1 1 240px; }
.alt-title { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.alt-meta { color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; }
.sharebox { display: grid; gap: 8px; }
.sharebox input { width: 100%; min-width: 0; background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 9px 10px; font-size: 1rem; }
.section { display: grid; gap: 14px; margin-top: 28px; }
.section h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.015em; }

/* accounts, submissions, review */
.btn .count:not(:empty) { margin-left: 6px; font-variant-numeric: tabular-nums; } /* CC-149: a plain number, no pill */
.panel { display: grid; gap: 14px; padding: clamp(16px, 3vw, 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.panel h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.015em; }
.panel .btn { justify-self: start; }
.panel-title { font-size: 1rem; font-weight: 700; }
.opt-label { font-family: var(--body); font-weight: 500; }
.hint.small { font-size: 1rem; }
.form-error:empty { display: none; }
.notice { background: var(--info-soft); color: var(--on-info-soft); padding: 10px 14px; border-radius: var(--r-ctl); font-weight: 500; font-size: 1rem; }
.notice:empty { display: none; }
.notice .textbtn, .form-error .textbtn { color: inherit; } /* CC-186: Send a new link, in a refusal */
#joined-note { margin-top: 16px; } /* CC-237: clear of the masthead */
.form-error { color: var(--on-danger-soft); background: var(--danger-soft); padding: 8px 12px; border-radius: var(--r-ctl); font-weight: 500; font-size: 1rem; }
.went {
  position: relative; z-index: 1; justify-self: start; cursor: pointer; border: 1px solid var(--field-line); background: transparent;
  padding: 3px 12px; font-family: var(--sign); font-size: 1rem; font-weight: 700;
}
.went:hover { border-color: var(--lead); }
.went[aria-pressed="true"] { background: var(--info-soft); color: var(--on-info-soft); border-color: transparent; }
.went:disabled { opacity: 0.6; cursor: progress; }
/* plans (CC-55) and the picker under each card */
.card-foot .when { display: inline-flex; align-items: center; gap: 6px; }
.own-plan, .card-foot .going-on { display: inline-flex; align-items: center; gap: 4px; }
/* CC-139: the dolphin marks (the symbols in index.html; brief section 4). One drawing in three looks: the gold ring (the
   ink dolphin through it, with the gold star), lake (with an ink edge) and ink. On rows only the admin's picks show
   (CC-162): the ring when they're going, ink (.mark-host-int) when they're interested. Lake and ink on buttons are yours.
   --mark-bg is whatever the mark sits on, for the gap around the star. */
.mark { display: inline-block; flex: none; vertical-align: middle; overflow: visible; --mark-bg: var(--page); }
.mark-int, .mark-going, .mark-host-int { width: 30px; height: 20px; }
.mark-host { width: 27px; height: 26px; } /* the ring itself is 24px */
.card .mark, .myplan .mark { --mark-bg: var(--surface); }
.mark-int { --dol-body: var(--stripe); --dol-belly: color-mix(in srgb, var(--stripe) 35%, #fff); --dol-edge: var(--text); --dol-mouth: #0E2A40; }
.mark-going, .mark-host, .mark-host-int { --dol-body: var(--text); --dol-belly: var(--stripe); --dol-edge: none; --dol-mouth: var(--page); }
.dol-edge { fill: none; stroke: var(--dol-edge, none); stroke-width: 1.8; stroke-linejoin: round; }
.dol-body { fill: var(--dol-body); }
.dol-belly { fill: var(--dol-belly); }
.dol-mouth { fill: none; stroke: var(--dol-mouth); stroke-width: 1; stroke-linecap: round; }
.dol-eye, .dol-glint { fill: #fff; }
.dol-pupil { fill: #0E2A40; }
.ring-tube, .ring-light { fill: none; stroke-width: 4; }
.ring-tube { stroke: url(#gold-tube); }
.ring-light { stroke: url(#gold-light); }
.ring-rim, .star-rim { fill: none; stroke: var(--gold-rim); }
.star-rim { stroke-width: 1.2; stroke-linejoin: round; }
.star-gap { fill: var(--mark-bg); stroke: var(--mark-bg); stroke-width: 4.5; stroke-linejoin: round; }
.star-lit { fill: var(--gold-hi); }
.star-shade { fill: var(--gold-shade); }
.went .mark { margin: -4px 6px -4px -2px; }
/* CC-66: the owner's picks. The dolphin is a button: hover shows what it means, a tap opens it in the card. */
.pick { position: relative; z-index: 1; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.pick:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pick .tip {
  display: none; position: absolute; z-index: 4; bottom: calc(100% + 8px); left: -6px; width: max-content; max-width: 230px;
  padding: 6px 10px; border-radius: var(--r-ctl); background: var(--text); color: var(--page);
  font-size: 1rem; font-weight: 600; line-height: 1.35; text-align: left; white-space: normal;
}
@media (hover: hover) { .pick:hover .tip, .pick:focus-visible .tip { display: block; } }
.pick-note { position: relative; z-index: 1; margin: 0; padding: 8px 10px; border-radius: var(--r-ctl); background: var(--info-soft); color: var(--on-info-soft); font-size: 1rem; font-weight: 600; }
.card-foot .going-on { color: var(--text); font-weight: 800; }
.card-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.myplan { /* pops over the cards below, so opening it doesn't stretch the row */
  position: absolute; z-index: 3; top: calc(100% - 8px); left: 8px; right: 8px; display: grid; gap: 10px; padding: 12px;
  background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--r-ctl);
}
.myplan .row { gap: 8px; }
.myplan .row + .row { flex-wrap: nowrap; }
.myplan input[type="date"], .myplan select.go-day { flex: 1 1 auto; min-width: 0; background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 5px 8px; }
.myplan .went { padding: 6px 12px; }
.myplan .form-error { font-size: 1rem; }
.myplan .row.pick-days { flex-wrap: wrap; } /* CC-260: Pick a day's days of the week */
.pick-days-h { margin: 0; font-weight: 700; }
.queue { display: grid; gap: 10px; }
.publish { border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 16px 14px; margin: 0; display: grid; gap: 10px; }
.publish legend { padding: 0 6px; font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.radio input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--lead); }
.field label.radio { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--text); } /* a checkbox, not a field label */
.publish .field { margin-left: 1.6rem; max-width: 18rem; }
/* CC-124: Suggest by link */
.how-choice { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.how-choice legend { grid-column: 1 / -1; }
.link-form { display: grid; gap: 12px; }
.field.missing input, .field.missing select { border-style: dashed; border-color: var(--lead); }
.miss-tag, .fill-tag { display: inline-block; white-space: nowrap; margin-left: 6px; padding: 1px 6px; background: var(--info-soft); color: var(--text); font-family: var(--sign); font-size: 1rem; font-weight: 700; }
.queue-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.queue-item .alt-text a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.state { font-size: 1rem; font-weight: 700; font-family: var(--sign); padding: 2px 8px; background: var(--info-soft); }
.state.approved { background: var(--info-soft); color: var(--on-info-soft); }
.state.rejected { background: var(--danger-soft); color: var(--on-danger-soft); }
.state.needs { background: none; color: var(--lead); box-shadow: inset 0 0 0 1px currentColor; } /* CC-88: waiting for a date or show days */
.state.scheduled { background: var(--info-soft); color: var(--on-info-soft); }

footer { margin-top: clamp(40px, 7vw, 80px); padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
footer p { max-width: 70ch; }
footer .roundup-links { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; } /* CC-109 */
footer .roundup-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lead); }
.queue-item.roundup { align-items: end; }
.queue-item.roundup .alt-text { flex: 1 1 100%; }
.queue-item.roundup .field { flex: 1 1 320px; }
.queue-item.roundup textarea { display: block; width: 100%; background: var(--page); color: var(--text); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 9px 10px; font: inherit; resize: vertical; }
footer .privacy { margin-top: 8px; font-size: 1rem; } /* CC-68: how visits are counted */
.view { animation: rise 0.28s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .view, .ways.rise .way { animation: none; } .card { transition: none; } }

/* CC-144: motion (brief, section 6). Tile becomes poster: catalog.js posterMove names the row's tile "poster" and its
   title "ev-title" for the swap, and .vt-poster names the event page's; the view's own rise waits. */
.vt-poster #ev-body .poster { view-transition-name: poster; }
.vt-poster #event-title { view-transition-name: ev-title; }
.vt-poster .view { animation: none; }
::view-transition-group(poster), ::view-transition-group(ev-title) { animation-duration: 440ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
.vt-back::view-transition-group(poster), .vt-back::view-transition-group(ev-title) { animation-duration: 340ms; }
::view-transition-group(poster) { overflow: clip; }
::view-transition-old(poster), ::view-transition-new(poster) { width: 100%; height: 100%; object-fit: cover; } /* cropped to the moving box, never stretched */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
/* the Going leap and its rings, fixed over the page while it redraws (catalog.js evLeap) */
/* CC-154: the lake dolphin (.mark-int's colours) and lake rings, no red */
.mark.leaper { position: fixed; left: 0; top: 0; width: 44px; height: 29px; pointer-events: none; z-index: 60; }
.ripple { position: fixed; left: 0; top: 0; width: 64px; height: 18px; margin: -9px 0 0 -32px; border: 2px solid var(--stripe); border-radius: 50%; pointer-events: none; z-index: 59; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .leaper, .ripple { display: none; }
}

/* site stats (admins, CC-67) */
.stat-summary { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.stat-summary > div { display: grid; }
.stat-summary strong { font-family: var(--display); font-size: var(--step-2); font-weight: 600; line-height: 1.1; }
.stat-summary span { color: var(--muted); font-size: 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.stat-card { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.stat-card h2 { margin: 0; }
.stat-now { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stat-now strong { font-family: var(--display); font-size: var(--step-2); font-weight: 600; color: var(--text); line-height: 1.1; }
.stat-last { font-size: 1rem; }
.bars { display: block; width: 100%; height: 56px; margin-top: 4px; }
.bars rect.past { fill: var(--field-line); }
.bars rect.now { fill: var(--lead); }
.bars-axis { display: flex; justify-content: space-between; font-size: 1rem; color: var(--muted); }

/* events drawing interest (admins, CC-69) */
.interest-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; }
.interest-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 18px; }
.interest-filters .field { min-width: 160px; }
.interest-legend { display: flex; align-items: center; gap: 6px; margin: 10px 0 4px; font-size: 1rem; color: var(--muted); }
.interest-legend .sw { display: inline-block; width: 12px; height: 12px; }
.interest-legend .sw.interested { margin-left: 12px; }
.sw.going, .seg.going { background: var(--text); }
.sw.interested, .seg.interested { background: var(--stripe); }
.interest-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.interest-list li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; gap: 4px 16px; align-items: center;
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.interest-name { display: grid; min-width: 0; }
.interest-name a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.interest-bar { display: flex; height: 14px; overflow: hidden; background: var(--line); }
.seg { display: block; height: 100%; }
.interest-counts { margin: 0; font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.interest-counts strong { color: var(--text); font-size: 1rem; }
@media (max-width: 640px) { .interest-list li { grid-template-columns: 1fr; } .interest-counts { white-space: normal; } }

/* visits (admins, CC-68) */
.traffic-chart svg { display: block; width: 100%; height: 120px; margin-top: 6px; }
/* CC-115: the QR card. Always light, like paper, whatever the site's theme; 3.5 x 2 inches, like a business card. */
.card-maker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 720px; }
.card-maker > * { min-width: 0; } /* grid items: let long links wrap instead of widening the page */
.card-maker a.btn { text-decoration: none; }
.card-maker #card-campaign { max-width: 320px; }
.card-maker code { overflow-wrap: anywhere; font-size: 1rem; }
.biz-card { box-sizing: border-box; width: 3.5in; max-width: 100%; aspect-ratio: 3.5 / 2; display: grid; grid-template-columns: 1fr auto; gap: 0.14in; align-items: center;
  padding: 0.16in 0.18in; background: #ffffff; color: #0E2A40; border: 1px solid var(--line);
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.biz-text { display: grid; gap: 0.05in; min-width: 0; align-content: center; }
.biz-brand { display: flex; align-items: center; gap: 0.05in; margin: 0; font-family: var(--display); font-weight: 600; font-size: 0.11in; }
.biz-brand .star { width: 0.12in; height: 0.12in; fill: #C8102E; }
.biz-head { margin: 0; font-family: var(--display); font-weight: 600; font-size: 0.2in; line-height: 1.05; letter-spacing: -0.01em; }
.biz-head span { color: inherit; }
.biz-sub { margin: 0; font-size: 0.075in; line-height: 1.3; color: #4A6275; }
.biz-url { margin: 0; font-weight: 700; font-size: 0.085in; }
.biz-qr { width: 1.25in; max-width: 36vw; line-height: 0; }
.biz-qr svg { width: 100%; height: auto; display: block; }
@media print {
  html.print-card body * { visibility: hidden; }
  html.print-card #biz-card, html.print-card #biz-card * { visibility: visible; }
  html.print-card #biz-card { position: fixed; inset: 0; width: 3.5in; height: 2in; max-width: none; border: 0; box-shadow: none; }
  html.print-card, html.print-card body { background: #ffffff !important; }
}
/* CC-142: the event page as a poster (brief section 5). "← The listings", then the poster: the category field with
   its water, and the kicker, title and venue in white. Then two columns, 7/5: the facts and actions on the left with
   the takes under them, your crews on the right. On a phone they stack: facts and actions, crews, takes.
   The poster is one element (.poster, data-poster="<id>") so CC-144 can give it and the row's tile the same
   view-transition-name for the tile-becomes-poster move. */
.event-view { max-width: none; }
.ev-back-row { padding-top: 12px; }
.ev-back { display: inline-flex; text-decoration: none; align-items: center; min-height: 44px; font-size: 1.1875rem; --fs: 19; color: var(--text); }
#ev-body { display: block; padding-top: 4px; }
#ev-body > h1 { font-family: var(--display); font-weight: 600; font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; text-wrap: balance; } /* "That event isn't on the list" */
#ev-body > p, #ev-body > .row { margin-top: 14px; }
.poster { display: flex; align-items: flex-end; min-height: 340px; padding: clamp(20px, 4vw, 40px); }
.poster-in { display: grid; gap: 10px; max-width: 920px; min-width: 0; }
.poster-k { font-family: var(--sign); font-weight: 700; font-size: 1.25rem; line-height: 1.2; } /* bold 20px: large text across the lines */
#ev-body .poster h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 0.98; letter-spacing: -0.02em;
  color: inherit; overflow-wrap: anywhere; text-wrap: balance; }
.poster-where { font-size: 1.5rem; line-height: 1.25; } /* 24px: large text across the lines */
/* CC-166: crew members going, as circles (people) under the place, then "and 2 interested" */
.poster-crew { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0 0; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.poster-crew .dots { display: inline-flex; flex: none; padding-left: 6px; }
.poster-crew .face { width: 34px; height: 34px; margin-left: -6px; font-size: 13px; border-color: var(--page); }
@media (max-width: 560px) { .poster { min-height: 300px; } .poster-crew .face { width: 30px; height: 30px; font-size: 12px; } }
/* CC-246: with a photo, the words keep the water on the left and the whole photo sits on the water to the right, never
   cropped (a square or tall picture shows whole, with water around it); on a phone it goes above the words. The frame
   is the photo's own size, so the credit sits small in the photo's bottom-right corner. */
.poster.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; gap: 0 clamp(16px, 3vw, 32px);
  padding: clamp(20px, 4vw, 40px); }
.has-photo .poster-in { align-self: end; }
.poster-photo { margin: 0; display: flex; justify-content: center; min-width: 0; }
.poster-frame { position: relative; display: block; max-width: 100%; line-height: 0; }
.poster-frame img { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; }
.photo-credit { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; min-height: 24px;
  padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 0.8125rem; line-height: 1.2;
  text-decoration: none; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-credit:hover, .photo-credit:focus-visible { background: rgba(0, 0, 0, 0.82); }
@media (max-width: 720px) {
  .poster.has-photo { grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 0; }
  .has-photo .poster-photo { order: -1; }
  .poster-frame img { max-height: 60vh; }
}

.ev-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main side" "takes side";
  column-gap: clamp(32px, 5vw, 64px); margin-top: 32px; align-items: start; }
.ev-main { grid-area: main; min-width: 0; }
.ev-side { grid-area: side; min-width: 0; }
.ev-cols > .ev-takes { grid-area: takes; }
@media (max-width: 860px) { .ev-cols { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "takes"; } .ev-side { margin-top: 48px; } }

/* the facts table: Big Shoulders keys, Instrument Sans values; a rule above and below, hairlines between */
.ev-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ev-facts dt, .ev-facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.ev-facts dt:first-of-type, .ev-facts dd:first-of-type { border-top: 0; }
.ev-map { white-space: nowrap; font-size: 1rem; } /* CC-218 */
.ev-facts dt { padding-right: 32px; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.ev-facts dd { font-size: 1.375rem; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ev-closed, .ev-main .credit { margin-top: 12px; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; color: var(--muted); }

/* the actions: all Big Shoulders 19px, 48px high, square. Primary is the lead fill; Interested and Going are
   secondary (an ink outline) with their dolphins, and pressed is the ink fill. */
.ev-actions, .ev-plan .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ev-actions { margin-top: 24px; }
.ev-plan { margin-top: 12px; display: grid; gap: 12px; }
.ev-plan.myplan { position: static; padding: 0; background: none; border: 0; } /* the card's picker, laid out in the page */
.ev-actions .btn, .ev-plan .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; text-decoration: none; }
.ev-plan .btn[aria-pressed="true"] { background: var(--text); color: var(--page); box-shadow: none; }
.ev-plan .btn[aria-pressed="true"] .mark-int { --dol-edge: var(--page); }
.ev-plan .btn[aria-pressed="true"] .mark-going { --dol-body: var(--page); --dol-mouth: var(--text); }
.ev-plan .mark { --mark-bg: var(--page); }
.ev-plan input[type="date"], .ev-plan select.go-day { min-height: 48px; padding: 0 12px; background: var(--page); color: var(--text); border: 1.5px solid var(--field-line); border-radius: 0;
  font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; }
.ev-said { font-family: var(--sign); font-weight: 700; font-size: 1.125rem; }
.ev-said .textbtn { min-height: 44px; margin-left: 8px; }
a.cal-link { display: inline-flex; align-items: center; } /* CC-170: a link among text buttons, centred on their line like them */
.myplan .row a.cal-link { align-self: stretch; }
.ev-more { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
.ev-more .went, .ev-more .textbtn { min-height: 44px; }
.ev-more .crewshare { top: 100%; left: 0; right: auto; width: min(100%, 360px); } /* the crew-share picker opens under the row */

/* your crews: the admin's pick first, then each crew, with its people as dots (circles are people) */
.ev-side h2, .ev-takes h2 { font-family: var(--sign); font-weight: 700; font-size: 1.375rem; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.ev-crew { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ev-crew h3 { font-family: var(--sign); font-weight: 700; font-size: 1.125rem; }
.ev-crew ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ev-who { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; line-height: 1.35; }
.ev-who .dots { display: inline-flex; flex: none; padding-left: 5px; }
.ev-who .face { width: 26px; height: 26px; margin-left: -5px; font-size: 12px; border-color: var(--page); }
.ev-who .mark-host { width: 30px; height: 29px; }
.ev-you { overflow: hidden; } /* CC-144: you, once you're going; it slides in (catalog.js evMotionCarry) */
.ev-you .ev-who { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ev-who .face-you { width: 30px; height: 30px; margin-left: -5px; background: var(--text); color: var(--page); font-size: 11px; }
.ev-side .hint { margin-top: 12px; }
.ev-side .btn { margin-top: 12px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; }

/* takes, under the actions */
.ev-takes { margin-top: 48px; }
.ev-takes ol { list-style: none; margin: 0; padding: 0; }
/* CC-172: each take is a pull quote: Newsreader italic, a rule above and below, then who said it. */
.ev-takes-yt { list-style: none; margin: 0 0 28px; padding: 0; } /* CC-172: Yours truly's take, above Your crews */
.ev-takes-yt .ev-take { margin-top: 0; }
.ev-takes h2 { border-bottom: 0; padding-bottom: 0; } /* the first quote's top rule is the heading's underline */
.ev-take { display: grid; gap: 6px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ev-take-quote { display: grid; gap: 6px; margin: 0; }
.ev-take-words { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.75rem; line-height: 1.2; overflow-wrap: anywhere; }
.ev-take-words span + span::before { content: " · "; color: var(--muted); font-style: normal; }
.ev-take-by { font-family: var(--sign); font-weight: 700; font-size: 1rem; color: var(--muted); }
.ev-take-by b { color: var(--text); font-weight: 700; }
#ev-share-url { width: 100%; margin-top: 12px; }
#ev-share-msg:empty { display: none; }
#ev-share-msg { margin-top: 8px; }
.ev-take.is-hidden > p { opacity: 0.55; }
.ev-take-admin { gap: 10px; align-items: center; }
/* CC-127: what was sent, on the "it's submitted" panel */
.sent-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.sent-facts dt { color: var(--muted); font-size: 1rem; font-weight: 600; }
.sent-facts dd { margin: 0; overflow-wrap: anywhere; }
/* CC-110: visitors and ticket clicks by where they came from */
.section h3#sources-title, .section h3#join-stats-title { margin: 22px 0 8px; font-size: var(--step-1); }
#join-summary { margin-bottom: 10px; }
.table-wrap { overflow-x: auto; }
.sources-table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.sources-table th, .sources-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sources-table th { color: var(--muted); font-size: 1rem; font-weight: 600; }
.sources-table td.n, .sources-table th.n { text-align: right; white-space: nowrap; }
.sources-table .how { color: var(--muted); font-size: 1rem; }
.sources-table tr.direct td { color: var(--muted); }
.utm-help { margin-top: 12px; }
.utm-help summary { cursor: pointer; color: var(--text); }
.utm-help ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.utm-help code { font-size: 1rem; overflow-wrap: anywhere; }
.traffic-chart rect.new { fill: var(--stripe); }
.traffic-chart rect.ret { fill: var(--lead); }
.sw.going + .sw, .interest-legend .sw:nth-of-type(2) { margin-left: 12px; }

/* event sources (admins, CC-70) */
.queue-item.source { align-items: start; }
.queue-item.source .alt-title .state { font-size: 1rem; vertical-align: middle; margin-left: 4px; }
.state.ok { background: var(--info-soft); color: var(--on-info-soft); }
.state.bad { background: var(--danger-soft); color: var(--on-danger-soft); }
.source-error { color: var(--on-danger-soft) !important; }
.queue-item.source select, #removed-list select { background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 8px 10px; color: var(--text); }
/* CC-133: deleting a source asks first, under its row */
.src-confirm, .rm-confirm { flex-basis: 100%; display: grid; gap: 10px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--danger-soft); color: var(--on-danger-soft); }
.src-confirm p, .rm-confirm p { margin: 0; }
.src-confirm .btn.ghost, .rm-confirm .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
#removed-actions { margin: 0 0 12px; } /* CC-153 */
#removed-ask:not(:empty) { margin: 0 0 12px; }
#removed-status:empty { display: none; }
/* CC-71: found events */
.found-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 18px; margin-bottom: 12px; }
.found-filters .field { min-width: 180px; }
.found-filters .field[hidden] { display: none; } /* CC-100: the rule form shows a phrase or a venue */
#budget-form .field { min-width: 0; width: 12rem; }
#budget-form .hint { flex-basis: 100%; margin: 0; }
.queue-item.found { align-items: start; }
.queue-item.found .kind .state { font-size: 1rem; vertical-align: middle; margin-left: 4px; }
.alt-meta.dup { color: var(--on-info-soft); background: var(--info-soft); display: inline-block; padding: 2px 8px; border-radius: var(--r-ctl); margin-top: 4px; }
.changes { margin: 6px 0 0; padding-left: 18px; font-size: 1rem; }
.changes li { margin: 2px 0; }
.changes .perf-change { margin: 6px 0; } /* CC-307 */
.perf-list { display: block; margin: 2px 0 4px; }
.perf-list summary { cursor: pointer; color: var(--link, inherit); text-decoration: underline; }
.perf-list ul { margin: 2px 0 6px; padding-left: 16px; font-variant-numeric: tabular-nums; }
.dates-note { overflow-wrap: anywhere; }
.skip-form { flex-basis: 100%; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.skip-form fieldset { position: relative; /* holds its .sr-only legend, which is otherwise as wide as the page and scrolls it sideways */ border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* CC-78: venue hours */
.editor fieldset.hours, #submit-form fieldset.hours { margin: 0; display: grid; gap: 10px; } /* CC-149: no box; the legend is its label */
/* CC-88: show days, each with its start times */
.editor fieldset.hours[hidden], #submit-form fieldset.hours[hidden] { display: none; }
.day-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.show-days .hours-row { align-items: start; }
.show-days .hours-row .day { padding-top: 8px; }
.show-days .hours-row .show-times { flex-wrap: wrap; }
.show-days .hours-row .show-times input { flex: 0 0 7.5rem; max-width: 7.5rem; }
.show-days > .hours-grid:empty { display: none; }
.show-days .hours-grid > .textbtn { justify-self: start; }
.show-days .weeks-of { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.show-days .weeks-of select { background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 7px 9px; }
.hours-grid { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 6px 12px; }
.hours-row .day { font-weight: 600; }
.hours-row select, .hours-row input { background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 7px 9px; min-width: 0; }
.hours-row .times { grid-column: 2; display: flex; align-items: center; gap: 8px; }
.hours-row .times input { flex: 1 1 0; min-width: 0; max-width: 9rem; }
.hours-row .times[hidden] { display: none; }
.hours-row:has(select) { grid-template-columns: 7.5rem auto minmax(0, 1fr); }
.hours-row:has(select) .times { grid-column: auto; }
@media (max-width: 520px) {
  .hours-row, .hours-row:has(select) { grid-template-columns: 1fr 1fr; }
  .hours-row .day { grid-column: 1 / -1; }
  .hours-row:has(select) .times { grid-column: 1 / -1; gap: 6px; }
  .show-days .hours-row .times, .show-days .weeks-of { grid-column: 1 / -1; }
  .show-days .hours-row .day { padding-top: 0; }
  .hours-row .times input { padding: 7px 6px; }
}
/* CC-74: culture crews. The crews page itself is Lakefront (CC-145), further down; these are shared with the cards,
   the event page and Home. */
.join h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-2); }
.card .crew-note { margin-top: 6px; font-size: 1rem; color: var(--muted); }
.crewshare .crewshare-h { font-weight: 600; margin-bottom: 2px; }
.crewshare .radio { margin: 4px 0; }
/* CC-75: "Three others are interested!": the number is a button; hover shows the names, a tap opens them below. */
.crew-count { position: relative; padding: 0 1px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.crew-count:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.crew-tip {
  position: fixed; z-index: 30; max-width: 240px; padding: 6px 10px; border-radius: var(--r-ctl); background: var(--text); color: var(--page);
  font-size: 1rem; font-weight: 600; line-height: 1.35; pointer-events: none;
}
.crew-tip[hidden] { display: none; }
.crew-tip, .crew-count-names { white-space: pre-line; } /* CC-93: one line per person who's been */
.crew-count-names { display: block; margin-top: 4px; padding: 6px 10px; border-radius: var(--r-ctl); background: var(--info-soft); color: var(--on-info-soft); font-size: 1rem; font-weight: 600; }
.crew-count-names[hidden] { display: none; }
/* CC-59, CC-106: invites waiting, on Home */
.pending { display: grid; gap: 8px; }
.pending + .pending { padding-top: 10px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.invite-banner { display: grid; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r-card); background: var(--info-soft); color: var(--on-info-soft); }
.invite-banner[hidden] { display: none; }
.invite-banner .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.invite-banner .textbtn { color: inherit; }
/* CC-84: Report an issue */
.report-row { margin-top: 6px; font-size: 1rem; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.report-row [hidden] { display: none; }
#is-fields, #is-done { display: grid; gap: 16px; } /* the form's spacing, for the parts inside these wrappers */
#is-fields[hidden], #is-done[hidden] { display: none; }
#issue-dialog #is-about { margin-block: 2px 4px; }
#issue-dialog textarea { display: block; width: 100%; background: var(--page); color: var(--text); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 9px 10px; font: inherit; resize: vertical; }
.queue-item.issue { align-items: start; }
.issue .ticket { font-variant-numeric: tabular-nums; color: var(--text); }
.queue-item.issue .kind .state { font-size: 1rem; vertical-align: middle; margin-left: 4px; }
.issue-note { margin-top: 6px; padding: 8px 10px; border-radius: var(--r-ctl); background: var(--info-soft); color: var(--on-info-soft); font-weight: 600; font-size: 1rem; }
.issue-edit { display: grid; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
/* CC-241: the Jira ticket made from a report */
.issue-jira .state { font-size: 1rem; margin-left: 4px; }
#jira-dialog textarea { display: block; width: 100%; background: var(--page); color: var(--text); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 9px 10px; font: inherit; resize: vertical; }
#jira-dialog #jr-reference { overflow-wrap: anywhere; }
/* CC-85: Where: several places at once */
.where-field { position: relative; }
.where-field .field-label { font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); }
.where-btn { width: 100%; min-width: 0; text-align: left; background-color: var(--page); color: var(--text); border-radius: var(--r-ctl);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* its size, border and caret: CC-141, with the selects */
.where-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.where-panel { position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; width: min(560px, calc(100vw - 32px)); max-height: min(60vh, 520px); overflow-y: auto;
  display: grid; gap: 12px; padding: 14px; background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--r-ctl); }
.where-panel[hidden] { display: none; }
.where-group { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.where-side { font-weight: 700; }
.where-hoods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 12px; padding-left: 4px; }
.where-hoods .radio { font-weight: 400; }
.where-panel .radio { min-height: 44px; } /* CC-141: every tap target is 44px */
.where-foot { position: sticky; bottom: -14px; justify-content: flex-end; padding: 10px 0 0; background: var(--surface); }
/* The dolphin filter buttons' hover text ("Events yours truly is interested in"), like the cards' dolphins */
.chip.mine { position: relative; }
.chip.mine .tip {
  display: none; position: absolute; z-index: 5; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px;
  padding: 6px 10px; border-radius: var(--r-ctl); background: var(--text); color: var(--page);
  font-size: 1rem; font-weight: 600; line-height: 1.35; text-align: center; white-space: normal; pointer-events: none;
}
@media (hover: hover) { .chip.mine:hover .tip, .chip.mine:focus-visible .tip { display: block; } }
/* CC-86: the invite link as a QR code */
.crew-qr { display: grid; justify-items: start; gap: 6px; margin: 4px 0 0; }
.crew-qr[hidden] { display: none; }
.crew-qr img { width: 240px; height: 240px; max-width: 100%; background: #fff; }
.crew-qr a { color: inherit; }
/* CC-87: a list capped at a few items (capList in util.js) scrolls inside itself */
.capped { overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.capped:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-card); }

/* CC-76: a photo with "I've been" */
.photo-box { display: grid; gap: 6px; justify-items: start; }
.photo-box img { max-width: 100%; max-height: 320px; border-radius: var(--r-card); background: var(--info-soft); }
/* CC-91: photo approvals */
.approval { align-items: flex-start; }
.approval-photo { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-card); max-width: 280px; flex: 0 0 auto; }
.approval-photo img { display: block; max-width: 100%; max-height: 240px; }
.approval-photo.blurred img { filter: blur(24px); transform: scale(1.1); }
.approval-photo button { position: absolute; }
.approval-decide { display: grid; gap: 8px; margin-top: 8px; }

/* CC-146: My Week in Lakefront (design/lakefront-brief.md section 10). A Instrument Sans title and an italic deck; the week
   bar with joined Previous and Next; the week (7) as one line a day in listings style beside Events you're interested in (5); the
   Culture Journal below at reading width, with only the entry being written open. On a phone: the week, Events
   you're interested in, then the journal. (CC-97's boxed days and CC-98's journal cards are gone.) */
.week-head { padding-block: 40px 0; }
.week-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.025em; }
.week-deck { margin-top: 10px; max-width: 60ch; font-style: italic; font-size: 1.3125rem; line-height: 1.4; color: var(--muted); }
#week-signin { margin-top: 28px; border: 0; }
#view-week .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; white-space: nowrap; }
#view-week .radio { min-height: 44px; }

/* the week bar: the range (read out when it changes), and Previous and Next joined */
.week-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-top: 28px; }
.week-range { font-family: var(--sign); font-weight: 700; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.week-steps { display: inline-flex; }
.week-step { min-height: 44px; padding: 0 16px; background: transparent; color: var(--text); border: 1.5px solid var(--text); border-radius: 0; cursor: pointer;
  font-family: var(--sign); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.week-step + .week-step { margin-left: -1.5px; } /* one shared edge */
.week-step:hover:not(:disabled) { background: var(--info-soft); }
.week-step:disabled { color: var(--muted); border-color: var(--field-line); cursor: default; }
.week-step:focus-visible { position: relative; z-index: 1; }
.week-jumps { display: flex; flex-wrap: wrap; gap: 0 24px; flex-basis: 100%; }
.week-jumps:not(:has(> :not([hidden]))) { display: none; }
.week-tbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; text-align: left;
  font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.week-hint { color: var(--muted); font-size: 1rem; }
.week-error { padding: 10px 14px; background: var(--danger-soft); color: var(--on-danger-soft); font-size: 1rem; } /* never red text */
.week-error:empty { display: none; }
.week-said { font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; }

/* 7/5: the week ahead and Events you're interested in, each opening on a rule with its count */
.week-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 48px; align-items: start; margin-top: 20px; }
.week-col { min-width: 0; container: weekcol / inline-size; } /* rows fit their column, not the window */
.week-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule);
  font-family: var(--sign); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.week-sub-n { color: var(--muted); font-size: 1.0625rem; }
.week-state { padding: 14px 0; }
#week-list > .week-hint, #interested-hint { margin-top: 10px; }
/* CC-160: after Withdraw interest, a line with Undo at the top of Events you're interested in, ruled off like a row */
.week-undo-box:empty { display: none; }
.week-undo-box { display: grid; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.week-undo { font-size: 1.0625rem; }
.week-undo-t { font-style: italic; }
.week-undo .week-tbtn { margin-left: 4px; vertical-align: middle; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
#interested-hint:empty { display: none; }

/* a day: its name, then its plans, or "Nothing yet…" under the name (so it lines up whatever the date) and
   Find something → on the right */
.wk-day { border-bottom: 1px solid var(--line); }
.wk-day-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-height: 48px; padding-block: 8px; }
.wk-day-t { grid-column: 1; grid-row: 1; font-family: var(--sign); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.wk-day.today .wk-day-t { font-weight: 800; }
.wk-none { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 1rem; font-style: italic; line-height: 1.3; }
.wk-day-h .day-find { grid-column: 2; grid-row: 1 / span 2; }
.wk-rows { list-style: none; margin: 0; padding: 0; }
.wk-rows .wk-row { border-top: 1px solid var(--line); }
#myplans-grid { list-style: none; margin: 0; padding: 0; }
#myplans-grid .wk-row { border-bottom: 1px solid var(--line); }

/* an event row (CC-140): the tile, name, venue and time are the link; who's in and the buttons follow, beside the tile */
.wk-row { position: relative; min-height: 101px; padding: 12px 0 12px 92px; }
.wk-row-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; align-items: baseline; color: var(--text); text-decoration: none; }
.wk-row-a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@supports selector(:has(a)) { /* the whole row shows the ring (brief section 5) */
  .wk-row-a:focus-visible { outline: none; }
  .wk-row:has(> .wk-row-a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
}
.wk-row .tile, .journal-a .tile { position: absolute; left: 0; top: 12px; width: 76px; height: 76px; }
.wk-row .listing-t { grid-column: 1; font-size: 1.5rem; --fs: 24; }
.wk-row .listing-t .mark { margin-left: 8px; vertical-align: -3px; }
.wk-where { grid-column: 1; font-size: 1rem; color: var(--muted); }
.wk-when { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 6px; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem;
  line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.wk-acts { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.wk-acts .went { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; padding: 0; background: none; border: 0; color: var(--text);
  font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.wk-acts .went[aria-pressed="true"] { background: none; color: var(--text); }
.wk-row .myplan { top: calc(100% - 8px); left: 92px; right: auto; width: min(380px, calc(100% - 92px)); }
/* a narrow column (Events you're interested in beside the week, or any phone): the time and dolphin go under the venue, so the
   name and venue keep the full width */
@container weekcol (max-width: 460px) {
  .wk-row-a { grid-template-columns: minmax(0, 1fr); }
  .wk-row .listing-t { font-size: 1.3125rem; --fs: 21; }
  .wk-when { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; text-align: left; font-size: 1rem; }
  .wk-row .myplan { left: 0; width: 100%; }
}
#view-week .myplan .went, #view-week .myplan .textbtn, #view-week .myplan input[type="date"], #view-week .crewshare .went { min-height: 44px; }

/* Find something: only that day's events, in place, under its line (CC-131) */
.day-found { display: grid; gap: 8px; padding: 2px 0 14px; }
.day-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.day-item { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.day-item > a { font-family: var(--display); font-weight: 500; font-size: 1.1875rem; line-height: 1.25; }
.day-where { font-size: 1rem; color: var(--muted); }
.day-commits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } /* CC-262 */
.day-commit { min-height: 44px; }
.day-time { font-family: var(--sign); font-weight: 700; font-size: 1rem; }
.day-scroll { display: grid; gap: 10px; overflow-y: auto; overscroll-behavior: contain; position: relative; } /* three to see, scroll for the rest */
/* CC-156: the three kinds, joined like Previous and Next, sharing the width; pressed is the ink, its swatch kept */
.day-kinds { display: flex; max-width: 460px; }
.day-kinds .week-step { flex: 1 1 0; min-width: 0; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; }
.day-kind::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--cat); }
.day-kind[aria-pressed="true"] { background: var(--text); color: var(--page); }
.day-kind[aria-pressed="true"]:hover { background: var(--text); }
.day-kind[aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px var(--page); }
.day-kind-none { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }

/* CC-159: My Week's line to the journal, on a rule under the week */
.week-tojournal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }
/* the Culture Journal (CC-98), its own page, at reading width. A folded entry is its row and its three words as an italic deck. */
/* CC-252: the journal's welcome box, a calm note (info-soft) under the deck. Signed in it has a 44px close in the corner. */
.jw { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; max-width: 820px; margin-top: 28px; padding: 18px 10px 18px 20px; background: var(--info-soft); color: var(--on-info-soft); }
.jw-in { display: grid; gap: 8px; padding-right: 10px; }
.jw-h { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: pretty; }
.jw-out { font-size: 1.0625rem; }
.jw-out .textbtn { padding-block: 12px; margin-block: -12px; color: inherit; font-size: inherit; } /* a 44px target inside the line */
.jw-x { display: grid; place-items: center; width: 44px; height: 44px; margin-block: -10px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.jw-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.journal-sec { max-width: 820px; margin-top: 28px; padding-top: 10px; border-top: 1px solid var(--rule); }
.journal { display: grid; }
.journal > .week-hint, .journal > .week-error { margin-top: 14px; }
.journal-entry { padding: 20px 0; border-bottom: 1px solid var(--line); }
.journal-row { position: relative; min-height: 76px; padding-left: 92px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.journal-a { grid-column: 1; display: grid; gap: 3px; color: var(--text); text-decoration: none; }
.journal-a .tile { top: 0; }
.journal-a .listing-t { font-size: 1.5rem; --fs: 24; }
.journal-thumb { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.journal-words { grid-column: 1; font-style: italic; font-size: 1.625rem; line-height: 1.2; overflow-wrap: anywhere; }
.journal-nowords { grid-column: 1; }
.journal-meta { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; align-content: start; font-family: var(--sign); font-weight: 700;
  font-size: 1.0625rem; line-height: 1.2; text-align: right; }
.journal-meta > span { padding-top: 4px; }
.journal-body { display: grid; gap: 16px; margin-top: 16px; }
.journal-form { display: grid; gap: 14px; }
.journal-form input[type="text"], .journal-form textarea { display: block; width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); border-radius: 0;
  background: var(--page); color: var(--text); font: inherit; font-size: 1.125rem; }
.journal-form textarea { padding-block: 10px; resize: vertical; }
.journal-form input[aria-invalid="true"] { border: 2.5px solid var(--text); padding: 0 11px; } /* the box at fault: never red */
.journal-form .row { gap: 12px 16px; align-items: center; }
.three-words { border: 0; margin: 0; padding: 0; }
.three-words legend { padding: 0; margin-bottom: 4px; font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); }
.three-words .row { flex-wrap: nowrap; gap: 12px; }
.three-words input { flex: 1 1 0; min-width: 0; }
.journal-photo { margin: 0; }
.journal-photo img { display: block; width: min(100%, 360px); aspect-ratio: 4 / 3; object-fit: cover; }
.journal-photo figcaption { margin-top: 4px; font-family: var(--sign); font-weight: 700; font-size: 1rem; color: var(--muted); }
/* CC-112: "Share publicly", under the entry's form; once on, how it's signed */
.journal-share { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.journal-share .radio:has(input:disabled) { cursor: default; color: var(--muted); }
.share-as { display: flex; flex-wrap: wrap; gap: 0 18px; border: 0; margin: 0; padding: 0; }
.share-as legend { padding: 0; margin-bottom: 4px; font-size: 1rem; font-weight: 700; font-family: var(--sign); color: var(--muted); }
.share-as .radio { font-weight: 400; }
.journal-form .radio, .journal-share .radio { min-height: 44px; } /* CC-159: the whole line is the tap target */
/* CC-248: your own events. Add an event and Your categories above the lists; "Coming up" and "Where you've been" as
   small heads when there are events still to come; a row that isn't a link (it has no event page); the photo's file
   box hidden behind its label, which looks like the other entry buttons. */
.own-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.own-bar-hint { flex-basis: 100%; margin: 0; }
.journal-sub { margin: 28px 0 0; font-family: var(--sign); font-size: 1.125rem; font-weight: 700; color: var(--muted); text-transform: none; }
.own-new-h { margin: 0 0 12px; font-size: 1.5rem; }
.own-a .listing-t { cursor: default; }
.own-form .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.own-form .field input, .own-form .field select { min-height: 48px; border-radius: 0; border-width: 1.5px; }
.own-form .field[hidden] { display: none; }
.own-photo-in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.own-row { position: relative; }
.own-photo-btn { cursor: pointer; }
.own-row:has(.own-photo-in:focus-visible) .own-photo-btn { outline: 2px solid var(--focus); outline-offset: 2px; }
.own-cats { padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.own-cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.own-cat-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.own-cat-f input { min-height: 44px; min-width: 0; flex: 1 1 180px; max-width: 320px; padding: 0 10px; border: 1.5px solid var(--field-line); background: var(--page); color: var(--text); }

@media (max-width: 700px) {
  .week-head { padding-top: 24px; }
  .week-cols { grid-template-columns: minmax(0, 1fr); } /* the week, then Events you're interested in */
  .journal-row { grid-template-columns: minmax(0, 1fr); }
  .journal-a .listing-t { font-size: 1.3125rem; --fs: 21; }
  .journal-words { font-size: 1.375rem; }
  .journal-meta { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; text-align: left; }
  .journal-meta > span { padding-top: 0; }
}

/* CC-96: a fixed run's dates, each with its start and (optional) end time */
.fixed-run { display: grid; gap: 10px; }
.run-add { align-items: end; gap: 8px; }
.run-add .field { flex: 0 1 12rem; }
.run-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.run-date { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.run-day { font-weight: 700; min-width: 9.5rem; }
.run-time { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 520px) { .run-day { flex-basis: 100%; } }
.run-date label { font-size: 1rem; font-weight: 700; color: var(--muted); }
.run-date input[type="time"] { background: var(--page); color: var(--text); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 5px 8px; }
.run-date .textbtn { margin-left: auto; }

/* People are pale-tint dots with ink initials (circles are people, CC-136): on the listings, the event page and Crews. */
.face { width: 30px; height: 30px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--sign); font-weight: 800;
  font-size: 13px; line-height: 1; border: 2px solid var(--page); color: var(--dot-ink); }
.face.tone-0 { background: var(--dot-0); } .face.tone-1 { background: var(--dot-1); } .face.tone-2 { background: var(--dot-2); }
.face.tone-3 { background: var(--dot-3); } .face.tone-4 { background: var(--dot-4); } .face.tone-5 { background: var(--dot-5); }
.face.more { background: var(--line); color: var(--text); }
.face-s { width: 22px; height: 22px; margin-left: 0; font-size: 11px; }
.face-l { width: 40px; height: 40px; margin-left: 0; font-size: 15px; }
.dots { display: inline-flex; flex: none; padding-left: 6px; }

/* CC-145: the crews page in Lakefront (design/lakefront-brief.md section 10). A Instrument Sans title and an italic deck;
   invites waiting on the pale blue band; the count and a secondary Start a crew on the section rule; then a row per
   crew. An open crew is 7/5, plans as event rows and members, with Manage crew under them, closed by default. */
.crews-head { padding-block: 40px 0; }
.crews-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.025em; }
.crews-deck { margin-top: 10px; max-width: 60ch; font-style: italic; font-size: 1.3125rem; line-height: 1.4; color: var(--muted); }
#crews-signin { margin-top: 28px; border: 0; }
#crews-status { margin-top: 28px; }
#view-crews .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; white-space: nowrap; }
#view-crews .btn.ink { background: var(--text); color: var(--page); box-shadow: none; }
#view-crews .form-error { margin: 0; }
#view-crews .field input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); background: var(--page); color: var(--text); font-size: 1.125rem; }
#view-crews .field input[aria-invalid="true"] { border: 2.5px solid var(--text); padding: 0 11px; } /* the field at fault: never red */
#view-crews .field label { font-size: 1.0625rem; }

/* invites waiting: on the band, first */
.pending-invites { display: grid; gap: 4px; margin-top: 28px; padding: 16px 20px; background: var(--info-soft); color: var(--on-info-soft); }
.pending-invites h2 { font-family: var(--sign); font-weight: 700; font-size: 1.25rem; }
.pending-invites .pending { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 8px; }
.pending-invites .pending p { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 20rem; }
.pending-invites .pending .face { margin-left: 0; border-color: var(--info-soft); }
.pending-invites .hint { color: var(--muted); }
.pending-invites .row { gap: 12px; }
.pending-invites .btn { min-height: 44px; padding: 0 14px; font-size: 1.0625rem; }
.pending-invites .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.pending-invites .textbtn { color: inherit; }
.pending-invites :focus-visible { outline-color: var(--focus); }

/* the count and Start a crew, on the rule */
.crews-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-top: 48px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.crews-n { font-family: var(--sign); font-weight: 700; font-size: 1.25rem; }
.crew-new { display: grid; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.crew-new h3 { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; }
.crew-new .fields, .crew-edit .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; max-width: 760px; }
.crews:empty { display: none; }
.crews-empty { padding: 24px 0; color: var(--muted); max-width: 60ch; }

/* one row per crew: name, You started it, about, the members' dots, Next up, the caret. The whole row is the button. */
.crew { border-bottom: 1px solid var(--line); }
.crew-h { font: inherit; }
.crew-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) 28px; gap: 8px 20px; align-items: center; width: 100%; min-height: 44px;
  padding: 18px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.crew-sum:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.crew-id { display: block; min-width: 0; }
.crew-top { display: block; font-size: 1.875rem; --fs: 30; } /* CC-226: the name and "You started it" grow together, or the name would run over it */
.crew-name { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.crew-you { margin-left: 8px; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; color: var(--muted); white-space: nowrap; vertical-align: 4px; }
.crew-about { display: block; margin-top: 4px; font-size: 1rem; color: var(--muted); }
.crew-banner { display: flex; align-items: center; gap: 14px; min-width: 0; }
.crew-next { min-width: 0; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.crew-next-label { color: var(--muted); }
.crew-caret { justify-self: end; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.crew-sum[aria-expanded="true"] .crew-caret, .crew-manage-btn[aria-expanded="true"] .crew-caret { transform: rotate(180deg); }

/* the open crew, 7/5. Opening is instant. */
.crew-detail { padding-bottom: 24px; }
.crew-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.crew-dd > summary { cursor: pointer; list-style: none; align-items: center; min-height: 44px; }
.crew-dd > summary::-webkit-details-marker { display: none; }
.crew-dd > summary > span:first-child { flex: 1; min-width: 0; } /* the count sits against the caret, so every row lines up */
.crew-dd > summary .crew-caret { flex: none; }
.crew-dd[open] > summary .crew-caret { transform: rotate(180deg); }
.crew-dd[open] { padding-bottom: 12px; }
.crew-dd > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.crew-col { min-width: 0; }
.crew-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule);
  font-family: var(--sign); font-weight: 700; font-size: 1.25rem; }
.crew-sub-t { margin: 6px 0 0; color: var(--muted); font-size: 1rem; }
.crew-sub-n { color: var(--muted); font-size: 1.0625rem; text-align: right; }
.crew-none { padding: 14px 0; color: var(--muted); font-size: 1rem; border-bottom: 1px solid var(--line); }
.crew-members, .crew-plans, .crew-invites { list-style: none; margin: 0; padding: 0; }
.crew-members li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 56px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.crew-members .who { font-size: 1.1875rem; min-width: 0; overflow-wrap: anywhere; }
.crew-role { margin-left: auto; font-family: var(--sign); font-weight: 700; font-size: 1rem; color: var(--muted); }

/* a plan is an event row (CC-140): the tile, name, venue and dates are the link; who's in follows, beside the tile */
.crew-plan { position: relative; min-height: 101px; padding: 12px 0 12px 92px; border-bottom: 1px solid var(--line); }
.crew-plan-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; align-items: baseline; color: var(--text); text-decoration: none; }
.crew-plan-a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@supports selector(:has(a)) { /* the whole row shows the ring (brief section 5) */
  .crew-plan-a:focus-visible { outline: none; }
  .crew-plan:has(> .crew-plan-a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
}
.crew-plan .tile { position: absolute; left: 0; top: 12px; width: 76px; height: 76px; }
.crew-plan .listing-t { grid-column: 1; font-size: 1.5rem; --fs: 24; }
.crew-plan-where { grid-column: 1; font-size: 1rem; color: var(--muted); }
.crew-plan-when { grid-column: 2; grid-row: 1; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; text-align: right; font-variant-numeric: tabular-nums; }
.crew-line { margin-top: 6px; font-size: 1.0625rem; line-height: 1.5; } /* dots, dolphin, words: one run of text that wraps */
.crew-line .dots { padding-left: 5px; margin-right: 8px; vertical-align: -5px; }
.crew-line .face { width: 22px; height: 22px; margin-left: -5px; font-size: 11px; }
.crew-line .mark { margin-right: 8px; vertical-align: -4px; }
.crew-been { color: var(--muted); }

/* Manage crew, closed by default */
.crew-manage-wrap { margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
.crew-manage-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--text);
  font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.crew-manage-btn .crew-caret { width: 12px; height: 12px; }
.crew-manage-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.crew-mg-part { display: grid; gap: 12px; max-width: 760px; margin-top: 24px; }
.crew-mg-part .row { gap: 12px; }
.crew-link { display: grid; gap: 12px; }
.crew-link input { width: 100%; }
.crew-invites li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 44px; border-bottom: 1px solid var(--line);
  font-size: 1rem; color: var(--muted); }
.crew-tbtn { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 1.0625rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.crew-tacts { display: flex; flex-wrap: wrap; gap: 0 20px; margin-left: auto; }
.crew-members-mg li { min-height: 52px; padding-block: 4px; }
.crew-members-mg .who { font-size: 1.125rem; }
.crew-email-row { display: flex; gap: 12px; }
.crew-email-row input { flex: 1 1 auto; min-width: 0; }
.crew-email .form-error { margin-top: 6px; }
.crew .confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--danger-soft); color: var(--on-danger-soft); }
.crew .confirm b { font-family: var(--sign); font-weight: 700; font-size: 1.125rem; }
.crew .confirm .btn { min-height: 44px; padding: 0 14px; }
.crew .confirm .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

@media (max-width: 700px) {
  .crews-head { padding-top: 24px; }
  .crew-sum { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px 12px; }
  .crew-banner { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .crew-caret { grid-column: 2; grid-row: 1; }
  .crew-top { font-size: 1.5625rem; --fs: 25; }
  
  .crew-plan-a { grid-template-columns: minmax(0, 1fr); }
  .crew-plan .listing-t { font-size: 1.3125rem; --fs: 21; }
  .crew-plan-when { grid-column: 1; grid-row: auto; text-align: left; font-size: 1rem; }
  .crew-email-row { flex-wrap: wrap; }
  .crew-tacts { margin-left: 34px; } /* under the name, past the dot */
}

/* CC-105: your name in the header, and its menu. CC-137: the you menu is a square panel (1.5px ink border, no
   shadow) with the current page in bold; in the phone sheet it sits open under your name. */
.me-wrap { position: relative; display: inline-flex; }
.me-btn { display: inline-flex; align-items: center; gap: 6px; max-width: 16rem; }
.me-btn #me-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-caret { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.me-btn[aria-expanded="true"] .me-caret { transform: rotate(180deg); }
.me-menu { position: absolute; top: calc(100% + 18px); right: 0; z-index: 20; width: 16.25rem; max-width: calc(100vw - 32px); display: grid;
  background: var(--page); color: var(--text); border: 1.5px solid var(--rule); }
.me-menu[hidden] { display: none; }
.me-menu [data-me] { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; min-height: 48px; padding: 0 16px;
  background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: inherit; font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; color: var(--text); }
.me-menu [data-me="account"], .me-menu [data-me="people"] { border-bottom: 0; } /* Sign out's rule takes its place: never two rules */
.me-menu [data-me="review"] { border-bottom-color: var(--rule); } /* CC-206: the queue, then the three groups */
.me-menu [data-me="signout"] { border-top: 1px solid var(--rule); border-bottom: 0; }
.me-menu [data-me]:hover { background: var(--surface); }
.me-menu [data-me]:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.me-menu [aria-current="page"] { font-weight: 800; }
.me-menu .count:not(:empty) { color: var(--muted); }
/* CC-242: in the phone sheet, Review and your name are bars that open and shut their list (sheetBar, util.js) */
.me-head {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
  font-family: var(--sign); font-weight: 700; font-size: 1.25rem; --fs: 20; color: var(--text);
}
.me-head .count:not(:empty) { margin-left: 0; }
.me-head .me-caret { width: 14px; height: 14px; margin-left: auto; }
.me-head[aria-expanded="true"] .me-caret { transform: rotate(180deg); }
.me-head:hover { background: var(--surface); }
.me-head[hidden] { display: none; }
@media (max-width: 960px) {
  .mast.open .me-wrap { display: grid; }
  .mast.open .me-menu { position: static; width: auto; max-width: none; border: 0; }
  .mast.open .me-menu [data-me] { /* CC-242: an open bar's list sits a step in, under its bar */ padding-left: max(32px, env(safe-area-inset-left)); font-size: 1.125rem; --fs: 18; }
  .mast.open .me-menu [data-me="account"], .mast.open .me-menu [data-me="people"] { border-bottom: 1px solid var(--line); }
  .mast.open .me-menu [data-me="review"] { border-bottom-color: var(--line); }
  .mast.open .me-menu [data-me="signout"] { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .me-caret { transition: none; } }
/* CC-116: on phones When, Cost, Where and Sort sit behind one Filters button (a sheet), with what's chosen as
   removable chips above the results. Wider screens keep the one row of fields. */
.more-fields { display: contents; }
.filters-btn, .active-filters { display: none; }
.active-filters .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; border: 1.5px solid var(--text); }
.active-filters .chip:hover { border-color: var(--text); background: var(--info-soft); }
.active-filters .chip span { font-size: 1.125rem; line-height: 1; color: var(--muted); }
.active-filters .chip:hover span { color: var(--text); }
.filter-sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; padding: 0; border: 0; border-top: 1.5px solid var(--rule);
  background: var(--page); color: var(--text); }
.filter-sheet::backdrop { background: rgb(0 0 0 / 0.55); }
.sheet-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: 88dvh; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.sheet-body .more-fields { display: grid; gap: 16px; }
.sheet-body .where-panel { position: static; width: auto; max-height: none; margin-top: 6px; box-shadow: none; }
.sheet-body .where-foot { position: static; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; max-width: 260px; }
@media (max-width: 640px) {
  .filters { padding: 12px; gap: 10px; }
  #filters { padding: 14px 0; gap: 12px; }
  .chip-row { gap: 10px 16px; } /* CC-141: the groups wrap, never scroll sideways */
  .segs .chip { padding: 0 12px; gap: 6px; font-size: 1.0625rem; white-space: nowrap; }
  .fields { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .search-field label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fields > .more-fields { display: none; }
  .filters-btn { display: inline-flex; align-items: center; padding-block: 0; }
  .active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
  .active-filters:empty { display: none; }
  .tally { padding-block: 12px 10px; }
}
/* CC-149: the rest of the site in Lakefront (design/lakefront-brief.md sections 5 and 10): Find an outing, Send us an
   event, the admin pages and the dialogs they open. Under any "← Review" link, a Instrument Sans title and an italic deck
   (.view-head, above). Sections open on a rule, with a count where there is one. Lists are rows between hairlines,
   never boxes, and statuses are words. Forms: Big Shoulders labels above 48px square fields in Instrument Sans with a 1.5px
   border; buttons are the event page's (48px; 44px inside a row). Notices sit on the pale blue band; errors on the
   pale red one, starting "Check this:" (never red text). Scoped to .lf-page and .editor so the other pages keep theirs. */
.lf-back { margin-bottom: -2px; }
.lf-back .textbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-size: 1.1875rem; --fs: 19; text-decoration: none; }
.lf-page .section { margin-top: 48px; gap: 12px; }
.lf-page .section > h2, .lf-page .interest-head h2 { font-family: var(--sign); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: 0; }
.lf-page .section > h2, .lf-page .interest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 16px;
  padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.lf-page .interest-head { align-items: end; padding-bottom: 12px; }
.lf-page .section h3 { font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; }
.lf-n { color: var(--muted); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.lf-n:empty { display: none; }
.lf-page .section > .hint { margin-top: -2px; }

/* rows: what was a box is a row between hairlines */
.lf-page .queue { gap: 0; }
.lf-page .queue-item { gap: 10px 24px; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
.lf-page .queue > .hint, .lf-page .queue > .form-error { margin-block: 12px; }
.lf-page .queue-item .alt-title { font-family: var(--display); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; }
.lf-page .queue-item .alt-meta { margin-top: 2px; }
.lf-page .queue-item .btn { min-height: 44px; padding: 0 14px; font-size: 1.0625rem; }
.lf-page .queue-item .row { gap: 10px 12px; }
/* statuses are words in the signage voice, set off by a dot inside a title or a kind line */
.lf-page .state, .editor .state { padding: 0; background: none; box-shadow: none; color: var(--text); font-family: var(--sign); font-weight: 700; }
.lf-page .alt-title .state, .lf-page .kind .state { margin-left: 0; vertical-align: baseline; }
.lf-page .alt-title .state::before, .lf-page .kind .state::before { content: "· "; color: var(--muted); }
.lf-page .alt-meta.dup { padding: 6px 10px; }

/* bands: notices on the pale blue, errors on the pale red */
.lf-page .notice, .editor .notice { padding: 14px 20px; font-weight: 400; font-size: 1.0625rem; }
.lf-page .form-error, .editor .form-error { margin: 0; padding: 10px 14px; font-weight: 400; font-size: 1.0625rem; }
.lf-page .form-error:not(:empty)::before, .editor:not(.invite-dlg) .form-error:not(:empty)::before { content: "Check this: "; font-weight: 600; }
.lf-page .src-confirm, .editor .confirm { padding: 14px 20px; }

/* forms */
.lf-page .fields, .editor .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; } /* two across only when both fit */
.lf-page .field, .editor .field { gap: 6px; align-content: start; } /* a hint under one field doesn't push its neighbour's box down */
.lf-page .field label:not(.radio), .editor .field label:not(.radio), .editor .field .field-lab { font-size: 1.0625rem; }
.field .field-lab a { color: var(--link, inherit); text-decoration: underline; } /* CC-256 */
.lf-page :is(.field input:not([type="checkbox"], [type="radio"], [type="file"]), .field select, .field textarea, .queue-item select, .queue-item textarea),
.editor :is(.field input:not([type="checkbox"], [type="radio"], [type="file"]), .field select, .field textarea) {
  min-height: 48px; padding: 0 12px; background: var(--page); color: var(--text); border: 1.5px solid var(--field-line); border-radius: 0;
  font-family: var(--body); font-size: 1.125rem; line-height: 1.3;
}
.lf-page :is(.field, .queue-item) textarea, .editor .field textarea { padding: 10px 12px; line-height: 1.4; }
.lf-page :is(.field, .queue-item) select:not([size]), .editor .field select:not([size]), .lf-page .hours-row select, .editor .hours-row select, .editor .weeks-of select {
  appearance: none; padding-right: 32px; font-family: var(--sign); font-weight: 600; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.editor .field select[size] { padding: 4px; }
.lf-page .field input[aria-invalid="true"], .lf-page .field select[aria-invalid="true"] { border: 2.5px solid var(--text); padding-inline: 11px; } /* the field at fault: never red */
.lf-page .field.missing :is(input, select) { border-style: dashed; border-color: var(--lead); }
.lf-page .miss-tag, .lf-page .fill-tag { padding: 0; background: none; color: var(--muted); }
.lf-page .field.filled :is(input, select) { background: var(--info-soft); color: var(--on-info-soft); } /* CC-215: for a few seconds after a read */
.editor .hours-row :is(select, input), .lf-page .hours-row :is(select, input), .editor .weeks-of select, .lf-page .weeks-of select, .run-date input {
  min-height: 44px; padding: 0 10px; background-color: var(--page); color: var(--text); border: 1.5px solid var(--field-line); border-radius: 0; font-family: var(--body); font-size: 1.0625rem;
}
.lf-page .radio, .editor .radio { min-height: 44px; gap: 10px; font-weight: 400; }
.lf-page .radio input, .editor .radio input { width: 20px; height: 20px; flex: none; }
.lf-page .field label.radio, .editor .field label.radio { font-size: 1.125rem; font-weight: 400; } /* a checkbox, not a field label */
/* a group of choices: its legend reads as a label; no box around it, so no box inside a box */
.lf-page fieldset, .editor fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 4px; }
.lf-page fieldset[hidden], .editor fieldset[hidden] { display: none; }
.lf-page legend, .editor legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; color: var(--muted); font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; }
.lf-page legend + *, .editor legend + * { clear: both; }
.lf-page .publish .field, .editor .publish .field { margin-left: 30px; }
.lf-page fieldset.hours, .editor fieldset.hours { gap: 10px; }
.lf-page .day-picks .chip, .editor .day-picks .chip { min-height: 44px; min-width: 52px; padding: 0 12px; border: 1.5px solid var(--text); color: var(--text); }
.lf-page .day-picks .chip[aria-pressed="true"], .editor .day-picks .chip[aria-pressed="true"] { background: var(--text); color: var(--page); }
.lf-page .run-date, .editor .run-date { border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }

/* buttons: primary (lead), secondary (an ink outline), 48px */
.lf-page .btn, .editor .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; text-decoration: none; }
.lf-page .btn.neutral, .editor .btn.neutral { box-shadow: inset 0 0 0 1.5px var(--text); }
.lf-page .textbtn, .editor .textbtn { display: inline-flex; align-items: center; min-height: 44px; }
.lf-page .row, .editor .row { gap: 12px 20px; }
.lf-page .panel { border: 0; padding: 24px; } /* signed out: the quiet surface, "Sign in or create an account" */
/* filters over a list: no box; Venues' sit between two rules like the catalog's (CC-141) */
.lf-page .found-filters { gap: 12px 18px; margin-bottom: 16px; }
.lf-page .found-filters .field { flex: 1 1 180px; max-width: 320px; }
.lf-page > .notice { margin-bottom: 20px; }
.lf-page .filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; padding: 18px 0; background: none; border: 0; border-block: 1px solid var(--rule); }
.lf-page .filters .field { flex: 1 1 220px; }
.lf-page .lf-count { margin-block: 14px 4px; }
.lf-page .found-filters + .hint:empty, .lf-page .lf-count:empty { display: none; }

/* the dialogs: square, on the lake scrim, like Invite a Friend (CC-147) */
.editor { padding: 32px; background: var(--page); border: 1.5px solid var(--rule); }
.editor::backdrop { background: rgb(14 42 64 / 0.55); }
:root[data-theme="dark"] .editor::backdrop { background: rgb(3 10 16 / 0.7); }
.editor form { gap: 16px; }
.editor h2 { font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.1; }
.editor .remove { padding-top: 16px; }
@media (max-width: 760px) { .editor { padding: 24px 20px; } }

/* CC-265: admin image changes use the same category water and contained artwork as catalog cards. */
.editor .ed-picture-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.editor .ed-picture-preview { flex: 0 0 168px; max-width: 100%; }
.editor .ed-picture-preview .tile { width: 168px; max-width: 100%; height: 112px; border: 1.5px solid var(--rule); border-radius: var(--r-ctl); }
.editor .ed-picture-actions { flex: 1 1 220px; display: grid; gap: 12px; min-width: 0; }
.editor .ed-picture-actions .field input[type="file"] { display: block; max-width: 100%; font: inherit; color: var(--text); }
.editor .ed-picture-actions .row { gap: 8px; }
.editor #ed-image-undo[hidden], .editor #ed-picture-controls[hidden] { display: none; }
.editor .ed-picture-actions input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); font-family: var(--sign); font-weight: 700; font-size: 1rem; cursor: pointer; } /* the ghost button, not the browser's grey one */
.editor .ed-picture-actions input[type="file"]::file-selector-button:hover { background: var(--info-soft); }

/* CC-206: the Review menu's group pages: one reading column, built for the iPad. A row is one link, with what's waiting as a plain number. */
.hub { max-width: 50rem; }
.lf-page .hub .section > h2 { justify-content: flex-start; font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.125rem); letter-spacing: -0.01em; }
.hub .section:first-child { margin-top: 32px; }
.hub > .hint:empty { display: none; }
.hub-rows { list-style: none; margin: 0; padding: 0; }
.hub-rows li + li { border-top: 1px solid var(--line); }
.hub-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; width: 100%; min-height: 76px; padding: 12px 0;
  background: none; border: 0; color: var(--text); cursor: pointer; font: inherit; text-align: left; text-decoration: none; }
.hub-plain .hub-row { grid-template-columns: minmax(0, 1fr) auto; }
.hub-n { font-family: var(--sign); font-weight: 700; font-size: 2.375rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hub-name { display: block; font-family: var(--display); font-weight: 500; font-size: 1.5625rem; --fs: 25; line-height: 1.2; }
.hub-sub { display: block; color: var(--muted); font-size: 1.125rem; line-height: 1.35; }
.hub-go { font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; white-space: nowrap; }
.hub-spend { font-family: var(--sign); font-weight: 700; font-size: 2.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hub-spend span { font-family: var(--body); font-weight: 400; font-size: 1.3125rem; color: var(--muted); }
.hub-link { min-height: 44px; font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; }
@media (max-width: 560px) {
  .hub-rows:not(.hub-plain) .hub-row { grid-template-columns: 58px minmax(0, 1fr); }
  .hub-rows:not(.hub-plain) .hub-go { display: none; }
  .hub-n { font-size: 2rem; }
  .hub-name { font-size: 1.3125rem; --fs: 21; }
  .hub-rows.src-rows:not(.hub-plain) .hub-row { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .hub-rows.src-rows .hub-go { display: block; }
}
/* CC-207: Event Sourcing: the budget dial, the graph of new events found, the found events list and the tools */
.hub-top { display: flex; flex-wrap: wrap; gap: 0 48px; } /* Needs you beside the budget, one under the other on a phone; with nothing needed, the budget alone */
.hub .hub-top > .section { flex: 1 1 17rem; min-width: 0; margin-top: 32px; align-self: flex-start; } /* not stretched to the taller one: that pulls a heading from its list */
#needs-list .hub-row { grid-template-columns: 52px minmax(0, 1fr); }
#needs-list .hub-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.gauge { max-width: 320px; margin: 8px 0 12px; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge .zone { fill: none; stroke-width: 8; }
.gauge .zone.on { stroke-width: 18; } /* the zone it's in is the thick one, so it doesn't rest on colour alone */
.gauge .ok { stroke: var(--gauge-ok); } .gauge .warn { stroke: var(--gauge-warn); } .gauge .stop { stroke: var(--gauge-stop); }
.gauge .needle { stroke: var(--text); stroke-width: 3; }
.gauge .pin { fill: var(--text); }
.gauge text, .graph text { fill: var(--muted); font-family: var(--sign); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.graph { position: relative; }
.graph svg { display: block; width: 100%; height: 220px; touch-action: pan-y; }
.graph .grid { stroke: var(--line); stroke-width: 1; }
.graph .line { fill: none; stroke: var(--lead); stroke-width: 2; }
.graph .dot { fill: var(--lead); stroke: var(--page); stroke-width: 2; }
.graph .cross { stroke: var(--field-line); stroke-width: 1; }
.graph text.now { fill: var(--text); }
.graph-tip { position: absolute; top: 0; z-index: 1; padding: 4px 8px; background: var(--text); color: var(--page); font-family: var(--sign); font-weight: 700; font-size: 1rem; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.src-panel { padding: 0 0 12px; }
.src-panel[hidden] { display: none; }
.lf-page .src-panel .queue-item:last-child { border-bottom: 0; } /* the row below brings its own rule: never stack two */
.src-rows .hub-go { min-width: 3em; text-align: right; }
/* CC-208: batch review. The tick is 44px to touch; the bar stays in view while the list scrolls. */
.src-by { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.src-pick, .src-all { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.src-pick { justify-content: flex-start; min-width: 44px; }
.src-pick input, .src-all input { width: 22px; height: 22px; margin: 0; accent-color: var(--lead); }
.src-all { gap: 10px; font-family: var(--sign); font-weight: 700; white-space: nowrap; }
.queue-item.found.pickable { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; }
.src-days { display: grid; gap: 20px; padding-top: 4px; }
.src-day-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0 16px; border-bottom: 1px solid var(--rule); }
.src-day-head .listing-day-head { margin: 0; border-bottom: 0; flex: 1 1 auto; }
.lf-page .src-day .queue-item:last-child { border-bottom: 0; }
.src-batch { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 8px; margin-top: 12px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); background: var(--page); border-top: 1.5px solid var(--rule); }
.src-batch[hidden] { display: none; }
.src-batch p { margin: 0; }
.src-batch .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.src-batch .row[hidden] { display: none; }
.src-batch .btn { padding-inline: 12px; } /* with Clear, one line on a phone */
@media (max-width: 640px) {
  .queue-item.found.pickable { grid-template-columns: 44px minmax(0, 1fr); }
  .queue-item.found.pickable > .row { grid-column: 2; }
}
.hub-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-tools .btn { padding-inline: 14px; } /* all five on one line on an iPad */


/* Site stats: the weekly figures without boxes, each under a rule */
.lf-page .stat-grid { gap: 32px; }
.lf-page .stat-card { gap: 6px; padding: 10px 0 0; background: none; border: 0; border-top: 1px solid var(--rule); }
.stat-h { font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.lf-page .stat-summary strong, .lf-page .stat-now strong { font-weight: 500; }
.lf-page .interest-list { gap: 0; margin-top: 0; }
.lf-page .interest-list li { padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
.lf-page .sources-table th { font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; border-bottom-color: var(--rule); }
.lf-page .interest-filters .radio { min-height: 48px; }
.lf-page .utm-help summary { display: inline-flex; align-items: center; min-height: 44px; }
.lf-page .card-maker #card-campaign { max-width: 360px; }

/* Find an outing: the choices as rows; pressed is the ink fill */
.lf-page .opts { gap: 0; margin-top: 0; border-top: 1px solid var(--rule); }
.lf-page .opt { align-items: center; min-height: 64px; padding: 14px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); }
.lf-page .opt-main { display: inline-block; font-weight: 500; font-size: 1.5rem; --fs: 24; line-height: 1.15; }
.lf-page .opt-sub { font-size: 1.0625rem; }
.lf-page .opt-n { font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; }
.lf-page .opt[aria-pressed="true"] { background: var(--text); color: var(--page); box-shadow: none; }
.lf-page .opt[aria-pressed="true"] :is(.opt-sub, .opt-n) { color: inherit; }
.lf-page :is(.datepick, .price-pick) { padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
.lf-page .datepick .btn { min-height: 48px; }
.lf-page .hoods { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.lf-page .hoods .chip .n { margin-left: 2px; }
#plan-questions > .row { margin-top: 24px; }
/* CC-255: Find an outing's five steps as a chevron bar, and the steps sliding in and out of one field */
.plan-bar { margin: 24px 0 0; }
.plan-stage .view-head { padding-top: 24px; } /* the bar above is the head's top margin */
.plan-bar ol { display: flex; margin: 0; padding: 0; list-style: none; }
.plan-bar li { flex: 1 1 0; min-width: 0; margin-left: -10px; }
.plan-bar li:first-child { margin-left: 0; }
.plan-bar .chev { --pt: 16px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; width: 100%; min-height: 56px; padding: 6px calc(var(--pt) + 4px) 6px calc(var(--pt) + 16px);
  background: var(--line); color: var(--muted); border: 0; border-radius: 0; font: inherit; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; line-height: 1.15; text-align: left;
  clip-path: polygon(0 0, calc(100% - var(--pt)) 0, 100% 50%, calc(100% - var(--pt)) 100%, 0 100%, var(--pt) 50%); }
.plan-bar li:first-child .chev { padding-left: 14px; clip-path: polygon(0 0, calc(100% - var(--pt)) 0, 100% 50%, calc(100% - var(--pt)) 100%, 0 100%); }
.plan-bar .done .chev { background: var(--surface); color: var(--text); cursor: pointer; }
.plan-bar .now .chev { background: var(--lead); color: var(--on-lead); }
.plan-bar .chev:focus-visible { outline: 0; background: var(--text); color: var(--page); } /* the ring would be clipped by the point, so focus is a fill */
.plan-bar .chev:focus-visible .chev-step { color: inherit; }
.plan-bar .chev-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.plan-bar .chev-step { margin-top: 2px; font-weight: 500; font-size: .875rem; color: var(--muted); }
@media (hover: hover) { .plan-bar .done .chev:hover { box-shadow: inset 0 -4px 0 var(--lead); } }
@media (max-width: 640px) {
  .plan-bar li { margin-left: -8px; }
  .plan-bar .chev { --pt: 10px; padding: 6px calc(var(--pt) + 2px) 6px calc(var(--pt) + 8px); font-size: .8125rem; }
  .plan-bar li:first-child .chev { padding-left: 8px; }
  .plan-bar .chev-step { display: none; }
}
.plan-stage { position: relative; overflow-x: clip; }
.plan-ghost { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .plan-in-fwd { animation: plan-in-fwd .32s var(--ease-out) both; }
  .plan-in-back { animation: plan-in-back .32s var(--ease-out) both; }
  .plan-out-fwd { animation: plan-out-fwd .32s var(--ease-out) both; }
  .plan-out-back { animation: plan-out-back .32s var(--ease-out) both; }
}
@keyframes plan-in-fwd { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plan-in-back { from { transform: translateX(-48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plan-out-fwd { from { transform: none; opacity: 1; } to { transform: translateX(-48px); opacity: 0; } }
@keyframes plan-out-back { from { transform: none; opacity: 1; } to { transform: translateX(48px); opacity: 0; } }
/* the outing: each stop is a row with its tile, then the swaps as rows */
.lf-page .outing { gap: 0; padding: 0; background: none; border: 0; border-top: 1px solid var(--rule); }
.lf-page .stop { grid-template-columns: 7.5rem 112px minmax(0, 1fr); gap: 8px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lf-page .stop + .stop { padding-top: 24px; border-top: 0; }
.lf-page .stop-slot { padding-top: 2px; font-size: 1.125rem; }
.lf-page .stop-body h2 { font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.lf-page .stop .where { color: var(--muted); }
.lf-page .stop .facts { font-family: var(--sign); font-weight: 700; font-size: 1.1875rem; }
.lf-page .alts { gap: 0; border-top: 1px solid var(--rule); }
.lf-page .alt { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px 20px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
.lf-page .alt-title { font-weight: 500; font-size: 1.3125rem; }
.lf-page .alt .btn { min-height: 44px; padding: 0 14px; font-size: 1.0625rem; }
.lf-page .sharebox input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); font-size: 1.0625rem; }
@media (max-width: 560px) {
  .lf-page .stop { grid-template-columns: 76px minmax(0, 1fr); gap: 8px 12px; }
  .lf-page .stop-slot { grid-column: 1 / -1; }
  .lf-page .stop .tile, .lf-page .alt .tile { width: 76px; height: 76px; }
  .lf-page .alt { grid-template-columns: 76px minmax(0, 1fr); gap: 8px 12px; }
  .lf-page .alt .btn { grid-column: 2; justify-self: start; }
}

/* Send us an event: a flat form, then "it's in" with what was sent as a facts table */
.lf-form { display: grid; gap: 20px; }
#view-submit .lf-form + .lf-form { margin-top: 28px; }
.lf-form .btn { justify-self: start; }
.lf-form h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; }
#view-submit .link-form { gap: 16px; }
.lf-page .sent-facts { gap: 0; border-block: 1px solid var(--rule); }
.lf-page .sent-facts :is(dt, dd) { padding: 12px 0; border-top: 1px solid var(--line); }
.lf-page .sent-facts :is(dt, dd):first-of-type { border-top: 0; }
.lf-page .sent-facts dt { padding-right: 32px; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; }
.lf-page .sent-facts dd { font-size: 1.25rem; }

/* CC-148: Account settings and the sign-in pages in Lakefront (design/lakefront-brief.md section 10). A Instrument Sans
   title with an italic deck (signed in: who you are and Sign out instead); then two columns that stack on phones.
   Signed out: Sign in, and "New here? Create an account", side by side. Signed in, 7/5: your profile and password,
   beside the events you've sent us, your reports and photo approvals, as rows with their statuses in words. Forms:
   Big Shoulders labels above 48px square fields in Instrument Sans; the field at fault gets the 2.5px ink border and the
   form the pale red band starting "Check this:". Confirming your email and choosing a new password use the same. */
.acct-head { padding-block: 40px 0; }
.acct-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.acct-deck { margin-top: 10px; max-width: 60ch; font-style: italic; font-size: 1.3125rem; line-height: 1.4; color: var(--muted); }
.acct-deck[hidden], .acct-who[hidden] { display: none; }
.acct-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.acct-who p { color: var(--muted); overflow-wrap: anywhere; }
.acct-view .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; white-space: nowrap; }
.acct-who .btn { min-height: 44px; padding: 0 14px; font-size: 1.0625rem; }
.acct-view .btn .count:not(:empty) { margin-left: 0; }

/* a one-off message (your email's confirmed, or please confirm it), and an invite link's "Join <crew>": calm bands */
.acct-notice, .acct-join { margin-top: 28px; padding: 14px 20px; background: var(--info-soft); color: var(--on-info-soft); }
.acct-notice:empty { display: none; }
.acct-notice .textbtn { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 1.0625rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.acct-join { display: grid; gap: 10px; }
.acct-join[hidden] { display: none; }
.acct-join h2 { font-family: var(--sign); font-weight: 700; font-size: 1.25rem; }
.acct-join .row { gap: 12px; }
.acct-join .btn { min-height: 44px; padding: 0 14px; font-size: 1.0625rem; }
.acct-join .btn.ghost { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

/* the columns: 7/5 signed in, halves signed out */
.acct-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; margin-top: 40px; }
.acct-cols[hidden] { display: none; }
.acct-halves { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.acct-col { display: grid; gap: 40px; min-width: 0; align-content: start; }
.acct-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule);
  font-family: var(--sign); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.acct-sub-n { color: var(--muted); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }

/* the forms */
.acct-form { display: grid; gap: 14px; align-content: start; }
.acct-form .acct-sub { margin-bottom: 2px; }
.acct-form .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.acct-form .field { gap: 6px; }
.acct-view .field label { font-size: 1.0625rem; }
.acct-view .field input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); background: var(--page); color: var(--text); font-family: var(--body); font-size: 1.125rem; }
.acct-view .field input[aria-invalid="true"] { border: 2.5px solid var(--text); padding: 0 11px; } /* the field at fault: never red */
.acct-view .form-error { margin: 0; padding: 10px 14px; font-size: 1.0625rem; font-weight: 400; } /* the band, never red text */
.acct-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.acct-tbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; text-align: left;
  font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.acct-tbtn[hidden] { display: none; }
.acct-said { font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; } /* "Saved.": inline, by its button */
.acct-forgot { padding-top: 20px; border-top: 1px solid var(--line); }
.acct-forgot h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.acct-narrow { max-width: 760px; margin-top: 32px; }

/* the rows on the right: a small line, the name, where and when, and the status as a word */
.acct-rows { list-style: none; margin: 0; padding: 0; }
.acct-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--line); }
.acct-row-main { display: grid; gap: 2px; min-width: 0; }
.acct-row-k { color: var(--muted); font-family: var(--sign); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.acct-row-t { font-family: var(--display); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; overflow-wrap: anywhere; }
.acct-row-t a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.acct-row-t a::after { content: ""; position: absolute; inset: 0; } /* the whole row is the tap target */
.acct-row-m { color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; }
.acct-row-s { max-width: 12rem; padding-top: 2px; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; text-align: right; }
.acct-row-s.quiet { color: var(--muted); }
.acct-row-note { grid-column: 1 / -1; padding: 8px 12px; background: var(--info-soft); color: var(--on-info-soft); font-size: 1rem; }
.acct-none { padding: 14px 0; color: var(--muted); font-size: 1rem; border-bottom: 1px solid var(--line); }
.acct-none.week-error { color: var(--on-danger-soft); padding: 10px 14px; border: 0; }
.acct-more { margin-top: 8px; }
.acct-more .acct-tbtn { font-size: 1.125rem; }

@media (max-width: 760px) {
  .acct-head { padding-top: 24px; }
  .acct-cols, .acct-halves { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 32px; }
  .acct-row-s { max-width: 9rem; }
}
/* CC-121: the join page (/join), and CC-126 the invite page (/invite). CC-147: Lakefront (brief section 10). Under the
   full masthead, the pitch (7) and the "Join in one step" panel (5), stacked on phones; then "Look around first" over
   the catalog, whose filters' top rule is the section rule. The headline is one colour, with no eyebrow. */
.jp-cover { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-block: 48px 8px; }
.jp-pitch { display: grid; gap: 18px; align-content: start; }
.jp-pitch h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 3.75rem); line-height: 1.02; letter-spacing: -0.025em; }
.jp-line { max-width: 40ch; font-style: italic; font-size: 1.3125rem; line-height: 1.4; color: var(--muted); }
.jp-points { list-style: none; margin: 6px 0 0; padding: 0; max-width: 46ch; }
.jp-points li { padding-block: 10px; border-top: 1px solid var(--line); line-height: 1.4; }
.jp-points li:last-child { border-bottom: 1px solid var(--line); }
.jp-form { gap: 14px; padding: 24px; border: 0; }
.jp-form h2 { font-family: var(--display); font-weight: 600; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.015em; }
.jp-form .field label { font-size: 1.0625rem; }
.jp-form .field input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); background: var(--page); color: var(--text); font-size: 1.125rem; }
.jp-form .field input[aria-invalid="true"] { border: 2.5px solid var(--text); padding: 0 11px; } /* the field at fault: never red */
.jp-form .form-error { margin: 0; }
.jp-form .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; }
#jp-go { justify-self: stretch; }
.jp-member { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.jp-member .textbtn { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.jp-look { margin-top: 48px; padding-bottom: 12px; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; }
#view-join:not([hidden]) + #view-catalog .view-head { display: none; }
@media (max-width: 760px) {
  .jp-cover { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .jp-points { display: none; } /* on phones the box comes right after the line */
  .jp-form { padding: 20px 16px; }
  .jp-look { margin-top: 40px; }
}
/* CC-126: the invite page's pitch. Each question leads its answer in the signage voice, so it reads as two questions
   answered; both stay on phones (they're the reason to join). */
.ip-pitch { gap: 22px; }
.ip-why { max-width: 56ch; line-height: 1.5; }
.ip-ask { display: block; margin-bottom: 4px; font-family: var(--sign); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }

/* CC-147: Invite a Friend, a square dialog on the lake scrim: the link in a labelled box, Copy link (Share the link on
   a phone) and, for admins, Show a QR code; Done is a text button at the end. */
.invite-dlg { width: min(620px, calc(100% - 32px)); padding: 32px; background: var(--page); border: 1.5px solid var(--rule); }
.invite-dlg::backdrop { background: rgb(14 42 64 / 0.55); } /* the backdrop doesn't see the theme's tokens everywhere */
:root[data-theme="dark"] .invite-dlg::backdrop { background: rgb(3 10 16 / 0.7); }
.invite-dlg form { gap: 16px; }
.invite-dlg h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; }
.invite-dlg .field label { font-size: 1.0625rem; }
.invite-dlg .field input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); background: var(--page); color: var(--text); font-size: 1.125rem; text-overflow: ellipsis; }
.invite-dlg #invite-msg:empty { display: none; }
.invite-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.invite-acts .btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; white-space: nowrap; }
.invite-done { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: auto; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.invite-foot { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .invite-dlg { padding: 24px 20px; } }

/* CC-221: the Source grid. Rows are auto so a panel's row can grow from nothing, which is what pushes the
   blocks below it down; the blocks set their own height. Dense fills the gaps a big block leaves. */
.sg-grid { --sg-row: 132px; --sg-gap: 0px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-flow: dense; gap: var(--sg-gap); margin-bottom: 24px; }
.sg-none { grid-column: 1 / -1; }
.sg-block { position: relative; height: var(--sg-row); overflow: hidden; color: var(--on-src); transition: background-color 150ms ease;
  box-shadow: inset -1px -1px 0 color-mix(in srgb, var(--on-src) 25%, transparent); } /* the right and bottom edges: one line between blocks, not two */
.sg-size2 { grid-column: span 2; }
.sg-size3, .sg-size4 { grid-column: span 2; grid-row: span 2; height: calc(var(--sg-row) * 2 + var(--sg-gap)); }
.sg-size4 { grid-column: span 3; }
.sg-ok { --sg-deep: var(--src-ok-deep); background: var(--src-ok); }
.sg-nothing { --sg-deep: var(--src-nothing-deep); background: var(--src-nothing); }
.sg-error { --sg-deep: var(--src-error-deep); background: var(--src-error); }
.sg-manual { --sg-deep: var(--src-manual-deep); background: var(--src-manual); }
.sg-new { --sg-deep: var(--src-new-deep); background: var(--src-new); }
.sg-off { --sg-deep: var(--surface); background: none; box-shadow: inset 0 0 0 1.5px var(--field-line); color: var(--muted); }
.sg-block:focus-within:not(.sg-quiet), .sg-block.on { background: var(--sg-deep); } /* .on: clicked or tapped. .sg-quiet (CC-224): focus came back from a click on Close */
@media (hover: hover) { .sg-block:hover { background: var(--sg-deep); } } /* a touch screen's hover sticks, so there .on alone shows the options */
.sg-block.is-open { outline: 3px solid var(--rule); outline-offset: -3px; }
.sg-name { margin: 0; padding: 10px 12px; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; line-height: 1.15; overflow-wrap: anywhere; }
.sg-size2 .sg-name { font-size: 1.375rem; }
.sg-size3 .sg-name { font-size: 1.75rem; }
.sg-size4 .sg-name { font-size: 2.25rem; }
/* The options sit over the block: stacked to fill the smallest one, along the bottom of the rest */
.sg-opts { position: absolute; inset: 0; display: grid; grid-auto-rows: 44px; background: var(--sg-deep); opacity: 0; pointer-events: none; transition: opacity 120ms ease; }
.sg-size2 .sg-opts, .sg-size3 .sg-opts, .sg-size4 .sg-opts { inset: auto 0 0; grid-template-columns: repeat(3, 1fr); }
.sg-block:focus-within:not(.sg-quiet) .sg-opts, .sg-block.on .sg-opts { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .sg-block:hover .sg-opts { opacity: 1; pointer-events: auto; } }
.sg-opt { min-height: 44px; padding: 0 6px; border: 0; border-top: 1px solid currentColor; border-radius: 0; background: none; color: inherit; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; cursor: pointer; }
.sg-opt:hover { background: var(--info-soft); color: var(--on-info-soft); }
.sg-opt[aria-expanded="true"] { background: var(--text); color: var(--page); }
.sg-opt:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; }
.sg-panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-drop) var(--ease-in-out); } /* sourcegrid.js waits the same time */
.sg-panel.open { grid-template-rows: 1fr; transition-timing-function: var(--ease-out); }
.sg-inner { min-height: 0; overflow: hidden; }
.sg-body { display: grid; gap: 12px; padding: 14px 16px; background: var(--surface); border-top: 2px solid var(--rule); }
.sg-body p { margin: 0; }
.sg-body p.hint:empty { display: none; }
.sg-body .row { flex-wrap: wrap; }
.sg-body select { min-height: 44px; background: var(--page); border: 1px solid var(--field-line); border-radius: var(--r-ctl); padding: 8px 10px; color: var(--text); }
.sg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-head h2 { margin: 0; font-family: var(--sign); font-size: var(--step-1); overflow-wrap: anywhere; }
.sg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 20px; margin: 0; }
.sg-facts dt { color: var(--muted); }
.sg-facts dd { margin: 0; }
.sg-events { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sg-form { display: grid; gap: 10px; max-width: 640px; }
.sg-form textarea, .sg-form input { width: 100%; }
.sg-key { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.sg-key li { padding: 3px 9px; color: var(--on-src); font-size: 1rem; }
.sg-key .sg-off { color: var(--muted); }
@media (max-width: 520px) { .sg-size4 { grid-column: span 2; } .sg-size4 .sg-name { font-size: 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .sg-panel, .sg-opts, .sg-block { transition: none; } }

/* ---------- CC-244: Site health (health.js) ---------- */
.hl-state { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 12px 16px; font-family: var(--display); font-weight: 600; font-size: 1.3125rem; background: var(--surface); border-left: 6px solid var(--gauge-ok); }
.hl-state.trouble { background: var(--danger-soft); color: var(--on-danger-soft); border-left-color: var(--gauge-stop); }
.hl-grid + h3, .hl-grid + h3 + .hl-list { margin-top: 24px; } .hl-grid + h3 + .hl-list { margin-top: 4px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 16px 24px; margin: 8px 0 0; }
.hl-grid div { margin: 0; }
.hl-grid dt { color: var(--muted); font-size: 1rem; }
.hl-grid dd { margin: 0; font-family: var(--sign); font-weight: 700; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hl-grid dd small { white-space: nowrap; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--muted); }
.hl-list { list-style: none; margin: 8px 0 0; padding: 0; }
.hl-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.hl-list li:first-child { border-top: 0; }
.hl-route { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; overflow-wrap: anywhere; }
.hl-num { font-family: var(--sign); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.hl-sub { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; }
.hl-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.hl-pie svg { flex: 0 0 auto; width: 180px; height: 180px; display: block; }
.hl-pie .slice { stroke: var(--page); stroke-width: 2; }
.hl-pie .s1 { fill: var(--pie-1); } .hl-pie .s2 { fill: var(--pie-2); } .hl-pie .s3 { fill: var(--pie-3); }
.hl-pie .s4 { fill: var(--pie-4); } .hl-pie .s5 { fill: var(--pie-5); } .hl-pie .s6 { fill: var(--pie-6); }
/* CC-245: the Issues dashboard, above the list (it borrows the Site health tiles) */
.isd { margin: 24px 0 8px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.isd .hl-grid div { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; } /* a label that wraps keeps the numbers in its row level */
.isd h3 { margin: 24px 0 0; }
.isd .hint:empty { display: none; }
.isd-weeks { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; align-items: end; height: 9rem; margin: 8px 0 0; padding: 0; }
.isd-weeks li { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; min-width: 0; text-align: center; }
.isd-col { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.isd-bar { display: block; background: var(--pie-1); }
.isd-n { font-family: var(--sign); font-weight: 700; font-variant-numeric: tabular-nums; }
.isd-wk { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.hl-key { list-style: none; margin: 0; padding: 0; flex: 1 1 14rem; min-width: 0; }
.hl-key li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; }
.hl-key i { width: 16px; height: 16px; display: block; }
.hl-key i.s1 { background: var(--pie-1); } .hl-key i.s2 { background: var(--pie-2); } .hl-key i.s3 { background: var(--pie-3); }
.hl-key i.s4 { background: var(--pie-4); } .hl-key i.s5 { background: var(--pie-5); } .hl-key i.s6 { background: var(--pie-6); }

/* CC-297: crew date polls: the showtime grid (dates as rows, times as buttons; on a phone a list of days with time chips), the best times, and Lock in */
.polls { display: grid; gap: 16px; margin-top: 18px; }
.poll { display: grid; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--rule); border-radius: var(--r-card); }
.poll-cancelled, .poll-ended { border-top-color: var(--line); }
.poll-h { margin: 0; font-size: 1.125rem; }
.poll-h:focus { outline: none; }
.poll-count, .poll-none { margin: 0; color: var(--muted); }
.poll-best { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.poll-best li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.poll-best-t { font-weight: 700; }
.poll-tag { display: inline-block; padding: 0 8px; border: 2px solid var(--rule); border-radius: 0; box-shadow: var(--lift); background: var(--surface); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.04em; }
.poll-days { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.poll-day { display: grid; grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr); align-items: center; gap: 6px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.poll-day-l { font-weight: 700; }
.poll-times { display: flex; flex-wrap: wrap; gap: 8px; }
.poll-cell { min-height: 44px; min-width: 44px; padding: 6px 14px; background: transparent; color: var(--text); border: 1px solid var(--field-line); border-radius: 0; box-shadow: var(--lift); font: inherit; cursor: pointer; }
.poll-cell[aria-pressed="true"] { background: var(--rule); color: var(--page); border-color: var(--rule); }
.poll-cell-n { margin-left: 6px; font-variant-numeric: tabular-nums; opacity: 0.8; }
.poll-new { position: relative; overflow: hidden; }
.poll-new::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%); transform: translateX(-100%); animation: poll-shimmer 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes poll-shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .poll-new::after { animation: none; } .poll-new { box-shadow: inset 0 0 0 3px var(--focus); } }
.poll-body { display: grid; gap: 12px; margin-top: 12px; }
.poll-body[hidden] { display: none; }
.btn.poll-toggle, #view-crews .btn.poll-toggle, #view-week .btn.poll-toggle { min-height: 44px; height: auto; min-width: 0; padding: 8px 20px; text-align: left; max-width: 100%; white-space: normal; justify-self: start; }
.poll-result { display: grid; gap: 12px; animation: poll-in 0.35s ease both; }
@keyframes poll-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .poll-result { animation: none; } }
.poll-manage { align-items: center; }
.poll-lock { min-height: 44px; }
.poll-start { display: grid; gap: 12px; }

.poll-preview { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 0.9375rem; }
.poll-cell:disabled { opacity: 0.5; cursor: not-allowed; }
.poll-form label { display: grid; gap: 4px; }
@media (max-width: 640px) {
  .poll-day { grid-template-columns: minmax(0, 1fr); }
}
/* CC-298: an exhibition poll. A timetable: a column of times, then a column of square cells for each day, one square per half-hour.
   A chosen square turns green (the Sources grid's "ok" green) with a tick. Rows are the union of the days' hours, so the days line up; a
   half-hour when the venue is closed is a blank. At 640px and below one day shows at a time, with Previous and Next. Tokens only. */
.poll-pickday-wrap, .poll-pickdays { display: flex; flex-wrap: wrap; gap: 6px; }
.poll-sq { display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; background: var(--surface); color: var(--on-src); border: 1px solid var(--field-line); border-radius: 0; font: inherit; cursor: pointer; }
.poll-sq:hover { border-color: var(--rule); }
.poll-sq[aria-pressed="true"] { background: var(--src-ok-deep); border-color: var(--gauge-ok); }
.poll-sq[aria-pressed="true"]::after { content: "\2713"; font-weight: 700; line-height: 1; }
.poll-sq:disabled { opacity: 0.5; cursor: not-allowed; }
.poll-pickday { min-height: 44px; padding: 6px 14px; box-shadow: var(--lift); } /* a lone box lifts; the timetable's flush cells stay flat */
.poll-hours { display: grid; gap: 12px; }
.poll-hnav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 8px; }
.poll-hnav-n { font-weight: 700; grid-column: 1 / -1; order: -1; text-align: center; }
.poll-hnav .btn { min-width: 0; width: 100%; }
.poll-tt { display: grid; grid-auto-flow: column; grid-template-columns: 3.75rem repeat(var(--n), minmax(5.5rem, 1fr)); grid-template-rows: auto repeat(var(--rows), 30px); column-gap: 6px; overflow-x: auto; }
.poll-tt-t { display: flex; align-items: flex-start; justify-content: flex-end; padding-right: 6px; font-size: 0.8125rem; color: var(--muted); line-height: 1; transform: translateY(-0.4em); }
.poll-tt-h { display: grid; align-content: end; gap: 2px; padding-bottom: 6px; min-width: 0; }
.poll-hday-l { margin: 0; font-size: 1rem; }
.poll-hday-l:focus { outline: none; }
.poll-hday-h { color: var(--muted); font-size: 0.8125rem; }
.poll-hday-all { display: flex; flex-wrap: wrap; gap: 0 10px; }
.poll-tt-x { background: var(--line); opacity: 0.45; }
.poll-block { width: 100%; height: 100%; border-top-width: 0; }
.poll-block.poll-tt-hr { border-top-width: 1px; }
.poll-manage-hours select { min-height: 44px; }
@media (max-width: 640px) {
  .poll-hnav { display: grid; }
  .poll-tt { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .poll-tt-d:not(.is-cur) { display: none; }
  .poll-tt-h { padding-bottom: 8px; }
  .poll-block { grid-row: auto; }
}

/* CC-301 Show Run: a month calendar of every performance, in the event edit form (showrun.js). Tokens only: a day with a show is
   the pressed chip (page on ink); a past day is muted; the focus ring sits outside the cell, over the page. At 480px and below a
   cell shows the date and a dot or a count, and the times are in the day's panel. */
.editor .show-run { display: grid; gap: 12px; }
.sr-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sr-month { font-family: var(--sign); font-weight: 700; font-size: var(--step-1); line-height: 1.1; text-align: center; flex: 1 1 auto; }
.editor .sr-nav .btn { min-width: 44px; padding: 0 14px; }
.sr-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.sr-grid th { padding: 4px 0 6px; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; color: var(--muted); text-align: center; }
.sr-cell, .sr-blank { padding: 2px; }
.sr-day { position: relative; display: grid; align-content: center; justify-items: center; gap: 2px; width: 100%; min-width: 44px; min-height: 56px; padding: 4px 2px;
  background: var(--page); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; line-height: 1.1; }
.sr-day:hover { background: var(--info-soft); }
.sr-day .sr-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.sr-day .sr-t { font-size: 1rem; font-weight: 400; overflow-wrap: anywhere; text-align: center; min-height: 1.1em; }
.sr-day .sr-dot { display: none; }
.sr-day.sr-today .sr-n { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sr-day.sr-has { background: var(--text); color: var(--page); border-color: var(--text); }
.sr-day.sr-has:hover { background: var(--text); }
.sr-day.sr-past { color: var(--muted); }
.sr-day.sr-past.sr-has { background: var(--muted); color: var(--page); border-color: var(--muted); }
.sr-day[aria-disabled="true"] { cursor: not-allowed; background: transparent; border-color: transparent; }
.sr-day:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; z-index: 1; }
.sr-summary { font-weight: 600; }
.sr-panel { display: grid; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--text); border-radius: var(--r-ctl); background: var(--surface); }
.sr-panel h4 { margin: 0; font-family: var(--sign); font-weight: 700; font-size: var(--step-0); }
.sr-show { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; }
.sr-show .field { flex: 0 1 11rem; }
.sr-show input[type="time"] { min-height: 44px; }
.sr-panel .hint { margin: 0; }
.sr-pattern, .sr-pattern .details-body { display: grid; gap: 12px; }
.sr-pattern > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-family: var(--sign); font-weight: 700; font-size: 1.0625rem; }
.sr-pattern[open] > summary { margin-bottom: 4px; }
.sr-pattern > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-pattern .hint { margin: 0 0 8px; }
#sr-notes { display: grid; gap: 8px; }
#sr-notes:empty { display: none; }
@media (max-width: 480px) {
  .sr-grid { width: calc(100% + 24px); margin-inline: -12px; } /* the calendar uses the dialog's padding, so a day stays 44px wide */
  .sr-cell, .sr-blank { padding: 1px; }
  .sr-day { min-height: 48px; }
  .sr-day .sr-t { display: none; }
  .sr-day .sr-dot { display: block; font-size: 0.75rem; min-height: 1em; }
  .sr-nav .btn { padding: 0 10px; }
  .sr-month { font-size: var(--step-0); }
}

/* CC-126: the invite QR code fills the screen to be scanned from the admin's phone. CC-147: always paper-white, in
   both themes, under a small flag band: the code is deep lake ink on white, which any phone can scan. The colours are
   fixed here, not tokens, so "Lights down" doesn't reach them. */
.qr-full { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #FFFFFF; color: #0E2A40; color-scheme: light; }
.qr-full::backdrop { background: #FFFFFF; }
.qr-full :focus-visible { outline-color: #0F5E8C; }
.qr-full-in { min-height: 100%; display: flex; flex-direction: column; }
.qr-flag { flex: none; padding-block: 10px; background: #0E3A5B; color: #FFFFFF; }
.qr-flag i { display: block; height: 6px; background: #9CD3EF; }
.qr-flag-word { display: flex; justify-content: center; align-items: center; gap: 10px; padding-block: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; }
.qr-flag-word .star { width: 0.56em; height: 0.56em; fill: #C8102E; }
.qr-full-body { flex: 1; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
.qr-full h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1; letter-spacing: -0.025em; }
.qr-full-code { width: min(80vw, 50vh, 400px); line-height: 0; }
.qr-full-code svg { width: 100%; height: auto; display: block; }
.qr-full-url { font-family: var(--sign); font-weight: 700; font-size: 1.375rem; color: #0E2A40; font-variant-numeric: tabular-nums; }
.qr-full .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 48px; background: #0E3A5B; color: #FFFFFF; box-shadow: none; }

/* CC-213: suggested venue websites, above the venue list */
.lf-page .vs { margin: 8px 0 40px; }
.lf-page .va-new { margin: 8px 0 32px; } /* CC-218 */
.lf-page .va-new summary { cursor: pointer; font-family: var(--sign); font-weight: 700; font-size: 1.125rem; }
.lf-page .va-new form { margin-top: 14px; }
.lf-page .va-new .row { margin-top: 14px; }
.lf-page .vs-item .alt-text { flex: 1 1 280px; min-width: 0; }
.lf-page .vs-item .alt-meta a { overflow-wrap: anywhere; }
.lf-page .vs-item .field { margin-top: 8px; }

/* CC-227: a dialog on its way out (openDialog, util.js). It has left the top layer, so it's held where it was, over a stand-in
   for its backdrop. The script sets its box. */
dialog.dialog-leaving { display: block; position: fixed; z-index: 101; margin: 0; max-width: none; max-height: none; box-sizing: border-box; }
.dialog-scrim { position: fixed; inset: 0; z-index: 100; }

/* CC-209: venue suggestions (the member's form and list, the admin's queue) */
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.vs-state { font-weight: 600; margin-left: 8px; }
.vs-act { display: grid; gap: 12px; margin-top: 8px; max-width: 36rem; }
.vs-admin { margin-bottom: 28px; }
.vs-more summary { cursor: pointer; margin-top: 8px; }
.submit-thanks { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 28px; font-style: italic; }
.submit-thanks .mark { width: 39px; height: 26px; }

/* CC-310: a found event's candidate picture in the review list */
.found-pic { margin-top: 6px; }
.found-thumb { display: block; width: 168px; max-width: 100%; height: auto; max-height: 112px; object-fit: cover; border: 1.5px solid var(--rule); border-radius: var(--r-ctl); }

/* CC-327: on a desktop the Edit/Approve dialog is wide and in two columns: what the event is (left), when it's on (right).
   The heading, notices, error, buttons and Withdraw/Delete stay full width. Below 1000px it is the one column it was. */
.ed-cols, .ed-col { display: grid; gap: 14px; align-content: start; }
.ed-col > * { min-width: 0; }
@media (min-width: 1000px) {
  #edit-dialog.editor { width: min(1180px, calc(100% - 64px)); padding: 28px 32px; }
  #edit-dialog .ed-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
}
