:root {
      --win-bg: #008080;
      --win-surface: #c0c0c0;
      --win-blue: #000080;
      --win-blue-light: #1084d0;
      --text-dark: #000000;
      --font-modern: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'Fira Code', monospace;
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
      background-color: var(--win-bg);
      font-family: var(--font-modern) !important;
      -webkit-font-smoothing: antialiased;
    }

    body, button, input, select, textarea, label, span, p, h1, h2, h3, h4, h5, h6, a, div, legend, th, td {
      font-family: var(--font-modern) !important;
    }

    code, pre, .mono-code {
      font-family: var(--font-mono) !important;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    img, svg {
      max-width: 100%;
      height: auto;
    }

    .win98-window {
      position: relative;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      margin: 0;
      background: var(--win-surface);
      border: 2px solid;
      border-color: #ffffff #000000 #000000 #ffffff;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .sticky-window-top-chrome {
      background: #c0c0c0;
      flex-shrink: 0;
      width: 100%;
      border-bottom: 1px solid #808080;
      z-index: 100;
    }

    .title-bar {
      background: linear-gradient(90deg, #000080 0%, #1084d0 100%) !important;
      color: #ffffff !important;
      padding: 4px 10px !important;
      min-height: 28px !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 6px 12px !important;
    }

    .title-bar-text {
      font-weight: 800 !important;
      font-size: 12px !important;
      color: #ffffff !important;
      letter-spacing: 0.3px !important;
      line-height: 1.3 !important;
    }

    .top-nav-bar {
      background: #c0c0c0;
      padding: 6px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      border-bottom: 1px solid #808080;
    }

    .nav-links-group {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .menu-bar-link {
      color: #000000;
      text-decoration: none;
      padding: 5px 12px;
      cursor: pointer;
      font-size: 12px;
      font-weight: 800;
      border: 1px solid transparent;
      background: transparent;
      min-width: 0 !important;
      min-height: 0 !important;
      line-height: 1.25;
    }

    .menu-bar-link:hover {
      background: #000080;
      color: #ffffff;
    }

    .menu-bar-link.active {
      background: #dfdfdf;
      border: 1px solid;
      border-color: #808080 #ffffff #ffffff #808080;
      color: #000080;
      font-weight: 900;
    }

    .address-bar-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      padding: 4px 14px;
      background: #d4d0c8;
      border-top: 1px solid #ffffff;
      font-size: 12px;
    }

    .address-input-box {
      flex: 1 1 220px;
      min-width: 0;
      background: #ffffff;
      border: 1px solid #808080;
      box-shadow: inset 1px 1px 0 #404040;
      padding: 3px 8px;
      font-family: var(--font-mono) !important;
      font-size: 11.5px;
      font-weight: 600;
      color: #000080;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-all;
      line-height: 1.35;
    }

    .browser-scroll-viewport {
      flex: 1 1 0%;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      background: #dcdcdc;
      padding: 20px 24px 36px 24px;
    }

    .content-container {
      max-width: 1120px;
      margin: 0 auto;
    }

    .hero-box {
      background: #ffffff;
      border: 2px solid #000000;
      box-shadow: 4px 4px 0px #808080;
      padding: 24px 28px;
      margin-bottom: 20px;
    }

    .ai-badge-pill {
      display: inline-block;
      max-width: 100%;
      background: #000080;
      color: #ffffff;
      font-weight: 900;
      font-size: 11px;
      line-height: 1.35;
      padding: 4px 10px;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 10px;
      overflow-wrap: anywhere;
    }

    .hero-title {
      font-size: 1.85rem;
      font-weight: 900;
      color: #000080;
      margin: 0 0 10px 0;
      line-height: 1.2;
      letter-spacing: -0.4px;
    }

    .hero-subtitle {
      font-size: 0.96rem;
      line-height: 1.6;
      color: #111111;
      font-weight: 600;
      margin: 0 0 16px 0;
    }

    .directive-box {
      background: #eef2ff;
      border: 2px solid #000080;
      padding: 16px 18px;
      margin-bottom: 16px;
    }

    .directive-title {
      font-size: 0.92rem;
      font-weight: 900;
      color: #000080;
      text-transform: uppercase;
      margin: 0 0 8px 0;
      letter-spacing: 0.4px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
      gap: 16px;
      margin-bottom: 20px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
      gap: 16px;
      margin-bottom: 20px;
    }

    .grid-2 > *,
    .grid-3 > * {
      min-width: 0;
      max-width: 100%;
    }

    .info-panel {
      background: #ffffff;
      border: 2px solid #808080;
      box-shadow: inset 1px 1px 0 #dfdfdf, 2px 2px 0 #808080;
      padding: 16px 18px;
      min-width: 0;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .info-panel-title {
      font-size: 0.98rem;
      font-weight: 900;
      color: #000080;
      margin: 0 0 8px 0;
      border-bottom: 2px solid #dcdcdc;
      padding-bottom: 6px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .info-panel-text {
      font-size: 0.88rem;
      line-height: 1.6;
      color: #1e293b;
      font-weight: 600;
      margin: 0;
      overflow-wrap: anywhere;
    }

    .code-panel {
      background: #0f172a;
      color: #f8fafc;
      border: 2px solid #000000;
      padding: 12px 14px;
      font-family: var(--font-mono) !important;
      font-size: 12px;
      line-height: 1.55;
      white-space: pre-wrap !important;
      overflow-wrap: anywhere !important;
      word-break: break-word !important;
      overflow-x: hidden !important;
      max-width: 100%;
      position: relative;
      margin: 8px 0 14px 0;
    }

    .code-panel code {
      font-family: var(--font-mono) !important;
      color: #38bdf8;
      white-space: pre-wrap !important;
      overflow-wrap: anywhere !important;
      word-break: break-word !important;
    }

    .copy-btn {
      background: #dfdfdf;
      color: #000000;
      border: 2px solid;
      border-color: #ffffff #000000 #000000 #ffffff;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 10px;
      min-width: 0 !important;
      min-height: 0 !important;
      line-height: 1.2;
      white-space: nowrap;
      flex-shrink: 0;
      cursor: pointer;
    }

    .copy-btn:active {
      border-color: #000000 #ffffff #ffffff #000000;
    }

    /* Live Banner Preview Cards */
    .banner-preview-shell {
      background: #ffffff;
      border: 1.5px solid #cbd5e1;
      border-radius: 6px;
      padding: 8px 10px;
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 8px 10px;
      min-height: 58px;
      position: relative;
      margin-top: 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .banner-preview-icon {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      background: #0f172a;
      color: #38bdf8;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 12px;
      flex-shrink: 0;
    }

    .banner-preview-body {
      flex: 1 1 150px;
      min-width: 0;
    }

    .banner-preview-title-row {
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 4px 6px;
      margin-bottom: 3px;
    }

    .banner-preview-badge {
      background: #10b981;
      color: #ffffff;
      font-size: 9px;
      font-weight: 800;
      padding: 2px 5px;
      border-radius: 3px;
      line-height: 1.1;
      flex-shrink: 0;
    }

    .banner-preview-title {
      font-size: 12px;
      font-weight: 800;
      color: #0f172a;
      line-height: 1.3;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .banner-preview-desc {
      font-size: 10.5px;
      line-height: 1.4;
      color: #475569;
      font-weight: 600;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .banner-preview-cta {
      background: #10b981;
      color: #ffffff;
      font-size: 10.5px;
      font-weight: 800;
      padding: 5px 10px;
      border-radius: 5px;
      flex-shrink: 0;
      align-self: center;
    }

    /* Data Table for Genesis Members & Beta Directory */
    .retro-table-container {
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      background: #ffffff;
      border: 2px solid #808080;
    }

    table.retro-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12.5px;
      table-layout: auto;
    }

    table.retro-table th {
      background: #000080;
      color: #ffffff;
      font-weight: 800;
      text-align: left;
      padding: 8px 10px;
      border: 1px solid #000040;
      white-space: normal !important;
      line-height: 1.3;
    }

    table.retro-table td {
      padding: 8px 10px;
      border-bottom: 1px solid #d4d0c8;
      color: #111111;
      white-space: normal !important;
      overflow-wrap: anywhere;
      word-break: break-word;
      vertical-align: top;
      line-height: 1.45;
    }

    table.retro-table tr:nth-child(even) td {
      background: #f8fafc;
    }

    .status-bar {
      background: #c0c0c0;
      border-top: 1px solid #808080;
      padding: 3px 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 11px;
      font-weight: 700;
      color: #000080;
      flex-shrink: 0;
      text-align: center;
      line-height: 1.35;
    }

    /* Desktop defaults for mobile-structured progressive disclosure */
    .m-only {
      display: none !important;
    }
    .m-collapse-btn {
      display: none !important;
    }
    .m-collapse-body {
      display: block;
    }
    .hero-lead,
    .hero-point {
      display: inline;
    }

    @media (max-width: 820px) {
      html, body {
        height: auto !important;
        min-height: 100%;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background-color: #e2e8f0;
      }
      .m-hide {
        display: none !important;
      }
      .m-only {
        display: inline !important;
      }
      div.m-only, p.m-only {
        display: block !important;
      }
      .win98-window {
        height: auto !important;
        min-height: 100dvh;
        border: none !important;
        overflow: visible !important;
        background: #e2e8f0;
      }
      .sticky-window-top-chrome {
        position: static !important;
      }
      .top-nav-bar {
        padding: 8px 10px;
        gap: 6px;
        background: #d4d4d8;
      }
      .nav-links-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%;
      }
      .nav-links-group .menu-bar-link:last-child {
        grid-column: 1 / -1;
      }
      .menu-bar-link {
        padding: 7px 8px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        background: #f8fafc;
        border: 1px solid #94a3b8;
        border-radius: 4px;
        box-shadow: none !important;
        text-align: center;
      }
      .menu-bar-link.active {
        background: #000080 !important;
        color: #ffffff !important;
        border-color: #000080 !important;
      }
      .top-file-shortcuts,
      .address-bar-row {
        display: none !important;
      }
      .browser-scroll-viewport {
        overflow: visible !important;
        flex: 1 0 auto !important;
        padding: 14px 10px 24px 10px !important;
        background: #e2e8f0;
      }
      .hero-box {
        padding: 18px 15px !important;
        margin-bottom: 16px !important;
        border: 1px solid #94a3b8 !important;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
      }
      .hero-flex-mobile {
        display: flex;
        flex-direction: column;
      }
      .m-order-1 { order: 1; }
      .m-order-2 { order: 2; }
      .m-order-3 { order: 3; }
      .m-order-4 { order: 4; }
      .m-order-5 { order: 5; }
      .ai-badge-pill {
        font-size: 10px !important;
        padding: 4px 8px !important;
        border-radius: 4px;
        margin-bottom: 10px !important;
        letter-spacing: 0.4px !important;
      }
      .hero-title {
        font-size: 1.36rem !important;
        line-height: 1.28 !important;
        margin-bottom: 12px !important;
      }
      .hero-subtitle {
        font-size: 0.92rem !important;
        font-weight: 400 !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
      }
      .hero-lead {
        display: block;
        font-size: 0.94rem;
        font-weight: 400;
        line-height: 1.6;
        color: #334155;
        margin-bottom: 14px;
      }
      .hero-point {
        display: block;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-left: 3.5px solid #000080;
        border-radius: 0 6px 6px 0;
        padding: 11px 13px;
        margin-bottom: 10px;
        font-size: 0.88rem;
        font-weight: 400;
        line-height: 1.55;
        color: #334155;
      }
      .hero-point strong.m-point-head {
        display: block !important;
        font-size: 0.9rem;
        font-weight: 800;
        color: #000080;
        margin-bottom: 3px;
      }
      .directive-box {
        padding: 13px 13px !important;
        margin-bottom: 12px !important;
        border-width: 1px !important;
        border-radius: 5px;
      }
      .info-panel {
        padding: 14px 13px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px;
        box-shadow: none !important;
      }
      .info-panel-title {
        font-size: 0.94rem !important;
        line-height: 1.35 !important;
        margin-bottom: 7px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid #e2e8f0 !important;
      }
      .info-panel-text {
        font-size: 0.88rem !important;
        font-weight: 400 !important;
        line-height: 1.62 !important;
        color: #334155 !important;
      }
      .info-panel-text strong {
        font-weight: 700;
        color: #0f172a;
      }
      .code-panel {
        padding: 10px 11px !important;
        font-size: 11px !important;
        line-height: 1.5 !important;
        border-radius: 5px;
        border-width: 1px !important;
        margin: 8px 0 10px 0 !important;
      }
      #ai-agent-ready-prompt {
        max-height: 96px;
        overflow-y: auto !important;
      }
      .grid-2,
      .grid-3 {
        gap: 12px !important;
        margin-bottom: 12px !important;
      }
      .m-collapsible {
        margin-top: 10px;
      }
      .m-collapse-btn {
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        background: #f1f5f9 !important;
        color: #0f172a !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px;
        box-shadow: none !important;
        padding: 11px 13px !important;
        font-size: 0.87rem !important;
        font-weight: 700 !important;
        text-align: left;
        line-height: 1.35 !important;
        min-height: 0 !important;
        cursor: pointer;
      }
      .m-collapsible.open > .m-collapse-btn {
        background: #e0e7ff !important;
        border-color: #6366f1 !important;
        color: #000080 !important;
        border-radius: 6px 6px 0 0;
      }
      .m-collapse-indicator {
        font-family: var(--font-mono) !important;
        font-size: 0.82rem;
        font-weight: 800;
        color: #000080;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        padding: 2px 7px;
        flex-shrink: 0;
      }
      .m-collapse-body {
        display: none;
        padding-top: 10px;
      }
      .m-collapsible.open > .m-collapse-body {
        display: block;
      }
      #section-kindergarten,
      #section-genesis-members,
      #section-sdk-code,
      #section-coming-soon,
      #section-visibility-hub {
        margin-top: 0 !important;
      }
      .status-bar {
        padding: 8px 10px;
        font-size: 11px;
        background: #d4d4d8;
      }
      table.retro-table {
        font-size: 10.5px;
      }
      table.retro-table th,
      table.retro-table td {
        padding: 6px 5px;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
    }


    .prompt-and-banner-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 356px;
      gap: 16px;
      align-items: stretch;
      margin: 0;
    }
    @media (max-width: 900px) {
      .prompt-and-banner-row {
        grid-template-columns: 1fr;
      }
    }
