/* Blue Glass — a clean ink-blue canvas with visibly translucent sapphire surfaces.
   No khaki, olive, texture, aurora, or decorative wallpaper. */
body[data-theme="blueglass"]{
  --bg:#06111f;--panel:rgba(12,44,79,.58);--panel2:rgba(18,60,104,.46);--line:rgba(141,205,255,.34);--text:#f7fbff;--muted:#b7d3ed;--accent:#63b8ff;--accent2:#9bd5ff;--gold:#9bd5ff;--cyan-glow:rgba(87,178,255,.28);--ice-border:rgba(157,215,255,.38);
  background:#06111f;
}
body[data-theme="blueglass"] .aurora{display:none}
body[data-theme="blueglass"] aside{background:linear-gradient(180deg,rgba(14,55,96,.72),rgba(5,25,50,.8));border-right:1px solid rgba(173,222,255,.32);box-shadow:10px 0 34px rgba(0,8,22,.28),inset -1px 0 rgba(210,239,255,.12);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body[data-theme="blueglass"] header,body[data-theme="blueglass"] footer{background:rgba(7,30,60,.62);border-color:rgba(173,222,255,.25);box-shadow:0 8px 28px rgba(0,8,22,.22);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body[data-theme="blueglass"] .composer,body[data-theme="blueglass"] .panel,body[data-theme="blueglass"] .message-body{background:linear-gradient(135deg,rgba(30,90,146,.52),rgba(8,37,73,.7));border-color:rgba(175,224,255,.36);box-shadow:0 14px 36px rgba(0,8,23,.28),inset 0 1px rgba(255,255,255,.16);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body[data-theme="blueglass"] .composer{background:linear-gradient(135deg,rgba(34,101,163,.6),rgba(8,39,78,.78))}
body[data-theme="blueglass"] .message.user .message-body{background:linear-gradient(135deg,rgba(48,122,190,.5),rgba(11,48,93,.72))}
body[data-theme="blueglass"] .new,body[data-theme="blueglass"] #send{background:linear-gradient(135deg,#b9e4ff,#438ee6);color:#041426;box-shadow:0 8px 20px rgba(45,137,229,.28),inset 0 1px rgba(255,255,255,.72)}
body[data-theme="blueglass"] .secondary,body[data-theme="blueglass"] select,body[data-theme="blueglass"] input,body[data-theme="blueglass"] textarea{background:rgba(28,79,130,.42);border-color:rgba(175,224,255,.28)}
body[data-theme="blueglass"] .welcome,body[data-theme="blueglass"] .prompts button{background:linear-gradient(135deg,rgba(30,91,147,.52),rgba(7,32,64,.72));border-color:rgba(175,224,255,.32);box-shadow:0 20px 48px rgba(0,9,25,.3),inset 0 1px rgba(255,255,255,.16)}
body[data-theme="blueglass"] .brand b{background:linear-gradient(135deg,#fff,#c6e9ff 55%,#76bbff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}

.theme-settings{margin:0 0 20px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}
.theme-settings h3,.theme-settings p{margin:0 0 5px}.theme-settings p{color:var(--muted);font-size:12px}
.theme-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.theme-choice{padding:7px;text-align:left;border:1px solid var(--line);border-radius:11px;background:rgba(0,0,0,.14);color:var(--text);cursor:pointer}
.theme-choice.selected{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent)}
.theme-choice b{display:flex;align-items:center;gap:7px;padding:6px 3px 2px;font-size:11px}.theme-choice em{font-style:normal;color:var(--muted)}
.theme-preview{display:flex;height:48px;overflow:hidden;border-radius:7px;background:#07111f;border:1px solid rgba(255,255,255,.12)}
.theme-preview i:first-child{width:24%;background:rgba(4,13,25,.92)}.theme-preview i:nth-child(2){width:52%;margin:9px 5px;background:rgba(72,169,255,.15);border:1px solid rgba(125,190,255,.25);border-radius:5px}.theme-preview i:last-child{width:14%;margin:15px 5px 15px 0;background:#48a9ff;border-radius:5px}
.theme-preview-lixa .theme-preview,.theme-preview-modern .theme-preview{background:radial-gradient(circle at 70% 0,#075985,#02050e)}
.theme-preview-classic .theme-preview{background:#f5f1e8}.theme-preview-classic .theme-preview i:first-child{background:#ddd5c6}.theme-preview-classic .theme-preview i:nth-child(2){background:#fff;border-color:#bbb}.theme-preview-classic .theme-preview i:last-child{background:#444}
.theme-preview-cyberpunk .theme-preview{background:linear-gradient(135deg,#170022,#02030b)}.theme-preview-cyberpunk .theme-preview i:last-child{background:#ff29dc}
@media(max-width:520px){.theme-choices{grid-template-columns:1fr 1fr}}

/* Lixa / Modern Icy Glossy Blue Aesthetic
   Sharp futuristic cybernetic glassmorphism, luminous neural filaments, and electric cyan accents. */
body[data-theme="lixa"],
body[data-theme="modern"]{
  --bg:#02050e;
  --panel:rgba(5,14,28,0.85);
  --panel2:rgba(8,22,44,0.75);
  --line:rgba(56,189,248,0.25);
  --text:#f0f8ff;
  --muted:#7dd3fcb3;
  --accent:#00d2ff;
  --accent2:#00f0ff;
  --gold:#38bdf8;
  --cyan-glow:rgba(0,240,255,0.45);
  --ice-border:rgba(56,189,248,0.35);
  background:
    radial-gradient(circle at 75% -8%,rgba(0,210,255,0.26) 0,transparent 42%),
    radial-gradient(circle at 10% 88%,rgba(0,140,255,0.2) 0,transparent 38%),
    radial-gradient(circle at 50% 50%,rgba(0,40,90,0.25) 0,transparent 65%),
    #02050e;
}
body[data-theme="lixa"] .aurora,
body[data-theme="modern"] .aurora{
  opacity:.95;
  background:
    radial-gradient(ellipse at 70% 0%,rgba(0,240,255,0.24),transparent 42%),
    radial-gradient(ellipse at 15% 85%,rgba(14,165,233,0.2),transparent 38%);
}
body[data-theme="lixa"] aside,
body[data-theme="modern"] aside{
  background:linear-gradient(180deg,rgba(6,16,32,0.94) 0%,rgba(2,7,18,0.97) 100%);
  padding:18px 12px;
  border-right-color:rgba(56,189,248,0.32);
  box-shadow:4px 0 35px rgba(0,0,0,0.6),inset -1px 0 0 rgba(0,240,255,0.12);
  backdrop-filter:blur(28px);
}
body[data-theme="lixa"] .brand,
body[data-theme="modern"] .brand{
  padding:3px 8px 16px;
}
body[data-theme="lixa"] .mark,
body[data-theme="modern"] .mark{
  border-radius:11px;
  background:linear-gradient(135deg,#00f0ff 0%,#0066ff 100%);
  color:#020612;
  font-weight:800;
  box-shadow:0 0 28px rgba(0,240,255,0.55),inset 0 1px 0 rgba(255,255,255,0.6);
  border:1px solid rgba(165,243,252,0.7);
}
body[data-theme="lixa"] .new,
body[data-theme="modern"] .new{
  background:linear-gradient(135deg,rgba(0,240,255,0.25) 0%,rgba(0,110,255,0.32) 100%);
  border-color:rgba(0,240,255,0.55);
  color:#ffffff;
  font-weight:700;
  text-align:center;
  padding:12px;
  box-shadow:0 0 24px rgba(0,240,255,0.28),inset 0 1px 0 rgba(255,255,255,0.35);
  letter-spacing:.02em;
}
body[data-theme="lixa"] .new:hover,
body[data-theme="modern"] .new:hover{
  border-color:#00f0ff;
  box-shadow:0 0 32px rgba(0,240,255,0.48),inset 0 1px 0 rgba(255,255,255,0.5);
  transform:translateY(-1px);
}
.studio-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin:14px 0;
}
.studio-nav button{
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(56,189,248,0.2);
  border-radius:10px;
  padding:9px 10px;
  background:linear-gradient(145deg,rgba(8,24,48,0.6) 0%,rgba(4,14,30,0.7) 100%);
  color:var(--muted);
  font:600 12px inherit;
  cursor:pointer;
  text-align:left;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
  transition:all .18s ease;
}
.studio-nav button:hover{
  color:#ffffff;
  background:linear-gradient(145deg,rgba(0,240,255,0.18) 0%,rgba(8,28,56,0.85) 100%);
  border-color:#00f0ff;
  box-shadow:0 0 18px rgba(0,240,255,0.3),inset 0 1px 0 rgba(255,255,255,0.25);
  transform:translateY(-1px);
}
body[data-theme="lixa"] .sidebar-section:first-of-type,
body[data-theme="modern"] .sidebar-section:first-of-type{
  margin-top:4px;
}
body[data-theme="lixa"] .sidebar-section summary,
body[data-theme="modern"] .sidebar-section summary{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7dd3fc;
}
body[data-theme="lixa"] header,
body[data-theme="modern"] header{
  height:68px;
  padding:0 24px;
  background:linear-gradient(180deg,rgba(4,11,24,0.88) 0%,rgba(2,7,16,0.8) 100%);
  border-bottom-color:rgba(56,189,248,0.3);
  box-shadow:0 8px 32px rgba(0,0,0,0.45),0 1px 0 rgba(0,240,255,0.15);
  backdrop-filter:blur(24px);
}
body[data-theme="lixa"] .conversation-heading #status,
body[data-theme="modern"] .conversation-heading #status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#7dd3fc;
}
body[data-theme="lixa"] .conversation-heading #status:before,
body[data-theme="modern"] .conversation-heading #status:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#00f0ff;
  box-shadow:0 0 12px #00f0ff;
}
body[data-theme="lixa"] .header-actions,
body[data-theme="modern"] .header-actions{
  gap:7px;
}
body[data-theme="lixa"] .header-actions .secondary,
body[data-theme="modern"] .header-actions .secondary{
  border-radius:10px;
  padding:8px 12px;
  font-size:12px;
  background:linear-gradient(145deg,rgba(0,210,255,0.12) 0%,rgba(6,18,36,0.7) 100%);
  border-color:rgba(56,189,248,0.32);
  color:#e0f2fe;
}
body[data-theme="lixa"] .header-actions .secondary:hover,
body[data-theme="modern"] .header-actions .secondary:hover{
  border-color:#00f0ff;
  color:#ffffff;
  box-shadow:0 0 18px rgba(0,240,255,0.35),inset 0 1px 0 rgba(255,255,255,0.25);
}
body[data-theme="lixa"] #privacyMode,
body[data-theme="modern"] #privacyMode{
  max-width:150px;
}
body[data-theme="lixa"] .messages,
body[data-theme="modern"] .messages{
  padding-top:32px;
  padding-bottom:32px;
}
body[data-theme="lixa"] .welcome,
body[data-theme="modern"] .welcome{
  max-width:700px;
  padding:34px 28px;
  border:1px solid rgba(56,189,248,0.35);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(6,20,42,0.8) 0%,rgba(3,10,22,0.9) 100%);
  box-shadow:0 25px 85px rgba(0,0,0,0.7),0 0 40px rgba(0,210,255,0.15),inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter:blur(28px);
}
body[data-theme="lixa"] .welcome .orb,
body[data-theme="modern"] .welcome .orb{
  background:linear-gradient(145deg,#003b6f 0%,#021226 100%);
  border:1px solid rgba(0,240,255,0.6);
  box-shadow:0 0 45px rgba(0,240,255,0.5),inset 0 0 20px rgba(0,240,255,0.3),0 12px 30px rgba(0,0,0,0.5);
  color:#00f0ff;
}
body[data-theme="lixa"] .message,
body[data-theme="modern"] .message{
  grid-template-columns:38px minmax(0,1fr);
  gap:14px;
  margin-bottom:24px;
}
body[data-theme="lixa"] .avatar,
body[data-theme="modern"] .avatar{
  border-radius:12px;
  background:linear-gradient(135deg,#0a2444 0%,#041224 100%);
  color:#7dd3fc;
  border:1px solid rgba(56,189,248,0.35);
  box-shadow:0 4px 14px rgba(0,0,0,0.4);
}
body[data-theme="lixa"] .assistant .avatar,
body[data-theme="modern"] .assistant .avatar{
  background:linear-gradient(135deg,#00f0ff 0%,#0066ff 100%);
  color:#020612;
  font-weight:800;
  border:1px solid rgba(165,243,252,0.7);
  box-shadow:0 0 24px rgba(0,240,255,0.55),inset 0 1px 0 #ffffff;
}
body[data-theme="lixa"] .message-body,
body[data-theme="modern"] .message-body{
  padding:16px 42px 15px 18px;
  border:1px solid rgba(56,189,248,0.3);
  border-radius:6px 18px 18px 18px;
  background:linear-gradient(135deg,rgba(6,18,38,0.85) 0%,rgba(3,10,22,0.92) 100%);
  box-shadow:0 12px 36px rgba(0,0,0,0.5),0 0 20px rgba(0,210,255,0.1),inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter:blur(20px);
}
body[data-theme="lixa"] .message.user .message-body,
body[data-theme="modern"] .message.user .message-body{
  background:linear-gradient(135deg,rgba(8,28,56,0.88) 0%,rgba(4,16,34,0.94) 100%);
  border-color:rgba(0,240,255,0.45);
  border-radius:18px 6px 18px 18px;
  box-shadow:0 12px 36px rgba(0,0,0,0.55),0 0 24px rgba(0,210,255,0.18),inset 0 1px 0 rgba(255,255,255,0.25);
}
body[data-theme="lixa"] footer,
body[data-theme="modern"] footer{
  padding-bottom:18px;
  background:linear-gradient(transparent,rgba(2,5,14,0.95) 30%);
}
body[data-theme="lixa"] .composer,
body[data-theme="modern"] .composer{
  border-radius:20px;
  background:linear-gradient(145deg,rgba(7,20,40,0.9) 0%,rgba(3,10,22,0.96) 100%);
  border-color:rgba(56,189,248,0.45);
  box-shadow:0 20px 60px rgba(0,0,0,0.8),0 0 28px rgba(0,210,255,0.2),inset 0 1px 0 rgba(255,255,255,0.2);
  backdrop-filter:blur(28px);
}
body[data-theme="lixa"] .composer:focus-within,
body[data-theme="modern"] .composer:focus-within{
  border-color:#00f0ff;
  box-shadow:0 0 35px rgba(0,240,255,0.45),0 22px 65px rgba(0,0,0,0.88),inset 0 1px 0 rgba(255,255,255,0.35);
}
body[data-theme="lixa"] .composer #send,
body[data-theme="modern"] .composer #send{
  border-radius:13px;
  background:linear-gradient(135deg,#00f0ff 0%,#0066ff 100%);
  color:#020612;
  font-weight:800;
  box-shadow:0 0 22px rgba(0,240,255,0.6),inset 0 1px 0 rgba(255,255,255,0.7);
}
body[data-theme="lixa"] .panel,
body[data-theme="modern"] .panel{
  background:linear-gradient(180deg,rgba(5,14,28,0.96) 0%,rgba(2,7,16,0.98) 100%);
  border-left-color:rgba(56,189,248,0.35);
  box-shadow:-20px 0 80px rgba(0,0,0,0.85),inset 1px 0 0 rgba(0,240,255,0.12);
  backdrop-filter:blur(28px);
}
body[data-theme="lixa"] .panel-head,
body[data-theme="modern"] .panel-head{
  position:sticky;
  top:-26px;
  z-index:2;
  padding:6px 0 16px;
  background:rgba(5,14,28,0.96);
}
body[data-theme="lixa"] .setting-note,
body[data-theme="modern"] .setting-note{
  border:1px solid rgba(56,189,248,0.25);
  border-radius:10px;
  padding:12px;
  margin-top:12px;
  background:rgba(8,24,48,0.4);
}
body[data-theme="lixa"] progress,
body[data-theme="modern"] progress{
  accent-color:#00f0ff;
}
body[data-theme="lixa"] .new:hover,
body[data-theme="lixa"] .secondary:hover,
body[data-theme="modern"] .new:hover,
body[data-theme="modern"] .secondary:hover{
  border-color:rgba(0,240,255,0.55);
}
body[data-theme="lixa"] .prompts button,
body[data-theme="modern"] .prompts button{
  background:linear-gradient(145deg,rgba(7,20,40,0.7) 0%,rgba(4,12,26,0.8) 100%);
  color:#bae6fd;
  border-color:rgba(56,189,248,0.3);
}
body[data-theme="lixa"] .prompts button:hover,
body[data-theme="modern"] .prompts button:hover{
  border-color:#00f0ff;
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 0 22px rgba(0,240,255,0.3),inset 0 1px 0 rgba(255,255,255,0.35);
}
body[data-theme="lixa"] .codebox,
body[data-theme="modern"] .codebox{
  border-color:rgba(56,189,248,0.38);
  background:linear-gradient(145deg,#030814 0%,#071326 100%);
  box-shadow:0 14px 40px rgba(0,0,0,0.65),0 0 20px rgba(0,210,255,0.12),inset 0 1px 0 rgba(255,255,255,0.1);
}
body[data-theme="lixa"] .codebox header,
body[data-theme="modern"] .codebox header{
  background:linear-gradient(90deg,rgba(10,28,54,0.7) 0%,rgba(5,14,30,0.7) 100%);
  border-bottom-color:rgba(56,189,248,0.25);
}
body[data-theme="lixa"] .codebox header span,
body[data-theme="modern"] .codebox header span{
  color:#7dd3fc;
}
body[data-theme="lixa"] .codebox header button,
body[data-theme="modern"] .codebox header button{
  background:rgba(8,24,48,0.6);
  color:#bae6fd;
  border-color:rgba(56,189,248,0.3);
}
body[data-theme="lixa"] .content>pre,
body[data-theme="modern"] .content>pre{
  background:#030712;
  border-color:rgba(56,189,248,0.3);
}
body[data-theme="lixa"] footer>small,
body[data-theme="modern"] footer>small{
  color:#64748b;
}
body[data-theme="lixa"] .privacy-review,
body[data-theme="modern"] .privacy-review{
  border-color:rgba(0,240,255,0.5);
  background:rgba(4,22,36,0.92);
}
body[data-theme="lixa"] .approval-card,
body[data-theme="modern"] .approval-card{
  border-color:rgba(56,189,248,0.5);
  background:rgba(5,18,34,0.94);
}
body[data-theme="lixa"] .approval-card b,
body[data-theme="modern"] .approval-card b{
  color:#7dd3fc;
}
body[data-theme="lixa"] .idea-note,
body[data-theme="modern"] .idea-note{
  background:linear-gradient(145deg,rgba(8,24,48,0.85) 0%,rgba(4,14,30,0.92) 100%);
  border-color:rgba(56,189,248,0.35);
}
body[data-theme="lixa"] .idea-note.pinned,
body[data-theme="modern"] .idea-note.pinned{
  border-color:rgba(0,240,255,0.65);
}
body[data-theme="lixa"] .aurora:before,
body[data-theme="modern"] .aurora:before{
  background:repeating-radial-gradient(ellipse at 30% 50%,transparent 0 42px,rgba(0,240,255,0.15) 45px 47px,transparent 51px 78px,rgba(56,189,248,0.13) 82px 84px,transparent 88px 120px);
}
body[data-theme="lixa"] .aurora:after,
body[data-theme="modern"] .aurora:after{
  background:repeating-radial-gradient(ellipse at 70% 45%,transparent 0 55px,rgba(56,189,248,0.15) 58px 60px,transparent 64px 95px,rgba(0,240,255,0.13) 99px 102px,transparent 106px 140px);
}
body[data-theme="lixa"] .aurora i:nth-child(1),
body[data-theme="modern"] .aurora i:nth-child(1){color:#00f0ff}
body[data-theme="lixa"] .aurora i:nth-child(2),
body[data-theme="modern"] .aurora i:nth-child(2){color:#38bdf8}
body[data-theme="lixa"] .aurora i:nth-child(3),
body[data-theme="modern"] .aurora i:nth-child(3){color:#00d2ff}
body[data-theme="lixa"] .aurora i:nth-child(4),
body[data-theme="modern"] .aurora i:nth-child(4){color:#70e1ff}
body[data-theme="lixa"] .backdrop,
body[data-theme="modern"] .backdrop{
  background:rgba(1,3,10,0.8);
}
body[data-theme="lixa"] .synthesis-card,
body[data-theme="modern"] .synthesis-card{
  border-color:rgba(0,240,255,0.48);
  background:linear-gradient(120deg,#041224,#020914,#061830);
  box-shadow:0 0 28px rgba(0,210,255,0.22);
}
body[data-theme="lixa"] .synthesis-orb,
body[data-theme="modern"] .synthesis-orb{
  background:rgba(0,240,255,0.2);
  color:#00f0ff;
}
@keyframes synthesis-pulse-modern{
  50%{transform:scale(1.08);box-shadow:0 0 26px rgba(0,240,255,0.65)}
}
body[data-theme="lixa"] .synthesis-orb,
body[data-theme="modern"] .synthesis-orb{
  animation:synthesis-pulse-modern 1.5s ease-in-out infinite;
}
body[data-theme="lixa"] .startup,
body[data-theme="modern"] .startup{
  background:rgba(2,5,14,0.88);
}
body[data-theme="lixa"] .startup-card,
body[data-theme="modern"] .startup-card{
  border-color:rgba(0,240,255,0.38);
  background:linear-gradient(145deg,rgba(8,24,48,0.92) 0%,rgba(3,10,22,0.96) 100%);
  box-shadow:0 30px 100px rgba(0,0,0,0.85),0 0 45px rgba(0,240,255,0.22),inset 0 1px 0 rgba(255,255,255,0.25);
}
body[data-theme="lixa"] .collab-event,
body[data-theme="modern"] .collab-event{
  background:rgba(8,24,48,0.5);
}
body[data-theme="lixa"] .consult,
body[data-theme="modern"] .consult{
  background:rgba(8,24,48,0.5);
}
body[data-theme="lixa"] .command-item,
body[data-theme="modern"] .command-item{
  background:rgba(8,22,44,0.6);
}
body[data-theme="lixa"] .command-item:hover,
body[data-theme="modern"] .command-item:hover{
  border-color:#00f0ff;
  box-shadow:0 0 16px rgba(0,240,255,0.25);
}
body[data-theme="lixa"] .memory-item,
body[data-theme="modern"] .memory-item{
  background:var(--panel2);
}
body[data-theme="lixa"] .memory-item:hover,
body[data-theme="modern"] .memory-item:hover{
  border-color:#00f0ff;
}

@media(max-width:700px){
  body[data-theme="lixa"] header,
  body[data-theme="modern"] header{height:58px;padding:0 8px}
  body[data-theme="lixa"] header h1,
  body[data-theme="modern"] header h1{max-width:35vw}
  body[data-theme="lixa"] .conversation-heading #status,
  body[data-theme="modern"] .conversation-heading #status{max-width:40vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-theme="lixa"] .header-actions select,
  body[data-theme="modern"] .header-actions select{display:none}
  body[data-theme="lixa"] .header-actions,
  body[data-theme="modern"] .header-actions{gap:2px}
  body[data-theme="lixa"] #themeBtn,
  body[data-theme="modern"] #themeBtn,
  body[data-theme="lixa"] #settingsBtn,
  body[data-theme="modern"] #settingsBtn{font-size:19px}
  body[data-theme="lixa"] .messages,
  body[data-theme="modern"] .messages{padding:17px 11px 24px}
  body[data-theme="lixa"] .message,
  body[data-theme="modern"] .message{grid-template-columns:30px minmax(0,1fr);gap:8px;margin-bottom:16px}
  body[data-theme="lixa"] .avatar,
  body[data-theme="modern"] .avatar{width:29px;height:29px;font-size:12px}
  body[data-theme="lixa"] .message-body,
  body[data-theme="modern"] .message-body{padding:12px 35px 11px 12px;border-radius:4px 14px 14px 14px}
  body[data-theme="lixa"] footer,
  body[data-theme="modern"] footer{padding:8px 10px max(10px,env(safe-area-inset-bottom));position:relative}
  body[data-theme="lixa"] .composer,
  body[data-theme="modern"] .composer{border-radius:17px;padding:6px}
  body[data-theme="lixa"] .studio-nav,
  body[data-theme="modern"] .studio-nav{grid-template-columns:1fr}
  body[data-theme="lixa"] .studio-nav button,
  body[data-theme="modern"] .studio-nav button{font-size:13px;padding:10px}
  body[data-theme="lixa"] .prompts,
  body[data-theme="modern"] .prompts{gap:8px}
  body[data-theme="lixa"] .welcome,
  body[data-theme="modern"] .welcome{margin:1vh auto;padding:20px}
  .studio-nav{
    position:absolute;
    left:10px;
    right:10px;
    bottom:max(12px,env(safe-area-inset-bottom));
    z-index:11;
    grid-template-columns:repeat(6,1fr);
    margin:0;
    padding:7px;
    border:1px solid rgba(56,189,248,0.42);
    border-radius:18px;
    background:rgba(4,14,30,0.95);
    backdrop-filter:blur(24px);
    box-shadow:0 16px 50px rgba(0,0,0,0.85),0 0 25px rgba(0,210,255,0.22);
  }
  .studio-nav button{display:grid;place-items:center;gap:1px;padding:5px;color:#bae6fd;font-size:17px}
  .studio-nav button span{font-size:8px;letter-spacing:.02em}
  .shell.menu .studio-nav{display:none}
  aside{padding-bottom:94px!important}
}

/* Alternate Cyberpunk Neon Theme */
body[data-theme="cyberpunk"]{--bg:#05070d;--panel:#0a0e1ae8;--panel2:#101726;--line:#00ffcc22;--text:#e8f4fc;--muted:#69829c;--accent:#00ffcc;--accent2:#ff007f;--gold:#ffe600;background:radial-gradient(circle at 80% -15%,#ff007f30,transparent 40%),radial-gradient(circle at 10% 90%,#00ffcc25,transparent 35%),#05070d}
body[data-theme="cyberpunk"] .aurora{opacity:.45;background:radial-gradient(ellipse at 65% 10%,#ff007f35,transparent 42%),radial-gradient(ellipse at 15% 75%,#00ffcc2a,transparent 38%)}
body[data-theme="cyberpunk"] aside{background:linear-gradient(180deg,#0a0f1df8,#060912f8);padding:18px 12px;border-right-color:#00ffcc30}
body[data-theme="cyberpunk"] .brand{padding:3px 8px 16px}
body[data-theme="cyberpunk"] .mark{border-radius:10px;background:linear-gradient(135deg,#ff007f,#7928ca);box-shadow:0 0 25px #ff007f66}
body[data-theme="cyberpunk"] .new{background:linear-gradient(135deg,#00f5a0,#00d9f5);color:#021114;font-weight:700;text-align:center;padding:12px;border-color:#00ffcc88;box-shadow:0 0 20px #00ffcc44}
body[data-theme="cyberpunk"] header{height:68px;padding:0 22px;background:#060a14cc;border-bottom-color:#00ffcc28}
body[data-theme="cyberpunk"] .header-actions .secondary{border-color:#00ffcc44;color:#00ffcc}
body[data-theme="cyberpunk"] .header-actions .secondary:hover{border-color:#ff007f;color:#ff007f;box-shadow:0 0 15px #ff007f44}
body[data-theme="cyberpunk"] .welcome{max-width:700px;padding:28px;border:1px solid #00ffcc33;border-radius:20px;background:linear-gradient(145deg,#0b1424b5,#060a14c2);box-shadow:0 20px 60px #00000088,0 0 30px #00ffcc15}
body[data-theme="cyberpunk"] .welcome .orb{background:linear-gradient(145deg,#ff007f,#7928ca);color:#fff;box-shadow:0 0 35px #ff007f88}
body[data-theme="cyberpunk"] .avatar{border-radius:10px;background:#101726;color:#00ffcc;border:1px solid #00ffcc33}
body[data-theme="cyberpunk"] .assistant .avatar{background:linear-gradient(145deg,#ff007f,#7928ca);color:#fff;box-shadow:0 0 18px #ff007f66}
body[data-theme="cyberpunk"] .message-body{padding:15px 42px 14px 16px;border:1px solid #00ffcc20;border-radius:6px 16px 16px 16px;background:linear-gradient(135deg,#0b1322aa,#070c18c0);box-shadow:0 10px 25px #0004}
body[data-theme="cyberpunk"] .message.user .message-body{background:linear-gradient(135deg,#122332aa,#0d1a26bb);border-color:#00ffcca0;box-shadow:0 0 15px #00ffcc18}
body[data-theme="cyberpunk"] .composer{border-radius:18px;background:#0a101ee8;border-color:#00ffcc55;box-shadow:0 18px 48px #0009,0 0 20px #00ffcc18}
body[data-theme="cyberpunk"] .composer:focus-within{border-color:#00ffcc;box-shadow:0 0 25px #00ffcc44,0 18px 48px #0009}
body[data-theme="cyberpunk"] .composer #send{border-radius:12px;background:linear-gradient(135deg,#ff007f,#00ffcc);color:#05070d;font-weight:700;box-shadow:0 0 18px #ff007f88}
body[data-theme="cyberpunk"] .panel{background:#080d19f8;border-left-color:#00ffcc30;box-shadow:-20px 0 70px #000c}
body[data-theme="cyberpunk"] .aurora i:nth-child(1){color:#ff007f}
body[data-theme="cyberpunk"] .aurora i:nth-child(2){color:#00ffcc}
body[data-theme="cyberpunk"] .aurora i:nth-child(3){color:#ffe600}
body[data-theme="cyberpunk"] .aurora i:nth-child(4){color:#7928ca}
body[data-theme="cyberpunk"] .synthesis-card{border-color:#00ffcc55;background:linear-gradient(120deg,#140a1c,#0a0e1a,#0c1720)}
body[data-theme="cyberpunk"] .synthesis-orb{background:#ff007f33;color:#ff007f}
