* { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background: #0a1628;
      color: #d0d8e8;
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      line-height: 1.7;
    }

    /* ── Nav ── */
    nav {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 24px; border-bottom: 1px solid #1a1a1a; font-size: 0.82rem;
      position: sticky; top: 0; background: rgba(10,10,10,0.95);
      backdrop-filter: blur(8px); z-index: 50;
    }
    nav a { color: #555; text-decoration: none; transition: color 0.2s; }
    nav a:hover { color: #f0f0f0; }
    nav .sep { color: #333; }
    nav .current { color: #e0e0e0; }
    nav .spacer { flex: 1; }
    .nav-updated { font-size: 0.72rem; color: #2a2a2a; }
    .nav-last-updated { font-size: 0.72rem; color: #3a5070; }
    /* ── Nav auth button ── */
    #nav-auth { position: relative; }
    #nav-auth-btn {
      background: none; border: 1px solid #252525; border-radius: 6px;
      color: #444; font-size: 0.75rem; padding: 4px 10px; cursor: pointer;
      font-family: inherit; transition: color 0.2s, border-color 0.2s;
      text-decoration: none; display: inline-block; line-height: 1.6;
    }
    #nav-auth-btn:hover { color: #888; border-color: #333; }
    #nav-auth-btn.authed { color: #4ade80; border-color: rgba(74,222,128,0.25); }
    #nav-auth-dropdown {
      display: none; position: absolute; right: 0; top: calc(100% + 6px);
      background: #0e0e0e; border: 1px solid #1e1e1e; border-radius: 8px;
      min-width: 160px; z-index: 200; overflow: hidden;
    }
    #nav-auth-dropdown.open { display: block; }
    .nav-dd-item {
      display: block; padding: 9px 14px; font-size: 0.8rem; color: #888;
      text-decoration: none; cursor: pointer; background: none; border: none;
      font-family: inherit; width: 100%; text-align: left; transition: background .15s, color .15s;
    }
    .nav-dd-item:hover { background: #161616; color: #ccc; }
    .nav-dd-item.danger:hover { color: #f87171; }

    /* ── Hero ── */
    .hero {
      max-width: 860px;
      margin: 56px auto 0;
      padding: 0 28px 48px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }
    .overall-dot {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: #4ade80;
      flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(74,222,128,0.5);
      animation: pulse-green 2s infinite;
    }
    .overall-dot.degraded { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,0.5); animation: pulse-amber 2s infinite; }
    .overall-dot.down     { background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,0.5);   animation: pulse-red 2s infinite; }
    .overall-dot.checking { background: #3a5070; animation: none; }
    @keyframes pulse-green { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
    @keyframes pulse-amber { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); } 50% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
    @keyframes pulse-red   { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5);  } 50% { box-shadow: 0 0 0 10px rgba(239,68,68,0);  } }

    .hero-text h1 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
    .hero-text p  { font-size: 0.88rem; color: #5a7090; margin-top: 4px; }
    #overall-label { color: #4ade80; }
    #overall-label.degraded { color: #f59e0b; }
    #overall-label.down     { color: #ef4444; }

    /* ── Content ── */
    .content { max-width: 1200px; margin: 0 auto; padding: 0 28px 80px; }

    /* ── Service section ── */
    .service-section {
      padding: 48px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .service-section:last-child { border-bottom: none; }
    /* ── Side-by-side sites grid ── */
    .sites-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 40px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .sites-grid .service-section { border-bottom: none; }
    @media (max-width: 700px) { .sites-grid { grid-template-columns: 1fr; } }
    .service-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 28px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .service-header h2 { font-size: 1.1rem; font-weight: 600; color: #fff; }
    .service-header a  { color: #4ade80; text-decoration: none; font-size: 0.85rem; }
    .service-header a:hover { text-decoration: underline; }
    .status-badge {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
    }
    .badge-up       { background: rgba(74,222,128,0.12);  color: #4ade80;  border: 1px solid rgba(74,222,128,0.3); }
    .badge-down     { background: rgba(239,68,68,0.12);   color: #ef4444;  border: 1px solid rgba(239,68,68,0.3); }
    .badge-degraded { background: rgba(245,158,11,0.12);  color: #f59e0b;  border: 1px solid rgba(245,158,11,0.3); }
    .badge-unknown  { background: rgba(90,112,144,0.12);  color: #5a7090;  border: 1px solid rgba(90,112,144,0.3); }

    /* ── Block charts stack ── */
    .block-charts-row {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 28px;
    }

    .block-chart-card {
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 16px 18px;
    }
    .chart-label {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #3a5070;
      margin-bottom: 12px;
    }
    .blocks {
      display: flex;
      gap: 2px;
      flex-wrap: nowrap;
      overflow: hidden;
    }
    .block {
      flex: 1;
      min-width: 4px;
      height: 32px;
      border-radius: 2px;
      cursor: default;
      position: relative;
      transition: opacity 0.15s;
    }
    .block:hover { opacity: 0.75; }
    .block.up       { background: #4ade80; }
    .block.degraded { background: #f59e0b; }
    .block.down     { background: #ef4444; }
    .block.nodata   { background: #1e3050; }

    .block-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
      font-size: 0.72rem;
      color: #3a5070;
    }
    .block-uptime { color: #8a9ab5; font-weight: 600; }

    /* Tooltip */
    #tooltip {
      position: fixed;
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 6px;
      padding: 8px 12px;
      font-size: 0.75rem;
      color: #c8d8f0;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.1s;
      z-index: 1000;
      white-space: nowrap;
    }
    #tooltip.visible { opacity: 1; }

    /* ── Line chart ── */
    .line-chart-card {
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 16px 18px;
      margin-bottom: 16px;
    }
    .line-chart-card svg {
      width: 100%;
      height: 140px;
      display: block;
      overflow: visible;
    }
    .line-chart-stats {
      display: flex;
      gap: 24px;
      margin-top: 12px;
      flex-wrap: wrap;
    }
    .stat-item { font-size: 0.8rem; color: #5a7090; }
    .stat-item strong { color: #c8d8f0; display: block; font-size: 1rem; font-weight: 600; }
    .no-data-msg { font-size: 0.82rem; color: #3a5070; text-align: center; padding: 32px 0; }

    /* ── Metrics section ── */
    .metrics-section {
      padding: 48px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .metrics-section-title {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #3a5070;
      margin-bottom: 8px;
    }
    .metrics-section h2 {
      font-size: 1.1rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 24px;
    }
    .metrics-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 12px;
      margin-bottom: 28px;
    }
    .metric-card {
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 16px 18px;
    }
    .metric-card-label {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #3a5070;
      margin-bottom: 6px;
    }
    .metric-card-value {
      font-size: 1.4rem;
      font-weight: 700;
      color: #c8d8f0;
      line-height: 1.1;
    }
    .metric-card-value.warn  { color: #f59e0b; }
    .metric-card-value.crit  { color: #ef4444; }
    .metric-card-value.good  { color: #4ade80; }
    .metric-card-sub {
      font-size: 0.72rem;
      color: #3a5070;
      margin-top: 4px;
    }
    /* Gauge bar */
    .gauge {
      height: 4px;
      background: #1e3050;
      border-radius: 2px;
      margin-top: 10px;
      overflow: hidden;
    }
    .gauge-fill {
      height: 100%;
      border-radius: 2px;
      background: #4ade80;
      transition: width 0.5s;
    }
    .gauge-fill.warn { background: #f59e0b; }
    .gauge-fill.crit { background: #ef4444; }

    /* Sparkline charts */
    .sparkline-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 640px) { .sparkline-row { grid-template-columns: 1fr; } }

    .sparkline-card {
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 16px 18px;
    }
    .sparkline-card svg {
      width: 100%;
      height: 80px;
      display: block;
      overflow: visible;
    }

    /* ── Claude usage section ── */
    .claude-section {
      padding: 48px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .claude-section-title {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #3a5070;
      margin-bottom: 8px;
    }
    .claude-section h2 {
      font-size: 1.1rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 6px;
    }
    .claude-section-sub {
      font-size: 0.8rem;
      color: #3a5070;
      margin-bottom: 24px;
    }
    .claude-note {
      background: rgba(96,165,250,0.06);
      border: 1px solid rgba(96,165,250,0.15);
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 0.78rem;
      color: #5a7090;
      margin-bottom: 20px;
      line-height: 1.6;
    }
    .claude-note a { color: #60a5fa; text-decoration: none; }
    .claude-note a:hover { text-decoration: underline; }

    /* Bar chart */
    .bar-chart-card {
      background: #0f1f35;
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 16px 18px;
      margin-bottom: 16px;
    }
    .bar-chart-card svg {
      width: 100%;
      display: block;
      overflow: visible;
    }
    .bar-chart-header {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
    }
    .bar-chart-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .bar-tab {
      font-size: 0.72rem;
      padding: 4px 10px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.1);
      background: transparent;
      color: #5a7090;
      cursor: pointer;
      transition: all 0.15s;
      font-family: inherit;
    }
    .bar-tab.active {
      background: rgba(96,165,250,0.15);
      border-color: rgba(96,165,250,0.4);
      color: #60a5fa;
    }
    .period-tabs { display: flex; gap: 4px; flex-shrink: 0; }
    .period-tab {
      font-size: 0.68rem; font-weight: 700; padding: 3px 9px;
      border-radius: 20px; border: 1px solid rgba(255,255,255,0.08);
      background: transparent; color: #3a5070; cursor: pointer;
      transition: all 0.15s; font-family: inherit; letter-spacing: 0.04em;
    }
    .period-tab.active {
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.18);
      color: #8a9ab5;
    }
    /* OR call cards */
    .or-call-card {
      background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
      border-radius: 8px; padding: 12px 14px; margin-bottom: 8px;
    }
    .or-call-card:last-child { margin-bottom: 0; }
    .or-call-meta {
      display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
      margin-bottom: 6px; font-size: 0.74rem;
    }
    .or-call-ts   { color: #3a5070; white-space: nowrap; }
    .or-call-model { color: #a78bfa; font-weight: 600; }
    .or-call-cost  { color: #4ade80; }
    .or-call-lat   { color: #3a5070; }
    .or-call-tok   { color: #5a7090; }
    .or-call-task {
      font-size: 0.8rem; color: #8a9ab5; line-height: 1.5;
      word-break: break-word;
    }
    .bar-chart-footer {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: #3a5070;
      margin-top: 6px;
    }

    /* ── Loading ── */
    .loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 80px 28px;
      gap: 16px;
      color: #3a5070;
      font-size: 0.88rem;
    }
    .spinner {
      width: 28px; height: 28px;
      border: 2px solid #1e3050;
      border-top-color: #4ade80;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── Mobile responsive ── */
    @media (max-width: 640px) {
      nav { padding: 12px 16px; gap: 12px; }
      .nav-right { display: none; }

      .hero {
        margin-top: 28px;
        padding: 0 16px 32px;
        gap: 16px;
      }

      .content { padding: 0 16px 48px; }

      .service-section { padding: 28px 0; }

      .metrics-section { padding: 28px 0; }

      .metrics-cards {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      }

      .line-chart-card { padding: 12px 14px; }
      .block-chart-card { padding: 12px 12px; }
      .sparkline-card { padding: 12px 14px; }
      .metric-card { padding: 12px 14px; }

      .line-chart-stats { gap: 16px; }

      .service-header { margin-bottom: 18px; }
    }
    @media (max-width: 820px) {
      #private-web-usage-grid { grid-template-columns: 1fr !important; }
    }

    /* ── Storage treemap ── */
    .storage-section { display: none; }
    .storage-section.visible { display: block; }
    .storage-treemap {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
      gap: 4px;
      padding: 16px;
      background: rgba(255,255,255,0.02);
      border-radius: 8px;
      min-height: 280px;
    }
    .storage-item {
      background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
      border-radius: 6px;
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      cursor: pointer;
      transition: all 0.2s;
      border: 1px solid rgba(255,255,255,0.1);
      position: relative;
      overflow: hidden;
      min-height: 60px;
      font-size: 0.7rem;
      color: #f0f0f0;
    }
    .storage-item:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 16px rgba(59,130,246,0.3);
      border-color: rgba(255,255,255,0.3);
    }
    .storage-item:nth-child(2) { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
    .storage-item:nth-child(3) { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }
    .storage-item:nth-child(4) { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
    .storage-item:nth-child(5) { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
    .storage-item:nth-child(6) { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
    .storage-item:nth-child(7) { background: linear-gradient(135deg, #f43f5e 0%, #be185d 100%); }
    .storage-item:nth-child(8) { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); }
    .storage-item:nth-child(9) { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); }
    .storage-item:nth-child(10) { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
    .storage-item-label {
      font-weight: 600;
      margin-bottom: 4px;
      word-break: break-word;
      text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    }
    .storage-item-size {
      font-size: 0.65rem;
      opacity: 0.9;
      text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    }
    .storage-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 16px;
      font-size: 0.8rem;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }
    .storage-legend-item {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .storage-legend-dot {
      width: 12px;
      height: 12px;
      border-radius: 3px;
      flex-shrink: 0;
    }
    .storage-item.no-drill {
      cursor: default;
      opacity: 0.7;
    }
    .storage-item.no-drill:hover {
      transform: none;
      box-shadow: none;
      border-color: rgba(255,255,255,0.1);
    }
    .storage-breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 4px;
      padding: 8px 16px;
      font-size: 0.8rem;
      color: #8ba0bc;
      min-height: 36px;
    }
    .storage-breadcrumb:empty { min-height: 0; padding: 0; }
    .storage-crumb {
      background: none;
      border: none;
      color: #60a5fa;
      cursor: pointer;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 0.8rem;
      font-family: inherit;
      transition: background 0.15s;
    }
    .storage-crumb:hover { background: rgba(96,165,250,0.12); }
    .storage-crumb.current { color: #e2e8f0; cursor: default; }
    .storage-crumb.current:hover { background: none; }
    .storage-crumb-sep { color: #4a6080; }
    .storage-loading {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 120px;
      color: #4a6080;
      font-size: 0.85rem;
    }


    /* ── Search overlay ── */
    #search-overlay {
      display: none; position: fixed; inset: 0; z-index: 1000;
      background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
      align-items: flex-start; justify-content: center; padding-top: 80px;
    }
    #search-overlay.open { display: flex; }
    #search-box {
      background: #111; border: 1px solid #2a2a2a; border-radius: 10px;
      width: 100%; max-width: 580px; overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }
    #search-input {
      width: 100%; padding: 16px 20px; background: none; border: none; outline: none;
      color: #e0e0e0; font-size: 1rem; font-family: inherit; box-sizing: border-box;
    }
    #search-input::placeholder { color: #444; }
    #search-divider { height: 1px; background: #1e1e1e; }
    #search-results { max-height: 400px; overflow-y: auto; }
    .search-result {
      display: block; padding: 12px 20px; text-decoration: none; color: inherit;
      border-bottom: 1px solid #151515; transition: background 0.15s;
    }
    .search-result:hover, .search-result.active { background: #161616; }
    .search-result-title { color: #e0e0e0; font-size: 0.9rem; margin-bottom: 3px; }
    .search-result-snippet { color: #555; font-size: 0.78rem; line-height: 1.4; }
    .search-result-snippet mark { background: none; color: #4ade80; font-style: normal; }
    #search-empty { padding: 20px; text-align: center; color: #333; font-size: 0.85rem; }
    #search-hint {
      padding: 8px 20px; color: #2a2a2a; font-size: 0.72rem;
      border-top: 1px solid #151515; display: flex; gap: 16px;
    }

    /* GA section */
    .ga-bar-row {
      display: flex; align-items: center; gap: 8px;
      padding: 5px 0; border-bottom: 1px solid #0d1c30; font-size: 0.78rem;
    }
    .ga-bar-row:last-child { border-bottom: none; }
    .ga-bar-label { flex: 1; color: #7a9abf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ga-bar-track { flex: 2; height: 4px; background: #0d1c30; border-radius: 2px; overflow: hidden; }
    .ga-bar-fill  { height: 100%; background: #2563eb; border-radius: 2px; transition: width 0.4s ease; }
    .ga-bar-count { width: 32px; text-align: right; color: #4a7aaa; font-size: 0.72rem; }
    #ga-active-badge { font-size: 0.72rem; }
    .ga-active-dot {
      display: inline-block; width: 6px; height: 6px; border-radius: 50%;
      background: #4ade80; margin-right: 5px; vertical-align: middle;
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
    }
  
    /* ── Floating chat ── */
    #chat-bubble {
      position: fixed; bottom: 24px; right: 24px; z-index: 900;
      width: 48px; height: 48px; border-radius: 50%;
      background: #1a1a1a; border: 1px solid #2a2a2a;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: #555; transition: color 0.2s, border-color 0.2s, transform 0.2s;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
    #chat-bubble:hover { color: #4ade80; border-color: rgba(74,222,128,0.3); transform: scale(1.05); }
    #chat-panel {
      position: fixed; bottom: 84px; right: 24px; z-index: 901;
      width: 340px; max-height: 480px;
      background: #111; border: 1px solid #1e1e1e; border-radius: 12px;
      display: none; flex-direction: column;
      box-shadow: 0 8px 40px rgba(0,0,0,0.6);
      overflow: hidden;
    }
    #chat-panel.open { display: flex; }
    #chat-panel-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 16px; border-bottom: 1px solid #1a1a1a;
      font-size: 0.82rem; color: #888;
    }
    #chat-messages {
      flex: 1; overflow-y: auto; padding: 12px 16px;
      display: flex; flex-direction: column; gap: 10px;
      min-height: 200px; max-height: 320px;
      font-size: 0.82rem; line-height: 1.5;
    }
    .chat-msg-user {
      align-self: flex-end; background: #1a1a1a; border-radius: 10px 10px 2px 10px;
      padding: 8px 12px; color: #d0d0d0; max-width: 85%;
    }
    .chat-msg-ai {
      align-self: flex-start; color: #aaa; max-width: 90%;
    }
    .chat-msg-ai.streaming::after {
      content: '\25ae'; animation: blink 0.8s step-end infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }
    #chat-input-row {
      display: flex; padding: 10px 12px; gap: 8px; border-top: 1px solid #1a1a1a;
    }
    #chat-input {
      flex: 1; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px;
      color: #e0e0e0; font-size: 0.82rem; padding: 8px 10px; outline: none; font-family: inherit;
    }
    #chat-input:focus { border-color: #333; }
    #chat-send {
      background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px;
      color: #555; padding: 8px 12px; cursor: pointer; font-size: 1rem;
      transition: color 0.2s;
    }
    #chat-send:hover { color: #4ade80; border-color: rgba(74,222,128,0.2); }

/* Phase 4 – extracted inline styles */
._p4-5b121c {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

._p4-5dfe0f {
  font-size: 1.4rem;
}

._p4-5f8fd8 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 16px;
}

._p4-716586 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

._p4-a1f7f6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

._p4-b56987 {
  margin-bottom: 12px;
}

._p4-be8af4 {
  font-size: 0.75rem;
  color: #3a5070;
  margin-top: 3px;
}
