:root{--bg:#fafafb;--surface:#fff;--sidebar:#f5f5f8;--text:#292939;--heading:#242433;--muted:#8a8a9b;--subtle:#a2a2af;--line:#eaeaf0;--hover:#efedf8;--purple:#7966dd;--purple-dark:#6954d0;--purple-soft:#eeebfb;--purple-text:#7663ce;--input:#fff;--shadow:0 12px 38px #2b244a08;--green:#5f9c80;--danger:#b54f61;--radius:18px;color-scheme:light}:root[data-theme=dark]{--bg:#181820;--surface:#20202a;--sidebar:#1d1d26;--text:#dedee9;--heading:#f2f1f7;--muted:#9695a9;--subtle:#79788b;--line:#333240;--hover:#2e2a40;--purple:#a08aef;--purple-dark:#b29af7;--purple-soft:#312a47;--purple-text:#b6a2f6;--input:#24242f;--shadow:0 12px 38px #0002;--green:#8ac7ab;--danger:#f08e9e;color-scheme:dark}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #a696ef;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a696ef;outline-offset:1px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--heading)}p{line-height:1.7}a svg,button svg{flex-shrink:0}small{line-height:1.55}input,select,textarea{min-width:0}input[type=checkbox]{accent-color:var(--purple)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:var(--sidebar);border-right:1px solid var(--line);padding:30px 17px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:9px;color:var(--heading);font-size:22px;font-weight:700;letter-spacing:-1px;padding:0 11px}.logo-symbol{width:50px;height:50px;background:linear-gradient(140deg,#9a85ed,#7561d6);color:white;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;box-shadow:0 5px 13px #7561d628}.logo-symbol.small{width:30px;height:30px;border-radius:10px;box-shadow:none}.personal-tag{font-size:8px;font-weight:700;letter-spacing:1.1px;color:var(--muted);padding:4px 6px;border:1px solid var(--line);border-radius:4px;margin-left:auto}.new-chat-button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:9px;height:42px;padding:0 12px;font-size:12px;margin-top:31px;margin-bottom:24px;box-shadow:0 2px 2px #00000002;color:var(--text)}.new-chat-button svg{color:var(--purple)}.new-chat-button span{font-size:10px;margin-left:auto;color:var(--subtle)}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;height:43px;display:flex;align-items:center;gap:12px;border-radius:8px;text-align:left;color:#777787;font-size:12px;padding:0 14px}.nav-item:hover{background:var(--hover)}.nav-item.active{background:var(--purple-soft);font-weight:600}.count,.nav-item.active{color:var(--purple-text)}.count{margin-left:auto;background:#ffffff70;font-size:10px;border-radius:5px;padding:1px 6px}.sidebar-section-title{font-size:8px;font-weight:700;letter-spacing:1.2px;color:var(--subtle);margin:33px 14px 11px}.recent-chats{overflow-y:auto;min-height:50px;flex:1 1}.recent-chat{display:flex;align-items:center;border-radius:6px;padding-right:5px}.recent-chat.selected,.recent-chat:hover{background:var(--hover)}.recent-chat>button:first-child{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 12px;flex:1 1;text-align:left;color:var(--muted);font-size:11px}.recent-chat button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.delete-chat{opacity:0;padding:5px;color:var(--muted)}.delete-chat:focus-visible,.recent-chat:hover .delete-chat{opacity:1}.subtle{color:var(--muted);font-size:12px}.empty-recent{font-size:11px;line-height:1.7;padding:0 14px}.sidebar-bottom{margin-top:22px}.private-space{border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:10px;padding:13px 11px;margin-bottom:20px}.private-space>svg{color:var(--purple)}.private-space div{display:flex;flex-direction:column;gap:4px}.private-space strong{font-size:10px;font-weight:600}.private-space span:not(.connection-dot){font-size:9px;color:var(--muted)}.connection-dot{width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto;box-shadow:0 0 0 3px #88b99c12}.connection-dot.offline{background:var(--danger)}.owner-profile{display:flex;align-items:center;width:100%;padding:0 8px;gap:10px;text-align:left}.avatar,.message-avatar{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--purple-soft);color:var(--purple-text);border-radius:10px;font-size:11px;font-weight:600}.avatar.owner,.message-avatar.owner{background:#e4e8ef;color:#7c8298}:root[data-theme=dark] .avatar.owner,:root[data-theme=dark] .message-avatar.owner{background:#383b4c;color:#c1c6d8}.owner-profile>span:nth-child(2){display:flex;flex:1 1;flex-direction:column;gap:4px}.owner-profile strong{font-size:11px}.owner-profile small{font-size:9px;color:var(--muted)}.owner-profile>svg{color:var(--muted)}.main-shell{margin-left:252px;display:flex;flex-direction:column;min-width:0;flex:1 1;min-height:100dvh}.topbar{height:76px;border-bottom:1px solid var(--line);justify-content:space-between;padding:0 35px;gap:20px;flex-shrink:0;background:var(--bg);z-index:10}.topbar,.topbar-left{display:flex;align-items:center}.topbar-left{gap:12px;color:var(--muted);font-size:11px;min-width:0}.topbar-subtitle{color:var(--text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:350px}.topbar-left>svg{color:var(--subtle)}.topbar-actions{gap:10px;flex-shrink:0}.private-label,.topbar-actions{display:flex;align-items:center}.private-label{gap:5px;color:var(--muted);font-size:10px;border:1px solid var(--line);padding:4px 8px;border-radius:5px;margin-right:9px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:7px;color:var(--muted);flex-shrink:0;padding:0}.icon-button:hover{background:var(--hover);color:var(--text)}.mobile-menu{display:none}.notification-button{position:relative}.notification-count{position:absolute;top:-2px;right:-2px;min-width:14px;height:14px;border-radius:7px;font-size:8px;background:var(--purple);color:white;display:flex;align-items:center;justify-content:center;border:2px solid var(--bg)}.chat-main{flex-direction:column;flex:1 1;min-height:calc(100dvh - 76px);max-width:1200px;margin:0 auto;padding:0 60px}.chat-main,.welcome{display:flex;width:100%}.welcome{max-width:790px;margin:auto auto 0;align-items:center;flex-direction:column;padding-top:56px;padding-bottom:40px;text-align:center}.welcome-badge{display:inline-flex;gap:6px;align-items:center;color:#9b94b3;background:var(--surface);border:1px solid var(--line);padding:5px 10px;border-radius:20px;font-size:9px;letter-spacing:.1px;margin-bottom:26px}.tiny-sparkle{color:var(--purple);font-size:12px}.hero-logo{width:74px;height:74px;border-radius:24px;background:linear-gradient(135deg,#f5f1ff,#f1edfb);border:1px solid #e8e2f7;display:flex;align-items:center;justify-content:center;margin-bottom:26px;transform:rotate(-5deg)}.hero-logo .logo-symbol{transform:rotate(5deg);width:48px;height:48px;border-radius:15px}.welcome h1{font-size:36px;line-height:1.25;font-weight:500;letter-spacing:-1.6px;margin-bottom:15px}.welcome>p{color:var(--muted);font-size:12px;line-height:1.8}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%;max-width:650px;margin-top:35px}.suggestions button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;position:relative;padding:17px 16px 19px;transition:transform .15s,border-color .15s}.suggestions button:hover{transform:translateY(-3px);border-color:#cbbfef}.suggestion-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;margin-bottom:14px}.lavender{background:var(--purple-soft);color:var(--purple-text)}.peach{background:#fff0e6;color:#c19369}.mint{background:#e8f3ef;color:#7aab97}:root[data-theme=dark] .peach{background:#3c302a;color:#d8a984}:root[data-theme=dark] .mint{background:#273b35;color:#9bcbb9}.suggestions strong{font-size:10px;font-weight:600;margin-bottom:6px}.suggestions button>span:not(.suggestion-icon){font-size:9px;line-height:1.5;color:var(--muted)}.suggestions button>svg{position:absolute;right:14px;top:18px;color:var(--subtle)}.composer-container{width:100%;max-width:790px;align-self:center;margin-top:auto;padding-bottom:22px}.composer{background:var(--surface);border:1px solid #e1deeb;border-radius:16px;box-shadow:0 5px 22px #27204f05;padding:16px 17px 12px;transition:border-color .2s}.composer:focus-within{border-color:#b5a6e7;box-shadow:0 0 0 3px #9c86df08}.composer textarea{display:block;width:100%;border:0;resize:none;max-height:180px;min-height:35px;background:none;color:var(--text);font-size:12px;line-height:1.7;outline:none!important;padding:0 4px}.composer textarea::placeholder{color:#aaa8b9}.composer-toolbar{justify-content:space-between;margin-top:12px}.composer-toolbar,.composer-tools{display:flex;align-items:center;gap:10px}.composer-tools{min-width:0}.composer-tools .icon-button{height:24px;width:24px;color:#aaa7b8}.toolbar-divider{height:15px;border-left:1px solid var(--line)}.agent-select{display:flex;align-items:center;gap:6px;color:var(--muted);position:relative;font-size:10px;min-width:0}.agent-select svg:first-child{color:var(--purple)}.agent-select select{max-width:170px;appearance:none;background:none;border:0;color:inherit;font-size:10px;padding:4px 13px 4px 0;outline:none}.agent-select svg:last-child{margin-left:-17px;pointer-events:none}.send-tools{display:flex;gap:12px;align-items:center}.enter-hint{font-size:9px;color:var(--subtle)}.send-button{width:32px;height:32px;background:var(--purple);color:white;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:background .2s}.send-button:hover{background:var(--purple-dark)}.send-button:disabled{opacity:.4}.send-button.stop span{width:10px;height:10px;background:white;border-radius:2px}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 2px 0;color:#aaa7b5;font-size:8px}.composer-footer span:first-child{display:flex;align-items:center;gap:5px}.composer-footer span:last-child{font-size:7px;letter-spacing:.6px}.model-warning{font-size:10px;text-align:center;color:var(--muted);padding:10px 0 0}.with-messages{max-height:calc(100dvh - 76px);min-height:calc(100dvh - 76px)}.conversation{overflow-y:auto;flex:1 1;width:100%;max-width:790px;align-self:center;padding:38px 3px 20px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.message{display:flex;gap:14px;margin-bottom:32px}.message-avatar{width:30px;height:30px;border-radius:10px}.message-body{min-width:0;flex:1 1;padding-top:2px}.message-name{font-weight:600;font-size:11px;display:flex;gap:9px;align-items:center;margin-bottom:10px}.message-name>span{font-size:7px;font-weight:500;letter-spacing:.4px;background:var(--purple-soft);padding:3px 5px;border-radius:4px;color:var(--purple-text)}.message-content{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .message-content{color:var(--muted)}.thinking-dots{display:inline-flex;gap:5px;margin:4px 0}.thinking-dots i{width:5px;height:5px;border-radius:50%;background:var(--purple);animation:pulse 1.3s infinite}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.25;transform:translateY(-3px)}}.agent-activity{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--purple-text);padding:0 44px 20px}.approval-inline{display:flex;align-items:center;gap:9px;background:var(--purple-soft);border:1px solid var(--line);border-radius:11px;padding:15px;text-align:left;font-size:12px;width:100%;margin-bottom:20px}.approval-inline>span{flex:1 1}.approval-inline svg{color:var(--purple-text)}.connection-banner,.error-banner{font-size:12px;padding:10px 30px;background:#fff1ee;color:#a25e57;display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.6}.connection-banner{background:var(--purple-soft);color:var(--purple-text);justify-content:center}.error-banner .icon-button{color:inherit}.toast{position:fixed;bottom:28px;left:calc(50% + 126px);transform:translateX(-50%);z-index:100;background:var(--text);color:var(--bg);padding:10px 13px;border-radius:11px;box-shadow:0 6px 25px #0002;display:flex;align-items:center;gap:9px;font-size:12px;max-width:90vw;white-space:normal}.toast .icon-button{color:inherit;width:20px;height:20px}.workspace-page{width:100%;max-width:1300px;margin:0 auto;padding:45px 45px 60px}.eyebrow{font-size:8px;font-weight:700;letter-spacing:1.7px;color:var(--purple-text)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:40px}.page-heading h1{font-size:28px;font-weight:500;letter-spacing:-.9px;margin:12px 0}.page-heading p{font-size:12px;color:var(--muted);max-width:530px}.button{min-height:36px;border-radius:8px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:500;line-height:1.4;flex-shrink:0}.button.primary{background:var(--purple);color:#fff;border:1px solid transparent}.button.primary:hover{background:var(--purple-dark)}.button.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)}.button.secondary:hover{background:var(--hover)}.button.danger-plain{color:var(--danger);margin-right:auto;padding-left:0}.button.full{width:100%}.section-toolbar{justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:24px;gap:16px}.section-tabs,.section-toolbar{display:flex;align-items:center}.section-tabs{gap:22px;font-size:11px;color:var(--muted)}.section-tabs .active{font-weight:600;color:var(--text);position:relative}.section-tabs .active:after{content:"";height:2px;background:var(--purple);position:absolute;bottom:-25px;left:0;right:0}.section-tabs>button{display:flex;align-items:center;gap:6px;font-size:11px;padding:0}.search-input{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:7px 10px;color:var(--muted);max-width:190px}.search-input input{border:0;background:none;outline:none;font-size:10px;width:100%;color:var(--text)}.search-input input::placeholder{color:var(--subtle)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:21px 20px 0;display:flex;flex-direction:column;min-width:0}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.resource-icon{width:44px;height:44px;border-radius:13px;justify-content:center;flex-shrink:0}.pill,.resource-icon{display:inline-flex;align-items:center}.pill{padding:4px 7px;gap:4px;border-radius:5px;background:var(--purple-soft);color:var(--purple-text);font-size:8px;font-weight:500;letter-spacing:.2px;line-height:1.4}.pill.connected{background:#eaf5ef;color:#609276}.pill.failed{background:#fbecee;color:#b05e6c}:root[data-theme=dark] .pill.connected{background:#2b3f35;color:#9dccb0}.resource-card h3{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:8px}.resource-card>p{font-size:11px;color:var(--muted);line-height:1.8;min-height:58px;margin-bottom:14px;overflow-wrap:anywhere}.card-meta{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:5px;line-height:1.6;margin-top:auto;margin-bottom:18px;flex-wrap:wrap}.status-dot{display:inline-block;width:5px;height:5px;background:#8fbda6;border-radius:50%;margin-right:1px}.status-dot.muted{background:var(--subtle)}.dot-separator{margin:0 2px;color:var(--subtle)}.card-actions{display:flex;align-items:center;gap:5px;border-top:1px solid var(--line);padding:11px 0;margin-top:auto;min-height:48px}.card-actions>button:first-child{display:flex;align-items:center;gap:7px;text-align:left;flex:1 1;font-size:10px;padding:0;color:var(--muted)}.card-actions>button:first-child:hover{color:var(--purple-text)}.card-actions .icon-button{height:24px;width:24px}.assistant-card{border-color:#e0d9f3}.add-card{background:transparent;border:1px dashed #d9d4e7;border-radius:13px;padding:25px 18px;flex-direction:column;min-height:263px;text-align:center}.add-card,.add-card>span:first-child{display:flex;align-items:center;justify-content:center}.add-card>span:first-child{width:40px;height:40px;border-radius:50%;background:var(--purple-soft);color:var(--purple-text);margin-bottom:17px}.add-card strong{font-size:12px;font-weight:500;margin-bottom:9px}.add-card p{font-size:10px;color:var(--muted);line-height:1.8;margin-bottom:18px}.text-link{display:inline-flex;align-items:center;gap:5px;color:var(--purple-text)!important;font-size:10px}.add-card:hover{border-color:var(--purple);background:var(--purple-soft)}.info-strip{margin-top:30px;background:var(--sidebar);border:1px solid var(--line);border-radius:11px;padding:17px 20px;display:flex;gap:13px;align-items:center}.info-strip>svg{color:var(--purple-text);flex-shrink:0}.info-strip strong{font-size:11px;font-weight:500}.info-strip p{font-size:10px;color:var(--muted);margin-top:5px}.empty-state{flex-direction:column;text-align:center;padding:68px 20px 75px;border:1px dashed var(--line);border-radius:16px;background:var(--surface)}.empty-icon,.empty-state{display:flex;align-items:center}.empty-icon{width:66px;height:66px;justify-content:center;background:var(--purple-soft);color:var(--purple-text);border-radius:20px;margin-bottom:23px}.empty-state h3{font-size:20px;font-weight:500;letter-spacing:-.4px;line-height:1.5;margin-bottom:11px}.empty-state p{font-size:12px;max-width:400px;color:var(--muted);line-height:1.9}.empty-state .button{margin-top:25px}.toggle{border:0;width:31px;height:18px;border-radius:20px;padding:3px;background:#dedde6;display:inline-flex;align-items:center;transition:background .2s;flex-shrink:0}.toggle>span{display:block;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001;transform:translateX(0);transition:transform .2s}.toggle.on{background:var(--purple)}.toggle.on>span{transform:translateX(13px)}.routine-list{display:flex;flex-direction:column;gap:12px}.routine-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;align-items:center;gap:17px}.routine-details{flex:1 1;min-width:0}.routine-details h3{font-size:13px;font-weight:600;margin-bottom:7px}.routine-details p{color:var(--muted);font-size:11px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:550px}.routine-details .card-meta{margin:10px 0 0}.routine-actions{display:flex;align-items:center;gap:7px}.routine-actions .toggle{margin-right:12px}.app-logo{width:43px;height:43px;border-radius:11px;background:var(--sidebar);display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:700;letter-spacing:-2px}.app-logo.red{color:#d47575;background:#fff1ee}.app-logo.blue{color:#6e94c7;background:#eef3fb;font-size:15px;letter-spacing:-1px}.app-logo.black{color:var(--text);background:var(--sidebar)}.app-logo.green{color:#83a68e;background:#eef6ef;font-size:33px;line-height:1}.integration-card>p{min-height:30px}.integration-card .card-top{margin-bottom:18px}.integration-card h3{font-size:13px}.integration-card .card-actions>button{font-size:11px;justify-content:space-between}.integration-grid{row-gap:18px}.settings-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.settings-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:25px}.settings-card h2{font-size:15px;font-weight:500;margin-bottom:9px}.section-description{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:24px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;min-width:0}.field>span{font-size:11px;font-weight:500}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:var(--input);font-size:12px;color:var(--text);line-height:1.6}.field textarea{resize:vertical;min-height:90px}.field small{font-size:10px;color:var(--muted)}.field input::placeholder,.field textarea::placeholder{color:var(--subtle)}.setting-row{display:flex;align-items:center;gap:18px;justify-content:space-between;border-top:1px solid var(--line);padding:20px 0}.setting-row strong{display:block;font-size:11px;font-weight:500;margin-bottom:5px}.setting-row span{display:block;color:var(--muted);font-size:10px;line-height:1.7}.memory-row{display:flex;align-items:center;gap:12px;padding:11px 0;width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:11px}.memory-row:last-child{border:0}.memory-row>span:nth-child(2){flex:1 1}.memory-row>svg{color:var(--muted)}.memory-row .avatar{width:30px;height:30px}.usage-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0 25px}.usage-summary>div{border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:15px}.usage-summary span{font-size:10px;color:var(--muted);display:block;margin-bottom:10px}.usage-summary strong{font-size:25px;font-weight:500;letter-spacing:-1px}.usage-card .subtle{display:block;font-size:10px;line-height:1.8}.usage-card>p.subtle{margin-bottom:15px}.usage-list{margin-bottom:20px}.usage-list>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line);font-size:11px}.usage-list small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.usage-list>div>span:last-child{text-align:right}.modal{border:1px solid var(--line);border-radius:18px;padding:26px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 60px);background:var(--surface);color:var(--text);box-shadow:0 30px 100px #0002;overflow-y:auto;scrollbar-width:thin}.modal.wide{width:min(680px,calc(100% - 32px))}.modal::backdrop{background:#1e1b324d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:14px}.modal-heading h2{font-size:20px;font-weight:500;letter-spacing:-.5px}.dialog-intro{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:25px}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:20px;border-top:1px solid var(--line);margin-top:25px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.selection-group{border:1px solid var(--line);padding:15px;border-radius:9px;margin:0 0 20px}.selection-group legend{font-size:11px;font-weight:500;padding:0 7px}.selection-group label{font-size:11px;display:flex;align-items:center;gap:8px;line-height:2.1}.selection-group p{font-size:11px;line-height:1.7}.selection-group small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.dialog-tabs{display:flex;align-items:center;gap:5px;background:var(--sidebar);padding:4px;border-radius:8px;margin:0 0 24px}.dialog-tabs button{flex:1 1;font-size:11px;padding:9px 7px;color:var(--muted);border-radius:5px}.dialog-tabs button.active{color:var(--purple-text);background:var(--surface);box-shadow:0 1px 3px #0001}.upload-zone{border:1px dashed #c9c0e3;background:var(--bg);border-radius:12px;padding:30px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;cursor:pointer;margin-bottom:20px}.upload-zone>svg{color:var(--purple-text)}.upload-zone strong{font-size:13px;font-weight:500}.upload-zone>span{font-size:11px;color:var(--muted)}.upload-zone input{font-size:11px;max-width:100%}.approval-card{border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:16px}.approval-heading{display:flex;gap:10px;align-items:center;margin-bottom:10px}.approval-heading>svg{color:var(--purple-text)}.approval-heading h3{font-size:14px;font-weight:500}.approval-card>p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap}.approval-detail{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:15px;margin-top:16px}.approval-detail>div{margin-bottom:12px}.approval-detail>div:last-child{margin-bottom:0}.approval-detail dt{text-transform:capitalize;font-size:10px;color:var(--muted);margin-bottom:5px}.approval-detail dd{margin:0;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.run-history article{border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:14px}.run-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.run-heading strong{font-size:12px;font-weight:500}.run-output{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:14px}.run-history article>.button{margin-top:15px}.form-error{color:var(--danger);font-size:12px;line-height:1.8;padding-top:15px;overflow-wrap:anywhere}.login-screen{min-height:100dvh;background:radial-gradient(ellipse at 50% 47%,#f2edf94d,transparent 60%),var(--bg);display:flex;flex-direction:column;padding:30px 42px}.login-top{display:flex;align-items:center;justify-content:space-between}.login-top .brand{padding:0}.login-card{width:100%;max-width:390px;margin:auto;display:flex;flex-direction:column;align-items:center;padding:60px 0 75px;text-align:center}.login-card .hero-logo{margin-bottom:30px}.login-card .eyebrow{font-size:8px;margin-bottom:17px}.login-card h1{font-size:37px;line-height:1.2;font-weight:500;letter-spacing:-1.5px;margin-bottom:18px}.login-card>p{font-size:12px;color:var(--muted);margin-bottom:30px}.login-card form{width:100%;padding:10px 20px 0;text-align:left}.login-card .field{margin-bottom:15px}.login-card .button{height:43px;font-size:12px}.privacy-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-top:25px}.login-footer{text-align:center;font-size:10px;color:var(--subtle);padding-bottom:4px}.setup-note{display:flex;gap:12px;text-align:left;border:1px solid var(--line);border-radius:11px;background:var(--surface);padding:20px;margin-top:5px}.setup-note>svg{color:var(--purple-text);flex-shrink:0}.setup-note strong{font-size:12px;font-weight:500}.setup-note p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:7px}.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.inline-loading,.loading-screen p{font-size:12px;color:var(--muted)}.inline-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:60px}.mobile-bottom-nav,.sidebar-overlay{display:none}.danger{color:var(--danger)}@media(min-width:1600px){.chat-main{padding:0 80px}.welcome{padding-top:100px;padding-bottom:65px}.welcome h1{font-size:42px}.welcome>p{font-size:13px}.suggestions{max-width:730px;margin-top:45px}.suggestions button{padding:22px}.suggestions strong{font-size:12px}.suggestions button>span:not(.suggestion-icon){font-size:10px}.composer-container{padding-bottom:32px}.composer{padding:20px}.composer textarea{font-size:14px}.workspace-page{padding-top:60px}.sidebar{width:270px}.main-shell{margin-left:270px}.toast{left:calc(50% + 135px)}}@media(max-width:1190px){.sidebar{width:222px;padding-left:13px;padding-right:13px}.main-shell{margin-left:222px}.brand{font-size:20px;padding:0 9px}.personal-tag{font-size:7px;padding:4px 5px;letter-spacing:.7px}.topbar{padding:0 25px}.chat-main{padding:0 35px}.welcome h1{font-size:31px}.suggestions{gap:10px}.suggestions button{padding:14px 12px}.suggestions button>svg{right:10px;top:15px}.suggestions strong{font-size:10px}.suggestions button>span:not(.suggestion-icon){font-size:8px}.workspace-page{padding:37px 30px 50px}.page-heading h1{font-size:25px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:1fr}.resource-card>p{min-height:45px}.toast{left:calc(50% + 111px)}.routine-card{gap:12px;padding:17px}.routine-details p{max-width:350px}}@media(max-width:850px){.sidebar{width:200px}.main-shell{margin-left:200px}.sidebar-section-title{font-size:7px;letter-spacing:1px}.new-chat-button span,.personal-tag{display:none}.nav-item,.new-chat-button{font-size:11px}.topbar{padding:0 20px;height:65px}.topbar-left{font-size:10px;gap:7px}.topbar-actions{gap:4px}.private-label{font-size:8px;margin-right:4px;padding:3px 5px}.chat-main{padding:0 25px}.chat-main,.with-messages{min-height:calc(100dvh - 65px)}.with-messages{max-height:calc(100dvh - 65px)}.welcome{padding-top:30px;padding-bottom:25px}.welcome-badge{font-size:8px;margin-bottom:20px}.hero-logo{height:65px;width:65px;margin-bottom:21px}.welcome h1{font-size:28px;letter-spacing:-1.1px}.welcome>p{font-size:11px}.suggestions{gap:7px;margin-top:25px}.suggestions button{padding:13px 10px 15px;min-height:125px}.suggestions button>svg{display:none}.suggestions strong{font-size:9px}.suggestions button>span:not(.suggestion-icon){font-size:8px}.suggestion-icon{height:28px;width:28px;margin-bottom:12px}.composer-container{padding-bottom:18px}.composer{padding:13px}.composer textarea{font-size:11px}.composer-tools{gap:7px}.composer-footer{font-size:7px}.workspace-page{padding:33px 25px 45px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:30px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.card-grid{gap:12px}.resource-card{padding:17px 15px 0}.resource-card h3{font-size:12px}.resource-card>p{font-size:10px}.resource-icon{width:36px;height:36px;border-radius:10px}.pill{font-size:7px}.card-actions>button:first-child{font-size:9px}.card-actions{gap:2px}.card-actions .icon-button{width:20px}.card-meta{font-size:8px}.add-card{min-height:255px}.routine-actions{flex-wrap:wrap;justify-content:flex-end;max-width:80px;gap:5px}.routine-actions .toggle{margin-right:0}.routine-details p{max-width:250px}.toast{left:calc(50% + 100px)}}@media(max-width:650px){body,html{font-size:14px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:260px;padding:27px 18px 20px}.sidebar.open{transform:translateX(0)}.sidebar-overlay{display:block;position:fixed;inset:0;background:#16132266;z-index:25;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar .brand{font-size:23px}.sidebar .personal-tag{display:block;font-size:8px}.sidebar .new-chat-button{font-size:12px}.sidebar .new-chat-button span{display:block}.sidebar .nav-item{font-size:12px;height:44px}.sidebar .sidebar-section-title{font-size:8px}.main-shell{margin-left:0;padding-bottom:calc(65px + env(safe-area-inset-bottom));min-height:100dvh}.topbar{height:64px;padding:0 16px;gap:10px}.topbar-left{gap:8px;font-size:11px}.topbar-left>span:first-of-type,.topbar-left>svg{display:none}.topbar-subtitle{max-width:210px;font-size:11px}.mobile-menu{display:inline-flex;width:27px;margin-right:3px}.topbar-actions{gap:6px}.topbar-actions>.icon-button:last-child{display:none}.private-label{font-size:9px;padding:4px 7px}.mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(65px + env(safe-area-inset-bottom));padding:8px 7px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;align-items:flex-start;border-top:1px solid var(--line);background:var(--surface);z-index:20}.mobile-bottom-nav button{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:8px;color:var(--muted);padding:4px 7px;min-width:43px;border-radius:8px}.mobile-bottom-nav button.active{color:var(--purple-text)}.mobile-bottom-nav button.active svg{fill:var(--purple-soft)}.chat-main{padding:0 20px}.chat-main,.with-messages{min-height:calc(100dvh - 129px - env(safe-area-inset-bottom))}.with-messages{max-height:calc(100dvh - 129px - env(safe-area-inset-bottom))}.welcome{padding:38px 0 30px;max-width:420px}.welcome-badge{font-size:8px;margin-bottom:24px}.hero-logo{height:66px;width:66px;border-radius:22px;margin-bottom:27px}.hero-logo .logo-symbol{height:44px;width:44px;border-radius:14px}.welcome h1{font-size:28px;letter-spacing:-1.2px;max-width:320px;line-height:1.3;margin-bottom:14px}.welcome>p{font-size:11px;line-height:1.9;max-width:300px}.desktop-break{display:none}.suggestions{margin-top:28px;grid-template-columns:1fr;gap:8px;max-width:330px}.suggestions button{display:grid;grid-template-columns:31px 1fr 16px;grid-template-rows:auto auto;padding:13px 14px;gap:3px 12px;min-height:0;border-radius:10px;align-items:center}.suggestion-icon{grid-row:1/3;margin:0;height:31px;width:31px}.suggestions strong{font-size:10px;margin:0}.suggestions button>span:not(.suggestion-icon){font-size:9px;grid-column:2}.suggestions button>svg{display:block;position:static;grid-column:3;grid-row:1/3}.composer-container{padding-bottom:16px}.composer{border-radius:14px;padding:14px 13px 10px}.composer textarea{font-size:12px;min-height:34px}.composer-toolbar{margin-top:9px}.composer-tools{gap:10px}.agent-select select{font-size:10px;max-width:150px}.send-button{width:32px;height:32px}.send-tools{gap:9px}.enter-hint{font-size:8px}.composer-footer{font-size:7px;padding-top:10px}.model-warning{font-size:9px;line-height:1.7;padding-top:10px}.conversation{padding-top:25px}.message{gap:11px;margin-bottom:25px}.message-content{font-size:12px;line-height:1.8}.message-avatar{width:27px;height:27px}.message-name{font-size:10px;margin-bottom:7px}.message-name>span{font-size:6px}.agent-activity{padding-left:38px;font-size:10px}.approval-inline{padding:12px;font-size:11px}.workspace-page{padding:28px 20px 35px}.eyebrow{font-size:7px}.page-heading{gap:18px;margin-bottom:27px}.page-heading h1{font-size:27px;line-height:1.25;max-width:330px;margin-top:10px}.page-heading p{font-size:11px;line-height:1.8;max-width:350px}.page-heading>.button{font-size:10px;padding:9px 12px;min-height:35px}.section-toolbar{gap:10px;margin-bottom:20px;padding-bottom:13px}.section-tabs{gap:13px;white-space:nowrap}.section-tabs,.section-tabs>button{font-size:10px}.section-tabs .active:after{bottom:-24px}.search-input{max-width:150px;padding:7px 8px;gap:5px}.search-input input{font-size:9px}.card-grid{grid-template-columns:1fr;gap:14px}.resource-card{padding:20px 20px 0}.card-top{margin-bottom:18px}.resource-icon{width:41px;height:41px;border-radius:12px}.resource-card h3{font-size:14px}.resource-card>p{font-size:11px;min-height:0;margin-bottom:17px}.card-meta{font-size:9px;margin-bottom:18px}.pill{font-size:8px}.card-actions{padding:12px 0}.card-actions>button:first-child{font-size:10px}.card-actions .icon-button{width:27px}.add-card{min-height:225px;padding:24px}.add-card strong{font-size:12px}.add-card p{font-size:10px}.info-strip{margin-top:20px;padding:15px;gap:10px;align-items:flex-start}.info-strip p,.info-strip strong{font-size:10px}.info-strip p{line-height:1.7}.empty-state{padding:46px 20px}.empty-state h3{font-size:19px;max-width:230px}.empty-state p{font-size:11px;line-height:1.9}.empty-state .button{font-size:10px}.empty-icon{height:59px;width:59px;border-radius:18px}.routine-card{padding:16px;gap:12px;flex-wrap:wrap}.routine-card>.resource-icon{height:37px;width:37px;align-self:flex-start}.routine-details{width:calc(100% - 55px)}.routine-details h3{font-size:12px}.routine-details p{font-size:10px;max-width:100%;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.routine-details .card-meta{font-size:8px;line-height:1.7}.routine-actions{flex-wrap:nowrap;max-width:none;width:100%;padding-top:12px;border-top:1px solid var(--line);gap:12px}.routine-actions .toggle{margin-right:auto}.settings-layout{gap:16px}.settings-card{padding:21px}.settings-card h2{font-size:14px}.section-description{font-size:10px;line-height:1.9;margin-bottom:21px}.setting-row{gap:10px}.setting-row .button{font-size:10px;white-space:nowrap}.field>span{font-size:11px}.field input,.field select,.field textarea{font-size:16px;padding:10px;line-height:1.5}.field small{font-size:10px}.button{min-height:38px;font-size:11px}.modal{padding:22px;max-height:calc(100dvh - 32px);border-radius:16px}.modal,.modal.wide{width:calc(100% - 24px)}.modal-heading h2{font-size:20px;line-height:1.4}.modal-heading{margin-bottom:12px}.dialog-intro{font-size:11px;line-height:1.9;margin-bottom:22px}.two-fields{grid-template-columns:1fr;gap:0}.dialog-footer{gap:8px;flex-wrap:wrap;padding-top:18px;margin-top:22px}.dialog-footer .button{font-size:10px}.selection-group{padding:13px}.selection-group label{font-size:11px;line-height:2.5}.dialog-tabs button{font-size:10px}.approval-card{padding:16px}.approval-heading h3{font-size:13px}.approval-card>p{font-size:11px}.approval-detail{padding:12px}.approval-detail dd{font-size:11px}.run-heading{align-items:flex-start}.run-output,.toast{font-size:11px}.toast{left:50%;bottom:calc(82px + env(safe-area-inset-bottom));min-width:220px;max-width:calc(100% - 30px)}.error-banner{padding:10px 16px;font-size:11px}.connection-banner{padding:10px 16px;font-size:10px}.login-screen{padding:24px}.login-top .brand{font-size:22px}.login-card{padding:60px 0;max-width:350px}.login-card h1{font-size:37px}.login-card form{padding:5px 10px 0}.login-card .field input{font-size:16px}.login-footer{font-size:9px}.setup-note{padding:18px}.delete-chat{opacity:1}.topbar-subtitle{display:block!important}}@media(max-width:370px){.chat-main{padding:0 14px}.welcome{padding-top:26px;padding-bottom:23px}.welcome h1{font-size:25px}.hero-logo,.welcome-badge{margin-bottom:20px}.suggestions{margin-top:23px}.suggestions button{padding:11px 12px}.composer-footer span:last-child{display:none}.workspace-page{padding-left:16px;padding-right:16px}.page-heading h1{font-size:25px}.mobile-bottom-nav button{padding-left:3px;padding-right:3px;font-size:7px;min-width:38px}.private-label{display:none}.topbar-subtitle{max-width:215px}.topbar-actions{gap:2px}.settings-card{padding:18px}.modal{padding:19px}.enter-hint{display:none}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.approval-history{margin-top:25px;border-top:1px solid var(--line);padding-top:22px}.approval-history>h3{font-size:13px;font-weight:500;margin-bottom:18px}.approval-result{font-size:11px;margin-top:15px}.approval-result summary{cursor:pointer;color:var(--purple-text);line-height:1.8}.approval-result pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;background:var(--bg);border:1px solid var(--line);padding:12px;border-radius:8px;font:11px/1.8 monospace}@media(max-width:650px){.topbar-actions>.icon-button:last-child{display:inline-flex}}.continue-button{margin-top:15px}.dialog-error{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);margin:0 0 20px}