
  :root {
    --bg-dark: #0E1118;
    --bg-dark-2: #151B24;
    --bg-dark-3: #1C2434;
    --text-light: #F0EDE6;
    --text-muted: rgba(240,237,230,0.75);
    --accent: #C09030;
    --accent-bright: #E8B84B;
    --ff-display: 'Georgia', 'Times New Roman', serif;
    --ff-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  html { overflow-y: scroll; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--ff-body); background: var(--bg-dark); color: var(--text-light); -webkit-font-smoothing: antialiased; line-height: 1.7; }

  /* NAV — canonical chrome styling lives in /styles.css (linked on every page). */

  /* MAIN — nav is position:sticky (in /styles.css) so it reserves its own
     space; no large top offset needed (104px was the old fixed-nav clearance). */
  main { max-width: 860px; margin: 0 auto; padding: 40px 24px 80px; }

  /* BACK LINK */
  .back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 28px; }
  .back-link:hover { color: var(--accent-bright); }

  /* PITCH ZONE — open layout */
  .pitch { margin-bottom: 32px; }
  .pitch h1 { font-family: var(--ff-display); font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--text-light); line-height: 1.15; margin-bottom: 10px; }
  .pitch-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
  .badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .badge-type { background: rgba(192,144,48,0.15); color: var(--accent-bright); }
  .badge-domain { background: rgba(255,255,255,0.07); color: var(--text-muted); }
  .grade { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 5px; font-family: var(--ff-body); font-size: 11px; font-weight: 700; white-space: nowrap; }
  .pitch-desc { font-size: 17px; line-height: 1.65; color: rgba(240,237,230,0.85); margin-bottom: 18px; }
  .use-cases { list-style: none; padding: 0; margin: 0 0 18px 0; }
  .use-cases li { font-size: 14px; line-height: 1.6; color: rgba(240,237,230,0.8); padding: 4px 0 4px 20px; position: relative; }
  .use-cases li::before { content: '\2192'; position: absolute; left: 0; color: var(--accent); }
  .stats-strip { display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 14px; }
  .stat-item { font-size: 13px; color: var(--text-muted); }
  .stat-item strong { color: var(--text-light); font-weight: 600; }
  .pitch-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 12px; color: var(--text-muted); }
  .install-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
  .install-intro strong { color: var(--text-light); }
  .install-path { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 12px 16px; margin-bottom: 10px; }
  .install-path-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; margin-bottom: 6px; display: block; }
  .instructions-block { background: rgba(0,0,0,0.3); border: 1px solid rgba(192,144,48,0.2); border-radius: 8px; overflow: hidden; margin-top: 12px; }
  .instructions-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(192,144,48,0.06); border-bottom: 1px solid rgba(192,144,48,0.15); }
  .instructions-header .install-label { flex: 1; }
  .instructions-content { padding: 16px 20px; font-family: var(--ff-body); font-size: 13px; line-height: 1.7; color: var(--text-light); white-space: pre-wrap; word-wrap: break-word; margin: 0; background: none; }
  .install-intro code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 3px; font-size: 12px; }
  .score-hint { font-size: 11px; color: var(--text-muted); margin-top: 2px; opacity: 0.7; }
  /* EMAIL CAPTURE — tool pages */
  .tool-email-capture { margin: 40px 0 0; padding: 24px; background: rgba(192,144,48,0.05); border: 1px solid rgba(192,144,48,0.15); border-radius: 8px; text-align: center; }
  .tool-email-capture p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; }
  .tool-email-capture strong { color: var(--text-light); }
  .email-form-inline { display: flex; gap: 0; max-width: 400px; margin: 0 auto; border-radius: 6px; overflow: hidden; border: 1px solid rgba(192,144,48,0.3); }
  .email-form-inline input[type="email"] { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.05); border: none; color: var(--text-light); font-size: 13px; outline: none; font-family: var(--ff-body); }
  .email-form-inline input::placeholder { color: var(--text-muted); }
  .email-form-inline button { padding: 10px 20px; background: var(--accent); color: #0E1118; font-weight: 600; font-size: 13px; border: none; cursor: pointer; font-family: var(--ff-body); }
  .email-form-inline button:hover { background: var(--accent-bright); }

  .security-disclaimer { font-size: 11px; color: rgba(255,255,255,0.3); font-style: italic; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); line-height: 1.5; }

  .sec-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
  .sec-badge.sec-restricted { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
  .grade-warning { border-left: 5px solid; border-radius: 6px; padding: 14px 18px; margin-bottom: 24px; font-size: 13px; line-height: 1.5; }
  .grade-warning strong { display: block; margin-bottom: 4px; font-size: 14px; }
  .grade-warning-c { border-color: #D4A843; background: rgba(212,168,67,0.08); color: var(--text-muted); }
  .grade-warning-c strong { color: #D4A843; }
  .grade-warning-d { border-color: #D45B5B; background: rgba(212,91,91,0.08); color: var(--text-muted); }
  .grade-warning-d strong { color: #D45B5B; }

  .grade-A { background: rgba(34,197,94,0.18); color: #4ade80; }
  .grade-B { background: rgba(59,130,246,0.18); color: #60a5fa; }
  .grade-C { background: rgba(234,179,8,0.18); color: #facc15; }
  .grade-D { background: rgba(249,115,22,0.18); color: #fb923c; }
  .grade-F { background: rgba(239,68,68,0.18); color: #f87171; }
  .sec-badge { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
  .sec-A { background: rgba(34,197,94,0.15); color: #4ade80; }
  .sec-B { background: rgba(59,130,246,0.15); color: #60a5fa; }
  .sec-C { background: rgba(234,179,8,0.15); color: #facc15; }
  .sec-F { background: rgba(239,68,68,0.15); color: #f87171; }
  .conf-badge { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; background: rgba(255,255,255,0.06); color: var(--text-muted); }

  /* SHARE BAR — muted, in pitch footer */
  .share-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 500; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); background: none; cursor: pointer; font-family: var(--ff-body); transition: border-color 0.2s, color 0.2s; }
  .share-btn:hover { border-color: var(--accent); color: var(--accent); }
  .share-btn-li { border-color: rgba(10,102,194,0.3); color: #5b8ec9; }
  .share-btn-li:hover { border-color: #0a66c2; color: #0a66c2; }

  /* SECTIONS */
  .entry-section { background: var(--bg-dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 28px 32px; margin-bottom: 16px; }
  .entry-section h2 { font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--text-light); margin-bottom: 16px; }
  .entry-section p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 10px; }
  .entry-section p strong { color: var(--text-light); }
  .entry-section p:last-child { margin-bottom: 0; }

  /* TABS */
  .detail-tabs { display: flex; gap: 0; margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .detail-tab { padding: 12px 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-family: var(--ff-body); transition: color 0.2s, border-color 0.2s; }
  .detail-tab:hover { color: var(--text-light); }
  .detail-tab.active { color: var(--accent-bright); border-bottom-color: var(--accent); }
  .detail-card { background: var(--bg-dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: 0 0 10px 10px; border-top: none; margin-bottom: 32px; }
  .tab-panel { padding: 28px 32px; display: none; }
  .tab-panel.active { display: block; }
  .tab-panel p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 12px; }
  .tab-panel p strong { color: var(--text-light); }
  .section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; margin-top: 24px; }
  .section-label:first-child { margin-top: 0; }
  .tab-panel ul { padding-left: 18px; margin: 8px 0 0; }
  .tab-panel li { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 6px; }

  /* TRUST SIGNALS */
  .trust-banner { padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
  .trust-anthropic { background: rgba(192,144,48,0.12); border-left: 3px solid var(--accent); color: var(--accent-bright, #D4A843); }
  .trust-vendor { background: rgba(59,130,246,0.08); border-left: 3px solid #60a5fa; color: #93bbfc; }
  .trust-early { background: rgba(251,191,36,0.08); border-left: 3px solid #fbbf24; color: #fde68a; }
  .trust-newfind { background: rgba(139,92,246,0.08); border-left: 3px solid #a78bfa; color: #c4b5fd; }
  .review-depth-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 8px; vertical-align: middle; margin-left: 8px; font-weight: 500; }
  .depth-tested { background: rgba(34,197,94,0.15); color: #22c55e; }
  .depth-reviewed { background: rgba(59,130,246,0.15); color: #60a5fa; }
  .depth-scanned { background: rgba(251,191,36,0.15); color: #fbbf24; }
  .depth-listed { background: rgba(148,163,184,0.15); color: #94a3b8; }
  .muted-text { color: #94a3b8; font-size: 13px; }
  .notes-context { font-size: 12px; color: var(--text-muted); font-style: italic; margin-bottom: 6px; }
  .deploy-prompts { padding-left: 18px; font-size: 13px; line-height: 1.7; margin: 6px 0; }
  .deploy-prompts li { margin-bottom: 4px; color: rgba(255,255,255,0.7); }
  .field-note { font-size: 13px; color: rgba(255,255,255,0.6); }

  /* COMMUNITY PULSE */
  .pulse-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 8px; vertical-align: middle; margin-left: 6px; font-weight: 500; }
  .pulse-active { background: rgba(34,197,94,0.15); color: #22c55e; }
  .pulse-growing { background: rgba(59,130,246,0.15); color: #60a5fa; }
  .pulse-emerging { background: rgba(251,191,36,0.15); color: #fbbf24; }
  .pulse-new { background: rgba(148,163,184,0.1); color: #94a3b8; }
  .pulse-quiet { background: rgba(148,163,184,0.06); color: #64748b; }
  .pulse-mentions { list-style: none; padding: 0; margin: 8px 0 0 0; }
  .pulse-mentions li { font-size: 13px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .pulse-mentions li:last-child { border-bottom: none; }

  /* SCORE GRID */
  .score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
  .score-item { background: var(--bg-dark-3); border-radius: 7px; padding: 14px 16px; }
  .score-item .score-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
  .sbar { display: inline-flex; gap: 3px; vertical-align: middle; --fill-color: var(--accent); }
  .sbar-fill { width: 10px; height: 10px; border-radius: 2px; background: var(--fill-color); }
  .sbar-empty { width: 10px; height: 10px; border-radius: 2px; background: rgba(255,255,255,0.1); }
  .sbar-val { font-size: 11px; color: var(--text-muted); vertical-align: middle; margin-left: 4px; }
  .bar-na { color: var(--text-muted); font-size: 12px; }

  /* META TABLE */
  .meta-table { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13px; }
  .meta-key { font-weight: 600; color: var(--text-muted); }
  .meta-val { color: var(--text-light); }
  .meta-val a { color: var(--accent); text-decoration: none; word-break: break-all; }
  .meta-val a:hover { color: var(--accent-bright); text-decoration: underline; }

  /* INSTALL */
  .install-block { background: var(--bg-dark-3); border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; padding: 12px 16px; margin-top: 12px; }
  .install-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
  .install-cmd { font-family: 'Menlo', 'Courier New', monospace; font-size: 13px; color: var(--accent-bright); word-break: break-all; white-space: pre-wrap; margin: 0; }
  .copy-btn { margin-top: 8px; padding: 4px 12px; background: none; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; color: var(--text-muted); font-size: 11px; cursor: pointer; font-family: var(--ff-body); transition: border-color 0.2s, color 0.2s; }
  .copy-btn:hover { border-color: var(--accent); color: var(--accent); }

  /* FIELD NOTES */
  .field-note { border-left: 3px solid rgba(255,255,255,0.1); padding: 10px 14px; margin-bottom: 10px; }
  .field-note:last-child { margin-bottom: 0; }
  .field-note-date { font-size: 11px; color: var(--accent); margin-bottom: 4px; font-weight: 600; }
  .field-note-text { font-size: 13px; line-height: 1.65; color: rgba(240,237,230,0.75); }

  /* RED FLAG */
  .red-flag { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: 6px; padding: 12px 16px; margin-bottom: 14px; font-size: 13px; color: #fca5a5; }
  .red-flag strong { color: #ef4444; }

  /* PLATFORM BADGES */
  .platform-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .plat { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 500; }
  .plat-yes { background: rgba(34,197,94,0.12); color: #4ade80; }
  .plat-no { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.25); text-decoration: line-through; }

  /* RELATIONS */
  .relations-group { margin-bottom: 16px; }
  .relations-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
  .relations-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .relations-list a { padding: 4px 12px; border-radius: 5px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,0.06); color: var(--text-light); text-decoration: none; border: 1px solid rgba(255,255,255,0.1); }
  .relations-list a:hover { border-color: var(--accent); color: var(--accent); }
  .outcome-link-list { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
  .outcome-link-list a { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; transition: border-color 0.15s; }
  .outcome-link-list a:hover { border-color: var(--accent); }
  .outcome-link-role { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; min-width: 130px; flex-shrink: 0; }
  .outcome-link-title { font-size: 14px; color: var(--text-light); font-weight: 500; }
  .relations-note { font-size: 11px; color: var(--text-muted); }

  /* FOOTER — canonical footer styling comes from chrome.FOOTER_CSS (inlined). */

  @media (max-width: 640px) {
    main { padding: 32px 16px 60px; }
    .entry-section { padding: 20px; }
    .pitch-desc { font-size: 15px; }
    .stats-strip { gap: 12px; }
    .stat-item { flex: 1 1 40%; }
    .detail-tab { padding: 10px 16px; font-size: 12px; }
    .tab-panel { padding: 20px; }
    .score-grid { grid-template-columns: 1fr 1fr; }
    .copy-btn { padding: 10px 18px; font-size: 13px; min-height: 40px; }
  }
  @media (max-width: 380px) {
    .score-grid { grid-template-columns: 1fr; }
  }

.tab-bar {
  display: flex;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar-item {
  flex: 1 1 0;
  min-width: 140px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  color: var(--text-muted, rgba(240,237,230,0.75));
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab-bar-item:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text-light, #F0EDE6);
}
.tab-bar-item.is-active {
  background: var(--bg-dark-2, #161A22);
  color: var(--text-light, #F0EDE6);
  border-color: rgba(255,255,255,0.08);
  border-bottom-color: var(--bg-dark-2, #161A22);
  margin-bottom: -1px;
}
.tab-bar-label {
  display: block;
  font-family: var(--ff-display, Georgia, serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tab-bar-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted, rgba(240,237,230,0.75));
  margin-top: 2px;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .tab-bar { gap: 0; }
  .tab-bar-item { min-width: 120px; padding: 10px 12px; }
  .tab-bar-label { font-size: 13px; }
  .tab-bar-sub { display: none; }
}
