@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");:root{--brand-700:#0078b5;--brand-600:#0097d5;--brand-500:#08aee3;--brand-300:#8ddfff;--accent-500:#ffc927;--surface-1:#ffffff;--surface-2:#f5f9fc;--line-1:#d7e5ef;--line-2:#c6dae8;--ink-900:#112d42;--ink-800:#2a4255;--ink-700:#345167;--ink-600:#4d6b82;--ink-500:#67839a;--danger-500:#d1475a;--danger-100:#fff1f4;--shadow-1:0 22px 52px -28px rgb(15 43 74/45%);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-pill:999px;--duration-fast:120ms;--duration-base:180ms;--duration-slow:280ms;--status-ok-bg:rgba(53,163,104,0.12);--status-ok-border:rgba(53,163,104,0.20);--status-ok-text:#2f8d59;--status-warn-bg:rgba(245,158,11,0.14);--status-warn-border:rgba(245,158,11,0.22);--status-warn-text:#b77206;--status-error-bg:rgba(215,76,101,0.12);--status-error-border:rgba(215,76,101,0.20);--status-error-text:#c74a63;--status-info-bg:rgba(8,174,227,0.10);--status-info-border:rgba(8,174,227,0.18);--status-info-text:var(--brand-700);--sidebar-width:0px;--nav-height:60px}@media (min-width:960px){:root{--sidebar-width:64px}}*,:after,:before{box-sizing:border-box}body,html{height:100vh;width:100%;margin:0;overflow:hidden}body{color:var(--ink-900);background:radial-gradient(860px 480px at 88% -8%,rgb(255 201 39/10%) 0,transparent 44%),linear-gradient(180deg,#0ca7df,#099ed5 32%,#cde8f4 50%,#ecf4f9)}body,h1,h2,h3{font-family:Manrope,Avenir Next,Avenir,Segoe UI,sans-serif}h1,h2,h3{margin:0;font-weight:800;letter-spacing:.01em}button,input,select,textarea{font:inherit}select{width:100%;min-height:48px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--line-2);border-radius:14px;padding:11px 42px 11px 13px;background:linear-gradient(180deg,#ffffff,#f7fbff);color:var(--ink-900);font-size:1rem;font-weight:600;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-shadow:inset 0 1px 0 rgb(255 255 255/90%);transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}textarea{border:1px solid var(--line-2);border-radius:14px;padding:12px}input,textarea{width:100%;background:#fff;color:var(--ink-900);transition:border-color .14s ease,box-shadow .14s ease}input{min-height:44px;border:1px solid var(--line-2);border-radius:12px;padding:10px 12px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px rgb(8 174 227/20%)}input:disabled,select:disabled{background:#eef4f8;color:#7a95a8;cursor:not-allowed}select option{color:var(--ink-900)}textarea{min-height:54px;max-height:220px;resize:none;line-height:1.45}textarea::placeholder{color:#839aad}button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:9px 18px;min-height:40px;font-size:.88rem;font-weight:700;letter-spacing:.01em;line-height:1.15;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,background .14s ease,filter .14s ease}button.btn-sm{padding:7px 14px;font-size:.82rem;min-height:34px}button.btn-lg{padding:11px 22px;font-size:.92rem;min-height:44px}button.button-default,button:where(:not([class])){background:linear-gradient(150deg,#009ED8,#006fa8);color:#fff;box-shadow:0 4px 14px -4px rgba(0,120,180,.38)}button.button-default:hover:not(:disabled),button:where(:not([class])):hover:not(:disabled){background:linear-gradient(150deg,#00b5f2,#007fc0);box-shadow:0 6px 18px -4px rgba(0,120,180,.5);transform:translateY(-1px)}button.secondary{border:1.5px solid #c5d9e6;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);color:var(--ink-700);box-shadow:0 2px 8px -2px rgba(0,40,80,.12)}button.secondary:hover:not(:disabled){border-color:#99bace;background:linear-gradient(150deg,#eaf4fb,#ddeef8);color:var(--ink-900);transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}button.button-default:disabled,button.secondary:disabled,button:where(:not([class])):disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none;filter:none}button.button-reset{background:transparent;border:none;color:var(--ink-500);padding:4px 8px;font-weight:600;box-shadow:none}button.button-reset:hover:not(:disabled){color:var(--ink-800);background:rgba(0,40,80,.05)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:rgb(228 238 246/78%);border-radius:10px}::-webkit-scrollbar-thumb{background:rgb(127 167 194/80%);border-radius:10px}::-webkit-scrollbar-thumb:hover{background:rgb(102 147 178/88%)}.chatkit-shell{position:fixed;z-index:1;top:var(--nav-height);left:var(--sidebar-width,0);right:0;bottom:0;padding:clamp(10px,1.1vw,16px);display:flex;align-items:stretch;gap:clamp(10px,1vw,14px);overflow:hidden}.chat-column,.left-rail,.timeline-column{min-height:0;height:100%;align-self:stretch;border:1px solid var(--line-1);border-radius:20px}.left-rail,.timeline-column{background:var(--surface-2);box-shadow:0 12px 32px -22px rgb(15 43 74/28%)}.chat-column{background:var(--surface-1);box-shadow:var(--shadow-1)}.left-rail{flex-shrink:0}.shell-panel{position:relative;overflow:hidden}.left-rail{min-width:260px;max-width:480px;width:320px}.left-rail,.left-rail-scroll{display:flex;flex-direction:column}.left-rail-scroll{overflow-y:auto;overflow-x:hidden;padding:18px;gap:14px;flex:1 1;min-height:0}.left-rail h1{font-size:clamp(1.05rem,1.2vw,1.35rem);line-height:1.06;color:#0f3858;margin:0;padding-left:0;font-weight:800;text-align:left}.brand-chip{position:absolute;top:18px;left:18px;width:-moz-fit-content;width:fit-content;padding:5px 11px;border-radius:999px;background:var(--accent-500);color:#4b3400;font-size:.72rem;font-weight:800;letter-spacing:.02em;z-index:1}.muted{color:var(--ink-500)}.agent-picker{display:grid;grid-gap:6px;gap:6px}.agent-picker-label{font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-500)}.agent-select-wrap{position:relative}.agent-select-wrap:after{content:"";position:absolute;top:50%;right:14px;width:10px;height:10px;border-right:2px solid #57758c;border-bottom:2px solid #57758c;transform:translateY(-62%) rotate(45deg);pointer-events:none}.agent-select-wrap:hover select:not(:disabled){border-color:#a5c8de}.agent-select-wrap:focus-within select{border-color:var(--brand-500);box-shadow:0 0 0 3px rgb(8 174 227/20%)}.agent-select-wrap.is-disabled:after{border-color:#95aebe}.agent-card{padding:13px;border-radius:14px;border:1px solid #bde1f3;background:linear-gradient(180deg,#eef8fd,#f7fbff)}.runtime-controls{display:grid;grid-gap:8px;gap:8px}.agent-card-title{font-size:1.05rem;font-weight:800;color:#113a59}.agent-card-meta{margin-top:4px;color:#507088;font-size:.93rem;line-height:1.3}.session-controls{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.session-controls .control-wide{grid-column:1/-1}.session-controls button{min-height:48px;border-radius:16px;font-size:.99rem;font-weight:700}.status-stack{margin-top:auto;padding-top:10px;border-top:1px solid var(--line-1);display:grid;grid-gap:8px;gap:8px}.status-row{padding:8px 10px;border-radius:10px;border:1px solid var(--line-1);background:var(--surface-2);color:#3e5e76;font-size:.88rem;display:grid;grid-gap:4px;gap:4px;overflow-wrap:anywhere}.chat-column{overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-width:380px}.chat-header{padding:18px 20px;border-bottom:1px solid var(--line-1);display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-header h2{font-size:clamp(1.42rem,1.8vw,2rem);line-height:1.06;color:#0f3757;margin:0;font-weight:800}.chat-stream{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#f3f9fd,#fbfdff 22%,#ffffff)}.chat-stream-landing{justify-content:center;padding-block:clamp(28px,7vh,76px)}.chat-stream>*{min-width:0}.timeline-column{min-width:260px;container-type:inline-size;container-name:timeline-panel}.timeline-column,.timeline-scroll{display:flex;flex-direction:column}.timeline-scroll{overflow-y:auto;overflow-x:hidden;padding:18px;gap:12px;flex:1 1;min-height:0}.timeline-column h3{font-size:clamp(1.05rem,1.2vw,1.35rem);color:#113a59;margin:0 0 12px;padding:0;line-height:1.06;font-weight:800}.timeline-list{margin:0;padding:0;list-style:none;display:grid;grid-gap:10px;gap:10px}.timeline-groups{display:grid;grid-gap:12px;gap:12px}.timeline-turn{overflow:hidden;border:1px solid var(--line-1);border-radius:14px;background:#fff}.timeline-turn-summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;background:var(--surface-2);color:var(--ink-600);cursor:pointer;list-style:none;font-size:.82rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.timeline-turn-summary::-webkit-details-marker{display:none}.timeline-turn-summary:hover{background:#eef7fc}.timeline-turn-summary:focus-visible{outline:2px solid var(--brand-600);outline-offset:-2px}.timeline-turn:not([open]) .timeline-group-chevron svg{transform:rotate(-90deg)}.timeline-turn-label{flex:1 1}.timeline-turn-body{padding:10px;border-top:1px solid var(--line-1);display:grid;grid-gap:10px;gap:10px}.timeline-group{overflow:hidden;border:1px solid var(--line-1);border-radius:14px;background:#fff}.timeline-group-summary{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px;background:var(--surface-2);color:var(--ink-900);cursor:pointer;list-style:none}.timeline-group-summary::-webkit-details-marker{display:none}.timeline-group-summary:hover{background:#eef7fc}.timeline-group-summary:focus-visible{outline:2px solid var(--brand-600);outline-offset:-2px}.timeline-group-chevron{display:inline-flex;color:var(--ink-500)}.timeline-group-chevron svg{transition:transform .2s ease}.timeline-group:not([open]) .timeline-group-chevron svg{transform:rotate(-90deg)}.timeline-group-title{flex:1 1;font-size:.92rem;font-weight:800}.timeline-group-count{min-width:24px;padding:2px 7px;border-radius:999px;background:#dcecf6;color:var(--ink-700);font-size:.72rem;font-weight:800;text-align:center}.timeline-group-meta{color:var(--ink-500);font-size:.78rem;font-weight:800;white-space:nowrap}.timeline-group-body{padding:10px;border-top:1px solid var(--line-1)}.timeline-inline-tools{margin:10px 0 0;list-style:none;display:grid;grid-gap:8px;gap:8px;border-left:2px solid var(--line-1);padding:0 0 0 12px}.timeline-list-controls{display:flex;gap:8px;margin:0 0 10px}.timeline-list-control-btn{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #c5d9e6;border-radius:999px;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);color:var(--ink-700);font-size:.82rem;font-weight:700;min-height:34px;padding:7px 14px;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease}.timeline-list-control-btn:hover:not(:disabled){background:linear-gradient(150deg,#eaf4fb,#ddeef8);border-color:#99bace;transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}.timeline-list-control-btn:disabled{opacity:.45;cursor:not-allowed}.timeline-item{position:relative;border:1px solid var(--line-1);border-radius:12px;padding:10px 40px 10px 10px;background:var(--surface-2);overflow-x:auto;min-width:0}.timeline-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;grid-gap:10px;gap:10px}.timeline-top strong{font-size:.98rem;font-weight:800;color:var(--ink-900);line-height:1.2;overflow-wrap:anywhere;word-break:normal;min-width:0}.timeline-top-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;min-width:0}@container timeline-panel (max-width: 420px){.timeline-top{grid-template-columns:minmax(0,1fr);gap:6px}.timeline-top-badges{justify-content:flex-start}.timeline-agent{max-width:24ch}}.timeline-status{flex-shrink:0;border-radius:999px;padding:3px 8px;font-size:.69rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.status-ok .timeline-status,.timeline-status.status-ok{background:#dff7ea;color:#1c7c4b}.status-error .timeline-status,.timeline-status.status-error{background:#ffe6ea;color:#b43046}.status-running .timeline-status,.timeline-status.status-running{background:#e4f3fd;color:#0f6ea7}.timeline-agent,.waterfall-agent{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:3px;padding:2px 6px;font-size:.67rem;font-weight:600;letter-spacing:.01em;background:rgb(0 0 0/4%);color:var(--text-secondary,#6b7280);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid rgb(0 0 0/7%)}.timeline-agent{max-width:18ch}.timeline-cache{border-radius:999px;padding:3px 8px;font-size:.65rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.timeline-cache.cache-hit{background:#e9f7ef;color:#11623a}.timeline-cache.cache-live{background:#e9f1ff;color:#1f4fa8}.timeline-collapse-btn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:6px;padding:0;background:transparent;color:var(--ink-400);cursor:pointer;transition:color .15s ease,background .15s ease}.timeline-collapse-btn svg{transition:transform .2s ease;transform:rotate(0deg)}.timeline-collapse-btn.is-collapsed svg{transform:rotate(-90deg)}.timeline-collapse-btn:hover{color:var(--brand-600);background:rgb(8 174 227/8%)}.timeline-meta{margin-top:4px;font-size:.82rem;color:var(--ink-500)}.timeline-arguments{background:#f9fafb;color:#374151;font-size:.75rem;font-family:SF Mono,Menlo,Monaco,Courier New,monospace;max-height:150px}.timeline-list pre{margin:0;overflow:auto;padding:8px;background:#fff;color:var(--ink-700);font-size:.79rem;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;transition:max-height .2s ease}.timeline-payload{margin-top:8px;overflow:hidden;border:1px solid var(--line-1);border-radius:9px;background:#fff}.timeline-payload-input{border-color:#e5e7eb;background:#f9fafb}.timeline-payload-header{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:4px 6px 4px 10px;border-bottom:1px solid var(--line-1);color:var(--ink-500);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.timeline-copy-btn{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:4px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink-500);font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer}.timeline-copy-btn svg{width:14px;height:14px}.timeline-copy-btn:hover{border-color:#c5d9e6;background:#eef7fc;color:var(--brand-700)}.timeline-copy-btn:focus-visible{outline:2px solid var(--brand-600);outline-offset:1px}.timeline-copy-btn.state-copied{color:var(--status-ok-text)}.timeline-copy-btn.state-failed{color:var(--status-error-text)}.timeline-list pre.collapsed{max-height:120px;overflow:hidden}.timeline-list pre.expanded{max-height:none;overflow:auto}.timeline-expand-btn{display:flex;align-items:center;justify-content:center;width:100%;margin-top:6px;min-height:34px;padding:7px 14px;border:1.5px solid #c5d9e6;border-radius:999px;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);color:var(--ink-700);font-size:.82rem;font-weight:700;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease}.timeline-expand-btn:hover{background:linear-gradient(150deg,#eaf4fb,#ddeef8);border-color:#99bace;transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}.timeline-expand-btn:active{transform:translateY(0)}.empty-state{border-radius:12px;border:1px dashed var(--line-2);background:var(--surface-2);color:var(--ink-500);padding:12px;display:grid;grid-gap:12px;gap:12px}.empty-state p{margin:0}.chat-suggestion-section{display:grid;grid-gap:8px;gap:8px;justify-items:stretch}.chat-suggestion-section-footer{border-top:0;padding:0}.chat-suggestion-label{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#678093}.chat-suggestion-footer{margin:0 12px 10px;padding:10px 12px 12px;border-top:1px solid var(--line-1);background:#fff;display:grid;grid-gap:10px;gap:10px}.chat-suggestion-footer .chat-actions{width:auto;margin-top:0}.chat-suggestion-footer .chat-action-button{min-width:0;justify-content:flex-start;background:linear-gradient(180deg,#ffffff,#f6fbfe);box-shadow:none}.chat-suggestion-footer .chat-action-button:hover:not(:disabled){background:linear-gradient(180deg,#ffffff,#f6fbff)}.panel-resizer{right:-4px}.panel-resizer,.panel-resizer-left{position:absolute;top:8px;bottom:8px;width:12px;border:0;padding:0;margin:0;cursor:col-resize;background:transparent;z-index:12}.panel-resizer-left{left:-4px}.panel-resizer-left:before,.panel-resizer:before{content:"";position:absolute;top:32%;bottom:32%;left:50%;width:2px;border-radius:999px;transform:translateX(-50%);background:#aac6d9;opacity:0;transition:opacity .12s ease}.panel-resizer-left:focus-visible:before,.panel-resizer:focus-visible:before,.shell-panel:hover .panel-resizer-left:before,.shell-panel:hover .panel-resizer:before,body.panel-resize-active .panel-resizer-left:before,body.panel-resize-active .panel-resizer:before{opacity:1}.panel-resizer:focus-visible{outline:none}body.panel-resize-active{cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:1260px){.left-rail,.timeline-column{width:280px;max-width:280px}.chat-column{min-width:320px}}@media (max-width:920px){body{overflow:auto}.chatkit-shell,.chatkit-shell.with-timeline,.chatkit-shell.without-timeline{height:auto;min-height:100dvh;overflow:visible;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;grid-gap:clamp(10px,2vw,14px);gap:clamp(10px,2vw,14px)}.left-rail{order:2;width:100%;max-width:100%;min-width:0;max-height:none}.left-rail-scroll{overflow-y:visible}.chat-column{order:1;min-height:60dvh}.chat-column,.timeline-column{min-width:0;width:100%;max-width:100%}.timeline-column{order:3;max-height:none}.timeline-scroll{overflow-y:visible}.panel-resizer{display:none}}@media (max-width:620px){.chatkit-shell{padding:8px;gap:8px}.chat-column,.left-rail,.timeline-column{border-radius:15px}.chat-column,.left-rail-scroll,.timeline-scroll{padding:12px}.left-rail-scroll{padding:14px}.session-controls{grid-template-columns:1fr}.chat-header{padding:13px 12px;flex-wrap:wrap}.chat-header h2{font-size:1.25rem}.chat-stream{padding:12px}.chat-stream-landing{padding-block:24px}.composer-landing{width:min(100%,calc(100% - 24px));padding-inline:0}.chat-landing-legal{width:min(100%,calc(100% - 24px));margin-bottom:14px}.left-rail h1{font-size:1.35rem}.timeline-list pre{max-height:120px}}@media (max-width:380px){.chatkit-shell{padding:6px;gap:6px}.chat-column,.left-rail,.timeline-column{border-radius:12px}}.thinking-text{align-items:center}.thinking-dots,.thinking-text{display:inline-flex;gap:2px}.thinking-dots span{animation:thinking-dot 1.4s infinite;opacity:0}.thinking-dots span:first-child{animation-delay:0s}.thinking-dots span:nth-child(2){animation-delay:.2s}.thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes thinking-dot{0%,20%{opacity:0}40%{opacity:1}60%,to{opacity:0}}.chat-landing{box-sizing:border-box;width:100%;max-width:100%;min-height:100%;display:grid;align-content:center;justify-items:center;padding-inline:12px}.chat-bubble{width:-moz-fit-content;width:fit-content;max-width:min(86%,920px);border-radius:14px;border:1px solid #d6e4ee;padding:11px 13px;box-shadow:0 16px 28px -26px rgb(17 45 66/18%);animation:bubble-in .17s ease}.role-assistant{margin-right:auto;background:linear-gradient(180deg,#ffffff,#f5fafc);color:var(--ink-900);border-radius:18px 18px 18px 4px}.role-assistant.contains-artifact{align-self:stretch;width:100%;max-width:none}.role-user{margin-left:auto;width:max-content;max-width:80%;border-color:transparent;background:linear-gradient(135deg,#0ba9de,#078fc7);color:#fff;border-radius:18px 18px 4px 18px}.chat-bubble header{margin-bottom:4px;font-size:.73rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:rgb(67 97 118/90%)}.role-user header{color:rgb(255 255 255/82%)}.chat-bubble p{margin:0;font-size:1.03rem;line-height:1.42;white-space:pre-wrap;overflow-wrap:anywhere}.chat-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:stretch}.chat-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1.5px solid #c5d9e6;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);color:var(--ink-700,#345167);border-radius:999px;padding:7px 14px;font-size:.82rem;font-weight:700;line-height:1.15;cursor:pointer;box-shadow:0 2px 8px -2px rgba(0,40,80,.12);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.chat-action-button:hover:not(:disabled){transform:translateY(-1px);border-color:#99bace;background:linear-gradient(150deg,#eaf4fb,#ddeef8);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}.chat-action-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.chat-actions-inline{max-width:min(34rem,84%);align-items:flex-start}.chat-action-button-inline{display:inline-flex;align-items:flex-start;flex:0 1 auto;width:auto;max-width:min(26rem,100%);text-align:left;justify-content:flex-start;white-space:normal;line-height:1.35;padding:9px 12px;border-radius:12px}.handover-details-form{margin-top:12px;display:grid;grid-gap:8px;gap:8px;width:min(100%,36rem)}.handover-details-label{font-size:.75rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:rgb(67 97 118/90%)}.handover-details-input{min-height:86px;max-height:160px;width:100%;border-radius:12px;border:1px solid #c9deeb;background:#fff;color:var(--ink-900);padding:10px 12px;font-size:.94rem;line-height:1.42;resize:vertical}.handover-details-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.handover-details-count,.handover-details-error{font-size:.78rem;font-weight:700}.handover-details-count{color:#61788a}.handover-details-error{margin:0;color:var(--danger-500)}.handover-details-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.pending-progress{min-width:min(72%,520px)}.inline-progress{margin:4px 0 10px;padding:12px 12px 8px;border-radius:12px;border:1px solid rgb(17 58 89/10%);background:linear-gradient(180deg,#f7fbfe,#fdfefe)}.inline-progress.is-live{border-color:rgb(8 174 227/22%);box-shadow:inset 0 0 0 1px rgb(8 174 227/6%)}.inline-progress-title{margin:0 0 10px;font-size:.84rem;font-weight:800;letter-spacing:.02em;color:#466174}.inline-progress-details[open] .inline-progress-title{margin-bottom:0}.inline-progress-details{display:grid;grid-gap:10px;gap:10px}.inline-progress-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.inline-progress-summary::-webkit-details-marker{display:none}.inline-progress-summary .inline-progress-title{margin:0}.inline-progress-toggle{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:#61788a}.inline-progress-toggle:before{content:"▾";font-size:.72rem;line-height:1;transition:transform .18s ease}.inline-progress-details:not([open]) .inline-progress-toggle:before{transform:rotate(-90deg)}.inline-progress-details[open] .inline-progress-toggle{color:#466174}.inline-progress-details[open] .inline-progress-toggle-label-show,.inline-progress-toggle-label-hide{display:none}.inline-progress-details[open] .inline-progress-toggle-label-hide{display:inline}.inline-progress-list{margin:0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}.inline-progress-step{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:flex-start}.inline-progress-step:not(.is-last):after{content:"";position:absolute;left:9px;top:22px;bottom:-8px;width:1px;background:rgb(17 58 89/12%)}.inline-progress-marker{width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:900;border:1px solid transparent}.inline-progress-marker.status-running{background:rgba(255,201,39,.15);border-color:rgba(255,201,39,.3);color:#7a5500;animation:generating-pulse 1.2s ease-in-out infinite}.inline-progress-marker.status-completed{background:rgba(53,163,104,.12);border-color:rgba(53,163,104,.2);color:#2f8d59}.inline-progress-marker.status-blocked,.inline-progress-marker.status-failed{background:rgba(215,76,101,.12);border-color:rgba(215,76,101,.2);color:#c74a63}.inline-progress-copy{min-width:0;padding-top:1px}.inline-progress-label{font-size:1rem;line-height:1.3;color:#1a3650;font-weight:600}.inline-progress-detail{margin-top:3px;font-size:.86rem;line-height:1.35;color:#61788a}.chat-artifacts{display:grid;grid-gap:12px;gap:12px;margin-top:12px;margin-bottom:16px;width:100%}.usage-card{border-radius:16px;border:1px solid rgb(17 58 89/10%);background:linear-gradient(180deg,#fbfdff,#f4fbff);padding:14px}.usage-card.is-partial{border-color:rgb(245 158 11/30%);box-shadow:inset 0 0 0 1px rgb(245 158 11/8%)}.usage-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.usage-card-title{font-size:1rem;font-weight:800;color:#1a3650}.usage-card-subtitle{margin-top:3px;font-size:.87rem;color:#5e7587}.usage-card-status{border-radius:999px;padding:4px 10px;font-size:.74rem;font-weight:800;white-space:nowrap}.usage-card-status.status-ok{background:rgba(53,163,104,.12);color:#2f8d59}.usage-card-status.status-partial{background:rgba(245,158,11,.14);color:#b77206}.usage-card-primary{margin-top:14px}.usage-card-primary-label{font-size:.86rem;color:#5e7587;font-weight:700}.usage-card-primary-value{margin-top:4px;font-size:clamp(1.9rem,4vw,2.7rem);line-height:1;font-weight:900;color:#15324c}.usage-card-chart{margin-top:14px}.usage-card-chart-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.usage-card-chart-heading{min-width:0}.usage-card-chart-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:.9rem;font-weight:700;color:#33556f}.usage-card-chart-title span{font-size:.78rem;color:#6d8394;font-weight:700}.usage-card-chart-context{margin-top:4px;font-size:.8rem;color:#6d8394}.usage-card-drill-back{border:1.5px solid #c5d9e6;border-radius:999px;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);color:var(--ink-700,#345167);font-size:.82rem;font-weight:700;line-height:1.15;min-height:34px;padding:7px 14px;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease}.usage-card-drill-back:hover{background:linear-gradient(150deg,#eaf4fb,#ddeef8);border-color:#99bace;transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}.usage-card-bars-scroller{margin-top:12px;overflow-x:auto}.usage-card-bars{display:flex;gap:14px;align-items:flex-end;min-height:168px}.usage-card-bars.granularity-day{gap:10px}.usage-card-bar-group{flex:1 1;min-width:0;display:grid;grid-gap:8px;gap:8px;align-items:flex-end}button.usage-card-bar-button{display:grid;grid-template-columns:1fr;justify-content:normal;grid-gap:8px;gap:8px;align-items:flex-end;width:100%;padding:0;border:0;background:none;box-shadow:none;color:inherit;text-align:inherit;cursor:pointer}button.usage-card-bar-button:focus-visible,button.usage-card-bar-button:hover:not(:disabled){background:none;filter:none}button.usage-card-bar-button:focus-visible .usage-card-bar-fill,button.usage-card-bar-button:hover .usage-card-bar-fill{filter:brightness(1.03);box-shadow:0 0 0 3px rgb(18 161 219/14%);transform:translateY(-1px)}button.usage-card-bar-button:focus-visible{outline:none}.usage-card-bar-value{text-align:center;font-size:.72rem;line-height:1.15;color:#62798b;min-height:28px;white-space:nowrap}.usage-card-bar-track{width:100%;height:132px;display:flex;align-items:flex-end;padding:10px;border-radius:18px;background:#dbe7ef;box-shadow:inset 0 1px 0 rgb(255 255 255/35%)}.usage-card-bar-fill{width:100%;border-radius:12px;background:linear-gradient(180deg,#17b4e5,#1083c1);min-height:8px;box-shadow:0 8px 18px rgb(16 131 193/14%);transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}.usage-card-bar-label{display:flex;align-items:center;justify-content:center;text-align:center;font-size:.82rem;font-weight:700;color:#3c5d75;line-height:1.1;min-height:18px;white-space:nowrap}.usage-card-bar-label.is-week{min-height:32px;flex-direction:column;gap:2px}.usage-card-bar-label.is-day{min-height:30px;flex-direction:column;gap:2px}.usage-card-bar-label-day,.usage-card-bar-label-primary,.usage-card-bar-label-secondary,.usage-card-bar-label-weekday{display:block;white-space:nowrap}.usage-card-bar-label-primary{font-size:.78rem}.usage-card-bar-label-secondary{font-size:.72rem;color:#62798b}.usage-card-bar-label-weekday{font-size:.74rem}.usage-card-bar-label-day{font-size:.86rem}.usage-card-metrics{margin:14px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));grid-gap:10px;gap:10px}.usage-card-metric{border-radius:12px;background:rgba(255,255,255,.75);padding:10px;border:1px solid rgb(17 58 89/8%)}.usage-card-metric dt{font-size:.75rem;color:#61788a;font-weight:700}.usage-card-metric dd{margin:4px 0 0;font-size:1rem;color:#17314b;font-weight:800}.composer{border-top:1px solid var(--line-1);padding:12px;display:grid;grid-template-columns:1fr auto auto;grid-gap:10px;gap:10px;align-items:flex-end;background:#fff}.composer-landing{width:min(760px,calc(100% - 36px));margin:0 auto;border-top:0;padding-top:0}.composer button{min-width:104px;min-height:48px;border-radius:14px}.chat-landing-legal{width:min(760px,calc(100% - 36px));margin:0 auto 18px;display:grid;justify-items:center}.generating-status{display:flex;align-items:center;gap:8px;padding:0 16px;height:48px;background:rgba(8,174,227,.08);border-radius:14px;font-size:14px;color:var(--ink-700);font-weight:500;white-space:nowrap}.generating-icon{font-size:20px;animation:generating-pulse 1.5s ease-in-out infinite;display:inline-block}.generating-text{-webkit-user-select:none;-moz-user-select:none;user-select:none}@keyframes generating-pulse{0%,to{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}}.stop-button{background:#fff;color:var(--ink-700);border:1.5px solid var(--line-2);padding:0;min-width:48px;width:48px;height:48px;border-radius:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;flex-shrink:0}.stop-button:hover{background:var(--surface-2);border-color:var(--ink-500);transform:translateY(-1px);box-shadow:0 2px 8px rgb(17 45 66/10%)}.stop-button:active{transform:translateY(0);background:var(--line-1)}.stop-icon{font-size:18px;opacity:.8}.error-banner{margin:0 12px 12px;padding:10px 11px;border-radius:12px;border:1px solid #efbac3;background:var(--danger-100);color:var(--danger-500);font-weight:600}@keyframes bubble-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:920px){.chat-bubble{max-width:92%}.role-user{max-width:none;min-width:max-content!important}}@media (max-width:620px){.composer{grid-template-columns:1fr auto auto;padding:10px;gap:8px}.composer button{min-width:80px}.generating-status{padding:0 12px;height:44px;font-size:13px}.generating-icon{font-size:18px}.stop-button{width:44px;min-width:44px;height:44px}.stop-icon{font-size:16px}.chat-bubble{max-width:95%}.role-user{max-width:none;min-width:max-content!important}.chat-artifacts{gap:10px}.usage-card{padding:12px;border-radius:14px}.usage-card-chart-meta,.usage-card-header{flex-wrap:wrap}.usage-card-status{margin-left:auto}.usage-card-primary-value{font-size:clamp(1.8rem,10vw,2.45rem)}.usage-card-chart-title{gap:8px;font-size:.86rem}.usage-card-chart-context{font-size:.76rem}.usage-card-drill-back{padding:6px 10px}.usage-card-bars{gap:10px;min-height:156px}.usage-card-bars.granularity-day,.usage-card-bars.granularity-week{grid-auto-flow:row;grid-auto-columns:auto;justify-content:stretch}.usage-card-bars.granularity-week{grid-template-columns:repeat(auto-fit,minmax(42px,1fr))}.usage-card-bars.granularity-day{grid-template-columns:repeat(auto-fit,minmax(30px,1fr));gap:6px}.usage-card-bar-track{height:120px;padding:8px;border-radius:16px}.usage-card-bar-value{min-height:24px;font-size:.68rem}.usage-card-bar-label{font-size:.78rem}.usage-card-bar-label.is-week{min-height:28px}.usage-card-bar-label-primary{font-size:.72rem}.usage-card-bar-label-secondary{font-size:.66rem}.usage-card-bar-label-weekday{font-size:.7rem}.usage-card-bar-label-day{font-size:.8rem}.usage-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.usage-card-metric{padding:9px}}@media (max-width:380px){.usage-card-metrics{grid-template-columns:1fr}}.markdown-content{font-size:1.03rem;line-height:1.6;color:var(--ink-900)}.role-user .markdown-content{color:#fff}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content p{margin:0 0 .8em;white-space:pre-wrap;overflow-wrap:anywhere}.markdown-content p:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin:1em 0 .5em;font-weight:700;line-height:1.3}.markdown-content h1{font-size:1.6em}.markdown-content h2{font-size:1.4em}.markdown-content h3{font-size:1.2em}.markdown-content h4{font-size:1.1em}.markdown-content h5{font-size:1em}.markdown-content h6{font-size:.9em}.markdown-content ol,.markdown-content ul{margin:.5em 0;padding-left:1.5em}.markdown-content li{margin:.3em 0}.markdown-content li>p{margin:.2em 0}.markdown-content code{background:rgba(0,0,0,.06);padding:.15em .4em;border-radius:4px;font-family:SF Mono,Monaco,Courier New,monospace;font-size:.9em}.role-user .markdown-content code{background:rgba(255,255,255,.2);color:#fff}.markdown-content pre{background:#f5f9fc;border:1px solid var(--line-1);border-radius:8px;padding:12px;margin:.8em 0;overflow-x:auto}.role-user .markdown-content pre{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.3)}.markdown-content pre code{background:none;padding:0;border-radius:0;font-size:.88em;line-height:1.5;display:block}.markdown-content blockquote{margin:.8em 0;padding:.5em 1em;border-left:4px solid var(--brand-500);background:var(--surface-2);color:var(--ink-700)}.role-user .markdown-content blockquote{border-left-color:rgba(255,255,255,.6);background:rgba(255,255,255,.1);color:rgba(255,255,255,.95)}.markdown-content blockquote p{margin:.3em 0}.markdown-content table{border-collapse:collapse;margin:.8em 0;width:100%;font-size:.95em}.markdown-content td,.markdown-content th{border:1px solid var(--line-2);padding:.5em .8em;text-align:left}.markdown-content th{background:var(--surface-2);font-weight:700}.role-user .markdown-content th{background:rgba(255,255,255,.15)}.role-user .markdown-content td,.role-user .markdown-content th{border-color:rgba(255,255,255,.3)}.markdown-content hr{border:none;border-top:1px solid var(--line-2);margin:1em 0}.role-user .markdown-content hr{border-top-color:rgba(255,255,255,.3)}.markdown-content a{color:var(--brand-600);text-decoration:underline;-webkit-text-decoration-color:rgba(0,151,213,.3);text-decoration-color:rgba(0,151,213,.3);transition:-webkit-text-decoration-color .2s ease;transition:text-decoration-color .2s ease;transition:text-decoration-color .2s ease,-webkit-text-decoration-color .2s ease}.markdown-content a:hover{-webkit-text-decoration-color:var(--brand-600);text-decoration-color:var(--brand-600)}.role-user .markdown-content a{color:#fff;-webkit-text-decoration-color:rgba(255,255,255,.5);text-decoration-color:rgba(255,255,255,.5)}.role-user .markdown-content a:hover{-webkit-text-decoration-color:#fff;text-decoration-color:#fff}.markdown-content em,.markdown-content strong{font-weight:inherit;font-style:inherit}.markdown-content img{max-width:100%;height:auto;border-radius:6px;margin:.5em 0}.markdown-content del{text-decoration:line-through;opacity:.7}.capture-form{gap:10px}.capture-field{display:grid;grid-gap:4px;gap:4px}.capture-field-control{display:flex;align-items:center;gap:8px}.capture-field-input{min-height:0;height:40px;resize:none}.capture-field-checkbox{width:18px;height:18px;accent-color:#009ed8}.capture-field-reveal{flex-shrink:0}.capture-field-help{margin:0;font-size:.78rem;color:#61788a}.capture-form-privacy-note{margin:0;font-size:.78rem;font-weight:700;color:#436176}.timeline-graph{background:white;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.timeline-graph-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--line-1)}.timeline-graph-label{font-weight:600;font-size:.875rem;color:var(--ink-900)}.timeline-graph-total{font-size:.75rem;color:var(--ink-500);font-weight:500;background:var(--surface-2);padding:4px 10px;border-radius:12px}.timeline-svg{display:block;width:100%;margin-bottom:12px}.timeline-svg rect{transition:opacity .2s ease;cursor:pointer}.timeline-svg rect:hover{opacity:1!important;stroke-width:2}.timeline-svg circle{cursor:pointer;transition:r .2s ease}.timeline-svg circle:hover{r:8}.timeline-graph-empty{padding:40px 20px;text-align:center;color:var(--ink-500);font-size:.875rem;background:var(--surface-2);border-radius:8px}.timeline-graph-legend{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;padding-top:12px;border-top:1px solid var(--line-1)}.legend-item{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--ink-700)}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-dot-success{background-color:var(--status-ok-text)}.legend-dot-waiting{background-color:var(--status-warn-text)}.legend-dot-running{background-color:var(--brand-600)}.legend-dot-error{background-color:var(--status-error-text)}.legend-dot-cache{background:repeating-linear-gradient(45deg,var(--status-ok-text) 0,var(--status-ok-text) 2px,#86efac 2px,#86efac 4px)}.timeline-popout-btn{padding:7px 14px;min-height:34px;font-size:.82rem;font-weight:700;background:linear-gradient(150deg,#f5f9fc,#e8f2f8);border:1.5px solid #c5d9e6;border-radius:999px;color:var(--ink-700);cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease;display:flex;align-items:center;gap:4px;flex-shrink:0;white-space:nowrap}.timeline-popout-btn:hover{background:linear-gradient(150deg,#eaf4fb,#ddeef8);border-color:#99bace;transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(0,80,140,.18)}.timeline-popout-btn:active{transform:translateY(0)}.timeline-popout-btn-compact{padding:7px 14px;min-height:34px;font-size:.82rem;border-radius:999px}.timeline-controls{display:grid;grid-gap:10px;gap:10px;margin-bottom:12px}.timeline-control-row{display:block}.timeline-view-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:4px;gap:4px;background:var(--surface-2);padding:4px;border-radius:12px;align-items:stretch}.timeline-filter-toggle{grid-template-columns:repeat(3,minmax(0,1fr))}.timeline-modal-content .timeline-control-row{margin:0}.timeline-modal-content .timeline-controls{margin-left:24px;margin-right:24px;margin-bottom:16px}.timeline-secondary-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.timeline-label-control{display:inline-flex;align-items:center;justify-content:flex-start;flex:0 0 auto;color:var(--ink-800);min-height:36px}.timeline-label-control-label{display:inline-flex;align-items:center;gap:10px;cursor:pointer}.timeline-label-control-title{font-size:.75rem;font-weight:700;white-space:nowrap;color:var(--ink-700)}.timeline-label-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;box-sizing:border-box;position:relative;width:42px;min-width:42px;max-width:42px;height:24px;min-height:24px;max-height:24px;border-radius:999px;background:#d6e5f0;border:1px solid rgba(17,58,89,.16);flex:0 0 auto;cursor:pointer;margin:0;padding:0;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}.timeline-label-switch:before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 4px rgba(17,58,89,.2);transition:transform .2s ease}.timeline-label-switch:hover{border-color:rgba(42,163,217,.5)}.timeline-label-switch:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(42,163,217,.22)}.timeline-label-switch:checked{background:var(--brand-600);border-color:rgba(42,163,217,.55)}.timeline-label-switch:checked:before{transform:translateX(16px)}.timeline-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:40px;padding:8px 10px;font-size:.75rem;font-weight:700;background:transparent;border:none;border-radius:10px;color:var(--ink-700);cursor:pointer;transition:all .2s ease;white-space:nowrap}.timeline-view-toggle button:hover{background:white;color:var(--ink-900)}.timeline-view-toggle button.active{background:white;color:var(--brand-700);box-shadow:0 1px 3px rgba(0,0,0,.08)}@container timeline-panel (max-width: 560px){.waterfall-row{grid-template-columns:1fr;gap:8px}.waterfall-tool-name{white-space:normal;overflow-wrap:anywhere}.waterfall-time{text-align:left;font-size:.625rem}}@container timeline-panel (max-width: 420px){.timeline-graph-header{flex-direction:column;align-items:flex-start;gap:8px}.timeline-view-toggle{gap:3px;padding:3px}.timeline-view-toggle button{gap:4px;min-height:36px;padding:7px 6px;font-size:.6875rem}.timeline-secondary-controls{align-items:center;justify-content:space-between}.timeline-label-control{min-width:0}.timeline-top{flex-direction:column;align-items:stretch;gap:8px}.timeline-top strong{width:100%}.timeline-top-badges{width:100%;justify-content:flex-start}}@media (max-width:768px){.timeline-label-control{justify-content:space-between}.timeline-graph{padding:12px}.timeline-graph-legend{gap:12px}.legend-item{font-size:.6875rem}}.timeline-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999999;display:flex;align-items:center;justify-content:center;padding:80px 60px 60px;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.timeline-modal-content{background:white;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.3);width:100%;max-width:1400px;max-height:90vh;display:flex;flex-direction:column;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.timeline-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line-1);flex-shrink:0!important}.timeline-modal-header h2{margin:0;font-size:1.5rem;color:var(--ink-900);font-weight:800}.timeline-modal-close{background:transparent;border:none;font-size:1.5rem;color:var(--ink-500);cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.timeline-modal-close:hover{background:var(--surface-2);color:var(--ink-900)}.timeline-modal-body{padding:24px;overflow-y:auto;flex:1 1;min-height:0}.timeline-modal-body .timeline-graph{margin-bottom:0}.timeline-modal-body .timeline-list{max-height:none}@media (max-width:768px){.timeline-modal-overlay{padding:10px}.timeline-modal-content{max-height:95vh;border-radius:12px}.timeline-modal-header{padding:16px}.timeline-modal-header h2{font-size:1.25rem}.waterfall-time{text-align:left;font-size:.625rem}.timeline-modal-body{padding:16px}}.prompt-editor-modal{min-width:600px;min-height:400px;display:flex!important;flex-direction:column!important;max-width:none!important;max-height:none!important}.prompt-editor-body,.prompt-editor-modal{position:relative;box-sizing:border-box;overflow:hidden}.prompt-editor-body{flex:1 1;padding:16px 24px 20px;min-height:0}.prompt-editor-textarea{position:absolute;top:16px;left:24px;right:24px;bottom:40px;width:auto;height:auto;padding:16px;font-size:.95rem;line-height:1.6;border-radius:8px;border:1px solid var(--line-1);background:white;color:var(--ink-900);font-family:monospace;resize:none;overflow:auto;outline:none;box-sizing:border-box;max-height:none;min-height:0}.prompt-editor-textarea:focus{border-color:var(--brand-500);box-shadow:0 0 0 3px rgba(0,151,213,.1)}.prompt-editor-footer{position:absolute;bottom:16px;left:24px;right:24px;padding:0 60px 0 0;font-size:.75rem;color:var(--ink-500);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.prompt-editor-resize-handle{position:absolute;bottom:4px;right:4px;width:50px;height:50px;cursor:nwse-resize!important;pointer-events:auto!important;display:flex;align-items:center;justify-content:center;z-index:1000;border-radius:8px;transition:all .2s ease;background:rgba(0,0,0,.02)}.prompt-editor-resize-handle svg{width:20px;height:20px;opacity:.5;color:var(--ink-500);transition:opacity .2s ease;pointer-events:none}.prompt-editor-resize-handle:hover{background:rgba(0,151,213,.08)}.prompt-editor-resize-handle:hover svg{opacity:.9;color:var(--brand-600)}.prompt-editor-resize-handle:active svg{opacity:1;color:var(--brand-700)}.timeline-waterfall{background:white;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.waterfall-container{margin:16px 0}.waterfall-timing-note{margin:8px 0 0;color:var(--ink-500);font-size:.75rem;line-height:1.4}.waterfall-row{display:grid;grid-template-columns:200px 1fr 120px;grid-gap:12px;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--surface-2)}.waterfall-row:last-child{border-bottom:none}.waterfall-label{display:flex;flex-direction:column;gap:4px;overflow:hidden}.waterfall-label-meta{display:flex;align-items:center;gap:8px}.waterfall-tool-name{font-weight:600;font-size:.8125rem;color:var(--ink-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.waterfall-status{font-size:.6875rem;font-weight:500}.waterfall-cache,.waterfall-status{text-transform:uppercase;letter-spacing:.05em}.waterfall-cache{border-radius:999px;padding:2px 7px;font-size:.625rem;font-weight:700}.waterfall-cache.cache-hit{background:#e9f7ef;color:#11623a}.waterfall-cache.cache-live{background:#e9f1ff;color:#1f4fa8}.waterfall-bar-container{position:relative;height:32px;background:var(--surface-2);border-radius:6px;overflow:hidden}.waterfall-bar{position:absolute;top:0;height:100%;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .3s ease;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.1)}.waterfall-bar:hover{transform:scaleY(1.1);box-shadow:0 2px 4px rgba(0,0,0,.15)}.waterfall-bar.cache-hit{outline:2px dashed rgba(255,255,255,.9);outline-offset:-2px}.waterfall-duration{color:white;font-size:.6875rem;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.2);white-space:nowrap;padding:0 6px}.waterfall-time{font-size:.6875rem;color:var(--ink-500);text-align:right;font-family:SF Mono,Monaco,Courier New,monospace}.waterfall-timeline{position:relative;height:30px;border-top:1px solid var(--line-1);margin-top:12px;padding-top:8px}.waterfall-timeline-marker{position:absolute;transform:translateX(-50%)}.waterfall-timeline-marker-0{left:0}.waterfall-timeline-marker-25{left:25%}.waterfall-timeline-marker-50{left:50%}.waterfall-timeline-marker-75{left:75%}.waterfall-timeline-marker-100{left:100%}.waterfall-timeline-marker span{font-size:.625rem;color:var(--ink-500);white-space:nowrap}.waterfall-stats{display:flex;gap:24px;margin-top:16px;padding:12px;background:var(--surface-2);border-radius:8px;flex-wrap:wrap}.waterfall-stat{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:.6875rem;color:var(--ink-500);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:1rem;color:var(--ink-900);font-weight:700}@media (max-width:768px){.waterfall-row{grid-template-columns:1fr;gap:8px}.waterfall-time{text-align:left;font-size:.625rem}.waterfall-stats{gap:12px}.waterfall-stat{flex:1 1;min-width:120px}}.chat-header-container{display:flex;justify-content:space-between;align-items:flex-start;width:100%}.chat-header-title-group{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.chat-header-title{margin:0}.timeline-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.timeline-header-title{margin:0;min-width:0}.download-transcript-btn{padding:6px 12px;font-size:.8125rem;white-space:nowrap}