/* The phone pass (30 Oct 2026; design-off/2026-10-30/saas-audit/mobile/
   MOBILE.md, owner go 30 Oct: "it is not necessary that desktop view get
   replicated directly to mobile views").

   This file is linked after app.css with media="(max-width: 760px)", so a
   desktop browser never applies a rule in it, and every rule also sits in a
   max-width query of its own (phone_test.go). Two bands, the app's own:
   ≤720 the phone layout (type, rows, cards: where app.css's phone rules
   already switch), ≤760 the sheet (where the panel already went full
   screen). */

/* ---------------------------------------------------------------- A · the phone type scale
   24 / 20 / 17 / 15 / 12 (MOBILE.md §3): page 24/30, section and week 20/26,
   an item's name 17/22 600, a line 15/20, a capitals label 12/16 600
   +0.06em, a fact label 13/20 500. Smaller steps than the desktop's on
   purpose: position, weight and white space carry the hierarchy at 375,
   and a 30 px title put "Dinner for 16 climate tech founders raising their
   Series A this winter" on four lines. */
@media (max-width: 720px) {
  :root {
    --fs-display: 24px; --lh-display: 30px;
    --fs-week: 20px;    --lh-week: 26px;
    --fs-heading: 20px; --lh-heading: 26px;
    --fs-title: 17px;   --lh-title: 22px;   --fw-title: 600;
    --fs-time: 15px;
    --fs-pn-title: 20px; --lh-pn-title: 26px;
    --fs-line: 15px;    --lh-line: 20px;
    --lh-meta: 20px;
    --fs-label: 12px;   --lh-label: 16px; --track-label: .06em;
  }
  /* Capitals labels are 600, never 700 (the day label was 700). */
  .wk .ev-day-label { font-weight: 600; }
  /* The home doors' headings are section headings: 20/700. */
  .fork-door .t-heading, .fork-door h2 { font-size: 20px; line-height: 26px; font-weight: 700; }
  /* Settings groups read as an iOS grouped list: 12 px capitals labels. */
  .settings-page > .section > .section-head h2 {
    font-family: var(--font); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 600;
    letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2);
  }
}

/* ---------------------------------------------------------------- C · the attend row
   MOBILE.md §4, render 01. Three lines: the title (two at most, ↗ glued to
   its last word), the time line (time · what decides whether she can go ·
   host, one line), the tag line (attend.Card.WhoLead ›, ✓ going, RSVP ↗, ⋯, each
   28 high with a 44 hit). The names, "Free" and the guest list's size move
   to the sheet the tag opens (sheet.js); so does a tap on the card. */
