:root{color-scheme:light;--bg: #ffffff;--surface: #f6f7f9;--sidebar: #fafbfc;--divider: #eff0f3;--surface-2: #f0f1f4;--surface-3: #e3e5ea;--border: #e1e3e8;--text: #182940;--text-muted: #6a7080;--accent: #438bff;--accent-text: #ffffff;--green: #1f9d57;--red: #e5484d;--user-bubble: #438bff;--shadow: 0 10px 30px rgba(20, 24, 40, .12)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0d0e10;--surface: #141518;--sidebar: #101114;--divider: #191a1e;--surface-2: #1c1d21;--surface-3: #2a2c32;--border: #24262b;--text: #f1f2f4;--text-muted: #8b909c;--accent: #438bff;--green: #35c27a;--red: #f0565b;--user-bubble: #438bff;--shadow: 0 10px 30px rgba(0, 0, 0, .45)}}:root[data-theme=dark]{color-scheme:dark;--bg: #0d0e10;--surface: #141518;--sidebar: #101114;--divider: #191a1e;--surface-2: #1c1d21;--surface-3: #2a2c32;--border: #24262b;--text: #f1f2f4;--text-muted: #8b909c;--accent: #438bff;--green: #35c27a;--red: #f0565b;--user-bubble: #438bff;--shadow: 0 10px 30px rgba(0, 0, 0, .45)}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,p,ul,ol,dl,dd{margin:0;padding:0}ul,ol{list-style:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}button{transition:scale .12s ease-out}a.option,a.nav-item,a.nav-add,a.chat-row,a.rail-item,a.view-item{color:var(--text-muted);text-decoration:none;transition:scale .12s ease-out}a.option,a.chat-row,a.nav-item.is-active,a.rail-item.is-active{color:var(--text)}a.option.is-primary{color:#fff}button:active:not(:disabled),a.option:active,a.nav-item:active,a.nav-add:active,a.chat-row:active,a.rail-item:active,a.view-item:active{scale:.95}@media(prefers-reduced-motion:reduce){button:active:not(:disabled),a.option:active,a.nav-item:active,a.nav-add:active,a.chat-row:active,a.rail-item:active{scale:1}}.breadcrumb a{color:inherit;text-decoration:none}.breadcrumb a:hover{color:var(--text)}.not-found{grid-column:2 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}.not-found h1{font-size:22px}.not-found p{margin-bottom:8px;color:var(--text-muted)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.icon{flex:none;display:block}*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--text-muted) 45%,transparent) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--text-muted) 45%,transparent);background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--text-muted) 70%,transparent)}.app{display:grid;grid-template-columns:64px 256px minmax(0,1fr);height:100%}.rail{display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding:10px 0;background:var(--bg);border-right:1px solid var(--divider)}.rail ul{display:flex;flex-direction:column;align-items:center;gap:8px}.rail-item{display:flex;flex-direction:column;align-items:center;gap:4px;width:60px;padding:2px 0;border:0;background:transparent;color:var(--text-muted);text-decoration:none}.rail-icon,.usage-dial{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:12px}.rail-label{max-width:100%;overflow:hidden;font-size:10.5px;font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.rail-item:hover{color:var(--text)}.rail-item:hover .rail-icon,.rail-item:hover .usage-dial{background:var(--surface-2)}.rail-item.is-active{color:var(--text)}.rail-item.is-active .rail-icon{background:var(--surface-3)}.rail-item.is-active .rail-label{font-weight:600}.usage-dial{border-radius:50%;color:var(--text)}.usage-dial svg{position:absolute;top:0;right:0;bottom:0;left:0}.usage-dial circle{fill:none;stroke-width:3.2}.usage-track{stroke:var(--surface-3)}.usage-value{stroke:var(--green);stroke-linecap:round;transition:stroke-dashoffset .4s ease}.usage-ring.is-medium .usage-value{stroke:#e0a52b}.usage-ring.is-high .usage-value{stroke:var(--red)}.usage-dial b{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.usage{position:relative}.usage-panel{position:absolute;left:calc(100% + 6px);bottom:-6px;z-index:30;width:340px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translate(-4px);transition:opacity .14s,transform .14s,visibility .14s}.usage:hover .usage-panel,.usage:focus-within .usage-panel{opacity:1;visibility:visible;transform:translate(0)}.usage-panel:before{content:"";position:absolute;top:0;bottom:0;left:-16px;width:16px}.usage-panel h3{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:15px;font-weight:600}.usage-panel h4{margin-bottom:8px;font-size:14px;font-weight:600}.usage-panel dl{display:grid;gap:8px}.usage-panel dl>div{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:10px}.usage-panel dt,.usage-reset{color:var(--text-muted);font-size:13px;white-space:nowrap}.usage-panel dd{display:grid;grid-template-columns:minmax(40px,1fr) auto 56px;align-items:center;gap:10px}.usage-panel strong{font-size:13px;font-weight:600;white-space:nowrap}.usage-reset{text-align:right}.usage-bar{height:5px;overflow:hidden;border-radius:999px;background:var(--surface-3)}.usage-bar i{display:block;height:100%;border-radius:999px;background:var(--text)}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0}.content{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 328px;min-height:0}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.sidebar{display:flex;flex-direction:column;min-height:0;background:var(--sidebar);border-right:1px solid var(--divider)}.workspace-switch{flex:none;display:flex;align-items:center;gap:12px;height:54px;padding:0 18px;border:0;border-bottom:1px solid var(--divider);background:transparent;color:var(--text-muted);text-align:left}.workspace-switch:hover,.workspace-switch.is-open{background:var(--surface-2)}.workspace-menu{position:relative;flex:none}.workspace-menu .workspace-switch{width:100%}.workspace-switch .icon{transition:rotate .15s}.workspace-switch.is-open .icon{rotate:180deg}.workspace-panel{position:absolute;top:calc(100% + 6px);left:10px;z-index:40;display:flex;flex-direction:column;gap:2px;width:280px;padding:8px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);animation:notif-in .16s ease-out;transform-origin:top left}.workspace-panel-label{padding:4px 8px 6px;color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.workspace-row,.workspace-create{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left}.workspace-row:hover,.workspace-create:hover{background:var(--surface-2)}.workspace-row.is-current{background:color-mix(in srgb,var(--accent) 8%,transparent)}.workspace-row>.icon{color:var(--accent)}.workspace-mark{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#182940;color:#fff;font-size:16px;font-weight:700}.workspace-row-text{flex:1;min-width:0;display:flex;flex-direction:column}.workspace-row-text strong{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.workspace-row-text span{overflow:hidden;color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workspace-create{margin-top:4px;padding-top:12px;border-top:1px solid var(--divider);border-radius:0 0 10px 10px;color:var(--text);font-size:14px;font-weight:500}.workspace-create-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border:1.5px dashed var(--border);border-radius:10px;color:var(--text-muted)}.workspace-dialog .dialog-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.logo{height:28px;width:auto;margin-right:auto}.logo-on-dark,:root[data-theme=dark] .logo-on-light{display:none}:root[data-theme=dark] .logo-on-dark{display:block}.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;padding:16px 12px}.nav-list{display:flex;flex-direction:column;gap:2px}.nav-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px;padding:14px 6px 0 10px;border-top:1px solid var(--divider);color:var(--text-muted)}.nav-heading h2{font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.nav-add{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--text-muted)}.nav-add:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);text-align:left}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.is-active{background:var(--surface-3);color:var(--text)}.nav-agent{gap:12px;padding:5px 10px 5px 6px;color:var(--text);font-size:15px}.nav-agent-fallback{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:var(--surface-2);color:var(--text-muted)}.nav-label{flex:1;min-width:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.nav-empty{padding:4px 10px;color:var(--text-muted);font-size:13px}.badge{flex:none;min-width:22px;padding:1px 6px;border-radius:6px;color:#fff;font-size:11px;font-weight:700;text-align:center}.badge-blue{background:var(--accent)}.badge-red{background:var(--red)}.status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--green)}.topbar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;height:54px;padding:0 24px;background:var(--bg);border-bottom:1px solid var(--divider)}.topbar-title{flex:1;min-width:0;white-space:nowrap}.topbar-title .breadcrumb{overflow:hidden;text-overflow:ellipsis}.topbar-actions{display:flex;align-items:center;gap:14px}.icon-button{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);padding:0}.icon-button:hover{background:var(--surface-2);color:var(--text)}.user{display:flex;align-items:center;gap:10px;padding-left:16px;border-left:1px solid var(--divider)}.user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--surface-3);color:var(--text);font-weight:700}.user-text{display:flex;flex-direction:column;line-height:1.25}.user-text strong{font-size:13px}.user-text span{color:var(--text-muted);font-size:12px}.breadcrumb{color:var(--text-muted);font-size:14px;font-weight:400}.breadcrumb strong{color:var(--text);font-weight:600}.breadcrumb span{margin:0 4px;opacity:.6}.chat{position:relative;flex:1;display:flex;flex-direction:column;min-height:0}.chat-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px 28px}.message-list{display:flex;flex-direction:column;gap:22px;max-width:760px;margin:0 auto}.message{display:flex;gap:12px}.message.is-user{justify-content:flex-end}.message-column{display:flex;flex-direction:column;gap:8px;min-width:0}.message.is-user .message-column{align-items:flex-end;max-width:78%}.message.is-assistant .message-column{flex:1}.assistant-avatar{flex:none;display:grid;place-items:center;width:36px;height:36px}.message-author{display:flex;align-items:baseline;gap:8px;font-size:13px;font-weight:600;line-height:36px}.message-author time,.message-meta time{color:var(--text-muted);font-size:11px;font-weight:400}.bubble{padding:10px 14px;border-radius:16px 16px 4px;background:var(--user-bubble);color:#fff;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;align-items:center;gap:8px}.prose{margin-top:-8px;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.prose p+p,.prose p+ul,.prose ul+p{margin-top:10px}.prose ul{padding-left:20px;list-style:disc}.prose li+li{margin-top:4px}.prose code{padding:1px 5px;border-radius:5px;background:var(--surface-3);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px}.prose.is-streaming>:last-child:after{content:"";display:inline-block;width:7px;height:15px;margin-left:3px;border-radius:2px;background:var(--accent);vertical-align:-2px;animation:blink .9s steps(2) infinite}@keyframes blink{50%{opacity:0}}.typing{display:flex;gap:5px;padding:6px 0 10px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--text-muted);animation:bounce 1.1s infinite ease-in-out}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-5px);opacity:1}}.options{display:flex;flex-wrap:wrap;gap:8px}.option{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:14px;font-weight:500;transition:background .12s,border-color .12s,scale .12s ease-out}.option:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}.option.is-picked{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--surface))}.option.is-primary{border-color:var(--accent);background:var(--accent);color:#fff}.option.is-primary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 82%,#182940)}.option:disabled{opacity:.45}.widget-suggestions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:4px}.widget-caption{color:var(--text-muted);font-size:13px}.suggestion{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:9px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font-size:14px;text-align:left;transition:border-color .12s,background .12s,scale .12s ease-out}.suggestion svg{flex:none;color:var(--accent)}.suggestion:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.widget-choice{display:flex;flex-direction:column;gap:10px}.choice-list.has-descriptions{display:grid;gap:8px}.choice-list.has-descriptions .option{justify-content:flex-start;border-radius:12px;text-align:left}.choice-text{display:flex;flex-direction:column;gap:2px}.choice-text strong{font-weight:500}.choice-text small{color:var(--text-muted);font-size:12.5px;font-weight:400}.choice-check{display:grid;flex:none;place-items:center;width:16px;height:16px;border:1px solid var(--border);border-radius:5px;color:#fff}.option.is-picked .choice-check{border-color:var(--accent);background:var(--accent)}.option.is-ghost{border-style:dashed;color:var(--text-muted)}.widget-other{display:flex;gap:8px}.widget-other .settings-input{flex:1;width:auto;min-width:0}.widget-form,.widget-card{display:flex;flex-direction:column;gap:12px;max-width:520px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.widget-form .dialog-field em{color:var(--red);font-style:normal}.widget-card header{display:flex;align-items:flex-start;gap:12px}.widget-card header>div{flex:1;min-width:0}.widget-card header strong{font-size:15px}.widget-card header p{margin-top:2px;color:var(--text-muted);font-size:13.5px}.widget-note{color:var(--text-muted);font-size:12.5px}.connect-icon{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}.pill-soon{flex:none;padding:2px 9px;border-radius:999px;background:var(--surface-2);color:var(--text-muted);font-size:11px;font-weight:600}.connect-providers{display:grid;gap:8px}.connect-provider{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);text-align:left}.connect-provider:disabled{opacity:.6;cursor:not-allowed}.connect-provider strong{font-size:14px;font-weight:500}.connect-provider small{color:var(--text-muted);font-size:12.5px}.summary-card.is-old{opacity:.6}.summary-version{flex:none;color:var(--text-muted);font-size:12px}.summary-section h4{display:flex;align-items:center;gap:6px;margin-bottom:4px;color:var(--text-muted);font-size:12.5px;font-weight:600}.summary-section ul,.config-list{display:flex;flex-direction:column;gap:3px;padding-left:18px;font-size:14px}.config-list{flex:1;max-width:60%;color:var(--text)}.message-error{display:flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--red) 35%,transparent);border-radius:10px;background:color-mix(in srgb,var(--red) 8%,transparent);color:var(--red);font-size:14px}.message-actions{display:flex;gap:2px;margin-left:-6px;opacity:0;transition:opacity .12s}.message:hover .message-actions,.message:last-child .message-actions,.message-actions:focus-within{opacity:1}.ghost-button{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font-size:12px}.ghost-button:hover{background:var(--surface-2);color:var(--text)}.ghost-button.is-on{color:var(--accent)}.attachment-row{display:flex;flex-wrap:wrap;gap:8px}.attachment{display:inline-flex;align-items:center;gap:9px;max-width:260px;padding:7px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text-muted)}.attachment>span{display:flex;flex-direction:column;min-width:0;line-height:1.25}.attachment strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.attachment small{font-size:11px}.attachment button{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:var(--text-muted);padding:0}.attachment button:hover{background:var(--surface-3);color:var(--text)}.summary-card{max-width:460px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.summary-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--border)}.summary-head div{display:flex;flex-direction:column;line-height:1.3}.summary-head strong{font-size:16px}.summary-head span,.summary-card dt{color:var(--text-muted);font-size:12px}.summary-card dl{display:grid;gap:10px;margin-top:14px}.summary-card dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}.agent-avatar{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--accent),#182940);color:#fff;font-weight:700}.chat-footer{position:relative;flex:none;width:100%;max-width:816px;margin:0 auto;padding:0 28px 14px}.scroll-bottom{position:absolute;top:-46px;left:50%;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text-muted);box-shadow:var(--shadow);transform:translate(-50%);padding:0}.scroll-bottom:hover{color:var(--text)}.composer{display:flex;flex-direction:column;gap:8px;padding:12px 12px 8px 16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);transition:border-color .12s,box-shadow .12s}.composer.is-focused{border-color:color-mix(in srgb,var(--accent) 70%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.composer textarea{width:100%;min-height:24px;padding:0;border:0;background:transparent;font-size:15px;line-height:1.6;outline:none;resize:none}.composer textarea::placeholder{color:var(--text-muted)}.composer-bar{display:flex;align-items:center;gap:8px;margin-left:-8px}.composer-hint{flex:1;overflow:hidden;color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.send-button{flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:var(--accent);color:#fff;padding:0}.send-button:disabled{background:var(--surface-3);color:var(--text-muted)}.send-button.is-stop{background:var(--text);color:var(--surface)}.chat-disclaimer{margin-top:8px;color:var(--text-muted);font-size:11px;text-align:center}.drop-overlay{position:absolute;top:8px;right:20px;bottom:8px;left:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed var(--accent);border-radius:18px;background:color-mix(in srgb,var(--bg) 88%,transparent);color:var(--accent);font-weight:600;pointer-events:none}.side-panel{min-height:0;overflow-y:auto;background:var(--bg);border-left:1px solid var(--divider)}.panel-section{padding:22px;border-bottom:1px solid var(--divider)}.panel-section:last-child{border-bottom:0}.panel-heading{margin-bottom:14px;font-size:15px;font-weight:600}.progress{height:8px;overflow:hidden;border-radius:999px;background:var(--surface-3)}.progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--green));transition:width .35s ease}.panel-note{margin-top:10px;color:var(--text-muted);font-size:13px}.panel-note strong{color:var(--text)}.panel-empty{color:var(--text-muted);font-size:13px}.field-list{display:flex;flex-direction:column;gap:14px;margin-top:18px}.field-list li,.agent-list li{display:flex;align-items:flex-start;gap:11px}.field-mark{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border:1.5px solid var(--surface-3);border-radius:50%;color:#fff}.is-filled .field-mark{border-color:var(--green);background:var(--green)}.is-current .field-mark{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}.field-body{flex:1;display:flex;flex-direction:column;min-width:0;line-height:1.35}.field-label{color:var(--text-muted);font-size:12px}.field-value{color:var(--text-muted);overflow-wrap:anywhere}.is-filled .field-value,.agent-list .field-value{color:var(--text);font-weight:500}.is-current .field-value{color:var(--accent)}.file-list{display:flex;flex-direction:column;gap:8px}.file-list li{display:flex;align-items:center;gap:8px;color:var(--text-muted);overflow-wrap:anywhere}.agent-list{display:flex;flex-direction:column;gap:12px}.agent-list li{align-items:center}.pill-active{padding:2px 9px;border-radius:999px;background:color-mix(in srgb,var(--green) 16%,transparent);color:var(--green);font-size:11px;font-weight:600}.limits{flex:1}.limits-scroll{flex:1;min-height:0;overflow-y:auto}.limits-inner{display:flex;flex-direction:column;gap:16px;max-width:820px;margin:0 auto;padding:0 28px 28px}.page-lead{max-width:560px;margin-top:20px;color:var(--text-muted)}.limits-card{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.limits-card header{display:flex;align-items:center;gap:12px}.limits-card h2{font-size:15px;font-weight:600}.limits-card header p{color:var(--text-muted);font-size:13px}.limits-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px}.limits-icon.is-green{background:color-mix(in srgb,var(--green) 16%,transparent);color:var(--green)}.limits-icon.is-red{background:color-mix(in srgb,var(--red) 16%,transparent);color:var(--red)}.limits-icon.is-blue{background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent)}.limits-card .option{background:var(--bg)}.limits-card .option.is-picked{border-color:var(--green);background:color-mix(in srgb,var(--green) 14%,var(--bg))}.limits-card .option.is-picked.is-red{border-color:var(--red);background:color-mix(in srgb,var(--red) 14%,var(--bg))}.add-row{display:flex;align-items:center;gap:6px;padding:2px 4px 2px 14px;border:1px dashed var(--border);border-radius:999px}.add-row:focus-within{border-color:var(--accent);border-style:solid}.add-row input{flex:1;min-width:0;height:34px;border:0;background:transparent;outline:none}.add-row input::placeholder{color:var(--text-muted)}.access-list{display:flex;flex-direction:column}.access-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:10px 0;border-top:1px solid var(--divider)}.access-list li:first-child{padding-top:0;border-top:0}.access-list li:last-child{padding-bottom:0}.access-name{font-weight:500}.segmented{display:flex;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}.segmented button{padding:5px 11px;border:0;border-radius:7px;background:transparent;color:var(--text-muted);font-size:13px;white-space:nowrap}.segmented button.is-active{background:var(--surface-3);color:var(--text);font-weight:500}.limits-footer{flex:none;display:flex;align-items:center;gap:10px;padding:14px 28px;border-top:1px solid var(--divider)}.limits-footer p{flex:1;color:var(--text-muted);font-size:13px}.limits-summary{display:flex;flex-direction:column;gap:14px}.limit-label{margin-bottom:4px;font-size:12px;font-weight:600}.limit-label.is-green{color:var(--green)}.limit-label.is-red{color:var(--red)}.limit-label.is-blue{color:var(--accent)}.limits-summary ul{display:flex;flex-direction:column;gap:3px;color:var(--text-muted);font-size:13px}.agent-figure{flex:none;display:block;overflow:visible}.figure-canvas{display:block;width:120px;height:120px}.figure-head{transform:rotate(var(--tilt, 0deg));transform-origin:60px 78px;transition:transform .3s ease-out}.figure-eyes{transform:translate(var(--look-x, 0px),var(--look-y, 0px));transition:transform .16s ease-out}.figure-glasses{transform:translate(calc(var(--look-x, 0px) * .5),calc(var(--look-y, 0px) * .5));transition:transform .16s ease-out}.is-animated .figure-sway{transform-origin:60px 100px;animation:figure-sway 5.5s ease-in-out infinite}.is-animated .figure-eye,.is-following .figure-eye{transform-box:fill-box;transform-origin:center;animation:figure-blink 4.6s infinite}.is-animated .figure-shadow{transform-box:fill-box;transform-origin:center;animation:figure-shadow 5.5s ease-in-out infinite}@keyframes figure-sway{0%,to{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-4px) rotate(1.2deg)}}@keyframes figure-shadow{50%{transform:scaleX(.86);opacity:.7}}@keyframes figure-blink{0%,92%,to{scale:1 1}95%{scale:1 .1}}.appearance-wrap{flex:1;display:grid;place-items:center;min-height:0;overflow:auto;padding:16px 28px}.appearance{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,430px);align-items:center;gap:96px;width:100%;max-width:1040px}.appearance-preview{display:flex;flex-direction:column;align-items:center;gap:18px}.appearance-preview .field{max-width:320px}.appearance-stage{display:flex;flex-direction:column;align-items:center;gap:2px}.appearance-options{display:flex;flex-direction:column;gap:16px}.option-block{display:flex;flex-direction:column;gap:8px}.swatches{display:grid;grid-template-columns:repeat(auto-fill,24px);gap:10px 13px;max-width:394px}.swatch{width:24px;height:24px;padding:0;border:0;border-radius:50%;transition:transform .12s,scale .12s ease-out}.swatch:hover{transform:scale(1.12)}.swatch.is-active{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--accent)}.shape-row{display:flex;flex-wrap:wrap;gap:4px;margin-left:-4px}.shape-option{display:grid;place-items:center;width:46px;height:46px;padding:0;border:2px solid transparent;border-radius:12px;background:transparent;transition:transform .12s,scale .12s ease-out}.shape-option:hover{background:var(--surface);transform:translateY(-2px)}.shape-option.is-active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}.accessory-grid{display:flex;flex-direction:column;gap:8px}.accessory-group{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px}.accessory-group .accessory-label{font-weight:400}.accessory-group .options{gap:6px}.accessory-group .option{padding:5px 11px;font-size:13px}.accessory-label,.field>span{color:var(--text-muted);font-size:13px;font-weight:500}.field{display:flex;flex-direction:column;gap:6px;width:100%}.field b{color:var(--red)}.field input{height:42px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:15px;outline:none}.field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}@media(max-width:1000px){.appearance{grid-template-columns:minmax(0,430px);justify-content:center;gap:20px}.appearance-wrap{place-items:start center}}.panel-figure{display:flex;flex-direction:column;align-items:center;gap:6px;margin:-4px 0 18px}.panel-figure strong{font-size:17px}@media(prefers-reduced-motion:reduce){.is-animated .figure-sway,.is-animated .figure-eye,.is-following .figure-eye,.is-animated .figure-shadow{animation:none}}.chat-row{display:flex;align-items:center;gap:12px;width:100%;padding:7px 8px 7px 6px;border:0;border-radius:12px;background:transparent;text-align:left}.chat-row:hover{background:var(--surface-2)}.chat-row.is-active{background:var(--surface-3)}.chat-row-body{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.chat-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.chat-row-top strong{overflow:hidden;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.chat-row-top time{flex:none;color:var(--text-muted);font-size:11px;font-variant-numeric:tabular-nums}.chat-row-preview{overflow:hidden;color:var(--text-muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.chat-row-preview.is-typing{color:var(--green);font-style:italic}.center-screen{flex:1;align-items:center;justify-content:center;gap:10px;padding:32px;text-align:center}.center-screen h2{margin-top:6px;font-size:22px;font-weight:700;letter-spacing:-.02em}.center-screen p{max-width:380px;color:var(--text-muted)}.center-screen .option{margin-top:10px}.empty-icon{display:grid;place-items:center;color:var(--text-muted)}.loading-bar{width:220px;height:5px;margin-top:14px;overflow:hidden;border-radius:999px;background:var(--surface-3)}.loading-bar span{display:block;width:40%;height:100%;border-radius:999px;background:var(--accent);animation:loading-slide 1.1s ease-in-out infinite}@keyframes loading-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}.pill-setup{padding:2px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent);font-size:11px;font-weight:600}.settings-nav-top{flex:none;display:flex;align-items:center;height:54px;padding:0 18px;border-bottom:1px solid var(--divider)}.settings-nav-top h2{font-size:15px;font-weight:650;letter-spacing:-.01em}.settings-main{grid-column:span 1;min-width:0;min-height:0;overflow-y:auto}.settings-inner{width:100%;max-width:1320px;margin:0 auto;padding:26px 56px 48px}.settings-group h2{margin:0 0 14px 2px;color:var(--text-muted);font-size:16px;font-weight:500}.settings-card{padding:0 28px;border-radius:18px;background:var(--surface)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:20px 0;border-top:1px solid var(--divider)}.settings-row:first-child{border-top:0}.settings-text{min-width:0}.settings-text strong{font-size:17px;font-weight:500}.settings-text p{margin-top:4px;color:var(--text-muted);font-size:15px;line-height:1.45}.settings-control{flex:none}.toggle{position:relative;width:44px;height:26px;padding:0;border:0;border-radius:999px;background:var(--surface-3);transition:background .15s,scale .12s ease-out}.toggle span{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transition:transform .15s}.toggle.is-on{background:var(--accent)}.toggle.is-on span{transform:translate(18px)}.content.is-agent{position:relative;grid-template-columns:minmax(0,1fr)}.view-switcher{position:absolute;top:50%;right:18px;z-index:5;display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);transform:translateY(-50%)}.view-item{display:flex;flex-direction:column;align-items:center;gap:3px;width:64px;padding:9px 0 7px;border:0;border-radius:13px;background:transparent;color:var(--text-muted)}.view-item span{font-size:10.5px;font-weight:500}.view-item:hover{background:var(--surface-2);color:var(--text)}.view-item.is-active{background:var(--surface-3);color:var(--text)}.view-item.is-active span{font-weight:600}.content.is-agent .chat-scroll,.content.is-agent .chat-footer,.agent-view{padding-right:110px}.agent-view{flex:1;min-height:0;overflow-y:auto}.agent-view-inner{display:flex;flex-direction:column;gap:26px;width:100%;max-width:780px;margin:0 auto;padding:30px 28px 48px}.agent-profile{display:flex;align-items:center;gap:18px}.agent-profile>div{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.agent-profile h2{font-size:22px;font-weight:700;letter-spacing:-.02em}.agent-profile p{color:var(--text-muted)}.config-value{max-width:60%;color:var(--text-muted);text-align:right;overflow-wrap:anywhere}.file-line{display:flex;align-items:center;gap:10px;color:var(--text-muted)}.view-empty-line{padding:18px 0;color:var(--text-muted)}.activity-row{justify-content:flex-start;gap:14px}.activity-row .settings-text{flex:1}.activity-row time{color:var(--text-muted);font-size:13px;white-space:nowrap}.activity-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--surface-2);color:var(--text-muted)}.view-note{margin-top:12px;color:var(--text-muted);font-size:13px}.agent-missing{display:flex;flex-direction:column;height:100%}.view-empty{align-items:center;justify-content:center;min-height:70%;gap:10px;text-align:center}.view-empty h2{font-size:20px;font-weight:700}.view-empty p{max-width:420px;color:var(--text-muted)}.page-scroll{flex:1;overflow-y:auto}.page-inner{display:flex;flex-direction:column;gap:20px;width:100%;max-width:820px;margin:0 auto;padding:30px 28px 64px}.page-layout{flex:1;min-height:0}.page-toolbar{flex:none;padding:16px 28px 12px;border-bottom:1px solid var(--divider)}.page-toolbar .tabs{margin-bottom:-13px;border-bottom:0}.page-body{flex:1;min-height:0;overflow-y:auto}.page-inner.is-wide{max-width:none;padding:18px 28px 64px}.page-inner.is-wide .approval-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(440px,1fr));align-items:start}.page-header h1{font-size:24px;font-weight:700;letter-spacing:-.02em}.page-header p{max-width:620px;margin-top:4px;color:var(--text-muted)}.page-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:56px 20px;border:1px dashed var(--border);border-radius:16px;text-align:center}.page-empty h2{margin-top:6px;font-size:18px;font-weight:700}.page-empty p{max-width:400px;color:var(--text-muted)}.page-empty .option{margin-top:8px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--divider)}.tab{display:inline-flex;align-items:center;gap:8px;margin-bottom:-1px;padding:10px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);font-weight:500}.tab:hover{color:var(--text)}.tab.is-active{border-bottom-color:var(--accent);color:var(--text)}.tab-count{min-width:20px;padding:0 6px;border-radius:999px;background:var(--surface-3);font-size:12px;font-variant-numeric:tabular-nums;text-align:center}.approval-list{display:flex;flex-direction:column;gap:14px}.approval-card{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid var(--border);border-left:3px solid var(--risk-color, var(--border));border-radius:14px;background:var(--surface)}.risk-baixo{--risk-color: #35c27a}.risk-medio{--risk-color: #e0a52b}.risk-alto{--risk-color: #e5484d}.approval-head{display:flex;align-items:center;gap:12px}.approval-agent{flex:1;display:flex;flex-direction:column;min-width:0;line-height:1.3}.approval-agent strong{font-weight:600}.approval-agent span,.approval-head time{color:var(--text-muted);font-size:13px}.approval-head time{white-space:nowrap}.risk-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--risk-color) 14%,transparent);color:var(--text);font-size:12px;font-weight:500;white-space:nowrap}.risk-badge i{width:7px;height:7px;border-radius:50%;background:var(--risk-color)}.approval-title{font-size:17px;font-weight:600;line-height:1.35}.approval-reason{margin-top:-6px;color:var(--text-muted)}.approval-details{display:grid;gap:6px;padding:12px 14px;border-radius:10px;background:var(--surface-2);font-size:13px}.approval-details>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px}.approval-details dt{color:var(--text-muted)}.approval-details dd{overflow-wrap:anywhere}.approval-actions{display:flex;justify-content:flex-end;gap:8px}.option.is-danger{border-color:var(--red);background:var(--red);color:#fff}.option.is-danger:hover{background:color-mix(in srgb,var(--red) 85%,#000)}.reject-box{display:flex;flex-direction:column;gap:10px}.reject-box label{display:flex;flex-direction:column;gap:6px;color:var(--text-muted);font-size:13px}.reject-box textarea{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;resize:vertical;outline:none}.reject-box textarea:focus{border-color:var(--accent)}.approval-outcome{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.approval-outcome.is-approved{color:var(--green)}.approval-outcome.is-rejected{color:var(--red)}.filters{display:flex;flex-direction:column;gap:12px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text-muted);font-size:13px}.chip b{color:var(--text);font-variant-numeric:tabular-nums}.chip:hover{background:var(--surface-2)}.chip.is-active{border-color:transparent;background:var(--surface-3);color:var(--text)}.kind-dot{width:7px;height:7px;border-radius:50%;background:var(--kind-color)}.filter-row{display:flex;gap:10px}.settings-search{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border-radius:999px;background:var(--surface-2);color:var(--text-muted)}.settings-search input{flex:1;min-width:0;border:0;background:transparent;font-size:14px;outline:none}.settings-search input::placeholder{color:var(--text-muted)}.page-search{flex:1;border-radius:10px}.activity-day h2{position:sticky;top:0;z-index:1;padding:8px 0;background:var(--bg);color:var(--text-muted);font-size:13px;font-weight:600}.timeline{display:flex;flex-direction:column}.timeline-item{position:relative;display:flex;align-items:flex-start;gap:14px;padding:10px 0}.timeline-item:before{content:"";position:absolute;top:44px;bottom:-10px;left:16px;width:1px;background:var(--divider)}.timeline-item:last-child:before{display:none}.timeline-icon{flex:none;display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:color-mix(in srgb,var(--kind-color) 15%,transparent);color:var(--kind-color)}.timeline-body{flex:1;min-width:0;padding-top:6px}.timeline-agent{display:inline-flex;align-items:center;gap:6px;vertical-align:-4px}.timeline-detail{margin-top:4px;color:var(--text-muted);font-size:13px}.timeline-item.is-error .timeline-detail{padding:8px 10px;border-radius:8px;background:color-mix(in srgb,var(--red) 10%,transparent);color:var(--text)}.timeline-item>time{flex:none;padding-top:7px;color:var(--text-muted);font-size:12px;font-variant-numeric:tabular-nums}.link-button{margin-top:6px;padding:0;border:0;background:transparent;color:var(--accent);font-size:13px;font-weight:500}.link-button:hover{text-decoration:underline}.toast{position:fixed;bottom:24px;left:50%;z-index:50;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100vw - 32px));padding:10px 10px 10px 16px;border-radius:12px;background:#182940;color:#f4f8ff;box-shadow:var(--shadow);transform:translate(-50%);animation:toast-in .18s ease-out}.toast span{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.toast button{flex:none;padding:6px 10px;border:0;border-radius:8px;background:#ffffff1f;color:#fff;font-weight:600}.toast .toast-close{display:grid;place-items:center;padding:6px;background:transparent}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.login.is-leaving .login-column{opacity:0;transform:scale(.97);transition:opacity .3s ease,transform .3s ease}.code-boxes.is-confirmed .code-box{border-color:var(--green);background:color-mix(in srgb,var(--green) 12%,var(--surface));color:var(--green);box-shadow:none;transition:border-color .2s,background .2s,color .2s}.code-boxes.is-confirmed .code-box:nth-child(2){transition-delay:.04s}.code-boxes.is-confirmed .code-box:nth-child(3){transition-delay:.08s}.code-boxes.is-confirmed .code-box:nth-child(4){transition-delay:.12s}.code-boxes.is-confirmed .code-box:nth-child(5){transition-delay:.16s}.code-boxes.is-confirmed .code-box:nth-child(6){transition-delay:.2s}.login-submit.is-confirmed,.login-submit.is-confirmed:disabled{background:var(--green);color:#fff;opacity:1}.confirm-check{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffffff40;animation:check-pop .35s cubic-bezier(.3,1.6,.5,1)}@keyframes check-pop{0%{transform:scale(0)}}.app{animation:app-in .4s ease-out}@keyframes app-in{0%{opacity:0}}.top-progress{position:fixed;top:0;left:0;right:0;z-index:100;height:3px;pointer-events:none;animation:top-progress-out .35s ease 1.4s forwards}.top-progress span{display:block;height:100%;background:var(--accent);box-shadow:0 0 10px var(--accent);animation:top-progress-fill 1.4s cubic-bezier(.4,0,.2,1) forwards}@keyframes top-progress-fill{0%{width:0}60%{width:78%}to{width:100%}}@keyframes top-progress-out{to{opacity:0}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.login{display:flex;justify-content:center;height:100%;overflow-y:auto;padding:48px 24px;background:var(--bg)}.login-column{display:flex;flex-direction:column;align-items:center;width:100%;max-width:440px;margin:auto 0;text-align:center}.login-brand{margin-bottom:44px}.login-brand img{height:76px;width:auto}.login-column h1{font-size:28px;font-weight:700;letter-spacing:-.02em}.login-lead{margin:12px 0 30px;color:var(--text-muted);font-size:16px;line-height:1.5}.login-lead strong{color:var(--text)}.login-form{display:flex;flex-direction:column;gap:14px;width:100%;text-align:left}.login-input{width:100%;height:50px;padding:0 16px;border:1px solid var(--divider);border-radius:12px;background:var(--surface);color:var(--text);font-size:16px;outline:none;transition:border-color .12s,box-shadow .12s}.login-input::placeholder{color:var(--text-muted)}.login-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}.login-input.has-error{border-color:var(--red)}.login-error{display:flex;align-items:center;gap:6px;margin-top:-6px;color:var(--red);font-size:13px}.login-submit{display:flex;align-items:center;justify-content:center;gap:10px;height:50px;margin-top:16px;border:0;border-radius:12px;background:var(--text);color:var(--bg);font-size:16px;font-weight:600;transition:opacity .12s,scale .12s ease-out}.login-submit:hover:not(:disabled){opacity:.88}.login-submit:disabled{opacity:.4;cursor:default}.login-submit[aria-busy=true]{opacity:.75}.spinner{width:16px;height:16px;border:2px solid color-mix(in srgb,var(--bg) 35%,transparent);border-top-color:var(--bg);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-check{position:relative;display:flex;align-items:flex-start;gap:12px;margin-top:6px;cursor:pointer}.login-check input{position:absolute;opacity:0;pointer-events:none}.login-checkbox{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:transparent;transition:background .12s,border-color .12s}.login-check input:checked+.login-checkbox{border-color:var(--accent);background:var(--accent);color:#fff}.login-check input:focus-visible+.login-checkbox{outline:2px solid var(--accent);outline-offset:2px}.login-check strong{display:block;font-size:15px;font-weight:500}.login-check small{display:block;margin-top:2px;color:var(--text-muted);font-size:14px;line-height:1.45}.code-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.code-box{width:100%;height:58px;border:1px solid var(--divider);border-radius:12px;background:var(--surface);color:var(--text);font-size:24px;font-weight:600;text-align:center;outline:none}.code-box:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}.code-boxes.has-error .code-box{border-color:var(--red)}.code-actions{display:flex;justify-content:space-between;gap:12px}.code-actions .link-button{margin-top:0}.link-button:disabled{color:var(--text-muted);cursor:default;text-decoration:none}.login-hint{color:var(--text-muted);font-size:13px;text-align:center}.login-footer{display:flex;flex-direction:column;gap:12px;margin-top:40px;color:var(--text-muted);font-size:14px;line-height:1.5}.login-footer p:first-child{display:flex;align-items:center;justify-content:center;gap:8px}.login-footer a{color:var(--text);text-underline-offset:3px}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.user-menu{position:relative}.user-menu{padding-left:12px;border-left:1px solid var(--divider)}.user-menu .user{padding:5px 10px 5px 6px;border:0;border-radius:12px;background:transparent;text-align:left;transition:background .12s,scale .12s ease-out}.user-menu .user:hover,.user-menu .user[aria-expanded=true]{background:var(--surface-2)}.user-menu .user>.icon{color:var(--text-muted);transition:transform .15s}.user-menu .user[aria-expanded=true]>.icon{transform:rotate(180deg)}.user-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:40;min-width:160px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.user-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;text-align:left}.user-dropdown button:hover{background:var(--surface-2)}.user-dropdown hr{margin:6px 4px;border:0;border-top:1px solid var(--divider)}.profile-hero{display:flex;align-items:center;gap:18px;margin-bottom:28px}.profile-hero h1{font-size:22px;font-weight:650;letter-spacing:-.01em}.profile-hero p{margin-top:2px;color:var(--text-muted);font-size:14px}.profile-avatar{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:var(--accent);color:#fff;font-size:30px;font-weight:700}.profile-name{display:flex;align-items:center;gap:10px}.settings-input{width:280px;height:40px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;outline:none}.settings-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.profile-login-actions,.profile-password-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.profile-password-form{align-items:flex-start}.profile-password-fields{display:flex;flex-direction:column;align-items:stretch;gap:10px}.team-error{margin:0 0 12px}.profile-name .option,.profile-saved{min-width:84px;height:40px;justify-content:center}.profile-saved{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:14px;font-weight:500}.profile-email{display:inline-flex;align-items:center;gap:8px;color:var(--text-muted);font-size:15px}.dialog-field small{font-size:12px}.notif-menu{position:relative}.icon-button.is-open{background:var(--surface-2);color:var(--text)}.notif-count{position:absolute;top:3px;right:2px;min-width:17px;height:17px;padding:0 4px;border:2px solid var(--bg);border-radius:999px;background:var(--red);color:#fff;font-size:10px;font-weight:700;line-height:13px;text-align:center}.notif-panel{position:absolute;top:calc(100% + 8px);right:-8px;z-index:40;display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 24px);max-height:min(600px,calc(100vh - 80px));border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);animation:notif-in .16s ease-out;transform-origin:top right}@keyframes notif-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}}.notif-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 6px}.notif-head h2{font-size:15px;font-weight:650}.notif-link{padding:4px 6px;border:0;border-radius:6px;background:transparent;color:var(--accent);font-size:13px;font-weight:500}.notif-link:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 10%,transparent)}.notif-link:disabled{color:var(--text-muted);opacity:.6}.notif-tabs{display:flex;gap:4px;padding:4px 12px 0;border-bottom:1px solid var(--divider)}.notif-tabs button{display:flex;align-items:center;gap:6px;padding:8px 6px 9px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;color:var(--text-muted);font-size:13px;font-weight:500}.notif-tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--text)}.notif-tab-count{min-width:18px;padding:0 5px;border-radius:6px;background:var(--surface-3);font-size:11px;font-weight:700;text-align:center}.notif-list{flex:1;min-height:0;overflow-y:auto;padding:6px}.notif-item{border-radius:10px}.notif-item+.notif-item{margin-top:2px}.notif-item.is-unread{background:color-mix(in srgb,var(--accent) 6%,transparent)}.notif-main{display:flex;align-items:flex-start;gap:12px;padding:12px 8px 12px 12px;border-radius:10px}.notif-item:not(.is-unread) .notif-main:hover{background:var(--surface-2)}.notif-icon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--kind) 14%,transparent);color:var(--kind)}.kind-uso{--kind: #e0a52b}.kind-seguranca{--kind: #e5484d}.kind-cobranca{--kind: #35c27a}.kind-integracao{--kind: #a45ff0}.kind-novidade{--kind: var(--accent)}.kind-manutencao{--kind: var(--text-muted)}.notif-body{flex:1;min-width:0}.notif-text{display:block;font-size:14px;font-weight:600;line-height:1.35}.notif-desc{margin-top:2px;color:var(--text-muted);font-size:13px;line-height:1.45}.notif-meta{display:flex;align-items:center;gap:6px;margin-top:6px;color:var(--text-muted);font-size:12px}.notif-action{margin-top:10px;min-height:30px;padding:0 12px;font-size:13px}.notif-side{flex:none;display:grid;place-items:center;width:24px;height:24px}.notif-dot-button,.notif-remove{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--text-muted)}.notif-dot-button:hover,.notif-remove:hover{background:var(--surface-3);color:var(--text)}.notif-remove{opacity:0}.notif-main:hover .notif-remove,.notif-remove:focus-visible{opacity:1}.notif-unread{width:8px;height:8px;border-radius:50%;background:var(--accent)}.notif-more,.notif-end{display:flex;justify-content:center;padding:8px 0 6px}.notif-more .notif-link{display:inline-flex;align-items:center;gap:8px;padding:6px 12px}.notif-more .spinner{width:14px;height:14px;border-color:color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent)}.notif-end{color:var(--text-muted);font-size:12px}.notif-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:36px 24px;text-align:center}.notif-empty p{max-width:260px;color:var(--text-muted);font-size:13px}.dropdown{position:relative}.dropdown-trigger{display:flex;align-items:center;gap:12px;width:300px;height:46px;padding:0 14px 0 18px;border:1px solid var(--divider);border-radius:12px;background:var(--bg);color:var(--text);font-size:15px;text-align:left;transition:border-color .12s,scale .12s ease-out}.dropdown-trigger:hover,.dropdown-trigger.is-open{border-color:var(--border)}.dropdown-trigger>.icon{color:var(--text-muted)}.dropdown-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-leading{display:grid;place-items:center;color:var(--text-muted)}.dropdown-list{position:absolute;top:calc(100% + 6px);right:0;z-index:40;width:100%;min-width:200px;max-height:320px;padding:6px;overflow-y:auto;border:1px solid var(--divider);border-radius:12px;background:var(--bg);box-shadow:var(--shadow);animation:dropdown-in .12s ease-out}.dropdown-option{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 12px;border-radius:9px;color:var(--text);font-size:15px;cursor:pointer}.dropdown-option.is-highlighted{background:var(--surface-2)}.dropdown-option>.icon{color:var(--text)}@keyframes dropdown-in{0%{opacity:0;transform:translateY(-4px)}}.filter-row .dropdown-trigger{width:220px;height:38px;border-radius:10px;font-size:14px}.nav-empty-box{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:4px 10px;color:var(--text-muted);font-size:13px}.danger-card{border:1px solid color-mix(in srgb,var(--red) 35%,var(--border))}.option.is-danger-outline{border-color:color-mix(in srgb,var(--red) 55%,var(--border));color:var(--red)}.option.is-danger-outline:hover{background:color-mix(in srgb,var(--red) 10%,transparent)}.option.is-danger:disabled{opacity:.45}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:#080c1399;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:dialog-fade .15s ease-out}.dialog{display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px;padding:26px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);animation:dialog-in .18s ease-out}.dialog-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--red) 14%,transparent);color:var(--red)}.dialog h2{margin-top:6px;font-size:19px;font-weight:700}.dialog>p{color:var(--text-muted)}.dialog form{display:flex;flex-direction:column;gap:18px;margin-top:8px}.dialog-field{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--text-muted)}.dialog-field strong{color:var(--text)}.dialog-field input{height:44px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font-size:15px;outline:none}.dialog-field input:focus{border-color:var(--red);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 18%,transparent)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}@keyframes dialog-fade{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(6px) scale(.98)}}.start-screen{flex:1;align-items:center;justify-content:center;gap:14px;padding:32px;overflow-y:auto;text-align:center}.start-crew{display:block;max-width:100%;margin-bottom:6px}.start-crew-fallback{display:flex;align-items:flex-end;justify-content:center;gap:4px;margin-bottom:22px}.start-screen h1{max-width:560px;font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.25}.start-screen p{max-width:520px;color:var(--text-muted);font-size:16px}.start-button{display:inline-flex;align-items:center;gap:10px;height:50px;margin-top:14px;padding:0 26px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-size:16px;font-weight:600;transition:transform .12s,background .12s,scale .12s ease-out}.start-button:hover{background:color-mix(in srgb,var(--accent) 86%,#182940);transform:translateY(-1px)}@media(max-width:1100px){.content{grid-template-columns:minmax(0,1fr)}.side-panel{display:none}}@media(max-width:760px){.app{grid-template-columns:64px minmax(0,1fr)}.sidebar,.settings-nav,.user-text,.limits-footer p,.composer-hint{display:none}.composer-bar,.limits-footer{justify-content:space-between}.topbar,.chat-scroll,.chat-footer,.limits-inner,.appearance-wrap,.limits-footer{padding-left:16px;padding-right:16px}}.team-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.settings-group .team-toolbar h2{margin:0 0 0 2px}.team-seats{margin-right:auto;color:var(--text-muted);font-size:13px}.team-search{width:260px;height:38px;border-radius:999px}.team-toolbar .option{height:38px}.member-row{justify-content:flex-start;gap:14px;padding:16px 0}.member-avatar{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--surface-3);color:#fff;font-weight:700}.member-row.is-pending .member-avatar{border:1.5px dashed var(--border);background:transparent;color:var(--text-muted)}.member-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.member-text strong{display:flex;align-items:center;gap:8px;overflow:hidden;font-size:15px;font-weight:500;white-space:nowrap}.member-text>span{overflow:hidden;color:var(--text-muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.member-tag{flex:none;padding:1px 7px;border-radius:6px;background:var(--surface-3);color:var(--text-muted);font-size:11px;font-weight:600}.member-tag.is-pending{background:color-mix(in srgb,#e0a52b 16%,transparent);color:#c98f17}.member-actions{flex:none;display:flex;align-items:center;gap:8px}.member-actions .dropdown,.member-actions .dropdown-trigger{width:170px}.member-role-fixed{width:170px;padding:0 14px;color:var(--text-muted);font-size:14px}.member-action-slot{width:36px}.member-resend{padding:0;border:0;background:transparent;color:var(--accent);font:inherit;font-weight:500}.member-resend:hover:not(:disabled){text-decoration:underline}.member-resend:disabled{color:var(--text-muted)}.member-timer{font-variant-numeric:tabular-nums}.member-actions .icon-button{color:var(--text-muted)}.member-actions .icon-button:hover{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red)}.team-dialog{max-width:480px}.team-dialog .dialog-field textarea{padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;resize:vertical;outline:none}.team-dialog .dialog-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.team-dialog .dropdown,.team-dialog .dropdown-trigger{width:100%}.form-error{padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red);font-size:13px}@media(max-width:900px){.team-toolbar{flex-wrap:wrap}.team-search{order:3;width:100%}.member-row{flex-wrap:wrap}}.chat-row-skeleton{display:flex;flex-direction:column;gap:6px;padding:10px 12px}.chat-row-skeleton span{height:10px;border-radius:6px;background:var(--surface-2);animation:skeleton-pulse 1.2s ease-in-out infinite}.chat-row-skeleton span:first-child{width:55%}.chat-row-skeleton span:last-child{width:85%}@keyframes skeleton-pulse{50%{opacity:.45}}.agents-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--text-muted);font-size:14px}.agents-loading .spinner{width:22px;height:22px;border-color:color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent)}@media(prefers-reduced-motion:reduce){.chat-row-skeleton span{animation:none}}.message.is-memory{padding-left:48px}.memory-note{display:flex;gap:10px;max-width:560px;padding:10px 12px;border:1px dashed var(--border);border-radius:12px;color:var(--text-muted);font-size:13px}.memory-icon{display:grid;flex:none;place-items:center;width:24px;height:24px;border-radius:7px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.memory-note strong{color:var(--text);font-weight:500}.memory-note ul{display:flex;flex-direction:column;gap:4px;margin-top:4px}.memory-note li{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.memory-note li.is-undone span{text-decoration:line-through;opacity:.6}.memory-note .link-button{font-size:12.5px}.memory-error{color:var(--red)}.member-skeleton,.row-skeleton{align-items:center}.member-skeleton-avatar,.member-skeleton-text span,.member-skeleton-role,.row-skeleton span{display:block;border-radius:6px;background:var(--surface-2);animation:skeleton-pulse 1.2s ease-in-out infinite}.member-skeleton-avatar{flex:none;width:36px;height:36px;border-radius:50%}.member-skeleton-text{display:flex;flex:1;flex-direction:column;gap:7px}.member-skeleton-text span:first-child{width:38%;height:11px}.member-skeleton-text span:last-child{width:55%;height:9px}.member-skeleton-role{width:120px;height:30px;border-radius:999px}.row-skeleton span{width:60%;height:12px}@media(prefers-reduced-motion:reduce){.member-skeleton-avatar,.member-skeleton-text span,.member-skeleton-role,.row-skeleton span{animation:none}}.company-intro p{max-width:640px;margin-top:6px;color:var(--text-muted);font-size:14px}.company-add{padding:12px}.company-add-row{display:flex;align-items:center;gap:10px}.company-add-row .settings-input{flex:1;width:auto;min-width:0}.fact-row{gap:12px}.fact-text{font-weight:500}.fact-input{flex:1;width:auto}.fact-actions{display:flex;flex:none;gap:6px}@media(max-width:720px){.company-add-row{flex-wrap:wrap}}.usage-unpaid{margin:4px 0 8px;color:var(--red);font-size:12.5px}.usage-more{margin-top:10px;color:var(--text-muted);font-size:12px}:root{--series-1: #2a78d6;--series-2: #eb6834;--series-3: #1baf7a;--series-4: #eda100;--series-5: #e87ba4;--series-6: #008300;--series-7: #6250d6;--series-other: #a3a29c}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--series-1: #3987e5;--series-2: #d95926;--series-3: #199e70;--series-4: #c98500;--series-5: #d55181;--series-6: #008300;--series-7: #9085e9;--series-other: #6f6e69}}:root[data-theme=dark]{--series-1: #3987e5;--series-2: #d95926;--series-3: #199e70;--series-4: #c98500;--series-5: #d55181;--series-6: #008300;--series-7: #9085e9;--series-other: #6f6e69}.usage-page{grid-column:2 / -1;min-width:0;overflow-y:auto}.usage-page-inner{max-width:980px;margin:0 auto;padding:32px 32px 64px}.usage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.usage-head h1{font-size:24px}.usage-head p{margin-top:4px;color:var(--text-muted);font-size:14px}.plan-badge{flex:none;padding:4px 12px;border-radius:999px;background:var(--surface-2);color:var(--text-muted);font-size:12px;font-weight:600}.plan-badge.is-partner{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}.usage-alert{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--red) 35%,transparent);border-radius:12px;background:color-mix(in srgb,var(--red) 8%,transparent);color:var(--red);font-size:14px}.usage-tiles{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}.usage-tile{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.usage-tile>span:first-child{color:var(--text-muted);font-size:13px}.usage-tile strong{font-size:24px;font-variant-numeric:tabular-nums}.usage-tile.is-hero strong{font-size:36px;line-height:1.1}.usage-tile small{color:var(--text-muted);font-size:12.5px}.usage-meter{display:block;height:6px;margin-top:8px;overflow:hidden;border-radius:999px;background:var(--surface-2)}.usage-meter i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.usage-meter i.is-medium{background:var(--orange, #eb6834)}.usage-meter i.is-high{background:var(--red)}.usage-tile.is-skeleton span{display:block;height:12px;border-radius:6px;background:var(--surface-2);animation:skeleton-pulse 1.2s ease-in-out infinite}.usage-tile.is-skeleton span:last-child{width:60%;height:28px}.usage-pace{margin:10px 2px 24px;color:var(--text-muted);font-size:13.5px}.limit-form{display:flex;gap:8px}.limit-form .settings-input{width:140px}.usage-card{padding:16px}.usage-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px}.usage-table{width:100%;border-collapse:collapse;font-size:13.5px}.usage-table th{padding:10px 14px;border-bottom:1px solid var(--divider);color:var(--text-muted);font-size:12px;font-weight:500;text-align:left}.usage-table td{padding:10px 14px;border-bottom:1px solid var(--divider);font-variant-numeric:tabular-nums}.usage-table tr:last-child td{border-bottom:none}.usage-table th:not(:first-child),.usage-table td:not(:first-child){text-align:right}.usage-table td small{display:block;color:var(--text-muted);font-size:12px}.history-row{gap:12px}.history-agent{color:var(--text-muted);font-weight:400}.history-credits{flex:none;font-variant-numeric:tabular-nums}.history-more{display:flex;justify-content:center;padding:12px}.usage-chart{display:flex;flex-direction:column;gap:10px}.chart-legend{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--text-muted);font-size:12.5px}.chart-legend li,.chart-tooltip li{display:flex;align-items:center;gap:6px}.chart-legend i,.chart-tooltip i{flex:none;width:10px;height:10px;border-radius:3px}.chart-frame{position:relative}.chart-frame svg{display:block;width:100%;height:auto}.chart-grid{stroke:var(--divider);stroke-width:1}.chart-axis{fill:var(--text-muted);font-size:11px}.chart-cursor{stroke:var(--border);stroke-dasharray:3 3}.chart-hit{fill:transparent}.chart-day.is-future .chart-axis{opacity:.6}.fill-1{fill:var(--series-1)}.fill-2{fill:var(--series-2)}.fill-3{fill:var(--series-3)}.fill-4{fill:var(--series-4)}.fill-5{fill:var(--series-5)}.fill-6{fill:var(--series-6)}.fill-7{fill:var(--series-7)}.fill-other{fill:var(--series-other)}.swatch-1{background:var(--series-1)}.swatch-2{background:var(--series-2)}.swatch-3{background:var(--series-3)}.swatch-4{background:var(--series-4)}.swatch-5{background:var(--series-5)}.swatch-6{background:var(--series-6)}.swatch-7{background:var(--series-7)}.swatch-other{background:var(--series-other)}.chart-tooltip{position:absolute;top:0;z-index:2;min-width:160px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 24px #0000001f;color:var(--text);font-size:12.5px;pointer-events:none;transform:translate(-50%)}.chart-tooltip ul{display:flex;flex-direction:column;gap:4px;margin-top:6px}.chart-tooltip li span{flex:1;color:var(--text-muted)}.chart-tooltip li b{font-variant-numeric:tabular-nums}.chart-tooltip p{margin-top:4px;color:var(--text-muted)}@media(max-width:900px){.usage-tiles,.usage-tables{grid-template-columns:1fr}.usage-page-inner{padding:24px 16px 48px}}.kind-boas_vindas{--kind: var(--accent)}.kind-equipe{--kind: #1baf7a}
