:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--md-sys-color-primary:#6750a4;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#eaddff;--md-sys-color-on-primary-container:#21005d;--md-sys-color-secondary:#625b71;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#e8def8;--md-sys-color-on-secondary-container:#1d192b;--md-sys-color-tertiary:#7d5260;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#ffd8e4;--md-sys-color-on-tertiary-container:#31111d;--md-sys-color-error:#b3261e;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#f9dedc;--md-sys-color-on-error-container:#410e0b;--md-sys-color-background:#fef7ff;--md-sys-color-on-background:#1d1b20;--md-sys-color-surface:#fef7ff;--md-sys-color-on-surface:#1d1b20;--md-sys-color-surface-variant:#e7e0ec;--md-sys-color-on-surface-variant:#49454f;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f7f2fa;--md-sys-color-surface-container:#f3edf7;--md-sys-color-surface-container-high:#ece6f0;--md-sys-color-surface-container-highest:#e6e0e9;--md-sys-color-outline:#79747e;--md-sys-color-outline-variant:#cac4d0;--md-sys-color-inverse-surface:#322f35;--md-sys-color-inverse-on-surface:#f5eff7;--md-sys-color-scrim:#000;--md-sys-color-shadow:#000;--md-ref-typeface-brand:"Roboto", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--md-ref-typeface-plain:var(--md-ref-typeface-brand);--md-sys-typescale-body-large-size:1rem;--md-sys-typescale-body-medium-size:.875rem;--md-sys-typescale-title-large-size:1.375rem;--md-sys-typescale-title-medium-size:1rem;--md-sys-typescale-label-large-size:.875rem;--nav-width:80px;--bubble-radius:16px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--md-sys-color-primary:#d0bcff;--md-sys-color-on-primary:#381e72;--md-sys-color-primary-container:#4f378b;--md-sys-color-on-primary-container:#eaddff;--md-sys-color-secondary:#ccc2dc;--md-sys-color-on-secondary:#332d41;--md-sys-color-secondary-container:#4a4458;--md-sys-color-on-secondary-container:#e8def8;--md-sys-color-tertiary:#efb8c8;--md-sys-color-on-tertiary:#492532;--md-sys-color-tertiary-container:#633b48;--md-sys-color-on-tertiary-container:#ffd8e4;--md-sys-color-error:#f2b8b5;--md-sys-color-on-error:#601410;--md-sys-color-error-container:#8c1d18;--md-sys-color-on-error-container:#f9dedc;--md-sys-color-background:#141218;--md-sys-color-on-background:#e6e0e9;--md-sys-color-surface:#141218;--md-sys-color-on-surface:#e6e0e9;--md-sys-color-surface-variant:#49454f;--md-sys-color-on-surface-variant:#cac4d0;--md-sys-color-surface-container-lowest:#0f0d13;--md-sys-color-surface-container-low:#1d1b20;--md-sys-color-surface-container:#211f26;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-surface-container-highest:#36343b;--md-sys-color-outline:#938f99;--md-sys-color-outline-variant:#49454f;--md-sys-color-inverse-surface:#e6e0e9;--md-sys-color-inverse-on-surface:#322f35}}:root[data-theme=dark]{--md-sys-color-primary:#d0bcff;--md-sys-color-on-primary:#381e72;--md-sys-color-primary-container:#4f378b;--md-sys-color-on-primary-container:#eaddff;--md-sys-color-secondary:#ccc2dc;--md-sys-color-on-secondary:#332d41;--md-sys-color-secondary-container:#4a4458;--md-sys-color-on-secondary-container:#e8def8;--md-sys-color-tertiary:#efb8c8;--md-sys-color-on-tertiary:#492532;--md-sys-color-tertiary-container:#633b48;--md-sys-color-on-tertiary-container:#ffd8e4;--md-sys-color-error:#f2b8b5;--md-sys-color-on-error:#601410;--md-sys-color-error-container:#8c1d18;--md-sys-color-on-error-container:#f9dedc;--md-sys-color-background:#141218;--md-sys-color-on-background:#e6e0e9;--md-sys-color-surface:#141218;--md-sys-color-on-surface:#e6e0e9;--md-sys-color-surface-variant:#49454f;--md-sys-color-on-surface-variant:#cac4d0;--md-sys-color-surface-container-lowest:#0f0d13;--md-sys-color-surface-container-low:#1d1b20;--md-sys-color-surface-container:#211f26;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-surface-container-highest:#36343b;--md-sys-color-outline:#938f99;--md-sys-color-outline-variant:#49454f;--md-sys-color-inverse-surface:#e6e0e9;--md-sys-color-inverse-on-surface:#322f35}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--md-sys-color-background);color:var(--md-sys-color-on-background);font-family:var(--md-ref-typeface-plain);font-size:var(--md-sys-typescale-body-large-size);-webkit-text-size-adjust:100%;line-height:1.5;overflow-x:hidden}.splash{place-items:center;height:100%;display:grid}.shell{flex-direction:column-reverse;height:100%;min-height:0;display:flex}.main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}md-navigation-bar.bar{padding-bottom:env(safe-area-inset-bottom,0px);background:var(--md-sys-color-surface-container);flex:none}.rail,.shell--chat .bar{display:none}.nav__item{all:unset;cursor:pointer;min-width:0;color:var(--md-sys-color-on-surface-variant);flex-direction:column;align-items:center;gap:4px;font-size:.75rem;display:flex}.nav__pill{--md-focus-ring-shape:16px;border-radius:16px;place-items:center;width:56px;height:32px;display:grid;position:relative}.nav__item--active{color:var(--md-sys-color-on-surface);font-weight:600}.nav__item--active .nav__pill{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.nav__label{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}@media (min-width:840px){.shell{flex-direction:row}md-navigation-bar.bar{display:none}.rail{width:var(--nav-width);background:var(--md-sys-color-surface-container);border-right:1px solid var(--md-sys-color-outline-variant);flex-direction:column;flex:none;gap:12px;padding:16px 0;display:flex}}.toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));background:var(--md-sys-color-inverse-surface);max-width:min(92vw,480px);color:var(--md-sys-color-inverse-on-surface);font-size:var(--md-sys-typescale-body-medium-size);z-index:50;border-radius:8px;padding:12px 16px;position:fixed;transform:translate(-50%)}.page{flex-direction:column;height:100%;min-height:0;display:flex}.page__bar{min-height:64px;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top,0px));align-items:center;gap:8px;display:flex}.page__title{min-width:0;font-size:var(--md-sys-typescale-title-large-size);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-weight:500;overflow:hidden}.page__body{flex:1;min-height:0;padding:0 16px 24px;overflow-y:auto}.page__inner{max-width:960px;margin:0 auto}.empty{text-align:center;color:var(--md-sys-color-on-surface-variant);padding:48px 16px}.stack{flex-direction:column;gap:16px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}md-outlined-text-field,md-filled-text-field,md-outlined-select{width:100%}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.card{background:var(--md-sys-color-surface-container-low);border:1px solid var(--md-sys-color-outline-variant);cursor:pointer;text-align:left;color:inherit;font:inherit;border-radius:16px;flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.card:hover{background:var(--md-sys-color-surface-container)}.avatar{object-fit:cover;background:var(--md-sys-color-primary-container);width:40px;height:40px;color:var(--md-sys-color-on-primary-container);border-radius:50%;flex:none;place-items:center;font-weight:500;display:grid;overflow:hidden}.avatar--lg{aspect-ratio:1;border-radius:12px;width:100%;height:auto;font-size:2rem}.muted{color:var(--md-sys-color-on-surface-variant);font-size:var(--md-sys-typescale-body-medium-size)}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.err{color:var(--md-sys-color-error)}md-dialog{max-width:min(560px,100vw - 32px)}.dialog-form{flex-direction:column;gap:12px;min-width:min(480px,70vw);display:flex}.thread{background:var(--chat-bg,var(--md-sys-color-surface));flex:1;min-height:0;padding:8px 12px;overflow-y:auto}.thread__inner{width:100%;max-width:820px;margin:0 auto;position:relative}.msg{padding:6px 0;position:absolute;left:0;right:0}.msg__row{display:flex}.msg__row--user{justify-content:flex-end}.bubble{border-radius:var(--bubble-radius);background:var(--md-sys-color-surface-container-high);overflow-wrap:anywhere;min-width:0;max-width:min(88%,680px);padding:10px 14px}.bubble--user{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.bubble--error{background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container)}.bubble p{margin:0 0 8px}.bubble p:last-child{margin-bottom:0}.bubble pre{background:var(--md-sys-color-surface-container-lowest);border-radius:8px;max-width:100%;padding:8px;overflow-x:auto}.bubble table{max-width:100%;display:block;overflow-x:auto}.bubble img{max-width:100%}.reasoning{font-size:var(--md-sys-typescale-body-medium-size);color:var(--md-sys-color-on-surface-variant);margin-bottom:8px}.reasoning summary{cursor:pointer}.msg__tools{flex-wrap:wrap;align-items:center;gap:0;margin-top:4px;display:flex}.msg__tools md-icon-button{--md-icon-button-icon-size:18px;--md-icon-button-state-layer-height:32px;--md-icon-button-state-layer-width:32px}.branch{color:var(--md-sys-color-on-surface-variant);text-align:center;min-width:3ch;font-size:.8125rem}.composer{padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface);align-items:flex-end;gap:8px;display:flex}.composer md-outlined-text-field{flex:1;min-width:0}.split{height:100%;min-height:0;display:flex}.split__list{border-right:1px solid var(--md-sys-color-outline-variant);flex-direction:column;flex:none;width:340px;min-width:0;display:flex}.split__detail{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.split__detail>.empty{margin:auto}@media (min-width:1200px){.split__list{width:380px}}md-list-item.is-active{background:var(--md-sys-color-secondary-container);border-radius:12px}.row--tight{flex-wrap:nowrap;gap:0}.bg-preview{object-fit:cover;border:1px solid var(--md-sys-color-outline-variant);border-radius:12px;max-width:100%;max-height:120px;display:block}.notice{background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;gap:4px;padding:12px 16px;display:flex}.notice p{margin:0}.balance{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.balance__value{font-size:var(--md-sys-typescale-headline-small-size,1.5rem);cursor:help;font-variant-numeric:tabular-nums;font-weight:500}.key-list{background:var(--md-sys-color-surface-container-low);border-radius:12px;min-width:0;padding:0}.key-list code{overflow-wrap:anywhere;font-family:ui-monospace,monospace}.account-paste{min-width:0}.wrap-anywhere{overflow-wrap:anywhere;min-width:0;margin:0}