@media (max-width: 720px) {
  .go-page .feed-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    column-gap: var(--space-2); row-gap: var(--space-1);
  }
  .go-page .feed-card > .ev-main { display: contents; }
  .go-page .feed-card .ev-main > * { grid-column: 1 / -1; min-width: 0; }
  .go-page .feed-card .ev-main > .ev-who { grid-column: 1; margin: 0; }
  .go-page .feed-card > .ev-act { grid-column: 2; order: 1; }
  .go-page .feed-card .ev-main > .ev-for { order: 2; }
  .go-page .feed-card:not(:has(.ev-who)) > .ev-act { grid-column: 1 / -1; }

  /* The title: 17/22 600, two lines at most; its ↗ never wraps alone. */
  .go-page .feed-card .ev-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    padding-right: 0;
  }
  .go-page .ev .ev-ext { white-space: nowrap; }
  .go-page .feed-card:has(.ev-who-lead) .ev-title .ev-ext { display: none; }

  /* The time line replaces the place-and-host line and the entry line. */
  .go-page .feed-card .ev-main > .ev-fact:not(.ev-line-ph):not(.host-tags) { display: none; }
  /* One line that never wraps: the time, the flag and what blocks keep
     their width; the host shrinks with an ellipsis, never wraps out of
     sight (batch UX review blocker, 1 Nov: "Operators Guild" vanished once
     "Date changed" was added; the 30 Oct rule let it go whole). */
  .go-page .feed-card .ev-line-ph {
    display: flex; flex-wrap: nowrap; height: var(--lh-line); white-space: pre; overflow: hidden;
    font-size: var(--fs-line); line-height: var(--lh-line); color: var(--text-2);
  }
  .go-page .feed-card .ev-line-ph > * { flex: none; }
  .go-page .feed-card .ev-line-ph > .ev-host { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .go-page .feed-card .ev-line-ph .ev-blocker { font-weight: 600; color: var(--ink); }
  /* CHA-1049: the flag rides the time line, never the title (at 375
     "Date changed" pushed a long name onto another line); it and the
     distance never wrap (the host shrinks first). */
  .go-page .feed-card .ev-title .ev-new { display: none; }
  .go-page .feed-card .ev-line-ph .ev-flag, .go-page .feed-card .ev-line-ph .ev-area-ph { white-space: nowrap; }

  /* The tag line: the people tag alone, attend.Card.WhoLead and ›; the names are the sheet's. */
  .go-page .feed-card .ev-who > :not(.ev-who-lead) { display: none; }
  .go-page .ev .ev-who a.ev-who-lead {
    position: relative; display: inline-flex; align-items: center; height: 28px; margin: 0;
    padding: 0 10px; line-height: 28px; font-size: 13px; white-space: nowrap;
  }
  .go-page .ev .ev-who a.ev-who-lead::after { content: "\00a0›"; }
  .go-page .ev .ev-who a.ev-who-lead::before { content: ""; position: absolute; inset: -8px -4px; }

  /* The controls beside it: ✓ going, RSVP ↗ outlined, ⋯ at the end; every
     one 28 high, every one a 44 hit. */
  .go-page .feed-card > .ev-act,
  .go-page .feed-card:not(.is-going):not(.is-maybe):not(.is-skipped):not(.is-yours) > .ev-act {
    position: static; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start;
    gap: var(--space-2); min-width: 0;
  }
  .go-page .feed-card:not(.is-going):not(.is-maybe):not(.is-skipped):not(.is-yours) .ev-title { padding-right: 0; }
  .go-page .ev.is-going .ev-act { gap: var(--space-2); }
  .go-page .ev .ev-mark { display: inline-flex; align-items: center; height: 28px; white-space: nowrap; }
  .go-page .ev .ev-mark.is-going { padding: 0 10px; line-height: 28px; }
  .go-page .ev-act a.text-action.rsvp {
    position: relative; min-height: 0; height: 28px; padding: 0 10px; font-size: 13px; line-height: 28px; white-space: nowrap;
  }
  .go-page .ev-act a.text-action.rsvp::before { content: ""; position: absolute; inset: -8px -4px; }
  /* Going, RSVP is the next step, not a rival button (owner: "how come RSVP
     and going come together"; fix round, 30 Oct): plain violet words after
     the green pill, no box; the hit area stays 44 high. */
  /* Going and RSVP are one control (UX review 2, H3; owner): one green pill,
     "✓ going · RSVP ↗"; the state on the left, the RSVP ↗ part the link to
     the event page (violet: the act), its hit 44 high. */
  .go-page .ev.is-going .ev-act { gap: 0; }
  .go-page .ev.is-going .ev-act > .ev-mark.is-going { border-radius: var(--radius-pill) 0 0 var(--radius-pill); padding: 0 0 0 10px; }
  .go-page .ev.is-going .ev-act > .ev-mark.is-going::after { content: "·"; padding: 0 6px 0 2px; color: var(--success); } /* the pill's 4 px gap makes the left side 6 too */
  .go-page .ev.is-going .ev-act > a.text-action.rsvp,
  .go-page .ev.is-going .ev-act > .confirm-gate > summary.rsvp {
    position: relative; height: 28px; min-height: 0; margin: 0; padding: 0 10px 0 0; border: 0; border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    background: var(--success-wash); font-size: 13px; line-height: 28px; font-weight: 600; color: var(--accent-text); white-space: nowrap;
  }
  .go-page .ev.is-going .ev-act > .confirm-gate { display: inline-flex; }
  .go-page .ev.is-going .ev-act > a.text-action.rsvp::before,
  .go-page .ev.is-going .ev-act > .confirm-gate > summary.rsvp::before { content: ""; position: absolute; inset: -8px -10px -8px -2px; }
  .go-page .ev.is-going .ev-act > a.text-action.rsvp::after { display: none; }
  .go-page .ev .feed-marks { margin-left: auto; }
  .go-page .ev .marks-more > summary { width: 44px; height: 44px; margin-block: -8px; margin-right: -10px; }
  /* A row with nothing but ⋯ keeps it on the tag line, at the end. */
  .go-page .feed-card:not(:has(.ev-who)) > .ev-act { justify-content: flex-end; }
  /* With no tag line and no mark of hers, ⋯ goes up on the title's first
     line, as on a desktop, not a 40 px line of its own (final gate M; the
     same :not chain as the rule above, so it wins on specificity). */
  .go-page .feed-card:not(.is-going):not(.is-maybe):not(.is-skipped):not(.is-yours):not(:has(.ev-who)) { position: relative; }
  .go-page .feed-card:not(.is-going):not(.is-maybe):not(.is-skipped):not(.is-yours):not(:has(.ev-who)) > .ev-act {
    position: absolute; top: 1px; right: 4px; z-index: 2; margin: 0;
  }
  .go-page .feed-card:not(.is-going):not(.is-maybe):not(.is-skipped):not(.is-yours):not(:has(.ev-who)) .ev-title { padding-right: 36px; }

  /* The row: a hairline's air either side; the whole card is a tap. */
  .wk .ev.feed-card { padding: 12px 14px 14px; cursor: pointer; }
  .go-page .feed-card .ev-main > .ev-who, .go-page .feed-card > .ev-act { margin-top: 2px; }
  .go-page .feed-card .ev-title a { position: relative; z-index: 1; }
}

/* ---------------------------------------------------------------- Find events and the calendar: one control row
   MOBILE.md §2: the week pills go (the week headings divide the list);
   List · Calendar becomes one 44 px icon at the end of the goals' row. The
   calendar's title goes to the top bar, as on Events; its range is the
   label under the row. */
@media (max-width: 720px) {
  #go-region, .go-cal-page { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-2); align-items: start; }
  #go-region > *, .go-cal-page > * { grid-column: 1 / -1; min-width: 0; }
  #go-region > .goal-chips-wrap, .go-cal-page > .goal-chips-wrap { grid-column: 1; }
  #go-region > .go-controls, .go-cal-page > .go-controls { display: contents; }
  .go-controls > .go-weeks, .go-controls > .seg[aria-label="View"] { display: none; }
  .go-controls > .go-view-ic {
    grid-column: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: -5px;
    border: 1px solid var(--line-card); border-radius: 10px; background: var(--surface); color: var(--ink);
  }
  .go-controls > .go-range, .go-controls > .seg { grid-column: 1 / -1; }
  .go-cal-page > .go-controls > .go-range { margin: 0 0 var(--space-2); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-2); }
  #go-region > .goal-chips-wrap { margin-bottom: var(--gap-block); }
  #go-region > .goal-chips-wrap::after, .go-cal-page > .goal-chips-wrap::after { right: 0; }
  /* The strip ends at its own column: it no longer bleeds right under the
     view icon (fix round, 30 Oct: a sliver of the next chip showed beneath
     it and took 9 px of its hit area); the fade covers its last 32 px. */
  #go-region > .goal-chips-wrap > .goal-chips, .go-cal-page > .goal-chips-wrap > .goal-chips { margin-right: 0; padding-right: var(--space-4); }
  .go-cal-page > .pagehead:has(+ .tabs) {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .go-cal-page > .tabs { margin-top: 0; }
}

