/* Learny AI light theme. GENERATED by cloudflare/scripts/build-light-theme.mjs
   from styles.css, link-cards.css, lab-ui.css. Do not edit by hand: change the dark styles
   and rerun the script. */

@keyframes toolAssistedThoughtCharacterShine--light {
  0%, 39%, 61%, 100% {
    color: #242429;
    text-shadow: none;
  }
  46%, 54% {
    color: #006fd0;
    text-shadow: 0 0 5px rgba(73, 170, 255, 0.95),
      0 0 11px rgba(41, 156, 255, 0.84),
      0 0 19px rgba(41, 156, 255, 0.58);
  }
  50% {
    color: #000000;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.294),
      0 0 9px rgba(197, 228, 255, 0.94),
      0 0 16px rgba(41, 156, 255, 0.72);
  }
}

/* ---------------------------------------------------------------- styles.css */

:root[data-theme="light"] .model-picker-trigger:not(.light-theme-skip) {
  border: 0;
  color: rgba(5, 7, 13, 0.888);
  background: transparent;
}
:root[data-theme="light"] .model-picker-trigger:hover:not(.light-theme-skip),
:root[data-theme="light"] .model-picker-trigger:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .model-picker-trigger[aria-expanded="true"]:not(.light-theme-skip) {
  color: #000000;
  background: rgba(0, 0, 0, 0.09);
  outline: none;
}
:root[data-theme="light"] .model-picker-chevron:not(.light-theme-skip) {
  color: #0067ec;
}
:root[data-theme="light"] .model-picker-popover:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(211, 211, 213, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.279), inset 0 1px rgba(255,255,255,.06);
  animation: modelPopoverIn 210ms cubic-bezier(.16,1,.3,1) both;
}
:root[data-theme="light"] .model-slider-name:not(.light-theme-skip) {
  border: 0;
  color: #0067ec;
  background: transparent;
}
:root[data-theme="light"] .model-slider-name:hover:not(.light-theme-skip) {
  color: #0067e9;
}
:root[data-theme="light"] .model-slider-track:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.095);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}
:root[data-theme="light"] .model-slider-thumb:not(.light-theme-skip) {
  background: #000000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.158);
}
:root[data-theme="light"] .model-list-heading:not(.light-theme-skip) {
  color: rgba(21, 23, 31, 0.706);
}
:root[data-theme="light"] .model-option:not(.light-theme-skip) {
  border: 0;
  color: #000000;
  background: transparent;
}
:root[data-theme="light"] .model-option:hover:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .microphone-button:not(.light-theme-skip) {
  border: 0;
  color: rgba(5, 6, 10, 0.93);
  background: transparent;
}
:root[data-theme="light"] .microphone-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .microphone-button:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.1);
  outline: none;
}
:root[data-theme="light"] .microphone-button > img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .microphone-button.is-listening:not(.light-theme-skip) {
  color: #0064f7;
  background: rgba(51,129,255,.16);
  box-shadow: 0 0 0 4px rgba(51,129,255,.08), 0 0 20px rgba(51,129,255,.28);
  animation: microphonePulse 1.7s ease-in-out infinite;
}
:root[data-theme="light"] .microphone-button.is-processing:not(.light-theme-skip) {
  color: #0461ff;
}
:root[data-theme="light"] .microphone-access-backdrop:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.396);
}
:root[data-theme="light"] .microphone-access-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(122,159,231,.32);
  color: #050710;
  background: linear-gradient(145deg, rgba(203, 210, 228, 0.98), rgba(230, 233, 242, 0.99) 58%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.324), 0 0 54px rgba(51,129,255,.12), inset 0 1px rgba(255,255,255,.08);
}
:root[data-theme="light"] .microphone-access-dialog:not(.light-theme-skip)::before {
  background: radial-gradient(circle at 10% 0%, rgba(77,137,255,.16), transparent 34%);
}
:root[data-theme="light"] .microphone-access-icon:not(.light-theme-skip) {
  border: 1px solid rgba(113,162,255,.36);
  background: rgba(66,119,230,.14);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 28px rgba(31,82,184,.18);
}
:root[data-theme="light"] .microphone-access-icon > img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .microphone-access-eyebrow:not(.light-theme-skip) {
  color: #0562ff;
}
:root[data-theme="light"] .microphone-access-copy h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .microphone-access-copy p:not(.light-theme-skip) {
  color: rgba(11, 15, 26, 0.79);
}
:root[data-theme="light"] .microphone-access-copy p + p:not(.light-theme-skip) {
  color: rgba(16, 27, 51, 0.692);
}
:root[data-theme="light"] .microphone-access-actions button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #060811;
}
:root[data-theme="light"] .microphone-access-cancel:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .microphone-access-settings:not(.light-theme-skip) {
  border-color: rgba(90,148,255,.7) !important;
  background: #337ff0;
  box-shadow: 0 7px 24px rgba(28,105,242,.26);
}
:root[data-theme="light"] .microphone-access-actions button:hover:not(.light-theme-skip),
:root[data-theme="light"] .microphone-access-actions button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.27);
  outline: none;
}
:root[data-theme="light"] .microphone-access-cancel:hover:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .microphone-access-settings:hover:not(.light-theme-skip) {
  background: #428bfa;
  box-shadow: 0 9px 29px rgba(28,105,242,.38);
}
:root[data-theme="light"] .settings-nav-icon .product-ui-icon:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"]:not(.light-theme-skip) {
  color-scheme: light;
  --bg: #ffffff;
  --sidebar: rgba(255, 255, 255, 0.555);
  --sidebar-border: rgba(0, 0, 0, 0.12);
  --hover: rgba(0, 0, 0, 0.1);
  --active: rgba(0, 0, 0, 0.16);
  --composer: #e0e0e0;
  --composer-border: #d2d2d2;
  --text: #0e0e0e;
  --muted: #3c3c3c;
  --subtle: #646464;
  --line: #efefef;
  --user-bubble: #e9e9e9;
  --learny-bubble: rgba(233, 233, 235, 0.86);
  --error: #ff6b6b;
  --ready: #252525;
  --accent: #5865ff;
  --accent-2: #6e75ff;
  --accent-3: #3d8bff;
}
:root[data-theme="light"] body:not(.light-theme-skip) {
  color: var(--text);
  background: var(--bg);
}
:root[data-theme="light"] body.contact-page:not(.light-theme-skip) {
  background: #ffffff;
}
:root[data-theme="light"] button:not(.light-theme-skip) {
  border: 0;
  color: inherit;
}
:root[data-theme="light"] button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] input:focus-visible:not(.light-theme-skip) {
  outline: 2px solid #3c3c3c;
}
:root[data-theme="light"] .sr-only:not(.light-theme-skip) {
  border: 0;
}
:root[data-theme="light"] .app-shell:not(.light-theme-skip) {
  background: var(--bg);
}
:root[data-theme="light"] .star-field:not(.light-theme-skip) {
  background: #ffffff;
}
:root[data-theme="light"] .star-field:not(.light-theme-skip)::after {
  background: radial-gradient(circle at 50% 45%, transparent 0 42%, rgba(255, 255, 255, 0.42) 78%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.44));
}
:root[data-theme="light"] .star:not(.light-theme-skip) {
  background: rgba(255, 255, 255, var(--opacity));
  box-shadow: 0 0 var(--glow) rgba(210, 224, 255, var(--glow-opacity));
  animation: starDrift var(--duration) linear var(--delay) infinite alternate;
}
:root[data-theme="light"] .contact-page-shell:not(.light-theme-skip) {
  background: #ffffff;
}
:root[data-theme="light"] .contact-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: radial-gradient(circle at 12% 0, rgba(72, 120, 255, 0.16), transparent 32%),
    rgba(230, 231, 237, 0.92);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 32px 100px rgba(0, 0, 0, 0.315);
}
:root[data-theme="light"] .contact-card-header a:not(.light-theme-skip) {
  color: rgba(0, 5, 26, 0.804);
  text-decoration: none;
}
:root[data-theme="light"] .contact-card-header a:hover:not(.light-theme-skip),
:root[data-theme="light"] .contact-card-header a:focus-visible:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .contact-card-header h1:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .contact-card-header p:not(.light-theme-skip) {
  color: rgba(7, 10, 20, 0.804);
}
:root[data-theme="light"] .contact-form label:not(.light-theme-skip) {
  color: rgba(0, 3, 15, 0.874);
}
:root[data-theme="light"] .contact-form input:not(.light-theme-skip),
:root[data-theme="light"] .contact-form textarea:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: 0;
  color: #000000;
  background: rgba(255, 255, 255, 0.24);
}
:root[data-theme="light"] .contact-form input[readonly]:not(.light-theme-skip) {
  color: rgba(0, 2, 10, 0.818);
}
:root[data-theme="light"] .contact-form input:focus:not(.light-theme-skip),
:root[data-theme="light"] .contact-form textarea:focus:not(.light-theme-skip) {
  border-color: rgba(108, 159, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(108, 159, 255, 0.16);
}
:root[data-theme="light"] .contact-upload-control:not(.light-theme-skip) {
  border: 1px dashed rgba(0, 0, 0, 0.22);
  color: rgba(7, 10, 20, 0.804);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .contact-upload-control strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .contact-file-pill:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.055);
}
:root[data-theme="light"] .contact-file-pill span:not(.light-theme-skip) {
  color: rgba(0, 2, 10, 0.902);
}
:root[data-theme="light"] .contact-file-pill button:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .contact-counter:not(.light-theme-skip) {
  color: rgba(7, 13, 33, 0.706);
}
:root[data-theme="light"] .contact-form-message:not(.light-theme-skip) {
  color: rgba(0, 8, 29, 0.804);
}
:root[data-theme="light"] .contact-form-message.error:not(.light-theme-skip) {
  color: #e00000;
}
:root[data-theme="light"] .contact-hold-submit:not(.light-theme-skip) {
  color: #fff;
  background: #2378ff;
}
:root[data-theme="light"] .contact-hold-submit:not(.light-theme-skip)::before {
  background: rgba(0, 0, 0, 0.22);
}
:root[data-theme="light"] .contact-required-card:not(.light-theme-skip) {
  border: 1px solid rgba(255, 196, 87, 0.18);
  background: rgba(255, 196, 87, 0.08);
  color: rgba(45, 29, 0, 0.916);
}
:root[data-theme="light"] .sidebar:not(.light-theme-skip) {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.11),
    inset 0 0 0 1px rgba(0, 0, 0, 0.035),
    0 22px 64px rgba(0, 0, 0, 0.207);
}
:root[data-theme="light"] .sidebar:not(.light-theme-skip)::after {
  background: rgba(0, 0, 0, 0.98);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.285))
    drop-shadow(0 0 15px rgba(0, 0, 0, 0.216))
    drop-shadow(0 0 32px rgba(0, 0, 0, 0.12));
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
}
:root[data-theme="light"] .app-shell.sidebar-transition-opening .sidebar:not(.light-theme-skip) {
  animation: sidebarPanelOpen 1040ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
:root[data-theme="light"] .app-shell.sidebar-transition-closing .sidebar:not(.light-theme-skip) {
  animation: sidebarPanelClose 620ms cubic-bezier(0.72, 0, 0.84, 0) both;
}
:root[data-theme="light"] .app-shell.sidebar-transition-opening .sidebar:not(.light-theme-skip)::after {
  animation: sidebarBorderOpenIlluminate 1040ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
:root[data-theme="light"] .app-shell.sidebar-transition-closing .sidebar:not(.light-theme-skip)::after {
  animation: sidebarBorderCloseIlluminate 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
:root[data-theme="light"] .brand-logo:not(.light-theme-skip) {
  box-shadow: none;
}
:root[data-theme="light"] .brand-name:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.958);
}
:root[data-theme="light"] .account-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
  background: radial-gradient(circle at 18% 12%, rgba(0, 0, 0, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 255, 0.18), rgba(0, 0, 0, 0.045) 52%, rgba(61, 139, 255, 0.13));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 14px 34px rgba(0, 0, 0, 0.09);
  text-decoration: none;
}
:root[data-theme="light"] .account-button:not(.light-theme-skip)::before {
  background: linear-gradient(110deg, transparent 16%, rgba(0, 0, 0, 0.16), transparent 48%);
}
:root[data-theme="light"] .account-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.2);
  background: radial-gradient(circle at 18% 12%, rgba(0, 0, 0, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 255, 0.28), rgba(0, 0, 0, 0.06) 52%, rgba(61, 139, 255, 0.2));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.126);
}
:root[data-theme="light"] .account-button.signed-in:not(.light-theme-skip) {
  border-color: rgba(126, 220, 137, 0.2);
  background: radial-gradient(circle at 18% 12%, rgba(126, 220, 137, 0.17), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 255, 0.2), rgba(0, 0, 0, 0.045) 52%, rgba(126, 220, 137, 0.12));
}
:root[data-theme="light"] .admin-nav-button:not(.light-theme-skip) {
  border: 1px solid rgba(118, 162, 255, 0.16);
  background: radial-gradient(circle at 18% 18%, rgba(116, 171, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(29, 49, 92, 0.64), rgba(0, 0, 0, 0.04));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 14px 30px rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .admin-nav-button:not(.light-theme-skip)::before {
  background: linear-gradient(105deg, transparent 24%, rgba(134, 180, 255, 0.22), transparent 58%);
}
:root[data-theme="light"] .admin-nav-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .admin-nav-button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .admin-nav-button.active:not(.light-theme-skip) {
  border-color: rgba(142, 188, 255, 0.34);
  background: radial-gradient(circle at 18% 18%, rgba(116, 171, 255, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(34, 59, 111, 0.82), rgba(0, 0, 0, 0.06));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14),
    0 18px 38px rgba(0, 0, 0, 0.126);
}
:root[data-theme="light"] .admin-nav-button strong:not(.light-theme-skip) {
  color: rgba(0, 3, 8, 0.972);
}
:root[data-theme="light"] .account-orb:not(.light-theme-skip) {
  background: #000922;
  box-shadow: 0 10px 24px rgba(68, 90, 255, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.32);
}
:root[data-theme="light"] .account-copy small:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .account-back-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 2, 7, 0.958);
  background: rgba(231, 232, 238, 0.88);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.153);
}
:root[data-theme="light"] .account-back-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-back-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.24);
  background: rgba(216, 218, 227, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14),
    0 22px 50px rgba(0, 0, 0, 0.189);
}
:root[data-theme="light"] .account-modal-panel:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: radial-gradient(circle at 18% 0, rgba(120, 150, 255, 0.16), transparent 34%),
    radial-gradient(circle at 100% 28%, rgba(0, 0, 0, 0.08), transparent 38%),
    rgba(231, 232, 238, 0.88);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 28px 86px rgba(0, 0, 0, 0.207);
  animation: accountViewIn 260ms ease both;
}
:root[data-theme="light"] .account-modal-panel:not(.light-theme-skip)::before {
  background: radial-gradient(circle at 18% 18%, rgba(126, 170, 255, 0.12), transparent 24%),
    linear-gradient(115deg, transparent 18%, rgba(0, 0, 0, 0.09), transparent 42%);
  animation: accountModalSheen 9s ease-in-out infinite alternate;
}
:root[data-theme="light"] .rate-limit-backdrop:not(.light-theme-skip) {
  background: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.055), transparent 30%),
    rgba(0, 0, 0, 0.468);
  animation: modalBackdropIn 220ms ease both;
}
:root[data-theme="light"] .rate-limit-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(228, 228, 233, 0.96), rgba(245, 245, 248, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 30px 110px rgba(0, 0, 0, 0.306);
  animation: modalPanelIn 340ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .rate-limit-dialog:not(.light-theme-skip)::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.16), transparent 32%, rgba(0, 0, 0, 0.055));
  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}
