
  .kc-term-embed {
    --color-window-bg:#171717; --color-window-border:#474747; --color-text-white:#ffffff;
    --color-text-muted:rgba(255,255,255,0.7); --color-path:#64748b; --color-prompt:#94a3b8;
    --color-accent:#65ED74; --color-bullet-tool:#d97706; --color-info:#025dfe;
    --color-pill-bg:rgba(255,255,255,0.07); --color-divider:rgba(255,255,255,0.101961); --color-cursor:#ffffff;
    --space-x-lrg:32px; --space-2x-lrg:40px; --space-med:20px; --space-2x-sml:12px; --size-2x-sml:18px;
    --space-4x-sml:8px; --space-6x-sml:4px; --size-3x-sml:16px;
    --radius-lrg:12px; --radius-med:8px; --radius-log-entry:4px;
    --shadow-window:0px 32px 64px 0px rgba(0,0,0,0.25); --family-mono:'Geist Mono',ui-monospace,'SF Mono',Menlo,monospace;
    font-family:var(--family-mono); width:100%;
  }
  .kc-term-embed *, .kc-term-embed *::before, .kc-term-embed *::after { box-sizing:border-box; margin:0; padding:0; }
  .kc-term-embed .kc-sizer { position:relative; width:100%; max-width:800px; margin:0 auto; }
  .kc-term-embed .kc-stage { position:absolute; top:0; left:0; width:800px; height:540px; transform-origin:top left; }

  .kc-term-embed .terminal-window { width:800px; height:540px; background:var(--color-window-bg); border:1px solid var(--color-window-border); border-radius:var(--radius-lrg); box-shadow:var(--shadow-window); padding:var(--space-x-lrg); display:flex; flex-direction:column; gap:var(--space-x-lrg); align-items:flex-start; overflow:hidden; }
  .kc-term-embed .header { display:flex; gap:24px; align-items:center; flex-shrink:0; }
  .kc-term-embed .brand-mark { width:66px; height:66px; flex-shrink:0; }
  .kc-term-embed .brand-mark img { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
  .kc-term-embed .brand-info { display:flex; flex-direction:column; gap:var(--space-6x-sml); align-items:flex-start; white-space:nowrap; }
  .kc-term-embed .brand-title { font-weight:500; font-size:var(--space-med); line-height:1; letter-spacing:-.6px; color:var(--color-text-white); }
  .kc-term-embed .brand-path { font-weight:400; font-size:14px; line-height:normal; color:var(--color-path); }
  .kc-term-embed .log { flex:1 0 0; min-height:0; width:100%; display:flex; flex-direction:column; gap:var(--space-4x-sml); align-items:flex-start; overflow:hidden; }
  .kc-term-embed .log-row { display:flex; gap:var(--space-2x-sml); width:100%; align-items:flex-start; flex-shrink:0; border-radius:var(--radius-log-entry); }
  .kc-term-embed .bullet { font-size:var(--size-3x-sml); line-height:normal; white-space:nowrap; flex-shrink:0; }
  .kc-term-embed .body-text { font-size:var(--size-3x-sml); line-height:1.4; flex:1 1 0; min-width:0; white-space:pre-wrap; overflow-wrap:break-word; }
  .kc-term-embed .query-pill { padding:8px 12px; background:var(--color-pill-bg); }
  .kc-term-embed .query-pill .bullet { color:var(--color-prompt); }
  .kc-term-embed .query-pill .body-text { color:var(--color-text-white); }
  .kc-term-embed .reasoning { padding:8px 12px; }
  .kc-term-embed .reasoning .bullet { color:var(--color-prompt); }
  .kc-term-embed .reasoning .body-text { color:var(--color-text-muted); }
  .kc-term-embed .tool { padding:8px 12px; }
  .kc-term-embed .tool .bullet { color:var(--color-bullet-tool); }
  .kc-term-embed .tool .body-text { color:var(--color-accent); }
  .kc-term-embed .result { padding:8px 0 8px var(--space-2x-lrg); }
  .kc-term-embed .result .bullet { color:var(--color-bullet-tool); }
  .kc-term-embed .result .body-text { color:var(--color-text-muted); }
  .kc-term-embed .rootcause { display:flex; flex-direction:column; gap:var(--space-4x-sml); align-items:flex-start; width:100%; flex-shrink:0; }
  .kc-term-embed .rootcause-heading { font-weight:600; font-size:var(--size-2x-sml); line-height:1.4; color:var(--color-info); white-space:nowrap; }
  .kc-term-embed .answer-box { width:100%; box-sizing:border-box; background:rgba(2,93,254,0.1); border:1px solid var(--color-info); border-radius:var(--radius-med); padding:var(--space-2x-sml); }
  .kc-term-embed .answer-text { display:block; font-size:var(--size-3x-sml); line-height:1.4; color:var(--color-text-muted); white-space:pre-wrap; overflow-wrap:break-word; }
  .kc-term-embed .reveal { opacity:0; transform:translateY(6px); transition:opacity .42s cubic-bezier(.22,.61,.36,1), transform .42s cubic-bezier(.22,.61,.36,1); }
  .kc-term-embed .reveal.shown { opacity:1; transform:none; }
  .kc-term-embed .input-area { display:flex; flex-direction:column; gap:var(--space-4x-sml); align-items:flex-start; width:100%; flex-shrink:0; }
  .kc-term-embed .input-section { display:flex; flex-direction:column; gap:var(--space-4x-sml); align-items:flex-start; width:100%; flex-shrink:0; }
  .kc-term-embed .divider { width:100%; height:1px; background:var(--color-divider); flex-shrink:0; }
  .kc-term-embed .input-line { display:flex; gap:var(--space-2x-sml); align-items:center; width:100%; padding:8px 12px; }
  .kc-term-embed .input-line .bullet { color:var(--color-prompt); font-size:var(--size-3x-sml); line-height:normal; }
  .kc-term-embed .input-text { font-size:var(--size-3x-sml); line-height:1.4; color:var(--color-text-white); white-space:pre; }
  .kc-term-embed .cursor { width:10px; height:20px; background:var(--color-cursor); flex-shrink:0; animation:kc-blink 1.1s ease-in-out infinite; }
  @keyframes kc-blink { 0%,40% { opacity:1; } 50%,90% { opacity:0; } 100% { opacity:1; } }
  .kc-term-embed .typing .cursor { animation:none; opacity:1; }
  .kc-term-embed .accept-row { display:flex; align-items:flex-start; padding:0 12px; flex-shrink:0; }
  .kc-term-embed .accept-text { font-size:14px; line-height:normal; color:var(--color-text-muted); white-space:nowrap; }
  @media (prefers-reduced-motion: reduce) {
    .kc-term-embed .cursor { animation:none; }
    .kc-term-embed .reveal { transition:none; opacity:1; transform:none; }
  }

.kc-term-embed { margin-top:4rem; }