/* ---------------------------------------------------------------- B · one bottom sheet
   MOBILE.md §7. sheet.js marks the open panel (#who-panel) or the attend
   sheet (#go-sheet) .is-sheet, at a snap: .is-half (60 % of the screen) or
   .is-full (all but 48 px). The sheet is its own scroller: the header
   pinned at its top, the action (Ask, Event page ↗) pinned at its foot.
   Motion is transform and opacity only; reduced motion turns it off
   (app.css's global rule). */
@media (max-width: 760px) {
  .pn.is-sheet {
    position: fixed; inset: 40dvh 0 0 0; z-index: 60; width: auto; height: auto;
    display: flex; flex-direction: column;
    border: 0; border-radius: 12px 12px 0 0; background: var(--surface);
    /* the second shadow is the sheet's own white continued below it, so a
       drag up never shows the page under its foot */
    box-shadow: 0 -8px 32px rgba(27, 18, 56, .18), 0 60vh 0 0 var(--surface);
    overflow-y: auto; overscroll-behavior: contain;
    transition: transform var(--sheet-ms, 240ms) cubic-bezier(.2, .8, .2, 1);
  }
  .pn.is-sheet.is-full { top: 48px; }
  .sheet-scrim {
    position: fixed; inset: 0; z-index: 59; background: rgba(27, 18, 56, .32);
    opacity: 0; transition: opacity 200ms ease-out;
  }
  .sheet-scrim.is-on { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .pn.is-sheet, .sheet-scrim { transition: none; } }
  html:has(body.has-sheet), body.has-sheet { overflow: hidden; }
  /* The grab handle: 36 × 4, 8 from the top, over the header. */
  .is-sheet > .sheet-grab { position: sticky; top: 0; z-index: 3; flex: none; height: 0; touch-action: none; }
  .is-sheet > .sheet-grab::before {
    content: ""; position: absolute; left: 50%; top: 8px; width: 36px; height: 4px; margin-left: -18px;
    border-radius: 2px; background: var(--line-card);
  }

  /* The header: the name, 20/26 700 on one line, then Not a fit, Pick and
     ✕ on the same row (fix round, 30 Oct: ✕ had a row of its own); "‹ Josh
     Broward" over it when an event is pushed over a person; then the
     identity line. ↑ ↓ are the desktop's keys and stay there. */
  .pn.is-sheet > .pn-bar {
    position: sticky; top: 0; z-index: 2; flex: none;
    padding: 14px var(--space-2) 0 var(--pad-page-side); border-radius: 12px 12px 0 0;
    touch-action: none; row-gap: 0;
  }
  .pn.is-sheet .pn-back:not(.is-stacked), .pn.is-sheet [data-panel-prev], .pn.is-sheet [data-panel-next], .pn.is-sheet .pn-nav > .pn-btn.is-off { display: none; }
  .pn.is-sheet .pn-back.is-stacked { margin: -6px 0; }
  .pn.is-sheet .pn-x { display: inline-grid; margin: -6px 0; }
  .pn.is-sheet > .pn-bar { grid-template-columns: minmax(0, 1fr) auto auto; padding-top: 18px; }
  .pn.is-sheet > .pn-bar > .pn-back.is-stacked { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .pn.is-sheet > .pn-bar > .pn-head { grid-column: 1; grid-row: 2; }
  .pn.is-sheet > .pn-bar > .pn-acts { grid-column: 2; grid-row: 2; justify-self: end; }
  .pn.is-sheet > .pn-bar > .pn-nav { grid-column: 3; grid-row: 2; align-self: center; }
  .pn.is-sheet > .pn-bar > .pn-role { grid-column: 1 / -1; grid-row: 3; }
  /* With ✕ on its row the name wraps rather than lose its end ("Mariane
     Be…"), the LinkedIn mark after its last word. */
  .pn.is-sheet .pn-bar .pn-head { display: block; padding: 0 0 2px; min-width: 0; }
  /* A long name with no space breaks rather than run under Pick and Not a
     fit (chaos L2: 82 characters). */
  .pn.is-sheet .pn-bar .pn-name {
    display: inline; font-size: var(--fs-pn-title); line-height: var(--lh-pn-title); font-weight: 700; overflow-wrap: anywhere;
  }
  .pn.is-sheet .pn-bar .pn-head .in-mark { margin-left: 6px; vertical-align: -2px; }
  .pn.is-sheet .pn-bar .pn-acts { align-self: center; margin-right: 0; gap: var(--space-1); }
  .pn.is-sheet .pn-bar .pc-pick, .pn.is-sheet .pn-bar .pc-pick-size { position: relative; height: 32px; min-height: 32px; }
  /* Picked over its Pick-sized place, right edge on Pick's (app.css). */
  .pn.is-sheet .pn-bar form:has(> .pc-pick-size) > .pc-pick { position: absolute; }
  .pn.is-sheet .pn-bar .pc-pick::after { content: ""; position: absolute; inset: -6px -2px; }
  .pn.is-sheet .pn-bar .pc-nf { height: 32px; min-height: 32px; }
  .pn.is-sheet .pn-bar .pn-role { padding: 2px var(--space-2) var(--space-3) 0; font-size: 15px; line-height: 20px; }

  /* The body: a fact table (84 px labels, 13/20 500; values 15/20), then
     sections under 12 px capitals labels and a rule. No bands. */
  .pn.is-sheet > .pn-body { flex: 1 0 auto; padding: 0 0 0; gap: 0; }
  .pn.is-sheet .pn-body .pn-facts { display: block; padding: 0 var(--pad-page-side); margin: 0; border: 0; }
  .pn.is-sheet .pn-fact { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: var(--space-3); align-items: baseline; }
  .pn.is-sheet .pn-fact + .pn-fact { border-top: 1px solid var(--line); }
  .pn.is-sheet .pn-fact dt, .pn.is-sheet .pn-fact dd { padding: 10px 0; margin: 0; border: 0; }
  .pn.is-sheet .pn-fact dt { max-width: none; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-2); }
  .pn.is-sheet .pn-fact dd { font-size: 15px; line-height: 20px; }
  .pn.is-sheet .pn-rooms > .pn-label, .pn.is-sheet .pn-words > .pn-label, .pn.is-sheet .pn-body > .pn-label {
    margin: 0; padding: 20px var(--pad-page-side) 6px; border-top: 1px solid var(--line); background: none;
    font-family: var(--font); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  }
  .pn.is-sheet .pn-rooms .pn-lines > li { padding: 8px 0; font-size: 15px; line-height: 20px; }
  .pn.is-sheet .pn-words > .pn-bio { padding: 4px var(--pad-page-side) 16px; font-size: 15px; line-height: 20px; }
  /* The one action, pinned at the sheet's foot. */
  .pn.is-sheet .pn-act {
    position: sticky; bottom: 0; z-index: 1; margin-top: auto;
    padding: 10px var(--pad-page-side) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
  }
  .pn.is-sheet .pn-act .btn { height: 44px; }
  .pn.is-sheet .pn-glimpse > .pn-foot { margin-bottom: var(--space-5); }

  /* "Discard your note?" under the header: the question, Keep editing, Discard. */
  .sheet-ask {
    position: sticky; top: 0; z-index: 2; flex: none;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4);
    padding: var(--space-2) var(--pad-page-side); background: var(--warn-wash); border-bottom: 1px solid var(--line);
    font-size: 15px; line-height: 20px; color: var(--ink);
  }
  .sheet-ask > p { flex: 1 1 100%; margin: 0; padding-top: 4px; font-weight: 600; }
  .sheet-ask > button { min-height: 44px; }
  .sheet-ask > .sheet-discard { color: var(--danger); }

  /* The attend sheet: the same frame around the event's People page. */
  .go-sheet .sheet-bar, .list-sheet .sheet-bar {
    display: flex; align-items: center; gap: var(--space-2); min-height: 60px;
    padding: 16px var(--space-2) 8px var(--pad-page-side); background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .go-sheet .sheet-title, .list-sheet .sheet-title {
    flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--font-name); font-size: 20px; line-height: 26px; font-weight: 700;
    letter-spacing: var(--track-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .go-sheet .sheet-back {
    flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0;
    border: 0; background: none; color: var(--accent-text); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left;
  }
  .go-sheet .sheet-back > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .go-sheet .sheet-bar > .pn-x, .list-sheet .sheet-bar > .pn-x { flex: none; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
  .is-sheet .sheet-title:focus, .is-sheet .pn-name:focus, .go-sheet .pagehead h1:focus { box-shadow: none; outline: none; }
  .go-sheet .sheet-body { flex: 1 0 auto; padding: var(--space-3) var(--pad-page-side) var(--space-5); }
  .go-sheet .sheet-body > .loading-line { padding: var(--space-4) 0; }
  .go-sheet .sheet-not-saved { flex-basis: 100%; margin: var(--space-1) 0 0; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-2); }
  /* "In their words" is gone everywhere (owner, 30 Oct); the words stay. */
  .pn.is-sheet .pn-fact:has(> dd.pn-words) > dd { grid-column: 1 / -1; }
  /* Under the title: the event's whole name (two lines), then the goal and
     when (the card's own, copied in). The page's heading says the same. */
  .go-sheet .sheet-head { display: grid; gap: 2px; margin: 0 0 var(--space-3); }
  .go-sheet .sheet-ev-name {
    font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .go-sheet .sheet-ev-meta { font-size: 15px; line-height: 20px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Why the event suits (CHA-1049): the detail view's, never the card's. */
  .go-sheet .sheet-ev-why { font-size: 15px; line-height: 20px; color: var(--text-2); }
  .go-sheet .sheet-head ~ .pagehead { display: none; }
  .go-sheet .pagehead { display: grid; gap: 2px; margin: 0 0 var(--space-2); }
  .go-sheet .pagehead > .crumb { display: none; }
  .go-sheet .sheet-body[data-titled] .pagehead > h1 { display: none; }
  /* A person a row: the name 17/600, one grey line, the whole row a tap. */
  .go-sheet .fu-list, .people-page:has(> .pagehead .people-sheet-title) .fu-list { width: auto; margin: 0 calc(-1 * var(--pad-page-side)); border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
  .go-sheet .fu-row, .people-page:has(> .pagehead .people-sheet-title) .fu-row { position: relative; min-height: 64px; padding: 10px 36px 10px var(--pad-page-side); row-gap: 2px; }
  .go-sheet .fu-row::after, .people-page:has(> .pagehead .people-sheet-title) .fu-row::after { content: "›"; position: absolute; right: var(--pad-page-side); top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
  .go-sheet .fu-name, .people-page:has(> .pagehead .people-sheet-title) .fu-name { color: var(--ink); font-family: var(--font-name); font-size: 17px; line-height: 22px; font-weight: 600; }
  .go-sheet a.fu-name::after, .people-page:has(> .pagehead .people-sheet-title) a.fu-name::after { content: ""; position: absolute; inset: 0; }
  .go-sheet .fu-slot, .people-page:has(> .pagehead .people-sheet-title) .fu-slot { display: none; }
  .go-sheet .fu-line, .people-page:has(> .pagehead .people-sheet-title) .fu-line { font-size: 15px; line-height: 20px; }
  .go-sheet .fu-lead, .people-page:has(> .pagehead .people-sheet-title) .fu-lead { white-space: normal; }
  .go-sheet .fu-more { padding: 0; }
  /* The list's own page (a reload, a shared link) reads as the sheet does:
     its title "3 Goal-Fits" over the event's name (chaos L11), rows that open the person; the
     long "People at …" heading stays for screen readers (UX review, 30 Oct). */
  .people-page:has(> .pagehead .people-sheet-title) > .pagehead .people-sheet-title { display: block; margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; color: var(--ink); }
  .people-page:has(> .pagehead .people-sheet-title) > .pagehead .people-sheet-event { display: block; margin: 2px 0 0; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .go-sheet .people-sheet-event { display: none; }
  .people-page:has(> .pagehead .people-sheet-title) > .pagehead h1.people-at { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* One person, pushed over the list: the page's own view, unboxed. */
  .go-sheet .sheet-body[data-view="person"] .pagehead h1 { font-size: 20px; line-height: 26px; font-weight: 700; }
  /* "Your note": a 12 caps section label over its notes, the add form full
     width under it (UX review, 30 Oct: 18/24 beside an indented form). */
  .go-sheet .person-notes { display: block; margin-top: var(--space-5); }
  .go-sheet .person-notes-label { margin: 0 0 var(--space-1); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
  .go-sheet .person-notes-label::after { content: none; }
  .go-sheet .person-notes > .note-box, .go-sheet .person-notes .note-add, .go-sheet .person-notes .note-add > form { display: block; width: 100%; }
  .go-sheet .person-notes .note-add textarea { width: 100%; }
  /* The person's Ask, pinned at the sheet's foot. */
  .go-sheet > .sheet-person-foot {
    position: sticky; bottom: 0; z-index: 2; margin-top: auto;
    padding: 10px var(--pad-page-side) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
  }
  .go-sheet > .sheet-person-foot > .btn { width: 100%; }
  .go-sheet .person-stack { margin: 0 0 var(--space-4); padding: 0; border: 0; box-shadow: none; background: none; }
  .go-sheet .person-stack > li { padding: 10px 0; }
  .go-sheet .person-actions { margin-top: var(--space-3); }
  /* The foot: "Free · 52 on the guest list" and Event page ↗. */
  .go-sheet .sheet-foot {
    position: sticky; bottom: 0; z-index: 1; flex: none;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    min-height: 52px; padding: 8px var(--pad-page-side) calc(8px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .go-sheet .sheet-foot-facts { margin: 0; min-width: 0; font-size: 15px; line-height: 20px; color: var(--text-2); }
  .go-sheet .sheet-foot-out { flex: none; min-height: 44px; font-size: 15px; font-weight: 600; }
}

/* ---------------------------------------------------------------- D · the Guests card, option B
   MOBILE.md §6, render 02 (owner: "hating the down arrow chevron", "the
   pick button which takes an extra row should be designed differently",
   "the full card click should trigger the bottomsheet"). No chevron and no
   "More about" fold (the sheet has it all); ✕ and Pick beside the name;
   the LinkedIn mark in the sheet's header; the hosted event plain text.
   The whole card opens the person: a stretched ::after on the name's link,
   with ✕ and Pick above it. The same grammar on Speakers and Picks. */
@media (max-width: 720px) {
  .find-page .plan-guests .gr.pc, .find-page .list .gr.pc {
    grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 0;
    min-height: 0; padding: 16px 12px;
  }
  /* No initials tile on a phone (UX review, 30 Oct: names cut at "Kevin
     Mei, TheAg…"): its 52 px go to the name; the first column is empty. */
  .find-page .plan-guests .gr.pc, .find-page .list .gr.pc { grid-template-columns: 0 minmax(0, 1fr) auto; column-gap: 0; padding-left: var(--space-4); }
  .find-page .gr.pc > .pc-photo { display: none; }
  .find-page .gr.pc > .gr-slot:not(.is-asking) { margin-left: var(--space-2); }
  .find-page .gr.pc > .pc-head { display: contents; }
  /* The name's row is as tall whether ✕ is there or not (UX review 2, H1:
     a picked card has no ✕, its row shrank and "✓ Picked" sat on the role). */
  .find-page .gr.pc .gr-who { grid-column: 2; grid-row: 1; align-self: center; display: flex; align-items: center; min-width: 0; min-height: 32px; }
  .find-page .gr.pc .pc-head .gr-name, .find-page .gr.pc .pc-head a.gr-name {
    display: block; min-width: 0; font-size: 17px; line-height: 22px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal;
  }
  .find-page .gr.pc .gr-who > .in-mark { display: none; }
  .find-page .gr.pc .pc-lead { grid-column: 2 / -1; grid-row: 2; margin: 2px 0 0; font-size: 15px; line-height: 20px; }
  .find-page .gr.pc .pc-lead .pc-title, .find-page .gr.pc .pc-lead .pc-co { display: inline; }
  .find-page .gr.pc .pc-lead .pc-sep { display: inline; white-space: normal; }
  .find-page .gr.pc .pc-chips { display: none; }
  .find-page .gr.pc .pc-lead:not(.is-words) {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .find-page .gr.pc .pc-lead .pc-co { font-weight: 400; color: var(--text-2); }
  .find-page .gr.pc > .pc-body { grid-column: 2 / -1; grid-row: 3; margin-top: var(--space-1); }
  /* The fit line is one line: the verb whole, the event's name gives way. */
  .find-page .gr.pc .pc-proof .pc-pl { display: flex; white-space: nowrap; overflow: hidden; font-size: 15px; line-height: 20px; }
  .find-page .gr.pc .pc-pv, .find-page .gr.pc .pc-pm, .find-page .gr.pc .pc-pt, .find-page .gr.pc .pc-ps { flex: none; white-space: pre; }
  .find-page .gr.pc .pc-np { display: flex; flex: 0 1 auto; min-width: 0; }
  .find-page .gr.pc .pc-pn { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .find-page .gr.pc > .pc-notice { grid-column: 2 / -1; }
  /* ✕ and Pick on the name's line, right; above the card's own tap. The 44 high ✕
     overhangs the row's top only: the proof line under it is never under its target. */
  .find-page .gr.pc > .gr-slot:not(.is-asking), .find-page .gr.pc > .gr-slot:has(.pc-pick):not(.is-asking) {
    position: relative; z-index: 1; grid-column: 3; grid-row: 1; align-self: center; justify-self: end;
    flex-direction: row; align-items: center; gap: var(--space-1); min-height: 0; margin: -6px -4px 0 0;
  }
  /* A slot holding more than ✕ and Pick ("Copy message" and "✓ Picked",
     a reply, a fact) goes to the action line under the fit: the name owns
     its line (UX review Critical, 30 Oct: "S…"). */
  .find-page .gr.pc > .gr-slot:has(.btn-sm, .gr-fact, .gr-sent, .yes, .menu):not(.is-asking) {
    grid-column: 2 / -1; grid-row: 4; align-self: auto; justify-self: start; flex-wrap: wrap; margin: var(--space-2) 0 0;
  }
  .find-page .gr.pc > .gr-slot.is-asking { position: relative; z-index: 1; grid-column: 2 / -1; grid-row: 4; justify-self: start; flex-direction: row; flex-wrap: wrap; align-items: center; margin: var(--space-2) 0 0; }
  .find-page .gr.pc .pc-x { width: 44px; height: 44px; }
  .find-page .gr.pc .pc-pick, .find-page .gr.pc .pc-pick-size { height: 32px; min-height: 32px; padding: 0 12px; }
  .find-page .gr.pc .pc-pick::after { inset: -6px -2px; }
  .find-page .gr.pc .gr-slot .btn-sm { height: 32px; min-height: 32px; }
  /* The card is the tap. */
  .find-page .gr.pc a.gr-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .find-page .gr.pc .pc-proof a.pc-pn { pointer-events: none; color: var(--ink); text-decoration: none; }
  .find-page .guest-list > .gr.pc { cursor: pointer; }

  /* A list that didn't refresh: one control for it, "Try again" in the
     notice's line, 28 high, outlined; the refresh icon goes while the
     notice is up (owner, 30 Oct). */
  .find-page .list-head.is-failed .list-refresh, .find-page .list-head.is-failed .list-refresh-note { display: none; }
  .find-page .list-head.is-failed .list-failed { flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
  .find-page .list-head.is-failed .list-refresh-again .btn {
    position: relative; height: 28px; min-height: 28px; padding: 0 10px; font-size: 13px;
    border: 1px solid var(--line-strong); background: var(--surface);
  }
  .find-page .list-head.is-failed .list-refresh-again .btn::after { content: ""; position: absolute; inset: -8px -2px; }
}

/* ---------------------------------------------------------------- E · the rest of the phone, screen by screen
   MOBILE.md §2's fix column. */
@media (max-width: 720px) {
  /* The plan's header line: 15/20, each editor a 36 px target. */
  .find-page .plan-hl { line-height: 20px; }
  .find-page .hl-value { font-size: 15px; min-height: 36px; }

  /* Similar events: the title two lines at most; "Plan to go" at the right
     of the fact line (32 high, a 44 hit), not on a line of its own; the
     whole row opens the event's sheet, Plan to go above that tap. */
  .wk .ev.sim-row, .go-page .wk .ev.sim-row { padding: 12px 14px; }
  .sim-row .ev-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 2px; align-items: center; }
  .sim-row .ev-main > * { grid-column: 1 / -1; min-width: 0; }
  .sim-row .ev-main > .ev-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .sim-row .ev-main > .ev-title::after { content: ""; position: absolute; inset: 0; }
  .sim-row .ev-main > .ev-fact:not(.host-tags) { grid-column: 1; display: flex; white-space: pre; overflow: hidden; font-size: 15px; line-height: 20px; }
  /* The host gives way, the count never ("4 g…"; UX review, 30 Oct). */
  .sim-row .ev-main > .ev-fact:not(.host-tags) > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .sim-row .ev-main > .ev-fact:not(.host-tags) > span:last-child:not(:first-child) { flex: none; }
  .sim-row .ev-main > .ev-go { position: relative; z-index: 1; grid-column: 2; grid-row: 2; margin: 0; }
  .sim-row .ev-go .text-action { position: relative; min-height: 32px; }
  .sim-row .ev-go .text-action::after { content: ""; position: absolute; inset: -6px -4px; }
  .sim-row .ev-main > .host-tags { position: relative; z-index: 1; }

  /* After: a title two lines at most. */
  .go-page .after-list .ev .ev-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .go-page .after-list .ev-act .btn-sm { position: relative; height: 32px; min-height: 32px; }
  .go-page .after-list .ev-act .btn-sm::after { content: ""; position: absolute; inset: -6px -2px; }
  /* Check in beside the date line, not a row of its own (UX review, 30 Oct). */
  .go-page .after-list .ev { grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 2px; }
  .go-page .after-list .ev > .dateblock { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .go-page .after-list .ev > .ev-main { display: contents; }
  .go-page .after-list .ev .ev-main > .ev-title { grid-column: 2 / -1; grid-row: 1; }
  .go-page .after-list .ev .ev-main > .ev-fact { grid-column: 2; grid-row: 2; align-self: center; margin: 0; }
  .go-page .after-list .ev > .ev-act { grid-column: 3; grid-row: 2; align-self: center; justify-self: end; margin: 0; }
}

/* ---------------------------------------------------------------- the calendar on a phone (fix round, 30 Oct)
   An entry is a 40 px row at least (a 44 px pitch with the 4 px between
   rows), its line centred by its padding; two-line names grow. The key is
   filled dots in each state's own edge colour, so it can't read as a row
   of empty checkboxes; the entries keep redesign's fills and edges. */
@media (max-width: 720px) {
  .go-cal-page .cal-entry { min-height: 40px; padding: 10px var(--space-2); line-height: 20px; }
  .go-cal-page .cal-fits { white-space: nowrap; }
  .go-cal-page .cal-going { --cal-key: var(--success); }
  .go-cal-page .cal-ranked { --cal-key: var(--accent); }
  .go-cal-page .cal-maybe { --cal-key: var(--line-strong); }
  .go-cal-page .cal-similar { --cal-key: var(--text-3); }
  .go-cal-page .cal-yours { --cal-key: var(--ink); }
  .go-cal-page .cal-other { --cal-key: var(--line); }
  .go-cal-page .cal-legend > li::before { width: 8px; height: 8px; border-radius: 50%; background: var(--cal-key, var(--line-strong)); box-shadow: none; outline: none; }
}

/* ---------------------------------------------------------------- settings on a phone (fix round, 30 Oct)
   A row's label keeps its width and a gap; the value gives way, one line
   ("About youFrom LinkedIn" collided). */
@media (max-width: 720px) {
  .settings-page .lv { column-gap: var(--space-3); }
  .settings-page a.front-lv-link { grid-template-columns: max-content minmax(0, 1fr); }
  .settings-page .lv > .lv-label { flex: none; min-width: max-content; }
  .settings-page .lv > .lv-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------------------------------------------------------------- the drawer on a phone (fix round, 30 Oct)
   Open, the page behind holds still, as under a sheet; every row in it is a
   44 px target (Messages was 30, a saved list wrapped to 49). */
@media (max-width: 760px) {
  html:has(.nav-toggle-input:checked), body:has(.nav-toggle-input:checked) { overflow: hidden; }
  /* The menu's label focuses its checkbox: fixed, it is always on screen, so
     opening the drawer never scrolls the page to its top (UX review 2, M1). */
  .nav-toggle-input { position: fixed; top: 0; left: 0; }
  .sidebar .side-link, .sidebar .side-plans a { min-height: 44px; display: flex; align-items: center; }
  .sidebar .side-plans a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------- the host plan's list bar (B2 (a); owner, 30 Oct)
   design-off/2026-10-30/host-guests-phone/SPEC.md §5. The header tightens
   on every host tab (a 3-line title at most), so the first guest sits at
   y 327; on Guests one bar pins under the top bar: New search, the open
   list (a tinted pill opening the Lists sheet) and its ⋯. The line under
   it scrolls away. The desktop's field, chips, co-host line, list head and
   the tab row's counts stand for these on a wider screen and hide here.
   Nothing animates; the bar's rule shows only while it is stuck. */
@media (max-width: 760px) {
  /* The header, every host tab. */
  main:has(> .host-plan) { padding-top: 12px; }
  .host-plan .host-title-edit .host-title, .host-plan .pagehead > .host-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
    /* the dotted rule inside the clamp's box, so the third line keeps it */
    text-underline-offset: 5px;
  }
  .host-plan .pagehead > .plan-hl-clip { margin-top: 2px; }
  .host-plan .find-col { gap: 0; }
  .host-plan .find-col > * + * { margin-top: 16px; }
  .host-plan .find-col > .plan-lists { margin-top: 4px; }
  /* 44 high with its rule inside, so the bar starts at 244. */
  .host-plan .ptabs { margin-bottom: 0; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line-card); background: var(--paper); -webkit-mask-image: none; mask-image: none; }
  .host-plan .ptabs > a { display: flex; align-items: center; height: 44px; padding-top: 0; padding-bottom: 0; }
  .host-plan .ptabs > a::after { bottom: 0; }
  /* Speakers, Sponsors and Similar have no bar under the tabs: their first
     card keeps a 12 px gap off the tab rule (UX review 2, M2). */
  .host-plan .plan-lists:not(:has(> #guests)) > .ptabs { margin-bottom: 12px; }
  .host-plan .ptabs-counts { display: none; }
  /* On Picks or Invited the tab row's links are the current mark; with
     them hidden, Guests reads as the open tab (the pill names the list). */
  .host-plan .ptabs:has(.ptabs-counts a[aria-current="true"]) > a:first-child { color: var(--ink); font-weight: 600; }
  .host-plan .ptabs:has(.ptabs-counts a[aria-current="true"]) > a:first-child::after { background: var(--ink); }

  /* Guests: the bar, then the list; the rest of the column keeps a 12 px
     step under it. */
  .host-plan .plan-guests { gap: 0; }
  .host-plan .plan-guests > #find, .host-plan .plan-guests > .chips, .host-plan .plan-guests > .cohost-line { display: none; }
  .host-plan .plan-guests > :not(.lbar-sentinel, .lbar, #list-body, #list-sheet) { margin-bottom: 12px; }
  .host-plan.find-page .list > .list-head:not(.is-failed) { display: none; }
  .host-plan .list-head.is-failed > .list-basis { display: none; }
  .host-plan .list-head:not(.is-failed) + .guest-list:has(> .pc) { border-top: 1px solid var(--line-card); border-radius: var(--radius-card); }

  .lbar-sentinel { display: block; height: 0; }
  .lbar {
    display: flex; align-items: center; gap: 8px; height: 52px;
    margin: 0 calc(-1 * var(--pad-page-side)); padding: 0 var(--pad-page-side);
    background: var(--paper); position: sticky; top: var(--topbar-h); z-index: 14;
  }
  .lbar.is-stuck { box-shadow: 0 1px 0 var(--line); }
  .lbar-ic, .lbar-menu > summary.lbar-ic {
    position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
    border: 1px solid var(--line-card); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .lbar-ic::after { content: ""; position: absolute; inset: -5px; } /* 44 with the 1 px border (UX review 2, L1) */
  .lbar-ic .ic { width: 18px; height: 18px; }
  .lbar-menu { flex: none; }
  .lbar-menu[open] > summary.lbar-ic { background: var(--sunk); }
  .lbar-menu > .menu-body { right: 0; top: calc(100% + 4px); }
  .lbar-pill {
    position: relative; flex: 1 1 auto; min-width: 0; height: 36px; display: flex; align-items: stretch; padding: 0;
    border: 1px solid var(--accent); border-radius: 8px; background: var(--accent-wash); color: var(--ink);
    font: inherit; text-align: left; cursor: pointer;
  }
  .lbar-pill::after { content: ""; position: absolute; inset: -5px 0; }
  .lbar-pill:active { background: #E4DCFB; }
  .lbar-pill:focus-visible, .lbar-ic:focus-visible { outline: none; box-shadow: var(--focus-ring); }
  .lbar-txt { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; }
  .lbar-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .lbar-n { flex: none; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .lbar-n b { font-weight: 600; }
  .lbar-n .lc-note { font-weight: 500; color: var(--text-2); }
  .lbar-chev { flex: none; width: 36px; display: grid; place-items: center; border-left: 1px solid var(--accent); color: var(--accent-dark); }
  .lbar-chev .ic { width: 18px; height: 18px; }


  /* Anchors and focus land clear of the top bar and the list bar (56 + 52
     + 8): the no-script verdict comes back to #person-N. */
  html:has(.host-plan .lbar) { scroll-padding-top: 116px; }
  .host-plan .gr { scroll-margin-top: 116px; }

  /* The Lists sheet: the phone sheet's frame (B), opened by sheet.js. */
  .list-sheet .sheet-body { flex: 1 0 auto; padding: 0 0 var(--space-5); }
  .list-sheet .ls-find {
    height: 48px; max-width: none; margin: 8px var(--pad-page-side); padding: 0 6px 0 14px;
    border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface);
  }
  .list-sheet .ls-find:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
  .list-sheet .ls-find input[type="text"] { font-size: 16px; }
  .list-sheet .ls-find .go { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
  .list-sheet .ls-find .go .ic { color: #fff; }
  .list-sheet .ls-label {
    margin: 0; padding: 8px var(--pad-page-side) 4px; font-family: inherit; font-size: 12px; line-height: 16px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  }
  .list-sheet .ls-rows { list-style: none; margin: 0; padding: 0 var(--pad-page-side); }
  .list-sheet .ls-rows > li { margin: 0; }
  .list-sheet .ls-rows > li + li { border-top: 1px solid var(--line); }
  .list-sheet .ls-row {
    display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 8px 0;
    color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 400; text-decoration: none;
  }
  .list-sheet .ls-name { flex: 1 1 auto; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .list-sheet .ls-row[aria-current="true"] .ls-name { font-weight: 600; }
  .list-sheet .ls-row > .ls-n { flex: none; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
  .list-sheet .ls-n b { font-weight: 600; }
  .list-sheet .ls-tick { flex: none; width: 18px; height: 18px; color: var(--accent); }
  .list-sheet .ls-cohost > .text-action {
    position: relative; flex: none; min-height: 0; padding: 0; border: 0; background: none;
    color: var(--accent-text); font-size: 15px; font-weight: 600; text-decoration: none;
  }
  .list-sheet .ls-cohost > .text-action::after { content: ""; position: absolute; inset: -12px -8px; }
  .list-sheet .ls-none { margin: 0; padding: 4px var(--pad-page-side) 8px; font-size: 15px; line-height: 20px; color: var(--text-2); }

  /* The top bar's name: back to the top of the host plan (sheet.js). */
  .mobile-section[role="button"] { line-height: 44px; cursor: pointer; }
  .mobile-section[role="button"]:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
}

/* The page's own folds, "Show 1 more week" and "Show N more events", take
   the week bar's one look: the full width, centred 15/600 violet, its thin
   border, 44 high, a week's gap clear of the week above so they don't read
   as that week's; the › stays on the words' last line (UX review 2, M4). */
@media (max-width: 760px) {
  .go-page .feed-more-list:not(.wk-more):not([open]) { margin-top: 24px; }
  .go-page .feed-more-list:not(.wk-more) > summary.btn {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; height: auto; padding: 10px 20px;
    border: 1px solid var(--line-card); border-radius: var(--radius-card); background: var(--surface); box-shadow: none;
    color: var(--accent-text); font-size: 15px; line-height: 20px; font-weight: 600; text-align: center;
  }
  .go-page .feed-else:not([open]) { margin-top: 24px; }
  .go-page .feed-else:not([open]) > summary.section-head { justify-content: center; min-height: 44px; padding: 10px 20px; box-shadow: none; text-align: center; }
  .go-page .feed-else:not([open]) > summary h2::after { content: "\a0›"; }
}

/* The failure line by the sheet's buttons: the sheet's side padding. */
@media (max-width: 760px) {
  .pn > .fail-note { padding: 0 var(--pad-page-side); }
}

/* In an event's own sheet, "going to <that event>" repeats the sheet: left
   out (final gate, M; go_person.html marks it). */
@media (max-width: 760px) {
  .go-sheet .person-stack > li.is-sheet-event { display: none; }
}

/* CHA-1049 (UX fix round): the person panel's marks leave the name's line
   and take their own row under the role, one group that never wraps (a
   lone mark under the name read as an orphan). The head lets its two
   children join the bar's grid; the name keeps its place. The same order
   (name, role, marks) holds above 760px (panel.css). */
@media (max-width: 760px) {
  .pn-bar > .pn-head:has(> .pn-marks), .pn.is-sheet > .pn-bar > .pn-head:has(> .pn-marks) { display: contents; }
  .pn-bar > .pn-head:has(> .pn-marks) > .pn-name { grid-column: 1; grid-row: 2; align-self: center; min-width: 0; padding: var(--space-2) 0; }
  .pn.is-sheet > .pn-bar > .pn-head:has(> .pn-marks) > .pn-name { padding: 0 0 2px; }
  .pn .pn-bar > .pn-head > .pn-marks { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin: -12px 0 -4px -14px; }
}
