/* "I'm going" MVP-0 (ADR 0031; Claude Design board "0a · MVP-0"). Loaded by the header donut hole only when the feature
   is on for the viewer (html.cg-going-on); the visibility rules for the placeholders in cached pages live in
   components.css. One responsive markup: the quick sheet is a bottom sheet below 600 px and a centred panel (max
   560 px) from 600 px up; the panels use two columns from 600-899 px where the content allows. Targets >= 44 px. */

/* ---- Header pill (desktop) ------------------------------------------------------------------------ */
.cg-body .cg-nav a { white-space: nowrap; }
.cg-body .cg-nav a.cg-nav__going { gap: 6px; margin-left: 4px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: var(--w-strong); }
.cg-body .cg-nav a.cg-nav__going:hover { background: var(--accent-tint); color: var(--accent-hover); }
.cg-body .cg-nav a.cg-nav__going .cg-go-plus { font-size: 18px; line-height: 1; }
/* "Beta" (the launch everywhere for members, ADR 0031): a small tag after the pill's label and the sheet / panel titles. */
.cg-go-beta { padding: 1px 7px; margin-left: 6px; background: var(--accent-tint); color: var(--accent-hover); font-family: var(--font-sans); font-style: normal;
  font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.cg-body .cg-nav a.cg-nav__going .cg-go-beta { margin-left: 0; padding: 0 6px; font-size: 10px; }
/* on the pink buttons (venue hero, phone bar): a white tag */
.cg-go-beta.cg-go-beta--on { margin-left: 8px; padding: 0 6px; background: var(--surface); color: var(--accent-hover); font-size: 10px; line-height: 16px; border-radius: var(--radius-pill); }
/* Room for the pill: the search hint gives way first, then the nav's padding; a long nickname is cut with an ellipsis. */
.cg-body .cg-usermenu__name { display: inline-block; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
@media (max-width: 1399px) {
  .cg-body .cg-search .cg-search__hint { display: none; }
}
@media (max-width: 1180px) {
  .cg-body .cg-nav a { padding: 0 9px; }
  .cg-top .cg-wrap { gap: 12px; }
  .cg-body .cg-usermenu__name { max-width: 9ch; }
  .cg-body .cg-search { flex: 1 1 140px; min-width: 120px; }
  .cg-body .cg-search input { width: 0; }
}

/* ---- Phone tab bar: the centre "I'm going" tab ------------------------------------------------------- */
.cg-body .cg-tabs a.cg-tabs__going, .cg-body .cg-htabs a.cg-tabs__going { color: var(--accent); }
.cg-tabs__going .cg-go-fab { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-primary); font-size: 26px; line-height: 1; border: 3px solid var(--surface); }
/* "Beta" on the centre tab: a small tag on the round button's corner (the label stays "I'm going") */
.cg-go-fabtag { position: absolute; top: -8px; left: calc(100% - 12px); padding: 0 5px; border-radius: var(--radius-pill); background: var(--surface);
  border: 1px solid var(--accent); color: var(--accent-hover); font: var(--w-strong) 9px/13px var(--font-sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.cg-body .cg-member-nav a.cg-tabs__going { color: var(--accent); font-weight: var(--w-strong); }
/* My plans and My account have no tab bar of their own: _TabBar (GoingPage) only where the header turned the feature on */
.cg-tabs--going { display: none; }
@media (max-width: 899px) {
  html.cg-going-on .cg-tabs--going { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    padding: 6px 8px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-radius: var(--radius-l) var(--radius-l) 0 0; box-shadow: var(--shadow-sheet); }
  .cg-body .cg-tabs--going a, .cg-tabs--going button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px;
    border: 0; background: none; padding: 0; color: var(--ink-caption); font-size: 13px; font-weight: var(--w-strong); }
  .cg-body .cg-tabs--going a[aria-current] { color: var(--accent); }
  html.cg-going-on body.cg-page-myplans, html.cg-going-on body.cg-page-me { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body.cg-gate-open .cg-tabs--going { display: none; }
}
/* Members: its own phone bar (members.css, up to 720 px) also shows on tablets, with the centre tab */
@media (min-width: 721px) and (max-width: 899px) {
  html.cg-going-on .cg-member-nav { display: flex; position: fixed; z-index: 30; bottom: 0; inset-inline: 0; padding: 6px 6px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border);
    border-radius: 22px 22px 0 0; background: var(--surface); box-shadow: var(--shadow-sheet); }
  html.cg-going-on .cg-body .cg-member-nav a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; flex: 1; min-width: 0; min-height: 56px; color: var(--ink-muted); font-size: 11px; }
  html.cg-going-on .cg-body .cg-member-nav a[aria-current] { color: var(--accent); font-weight: var(--w-strong); }
  html.cg-going-on .cg-body .cg-member-nav a.cg-tabs__going { color: var(--accent); }
  html.cg-going-on body.cg-page-members { padding-bottom: 80px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  /* tablets in portrait: the bar is centred with a max width, targets stay 44 px */
  html.cg-going-on .cg-tabs, html.cg-going-on .cg-htabs { left: 50%; right: auto; width: min(560px, 100%); transform: translateX(-50%); }
}

/* ---- Venue page: "I'm going" becomes the main button, Directions secondary ---------------------------- */
html.cg-going-here .cg-location .cg-actions a.cg-btn--primary:not(.cg-go-hero) { background: var(--surface-soft); color: var(--ink); box-shadow: none; }
html.cg-going-here .cg-location .cg-actions a.cg-btn--primary:not(.cg-go-hero):hover { background: var(--surface-warm-strong); color: var(--ink); }
.cg-body .cg-actions .cg-go-hero { height: 44px; padding: 0 22px; font-size: 15px; }
html.cg-going-here .cg-body .cg-bar .cg-bar__p:not(.cg-bar__going) { background: var(--surface-warm-strong); color: var(--ink); box-shadow: none; }
html.cg-going-here .cg-body .cg-bar .cg-bar__s { flex: 0 0 50px; padding: 0; }
html.cg-going-here .cg-body .cg-bar .cg-bar__s .cg-go-label { display: none; }
.cg-body .cg-bar .cg-bar__going { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-primary); }

/* ---- Panels (venue "Going to …", city "Going out in …") ------------------------------------------- */
.cg-go-panel { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-card); }
.cg-go-panel__h { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0; color: var(--ink); }
.cg-go-panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cg-go-panel__sub { margin: 0; color: var(--ink-caption); font-size: 14px; }
.cg-go-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
.cg-go-note .cg-icon { margin-top: 2px; }
.cg-go-list { container-type: inline-size; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
/* A compact row: avatar, name and time chips (one line where they fit), Ask to meet and "..." on the right; in narrow
   panels the actions go under the name. One row per member per venue, a chip per plan. */
.cg-go-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--surface-divider); }
.cg-go-row.is-mine { background: var(--accent-tint); border-radius: var(--radius-s); padding: 8px 10px; border-top-color: transparent; }
.cg-go-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-warm-strong);
  color: var(--ink); font-weight: var(--w-strong); font-size: 15px; overflow: hidden; flex: none; }
