.admin-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.admin-hero {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  color: #f8fafc;
  background: #142018;
  border: 1px solid #244334;
  border-left: 6px solid var(--gold, #c9912e);
  border-radius: 8px;
}

.admin-hero .eyebrow {
  margin: 0;
  color: #8de0c6;
}

.admin-hero p:last-child {
  max-width: 820px;
  margin: 0;
  color: #d8e0dc;
  font-weight: 650;
  line-height: 1.45;
}

.admin-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

.admin-section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
}

.admin-section-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #111);
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-section-title--alert {
  color: var(--danger, #dc2626);
}

.admin-subsection-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-secondary, #555);
}

.admin-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1rem;
}

.admin-invite-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 240px) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
}

.admin-invite-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary, #555);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-invite-form input,
.admin-invite-form select {
  min-height: 2.5rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  padding: 0 0.65rem;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.admin-actions form {
  margin: 0;
}

.admin-credit-form {
  display: grid;
  grid-template-columns: 5rem minmax(10rem, 14rem) auto;
  gap: 0.35rem;
  align-items: center;
}

.admin-credit-form .button-link {
  min-width: 3.75rem;
  overflow: visible;
}

.admin-credit-form-input,
.admin-credit-form-reason {
  min-height: 2rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  padding: 0 0.5rem;
  font: inherit;
}

.admin-credit-form-reason {
  min-width: 10rem;
}

.admin-usage-origin-note {
  margin: 0 0 0.85rem;
  max-width: 920px;
  white-space: normal;
}

.admin-ops-grid--usage {
  margin-top: 1rem;
}

.admin-ops-grid--submissions {
  margin-top: 1rem;
}

.admin-usage-user-table {
  margin-top: 1rem;
}

.admin-warning-list {
  border: 1px solid var(--danger, #dc2626);
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  overflow-wrap: anywhere;
}

.admin-warning-list p {
  margin: 0.25rem 0;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.admin-stat-card {
  background: #f9fafb;
  border: 1px solid var(--border, #e5e7eb);
  border-left: 4px solid var(--primary, #1f6f5b);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #111);
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-stat-warn .admin-stat-value {
  color: var(--danger, #dc2626);
}

.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.admin-table th {
  text-align: left;
  padding: 0.625rem 0.75rem;
  font-weight: 600;
  color: var(--text-secondary, #6b7280);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-subtle, #f9fafb);
  border-bottom: 1px solid var(--border, #e5e7eb);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-light, #f3f4f6);
  white-space: nowrap;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table--compact th,
.admin-table--compact td {
  padding: 0.4rem 0.75rem;
}

.admin-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  margin-left: 0.375rem;
  vertical-align: middle;
  background: var(--primary, #2563eb);
  color: #fff;
}

.admin-badge--warn {
  background: var(--danger, #dc2626);
}

.admin-email {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-wrap {
  max-width: 320px;
  white-space: normal;
}

.admin-muted {
  color: var(--text-muted, #9ca3af);
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .admin-dashboard {
    padding: 0.75rem;
  }

  .admin-section {
    padding: 0.75rem;
  }

  .admin-ops-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-invite-form {
    grid-template-columns: 1fr;
  }

  .admin-invite-form .button-link {
    justify-self: start;
  }

  .admin-credit-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-credit-form-input,
  .admin-credit-form-reason {
    width: 100%;
    min-width: 0;
  }
}
:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #53615a;
  --paper: #ffffff;
  --panel: #ffffff;
  --field: #ffffff;
  --line: #dfe7e2;
  --line-strong: #c4d2ca;
  --navy: #142018;
  --primary: #1f6f5b;
  --primary-hover: #185844;
  --accent: #c9912e;
  --blue: #2563eb;
  --red: #a73446;
  --page-dark: #f5f7f5;
  --page-dark-2: #eef3f0;
  --cream: #f5f7f5;
  --reader-header: #f5f7f5;
  --surface: rgba(255, 255, 255, 1);
  --shadow: 0 1px 3px rgba(20, 32, 24, 0.08), 0 14px 38px rgba(20, 32, 24, 0.06);
  --soft-shadow: 0 1px 2px rgba(20, 32, 24, 0.07);
  --launch-rail: 1560px;
  --public-canvas: #f5f7fb;
  --public-surface: rgba(255, 255, 255, 0.96);
  --public-surface-raised: rgba(255, 255, 255, 0.94);
  --public-surface-soft: rgba(255, 255, 255, 0.9);
  --public-border: rgba(217, 222, 231, 0.92);
  --public-border-soft: rgba(217, 222, 231, 0.9);
  --public-text-secondary: #475467;
  --public-nav-link: #46505f;
  --public-inset: #f7f9fc;
  --scoreboard-dark: #111827;
  --press-gold-soft: #fff1cb;
  --press-gold-ink: #64430e;
  --press-gold-border: #f1d18d;
  --control-height: 44px;

  --green: #1f6f5b;
  --green-dark: #185844;
  --gold: #c9912e;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --radius-full: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  color: var(--ink);
  background: var(--reader-header);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.body-app:has(.newspaper-home) {
  background: var(--reader-header);
}

main,
.app-shell {
  width: 100%;
  max-width: var(--launch-rail);
  margin: 0 auto;
}

main {
  padding: 0 18px 80px;
  overflow-x: clip;
}

.app-shell {
  display: grid;
  gap: 24px;
}

h1,
h2,
h3,
h4,
p,
dl {
  margin-top: 0;
}

h1 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-weight: 650;
  line-height: 1.2;
}

p {
  line-height: 1.6;
}

a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-topbar,
main > nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 18px;
  background: rgba(245, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.brand-link,
main > nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
  transition: color 0.15s ease;
}

.topbar-primary {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-link::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 9px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.topbar-dynasty-switcher {
  position: relative;
  width: fit-content;
  min-width: 112px;
  max-width: min(24rem, 28vw);
}

.topbar-dynasty-switcher summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.topbar-dynasty-switcher summary::-webkit-details-marker {
  display: none;
}

.topbar-dynasty-switcher summary::after {
  content: "⌄";
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}

.topbar-dynasty-switcher[open] summary {
  border-color: #9bc5b8;
  box-shadow: 0 10px 24px rgba(24, 32, 28, 0.08);
}

.topbar-dynasty-switcher span {
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.topbar-dynasty-label {
  font-size: 0.84rem;
}

.topbar-dynasty-label--compact {
  font-size: 0.76rem;
}

.topbar-dynasty-label--dense {
  font-size: 0.68rem;
}

.topbar-dynasty-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  width: max(100%, 220px);
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(9, 16, 14, 0.14);
}

.topbar-dynasty-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 9px;
  color: var(--ink);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.topbar-dynasty-menu a:hover,
.topbar-dynasty-menu a.is-active {
  color: var(--green-dark);
  background: #eef7f3;
  text-decoration: none;
}

.topbar-user-menu {
  position: relative;
}

.topbar-user-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--green);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}

.topbar-user-menu summary::-webkit-details-marker {
  display: none;
}

.topbar-user-menu[open] summary {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--green);
}

.topbar-user-avatar {
  color: white;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.topbar-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 2px;
  width: max(100%, 220px);
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(9, 16, 14, 0.14);
}

.topbar-user-header {
  display: grid;
  gap: 2px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.topbar-user-header strong {
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
}

.topbar-user-header span {
  font-size: 0.76rem;
  color: var(--muted);
}

.topbar-user-dropdown a,
.topbar-user-tier,
.topbar-user-logout {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar-user-dropdown a:hover {
  background: #eff6ff;
  color: var(--green-dark);
  text-decoration: none;
}

.topbar-user-tier {
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  margin: 2px 4px;
}

.topbar-user-dropdown hr {
  margin: 4px 0;
  border: none;
  border-top: 1px solid var(--line);
}

.topbar-logout-form {
  margin: 0;
}

.topbar-user-logout {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--red);
  font: inherit;
}

.topbar-user-logout:hover {
  background: #fef2f2;
  color: var(--red);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.topbar-nav-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.topbar-nav-group--primary {
  padding: 4px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(223, 231, 226, 0.78);
  border-radius: var(--radius-sm);
}

.topbar-nav-group--utility {
  justify-content: flex-end;
}

.app-topbar .topbar-nav-group--utility {
  min-width: 128px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #34433b;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.84rem;
}

.topbar-button,
.topbar-logout button,
.launch-actions .button-link,
input[type="submit"],
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 107, 95, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: none;
}

.button-link--ghost {
  color: var(--green-dark);
  background: white;
  border-color: var(--line);
  box-shadow: none;
}

.button-link--danger {
  color: #7c1f2f;
  background: #fff5f7;
  border-color: #ecc6ce;
  box-shadow: none;
}

.button-link--danger:hover {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

.button-primary {
  width: fit-content;
  min-height: 40px;
  padding: 10px 15px;
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 107, 95, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.button-primary:hover {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.topbar-links a:hover,
.topbar-button:hover,
.topbar-logout button:hover,
input[type="submit"]:hover,
.button-link:hover {
  background: white;
  border-color: var(--line);
  color: var(--green-dark);
  text-decoration: none;
}

.topbar-links a.is-active {
  color: var(--green-dark);
  background: #e8f3ee;
  border-color: #9bc5b8;
}

.topbar-button:hover,
.topbar-logout button:hover,
input[type="submit"]:hover,
.button-link:hover {
  box-shadow: 0 10px 24px rgba(24, 32, 28, 0.08);
}

.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  width: min(100%, 760px);
}

.reader-actions form {
  margin: 0;
}

.reader-actions .button_to,
.reader-actions .runtime-toggle-form,
.reader-actions .my-team-form {
  display: block;
  min-width: 0;
}

.reader-actions .button-link,
.reader-actions .preference-toggle,
.reader-actions .my-team-form label,
.reader-actions .my-team-form--locked {
  min-height: 38px;
}

.reader-actions .button-link {
  width: auto;
  padding: 0 12px;
  white-space: nowrap;
}

.my-team-form {
  width: fit-content;
  max-width: min(23rem, 26vw);
}

.my-team-form label,
.my-team-form--locked {
  display: grid;
  gap: 3px;
}

.my-team-form span,
.timeline-post-identity span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.my-team-form select {
  width: auto;
  max-width: min(23rem, 26vw);
  min-height: 34px;
  padding: 6px 28px 6px 11px;
  font-size: 0.82rem;
  font-weight: 850;
}

.my-team-form--locked {
  padding: 0 14px;
  text-align: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.my-team-form--locked strong,
.timeline-post-identity strong {
  color: var(--ink);
  font-weight: 950;
}

.wrapped-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: white;
  background: #202636;
  border: 1px solid #374155;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wrapped-announcement[hidden] {
  display: none;
}

.wrapped-announcement .eyebrow {
  color: #9fb2ff;
}

.wrapped-announcement h2 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.wrapped-announcement p {
  max-width: 76ch;
  margin-bottom: 0;
  color: #dce3f5;
}

.wrapped-announcement__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar-button--ghost,
.topbar-logout button {
  color: var(--green-dark);
  background: white;
  border-color: var(--line);
  box-shadow: none;
}

.topbar-logout {
  display: inline-flex;
  margin: 0;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.environment-badge {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: white;
  background: rgba(24, 32, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 950;
  pointer-events: none;
  text-transform: uppercase;
}

.environment-badge[data-rails-env="production"] {
  background: rgba(168, 50, 70, 0.9);
}

.flash {
  width: calc(100% - 32px);
  max-width: 1420px;
  margin: 10px auto -2px;
  padding: 12px 14px;
  color: var(--green-dark);
  background: #eef8f5;
  border: 1px solid #c9e5dd;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-weight: 850;
}

.body-public .flash {
  max-width: var(--launch-rail);
}

.flash--alert {
  color: var(--red);
  background: #fff5f7;
  border-color: #ecc6ce;
}

.reader-intro {
  display: grid;
  grid-template-columns: minmax(0, auto) max-content;
  gap: 12px 22px;
  align-items: end;
  margin: 0;
  padding: 18px 24px 24px;
  color: var(--navy);
  background: var(--reader-header);
  border-bottom: 0;
}

.reader-intro h1 {
  max-width: 14ch;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(3rem, 6.8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.reader-intro p:last-child {
  margin-bottom: 0;
  color: #4b6078;
  font-size: 1.05rem;
  font-weight: 800;
}

.reader-intro-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reader-team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
  margin-top: 14px;
}

.reader-actions {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 104px;
}

.reader-team-strip span {
  padding: 7px 10px;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-value-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 24px 18px;
  padding: 20px;
  background: white;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.sample-value-note h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  line-height: 1.02;
}

.sample-value-note p {
  margin-bottom: 0;
  color: #4b6078;
  font-weight: 700;
  line-height: 1.45;
}

.sample-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sample-value-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  background: #f7faf9;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
}

.sample-value-grid span {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-value-grid strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
}

.sample-value-grid p {
  color: #43504b;
  font-size: 0.85rem;
  line-height: 1.42;
}

.sample-voice-showcase {
  display: grid;
  gap: 16px;
  margin: 0 24px 18px;
  padding: 20px;
  background: #fbfcfe;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.sample-voice-showcase .section-heading-row {
  margin: 0;
}

.sample-voice-showcase .section-heading-row > p {
  max-width: 560px;
}

.sample-voice-showcase h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.week-newspaper-stage .sample-voice-showcase {
  margin: 0 0 18px;
}

.week-panel--sample-voice-comparison .week-issue-layout {
  grid-template-columns: minmax(0, 1fr);
}

.week-panel--sample-voice-comparison .week-issue-rail {
  position: static;
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 1fr);
  align-items: start;
  padding-top: 0;
}

.sample-voice-newspaper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sample-voice-newspaper {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.sample-voice-newspaper-header {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 0 2px;
}

.sample-voice-newspaper-header span {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-voice-newspaper--college-gameday .sample-voice-newspaper-header span {
  color: #991b1b;
}

.sample-voice-newspaper-details {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #f7faf9;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
}

.sample-voice-newspaper--college-gameday .sample-voice-newspaper-details {
  background: #fffafa;
  border-color: #f0d8d8;
}

.sample-voice-newspaper-details h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.18;
}

.sample-voice-newspaper-details ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #4b6078;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.newspaper-home {
  color: var(--ink);
  min-height: 100vh;
  padding-bottom: 24px;
  background: var(--reader-header);
}

.newspaper-home .reader-intro h1 {
  color: var(--navy);
  text-shadow: none;
}

.newspaper-home .reader-intro p:last-child {
  color: #4b6078;
}

.newspaper-home .reader-intro .eyebrow {
  color: var(--green-dark);
}

.newspaper-home:not(.sample-newspaper-home) .reader-intro {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(223, 231, 226, 0.75);
}

.newspaper-home:not(.sample-newspaper-home) .week-browser {
  margin-top: -24px;
}

.newspaper-home:not(.sample-newspaper-home) .week-browser-controls {
  border-top: 0;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  gap: 26px;
  align-items: stretch;
  padding: 28px;
  color: white;
  background: var(--navy);
  border: 1px solid #22324e;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  color: white;
  background: var(--navy);
  border: 1px solid #22324e;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.stats-hero p {
  color: #d8e0dc;
}

.masthead-copy {
  display: grid;
  align-content: end;
  min-height: 190px;
}

.masthead h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.masthead p {
  max-width: 72ch;
  margin-bottom: 0;
  color: #d8e0dc;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.masthead .eyebrow {
  color: #8de0c6;
}

.summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.summary div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.summary dt {
  color: #b9c8c1;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.summary dd {
  margin: 5px 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: white;
  font-size: 1.08rem;
  font-weight: 950;
}

.tier-badge--credits {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.snapshot > div,
.data-section,
.tool-panel,
main > section {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.snapshot > div,
.data-section,
.tool-panel,
main > section {
  padding: 20px;
  color: var(--ink);
}

.snapshot h2 {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: none;
}

.recruiting-empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-left: 6px solid var(--gold);
}

.player-empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-left: 6px solid var(--green);
}

.recruiting-empty-state h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.player-empty-state h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.recruiting-empty-state p:last-child,
.player-empty-state p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.snapshot ul,
.arc-list {
  margin: 0;
  padding-left: 20px;
}

.snapshot li,
.arc-list li {
  margin-bottom: 6px;
}

.data-section[hidden] {
  display: none;
}

.data-section > h2,
.tool-panel > h2,
main > section > h2,
.section-heading-row h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: #3e4b45;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.data-section > h2::before,
.tool-panel > h2::before,
main > section > h2::before,
.section-heading-row h2::before {
  content: "";
  width: 7px;
  height: 18px;
  background: var(--gold);
  border-radius: 3px;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.operations-grid--secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.week-browser {
  min-width: 0;
  margin-top: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.week-browser .section-heading-row {
  padding: 20px 20px 0;
}

.week-browser-controls {
  position: sticky;
  top: 58px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(160px, 0.42fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: end;
  margin: -1px 0 0;
  padding: 12px 24px;
  background: rgba(245, 247, 245, 0.93);
  border-top: 1px solid rgba(223, 231, 226, 0.65);
  border-bottom: 1px solid rgba(223, 231, 226, 0.9);
  box-shadow: 0 8px 22px rgba(20, 32, 24, 0.04);
  backdrop-filter: blur(16px);
}

.reader-toolbar-title {
  min-width: 0;
}

.reader-toolbar-title .eyebrow {
  margin-bottom: 3px;
}

.reader-toolbar-title strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.08rem;
}

.week-browser-controls label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.week-browser-controls select {
  min-height: 42px;
  background: white;
}

.week-browser-strip[hidden] {
  display: none;
}

.week-browser-strip {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  background: rgba(251, 252, 250, 0.7);
  border-top: 1px solid var(--line);
}

.week-browser-strip a {
  flex: 0 0 210px;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  text-decoration: none;
}

.week-browser-strip a:hover,
.week-browser-strip a[aria-current="true"] {
  border-color: rgba(15, 107, 95, 0.48);
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}

.week-browser-strip a[aria-current="true"] {
  background: #edf7f3;
}

.week-browser-strip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.week-panels {
  display: grid;
  gap: 18px;
  padding: 0;
  background: transparent;
}

.week-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.week-panel[open] {
  box-shadow: none;
}

.week-panel summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin: 0;
  padding: 18px 8px 10px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  font-weight: 950;
  list-style: none;
  box-shadow: none;
}

.week-panel summary::-webkit-details-marker,
.reaction-timeline summary::-webkit-details-marker,
.week-detail-panel summary::-webkit-details-marker,
.support-panel summary::-webkit-details-marker {
  display: none;
}

.week-panel summary::marker,
.reaction-timeline summary::marker,
.week-detail-panel summary::marker,
.support-panel summary::marker {
  content: "";
}

.week-panel[open] summary {
  border-bottom: 0;
}

.week-panel summary small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.week-panel > div {
  padding: 0;
}

.week-panel h3 {
  margin: 18px 0 10px;
  color: #47544e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.week-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.week-issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.week-newspaper-stage {
  display: grid;
  min-width: 0;
}

.week-newspaper-stage .weekly-packet-react-shell {
  margin-top: 0;
  margin-bottom: 0;
}

.week-issue-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  position: sticky;
  top: 152px;
  padding-left: 0;
  border-left: 0;
}

.week-issue-rail > * {
  flex: 0 0 auto;
  width: 100%;
}

.week-desk-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.week-desk-card span {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.week-desk-card strong {
  font-size: 1.08rem;
}

.week-desk-card .inline-action,
.week-desk-card .inline-action input {
  width: 100%;
}

.week-action-card {
  gap: 12px;
}

.week-action-card-header {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.week-action-card-header strong {
  color: var(--ink);
  font-size: 1rem;
  text-align: right;
}

.week-action-buttons {
  display: grid;
  gap: 8px;
}

.week-action-buttons .button-link,
.week-action-buttons .button-primary,
.week-generate-form,
.week-generate-form button {
  width: 100%;
}

.credit-help {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.25;
}

.week-share-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.8fr) auto;
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.week-share-card--invite {
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 0.8fr) auto;
  background: #f7faf8;
}

.week-share-drawer {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.week-share-drawer summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 0;
  cursor: pointer;
  list-style: none;
}

.week-share-drawer summary::-webkit-details-marker {
  display: none;
}

.week-share-drawer summary span {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 950;
}

.week-share-drawer summary small {
  color: var(--muted);
  font-weight: 850;
}

.week-share-drawer-grid {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.invite-code-form input {
  width: 100%;
}

.invite-code-form {
  display: grid;
  gap: 0.9rem;
}

.invite-code-chip {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 116px;
  padding: 9px 11px;
  background: white;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.invite-code-chip span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.invite-code-chip strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.invite-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: stretch;
  margin-top: 2rem;
}

.invite-hero-copy,
.invite-card {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.invite-hero-copy {
  display: grid;
  align-content: center;
}

.invite-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.invite-hero p {
  margin: 0.5rem 0 0;
}

.invite-card {
  display: grid;
  gap: 16px;
}

.invite-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.invite-summary div {
  min-width: 0;
  padding: 12px;
  background: #f8fbf9;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.invite-summary dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.invite-summary dd {
  margin: 5px 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.week-share-preview {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.week-share-preview span,
.week-share-card label {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.week-share-preview strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.week-share-preview p {
  margin: 0;
  color: #31403a;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.week-share-card input {
  width: 100%;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.week-share-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  align-content: end;
  align-items: center;
}

.week-share-actions small {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--green-dark);
  font-weight: 850;
}

.week-detail-dock,
.reader-support {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.week-detail-dock--single {
  grid-template-columns: minmax(0, 1fr);
}

.reaction-timeline {
  max-width: 1180px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.reaction-timeline ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-post-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(160px, 0.35fr) minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 0 18px 18px;
}

.timeline-post-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.timeline-post-form textarea {
  min-height: 44px;
}

.async-form-message {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
}

.timeline-post-identity {
  display: grid;
  gap: 5px;
  align-self: stretch;
  min-height: 44px;
  padding: 7px 11px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.member-team-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.member-team-header {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.member-team-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.member-team-header small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.invite-email-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.invite-email-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.team-assignment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.member-management-list {
  display: grid;
  gap: 8px;
}

.member-management-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.member-management-row strong,
.member-management-row small {
  display: block;
}

.member-management-row strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.member-management-row small,
.member-management-lock {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-assignment-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: var(--field);
  border: 1px solid #e1e7e2;
  border-radius: 8px;
}

.team-assignment-card strong,
.team-assignment-card small {
  display: block;
}

.team-assignment-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.team-assignment-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.team-assignment-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reaction-timeline li {
  position: relative;
  padding: 0 0 14px 28px;
}

.reaction-timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 3px solid #dcefe7;
  border-radius: 50%;
}

.reaction-timeline li::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 0;
  left: 11px;
  width: 1px;
  background: var(--line);
}

.reaction-timeline li:last-child {
  padding-bottom: 0;
}

.reaction-timeline li:last-child::after {
  display: none;
}

.reaction-timeline article {
  padding: 13px 14px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid #e1e7e2;
  border-radius: 8px;
}

.reaction-timeline p {
  margin-bottom: 6px;
  color: #17211d;
  font-weight: 650;
}

.reaction-timeline .timeline-author {
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 950;
}

.chat-section .reaction-timeline {
  margin-top: 0;
}

.chat-section .timeline-post-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 0 16px 14px;
}

.reaction-timeline small {
  color: #43504b;
  font-size: 0.78rem;
  font-weight: 800;
}

.canonical-note-form {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e1e7e2;
}

.canonical-note-form summary {
  width: fit-content;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 950;
}

.canonical-note-form form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.canonical-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.canonical-note-grid--optional {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
}

.canonical-note-form label {
  display: grid;
  gap: 4px;
  color: #43504b;
  font-size: 0.72rem;
  font-weight: 900;
}

.canonical-note-form input,
.canonical-note-form select,
.canonical-note-form textarea {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
}

.canonical-note-form textarea {
  min-height: 72px;
  resize: vertical;
}

.canonical-note-submit {
  justify-self: start;
}

.chat-container {
  display: grid;
  grid-template-rows: 1fr auto;
  height: calc(100vh - 180px);
  min-height: 400px;
  max-height: 800px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chat-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 8px;
  border-radius: 8px;
}

.chat-message:hover {
  background: var(--panel);
}

.chat-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 0.82rem;
  font-weight: 950;
}

.chat-avatar--0 { background: #3b82f6; }
.chat-avatar--1 { background: #10b981; }
.chat-avatar--2 { background: #f59e0b; }
.chat-avatar--3 { background: #ef4444; }
.chat-avatar--4 { background: #8b5cf6; }
.chat-avatar--5 { background: #ec4899; }

.chat-bubble {
  min-width: 0;
  flex: 1;
}

.chat-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.chat-author {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.chat-team {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--panel);
  padding: 1px 6px;
  border-radius: 4px;
}

.chat-meta time {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.chat-meta form {
  margin-left: auto;
}

.chat-message-remove {
  min-height: 0;
  padding: 0;
  color: #7c1f2f;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.72rem;
}

.chat-bubble p {
  margin: 0;
  color: #17211d;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.chat-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 180px));
  gap: 8px;
  margin-top: 8px;
  max-width: min(100%, 560px);
}

.chat-image-grid[data-chat-image-count="1"] {
  grid-template-columns: minmax(0, 260px);
}

.chat-image-link {
  display: block;
  overflow: hidden;
  background: #eef3f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.chat-input-bar {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  background: var(--panel);
}

.chat-form {
  display: grid;
  gap: 8px;
}

.chat-team-select select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  background: white;
}

.chat-attachment-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.chat-image-picker {
  position: relative;
  display: grid;
  gap: 1px;
  min-width: 132px;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.chat-image-picker:hover {
  background: #f8fbf9;
}

.chat-image-picker span {
  color: #3e4b45;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.chat-image-picker strong {
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.2;
}

.chat-image-picker small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
}

.chat-image-picker input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.chat-selected-images {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat-selected-images[hidden] {
  display: none;
}

.chat-selected-images li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 6px 8px;
  background: white;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.chat-selected-images span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-selected-images small,
.chat-upload-status {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.chat-upload-status {
  grid-column: 1 / -1;
  min-height: 1em;
}

.chat-upload-status[data-status="failed"] {
  color: var(--red);
}

.chat-selected-image-remove {
  min-height: 26px;
  padding: 4px 8px;
  color: #7c1f2f;
  background: #fff5f7;
  border: 1px solid #ecc6ce;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 900;
}

.chat-selected-image-remove:hover {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  resize: vertical;
  background: white;
}

.chat-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.chat-send {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 18px;
  color: white;
  background: var(--green);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 950;
}

.chat-send:hover {
  background: var(--green-dark);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-unavailable {
  margin: 0;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  background: #fef3c7;
  border-radius: 8px;
}

.chat-popup-container {
  position: fixed;
  bottom: 24px;
  left: max(18px, calc((100vw - var(--launch-rail)) / 2 + 18px));
  z-index: 100;
}

.chat-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: white;
  background: var(--green);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.chat-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  color: white;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-popup {
  position: absolute;
  bottom: 68px;
  left: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(380px, calc(100vw - 56px - 36px));
  height: 520px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(9, 16, 14, 0.2);
  overflow: hidden;
}

.chat-popup[hidden] {
  display: none;
}

.chat-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy);
  color: white;
}

.chat-popup-header strong {
  font-size: 0.92rem;
  font-weight: 950;
}

.chat-popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: white;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}

.chat-popup-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-popup-body {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.chat-popup-body .chat-container {
  height: 100%;
  min-height: 0;
  max-height: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.chat-popup-body .chat-messages {
  padding: 14px;
}

.chat-popup-body .chat-input-bar {
  border-top: 1px solid var(--line);
}

.chat-popup-body .chat-attachment-row {
  grid-template-columns: minmax(0, 1fr);
}

.chat-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.reader-support {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.week-detail-panel,
.support-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(24, 32, 28, 0.04);
}

.week-issue-rail .reaction-timeline,
.week-issue-rail .week-processing-section,
.week-issue-rail .week-detail-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.05);
}

.week-issue-rail .reaction-timeline,
.week-issue-rail .week-processing-section {
  display: grid;
  margin: 0;
  overflow: hidden;
}

.week-issue-rail .week-processing-section:not([open]) .rail-card-header {
  border-bottom: 0;
}

.rail-card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 0;
}

.rail-card-header span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 950;
}

.rail-card-header small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.rail-card-body {
  max-height: 300px;
  overflow: auto;
  padding: 0 16px 16px;
}

.week-issue-rail .timeline-post-form {
  grid-template-columns: 1fr;
  padding: 0 16px 14px;
  border-bottom: 1px solid #e5edf7;
}

.week-issue-rail .week-processing-list li {
  grid-template-columns: 12px minmax(0, 1fr);
}

.week-issue-rail .week-processing-list li form,
.week-issue-rail .week-processing-list li > .table-action,
.week-issue-rail .week-processing-list li > .processing-actions {
  grid-column: 2;
}

.week-issue-rail .week-detail-panel {
  overflow: hidden;
}

.week-issue-rail .week-detail-panel[open] {
  grid-column: auto;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.05);
}

.week-issue-rail .week-detail-panel summary {
  padding-right: 16px;
  padding-left: 16px;
}

.week-issue-rail .week-detail-panel > :not(summary) {
  margin-right: 16px;
  margin-left: 16px;
}

.week-detail-dock--single {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.week-detail-panel summary,
.support-panel summary {
  display: grid;
  gap: 4px;
  padding: 14px;
  cursor: pointer;
}

.week-detail-panel summary span,
.support-panel summary span {
  color: var(--ink);
  font-weight: 950;
}

.week-detail-panel summary small,
.support-panel summary small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.week-detail-panel > :not(summary),
.support-panel > :not(summary) {
  margin: 0 14px 14px;
}

.week-detail-panel[open],
.support-panel[open] {
  grid-column: span 2;
  box-shadow: var(--soft-shadow);
}

.week-detail-dock--single .week-detail-panel[open] {
  grid-column: 1 / -1;
}

.support-panel[open] {
  grid-column: span 3;
}

.game-grid,
.ocr-evidence,
.hub-list,
.social-feed,
.note-grid,
.team-grid,
.form-grid,
.score-grid,
.grid {
  display: grid;
  gap: 10px;
}

.game-card,
.media-item,
.note-item,
.team-card,
.team-media-box,
.ocr-source,
.hub-list li,
.social-post {
  background: var(--field);
  border: 1px solid #e1e7e2;
  border-radius: 8px;
}

.game-card,
.media-item,
.note-item,
.team-card,
.team-media-box,
.social-post {
  padding: 14px;
}

.game-card {
  color: var(--ink);
}

.game-card--compact {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.game-card--score-only {
  padding: 8px 10px;
}

.game-card p,
.game-card .empty {
  margin: 0;
  color: #1d2723;
}

.week-team-media {
  margin: 34px calc(-1 * max(16px, calc((100vw - 1420px) / 2 + 16px))) 0;
  padding: 34px max(24px, calc((100vw - 1420px) / 2 + 24px));
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.week-team-media .section-heading-row {
  margin-bottom: 18px;
}

.week-team-media h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 0.95;
}

.sample-screenshot-uploads {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sample-screenshot-uploads .section-heading-row {
  margin: 0;
}

.sample-screenshot-uploads .section-heading-row > p {
  max-width: 620px;
}

.sample-screenshot-uploads h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.sample-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sample-upload-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  background: white;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
}

.sample-upload-card figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #0c1722;
}

.sample-upload-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-upload-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.sample-upload-takeaway {
  margin: 0;
  color: #293a34;
  font-size: 0.9rem;
  line-height: 1.45;
}

.sample-upload-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  background: #f7faf9;
  border: 1px solid #e1e8e4;
  border-left: 4px solid var(--green);
  border-radius: 8px;
}

.sample-upload-benefit span {
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-upload-benefit p {
  margin: 0;
  color: #43504b;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.sample-upload-facts {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 0 0 17px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.sample-upload-detail-drawer {
  padding-top: 8px;
  border-top: 1px solid #e1e8e4;
}

.sample-upload-detail-drawer > summary {
  cursor: pointer;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  list-style: none;
  text-transform: uppercase;
}

.sample-upload-detail-drawer > summary::-webkit-details-marker {
  display: none;
}

.sample-upload-detail-drawer > summary::after {
  content: "+";
  margin-left: 6px;
}

.sample-upload-detail-drawer[open] > summary::after {
  content: "-";
}

.sample-upload-detail-drawer[open] > .sample-upload-facts,
.sample-upload-detail-drawer[open] > .sample-upload-generated {
  margin-top: 10px;
}

.sample-upload-generated {
  display: grid;
  gap: 10px;
}

.sample-upload-generated article {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #e1e8e4;
}

.sample-upload-generated span {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-upload-generated h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.sample-upload-generated p {
  margin: 0;
  color: #43504b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.team-media-grid {
  display: grid;
  grid-template-columns: repeat(var(--team-media-columns, 4), minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.team-media-grid--1 {
  --team-media-columns: 1;
}

.team-media-grid--2 {
  --team-media-columns: 2;
}

.team-media-grid--3 {
  --team-media-columns: 3;
}

.team-media-grid--4 {
  --team-media-columns: 4;
}

.team-media-column {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.team-media-box {
  display: grid;
  gap: 14px;
  align-content: start;
  align-self: start;
  background: #ffffff;
  border-color: #d8e2f0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, 0.04);
}

.team-media-box > header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.team-media-box h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}

.team-media-box > header span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.team-media-list {
  display: grid;
  gap: 0;
}

.team-media-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  background: #eff6ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-media-tablist button {
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  color: var(--green-dark);
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.team-media-tablist button[aria-selected="true"] {
  color: white;
  background: var(--green);
}

.team-media-panel {
  margin-top: 12px;
}

.team-media-panel[hidden] {
  display: none;
}

.team-media-item {
  padding: 12px 0;
  border-top: 1px solid #dde6e1;
}

.team-media-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.team-media-item:last-child {
  padding-bottom: 0;
}

.team-media-item h5 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.team-media-item p {
  margin: 0 0 8px;
  color: #43504b;
  line-height: 1.5;
}

.team-media-body {
  position: relative;
}

.team-media-body--collapsed[data-expanded="1"] {
  max-height: none;
}

.team-media-body--collapsed:not([data-expanded="1"]) {
  max-height: 8.7rem;
  overflow: hidden;
}

.team-media-body--collapsed:not([data-expanded="1"])::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
  content: "";
  pointer-events: none;
}

.media-expand-toggle {
  min-height: 30px;
  padding: 5px 9px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 0.7rem;
}

.media-expand-toggle:hover {
  color: white;
  background: var(--green);
}

.game-score {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.game-scoreline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
}

.game-score strong {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101614;
}

.game-score b {
  color: var(--navy);
  font-size: 1.05rem;
}

.game-result-pill {
  padding: 2px 7px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.game-team-name,
.game-opponent-name {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.game-team-score,
.game-opponent-score {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.game-opponent-score {
  color: #52605a;
}

.game-score-separator {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.game-meta-line,
.game-note {
  margin: 0;
  color: #43504b;
  font-size: 0.88rem;
  font-weight: 700;
}

.game-meta-line strong {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.game-card dl,
.team-card dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.game-card dl {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.team-card dl {
  margin-bottom: 0;
}

.team-card div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}

.game-card dt,
.team-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-card dd,
.team-card dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101614;
  font-weight: 850;
}

.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: #eef3ef;
  list-style: none;
}

.stat-list li {
  margin: 0;
  padding: 5px 8px;
  background: #eef3ef;
  border: 1px solid #dce6e0;
  border-radius: 999px;
  color: #33413b;
  font-size: 0.82rem;
  font-weight: 750;
}

.media-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 12px;
  align-items: start;
}

.media-feature,
.media-social {
  grid-column: 1 / -1;
}

.media-feature {
  border-left: 4px solid var(--green);
}

.media-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.media-topline span:first-child {
  color: var(--green-dark);
}

.quality-flag {
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: #694300;
  background: #fff7e6;
  border: 1px solid #f2cb7a;
  border-radius: 8px;
  font-size: 0.82rem;
}

.quality-flag strong {
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  color: var(--muted);
  border-top: 1px solid #e5ebe8;
  font-size: 0.8rem;
}

.evidence-tags strong {
  color: #43504b;
  text-transform: uppercase;
}

.evidence-tags span {
  padding: 3px 7px;
  color: white;
  background: var(--red);
  border-radius: 6px;
  font-weight: 950;
}

.generation-review {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5ebe8;
}

.generation-review summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.generation-review summary strong {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.review-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.review-score-grid div {
  padding: 8px;
  background: #eef3ef;
  border: 1px solid #dce5df;
  border-radius: 8px;
}

.review-score-grid dt {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-score-grid dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 950;
}

.review-section-evidence {
  display: grid;
  gap: 5px;
  margin: 8px 0;
  color: #43504b;
  font-size: 0.78rem;
}

.review-section-evidence p {
  margin: 0;
  overflow-wrap: anywhere;
}

.review-section-evidence strong,
.review-angle-list > strong {
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-angle-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.review-angle-list ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-angle-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 8px;
  padding: 8px;
  background: #f7faf8;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
}

.review-angle-list li.is-selected {
  border-color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
}

.review-angle-list li > span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  color: white;
  background: var(--navy);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 950;
}

.review-angle-list p {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.review-angle-list small {
  color: #52615a;
  font-size: 0.76rem;
  line-height: 1.35;
}

.review-angle-list em {
  grid-column: 2;
  justify-self: start;
  padding: 4px 8px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.review-angle-action {
  grid-column: 2;
  justify-self: start;
  min-height: 30px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 0.68rem;
}

.review-angle-action:hover {
  color: white;
  background: var(--green);
}

.story-rewrite {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5ebe8;
}

.story-rewrite-toggle {
  min-height: 32px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 0.72rem;
}

.story-rewrite-toggle:hover {
  color: white;
  background: var(--green);
}

.story-rewrite-shell {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  max-height: min(78vh, 680px);
  overflow: auto;
  background: #f7faf8;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
}

.story-rewrite-shell[hidden],
.story-rewrite-preview[hidden] {
  display: none;
}

.story-rewrite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 10px;
}

.story-rewrite-advanced-fields {
  border: 1px solid #dfe8e2;
  border-radius: 8px;
  background: #fbfcfb;
}

.story-rewrite-advanced-fields summary {
  cursor: pointer;
  padding: 9px 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-rewrite-advanced-fields .story-rewrite-grid {
  padding: 0 10px 10px;
}

.story-rewrite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.story-rewrite-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.story-rewrite-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  width: min(1080px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  padding: 12px;
  max-height: min(82vh, 720px);
  overflow: auto;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid #e1e7e2;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.story-rewrite-preview h5 {
  margin: 0;
  font-size: 1rem;
}

.story-rewrite-preview p {
  margin: 0 0 8px;
}

.story-rewrite-preview-topline {
  align-items: center;
}

.story-rewrite-preview-close {
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.story-rewrite-preview-close:hover {
  color: var(--green-dark);
}

.story-rewrite-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 280px;
  max-height: min(58vh, 520px);
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  overflow: hidden;
}

.story-rewrite-version {
  min-width: 0;
  padding: 12px;
  overflow: auto;
  background: white;
  overflow-wrap: break-word;
}

.story-rewrite-version + .story-rewrite-version {
  border-left: 1px solid #dfe7e2;
}

.story-rewrite-version--new {
  background: #f7fbf8;
}

.story-rewrite-version-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .story-rewrite-preview {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .story-rewrite-comparison {
    grid-template-columns: 1fr;
    max-height: min(62vh, 520px);
    overflow: auto;
  }

  .story-rewrite-version + .story-rewrite-version {
    border-top: 1px solid #dfe7e2;
    border-left: 0;
  }
}

.note-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.note-grid.compact {
  grid-template-columns: 1fr;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.team-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.social-feed {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.social-post {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 10px;
}

.social-post div {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green-dark);
  background: #dff1e9;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.social-post p {
  grid-column: 2;
  margin: 0;
}

.social-post .social-name {
  align-self: center;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.ocr-source {
  overflow: hidden;
}

.ocr-source summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f3f6f2;
  cursor: pointer;
  font-weight: 950;
}

.ocr-source summary small {
  color: var(--muted);
  font-size: 0.82rem;
}

.ocr-source .meta {
  padding: 10px 14px 0;
}

.ocr-segments {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 14px 14px;
  list-style: none;
}

.ocr-segments li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: white;
  border: 1px solid #e5ebe8;
  border-radius: 8px;
}

.ocr-segments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: white;
  background: var(--red);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 950;
}

.ocr-segments p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #37443e;
  font-size: 0.88rem;
  font-weight: 850;
}

.preference-toggle {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preference-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--green);
}

.preference-toggle span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.preference-toggle small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.1;
}

.preference-toggle--compact {
  background: white;
}

.runtime-toggle-form {
  display: block;
}

.dynasty-voice-panel {
  display: grid;
  gap: 16px;
}

.dynasty-voice-form {
  display: grid;
  gap: 14px;
}

.voice-advanced-fields,
.voice-sample-fields {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.voice-advanced-fields summary,
.voice-sample-fields summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.voice-advanced-fields .form-grid {
  padding: 0 12px 12px;
}

.voice-advanced-fields > label,
.voice-sample-fields label {
  padding: 0 12px 12px;
}

.dynasty-voice-submit {
  display: flex;
  justify-content: flex-end;
}

.dynasty-voice-submit input[type="submit"] {
  width: auto;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(15, 107, 95, 0.16);
}

textarea {
  resize: vertical;
}

button,
input[type="submit"] {
  width: fit-content;
  min-height: 40px;
  padding: 10px 15px;
  color: white;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 107, 95, 0.18);
  cursor: pointer;
  font-weight: 950;
}

button:hover,
input[type="submit"]:hover {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

button:disabled,
input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-grid,
.score-grid,
.grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

table {
  width: 100%;
  table-layout: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 8px;
}

th {
  padding: 11px 8px;
  color: #26342f;
  background: #f3f6f2;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 11px 8px;
  color: #14201d;
  border-top: 1px solid #e3e9e5;
  vertical-align: top;
}

.jobs th,
.jobs td {
  color: #111a18;
}

.week-processing-grid {
  display: grid;
  gap: 12px;
}

.week-processing-empty {
  padding: 12px 14px;
  color: var(--muted);
  background: #fbfdfb;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
}

.week-processing-empty p {
  margin: 0;
}

.week-processing-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.week-processing-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.week-processing-card header div {
  display: grid;
  gap: 3px;
}

.week-processing-card header strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.week-processing-card header small,
.week-processing-list small,
.week-processing-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.processing-pill {
  padding: 5px 8px;
  color: #2e4a3b;
  background: #eef8f1;
  border: 1px solid #b7dfc4;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.processing-pill[data-status="active"] {
  color: #5b4400;
  background: #fff7d8;
  border-color: #e9d58b;
}

.processing-pill[data-status="failed"] {
  color: #7c1f2f;
  background: #fff5f7;
  border-color: #ecc6ce;
}

.week-processing-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.week-processing-list-wrap {
  max-height: 245px;
  overflow-y: auto;
  padding-right: 4px;
}

.week-processing-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  padding: 7px 8px;
  background: #fbfdfb;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
}

.week-processing-list li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 8px;
  align-items: center;
  min-width: 0;
}

.week-processing-list li > div > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.week-processing-list li > div > small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.week-processing-list li > div > span {
  justify-self: end;
  white-space: nowrap;
}

.processing-dot {
  width: 10px;
  height: 10px;
  background: #118044;
  border-radius: 50%;
}

.week-processing-list li[data-status="queued"] .processing-dot,
.week-processing-list li[data-status="running"] .processing-dot,
.week-processing-list li[data-status="initiated"] .processing-dot,
.week-processing-list li[data-status="uploading"] .processing-dot,
.week-processing-list li[data-status="uploaded"] .processing-dot,
.week-processing-list li[data-status="processing"] .processing-dot,
.week-processing-list li[data-status="awaiting_review"] .processing-dot {
  background: var(--gold);
}

.week-processing-list li[data-status="rejected"] .processing-dot {
  background: #6b7280;
}

.week-processing-list li[data-status="failed"] .processing-dot {
  background: var(--red);
}

.upload-review-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 16px;
  background: rgb(15 23 42 / 55%);
}

.upload-review-modal[hidden] {
  display: none;
}

.upload-review-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: min(980px, calc(100vw - 28px));
  max-height: min(90vh, 900px);
  padding: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.upload-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #dde6de;
}

.upload-review-header strong {
  display: block;
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 1.03rem;
}

.upload-review-header small {
  color: var(--muted);
  font-size: 0.79rem;
}

.upload-review-close {
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  color: #21313a;
  background: #f6f8f8;
  border: 1px solid #d5e0db;
  box-shadow: none;
  font-size: 1rem;
}

.upload-review-close:hover {
  color: var(--red);
}

.upload-review-form {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.upload-review-summary {
  margin: 0;
  color: #2e3d35;
  font-size: 0.85rem;
  font-weight: 700;
}

.upload-review-source {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.upload-review-preview {
  overflow: hidden;
  border: 1px solid #cad6ce;
  border-radius: 10px;
  background: #f5faf6;
}

.upload-review-preview-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #eef5f0;
}

.upload-review-source-meta {
  display: grid;
  gap: 10px;
}

.upload-review-uploaded-details {
  margin: 0;
  color: #506158;
  font-size: 0.8rem;
  font-weight: 700;
}

.upload-review-items {
  display: grid;
  gap: 12px;
  padding-right: 4px;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.upload-review-upload {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f8fbf8;
  border: 1px solid #dce6de;
  border-radius: 8px;
}

.upload-review-upload-header {
  display: grid;
  gap: 2px;
}

.upload-review-upload-header strong {
  color: #273a44;
  font-size: 0.95rem;
}

.upload-review-upload-header small {
  color: #587162;
  font-size: 0.77rem;
}

.upload-review-upload-body {
  display: grid;
  gap: 10px;
}

.upload-review-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce6de;
  border-radius: 8px;
  background: white;
}

.upload-review-item-heading {
  color: #22313a;
  font-size: 0.84rem;
}

.upload-review-item hr {
  border: 0;
  border-top: 1px solid #e0ebe3;
}

.upload-review-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.upload-review-field {
  display: grid;
  gap: 4px;
}

.upload-review-label {
  color: #2f3f37;
  font-size: 0.75rem;
  font-weight: 800;
}

.upload-review-input,
.upload-review-input[rows] {
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid #cad6ce;
  border-radius: 7px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.upload-review-input[rows] {
  min-height: 74px;
}

.upload-review-payload-path {
  margin: 0;
  color: #7a8c82;
  font-size: 0.72rem;
  font-style: italic;
}

.upload-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  background: #ffffff;
  border-top: 1px solid #dde6de;
}

.upload-review-status {
  min-height: 18px;
  margin: 0;
  padding-bottom: 4px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 850;
}

@media (max-width: 760px) {
  .upload-review-modal {
    padding: 8px;
  }

  .upload-review-dialog {
    width: 100%;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .upload-review-source {
    grid-template-columns: 1fr;
  }

  .upload-review-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .upload-review-actions .button-link {
    justify-content: center;
  }
}

.week-processing-list li > .processing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.table-action {
  min-height: 30px;
  padding: 6px 10px;
  color: #7c1f2f;
  background: #fff5f7;
  border: 1px solid #ecc6ce;
  box-shadow: none;
  font-size: 0.76rem;
}

.table-action:hover {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

.week-row td {
  background: #edf3ef;
  font-weight: 850;
}

.storylines {
  margin: 0;
  padding-left: 20px;
}

.storylines li {
  margin-bottom: 12px;
}

.media-item p:last-child,
.note-item p:last-child,
.quality-ok p,
.quality-warn li,
.storylines li:last-child {
  margin-bottom: 0;
}

.quality-warn strong {
  color: var(--red);
}

.meta,
.hub-list span,
.storylines span,
.empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.meta {
  margin-bottom: 7px;
  font-weight: 850;
  text-transform: uppercase;
}

.hub-list {
  padding: 0;
  list-style: none;
}

.hub-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
}

.hub-list li > div {
  display: grid;
  gap: 3px;
  min-width: min(100%, 260px);
}

.hub-list .table-action {
  flex: 0 0 auto;
}

.error {
  padding: 16px;
  color: var(--red);
  background: #fff5f7;
  border: 1px solid #ecc6ce;
  border-radius: 8px;
  font-weight: 850;
}

.inline-action {
  margin: 0 0 12px;
}

.upload-panel {
  display: none;
}

.upload-panel[open] {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 32, 0.34);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(7px);
}

.upload-panel[open] summary,
.upload-panel[open] form,
.upload-panel[open] .direct-upload-card {
  width: min(760px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.96);
  border-inline: 1px solid var(--line);
}

.upload-panel[open] summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-weight: 950;
}

.upload-panel summary span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #3e4b45;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.upload-panel summary span::before {
  content: "";
  width: 7px;
  height: 18px;
  background: var(--gold);
  border-radius: 3px;
}

.upload-panel summary small {
  color: var(--muted);
  font-size: 0.86rem;
}

.upload-close {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: #eef3ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.84rem;
}

.upload-panel[open] form {
  max-height: calc(100vh - 140px);
  margin: 0;
  overflow: auto;
  padding: 18px 20px 20px;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.stat-tile {
  min-width: 0;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(24, 32, 28, 0.04);
}

.stat-tile p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stat-tile strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.stat-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.season-stats-section {
  display: grid;
  gap: 12px;
}

.trophy-case-section {
  display: grid;
  gap: 16px;
}

.trophy-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.trophy-team-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trophy-team-card span,
.trophy-season-row h3 {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trophy-team-card strong {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.trophy-team-card small {
  min-height: 34px;
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.trophy-season-row {
  display: grid;
  gap: 8px;
}

.trophy-season-row h3 {
  margin: 0;
}

.trophy-table td:last-child {
  min-width: 240px;
  overflow-wrap: anywhere;
}

.season-wrapped-list {
  display: grid;
  gap: 14px;
}

.season-wrapped-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.season-wrapped-card__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.season-wrapped-card__topline span:first-child {
  color: var(--green-dark);
}

.season-wrapped-card h3,
.season-wrapped-card h4 {
  margin: 0;
}

.season-wrapped-summary,
.wrapped-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wrapped-awards-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wrapped-award {
  min-width: 0;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wrapped-award span,
.wrapped-lists h4 {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.wrapped-award strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.wrapped-award small {
  display: block;
  margin-top: 3px;
  color: var(--green-dark);
  font-weight: 900;
}

.wrapped-lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.wrapped-lists ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.wrapped-lists li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid #e8edf4;
}

.wrapped-lists li span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.history-section {
  display: grid;
  gap: 14px;
}

.history-table td:first-child,
.history-table td:nth-child(2) {
  font-weight: 800;
}

.history-table td strong {
  color: var(--ink);
}

.history-table td span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.history-series-grid,
.history-note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.history-series,
.history-note-list article {
  min-width: 0;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(24, 32, 28, 0.04);
}

.history-series {
  display: grid;
  gap: 14px;
}

.history-series h3,
.history-note-list h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.history-series p,
.history-note-list p {
  margin: 0;
  color: var(--muted);
}

.history-series dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.history-series dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.history-series dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.history-note-list article {
  display: grid;
  gap: 6px;
}

.roster-table-wrap {
  overflow-x: auto;
}

.recruiting-page {
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: visible;
}

.recruiting-page > * {
  min-width: 0;
}

.recruiting-page .stats-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 16px;
  padding: 22px;
}

.recruiting-page .stats-hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.recruiting-page .stats-hero p {
  max-width: 64ch;
  margin-bottom: 0;
}

.recruiting-page .summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: stretch;
}

.recruiting-page .summary div {
  display: grid;
  align-content: center;
  padding: 12px;
}

.recruiting-page .data-section {
  padding: 16px;
}

.recruiting-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 12px;
  align-items: start;
}

.recruiting-upload-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.recruiting-page .week-processing-section .rail-card-header {
  padding: 12px 14px;
}

.recruiting-intake-section .section-heading-row {
  margin-bottom: 12px;
}

.recruiting-quick-add-grid,
.recruiting-visit-add-grid {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 8px;
  align-items: center;
  justify-content: stretch;
}

.recruiting-quick-add-grid {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.recruiting-visit-add-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.recruiting-field--name,
.recruiting-field--home,
.recruiting-field--status,
.recruiting-field--stage,
.recruiting-visit-add-grid select,
.recruiting-visit-add-grid textarea {
  grid-column: span 2;
}

.recruiting-quick-add-grid input,
.recruiting-quick-add-grid select,
.recruiting-visit-add-grid input,
.recruiting-visit-add-grid select,
.recruiting-visit-add-grid textarea {
  min-height: 38px;
  padding: 8px 9px;
  font-size: 0.84rem;
}

.recruiting-quick-add-grid .button-link,
.recruiting-visit-add-grid .button-link {
  width: 100%;
  min-height: 38px;
}

.recruiting-quick-add-grid .button-link {
  grid-column: span 2;
  min-width: 120px;
}

.recruiting-offer-control {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  color: #31433b;
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.recruiting-offer-control input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
}

.recruiting-page .roster-table-wrap {
  max-width: 100%;
}

.recruiting-page .recruiting-board-table {
  min-width: 1120px;
}

.recruiting-page .recruiting-visits-table {
  min-width: 720px;
}

.recruiting-page .recruiting-board-table th,
.recruiting-page .recruiting-board-table td,
.recruiting-page .recruiting-visits-table th,
.recruiting-page .recruiting-visits-table td {
  padding: 7px 6px;
  font-size: 0.82rem;
}

.recruiting-page .recruiting-board-table th:first-child,
.recruiting-page .recruiting-board-table td:first-child,
.recruiting-page .recruiting-visits-table th:first-child,
.recruiting-page .recruiting-visits-table td:first-child {
  min-width: 0;
  white-space: nowrap;
}

.recruiting-page .recruiting-board-table th:nth-child(1),
.recruiting-page .recruiting-board-table td:nth-child(1) {
  width: 62px;
}

.recruiting-page .recruiting-board-table th:nth-child(2),
.recruiting-page .recruiting-board-table td:nth-child(2) {
  width: 170px;
}

.recruiting-page .recruiting-board-table th:nth-child(3),
.recruiting-page .recruiting-board-table td:nth-child(3),
.recruiting-page .recruiting-board-table th:nth-child(4),
.recruiting-page .recruiting-board-table td:nth-child(4),
.recruiting-page .recruiting-board-table th:nth-child(7),
.recruiting-page .recruiting-board-table td:nth-child(7),
.recruiting-page .recruiting-board-table th:nth-child(10),
.recruiting-page .recruiting-board-table td:nth-child(10) {
  width: 70px;
}

.recruiting-page .recruiting-board-table th:nth-child(5),
.recruiting-page .recruiting-board-table td:nth-child(5),
.recruiting-page .recruiting-board-table th:nth-child(6),
.recruiting-page .recruiting-board-table td:nth-child(6),
.recruiting-page .recruiting-board-table th:nth-child(8),
.recruiting-page .recruiting-board-table td:nth-child(8) {
  width: 150px;
}

.recruiting-page .recruiting-board-table th:nth-child(9),
.recruiting-page .recruiting-board-table td:nth-child(9) {
  width: 230px;
}

.recruiting-field-grid {
  display: grid;
  gap: 5px;
}

.recruiting-field-grid--ranks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recruiting-field-stack,
.recruiting-notes-stack {
  display: grid;
  gap: 5px;
}

.recruiting-page .recruiting-board-table input,
.recruiting-page .recruiting-board-table textarea,
.recruiting-page .recruiting-board-table select,
.recruiting-page .recruiting-visits-table input,
.recruiting-page .recruiting-visits-table textarea,
.recruiting-page .recruiting-visits-table select {
  min-width: 0;
  min-height: 34px;
  padding: 7px 8px;
  font-size: 0.8rem;
}

.recruiting-page .recruiting-board-table textarea,
.recruiting-page .recruiting-visits-table textarea {
  min-height: 38px;
}

.recruiting-offer-control--table {
  width: 100%;
  min-height: 34px;
  padding: 0 6px;
  font-size: 0.7rem;
}

.recruiting-action-cell {
  text-align: right;
}

.recruiting-action-cell .button-link {
  min-height: 34px;
  padding: 0 10px;
}

.recruiting-page .player-notes-row td {
  padding: 0 6px 8px;
  background: #fbfdfb;
}

.recruiting-page .player-notes-details {
  padding: 8px 10px;
  color: var(--muted);
  background: white;
  border: 1px solid #dfe8e2;
  border-radius: 7px;
}

.recruiting-page .player-notes-details summary {
  cursor: pointer;
  color: #3e4b45;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.recruiting-page .player-notes-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.recruiting-page .player-notes-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.roster-table {
  min-width: 980px;
}

.roster-table th,
.roster-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.roster-table th:first-child,
.roster-table td:first-child {
  min-width: 260px;
  white-space: normal;
}

.roster-table input,
.roster-table textarea {
  width: 100%;
  min-width: 74px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.roster-table textarea {
  min-height: 46px;
  resize: vertical;
}

.roster-table input[name="player[name]"] {
  min-width: 160px;
}

.roster-table input[name="player[position]"] {
  min-width: 68px;
}

.body-public {
  background: var(--public-canvas);
}

.launch-page,
.auth-page {
  display: grid;
  gap: 16px;
  align-content: start;
  grid-auto-rows: max-content;
  padding: 0 16px 72px;
  color: var(--ink);
}

.launch-page > section,
.auth-page > section:not(.auth-panel) {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.launch-nav {
  width: 100%;
  max-width: var(--launch-rail);
  margin: 0 auto;
  color: var(--ink);
  background: var(--public-surface-raised);
  border-bottom-color: var(--public-border-soft);
}

.launch-nav .brand-link,
.launch-nav a {
  color: var(--navy);
}

.launch-nav .topbar-links a {
  color: var(--public-nav-link);
}

.launch-page > .launch-hero,
.launch-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: min(650px, calc(100vh - 150px));
  width: 100%;
  margin-bottom: 8px;
  padding: clamp(36px, 6vw, 74px) clamp(18px, 4vw, 56px);
  background-color: #f6f4ed;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.3) 100%),
    repeating-linear-gradient(0deg, rgba(20, 32, 24, 0.035) 0 1px, transparent 1px 34px);
  background-position: center;
  background-size: auto;
  background-repeat: repeat;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-hero::after {
  content: none;
}

.launch-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 0;
}

.launch-copy h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 4.7rem;
  line-height: 0.97;
}

.launch-lede {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--public-text-secondary);
  font-size: 1.08rem;
  font-weight: 650;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.launch-proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 8px;
  margin-top: 16px;
}

.launch-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--public-border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.launch-hero-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-self: stretch;
  align-content: center;
  justify-self: end;
  width: 100%;
  max-width: 650px;
  min-width: 0;
  padding: 0;
}

.launch-issue-preview {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid #d7d2c3;
  border-top: 6px solid var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.issue-preview-masthead {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  text-align: center;
}

.issue-preview-masthead span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.issue-preview-masthead strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.issue-preview-masthead small {
  color: var(--public-text-secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.quota-grid,
.tier-meter {
  display: grid;
  gap: 12px;
}

.quota-grid span,
.tier-meter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.issue-preview-lead {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}

.issue-preview-lead h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.issue-preview-lead p:last-child,
.issue-preview-grid p:last-child,
.dashboard-hero p:last-child,
.limit-note {
  margin-bottom: 0;
}

.issue-preview-grid {
  display: grid;
  gap: 8px;
}

.issue-preview-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fffaf0;
  border: 1px solid #eadfca;
  border-radius: 8px;
}

.issue-preview-grid span {
  color: var(--press-gold-ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.issue-preview-grid p {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.42;
}

.issue-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.issue-preview-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #f1f7f2;
  border: 1px solid #d7e6dc;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-screenshot-row,
.hero-evidence-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-screenshot-row--wide {
  width: 100%;
}

.hero-screenshot-card {
  position: relative;
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid #d8d4c8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 32, 24, 0.08);
}

.hero-screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--scoreboard-dark);
  border: 1px solid rgba(20, 32, 24, 0.12);
  border-radius: 6px;
}

.evidence-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: white;
  background: rgba(17, 24, 39, 0.86);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-screenshot-card figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 4px 2px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.hero-screenshot-card figcaption strong,
.hero-screenshot-card--detail strong {
  font-size: 1rem;
}

.hero-screenshot-card figcaption span,
.hero-screenshot-card--detail span {
  color: var(--public-text-secondary);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}

.launch-page > .launch-band,
.launch-band {
  display: grid;
  gap: 20px;
  width: 100%;
  padding: clamp(32px, 5vw, 54px) clamp(4px, 2vw, 22px);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--public-border);
  border-radius: 0;
  box-shadow: none;
}

.launch-band[id],
.launch-auth[id] {
  scroll-margin-top: 80px;
}

.launch-section-heading {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.launch-section-heading .eyebrow {
  margin-bottom: 0;
}

.launch-section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: 2.5rem;
  line-height: 1.02;
}

.launch-section-heading p:last-child {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 700;
}

.launch-section-link {
  margin-bottom: 0;
}

.launch-evidence-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.launch-evidence-type-grid article {
  min-width: 0;
  padding: 14px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-evidence-type-grid article:nth-child(2),
.launch-evidence-type-grid article:nth-child(4) {
  border-left-color: var(--gold);
}

.launch-evidence-type-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--press-gold-ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-evidence-type-grid strong {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.2;
}

.launch-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-start-panel h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.launch-start-panel p:last-child {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 700;
}

.launch-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.launch-sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.launch-sample-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-sample-card--voice {
  border-top-color: var(--gold);
}

.launch-sample-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--public-border-soft);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-sample-card strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.15;
}

.launch-sample-card p {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 650;
  line-height: 1.45;
}

.launch-stats-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.launch-stats-panel {
  min-width: 0;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-stats-panel--team {
  border-top-color: var(--gold);
}

.launch-stats-panel h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.12;
}

.launch-stats-panel p:not(.eyebrow) {
  margin-bottom: 16px;
  color: var(--public-text-secondary);
  font-weight: 650;
  line-height: 1.45;
}

.stats-demo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.stats-demo-table th,
.stats-demo-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--public-border-soft);
  color: var(--public-text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.stats-demo-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-demo-table td:first-child {
  color: var(--navy);
  font-weight: 900;
}

.stats-demo-table tr:last-child td {
  border-bottom: 0;
}

.stats-demo-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 16px;
}

.stats-demo-kpis div {
  min-width: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--public-border-soft);
}

.stats-demo-kpis dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-demo-kpis dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.launch-steps,
.launch-output-grid,
.launch-trust-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

.launch-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.launch-output-grid,
.launch-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-step,
.launch-output-card,
.launch-trust-card,
.plan-card {
  min-width: 0;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-top: 4px solid #d8d2c2;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-output-card {
  display: grid;
  align-content: start;
  border-top-color: var(--navy);
}

.launch-output-card:nth-child(2) {
  border-top-color: var(--green);
}

.launch-output-card:nth-child(3) {
  border-top-color: var(--gold);
}

.launch-output-card:nth-child(4) {
  border-top-color: var(--red);
}

.launch-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--press-gold-ink);
  background: var(--press-gold-soft);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 950;
}

.launch-step h3,
.launch-output-card h3,
.launch-trust-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.output-preview {
  display: grid;
  gap: 8px;
  min-height: 178px;
  margin-bottom: 16px;
  padding: 16px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid #eadfca;
  border-top: 4px solid var(--navy);
  border-radius: 8px;
}

.output-preview > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--public-border-soft);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.output-preview strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.12;
}

.output-preview p,
.output-preview ol {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.42;
}

.output-preview--recap {
  border-top-color: var(--green);
}

.output-preview--social {
  border-top-color: var(--navy);
}

.output-preview--packet {
  border-top-color: var(--gold);
}

.output-preview--history {
  border-top-color: var(--red);
}

.output-preview--social p {
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--public-border-soft);
  border-radius: 8px;
}

.output-preview--packet div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.output-preview--packet strong {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px;
  background: white;
  border: 1px solid var(--public-border-soft);
  border-radius: 8px;
  font-size: 0.86rem;
}

.output-preview--history ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.launch-step p,
.launch-output-card p,
.launch-trust-card p {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 650;
}

.launch-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 16px 0 0;
}

.launch-auth--signed-in {
  grid-template-columns: minmax(0, 1fr);
}

.launch-auth--signed-in .auth-panel {
  max-width: 640px;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.plan-grid--signup {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.plan-grid--profile {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin-bottom: 0;
}

.profile-plan-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.profile-plan-card form {
  margin-top: 4px;
}

.plan-card strong,
.plan-card span {
  display: block;
}

.plan-card strong {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}

.plan-card span {
  color: var(--public-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-card-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--public-text-secondary);
  list-style: none;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.plan-card-list li {
  padding-left: 12px;
  border-left: 3px solid var(--green);
}

.plan-card-list li:nth-child(2) {
  border-left-color: var(--gold);
}

.faq-page {
  display: grid;
  gap: 16px;
}

.faq-hero {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 48px 28px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.88)),
    repeating-linear-gradient(0deg, rgba(20, 32, 24, 0.04) 0 1px, transparent 1px 28px);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.faq-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.faq-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-size: 1.04rem;
  font-weight: 700;
}

.faq-examples {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.faq-section-heading {
  max-width: 820px;
}

.faq-section-heading h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.faq-section-heading p:last-child {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 700;
}

.screenshot-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.screenshot-example {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.screenshot-example img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--scoreboard-dark);
}

.screenshot-example figcaption {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.screenshot-example strong {
  color: var(--navy);
  font-size: 1rem;
}

.screenshot-example span {
  color: var(--public-text-secondary);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.faq-page > .launch-nav {
  width: 100%;
}

.faq-card {
  padding: 24px;
  background: var(--public-surface);
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.faq-card h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.faq-card p {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 650;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  display: grid;
  gap: 18px;
  align-items: start;
  width: 100%;
  margin-top: clamp(28px, 8vh, 86px);
}

.auth-shell--login {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
}

.auth-shell--signup {
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
}

.auth-shell--single {
  max-width: 760px;
  margin-inline: auto;
}

.auth-context-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.auth-context-panel h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.auth-context-panel p {
  max-width: 640px;
  margin: 0;
  color: var(--public-text-secondary);
  font-weight: 750;
  line-height: 1.42;
}

.auth-value-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
}

.auth-value-list li::marker {
  color: var(--press-gold-ink);
}

.auth-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--public-surface-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.auth-panel h1,
.auth-panel h2 {
  margin-bottom: 0;
}

.auth-panel-header {
  display: grid;
  gap: 8px;
}

.auth-panel-header p:last-child {
  margin-bottom: 0;
  color: var(--public-text-secondary);
  font-weight: 700;
}

.auth-panel-note {
  margin: 0;
  color: var(--public-text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.auth-panel--solo {
  max-width: 520px;
  margin: 10vh auto 0;
}

.auth-login-grid {
  align-items: start;
}

.auth-page .auth-login-grid {
  margin-top: 8vh;
}

.auth-panel--login {
  align-content: start;
  align-self: start;
  gap: 12px;
  width: min(100%, 640px);
  justify-self: start;
}

.auth-panel--login .auth-panel-header {
  gap: 5px;
}

.auth-panel--login .auth-panel-header .eyebrow {
  margin-bottom: 0;
}

.auth-panel--login .auth-form--login {
  gap: 12px;
}

.auth-panel form {
  align-content: start;
  gap: 16px;
}

.auth-form--login {
  width: min(100%, 520px);
}

.auth-panel label {
  align-content: start;
  gap: 8px;
}

.auth-panel input:not([type="submit"]),
.auth-panel select {
  display: block;
  block-size: var(--control-height);
  height: var(--control-height);
  max-block-size: var(--control-height);
  max-height: var(--control-height);
  min-height: var(--control-height);
  padding: 0 12px;
  line-height: 1.2;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 900;
}

.auth-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
}

.auth-form--login .auth-form-actions {
  justify-content: flex-start;
}

.auth-step-strip,
.setup-step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.setup-step-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.auth-step-strip span,
.setup-step-strip span {
  min-width: 0;
  padding: 8px 10px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.auth-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #d7e7dd;
  background: #f6fbf7;
}

.auth-message--success {
  color: #173326;
}

.auth-message strong {
  display: block;
  margin-bottom: 8px;
}

.auth-message p {
  margin: 0 0 8px;
}

.auth-message p:last-child {
  margin-bottom: 0;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 18px;
  align-items: end;
  padding: 28px;
  color: white;
  background-color: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(20, 32, 24, 0.98), rgba(31, 111, 91, 0.92)),
    url(/faq_screenshots/conference-standings.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid #244334;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.dashboard-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}

.quota-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quota-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.quota-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
}

.quota-grid strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 18px;
  align-items: start;
}

.dashboard-grid--workflows {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.dashboard-workflow-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.dashboard-workflow-card > p {
  max-width: 62ch;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.dashboard-workflow-card--primary {
  border-color: #b8d8cb;
  box-shadow: 0 12px 30px rgba(31, 111, 91, 0.08);
}

.workflow-card-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.workflow-card-heading h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #3e4b45;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.workflow-card-heading h2::before {
  content: "";
  width: 7px;
  height: 18px;
  background: var(--gold);
  border-radius: 3px;
}

.workflow-card-heading span {
  padding: 4px 8px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.workflow-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tier-meter {
  margin-bottom: 12px;
}

.tier-meter span,
.limit-note {
  display: block;
  padding: 11px 12px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: 8px;
  font-weight: 900;
}

.hub-list-empty {
  display: grid;
  gap: 4px;
  align-items: start;
  border-left: 5px solid var(--gold);
}

.hub-list-empty strong {
  color: var(--navy);
  font-size: 1rem;
}

.setup-panel {
  display: grid;
  gap: 16px;
}

.setup-form {
  gap: 18px;
}

.setup-panel > .section-heading-row {
  margin-bottom: 0;
}

.setup-evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.setup-evidence-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
}

.setup-evidence-strip span:nth-child(2),
.setup-evidence-strip span:nth-child(4) {
  border-left-color: var(--gold);
}

.setup-evidence-strip strong {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.setup-evidence-strip small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.setup-form-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fbfdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.setup-form-section--compact {
  background: white;
}

.setup-form-section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.setup-form-section-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--press-gold-ink);
  background: var(--press-gold-soft);
  border: 1px solid var(--press-gold-border);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
}

.setup-form-section-heading h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1rem;
}

.setup-form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.owner-team-field {
  max-width: 420px;
}

.setup-submit-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--navy);
  border-radius: 8px;
}

.setup-submit-bar div {
  display: grid;
  gap: 2px;
  min-width: min(100%, 260px);
}

.setup-submit-bar strong {
  color: white;
  font-size: 1rem;
}

.setup-submit-bar span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 750;
}

.setup-submit-bar input[type="submit"] {
  flex: 0 1 auto;
}

.team-picker-controls {
  display: grid;
  max-width: 320px;
  margin-bottom: 12px;
}

.team-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
}

.team-option {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.team-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.team-option > input[type="checkbox"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.team-option:has(> input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 111, 91, 0.13);
}

.team-option[hidden] {
  display: none;
}

.team-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  background: var(--team-color, var(--navy));
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
}

.team-icon img {
  display: block;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}

.team-option strong,
.team-option small {
  display: block;
}

.team-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 950;
}

.team-persona-fields {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid #e1e7e2;
}

.team-persona-fields summary {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.team-persona-fields input,
.team-persona-fields textarea {
  margin-top: 8px;
}

.direct-upload-card {
  display: grid;
  gap: 12px;
  margin: 18px 20px 0;
  padding: 16px;
  background: #f4f8f6;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.upload-panel[open] .direct-upload-card {
  max-height: calc(100vh - 140px);
  margin: 0;
  overflow: auto;
  padding: 18px 20px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
}

.direct-upload-card p:last-child {
  margin-bottom: 0;
}

.direct-upload-card-header {
  display: grid;
  gap: 6px;
}

.upload-guidance {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  color: #273f35;
  background: #f8fbf9;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.upload-guidance strong {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.upload-guidance span,
.upload-guidance small {
  color: #3e4b45;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.upload-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.upload-type-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  background: white;
  border: 1px solid #d5e4de;
  border-left: 4px solid var(--green);
  border-radius: 8px;
}

.upload-type-grid span:nth-child(2),
.upload-type-grid span:nth-child(4) {
  border-left-color: var(--gold);
}

.upload-type-grid b {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.upload-intake-field {
  display: grid;
  grid-template-columns: minmax(100px, 0.32fr) minmax(0, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.upload-week-field,
.upload-file-field {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px;
  color: var(--ink);
}

.upload-week-field {
  border-right: 1px solid var(--line);
}

.upload-week-field span,
.upload-file-field span {
  color: #3e4b45;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.upload-week-field input {
  width: 100%;
  min-height: 38px;
  padding: 6px 0;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  font-weight: 950;
}

.upload-week-field input:focus {
  outline: 0;
}

.upload-file-field {
  cursor: pointer;
}

.upload-file-field:hover {
  background: #f8fbf9;
}

.upload-file-field strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.upload-file-field small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.upload-file-field input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.selected-upload-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-upload-list[hidden] {
  display: none;
}

.selected-upload-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid #d5e4de;
  border-radius: 8px;
  font-weight: 850;
}

.selected-upload-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-upload-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.selected-upload-remove {
  min-height: 30px;
  padding: 6px 10px;
  color: #7c1f2f;
  background: #fff5f7;
  border: 1px solid #ecc6ce;
  box-shadow: none;
  font-size: 0.76rem;
}

.selected-upload-remove:hover {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

.weekly-upload-checklist {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f8fbf9;
  border: 1px solid #d5e4de;
  border-radius: 8px;
}

.weekly-upload-checklist-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.weekly-upload-checklist-header small {
  color: var(--muted);
  font-weight: 850;
}

.weekly-upload-checklist ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.weekly-upload-checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 7px 9px;
  color: var(--ink);
  background: white;
  border: 1px solid #d5e4de;
  border-radius: 8px;
  font-weight: 850;
}

.weekly-upload-checklist li[hidden] {
  display: none;
}

.weekly-upload-checklist li[data-upload-complete="1"] {
  border-color: #a9d8bd;
}

.weekly-upload-checklist li > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-upload-checklist li small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.weekly-upload-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: white;
  background: #118044;
  border: 1px solid #118044;
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
}

.weekly-upload-checklist li[data-upload-complete="0"] .weekly-upload-check {
  background: white;
  border-color: #d5e4de;
}

.upload-status-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upload-status-list li {
  padding: 10px 12px;
  color: var(--green-dark);
  background: white;
  border: 1px solid #d5e4de;
  border-radius: 8px;
  font-weight: 850;
}

.upload-status-list li[data-status="failed"] {
  color: var(--red);
  background: #fff5f7;
  border-color: #ecc6ce;
}

@media (max-width: 980px) {
  .masthead,
  .stats-hero,
  .wrapped-announcement,
  .snapshot,
  .operations-grid,
  .operations-grid--secondary,
  .week-layout,
  .media-board,
  .reader-support,
  .launch-page > .launch-hero,
  .launch-hero,
  .launch-auth,
  .auth-shell--login,
  .auth-shell--signup,
  .dashboard-hero,
  .dashboard-grid,
  .upload-intake-field {
    grid-template-columns: 1fr;
  }

  .launch-issue-preview {
    margin: 0;
  }

  .sample-voice-newspaper-list,
  .week-panel--sample-voice-comparison .week-issue-rail {
    grid-template-columns: 1fr;
  }

  .launch-hero-stack {
    justify-self: stretch;
    max-width: none;
    padding: 0;
  }

  .launch-copy h1 {
    font-size: 3.8rem;
  }

  .launch-section-heading h2 {
    font-size: 2.15rem;
  }

  .week-browser-controls {
    top: 58px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .reader-intro,
  .week-issue-layout {
    grid-template-columns: 1fr;
  }

  .week-issue-rail {
    position: static;
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid #d8e2f0;
    border-left: 0;
  }

  .reader-toolbar-title {
    grid-column: 1 / -1;
  }

  .stats-grid,
  .stats-grid--compact,
  .season-wrapped-summary,
  .wrapped-awards-grid,
  .wrapped-lists,
  .trophy-overview-grid,
  .screenshot-example-grid,
  .hero-screenshot-row,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-steps,
  .launch-output-grid,
  .launch-trust-grid,
  .launch-evidence-type-grid,
  .launch-stats-demo,
  .launch-sample-grid,
  .sample-value-note,
  .sample-value-grid {
    grid-template-columns: 1fr;
  }

  .history-series-grid,
  .history-note-list {
    grid-template-columns: 1fr;
  }

  .upload-week-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .week-detail-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-detail-dock--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-upload-grid {
    grid-template-columns: 1fr;
  }

  .week-detail-panel[open],
  .support-panel[open] {
    grid-column: 1 / -1;
  }

  .recruiting-page .stats-hero,
  .recruiting-ops-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .launch-page > .launch-hero,
  .launch-hero {
    grid-template-columns: 1fr;
  }

  .launch-hero-stack {
    justify-self: stretch;
    max-width: none;
  }

  .launch-copy h1 {
    font-size: 3.8rem;
  }

  .launch-output-grid,
  .launch-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main,
  .app-shell {
    width: 100%;
  }

  main {
    padding: 0 10px 48px;
  }

  .app-topbar,
  main > nav {
    gap: 8px;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .topbar-primary {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-dynasty-switcher {
    width: 100%;
  }

  .topbar-dynasty-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .topbar-links {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: 100%;
    min-width: 0;
  }

  .topbar-nav-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .topbar-nav-group--primary {
    padding: 4px;
  }

  .topbar-links a,
  .topbar-button,
  .topbar-user-menu,
  .tier-badge {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .topbar-user-menu summary {
    margin: 0 auto;
  }

  .topbar-user-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--line);
  }

  .launch-page,
  .auth-page {
    padding: 0 12px 48px;
  }

  .launch-page > .launch-hero,
  .launch-hero {
    min-height: auto;
    padding: 28px 20px 20px;
    background-color: #f6f4ed;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.38) 100%),
      repeating-linear-gradient(0deg, rgba(20, 32, 24, 0.035) 0 1px, transparent 1px 32px);
    background-position: center;
    background-size: auto;
    background-repeat: repeat;
  }

  .launch-copy {
    padding: 0;
  }

  .launch-copy h1 {
    font-size: 2.6rem;
    overflow-wrap: anywhere;
  }

  .launch-actions .button-link,
  .launch-proof-strip span {
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .issue-preview-masthead strong {
    font-size: 1.9rem;
  }

  .issue-preview-lead h2,
  .launch-section-heading h2 {
    font-size: 1.75rem;
  }

  .launch-actions,
  .launch-proof-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .launch-issue-preview {
    margin: 0;
  }

  .launch-hero-stack {
    padding: 0;
  }

  .preview-scorebar,
  .quota-grid,
  .faq-grid,
  .screenshot-example-grid,
  .hero-screenshot-row,
  .hero-evidence-deck,
  .plan-grid,
  .upload-type-grid,
  .stats-demo-kpis,
  .auth-step-strip,
  .setup-step-strip,
  .setup-evidence-strip {
    grid-template-columns: 1fr;
  }

  .launch-page > .launch-band,
  .launch-band {
    padding: 20px;
  }

  .reader-intro {
    align-items: start;
    grid-template-columns: 1fr;
    margin-inline: -10px;
    padding: 28px 16px 22px;
  }

  .sample-value-note {
    margin: 0 -10px 18px;
    padding: 18px 16px;
  }

  .sample-voice-showcase {
    margin: 0 -10px 18px;
    padding: 18px 16px;
  }

  .reader-team-strip {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .reader-team-strip::-webkit-scrollbar {
    display: none;
  }

  .reader-team-strip span {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 0.76rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .reader-actions {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    justify-content: stretch;
    margin-top: 10px;
  }

  .reader-actions .button_to,
  .reader-actions .runtime-toggle-form,
  .reader-actions .my-team-form,
  .reader-actions .my-team-form label,
  .reader-actions .preference-toggle,
  .reader-actions .button-link {
    width: 100%;
    max-width: none;
  }

  .reader-actions .button-link {
    min-height: 46px;
    white-space: normal;
    text-align: center;
  }

  .my-team-form select {
    width: 100%;
    max-width: none;
  }

  .masthead,
  .stats-hero {
    padding: 20px;
  }

  .masthead-copy {
    min-height: auto;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .recruiting-page .summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .recruiting-page .summary div {
    padding: 12px 10px;
  }

  .recruiting-page .summary dt {
    font-size: 0.62rem;
  }

  .recruiting-quick-add-grid,
  .recruiting-visit-add-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruiting-field--name,
  .recruiting-field--home,
  .recruiting-field--status,
  .recruiting-field--stage,
  .recruiting-visit-add-grid select,
  .recruiting-visit-add-grid textarea,
  .recruiting-quick-add-grid .button-link,
  .recruiting-visit-add-grid .button-link {
    grid-column: 1 / -1;
  }

  .week-browser-controls {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr;
    margin-inline: -10px;
    padding-inline: 14px;
  }

  .newspaper-home {
    padding-inline: 10px;
  }

  .week-browser-controls > * {
    min-width: 0;
  }

  .reader-intro h1 {
    max-width: none;
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .week-panel summary {
    padding: 13px 14px;
  }

  .week-issue-rail {
    display: flex;
    padding-top: 16px;
    padding-left: 0;
    border-left: 0;
  }

  .week-team-media {
    margin-inline: -10px;
    padding: 22px 14px;
  }

  .team-media-grid {
    grid-template-columns: 1fr;
  }

  .week-share-card {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .auth-form-actions,
  .launch-start-panel,
  .launch-start-actions,
  .recruiting-empty-state,
  .player-empty-state,
  .setup-submit-bar,
  .workflow-card-heading {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .auth-form-actions input[type="submit"],
  .auth-form-actions .auth-link,
  .launch-start-actions .button-link,
  .setup-submit-bar input[type="submit"],
  .workflow-card-actions .button-link,
  .hub-list .table-action {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .setup-form-section {
    padding: 14px;
  }

  .invite-email-form {
    grid-template-columns: 1fr;
  }

  .invite-hero {
    grid-template-columns: 1fr;
  }

  .invite-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .tier-badge {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .stats-grid,
  .stats-grid--compact,
  .season-wrapped-summary,
  .wrapped-awards-grid,
  .wrapped-lists,
  .trophy-overview-grid,
  .week-detail-dock,
  .history-series dl,
  .history-series dl {
    grid-template-columns: 1fr;
  }

  .team-card div,
  .ocr-segments li {
    grid-template-columns: 1fr;
  }
}

.profile-details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  margin: 0 0 18px;
}

.profile-return-panel {
  max-width: 720px;
  margin-top: 12px;
}

.subscription-note,
.dynasty-delete-panel .section-heading-row p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.current-plan-badge {
  width: fit-content;
  margin-top: 4px;
  padding: 6px 10px;
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.dynasty-delete-panel {
  border-color: #ecc6ce;
}

.profile-details dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.profile-details dd {
  margin: 0;
  font-weight: 600;
}

.pending-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
}

.pending-notice {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  color: #92400e;
  font-size: 0.88rem;
}

.pending-notice p {
  margin: 0;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.feedback-form-panel {
  display: grid;
  gap: 14px;
}

.launch-page {
  gap: 18px;
}

.launch-page > .launch-hero,
.launch-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.76fr);
  align-items: stretch;
  min-height: min(620px, calc(100vh - 132px));
  background-color: #f7f4ea;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.44) 100%),
    repeating-linear-gradient(0deg, rgba(20, 32, 24, 0.04) 0 1px, transparent 1px 30px);
}

.launch-copy {
  align-self: center;
}

.launch-copy h1 {
  max-width: 780px;
  font-size: clamp(3.6rem, 6.7vw, 6.15rem);
}

.launch-lede {
  max-width: 660px;
  font-size: 1.02rem;
}

.launch-proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 22px;
}

.launch-proof-strip span {
  display: grid;
  align-items: start;
  min-height: 74px;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
}

.launch-proof-strip strong,
.launch-proof-strip small {
  display: block;
}

.launch-proof-strip strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.launch-proof-strip small {
  color: var(--public-text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.3;
}

.launch-hero-stack {
  align-self: center;
}

.launch-issue-preview {
  gap: 14px;
  min-height: 100%;
}

.issue-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.issue-preview-section-list,
.issue-preview-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid #eadfca;
  border-radius: 8px;
}

.issue-preview-section-list span,
.issue-preview-copy span {
  color: var(--press-gold-ink);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.issue-preview-section-list strong {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--public-border-soft);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.12;
}

.issue-preview-copy p {
  margin: 0;
  color: var(--public-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
}

.issue-preview-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.issue-source-chip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--public-border-soft);
  border-radius: 8px;
}

.issue-source-chip img {
  width: 72px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--scoreboard-dark);
  border-radius: 5px;
}

.issue-source-chip figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.issue-source-chip span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.issue-source-chip strong {
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.12;
}

.launch-sample-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: stretch;
}

.launch-sample-issue {
  display: grid;
  align-content: end;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  color: white;
  background:
    linear-gradient(135deg, rgba(20, 32, 24, 0.95), rgba(31, 111, 91, 0.86)),
    url(/faq_screenshots/scores-schedule.jpg);
  background-position: center;
  background-size: cover;
  border: 1px solid #244334;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-sample-issue .eyebrow,
.launch-sample-issue h3,
.launch-sample-issue p {
  margin: 0;
  color: white;
}

.launch-sample-issue h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.98;
}

.launch-sample-issue p:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.launch-sample-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.launch-sample-card {
  grid-template-columns: auto minmax(120px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--public-border);
  border-left: 5px solid var(--green);
}

.launch-sample-card--voice {
  border-top-color: var(--public-border);
  border-left-color: var(--gold);
}

.launch-sample-card p {
  font-size: 0.9rem;
}

.launch-output-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.launch-output-card:first-child {
  grid-row: span 3;
  align-self: start;
  grid-template-rows: auto;
  gap: 0;
}

.launch-output-card:first-child .output-preview {
  align-content: start;
  height: auto;
  min-height: 178px;
  margin-bottom: 16px;
}

.launch-output-card:not(:first-child) {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  padding: 14px;
}

.launch-output-card:not(:first-child) .output-preview {
  grid-row: 1 / span 2;
  min-height: 128px;
  margin-bottom: 0;
  padding: 12px;
}

.launch-output-card:not(:first-child) h3,
.launch-output-card:not(:first-child) p {
  margin: 0;
}

.launch-trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launch-trust-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-top: 1px solid var(--public-border);
  border-left: 5px solid #d8d2c2;
}

.launch-trust-card h3,
.launch-trust-card p {
  margin: 0;
}

.hero-screenshot-row--wide.launch-evidence-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.launch-evidence-strip .hero-screenshot-card {
  padding: 6px;
  box-shadow: var(--soft-shadow);
}

.launch-evidence-strip .hero-screenshot-card figcaption {
  padding: 8px 2px 1px;
}

.launch-evidence-strip .hero-screenshot-card figcaption strong {
  font-size: 0.88rem;
}

.launch-evidence-strip .hero-screenshot-card figcaption span {
  font-size: 0.78rem;
}

.sample-reader-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sample-reader-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

#sample-generated-issue,
#sample-voice-comparison,
#sample-team-analysis,
#sample-evidence-used {
  scroll-margin-top: 88px;
}

.sample-upload-generated {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e1e8e4;
}

.sample-upload-generated summary {
  cursor: pointer;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  list-style: none;
  text-transform: uppercase;
}

.sample-upload-generated summary::-webkit-details-marker {
  display: none;
}

.sample-upload-generated summary::after {
  content: "+";
  margin-left: 6px;
}

.sample-upload-generated[open] summary::after {
  content: "-";
}

.sample-upload-generated article:first-of-type {
  margin-top: 8px;
}

.sample-upload-card {
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr);
  grid-template-rows: none;
}

.sample-upload-card figure {
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
}

.sample-upload-card-body {
  align-content: start;
}

.screenshot-example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

details.screenshot-example {
  overflow: hidden;
}

.screenshot-example summary {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  cursor: pointer;
  list-style: none;
}

.screenshot-example summary::-webkit-details-marker {
  display: none;
}

.screenshot-example summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.screenshot-example summary small {
  color: var(--public-text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.screenshot-example-body {
  padding: 0 14px 14px 116px;
}

.screenshot-example-body p {
  margin: 0;
  color: var(--public-text-secondary);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

details.faq-card {
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: var(--radius-full);
  font-weight: 950;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card summary h2 {
  margin: 0;
}

details.faq-card p {
  padding: 0 20px 20px;
}

@media (max-width: 1180px) {
  .launch-page > .launch-hero,
  .launch-hero,
  .launch-sample-layout,
  .launch-output-grid {
    grid-template-columns: 1fr;
  }

  .launch-output-card:first-child {
    grid-row: auto;
  }

  .hero-screenshot-row--wide.launch-evidence-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .launch-proof-strip,
  .issue-preview-layout,
  .issue-preview-evidence,
  .launch-trust-grid,
  .screenshot-example-grid {
    grid-template-columns: 1fr;
  }

  .launch-sample-card,
  .launch-output-card:not(:first-child),
  .launch-trust-card,
  .sample-upload-card {
    grid-template-columns: 1fr;
  }

  .launch-output-card:not(:first-child) .output-preview {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .launch-page > .launch-hero,
  .launch-hero {
    padding: 26px 18px 18px;
  }

  .launch-copy h1 {
    font-size: 2.85rem;
  }

  .launch-proof-strip span {
    min-height: auto;
  }

  .issue-source-chip,
  .screenshot-example summary {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .issue-source-chip img {
    width: 82px;
  }

  .hero-screenshot-row--wide.launch-evidence-strip {
    grid-template-columns: 1fr;
  }

  .launch-evidence-strip .hero-screenshot-card,
  .sample-upload-card {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: stretch;
  }

  .launch-evidence-strip .hero-screenshot-card img,
  .sample-upload-card figure {
    width: 100%;
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .sample-upload-card-body {
    padding: 12px;
  }

  .sample-reader-tabs,
  .launch-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sample-reader-tabs a {
    justify-content: center;
  }

  .screenshot-example-body {
    padding: 0 12px 12px;
  }
}

.issue-preview-scorebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 12px;
  color: white;
  background: var(--scoreboard-dark);
  border: 1px solid rgba(20, 32, 24, 0.22);
  border-radius: 6px;
}

.launch-hero > .launch-copy {
  grid-column: 1;
  grid-row: 1;
}

.launch-hero > .launch-hero-stack {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.launch-hero > .launch-proof-strip {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.issue-preview-scorebar span,
.issue-preview-scorebar strong {
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.issue-preview-scorebar small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.issue-preview-receipts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.issue-preview-receipts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-receipt-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.launch-receipt-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-receipt-row:nth-child(3n),
.launch-receipt-row:nth-child(5) {
  border-left-color: var(--gold);
}

.launch-receipt-row img {
  display: block;
  width: 92px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--scoreboard-dark);
  border: 1px solid rgba(20, 32, 24, 0.12);
  border-radius: 6px;
}

.launch-receipt-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.launch-receipt-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-receipt-row strong {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.12;
}

.launch-receipt-row p {
  margin: 0;
  color: var(--public-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.32;
}

.launch-workflow-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-archive-step {
  min-width: 0;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.launch-archive-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--press-gold-ink);
  background: var(--press-gold-soft);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 950;
}

.launch-archive-step h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.launch-archive-step p {
  margin: 0;
  color: var(--public-text-secondary);
  font-weight: 650;
}

.launch-desk-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.launch-desk-rules span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--public-border-soft);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.18;
  text-transform: uppercase;
}

.launch-section-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.sample-generated-issue {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.sample-generated-issue .section-heading-row,
.sample-voice-showcase .section-heading-row {
  align-items: end;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8e2f0;
}

.sample-voice-newspaper--lead .react-newspaper {
  --paper-page-height: 660px;
}

.sample-voice-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sample-voice-mode {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  background: #fffdf8;
  border: 1px solid #d8e2f0;
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.sample-voice-mode:nth-child(2) {
  border-left-color: var(--gold);
}

.sample-voice-mode span {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.18;
  text-transform: uppercase;
}

.sample-voice-mode p {
  margin: 0;
  color: #43504b;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.42;
}

.sample-voice-newspaper-list--comparison {
  grid-template-columns: minmax(0, 1fr);
}

.sample-voice-newspaper-list--comparison .react-newspaper {
  --paper-page-height: 500px;
}

.sample-section-drawer {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
}

.sample-section-drawer summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
}

.sample-section-drawer summary::-webkit-details-marker {
  display: none;
}

.sample-section-drawer summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--green-dark);
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: var(--radius-full);
  font-weight: 950;
}

.sample-section-drawer[open] summary {
  border-bottom: 1px solid #d8e2f0;
}

.sample-section-drawer[open] summary::after {
  content: "-";
}

.sample-section-drawer summary span {
  min-width: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.18;
  text-transform: uppercase;
}

.sample-section-drawer summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
}

.sample-section-drawer > .sample-voice-newspaper-list,
.sample-section-drawer > .team-media-grid,
.sample-section-drawer > .sample-upload-grid {
  padding: 14px;
}

.sample-section-drawer--voice {
  background: #fffdf8;
}

.sample-section-drawer--team {
  margin-top: 10px;
}

.sample-screenshot-uploads {
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.sample-section-drawer--evidence {
  padding: 0;
}

.sample-section-drawer--evidence > summary.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.54fr) auto;
  gap: 14px;
  align-items: end;
  margin: 0;
  padding: 16px 18px;
}

.sample-section-drawer--evidence > summary.section-heading-row::after {
  align-self: center;
}

.sample-section-drawer--evidence > summary.section-heading-row > p {
  max-width: none;
}

.sample-upload-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 10px;
}

.sample-upload-card {
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: none;
  align-items: start;
}

.sample-upload-card figure {
  height: 132px;
  min-height: 132px;
  aspect-ratio: auto;
}

.sample-upload-status {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  background: #eef7f3;
  border: 1px solid #c9e5dd;
  border-radius: var(--radius-full);
}

.sample-upload-status span,
.sample-upload-status strong {
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.sample-newspaper-home .reader-intro {
  padding: 16px 24px 14px;
}

.sample-newspaper-home .reader-intro h1 {
  max-width: none;
  margin-bottom: 4px;
  font-size: clamp(2.7rem, 5.2vw, 4.8rem);
}

.sample-newspaper-home .reader-team-strip {
  margin-top: 8px;
}

.sample-newspaper-home .sample-value-note {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 14px;
  align-items: start;
  margin: -8px 24px 10px;
  padding: 14px 16px;
}

.sample-newspaper-home .sample-value-note h2 {
  margin-bottom: 6px;
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  line-height: 1.08;
}

.sample-newspaper-home .sample-value-note p {
  font-size: 0.84rem;
  line-height: 1.38;
}

.sample-newspaper-home .sample-reader-tabs {
  gap: 6px;
  margin-top: 10px;
}

.sample-newspaper-home .sample-reader-tabs a {
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.68rem;
}

.sample-newspaper-home .sample-value-grid {
  gap: 8px;
}

.sample-newspaper-home .sample-value-grid article {
  gap: 5px;
  padding: 10px;
}

.sample-newspaper-home .sample-value-grid strong {
  font-size: 0.9rem;
}

.sample-newspaper-home .sample-value-grid p {
  font-size: 0.78rem;
}

.sample-newspaper-home .week-browser-controls {
  position: static;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.36fr) minmax(160px, 0.36fr);
  margin-bottom: 6px;
  padding: 12px 18px;
}

.sample-newspaper-home .week-panel summary {
  padding: 12px 16px;
}

.faq-hero {
  padding: 32px 28px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.88)),
    repeating-linear-gradient(0deg, rgba(20, 32, 24, 0.04) 0 1px, transparent 1px 28px);
  border: 1px solid var(--public-border);
  box-shadow: var(--soft-shadow);
}

.faq-hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.faq-hero p:last-child {
  color: var(--public-text-secondary);
}

.faq-checklist,
.faq-evidence-table {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.faq-checklist ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-checklist li {
  min-width: 0;
  padding: 12px;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--public-border-soft);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
}

.faq-evidence-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.faq-evidence-table th,
.faq-evidence-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--public-border-soft);
  color: var(--public-text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.faq-evidence-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.faq-evidence-table td:first-child {
  color: var(--navy);
  font-weight: 950;
}

.faq-evidence-table tr:last-child td {
  border-bottom: 0;
}

@media (min-width: 1181px) {
  .launch-page > .launch-hero,
  .launch-hero {
    min-height: min(560px, calc(100vh - 190px));
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 1180px) {
  .launch-hero > .launch-copy,
  .launch-hero > .launch-hero-stack,
  .launch-hero > .launch-proof-strip {
    grid-column: auto;
    grid-row: auto;
  }

  .launch-hero > .launch-copy {
    order: 1;
  }

  .launch-hero > .launch-hero-stack {
    order: 2;
  }

  .launch-hero > .launch-proof-strip {
    order: 3;
  }

  .launch-receipt-board,
  .launch-workflow-track,
  .launch-desk-rules,
  .faq-checklist ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .issue-preview-receipts,
  .launch-section-link {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sample-voice-compare-grid {
    grid-template-columns: 1fr;
  }

  .sample-upload-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .sample-upload-card figure {
    height: 116px;
    min-height: 116px;
  }
}

@media (max-width: 640px) {
  .launch-copy h1 {
    font-size: 2.55rem;
  }

  .launch-receipt-board,
  .launch-workflow-track,
  .launch-desk-rules,
  .faq-checklist ul {
    grid-template-columns: 1fr;
  }

  .launch-receipt-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .launch-receipt-row img {
    width: 84px;
    aspect-ratio: 4 / 5;
  }

  .sample-screenshot-uploads {
    margin-inline: -10px;
    padding: 0;
  }

  .sample-section-drawer--evidence > summary.section-heading-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    padding: 12px 14px;
  }

  .sample-section-drawer--evidence > summary.section-heading-row > p {
    grid-column: 1 / -1;
    font-size: 0.82rem;
  }

  .sample-section-drawer summary {
    gap: 8px;
    padding: 11px 12px;
  }

  .sample-section-drawer summary span {
    font-size: 0.78rem;
  }

  .sample-section-drawer summary small {
    font-size: 0.68rem;
  }

  .sample-section-drawer > .sample-voice-newspaper-list,
  .sample-section-drawer > .team-media-grid,
  .sample-section-drawer > .sample-upload-grid {
    padding: 10px;
  }

  .sample-upload-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .sample-upload-card figure {
    height: 92px;
    min-height: 92px;
    aspect-ratio: auto;
  }

  .sample-upload-card-body {
    gap: 8px;
    padding: 10px;
  }

  .sample-upload-takeaway,
  .sample-upload-benefit p {
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .sample-newspaper-home .reader-intro {
    padding: 18px 14px 12px;
  }

  .sample-newspaper-home .reader-intro h1 {
    font-size: 2.55rem;
  }

  .sample-newspaper-home .app-topbar {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    min-height: auto;
    padding: 8px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sample-newspaper-home .app-topbar::-webkit-scrollbar {
    display: none;
  }

  .sample-newspaper-home .topbar-primary {
    flex: 0 0 auto;
    width: auto;
    flex-direction: row;
    align-items: center;
  }

  .sample-newspaper-home .brand-link {
    min-height: 34px;
    white-space: nowrap;
  }

  .sample-newspaper-home .topbar-links {
    display: flex;
    flex: 1 0 auto;
    grid-template-columns: none;
    gap: 6px;
    justify-content: flex-start;
    width: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sample-newspaper-home .topbar-links::-webkit-scrollbar {
    display: none;
  }

  .sample-newspaper-home .topbar-nav-group {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
  }

  .sample-newspaper-home .topbar-links a,
  .sample-newspaper-home .tier-badge {
    width: auto;
    min-height: 34px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .sample-newspaper-home .sample-value-note {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 -10px 10px;
    padding: 10px 14px;
  }

  .sample-newspaper-home .sample-value-note h2 {
    font-size: 1rem;
    line-height: 1.08;
  }

  .sample-newspaper-home .sample-value-note > div:first-child > p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sample-newspaper-home .sample-value-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .sample-newspaper-home .sample-value-grid::-webkit-scrollbar {
    display: none;
  }

  .sample-newspaper-home .sample-value-grid article {
    flex: 0 0 148px;
    padding: 8px;
  }

  .sample-newspaper-home .sample-value-grid strong {
    font-size: 0.82rem;
  }

  .sample-newspaper-home .sample-value-grid p {
    display: none;
  }

  .sample-newspaper-home .sample-reader-tabs {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sample-newspaper-home .sample-reader-tabs::-webkit-scrollbar {
    display: none;
  }

  .sample-newspaper-home .sample-reader-tabs a {
    flex: 0 0 auto;
  }

  .sample-newspaper-home .week-browser-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-inline: -10px;
    padding: 10px 12px;
  }

  .sample-newspaper-home .reader-toolbar-title {
    display: none;
  }

  .sample-newspaper-home .week-browser-controls label {
    font-size: 0.68rem;
  }

  .faq-evidence-table {
    overflow-x: auto;
  }

  .faq-evidence-table table {
    min-width: 560px;
  }
}
.weekly-packet-react-shell {
  width: 100%;
  max-width: none;
  margin: 10px auto 24px;
}

.react-newspaper {
  --paper: #fffaf0;
  --paper-2: #f5ecd6;
  --ink: #17130d;
  --muted: #5c5548;
  --rule: #9b8350;
  --accent: #7b1d1a;
  --green: #2563eb;
  --paper-page-height: 680px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent 13%, transparent 87%, rgba(37, 99, 235, 0.05)),
    repeating-linear-gradient(0deg, rgba(23, 19, 13, 0.022), rgba(23, 19, 13, 0.022) 1px, transparent 1px, transparent 5px),
    var(--paper);
  border: 1px solid #d7c48c;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.react-newspaper * {
  box-sizing: border-box;
}

.react-masthead {
  padding: 16px 24px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent);
}

.react-masthead__name {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
}

.react-masthead__name span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.react-masthead__name strong,
.react-news-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.react-masthead__rule {
  height: 5px;
  margin: 12px 0 8px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.react-masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.react-page-controls {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 104px;
  gap: 8px;
  align-items: center;
  padding: 8px 24px;
  background: #ede2c7;
  border-top: 1px solid #d7c48c;
  border-bottom: 3px double var(--rule);
}

.react-page-controls button,
.react-page-controls select,
.react-tool-heading button,
.react-export-tabs button,
.react-validation > button {
  min-height: 38px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.react-page-controls button {
  width: 100%;
  padding: 8px 12px;
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
}

.react-page-controls button:disabled {
  color: #8a8170;
  background: #f8f1df;
  border-color: #d7c48c;
}

.react-page-controls label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.react-page-controls select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid #c7b477;
  text-transform: none;
}

.react-paper-stage {
  padding: 24px;
}

.react-news-page {
  min-width: 0;
  height: var(--paper-page-height);
  min-height: 390px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  padding: 26px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(155, 131, 80, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.react-news-page h3,
.week-panel .react-newspaper .react-news-page h3 {
  margin: 0 0 14px;
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 3.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 0.96 !important;
  text-transform: none !important;
}

.react-news-kicker {
  margin: 0 0 9px;
}

.react-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}

.react-section-actions select,
.react-section-actions input,
.react-section-actions textarea,
.react-section-action {
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(95, 80, 50, 0.38);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.react-section-actions select {
  max-width: min(100%, 260px);
}

.react-section-actions input {
  max-width: min(100%, 150px);
}

.react-section-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.react-section-tuning {
  width: 100%;
}

.react-section-tuning summary {
  width: fit-content;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
}

.react-section-tuning[open] summary {
  margin-bottom: 8px;
}

.react-section-actions textarea {
  width: min(100%, 320px);
  min-height: 46px;
  resize: vertical;
}

.react-credit-note,
.credit-help {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.25;
}

.react-section-action:hover:not(:disabled) {
  color: #fffaf0;
  background: var(--ink);
}

.react-section-action:disabled {
  opacity: 0.62;
}

.react-news-page--cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 28px;
}

.react-news-page__lead {
  min-width: 0;
}

.react-news-page--cover h3,
.week-panel .react-newspaper .react-news-page--cover h3 {
  font-size: 2.45rem !important;
  line-height: 1.04 !important;
}

.react-news-deck,
.react-news-copy,
.react-news-page li,
.react-news-page dd {
  color: #342e23;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5; 
}

.react-news-deck,
.react-news-copy {
  max-width: 76ch;
  margin: 0;
}

.react-news-page--cover .react-news-deck {
  font-size: 0.94rem;
  line-height: 1.45;
}

.react-news-page blockquote {
  margin: 22px 0 0;
  max-width: 58ch;
  padding: 14px 0;
  color: var(--ink);
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.35;
}

.react-news-rail,
.react-news-page--briefing dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.react-news-rail div,
.react-news-page--briefing dl div {
  padding: 12px 0;
  border-top: 1px solid #c7b477;
}

.react-news-rail dt,
.react-news-page--briefing dt {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.react-news-rail dd,
.react-news-page--briefing dd {
  margin: 5px 0 0;
}

.react-news-page--briefing dl {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.react-news-list {
  column-gap: 34px;
  columns: 2 280px;
  margin: 0;
  min-width: 0;
  padding-left: 22px;
}

.react-news-list li {
  break-inside: avoid;
  margin: 0 0 12px;
}

.week-issue-preview .react-masthead__name span {
  font-size: 3.8rem;
}

.week-issue-preview .react-news-page {
  min-height: 340px;
}

.week-issue-preview--empty .react-news-page {
  height: auto;
  min-height: 260px;
  overflow-y: visible;
}

.week-issue-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px 28px;
  columns: auto;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-left: 22px;
}

.week-issue-results li {
  margin-bottom: 0;
}

.react-news-page--social_feed .react-news-list {
  list-style: none;
  padding-left: 0;
}

.react-news-page--social_feed .react-news-list li {
  padding: 12px 0;
  border-top: 1px solid #c7b477;
  font-style: italic;
}

@media (max-width: 860px) {
  .react-newspaper {
    --paper-page-height: 620px;
  }

  .react-masthead {
    padding: 14px 18px 10px;
  }

  .react-masthead__name span {
    font-size: 3.4rem;
  }

  .week-issue-preview .react-masthead__name span {
    font-size: 3.2rem;
  }

  .react-news-page--cover {
    grid-template-columns: 1fr;
  }

  .react-news-page {
    min-height: 0;
    padding: 22px;
  }

  .react-news-page h3,
  .week-panel .react-newspaper .react-news-page h3 {
    font-size: 2.5rem !important;
  }

  .react-news-page--cover h3,
  .week-panel .react-newspaper .react-news-page--cover h3 {
    font-size: 2.1rem !important;
  }
}

@media (max-width: 560px) {
  .react-newspaper {
    --paper-page-height: 520px;
  }

  .react-masthead {
    padding: 10px 16px 8px;
  }

  .react-masthead__name {
    gap: 5px 10px;
  }

  .react-masthead__name span {
    font-size: 2.35rem;
  }

  .week-issue-preview .react-masthead__name span {
    font-size: 2.5rem;
  }

  .react-masthead__name strong,
  .react-news-kicker {
    font-size: 0.66rem;
  }

  .react-masthead__rule {
    margin: 8px 0 6px;
  }

  .react-masthead__meta {
    gap: 4px 10px;
    font-size: 0.7rem;
  }

  .react-page-controls {
    grid-template-columns: 82px minmax(0, 1fr) 82px;
    gap: 6px;
    padding: 8px 14px;
  }

  .react-page-controls button {
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .react-page-controls label {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    font-size: 0.68rem;
  }

  .react-page-controls select {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .react-paper-stage {
    padding: 10px;
  }

  .react-news-page {
    padding: 16px;
  }

  .react-news-page h3,
  .week-panel .react-newspaper .react-news-page h3 {
    font-size: 2rem !important;
  }

  .react-news-page--cover h3,
  .week-panel .react-newspaper .react-news-page--cover h3 {
    font-size: 1.75rem !important;
  }
}

.sample-voice-newspaper .react-newspaper {
  --paper-page-height: 560px;
}

.sample-voice-newspaper .react-masthead__name span {
  font-size: clamp(3rem, 4vw, 3.6rem);
}

.sample-voice-newspaper .react-news-page--cover {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.sample-voice-newspaper .react-news-page h3,
.week-panel .sample-voice-newspaper .react-newspaper .react-news-page h3 {
  font-size: 2.25rem !important;
}

@media (max-width: 560px) {
  .sample-voice-newspaper .react-newspaper {
    --paper-page-height: 520px;
  }

  .sample-voice-newspaper .react-masthead__name span {
    font-size: 2.35rem;
  }

  .sample-voice-newspaper .react-news-page h3,
  .week-panel .sample-voice-newspaper .react-newspaper .react-news-page h3 {
    font-size: 1.8rem !important;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
