/* AI Presentation - VSCode-dark theme with Claude chat accents.
   Dark-only by design: it mirrors the editor in the screenshot. */

:root {
  --activitybar: #333333;
  --sidebar: #252526;
  --sidebar-section: #2d2d2d;
  --editor: #1e1e1e;
  --editor-2: #232323;
  --titlebar: #3c3c3c;
  --border: #2b2b2b;
  --border-2: #3c3c3c;

  --text: #d4d4d4;
  --text-dim: #8a8a8a;
  --text-bright: #ffffff;

  --list-hover: #2a2d2e;
  --list-active: #094771;
  --list-active-border: #2f9bff;

  --blue: #569cd6;
  --cyan: #4fc1ff;
  --green: #6a9955;
  --string: #ce9178;
  --func: #dcdcaa;
  --number: #b5cea8;

  /* Claude */
  --claude-coral: #d97757;
  --claude-coral-2: #c15f3c;
  --claude-surface: #262624;
  --claude-surface-2: #2f2f2c;
  --claude-border: #3c3b37;

  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--editor);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.app {
  display: grid;
  grid-template-rows: 35px 1fr;
  height: 100vh;
  overflow: hidden;
}

/* ---- Title bar ---- */
.titlebar {
  background: var(--titlebar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #00000040;
  -webkit-user-select: none;
  user-select: none;
}
.titlebar .title {
  flex: 1;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: .2px;
}
.titlebar .title b { color: var(--text); font-weight: 600; }
.titlebar .hamburger {
  display: none;
  background: none; border: 0; color: var(--text);
  font-size: 18px; cursor: pointer; padding: 2px 6px; line-height: 1;
}
.titlebar .repo-link { color: var(--text-dim); font-size: 12px; }
.titlebar .repo-link:hover { color: var(--text); }

/* ---- Body ---- */
.body {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 0;
}

/* ---- Sidebar / explorer ---- */
.sidebar {
  background: var(--sidebar);
  overflow-y: auto;
  min-height: 0;
  border-right: 1px solid var(--border);
}
.sidebar .explorer-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--text-dim); padding: 10px 16px 6px;
}
.tree { padding-bottom: 24px; }
.tree .group-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-dim);
  padding: 10px 12px 4px 16px;
}
.tree .row {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 0;
  cursor: pointer; color: var(--text);
  border-left: 2px solid transparent;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 13px;
}
.tree .row:hover { background: var(--list-hover); }
.tree .row.active { background: var(--list-active); border-left-color: var(--list-active-border); }
.tree .row .chev { width: 14px; text-align: center; color: var(--text-dim); flex: none; }
.tree .row .dot { color: var(--claude-coral); flex: none; }
.tree .row .n { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tree .row.lvl1 { padding-left: 14px; }
.tree .row.lvl2 { padding-left: 26px; }
.tree .row.overview { padding-left: 14px; }
.tree .row .label { overflow: hidden; text-overflow: ellipsis; }

/* ---- Editor / content ---- */
.editor { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--editor); }
.tabstrip {
  display: flex; align-items: stretch;
  background: var(--editor-2);
  border-bottom: 1px solid var(--border);
  height: 35px; flex: none;
}
.tabstrip .tab {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: var(--editor);
  border-right: 1px solid var(--border);
  color: var(--text); font-size: 13px;
  max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tabstrip .tab .dot { color: var(--claude-coral); }
.tabstrip .breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; color: var(--text-dim); font-size: 12px;
  overflow: hidden;
}
.tabstrip .breadcrumbs .sep { opacity: .5; }

.content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 40px 48px 96px;
}
.content-inner { max-width: 860px; margin: 0 auto; }

