/* Content calendar (calendar.html). The look of the original calendar the media team approved:
   a warm light palette with old gold, Cormorant Garamond for headings, and Outfit for everything
   else. Loads after style.css and stays inside .gc, so the site's nav, menu, and footer keep
   their own styles. */

.gc {
  --ground: #f6f5f1; --surface: #ffffff; --raised: #f0ede5; --line: #e3ded1; --line-strong: #cbc3b0;
  --fg: #17150f; --muted: #5d5747; --faint: #958d7b;
  --gold: #cfb53b; --gold-text: #7a640e; --on-gold: #15120a; --gold-wash: rgba(207, 181, 59, 0.18);
  --danger: #b23c2a; --danger-wash: rgba(178, 60, 42, 0.08); --scrim: rgba(23, 21, 15, 0.42);
  --ok-wash: rgba(34, 121, 75, 0.1);
  --c-alpha: #9a7c10; --c-notable: #a35d1e; --c-series: #7a6b46; --c-chapter: #17150f; --c-program: #1f6aa9;
  --c-heritage: #22794b; --c-d9: #6946ae; --c-holiday: #ad3f76; --c-faith: #1a7c82;
  --s-planned: #5d5747; --s-info: #965900; --s-design: #1f6aa9; --s-ready: #22794b; --s-scheduled: #6946ae;
  --s-posted: #7a640e; --s-skipped: #958d7b;
  /* Results charts. Instagram and Threads keep these colors everywhere (validated on white with the
     dataviz checks: CVD ΔE 24.7, all marks over 3:1). Both platforms together use the neutral. */
  --viz-ig: #2a78d6; --viz-th: #eb6834; --viz-all: #6b6450; --viz-context: #c4bba6;
  --viz-grid: #ece8de; --viz-base: #cbc3b0; --up: #22794b; --down: #b23c2a;
  --shadow: 0 24px 60px rgba(40, 32, 10, 0.18);
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-ui: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 12px; --r-sm: 7px;
  color-scheme: light;
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.gc [hidden], .gc[hidden] { display: none !important; }
.gc button { font: inherit; color: inherit; }
.gc a { color: var(--gold-text); text-underline-offset: 2px; }
.gc :focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; border-radius: 4px; }
.gc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc .eyebrow { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.gc .muted { color: var(--muted); }
.gc .num { font-variant-numeric: tabular-nums; }
.gc .m0 { margin: 0; }
.gc .mt8 { margin-top: 8px; }
.gc .autow { width: auto; }

/* page frame: the site's nav is fixed, so the page starts below it */
.gc-main { display: block; min-height: 70vh; padding-top: var(--nav-h, 88px); background: var(--ground); }
.gc .wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }

/* demo bar */
.gc .demo { border-bottom: 1px solid var(--line); background: var(--gold-wash); }
.gc .demo-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 9px; }
.gc .demo p { margin: 0; font-size: 13.5px; }
.gc .demo p b { margin-right: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.gc .demo-ctl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gc .demo-ctl span { margin-right: 2px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .gc .demo-row { gap: 6px 10px; padding-block: 8px; }
  .gc .demo p { font-size: 12.5px; }
  .gc .demo .seg { padding: 5px 10px; font-size: 12.5px; }
  .gc .demo-ctl span { display: none; }
}

/* masthead */
.gc .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding-block: 30px 22px; }
.gc .mast-text { min-width: 0; }
.gc h1 {
  margin: 6px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.8vw, 52px);
  line-height: 1; letter-spacing: 0.005em; text-wrap: balance; color: var(--fg);
}
.gc h1 em { font-style: italic; font-weight: 500; color: var(--gold-text); }
.gc .sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; font-size: 14px; color: var(--muted); }
.gc .countdown { display: inline-flex; gap: 8px; align-items: baseline; padding: 3px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--fg); }
.gc .countdown b { font-weight: 600; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.gc .crest { display: block; width: 96px; height: 96px; }
.gc .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.gc .who { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-left: 4px; font-size: 14px; color: var(--muted); }
.gc .who b { font-weight: 500; color: var(--fg); }
@media (max-width: 760px) {
  .gc .masthead { grid-template-columns: minmax(0, 1fr); padding-block: 22px 16px; }
  .gc .mast-side { display: none; }
  .gc .actions > .btn { flex: 1 1 auto; justify-content: center; }
  .gc .who { flex-basis: 100%; margin-left: 0; }
}

/* buttons */
.gc .btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--fg); font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.gc .btn:hover { border-color: var(--gold); }
.gc .btn.primary { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.gc .btn.primary:hover { filter: brightness(1.07); }
.gc .btn.quiet { border-color: transparent; color: var(--muted); }
.gc .btn.quiet:hover { border-color: var(--line-strong); color: var(--fg); }
.gc .btn.danger { border-color: var(--danger-wash); color: var(--danger); }
.gc .btn.danger:hover { border-color: var(--danger); }
.gc .btn.small { padding: 6px 12px; font-size: 13px; }
.gc .btn.link { padding: 0; border: 0; border-radius: 0; color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.gc .btn.link:hover { color: var(--fg); }
.gc .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.gc .btn svg { flex: none; }
.gc .iconbtn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong);
  border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer;
}
.gc .iconbtn:hover { border-color: var(--gold); }

/* toolbar: tabs, search, and filters. It sticks under the site's nav on wide screens. */
.gc .bar { border-block: 1px solid var(--line); background: var(--ground); }
@media (min-width: 901px) {
  .gc .bar { position: sticky; top: var(--nav-h, 88px); z-index: 50; }
}
.gc .bar-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; padding-block: 10px; }
.gc .tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gc .tabs::-webkit-scrollbar { display: none; }
.gc .tab, .gc .seg {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.gc .tab:hover, .gc .seg:hover { color: var(--fg); }
.gc .tab[aria-selected="true"], .gc .seg[aria-pressed="true"] { background: var(--gold-wash); color: var(--gold-text); }
.gc .seg { border: 1px solid var(--line-strong); }
.gc .seg[aria-pressed="true"] { border-color: var(--gold); }
.gc .badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.gc .search { flex: 1 1 220px; max-width: 320px; }
.gc .search input { width: 100%; }
.gc .filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-block: 0 12px; }
.gc .cats { display: flex; flex: 1 1 560px; flex-wrap: wrap; gap: 6px; min-width: 0; }
.gc .cat-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--fg); font-size: 13px; white-space: nowrap; cursor: pointer;
}
.gc .cat-toggle[aria-pressed="false"] { border-style: dashed; color: var(--faint); }
.gc .cat-toggle[aria-pressed="false"] .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.gc .cat-toggle .n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.gc .selects { display: flex; flex-wrap: wrap; gap: 8px; }
.gc .selects select { width: auto; padding: 6px 30px 6px 10px; font-size: 13.5px; }
@media (max-width: 760px) {
  .gc .search { flex-basis: 100%; max-width: none; }
  .gc .cats { flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .gc .cats::-webkit-scrollbar { display: none; }
  .gc .tab { padding: 8px 10px; font-size: 13.5px; }
}

/* form controls */
.gc input[type=text], .gc input[type=url], .gc input[type=date], .gc input[type=search], .gc input[type=email],
.gc input[type=password], .gc select, .gc textarea {
  width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--ground); color: var(--fg); font: inherit; font-size: 16px;
}
.gc input:focus, .gc select:focus, .gc textarea:focus { outline: 2px solid var(--gold-text); outline-offset: 0; border-color: transparent; }
.gc textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.gc textarea.ta-short { min-height: 72px; }
.gc textarea.ta-mid { min-height: 84px; }
.gc select {
  appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.gc input[type=search] { padding: 7px 12px; border-radius: 999px; font-size: 14px; }
.gc input::placeholder, .gc textarea::placeholder { color: var(--faint); }

/* layout */
.gc .layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 28px; align-items: start; padding-block: 22px 40px; }
.gc .layout.solo { grid-template-columns: minmax(0, 1fr); }
.gc .layout.solo .rail { display: none; }
@media (max-width: 1020px) { .gc .layout { grid-template-columns: minmax(0, 1fr); } }
.gc .view { min-width: 0; }
.gc .view:focus { outline: none; }

