@font-face{font-family:KDB;src:url('/fonts/kdb-sans.woff2') format('woff2');font-display:swap}@font-face{font-family:KDB;src:url('/fonts/kdb-sans-bold.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:KDBMono;src:url('/fonts/kdb-mono.woff2') format('woff2');font-display:swap}
*{box-sizing:border-box}html{color-scheme:light}body{--desktop:#006e72;--surface:#e9e7df;--ink:#20211f;--accent:#123aab;--paper:#faf7ec;--muted:#535650;--line:#a2a49a;margin:0;background:var(--desktop);color:var(--ink);font:18px/1.5 KDB,Arial,sans-serif;min-height:100svh;background-image:radial-gradient(#ffffff15 .8px,transparent .8px);background-size:6px 6px}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a,input{font:inherit}button{cursor:pointer}a{color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #e05a24;outline-offset:4px}button:focus-visible{position:relative;z-index:1}button{color:var(--ink)}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:20px;z-index:100;background:#fff;color:#111;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body>.kai-homebar{color:#fff}.desktop{width:min(1120px,calc(100% - 64px));margin:4px auto 32px}.brand{display:flex;align-items:center;gap:28px;color:#fff;margin:0 0 24px}.brand h1{font-size:clamp(50px,6vw,76px);letter-spacing:-.065em;line-height:.95;margin:0;font-weight:700}.brand-star{color:#f2dc57;font-size:.55em;vertical-align:top;display:inline-block;margin:0 0 0 8px;line-height:1.3}.brand p{margin:0}.brand div>p:first-child{font:13px/1.5 KDBMono,monospace;letter-spacing:.09em}.brand .tagline{font-size:17px;margin-top:3px;color:#e5f5ef}.assistant-window{position:relative;border:3px solid #f8f7ed;border-right-color:#192e32;border-bottom-color:#192e32;background:var(--surface);box-shadow:12px 12px 0 #003b3e90}.titlebar{display:flex;align-items:center;gap:10px;background:var(--accent);color:#fff;padding:8px 12px;font:14px/1.4 KDBMono,monospace;border-bottom:3px solid #fff}.window-icon{width:22px;height:22px;background:#f5df58;color:#111;text-align:center;font-weight:700;font-size:16px;line-height:22px}.window-grip{margin-left:auto;opacity:.65}.window-body{display:grid;grid-template-columns:39% 61%;min-height:500px}.portrait-panel{position:relative;display:flex;flex-direction:column;background:var(--paper);border-right:1px solid var(--line);margin:20px 0 20px 20px;overflow:hidden}.employee-label{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;font:12px/1.4 KDBMono,monospace;letter-spacing:.06em;border-bottom:1px solid #20211f30}.employee-mark{font-size:24px;line-height:1}.portrait-stage{isolation:isolate;position:relative;flex:1;min-height:300px;display:grid;place-items:center;overflow:hidden;padding:12px}.portrait-disc{position:absolute;z-index:-1;inset:14px;background:#a8c7d4;border:2px solid;border-color:#657883 #fff #fff #657883}.character-portrait{display:block;width:100%;height:auto;max-width:355px;max-height:355px;aspect-ratio:1;object-fit:contain;position:relative}[data-system=office] .character-portrait,[data-system=root] .character-portrait{image-rendering:pixelated}.employee-caption{border-top:1px solid #20211f30;padding:14px 18px;background:var(--paper);position:relative}.employee-caption strong{display:block;font-size:14px;font-weight:700}.employee-caption span{display:block;font:12px/1.5 KDBMono,monospace;color:var(--muted);margin-top:3px}.conversation{padding:28px 34px 24px;display:flex;flex-direction:column;justify-content:center;min-width:0}.scene-meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;font:12px/1.4 KDBMono,monospace;color:var(--muted);margin-bottom:16px}.speaker{color:var(--accent);font-weight:700}.conversation h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;line-height:1.08;margin:0 0 16px;outline:none;text-wrap:balance}.speech p{margin:0 0 13px;font-size:18px;line-height:1.5}.reply-label{font:12px/1.4 KDBMono,monospace;color:var(--muted);margin:12px 0 8px}.choices{display:grid;gap:9px}.choice,.panel-button{display:block;text-align:left;font-size:16px;line-height:1.35;padding:12px 16px;min-height:46px;border:2px solid;border-color:#fff #70736c #70736c #fff;box-shadow:1px 1px 0 #555;background:#f3f1e9;font-weight:700;text-decoration:none}.choice:first-child{background:#f1dc60}.choice:hover,.panel-button:hover{background:#fff}.choice:active,.panel-button:active{transform:translate(1px,1px);box-shadow:none}.inline-note{font:13px/1.4 KDBMono,monospace;color:var(--muted);margin:10px 0 0}.inline-note:empty{display:none}.policy-notice{font:13px/1.5 KDBMono,monospace;border-left:4px solid var(--accent);padding:12px;background:#e5e900;margin:3px 0 12px;color:#111}.window-status{display:flex;justify-content:space-between;gap:18px;font:12px/1.4 KDBMono,monospace;padding:9px 14px;border-top:1px solid var(--line);color:var(--muted)}.desktop-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:22px;color:#fff}.experience-note{font-size:14px;margin:0}.experience-note span{font-size:12px;opacity:.8}.tools{display:flex;gap:6px;flex-shrink:0}.tools button{font:14px/1.4 KDBMono,monospace;min-height:44px;padding:8px 12px;color:inherit;border:1px solid #ffffff80;background:transparent}.tools button:hover:enabled{background:#ffffff20}#notes-count:not(:empty){display:inline-block;background:#f1dc60;color:#111;min-width:17px;line-height:18px;text-align:center;margin-left:7px;font-size:12px}.paper-stamp,.off-duty-stamp{display:none}.system-transition{position:fixed;z-index:40;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;background:#071e25ed;color:#e8f5e8;pointer-events:none;visibility:hidden;opacity:0;font:14px/1.6 KDBMono,monospace;padding:24px;text-align:center}.system-transition strong{font-size:clamp(20px,5vw,30px);line-height:1.3}.system-transition i{display:block;width:180px;height:5px;background:linear-gradient(90deg,#e8de5a 50%,#365456 50%);background-size:200% 100%}.is-changing .system-transition{visibility:visible;opacity:1}.is-changing .system-transition i{animation:load .75s linear both}@keyframes load{from{background-position:100%}to{background-position:0}}.scene-in{animation:arrive .28s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
/* Each system has its own native character artwork. The terminal is genuinely drawn in phosphor pixels. */
[data-system=root]{--desktop:#050f0b;--surface:#09160e;--paper:#081b0e;--ink:#9aee91;--muted:#8db28e;--accent:#8cea83;--line:#396c3e;background-size:4px 4px;font-family:KDBMono,monospace}[data-system=root] .assistant-window{border:1px solid #75bd6a;box-shadow:0 0 40px #56c9500a}[data-system=root] .titlebar{background:#132b18;color:var(--ink);border-bottom:1px solid #396c3e}[data-system=root] .window-icon{background:var(--ink);color:#09160e}[data-system=root] .portrait-disc{background:#051009;border:1px solid #30592d}[data-system=root] .portrait-stage:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 2px,#001c1450 2px 4px);pointer-events:none}[data-system=root] .conversation h2{font-size:32px;letter-spacing:-.045em}[data-system=root] .speech p{font-size:17px}[data-system=root] .choice{background:transparent;color:var(--ink);border:1px solid #4d8352;box-shadow:none}[data-system=root] .choice:first-child{background:#94e78b;color:#06130a}[data-system=root] .choice:hover{background:#1c4222;color:#bcffac}
/* The comfort update. */
[data-system=aqua]{--desktop:#b7d6ef;--surface:#f5faff;--paper:#e3f0fc;--ink:#193b5c;--accent:#225fa3;--muted:#45637c;--line:#b6d3e8;background-image:radial-gradient(ellipse at 80% 0,#fff9,transparent 65%),linear-gradient(145deg,#dceefb,#83abd3)}[data-system=aqua]>.kai-homebar,[data-system=aqua] .brand,[data-system=aqua] .desktop-footer,[data-system=aqua] .tagline{color:#153653}[data-system=aqua] .assistant-window{border-radius:16px;border:1px solid #fff;overflow:hidden;box-shadow:0 16px 60px #31547840,inset 0 0 0 2px #83acc9}[data-system=aqua] .titlebar{background:linear-gradient(#e4f4ff,#a0c9ee);color:#20486e;border-bottom:1px solid #89aed0;padding:12px}[data-system=aqua] .portrait-panel{border-radius:12px;border:none}[data-system=aqua] .portrait-disc{inset:24px;border-radius:22px;border:1px solid #f8fcff;background:linear-gradient(#f9fdff,#b4d5f1);box-shadow:inset 0 0 0 1px #91b7d5,0 8px 18px #628baa20}[data-system=aqua] .portrait-stage{place-items:center}[data-system=aqua] .choice{border-radius:30px;border:1px solid #aac6df;background:linear-gradient(#fff,#d1e5f7);color:#163956;box-shadow:inset 0 1px #fff}[data-system=aqua] .choice:first-child{background:linear-gradient(#368ce0,#16549e);color:white}[data-system=aqua] .tools button{border-color:#2d5b7d80}
/* A mandatory cheerful profile. */
[data-system=social]{--desktop:#11101c;--surface:#1c1c2b;--paper:#171725;--ink:#fafaff;--muted:#b6b8cf;--accent:#7cbbff;--line:#404159;background-image:radial-gradient(ellipse at 90% 0,#403065,transparent 60%)}[data-system=social] .assistant-window{border:1px solid #676179;border-radius:20px;box-shadow:0 20px 70px #0008;overflow:hidden}[data-system=social] .titlebar{background:linear-gradient(110deg,#009fe5,#8364e2,#f06d8b);border:none;color:#fff;padding:14px}[data-system=social] .portrait-panel{border:0;border-radius:12px}[data-system=social] .portrait-disc{border:0;inset:26px 18px;background:radial-gradient(ellipse at center,#50426770,transparent 70%)}[data-system=social] .portrait-stage{place-items:center}[data-system=social] .speech p{background:#1867d9;border-radius:18px 18px 18px 3px;padding:13px 16px;font-size:17px}[data-system=social] .choice{background:#2b2c43;border:1px solid #606784;border-radius:14px;box-shadow:none;color:#fff}[data-system=social] .choice:first-child{background:#1867d9;border-color:#69a5ff}[data-system=social] .choice:hover{background:#40466b}
/* Management removes the decoration. */
[data-system=enterprise]{--desktop:#e9ebed;--surface:#fff;--paper:#f4f5f5;--ink:#151719;--muted:#565b5d;--accent:#141719;--line:#c3c7c8;background-image:none}[data-system=enterprise]>.kai-homebar,[data-system=enterprise] .brand,[data-system=enterprise] .desktop-footer,[data-system=enterprise] .tagline{color:#151719}[data-system=enterprise] .brand-star{color:#151719}[data-system=enterprise] .assistant-window{border:1px solid #151719;box-shadow:none}[data-system=enterprise] .titlebar{background:#e3f451;color:#141719;border-bottom:1px solid #151719}[data-system=enterprise] .window-icon{background:#151719;color:#e3f451}[data-system=enterprise] .portrait-panel{border:0}[data-system=enterprise] .portrait-disc{inset:24px;border:1px solid #c3c7c8;background:#e9ecec}[data-system=enterprise] .portrait-stage{place-items:center}[data-system=enterprise] .choice{background:white;border:1px solid #151719;box-shadow:none}[data-system=enterprise] .choice:first-child{background:#e3f451}[data-system=enterprise] .choice:hover{background:#f1f3df}[data-system=enterprise] .tools button{border-color:#2228}
/* The output tray. */
[data-system=paper]{--desktop:#232523;--surface:#f5f1e7;--paper:#eae4d6;--ink:#282925;--muted:#63635b;--accent:#3b403a;--line:#aca99d;background-size:3px 3px}[data-system=paper] .assistant-window{border:1px solid #8b8d82;box-shadow:12px 12px 0 #0005}[data-system=paper] .titlebar{background:#393d37;color:#f6f2e7;border-bottom:4px solid #111}[data-system=paper] .window-icon{background:#f4f0e2}[data-system=paper] .portrait-panel{margin:20px 10px 20px 20px;transform:rotate(-2deg);border:0;box-shadow:3px 6px 0 #0001;background:var(--paper)}[data-system=paper] .portrait-panel:after{content:'';position:absolute;inset:0;pointer-events:none;border-left:13px dotted var(--surface);border-right:13px dotted var(--surface)}[data-system=paper] .portrait-disc{display:none}[data-system=paper] .character-portrait{max-width:320px}[data-system=paper] .paper-stamp{display:block;position:absolute;right:20px;bottom:20px;border:3px solid #b53525;color:#b53525;font:700 21px/1 KDBMono,monospace;padding:8px;transform:rotate(-12deg);background:#f0e7dccc}[data-system=paper] .choice{border:1px solid #4c5046;box-shadow:none;background:#ebe5d5}[data-system=paper] .choice:first-child{background:#373e33;color:#fff}.on-break .character-portrait{opacity:.65}.on-break .off-duty-stamp{display:block;position:absolute;top:50%;padding:10px 20px;background:#f7dc51;color:#202820;transform:rotate(-8deg);font:700 20px/1.3 KDBMono,monospace;border:2px solid #202820}
/* One accessible panel holds notes, options and the transcript. */
dialog{width:min(580px,calc(100% - 32px));max-height:85svh;border:2px solid #191e25;padding:0;background:#f5f3ed;color:#232622;box-shadow:12px 12px 0 #0005}dialog::backdrop{background:#031d25b8}.drawer-titlebar{display:flex;align-items:center;justify-content:space-between;padding:7px 10px 7px 20px;background:#153aab;color:white;position:sticky;top:0;z-index:1}.drawer-titlebar h2{font:700 17px/1.4 KDB,Arial,sans-serif;margin:0}.drawer-titlebar button{background:transparent;border:0;color:white;font-size:30px;width:44px;height:44px;line-height:1}.drawer-body{padding:24px;font-size:17px}.drawer-body p{margin:0 0 16px}.drawer-body h3{font-size:21px;margin:24px 0 10px}.drawer-body h3:first-child{margin-top:0}.drawer-body .panel-button{width:100%;margin:10px 0}.note-text{white-space:pre-wrap;background:#fff;border:1px solid #adb2a4;padding:16px;font:16px/1.55 KDB,Arial,sans-serif;width:100%;min-height:230px;resize:vertical;color:#232622}.note-links{list-style:none;margin:0;padding:0}.note-links li{padding:12px 0;border-bottom:1px solid #c5c9c0}.note-links a{font-weight:700;text-decoration-thickness:1px;text-underline-offset:4px}.note-links small{display:block;font-size:15px}.history-entry{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #c4c8bf}.history-entry>small{font:12px/1.4 KDBMono,monospace}.history-entry h3{margin:7px 0}.history-entry .reply{border-left:3px solid #3158b5;padding-left:12px;color:#3158b5}.panel-note{font-size:14px;color:#535b50}.download-row{display:grid;gap:8px}.drawer-body hr{border:0;border-top:1px solid #bbc0b5;margin:24px 0}
@media(min-width:1400px){.desktop{margin-top:22px}.window-body{min-height:530px}.character-portrait{max-height:390px;max-width:390px}.conversation{padding:32px 42px}}
@media(max-width:760px){.desktop{width:calc(100% - 32px);margin-top:0}.brand{gap:16px;margin:4px 0 20px}.brand h1{font-size:52px}.brand div>p:first-child{font-size:11px;letter-spacing:.03em}.brand .tagline{font-size:14px;line-height:1.3}.window-body{grid-template-columns:34% 66%}.portrait-panel{margin:12px 0 12px 12px}.conversation{padding:24px}.scene-meta{font-size:11px}.speaker{display:none}.employee-caption{padding:12px}.employee-caption strong{font-size:12px}.employee-label{padding:12px 10px;font-size:10px}.employee-mark{display:none}.portrait-stage{min-height:240px}.desktop-footer{align-items:flex-start;flex-direction:column;gap:14px}.tools{width:100%}.tools button{flex:1}}
@media(max-width:560px){.desktop{width:calc(100% - 24px);margin-bottom:24px}.brand{padding:0 5px;margin:0 0 16px;gap:15px}.brand h1{font-size:45px}.brand div>p:first-child{font-size:10px}.brand .tagline{font-size:13px}.brand-star{margin-left:4px}.assistant-window{box-shadow:5px 5px 0 #003b3e90}.titlebar{font-size:12px;padding:7px 10px;border-bottom-width:2px}.window-body{display:flex;flex-direction:column;min-height:0}.portrait-panel{display:grid;grid-template-columns:42% 58%;grid-template-rows:auto auto;height:132px;min-height:132px;margin:14px 16px 0;border:1px solid var(--line)}.employee-label{grid-column:2;grid-row:1;border:none;padding:14px 10px 0;font-size:10px;align-items:end}.portrait-stage{grid-column:1;grid-row:1/3;min-height:0;max-height:130px;padding:4px}.portrait-disc{inset:7px}.character-portrait{width:100%;max-width:126px;max-height:126px}.employee-caption{grid-column:2;grid-row:2;border:none;padding:6px 10px 12px;background:transparent}.employee-caption strong{font-size:13px;line-height:1.35}.employee-caption span{font-size:11px}.conversation{padding:22px 20px 20px}.scene-meta{margin-bottom:12px;font-size:11px}.conversation h2{font-size:29px;line-height:1.08;margin-bottom:14px}.speech p{font-size:17px;line-height:1.45;margin-bottom:12px}.choice{font-size:16px;padding:12px;min-height:46px}.reply-label{font-size:11px;margin-top:9px}.window-status{font-size:10px;padding:8px 10px;gap:8px}.window-status span{max-width:50%}.window-status span:last-child{text-align:right}.desktop-footer{padding-top:18px;gap:13px}.experience-note{font-size:12px}.experience-note span{font-size:11px}.tools button{font-size:13px}.experience-note br{display:none}.experience-note span:before{content:' '}[data-system=root] .conversation h2{font-size:27px}[data-system=root] .speech p{font-size:16px}[data-system=social] .speech p{font-size:16px}[data-system=paper] .portrait-panel{margin:16px 20px 0;transform:rotate(-1deg);min-height:136px;height:136px}[data-system=aqua] .portrait-disc,[data-system=enterprise] .portrait-disc{inset:7px}[data-system=aqua] .portrait-disc{border-radius:10px}[data-system=paper] .paper-stamp{font-size:11px;border-width:2px;padding:5px;bottom:10px;right:3px}[data-system=paper] .portrait-panel:after{border-width:7px}.on-break .off-duty-stamp{font-size:11px;padding:6px;width:100%;text-align:center}.drawer-body{padding:20px}}
@media(max-width:350px){.brand .tagline{max-width:155px}.brand h1{font-size:39px}.conversation{padding:18px 15px}.portrait-panel{margin:12px 12px 0}.conversation h2{font-size:26px}.employee-caption span{font-size:10px}.window-grip{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.system-transition{display:none!important}}.effects-off *{animation:none!important}.effects-off .system-transition{display:none!important}

/* Keep the wordmark intact on phones and avoid tiling full-screen gradients. */
.brand h1{flex:none;white-space:nowrap}.brand>div{min-width:0}.brand-star{width:.55em;height:.55em;margin-top:.08em;vertical-align:top;line-height:1}.brand-star svg{display:block;width:100%;height:100%}
[data-system=aqua],[data-system=social]{background-size:cover;background-repeat:no-repeat}

/* Quiet, contextual research controls; the replies remain the main path. */
.research-tools{margin-top:20px;padding-top:13px;border-top:1px solid var(--line)}
.research-tools>span{display:block;font:11px/1.5 KDBMono,monospace;color:var(--muted);margin-bottom:5px}
.research-tools>div{display:flex;flex-wrap:wrap;gap:3px 16px}
.research-tools button{background:transparent;border:0;padding:8px 0;min-height:44px;color:var(--ink);font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:4px}
.research-tools button[aria-pressed=true]{font-weight:700}
.source-card{border-top:1px solid #bec5b9;padding:17px 0}.source-card h3{margin:0;font-size:18px}.source-card a{overflow-wrap:anywhere;text-underline-offset:4px}.source-card .source-meta{font:12px/1.6 KDBMono,monospace;color:#535b50;margin:9px 0}.source-card p:last-child{margin-bottom:0}
.topic-list .panel-button{font-weight:400;margin:6px 0;padding:12px 14px}.saved-thought{display:flex;gap:8px;align-items:center}.saved-thought .panel-button{flex:1}.remove-thought{min-height:44px;border:0;background:transparent;color:#5d3c32;font-size:13px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:560px){.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tools button{padding:9px}.research-tools{margin-top:16px}.research-tools>div{gap:0 12px}.research-tools button{font-size:12px}.saved-thought{align-items:stretch}.saved-thought .panel-button{font-size:15px}}
