/* FS_CHAT_THEME_2026Q4 : the CAD-fullscreen floating chat in the mobile material (owner 2026-10-04 approved the mockup).
   Generated by op/fschat/gen_fs.py from production desktop_chat.css + desktop_voice.css (their desktop rules, re-scoped to
   html:not(.tye-ts) body.cad-fullscreen.fs-chat-open - inside the card these are the same elements) + the card itself
   (src/fs_shell.css). Desktop only (html:not(.tye-ts)); the normal desktop chat and touch are untouched. Edit the sources and
   regenerate - not this file. */
/* ---- desktop_chat.css, re-scoped ---- */
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane > header {
  min-height: 56px; padding: 8px 10px !important; gap: 2px;
  background: var(--dc-hdr); border-bottom: 1px solid var(--dc-line);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle.fs-sb-active,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #search-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #stop-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #panel-picker-btn {
  width: 40px !important; height: 40px !important; min-width: 40px; padding: 0 !important; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border: 0 !important; border-radius: 20px !important; background: transparent !important; color: var(--dc-ink2) !important;
  box-shadow: none !important; animation: none; transition: background .16s ease, color .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle svg,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #search-btn svg,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle svg,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #stop-btn svg,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #panel-picker-btn svg { width: 20px !important; height: 20px !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle.fs-sb-active { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle svg,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle.fs-sb-active svg { stroke: currentColor !important; color: inherit !important; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sb-toggle:hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #search-btn:hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle:hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #stop-btn:not(.speaking):hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #panel-picker-btn:hover { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle > span { display: none !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle::before { content: none !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #tts-toggle.on { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #stop-btn.speaking { color: var(--dc-dot) !important; background: var(--dc-dotbg) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open .hctrl { gap: 2px; margin-left: auto; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open .hctrl-sep { width: 1px; height: 22px; margin: 0 6px; background: var(--dc-line); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#left-pane #sb-toggle, #search-btn, #tts-toggle, #stop-btn, #panel-picker-btn, #model-btn, #mode-btn):focus-visible {
  outline: 2px solid var(--dc-dot) !important; outline-offset: -2px;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn {
  height: 40px; padding: 0 10px 0 9px !important; gap: 8px; border: 0 !important; border-radius: 20px !important;
  background: transparent !important; box-shadow: none !important; display: inline-flex; align-items: center;
  transition: background .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn .brand-logo { width: 20px !important; height: 20px !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn .mname {
  font: 600 14px/1 var(--dc-font) !important; letter-spacing: -.005em !important; color: var(--dc-ink) !important;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn::after {
  content: ''; flex: none; width: 14px; height: 14px; background-color: var(--dc-ink3); transition: transform .16s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open .model-picker:has(#model-dropdown.open) #model-btn { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open .model-picker:has(#model-dropdown.open) #model-btn::after { transform: rotate(180deg); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-picker { gap: 2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn {
  height: 40px; padding: 0 12px 0 11px !important; gap: 7px !important; border: 0 !important; border-radius: 20px !important;
  background: transparent !important; color: var(--dc-ink) !important; transition: background .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn .mode-btn-label { font: 600 15px/1 var(--dc-font) !important; letter-spacing: -.01em; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn #mode-btn-icon { width: 17px !important; height: 17px !important; color: var(--dc-ink2) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn.realtime-active #mode-btn-icon { color: var(--dc-dot) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn .mode-chevron { width: 14px !important; height: 14px !important; color: var(--dc-ink3) !important; transition: transform .16s ease; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-picker:has(#mode-dropdown.open) #mode-btn { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-picker:has(#mode-dropdown.open) #mode-btn .mode-chevron { transform: rotate(180deg); color: var(--dc-ink2) !important; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu {
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; border-radius: 18px !important;
  box-shadow: var(--dc-shadow) !important; padding: 6px !important; box-sizing: border-box;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown { width: 340px !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown { width: 320px !important; min-width: 320px !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .drop-section-lbl,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown > div:first-child {
  font: 600 11px/1 var(--dc-font) !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--dc-ink3) !important; padding: 12px 12px 8px !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt {
  min-height: 56px !important; border-radius: 12px !important; background: transparent !important; color: var(--dc-ink) !important;
  border: 0 !important; box-shadow: none !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt { padding: 8px 12px !important; gap: 12px !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt.active,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt.active { background: var(--dc-press) !important; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt:not(:disabled):hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt:not(.locked):hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#model-dropdown .model-opt, #mode-dropdown .mode-opt):focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt-name,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt-name { font: 500 15px/1.3 var(--dc-font) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt-desc,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt-desc { font: 400 12.5px/1.35 var(--dc-font) !important; color: var(--dc-ink3) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt:disabled .model-opt-name { color: var(--dc-ink3) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown .model-opt:disabled .model-opt-desc { color: var(--dc-ink3) !important; opacity: .7; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#model-dropdown .model-opt-check, #mode-dropdown .mode-opt-check) { color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt-icon {
  width: 36px !important; height: 36px !important; border-radius: 10px !important; border: 0 !important; background: var(--dc-press) !important; color: var(--dc-ink2) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt.active .mode-opt-icon { background: var(--dc-sheet) !important; box-shadow: 0 0 0 1px var(--dc-line); color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .mode-opt.locked { opacity: .55; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .tier-lock { color: #9a4a06; background: rgba(180, 83, 9, .08); border-color: rgba(180, 83, 9, .28); }
html[data-theme="dark"]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown .tier-lock { color: #f0b265; background: rgba(240, 178, 101, .12); border-color: rgba(240, 178, 101, .35); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item { min-height: 44px; border-radius: 12px; color: var(--dc-ink); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item { color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-items { padding: 0; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item-name { font: 500 15px/1.3 var(--dc-font); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #panel-picker-btn.active { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item.active { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item.active .pp-item-ico,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item-check { color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #pp-menu .pp-item:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar { background: var(--bg); border-right: 1px solid var(--dc-line); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sb-hdr { padding: 12px 10px 4px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sb-actions { gap: 6px; align-items: center; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn {
  height: 40px; padding: 0 14px !important; justify-content: center; justify-content: safe center; gap: 8px !important; min-width: 0; border: 0 !important; border-radius: 20px !important;
  background: var(--dc-ink) !important; color: var(--dc-sheet) !important; font: 600 14px/1 var(--dc-font) !important; box-shadow: none !important;
  transition: transform .12s ease, opacity .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn svg { display: none !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn .sb-btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn::before {
  content: ''; flex: none; width: 18px; height: 18px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1'/%3E%3Cpath d='M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z'/%3E%3Cpath d='M16 5l3 3'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1'/%3E%3Cpath d='M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z'/%3E%3Cpath d='M16 5l3 3'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn:hover { opacity: .88; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn:active { transform: scale(.97); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-proj-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sess-mgr-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-chat-rail {
  width: 40px !important; height: 40px !important; flex: none; padding: 0; border: 0 !important; border-radius: 20px !important;
  background: transparent !important; color: var(--dc-ink2) !important; display: inline-flex; align-items: center; justify-content: center;
  transition: background .16s ease, color .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#new-proj-btn, #sess-mgr-btn, #sb-chat-rail) svg { width: 20px; height: 20px; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar :is(#new-proj-btn, #sess-mgr-btn, #sb-chat-rail):hover { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar #sb-chat-rail.open { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#new-chat-btn, #new-proj-btn, #sess-mgr-btn, #sb-chat-rail, #sb-acc-row):focus-visible { outline: 2px solid var(--dc-dot); outline-offset: 2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .side-group-label {
  padding: 14px 16px 6px; font: 600 13px/1.3 var(--dc-font); letter-spacing: 0; text-transform: none; color: var(--dc-ink3);
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar #session-list { padding: 0 8px 8px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item {
  position: relative; display: flex !important; align-items: center !important; gap: 11px;
  min-height: 56px !important; margin: 0 0 2px !important; padding: 7px 6px 7px 7px !important; box-sizing: border-box;
  border: 0 !important; border-radius: 14px !important; background: transparent !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item::before {
  content: ''; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--dc-press);
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item::after {
  content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none;
  background-color: var(--dc-ink2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item:has(.sess-cad-badge)::before { background: var(--dc-dotbg); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item:has(.sess-cad-badge)::after {
  background-color: var(--dc-dot);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E");
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item.active { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item.active::before { background: var(--dc-sheet); box-shadow: 0 0 0 1px var(--dc-line); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item:not(.active):hover { background: var(--dc-hover) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item.sess-shared-other { border-left: 0 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-info { flex: 1 1 auto; min-width: 0; padding: 0 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-title {
  font: 500 14.5px/20px var(--dc-font) !important; color: var(--dc-ink) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item.active .sess-title { font-weight: 600 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-meta { display: flex; align-items: center; gap: 6px; height: 16px; margin-top: 1px; min-width: 0; overflow: hidden; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-time { font: 400 12.5px/16px var(--dc-font) !important; color: var(--dc-ink3) !important; white-space: nowrap; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-cad-badge {
  flex: none; display: inline-flex; align-items: center; height: 16px; padding: 0 6px; border-radius: 8px; border: 0;
  background: var(--dc-dotbg) !important; color: var(--dc-dot) !important; font: 600 10px/1 var(--dc-font); letter-spacing: .02em;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-team-pill {
  flex: 0 1 auto; min-width: 0; max-width: 60%; height: 16px; padding: 0 6px; box-sizing: border-box;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block !important; line-height: 14px; vertical-align: middle;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-team-pill svg { vertical-align: -1px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-menu-btn {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: transparent !important; color: var(--dc-ink3) !important;
  align-items: center; justify-content: center;
}
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-menu-btn:hover { background: var(--dc-line) !important; color: var(--dc-ink) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-menu-btn.active { background: var(--dc-line) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item:not(.active):has(.sess-menu-btn.active) { background: var(--dc-hover) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-empty-hint { padding: 12px 16px; font: 500 14px/1.4 var(--dc-font); color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-hdr { min-height: 52px; border-radius: 14px; gap: 11px; padding: 7px 6px 7px 7px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-icon { width: 36px; height: 36px; border-radius: 11px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-name { font: 600 14.5px/20px var(--dc-font); color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-body { padding-left: 16px; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-hdr:hover { background: var(--dc-hover); }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar-footer { padding: 8px; border-top: 1px solid var(--dc-line); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-row {
  padding: 8px !important; gap: 11px; border: 0; border-radius: 16px !important; background: transparent; transition: background .16s ease;
}
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-row:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar-footer:has(.sb-acc-popup.open) #sb-acc-row { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-avatar { width: 36px; height: 36px; border-radius: 50% !important; font: 600 14px/1 var(--dc-font); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-name { font: 600 14px/18px var(--dc-font); color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-sub { font: 400 12.5px/16px var(--dc-font); color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-row .sb-acc-caret { color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup {
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; border-radius: 18px !important;
  box-shadow: var(--dc-shadow) !important; padding: 6px !important; min-width: 300px;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-head { gap: 12px; padding: 10px 10px 12px; align-items: center; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-avatar { width: 44px; height: 44px; border-radius: 50% !important; font: 600 17px/1 var(--dc-font); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-name { font: 600 16px/1.25 var(--dc-font); color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-email { font: 400 13px/1.3 var(--dc-font); color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup #sb-org-pill-btn { margin: 0 0 6px; border: 0; border-radius: 14px; background: var(--dc-press); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup #sb-org-pill-btn:hover { box-shadow: inset 0 0 0 999px var(--dc-hover); }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-usage-row { padding: 4px 12px 0; font: 400 12.5px/1.4 var(--dc-font); color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-usage-bar { margin: 6px 12px 8px; height: 4px; border-radius: 2px; background: var(--dc-press); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-usage-fill { background: var(--dc-ink) !important; border-radius: 2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup :is(.sb-pop-sep, .sb-pop-div) { height: 1px; margin: 6px 10px; background: var(--dc-line); border: 0; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item {
  min-height: 36px; padding: 0 12px !important; gap: 12px !important; border-radius: 12px !important; background: transparent;
  font: 500 15px/1.2 var(--dc-font) !important; color: var(--dc-ink) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item > svg { width: 20px !important; height: 20px !important; color: var(--dc-ink2); flex: none; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item.danger,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item[onclick*="Logout"],
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item[onclick*="logout"] { color: var(--dc-dot) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-pop-item:is(.danger, [onclick*="Logout"], [onclick*="logout"]) > svg { color: var(--dc-dot); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .sb-theme-parent-wrap[data-dc="1"] { display: none !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-theme-row { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 6px 0 12px; font: 500 15px/1.2 var(--dc-font); color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-theme-row > svg { width: 20px; height: 20px; color: var(--dc-ink2); flex: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-tseg { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--dc-press); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-tseg button {
  border: 0; background: transparent; color: var(--dc-ink2); font: 600 12.5px/1 var(--dc-font); padding: 7px 10px; border-radius: 9px; cursor: pointer;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-tseg button[aria-checked="true"] { background: var(--dc-ink); color: var(--dc-sheet); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sb-acc-popup .dc-tseg button:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: 1px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #chat .tye-tour-launch {
  height: 44px; padding: 0 8px 0 7px !important; gap: 10px !important; border-radius: 22px !important;
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; box-shadow: 0 1px 2px rgba(17, 20, 28, .05) !important;
  color: var(--dc-ink) !important; font: 500 14px/1 var(--dc-font) !important; display: inline-flex !important; align-items: center;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #chat .tye-tour-launch .ttl-icon { width: 30px !important; height: 30px !important; border-radius: 15px !important; background: var(--dc-dotbg) !important; color: var(--dc-dot) !important; display: inline-grid; place-items: center; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #chat .tye-tour-launch .ttl-meta {
  height: 24px; padding: 0 9px !important; border-radius: 12px !important; border: 0 !important; background: var(--dc-press) !important; color: var(--dc-ink2) !important;
  font: 600 10.5px/24px var(--dc-font) !important; letter-spacing: .08em !important; text-transform: uppercase;
}
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #chat .tye-tour-launch:hover { background: var(--dc-press) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice { max-width: 420px; margin-left: auto; margin-right: auto; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-prompt { margin: 0 0 12px; font: 500 13px/1.3 var(--dc-font); letter-spacing: 0; color: var(--dc-ink3); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-row { gap: 10px; justify-content: center; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn:hover {
  flex: 1 1 0; max-width: 176px; width: auto; height: 52px; min-height: 52px; padding: 0 16px; box-sizing: border-box;
  flex-direction: row; align-items: center; justify-content: center; gap: 9px;
  border-radius: 26px; border: 1px solid var(--dc-line); background: var(--dc-sheet); color: var(--dc-ink); box-shadow: var(--dc-shadow);
  transform: none; transition: transform .12s ease, background .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn:active { transform: scale(.97); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: 2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn svg { width: 21px; height: 21px; flex: none; color: var(--dc-dot); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn.mc-chat,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn.mc-chat:hover { background: var(--dc-ink); color: var(--dc-sheet); border-color: transparent; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-btn.mc-chat svg { color: currentColor; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-label { font: 600 15px/1 var(--dc-font); letter-spacing: 0; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-choice .mc-sub { display: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #chat .msg.user .bubble {
  background: var(--dc-press) !important; border: 0 !important; border-radius: 20px !important; padding: 10px 16px !important; color: var(--dc-ink) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card { width: 100%; max-width: 760px; box-sizing: border-box; margin-left: auto; margin-right: auto; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card:hover {
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; border-radius: 26px !important; box-shadow: var(--dc-shadow) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card:focus-within { border-color: var(--dc-focus) !important; background: var(--dc-sheet) !important; box-shadow: var(--dc-shadow) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card > #chat-lock-banner { border-radius: 25px 25px 0 0; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-row { padding: 6px !important; gap: 2px !important; align-items: flex-end !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-btns { gap: 2px !important; margin: 0 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-btn:hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn:hover {
  width: 44px !important; height: 44px !important; min-width: 44px !important; margin: 0 !important; flex: none; border: 0 !important;
  border-radius: 22px !important; background: transparent !important; color: var(--dc-ink2) !important; transform: none !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card.open #attach-btn { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-btn:hover,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn:hover { background: var(--dc-press) !important; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn:not(.listening):hover svg { fill: var(--dc-ink) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-btn svg { width: 20px !important; height: 20px !important; stroke-width: 2.2 !important; transition: transform .2s var(--dc-ease); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #input-card.open #attach-btn svg { transform: rotate(45deg); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn svg { width: 20px !important; height: 20px !important; fill: var(--dc-ink2) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn.listening { background: rgba(229, 50, 42, .12) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mic-btn.listening svg { fill: var(--dc-dot) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#attach-btn, #mic-btn, #send-btn):focus-visible { outline: 2px solid var(--dc-dot) !important; outline-offset: 1px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #txt {
  color: var(--dc-ink) !important; caret-color: var(--dc-dot); font-size: 16px !important; line-height: 21px !important;
  min-height: 44px !important; padding: 12px 6px 11px !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #txt::placeholder { color: var(--dc-ink3) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn:hover {
  width: 44px !important; height: 44px !important; min-width: 44px !important; margin: 0 !important;
  border: 0 !important; border-radius: 22px !important; background: var(--dc-ink) !important; color: var(--dc-sheet) !important; box-shadow: none !important; opacity: 1 !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn svg { width: 20px !important; height: 20px !important; stroke: var(--dc-sheet) !important; stroke-width: 2.4 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn:not(:disabled):active { transform: scale(.94); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn:disabled { background: var(--dc-press) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn:disabled svg { stroke: var(--dc-ink3) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn.is-stop,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn.is-stop:disabled { background: var(--dc-ink) !important; color: var(--dc-sheet) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #send-btn.is-stop:disabled svg { stroke: var(--dc-sheet) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip:not(.hidden) { gap: 10px; padding: 12px 12px 4px; border-bottom: 0; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc:hover { height: 48px; max-width: 220px; padding: 0 30px 0 6px; gap: 8px; border: 0; border-radius: 14px; background: var(--dc-press); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc .atc-thumb { width: 36px; height: 36px; border-radius: 10px; background: var(--dc-sheet); color: var(--dc-ink2); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc .atc-name { color: var(--dc-ink); font: 500 13px/1.3 var(--dc-font); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc.atc-img,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc.atc-img:hover { width: 56px; height: 56px; max-width: 56px; padding: 0; background: transparent; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc.atc-img .atc-thumb { width: 56px; height: 56px; border-radius: 14px; background: var(--dc-press); outline: 1px solid var(--dc-line); outline-offset: -1px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc-x,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-strip .atc-x:hover {
  position: absolute !important; top: -7px !important; right: -7px !important; left: auto !important; bottom: auto !important;
  width: 22px !important; height: 22px !important; box-sizing: border-box !important; margin: 0 !important; padding: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border: 2px solid var(--dc-sheet) !important; border-radius: 50% !important; background: var(--dc-ink) !important; color: var(--dc-sheet) !important;
  font: 600 14px/1 var(--dc-font) !important; box-shadow: none !important; transform: none !important; cursor: pointer; z-index: 1;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar {
  width: min(300px, 100%) !important; padding: 6px !important; gap: 2px !important; border-radius: 18px !important;
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; box-shadow: var(--dc-shadow) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-item,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-item:hover { min-height: 56px !important; padding: 8px 10px !important; gap: 12px; border-radius: 12px; background: transparent; color: var(--dc-ink); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-item:hover { background: var(--dc-press); }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-item:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-ico,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-item:hover .attach-menu-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--dc-press); color: var(--dc-ink2); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-ico svg { width: 20px; height: 20px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-title { font: 600 15px/1.25 var(--dc-font); color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #attach-toolbar .attach-menu-sub { font: 400 12.5px/1.3 var(--dc-font); color: var(--dc-ink3); }
@media (prefers-reduced-motion: reduce) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#model-btn, #mode-btn, #mode-btn .mode-chevron, #new-chat-btn, #mode-choice .mc-btn, #attach-btn svg, #sb-acc-row, #send-btn),
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn::after { transition: none !important; }
}
@media (forced-colors: active) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn::before,
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn::after { background-color: ButtonText !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item::after { background-color: CanvasText !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #new-chat-btn { border: 1px solid ButtonText !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) {
  z-index: 10002; box-sizing: border-box; min-width: 256px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px);
  padding: 6px !important; overflow: hidden auto; overscroll-behavior: contain; outline: none;
  background: var(--dc-sheet, #ffffff) !important; border: 1px solid var(--dc-line, rgba(17, 20, 28, .10)) !important; border-radius: 18px;
  box-shadow: var(--dc-shadow, 0 10px 30px rgba(17, 20, 28, .12), 0 2px 8px rgba(17, 20, 28, .06)) !important;
  font-family: var(--dc-font, Inter, system-ui, sans-serif);
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#gx-move-sub) { z-index: 10003; min-width: 180px; max-width: min(320px, calc(100vw - 16px)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub).open { animation: cmMenuIn .15s var(--dc-ease, cubic-bezier(.32, .72, 0, 1)) both; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; margin: 0; padding: 0 12px; box-sizing: border-box;
  border: 0; border-radius: 12px; background: transparent; color: var(--dc-ink, #101114); cursor: pointer;
  font: 500 15px/1.2 var(--dc-font, Inter, system-ui, sans-serif); letter-spacing: 0; text-align: left; white-space: nowrap;
  transition: background-color .12s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button > svg { width: 20px; height: 20px; flex: none; opacity: 1; color: var(--dc-ink2, #3b3f46); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button > svg.sess-dd-chevron { width: 16px; height: 16px; margin-left: auto; color: var(--dc-ink3, #636a76); }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button:hover { background: var(--dc-press, rgba(17, 20, 28, .07)); color: var(--dc-ink, #101114); }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button[aria-expanded="true"] { background: var(--dc-press, rgba(17, 20, 28, .07)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) :is(button, .sess-dd-hint):focus-visible { outline: 2px solid var(--dc-dot, #e5322a); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) :is(button, .sess-dd-hint):focus:not(:focus-visible) { outline: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) .sess-dd-sep { height: 1px; margin: 6px 10px; border: 0; background: var(--dc-line, rgba(17, 20, 28, .10)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) :is(.sess-dd-del, .sess-dd-del > svg) { color: var(--cm-del, #c8261e) !important; opacity: 1 !important; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) .sess-dd-del:hover { background: var(--cm-delbg, rgba(229, 50, 42, .10)) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) .sess-dd-hint {
  padding: 10px 12px; font: 400 12.5px/1.4 var(--dc-font, Inter, system-ui, sans-serif); font-style: normal; color: var(--dc-ink3, #636a76);
  text-align: left; white-space: normal; border-radius: 12px; cursor: default;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#gx-move-sub) .proj-sub-dot { width: 10px; height: 10px; margin: 0 5px; border: 0; border-radius: 3px; flex: none; box-sizing: border-box; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#gx-move-sub) .proj-sub-dot.is-general { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dc-line2, rgba(17, 20, 28, .24)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#gx-move-sub) .gx-mv-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#gx-move-sub) button > svg.gx-mv-check { width: 16px; height: 16px; margin-left: 4px; color: var(--dc-dot, #e5322a); }
@media (pointer: coarse) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub).open { animation: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(.sess-dropdown, #gx-move-sub) button { transition: none; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-menu-btn {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: transparent !important; color: var(--dc-ink3, #636a76) !important;
  align-items: center; justify-content: center; flex: none;
}
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-menu-btn:hover { background: var(--dc-line, rgba(17, 20, 28, .10)) !important; color: var(--dc-ink, #101114) !important; }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-menu-btn.active { background: var(--dc-line, rgba(17, 20, 28, .10)) !important; color: var(--dc-ink, #101114) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .proj-hdr:has(.proj-menu-btn.active) { background: var(--dc-hover, rgba(17, 20, 28, .05)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar :is(.sess-menu-btn, .proj-menu-btn) > svg { width: 18px; height: 18px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar :is(.sess-item, .proj-hdr, .sess-menu-btn, .proj-menu-btn):focus-visible { outline: 2px solid var(--dc-dot, #e5322a); outline-offset: -2px; }
@media (hover: hover) {
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar :is(.sess-menu-btn, .proj-menu-btn) { display: inline-flex !important; width: 0; min-width: 0; opacity: 0; overflow: hidden; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar :is(.sess-item:hover .sess-menu-btn, .sess-item:focus-within .sess-menu-btn, .sess-menu-btn.active, .proj-hdr:hover .proj-menu-btn, .proj-hdr:focus-within .proj-menu-btn, .proj-menu-btn.active) { width: 32px; opacity: 1; }
}
/* ---- desktop_voice.css, re-scoped ---- */
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap ~ :is(#tts-toggle, #stop-btn, .hctrl-sep) { display: none !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap { display: inline-flex; position: relative; flex: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn {
  height: 40px; padding: 0 8px 0 10px; gap: 3px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 20px; background: transparent; color: var(--dc-ink2); cursor: pointer; font: inherit;
  transition: background .16s ease, color .16s ease;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn > svg.vb-ic { width: 20px; height: 20px; flex: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn > svg.vb-chev { width: 12px; height: 12px; flex: none; color: var(--dc-ink3); transition: transform .16s ease; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn :is(.vb-on, .vb-w) { display: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn:is(.on, .speaking) .vb-off { display: none; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn:is(.on, .speaking) .vb-on { display: inline; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn.on { color: var(--dc-ink); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn.speaking { color: var(--dc-dot); background: var(--dc-dotbg); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn.speaking .vb-w { display: inline; animation: vb-pulse 1.2s ease-in-out infinite; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn.speaking > svg.vb-chev { color: currentColor; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap.open #vb-btn { background: var(--dc-press); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap.open #vb-btn.speaking { background: var(--dc-dotbg); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap.open #vb-btn > svg.vb-chev { transform: rotate(180deg); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 600; width: 320px; box-sizing: border-box;
  background: var(--dc-sheet); border: 1px solid var(--dc-line); border-radius: 18px; box-shadow: var(--dc-shadow); padding: 6px;
  font-family: var(--dc-font); color: var(--dc-ink); text-align: left;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-wrap.open #vb-menu { display: block; animation: dropIn .14s ease; }
/* ---- the floating card ---- */
/* the floating card. cad_fullscreen.js #fs-chat-css (appended at runtime, later in the cascade) draws it with !important, and its
   light-theme rules carry html[data-theme="light"]: the card, header and drawer rules below carry html[data-theme] as well, so they
   win on specificity in both themes (data-theme is always set, also by voice_ui.html's error fallback). */
html[data-theme]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane {
  background: var(--dc-sheet) !important; border: 1px solid var(--dc-line) !important; border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(17, 20, 28, .18), 0 6px 16px rgba(17, 20, 28, .08) !important;
}
html[data-theme="dark"]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane {
  box-shadow: 0 24px 64px rgba(0, 0, 0, .62), 0 6px 18px rgba(0, 0, 0, .45) !important;
}
/* the drag bar: same height as before (52px), the sheet's white / grey, Inter title, round close */
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-dragbar {
  flex: 0 0 52px; height: 52px; gap: 10px; padding: 0 8px 0 10px; box-sizing: border-box;
  background: var(--dc-sheet) !important; border-bottom: 1px solid var(--dc-line) !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-grip { color: var(--dc-ink3); font-size: 16px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-ico {
  width: 32px; height: 32px; border-radius: 11px; background: var(--dc-dot); color: #fff; font-size: 17px;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-title { font: 600 15px/1.2 var(--dc-font) !important; letter-spacing: -.01em; color: var(--dc-ink) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-sub { font: 400 12px/1.3 var(--dc-font) !important; color: var(--dc-ink3) !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-close {
  width: 36px; height: 36px; border-radius: 18px; color: var(--dc-ink2); font-size: 18px; transition: background .16s ease, color .16s ease;
}
@media (hover: hover) {
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-close:hover { background: var(--dc-press); color: var(--dc-ink); }
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-close:focus-visible { outline: 2px solid var(--dc-dot); outline-offset: -2px; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-resize::after { border-color: var(--dc-line2) !important; opacity: 1 !important; }
@media (hover: hover) {
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane .fs-chat-resize:hover::after { border-color: var(--dc-ink3) !important; }
}
/* the chat header inside the card: the desktop header's material, opaque, wraps as before on a narrow card */
html[data-theme]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane > header {
  background: var(--dc-sheet) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
  min-height: 56px !important; padding: 8px 8px !important; row-gap: 4px !important;
}
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane > header > .model-picker { max-width: none; min-width: 0; flex: 0 1 auto; }
/* the sessions drawer (FS_CHAT_SIDEBAR): the sheet, a hairline and the soft shadow */
html[data-theme]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane #sidebar:not(.collapsed) {
  background: var(--dc-sheet) !important; border-right: 1px solid var(--dc-line) !important; box-shadow: var(--dc-shadow) !important;
  width: 280px !important;
}
/* the "Open chat" pill shown while the card is closed keeps its brand red; rounder shadow in the material */
body.cad-fullscreen:not(.fs-chat-open) #fs-chat-btn { font-family: var(--dc-font); font-weight: 600; }
/* a narrow card (the default 430px) keeps the header on one row, as the old one did: the model name folds to the logo + chevron
   (the name stays in the button's text for screen readers and in the open menu), the round buttons get 4px tighter */
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #left-pane { container: fschat / inline-size; }
@container fschat (max-width: 560px) {
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn .mname { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-btn { padding: 0 8px !important; gap: 4px !important; }
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open :is(#left-pane #sb-toggle.fs-sb-active, #left-pane #sb-toggle, #search-btn, #panel-picker-btn) { width: 36px !important; min-width: 36px !important; height: 36px !important; }   /* (.fs-sb-active listed: the drawer-open 40px rule must not grow it back) */
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-btn { padding: 0 6px 0 8px; }
  html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-btn { padding-left: 10px !important; padding-right: 8px !important; }
}
/* menus never wider than the card (its overflow:hidden would cut them; the card can be resized down to 340px) - 100cqi = the card */
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #model-dropdown { width: min(340px, calc(100cqi - 56px)) !important; min-width: 0 !important; }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #vb-menu { width: min(320px, calc(100cqi - 56px)); }
html:not(.tye-ts) body.cad-fullscreen.fs-chat-open #mode-dropdown { width: min(320px, calc(100cqi - 16px)) !important; min-width: 0 !important; }
/* dark card: the red 10px CAD badge in the drawer reaches 4.5:1 on the #1c1d21 sheet */
html[data-theme="dark"]:not(.tye-ts) body.cad-fullscreen.fs-chat-open #sidebar .sess-item .sess-cad-badge { color: #ff8a80 !important; }
