:where(body.chat-page,.chat-page-shell) .sidebar{background:var(--surface-sidebar,#f7f8f7);border-right:1px solid var(--border-default,#00000014);-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex-direction:column;gap:.15rem;width:280px;padding:.85rem;display:flex;overflow-y:auto}:where(body.chat-page,.chat-page-shell) .sidebar-projects{border-bottom:1px solid var(--border-default,#00000014);flex-direction:column;gap:.25rem;margin-bottom:.35rem;padding-bottom:.5rem;display:flex}:where(body.chat-page,.chat-page-shell) .sidebar-projects__header{justify-content:space-between;align-items:center;padding:.1rem .15rem;display:flex}:where(body.chat-page,.chat-page-shell) .sidebar-projects__title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary,#6b7280);align-items:center;gap:.35rem;font-size:.74rem;font-weight:700;display:inline-flex}:where(body.chat-page,.chat-page-shell) .sidebar-projects__add{border-radius:var(--radius-sm,8px);width:1.75rem;height:1.75rem;color:var(--text-secondary,#6b7280);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;justify-content:center;align-items:center;font-size:.85rem;display:inline-flex}:where(body.chat-page,.chat-page-shell) .sidebar-projects__add:hover,:where(body.chat-page,.chat-page-shell) .sidebar-projects__add:focus-visible{color:var(--text-dark,#1a1a1a);background:#0000000f}:where(body.chat-page,.chat-page-shell) .sidebar-projects__list{flex-direction:column;gap:.1rem;display:flex}:where(body.chat-page,.chat-page-shell) .sidebar-project-card{border-radius:var(--radius-sm,8px);width:100%;min-height:40px;color:var(--text-dark,#1a1a1a);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background var(--transition-fast,.15s ease);background:0 0;border:1px solid #0000;align-items:center;gap:.5rem;padding:.5rem .6rem;font-size:.86rem;display:flex}:where(body.chat-page,.chat-page-shell) .sidebar-project-card:hover,:where(body.chat-page,.chat-page-shell) .sidebar-project-card:focus-visible{background:#0000000d}:where(body.chat-page,.chat-page-shell) .sidebar-project-card__icon{color:var(--primary-color,#19c37d);flex:none;font-size:.95rem}:where(body.chat-page,.chat-page-shell) .sidebar-project-card__name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}:where(body.chat-page,.chat-page-shell) .sidebar-project-card__count{min-width:1.25rem;color:var(--text-secondary,#6b7280);text-align:center;background:#0000000f;border-radius:999px;flex:none;padding:.05rem .4rem;font-size:.7rem;font-weight:700}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-projects{border-bottom-color:#94a3b829}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-projects__add:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-projects__add:focus-visible,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-project-card:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-project-card:focus-visible{color:#e2e8f0;background:#94a3b824}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-project-card{color:#e2e8f0}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .sidebar-project-card__count{color:#cbd5e1;background:#94a3b82e}:where(body.chat-page,.chat-page-shell) .chat-room-search{align-items:center;margin:.15rem 0 .4rem;display:flex;position:relative}:where(body.chat-page,.chat-page-shell) .chat-room-search__icon{color:var(--text-secondary,#6b7280);pointer-events:none;font-size:.92rem;position:absolute;left:.7rem}:where(body.chat-page,.chat-page-shell) .chat-room-search__input{border-radius:var(--radius-sm,8px);border:1px solid var(--border-default,#0000001a);background:var(--surface-primary,#fff);width:100%;min-height:40px;color:var(--text-dark,#1a1a1a);transition:border-color var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);appearance:none;outline:none;padding:.5rem 2.1rem;font-size:.86rem}:where(body.chat-page,.chat-page-shell) .chat-room-search__input::placeholder{color:var(--text-secondary,#9ca3af)}:where(body.chat-page,.chat-page-shell) .chat-room-search__input:focus{border-color:#19c37d80;box-shadow:0 0 0 3px #19c37d24}:where(body.chat-page,.chat-page-shell) .chat-room-search__input::-webkit-search-cancel-button{appearance:none}:where(body.chat-page,.chat-page-shell) .chat-room-search__clear{width:1.5rem;height:1.5rem;color:var(--text-secondary,#6b7280);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:.72rem;display:inline-flex;position:absolute;right:.45rem}:where(body.chat-page,.chat-page-shell) .chat-room-search__clear:hover,:where(body.chat-page,.chat-page-shell) .chat-room-search__clear:focus-visible{color:var(--text-dark,#1a1a1a);background:#0000000f}:where(body.chat-page,.chat-page-shell) .chat-room-search-empty{text-align:center;color:var(--text-secondary,#6b7280);flex-direction:column;align-items:center;gap:.4rem;padding:1.4rem .85rem;display:flex}:where(body.chat-page,.chat-page-shell) .chat-room-search-empty__icon{opacity:.6;font-size:1.3rem}:where(body.chat-page,.chat-page-shell) .chat-room-search-empty__text{word-break:break-word;font-size:.82rem;line-height:1.45}:where(body.chat-page,.chat-page-shell) .chat-room-list__loading{justify-content:center;padding:.6rem 0 .4rem;display:flex}:where(body.chat-page,.chat-page-shell) .chat-room-list__sentinel{width:100%;min-height:1px}:where(body.chat-page,.chat-page-shell) .chat-room-list__skeleton{flex-direction:column;gap:.15rem;display:flex}:where(body.chat-page,.chat-page-shell) .chat-room-card{border-radius:var(--radius-sm,8px);cursor:pointer;min-height:44px;transition:background var(--transition-fast,.15s ease), border-color var(--transition-fast,.15s ease);box-shadow:none;color:var(--text-dark,#1a1a1a);-webkit-tap-highlight-color:transparent;background:0 0;border:1px solid #0000;justify-content:space-between;align-items:center;margin-bottom:.15rem;padding:.7rem .85rem;font-size:.9rem;display:flex;position:relative}:where(body.chat-page,.chat-page-shell) .chat-room-card--skeleton{cursor:default;pointer-events:none;justify-content:flex-start}:where(body.chat-page,.chat-page-shell) .chat-room-card--skeleton .cc-skeleton{height:.9rem}:where(body.chat-page,.chat-page-shell) .chat-room-card__trigger{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;padding:0;display:flex}:where(body.chat-page,.chat-page-shell) .chat-room-card__check{width:1.35rem;min-width:1.35rem;height:1.35rem;color:var(--primary-color,#19c37d);border-radius:50%;justify-content:center;align-items:center;margin-right:.55rem;font-size:1rem;display:inline-flex}:where(body.chat-page,.chat-page-shell) .chat-room-card--selectable{cursor:pointer}:where(body.chat-page,.chat-page-shell) .chat-room-card--selected{background:#0f766e1a;border-color:#0f766e3d}:where(body.chat-page,.chat-page-shell) .chat-room-card--menu-open{z-index:5}:where(body.chat-page,.chat-page-shell) .chat-room-card.active.chat-room-card--selected{background:var(--primary-hover,#15a86b)}:where(body.chat-page,.chat-page-shell) .chat-room-card.active .chat-room-card__check{color:#fff}:where(body.chat-page,.chat-page-shell) .chat-room-card__title-row{align-items:center;gap:.45rem;width:100%;min-width:0;display:flex}:where(body.chat-page,.chat-page-shell) .chat-room-card__mode-badge{color:#0369a1;letter-spacing:.03em;background:#0ea5e91f;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:.18rem .45rem;font-size:.68rem;font-weight:700;display:inline-flex}:where(body.chat-page,.chat-page-shell) .chat-room-card:focus-within{border-color:#19c37d66;box-shadow:0 0 0 3px #19c37d29}:where(body.chat-page,.chat-page-shell) .chat-room-card__title-row>span:first-child{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}:where(body.chat-page,.chat-page-shell) .chat-room-card-actions{z-index:1;align-items:center;margin-left:auto;display:flex;position:relative}:where(body.chat-page,.chat-page-shell) .chat-room-card:hover{box-shadow:none;background:#0000000a;border-color:#0000;transform:none}:where(body.chat-page,.chat-page-shell) .chat-room-card:active{background:#00000012}:where(body.chat-page,.chat-page-shell) .chat-room-card.active{background:var(--primary-color,#19c37d);color:#fff;border-color:#0000;box-shadow:0 2px 8px #19c37d4d}:where(body.chat-page,.chat-page-shell) .chat-room-card.active:hover{background:var(--primary-hover,#15a86b)}:where(body.chat-page,.chat-page-shell) .chat-room-card.active:active{background:#139259}:where(body.chat-page,.chat-page-shell) .chat-room-card.active .chat-room-card__mode-badge{color:#fff;background:#fff3}:where(body.chat-page,.chat-page-shell) .room-actions-icon{cursor:pointer;opacity:0;transition:opacity var(--transition-fast,.15s ease);-webkit-tap-highlight-color:transparent;color:inherit;background:0 0;border:none;justify-content:center;align-items:center;margin:-.3rem -.3rem -.3rem .2rem;padding:.3rem;font-size:1.1em;display:inline-flex}:where(body.chat-page,.chat-page-shell) .room-actions-icon:focus-visible,:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item:focus-visible,:where(body.chat-page,.chat-page-shell) .chat-room-card__trigger:focus-visible{outline-offset:2px;outline:2px solid #19c37db3}:where(body.chat-page,.chat-page-shell) .chat-room-card:hover .room-actions-icon,:where(body.chat-page,.chat-page-shell) .chat-room-card.active .room-actions-icon{opacity:1}:where(body.chat-page,.chat-page-shell) .room-actions-menu{-webkit-backdrop-filter:blur(16px)saturate(160%);z-index:100;transform-origin:100% 0;background:#fffffff7;border:1px solid #00000012;border-radius:12px;flex-direction:column;min-width:184px;max-width:min(280px,100vw - 32px);display:none;position:absolute;top:calc(100% + 5px);right:0;overflow:hidden;box-shadow:0 2px 6px #0000000d,0 8px 24px #0000001a,0 0 0 .5px #0000000a}:where(body.chat-page,.chat-page-shell) .room-actions-menu.is-open{animation:.16s cubic-bezier(.16,1,.3,1) both roomMenuOpen;display:flex}@keyframes roomMenuOpen{0%{opacity:0;transform:scale(.88)translateY(-6px)}to{opacity:1;transform:scale(1)translateY(0)}}:where(body.chat-page,.chat-page-shell) .chat-room-card.active .room-actions-menu{color:var(--text-dark,#1a1a1a)}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item{white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:left;background:0 0;border:none;align-items:center;gap:.45rem;width:100%;min-height:38px;padding:.5rem .85rem;font-size:.84rem;font-weight:500;transition:background .1s;display:flex}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item:last-child{border-top:1px solid #0000000f}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item__icon{flex-shrink:0;margin-right:0;font-size:.88em}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename{color:#1c1c1e}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename:hover,:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename:focus-visible{background:#0000000d}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select{color:#0f766e}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select:hover,:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select:focus-visible{background:#0f766e14}:where(body.chat-page,.chat-page-shell) .room-actions-menu__section{border-top:1px solid #0000000f;padding:.25rem 0}:where(body.chat-page,.chat-page-shell) .room-actions-menu__label{color:#475569;white-space:nowrap;align-items:center;gap:.45rem;min-height:34px;padding:.42rem .85rem;font-size:.78rem;font-weight:700;display:flex}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project{color:#1f4f46;min-height:34px}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project:hover,:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project:focus-visible{background:#1f4f4614}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project.is-disabled{color:#64748b;cursor:default}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item__project-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete{color:#dc2626}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete:hover,:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete:focus-visible{background:#dc262612}:where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item:active{opacity:.7;transition:none}:where(body.chat-page,.chat-page-shell) .room-selection-bar{border-radius:var(--radius-sm,8px);background:#ffffffc7;border:1px solid #0f172a14;grid-template-columns:1fr auto auto;align-items:center;gap:.45rem;min-height:48px;margin-bottom:.45rem;padding:.42rem;display:grid}:where(body.chat-page,.chat-page-shell) .room-selection-bar__count{min-width:0;color:var(--text-secondary,#6b7280);white-space:nowrap;text-overflow:ellipsis;padding-left:.35rem;font-size:.82rem;font-weight:700;overflow:hidden}:where(body.chat-page,.chat-page-shell) .room-selection-bar__button{border-radius:var(--radius-sm,8px);min-height:36px;color:var(--text-dark,#1a1a1a);cursor:pointer;background:#fff;border:1px solid #0f172a1a;justify-content:center;align-items:center;gap:.28rem;padding:.45rem .62rem;font-size:.78rem;font-weight:700;display:inline-flex}:where(body.chat-page,.chat-page-shell) .room-selection-bar__button--danger{color:#dc2626;border-color:#dc262633}:where(body.chat-page,.chat-page-shell) .room-selection-bar__button:hover:not(:disabled),:where(body.chat-page,.chat-page-shell) .room-selection-bar__button:focus-visible{border-color:#0f766e52;box-shadow:0 0 0 3px #0f766e1f}:where(body.chat-page,.chat-page-shell) .room-selection-bar__button--danger:hover:not(:disabled),:where(body.chat-page,.chat-page-shell) .room-selection-bar__button--danger:focus-visible{border-color:#dc262647;box-shadow:0 0 0 3px #dc26261a}:where(body.chat-page,.chat-page-shell) .room-selection-bar__button:disabled{cursor:not-allowed;opacity:.55}@media (max-width:992px){:where(body.chat-page,.chat-page-shell) .room-actions-icon{opacity:.5}:where(body.chat-page,.chat-page-shell) .chat-room-card.active .room-actions-icon{opacity:.85}}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search__input{color:#e2e8f0;background:#0f172a99;border-color:#94a3b838}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search__input::placeholder{color:#94a3b8cc}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search__input:focus{border-color:#5eead480;box-shadow:0 0 0 3px #5eead424}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search__clear:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search__clear:focus-visible{color:#e2e8f0;background:#94a3b829}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-search-empty{color:#94a3b8e6}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu{background:#111827fa;border-color:#94a3b833;box-shadow:0 2px 6px #0000004d,0 8px 24px #02061775,0 0 0 .5px #94a3b81a}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename{color:#e2e8f0}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--rename:focus-visible{background:#94a3b81f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select{color:#5eead4}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--select:focus-visible{background:#5eead41f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu__section{border-top-color:#94a3b81f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu__label{color:#94a3b8}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project{color:#99f6e4}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project:focus-visible{background:#2dd4bf1f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--project.is-disabled{color:#64748b}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete{color:#f87171}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item--delete:focus-visible{background:#f871711f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-actions-menu .menu-item:last-child{border-top-color:#94a3b81f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-card--selected{background:#5eead41f;border-color:#5eead43d}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-selection-bar{background:#0f172aad;border-color:#94a3b829}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-selection-bar__button{color:#e2e8f0;background:#0f172af0;border-color:#94a3b833}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .room-selection-bar__button--danger{color:#f87171;border-color:#f871713d}@media (max-width:576px){:where(body.chat-page,.chat-page-shell) .sidebar{padding: calc(.5rem + env(safe-area-inset-top,0px)) calc(.72rem + env(safe-area-inset-right,0px)) calc(1.2rem + env(safe-area-inset-bottom,0px)) calc(.72rem + env(safe-area-inset-left,0px));-webkit-overflow-scrolling:touch;overscroll-behavior:contain}:where(body.chat-page,.chat-page-shell) .sidebar-projects__header{padding-left:2.85rem}:where(body.chat-page,.chat-page-shell) .new-chat-btn{min-height:48px;padding:.72rem 1rem}:where(body.chat-page,.chat-page-shell) .chat-room-search__input{min-height:46px;font-size:16px}:where(body.chat-page,.chat-page-shell) .chat-room-card{touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#ffffffb8;border-color:#0f172a0a;border-radius:12px;min-height:52px;padding:.72rem .78rem;font-size:.9rem}:where(body.chat-page,.chat-page-shell) .room-actions-icon{opacity:.72;width:44px;min-width:44px;height:44px;margin-right:-.35rem}:where(body.chat-page,.chat-page-shell) .room-actions-menu{min-width:168px;left:auto;right:0}:where(body.chat-page,.chat-page-shell) .menu-item{min-height:44px}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .chat-room-card{background:#0f172a9e;border-color:#94a3b81f}}
:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist{--assist-hue-1:#0f766e;--assist-hue-2:#14b8a6;--assist-ink-strong:#103934;--assist-ink:#46645f;--assist-border:#0f766e33;--assist-surface:#fff;--assist-soft:color-mix(in srgb, var(--assist-hue-2) 8%, #fff);border:1px solid var(--assist-border);background:var(--assist-soft);border-radius:16px;flex-direction:column;gap:.7rem;margin:.35rem 0 .6rem;padding:1rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist[data-assist-target=shared_prompt_modal]{--assist-hue-1:#185abc;--assist-hue-2:#4f9cf5;--assist-ink-strong:#1f3654;--assist-ink:#56708c;--assist-border:#185abc2e}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__head{align-items:flex-start;gap:.6rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__icon{color:#fff;background:linear-gradient(135deg, var(--assist-hue-1) 0%, var(--assist-hue-2) 100%);border-radius:999px;flex:none;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.95rem;display:inline-flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__head-copy{flex-direction:column;gap:.1rem;min-width:0;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__title{color:var(--assist-ink-strong);font-size:.98rem;font-weight:700;line-height:1.4}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__lead{color:var(--assist-ink);font-size:.82rem;line-height:1.55}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__brief{flex-direction:column;gap:.3rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__brief-label{color:var(--assist-ink);font-size:.78rem;font-weight:600}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__brief-input{resize:vertical;border:1px solid var(--assist-border);background:var(--assist-surface);width:100%;min-height:64px;color:var(--assist-ink-strong);font:inherit;border-radius:12px;padding:.6rem .75rem;font-size:.9rem;line-height:1.6}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__brief-input::placeholder{color:color-mix(in srgb, var(--assist-ink) 65%, transparent)}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__brief-input:focus-visible{border-color:color-mix(in srgb, var(--assist-hue-2) 55%, var(--assist-border));box-shadow:0 0 0 3px color-mix(in srgb, var(--assist-hue-2) 18%, transparent);outline:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run{color:#fff;font:inherit;cursor:pointer;background:linear-gradient(135deg, var(--assist-hue-1) 0%, var(--assist-hue-2) 100%);box-shadow:0 10px 22px color-mix(in srgb, var(--assist-hue-1) 22%, transparent);border:none;border-radius:12px;align-items:center;gap:.4rem;padding:.55rem 1rem;font-size:.9rem;font-weight:700;transition:transform .18s,box-shadow .18s,filter .18s;display:inline-flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run:hover:not(:disabled){filter:saturate(1.05);transform:translateY(-1px)}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run:disabled{cursor:not-allowed;opacity:.6;box-shadow:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run:focus-visible,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply:focus-visible,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__retry:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--assist-hue-2) 24%, transparent);outline:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__loading{color:var(--assist-ink);align-items:center;gap:.5rem;font-size:.84rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__loading[hidden]{display:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__spinner{border:2px solid color-mix(in srgb, var(--assist-hue-2) 30%, transparent);border-top-color:var(--assist-hue-1);border-radius:999px;width:1rem;height:1rem;animation:.7s linear infinite prompt-assist-spin}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__status{color:var(--assist-ink);margin:0;font-size:.82rem;line-height:1.55}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__status[hidden]{display:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__status[data-variant=success]{color:color-mix(in srgb, var(--assist-hue-1) 78%, #0f766e)}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__status[data-variant=error]{color:#c2410c}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__preview{border:1px solid var(--assist-border);background:var(--assist-surface);border-radius:14px;flex-direction:column;gap:.7rem;padding:.85rem;animation:.22s prompt-assist-enter;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__preview[hidden]{display:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__summary{color:var(--assist-ink-strong);margin:0;font-size:.88rem;font-weight:600;line-height:1.55}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__warnings{color:#b45309;margin:0;padding-left:1.1rem;font-size:.8rem;line-height:1.5}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__warnings[hidden]{display:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__result{flex-direction:column;gap:.6rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__row{flex-direction:column;gap:.25rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__row-label{color:var(--assist-ink);letter-spacing:.02em;font-size:.74rem;font-weight:700}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__row-value{border:1px solid var(--assist-border);background:var(--assist-soft);color:var(--assist-ink-strong);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;max-height:7.5rem;margin:0;padding:.5rem .65rem;font-size:.86rem;line-height:1.6;overflow-y:auto}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__row--primary .prompt-assist__row-value{max-height:16rem;font-size:.9rem}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__preview-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply{color:#fff;font:inherit;cursor:pointer;background:linear-gradient(135deg, var(--assist-hue-1) 0%, var(--assist-hue-2) 100%);box-shadow:0 10px 22px color-mix(in srgb, var(--assist-hue-1) 22%, transparent);border:none;border-radius:12px;align-items:center;gap:.4rem;padding:.55rem 1rem;font-size:.9rem;font-weight:700;transition:transform .18s,filter .18s;display:inline-flex}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply:hover:not(:disabled){filter:saturate(1.05);transform:translateY(-1px)}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply:disabled,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__retry:disabled{cursor:not-allowed;opacity:.6}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__retry{border:1px solid var(--assist-border);color:var(--assist-ink);font:inherit;cursor:pointer;background:0 0;border-radius:12px;padding:.5rem .85rem;font-size:.85rem;font-weight:600;transition:background .18s,color .18s}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__retry:hover:not(:disabled){background:var(--assist-soft);color:var(--assist-ink-strong)}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist-applied{animation:.9s prompt-assist-field-glow}@keyframes prompt-assist-spin{to{transform:rotate(360deg)}}@keyframes prompt-assist-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes prompt-assist-field-glow{0%{box-shadow:0 0 #2dd4bf00}35%{box-shadow:0 0 0 4px #2dd4bf38}to{box-shadow:0 0 #2dd4bf00}}[data-theme=dark] :where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist{--assist-ink-strong:#e2f4ef;--assist-ink:#9fc4bd;--assist-border:#2dd4bf38;--assist-surface:#0f172ab8;--assist-soft:#14b8a61a}[data-theme=dark] :where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist[data-assist-target=shared_prompt_modal]{--assist-ink-strong:#e3edf8;--assist-ink:#a7c0db;--assist-border:#60a5fa3d;--assist-soft:#4f9cf51f}[data-theme=dark] :where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__status[data-variant=error]{color:#fdba74}[data-theme=dark] :where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__warnings{color:#fbbf24}@media (prefers-reduced-motion:reduce){:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__retry{transition:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__run:hover:not(:disabled),:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__apply:hover:not(:disabled){transform:none}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__spinner{animation-duration:1.4s}:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist__preview,:where(body.chat-page,.chat-page-shell,body.prompt-share-page,.prompt-share-page) .prompt-assist-applied{animation:none}}
:where(body.chat-page,.chat-page-shell) .task-selection-header{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:1rem;display:flex}:where(body.chat-page,.chat-page-shell) #task-selection-text{color:var(--primary-dark);flex-grow:1;order:1;margin:0;font-weight:700}:where(body.chat-page,.chat-page-shell) #edit-task-order-btn{order:2}:where(body.chat-page,.chat-page-shell) #openNewPromptModal{order:3;margin-left:auto}:where(body.chat-page,.chat-page-shell) .circle-button{background:radial-gradient(circle at 28% 28%, #ffffff4d, transparent 34%), linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);color:var(--text-light,#fff);width:44px;height:44px;font-size:var(--text-xl,1.125rem);cursor:pointer;transition:transform var(--transition-normal,.2s ease), box-shadow var(--transition-normal,.2s ease), filter var(--transition-slow,.3s ease);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;box-shadow:0 14px 24px #134e4a38}:where(body.chat-page,.chat-page-shell) .circle-button:hover{filter:saturate(1.06);transform:translateY(-1px)}:where(body.chat-page,.chat-page-shell) #openNewPromptModal .bi-plus-lg{transition:transform var(--transition-slow,.3s ease)}:where(body.chat-page,.chat-page-shell) #openNewPromptModal.is-rotated .bi-plus-lg{transform:rotate(90deg)}:where(body.chat-page,.chat-page-shell) .new-post-form__fields{flex-direction:column;gap:1rem;display:flex}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group{flex-direction:column;gap:.4rem;display:flex}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group label{color:var(--modal-text);margin-bottom:0;font-size:.875rem;font-weight:600}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group input[type=text],:where(body.chat-page,.chat-page-shell) .new-post-form .form-group textarea,:where(body.chat-page,.chat-page-shell) .new-post-form .form-group select{border:1px solid var(--modal-border);background:var(--modal-surface);width:100%;min-height:44px;color:var(--modal-text);border-radius:8px;padding:.65rem .85rem;font-family:inherit;font-size:.95rem;line-height:1.5;transition:border-color .15s,box-shadow .15s}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group input::placeholder,:where(body.chat-page,.chat-page-shell) .new-post-form .form-group textarea::placeholder{color:var(--modal-text-muted);opacity:.8}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group textarea{resize:vertical;min-height:128px;line-height:1.65}:where(body.chat-page,.chat-page-shell) .new-post-form .form-group input[type=text]:focus,:where(body.chat-page,.chat-page-shell) .new-post-form .form-group textarea:focus,:where(body.chat-page,.chat-page-shell) .new-post-form .form-group select:focus{border-color:var(--modal-accent);box-shadow:var(--modal-focus-ring);outline:none}:where(body.chat-page,.chat-page-shell) .composer-status{align-items:center;gap:.5rem;display:flex}:where(body.chat-page,.chat-page-shell) .composer-status--visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:where(body.chat-page,.chat-page-shell) .form-group--toggle{margin-top:.1rem}:where(body.chat-page,.chat-page-shell) .composer-toggle{border:1px solid var(--modal-border);background:var(--modal-surface);cursor:pointer;border-radius:10px;align-items:flex-start;gap:.8rem;padding:.85rem 1rem;display:flex}:where(body.chat-page,.chat-page-shell) .composer-toggle input{accent-color:var(--modal-accent);margin-top:.2rem}:where(body.chat-page,.chat-page-shell) .composer-toggle__copy{flex-direction:column;gap:.15rem;display:flex}:where(body.chat-page,.chat-page-shell) .composer-toggle__copy strong{color:var(--modal-text);font-size:.9rem;font-weight:600}:where(body.chat-page,.chat-page-shell) .composer-toggle__copy small{color:var(--modal-text-muted);font-size:.8rem;line-height:1.55}:where(body.chat-page,.chat-page-shell) #new-guardrail-fields{border:1px solid var(--modal-border-soft);background:var(--modal-surface-muted);border-radius:10px;flex-direction:column;gap:1rem;padding:1rem;display:flex}:where(body.chat-page,.chat-page-shell) #new-guardrail-fields[hidden]{display:none}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn{min-width:9rem;transition:background .15s,border-color .15s,width .15s,min-width .15s}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn:disabled{cursor:wait}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-loading,:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-success{gap:0;width:40px;min-width:40px;padding:0}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn__label{white-space:nowrap}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-loading .new-prompt-submit-btn__label,:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-success .new-prompt-submit-btn__label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn__spinner{font-size:1.1rem;animation:.85s linear infinite spin}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-success:disabled{opacity:1;cursor:default}:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn.is-success i{font-size:1.15rem}@media (prefers-reduced-motion:reduce){:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn,:where(body.chat-page,.chat-page-shell) .new-prompt-submit-btn__spinner{transition:none;animation:none}}
.prompt-category-select{width:100%;position:relative}.prompt-category-select__native{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.prompt-category-select__trigger{border:1px solid var(--modal-border);background:var(--modal-surface);width:100%;min-height:44px;color:var(--modal-text);cursor:pointer;font:inherit;text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .85rem;font-size:.95rem;font-weight:500;line-height:1.5;transition:border-color .15s,box-shadow .15s;display:flex}.prompt-category-select__trigger:hover:not(:disabled){border-color:var(--modal-accent)}.prompt-category-select__trigger.is-open,.prompt-category-select__trigger:focus-visible{border-color:var(--modal-accent);box-shadow:var(--modal-focus-ring);outline:none}.prompt-category-select__trigger:disabled{cursor:not-allowed;background:var(--modal-surface-muted);color:var(--modal-text-muted);opacity:.7}.prompt-category-select__chevron{color:var(--modal-text-muted);flex:none;font-size:.82rem;transition:transform .15s}.prompt-category-select__chevron.is-open{transform:rotate(180deg)}.prompt-category-select__menu{z-index:var(--z-modal-priority,85);border:1px solid var(--modal-border);background:var(--modal-surface);max-height:min(300px,44vh);box-shadow:var(--shadow-md);border-radius:8px;padding:.25rem;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto}.prompt-category-select__option{width:100%;min-height:40px;color:var(--modal-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .65rem;font-size:.9rem;font-weight:500;line-height:1.45;transition:background .15s,color .15s;display:flex}.prompt-category-select__option:hover,.prompt-category-select__option:focus-visible{background:var(--modal-surface-muted);outline:none}.prompt-category-select__option.is-selected{background:var(--modal-accent-soft);color:var(--modal-accent);font-weight:600}@media (prefers-reduced-motion:reduce){.prompt-category-select__trigger,.prompt-category-select__chevron,.prompt-category-select__option{transition:none}}
.streaming-word{animation:streamingWordReveal var(--streaming-word-duration,.42s) ease-out both;will-change:opacity, filter}@keyframes streamingWordReveal{0%{opacity:0;filter:blur(6px)}45%{opacity:.55;filter:blur(2px)}to{opacity:1;filter:blur()}}@media (prefers-reduced-motion:reduce){.streaming-word{opacity:1;filter:none;animation:none}}
.cc-alert-modal{--cc-modal-overlay:var(--modal-overlay);--cc-modal-surface:var(--modal-surface);--cc-modal-border:var(--modal-border);--cc-modal-shadow:var(--modal-shadow);--cc-modal-radius:var(--modal-radius,14px);--cc-modal-accent:var(--modal-accent);--cc-modal-accent-strong:var(--modal-accent-hover);--cc-modal-accent-soft:var(--modal-accent-soft);--cc-modal-on-accent:var(--modal-accent-text);--cc-modal-title-color:var(--modal-text);--cc-modal-text-color:var(--modal-text-muted);--cc-modal-muted-color:var(--modal-text-muted);--cc-modal-field-bg:var(--modal-surface);--cc-modal-field-border:var(--modal-border);--cc-modal-ghost-bg:var(--modal-surface);--cc-modal-ghost-bg-hover:var(--modal-surface-muted);--cc-modal-ghost-border:var(--modal-border);--cc-modal-focus-ring:var(--modal-focus-ring);--cc-modal-enter:.16s ease;--cc-modal-exit-duration:.16s;--cc-modal-icon-size:2.5rem;--cc-modal-icon-gap:.875rem;--cc-modal-indent:calc(var(--cc-modal-icon-size) + var(--cc-modal-icon-gap));z-index:var(--z-alert-modal,95);padding:var(--modal-viewport-padding,1rem);justify-content:center;align-items:center;display:none;position:fixed;inset:0}.cc-alert-modal.is-visible,.cc-alert-modal.is-closing{display:flex}.cc-alert-modal__overlay{background:var(--cc-modal-overlay);position:absolute;inset:0}.cc-alert-modal.is-visible .cc-alert-modal__overlay{animation:cc-alert-modal-overlay-in var(--cc-modal-enter) both}.cc-alert-modal.is-closing .cc-alert-modal__overlay{animation:cc-alert-modal-overlay-in var(--cc-modal-exit-duration) ease reverse both}.cc-alert-modal__dialog{width:min(var(--modal-width-sm,520px), calc(100vw - 2rem));border-radius:var(--cc-modal-radius);border:1px solid var(--cc-modal-border);background:var(--cc-modal-surface);max-height:calc(100dvh - 2rem);box-shadow:var(--cc-modal-shadow);color:var(--cc-modal-title-color);flex-direction:column;padding:1.5rem;display:flex;position:relative;overflow-y:auto}.cc-alert-modal.is-visible .cc-alert-modal__dialog{animation:cc-alert-modal-dialog-in var(--cc-modal-enter) both}.cc-alert-modal.is-closing .cc-alert-modal__dialog{animation:cc-alert-modal-dialog-out var(--cc-modal-exit-duration) ease-in both}.cc-alert-modal__close{width:2rem;height:2rem;color:var(--cc-modal-muted-color);cursor:pointer;transition:background var(--transition-fast,.15s ease), color var(--transition-fast,.15s ease);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:.75rem;right:.75rem}.cc-alert-modal__close svg{width:1.125rem;height:1.125rem}.cc-alert-modal__close:hover{background:var(--cc-modal-ghost-bg-hover);color:var(--cc-modal-title-color)}.cc-alert-modal__close:focus-visible{box-shadow:var(--cc-modal-focus-ring);outline:none}.cc-alert-modal__head{align-items:flex-start;gap:var(--cc-modal-icon-gap);display:flex}.cc-alert-modal__icon{width:var(--cc-modal-icon-size);height:var(--cc-modal-icon-size);background:var(--cc-modal-accent-soft);color:var(--cc-modal-accent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.cc-alert-modal__icon svg{width:1.375rem;height:1.375rem}.cc-alert-modal__text{flex:auto;min-width:0;padding-top:.125rem}.cc-alert-modal__title{color:var(--cc-modal-title-color);font-size:var(--text-lg,1.0625rem);font-weight:700;line-height:var(--leading-tight,1.4);margin:0;padding-right:2rem}.cc-alert-modal__message{color:var(--cc-modal-text-color);font-size:var(--text-base,.9375rem);line-height:var(--leading-relaxed,1.6);white-space:pre-wrap;overflow-wrap:anywhere;margin:.375rem 0 0}.cc-alert-modal__message:empty{display:none}.cc-alert-modal__body{margin-top:1.125rem;margin-left:var(--cc-modal-indent)}.cc-alert-modal__field{flex-direction:column;gap:.4375rem;display:flex}.cc-alert-modal__field-label{color:var(--cc-modal-title-color);font-size:var(--text-sm,.875rem);font-weight:600}.cc-alert-modal__field-label:empty{display:none}.cc-alert-modal__input{box-sizing:border-box;border:1px solid var(--cc-modal-field-border);background:var(--cc-modal-field-bg);width:100%;min-height:44px;color:var(--cc-modal-title-color);font-family:inherit;font-size:var(--text-base,.9375rem);transition:border-color var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease);border-radius:8px;padding:0 .875rem}.cc-alert-modal__input::placeholder{color:var(--cc-modal-muted-color)}.cc-alert-modal__input:focus{border-color:var(--cc-modal-accent);box-shadow:var(--cc-modal-focus-ring);outline:none}.cc-alert-modal__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.625rem;margin-top:1.5rem;display:flex}.cc-alert-modal__button{border:1px solid var(--cc-modal-accent);background:var(--cc-modal-accent);min-height:2.5rem;color:var(--cc-modal-on-accent);font-family:inherit;font-size:var(--text-sm,.875rem);cursor:pointer;transition:background var(--transition-fast,.15s ease), border-color var(--transition-fast,.15s ease), color var(--transition-fast,.15s ease);border-radius:8px;justify-content:center;align-items:center;padding:0 1.125rem;font-weight:600;display:inline-flex}.cc-alert-modal__button:hover{border-color:var(--cc-modal-accent-strong);background:var(--cc-modal-accent-strong)}.cc-alert-modal__button:focus-visible{box-shadow:var(--cc-modal-focus-ring);outline:none}.cc-alert-modal__button--secondary{border-color:var(--cc-modal-ghost-border);background:var(--cc-modal-ghost-bg);color:var(--cc-modal-title-color)}.cc-alert-modal__button--secondary:hover{border-color:var(--cc-modal-ghost-border);background:var(--cc-modal-ghost-bg-hover);color:var(--cc-modal-title-color)}@media (max-width:30rem){.cc-alert-modal__dialog{padding:1.25rem 1.15rem}.cc-alert-modal{--cc-modal-icon-size:2.25rem;--cc-modal-icon-gap:.75rem}.cc-alert-modal__icon svg{width:1.25rem;height:1.25rem}.cc-alert-modal__body{margin-left:0}.cc-alert-modal__actions{flex-direction:column-reverse;gap:.5rem}.cc-alert-modal__button{width:100%}}.cc-alert-modal-open{overflow:hidden}@keyframes cc-alert-modal-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes cc-alert-modal-dialog-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes cc-alert-modal-dialog-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.cc-alert-modal.is-visible .cc-alert-modal__overlay,.cc-alert-modal.is-closing .cc-alert-modal__overlay,.cc-alert-modal.is-visible .cc-alert-modal__dialog,.cc-alert-modal.is-closing .cc-alert-modal__dialog{animation:none}.cc-alert-modal__button,.cc-alert-modal__close,.cc-alert-modal__input{transition:none}}
.cc-modal{padding:var(--modal-viewport-padding,1rem);background:var(--modal-overlay);color:var(--modal-text)}.cc-modal.is-open{animation:.16s both cc-modal-overlay-in}.cc-modal__panel{width:min(var(--cc-modal-width,640px), 100%);border:1px solid var(--modal-border);border-radius:var(--modal-radius);background:var(--modal-surface);max-height:min(92dvh,960px);color:var(--modal-text);box-shadow:var(--modal-shadow);text-align:left;overflow-wrap:anywhere;flex-direction:column;margin:0;padding:0;display:flex;position:relative;overflow:hidden}.cc-modal.is-open .cc-modal__panel{animation:.16s both cc-modal-panel-in}.cc-modal__panel:focus{outline:none}.cc-modal__panel--sm{--cc-modal-width:480px}.cc-modal__panel--md{--cc-modal-width:640px}.cc-modal__panel--lg{--cc-modal-width:780px}.cc-modal__panel--xl{--cc-modal-width:1040px}.cc-modal__panel--reader{height:min(92dvh,900px)}.cc-modal__header{border-bottom:1px solid var(--modal-border-soft);flex:none;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem;display:flex;position:relative}.cc-modal__header--compact{align-items:center;min-height:52px;padding-top:.5rem;padding-bottom:.5rem}.cc-modal__heading{flex-direction:column;flex:auto;gap:.3rem;min-width:0;display:flex}.cc-modal__title{color:var(--modal-text);letter-spacing:0;margin:0;font-size:1.125rem;font-weight:700;line-height:1.4}.cc-modal__lead{color:var(--modal-text-muted);margin:0;font-size:.9rem;line-height:1.6}.cc-modal__meta{color:var(--modal-text-muted);flex-wrap:wrap;align-items:center;gap:.3rem .9rem;margin:0;font-size:.85rem;line-height:1.5;display:flex}.cc-modal__meta>*{align-items:center;gap:.35rem;min-width:0;margin:0;display:inline-flex}.cc-modal__meta i{opacity:.85;font-size:.9em}.cc-modal__close{width:36px;height:36px;color:var(--modal-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;justify-content:center;align-items:center;margin:-.25rem -.4rem -.25rem 0;padding:0;font-size:1rem;line-height:1;transition:background .15s,color .15s;display:inline-flex}.cc-modal__header>.cc-modal__close{margin-left:auto}.cc-modal__close:hover{background:var(--modal-surface-muted);color:var(--modal-text)}.cc-modal__close:disabled{cursor:not-allowed;opacity:.5}.cc-modal__tabs{align-items:stretch;gap:.25rem;margin:0;padding:0;display:flex}.cc-modal__tab{min-height:40px;box-shadow:none;color:var(--modal-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:.4rem;padding:0 .75rem;font-size:.9rem;font-weight:600;transition:color .15s;display:inline-flex;position:relative}.cc-modal__tab:after{content:"";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:.75rem;right:.75rem}.cc-modal__tab:hover,.cc-modal__tab.is-active{color:var(--modal-text)}.cc-modal__tab.is-active:after{background:var(--modal-accent)}.cc-modal__tab-count{background:var(--modal-surface-muted);min-width:1.35rem;height:1.35rem;color:var(--modal-text-muted);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:0 .35rem;font-size:.75rem;font-weight:700;display:inline-flex}.cc-modal__tab.is-active .cc-modal__tab-count{background:var(--modal-accent-soft);color:var(--modal-accent)}.cc-modal__body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent;flex:auto;min-height:0;padding:1.25rem;overflow-y:auto}.cc-modal__body::-webkit-scrollbar{width:var(--scrollbar-size-thin,8px)}.cc-modal__body::-webkit-scrollbar-track{background:0 0}.cc-modal__body::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-radius,999px);background:var(--scrollbar-thumb);background-clip:padding-box;border:2px solid #0000}.cc-modal__form{flex-direction:column;flex:auto;min-height:0;display:flex}.cc-modal__section{flex-direction:column;gap:.75rem;min-width:0;display:flex}.cc-modal__section+.cc-modal__section{border-top:1px solid var(--modal-border-soft);margin-top:1.5rem;padding-top:1.5rem}.cc-modal__section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;display:flex}.cc-modal__section-title{color:var(--modal-text);margin:0;font-size:.95rem;font-weight:700;line-height:1.4}.cc-modal__section-meta{color:var(--modal-text-muted);font-variant-numeric:tabular-nums;margin:0;font-size:.8rem;font-weight:500;line-height:1.4}.cc-modal__notice{border:1px solid var(--modal-border-soft);background:var(--modal-surface-muted);color:var(--modal-text);border-radius:10px;gap:.75rem;margin:0;padding:.85rem 1rem;font-size:.875rem;line-height:1.6;display:flex}.cc-modal__notice i{color:var(--modal-accent);flex:none;margin-top:.15rem}.cc-modal__notice strong{font-size:.9rem;display:block}.cc-modal__notice p,.cc-modal__notice ul{margin:.25rem 0 0;padding-left:0}.cc-modal__notice ul{padding-left:1.1rem}.cc-modal__prose{color:var(--modal-text);overflow-wrap:anywhere}.cc-modal__prose>*{margin-block:.65em}.cc-modal__prose>:first-child{margin-top:0}.cc-modal__prose>:last-child{margin-bottom:0}.cc-modal__prose h1,.cc-modal__prose h2,.cc-modal__prose h3,.cc-modal__prose h4{color:var(--modal-text);margin:1.4em 0 .5em;font-weight:700;line-height:1.45}.cc-modal__prose h1{font-size:1.25em}.cc-modal__prose h2{font-size:1.15em}.cc-modal__prose h3,.cc-modal__prose h4{font-size:1.02em}.cc-modal__prose ul,.cc-modal__prose ol{padding-inline-start:1.6em}.cc-modal__prose ul{list-style:outside}.cc-modal__prose ol{list-style:decimal}.cc-modal__prose li{margin-block:.3em;display:list-item}.cc-modal__prose li>ul,.cc-modal__prose li>ol{margin-block:.3em}.cc-modal__prose blockquote{border-left:2px solid var(--modal-border);color:var(--modal-text-muted);margin-inline:0;padding:.2em 0 .2em .9em}.cc-modal__prose code{background:var(--modal-surface-muted);border-radius:4px;padding:.12em .36em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.88em}.cc-modal__prose pre{border:1px solid var(--modal-border-soft);background:var(--modal-surface-muted);border-radius:8px;padding:.85em 1em;line-height:1.7;overflow-x:auto}.cc-modal__prose pre code{background:0 0;border-radius:0;padding:0}.cc-modal__prose hr{border:0;border-top:1px solid var(--modal-border-soft);margin-block:1.4em}.cc-modal__prose a{color:var(--modal-accent);text-underline-offset:.18em;text-decoration:underline}.cc-modal__prose table{border-collapse:collapse;font-size:.92em;display:block;overflow-x:auto}.cc-modal__prose th,.cc-modal__prose td{border:1px solid var(--modal-border);text-align:left;padding:.42em .7em}.cc-modal__prose th{background:var(--modal-surface-muted);font-weight:700}.cc-modal__example-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.cc-modal__example{border:1px solid var(--modal-border-soft);background:var(--modal-surface-muted);border-radius:10px;min-width:0;padding:.9rem 1rem}.cc-modal__example h3{color:var(--modal-text);align-items:center;gap:.4rem;margin:0 0 .45rem;font-size:.85rem;font-weight:700;line-height:1.4;display:flex}.cc-modal__example h3 i{color:var(--modal-text-muted)}.cc-modal__example p{color:var(--modal-text);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.92rem;line-height:1.7}.cc-modal__footer{border-top:1px solid var(--modal-border-soft);background:var(--modal-surface);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:.6rem;padding:.85rem 1.25rem;display:flex}.cc-modal__footer-note{min-width:0;color:var(--modal-text-muted);flex:auto;margin:0;font-size:.85rem;line-height:1.5}.cc-modal__footer-note--error{color:var(--modal-danger)}.cc-modal__btn{border:1px solid var(--modal-border);background:var(--modal-surface);min-height:40px;color:var(--modal-text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:0 1rem;font-size:.9rem;font-weight:600;line-height:1;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.cc-modal__btn:hover{background:var(--modal-surface-muted)}.cc-modal__btn:disabled{cursor:not-allowed;opacity:.55}.cc-modal__btn--primary{border-color:var(--modal-accent);background:var(--modal-accent);color:var(--modal-accent-text)}.cc-modal__btn--primary:hover:not(:disabled){border-color:var(--modal-accent-hover);background:var(--modal-accent-hover)}.cc-modal__btn--ghost{color:var(--modal-text-muted);background:0 0;border-color:#0000}.cc-modal__btn--ghost:hover:not(:disabled){background:var(--modal-surface-muted);color:var(--modal-text)}.cc-modal__btn--danger{color:var(--modal-danger);background:0 0;border-color:#0000}.cc-modal__btn--danger:hover:not(:disabled){background:#dc262614}.cc-modal__btn--sm{min-height:32px;padding:0 .7rem;font-size:.82rem}.cc-modal__btn--icon{width:40px;padding:0}.cc-modal__btn--sm.cc-modal__btn--icon{width:32px}.cc-modal__btn i{font-size:1em}.cc-modal__close:focus-visible,.cc-modal__tab:focus-visible,.cc-modal__btn:focus-visible{box-shadow:var(--modal-focus-ring);outline:none}@keyframes cc-modal-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes cc-modal-panel-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.cc-modal.is-open,.cc-modal.is-open .cc-modal__panel{animation:none}}@media (max-width:640px){.cc-modal{align-items:flex-end;padding:0}.cc-modal__panel{--cc-modal-width:100%;border-bottom:0;border-left:0;border-right:0;border-radius:16px 16px 0 0;max-height:94dvh}.cc-modal__panel--reader{height:94dvh}.cc-modal__header{padding:.85rem 1rem}.cc-modal__header--compact{padding-top:.4rem;padding-bottom:.4rem}.cc-modal__body{padding:1rem}.cc-modal__footer{padding:.75rem 1rem calc(.75rem + var(--sai-bottom,0px))}.cc-modal__footer .cc-modal__btn{flex:auto}.cc-modal__footer-note{flex-basis:100%}.cc-modal__example-grid{grid-template-columns:minmax(0,1fr)}}
.copy-block-container{border:1px solid var(--border-default,#00000014);border-radius:var(--radius-sm,8px);background:var(--surface-secondary,#f9fafb);margin:.85rem 0;overflow:hidden}.copy-block-header{border-bottom:1px solid var(--border-light,#0000000d);justify-content:space-between;align-items:center;gap:.5rem;min-height:2.15rem;padding:.25rem .35rem .25rem .85rem;display:flex}.copy-block-label{color:var(--text-secondary,#6b7280);font-size:var(--text-xs,.8125rem);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.copy-block-copy-btn{border-radius:var(--radius-full,999px);width:1.9rem;height:1.9rem;color:var(--text-secondary,#6b7280);cursor:pointer;transition:background var(--transition-fast,.15s ease), color var(--transition-fast,.15s ease);background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.copy-block-copy-btn:hover{background:var(--surface-tertiary,#f2f5f3);color:var(--text-dark,#1a1a1a)}.copy-block-copy-btn:focus-visible{outline:2px solid var(--primary-color,#14b8a6);outline-offset:2px}.copy-block-copy-btn i{font-size:.95rem;line-height:1}.copy-block-copy-btn .bi-check-lg{color:var(--primary-color,#14b8a6)}.copy-block-copy-btn .bi-x-lg{color:#dc2626}.copy-block-container .copy-block-text{color:var(--text-dark,#1a1a1a);font-family:inherit;font-size:inherit;line-height:var(--chat-font-body-leading,1.7);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;background:0 0;border:none;margin:0;padding:.85rem;overflow-x:visible}@media (max-width:768px){.copy-block-header{padding-left:.65rem}.copy-block-container .copy-block-text{padding:.7rem .65rem}}
.content-import-button{transition:opacity var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);justify-content:center;align-items:center;gap:.35rem;display:inline-flex}.content-import-button--labelled{min-height:var(--tap-target-min)}.content-import-button--compact{min-height:var(--tap-target-min);min-width:var(--tap-target-min)}.content-import-button[aria-busy=true]{cursor:progress;opacity:.72}.content-import-button[data-action-state=success]{color:var(--success-color)}.content-import-button[data-action-state=error]{color:var(--danger-color)}.content-import-button[data-action-state=pending] .bi-arrow-repeat{animation:.9s linear infinite cc-content-import-spin}@keyframes cc-content-import-spin{to{transform:rotate(360deg)}}
:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation,:where(body.chat-page,.chat-page-shell) .bot-message .selected-reference-citation,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources{--ws-surface:#fff;--ws-surface-sunken:#f8fafc;--ws-surface-hover:#0f766e0f;--ws-border:#0f172a1a;--ws-border-strong:#0f172a29;--ws-text:var(--text-dark,#1a1a1a);--ws-text-muted:#64748b;--ws-accent:#0f766e;--ws-accent-text:var(--primary-dark,#134e4a);--ws-accent-soft:#0f766e1a;--ws-accent-border:#0f766e3d;--ws-rail:#0f766e3d;--ws-warning:#b45309;--ws-warning-soft:#b453091a;--ws-warning-border:#b453093d;--ws-shadow-soft:0 1px 2px #0f172a0d;--ws-shadow-card:0 8px 22px #0f172a12;--ws-chip-icon-bg:#e2e8f0;--ws-chip-icon-text:#334155}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .bot-message .selected-reference-citation,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources{--ws-surface:#0f172a;--ws-surface-sunken:#1e293b;--ws-surface-hover:#2dd4bf1a;--ws-border:#94a3b833;--ws-border-strong:#94a3b84d;--ws-text:#f8fafceb;--ws-text-muted:#cbd5e1a8;--ws-accent:#2dd4bf;--ws-accent-text:#5eead4f5;--ws-accent-soft:#2dd4bf24;--ws-accent-border:#2dd4bf4d;--ws-rail:#2dd4bf47;--ws-warning:#fbbf24;--ws-warning-soft:#fbbf2424;--ws-warning-border:#fbbf244d;--ws-shadow-soft:0 1px 2px #02061766;--ws-shadow-card:0 12px 28px #02061752;--ws-chip-icon-bg:#475569;--ws-chip-icon-text:#f8fafc}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation,:where(body.chat-page,.chat-page-shell) .bot-message .selected-reference-citation{border:1px solid var(--ws-border-strong);background:var(--ws-surface-sunken);max-width:min(100%,13rem);box-shadow:var(--ws-shadow-soft);color:var(--ws-text);font-size:.78em;font-weight:var(--chat-font-ui-weight,500);vertical-align:baseline;white-space:nowrap;transition:background var(--transition-fast,.15s ease), border-color var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease), transform var(--transition-fast,.15s ease);border-radius:999px;align-items:center;gap:.32rem;margin:0 .12rem;padding:.16rem .48rem .16rem .22rem;line-height:1.2;text-decoration:none;display:inline-flex}:where(body.chat-page,.chat-page-shell) .bot-message .selected-reference-citation{cursor:default}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation:hover{border-color:var(--ws-accent-border);background:var(--ws-surface);color:var(--ws-text);text-decoration:none;transform:translateY(-1px);box-shadow:0 3px 8px #0f172a1f}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation__icon{background:var(--ws-chip-icon-bg);width:1rem;height:1rem;color:var(--ws-chip-icon-text);box-shadow:inset 0 0 0 1px var(--ws-border-strong);border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:.58rem;font-weight:700;line-height:1;display:inline-flex;position:relative;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation__fallback{z-index:0;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation__favicon{z-index:1;object-fit:cover;background:#fff;border-radius:999px;width:100%;height:100%;position:absolute;inset:0}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation__icon--fallback .web-search-citation__favicon{display:none}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation__label{text-overflow:ellipsis;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources{border:1px solid var(--ws-border);border-radius:var(--radius-md,12px);background:var(--ws-surface);box-shadow:var(--ws-shadow-card);color:var(--ws-text-muted);margin-top:1rem;font-size:.9rem;position:relative;overflow:visible}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources--trace{margin-top:0;margin-bottom:1rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources>.web-search-sources__summary{cursor:pointer;min-height:3rem;color:var(--ws-text);font-weight:var(--chat-font-ui-weight,500);border-radius:var(--radius-md,12px);transition:background var(--transition-fast,.15s ease), color var(--transition-fast,.15s ease);align-items:center;gap:.65rem;padding:.6rem .75rem;list-style:none;display:flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources>.web-search-sources__summary::-webkit-details-marker{display:none}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources>.web-search-sources__summary::marker{content:""}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources>.web-search-sources__summary:hover{background:var(--ws-surface-hover)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources>.web-search-sources__summary:focus-visible{outline:2px solid var(--ws-accent);outline-offset:-2px}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources[open]>.web-search-sources__summary{border-bottom:1px solid var(--ws-border);border-radius:var(--radius-md,12px) var(--radius-md,12px) 0 0;background:var(--ws-surface-hover)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__summary-main{flex:auto;align-items:center;gap:.6rem;min-width:0;display:inline-flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__summary-icon{border:1px solid var(--ws-accent-border);border-radius:var(--radius-s,8px);background:var(--ws-accent-soft);width:1.85rem;height:1.85rem;color:var(--ws-accent-text);flex:none;justify-content:center;align-items:center;font-size:.95rem;line-height:1;display:inline-flex;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources:not(.web-search-sources--trace) .web-search-sources__summary-icon:before,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources:not(.web-search-sources--trace) .web-search-sources__summary-icon:after{content:"";border:2px solid;border-radius:999px;width:.58rem;height:.38rem;position:absolute;transform:rotate(-35deg)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources:not(.web-search-sources--trace) .web-search-sources__summary-icon:before{border-right:0;top:.52rem;left:.46rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources:not(.web-search-sources--trace) .web-search-sources__summary-icon:after{border-left:0;bottom:.52rem;right:.46rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__summary-text{gap:.1rem;min-width:0;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__label{color:var(--ws-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__summary-detail{color:var(--ws-text-muted);font-size:var(--text-xs,.8125rem);text-overflow:ellipsis;white-space:nowrap;font-weight:400;line-height:1.3;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__count{border:1px solid var(--ws-accent-border);border-radius:var(--radius-full,999px);background:var(--ws-accent-soft);color:var(--ws-accent-text);font-size:var(--text-xs,.8125rem);white-space:nowrap;flex:none;padding:.18rem .5rem;line-height:1.2}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__chevron{width:1rem;height:1rem;color:var(--ws-text-muted);flex:none;justify-content:center;align-items:center;font-size:.8rem;line-height:1;transition:transform .28s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__chevron:empty:before{content:"";border-bottom:2px solid;border-right:2px solid;width:.46rem;height:.46rem;position:absolute;top:.28rem;left:.22rem;transform:rotate(45deg)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources[open]>.web-search-sources__summary>.web-search-sources__chevron{transform:rotate(180deg)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources[data-web-search-sources-state=closing]>.web-search-sources__summary>.web-search-sources__chevron{transform:rotate(0)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__list{gap:.45rem;margin:0;padding:.7rem .75rem .85rem;list-style:none;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources[data-web-search-sources-state=opening] .web-search-sources__list,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources[data-web-search-sources-state=closing] .web-search-sources__list{contain:layout paint}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__steps,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__links{margin:0;padding:0;list-style:none;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__links{gap:.4rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__steps{gap:.55rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step{grid-template-columns:1.85rem minmax(0,1fr);align-items:start;column-gap:.7rem;min-width:0;display:grid;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step:before{content:"";background:var(--ws-rail);pointer-events:none;border-radius:999px;width:2px;position:absolute;top:2.05rem;bottom:-.6rem;left:calc(.925rem - 1px)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step:last-child:before{content:none}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-marker{z-index:1;border:1px solid var(--ws-accent-border);background:var(--ws-accent-soft);width:1.85rem;height:1.85rem;color:var(--ws-accent-text);box-shadow:0 0 0 3px var(--ws-surface);border-radius:999px;justify-content:center;align-items:center;font-size:.85rem;line-height:1;display:inline-flex;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-marker--warning{border-color:var(--ws-warning-border);background:var(--ws-warning-soft);color:var(--ws-warning)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-marker--search,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-marker--answer{background:var(--ws-accent);color:var(--ws-surface);border-color:#0000}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-card,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary{border-radius:var(--radius-sm,10px);border:1px solid #0000;align-items:center;gap:.6rem;min-width:0;padding:.3rem .1rem .35rem;display:flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-main{flex:auto}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-details{border:1px solid var(--ws-border);border-radius:var(--radius-sm,10px);background:var(--ws-surface-sunken);min-width:0;box-shadow:var(--ws-shadow-soft);transition:border-color var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-details:hover{border-color:var(--ws-accent-border)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-details[open]{border-color:var(--ws-accent-border);background:var(--ws-surface);box-shadow:var(--ws-shadow-card)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary{cursor:pointer;border-radius:var(--radius-sm,10px);padding:.55rem .65rem;list-style:none}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary::-webkit-details-marker{display:none}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary::marker{content:""}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary:focus-visible{outline:2px solid var(--ws-accent);outline-offset:-2px}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-main{justify-items:start;gap:.28rem;min-width:0;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-head{flex-wrap:wrap;align-items:center;gap:.4rem;min-width:0;min-height:1.25rem;display:flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-title{color:var(--ws-text);font-size:.9rem;font-weight:600;line-height:1.35}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-badge{border:1px solid var(--ws-accent-border);border-radius:var(--radius-full,999px);background:var(--ws-accent-soft);color:var(--ws-accent-text);font-size:.72rem;font-weight:var(--chat-font-label-weight,500);white-space:nowrap;padding:.08rem .42rem;line-height:1.4}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-query{border:1px dashed var(--ws-accent-border);border-radius:var(--radius-sm,8px);background:var(--ws-accent-soft);max-width:100%;color:var(--ws-accent-text);text-overflow:ellipsis;white-space:nowrap;align-items:center;padding:.18rem .5rem;font-size:.82rem;line-height:1.4;display:inline-flex;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-query:before{content:"“";opacity:.7;margin-right:.1rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-query:after{content:"”";opacity:.7;margin-left:.1rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-detail{color:var(--ws-text-muted);font-size:.83rem;font-weight:400;line-height:1.6}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-chips{flex-wrap:wrap;gap:.3rem;min-width:0;display:flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-chip{border:1px solid var(--ws-border);border-radius:var(--radius-full,999px);background:var(--ws-surface);max-width:12rem;color:var(--ws-text-muted);text-overflow:ellipsis;white-space:nowrap;padding:.06rem .4rem;font-size:.72rem;line-height:1.5;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-toggle{border:1px solid var(--ws-border-strong);border-radius:var(--radius-full,999px);background:var(--ws-surface);color:var(--ws-text);font-size:.78rem;font-weight:var(--chat-font-label-weight,500);transition:border-color var(--transition-fast,.15s ease), background var(--transition-fast,.15s ease), color var(--transition-fast,.15s ease);align-items:center;gap:.35rem;margin-top:.15rem;padding:.28rem .55rem;line-height:1.3;display:inline-flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-summary:hover .web-search-sources__step-toggle{border-color:var(--ws-accent-border);background:var(--ws-accent-soft);color:var(--ws-accent-text)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-toggle-count{color:var(--ws-text-muted)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-chevron{color:currentColor;width:.9rem;height:.9rem;transition:transform var(--transition-fast,.15s ease);justify-content:center;align-items:center;font-size:.7rem;line-height:1;display:inline-flex;position:relative}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-chevron:empty:before{content:"";border-bottom:2px solid;border-right:2px solid;width:.4rem;height:.4rem;position:absolute;top:.22rem;left:.18rem;transform:rotate(45deg)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-details[open] .web-search-sources__step-chevron,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__source-details[open] .web-search-sources__step-chevron{transform:rotate(180deg)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-body{gap:.4rem;padding:0 .65rem .65rem;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__item{min-width:0}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__item--followed .web-search-sources__link{border-color:var(--ws-accent-border)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link{border:1px solid var(--ws-border);border-radius:var(--radius-sm,10px);background:var(--ws-surface);color:var(--ws-text);transition:border-color var(--transition-fast,.15s ease), background var(--transition-fast,.15s ease), box-shadow var(--transition-fast,.15s ease), transform var(--transition-fast,.15s ease);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.55rem .65rem;text-decoration:none;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link:hover{border-color:var(--ws-accent-border);background:var(--ws-surface);box-shadow:var(--ws-shadow-card);color:var(--ws-accent-text);text-decoration:none;transform:translateY(-1px)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link:focus-visible{outline:2px solid var(--ws-accent);outline-offset:1px}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link .web-search-citation__icon{width:1.4rem;height:1.4rem;font-size:.72rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__content{gap:.14rem;min-width:0;display:grid}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__title{color:inherit;font-weight:var(--chat-font-ui-weight,500);text-overflow:ellipsis;white-space:nowrap;line-height:1.35;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__hostname{color:var(--ws-text-muted);font-size:var(--text-xs,.8125rem);text-overflow:ellipsis;white-space:nowrap;font-weight:500;line-height:1.3;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__depth{color:var(--ws-accent-text);font-size:var(--text-xs,.8125rem);text-overflow:ellipsis;white-space:nowrap;font-weight:500;line-height:1.3;overflow:hidden}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__depth:before{content:"↳ ";font-weight:600}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__external{color:var(--ws-text-muted);font-size:.95rem;font-weight:var(--chat-font-ui-weight,500);transition:color var(--transition-fast,.15s ease), transform var(--transition-fast,.15s ease);line-height:1}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link:hover .web-search-sources__external{color:var(--ws-accent-text);transform:translate(1px,-1px)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__index{border:1px solid var(--ws-accent-border);background:var(--ws-accent-soft);width:1.85rem;height:1.85rem;color:var(--ws-accent-text);font-size:var(--text-xs,.8125rem);font-weight:var(--chat-font-label-weight,500);border-radius:999px;flex:none;justify-content:center;align-items:center;line-height:1;display:inline-flex}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__source-details{border:1px solid var(--ws-border);border-radius:var(--radius-sm,10px);background:var(--ws-surface-sunken);min-width:0}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__source-details[open]{background:var(--ws-surface);box-shadow:var(--ws-shadow-card)}@media (max-width:600px){:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step{grid-template-columns:1.55rem minmax(0,1fr);column-gap:.55rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step:before{top:1.75rem;left:calc(.775rem - 1px)}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__step-marker{width:1.55rem;height:1.55rem;font-size:.75rem}:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__summary-detail{display:none}}@media (prefers-reduced-motion:reduce){:where(body.chat-page,.chat-page-shell) .bot-message .web-search-sources__link:hover,:where(body.chat-page,.chat-page-shell) .bot-message .web-search-citation:hover{transform:none}}
:where(body.chat-page,.chat-page-shell) .setup-attach-menu__list{z-index:100;-webkit-backdrop-filter:blur(16px)saturate(160%);transform-origin:100% 100%;background:#fffffff7;border:1px solid #00000012;border-radius:12px;flex-direction:column;min-width:184px;max-width:min(280px,100vw - 32px);display:none;position:absolute;bottom:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 2px 6px #0000000d,0 8px 24px #0000001a,0 0 0 .5px #0000000a}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__list.is-open{animation:.16s cubic-bezier(.16,1,.3,1) both setupAttachMenuOpen;display:flex}@keyframes setupAttachMenuOpen{0%{opacity:0;transform:scale(.88)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}@media (prefers-reduced-motion:reduce){:where(body.chat-page,.chat-page-shell) .setup-attach-menu__list.is-open{animation:none}}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item{color:#1c1c1e;text-align:left;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;align-items:center;gap:.45rem;width:100%;min-height:38px;padding:.5rem .85rem;font-size:.84rem;font-weight:500;transition:background .1s;display:flex}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:not(:first-child){border-top:1px solid #0000000f}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:hover:not(:disabled),:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:focus-visible{background:#0000000d}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:focus-visible{outline-offset:-2px;outline:2px solid #19c37db3}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:disabled{cursor:default;opacity:.5}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__icon{color:#0f766e;flex-shrink:0;font-size:.95em}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__list{background:#111827fa;border-color:#94a3b833;box-shadow:0 2px 6px #0000004d,0 8px 24px #02061775,0 0 0 .5px #94a3b81a}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__item{color:#e2e8f0}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:not(:first-child){border-top-color:#94a3b81f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:hover:not(:disabled),[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__item:focus-visible{background:#94a3b81f}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__icon{color:#5eead4}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__item.is-active{color:#0f766e;font-weight:600}:where(body.chat-page,.chat-page-shell) .setup-attach-menu__check{color:#0f766e;margin-left:auto;font-size:.95em}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip-row{flex-wrap:wrap;gap:.4rem;margin-bottom:.45rem;display:flex}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip{border-radius:var(--radius-full,999px);color:#0f766e;background:#14b8a61a;border:1px solid #0d948847;align-items:center;gap:.35rem;max-width:100%;padding:.28rem .5rem .28rem .6rem;font-size:.78rem;font-weight:600;line-height:1.3;display:inline-flex}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__icon{flex-shrink:0;font-size:.9em}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__remove{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__remove:hover,:where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__remove:focus-visible{background:#0d94882e}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__item.is-active,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-attach-menu__check{color:#5eead4}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-knowledge-chip{color:#5eead4;background:#2dd4bf24;border-color:#5eead452}[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__remove:hover,[data-theme=dark] :where(body.chat-page,.chat-page-shell) .setup-knowledge-chip__remove:focus-visible{background:#5eead438}
