/* Restore archived content that originally depended on client-side reveals. */
[class*="AnimatedHeading"][class*="__word"],
[class*="AnimatedReveal"][class*="__container"] > * {
  opacity: 1 !important;
  transform: none !important;
}
[class*="Illustration"][class*="__base"]:empty { display: none; }
.jarvis-wordmark { font-family: Georgia, serif; font-size: 32px; line-height: 1; color: var(--theme-foreground-primary); }
/* Spread header nav links across the bar instead of bunching them on the right. */
.NavBar-module-scss-module__s3E3Dq__right { flex: 1; min-width: 0; }
.NavBar-module-scss-module__s3E3Dq__desktopNav { flex: 1; justify-content: space-evenly; }
[class*="PreviewPanel"][class*="__appLogo"]:empty::after { content: "A"; font-family: Georgia, serif; }
[role="tab"][aria-selected="true"] { background: var(--theme-switch-fg) !important; border-radius: var(--br-8); }
[hidden] { display: none !important; }
[class*="AppShell"][class*="__titlebar"] { display: none; }

/* Single JARVIS Community lifetime offer. */
#pricing.jarvis-community-pricing [role="tabpanel"] {
  grid-template-columns: minmax(0, 720px) !important;
  justify-content: center !important;
}
#pricing.jarvis-community-pricing [class*="__card"] {
  max-width: 720px !important;
}
#pricing.jarvis-community-pricing > .container > [class*="__tabs"] {
  display: none !important;
}
#pricing.jarvis-community-pricing [role="tabpanel"] > [class*="__card"]:nth-child(n + 2) {
  display: none !important;
}