:root[data-theme="light"] .rate-limit-close:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.075);
}
:root[data-theme="light"] .rate-limit-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .rate-limit-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.14);
}
:root[data-theme="light"] .rate-limit-warning-icon:not(.light-theme-skip) {
  background: #464954;
  mask: url("../icon_library/warning.png") center / contain no-repeat;
  -webkit-mask: url("../icon_library/warning.png") center / contain no-repeat;
}
:root[data-theme="light"] .guest-access-backdrop:not(.light-theme-skip) {
  border: 0;
  background: radial-gradient(circle at 50% 42%, rgba(82, 111, 255, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.456);
  animation: modalBackdropIn 220ms ease both;
}
:root[data-theme="light"] .guest-access-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.13);
  background: radial-gradient(circle at 14% 0, rgba(101, 128, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(219, 220, 228, 0.98), rgba(238, 239, 244, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 34px 110px rgba(0, 0, 0, 0.306);
  color: #000000;
  animation: modalPanelIn 340ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .guest-access-dialog:not(.light-theme-skip)::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent 30%, rgba(102, 138, 255, 0.16));
  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}
:root[data-theme="light"] .guest-access-close:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .guest-access-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.16);
}
:root[data-theme="light"] .guest-access-orb:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 18px 48px rgba(54, 92, 255, 0.18);
}
:root[data-theme="light"] .guest-access-copy h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .guest-access-copy p:not(.light-theme-skip) {
  color: rgba(7, 9, 20, 0.846);
}
:root[data-theme="light"] .guest-access-primary:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.16);
  background: linear-gradient(135deg, rgba(88, 101, 255, 0.98), rgba(60, 144, 255, 0.98)),
    var(--accent);
  color: #fff;
  box-shadow: 0 18px 48px rgba(59, 103, 255, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.3);
}
:root[data-theme="light"] .guest-access-secondary:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.075);
  color: rgba(0, 2, 11, 0.93);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .guest-access-primary:hover:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-primary:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-secondary:hover:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-secondary:focus-visible:not(.light-theme-skip) {
  filter: brightness(1.06);
}
:root[data-theme="light"] .guest-access-primary:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-secondary:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .guest-access-close:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(126, 156, 255, 0.9);
}
:root[data-theme="light"] .attachment-limit-backdrop:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.468);
  animation: modalBackdropIn 220ms ease both;
}
:root[data-theme="light"] .attachment-limit-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: radial-gradient(circle at 18% 0, rgba(112, 142, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(216, 217, 225, 0.98), rgba(238, 239, 244, 0.97));
  color: #000000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 34px 110px rgba(0, 0, 0, 0.306);
  animation: modalPanelIn 340ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .attachment-limit-dialog:not(.light-theme-skip)::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.22), transparent 30%, rgba(102, 138, 255, 0.16));
  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}
:root[data-theme="light"] .attachment-limit-kicker:not(.light-theme-skip) {
  color: rgba(22, 65, 255, 0.86);
}
:root[data-theme="light"] .attachment-limit-copy h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .attachment-limit-copy p:not(.attachment-limit-kicker):not(.light-theme-skip) {
  color: rgba(7, 9, 20, 0.846);
}
:root[data-theme="light"] .attachment-limit-ok:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: linear-gradient(135deg, rgba(88, 101, 255, 0.98), rgba(60, 144, 255, 0.98)),
    var(--accent);
  color: #fff;
  box-shadow: 0 18px 48px rgba(59, 103, 255, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.3);
}
:root[data-theme="light"] .attachment-limit-ok:hover:not(.light-theme-skip),
:root[data-theme="light"] .attachment-limit-ok:focus-visible:not(.light-theme-skip) {
  filter: brightness(1.06);
  outline: 2px solid rgba(126, 156, 255, 0.9);
}
:root[data-theme="light"] .admin-reply-backdrop:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-backdrop:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-backdrop:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-backdrop:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.468);
  animation: modalBackdropIn 220ms ease both;
}
:root[data-theme="light"] .admin-reply-dialog:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-dialog:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-dialog:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.13);
  color: #000000;
  background: radial-gradient(circle at 14% 0, rgba(71, 126, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(215, 216, 224, 0.98), rgba(237, 238, 243, 0.97));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 34px 110px rgba(0, 0, 0, 0.306);
  animation: modalPanelIn 320ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .unsafe-warning-dialog:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fcfcfd;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 34px 120px rgba(0, 0, 0, 0.351);
}
:root[data-theme="light"] .admin-reply-close:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-close:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-close:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .admin-reply-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .admin-reply-close:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-close:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.16);
}
:root[data-theme="light"] .admin-reply-kicker:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-kicker:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-kicker:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-kicker:not(.light-theme-skip) {
  color: rgba(0, 64, 242, 0.82);
}
:root[data-theme="light"] .admin-reply-dialog h2:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-dialog h2:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-dialog h2:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-dialog h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] #adminReplyMeta:not(.light-theme-skip),
:root[data-theme="light"] #unsafeWarningText:not(.light-theme-skip),
:root[data-theme="light"] .mobile-admin-message:not(.light-theme-skip),
:root[data-theme="light"] #contactReplyText:not(.light-theme-skip) {
  color: rgba(7, 9, 20, 0.86);
}
:root[data-theme="light"] #adminReplyInput:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: 0;
  color: #000000;
  background: rgba(255, 255, 255, 0.28);
}
:root[data-theme="light"] #adminReplyInput:focus:not(.light-theme-skip) {
  border-color: rgba(116, 164, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(116, 164, 255, 0.15);
}
:root[data-theme="light"] .admin-reply-secondary:not(.light-theme-skip) {
  color: rgba(0, 2, 11, 0.916);
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .admin-reply-primary:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-ok:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-ok:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-ok:not(.light-theme-skip) {
  color: #fff;
  background: #2378ff;
}
:root[data-theme="light"] .admin-reply-secondary:hover:not(.light-theme-skip),
:root[data-theme="light"] .admin-reply-primary:hover:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-user-ok:hover:not(.light-theme-skip),
:root[data-theme="light"] .unsafe-warning-ok:hover:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-ok:hover:not(.light-theme-skip) {
  filter: brightness(1.06);
}
:root[data-theme="light"] .unsafe-user-header img:not(.light-theme-skip) {
  background: #000c32;
}
:root[data-theme="light"] .unsafe-user-header span:not(.light-theme-skip) {
  color: rgba(0, 5, 24, 0.776);
}
:root[data-theme="light"] .unsafe-user-details > div:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .unsafe-user-details dt:not(.light-theme-skip) {
  color: rgba(0, 9, 40, 0.706);
}
:root[data-theme="light"] .unsafe-user-details dd:not(.light-theme-skip) {
  color: rgba(0, 2, 7, 0.958);
}
:root[data-theme="light"] .contact-reply-admin img:not(.light-theme-skip) {
  background: #000c32;
}
:root[data-theme="light"] .contact-reply-admin span:not(.light-theme-skip),
:root[data-theme="light"] .contact-reply-admin small:not(.light-theme-skip) {
  color: rgba(7, 13, 33, 0.734);
}
:root[data-theme="light"] .contact-reply-admin strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .contact-reply-original:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .contact-reply-original button:not(.light-theme-skip) {
  color: rgba(0, 3, 13, 0.93);
  background: transparent;
}
:root[data-theme="light"] .contact-reply-original p:not(.light-theme-skip) {
  color: rgba(0, 4, 23, 0.832);
}
:root[data-theme="light"] .attachment-auth-backdrop:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.468);
  animation: modalBackdropIn 220ms ease both;
}
:root[data-theme="light"] .attachment-auth-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.13);
  background: #e6e6e8;
  color: #000000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 28px 90px rgba(0, 0, 0, 0.261);
  animation: modalPanelIn 340ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .attachment-auth-dialog:not(.light-theme-skip)::before {
  background: radial-gradient(circle at 22% 14%, rgba(0, 0, 0, 0.11), transparent 26%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.06), transparent 52%);
}
:root[data-theme="light"] .attachment-auth-close:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .attachment-auth-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .attachment-auth-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.2);
}
:root[data-theme="light"] .attachment-auth-close img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .attachment-auth-copy h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .attachment-auth-copy p:not(.light-theme-skip) {
  color: rgba(7, 7, 10, 0.874);
}
:root[data-theme="light"] .attachment-auth-form label span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.874);
}
:root[data-theme="light"] .attachment-auth-form input:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: 0;
  color: #000000;
  background: rgba(245, 245, 247, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
:root[data-theme="light"] .attachment-auth-form input:focus:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .password-toggle-button:not(.light-theme-skip) {
  border: 0;
  background: transparent;
}
:root[data-theme="light"] .password-toggle-button:hover:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .password-toggle-button:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(0, 0, 0, 0.72);
}
:root[data-theme="light"] .password-toggle-button img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .attachment-auth-message:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.79);
}
:root[data-theme="light"] .attachment-auth-message.error:not(.light-theme-skip) {
  color: #4e0000;
}
:root[data-theme="light"] .attachment-auth-ok:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.16);
  color: #000000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}
:root[data-theme="light"] .attachment-auth-ok:hover:not(.light-theme-skip),
:root[data-theme="light"] .attachment-auth-ok:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.22);
}
:root[data-theme="light"] .captcha-slot:not(.light-theme-skip) {
  border: 0;
  background: #f0f0f0;
}
:root[data-theme="light"] .captcha-slot[data-captcha-state="loading"]:not(.light-theme-skip),
:root[data-theme="light"] .captcha-slot[data-captcha-state="error"]:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.095);
  background: rgba(255, 255, 255, 0.18);
}
:root[data-theme="light"] .captcha-widget-clip > div:not(.light-theme-skip),
:root[data-theme="light"] .captcha-widget-clip iframe:not(.light-theme-skip) {
  border: 0 !important;
}
:root[data-theme="light"] .captcha-slot[data-captcha-state="loading"]:not(.light-theme-skip)::before,
:root[data-theme="light"] .captcha-slot[data-captcha-state="error"]:not(.light-theme-skip)::before {
  color: rgba(0, 0, 0, 0.874);
}
:root[data-theme="light"] .captcha-slot[data-captcha-state="loading"]:not(.light-theme-skip)::after {
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: rgba(0, 0, 0, 0.82);
  animation: captcha-spinner 820ms linear infinite;
}
:root[data-theme="light"] .captcha-slot[data-captcha-state="error"]:not(.light-theme-skip) {
  border-color: rgba(255, 126, 126, 0.28);
  background: rgba(255, 70, 70, 0.1);
}
:root[data-theme="light"] .captcha-slot.danger[data-captcha-state="loading"]:not(.light-theme-skip),
:root[data-theme="light"] .captcha-slot.danger[data-captcha-state="error"]:not(.light-theme-skip) {
  border-color: rgba(255, 118, 118, 0.18);
  background: rgba(255, 225, 225, 0.14);
}
:root[data-theme="light"] .rate-limit-dialog h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .rate-limit-dialog-copy p:last-child:not(.light-theme-skip) {
  color: rgba(15, 15, 23, 0.804);
}
:root[data-theme="light"] .rate-limit-countdown-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.095);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.03)),
    rgba(255, 255, 255, 0.24);
}
:root[data-theme="light"] .rate-limit-countdown-card span:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .rate-limit-countdown-card small:not(.light-theme-skip) {
  color: rgba(15, 15, 23, 0.706);
}
:root[data-theme="light"] .rate-limit-dialog-meter:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .rate-limit-dialog-meter span:not(.light-theme-skip) {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.96));
}
:root[data-theme="light"] .rate-limit-ok:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.11);
  color: #000000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}
