/* The Giving Compass — Shared Stylesheet
   Version 0.31
   Page-specific selectors are scoped by body classes to prevent collisions.
*/

/* =========================================================
   INDEX PAGE — v0.31
   ========================================================= */

    body.tgc-index {
      --ink: #243246;
      --muted: #637083;
      --surface: #ffffff;
      --soft: #f6f8fb;
      --line: #dde3eb;
      --north: #0f6f78;
      --east: #d9822b;
      --south: #b8542d;
      --west: #447a58;
      --primary: #415f86;
      --primary-dark: #304a6c;
      --shadow: 0 18px 50px rgba(39, 53, 73, 0.10);
      --radius-lg: 26px;
      --radius-md: 18px;
      --max-width: 1140px;
    }

    body.tgc-index * {
      box-sizing: border-box;
    }

    html:has(body.tgc-index) {
      scroll-behavior: smooth;
    }

    body.tgc-index {
      margin: 0;
      color: var(--ink);
      background: var(--surface);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.65;
    }

    body.tgc-index a {
      color: inherit;
    }

    body.tgc-index .page-shell {
      overflow: hidden;
    }

    body.tgc-index .container {
      width: min(calc(100% - 40px), var(--max-width));
      margin: 0 auto;
    }

    body.tgc-index .hero {
      position: relative;
      padding: 72px 0 54px;
      background:
        radial-gradient(circle at 12% 15%, rgba(123, 74, 168, 0.11), transparent 29%),
        radial-gradient(circle at 87% 18%, rgba(63, 111, 159, 0.13), transparent 30%),
        linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    }

    body.tgc-index .hero::after {
      content: "";
      position: absolute;
      inset: auto -10% -42px;
      z-index: 0;
      height: 84px;
      background: var(--surface);
      border-radius: 50% 50% 0 0;
      pointer-events: none;
    }

    /* Keep the decorative hero curve behind the following page content. */
    body.tgc-index main {
      position: relative;
      z-index: 1;
    }

    body.tgc-index #how-it-works {
      position: relative;
      z-index: 2;
    }

    body.tgc-index .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
      gap: 48px;
      align-items: center;
    }

    body.tgc-index .eyebrow {
      margin: 0 0 14px;
      color: var(--primary);
      font-size: 0.82rem;
      font-weight: 750;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    body.tgc-index h1,
body.tgc-index h2,
body.tgc-index h3 {
      margin-top: 0;
      line-height: 1.15;
      letter-spacing: -0.025em;
    }

    body.tgc-index h1 {
      max-width: 760px;
      margin-bottom: 24px;
      font-size: clamp(2.7rem, 6vw, 5.25rem);
      font-weight: 780;
    }

    body.tgc-index h2 {
      margin-bottom: 18px;
      font-size: clamp(2rem, 4vw, 3.2rem);
    }

    body.tgc-index h3 {
      margin-bottom: 10px;
      font-size: 1.2rem;
    }

    body.tgc-index .hero-copy {
      max-width: 700px;
      margin: 0 0 31px;
      color: var(--muted);
      font-size: clamp(1.06rem, 2vw, 1.23rem);
    }

    body.tgc-index .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    body.tgc-index .button {
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      padding: 14px 24px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-weight: 720;
      text-decoration: none;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    body.tgc-index .button:hover,
body.tgc-index .button:focus-visible {
      transform: translateY(-2px);
    }

    body.tgc-index .button-primary {
      color: #ffffff;
      background: var(--primary);
      box-shadow: 0 11px 26px rgba(65, 95, 134, 0.24);
    }

    body.tgc-index .button-primary:hover,
body.tgc-index .button-primary:focus-visible {
      background: var(--primary-dark);
      box-shadow: 0 15px 30px rgba(65, 95, 134, 0.28);
    }

    body.tgc-index .button-secondary {
      color: var(--primary-dark);
      background: rgba(255, 255, 255, 0.84);
      border-color: var(--line);
    }

    body.tgc-index .microcopy {
      margin: 15px 0 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    body.tgc-index .scroll-cue {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 18px;
      color: var(--primary-dark);
      font-size: 0.92rem;
      font-weight: 720;
      text-decoration: none;
    }

    body.tgc-index .scroll-cue span {
      font-size: 1.05rem;
      transition: transform 180ms ease;
    }

    body.tgc-index .scroll-cue:hover span,
    body.tgc-index .scroll-cue:focus-visible span {
      transform: translateY(3px);
    }

    body.tgc-index .hero-visual {
      display: grid;
      gap: 20px;
      align-items: center;
    }

    body.tgc-index .product-logo-wrap {
      width: min(100%, 340px);
      margin: 0 auto;
      padding: 16px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(221, 227, 235, 0.9);
      box-shadow: var(--shadow);
    }

    body.tgc-index .product-logo {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 50%;
    }

    body.tgc-index .compass-card {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      padding: 22px;
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(221, 227, 235, 0.9);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
    }

    body.tgc-index .direction {
      min-height: 150px;
      padding: 22px;
      border-radius: var(--radius-md);
    }

    body.tgc-index .direction span {
      display: inline-block;
      margin-bottom: 14px;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    body.tgc-index .direction strong {
      display: block;
      margin-bottom: 7px;
      font-size: 1.18rem;
    }

    body.tgc-index .direction p {
      margin: 0;
      color: #556174;
      font-size: 0.94rem;
      line-height: 1.5;
    }

    body.tgc-index .north { background: #e7f4f5; }
    body.tgc-index .north span { color: var(--north); }
    body.tgc-index .east { background: #fff3e7; }
    body.tgc-index .east span { color: var(--east); }
    body.tgc-index .south { background: #fbece6; }
    body.tgc-index .south span { color: var(--south); }
    body.tgc-index .west { background: #eaf3ed; }
    body.tgc-index .west span { color: var(--west); }

    body.tgc-index section {
      padding: 40px 0;
    }

    body.tgc-index .section-heading {
      max-width: 760px;
      margin-bottom: 26px;
    }

    body.tgc-index .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 1.08rem;
    }

    body.tgc-index .benefit-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    body.tgc-index .benefit-card {
      padding: 23px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: var(--surface);
    }

    body.tgc-index .benefit-icon {
      display: grid;
      width: 42px;
      height: 42px;
      margin-bottom: 18px;
      place-items: center;
      border-radius: 50%;
      color: #ffffff;
      font-weight: 800;
      line-height: 1;
    }

    body.tgc-index .benefit-icon-north { background: var(--north); }
    body.tgc-index .benefit-icon-east { background: var(--east); }
    body.tgc-index .benefit-icon-south { background: var(--south); }
    body.tgc-index .benefit-icon-west { background: var(--west); }

    body.tgc-index .benefit-card p {
      margin: 0;
      color: var(--muted);
    }

    body.tgc-index .directions-section {
      background: var(--soft);
    }

    body.tgc-index .direction-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    body.tgc-index .direction-step {
      position: relative;
      min-height: 225px;
      padding: 24px;
      border-radius: var(--radius-md);
      background: var(--surface);
      box-shadow: 0 10px 35px rgba(39, 53, 73, 0.06);
    }

    body.tgc-index .direction-step::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 6px;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
      background: var(--step-color);
    }

    body.tgc-index .direction-label {
      display: inline-block;
      margin-bottom: 20px;
      color: var(--step-color);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    body.tgc-index .direction-step p {
      margin: 0;
      color: var(--muted);
    }

    body.tgc-index .north-step { --step-color: var(--north); }
    body.tgc-index .east-step { --step-color: var(--east); }
    body.tgc-index .south-step { --step-color: var(--south); }
    body.tgc-index .west-step { --step-color: var(--west); }

    body.tgc-index .experience-grid {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 64px;
      align-items: start;
    }

    body.tgc-index .experience-copy p {
      color: var(--muted);
      font-size: 1.08rem;
    }

    body.tgc-index .insight-list {
      display: grid;
      gap: 14px;
    }

    body.tgc-index .insight {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 16px;
      align-items: start;
      padding: 21px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
    }

    body.tgc-index .insight-number {
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      border-radius: 50%;
      color: var(--primary-dark);
      background: #edf2f8;
      font-weight: 800;
    }

    body.tgc-index .insight p {
      margin: 3px 0 0;
      color: var(--muted);
    }

    body.tgc-index .principle {
      padding: 30px 0 46px;
    }

    body.tgc-index .principle-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      padding: 38px;
      color: #ffffff;
      background: #2c4059;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }

    body.tgc-index .principle-box h2 {
      margin-bottom: 0;
    }

    body.tgc-index .principle-box p {
      margin: 0;
      color: rgba(255, 255, 255, 0.83);
      font-size: 1.08rem;
    }

    body.tgc-index .cta-section {
      padding: 56px 0;
      text-align: center;
      background:
        radial-gradient(circle at 15% 15%, rgba(123, 74, 168, 0.10), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(54, 125, 120, 0.11), transparent 28%),
        #f7f9fc;
    }

    body.tgc-index .cta-inner {
      max-width: 780px;
      margin: 0 auto;
    }

    body.tgc-index .cta-inner p {
      margin: 0 auto 24px;
      color: var(--muted);
      font-size: 1.12rem;
    }

    body.tgc-index footer {
      padding: 28px 0;
      color: var(--muted);
      background: #ffffff;
      border-top: 1px solid var(--line);
      font-size: 0.9rem;
      text-align: center;
    }

    @media (max-width: 940px) {
      body.tgc-index .hero-grid,
body.tgc-index .experience-grid,
body.tgc-index .principle-box {
        grid-template-columns: 1fr;
      }

      body.tgc-index .hero-grid {
        gap: 44px;
      }

      body.tgc-index .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      body.tgc-index .direction-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      body.tgc-index .container {
        width: min(calc(100% - 28px), var(--max-width));
      }

      body.tgc-index .hero {
        padding: 54px 0 42px;
      }

      body.tgc-index section {
        padding: 30px 0;
      }

      body.tgc-index .compass-card,
body.tgc-index .benefit-grid,
body.tgc-index .direction-list {
        grid-template-columns: 1fr;
      }

      body.tgc-index .direction {
        min-height: auto;
      }

      body.tgc-index .button-row,
body.tgc-index .button {
        width: 100%;
      }

      body.tgc-index .section-heading {
        margin-bottom: 22px;
      }

      body.tgc-index .principle {
        padding: 24px 0 34px;
      }

      body.tgc-index .principle-box {
        padding: 28px 24px;
        gap: 20px;
      }

      body.tgc-index .cta-section {
        padding: 44px 0;
      }

      body.tgc-index .principle-box {
        padding: 32px 26px;
      }

      body.tgc-index .insight {
        grid-template-columns: 38px 1fr;
      }

      body.tgc-index .insight-number {
        width: 38px;
        height: 38px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html:has(body.tgc-index) {
        scroll-behavior: auto;
      }

      body.tgc-index .button {
        transition: none;
      }
    }
  

/* =========================================================
   LAUNCH PAGE — v0.31
   ========================================================= */

    body.tgc-launch {
      --ink: #1f2933;
      --muted: #5f6b76;
      --line: #d9e0e5;
      --surface: #ffffff;
      --surface-soft: #f7f9fa;
      --page: #eef3f4;

      --north: #0f6f78;
      --north-soft: #e7f4f5;
      --east: #d9822b;
      --east-soft: #fff3e7;
      --south: #b8542d;
      --south-soft: #fbece6;
      --west: #447a58;
      --west-soft: #eaf3ed;

      --primary: #5632a8;
      --primary-dark: #40227f;
      --focus: #8b5cf6;

      --not-started: #87939d;
      --in-progress: #c67b10;
      --completed: #2e7d52;

      --radius-lg: 24px;
      --radius-md: 16px;
      --shadow: 0 18px 50px rgba(32, 48, 58, 0.11);
      --shadow-sm: 0 8px 24px rgba(32, 48, 58, 0.08);
    }

    body.tgc-launch * {
      box-sizing: border-box;
    }

    html:has(body.tgc-launch) {
      scroll-behavior: smooth;
    }

    body.tgc-launch {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(15, 111, 120, 0.09), transparent 32%),
        radial-gradient(circle at top right, rgba(217, 130, 43, 0.10), transparent 28%),
        var(--page);
      line-height: 1.6;
    }

    body.tgc-launch button,
body.tgc-launch a {
      font: inherit;
    }

    body.tgc-launch a {
      color: inherit;
    }

    body.tgc-launch .page-shell {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 28px 0 56px;
    }

    body.tgc-launch .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    body.tgc-launch .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font-weight: 760;
      letter-spacing: -0.02em;
    }

    body.tgc-launch .brand-mark {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      background: #fff;
      box-shadow: var(--shadow-sm);
    }

    body.tgc-launch .visit-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 13px;
      border: 1px solid rgba(31, 41, 51, 0.10);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.82);
      color: var(--muted);
      font-size: 0.9rem;
      white-space: nowrap;
      backdrop-filter: blur(8px);
    }

    body.tgc-launch .visit-chip strong {
      color: var(--ink);
      font-weight: 700;
    }

    body.tgc-launch .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
      gap: 36px;
      align-items: center;
      padding: clamp(28px, 5vw, 58px);
      border: 1px solid rgba(31, 41, 51, 0.08);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.92);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    body.tgc-launch .hero::after {
      content: "";
      position: absolute;
      right: -120px;
      bottom: -140px;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(86, 50, 168, 0.10), transparent 66%);
      pointer-events: none;
    }

    body.tgc-launch .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 14px;
      color: var(--primary);
      font-size: 0.86rem;
      font-weight: 800;
      letter-spacing: 0.11em;
      text-transform: uppercase;
    }

    body.tgc-launch .eyebrow::before {
      content: "";
      width: 28px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
    }

    body.tgc-launch h1 {
      margin: 0;
      max-width: 13ch;
      font-size: clamp(2.45rem, 6vw, 5rem);
      line-height: 0.98;
      letter-spacing: -0.055em;
    }

    body.tgc-launch .hero-copy {
      max-width: 680px;
      margin: 22px 0 0;
      color: var(--muted);
      font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    }

    body.tgc-launch .hero-copy strong {
      color: var(--ink);
    }

    body.tgc-launch .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }

    body.tgc-launch .btn {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border: 0;
      border-radius: 999px;
      padding: 12px 20px;
      font-weight: 760;
      text-decoration: none;
      cursor: pointer;
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    body.tgc-launch .btn:hover {
      transform: translateY(-1px);
    }

    body.tgc-launch .btn:focus-visible,
body.tgc-launch .module-link:focus-visible,
body.tgc-launch .status-select:focus-visible,
body.tgc-launch .text-link:focus-visible {
      outline: 3px solid rgba(139, 92, 246, 0.32);
      outline-offset: 3px;
    }

    body.tgc-launch .btn-primary {
      color: #fff;
      background: var(--primary);
      box-shadow: 0 9px 22px rgba(86, 50, 168, 0.24);
    }

    body.tgc-launch .btn-primary:hover {
      background: var(--primary-dark);
    }

    body.tgc-launch .btn-secondary {
      color: var(--ink);
      background: #fff;
      border: 1px solid var(--line);
    }

    body.tgc-launch .hero-visual {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      min-height: 360px;
    }

    body.tgc-launch .logo-wrap {
      width: min(100%, 430px);
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 20px 45px rgba(32, 48, 58, 0.14);
    }

    body.tgc-launch .logo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
    }

    body.tgc-launch .intro {
      max-width: 780px;
      margin: 48px auto 28px;
      text-align: center;
    }

    body.tgc-launch .intro h2,