.eyebrow {
  color: var(--claude-coral); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
h1.demo-title { font-size: 30px; line-height: 1.15; margin: 0 0 14px; color: var(--text-bright); font-weight: 650; }
.goal {
  border-left: 3px solid var(--claude-coral);
  background: #d977570f;
  padding: 12px 16px; border-radius: 0 8px 8px 0;
  color: #e8d9cf; margin: 0 0 26px; font-size: 15px;
}
.section-h {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-dim); margin: 34px 0 14px;
  border-bottom: 1px solid var(--border-2); padding-bottom: 6px;
}
.desc p { line-height: 1.7; color: #cfcfcf; margin: 0 0 14px; }

/* Brief benefit-focused "why" under the demo title */
.why-lead { font-size: 16px; line-height: 1.55; color: #e4dfd8; margin: 2px 0 30px; }
.loading { color: var(--text-dim); padding: 24px 0; font-size: 14px; }

/* ---- Claude chat box ---- */
.chat { margin: 6px 0 18px; }
.chat + .chat { margin-top: 22px; }
.prompt-title {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700;
  color: var(--claude-coral); margin: 30px 0 12px;
  border-bottom: 1px solid #d9775738; padding-bottom: 6px;
}
/* Per-prompt "why you'd reach for this" line, no pill; spans the full column */
.prompt-why { font-size: 14px; line-height: 1.6; color: #d8d3cc; margin: 0 0 14px; }
.claude-box {
  background: var(--claude-surface);
  border: 1px solid var(--claude-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 #ffffff08 inset, 0 8px 24px #00000030;
}
.claude-box .cb-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--claude-border);
  background: linear-gradient(180deg, #ffffff05, transparent);
}
.claude-box .cb-head .spark { width: 20px; height: 20px; flex: none; }
.claude-box .cb-head .who { color: var(--text); font-weight: 600; font-size: 13px; }
.claude-box .cb-head .model {
  font-size: 11px; color: var(--claude-coral);
  border: 1px solid var(--claude-coral); border-radius: 999px;
  padding: 2px 9px; margin-left: 2px;
}
.claude-box .cb-head .spacer { flex: 1; }
.claude-box .cb-head .copy {
  background: transparent; border: 1px solid var(--claude-border);
  color: var(--text-dim); border-radius: 7px; padding: 4px 10px;
  font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.claude-box .cb-head .copy:hover { color: var(--text); border-color: #55534d; background: #ffffff06; }
.claude-box .cb-head .copy.done { color: var(--green); border-color: var(--green); }
.claude-box .cb-body { padding: 14px 16px; }
.claude-box .cb-text {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.65;
  color: #e7e3dd; white-space: pre-wrap; word-break: break-word;
}
.claude-box .cb-body .ph { color: var(--claude-coral); font-style: italic; }

/* Screenshot thumbnail at the top of a prompt box */
/* Input screenshots pasted with the prompt. Several sit side by side. */
.prompt-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.prompt-thumbs .prompt-thumb { margin: 0; flex: 1 1 260px; min-width: 0; }
.prompt-thumb {
  display: block; position: relative; padding: 0; margin: 0 0 14px; border: 0;
  background: transparent; cursor: zoom-in; line-height: 0;
}
.prompt-thumb img {
  display: block; max-width: 280px; max-height: 140px; width: auto; height: auto;
  border: 1px solid var(--claude-border); border-radius: 8px; background: #000;
  transition: border-color .12s ease;
}
.prompt-thumb:hover img { border-color: var(--claude-coral); }
.prompt-thumb .pt-badge {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 5px; line-height: 1;
  background: #000000b3; color: #fff; font-family: var(--sans); font-size: 11px;
  padding: 3px 8px; border-radius: 999px;
}
.prompt-thumb.broken img { display: none; }
.prompt-thumb.broken::after {
  content: "screenshot missing"; color: var(--text-dim); font-size: 12px; font-family: var(--mono);
}

/* Image modal - pan + zoom lightbox */
.img-modal { position: fixed; inset: 0; z-index: 100; display: none; background: #0b0b0be6; }
.img-modal.show { display: block; }
.img-modal-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: linear-gradient(180deg, #000000cc, transparent);
}
.img-modal-title { font-size: 13px; color: #fff; font-weight: 600; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.img-modal-hint { flex: 1; font-size: 12px; color: #ffffff99; }
.img-modal-close {
  background: #ffffff14; border: 1px solid #ffffff33; color: #fff;
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1;
}
.img-modal-close:hover { background: #ffffff2b; }
.img-modal-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; }
.img-modal-stage.grabbing { cursor: grabbing; }
.img-modal-img {
  position: absolute; top: 0; left: 0; transform-origin: 0 0;
  max-width: none; max-height: none; user-select: none; -webkit-user-drag: none;
  background: #fff; box-shadow: 0 8px 40px #000000a0;
}

/* Per-prompt files chip row */
.prompt-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip.file { cursor: pointer; }

/* File preview modal (markdown for .md, raw text otherwise) */
.file-modal { position: fixed; inset: 0; z-index: 110; display: none; background: #0b0b0be6; }
.file-modal.show { display: flex; align-items: center; justify-content: center; padding: 40px; }
.fm-panel {
  background: var(--editor-2); border: 1px solid var(--border-2); border-radius: 12px;
  width: min(880px, 100%); max-height: 100%; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 20px 60px #000000a0;
}
.fm-head {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid var(--border-2); background: var(--sidebar);
}
.fm-title { font-family: var(--mono); font-size: 13px; color: var(--string); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-gh { font-size: 12px; color: var(--text-dim); flex: none; }
.fm-gh:hover { color: var(--text); }
.fm-close { background: #ffffff12; border: 1px solid #ffffff2a; color: #fff; width: 28px; height: 28px; border-radius: 7px; cursor: pointer; font-size: 14px; line-height: 1; flex: none; }
.fm-close:hover { background: #ffffff24; }
.fm-body { overflow: auto; padding: 4px 20px 20px; }
.fm-body .cr-body { padding: 10px 0; }
.fm-raw { background: #1b1b1a; border: 1px solid var(--claude-border); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 12px 0; }
.fm-raw code { font-family: var(--mono); font-size: 12.5px; color: #e7e3dd; line-height: 1.6; white-space: pre; }

/* YAML frontmatter header (SKILL.md previews) */
.md-front {
  border: 1px solid var(--border-2); border-radius: 8px; padding: 10px 14px;
  margin: 4px 0 16px; background: #ffffff06;
}
.mf-name { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--claude-coral); }
.mf-desc { font-size: 13px; line-height: 1.55; color: var(--text-dim); margin-top: 5px; }

/* Clickable preview of a generated HTML page (e.g. a data-flow diagram) */
.result-embed {
  display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--border-2);
  border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; position: relative;
}
.result-embed:hover { border-color: var(--claude-coral); }
.re-frame-wrap { display: block; height: 240px; overflow: hidden; position: relative; background: #fff; }
.re-frame { width: 100%; height: 760px; border: 0; display: block; pointer-events: none; background: #fff; }
.re-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; padding: 9px 12px; color: #fff; font-size: 12px;
  background: linear-gradient(rgba(11,11,11,0), rgba(11,11,11,.72));
}
.re-label { font-weight: 600; }
.re-open { color: #fff; opacity: .9; flex: none; }

/* External link result (e.g. a PR comment holding the output) */
.result-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--border-2); border-radius: 8px; padding: 12px 14px;
  background: var(--editor-2); text-decoration: none;
}
.result-link:hover { border-color: var(--claude-coral); }
.rl-label { color: var(--cyan); font-size: 13px; line-height: 1.5; word-break: break-word; }
.rl-go { color: var(--text-dim); font-size: 12px; flex: none; }

/* HTML page lightbox */
.html-modal { position: fixed; inset: 0; z-index: 120; display: none; background: #0b0b0be6; }
.html-modal.show { display: flex; align-items: center; justify-content: center; padding: 40px; }
.hm-panel {
  background: var(--editor-2); border: 1px solid var(--border-2); border-radius: 12px;
  width: min(1200px, 100%); height: 100%; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 20px 60px #000000a0;
}
.hm-head {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  border-bottom: 1px solid var(--border-2); background: var(--sidebar);
}
.hm-title { font-size: 13px; font-weight: 600; color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-open { font-size: 12px; color: var(--text-dim); flex: none; text-decoration: none; }
.hm-open:hover { color: var(--text); }
.hm-close { background: #ffffff12; border: 1px solid #ffffff2a; color: #fff; width: 28px; height: 28px; border-radius: 7px; cursor: pointer; font-size: 14px; line-height: 1; flex: none; }
.hm-close:hover { background: #ffffff24; }
.hm-body { flex: 1; min-height: 0; background: #fff; }
.hm-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }

/* Claude reply bubble (captured demo result rendered from markdown) */
.claude-reply {
  margin-top: 12px;
  background: var(--claude-surface-2);
  border: 1px solid var(--claude-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.claude-reply .cr-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--claude-border);
  background: linear-gradient(180deg, #d977570d, transparent);
}
.claude-reply .cr-head .spark { width: 20px; height: 20px; flex: none; }
.claude-reply .cr-head .who { color: var(--claude-coral); font-weight: 600; font-size: 13px; }
.claude-reply .cr-tag {
  margin-left: auto; font-size: 11px; color: var(--text-dim);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 2px 9px;
}
.cr-body { padding: 6px 18px 16px; font-size: 14px; line-height: 1.6; color: #d7d3cc; }
.cr-body > :first-child { margin-top: 8px; }
.cr-body h3, .cr-body h4, .cr-body h5, .cr-body h6 { color: var(--text-bright); margin: 18px 0 8px; font-size: 14px; font-weight: 650; }
.cr-body h3 { font-size: 17px; margin-top: 4px; }
.cr-body h4 { font-size: 15px; }
.cr-body p { margin: 10px 0; }
.cr-body ul, .cr-body ol { margin: 10px 0; padding-left: 22px; }
.cr-body li { margin: 4px 0; }
.cr-body a { color: var(--cyan); }
.cr-body strong { color: var(--text); }
.cr-body em { color: #c9c4bd; }
.cr-body code { font-family: var(--mono); font-size: 12.5px; background: #00000045; padding: 1px 5px; border-radius: 4px; color: var(--string); }
.cr-body pre { background: #1b1b1a; border: 1px solid var(--claude-border); border-radius: 8px; padding: 12px 14px; overflow-x: auto; margin: 12px 0; }
.cr-body pre code { background: none; padding: 0; color: #e7e3dd; font-size: 12.5px; line-height: 1.55; }
.cr-body blockquote { border-left: 3px solid var(--claude-border); margin: 12px 0; padding: 2px 0 2px 14px; color: var(--text-dim); }
.cr-body table { border-collapse: collapse; margin: 12px 0; font-size: 13px; display: block; overflow-x: auto; max-width: 100%; }
.cr-body th, .cr-body td { border: 1px solid var(--border-2); padding: 6px 11px; text-align: left; white-space: nowrap; }
.cr-body th { background: #ffffff08; color: var(--text); font-weight: 600; }
.cr-body .cr-img { max-width: 100%; height: auto; display: block; margin: 12px 0; border: 1px solid var(--border-2); border-radius: 8px; cursor: zoom-in; }
.cr-body .cr-img:hover { border-color: var(--claude-coral); }

/* A full markdown page (anything under pages/). Reuses .cr-body for tables,
   code, links, and images, but reads at page scale rather than reply scale. */
.page-body { padding: 0; font-size: 15px; }
.page-body > :first-child { margin-top: 0; }
.page-body h1 { font-size: 30px; line-height: 1.15; margin: 0 0 14px; color: var(--text-bright); font-weight: 650; }
.page-body h2 { font-size: 19px; margin: 30px 0 10px; color: var(--text-bright); font-weight: 650; }
.page-body p { margin: 12px 0; line-height: 1.6; }
.page-body ul, .page-body ol { margin: 12px 0; }
.page-body li { margin: 6px 0; }

/* Plain per-prompt result (e.g. screenshots) - not a chat bubble */
.prompt-result { margin-top: 14px; }
.pr-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border-2); }
.pr-shot { margin: 0 0 16px; }
.pr-shot .cr-img { max-width: 100%; height: auto; display: block; margin: 0; border: 1px solid var(--border-2); border-radius: 8px; cursor: zoom-in; }
.pr-shot .cr-img:hover { border-color: var(--claude-coral); }
.pr-shot .pr-video { max-width: 100%; width: 100%; display: block; border: 1px solid var(--border-2); border-radius: 8px; background: #000; }
.pr-shot figcaption { font-size: 12px; color: var(--text-dim); margin-top: 7px; }
.pr-shot.pending .cr-img { display: none; }
.pr-shot.pending::before {
  content: "⧗ screenshot pending — drop " attr(data-file) " into media/";
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 120px; padding: 20px; box-sizing: border-box;
  border: 1px dashed var(--border-2); border-radius: 8px;
  color: var(--text-dim); font-family: var(--mono); font-size: 12px;
}

/* ---- Look-for list ---- */
ul.lookfor { list-style: none; padding: 0; margin: 0; }
ul.lookfor li {
  position: relative; padding: 7px 0 7px 26px; line-height: 1.55; color: #cfcfcf;
  border-bottom: 1px solid #ffffff08;
}
ul.lookfor li:last-child { border-bottom: 0; }
ul.lookfor li::before {
  content: "▸"; position: absolute; left: 6px; top: 7px; color: var(--claude-coral);
}

/* ---- Media ---- */
.media-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.media-card {
  background: var(--editor-2); border: 1px solid var(--border-2);
  border-radius: 10px; overflow: hidden;
}
.media-card video, .media-card img { display: block; width: 100%; height: auto; background: #000; }
.media-card .cap { padding: 8px 12px; font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--border); }
.placeholder {
  min-height: 200px; display: grid; place-items: center; text-align: center;
  padding: 28px; color: var(--text-dim);
  background:
    repeating-linear-gradient(45deg, #ffffff04 0 12px, transparent 12px 24px),
    var(--editor-2);
}
.placeholder .big { font-size: 30px; margin-bottom: 10px; opacity: .7; }
.placeholder .cw {
  margin-top: 10px; font-family: var(--mono); font-size: 12px;
  color: var(--claude-coral); background: #d977571a; padding: 3px 8px; border-radius: 6px;
  display: inline-block;
}
.placeholder .fn { font-family: var(--mono); font-size: 12px; color: var(--text); margin-top: 8px; }

/* ---- Links / chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--editor-2); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--text);
  font-family: var(--mono);
}
.chip:hover { border-color: #55534d; text-decoration: none; background: #ffffff06; }
.chip.skill { color: var(--func); }
.chip.file { color: var(--string); }

.folder-link {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border-2);
  font-size: 13px; color: var(--text-dim);
}
.folder-link code { font-family: var(--mono); color: var(--string); }

/* ---- Overview ---- */
.ov-hero { margin-bottom: 8px; }
.ov-hero .kicker { color: var(--claude-coral); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.ov-hero h1 { font-size: 40px; margin: 8px 0 6px; color: var(--text-bright); font-weight: 680; }
.ov-hero .tag { color: var(--text-dim); font-size: 16px; }
.ov-points { margin: 22px 0 34px; }
.ov-card {
  background: var(--editor-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 20px 22px; margin-bottom: 22px;
}
.ov-card h3 { margin: 0 0 12px; color: var(--text); font-size: 15px; }
.ov-card ul { margin: 0; padding-left: 20px; }
.ov-card li { line-height: 1.7; margin-bottom: 6px; color: #cfcfcf; }
/* Agenda: a grid of numbered boxes (::: agenda) */
.agenda-grid {
  display: grid; gap: 16px; margin: 30px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ag-box {
  background: var(--editor-2); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 18px 20px;
}
.ag-num {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; color: var(--claude-coral); margin-bottom: 10px;
}
.ag-title { font-size: 16px; font-weight: 650; line-height: 1.35; color: var(--text-bright); }
.ag-desc { margin-top: 7px; font-size: 13px; line-height: 1.55; color: var(--text-dim); }

.ov-sections { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ov-sec {
  background: var(--editor-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 18px; cursor: pointer;
}
.ov-sec:hover { border-color: var(--claude-coral); }
.ov-sec h4 { margin: 0 0 6px; color: var(--claude-coral); font-size: 15px; }
.ov-sec p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.ov-sec .count { margin-top: 10px; font-size: 12px; color: var(--text-dim); font-family: var(--mono); }


/* ---- Scrollbars ---- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: #424242; border-radius: 6px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #525252; background-clip: padding-box; border: 3px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .body { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 35px; bottom: 22px; left: 0; width: 280px; z-index: 30;
    transform: translateX(-100%); transition: transform .18s ease;
    box-shadow: 6px 0 24px #00000060;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  .titlebar .hamburger { display: block; }
  .content { padding: 24px 18px 80px; }
  h1.demo-title { font-size: 24px; }
  .page-body h1 { font-size: 24px; }
  .ov-hero h1 { font-size: 30px; }
}