:root[data-theme="light"] .rate-limit-ok:hover:not(.light-theme-skip),
:root[data-theme="light"] .rate-limit-ok:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.17);
}
:root[data-theme="light"] .account-modal-kicker:not(.light-theme-skip) {
  color: rgba(36, 63, 255, 0.86);
}
:root[data-theme="light"] .account-modal-header h2:not(.light-theme-skip),
:root[data-theme="light"] .account-profile-summary h3:not(.light-theme-skip),
:root[data-theme="light"] .account-settings-panel h3:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .account-modal-header p:not(.light-theme-skip),
:root[data-theme="light"] .account-profile-summary p:not(.light-theme-skip),
:root[data-theme="light"] .account-settings-panel p:not(.light-theme-skip),
:root[data-theme="light"] .account-danger-confirm p:not(.light-theme-skip),
:root[data-theme="light"] .account-form-message:not(.light-theme-skip) {
  color: rgba(19, 19, 29, 0.804);
}
:root[data-theme="light"] .account-modal-view:not(.light-theme-skip) {
  animation: accountViewIn 260ms ease both;
}
:root[data-theme="light"] .account-modal-form label span:not(.light-theme-skip) {
  color: rgba(15, 15, 23, 0.846);
}
:root[data-theme="light"] .account-modal-form label span small:not(.light-theme-skip) {
  color: rgba(15, 15, 23, 0.636);
}
:root[data-theme="light"] .account-modal-form input:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.11);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.035)),
    rgba(255, 255, 255, 0.24);
  color: #000000;
  outline: 0;
}
:root[data-theme="light"] .account-modal-form input:focus:not(.light-theme-skip) {
  border-color: rgba(174, 184, 255, 0.5);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 0 4px rgba(88, 101, 255, 0.12);
}
:root[data-theme="light"] .account-primary-action:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: linear-gradient(135deg, #5865ff, #3d8bff);
  color: #fff;
  box-shadow: 0 16px 34px rgba(61, 139, 255, 0.24);
}
:root[data-theme="light"] .account-primary-action:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-primary-action:focus-visible:not(.light-theme-skip) {
  box-shadow: 0 20px 46px rgba(61, 139, 255, 0.32);
}
:root[data-theme="light"] .account-secondary-action:not(.light-theme-skip),
:root[data-theme="light"] .account-link-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.055);
  color: #0f0f0f;
}
:root[data-theme="light"] .account-link-button:not(.light-theme-skip) {
  color: rgba(0, 5, 38, 0.93);
}
:root[data-theme="light"] .account-secondary-action:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-secondary-action:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .account-link-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-link-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .account-profile-picture-message:not(.light-theme-skip) {
  color: rgba(19, 23, 37, 0.706) !important;
}
:root[data-theme="light"] .account-profile-picture-message.error:not(.light-theme-skip) {
  color: #e00000 !important;
}
:root[data-theme="light"] .account-danger-action:not(.light-theme-skip) {
  border: 1px solid rgba(255, 107, 107, 0.24);
  background: rgba(255, 107, 107, 0.08);
  color: #e00000;
}
:root[data-theme="light"] .account-danger-action:hover:not(.light-theme-skip),
:root[data-theme="light"] .account-danger-action:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .account-danger-action.solid:not(.light-theme-skip) {
  background: rgba(255, 107, 107, 0.18);
  color: #000000;
}
:root[data-theme="light"] .account-form-message.error:not(.light-theme-skip) {
  color: #e00000;
}
:root[data-theme="light"] .account-profile-summary:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .account-avatar-large:not(.light-theme-skip) {
  background: #000922;
  box-shadow: 0 18px 46px rgba(61, 139, 255, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}
:root[data-theme="light"] .account-stat-grid article:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.085);
  background: rgba(0, 0, 0, 0.042);
}
:root[data-theme="light"] .account-stat-grid span:not(.light-theme-skip) {
  color: var(--muted);
}
:root[data-theme="light"] .account-stat-grid strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .account-settings-panel:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.085);
  background: rgba(0, 0, 0, 0.038);
}
:root[data-theme="light"] .response-format-label:not(.light-theme-skip),
:root[data-theme="light"] .input-style-label:not(.light-theme-skip) {
  color: rgba(29, 31, 41, 0.706) !important;
}
:root[data-theme="light"] .response-format-slider:not(.light-theme-skip),
:root[data-theme="light"] .input-style-slider:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.105);
  background: rgba(239, 240, 245, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07),
    0 12px 26px rgba(0, 0, 0, 0.099);
}
:root[data-theme="light"] .response-format-slider-fill:not(.light-theme-skip),
:root[data-theme="light"] .input-style-slider-fill:not(.light-theme-skip) {
  background: linear-gradient(135deg, #5865ff, #3d8bff);
  box-shadow: 0 10px 24px rgba(61, 139, 255, 0.24);
}
:root[data-theme="light"] .response-format-option:not(.light-theme-skip),
:root[data-theme="light"] .input-style-option:not(.light-theme-skip) {
  border: 0;
  color: rgba(15, 17, 26, 0.776);
  background: transparent;
}
:root[data-theme="light"] .response-format-option.active:not(.light-theme-skip),
:root[data-theme="light"] .input-style-option.active:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .response-format-option:hover:not(.light-theme-skip),
:root[data-theme="light"] .response-format-option:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .input-style-option:hover:not(.light-theme-skip),
:root[data-theme="light"] .input-style-option:focus-visible:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .response-format-message:not(.light-theme-skip),
:root[data-theme="light"] .input-style-message:not(.light-theme-skip) {
  color: rgba(19, 23, 37, 0.706) !important;
}
:root[data-theme="light"] .response-format-message.error:not(.light-theme-skip),
:root[data-theme="light"] .input-style-message.error:not(.light-theme-skip) {
  color: #e00000 !important;
}
:root[data-theme="light"] .account-danger-confirm:not(.light-theme-skip) {
  border: 1px solid rgba(255, 107, 107, 0.18);
  background: rgba(255, 107, 107, 0.075);
  animation: accountViewIn 180ms ease both;
}
:root[data-theme="light"] .ui-icon:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .send-icon:not(.light-theme-skip) {
  filter: brightness(0) !important;
}
:root[data-theme="light"] .x-icon:not(.light-theme-skip) {
  filter: brightness(0) !important;
}
:root[data-theme="light"] .sidebar-toggle:not(.light-theme-skip) {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .sidebar-toggle:hover:not(.light-theme-skip) {
  color: #000000;
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .panel-heading p:not(.light-theme-skip) {
  color: rgba(0, 3, 38, 0.804);
}
:root[data-theme="light"] .add-chat-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(135deg, rgba(88, 101, 255, 0.95), rgba(61, 139, 255, 0.95)),
    var(--accent);
  color: #fff;
  box-shadow: 0 9px 22px rgba(68, 90, 255, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.28);
}
:root[data-theme="light"] .add-chat-button:hover:not(.light-theme-skip) {
  filter: brightness(1.08);
  box-shadow: 0 13px 30px rgba(68, 90, 255, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.34);
}
:root[data-theme="light"] .chat-search:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.105), rgba(0, 0, 0, 0.045)),
    rgba(0, 0, 0, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.081);
}
:root[data-theme="light"] .chat-search:focus-within:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.24);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.06)),
    rgba(0, 0, 0, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 12px 34px rgba(0, 0, 0, 0.099);
}
:root[data-theme="light"] .chat-search input:not(.light-theme-skip) {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
:root[data-theme="light"] .chat-search input:not(.light-theme-skip)::placeholder {
  color: rgba(75, 75, 75, 0.776);
}
:root[data-theme="light"] .rate-limit-panel:not(.light-theme-skip) {
  border: 2px solid #0095ff;
  background: #2d4883;
  box-shadow: none;
}
:root[data-theme="light"] .rate-limit-refresh:not(.light-theme-skip) {
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}
:root[data-theme="light"] .rate-limit-refresh:hover:not(.light-theme-skip),
:root[data-theme="light"] .rate-limit-refresh:focus-visible:not(.light-theme-skip) {
  background: rgba(255, 255, 255, 0.055);
}
:root[data-theme="light"] .rate-limit-refresh img:not(.light-theme-skip) {
  filter: grayscale(1) brightness(0) invert(1);
}
:root[data-theme="light"] .rate-limit-panel.limited:not(.light-theme-skip) {
  border-color: rgba(255, 88, 88, 0.42);
  background: #241013;
}
:root[data-theme="light"] .rate-limit-copy span:not(.light-theme-skip) {
  color: rgba(236, 236, 242, 0.64);
}
:root[data-theme="light"] .rate-limit-panel p:not(.light-theme-skip) {
  color: #fff;
}
:root[data-theme="light"] .rate-limit-copy strong:not(.light-theme-skip) {
  color: #f7f7ff;
}
:root[data-theme="light"] .rate-limit-track:not(.light-theme-skip) {
  background: rgba(255, 255, 255, 0.12);
}
:root[data-theme="light"] .rate-limit-track span:not(.light-theme-skip) {
  background: linear-gradient(90deg, rgba(235, 235, 245, 0.82), rgba(255, 255, 255, 0.96));
  box-shadow: none;
}
:root[data-theme="light"] .rate-limit-panel.limited .rate-limit-track span:not(.light-theme-skip) {
  background: linear-gradient(90deg, #ff6b6b, #ffb36b);
}
:root[data-theme="light"] .rate-limit-panel.limited .rate-limit-track:not(.light-theme-skip) {
  background: rgba(255, 118, 118, 0.22);
}
:root[data-theme="light"] .contact-us-button:not(.light-theme-skip) {
  color: #fff;
  background: #2378ff;
  box-shadow: none;
}
:root[data-theme="light"] .contact-us-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .contact-us-button:focus-visible:not(.light-theme-skip) {
  background: #3287ff;
  filter: brightness(1.04);
}
:root[data-theme="light"] .sidebar-legal-links:not(.light-theme-skip) {
  color: #0064f6;
}
:root[data-theme="light"] .sidebar-legal-links a:not(.light-theme-skip) {
  color: inherit;
  text-decoration: none;
}
:root[data-theme="light"] .sidebar-legal-links a:hover:not(.light-theme-skip),
:root[data-theme="light"] .sidebar-legal-links a:focus-visible:not(.light-theme-skip) {
  color: #0066f2;
  text-decoration: underline;
}
:root[data-theme="light"] .chat-item:not(.light-theme-skip) {
  border: 1px solid transparent;
  color: var(--muted);
}
:root[data-theme="light"] .chat-item:not(.light-theme-skip)::before {
  background: radial-gradient(circle at 0 50%, rgba(88, 101, 255, 0.2), transparent 46%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent);
}
:root[data-theme="light"] .chat-item:hover:not(.light-theme-skip),
:root[data-theme="light"] .chat-item.active:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .chat-open-button:not(.light-theme-skip) {
  background: transparent;
  color: inherit;
}
:root[data-theme="light"] .chat-title:not(.light-theme-skip) {
  color: #1a1a1a;
}
:root[data-theme="light"] .chat-meta:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .rename-chat-button:not(.light-theme-skip),
:root[data-theme="light"] .delete-chat-button:not(.light-theme-skip),
:root[data-theme="light"] .rename-chat-cancel-button:not(.light-theme-skip),
:root[data-theme="light"] .rename-chat-save-button:not(.light-theme-skip) {
  background: transparent;
  color: var(--subtle);
}
:root[data-theme="light"] .rename-chat-button img:not(.light-theme-skip),
:root[data-theme="light"] .rename-chat-cancel-button img:not(.light-theme-skip),
:root[data-theme="light"] .rename-chat-save-button img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .rename-chat-button:hover:not(.light-theme-skip) {
  background: rgba(126, 156, 255, 0.14);
  color: #001252;
}
:root[data-theme="light"] .delete-chat-button:hover:not(.light-theme-skip) {
  background: rgba(255, 107, 107, 0.12);
  color: #e10000;
}
:root[data-theme="light"] .rename-chat-cancel-button:hover:not(.light-theme-skip) {
  background: rgba(255, 107, 107, 0.12);
  color: #e10000;
}
:root[data-theme="light"] .rename-chat-save-button:hover:not(.light-theme-skip) {
  background: rgba(115, 235, 177, 0.14);
  color: #0d8046;
}
:root[data-theme="light"] .chat-rename-input:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.18);
  outline: 0;
  background: rgba(255, 255, 255, 0.28);
  color: #000000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(88, 101, 255, 0.12);
}
:root[data-theme="light"] .chat-rename-input:focus:not(.light-theme-skip) {
  border-color: rgba(170, 188, 255, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 3px rgba(88, 101, 255, 0.18);
}
:root[data-theme="light"] .empty-chat-list:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .main-area:not(.light-theme-skip) {
  background: transparent;
}
:root[data-theme="light"] .message-search:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.081);
}
:root[data-theme="light"] .message-search:focus-within:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.035),
    0 12px 30px rgba(0, 0, 0, 0.099);
}
:root[data-theme="light"] .message-search input:not(.light-theme-skip) {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
:root[data-theme="light"] .message-search input:not(.light-theme-skip)::placeholder {
  color: rgba(75, 75, 75, 0.776);
}
:root[data-theme="light"] .message-search-count:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .admin-panel:not(.light-theme-skip),
:root[data-theme="light"] .admin-action-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(231, 232, 238, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.126);
}
:root[data-theme="light"] .admin-panel h2:not(.light-theme-skip) {
  color: #00071b;
}
:root[data-theme="light"] .admin-action-card button:not(.light-theme-skip),
:root[data-theme="light"] .admin-mini-action:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.11);
  color: rgba(0, 3, 10, 0.944);
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .admin-action-card button:hover:not(.light-theme-skip),
:root[data-theme="light"] .admin-mini-action:hover:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .admin-mini-action:disabled:hover:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.11);
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .admin-panel-heading > span:not(.light-theme-skip) {
  color: rgba(0, 3, 10, 0.93);
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .admin-heading-actions > span:not(.light-theme-skip) {
  color: rgba(0, 3, 10, 0.93);
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .admin-heading-icon-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.065);
}
:root[data-theme="light"] .admin-heading-icon-button img:not(.light-theme-skip),
:root[data-theme="light"] .admin-account-search img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .admin-heading-icon-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .admin-heading-icon-button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .admin-heading-icon-button.active:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.13);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .admin-account-search:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.072);
}
:root[data-theme="light"] .admin-account-search:focus-within:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.065);
}
:root[data-theme="light"] .admin-account-search input:not(.light-theme-skip) {
  border: 0;
  outline: 0;
  background: transparent;
  color: #000000;
}
:root[data-theme="light"] .admin-account-search input:not(.light-theme-skip)::placeholder {
  color: rgba(0, 4, 23, 0.636);
}
:root[data-theme="light"] .admin-availability-panel > div > span:not(.light-theme-skip) {
  color: rgba(0, 6, 30, 0.748);
}
:root[data-theme="light"] .admin-switch span:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 87, 87, 0.16);
}
:root[data-theme="light"] .admin-switch span:not(.light-theme-skip)::before {
  background: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.144);
}
:root[data-theme="light"] .admin-switch input:checked + span:not(.light-theme-skip) {
  border-color: rgba(94, 230, 132, 0.38);
  background: rgba(81, 211, 116, 0.22);
}
:root[data-theme="light"] .admin-switch strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .admin-account-row:not(.light-theme-skip),
:root[data-theme="light"] .admin-ban-row:not(.light-theme-skip),
:root[data-theme="light"] .admin-contact-row:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.075);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .admin-contact-row-header strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .admin-contact-row-header span:not(.light-theme-skip),
:root[data-theme="light"] .admin-contact-message:not(.light-theme-skip),
:root[data-theme="light"] .admin-contact-file span:not(.light-theme-skip),
:root[data-theme="light"] .admin-contact-reply-preview:not(.light-theme-skip) {
  color: rgba(0, 7, 37, 0.762);
}
:root[data-theme="light"] .admin-contact-status:not(.light-theme-skip) {
  color: rgba(0, 3, 10, 0.944) !important;
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .admin-contact-row[data-status="replied"] .admin-contact-status:not(.light-theme-skip) {
  color: #000e06 !important;
  background: rgba(72, 216, 123, 0.15);
}
:root[data-theme="light"] .admin-contact-row[data-status="ignored"] .admin-contact-status:not(.light-theme-skip) {
  color: rgba(13, 14, 20, 0.818) !important;
  background: rgba(0, 0, 0, 0.055);
}
:root[data-theme="light"] .admin-contact-message:not(.light-theme-skip) {
  color: rgba(0, 2, 11, 0.916);
}
:root[data-theme="light"] .admin-contact-file:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.18);
}
:root[data-theme="light"] .admin-contact-file strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .admin-contact-file img:not(.light-theme-skip) {
  background: rgba(255, 255, 255, 0.28);
}
:root[data-theme="light"] .admin-contact-file pre:not(.light-theme-skip) {
  color: rgba(0, 3, 14, 0.902);
}
:root[data-theme="light"] .admin-contact-reply-preview:not(.light-theme-skip) {
  border-left: 2px solid rgba(117, 165, 255, 0.52);
  color: rgba(0, 8, 31, 0.818);
}
:root[data-theme="light"] .admin-avatar:not(.light-theme-skip) {
  background: #000c32;
}
:root[data-theme="light"] .admin-account-copy strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .admin-account-copy span:not(.light-theme-skip),
:root[data-theme="light"] .admin-ban-row span:not(.light-theme-skip) {
  color: rgba(0, 7, 37, 0.734);
}
:root[data-theme="light"] .admin-badge:not(.light-theme-skip) {
  color: rgba(0, 5, 14, 0.944);
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .admin-badge.admin:not(.light-theme-skip) {
  color: #001634;
  background: rgba(83, 144, 255, 0.18);
}
:root[data-theme="light"] .admin-badge.rate-limit:not(.light-theme-skip) {
  color: #000926;
  background: rgba(0, 0, 0, 0.11);
}
:root[data-theme="light"] .admin-badge.banned:not(.light-theme-skip) {
  color: #440011;
  background: rgba(255, 82, 112, 0.17);
}
:root[data-theme="light"] .admin-mini-action.danger:not(.light-theme-skip),
:root[data-theme="light"] .admin-action-card.danger button:not(.light-theme-skip) {
  border-color: rgba(255, 108, 108, 0.26);
  color: #450000;
  background: rgba(255, 70, 70, 0.11);
}
:root[data-theme="light"] .admin-action-card h3:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .admin-action-card input:not(.light-theme-skip),
:root[data-theme="light"] .admin-action-card textarea:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  outline: 0;
  color: #000000;
  background: rgba(255, 255, 255, 0.24);
}
:root[data-theme="light"] .admin-action-card input:focus:not(.light-theme-skip),
:root[data-theme="light"] .admin-action-card textarea:focus:not(.light-theme-skip) {
  border-color: rgba(132, 183, 255, 0.46);
  box-shadow: 0 0 0 1px rgba(132, 183, 255, 0.14);
}
:root[data-theme="light"] .admin-status-message:not(.light-theme-skip) {
  color: rgba(0, 8, 33, 0.804);
}
:root[data-theme="light"] .admin-status-message.error:not(.light-theme-skip) {
  color: #e00000;
}
:root[data-theme="light"] .empty-admin-list:not(.light-theme-skip) {
  color: rgba(0, 7, 37, 0.678);
}
:root[data-theme="light"] .empty-state h1:not(.light-theme-skip) {
  color: #111111;
}
:root[data-theme="light"] .message:not(.light-theme-skip) {
  animation: messageIn 160ms ease both;
}
:root[data-theme="light"] .message-meta:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .bubble:not(.light-theme-skip) {
  color: #0e0e0e;
}
:root[data-theme="light"] .message-footer:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .user-message-sent-time:not(.light-theme-skip) {
  color: rgba(15, 15, 23, 0.636);
}
:root[data-theme="light"] .message-text-action:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(19, 19, 19, 0.846);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .message-text-action:hover:not(.light-theme-skip),
:root[data-theme="light"] .message-text-action:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .message-text-action.copied:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.2);
  color: #000000;
  background: rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .message-action-icon:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .message-delete-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .message-delete-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(255, 116, 116, 0.38);
  color: #450000;
  background: rgba(255, 84, 84, 0.12);
}
:root[data-theme="light"] .message-edit-form:not(.light-theme-skip) {
  animation: editSurfaceIn 260ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .message-edit-form:not(.light-theme-skip)::before {
  background: linear-gradient(120deg, rgba(115, 234, 255, 0.72), rgba(107, 105, 255, 0.4), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.04);
  filter: blur(0.5px);
  animation: editGlowDrift 2.8s ease-in-out infinite alternate;
}
:root[data-theme="light"] .message-edit-input:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  outline: 0;
  color: #000000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.095), rgba(0, 0, 0, 0.045)),
    rgba(233, 234, 239, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.153);
}
:root[data-theme="light"] .message-edit-input:focus:not(.light-theme-skip) {
  border-color: rgba(130, 235, 255, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(130, 235, 255, 0.16),
    0 22px 52px rgba(0, 0, 0, 0.171);
}
:root[data-theme="light"] .message-edit-action-icon:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .message-edit-cancel:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(10, 10, 10, 0.874);
  background: rgba(0, 0, 0, 0.06);
}
:root[data-theme="light"] .message-edit-save:not(.light-theme-skip) {
  border: 1px solid rgba(135, 234, 255, 0.38);
  color: #fff;
  background: linear-gradient(135deg, rgba(74, 153, 255, 0.9), rgba(108, 101, 255, 0.86));
  box-shadow: 0 12px 26px rgba(58, 118, 255, 0.28);
}
:root[data-theme="light"] .markdown-body h1:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body h2:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body h3:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body h4:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body h5:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body h6:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .markdown-body strong.local-greeting-username:not(.light-theme-skip) {
  color: #0065f5;
}
:root[data-theme="light"] .markdown-body blockquote:not(.light-theme-skip) {
  border-left: 3px solid rgba(118, 132, 255, 0.66);
  color: rgba(0, 0, 13, 0.86);
}
:root[data-theme="light"] .markdown-body a:not(.light-theme-skip) {
  color: #0068e9;
  text-decoration: none;
}
:root[data-theme="light"] .markdown-body a:hover:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body a:focus-visible:not(.light-theme-skip) {
  color: #006ae0;
  text-decoration: none;
}
:root[data-theme="light"] .markdown-body a:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(98, 168, 255, 0.72);
}
:root[data-theme="light"] .markdown-body code:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.075);
  color: #000535;
}
:root[data-theme="light"] .markdown-body pre:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(255, 255, 255, 0.42);
}
:root[data-theme="light"] .markdown-body pre code:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  color: #0c0c0c;
}
:root[data-theme="light"] .markdown-body .markdown-table-wrap:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(98, 168, 255, 0.72);
}
:root[data-theme="light"] .markdown-body table:not(.light-theme-skip) {
  color: #0e0e0e;
}
:root[data-theme="light"] .markdown-body th:not(.light-theme-skip),
:root[data-theme="light"] .markdown-body td:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .markdown-body th:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}
:root[data-theme="light"] .markdown-body tr:nth-child(even) td:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.035);
}
:root[data-theme="light"] .markdown-body hr:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.16);
}
:root[data-theme="light"] .task-list-item input:not(.light-theme-skip) {
  accent-color: var(--accent-2);
}
:root[data-theme="light"] .message.user .bubble:not(.light-theme-skip) {
  background: var(--user-bubble);
}
:root[data-theme="light"] .message.learny .bubble:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--learny-bubble);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.117);
}
:root[data-theme="light"] .message.learny:not(.typing):not(.is-deleting) .bubble:not(.light-theme-skip)::before {
  background: rgba(88, 101, 255, 0.98);
  filter: drop-shadow(0 0 5px rgba(88, 101, 255, 0.95))
    drop-shadow(0 0 15px rgba(88, 101, 255, 0.72))
    drop-shadow(0 0 32px rgba(88, 101, 255, 0.4));
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
}
:root[data-theme="light"] .message.learny .thought-time:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .chat-panel.empty-chat-active .composer-zone:not(.light-theme-skip) {
  animation: emptyComposerSettle 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
:root[data-theme="light"] .message.learny button.thought-time:not(.light-theme-skip) {
  border: 0;
  caret-color: transparent;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted:not(.light-theme-skip) {
  color: #242429;
  background: transparent;
  -webkit-text-fill-color: currentColor;
  filter: none;
  text-shadow: none;
  animation: none;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted .thought-glow-character:not(.light-theme-skip) {
  color: #242429;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  animation-name: toolAssistedThoughtCharacterShine--light;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted:hover:not(.light-theme-skip),
:root[data-theme="light"] .message.learny .thought-time.tool-assisted:active:not(.light-theme-skip) {
  color: #242429;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted:not(.light-theme-skip)::selection {
  color: inherit;
  background: transparent;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted .thought-glow-character:not(.light-theme-skip)::selection {
  color: inherit;
  background: transparent;
}
:root[data-theme="light"] .message.learny .thought-time.tool-assisted:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(126, 174, 255, 0.8);
}
:root[data-theme="light"] .thinking-process-panel:not(.light-theme-skip) {
  border: 1px solid rgba(132, 156, 210, 0.26);
  background: radial-gradient(circle at 90% 8%, rgba(69, 112, 213, 0.16), transparent 31%),
    linear-gradient(180deg, #f3f4f7 0%, #f6f6f9 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.225);
}
:root[data-theme="light"] .thinking-process-header:not(.light-theme-skip) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .thinking-process-eyebrow:not(.light-theme-skip) {
  color: #1461ff;
}
:root[data-theme="light"] .thinking-process-header h2:not(.light-theme-skip) {
  color: #000521;
}
:root[data-theme="light"] .thinking-process-close:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  color: rgba(0, 0, 0, 0.874);
  background: rgba(0, 0, 0, 0.055);
}
:root[data-theme="light"] .thinking-process-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .thinking-process-close:focus-visible:not(.light-theme-skip) {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .thinking-process-row:not(.light-theme-skip) {
  color: rgba(5, 8, 16, 0.902);
}
:root[data-theme="light"] .thinking-process-search-details:not(.light-theme-skip) {
  color: var(--subtle);
}
:root[data-theme="light"] .thinking-process-search-query:not(.light-theme-skip) {
  color: rgba(54, 58, 69, 0.804);
}
:root[data-theme="light"] .thinking-process-shell.is-open .thinking-process-row:not(.light-theme-skip) {
  animation: thinkingProcessRowIn 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:root[data-theme="light"] .thinking-process-row:not(:last-child):not(.light-theme-skip)::after {
  background: linear-gradient(180deg, rgba(132, 178, 255, 0.32), rgba(0, 0, 0, 0.05));
}
:root[data-theme="light"] .thinking-process-icon:not(.light-theme-skip) {
  border: 1px solid rgba(132, 178, 255, 0.22);
  color: #0064f5;
  background: rgba(74, 107, 178, 0.12);
}
:root[data-theme="light"] .thinking-process-icon svg:not(.light-theme-skip) {
  fill: none;
  stroke: currentColor;
}
:root[data-theme="light"] .thinking-process-finished:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .thinking-process-finished .thinking-process-icon:not(.light-theme-skip) {
  color: #00193a;
  border-color: rgba(137, 184, 255, 0.4);
  background: linear-gradient(145deg, rgba(81, 123, 233, 0.34), rgba(112, 87, 221, 0.22));
  box-shadow: 0 0 24px rgba(93, 137, 255, 0.12);
}
:root[data-theme="light"] .message-copy-button:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.055);
}
:root[data-theme="light"] .message-copy-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .message-copy-button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .message-copy-button.copied:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .message-resend-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .message-resend-button:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.15);
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer > .thought-time:not(.light-theme-skip),
:root[data-theme="light"] .message.learny.reveal-complete .message-footer > .workspace-run-count:not(.light-theme-skip) {
  animation: footerRevealLeftToRight 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer > .thought-time.tool-assisted:not(.light-theme-skip) {
  animation: footerRevealLeftToRight 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer > .footer-control:not(.light-theme-skip) {
  animation: footerControlFadeIn 300ms ease forwards;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal > .thought-time:not(.light-theme-skip),
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal > .workspace-run-count:not(.light-theme-skip),
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal > .footer-control:not(.light-theme-skip) {
  animation: none;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal.is-revealing > .thought-time:not(.light-theme-skip),
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal.is-revealing > .workspace-run-count:not(.light-theme-skip) {
  animation: footerRevealLeftToRight 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal.is-revealing > .thought-time.tool-assisted:not(.light-theme-skip) {
  animation: footerRevealLeftToRight 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:root[data-theme="light"] .message.learny.reveal-complete .message-footer.late-footer-reveal.is-revealing > .footer-control:not(.light-theme-skip) {
  animation: footerControlFadeIn 300ms ease forwards;
}
:root[data-theme="light"] .message.learny.word-revealing .markdown-body li:not(.light-theme-skip)::marker {
  color: transparent;
}
:root[data-theme="light"] .message.learny.word-revealing .markdown-body li.reveal-content-visible:not(.light-theme-skip)::marker {
  color: rgba(0, 0, 13, 0.888);
}
:root[data-theme="light"] .word-fade.word-visible:not(.light-theme-skip) {
  animation-name: wordFadeIn;
}
:root[data-theme="light"] .stream-chunk-fade:not(.light-theme-skip) {
  animation: streamChunkFade 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
:root[data-theme="light"] .message-search-match .bubble:not(.light-theme-skip) {
  box-shadow: 0 0 0 1px rgba(174, 184, 255, 0.44),
    0 10px 28px rgba(0, 0, 0, 0.117);
}
:root[data-theme="light"] .message-search-current .bubble:not(.light-theme-skip) {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.66),
    0 0 24px rgba(88, 101, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.117);
}
:root[data-theme="light"] .message.is-deleting:not(.light-theme-skip) {
  animation: messageGlitchDelete 850ms steps(2, end) forwards;
}
:root[data-theme="light"] .message.is-deleting .bubble:not(.light-theme-skip) {
  background-color: #f1f1f2;
  animation: bubbleGlitchDelete 850ms steps(8, end) forwards;
}
:root[data-theme="light"] .message.is-deleting .bubble-text:not(.light-theme-skip),
:root[data-theme="light"] .message.is-deleting .message-footer:not(.light-theme-skip) {
  animation: glitchContentDelete 850ms steps(2, end) forwards;
}
:root[data-theme="light"] .message.is-deleting .bubble:not(.light-theme-skip)::before,
:root[data-theme="light"] .message.is-deleting .bubble:not(.light-theme-skip)::after {
  color: #000000;
  background-color: #f1f1f2;
}
:root[data-theme="light"] .message.is-deleting .bubble:not(.light-theme-skip)::before {
  text-shadow: -2px 0 #00ffff, -6px 0 rgba(0, 255, 255, 0.22);
  animation: noiseBeforeDelete 520ms infinite linear alternate-reverse;
}
:root[data-theme="light"] .message.is-deleting .bubble:not(.light-theme-skip)::after {
  text-shadow: 2px 0 #ff00ff, 7px 0 rgba(255, 0, 255, 0.22);
  animation: noiseAfterDelete 430ms infinite linear alternate-reverse;
}
:root[data-theme="light"] .message.typing.queued .bubble:not(.light-theme-skip) {
  color: #23252a;
}
:root[data-theme="light"] .message.typing.queued .bubble:not(.light-theme-skip)::after {
  background: linear-gradient(100deg, transparent 25%, rgba(0, 0, 0, 0.22) 50%, transparent 75%);
  animation: queuedShine 3s ease-in-out infinite;
}
:root[data-theme="light"] .queued-estimate:not(.light-theme-skip) {
  color: #23252a;
}
:root[data-theme="light"] .workspace-agent-phase:not(.light-theme-skip) {
  color: transparent;
  background: linear-gradient(
    90deg,
    #8f8f96 0%,
    #8f8f96 39%,
    #c3c3ca 45%,
    #ffffff 50%,
    #bdbdc5 56%,
    #8f8f96 63%,
    #8f8f96 100%
  );
  background-position: 100% 0;
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 12px rgba(225, 225, 235, 0.12);
}
:root[data-theme="light"] .workspace-agent-phase.is-entering:not(.light-theme-skip) {
  animation: workspace-agent-phase-enter 560ms cubic-bezier(0.2, 0.72, 0.2, 1) both,
    workspace-agent-shine 3s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
:root[data-theme="light"] .workspace-agent-dots:not(.light-theme-skip) {
  color: #19191e;
  -webkit-text-fill-color: #19191e;
}
:root[data-theme="light"] .workspace-agent-dots span:not(.light-theme-skip) {
  animation: workspace-agent-dot 1.15s ease-in-out infinite;
}
:root[data-theme="light"] .chat-scroll-jump:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.19);
  color: #000000;
  background: rgba(217, 217, 220, 0.97);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.207);
  animation: chatScrollJumpIn 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
:root[data-theme="light"] .chat-scroll-jump:hover:not(.light-theme-skip),
:root[data-theme="light"] .chat-scroll-jump:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.34);
  outline: none;
  background: rgba(204, 204, 208, 0.99);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13),
    0 10px 28px rgba(0, 0, 0, 0.234);
}
:root[data-theme="light"] .chat-scroll-jump:focus-visible:not(.light-theme-skip) {
  outline: 2px solid rgba(157, 176, 255, 0.82);
}
:root[data-theme="light"] .chat-scroll-jump-icon:not(.light-theme-skip) {
  filter: brightness(0) !important;
}
:root[data-theme="light"] .chat-scroll-jump-dots span:not(.light-theme-skip) {
  background: #0f0f11;
  animation: chatScrollJumpDot 980ms ease-in-out infinite;
}
:root[data-theme="light"] .attachment-tray:not(.light-theme-skip) {
  animation: attachmentTrayIn 220ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
:root[data-theme="light"] .attachment-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(9, 9, 9, 0.958);
  background: rgba(228, 228, 230, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
    0 16px 42px rgba(0, 0, 0, 0.153);
}
:root[data-theme="light"] .attachment-card:not(.light-theme-skip)::before {
  background: radial-gradient(circle at 18% 16%, rgba(0, 0, 0, 0.1), transparent 28%),
    linear-gradient(110deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}
:root[data-theme="light"] .attachment-file-icon:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #000000;
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .attachment-name:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .attachment-meta:not(.light-theme-skip) {
  color: rgba(42, 42, 42, 0.776);
}
:root[data-theme="light"] .attachment-remove:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .attachment-remove:hover:not(.light-theme-skip),
:root[data-theme="light"] .attachment-remove:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.14);
}
:root[data-theme="light"] .composer:not(.light-theme-skip) {
  border: 1px solid var(--composer-border);
  background: var(--composer);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.126);
}
:root[data-theme="light"] .composer-disclaimer:not(.light-theme-skip) {
  color: rgba(17, 17, 23, 0.804);
}
:root[data-theme="light"] .composer.unavailable:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.08);
  background: #eeeeee;
}
:root[data-theme="light"] .attach-button:not(.light-theme-skip),
:root[data-theme="light"] .send-button:not(.light-theme-skip) {
  color: var(--text);
}
:root[data-theme="light"] .attach-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  color: rgba(0, 0, 0, 0.944);
}
:root[data-theme="light"] .attach-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .attach-button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .composer.has-attachment .attach-button:not(.light-theme-skip) {
  border-color: #00245e;
  background: #3381ff;
  color: #000;
}
:root[data-theme="light"] .composer textarea:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}
:root[data-theme="light"] .composer textarea:not(.light-theme-skip)::placeholder {
  color: #454545;
}
:root[data-theme="light"] .send-button:not(.light-theme-skip) {
  background: #d1d1d1;
}
:root[data-theme="light"] .attachment-image-preview:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fafafb;
}
:root[data-theme="light"] .composer.attachment-drag-active:not(.light-theme-skip) {
  border-color: rgba(92, 151, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(51, 129, 255, 0.2), 0 18px 52px rgba(0, 0, 0, 0.189);
}
:root[data-theme="light"] .send-button.has-message:not(.pause-mode):not(.light-theme-skip) {
  background: #3381ff;
}
:root[data-theme="light"] .send-button.pause-mode:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.16);
}
:root[data-theme="light"] .send-button:hover:not(.light-theme-skip) {
  background: #c8c8c8;
}
:root[data-theme="light"] .send-button.has-message:not(.pause-mode):hover:not(.light-theme-skip) {
  background: #5596ff;
}
:root[data-theme="light"] .send-button.pause-mode:hover:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.24);
}
:root[data-theme="light"] .message-attachment:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.052);
}
:root[data-theme="light"] .message-attachment-icon:not(.light-theme-skip) {
  color: #000000;
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .message-attachment-name:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.944);
}
:root[data-theme="light"] .message-attachment-meta:not(.light-theme-skip) {
  color: rgba(35, 35, 35, 0.706);
}
:root[data-theme="light"] .ban-lock:not(.light-theme-skip) {
  background: radial-gradient(circle at 50% 42%, #fcfdff, transparent 0 34%),
    #ffffff;
}
:root[data-theme="light"] .message-image-preview-button:not(.light-theme-skip) {
  border: 0;
  color: rgba(0, 0, 0, 0.776);
  background: #fafafb;
}
:root[data-theme="light"] .message-image-caption:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.804);
}
:root[data-theme="light"] .image-viewer:not(.light-theme-skip) {
  background: rgba(255, 255, 255, 0.94);
  animation: imageViewerIn 260ms ease both;
}
:root[data-theme="light"] .image-viewer-image:not(.light-theme-skip) {
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.324);
}
:root[data-theme="light"] .image-viewer-controls:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(228, 228, 231, 0.92);
}
:root[data-theme="light"] .image-viewer-controls button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
}
:root[data-theme="light"] .ban-lock-card:not(.light-theme-skip) {
  color: #00081c;
  background: radial-gradient(circle at 22% 0%, #f8faff, transparent 38%),
    linear-gradient(145deg, #ffffff, #f2f6ff);
}
:root[data-theme="light"] .ban-lock-card h1:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .ban-lock-admin:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.055);
}
:root[data-theme="light"] .ban-lock-admin img:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .ban-lock-admin span:not(.light-theme-skip) {
  color: rgba(0, 36, 121, 0.66);
}
:root[data-theme="light"] .ban-lock-admin strong:not(.light-theme-skip) {
  color: rgba(0, 2, 5, 0.972);
}
:root[data-theme="light"] .ban-lock-card dl > div:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.075);
  background: rgba(0, 0, 0, 0.045);
}
:root[data-theme="light"] .ban-lock-card dt:not(.light-theme-skip) {
  color: rgba(0, 36, 121, 0.66);
}
:root[data-theme="light"] .ban-lock-card dd:not(.light-theme-skip) {
  color: rgba(0, 2, 5, 0.958);
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="light"] .message.learny .thought-time.tool-assisted .thought-glow-character:not(.light-theme-skip) {
    animation: none;
    color: #242429;
    text-shadow: none;
  }
  :root[data-theme="light"] .thinking-process-panel:not(.light-theme-skip),
  :root[data-theme="light"] .thinking-process-row:not(.light-theme-skip) {
    animation: none !important;
  }
}
@media (min-width: 861px) {
  :root[data-theme="light"] .app-shell.sidebar-collapsed .sidebar:not(.light-theme-skip) {
    border-right: 0;
    background: transparent;
    box-shadow: none;
  }
  :root[data-theme="light"] .app-shell.sidebar-collapsed .sidebar-header:not(.light-theme-skip) {
    animation: none;
  }
  :root[data-theme="light"] .app-shell.sidebar-collapsed .sidebar-toggle:not(.light-theme-skip) {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
        0 12px 28px rgba(0, 0, 0, 0.135);
    animation: collapsedSidebarToggleIn 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  :root[data-theme="light"] .app-shell.sidebar-collapsed .sidebar-toggle:hover:not(.light-theme-skip) {
    background: rgba(0, 0, 0, 0.14);
  }
}
@media (max-width: 860px) {
  :root[data-theme="light"] .app-shell.mobile-composer-focused .chat-panel.empty-chat-active .composer-zone:not(.light-theme-skip) {
    animation: none;
  }
  :root[data-theme="light"] .sidebar:not(.light-theme-skip) {
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.234),
        inset -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 1px rgba(255, 255, 255, 0.1);
  }
  :root[data-theme="light"] .sidebar-scrim:not(.light-theme-skip) {
    background: rgba(0, 0, 0, 0.336);
  }
  :root[data-theme="light"] .mobile-sidebar-button:not(.light-theme-skip) {
    background: rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(0, 0, 0, 0.108);
  }
  :root[data-theme="light"] .mobile-sidebar-button:hover:not(.light-theme-skip),
  :root[data-theme="light"] .mobile-sidebar-button:focus-visible:not(.light-theme-skip) {
    background: rgba(0, 0, 0, 0.13);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1),
        0 12px 28px rgba(0, 0, 0, 0.135);
  }
}
:root[data-theme="light"] .site-update-banner:not(.light-theme-skip) {
  color: #000725;
  background: #f2f3f6;
  border: 1px solid #e0e2e7;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.207);
}
:root[data-theme="light"] .site-update-copy span:not(.light-theme-skip) {
  color: #393d48;
}
:root[data-theme="light"] .site-update-banner button:not(.light-theme-skip) {
  color: #e4e6eb;
  background: #0b0e14;
  border: 0;
}
:root[data-theme="light"] .site-update-banner button:hover:not(.light-theme-skip),
:root[data-theme="light"] .site-update-banner button:focus-visible:not(.light-theme-skip) {
  background: #000000;
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="light"] .app-shell.sidebar-transition-opening .sidebar:not(.light-theme-skip),
  :root[data-theme="light"] .app-shell.sidebar-transition-closing .sidebar:not(.light-theme-skip),
  :root[data-theme="light"] .app-shell.sidebar-transition-opening .sidebar:not(.light-theme-skip)::after,
  :root[data-theme="light"] .app-shell.sidebar-transition-closing .sidebar:not(.light-theme-skip)::after {
    animation: none !important;
  }
}
:root[data-theme="light"] body.settings-open .app-shell:not(.light-theme-skip) {
  filter: blur(6px);
}
:root[data-theme="light"] .settings-backdrop:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.33);
}
:root[data-theme="light"] .settings-dialog:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #0c0c0c;
  background: #ebebeb;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06),
    0 34px 110px rgba(0, 0, 0, 0.279);
  filter: blur(24px);
}
:root[data-theme="light"] .settings-modal.is-open .settings-dialog:not(.light-theme-skip) {
  filter: blur(0);
}
:root[data-theme="light"] .settings-close:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.14);
}
:root[data-theme="light"] .settings-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.22);
}
:root[data-theme="light"] .settings-close:not(.light-theme-skip)::before,
:root[data-theme="light"] .settings-close:not(.light-theme-skip)::after {
  background: rgba(0, 0, 0, 0.92);
}
:root[data-theme="light"] .settings-sidebar:not(.light-theme-skip) {
  border-right: 1px solid rgba(0, 0, 0, 0.17);
  background: #e9e9e9;
}
:root[data-theme="light"] .settings-brand:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.958);
}
:root[data-theme="light"] .settings-nav-button:not(.light-theme-skip) {
  border: 0;
  color: rgba(0, 0, 0, 0.916);
  background: transparent;
}
:root[data-theme="light"] .settings-nav-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-nav-button:focus-visible:not(.light-theme-skip) {
  color: #000000;
  background: rgba(0, 0, 0, 0.09);
}
:root[data-theme="light"] .settings-nav-button.is-active:not(.light-theme-skip) {
  color: #000000;
  background: rgba(0, 0, 0, 0.18);
}
:root[data-theme="light"] .settings-content:not(.light-theme-skip) {
  scrollbar-color: rgba(0, 0, 0, 0.24) transparent;
}
:root[data-theme="light"] .settings-panel:not(.light-theme-skip) {
  filter: blur(12px);
}
:root[data-theme="light"] .settings-panel.is-active:not(.light-theme-skip) {
  filter: blur(0);
}
:root[data-theme="light"] .settings-panel-header:not(.light-theme-skip) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
}
:root[data-theme="light"] .settings-panel-header h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .settings-control-row:not(.light-theme-skip) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}
:root[data-theme="light"] .settings-control-copy strong:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.965);
}
:root[data-theme="light"] .settings-control-copy span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.776);
}
:root[data-theme="light"] .settings-switch > span:not(.light-theme-skip) {
  background: #d0d0d0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .settings-switch > span:not(.light-theme-skip)::after {
  background: #000000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.162);
}
:root[data-theme="light"] .settings-switch input:checked + span:not(.light-theme-skip) {
  background: #4d8dff;
}
:root[data-theme="light"] .settings-switch input:focus-visible + span:not(.light-theme-skip) {
  box-shadow: 0 0 0 3px rgba(91, 148, 255, 0.28);
}
:root[data-theme="light"] .settings-tool-row.is-required .settings-switch input:checked + span:not(.light-theme-skip) {
  background: #d2d3d6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.13),
    0 1px 5px rgba(0, 0, 0, 0.072);
}
:root[data-theme="light"] .settings-tool-row.is-required .settings-switch > span:not(.light-theme-skip)::after {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.126);
}
:root[data-theme="light"] .settings-select-trigger:not(.light-theme-skip) {
  border: 0;
  color: rgba(0, 0, 0, 0.944);
  background: transparent;
}
:root[data-theme="light"] .settings-select-trigger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-select-trigger:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-select.is-open .settings-select-trigger:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .settings-select-trigger svg:not(.light-theme-skip) {
  fill: none;
  stroke: currentColor;
}
:root[data-theme="light"] .settings-select-menu:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #e6e6e6;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.225);
  animation: settingsMenuIn 150ms ease both;
}
:root[data-theme="light"] .settings-select-menu button:not(.light-theme-skip) {
  border: 0;
  color: rgba(0, 0, 0, 0.93);
  background: transparent;
}
:root[data-theme="light"] .settings-select-menu button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-select-menu button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-select-menu button[aria-selected="true"]:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .settings-action-button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.958);
  background: transparent;
}
:root[data-theme="light"] .settings-action-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-action-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .settings-current-value:not(.light-theme-skip) {
  color: rgba(0, 86, 242, 0.92) !important;
}
:root[data-theme="light"] .settings-control-row.is-danger .settings-control-copy strong:not(.light-theme-skip) {
  color: #df0000;
}
:root[data-theme="light"] .settings-action-button.is-danger:not(.light-theme-skip) {
  border-color: rgba(255, 107, 107, 0.36);
  color: #e00000;
}
:root[data-theme="light"] .settings-action-button.is-danger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-action-button.is-danger:focus-visible:not(.light-theme-skip) {
  border-color: rgba(255, 107, 107, 0.58);
  background: rgba(255, 82, 82, 0.1);
}
:root[data-theme="light"] body.settings-submodal-open .settings-dialog:not(.light-theme-skip) {
  filter: blur(14px) saturate(0.75);
}
:root[data-theme="light"] .settings-layer-backdrop:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.288);
}
:root[data-theme="light"] .settings-layer-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #0c0c0c;
  background: linear-gradient(155deg, #ededef 0%, #f2f2f4 100%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.306), inset 0 1px rgba(255, 255, 255, 0.06);
  filter: blur(18px);
}
:root[data-theme="light"] .settings-layer-modal.is-open .settings-layer-card:not(.light-theme-skip) {
  filter: blur(0);
}
:root[data-theme="light"] .settings-layer-close:not(.light-theme-skip) {
  border: 0;
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .settings-layer-close:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-close:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.15);
}
:root[data-theme="light"] .settings-layer-close:not(.light-theme-skip)::before,
:root[data-theme="light"] .settings-layer-close:not(.light-theme-skip)::after {
  background: rgba(0, 0, 0, 0.9);
}
:root[data-theme="light"] .settings-layer-header:not(.light-theme-skip) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .settings-layer-header > span:not(.light-theme-skip) {
  color: #2160ff;
}
:root[data-theme="light"] .settings-layer-header h2:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .settings-layer-header p:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.748);
}
:root[data-theme="light"] .settings-field-label:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-form .password-label > span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.902);
}
:root[data-theme="light"] .settings-text-input:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-form .password-input:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #000000;
  background: rgba(0, 0, 0, 0.055);
  outline: none;
}
:root[data-theme="light"] .settings-text-input:focus:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-form .password-input:focus:not(.light-theme-skip) {
  border-color: rgba(112, 154, 255, 0.8);
  background: rgba(0, 0, 0, 0.075);
  box-shadow: 0 0 0 3px rgba(82, 126, 255, 0.15);
}
:root[data-theme="light"] .settings-field-hint:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.636);
}
:root[data-theme="light"] .settings-confirm-copy:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.035);
}
:root[data-theme="light"] .settings-confirm-copy strong:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .settings-confirm-copy p:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.72);
}
:root[data-theme="light"] .settings-confirm-copy.is-danger:not(.light-theme-skip) {
  border-color: rgba(255, 94, 94, 0.2);
  background: rgba(255, 70, 70, 0.055);
}
:root[data-theme="light"] .settings-confirm-copy.is-danger strong:not(.light-theme-skip) {
  color: #df0000;
}
:root[data-theme="light"] .settings-layer-message:not(.light-theme-skip) {
  color: #1d60ff;
}
:root[data-theme="light"] .settings-layer-message.error:not(.light-theme-skip) {
  color: #e00000;
}
:root[data-theme="light"] .settings-layer-secondary:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
}
:root[data-theme="light"] .settings-layer-secondary:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-secondary:focus-visible:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .settings-layer-primary:not(.light-theme-skip) {
  border: 1px solid rgba(130, 161, 255, 0.55);
  color: #fff;
  background: linear-gradient(135deg, #526ff4, #6e5cf0);
  box-shadow: 0 8px 24px rgba(73, 86, 224, 0.24);
}
:root[data-theme="light"] .settings-layer-primary:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-layer-primary:focus-visible:not(.light-theme-skip) {
  filter: brightness(1.08);
}
:root[data-theme="light"] .settings-layer-primary.is-danger:not(.light-theme-skip) {
  border-color: rgba(255, 112, 112, 0.55);
  background: linear-gradient(135deg, #c23f4a, #9f2e3c);
  box-shadow: 0 8px 24px rgba(180, 45, 58, 0.25);
}
:root[data-theme="light"] .settings-profile-comparison figure:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.035);
}
:root[data-theme="light"] .settings-profile-comparison figure > span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.65);
}
:root[data-theme="light"] .settings-profile-comparison img:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f4f5f7;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.153);
}
:root[data-theme="light"] .settings-upload-button:not(.light-theme-skip) {
  border: 1px dashed rgba(145, 170, 255, 0.45);
  color: #001550;
  background: rgba(91, 119, 235, 0.08);
}
:root[data-theme="light"] .settings-upload-button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-upload-button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(145, 170, 255, 0.75);
  background: rgba(91, 119, 235, 0.14);
}
:root[data-theme="light"] .settings-upload-button img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .settings-security-item:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.032);
}
:root[data-theme="light"] .settings-security-device-dot:not(.light-theme-skip) {
  background: #bbbdc4;
  box-shadow: 0 0 0 3px rgba(114, 119, 133, 0.12);
}
:root[data-theme="light"] .settings-security-device-dot.is-current:not(.light-theme-skip) {
  background: #63d7a0;
  box-shadow: 0 0 0 3px rgba(99, 215, 160, 0.13);
}
:root[data-theme="light"] .settings-security-item strong:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.944);
}
:root[data-theme="light"] .settings-security-item span:not(.light-theme-skip),
:root[data-theme="light"] .settings-security-item small:not(.light-theme-skip),
:root[data-theme="light"] .settings-security-empty:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.664);
}
:root[data-theme="light"] .settings-security-empty.is-error:not(.light-theme-skip) {
  color: #df0000;
}
:root[data-theme="light"] .settings-deleted-messages-content:not(.light-theme-skip) {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
:root[data-theme="light"] .settings-deleted-messages-content .settings-deleted-chat-messages:not(.light-theme-skip) {
  border-top: 0;
  background: transparent;
}
:root[data-theme="light"] .settings-deleted-chats-list:not(.light-theme-skip) {
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
:root[data-theme="light"] .settings-deleted-toolbar > span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.664);
}
:root[data-theme="light"] .settings-deleted-chat-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.105);
  background: radial-gradient(circle at 100% 0%, rgba(111, 134, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.032);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
:root[data-theme="light"] .settings-deleted-chat-card:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-chat-card.is-expanded:not(.light-theme-skip) {
  border-color: rgba(142, 163, 255, 0.22);
  background: radial-gradient(circle at 100% 0%, rgba(111, 134, 255, 0.12), transparent 46%),
    rgba(0, 0, 0, 0.044);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.072);
}
:root[data-theme="light"] .settings-deleted-chat-copy strong:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.972);
}
:root[data-theme="light"] .settings-deleted-chat-copy > span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.664);
}
:root[data-theme="light"] .settings-deleted-chat-copy small:not(.light-theme-skip) {
  color: #295fff;
}
:root[data-theme="light"] .settings-deleted-chat-copy small i:not(.light-theme-skip) {
  background: currentColor;
}
:root[data-theme="light"] .settings-deleted-chat-actions button:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm button:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar button:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.16);
  color: rgba(0, 0, 0, 0.93);
  background: rgba(0, 0, 0, 0.025);
}
:root[data-theme="light"] .settings-deleted-chat-actions button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-chat-actions button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar button:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm button:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm button:focus-visible:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .settings-deleted-chat-actions .is-restore:not(.light-theme-skip) {
  border-color: rgba(111, 143, 255, 0.48);
  color: #001550;
  background: rgba(85, 111, 235, 0.13);
}
:root[data-theme="light"] .settings-deleted-chat-actions .is-restore:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-chat-actions .is-restore:focus-visible:not(.light-theme-skip) {
  border-color: rgba(129, 158, 255, 0.72);
  background: rgba(85, 111, 235, 0.22);
}
:root[data-theme="light"] .settings-deleted-chat-actions .is-danger:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm .is-danger:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar .is-danger:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm .is-danger:not(.light-theme-skip) {
  color: #e10000;
}
:root[data-theme="light"] .settings-deleted-chat-actions .is-danger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-chat-actions .is-danger:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm .is-danger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-confirm .is-danger:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar .is-danger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-toolbar .is-danger:focus-visible:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm .is-danger:hover:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-delete-all-confirm .is-danger:focus-visible:not(.light-theme-skip) {
  border-color: rgba(255, 112, 112, 0.45);
  background: rgba(255, 82, 82, 0.1);
}
:root[data-theme="light"] .settings-deleted-chat-messages:not(.light-theme-skip) {
  border-top: 1px solid rgba(0, 0, 0, 0.085);
  background: rgba(246, 247, 250, 0.28);
}
:root[data-theme="light"] .settings-deleted-chat-messages.is-loading:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.706);
}
:root[data-theme="light"] .settings-deleted-loading-dot:not(.light-theme-skip) {
  background: #829fff;
  box-shadow: 0 0 0 5px rgba(105, 135, 255, 0.11);
  animation: settingsDeletedPulse 1.25s ease-in-out infinite;
}
:root[data-theme="light"] .settings-deleted-message:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.038);
}
:root[data-theme="light"] .settings-deleted-message.is-user:not(.light-theme-skip) {
  background: rgba(108, 129, 221, 0.13);
}
:root[data-theme="light"] .settings-deleted-message header strong:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.902);
}
:root[data-theme="light"] .settings-deleted-message header span:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-message small:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.566);
}
:root[data-theme="light"] .settings-deleted-message p:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-chat-empty-copy:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.846);
}
:root[data-theme="light"] .settings-deleted-delete-confirm:not(.light-theme-skip) {
  border-top: 1px solid rgba(255, 105, 105, 0.14);
  background: rgba(255, 66, 66, 0.055);
}
:root[data-theme="light"] .settings-deleted-delete-all-confirm:not(.light-theme-skip) {
  border: 1px solid rgba(255, 105, 105, 0.22);
  background: linear-gradient(135deg, rgba(255, 66, 66, 0.09), rgba(255, 66, 66, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
:root[data-theme="light"] .settings-deleted-delete-all-confirm strong:not(.light-theme-skip) {
  color: #280000;
}
:root[data-theme="light"] .settings-deleted-delete-all-confirm span:not(.light-theme-skip) {
  color: rgba(37, 0, 0, 0.734);
}
:root[data-theme="light"] .settings-deleted-delete-confirm strong:not(.light-theme-skip) {
  color: #e00000;
}
:root[data-theme="light"] .settings-deleted-delete-confirm span:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.671);
}
:root[data-theme="light"] .settings-deleted-card-progress:not(.light-theme-skip) {
  background: rgba(126, 151, 255, 0.12);
}
:root[data-theme="light"] .settings-deleted-card-progress:not(.light-theme-skip)::after {
  background: linear-gradient(90deg, transparent, #89a4ff, transparent);
  animation: settingsDeletedProgress 1.1s ease-in-out infinite;
}
:root[data-theme="light"] .settings-deleted-empty-icon:not(.light-theme-skip) {
  border: 1px solid rgba(139, 163, 255, 0.24);
  color: #345eff;
  background: rgba(104, 128, 231, 0.09);
}
:root[data-theme="light"] .settings-deleted-empty-icon svg:not(.light-theme-skip) {
  fill: none;
  stroke: currentColor;
}
:root[data-theme="light"] .settings-deleted-empty strong:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.944);
}
:root[data-theme="light"] .settings-deleted-empty p:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.636);
}
:root[data-theme="light"] .settings-deleted-load-warning:not(.light-theme-skip) {
  border: 1px solid rgba(255, 185, 100, 0.18);
  color: #9e6118;
  background: rgba(255, 164, 61, 0.055);
}
:root[data-theme="light"] .settings-deleted-skeleton:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0.025);
}
:root[data-theme="light"] .settings-deleted-skeleton i:not(.light-theme-skip),
:root[data-theme="light"] .settings-deleted-skeleton span:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.065);
}
:root[data-theme="light"] .settings-deleted-skeleton span:not(.light-theme-skip)::after {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.09), transparent);
  animation: settingsDeletedShimmer 1.5s ease-in-out infinite;
}
@media (max-width: 860px) {
  :root[data-theme="light"] .settings-backdrop:not(.light-theme-skip) {
    background: #f5f6f7;
  }
  :root[data-theme="light"] .settings-dialog:not(.light-theme-skip) {
    border: 0;
    background: radial-gradient(circle at 12% -8%, rgba(89, 112, 255, 0.11), transparent 32%),
        #ebebed;
  }
  :root[data-theme="light"] .settings-mobile-nav-toggle:not(.light-theme-skip) {
    border: 1px solid rgba(0, 0, 0, 0.13);
    color: #000000;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.09);
  }
  :root[data-theme="light"] .settings-mobile-nav-toggle:hover:not(.light-theme-skip),
  :root[data-theme="light"] .settings-mobile-nav-toggle:focus-visible:not(.light-theme-skip) {
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.14);
  }
  :root[data-theme="light"] .settings-mobile-nav-toggle img:not(.light-theme-skip) {
    filter: brightness(0);
  }
  :root[data-theme="light"] .settings-mobile-nav-scrim:not(.light-theme-skip) {
    border: 0;
    background: rgba(0, 0, 0, 0.336);
  }
  :root[data-theme="light"] .settings-sidebar:not(.light-theme-skip) {
    border-right-color: rgba(0, 0, 0, 0.14);
    background: radial-gradient(circle at 15% 0, rgba(81, 110, 255, 0.12), transparent 30%),
        #e9e9eb;
    box-shadow: 24px 0 64px rgba(0, 0, 0, 0.189);
  }
  :root[data-theme="light"] .settings-panel-header:not(.light-theme-skip) {
    background: linear-gradient(180deg, #eaebed 74%, rgba(209, 210, 214, 0.94));
  }
  :root[data-theme="light"] .chat-list:not(.light-theme-skip) {
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
  :root[data-theme="light"] .chat-list:not(.light-theme-skip)::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
  }
}
@media (max-width: 540px) {
  :root[data-theme="light"] .settings-select-trigger:not(.light-theme-skip) {
    border: 1px solid rgba(0, 0, 0, 0.16);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="light"] .settings-backdrop:not(.light-theme-skip),
  :root[data-theme="light"] .settings-dialog:not(.light-theme-skip),
  :root[data-theme="light"] .settings-panel:not(.light-theme-skip),
  :root[data-theme="light"] .settings-select-menu:not(.light-theme-skip),
  :root[data-theme="light"] .settings-layer-backdrop:not(.light-theme-skip),
  :root[data-theme="light"] .settings-layer-dialog:not(.light-theme-skip),
  :root[data-theme="light"] .app-shell:not(.light-theme-skip) {
    animation: none !important;
  }
}
:root[data-theme="light"] .conversation-notice:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f2f2f5;
  color: #09090f;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.234);
  filter: blur(8px);
}
:root[data-theme="light"] .conversation-notice.is-visible:not(.light-theme-skip) {
  filter: none;
}
:root[data-theme="light"] .conversation-notice span:not(.light-theme-skip) {
  color: #3d404a;
}
:root[data-theme="light"] .conversation-notice button:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  color: #000000;
}
:root[data-theme="light"] .conversation-notice button:hover:not(.light-theme-skip) {
  border-color: rgba(0, 0, 0, 0.48);
  background: rgba(0, 0, 0, 0.06);
}
:root[data-theme="light"] .conversation-notice .conversation-notice-primary:not(.light-theme-skip) {
  border-color: rgba(138, 168, 255, 0.44);
  background: rgba(104, 128, 238, 0.14);
}
:root[data-theme="light"] .conversation-notice .conversation-notice-dismiss:not(.light-theme-skip) {
  color: rgba(13, 14, 20, 0.804);
}
:root[data-theme="light"] .conversation-notice .conversation-notice-close:not(.light-theme-skip) {
  border: 0;
  background: transparent;
}
:root[data-theme="light"] .conversation-notice .conversation-notice-close img:not(.light-theme-skip) {
  filter: brightness(0);
}
:root[data-theme="light"] .conversation-notice .conversation-notice-close:hover:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.105));
}
:root[data-theme="light"] .attachment-progress:not(.light-theme-skip)::before {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .attachment-progress i:not(.light-theme-skip) {
  background: #8aa8ff;
}
:root[data-theme="light"] .attachment-progress em:not(.light-theme-skip) {
  background: #f2f2f5;
  color: #454952;
}

/* ---------------------------------------------------------------- link-cards.css */

:root[data-theme="light"] .link-cards-heading:not(.light-theme-skip) {
  color: rgba(20, 24, 35, 0.734);
}
:root[data-theme="light"] .link-card:not(.light-theme-skip) {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.944);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
:root[data-theme="light"] .link-card:hover:not(.light-theme-skip),
:root[data-theme="light"] .link-card:focus-visible:not(.light-theme-skip) {
  border-color: rgba(88, 161, 255, 0.55);
  background: rgba(88, 161, 255, 0.09);
  outline: none;
}
:root[data-theme="light"] .link-card-icon:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .link-card-icon img:not(.light-theme-skip) {
  background: #000000;
}
:root[data-theme="light"] .link-card-icon-letter:not(.light-theme-skip) {
  color: #000000;
}
:root[data-theme="light"] .link-card-site-name:not(.light-theme-skip) {
  color: rgba(20, 24, 35, 0.762);
}
:root[data-theme="light"] .link-card-description:not(.light-theme-skip) {
  color: rgba(20, 24, 35, 0.748);
}
:root[data-theme="light"] .link-card.is-loading .link-card-title:not(.light-theme-skip) {
  color: rgba(0, 0, 0, 0.79);
}
:root[data-theme="light"] .page-drop-overlay:not(.light-theme-skip) {
  background: rgba(0, 0, 0, 0.432);
}
:root[data-theme="light"] .page-drop-overlay-card:not(.light-theme-skip) {
  border: 2px dashed rgba(88, 161, 255, 0.8);
  color: #000000;
  background: rgba(0, 0, 0, 0.516);
}
:root[data-theme="light"] .page-drop-overlay-card span:not(.light-theme-skip) {
  color: rgba(20, 24, 35, 0.804);
}

/* ---------------------------------------------------------------- lab-ui.css */

:root[data-theme="light"]:not(.light-theme-skip) {
  --lab-background: #ffffff;
  --lab-foreground: #171717;
  --lab-surface: #f5f5f5;
  --lab-border: #e5e5e5;
  --lab-muted: #5f5f5f;
  --lab-danger: #ce2c31;
  --lab-shadow-raised: 0 0 0 1px oklch(0 0 0 / 0.06), 0 1px 2px oklch(0 0 0 / 0.06), 0 6px 16px -6px oklch(0 0 0 / 0.12);
}
:root[data-theme="light"] .lab-sr-only:not(.light-theme-skip) {
  border: 0 !important;
}
html:root[data-theme="light"] body .send-button.lab-send:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  color: var(--lab-foreground);
  box-shadow: var(--lab-shadow-raised);
  outline: none;
}
html:root[data-theme="light"] body .send-button.lab-send:hover:not(.light-theme-skip) {
  background: var(--lab-background);
}
html:root[data-theme="light"] body .send-button.lab-send.has-message:not(.pause-mode):not(.light-theme-skip) {
  background: var(--lab-foreground);
  color: var(--lab-background);
  box-shadow: none;
}
html:root[data-theme="light"] body .send-button.lab-send.has-message:not(.pause-mode):hover:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 90%, transparent);
}
html:root[data-theme="light"] body .send-button.lab-send:focus-visible:not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
:root[data-theme="light"] .lab-copy-tip:not(.light-theme-skip) {
  background: var(--lab-foreground);
  color: var(--lab-background);
}
html:root[data-theme="light"] body .lab-eye:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  color: var(--lab-muted);
  outline: none;
}
html:root[data-theme="light"] body .lab-eye:hover:not(.light-theme-skip) {
  background: var(--lab-surface);
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-eye[aria-pressed="true"]:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-eye:focus-visible:not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
:root[data-theme="light"] .lab-switch:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 25%, transparent);
}
:root[data-theme="light"] .lab-switch-fill:not(.light-theme-skip) {
  background: var(--lab-foreground);
}
:root[data-theme="light"] .lab-switch-knob:not(.light-theme-skip) {
  background: var(--lab-background);
  box-shadow: var(--lab-shadow-raised);
}
:root[data-theme="light"] .lab-switch-host:has(> input:focus-visible) .lab-switch:not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-segmented:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-raised);
}
html:root[data-theme="light"] body .lab-segmented:has(:focus-visible):not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-segmented > [role="radio"]:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  color: var(--lab-muted);
  box-shadow: none;
  outline: none;
}
html:root[data-theme="light"] body .lab-segmented > [role="radio"]:hover:not(.light-theme-skip) {
  color: var(--lab-foreground);
  background: transparent;
}
:root[data-theme="light"] .lab-segmented-overlay:not(.light-theme-skip) {
  background: var(--lab-foreground);
  color: var(--lab-background);
}
html:root[data-theme="light"] body .lab-menu:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-raised);
  outline: none;
}
html:root[data-theme="light"] body .lab-menu :is([role="menuitem"], [role="menuitemradio"], .model-option, .permission-option, .desktop-menu-item):not(.light-theme-skip) {
  border: 0;
  background: transparent;
}
html:root[data-theme="light"] body .lab-menu :is([role="menuitem"], [role="menuitemradio"], .model-option, .permission-option, .desktop-menu-item):is(:hover, :focus-visible):not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 6%, transparent);
  outline: none;
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-trigger:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  color: var(--lab-foreground);
  box-shadow: var(--lab-shadow-raised);
  outline: none;
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-trigger:focus-visible:not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-trigger > svg:not(.light-theme-skip) {
  color: var(--lab-muted);
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-menu:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-raised);
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-menu [role="option"]:not(.light-theme-skip) {
  border: 0;
  background: transparent;
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .settings-select.lab-select .settings-select-menu [role="option"][data-lab-active]:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 6%, transparent);
}
:root[data-theme="light"] .lab-dialog-backdrop:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-background) 70%, transparent) !important;
}
html:root[data-theme="light"] body .lab-dialog-panel:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-background);
  box-shadow: var(--lab-shadow-raised);
  outline: none;
}
html:root[data-theme="light"] body .lab-dialog-backdrop:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-dialog-panel:not(.light-theme-skip) {
  animation: none !important;
}
html:root[data-theme="light"] body .lab-dialog-io .lab-dialog-panel:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-dialog-io.lab-dialog-panel:not(.light-theme-skip) {
  filter: none !important;
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple :is(h2, h3):not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple p:not(.light-theme-skip) {
  color: var(--lab-muted);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple button:not([class*="close"]):not([class*="toggle"]):not(.lab-eye):not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  color: var(--lab-foreground);
  box-shadow: none;
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple button:not([class*="close"]):not([class*="toggle"]):not(.lab-eye):hover:not(.light-theme-skip) {
  background: var(--lab-border);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple button:is([class$="-ok"], [class$="-settings"], [class*="primary"], [type="submit"]):not(.light-theme-skip) {
  background: var(--lab-foreground);
  color: var(--lab-background);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple button:is([class$="-ok"], [class$="-settings"], [class*="primary"], [type="submit"]):hover:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 85%, transparent);
}
html:root[data-theme="light"] body .lab-dialog-panel.lab-dialog-simple button:focus-visible:not(.light-theme-skip) {
  outline: 2px solid var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-confirm:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-background);
  color: var(--lab-foreground);
  box-shadow: var(--lab-shadow-raised);
  animation: lab-pop-in 200ms var(--lab-ease-out) both;
}
:root[data-theme="light"] .lab-confirm:not(.light-theme-skip)::before {
  background: var(--lab-background);
  box-shadow: -1px -1px 0 0 color-mix(in oklab, var(--lab-foreground) 8%, transparent);
}
html:root[data-theme="light"] body .lab-confirm strong:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-confirm .lab-confirm-title:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-confirm span:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-confirm .lab-confirm-description:not(.light-theme-skip) {
  color: var(--lab-muted);
}
html:root[data-theme="light"] body .lab-confirm button:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .lab-confirm button:hover:not(.light-theme-skip) {
  background: var(--lab-border);
}
html:root[data-theme="light"] body .lab-confirm button.is-danger:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-confirm button[data-lab-confirm]:not(.light-theme-skip) {
  background: var(--lab-danger);
  color: #fff;
}
html:root[data-theme="light"] body .lab-confirm button.is-danger:hover:not(.light-theme-skip),
html:root[data-theme="light"] body .lab-confirm button[data-lab-confirm]:hover:not(.light-theme-skip) {
  background: var(--lab-danger);
}
:root[data-theme="light"] .lab-confirm.is-closing:not(.light-theme-skip) {
  animation: lab-pop-out 150ms var(--lab-ease-out) both;
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="light"] .lab-confirm:not(.light-theme-skip),
  :root[data-theme="light"] .lab-confirm.is-closing:not(.light-theme-skip) {
    animation-name: lab-fade;
  }
}
html:root[data-theme="light"] body .chat-rename-input.lab-inline-input:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-background);
  color: var(--lab-foreground);
  box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--lab-foreground) 25%, transparent);
  outline: none;
}
html:root[data-theme="light"] body .chat-rename-input.lab-inline-input:not(.light-theme-skip)::placeholder {
  color: var(--lab-muted);
}
:root[data-theme="light"] .lab-inline-saved:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .settings-deleted-skeleton :is(i, span):not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 7%, transparent);
  animation: none;
}
html:root[data-theme="light"] body .settings-deleted-skeleton :is(i, span):not(.light-theme-skip)::after {
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--lab-foreground) 6%, transparent), transparent);
  animation: lab-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@starting-style {
  :root[data-theme="light"] .settings-deleted-chat-card:not(.light-theme-skip),
  :root[data-theme="light"] .settings-deleted-toolbar:not(.light-theme-skip) {
    filter: blur(4px);
  }
}
html:root[data-theme="light"] body .message.typing .bubble:has(> .typing-dot):not(.light-theme-skip) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
html:root[data-theme="light"] body .message.typing .typing-dot:not(.light-theme-skip) {
  background: none;
  animation: lab-hop-x 1.5s infinite;
}
html:root[data-theme="light"] body .message.typing .typing-dot:not(.light-theme-skip)::before {
  background: var(--lab-foreground);
  animation: lab-hop-y 1.5s infinite;
}
@media (prefers-reduced-motion: reduce) {
  html:root[data-theme="light"] body .message.typing .typing-dot:not(.light-theme-skip) {
    animation: lab-pulse 1.6s ease-in-out infinite;
  }
  html:root[data-theme="light"] body .message.typing .typing-dot:not(.light-theme-skip)::before {
    animation: none;
  }
}
html:root[data-theme="light"] body .site-update-banner.lab-banner:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-foreground);
  color: var(--lab-background);
  box-shadow: none;
  animation: lab-banner-in 280ms var(--lab-drawer) both;
}
html:root[data-theme="light"] body .site-update-banner.lab-banner .site-update-copy :is(strong, span):not(.light-theme-skip) {
  color: inherit;
}
html:root[data-theme="light"] body .site-update-banner.lab-banner button:not(.light-theme-skip) {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--lab-background) 40%, transparent);
  box-shadow: none;
}
html:root[data-theme="light"] body .site-update-banner.lab-banner button:hover:not(.light-theme-skip) {
  text-decoration-color: var(--lab-background);
}
@media (prefers-reduced-motion: reduce) {
  html:root[data-theme="light"] body .site-update-banner.lab-banner:not(.light-theme-skip) {
    animation-name: lab-fade;
  }
}
html:root[data-theme="light"] body .settings-nav.lab-tabs .settings-nav-button:not(.light-theme-skip) {
  background: transparent;
  color: var(--lab-muted);
  box-shadow: none;
}
html:root[data-theme="light"] body .settings-nav.lab-tabs .settings-nav-button:hover:not(.light-theme-skip),
html:root[data-theme="light"] body .settings-nav.lab-tabs .settings-nav-button.is-active:not(.light-theme-skip),
html:root[data-theme="light"] body .settings-nav.lab-tabs .settings-nav-button[aria-selected="true"]:not(.light-theme-skip) {
  background: transparent;
  color: var(--lab-foreground);
}
:root[data-theme="light"] .lab-tabs-hover:not(.light-theme-skip) {
  background: var(--lab-surface);
}
:root[data-theme="light"] .lab-tabs-line:not(.light-theme-skip) {
  background: var(--lab-foreground);
}
html:root[data-theme="light"] body .settings-upload-button.lab-upload:not(.light-theme-skip) {
  border: 0;
  background: var(--lab-surface);
  color: var(--lab-foreground);
  box-shadow: var(--lab-shadow-raised);
}
html:root[data-theme="light"] body .settings-upload-button.lab-upload[data-lab-upload="checked"]:not(.light-theme-skip) {
  background: var(--lab-foreground);
  color: var(--lab-background);
}
:root[data-theme="light"] .lab-upload-layer:not(.light-theme-skip) {
  filter: blur(4px);
}
:root[data-theme="light"] .lab-upload-layer.is-visible:not(.light-theme-skip) {
  filter: blur(0);
}
html:root[data-theme="light"] body .page-drop-overlay.lab-dropzone:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-background) 70%, transparent);
}
html:root[data-theme="light"] body .page-drop-overlay.lab-dropzone .page-drop-overlay-card:not(.light-theme-skip) {
  border: 0;
  background: color-mix(in oklab, var(--lab-foreground) 2%, var(--lab-background));
  box-shadow: none;
}
html:root[data-theme="light"] body .page-drop-overlay.lab-dropzone .page-drop-overlay-card[data-lab-over]:not(.light-theme-skip) {
  background: color-mix(in oklab, var(--lab-foreground) 5%, var(--lab-background));
}
:root[data-theme="light"] .lab-dz-edge-svg:not(.light-theme-skip) {
  color: color-mix(in oklab, var(--lab-foreground) 45%, transparent);
}
:root[data-theme="light"] [data-lab-over] > .lab-dz-edge-svg:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
:root[data-theme="light"] .lab-dz-edge:not(.light-theme-skip) {
  animation: lab-dz-march 0.6s linear infinite;
}
:root[data-theme="light"] .lab-dz-icon:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
html:root[data-theme="light"] body .page-drop-overlay.lab-dropzone .page-drop-overlay-card strong:not(.light-theme-skip) {
  color: var(--lab-foreground);
}
:root[data-theme="light"] [data-lab-over] .lab-dz-labels > :first-child:not(.light-theme-skip),
:root[data-theme="light"] .page-drop-overlay-card:not([data-lab-over]) .lab-dz-labels > :last-child:not(.light-theme-skip) {
  filter: blur(4px);
}
html:root[data-theme="light"] body .page-drop-overlay.lab-dropzone .page-drop-overlay-card > span:not(.light-theme-skip) {
  color: var(--lab-muted);
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="light"] .lab-dz-edge:not(.light-theme-skip) {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- sidebar */

:root[data-theme="light"] .sidebar {
  background: rgba(186, 222, 255, 0.42) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

/* The mobile drawer's dimming scrim stays dark in both themes so it still
   dims the page behind it, but the sidebar's own translucent glass sits
   above that scrim and blurs it in: a heavy black scrim read as a muddy
   gray wash through the light glass. A lighter scrim keeps the dimming
   without dirtying the sidebar's tint. */
:root[data-theme="light"] .sidebar-scrim {
  background: rgba(15, 23, 42, 0.18) !important;
}

/* On the light blue, secondary text and links need a little more ink. */
:root[data-theme="light"] #accountStatusText,
:root[data-theme="light"] .sidebar .chat-meta {
  color: #3f4957 !important;
}

:root[data-theme="light"] .sidebar-footer a {
  color: #0050c8 !important;
}

/* The new-chat button stays solid blue, so its icon stays white. */
:root[data-theme="light"] .add-chat-button .ui-icon {
  filter: brightness(0) invert(1);
}

/* Admin Portal's card is a dark navy panel with a near-white sheen; the
   navy is chromatic so it survives inversion untouched, and the sheen
   inverts to a near-black fleck on top of it. Both read as a stray dark
   smudge on the light sidebar, so it gets its own light-appropriate card
   instead of an inverted dark one. */
:root[data-theme="light"] .admin-nav-button {
  border-color: rgba(80, 130, 255, 0.22) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(116, 171, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 255, 0.16), rgba(255, 255, 255, 0.7)) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.6),
    0 14px 30px rgba(31, 74, 148, 0.16) !important;
}

:root[data-theme="light"] .admin-nav-button:hover,
:root[data-theme="light"] .admin-nav-button:focus-visible,
:root[data-theme="light"] .admin-nav-button.active {
  border-color: rgba(80, 130, 255, 0.34) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(116, 171, 255, 0.4), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 255, 0.22), rgba(255, 255, 255, 0.75)) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.65),
    0 18px 38px rgba(31, 74, 148, 0.22) !important;
}

/* Switching themes changes every color at once; transitions would stagger it. */
:root[data-theme="light"].theme-switching *,
:root.theme-switching *,
:root.theme-switching *::before,
:root.theme-switching *::after {
  transition: none !important;
}