body.tgc-launch .privacy-card h2 {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      letter-spacing: -0.035em;
    }

    body.tgc-launch .intro p {
      margin: 14px auto 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    body.tgc-launch .progress-card {
      margin-bottom: 20px;
      padding: 18px 20px;
      border: 1px solid rgba(31, 41, 51, 0.08);
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: var(--shadow-sm);
    }

    body.tgc-launch .progress-top {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: baseline;
      margin-bottom: 10px;
    }

    body.tgc-launch .progress-top strong {
      font-size: 1rem;
    }

    body.tgc-launch .progress-top span {
      color: var(--muted);
      font-size: 0.92rem;
    }

    body.tgc-launch .progress-track {
      height: 10px;
      overflow: hidden;
      border-radius: 999px;
      background: #e9edf0;
    }

    body.tgc-launch .progress-fill {
      width: 0%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--primary), #8561d6);
      transition: width 240ms ease;
    }

    body.tgc-launch .module-list {
      display: grid;
      gap: 18px;
    }

    body.tgc-launch .module-card {
      position: relative;
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr) auto;
      gap: 22px;
      align-items: center;
      padding: 22px;
      border: 1px solid rgba(31, 41, 51, 0.09);
      border-radius: var(--radius-md);
      background: var(--surface);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    body.tgc-launch .module-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 6px;
      background: var(--module-color);
    }

    body.tgc-launch .module-icon {
      width: 72px;
      height: 72px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      background: var(--module-soft);
      color: var(--module-color);
      font-size: 1.55rem;
      font-weight: 850;
      letter-spacing: -0.03em;
    }

    body.tgc-launch .module-kicker {
      margin: 0 0 4px;
      color: var(--module-color);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    body.tgc-launch .module-title {
      margin: 0;
      font-size: 1.35rem;
      letter-spacing: -0.025em;
    }

    body.tgc-launch .module-description {
      margin: 7px 0 0;
      max-width: 720px;
      color: var(--muted);
    }

    body.tgc-launch .module-controls {
      min-width: 225px;
      display: grid;
      justify-items: stretch;
      gap: 10px;
    }

    body.tgc-launch .status-row {
      display: grid;
      grid-template-columns: 12px 1fr;
      gap: 9px;
      align-items: center;
    }

    body.tgc-launch .status-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--status-color, var(--not-started));
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--status-color, var(--not-started)) 15%, transparent);
    }

    body.tgc-launch .status-select {
      width: 100%;
      min-height: 42px;
      padding: 8px 34px 8px 11px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      color: var(--ink);
      font-weight: 680;
      cursor: pointer;
    }

    body.tgc-launch .module-link {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 10px;
      padding: 9px 14px;
      color: #fff;
      background: var(--module-color);
      text-decoration: none;
      font-weight: 760;
    }

    body.tgc-launch .module-link:hover {
      filter: brightness(0.94);
    }

    body.tgc-launch .north {
      --module-color: var(--north);
      --module-soft: var(--north-soft);
    }

    body.tgc-launch .east {
      --module-color: var(--east);
      --module-soft: var(--east-soft);
    }

    body.tgc-launch .south {
      --module-color: var(--south);
      --module-soft: var(--south-soft);
    }

    body.tgc-launch .west {
      --module-color: var(--west);
      --module-soft: var(--west-soft);
    }

    body.tgc-launch .privacy-card {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 20px;
      margin-top: 34px;
      padding: 28px;
      border-radius: var(--radius-md);
      background: #17232b;
      color: #fff;
      box-shadow: var(--shadow);
    }

    body.tgc-launch .privacy-icon {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.10);
      font-size: 1.45rem;
    }

    body.tgc-launch .privacy-card h2 {
      font-size: 1.45rem;
    }

    body.tgc-launch .privacy-card p {
      margin: 8px 0 0;
      color: #d3dce2;
    }

    body.tgc-launch .privacy-card strong {
      color: #fff;
    }

    body.tgc-launch .privacy-note {
      margin-top: 12px !important;
      font-size: 0.92rem;
    }

    body.tgc-launch .footer {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      margin-top: 26px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    body.tgc-launch .text-link {
      border: 0;
      padding: 0;
      color: var(--primary);
      background: transparent;
      font-weight: 720;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    body.tgc-launch .toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      transform: translate(-50%, 20px);
      z-index: 10;
      padding: 11px 16px;
      border-radius: 999px;
      color: #fff;
      background: #17232b;
      box-shadow: var(--shadow);
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease, transform 180ms ease;
    }

    body.tgc-launch .toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    @media (max-width: 900px) {
      body.tgc-launch .hero {
        grid-template-columns: 1fr;
      }

      body.tgc-launch .hero h1 {
        max-width: 16ch;
      }

      body.tgc-launch .hero-visual {
        min-height: auto;
      }

      body.tgc-launch .logo-wrap {
        width: min(80vw, 390px);
      }

      body.tgc-launch .module-card {
        grid-template-columns: 76px minmax(0, 1fr);
      }

      body.tgc-launch .module-controls {
        grid-column: 2;
        width: min(100%, 360px);
      }
    }

    @media (max-width: 620px) {
      body.tgc-launch .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
      }

      body.tgc-launch .topbar {
        align-items: flex-start;
      }

      body.tgc-launch .brand span {
        display: none;
      }

      body.tgc-launch .visit-chip {
        white-space: normal;
        text-align: right;
      }

      body.tgc-launch .hero {
        padding: 26px 20px;
      }

      body.tgc-launch .hero-actions {
        flex-direction: column;
      }

      body.tgc-launch .btn {
        width: 100%;
      }

      body.tgc-launch .module-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
      }

      body.tgc-launch .module-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
      }

      body.tgc-launch .module-controls {
        grid-column: 1;
        width: 100%;
      }

      body.tgc-launch .privacy-card {
        grid-template-columns: 1fr;
      }

      body.tgc-launch .footer {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      body.tgc-launch *,
body.tgc-launch *::before,
body.tgc-launch *::after {
        scroll-behavior: auto !important;
        transition: none !important;
      }
    }
  

/* =========================================================
   NORTH PAGE — v0.31
   ========================================================= */

    body.tgc-north {
      --bg: #f6f4ee;
      --card: #ffffff;
      --text: #1f2937;
      --muted: #6b7280;
      --line: #e5e7eb;
      --accent: #2c5f4a;
      --accent-light: #e7f2ec;
      --accent-dark: #1f4637;
      --gold: #d4a646;
      --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      --radius: 18px;
    }

    body.tgc-north * {
      box-sizing: border-box;
    }

    body.tgc-north {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      background: linear-gradient(180deg, #f8f6f1 0%, #f1ede3 100%);
      color: var(--text);
      min-height: 100vh;
    }

    body.tgc-north .app {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    body.tgc-north .topbar {
      padding: 18px 24px 8px;
    }

    body.tgc-north .topbar-inner {
      max-width: 920px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-size: 0.95rem;
      color: var(--muted);
    }

    body.tgc-north .brand {
      font-weight: 700;
      color: var(--accent-dark);
      letter-spacing: 0.02em;
    }

    body.tgc-north .progress-wrap {
      max-width: 920px;
      margin: 0 auto;
      padding: 0 24px 8px;
      width: 100%;
    }

    body.tgc-north .progress-label {
      display: flex;
      justify-content: space-between;
      font-size: 0.92rem;
      color: var(--muted);
      margin-bottom: 8px;
    }

    body.tgc-north .progress-track {
      width: 100%;
      height: 10px;
      background: #e8e4d8;
      border-radius: 999px;
      overflow: hidden;
    }

    body.tgc-north .progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--accent) 0%, #4f8a71 100%);
      transition: width 0.35s ease;
    }

    body.tgc-north .screen-shell {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 24px 40px;
    }

    body.tgc-north .card {
      width: 100%;
      max-width: 820px;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 42px;
      border: 1px solid rgba(0, 0, 0, 0.04);
    }

    body.tgc-north .eyebrow {
      display: inline-block;
      margin-bottom: 14px;
      padding: 6px 12px;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent-dark);
      background: var(--accent-light);
      border-radius: 999px;
      font-weight: 700;
    }

    body.tgc-north h1,
