    /* ── Variables ─────────────────────────────────────────────── */
    :root {
      --gu-blue:       #041E42;   /* Georgetown Pantone 282C */
      --gu-blue-mid:   #0a2d5e;
      --gu-blue-hover: #0d3570;
      --text:          #051e42;
      --muted:         #051e42;
      --border:        #d0d5df;
      --bg:            #f5f6f8;
      --white:         #ffffff;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Source Sans 3', Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── Skip link ─────────────────────────────────────────────── */
    .skip-link {
      position: absolute; top: -100%; left: 1rem;
      background: var(--gu-blue); color: var(--white);
      padding: .4rem 1rem; border-radius: 0 0 4px 4px;
      font-size: .9rem; font-weight: 600; z-index: 9999;
      text-decoration: none; transition: top .2s;
    }
    .skip-link:focus { top: 0; }

    /* ── Header ────────────────────────────────────────────────── */
    .site-header {
      background: var(--white);
      border-bottom: 2px solid var(--border);
      padding: 2rem 1.5rem;
    }
    .header-inner {
      max-width: 1280px; margin: 0 auto;
      display: grid;
      grid-template-columns: 200px 1fr 200px;
      align-items: center; gap: 1rem;
    }
    .site-title h1 {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: clamp(1.3rem, 2.2vw, 1.85rem);
      font-weight: 700; color: var(--gu-blue);
      text-align: center; line-height: 1.25;
    }
    .logo-left  { justify-self: start; }
    .logo-right { justify-self: end;   }
    .logo-left img, .logo-right img {
      max-height: 90px; width: auto; display: block;
    }

    /* ── Nav ───────────────────────────────────────────────────── */
    .main-nav {
      background: var(--gu-blue);
      border-bottom: 3px solid #020f22;
    }
    .nav-inner {
      max-width: 1280px; margin: 0 auto;
    }
    .nav-list {
      list-style: none; display: flex;
      justify-content: space-around; padding: 0; margin: 0;
    }
    .nav-list > li { flex: 1; position: relative; }

    .nav-list > li > a,
    .nav-list > li > button {
      display: flex; align-items: center; justify-content: center;
      gap: .45rem; width: 100%;
      padding: 1rem .75rem;
      color: var(--white); text-decoration: none;
      font-size: .98rem; font-weight: 600;
      letter-spacing: .02em;
      border-right: 1px solid rgba(255,255,255,.12);
      background: none; border-top: none; border-bottom: none; border-left: none;
      cursor: pointer; transition: background .18s;
    }
    .nav-list > li:last-child > a,
    .nav-list > li:last-child > button { border-right: none; }
    .nav-list > li > a:hover,
    .nav-list > li > a:focus,
    .nav-list > li > button:hover,
    .nav-list > li > button:focus { background: rgba(255,255,255,.14); outline: none; }
    .nav-list > li > a:focus-visible,
    .nav-list > li > button:focus-visible {
      outline: 3px solid #7eb8f7; outline-offset: -3px;
    }
    .nav-list > li > a[aria-current="page"] { background: rgba(255,255,255,.2); }

    .caret { font-size: .7rem; margin-left: .2rem; transition: transform .2s; }
    .nav-list li.open button .caret { transform: rotate(180deg); }

    /* Dropdown panel */
    .dropdown-panel {
      display: none; position: absolute; top: 100%; left: 0;
      background: var(--white); min-width: 240px;
      border: 1px solid var(--border);
      border-top: 3px solid var(--gu-blue);
      border-radius: 0 0 6px 6px;
      box-shadow: 0 4px 16px rgba(0,0,0,.18);
      z-index: 200; padding: .5rem 0;
    }
    .nav-list li.open .dropdown-panel { display: block; }
    .dropdown-panel a {
      display: block; padding: .65rem 1.25rem;
      color: var(--gu-blue); text-decoration: none;
      font-size: .95rem; font-weight: 600;
      transition: background .15s;
    }
    .dropdown-panel a:hover,
    .dropdown-panel a:focus { background: #eef2f8; outline: none; }
    .dropdown-panel a:focus-visible {
      outline: 2px solid var(--gu-blue); outline-offset: -2px;
    }

    /* ── Page wrapper ──────────────────────────────────────────── */
    .page { display: none; flex: 1; }
    .page.active { display: block; }

    /* Consolidated*/
    #consolidated-page { display: none; flex-direction: column; flex: 1; min-height: 0; }
    #consolidated-page.active { display: flex; }

    /* ── Main content ──────────────────────────────────────────── */
    .main-content {
      max-width: 1280px; margin: 0 auto;
      padding: 2rem 1.5rem 4rem;
    }
    .content-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.5rem 3rem;
      box-shadow: 0 1px 5px rgba(0,0,0,.06);
      margin-bottom: 1.5rem;
    }
    .section-rule { border: none; border-top: 1px solid var(--border); margin: 2rem 0 1.75rem; }
    .page-tagline { font-weight: 700; font-size: 1.05rem; margin-bottom: 1.5rem; color: var(--text); }
    .page-body p { font-size: 1rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.75; }
    .page-body p:last-child { margin-bottom: 0; }
    .section-heading {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.55rem; font-weight: 700;
      color: var(--gu-blue); margin-bottom: .9rem;
    }
    .section-subheading { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
    .help-list { list-style: none; margin-top: .75rem; }
    .help-list li { display: flex; align-items: center; gap: .5rem; font-size: 1rem; color: #051e42; }
    .help-list a { color: #051e42; font-weight: 600; text-decoration: underline; }
    .help-list a:hover, .help-list a:focus { text-decoration: underline; }

    /* ── Analytics page ────────────────────────────────────────── */
    #analytics-page { display: none; flex-direction: column; flex: 1; height: auto; min-height: 0; }
    #analytics-page.active { display: flex; }

    .analytics-header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 1rem 1.5rem;
      position: relative;
      z-index: 1;
    }
   
    .superset-container {
      flex: 1; 
      width: 100%; 
      min-height: 100vh;  /* Full viewport height */
      position: relative; 
      display: flex;
    }

    #superset-iframe {
      width: 100%;
      flex: 1;
      min-height: 100vh;
      border: none;
      display: block;
    }

    /* ── Footer ────────────────────────────────────────────────── */
    .site-footer { background: var(--gu-blue); color: #b8c4d8; padding: 2.5rem 1.5rem; margin-top: auto; }
    .footer-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
    .footer-org { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
    .footer-address { font-style: normal; font-size: .88rem; line-height: 1.7; color: #99aac0; }
    .footer-address a { color: #99aac0; text-decoration: none; }
    .footer-address a:hover { color: var(--white); text-decoration: underline; }

    /* ── Responsive ────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .header-inner { grid-template-columns: 1fr; text-align: center; }
      .logo-left, .logo-right { justify-self: center; }
      .nav-list { flex-wrap: wrap; }
      .nav-list > li { flex: 1 1 33%; }
      .content-card { padding: 1.5rem; }
      .analytics-header-inner { flex-direction: column; align-items: flex-start; }
    }

    /* ── Welcome panel ─────────────────────────────────────────── */
    .usecase-welcome {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      background: var(--bg);
      overflow-y: auto;
    }
    
    .usecase-welcome-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2.5rem 3rem;
      max-width: 640px;
      width: 100%;
      box-shadow: 0 1px 5px rgba(0,0,0,.06);
    }
    
    .usecase-welcome-icon {
      font-size: 2.5rem;
      color: var(--gu-blue);
      margin-bottom: 1rem;
    }
    
    .usecase-welcome-card h2 {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--gu-blue);
      margin-bottom: 1rem;
    }
    
    .usecase-welcome-card p {
      font-size: .97rem;
      color: #051e42;
      line-height: 1.75;
      margin-bottom: 1rem;
    }
    
    .usecase-welcome-card p:last-of-type { margin-bottom: 1.5rem; }
    

    /* ── Use Case sidebar layout ───────────────────────────────── */
    .usecase-layout {
      display: flex;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }
    
    /* ── Sidebar ── */
    .usecase-sidebar {
      width: 270px;
      flex-shrink: 0;
      background: var(--gu-blue);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: width .22s ease;
    }
    .usecase-sidebar.collapsed { width: 0; }
    
    .sidebar-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1rem .75rem;
      border-bottom: 1px solid rgba(255,255,255,.1);
      flex-shrink: 0;
    }
    .sidebar-header-sub {
      font-size: .74rem;
      color: #ffffff;
      margin-top: .2rem;
    }
    .sidebar-header-label {
      font-size: .72rem; font-weight: 600;
      letter-spacing: .08em; text-transform: uppercase;
      color: rgba(255,255,255,.45);
      white-space: nowrap;
    }
    .sidebar-toggle-btn, .sidebar-expand-btn {
      background: none; border: none; cursor: pointer;
      color: rgba(255,255,255,.5); padding: 2px;
      display: flex; align-items: center;
      transition: color .15s;
    }
    .sidebar-toggle-btn:hover,
    .sidebar-expand-btn:hover { color: #fff; }
    .sidebar-toggle-btn:focus-visible,
    .sidebar-expand-btn:focus-visible {
      outline: 2px solid #7eb8f7; outline-offset: 2px; border-radius: 3px;
    }
    
    #sidebar-nav { overflow-y: auto; flex: 1; }
    
    /* Top-level items */
    .sidebar-top-item {
      display: flex; align-items: flex-start; gap: .75rem;
      width: 100%; padding: .9rem 1rem;
      background: none; border: none;
      border-left: 3px solid transparent;
      border-bottom: 1px solid rgba(255,255,255,.08);
      cursor: pointer; text-align: left;
      color: rgba(255,255,255,.75);
      transition: background .15s, border-color .15s, color .15s;
    }
    .sidebar-top-item:hover,
    .sidebar-top-item:focus { background: rgba(255,255,255,.1); color: #fff; outline: none; }
    .sidebar-top-item:focus-visible {
      outline: 3px solid #7eb8f7; outline-offset: -3px;
    }
    .sidebar-top-active {
      background: rgba(255,255,255,.15) !important;
      border-left-color: #7eb8f7 !important;
      color: #fff !important;
    }
    
    .sidebar-item-icon {
      font-size: 1.4rem; flex-shrink: 0;
      margin-top: .1rem; line-height: 1;
    }
    .sidebar-item-text {
      display: flex; flex-direction: column; gap: .2rem; flex: 1;
    }
    .sidebar-item-text strong {
      font-size: .88rem; font-weight: 700;
      color: inherit; line-height: 1.2;
    }
    .sidebar-item-text span {
      font-size: .74rem; color: rgba(255,255,255,.55);
      line-height: 1.4;
    }
    .sidebar-top-active .sidebar-item-text span,
    .sidebar-top-item:hover .sidebar-item-text span { color: rgba(255,255,255,.75); }
    
    .sidebar-section-caret {
      font-size: .8rem; flex-shrink: 0;
      margin-top: .2rem;
      transition: transform .2s;
    }
    .sidebar-section-caret.rotated { transform: rotate(-90deg); }
    
    /* Sub-items */
    .sidebar-sub-items { background: rgba(0,0,0,.18); }
    
    .sidebar-sub-item {
      display: flex; align-items: flex-start; gap: .6rem;
      width: 100%; padding: .7rem 1rem .7rem 2.25rem;
      background: none; border: none;
      border-left: 3px solid transparent;
      border-bottom: 1px solid rgba(255,255,255,.06);
      cursor: pointer; text-align: left;
      color: rgba(255,255,255,.65);
      transition: background .15s, border-color .15s, color .15s;
    }
    .sidebar-sub-item:hover,
    .sidebar-sub-item:focus { background: rgba(255,255,255,.08); color: #fff; outline: none; }
    .sidebar-sub-item:focus-visible {
      outline: 3px solid #7eb8f7; outline-offset: -3px;
    }
    .sidebar-sub-active {
      background: rgba(255,255,255,.1) !important;
      border-left-color: #7eb8f7 !important;
      color: #fff !important;
    }
    
    .sub-item-icon { font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }
    .sub-item-text { display: flex; flex-direction: column; gap: .15rem; }
    .sub-item-text strong { font-size: .83rem; font-weight: 700; color: inherit; }
    .sub-item-text span { font-size: .72rem; color: rgba(255,255,255,.5); line-height: 1.4; }
    .sidebar-sub-active .sub-item-text span { color: rgba(255,255,255,.7); }
    
    /* Collapsed strip */
    .sidebar-collapsed-strip {
      display: none;
      width: 36px; flex-shrink: 0;
      background: var(--gu-blue);
      align-items: center; justify-content: center;
      border-right: 1px solid rgba(255,255,255,.1);
    }
    .sidebar-collapsed-strip.visible { display: flex; }
    
    /* ── Viewer ── */
    .usecase-viewer {
      flex: 1; display: flex;
      flex-direction: column;
      overflow: hidden;
      min-width: 0;
    }
    
    #usecase-iframe {
      flex: 1; width: 100%;
      border: none; display: block;
      min-height: 0;
    }
    
    @media (max-width: 768px) {
      .usecase-layout { flex-direction: column; height: auto; }
      .usecase-sidebar { width: 100% !important; height: auto; }
      .usecase-viewer { min-height: 70vh; }
    }

      .viewer-header {
      display: flex;
      align-items: center;
      gap: .75rem;
      padding: .85rem 1.25rem;
      background: var(--white);
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }
    .viewer-header-icon {
      font-size: 1.25rem;
      color: var(--gu-blue);
    }
    .viewer-title {
      font-size: .92rem;
      font-weight: 700;
      color: var(--gu-blue);
      margin: 0;
    }
    .viewer-sub {
      font-size: .75rem;
      color: var(--muted);
      margin: 0;
    }
    .viewer-badge {
      margin-left: auto;
      font-size: .72rem;
      padding: .2rem .6rem;
      border-radius: 4px;
      background: #eaf3de;
      color: #3B6D11;
      font-weight: 600;
    }

    /* ── Chatbot ─────────────────────────────────────────────── */
    .chat-btn {
      position: fixed; bottom: 2rem; right: 2rem;
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--gu-blue); color: #fff;
      border: none; cursor: pointer; z-index: 1000;
      box-shadow: 0 4px 16px rgba(0,0,0,.25);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; transition: transform .2s;
    }
    .chat-btn:hover { transform: scale(1.1); }
    .chat-btn:focus-visible { outline: 3px solid #7eb8f7; outline-offset: 2px; }

    .chat-popup {
      position: fixed; bottom: 5.5rem; right: 2rem;
      width: 340px; background: #fff;
      border-radius: 12px; z-index: 1000;
      box-shadow: 0 8px 32px rgba(0,0,0,.18);
      display: none; flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .chat-popup.open { display: flex; }

    .chat-popup-header {
      background: var(--gu-blue); color: #fff;
      padding: .85rem 1.25rem;
      display: flex; align-items: center;
      justify-content: space-between;
    }
    .chat-popup-header h3 {
      font-size: 1rem; font-weight: 700; margin: 0;
    }
    .chat-popup-header p {
      font-size: .75rem; color: rgba(255,255,255,.75); margin: 0;
    }
    .chat-close-btn {
      background: none; border: none; color: #fff;
      font-size: 1.25rem; cursor: pointer; padding: 0;
      line-height: 1;
    }
    .chat-close-btn:hover { opacity: .75; }

    .chat-messages {
      flex: 1; padding: 1rem;
      overflow-y: auto; max-height: 300px;
      display: flex; flex-direction: column; gap: .75rem;
    }

    .chat-message {
      max-width: 80%; padding: .6rem .9rem;
      border-radius: 12px; font-size: .9rem; line-height: 1.5;
    }
    .chat-message.bot {
      background: #f0f2f5; color: var(--gu-blue);
      align-self: flex-start;
      border-bottom-left-radius: 4px;
    }
    .chat-message.user {
      background: var(--gu-blue); color: #fff;
      align-self: flex-end;
      border-bottom-right-radius: 4px;
    }
  
    .chat-input-area {
      display: flex; gap: .5rem;
      padding: .75rem 1rem;
      border-top: 1px solid var(--border);
    }
    .chat-input-area input {
      flex: 1; padding: .5rem .75rem;
      border: 1px solid var(--border);
      border-radius: 20px; font-size: .9rem;
      outline: none; font-family: inherit;
      color: var(--gu-blue);
    }
    .chat-input-area input:focus {
      border-color: var(--gu-blue);
    }
    .chat-send-btn {
      background: var(--gu-blue); color: #fff;
      border: none; border-radius: 50%;
      width: 36px; height: 36px;
      cursor: pointer; font-size: 1rem;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .chat-send-btn:hover { background: var(--gu-blue-mid); }
    .chat-send-btn:focus-visible { outline: 3px solid #7eb8f7; }

    .chat-typing {
      font-size: .8rem; color: #888;
      padding: 0 1rem .5rem;
      display: none;
    }
    .chat-typing.visible { display: block; }
    