/* month board */
.gc .monthbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gc .monthbar h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: 0.005em; }
.gc .monthbar h2 span { color: var(--muted); font-weight: 500; }
.gc .monthnav { display: flex; gap: 8px; align-items: center; }
.gc .board { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.gc .dow span { padding: 8px 10px; color: var(--muted); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; }
.gc .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gc .cell {
  position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 126px; padding: 6px 6px 8px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.gc .cell:nth-child(7n) { border-right: 0; }
.gc .cell.lastrow { border-bottom: 0; }
.gc .cell.out { background: var(--ground); }
.gc .cell.sel { box-shadow: inset 0 0 0 2px var(--gold); }
.gc .daynum {
  align-self: flex-start; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--fg); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer;
}
.gc .daynum:hover { background: var(--raised); }
.gc .cell.out .daynum { color: var(--faint); }
.gc .cell.today .daynum { background: var(--gold); color: var(--on-gold); font-weight: 600; }
.gc .chips { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gc .chip {
  display: flex; align-items: flex-start; gap: 6px; width: 100%; min-width: 0; padding: 3px 7px; border: 0; border-radius: var(--r-sm);
  background: var(--raised); color: var(--fg); font-size: 12px; line-height: 1.3; text-align: left; cursor: pointer;
}
.gc .chip:hover { background: var(--gold-wash); }
.gc .chip .dot { margin-top: 4px; }
.gc .chip .t { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-width: 0; overflow-wrap: anywhere; }
.gc .chip.done .t { color: var(--muted); }
/* The first space ends the escape; the second is the space after the dot. */
.gc .chip.story .t::before { content: "Story \00B7  "; color: var(--muted); }
.gc .more { padding: 2px 7px; border: 0; background: none; color: var(--muted); font-size: 12px; text-align: left; cursor: pointer; }
.gc .more:hover { color: var(--fg); }
.gc .cellhit { display: none; }
.gc .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
@media (max-width: 760px) {
  .gc .dow span { padding: 6px 0; text-align: center; letter-spacing: 0.06em; }
  .gc .cell { min-height: 58px; padding: 0; }
  .gc .daynum, .gc .chips { display: none; }
  .gc .cellhit {
    display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; height: 100%; min-height: 58px;
    padding: 6px 2px; border: 0; background: transparent; cursor: pointer;
  }
  .gc .cellhit .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-variant-numeric: tabular-nums; }
  .gc .cell.today .cellhit .n { background: var(--gold); color: var(--on-gold); font-weight: 600; }
  .gc .cell.out .cellhit .n { color: var(--faint); }
  .gc .pips { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 34px; }
  .gc .pips i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
  .gc .monthbar h2 { font-size: 27px; }
}

/* day panel and agenda rows */
.gc .daypanel { margin-top: 22px; }
.gc .sectionhead { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin: 0 0 10px; }
.gc .sectionhead h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; }
.gc .list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: start; width: 100%; padding: 14px 16px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--fg); text-align: left; cursor: pointer;
}
.gc .row:last-child { border-bottom: 0; }
.gc .row:hover { background: var(--raised); }
.gc .when { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.gc .when .wd { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.gc .when .dn { margin-top: 3px; font-family: var(--font-display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gc .row.today .when .dn { color: var(--gold-text); }
.gc .what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gc .ttl { font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.gc .cpt { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.gc .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; color: var(--muted); font-size: 12.5px; }
.gc .tag { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.gc .prog { color: var(--fg); }
@media (max-width: 560px) {
  .gc .row { grid-template-columns: 44px minmax(0, 1fr); padding: 12px 14px; }
  .gc .row .pill { grid-column: 2; justify-self: start; }
}
.gc .mhead { margin: 26px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.gc .mhead:first-child { margin-top: 0; }
.gc .agendabar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gc .agendabar h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; }
.gc .agenda-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gc .toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.gc .toggle input { width: 16px; height: 16px; accent-color: var(--gold); }

/* status pills */
.gc .pill {
  --s: var(--s-planned);
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--s) 45%, transparent);
  border-radius: 999px; background: color-mix(in srgb, var(--s) 11%, transparent); color: var(--s);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.gc .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--s); }
.gc .s-planned { --s: var(--s-planned); } .gc .s-needs-info { --s: var(--s-info); } .gc .s-in-design { --s: var(--s-design); }
.gc .s-ready { --s: var(--s-ready); } .gc .s-scheduled { --s: var(--s-scheduled); } .gc .s-posted { --s: var(--s-posted); }
.gc .s-skipped { --s: var(--s-skipped); } .gc .s-new { --s: var(--s-info); } .gc .s-approved { --s: var(--s-ready); }
.gc .s-declined { --s: var(--s-skipped); } .gc .s-locked { --s: var(--danger); }

/* category color hooks */
.gc .k-alpha { --c: var(--c-alpha); } .gc .k-notable { --c: var(--c-notable); } .gc .k-series { --c: var(--c-series); }
.gc .k-chapter { --c: var(--c-chapter); } .gc .k-program { --c: var(--c-program); } .gc .k-heritage { --c: var(--c-heritage); }
.gc .k-d9 { --c: var(--c-d9); } .gc .k-holiday { --c: var(--c-holiday); } .gc .k-faith { --c: var(--c-faith); }

/* rail */
.gc .rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gc .panel { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .panel h3 { margin: 0 0 10px; color: var(--gold-text); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.gc .panel p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.gc .panel p:last-child { margin-bottom: 0; }
.gc .up { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.gc .up li + li { border-top: 1px solid var(--line); }
.gc .up button {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; width: 100%; padding: 8px 0; border: 0;
  background: none; color: var(--fg); font-size: 13.5px; line-height: 1.35; text-align: left; cursor: pointer;
}
.gc .up button:hover .ut { color: var(--gold-text); }
.gc .ud { padding-top: 1px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gc .ut { display: flex; gap: 7px; align-items: baseline; min-width: 0; }
.gc .ut .dot { transform: translateY(-1px); }
.gc .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.gc .stat { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gc .stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.gc .stat span { color: var(--muted); font-size: 12px; }
.gc .legend { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.gc .legend li { display: flex; gap: 9px; align-items: baseline; }
.gc .legend .dot { transform: translateY(-1px); }

/* requests */
.gc .reqhead { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.gc .reqhead h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; }
.gc .segs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.gc .segs .seg { border: 0; }
.gc .reqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gc .req { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .req-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.gc .req h3 { margin: 4px 0 0; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.gc .kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 5px 12px; margin: 0; font-size: 13.5px; }
.gc .kv dt { color: var(--muted); }
.gc .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.gc .lead { color: var(--muted); font-size: 12.5px; }
.gc .lead.short { color: var(--s-info); }
.gc .note { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--gold-wash); font-size: 13.5px; }
.gc .ok { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ok-wash); font-size: 13.5px; }
.gc .req-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.gc .yours { color: var(--gold-text); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }

/* empty states */
.gc .empty {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: clamp(22px, 4vw, 40px);
  border: 1px dashed var(--line-strong); border-radius: var(--r);
}
.gc .empty h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.15; text-wrap: balance; }
.gc .empty p { margin: 0; max-width: 60ch; color: var(--muted); }
.gc .empty .eyebrow { color: var(--gold-text); }
.gc .empty .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* guide */
.gc .guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; max-width: 1040px; }
.gc .guide > div { min-width: 0; }
.gc .guide h2 { grid-column: 1 / -1; margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.gc .guide h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 23px; }
.gc .guide .mt-gap { margin-top: 18px; }
.gc .guide p, .gc .guide li { max-width: 62ch; color: var(--muted); font-size: 14.5px; }
.gc .guide p { margin: 0 0 10px; }
.gc .guide ol, .gc .guide ul { display: flex; flex-direction: column; gap: 7px; margin: 0; padding-left: 20px; }
.gc .guide li b, .gc .guide p b { color: var(--fg); font-weight: 500; }
.gc .guide .wide { grid-column: 1 / -1; }
.gc .guide .legend { padding-left: 0; }
.gc .statuslist { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; margin: 0; }
.gc .statuslist dd { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .gc .guide { grid-template-columns: minmax(0, 1fr); } }

/* drawer: above the site's nav (z-index 100) and mobile menu (150) */
.gc .scrim { position: fixed; inset: 0; z-index: 300; background: var(--scrim); }
.gc .drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 301; display: flex; flex-direction: column; width: min(500px, 100%);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  border-left: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .gc .drawer { animation: gcSlide 0.2s ease-out; }
  @keyframes gcSlide { from { transform: translateX(24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
}
.gc .dform { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.gc .dhead { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.gc .dhead h2 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.15; text-wrap: balance; }
.gc .dhead h2:focus { outline: none; }
.gc .dbody { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 18px 22px 24px; overflow-y: auto; overscroll-behavior: contain; }
.gc .dfoot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; padding: 12px 22px; border-top: 1px solid var(--line); }
.gc .dfoot .spacer { flex: 1; }
.gc .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; }
.gc .concept { margin: 0; font-size: 16px; line-height: 1.55; }
.gc .block { display: flex; flex-direction: column; gap: 6px; }
.gc .block h4 { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.gc .block p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.gc .caption { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ground); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gc .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gc .field label, .gc .field legend { padding: 0; font-size: 13.5px; font-weight: 500; }
.gc .field legend { margin-bottom: 6px; }
.gc .field .req-mark { color: var(--gold-text); }
.gc .hint { margin: 0; color: var(--muted); font-size: 12.5px; }
.gc .hint.warn { color: var(--s-info); }
.gc .hint.bad { color: var(--danger); }
.gc .grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 520px) { .gc .grid2 { grid-template-columns: minmax(0, 1fr); } }
.gc .checks { display: flex; flex-wrap: wrap; gap: 6px; }
.gc .check { position: relative; display: inline-flex; }
.gc .check input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.gc .check span { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 13px; }
.gc .check input:checked + span { border-color: var(--gold); background: var(--gold-wash); color: var(--gold-text); }
.gc .check input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.gc .tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.gc .tick input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.gc .err { margin: 0; color: var(--danger); font-size: 13.5px; }
.gc .confirm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; width: 100%; }
.gc .confirm span { margin-right: auto; font-size: 14px; }

/* request files: the upload area in the form, and previews in requests and posts */
.gc .flabel { font-size: 13.5px; font-weight: 500; }
.gc .drop {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 14px; border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm); background: var(--ground);
}
.gc .drop.over { border-color: var(--gold); background: var(--gold-wash); }
.gc .drop:focus-within { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.gc .drop .hint { flex: 1 1 200px; }
.gc .filelist { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gc .filelist:empty { display: none; }
.gc .filerow {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 6px 6px 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 13.5px;
}
.gc .filekind { padding: 1px 8px; border-radius: 999px; background: var(--raised); color: var(--muted); font-size: 11.5px; }
.gc .filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc .filesize { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gc .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gc .thumb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gc .thumb-link { display: block; text-decoration: none; }
.gc .thumb-link:not([href]) { pointer-events: none; }
.gc .thumb-img {
  display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--raised); color: var(--muted); font-size: 12.5px; font-weight: 500;
}
.gc .thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.gc .thumb-link[href]:hover .thumb-img { border-color: var(--gold); }
.gc .thumb-name { overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.gc .thumb-meta { color: var(--muted); font-size: 12px; }
.gc .thumb.gone { opacity: 0.55; }
.gc .tagrow { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* sign-in and manage access */
.gc .modes { display: flex; flex-wrap: wrap; gap: 6px; }
.gc .btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gc .divider { height: 1px; background: var(--line); }
.gc .people { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .person { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gc .person:last-child { border-bottom: 0; }
.gc .person-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; }
.gc .person-name { font-weight: 500; }
.gc .person-meta { color: var(--muted); font-size: 12.5px; }
.gc .person-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gc .person-act input { width: 9em; padding: 6px 10px; font-size: 15px; }
.gc .person-act select { width: auto; padding: 6px 30px 6px 10px; font-size: 15px; }

/* toast: above the drawer, and above its buttons while it's open */
.gc .toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 400; max-width: calc(100% - 32px);
  padding: 10px 18px; transform: translateX(-50%); border-radius: 999px; background: var(--fg); color: var(--ground);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500;
}
.gc-drawer-open .gc .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* page sign-off above the site footer */
.gc .foot { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: baseline; justify-content: space-between; padding-block: 22px 36px; border-top: 1px solid var(--line); }
.gc .foot .theme { max-width: 46ch; margin: 0; font-family: var(--font-display); font-size: 20px; font-style: italic; line-height: 1.35; }
.gc .foot .fine { margin: 0; color: var(--muted); font-size: 13px; }

/* results: Instagram and Threads numbers, for the media team */
.gc .results { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gc .rhead { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.gc .rhead h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; }
.gc .rhead .csub { margin: 4px 0 0; }
.gc .rfilters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.gc .fgroup { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.gc .fgroup > span { margin-right: 4px; color: var(--muted); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.gc .fgroup .seg { padding: 6px 12px; font-size: 13.5px; }
.gc .rnote { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.gc .rnote p { margin: 0; }
.gc .accts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gc .acct { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .acct-top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; justify-content: space-between; }
.gc .acct-name { display: inline-flex; gap: 9px; align-items: center; font-weight: 600; }
.gc .acct p { margin: 0; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.gc .acct .hint { font-size: 13px; }
.gc .lk { display: inline-block; flex: none; width: 14px; height: 2px; border-radius: 1px; background: var(--sw); }
.gc .sw { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--sw); }
.gc .ptag { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); white-space: nowrap; }
.gc .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.gc .kpi { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .kpi-l { color: var(--muted); font-size: 13px; }
.gc .kpi-v { color: var(--fg); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.gc .kpi-d { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.gc .kpi-d.trend-up { color: var(--up); }
.gc .kpi-d.trend-down { color: var(--down); }
.gc .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gc .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .gc .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .gc .cards, .gc .cards.three { grid-template-columns: minmax(0, 1fr); } }
.gc .card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.gc .card.wide { grid-column: 1 / -1; }
.gc .card-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; justify-content: space-between; }
.gc .card-head > div { flex: 1 1 240px; min-width: 0; }
.gc .card-head > .btn { flex: none; margin: -4px -8px 0 0; }
.gc .rsection > h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; }
.gc .rsection > .csub { margin: 2px 0 12px; }
.gc .card h3 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.gc .csub { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.gc .card .empty-line { margin: 0; color: var(--muted); font-size: 14px; }
.gc .legend-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.gc .legend-row li { display: inline-flex; gap: 7px; align-items: center; }
.gc .multiples { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 22px; }
.gc .multiple { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gc .multiple-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.gc .multiple-head b { font-size: 22px; font-weight: 600; line-height: 1.1; }

/* charts: thin marks, hairline grid, values in text colors */
.gc .viz { position: relative; width: 100%; }
.gc .viz-svg { display: block; overflow: visible; }
.gc .viz-svg text { font-family: var(--font-ui); font-size: 12px; }
.gc .viz-tick { fill: var(--muted); font-variant-numeric: tabular-nums; }
.gc .viz-grid { stroke: var(--viz-grid); stroke-width: 1; shape-rendering: crispEdges; }
.gc .viz-base { stroke: var(--viz-base); stroke-width: 1; shape-rendering: crispEdges; }
.gc .viz-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gc .viz-area { opacity: 0.1; }
.gc .viz-dot { stroke: var(--surface); stroke-width: 2; }
.gc .viz-crossline { stroke: var(--line-strong); stroke-width: 1; shape-rendering: crispEdges; }
.gc .viz-band { transition: opacity 0.12s; }
.gc .viz-band.dim { opacity: 0.45; }
.gc .viz-hit { cursor: crosshair; outline: none; }
.gc .viz-hit:focus-visible { stroke: var(--gold-text); stroke-width: 2; }
.gc .viz-tip {
  position: absolute; top: 0; left: 0; z-index: 5; min-width: 128px; max-width: 280px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 10px 28px rgba(40, 32, 10, 0.14);
  font-size: 12.5px; line-height: 1.45; pointer-events: none;
}
.gc .tip-head { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.gc .tip-row { display: flex; gap: 8px; align-items: center; }
.gc .tip-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.gc .tip-row span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.gc .tip-key { flex: none; width: 12px; height: 2px; border-radius: 1px; }
.gc .viz-bars { position: relative; }
.gc .hbars { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.gc .hbar { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; align-items: center; border-radius: var(--r-sm); cursor: default; }
.gc .hbar:focus-visible { outline-offset: 3px; }
.gc .hb-label { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.gc .hb-label .tag { min-width: 0; }
.gc .hb-note { color: var(--muted); font-size: 12px; white-space: nowrap; }
.gc .hb-track { display: flex; gap: 8px; align-items: center; min-width: 0; }
.gc .hb-track i { flex: none; height: 12px; border-radius: 0 4px 4px 0; }
.gc .hb-track b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc .hbar:hover .hb-track i, .gc .hbar:focus-visible .hb-track i { filter: brightness(1.12); }
@media (max-width: 520px) { .gc .hbar { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* results tables: the table view of each chart, and top posts */
.gc .rtable-wrap { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.gc .rtable-wrap.tall { max-height: 360px; overflow-y: auto; }
.gc .rtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gc .rtable caption { padding-bottom: 6px; color: var(--muted); font-size: 12.5px; text-align: left; }
.gc .rtable th { padding: 8px 10px; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.gc .rtable td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gc .rtable tr:last-child td { border-bottom: 0; }
.gc .rtable .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc .rtable th:first-child, .gc .rtable td:first-child { padding-left: 0; }
.gc .rtable th:last-child, .gc .rtable td:last-child { padding-right: 0; }
.gc .rtable .when-c { color: var(--muted); white-space: nowrap; }
.gc .rtable .post-c { min-width: 200px; }
.gc .postbtn { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; color: var(--fg); text-align: left; cursor: pointer; }
.gc .postbtn .ttl { font-size: 14px; }
.gc .postbtn:hover .ttl { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.gc .postbtn .meta { gap: 2px 10px; }
.gc .cap1 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); }
@media (max-width: 760px) { .gc .rtable .opt { display: none; } .gc .rtable .post-c { min-width: 0; } }
.gc .card-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.gc .metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 0; }
.gc .metrics div { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gc .metrics dt { color: var(--muted); font-size: 12px; }
.gc .metrics dd { margin: 0; font-size: 18px; font-weight: 600; }
.gc .resline { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13.5px; }
.gc .resline b { font-weight: 600; }