.cg-go-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-go-who { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cg-go-who .cg-go-name { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; font-size: 15px; font-weight: var(--w-strong); color: var(--ink); }
.cg-body .cg-go-who a.cg-go-name { color: var(--ink); text-decoration: none; }
.cg-body .cg-go-who a.cg-go-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cg-go-time { display: inline-block; max-width: 100%; color: var(--ink-muted); font-size: 13px; white-space: nowrap; } /* a window: never broken inside a time */
.cg-go-who .cg-go-chip { align-self: center; }
.cg-go-avlink { display: block; width: 40px; height: 40px; border-radius: 50%; }
.cg-go-count { margin: 0; font-size: 15px; font-weight: var(--w-strong); color: var(--ink); }
.cg-go-gh { margin: 10px 0 2px; font-size: 12px; font-weight: var(--w-strong); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-caption); }
.cg-go-tgroup + .cg-go-tgroup .cg-go-gh { margin-top: 12px; }
.cg-go-showall.cg-btn { width: 100%; min-height: 44px; margin-top: 8px; }
.cg-go-showall.cg-go-link { display: inline-flex; align-items: center; padding: 0; font-size: 14px; }
.cg-go-emptybox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cg-go-emptybtn.cg-btn { min-height: 44px; }
.cg-go-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
/* Narrow panels (the venue page's side column, phones): the actions go below the name and window, as on phones. */
@container (max-width: 459px) {
  .cg-go-row { grid-template-columns: 40px minmax(0, 1fr); }
  .cg-go-acts { grid-column: 2; }
}
.cg-body a.cg-go-ask, .cg-go-ask { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--surface-soft);
  color: var(--accent-hover); font: var(--w-strong) 14px var(--font-sans); white-space: nowrap; cursor: pointer; }