body.tgc-north h2 {
      margin: 0 0 14px;
      line-height: 1.15;
      color: #1d2a24;
    }

    body.tgc-north h1 {
      font-size: clamp(2rem, 4vw, 3rem);
    }

    body.tgc-north h2 {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
    }

    body.tgc-north .lead {
      font-size: 1.15rem;
      line-height: 1.75;
      color: #374151;
      margin: 0 0 22px;
      max-width: 680px;
    }

    body.tgc-north .muted {
      color: var(--muted);
      line-height: 1.7;
      font-size: 1rem;
    }

    body.tgc-north .value-name {
      font-size: clamp(2.1rem, 4vw, 3.25rem);
      margin-bottom: 10px;
      color: var(--accent-dark);
    }

    body.tgc-north .definition {
      font-size: 1.15rem;
      line-height: 1.7;
      color: #374151;
      margin-bottom: 28px;
      max-width: 650px;
    }

    body.tgc-north .prompt {
      font-size: 1.2rem;
      line-height: 1.6;
      margin-bottom: 18px;
      font-weight: 700;
      color: #1f2937;
    }

    body.tgc-north .option-list {
      display: grid;
      gap: 14px;
      margin: 20px 0 24px;
    }

    body.tgc-north .option-card {
      border: 1.5px solid var(--line);
      border-radius: 16px;
      padding: 18px 18px 16px;
      cursor: pointer;
      transition: 0.22s ease;
      background: #fff;
    }

    body.tgc-north .option-card:hover {
      border-color: #b7cbbf;
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(44, 95, 74, 0.08);
    }

    body.tgc-north .option-card.selected {
      border-color: var(--accent);
      background: var(--accent-light);
      box-shadow: 0 8px 24px rgba(44, 95, 74, 0.10);
    }

    body.tgc-north .option-title {
      font-weight: 700;
      font-size: 1.08rem;
      margin-bottom: 6px;
      color: #1d2a24;
    }

    body.tgc-north .option-desc {
      color: #4b5563;
      line-height: 1.6;
      font-size: 0.98rem;
    }

    body.tgc-north .microcopy {
      font-size: 0.95rem;
      color: var(--muted);
      margin-top: 10px;
      line-height: 1.6;
      font-style: italic;
    }

    body.tgc-north .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    body.tgc-north .actions-right {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    body.tgc-north button {
      appearance: none;
      border: none;
      border-radius: 999px;
      padding: 14px 22px;
      font-size: 1rem;
      font-family: inherit;
      cursor: pointer;
      transition: 0.2s ease;
    }

    body.tgc-north .btn-secondary {
      background: #f3f4f6;
      color: #374151;
      border: 1px solid #e5e7eb;
    }

    body.tgc-north .btn-secondary:hover:not(:disabled) {
      background: #e9ecef;
    }

    body.tgc-north .btn-primary {
      background: var(--accent);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 10px 25px rgba(44, 95, 74, 0.18);
    }

    body.tgc-north .btn-primary:hover:not(:disabled) {
      background: #244f3d;
      transform: translateY(-1px);
    }

    body.tgc-north .btn-gold {
      background: var(--gold);
      color: #fff;
      font-weight: 700;
    }

    body.tgc-north .btn-gold:hover:not(:disabled) {
      background: #bf9238;
    }

    body.tgc-north button:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }

    body.tgc-north .list {
      margin: 18px 0 0;
      padding-left: 22px;
      color: #374151;
      line-height: 1.8;
      font-size: 1.05rem;
    }

    body.tgc-north .summary-grid {
      display: grid;
      gap: 12px;
      margin-top: 22px;
    }

    body.tgc-north .summary-row {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 12px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px 16px;
      background: #fff;
    }

    body.tgc-north .summary-value {
      font-weight: 700;
      color: #1f2937;
    }

    body.tgc-north .summary-status {
      justify-self: start;
      padding: 7px 12px;
      border-radius: 999px;
      font-size: 0.92rem;
      font-weight: 700;
    }

    body.tgc-north .status-lived {
      background: #e7f2ec;
      color: #21513e;
    }

    body.tgc-north .status-growing {
      background: #eef4ff;
      color: #2f4b7b;
    }

    body.tgc-north .status-aspirational {
      background: #fff5e5;
      color: #8a5a11;
    }

    body.tgc-north .top3-grid {
      display: grid;
      gap: 12px;
      margin-top: 20px;
    }

    body.tgc-north .top3-card {
      border: 1.5px solid var(--line);
      border-radius: 16px;
      padding: 16px;
      cursor: pointer;
      transition: 0.2s ease;
      background: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    body.tgc-north .top3-card:hover {
      border-color: #b7cbbf;
    }

    body.tgc-north .top3-card.selected {
      border-color: var(--accent);
      background: var(--accent-light);
    }

    body.tgc-north .top3-name {
      font-weight: 700;
      font-size: 1.03rem;
    }

    body.tgc-north .top3-check {
      min-width: 34px;
      min-height: 34px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid #cbd5e1;
      color: transparent;
      font-weight: 700;
      background: #fff;
    }

    body.tgc-north .top3-card.selected .top3-check {
      border-color: var(--accent);
      background: var(--accent);
      color: #fff;
    }

    body.tgc-north textarea {
      width: 100%;
      min-height: 150px;
      resize: vertical;
      border-radius: 16px;
      border: 1.5px solid var(--line);
      padding: 16px;
      font-size: 1rem;
      line-height: 1.6;
      font-family: inherit;
      color: var(--text);
      background: #fff;
      margin-top: 8px;
    }

    body.tgc-north textarea:focus {
      outline: 2px solid rgba(44, 95, 74, 0.18);
      border-color: var(--accent);
    }

    body.tgc-north .final-box {
      background: linear-gradient(180deg, #faf8f2 0%, #f4efe2 100%);
      border: 1px solid #eadfbe;
      border-radius: 18px;
      padding: 22px;
      margin-top: 24px;
    }

    body.tgc-north .final-box h3 {
      margin: 0 0 10px;
      font-size: 1.2rem;
      color: #5b4614;
    }

    body.tgc-north .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 12px;
    }

    body.tgc-north .tag {
      padding: 10px 14px;
      background: #fff;
      border: 1px solid #e4d6aa;
      border-radius: 999px;
      font-weight: 700;
      color: #5f4a16;
    }

    body.tgc-north .footer-note {
      margin-top: 18px;
      color: var(--muted);
      line-height: 1.7;
    }

    body.tgc-north .hidden {
      display: none;
    }

    @media (max-width: 720px) {
      body.tgc-north .card {
        padding: 28px 22px;
      }

      body.tgc-north .summary-row {
        grid-template-columns: 1fr;
      }

      body.tgc-north .actions {
        flex-direction: column;
        align-items: stretch;
      }

      body.tgc-north .actions-right {
        width: 100%;
      }

      body.tgc-north .actions-right button,
body.tgc-north .actions > button {
        width: 100%;
      }

      body.tgc-north .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }
  

/* ================================================================
   SHARED GIVING COMPASS DESIGN SYSTEM
   1. Design tokens and accessibility
   2. Application shell and sidebar
   3. Progress indicators
   4. Buttons and form controls
   5. Legal, privacy, and copyright content
   6. Responsive behavior and reduced motion
   ================================================================ */
body.tgc-north {
  --gc-accent: #0f6f78;
  --gc-accent-soft: #e7f4f5;
  --gc-accent-dark: #0a555c;
  --gc-ink: #1f2933;
  --gc-muted: #5f6b76;
  --gc-line: #d9e0e5;
  --gc-page: #f3f6f6;
  --gc-white: #ffffff;
  --gc-success: #2e7d52;
  --gc-shadow: 0 18px 48px rgba(32,48,58,.10);
}
html:has(body.tgc-north),
body.tgc-north { font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; color:var(--gc-ink); }
body.tgc-north { background:linear-gradient(135deg,var(--gc-accent-soft) 0%,#fff 46%,#f5f7f7 100%) !important; }
body.tgc-north .gc-skip-link { position:fixed; left:12px; top:-80px; z-index:9999; padding:10px 14px; background:#fff; color:var(--gc-accent-dark); border:2px solid var(--gc-accent); border-radius:8px; }
body.tgc-north .gc-skip-link:focus { top:12px; }
body.tgc-north .gc-common-sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:286px; height:100vh; overflow:auto; padding:28px 22px; background:rgba(255,255,255,.92); border-right:1px solid var(--gc-line); backdrop-filter:blur(14px); display:flex; flex-direction:column; gap:24px; }
body.tgc-north .gc-brand-kicker { margin:0 0 6px; color:var(--gc-accent); font-size:.9rem; font-weight:800; }
body.tgc-north .gc-brand-title { margin:0; font-size:1.45rem; line-height:1.15; }
body.tgc-north .gc-brand-subtitle { margin:10px 0 0; color:var(--gc-muted); font-size:.84rem; line-height:1.45; }
body.tgc-north .gc-activity-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
body.tgc-north .gc-activity-item { padding:12px; border:1px solid var(--gc-line); border-radius:14px; background:#fff; color:var(--gc-muted); }
body.tgc-north .gc-activity-item strong { display:block; color:var(--gc-ink); font-size:.94rem; }
body.tgc-north .gc-activity-item span { font-size:.78rem; }
body.tgc-north .gc-activity-item.active { border-color:var(--gc-accent); background:var(--gc-accent-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--gc-accent) 15%,transparent); }
body.tgc-north .gc-sidebar-footer { margin-top:auto; color:var(--gc-muted); font-size:.76rem; }
body.tgc-north .gc-return-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; width:100%; margin-top:10px; border:1px solid var(--gc-line); border-radius:10px; background:#fff; color:var(--gc-accent-dark); font-weight:750; text-decoration:none; }
body.tgc-north .gc-legal-box { margin-top:24px; padding:18px; border:1px solid var(--gc-line); border-radius:16px; background:#f8fafb; color:var(--gc-muted); font-size:.9rem; line-height:1.6; }
body.tgc-north .gc-legal-box strong { color:var(--gc-ink); }
body.tgc-north .gc-save-note { color:var(--gc-muted); font-size:.86rem; }
body.tgc-north .gc-copyright { margin:28px auto 0; padding:18px 20px; text-align:center; color:var(--gc-muted); font-size:.84rem; border-top:1px solid var(--gc-line); }
body.tgc-north .gc-status-live { position:fixed; right:24px; bottom:22px; z-index:90; padding:9px 13px; border-radius:999px; color:#fff; background:#17232b; opacity:0; transform:translateY(10px); transition:.18s ease; pointer-events:none; }
body.tgc-north .gc-status-live.show { opacity:1; transform:translateY(0); }
body.tgc-north .btn-primary,
body.tgc-north .primary,
body.tgc-north .button-primary { background:var(--gc-accent) !important; border-color:var(--gc-accent) !important; color:#fff !important; }
body.tgc-north .btn-primary:hover,
body.tgc-north .primary:hover,
body.tgc-north .button-primary:hover { background:var(--gc-accent-dark) !important; }
body.tgc-north button:focus-visible,
body.tgc-north a:focus-visible,
body.tgc-north input:focus-visible,
body.tgc-north textarea:focus-visible,
body.tgc-north select:focus-visible,
body.tgc-north [tabindex]:focus-visible { outline:3px solid color-mix(in srgb,var(--gc-accent) 32%,transparent) !important; outline-offset:3px; }
@media(min-width:901px){ body.tgc-north .gc-has-common-sidebar { margin-left:286px !important; } }
@media(max-width:900px){
 body.tgc-north .gc-common-sidebar { position:relative; width:100%; height:auto; border-right:0; border-bottom:1px solid var(--gc-line); }
 body.tgc-north .gc-activity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.tgc-north .gc-has-common-sidebar { margin-left:0 !important; }
}
@media(max-width:560px){ body.tgc-north .gc-activity-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce){ body.tgc-north *,
body.tgc-north *::before,
body.tgc-north *::after { scroll-behavior:auto !important; transition:none !important; } }


/* =========================================================
   EAST PAGE — v0.31
   ========================================================= */

    body.tgc-east {
      --bg: #f5f7fb;
      --panel: #ffffff;
      --panel-soft: #f9fbff;
      --text: #1f2937;
      --muted: #6b7280;
      --line: #dbe4f0;
      --accent: #275efe;
      --accent-soft: #e8efff;
      --accent-2: #0f766e;
      --good: #1d4ed8;
      --shadow: 0 12px 34px rgba(31, 41, 55, 0.08);
      --radius: 18px;
      --radius-sm: 12px;
      --max: 1100px;
    }

    body.tgc-east * { box-sizing: border-box; }
    body.tgc-east {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, #eef4ff 0, transparent 34%),
        radial-gradient(circle at top right, #eefbf7 0, transparent 30%),
        var(--bg);
      line-height: 1.5;
    }

    body.tgc-east .wrap {
      max-width: var(--max);
      margin: 0 auto;
      padding: 32px 18px 64px;
    }

    body.tgc-east .hero {
      background: linear-gradient(135deg, rgba(39, 94, 254, 0.08), rgba(15, 118, 110, 0.06));
      border: 1px solid var(--line);
      border-radius: 26px;
      padding: 28px;
      box-shadow: var(--shadow);
      margin-bottom: 20px;
    }

    body.tgc-east .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      color: var(--accent);
      background: rgba(39, 94, 254, 0.08);
      border: 1px solid rgba(39, 94, 254, 0.15);
      border-radius: 999px;
      padding: 6px 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    body.tgc-east h1 {
      margin: 14px 0 8px;
      font-size: clamp(2rem, 3vw, 3rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    body.tgc-east .lead {
      font-size: 1.02rem;
      color: var(--muted);
      max-width: 860px;
      margin: 0;
    }

    body.tgc-east .layout {
      display: grid;
      grid-template-columns: 290px 1fr;
      gap: 20px;
      align-items: start;
    }

    body.tgc-east .sidebar,
body.tgc-east .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    body.tgc-east .sidebar {
      position: sticky;
      top: 18px;
      padding: 18px;
    }

    body.tgc-east .steps {
      display: grid;
      gap: 12px;
      margin-bottom: 20px;
    }

    body.tgc-east .step {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 12px;
      background: #fff;
    }

    body.tgc-east .step.active {
      border-color: rgba(39, 94, 254, 0.28);
      background: var(--accent-soft);
    }

    body.tgc-east .step.done {
      border-color: rgba(15, 118, 110, 0.24);
      background: rgba(15, 118, 110, 0.08);
    }

    body.tgc-east .step-num {
      font-size: 0.75rem;
      color: var(--muted);
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.05em;
      margin-bottom: 2px;
    }

    body.tgc-east .step-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    body.tgc-east .step-desc {
      font-size: 0.92rem;
      color: var(--muted);
    }

    body.tgc-east .meter {
      background: #eef2f7;
      border-radius: 999px;
      height: 10px;
      overflow: hidden;
      margin-bottom: 8px;
    }

    body.tgc-east .meter-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      width: 0%;
      transition: width .25s ease;
    }

    body.tgc-east .tiny {
      font-size: 0.88rem;
      color: var(--muted);
    }

    body.tgc-east .panel {
      padding: 22px;
    }

    body.tgc-east .screen { display: none; }
    body.tgc-east .screen.active { display: block; }

    body.tgc-east .section-label {
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 8px;
    }

    body.tgc-east h2 {
      margin: 0 0 10px;
      font-size: clamp(1.6rem, 2.2vw, 2.2rem);
      line-height: 1.15;
      letter-spacing: -0.03em;
    }

    body.tgc-east .subtext {
      color: var(--muted);
      margin: 0 0 18px;
      max-width: 780px;
    }

    body.tgc-east .info-box {
      border: 1px solid var(--line);
      background: var(--panel-soft);
      border-radius: 16px;
      padding: 16px;
      margin: 18px 0;
    }

    body.tgc-east .pill-row,
body.tgc-east .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    body.tgc-east .pill {
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 0.9rem;
      font-weight: 700;
      background: #eef2ff;
      color: #3048a7;
      border: 1px solid #d9e1ff;
    }

    body.tgc-east .cluster-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 18px;
    }

    body.tgc-east .cluster-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      background: #fff;
      cursor: pointer;
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
      min-height: 200px;
      position: relative;
    }

    body.tgc-east .cluster-card:hover {
      transform: translateY(-2px);
      border-color: #c8d7fb;
      box-shadow: 0 12px 22px rgba(39, 94, 254, 0.08);
    }

    body.tgc-east .cluster-card.selected {
      border-color: rgba(39, 94, 254, 0.38);
      background: linear-gradient(180deg, #fbfcff, #eef4ff);
      box-shadow: 0 14px 24px rgba(39, 94, 254, 0.10);
    }

    body.tgc-east .cluster-card .emoji {
      font-size: 1.45rem;
      margin-bottom: 10px;
    }

    body.tgc-east .cluster-card h3 {
      margin: 0 0 6px;
      font-size: 1.1rem;
    }

    body.tgc-east .cluster-card p {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 0.96rem;
    }

    body.tgc-east .examples {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    body.tgc-east .example-chip {
      font-size: 0.82rem;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid #dde5f1;
      background: #fafcff;
      color: #334155;
    }

    body.tgc-east .selected-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      display: none;
      background: var(--accent);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 700;
      border-radius: 999px;
      padding: 4px 9px;
    }

    body.tgc-east .cluster-card.selected .selected-badge { display: inline-flex; }

    body.tgc-east .toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }

    body.tgc-east .toolbar-left {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    body.tgc-east input[type="search"],
body.tgc-east textarea {
      width: 100%;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 12px;
      padding: 12px 14px;
      font: inherit;
      color: var(--text);
      outline: none;
    }

    body.tgc-east input[type="search"] { max-width: 340px; }
    body.tgc-east input[type="search"]:focus,
body.tgc-east textarea:focus {
      border-color: #adc4ff;
      box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
    }

    body.tgc-east .cluster-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }

    body.tgc-east .tab-btn {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--text);
      border-radius: 999px;
      padding: 10px 14px;
      font: inherit;
      cursor: pointer;
      transition: .18s ease;
    }

    body.tgc-east .tab-btn.active {
      border-color: rgba(39, 94, 254, 0.3);
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 700;
    }

    body.tgc-east .item-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    body.tgc-east .gift-item {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 14px;
      padding: 12px;
      display: flex;
      align-items: start;
      gap: 10px;
      cursor: pointer;
      transition: .18s ease;
    }

    body.tgc-east .gift-item:hover {
      border-color: #cad8fb;
      background: #fbfcff;
    }

    body.tgc-east .gift-item.selected {
      border-color: rgba(39, 94, 254, 0.35);
      background: #eef4ff;
    }

    body.tgc-east .gift-item input {
      margin-top: 3px;
      transform: scale(1.15);
      accent-color: var(--accent);
    }

    body.tgc-east .gift-label {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    body.tgc-east .gift-name {
      font-weight: 700;
    }

    body.tgc-east .gift-type {
      font-size: 0.82rem;
      color: var(--muted);
    }

    body.tgc-east .callout {
      border-left: 4px solid var(--accent);
      padding: 12px 14px;
      background: #f8faff;
      color: #334155;
      border-radius: 0 12px 12px 0;
      margin: 14px 0 18px;
    }

    body.tgc-east .summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin: 18px 0;
    }

    body.tgc-east .summary-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 16px;
      background: #fff;
    }

    body.tgc-east .summary-card h3 {
      margin: 0 0 8px;
      font-size: 1.05rem;
    }

    body.tgc-east .summary-card p {
      margin: 0 0 10px;
      color: var(--muted);
    }

    body.tgc-east .reflection {
      margin-top: 18px;
      display: grid;
      gap: 12px;
    }

    body.tgc-east .actions {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    body.tgc-east button {
      font: inherit;
      cursor: pointer;
      border: none;
      border-radius: 12px;
      padding: 12px 16px;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    body.tgc-east button:hover { transform: translateY(-1px); }

    body.tgc-east .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 10px 20px rgba(39, 94, 254, 0.18);
    }

    body.tgc-east .btn-secondary {
      background: #eef2f7;
      color: #334155;
      border: 1px solid #dde5f1;
    }

    body.tgc-east .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px dashed var(--line);
    }

    body.tgc-east .counter {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.92rem;
      color: var(--muted);
      padding: 9px 12px;
      border-radius: 999px;
      background: #f5f7fb;
      border: 1px solid var(--line);
    }

    body.tgc-east .note {
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    body.tgc-east .footer-note {
      color: var(--muted);
      font-size: 0.92rem;
      margin-top: 14px;
    }

    @media (max-width: 960px) {
      body.tgc-east .layout {
        grid-template-columns: 1fr;
      }
      body.tgc-east .sidebar {
        position: static;
      }
      body.tgc-east .cluster-grid,
body.tgc-east .item-grid,
body.tgc-east .summary-grid {
        grid-template-columns: 1fr;
      }
    }
  

/* ================================================================
   SHARED GIVING COMPASS DESIGN SYSTEM
   1. Design tokens and accessibility
   2. Application shell and sidebar
   3. Progress indicators
   4. Buttons and form controls
   5. Legal, privacy, and copyright content
   6. Responsive behavior and reduced motion
   ================================================================ */
body.tgc-east {
  --gc-accent: #d9822b;
  --gc-accent-soft: #fff3e7;
  --gc-accent-dark: #a95e16;
  --gc-ink: #1f2933;
  --gc-muted: #5f6b76;
  --gc-line: #d9e0e5;
  --gc-page: #f3f6f6;
  --gc-white: #ffffff;
  --gc-success: #2e7d52;
  --gc-shadow: 0 18px 48px rgba(32,48,58,.10);
}
html:has(body.tgc-east),
body.tgc-east { font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; color:var(--gc-ink); }
body.tgc-east { background:linear-gradient(135deg,var(--gc-accent-soft) 0%,#fff 46%,#f5f7f7 100%) !important; }
body.tgc-east .gc-skip-link { position:fixed; left:12px; top:-80px; z-index:9999; padding:10px 14px; background:#fff; color:var(--gc-accent-dark); border:2px solid var(--gc-accent); border-radius:8px; }
body.tgc-east .gc-skip-link:focus { top:12px; }
body.tgc-east .gc-common-sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:286px; height:100vh; overflow:auto; padding:28px 22px; background:rgba(255,255,255,.92); border-right:1px solid var(--gc-line); backdrop-filter:blur(14px); display:flex; flex-direction:column; gap:24px; }
body.tgc-east .gc-brand-kicker { margin:0 0 6px; color:var(--gc-accent); font-size:.9rem; font-weight:800; }
body.tgc-east .gc-brand-title { margin:0; font-size:1.45rem; line-height:1.15; }
body.tgc-east .gc-brand-subtitle { margin:10px 0 0; color:var(--gc-muted); font-size:.84rem; line-height:1.45; }
body.tgc-east .gc-activity-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
body.tgc-east .gc-activity-item { padding:12px; border:1px solid var(--gc-line); border-radius:14px; background:#fff; color:var(--gc-muted); }
body.tgc-east .gc-activity-item strong { display:block; color:var(--gc-ink); font-size:.94rem; }
body.tgc-east .gc-activity-item span { font-size:.78rem; }
body.tgc-east .gc-activity-item.active { border-color:var(--gc-accent); background:var(--gc-accent-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--gc-accent) 15%,transparent); }
body.tgc-east .gc-sidebar-footer { margin-top:auto; color:var(--gc-muted); font-size:.76rem; }
body.tgc-east .gc-return-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; width:100%; margin-top:10px; border:1px solid var(--gc-line); border-radius:10px; background:#fff; color:var(--gc-accent-dark); font-weight:750; text-decoration:none; }
body.tgc-east .gc-legal-box { margin-top:24px; padding:18px; border:1px solid var(--gc-line); border-radius:16px; background:#f8fafb; color:var(--gc-muted); font-size:.9rem; line-height:1.6; }
body.tgc-east .gc-legal-box strong { color:var(--gc-ink); }
body.tgc-east .gc-save-note { color:var(--gc-muted); font-size:.86rem; }
body.tgc-east .gc-copyright { margin:28px auto 0; padding:18px 20px; text-align:center; color:var(--gc-muted); font-size:.84rem; border-top:1px solid var(--gc-line); }
body.tgc-east .gc-status-live { position:fixed; right:24px; bottom:22px; z-index:90; padding:9px 13px; border-radius:999px; color:#fff; background:#17232b; opacity:0; transform:translateY(10px); transition:.18s ease; pointer-events:none; }
body.tgc-east .gc-status-live.show { opacity:1; transform:translateY(0); }
body.tgc-east .btn-primary,
body.tgc-east .primary,
body.tgc-east .button-primary { background:var(--gc-accent) !important; border-color:var(--gc-accent) !important; color:#fff !important; }
body.tgc-east .btn-primary:hover,
body.tgc-east .primary:hover,
body.tgc-east .button-primary:hover { background:var(--gc-accent-dark) !important; }
body.tgc-east button:focus-visible,
body.tgc-east a:focus-visible,
body.tgc-east input:focus-visible,
body.tgc-east textarea:focus-visible,
body.tgc-east select:focus-visible,
body.tgc-east [tabindex]:focus-visible { outline:3px solid color-mix(in srgb,var(--gc-accent) 32%,transparent) !important; outline-offset:3px; }
@media(min-width:901px){ body.tgc-east .gc-has-common-sidebar { margin-left:286px !important; } }
@media(max-width:900px){
 body.tgc-east .gc-common-sidebar { position:relative; width:100%; height:auto; border-right:0; border-bottom:1px solid var(--gc-line); }
 body.tgc-east .gc-activity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.tgc-east .gc-has-common-sidebar { margin-left:0 !important; }
}
@media(max-width:560px){ body.tgc-east .gc-activity-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce){ body.tgc-east *,
body.tgc-east *::before,
body.tgc-east *::after { scroll-behavior:auto !important; transition:none !important; } }


/* ================================================================
   EAST LAYOUT REMEDIATION
   The original East page used a two-column .layout grid. After the
   shared fixed sidebar was added, the removed-from-flow sidebar caused
   the content panel to remain trapped in the old 290px grid column.
   These rules restore a full-width content area beside the sidebar.
   ================================================================ */
@media (min-width: 901px) {
  body.tgc-east .wrap.gc-has-common-sidebar {
    width: auto !important;
    max-width: none !important;
    margin: 0 0 0 286px !important;
    padding: 32px clamp(24px, 4vw, 54px) 64px !important;
  }

  body.tgc-east .wrap.gc-has-common-sidebar .layout {
    display: block !important;
  }

  body.tgc-east .wrap.gc-has-common-sidebar .panel {
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
  }

  body.tgc-east .wrap.gc-has-common-sidebar .hero {
    width: min(100%, 980px) !important;
    margin: 0 auto 20px !important;
  }
}

@media (max-width: 900px) {
  body.tgc-east .wrap.gc-has-common-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 16px 48px !important;
  }

  body.tgc-east .wrap.gc-has-common-sidebar .layout {
    display: block !important;
  }

  body.tgc-east .gc-common-sidebar {
    margin: 0 -16px 20px !important;
    width: calc(100% + 32px) !important;
  }

  body.tgc-east .wrap.gc-has-common-sidebar .hero,
body.tgc-east .wrap.gc-has-common-sidebar .panel {
    width: 100% !important;
  }
}

/* Keep the final copyright aligned with the actual content column. */
@media (min-width: 901px) {
  body.tgc-east > .gc-copyright {
    margin-left: 286px !important;
  }
}


/* =========================================================
   SOUTH PAGE — v0.31
   ========================================================= */

    body.tgc-south {
      --bg: #f4f7f8;
      --card: #ffffff;
      --text: #16333f;
      --muted: #5b6f78;
      --primary: #204f62;
      --primary-2: #2a6b82;
      --accent: #dff0f5;
      --border: #d6e2e7;
      --error: #a12626;
      --success: #216a3a;
      --shadow: 0 12px 36px rgba(18, 43, 54, 0.08);
      --radius: 22px;
    }

    body.tgc-south * { box-sizing: border-box; }
    html:has(body.tgc-south),
body.tgc-south { margin: 0; padding: 0; background: linear-gradient(180deg, #f6fafb 0%, #edf4f6 100%); color: var(--text); font-family: Inter, Arial, Helvetica, sans-serif; min-height: 100%; }
    body.tgc-south { min-height: 100vh; }

    body.tgc-south .shell {
      max-width: 860px;
      margin: 0 auto;
      padding: 20px 16px 40px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    body.tgc-south .topbar {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 18px;
    }

    body.tgc-south .brand {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    body.tgc-south .eyebrow {
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--primary-2);
      font-weight: 700;
    }

    body.tgc-south .brand h1 {
      margin: 0;
      font-size: clamp(1.45rem, 3vw, 2rem);
      line-height: 1.15;
    }

    body.tgc-south .subtitle {
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.5;
      max-width: 62ch;
    }

    body.tgc-south .progress-wrap {
      min-width: 210px;
      background: rgba(255,255,255,0.7);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 12px 14px;
      backdrop-filter: blur(6px);
      box-shadow: var(--shadow);
    }

    body.tgc-south .progress-head {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.88rem;
      color: var(--muted);
      margin-bottom: 8px;
    }

    body.tgc-south .progress-track {
      width: 100%;
      height: 10px;
      background: #e4edf0;
      border-radius: 999px;
      overflow: hidden;
    }

    body.tgc-south .progress-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--primary-2));
      border-radius: 999px;
      transition: width 220ms ease;
    }

    body.tgc-south .card {
      flex: 1;
      background: var(--card);
      border: 1px solid rgba(214, 226, 231, 0.9);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: clamp(20px, 4vw, 34px);
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    body.tgc-south .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--primary-2);
      background: var(--accent);
      padding: 8px 12px;
      border-radius: 999px;
      width: fit-content;
    }

    body.tgc-south h2 {
      margin: 0;
      font-size: clamp(1.35rem, 2.5vw, 1.9rem);
      line-height: 1.2;
    }

    body.tgc-south h3 {
      margin: 0;
      font-size: 1.1rem;
      line-height: 1.35;
    }

    body.tgc-south p,
body.tgc-south li {
      font-size: 1rem;
      line-height: 1.65;
      color: var(--text);
      margin: 0;
    }

    body.tgc-south .muted { color: var(--muted); }
    body.tgc-south .small { font-size: 0.92rem; }
    body.tgc-south .tiny { font-size: 0.84rem; }

    body.tgc-south .stack { display: grid; gap: 14px; }
    body.tgc-south .stack-lg { display: grid; gap: 18px; }
    body.tgc-south .stack-xl { display: grid; gap: 22px; }

    body.tgc-south .prompt {
      padding: 16px 18px;
      background: #f8fbfc;
      border: 1px solid var(--border);
      border-radius: 16px;
    }

    body.tgc-south .field,
body.tgc-south .textarea,
body.tgc-south .number-input {
      width: 100%;
      border: 1.5px solid #c8d7dd;
      border-radius: 14px;
      padding: 14px 16px;
      font-size: 1rem;
      color: var(--text);
      background: #fff;
      transition: border-color 150ms ease, box-shadow 150ms ease;
    }

    body.tgc-south .field:focus,
body.tgc-south .textarea:focus,
body.tgc-south .number-input:focus {
      outline: none;
      border-color: var(--primary-2);
      box-shadow: 0 0 0 4px rgba(42, 107, 130, 0.12);
    }

    body.tgc-south .input-group {
      display: grid;
      gap: 8px;
    }

    body.tgc-south .input-group label,
body.tgc-south .table-label {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text);
    }

    body.tgc-south .radio-grid,
body.tgc-south .check-grid {
      display: grid;
      gap: 10px;
    }

    body.tgc-south .option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      border: 1.5px solid var(--border);
      border-radius: 16px;
      background: #fff;
      cursor: pointer;
      transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
    }

    body.tgc-south .option:hover {
      border-color: #aac4cf;
      transform: translateY(-1px);
      background: #fbfeff;
    }

    body.tgc-south .option input { margin-top: 3px; }
    body.tgc-south .option strong { display: block; margin-bottom: 4px; }

    body.tgc-south .likert-list {
      display: grid;
      gap: 18px;
    }

    body.tgc-south .likert-item {
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 16px;
      background: #fcfeff;
    }

    body.tgc-south .likert-item .statement {
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.5;
    }

    body.tgc-south .scale-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    body.tgc-south .scale-option {
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--border);
      padding: 10px 12px;
      border-radius: 12px;
      min-width: 60px;
      background: white;
    }

    body.tgc-south table {
      width: 100%;
      border-collapse: collapse;
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      background: white;
    }

    body.tgc-south th,
body.tgc-south td {
      border-bottom: 1px solid var(--border);
      border-right: 1px solid var(--border);
      padding: 12px;
      vertical-align: top;
      text-align: left;
      font-size: 0.97rem;
      line-height: 1.5;
    }

    body.tgc-south th:last-child,
body.tgc-south td:last-child { border-right: none; }
    body.tgc-south tr:last-child td { border-bottom: none; }
    body.tgc-south th {
      background: #f3f8fa;
      font-size: 0.92rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--primary);
    }

    body.tgc-south ul.compact {
      margin: 0;
      padding-left: 1.15rem;
    }

    body.tgc-south .cause-card {
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 18px;
      background: #fbfeff;
      display: grid;
      gap: 10px;
    }

    body.tgc-south .cause-name {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--primary);
    }

    body.tgc-south .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    body.tgc-south .pill {
      display: inline-flex;
      align-items: center;
      padding: 7px 10px;
      border-radius: 999px;
      background: #eef6f8;
      color: var(--primary);
      font-size: 0.86rem;
      font-weight: 600;
    }

    body.tgc-south .error {
      color: var(--error);
      background: #fff3f3;
      border: 1px solid #efc9c9;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 0.95rem;
      display: none;
    }

    body.tgc-south .success {
      color: var(--success);
      background: #eff9f1;
      border: 1px solid #c9e7d1;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 0.95rem;
    }

    body.tgc-south .nav {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin-top: auto;
      padding-top: 8px;
      flex-wrap: wrap;
    }

    body.tgc-south .nav-left,
body.tgc-south .nav-right { display: flex; gap: 10px; align-items: center; }

    body.tgc-south button {
      appearance: none;
      border: none;
      border-radius: 999px;
      padding: 13px 18px;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
    }

    body.tgc-south button:hover { transform: translateY(-1px); }
    body.tgc-south button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

    body.tgc-south .btn-primary {
      background: linear-gradient(90deg, var(--primary), var(--primary-2));
      color: white;
      box-shadow: 0 10px 24px rgba(32, 79, 98, 0.18);
    }

    body.tgc-south .btn-secondary {
      background: white;
      color: var(--primary);
      border: 1.5px solid var(--border);
    }

    body.tgc-south .summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    body.tgc-south .summary-card {
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 16px;
      background: #fcfeff;
      display: grid;
      gap: 8px;
    }

    body.tgc-south code.preview {
      display: block;
      white-space: pre-wrap;
      word-break: break-word;
      border-radius: 16px;
      background: #102830;
      color: #e7f8fd;
      padding: 16px;
      font-size: 0.87rem;
      line-height: 1.55;
      overflow-x: auto;
    }

    body.tgc-south .footer-note {
      font-size: 0.88rem;
      color: var(--muted);
    }

    @media (max-width: 760px) {
      body.tgc-south .topbar { flex-direction: column; }
      body.tgc-south .progress-wrap { width: 100%; min-width: 0; }
      body.tgc-south .summary-grid { grid-template-columns: 1fr; }
      body.tgc-south th,
body.tgc-south td { font-size: 0.93rem; }
      body.tgc-south .nav { flex-direction: column; align-items: stretch; }
      body.tgc-south .nav-left,
body.tgc-south .nav-right { width: 100%; justify-content: space-between; }
      body.tgc-south button { width: 100%; }
      body.tgc-south .nav-left button,
body.tgc-south .nav-right button { flex: 1; }
    }
  

/* ================================================================
   SHARED GIVING COMPASS DESIGN SYSTEM
   1. Design tokens and accessibility
   2. Application shell and sidebar
   3. Progress indicators
   4. Buttons and form controls
   5. Legal, privacy, and copyright content
   6. Responsive behavior and reduced motion
   ================================================================ */
body.tgc-south {
  --gc-accent: #b8542d;
  --gc-accent-soft: #fbece6;
  --gc-accent-dark: #8e3e20;
  --gc-ink: #1f2933;
  --gc-muted: #5f6b76;
  --gc-line: #d9e0e5;
  --gc-page: #f3f6f6;
  --gc-white: #ffffff;
  --gc-success: #2e7d52;
  --gc-shadow: 0 18px 48px rgba(32,48,58,.10);
}
html:has(body.tgc-south),
body.tgc-south { font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; color:var(--gc-ink); }
body.tgc-south { background:linear-gradient(135deg,var(--gc-accent-soft) 0%,#fff 46%,#f5f7f7 100%) !important; }
body.tgc-south .gc-skip-link { position:fixed; left:12px; top:-80px; z-index:9999; padding:10px 14px; background:#fff; color:var(--gc-accent-dark); border:2px solid var(--gc-accent); border-radius:8px; }
body.tgc-south .gc-skip-link:focus { top:12px; }
body.tgc-south .gc-common-sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:286px; height:100vh; overflow:auto; padding:28px 22px; background:rgba(255,255,255,.92); border-right:1px solid var(--gc-line); backdrop-filter:blur(14px); display:flex; flex-direction:column; gap:24px; }
body.tgc-south .gc-brand-kicker { margin:0 0 6px; color:var(--gc-accent); font-size:.9rem; font-weight:800; }
body.tgc-south .gc-brand-title { margin:0; font-size:1.45rem; line-height:1.15; }
body.tgc-south .gc-brand-subtitle { margin:10px 0 0; color:var(--gc-muted); font-size:.84rem; line-height:1.45; }
body.tgc-south .gc-activity-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
body.tgc-south .gc-activity-item { padding:12px; border:1px solid var(--gc-line); border-radius:14px; background:#fff; color:var(--gc-muted); }
body.tgc-south .gc-activity-item strong { display:block; color:var(--gc-ink); font-size:.94rem; }
body.tgc-south .gc-activity-item span { font-size:.78rem; }
body.tgc-south .gc-activity-item.active { border-color:var(--gc-accent); background:var(--gc-accent-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--gc-accent) 15%,transparent); }
body.tgc-south .gc-sidebar-footer { margin-top:auto; color:var(--gc-muted); font-size:.76rem; }
body.tgc-south .gc-return-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; width:100%; margin-top:10px; border:1px solid var(--gc-line); border-radius:10px; background:#fff; color:var(--gc-accent-dark); font-weight:750; text-decoration:none; }
body.tgc-south .gc-legal-box { margin-top:24px; padding:18px; border:1px solid var(--gc-line); border-radius:16px; background:#f8fafb; color:var(--gc-muted); font-size:.9rem; line-height:1.6; }
body.tgc-south .gc-legal-box strong { color:var(--gc-ink); }
body.tgc-south .gc-save-note { color:var(--gc-muted); font-size:.86rem; }
body.tgc-south .gc-copyright { margin:28px auto 0; padding:18px 20px; text-align:center; color:var(--gc-muted); font-size:.84rem; border-top:1px solid var(--gc-line); }
body.tgc-south .gc-status-live { position:fixed; right:24px; bottom:22px; z-index:90; padding:9px 13px; border-radius:999px; color:#fff; background:#17232b; opacity:0; transform:translateY(10px); transition:.18s ease; pointer-events:none; }
body.tgc-south .gc-status-live.show { opacity:1; transform:translateY(0); }
body.tgc-south .btn-primary,
body.tgc-south .primary,
body.tgc-south .button-primary { background:var(--gc-accent) !important; border-color:var(--gc-accent) !important; color:#fff !important; }
body.tgc-south .btn-primary:hover,
body.tgc-south .primary:hover,
body.tgc-south .button-primary:hover { background:var(--gc-accent-dark) !important; }
body.tgc-south button:focus-visible,
body.tgc-south a:focus-visible,
body.tgc-south input:focus-visible,
body.tgc-south textarea:focus-visible,
body.tgc-south select:focus-visible,
body.tgc-south [tabindex]:focus-visible { outline:3px solid color-mix(in srgb,var(--gc-accent) 32%,transparent) !important; outline-offset:3px; }
@media(min-width:901px){ body.tgc-south .gc-has-common-sidebar { margin-left:286px !important; } }
@media(max-width:900px){
 body.tgc-south .gc-common-sidebar { position:relative; width:100%; height:auto; border-right:0; border-bottom:1px solid var(--gc-line); }
 body.tgc-south .gc-activity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.tgc-south .gc-has-common-sidebar { margin-left:0 !important; }
}
@media(max-width:560px){ body.tgc-south .gc-activity-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce){ body.tgc-south *,
body.tgc-south *::before,
body.tgc-south *::after { scroll-behavior:auto !important; transition:none !important; } }


/* =========================================================
   WEST PAGE — v0.31
   ========================================================= */

    body.tgc-west {
      --gm-purple: #447a58;
      --gm-purple-dark: #315d40;
      --gm-accent: #9bc3a7;
      --gm-soft: #eaf3ed;
      --ink: #20202a;
      --muted: #666474;
      --line: #d8e7dd;
      --white: #ffffff;
      --success: #2f7d4f;
      --warning: #b42318;
      --shadow: 0 20px 50px rgba(45, 23, 88, 0.12);
      --radius: 22px;
    }

    body.tgc-west * { box-sizing: border-box; }

    html:has(body.tgc-west),
body.tgc-west {
      margin: 0;
      min-height: 100%;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: linear-gradient(135deg, #fbf8ff 0%, #ffffff 44%, #f4ecff 100%);
    }

    body.tgc-west {
      min-height: 100vh;
      line-height: 1.55;
    }

    body.tgc-west button,
body.tgc-west input,
body.tgc-west select { font: inherit; }

    body.tgc-west .app-shell {
      display: grid;
      grid-template-columns: 286px minmax(0, 1fr);
      min-height: 100vh;
    }

    body.tgc-west .side-nav {
      position: sticky;
      top: 0;
      height: 100vh;
      padding: 28px 22px;
      background: rgba(255,255,255,0.78);
      border-right: 1px solid var(--line);
      backdrop-filter: blur(14px);
      display: flex;
      flex-direction: column;
      gap: 26px;
    }

    body.tgc-west .brand-kicker {
      color: var(--gm-purple);
      font-weight: 800;
      letter-spacing: 0.02em;
      margin: 0 0 6px;
      font-size: 0.93rem;
    }

    body.tgc-west .brand-title {
      margin: 0;
      font-size: clamp(1.25rem, 2vw, 1.55rem);
      line-height: 1.15;
    }

    body.tgc-west .brand-subtitle {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 0.83rem;
      line-height: 1.45;
    }

    body.tgc-west .nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }

    body.tgc-west .nav-item {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 12px 12px;
      background: #fff;
      color: var(--muted);
      transition: 160ms ease;
    }

    body.tgc-west .nav-item strong {
      display: block;
      color: var(--ink);
      font-size: 0.94rem;
    }

    body.tgc-west .nav-item span { font-size: 0.78rem; }

    body.tgc-west .nav-item.active {
      border-color: var(--gm-purple);
      box-shadow: 0 10px 24px rgba(124, 41, 237, 0.12);
      transform: translateX(2px);
    }

    body.tgc-west .nav-item.complete {
      border-color: rgba(47, 125, 79, 0.4);
    }

    body.tgc-west .nav-footer {
      margin-top: auto;
      font-size: 0.76rem;
      color: var(--muted);
    }

    body.tgc-west .main {
      position: relative;
      padding: 28px clamp(18px, 4vw, 52px) 108px;
    }

    body.tgc-west .progress-pill {
      position: fixed;
      top: 22px;
      right: 24px;
      z-index: 10;
      background: #fff;
      color: var(--gm-purple-dark);
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 0.85rem;
      font-weight: 800;
      box-shadow: 0 10px 26px rgba(45, 23, 88, 0.1);
    }

    body.tgc-west .progress-bar-wrap {
      position: fixed;
      top: 0;
      left: 286px;
      right: 0;
      height: 5px;
      background: rgba(184, 140, 243, 0.18);
      z-index: 12;
    }

    body.tgc-west .progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--gm-purple), var(--gm-accent));
      transition: width 240ms ease;
    }

    body.tgc-west .screen {
      display: none;
      max-width: 900px;
      min-height: calc(100vh - 144px);
      margin: 0 auto;
      align-items: center;
      padding-top: 26px;
    }

    body.tgc-west .screen.active { display: flex; }

    body.tgc-west .card {
      width: 100%;
      background: rgba(255,255,255,0.92);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: clamp(24px, 4vw, 48px);
    }

    body.tgc-west .eyebrow {
      color: var(--gm-purple);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      font-size: 0.78rem;
      margin: 0 0 12px;
    }

    body.tgc-west h1,
body.tgc-west h2,
body.tgc-west h3 {
      line-height: 1.16;
      margin: 0 0 18px;
    }

    body.tgc-west h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); letter-spacing: -0.055em; }
    body.tgc-west h2 { font-size: clamp(1.72rem, 4vw, 3.1rem); letter-spacing: -0.04em; }
    body.tgc-west h3 { font-size: clamp(1.18rem, 3vw, 1.55rem); }

    body.tgc-west p { margin: 0 0 16px; }

    body.tgc-west .lead {
      color: #3f3b4d;
      font-size: clamp(1.04rem, 2vw, 1.22rem);
      max-width: 760px;
    }

    body.tgc-west .muted { color: var(--muted); }

    body.tgc-west .plain-list {
      margin: 14px 0 18px 1.2rem;
      padding: 0;
    }

    body.tgc-west .plain-list li { margin: 6px 0; }

    body.tgc-west .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 26px;
    }

    body.tgc-west label.field-label {
      display: block;
      font-weight: 750;
      margin-bottom: 8px;
    }

    body.tgc-west input[type="text"],
body.tgc-west input[type="email"],
body.tgc-west select {
      width: 100%;
      border: 1px solid #d9cce9;
      background: #fff;
      border-radius: 14px;
      padding: 13px 14px;
      color: var(--ink);
      outline: none;
      transition: border 150ms ease, box-shadow 150ms ease;
    }

    body.tgc-west input:focus,
body.tgc-west select:focus {
      border-color: var(--gm-purple);
      box-shadow: 0 0 0 4px rgba(124, 41, 237, 0.12);
    }

    body.tgc-west .choice-list {
      display: grid;
      gap: 11px;
      margin-top: 22px;
    }

    body.tgc-west .choice {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px;
      align-items: start;
      padding: 14px 15px;
      border: 1px solid #e3d8f2;
      border-radius: 16px;
      background: #fff;
      cursor: pointer;
    }

    body.tgc-west .choice:hover { border-color: var(--gm-accent); }
    body.tgc-west .choice input { margin-top: 4px; accent-color: var(--gm-purple); }

    body.tgc-west .tier-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 24px;
    }

    body.tgc-west .mini-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 18px;
    }

    body.tgc-west .mini-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
    body.tgc-west .mini-card ul { margin: 8px 0 0 1.1rem; padding: 0; }

    body.tgc-west .tier-table {
      display: grid;
      gap: 13px;
      margin-top: 24px;
    }

    body.tgc-west .tier-row {
      display: grid;
      grid-template-columns: minmax(140px, 1fr) minmax(220px, 1.3fr);
      gap: 14px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
      background: #fff;
    }

    body.tgc-west .feedback-panel {
      border-radius: 18px;
      border: 1px solid rgba(47, 125, 79, 0.28);
      background: #f4fbf7;
      padding: 18px;
      margin-top: 22px;
    }

    body.tgc-west .feedback-panel h3 { color: var(--success); }

    body.tgc-west .feedback-item {
      border-top: 1px solid rgba(47, 125, 79, 0.2);
      padding-top: 12px;
      margin-top: 12px;
    }

    body.tgc-west .script-list {
      display: grid;
      gap: 10px;
      margin: 20px 0;
    }

    body.tgc-west .script-list blockquote {
      margin: 0;
      border-left: 4px solid var(--gm-accent);
      background: #fff;
      border-radius: 12px;
      padding: 12px 14px;
      color: #3f3b4d;
    }

    body.tgc-west .summary-grid {
      display: grid;
      gap: 16px;
      margin-top: 24px;
    }

    body.tgc-west .summary-card {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 18px;
      padding: 18px;
    }

    body.tgc-west .summary-card h3 { margin-bottom: 10px; }
    body.tgc-west .summary-card ul { margin: 0 0 0 1.15rem; padding: 0; }
    body.tgc-west .summary-card li { margin: 6px 0; }

    body.tgc-west .footer-controls {
      position: fixed;
      left: 286px;
      right: 0;
      bottom: 0;
      z-index: 15;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 18px clamp(18px, 4vw, 52px);
      background: rgba(255,255,255,0.82);
      border-top: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    body.tgc-west .btn {
      border: 0;
      border-radius: 999px;
      padding: 13px 20px;
      font-weight: 850;
      cursor: pointer;
      transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
    }

    body.tgc-west .btn:active { transform: translateY(1px); }

    body.tgc-west .btn-primary {
      background: var(--gm-purple);
      color: #fff;
      box-shadow: 0 12px 24px rgba(124, 41, 237, 0.22);
    }

    body.tgc-west .btn-primary:hover { background: var(--gm-purple-dark); }

    body.tgc-west .btn-secondary {
      background: #fff;
      color: var(--gm-purple-dark);
      border: 1px solid var(--line);
    }

    body.tgc-west .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px solid transparent;
    }

    body.tgc-west .error {
      display: none;
      color: var(--warning);
      background: #fff4f2;
      border: 1px solid #ffd4cf;
      border-radius: 14px;
      padding: 12px 14px;
      margin-top: 18px;
      font-weight: 700;
    }

    body.tgc-west .error.show { display: block; }

    body.tgc-west .small-note {
      font-size: 0.82rem;
      color: var(--muted);
      margin-top: 16px;
    }

    body.tgc-west .hidden { display: none !important; }

    @media (max-width: 860px) {
      body.tgc-west .app-shell { grid-template-columns: 1fr; }
      body.tgc-west .side-nav {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 18px;
      }
      body.tgc-west .nav-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      body.tgc-west .nav-item { padding: 10px; }
      body.tgc-west .nav-item span { display: none; }
      body.tgc-west .progress-bar-wrap { left: 0; }
      body.tgc-west .main { padding-top: 18px; }
      body.tgc-west .progress-pill { top: 12px; right: 12px; }
      body.tgc-west .footer-controls { left: 0; }
      body.tgc-west .field-grid,
body.tgc-west .tier-grid,
body.tgc-west .tier-row { grid-template-columns: 1fr; }
      body.tgc-west .screen { min-height: calc(100vh - 265px); align-items: flex-start; }
    }

    @media (max-width: 560px) {
      body.tgc-west .nav-list { grid-template-columns: 1fr 1fr; }
      body.tgc-west .card { padding: 22px; }
      body.tgc-west .footer-controls { padding: 14px 16px; }
      body.tgc-west .btn { padding: 12px 15px; }
    }

    @media print {
      body.tgc-west { background: #fff; color: #000; }
      body.tgc-west .side-nav,
body.tgc-west .progress-pill,
body.tgc-west .progress-bar-wrap,
body.tgc-west .footer-controls { display: none !important; }
      body.tgc-west .app-shell { display: block; }
      body.tgc-west .main { padding: 0; }
      body.tgc-west .screen { display: none !important; }
      body.tgc-west .screen.active { display: block !important; min-height: auto; }
      body.tgc-west .card { box-shadow: none; border: none; padding: 0; }
    }
  

/* ================================================================
   SHARED GIVING COMPASS DESIGN SYSTEM
   1. Design tokens and accessibility
   2. Application shell and sidebar
   3. Progress indicators
   4. Buttons and form controls
   5. Legal, privacy, and copyright content
   6. Responsive behavior and reduced motion
   ================================================================ */
body.tgc-west {
  --gc-accent: #447a58;
  --gc-accent-soft: #eaf3ed;
  --gc-accent-dark: #315d40;
  --gc-ink: #1f2933;
  --gc-muted: #5f6b76;
  --gc-line: #d9e0e5;
  --gc-page: #f3f6f6;
  --gc-white: #ffffff;
  --gc-success: #2e7d52;
  --gc-shadow: 0 18px 48px rgba(32,48,58,.10);
}
html:has(body.tgc-west),
body.tgc-west { font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; color:var(--gc-ink); }
body.tgc-west { background:linear-gradient(135deg,var(--gc-accent-soft) 0%,#fff 46%,#f5f7f7 100%) !important; }
body.tgc-west .gc-skip-link { position:fixed; left:12px; top:-80px; z-index:9999; padding:10px 14px; background:#fff; color:var(--gc-accent-dark); border:2px solid var(--gc-accent); border-radius:8px; }
body.tgc-west .gc-skip-link:focus { top:12px; }
body.tgc-west .gc-common-sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:286px; height:100vh; overflow:auto; padding:28px 22px; background:rgba(255,255,255,.92); border-right:1px solid var(--gc-line); backdrop-filter:blur(14px); display:flex; flex-direction:column; gap:24px; }
body.tgc-west .gc-brand-kicker { margin:0 0 6px; color:var(--gc-accent); font-size:.9rem; font-weight:800; }
body.tgc-west .gc-brand-title { margin:0; font-size:1.45rem; line-height:1.15; }
body.tgc-west .gc-brand-subtitle { margin:10px 0 0; color:var(--gc-muted); font-size:.84rem; line-height:1.45; }
body.tgc-west .gc-activity-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
body.tgc-west .gc-activity-item { padding:12px; border:1px solid var(--gc-line); border-radius:14px; background:#fff; color:var(--gc-muted); }
body.tgc-west .gc-activity-item strong { display:block; color:var(--gc-ink); font-size:.94rem; }
body.tgc-west .gc-activity-item span { font-size:.78rem; }
body.tgc-west .gc-activity-item.active { border-color:var(--gc-accent); background:var(--gc-accent-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--gc-accent) 15%,transparent); }
body.tgc-west .gc-sidebar-footer { margin-top:auto; color:var(--gc-muted); font-size:.76rem; }
body.tgc-west .gc-return-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; width:100%; margin-top:10px; border:1px solid var(--gc-line); border-radius:10px; background:#fff; color:var(--gc-accent-dark); font-weight:750; text-decoration:none; }
body.tgc-west .gc-legal-box { margin-top:24px; padding:18px; border:1px solid var(--gc-line); border-radius:16px; background:#f8fafb; color:var(--gc-muted); font-size:.9rem; line-height:1.6; }
body.tgc-west .gc-legal-box strong { color:var(--gc-ink); }
body.tgc-west .gc-save-note { color:var(--gc-muted); font-size:.86rem; }
body.tgc-west .gc-copyright { margin:28px auto 0; padding:18px 20px; text-align:center; color:var(--gc-muted); font-size:.84rem; border-top:1px solid var(--gc-line); }
body.tgc-west .gc-status-live { position:fixed; right:24px; bottom:22px; z-index:90; padding:9px 13px; border-radius:999px; color:#fff; background:#17232b; opacity:0; transform:translateY(10px); transition:.18s ease; pointer-events:none; }
body.tgc-west .gc-status-live.show { opacity:1; transform:translateY(0); }
body.tgc-west .btn-primary,
body.tgc-west .primary,
body.tgc-west .button-primary { background:var(--gc-accent) !important; border-color:var(--gc-accent) !important; color:#fff !important; }
body.tgc-west .btn-primary:hover,
body.tgc-west .primary:hover,
body.tgc-west .button-primary:hover { background:var(--gc-accent-dark) !important; }
body.tgc-west button:focus-visible,
body.tgc-west a:focus-visible,
body.tgc-west input:focus-visible,
body.tgc-west textarea:focus-visible,
body.tgc-west select:focus-visible,
body.tgc-west [tabindex]:focus-visible { outline:3px solid color-mix(in srgb,var(--gc-accent) 32%,transparent) !important; outline-offset:3px; }
@media(min-width:901px){ body.tgc-west .gc-has-common-sidebar { margin-left:286px !important; } }
@media(max-width:900px){
 body.tgc-west .gc-common-sidebar { position:relative; width:100%; height:auto; border-right:0; border-bottom:1px solid var(--gc-line); }
 body.tgc-west .gc-activity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.tgc-west .gc-has-common-sidebar { margin-left:0 !important; }
}
@media(max-width:560px){ body.tgc-west .gc-activity-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce){ body.tgc-west *,
body.tgc-west *::before,
body.tgc-west *::after { scroll-behavior:auto !important; transition:none !important; } }


/* ================================================================
   WEST LAYOUT REMEDIATION
   West originally used a CSS grid with a sidebar column. Converting
   the sidebar to position:fixed removed it from grid flow, causing the
   main content to collapse into the former sidebar column. The shared
   shell is now explicitly block-based with a matching content offset.
   ================================================================ */
body.tgc-west .app-shell {
  display: block !important;
  min-height: 100vh;
}

@media (min-width: 901px) {
  body.tgc-west .app-shell .main {
    width: auto !important;
    margin-left: 286px !important;
    padding-left: clamp(24px, 4vw, 52px) !important;
    padding-right: clamp(24px, 4vw, 52px) !important;
  }

  body.tgc-west .progress-bar-wrap {
    left: 286px !important;
  }

  body.tgc-west > .gc-copyright {
    margin-left: 286px !important;
  }
}

@media (max-width: 900px) {
  body.tgc-west .app-shell .main {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 20px 16px 108px !important;
  }

  body.tgc-west .progress-bar-wrap {
    left: 0 !important;
  }

  body.tgc-west .progress-pill {
    position: sticky !important;
    top: 10px !important;
    right: auto !important;
    width: fit-content;
    margin: 0 0 14px auto;
  }
}

/* Prevent the fixed progress pill from covering the first card. */
@media (min-width: 901px) {
  body.tgc-west .screen {
    padding-top: 42px !important;
  }
}


/* v0.35 — standardized opening-screen legal information and copyright */
body.tgc-north .gc-first-page-legal,
body.tgc-east .gc-first-page-legal,
body.tgc-south .gc-first-page-legal,
body.tgc-west .gc-first-page-legal {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--gc-line);
  border-radius: 16px;
  background: #f8fafb;
  color: var(--gc-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}
body.tgc-north .gc-first-page-legal h3,
body.tgc-east .gc-first-page-legal h3,
body.tgc-south .gc-first-page-legal h3,
body.tgc-west .gc-first-page-legal h3 {
  margin: 0 0 6px;
  color: var(--gc-ink);
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0;
}
body.tgc-north .gc-first-page-legal h3:not(:first-child),
body.tgc-east .gc-first-page-legal h3:not(:first-child),
body.tgc-south .gc-first-page-legal h3:not(:first-child),
body.tgc-west .gc-first-page-legal h3:not(:first-child) { margin-top: 16px; }
body.tgc-north .gc-first-page-legal p,
body.tgc-east .gc-first-page-legal p,
body.tgc-south .gc-first-page-legal p,
body.tgc-west .gc-first-page-legal p { margin: 0; }
body.tgc-north > .gc-copyright,
body.tgc-east > .gc-copyright,
body.tgc-south > .gc-copyright,
body.tgc-west > .gc-copyright {
  width: 100%;
  margin: 28px 0 0;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--gc-line);
  text-align: center;
  color: var(--gc-muted);
  background: transparent;
  font-size: 0.84rem;
}
@media (max-width: 640px) {
  body.tgc-north .gc-first-page-legal, body.tgc-east .gc-first-page-legal,
  body.tgc-south .gc-first-page-legal, body.tgc-west .gc-first-page-legal { padding: 17px; }
}


/* ================================================================
   DIRECTIONAL NAVIGATION, PROGRESS, PRIVACY, AND STATUS — v0.39
   ================================================================ */
body.tgc-north { --gc-direction: #0f6f78; --gc-direction-dark:#0a5259; --gc-direction-soft:#e7f4f5; }
body.tgc-east  { --gc-direction: #d9822b; --gc-direction-dark:#9c5815; --gc-direction-soft:#fff3e7; }
body.tgc-south { --gc-direction: #b8542d; --gc-direction-dark:#83391f; --gc-direction-soft:#fbece6; }
body.tgc-west  { --gc-direction: #447a58; --gc-direction-dark:#315d40; --gc-direction-soft:#eaf3ed; }

body.tgc-north .progress-wrap,
body.tgc-south .progress-wrap,
body.tgc-west .progress-pill,
body.tgc-west .progress-bar-wrap,
body.tgc-east .meter,
body.tgc-east #progressText { display:none !important; }

body.tgc-north .topbar { padding-bottom:10px; }
body.tgc-south .topbar { grid-template-columns:1fr; }
body.tgc-west .main { padding-top:28px; }

body.tgc-north .gc-activity-list,
body.tgc-east .gc-activity-list,
body.tgc-south .gc-activity-list,
body.tgc-west .gc-activity-list { gap:9px; }

body.tgc-north .gc-activity-item,
body.tgc-east .gc-activity-item,
body.tgc-south .gc-activity-item,
body.tgc-west .gc-activity-item {
  position:relative; padding:11px 12px; cursor:pointer; transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.gc-nav-item-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
body .gc-nav-item-head strong { min-width:0; }
.gc-nav-progress { flex:0 0 auto; padding:3px 7px; border-radius:999px; background:#eef1f4; color:#5f6b76; font-size:.68rem !important; font-weight:800; line-height:1.2; }
.gc-nav-description { display:block; margin-top:2px; }
.gc-nav-status { display:inline-flex; align-items:center; gap:5px; margin-top:7px; color:#87939d; font-size:.69rem !important; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.gc-nav-status::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }

body.tgc-north .gc-activity-item.active,
body.tgc-east .gc-activity-item.active,
body.tgc-south .gc-activity-item.active,
body.tgc-west .gc-activity-item.active { border-color:var(--gc-direction); background:var(--gc-direction-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--gc-direction) 15%,transparent); }
body .gc-activity-item.active .gc-nav-progress { color:#fff; background:var(--gc-direction); }
body .gc-activity-item.in-progress .gc-nav-status { color:#b06a0b; }
body .gc-activity-item.completed { border-color:color-mix(in srgb,var(--gc-direction) 45%,#d9e0e5); }
body .gc-activity-item.completed .gc-nav-status { color:#2e7d52; }
body .gc-activity-item.completed .gc-nav-progress { color:var(--gc-direction-dark); background:var(--gc-direction-soft); }
body .gc-activity-item.locked { opacity:.72; cursor:not-allowed; }
body .gc-activity-item.locked:hover { transform:none; }
body .gc-activity-item:not(.locked):hover { transform:translateX(2px); border-color:var(--gc-direction); }
body .gc-activity-item:focus-visible { outline:3px solid color-mix(in srgb,var(--gc-direction) 28%,transparent); outline-offset:3px; }

.gc-sidebar-footer { margin-top:auto; display:grid; gap:12px; }
.gc-sidebar-privacy { padding:12px; border:1px solid color-mix(in srgb,var(--gc-direction) 24%,#d9e0e5); border-radius:12px; background:color-mix(in srgb,var(--gc-direction-soft) 55%,#fff); }
.gc-sidebar-privacy strong { display:block; margin-bottom:5px; color:var(--gc-direction-dark); font-size:.78rem; }
.gc-sidebar-privacy p { margin:0; color:#5f6b76; font-size:.69rem; line-height:1.45; }
body.tgc-north .gc-return-link,
body.tgc-east .gc-return-link,
body.tgc-south .gc-return-link,
body.tgc-west .gc-return-link { margin-top:0; border-color:#415f86; color:#fff; background:#415f86; box-shadow:0 8px 20px rgba(65,95,134,.20); }
body .gc-return-link:hover { background:#304a6c; border-color:#304a6c; }

.gc-nav-toast { position:fixed; left:calc(286px + (100vw - 286px)/2); bottom:24px; z-index:100; max-width:min(480px,calc(100vw - 40px)); padding:11px 16px; border-radius:999px; color:#fff; background:#17232b; box-shadow:0 12px 30px rgba(0,0,0,.18); opacity:0; transform:translate(-50%,16px); pointer-events:none; transition:opacity .18s ease,transform .18s ease; text-align:center; font-size:.9rem; }
.gc-nav-toast.show { opacity:1; transform:translate(-50%,0); }

/* Privacy now lives under the Summary Report navigation button. */
.gc-first-page-legal h3 + p { margin-bottom:0; }

@media (max-width:900px) {
  .gc-nav-toast { left:50%; }
  .gc-sidebar-footer { margin-top:10px; }
}
@media print {
  .gc-nav-toast { display:none !important; }
}


/* =========================================================
   v0.39 — Direction start-page consistency
   ========================================================= */
.tgc-north .topbar,
.tgc-north .progress-wrap,
.tgc-south .topbar,
.tgc-west .progress-bar-wrap,
.tgc-west .progress-pill { display: none !important; }

.gc-sidebar-footer {
  margin-top: 14px !important;
  padding-top: 14px;
}
.gc-sidebar-privacy { display: none !important; }

.gc-direction-masthead {
  width: 100%;
  margin: 0 0 22px;
}
.gc-masthead-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 4px 14px;
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
}
.gc-masthead-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.gc-masthead-card {
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--gc-direction, #415f86) 18%, #dfe5ec);
  border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gc-direction, #415f86) 7%, #ffffff), #f5f8f9);
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}
.gc-direction-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--gc-direction, #415f86) 25%, transparent);
  border-radius: 999px;
  color: var(--gc-direction, #415f86);
  background: color-mix(in srgb, var(--gc-direction, #415f86) 9%, #ffffff);
  font: 800 .82rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .045em;
}
.gc-masthead-card h1 {
  margin: 14px 0 5px;
  color: #17263a;
  font: 780 clamp(2rem, 4vw, 2.8rem)/1.08 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
}
.gc-masthead-card p {
  margin: 0;
  color: #5f6b76;
  font: 1rem/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}
.tgc-north { --gc-direction: #0f6f78; }
.tgc-east { --gc-direction: #d9822b; }
.tgc-south { --gc-direction: #b8542d; }
.tgc-west { --gc-direction: #447a58; }

.tgc-north .gc-direction-masthead { max-width: 920px; margin: 18px auto 22px; padding: 0 24px; }
.tgc-east .panel > .gc-direction-masthead { margin-top: 0; }
.tgc-south .gc-direction-masthead { margin-top: 0; }
.tgc-west .gc-direction-masthead { max-width: 1050px; }

.gc-name-field {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: 24px 0 20px;
}
.gc-name-field label {
  color: inherit;
  font-weight: 750;
}
.gc-name-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd8e3;
  border-radius: 11px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}
.gc-name-field input:focus {
  outline: 3px solid color-mix(in srgb, var(--gc-direction, #415f86) 24%, transparent);
  border-color: var(--gc-direction, #415f86);
}
.gc-name-error {
  display: none;
  margin: 0;
  color: #a12626;
  font-size: .9rem;
  font-weight: 650;
}
.gc-name-field.has-error .gc-name-error { display: block; }
.gc-name-field.has-error input { border-color: #a12626; }

@media (max-width: 760px) {
  .gc-masthead-card { padding: 22px 19px; border-radius: 19px; }
  .gc-masthead-brand { min-height: 52px; }
  .gc-masthead-logo { width: 40px; height: 40px; }
}


/* =========================================================
   v0.39 — Direction masthead and Start-screen refinements
   ========================================================= */
.gc-masthead-brand { display: none !important; }
.gc-masthead-card {
  position: relative;
  min-height: 170px;
  padding-right: 150px;
}
.gc-masthead-corner-logo {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 104px;
  height: 104px;
  transform: translateY(-50%);
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31,41,55,.10);
}
.gc-start-guide {
  margin: 24px 0 8px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--gc-direction, #415f86) 18%, #dfe5ec);
  border-radius: 16px;
  background: color-mix(in srgb, var(--gc-direction, #415f86) 5%, #fff);
}
.gc-start-guide h2 { margin-top: 0; }
.gc-start-list { margin: 18px 0; padding-left: 22px; line-height: 1.65; }
.gc-east-start { padding-bottom: 28px; }
@media (max-width: 680px) {
  .gc-masthead-card { min-height: 0; padding-right: 92px; }
  .gc-masthead-corner-logo { right: 18px; width: 62px; height: 62px; }
}


/* ================================================================
   THE GIVING COMPASS v0.54 — SHARED REPORT SYSTEM
   ================================================================ */
:root{--report-ink:#243043;--report-muted:#667085;--report-line:#dfe3ea;--report-paper:#fff}
.gc-report{max-width:900px;margin:0 auto;color:var(--report-ink);background:var(--report-paper)}
.gc-report-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid var(--report-line);margin-bottom:26px}
.gc-report-title h1{margin:0 0 5px;font-size:2rem}.gc-report-title p{margin:0;color:var(--report-muted)}
.gc-report-logo{width:116px;height:auto;object-fit:contain}.gc-report-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:13px;font-size:.93rem;color:var(--report-muted)}
.gc-report-actions{display:flex;justify-content:flex-end;margin:0 0 18px}.gc-report-print-button{min-height:42px}
.gc-report-section{padding:22px 0;border-top:1px solid var(--report-line)}.gc-report-section:first-of-type{border-top:0}
.gc-report-section h2{margin:0 0 8px;font-size:1.38rem}.gc-report-section h3{margin:18px 0 7px;font-size:1.08rem}.gc-report-section p{line-height:1.65}
.gc-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gc-report-card{padding:17px;border:1px solid var(--report-line);border-radius:14px;background:#fff}
.gc-report-card h3{margin-top:0}.gc-report-pills{display:flex;flex-wrap:wrap;gap:8px}.gc-report-pill{display:inline-flex;padding:6px 10px;border:1px solid var(--report-line);border-radius:999px;background:#f8fafc;font-size:.9rem}
.gc-report-architecture{display:grid;gap:0}.gc-report-row{padding:18px 0;border-top:1px solid var(--report-line)}.gc-report-row:first-child{border-top:0}.gc-report-row h3{margin:0 0 5px}
.gc-report-insight{margin-top:15px;padding:17px 19px;border-radius:12px;background:#f7f4fb;border:1px solid #e8def4}.gc-report-insight h3{margin-top:0}
.gc-report-version{margin-top:28px;padding-top:14px;border-top:1px solid var(--report-line);color:var(--report-muted);font-size:.82rem}
.gc-report-transition{font-weight:700;margin-top:24px}.gc-report-empty{color:var(--report-muted);font-style:italic}
@media(max-width:720px){.gc-report-header{flex-direction:column}.gc-report-logo{width:96px}.gc-report-grid{grid-template-columns:1fr}.gc-report-actions{justify-content:stretch}.gc-report-print-button{width:100%}}


/* v0.54 QA — compact South S1/S2 screens to reduce unnecessary scrolling */
body.tgc-south #app[data-activity="1"] .stack-xl,
body.tgc-south #app[data-activity="2"] .stack-xl { gap: 14px; }
body.tgc-south #app[data-activity="1"] .stack-lg,
body.tgc-south #app[data-activity="2"] .stack-lg { gap: 12px; }
body.tgc-south #app[data-activity="1"] .prompt,
body.tgc-south #app[data-activity="2"] .prompt { padding: 12px 14px; }
body.tgc-south #app[data-activity="1"] .likert-list { gap: 10px; }
body.tgc-south #app[data-activity="1"] .likert-item { padding: 11px 13px; }
body.tgc-south #app[data-activity="1"] .likert-item .statement { margin-bottom: 8px; line-height: 1.35; }
body.tgc-south #app[data-activity="1"] .scale-row { gap: 7px; }
body.tgc-south #app[data-activity="1"] .scale-option { padding: 7px 9px; }
body.tgc-south #app[data-activity="2"] .radio-grid,
body.tgc-south #app[data-activity="2"] .check-grid { gap: 7px; }
body.tgc-south #app[data-activity="2"] .option { padding: 10px 13px; }
body.tgc-south #app[data-activity="1"] .nav,
body.tgc-south #app[data-activity="2"] .nav { padding-top: 2px; }
@media (min-width: 901px) {
  body.tgc-south .card { padding: 22px 26px; gap: 14px; }
}

/* v0.54 — shared Summary Report architecture */
.gc-report-kicker{margin:0 0 7px;color:var(--gc-direction,var(--report-accent));font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.gc-report-intro{margin:0 0 16px;color:var(--report-muted)}
.gc-report-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gc-report-status-card{padding:16px;border:1px solid var(--report-line);border-radius:14px;background:#fff}
.gc-report-status-card h3{margin:0 0 6px}.gc-report-status-card p:last-child{margin-bottom:0}
.gc-report-orientation{margin-top:16px;padding:18px;border-left:4px solid var(--gc-direction,#7c29ed);border-radius:0 12px 12px 0;background:#f7f8fa}
.gc-report-orientation h3{margin:0 0 7px}.gc-report-note{color:var(--report-muted);font-size:.94rem}
.gc-report-reflection{white-space:pre-wrap;padding:16px;border-radius:12px;background:#f7f8f8;font-style:italic}
@media(max-width:720px){.gc-report-status-grid{grid-template-columns:1fr}}