/* JARVIS left nav (replaces New/Projects/Artifacts/Customize/More) — matches screenshots 2-3. */
/* Compact like the reference: small rows + thin scroll so all 18 items fit. */
[class*="AppShell"][class*="__sidebar"] { overflow: hidden !important; --shell-sidebar-font: 11px; font-size: 11px !important; padding-top: 6px !important; }
[class*="AppShell"][class*="__modeRow"] { top: 6px !important; right: 6px !important; height: 24px !important; }
[class*="AppShell"][class*="__modeTab"] { width: 28px !important; }
[class*="AppShell"][class*="__navTop"].jarvis-leftnav { flex: 0 0 auto !important; min-height: 0 !important; max-height: 100%; overflow: hidden !important; padding: 0 5px 2px !important; gap: 0 !important; scrollbar-width: none !important; }
[class*="AppShell"][class*="__navTop"].jarvis-leftnav::-webkit-scrollbar { display: none !important; }
[class*="AppShell"][class*="__sessions"] { overflow: hidden !important; flex: 1 1 auto !important; min-height: 0 !important; padding: 0 6px 4px !important; -webkit-mask-image: none !important; mask-image: none !important; }
.jarvis-leftnav .jarvis-brand { font-family: Georgia, "Times New Roman", serif !important; font-size: 21px !important; font-weight: 700 !important; letter-spacing: -0.01em !important; color: #faf9f5 !important; min-height: 0 !important; padding: 0 6px 3px !important; line-height: 1.2 !important; }
.jarvis-leftnav .jarvis-group { font-size: 9px !important; letter-spacing: 0 !important; text-transform: uppercase !important; opacity: 0.75; min-height: 0 !important; padding: 4px 6px 2px !important; line-height: 1.2 !important; }
.jarvis-leftnav .jarvis-group:first-of-type { padding-top: 1px !important; }
[class*="AppShell"][class*="__navItem"] { height: 18px !important; min-height: 18px !important; flex-shrink: 0 !important; font-size: 11px !important; line-height: 16px !important; gap: 4px !important; padding: 0 4px !important; border-radius: 5px !important; }
[class*="AppShell"][class*="__navSlot"] { width: 16px !important; height: 16px !important; flex-shrink: 0 !important; }
[class*="AppShell"][class*="__navSlot"] svg { width: 12px !important; height: 12px !important; }
[class*="AppShell"][class*="__navItem"].jarvis-active { background: rgba(255,255,255,0.08) !important; }
/* Compact Pinned / Scheduled / Recents so they fit too. */
[class*="AppShell"][class*="__sectionHeader"] { min-height: 0 !important; padding: 4px 6px 2px !important; font-size: 9px !important; line-height: 1.2 !important; }
[class*="AppShell"][class*="__row"] { height: 18px !important; margin-bottom: 0 !important; }
[class*="AppShell"][class*="__rowIcon"] { width: 20px !important; height: 20px !important; }
[class*="AppShell"][class*="__rowSelect"] { gap: 2px !important; padding: 0 2px !important; }
[class*="AppShell"][class*="__footer"] { padding: 4px 6px !important; }
[class*="AppShell"][class*="__footerUser"] { height: 24px !important; }

/* Keep the demo independent from the actual workspace navigation. */
.jarvis-demo-container { --jarvis-demo-avatar: oklch(0 0 0); --jarvis-demo-selection: oklch(0.29 0.005 100); --jarvis-demo-text: oklch(0.84 0.005 100); }
.jarvis-demo-container { width: 212px !important; padding: 0 !important; flex-shrink: 0; }
.jarvis-demo-sidebar { width: 100% !important; height: 100% !important; min-height: 0 !important; border: 0 !important; }
.jarvis-demo-sidebar > div:first-child { height: 28px !important; justify-content: flex-start !important; padding: 0 10px !important; flex-shrink: 0 !important; }
.jarvis-demo-sidebar > div:first-child > span { display: block !important; }
.jarvis-demo-sidebar nav { display: flex !important; flex-direction: column !important; padding: 2px 5px !important; overflow: hidden !important; min-height: 0 !important; }
.jarvis-demo-sidebar nav > div { margin-top: 0 !important; }
.jarvis-demo-sidebar nav > div { flex-shrink: 0 !important; }
.jarvis-demo-sidebar nav div:not(:has(button)) { display: block !important; padding: 4px 7px 2px !important; margin: 0 !important; height: auto !important; min-height: 0 !important; line-height: 10px !important; font-size: 8px !important; }
.jarvis-demo-sidebar nav div:not(:has(button)) * { padding: 0 !important; margin: 0 !important; font-size: 8px !important; line-height: 10px !important; height: auto !important; min-height: 0 !important; }
.jarvis-demo-sidebar nav > div > div { padding: 0 7px !important; }
.jarvis-demo-sidebar nav button { pointer-events: auto !important; flex: 1 1 0 !important; width: 100% !important; height: auto !important; min-height: 0 !important; line-height: 14px !important; padding: 0 7px !important; gap: 7px !important; font-size: 10px !important; font-weight: 400 !important; justify-content: flex-start !important; color: var(--jarvis-demo-text) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.jarvis-demo-sidebar nav button span { display: block !important; text-align: left !important; width: auto !important; flex: 1 !important; min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.jarvis-demo-sidebar nav button svg { width: 12px !important; height: 12px !important; flex-shrink: 0 !important; }
.jarvis-demo-sidebar nav button:hover,
.jarvis-demo-sidebar nav button[data-demo-active],
.jarvis-demo-sidebar nav button:focus-visible { background: var(--jarvis-demo-selection) !important; color: var(--jarvis-demo-text) !important; border-radius: 4px !important; }
.jarvis-demo-sidebar [class$="__footer"] { display: flex; height: 32px; min-height: 32px; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding: 4px 9px; flex-shrink: 0; border-top: 1px solid var(--theme-border); }
.jarvis-demo-sidebar [class*="__footerUser"] { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jarvis-demo-sidebar [class*="__footerAvatar"] { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--jarvis-demo-avatar); }
.jarvis-demo-sidebar [class*="__footerAvatar"] svg { display: none; }
.jarvis-demo-sidebar [class*="__footerName"] { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jarvis-demo-sidebar [class*="__footerAction"] { display: flex; flex-shrink: 0; }
@media (max-width: 600px) { .jarvis-demo-container { width: 172px !important; } }
/* --- Layout fixes: compact sections that fit one screen --- */
#featureTerminal { padding-top: 56px !important; padding-bottom: 56px !important; }
#featureTerminal [class*="IntroBlock-module-scss-module__pE7t6q__introBlock"] { margin-bottom: 32px !important; padding-top: 0 !important; }
#featureTerminal [class*="Terminal-module-scss-module__gNncDq__body"] {
  overflow: hidden !important;
  height: min(36vh, 340px) !important;
  max-height: min(36vh, 340px) !important;
  scrollbar-width: none;
}
#featureTerminal [class*="Terminal-module-scss-module__gNncDq__body"]::-webkit-scrollbar { display: none; }

#faq { padding-top: 56px !important; padding-bottom: 56px !important; }
#faq [class*="IntroBlock-module-scss-module__pE7t6q__introBlock"] { margin-bottom: 24px !important; padding-top: 0 !important; }
#faq [class*="Faq-module-scss-module__XHzreq__trigger"] { padding-top: 16px !important; padding-bottom: 16px !important; }

/* Website Builder card: same size and alignment as its neighbours */
.jarvis-demo-col > article {
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  margin: 0 !important;
  transform: none !important;
  translate: none !important;
  box-sizing: border-box;
}
.jarvis-demo-col > .website-builder-demo + .jarvis-demo-cap,
.jarvis-demo-col .jarvis-demo-cap { margin-top: 0 !important; }

#featureTerminal, #faq { min-height: 0 !important; }
#featureTerminal > .container, #faq > .container { padding-top: 24px !important; padding-bottom: 24px !important; }
#featureTerminal [class*="borderTop"], #faq [class*="borderTop"] { margin: 0 !important; height: 1px !important; }
.jarvis-demo-col { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }
.jarvis-demo-col > .jarvis-demo-cap { margin-top: 0 !important; padding-top: 16px !important; }
.jarvis-demo-col { margin-top: 0 !important; transform: none !important; translate: none !important; align-self: start !important; top: 0 !important; }
.jarvis-demo-col:first-child { margin-top: 0 !important; }

/* Compact: Latest feature announcements + What developers are saying */
#changelog, #testimonials { padding-top: 56px !important; padding-bottom: 56px !important; min-height: 0 !important; }
#changelog > .container, #testimonials > .container { padding-top: 24px !important; padding-bottom: 24px !important; }
#changelog [class*="IntroBlock-module"], #testimonials [class*="IntroBlock-module"] { margin-bottom: 24px !important; padding-top: 0 !important; }
#changelog [class*="Changelog-module-scss-module__qvoCUq__items"] { gap: 16px !important; }
#changelog [class*="Changelog-module-scss-module__qvoCUq__gridCard"] { padding-top: 20px !important; padding-bottom: 20px !important; }
#changelog [class*="Changelog-module-scss-module__qvoCUq__gridCard"] p { font-size: 15px !important; line-height: 1.45 !important; }
#changelog [class*="Changelog-module-scss-module__qvoCUq__cta"] { margin-top: 20px !important; }
#testimonials [class*="Testimonials-module-scss-module__binVBa__list"] { gap: 16px !important; }
#testimonials [class*="TestimonialCard-module-scss-module__79UnCq__card"] { padding: 24px !important; }
#testimonials [class*="TestimonialCard-module-scss-module__79UnCq__quote"] { font-size: 15px !important; line-height: 1.5 !important; }
#changelog [class*="borderTop"], #testimonials [class*="borderTop"] { margin: 0 !important; height: 1px !important; }

/* Account avatar: a plain solid black circle, nothing drawn inside it (like the reference).
   The page's own SVG uses --color-olive for the disc and --color-oat for the
   figure, so both resolve to black and the figure disappears. */
:root {
  --color-olive: #000;
  --color-oat: #000;
}
.AppShell-module-scss-module__F71GCG__footerAvatar { background: #000; }
.AppShell-module-scss-module__F71GCG__footerAvatar svg path { display: none; }

/* Code Assistant card — replaces the JARVIS Dashboard demo in the middle column. */
.code-assistant-card { display:flex !important; flex-direction:column; overflow:hidden; border:1px solid rgba(255,255,255,.1); border-radius:13px; background:#0d0d0d !important; color:#e8e8e8; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.ca-body { display:flex; flex-direction:column; gap:10px; min-height:0; padding:14px 14px 6px; overflow:hidden; }
.ca-crumb { color:#8a8a8a; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ca-crumb b { color:#fff; font-weight:500; }
.ca-user { margin:0; padding:9px 12px; border-radius:9px; background:#18202e; color:#5ea0f5; font-size:11px; line-height:1.45; }
.ca-reply { margin:0; color:#d6d6d6; font-size:11px; line-height:1.5; }
.ca-reply code { padding:1px 5px; border-radius:4px; background:#262626; color:#fff; font:10px "IBM Plex Mono",monospace; }
.ca-step { color:#8a8a8a; font-size:11px; }
.ca-step b { color:#fff; font-weight:500; }
.ca-step .add { color:#5fc98a; } .ca-step .del { color:#e5605a; }
.ca-code { border:1px solid rgba(255,255,255,.1); border-radius:8px; background:#161616; }
.ca-code-name { padding:8px 11px; color:#cfcfcf; font-size:10px; }
.ca-composer { display:flex; align-items:center; gap:8px; margin:auto 12px 6px; padding:9px 11px; border:1px solid rgba(255,255,255,.14); border-radius:9px; background:#1a1a1a; }
.ca-composer input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:#eee !important; font:11px -apple-system,sans-serif !important; }
.ca-composer input::placeholder { color:#777; }
.ca-enter { color:#999; font-size:12px; }
.ca-foot { display:flex; justify-content:space-between; padding:0 14px 11px; color:#cfcfcf; font-size:10px; }
.ca-spin { display:inline-block; width:9px; height:9px; vertical-align:-1px; border:1.5px solid #3b82f6; border-right-color:transparent; border-radius:50%; }
