/* One companion palette for the homepage, workspace and every dialog. */
:root{color-scheme:light;--paper:#fbfcff;--sidebar:#f4f7fc;--ink:#172539;--muted:#617084;--line:#e4e9ef;--blue:#356aeb;--green:#178654;--yellow:#f6c549;--serif:Manrope,'DM Sans',sans-serif;--sans:'DM Sans',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 var(--sans)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;padding:14px;background:white;z-index:99}
body>.ng-nav{position:relative;background:var(--paper);z-index:3}.ng-links [aria-current=page]{color:var(--blue);text-decoration:underline;text-underline-offset:7px}.ng-mobile-nav{position:relative;z-index:3}.app-shell{display:flex;min-height:calc(100dvh - 102px);border-top:1px solid var(--line)}.sidebar{width:256px;min-width:256px;display:flex;flex-direction:column;padding:25px 20px 20px;background:var(--sidebar);border-right:1px solid var(--line);position:sticky;top:0;height:100dvh;overflow-y:auto}.workspace-companion{display:flex;align-items:center;gap:10px;margin-bottom:23px}.workspace-companion img{width:55px;height:54px;object-fit:contain}.workspace-companion strong{display:block;font:700 13px Manrope,sans-serif}.workspace-companion small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.new-chat{background:var(--blue);color:white;border-radius:12px;padding:15px 12px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;box-shadow:0 5px 15px #356aeb1a}.new-chat>span{margin-left:auto;font-size:18px}.new-chat:hover,.send-button:hover{background:#2455ce}.side-label{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#748298}.sidebar>.side-label{margin:28px 12px 11px}.nav-item{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;text-align:left;border-radius:10px;padding:11px 12px;font-size:12px;margin:3px 0;color:#5b6c83;border:1px solid transparent}.nav-item:hover{background:#eaf0fb}.nav-item.active{background:#e7efff;color:#285dcc;border-color:#d6e3ff;font-weight:700}.nav-item svg{width:18px;height:18px}.tiny-dot{width:6px;height:6px;border-radius:50%;background:#37a472;margin-left:auto}.optional,.plan-tag{font-size:9px;margin-left:auto}.plan-tag{background:#fff0bc;color:#795a08;padding:2px 5px;border-radius:4px}.nav-item .external{width:13px;height:13px;transform:rotate(45deg);margin-left:auto}.history-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 12px 11px}.history-heading>span:last-child{font-size:10px;color:#748298}.history-empty{font-size:11px;line-height:1.8;color:#6a7b92;padding:0 12px}.conversation-link{display:block;width:100%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:11px 12px;font-size:12px;border-radius:8px;color:#516880}.conversation-link:hover,.conversation-link.current{background:#e6eefc;color:#285dcc}#conversations{overflow-y:auto;max-height:28vh}.history-control{margin:0 12px 10px;text-align:left;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:28px}.daily-note{border:1px solid #eadfb8;border-radius:15px;padding:17px;background:radial-gradient(circle at 100% 0,#ffdf7e66,transparent 65%),#fff8df;position:relative;margin-bottom:18px}.daily-note p{font:600 18px/1.45 Manrope,sans-serif;margin:12px 0;letter-spacing:-.5px}.daily-note em{font-size:14px;font-style:normal;color:#6b7356}.note-icon{font-size:26px;color:#c39527;display:inline-block;animation:companion-turn 22s linear infinite}.daily-note a{font-size:9px;color:#796830;text-decoration:underline;text-underline-offset:3px}.account{display:flex;text-align:left;align-items:center;gap:9px;width:100%;padding:13px 10px;border:1px solid #cddcf6;border-radius:12px;background:white}.account:hover{background:#eaf1ff}.avatar{width:30px;height:30px;flex-shrink:0;border-radius:9px;display:grid;place-items:center;background:#eaf1ff;color:var(--blue)}.avatar svg{width:16px;height:16px}.account strong{font-size:12px;font-weight:700;display:block}.account small{font-size:9px;display:block;color:var(--muted);margin-top:3px}.account>span:last-child{margin-left:auto;color:var(--blue)}.sidebar-links{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px;padding:16px 2px 0}.sidebar-links button{font-size:10px;margin-left:auto;padding:0}
.main{flex:1;min-width:0;background:radial-gradient(ellipse 55% 35% at 50% 12%,#eaf0ff99,transparent),var(--paper)}.topbar{min-height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:12px 34px;gap:16px;background:#ffffffb3}.topbar-brand{display:flex;align-items:center;gap:10px;min-width:0}.topbar-avatar{width:43px;height:43px;object-fit:contain;background:#edf4ff;border-radius:14px}.topbar-brand strong{display:block;font:700 13px Manrope,sans-serif}.topbar-brand small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.topbar-actions{display:flex;align-items:center;gap:18px}.context-button{font-size:11px;display:flex;align-items:center;gap:7px;color:#516680;padding:8px 0}.context-button svg{width:16px;height:16px}.workspace-plan{font-size:11px;font-weight:700;padding:10px 13px;border:1px solid #d6e1f5;border-radius:9px;background:white;color:#315b9d;white-space:nowrap}.workspace-plan span{margin-left:12px}.mobile-new,.workspace-button{display:none}.main-body{min-height:calc(100dvh - 179px);display:flex;flex-direction:column;align-items:center;padding:26px 38px 0}.welcome{text-align:center;width:100%;max-width:790px}.chat-companion-stage{width:250px;height:170px;position:relative;margin:0 auto 18px;display:flex;justify-content:center;align-items:center}.chat-companion-stage>img{width:170px;height:156px;object-fit:contain;position:relative;animation:companion-float 6s ease-in-out infinite}.companion-ring{position:absolute;inset:18px 40px 8px;border:1px solid #cbdaf5;border-radius:50%;transform:rotate(-18deg);background:radial-gradient(circle,#e5edff99,transparent 70%)}.companion-ring::after{content:'';position:absolute;inset:10px -20px;border:1px dashed #bbd8cf;border-radius:50%;transform:rotate(40deg)}.companion-spark{position:absolute;font-size:28px;animation:companion-turn 30s linear infinite}.spark-blue{top:27px;left:25px;color:var(--blue)}.spark-yellow{bottom:26px;right:20px;color:#dfad22}.companion-hello{position:absolute;bottom:-3px;background:white;border:1px solid #dce6f6;border-radius:20px;padding:5px 11px;box-shadow:0 4px 14px #203e6a08;font-size:9px;color:#61738e}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#708198}.hero-eyebrow{display:flex;justify-content:center;align-items:center;gap:9px;font-size:8px;letter-spacing:1.7px}.hero-eyebrow>span{width:6px;height:6px;border-radius:50%;background:#48b584}.welcome h1{font:650 43px/1.16 Manrope,sans-serif;letter-spacing:-1.8px;margin:14px 0}.welcome h1 em{font-style:normal;color:var(--blue)}.welcome-copy{font-size:12px;line-height:1.85;color:var(--muted);margin:0}.starter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px auto 17px;width:100%}.starter{text-align:left;min-height:118px;padding:16px;background:white;border:1px solid #dce5f2;border-radius:15px;position:relative;transition:transform .18s,box-shadow .18s}.starter:nth-child(2){border-color:#d6e9dc;background:#f7fbf8}.starter:nth-child(3){border-color:#efe1bb;background:#fffcf3}.starter:hover{transform:translateY(-3px);box-shadow:0 8px 22px #294d7410}.starter-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;margin-bottom:12px}.starter-icon svg{width:17px;height:17px}.peach{background:#e9f0ff;color:var(--blue)}.sage{background:#e5f3e9;color:var(--green)}.lavender{background:#fff0bc;color:#9c761b}.starter strong{display:block;font-size:11px;font-weight:700;margin-bottom:4px}.starter>span:not(.starter-icon){font-size:9px;color:#6c7d92}.starter b{position:absolute;right:15px;top:19px;color:#8094ad;font-size:17px;font-weight:400}.intro-link{display:flex;align-items:center;justify-content:center;gap:8px;color:#54769c;font-size:10px;margin:0 auto;padding:4px}.intro-link>span{font-size:16px}
.composer-area{max-width:790px;width:100%;margin-top:23px}.composer{border:1px solid #ccd9eb;background:white;border-radius:17px;padding:16px 18px 12px;box-shadow:0 8px 30px #29496a07}.composer:focus-within{border-color:#7a9ee9;box-shadow:0 0 0 3px #356aeb12}.composer textarea{width:100%;resize:vertical;background:transparent;border:0;padding:2px 1px;min-height:48px;max-height:190px;font-size:14px;line-height:1.7;color:var(--ink);outline:none}.composer textarea::placeholder{color:#7a8aa0}.composer textarea:focus-visible{outline:none}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.composer-hint{display:flex;align-items:center;gap:7px;color:#73869d;font-size:10px}.composer-hint svg{width:13px;height:13px;color:var(--green)}.send-button{width:38px;height:38px;border-radius:11px;background:var(--blue);color:white;display:grid;place-items:center}.send-button svg{width:19px;height:19px}.composer-meta{display:flex;justify-content:space-between;margin-top:11px;font-size:9px;color:#6c7f96;gap:10px}#connection-state{display:flex;align-items:center;gap:6px}.status-dot{width:6px;height:6px;flex-shrink:0;background:#c69b30;border-radius:50%}.status-dot.ready{background:#27a16b}.disclaimer{font-size:9px;color:#7a8798;text-align:center;margin:13px 0 0;line-height:1.7}.main-footer{margin-top:auto;padding:26px 0 20px;width:100%;display:flex;align-items:center;justify-content:space-between;color:#8490a0;font-size:8px;letter-spacing:1px;gap:12px}.main-footer strong{font-weight:500;color:#60768e}.powered{letter-spacing:.2px}.powered>span{font-size:14px;padding-left:6px;color:#d6a831}#mobile-auth{display:none}
.conversation-view{width:100%;max-width:790px;padding-top:6px}.conversation-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.conversation-heading h1{font:600 27px/1.3 Manrope,sans-serif;letter-spacing:-1px;margin:9px 0;overflow-wrap:anywhere}.text-button{font-size:11px;color:#4a6e9e;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.message{margin:0 0 27px;display:flex;gap:13px;align-items:flex-start}.message-avatar{background:#edf3ff;border:1px solid #dfe8f7;border-radius:14px;width:44px;height:44px;flex:0 0 44px;object-fit:contain}.message.user{flex-direction:row-reverse}.message-content{max-width:90%;min-width:0}.message.user .message-content{background:#eaf0ff;border:1px solid #d7e3fc;border-radius:17px 17px 4px 17px;padding:14px 18px}.message-label{font-size:9px;letter-spacing:1px;color:#5375a2;margin:1px 0 9px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;color:#2d4058}.message-text p{margin:0 0 12px}.message-text p:last-child{margin-bottom:0}.message-text strong{font-weight:700}.message-context{font-size:9px;color:#5c7393;margin-top:9px}.job-state{font-size:12px;color:#567697;line-height:1.8}.job-state.busy::before{content:'';display:inline-block;width:9px;height:9px;border:2px solid #bdd0f3;border-top-color:var(--blue);border-radius:50%;animation:companion-turn 1.3s linear infinite;margin-right:8px}.job-actions{display:flex;gap:12px;margin-top:8px}.job-actions button{font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#35639a}.notice{border:1px solid #e9dba7;background:#fff8e3;color:#7a632b;border-radius:10px;padding:12px 15px;line-height:1.7;font-size:12px;margin-bottom:12px}.context-summary{font-size:10px;display:flex;justify-content:space-between;padding:0 4px 10px;color:#577997}.context-summary button{font-size:10px;text-decoration:underline}#load-messages{margin:0 0 18px}
dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:22px;width:min(570px,calc(100% - 32px));max-height:92dvh;padding:30px;box-shadow:0 24px 100px #142c4933;overflow-y:auto}dialog::backdrop{background:#11243b99;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-button{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #dbe5f2;border-radius:9px;background:white;color:#51729a}.icon-button svg{width:18px;height:18px}dialog h2{font:600 29px/1.2 Manrope,sans-serif;letter-spacing:-1px;margin:15px 0}dialog h2 em{color:var(--blue);font-style:normal}dialog p{color:var(--muted);font-size:12px;line-height:1.8}dialog label:not(.consent){display:block;font-size:11px;margin:18px 0 8px}dialog input:not([type=checkbox]),dialog textarea,dialog select{width:100%;border:1px solid #d5deea;border-radius:9px;padding:11px;background:white;color:var(--ink);font-size:12px}dialog textarea{resize:vertical}.consent{display:flex!important;align-items:flex-start;gap:9px;font-size:11px!important;font-weight:400!important;color:var(--muted);line-height:1.7;margin:19px 0 8px!important}.consent input{accent-color:var(--blue);flex-shrink:0;margin-top:4px}.small-print{font-size:10px!important;line-height:1.8!important}.dialog-actions{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-top:24px}.primary-button{background:var(--blue);color:white;border-radius:10px;padding:13px 17px;font-size:12px;display:flex;align-items:center;gap:20px;font-weight:700}.primary-button:hover{background:#2455ce}.primary-button span{margin-left:auto}.full-width{width:100%;margin-top:20px}.dialog-companion{display:block;width:80px;height:74px;object-fit:contain;margin:10px 0 0}.info-step{display:flex;gap:20px;margin:23px 0}.info-step>b{font:600 25px Manrope,sans-serif;color:#6c94d8}.info-step h3{font-size:13px;margin:1px 0 5px}.info-step p{margin:0;font-size:11px}.workspace-links{display:flex;flex-wrap:wrap;gap:14px 20px;margin-top:25px;color:#4e6f99;font-size:12px}.workspace-links button{font-size:12px;padding:0}.noscript{position:fixed;bottom:10px;left:20px;right:20px;background:#fff4cd;color:#766025;padding:15px;border:1px solid #e4d4a1;z-index:10}
.new-chat{flex-shrink:0;white-space:nowrap;font-size:11px;gap:8px;padding:15px 10px}.new-chat svg{width:18px;height:18px}.sidebar .nav-item{font-size:11px;gap:8px}.workspace-button.icon-button,.mobile-new.icon-button{display:none}
@keyframes companion-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(1deg)}}@keyframes companion-turn{to{rotate:360deg}}
@media(min-width:1500px){.sidebar{width:280px;min-width:280px}.main-body{padding-top:36px}.chat-companion-stage{height:190px}.chat-companion-stage>img{width:195px;height:180px}.welcome h1{font-size:48px}}
@media(max-width:1100px){.sidebar{width:226px;min-width:226px;padding-inline:15px}.topbar{padding-inline:25px}.main-body{padding-inline:25px}.topbar-actions{gap:12px}.starter{padding:14px 12px}.workspace-companion{gap:6px}.workspace-companion img{width:45px}.workspace-companion strong{font-size:12px}.workspace-companion small{font-size:8px}}
@media(max-height:820px) and (min-width:901px){.main-body{padding-top:16px}.chat-companion-stage{height:129px;margin-bottom:14px}.chat-companion-stage>img{width:132px;height:122px}.companion-hello{bottom:-4px;font-size:8px}.welcome h1{font-size:36px;margin:12px 0}.starter-grid{margin-top:21px}.starter{min-height:109px}.composer-area{margin-top:16px}.sidebar-bottom{padding-top:20px}}
@media(max-width:900px){.sidebar{display:none}.app-shell{min-height:calc(100dvh - 102px)}.workspace-button,.mobile-new{display:grid}.topbar{padding:12px 24px}.main-body{padding-top:24px}.welcome,.conversation-view,.composer-area{max-width:750px}.context-button{display:none}.topbar-actions{gap:9px}.main-footer #mobile-auth{display:block;font-size:11px;color:var(--blue);font-weight:700}.main-footer>span:first-child{display:none}.main-footer{flex-direction:row-reverse}}
@media(max-width:650px){.app-shell{min-height:calc(100dvh - 82px)}.main-body{padding:18px 18px 0;min-height:calc(100dvh - 153px)}.topbar{min-height:71px;padding:12px 18px;gap:8px}.topbar-brand{gap:7px}.topbar-brand strong{font-size:11px}.topbar-brand small{font-size:8px;max-width:130px}.topbar-avatar{width:33px;height:35px;border-radius:10px}.topbar-actions{gap:6px}.workspace-plan{font-size:10px;padding:8px}.workspace-plan span{display:none}.mobile-new{display:none}.workspace-button{width:31px;height:33px}.chat-companion-stage{height:150px;margin-bottom:17px}.chat-companion-stage>img{width:153px;height:141px}.welcome h1{font-size:clamp(28px,8.2vw,40px);letter-spacing:-1.3px;margin:14px 0}.hero-eyebrow{font-size:7px;letter-spacing:1.2px}.welcome-copy{font-size:11px}.starter-grid{grid-template-columns:1fr;gap:8px;margin-top:21px;margin-bottom:13px}.starter{display:grid;grid-template-columns:34px 1fr;grid-template-rows:19px 17px;column-gap:11px;padding:12px 14px;min-height:0;border-radius:12px}.starter-icon{grid-row:1/3;margin:0;width:34px;height:34px}.starter strong{font-size:11px;align-self:center;margin:0}.starter>span:not(.starter-icon){font-size:10px;align-self:end}.starter b{top:16px;right:14px;font-size:16px}.intro-link{font-size:9px}.composer-area{margin-top:20px}.composer{padding:13px 14px 10px;border-radius:14px}.composer textarea{font-size:16px;min-height:53px}.composer-hint{font-size:9px}.composer-meta{font-size:9px}.keyboard-hint{display:none}.disclaimer{font-size:9px;max-width:310px;margin:13px auto 0}.main-footer{padding-top:22px}.conversation-heading{gap:12px;margin-bottom:23px}.conversation-heading h1{font-size:23px}.conversation-heading>.text-button{font-size:10px;max-width:80px}.message-text{font-size:13px}.message-content{max-width:90%}.message{gap:9px}.message-avatar{width:34px;flex-basis:34px;height:36px;border-radius:10px}.message.user .message-content{padding:12px 15px}.dialog-actions{gap:12px}.primary-button{font-size:11px;padding:12px 14px}.dialog-companion{width:65px;height:60px}}
@media(max-width:360px){.topbar-avatar{display:none}.topbar-brand small{font-size:8px}.companion-hello{font-size:8px}.starter>span:not(.starter-icon){font-size:9px}.intro-link{font-size:8px}.composer-hint{font-size:8px}}
@media(max-width:900px){.workspace-button.icon-button,.mobile-new.icon-button{display:grid}}@media(max-width:650px){.mobile-new.icon-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.ng-motion-paused *,.ng-motion-paused *::before,.ng-motion-paused *::after{animation-play-state:paused!important}
