:root{--background:#0b0b0c;--foreground:#f4f4f5;--muted:#18181b;--muted-foreground:#a1a1aa;--border:#27272a}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--background);color:var(--foreground);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,textarea{font:inherit}button{color:inherit}.portfolio-shell{display:grid;grid-template-columns:minmax(390px,var(--chat-width,42%)) 12px minmax(0,calc(100% - var(--chat-width,42%) - 12px));width:100%;height:100dvh;background:var(--background)}.chat-panel,.terminal-panel{min-width:0;min-height:0}.chat-panel{display:flex;flex-direction:column;background:var(--background)}.panel-header{height:58px;flex:0 0 58px;display:flex;align-items:center;gap:10px;padding:0 15px;border-bottom:1px solid var(--border);background:rgba(11,11,12,.94)}.brand-mark,.avatar{display:grid;place-items:center;border-radius:50%;background:#f4f4f5;color:#111113}.brand-mark{width:30px;height:30px}.brand-mark svg,.avatar svg{width:16px;fill:currentColor}.agent-title{min-width:0}.agent-title h1{margin:0 0 3px;font-size:12px;font-weight:600}.agent-title p{display:flex;align-items:center;gap:5px;margin:0;color:#71717a;font-size:9px}.status-dot{width:5px;height:5px;border-radius:50%;background:#22c55e}.language-switch{display:flex;margin-left:auto;padding:2px;border:1px solid var(--border);border-radius:7px;background:#111113}.language-switch button{width:28px;height:23px;padding:0;border:0;border-radius:5px;background:transparent;color:#71717a;font-size:8px;font-weight:650;cursor:pointer}.language-switch button.active{background:#27272a;color:#fafafa}.thread-viewport{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#34343a transparent}.thread-content{display:flex;width:100%;max-width:44rem;min-height:100%;margin:0 auto;padding:24px 22px 16px;flex-direction:column}.thread-content.thread-empty{justify-content:center}.agent-home{display:flex;flex-direction:column;align-items:center;padding:12px 10px 22px;text-align:center}.prompt-logo{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border:1px solid #303036;border-radius:14px;background:#18181b}.prompt-logo svg{width:22px;fill:currentColor}.agent-home h2{max-width:430px;margin:0;font-size:clamp(22px,2.1vw,30px);line-height:1.15;letter-spacing:-.03em;font-weight:600}.agent-home p{margin:10px 0 0;color:var(--muted-foreground);font-size:11px}.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;max-width:500px;margin-top:22px}.suggestions button{padding:9px 10px;border:1px solid #27272a;border-radius:10px;background:#111113;color:#d4d4d8;font-size:10px;text-align:left;cursor:pointer}.suggestions button:hover{border-color:#52525b;background:#18181b}.suggestions button:disabled{opacity:.45;cursor:wait}.message-list{display:flex;flex-direction:column;gap:22px}.message{display:flex;align-items:flex-start;gap:11px;width:100%}.message.user{justify-content:flex-end}.avatar{flex:0 0 28px;width:28px;height:28px;margin-top:1px}.message-body{display:flex;min-width:0;max-width:86%;flex-direction:column}.user .message-body{align-items:flex-end}.bubble{color:#e4e4e7;font-size:13px;line-height:1.65}.user .bubble{max-width:100%;padding:9px 13px;border-radius:18px 18px 4px;background:#27272a;color:#fafafa}.assistant .bubble{padding:3px 0}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p{margin:.55em 0}.markdown strong{color:#fafafa}.markdown h1,.markdown h2,.markdown h3{margin:1em 0 .45em;color:#fafafa;line-height:1.25}.markdown ul,.markdown ol{margin:.6em 0;padding-left:1.35em}.markdown a{color:#c4b5fd}.markdown code{padding:.16em .38em;border:1px solid #34343a;border-radius:5px;background:#18181b;color:#e9d5ff}.markdown pre{max-width:100%;padding:11px 12px;overflow-x:auto;border:1px solid #303036;border-radius:10px;background:#111113}.markdown pre code{padding:0;border:0;background:transparent}.markdown blockquote{margin:.75em 0;padding-left:.9em;border-left:3px solid #52525b;color:#a1a1aa}.markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.markdown th,.markdown td{padding:7px 9px;border:1px solid #303036}.message-actions{margin-top:4px;opacity:0}.message:hover .message-actions{opacity:1}.message-actions button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#71717a;cursor:pointer}.message-actions button:hover{background:#202023;color:#d4d4d8}.message-actions svg{width:13px;fill:currentColor}.typing{display:flex;align-items:center;gap:4px;min-height:26px}.typing i{width:5px;height:5px;border-radius:50%;background:#a1a1aa;animation:pulse 1.2s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}.typing em{margin-left:5px;color:#71717a;font-size:9px;font-style:normal}.thread-footer{flex:0 0 auto;padding:8px 15px 11px;border-top:1px solid #1f1f22}.composer{max-width:44rem;margin:0 auto}.composer-box{border:1px solid #34343a;border-radius:13px;background:#18181b;box-shadow:0 8px 28px #00000026}.composer textarea{display:block;width:100%;min-height:42px;max-height:120px;padding:11px 12px 5px;resize:none;border:0;outline:0;background:transparent;color:#f4f4f5;font-size:12px}.composer-actions{display:flex;align-items:center;gap:8px;padding:0 7px 7px 11px}.composer-actions span{min-width:0;margin-right:auto;overflow:hidden;color:#626269;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.composer-actions button{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:8px;background:#f4f4f5;color:#111113;cursor:pointer}.composer-actions button:disabled{background:#27272a;color:#52525b;cursor:not-allowed}.composer-actions svg{width:14px;fill:currentColor}.disclaimer{margin:7px 0 0;color:#52525b;font-size:8px;text-align:center}.splitter{position:relative;z-index:3;display:grid;place-items:center;width:12px;background:#11181c;cursor:col-resize;touch-action:none;transition:background .18s ease,box-shadow .18s ease}.splitter:before{content:"";position:absolute;top:0;right:5px;bottom:0;left:5px;background:#3a444a;transition:.18s}.splitter-grip{position:relative;display:flex;flex-direction:column;gap:3px;padding:7px 2px;border:1px solid #52646d;border-radius:5px;background:#18252c}.splitter-grip i{width:3px;height:3px;border-radius:50%;background:#86a09f}.splitter:hover,.splitter:focus-visible,.is-resizing .splitter{background:#172b2c;box-shadow:0 0 18px #4bdcb42e}.splitter:hover:before,.splitter:focus-visible:before,.is-resizing .splitter:before{background:#5bd2b2;transform:scaleX(1.35)}.is-resizing,.is-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.terminal-panel{display:flex;flex-direction:column;background:#1d2a35}.terminal-bar{display:flex;height:36px;flex:0 0 36px;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid #31424f;background:#14202a;color:#9fb1bd;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.window-dots{display:flex;gap:5px}.window-dots i{width:8px;height:8px;border-radius:50%;background:#ff5f57}.window-dots i:nth-child(2){background:#febc2e}.window-dots i:nth-child(3){background:#28c840}.portfolio-frame{width:100%;height:100%;border:0;background:#1d2a35}.terminal-loading{display:grid;flex:1;place-items:center;color:#8da1ad;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}.mobile-switch{display:none}@keyframes pulse{0%,80%,to{opacity:.28;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}@media (max-width:900px){.portfolio-shell{display:block;height:100dvh;padding-top:42px}.mobile-switch{position:absolute;z-index:8;top:0;left:0;display:grid;width:100%;height:42px;grid-template-columns:1fr 1fr;padding:5px;background:#0b0b0c;border-bottom:1px solid #27272a}.mobile-switch button{border:0;border-radius:7px;background:transparent;color:#71717a;font-size:10px}.mobile-switch button.active{background:#27272a;color:#fafafa}.chat-panel,.terminal-panel{display:none;height:calc(100dvh - 42px)}.chat-panel.mobile-active,.terminal-panel.mobile-active{display:flex}.splitter{display:none}.suggestions{grid-template-columns:1fr}.thread-content{padding:18px 14px}.panel-header{padding:0 12px}.language-switch button{width:26px}}