.cg-go-row.is-mine .cg-go-ask { background: var(--surface); }
.cg-body a.cg-go-ask:hover { background: var(--surface-warm-strong); color: var(--accent-hover); }
.cg-go-more { min-width: 44px; min-height: 44px; border: 0; background: none; border-radius: 50%; color: var(--ink-caption); font-size: 20px; line-height: 1; }
.cg-go-more:hover { background: var(--surface-soft); }
.cg-go-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-soft); color: var(--ink-muted); font-size: 12px; font-weight: var(--w-strong); }
.cg-go-venue { margin: 14px 0 0; font-size: 15px; font-weight: var(--w-strong); color: var(--ink); }
/* the city list's venue names are links: they look like links */
.cg-body .cg-go-venue a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cg-body .cg-go-venue a:hover { color: var(--accent-hover); }
.cg-go-venue span { color: var(--ink-muted); font-weight: var(--w-regular); }
.cg-go-empty { margin: 4px 0; color: var(--ink-muted); font-size: 15px; }
.cg-go-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.cg-go-foot p { margin: 0; color: var(--ink-caption); font-size: 13px; flex: 1 1 200px; }
.cg-go-select { height: 44px; min-width: 140px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); font: var(--w-strong) 14px var(--font-sans); }
.cg-go-report { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 6px; }
.cg-go-report select { height: 44px; border-radius: var(--radius-s); border: 1.5px solid var(--border); background: var(--surface); padding: 0 10px; font: 14px var(--font-sans); color: var(--ink); max-width: 100%; }
.cg-go-report .cg-btn { height: 44px; }
.cg-go-guest .cg-btn--primary { align-self: flex-end; }
.cg-go-guest p { margin: 0; }
.cg-go-err { color: #a3123f; font-size: 14px; margin: 0; }
/* the city page: the panel sits at the top of the right column */
.cg-chead__coming .cg-go-panel, .cg-citypage > .cg-go-panel { margin-bottom: 22px; }
/* the venue page: in the side column above the members card; phones: after the hero */
.cg-side__sticky .cg-go-panel { order: -1; }
@media (max-width: 900px) {
  .cg-location .cg-go-panel { margin: 18px 0 0; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .cg-go-panel--city .cg-go-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
}

/* ---- The quick sheet -------------------------------------------------------------------------------- */
.cg-go-sheet { position: fixed; inset: 0; z-index: 2650; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cg-go-sheet__scrim { position: absolute; inset: 0; background: var(--scrim); opacity: .55; }
.cg-go-sheet__dlg { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: var(--radius-xxl);
  background: var(--surface); box-shadow: 0 30px 80px -20px rgba(40, 8, 24, .45); overflow: hidden; }
.cg-go-sheet__dlg:focus { outline: none; }
.cg-go-sheet__head { display: flex; align-items: center; gap: 8px; padding: 20px 20px 14px 24px; border-bottom: 1px solid var(--surface-divider); }
.cg-go-sheet__head h2 { flex: 1; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; margin: 0; }
.cg-go-sheet__x, .cg-go-sheet__back { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.cg-go-intro { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 24px; background: var(--accent-tint); border-bottom: 1px solid var(--surface-divider); }
.cg-go-intro p { flex: 1; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.cg-go-intro .cg-go-link { flex: none; }
.cg-go-save[aria-busy=true] { opacity: .8; cursor: progress; }
.cg-go-sheet__body { overflow-y: auto; padding: 18px 24px 8px; display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.cg-go-sheet__foot { padding: 14px 24px 20px; border-top: 1px solid var(--surface-divider); display: flex; flex-direction: column; gap: 12px; }
.cg-go-lab { margin: 0 0 8px; font-size: 14px; font-weight: var(--w-strong); color: var(--ink); }
.cg-go-lab small { color: var(--ink-caption); font-weight: var(--w-regular); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.cg-go-where { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-m); background: var(--accent-tint); }
.cg-go-where__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cg-go-where__t b { font-size: 16px; overflow-wrap: anywhere; }
.cg-go-where__t span { font-size: 13px; color: var(--ink-muted); }
.cg-go-link { border: 0; background: none; padding: 0 4px; min-height: 44px; color: var(--link); text-decoration: underline; font-weight: var(--w-strong); font-size: 15px; }
.cg-go-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cg-go-opt { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: var(--radius-m); border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; }
.cg-go-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cg-go-opt b { font-size: 16px; color: var(--ink); }
.cg-go-opt span { font-size: 13px; color: var(--ink-muted); }
.cg-go-opt:has(input:checked), .cg-go-opt.is-on { border: 2px solid var(--accent); background: var(--accent-tint); padding: 11.5px 13.5px; }
.cg-go-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.cg-go-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.cg-go-asme { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-m); background: var(--accent-tint); font-size: 14px; color: var(--ink-muted); }
.cg-go-asme .cg-go-av { width: 32px; height: 32px; font-size: 13px; }
.cg-go-hint { margin: 0; font-size: 13px; color: var(--ink-muted); line-height: 1.45; }
.cg-go-more-toggle { align-self: center; }
.cg-go-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cg-go-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: var(--w-strong); }
.cg-go-fields .cg-go-wide { grid-column: 1 / -1; }
.cg-go-fields input[type=date], .cg-go-fields input[type=time] { height: 48px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface);
  font: 16px var(--font-sans); color: var(--ink); min-width: 0; width: 100%; }
.cg-go-check, .cg-go-fields label.cg-go-check { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: var(--w-regular); }
.cg-go-check input { width: 22px; height: 22px; accent-color: var(--accent); }
.cg-go-sum { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-s) var(--radius-s) 0; background: var(--accent-tint); font-size: 14px; line-height: 1.5; color: var(--ink); }
.cg-go-save.cg-btn--primary { width: 100%; height: 50px; }
.cg-go-search { height: 48px; width: 100%; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface); font: 16px var(--font-sans); color: var(--ink); }
.cg-go-search:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(208, 21, 122, .18); }
.cg-go-picks { list-style: none; margin: 0; padding: 0; }
.cg-go-picks li + li { border-top: 1px solid var(--surface-divider); }
/* "Where?" rows: name on one line (ellipsis), "Category · Area · 1.2 km" under it; 52 px high */
.cg-go-pick { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 4px; border: 0; background: none; text-align: left; color: var(--ink); }
.cg-go-pick__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cg-go-pick__t b, .cg-go-pick__t span { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-go-pick__t b { font-size: 16px; font-weight: var(--w-strong); }
.cg-go-pick__t span { font-size: 13px; font-weight: var(--w-regular); color: var(--ink-muted); }
.cg-go-pick__go { flex: none; color: var(--ink-muted); }
.cg-go-pick:hover { background: var(--surface-soft); }
.cg-go-pick:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius-s); }
.cg-go-find { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cg-go-find .cg-go-lab { margin: 0; }
.cg-go-combo { position: relative; min-width: 0; }
/* suggestions open in the flow under the box (no clipping inside the scrolling sheet) */
.cg-go-sug { margin-top: 6px; max-height: 340px; overflow-y: auto; border: 1.5px solid var(--border); border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-card); overscroll-behavior: contain; }
.cg-go-sug__h { padding: 10px 14px 4px; font-size: 12px; font-weight: var(--w-strong); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-caption); }
.cg-go-sug__none { padding: 14px; font-size: 14px; color: var(--ink-muted); }
.cg-go-opt-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px; cursor: pointer; color: var(--ink); }
.cg-go-opt-row > .cg-icon { flex: none; color: var(--ink-muted); }
.cg-go-opt-row:hover, .cg-go-opt-row[aria-selected=true] { background: var(--accent-tint); }
.cg-go-opt-row[aria-selected=true] { box-shadow: inset 3px 0 0 var(--accent); }
.cg-go-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-go-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: var(--w-strong); max-width: 100%; }
.cg-go-tool[aria-pressed=true] { border-color: var(--accent); background: var(--accent-tint); }
.cg-go-tool:disabled { opacity: .6; }
/* category chips: the city page's kinds of place, wrap on wide sheets, one swipeable row on phones */
.cg-go-chips { display: flex; flex: none; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cg-go-chipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: var(--w-strong); white-space: nowrap; flex: none; }
.cg-go-chipbtn[aria-pressed=true] { border-color: var(--accent); background: var(--accent); color: #fff; }
.cg-go-lists { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cg-go-sec__h { margin: 0 0 2px; font-size: 13px; font-weight: var(--w-strong); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-caption); }
.cg-go-showmore.cg-btn { width: 100%; min-height: 44px; margin-top: 6px; }
body.cg-go-open { overflow: hidden; }
body.cg-go-open .cg-tabs, body.cg-go-open .cg-htabs, body.cg-go-open .cg-bar { display: none; }
@media (max-width: 599px) {
  .cg-go-sheet { align-items: flex-end; padding: 0; }
  .cg-go-sheet__dlg { width: 100%; max-height: 92vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .cg-go-sheet__head { padding: 16px 16px 12px 20px; }
  .cg-go-sheet__head h2 { font-size: 30px; }
  .cg-go-sheet__body { padding: 16px 20px 8px; }
  .cg-go-sheet__foot { padding: 12px 20px 16px; }
  .cg-go-opts, .cg-go-fields { gap: 8px; }
  .cg-go-row { grid-template-columns: 40px minmax(0, 1fr); }
  .cg-go-acts { grid-column: 2; }
  .cg-go-intro { padding: 8px 16px 8px 20px; }
  .cg-go-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .cg-go-chips::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .cg-go-sheet__dlg { animation: cg-go-in .18s ease-out; }
  @keyframes cg-go-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---- My plans -------------------------------------------------------------------------------------- */
.cg-mp { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 28px 64px; }
.cg-mp__nav { display: flex; flex-direction: column; gap: 4px; }
.cg-mp__me { display: flex; align-items: center; gap: 10px; padding: 0 12px 14px; }
.cg-mp__me span { display: flex; flex-direction: column; font-size: 13px; color: var(--ink-caption); }
.cg-mp__me b { font-size: 15px; color: var(--ink); }
.cg-body .cg-mp__nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--ink); }
.cg-body .cg-mp__nav a[aria-current] { background: var(--surface-soft); color: var(--accent); font-weight: var(--w-strong); }
.cg-mp h1 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 56px; line-height: 1; margin: 0 0 10px; }
.cg-mp__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cg-mp__top h1 { margin: 0; }
.cg-mp__top .cg-btn { min-height: 44px; }
.cg-mp-card__line a { color: var(--link); text-decoration: underline; }
.cg-mp__intro { margin: 0 0 24px; color: var(--ink-muted); max-width: 70ch; }
.cg-mp__h { margin: 26px 0 12px; font-size: 13px; font-weight: var(--w-strong); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.cg-mp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cg-mp-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--border); }
.cg-mp-card.is-ended { opacity: .8; background: var(--surface-soft); }
.cg-mp-card__state { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--w-strong); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.cg-mp-card__state i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); }
.cg-mp-card h3 { font-size: 17px; font-weight: var(--w-strong); }
.cg-mp-card h3 a { color: var(--ink); }
.cg-mp-card h3 span { font-weight: var(--w-regular); color: var(--ink-muted); }
.cg-mp-card__when { font-size: 16px; font-weight: var(--w-strong); }
.cg-mp-card__when small { font-size: 13px; font-weight: var(--w-regular); color: var(--ink-caption); }
.cg-mp-card__line { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-muted); margin: 0; }
.cg-mp-card__line .cg-icon { margin-top: 2px; }
.cg-mp-card__acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cg-mp-card__acts form { display: inline; }
.cg-mp__empty { padding: 18px; border-radius: var(--radius-l); background: var(--surface); color: var(--ink-muted); }
.cg-mp__flash { padding: 12px 16px; border-radius: var(--radius-m); background: var(--accent-tint); margin: 0 0 16px; }
@media (max-width: 900px) {
  .cg-mp { grid-template-columns: 1fr; gap: 12px; padding-top: 12px; }
  .cg-mp__nav { flex-direction: row; overflow-x: auto; gap: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .cg-mp__me { display: none; }
  .cg-body .cg-mp__nav a { flex: none; }
  .cg-mp h1 { font-size: 44px; }
  .cg-mp__grid { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .cg-mp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Save toast: "See it" / "My plans" links (going.js toast with links). */
.cg-toast__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; display: inline-block; padding: 8px 2px; min-height: 44px; line-height: 28px; }
.cg-toast__link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
/* One active plan per member and venue: the sheet's edit-mode head, the picker's "You're going · Tonight" mark, "+N" of older duplicates */
.cg-go-mine { padding: 12px 14px; border-radius: var(--radius-m); background: var(--accent-tint); border: 1px solid var(--accent-tint-border); }
.cg-go-mine p { margin: 0; }
.cg-go-mine p span { display: block; color: var(--ink-muted); font-size: 14px; }
.cg-go-mine__acts { margin-top: 6px !important; color: var(--ink-muted); }
.cg-go-pick__t span.cg-go-pick__mine { color: var(--accent); font-weight: var(--w-strong); }
.cg-go-time--more { margin-left: 6px; font-weight: var(--w-strong); }
.cg-go-editexisting { margin-left: 8px; }
