#file-status{font-size:.8rem;align-self:center}
.attachment-download{display:block;padding:12px;border:1px solid #ac864b;border-radius:10px;font-weight:700;color:inherit;overflow-wrap:anywhere}
#file-preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid #ac864b;border-radius:12px}
#file-preview[hidden]{display:none}
#file-name{flex:1;min-width:120px;overflow-wrap:anywhere;font-size:.85rem}
#file-preview button{min-height:44px}
@media(max-width:600px){#file-status{max-width:90px}}

html[data-season="christmas"] body > header {
  background: radial-gradient(ellipse at top left, #2b73482d, transparent 70%);
}
html[data-season="christmas"] #landing-chat {
  border-color: #548264;
  background: radial-gradient(ellipse at top right, #b130391f, transparent 66%), #f4f8ee;
}
html[data-season="christmas"][data-theme="dark"] #landing-chat {
  background: radial-gradient(ellipse at top right, #b1303938, transparent 66%), #22342b;
  border-color: #729d80;
}
html[data-season="christmas"] .seasonal-welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 22px;
  background: #2b73481c;
  color: #235435;
}
html[data-season="christmas"][data-theme="dark"] .seasonal-welcome {
  background: #9fceaa25;
  color: #d4ebd7;
}
html[data-season="christmas"] :is(header, #landing-chat, #welcome-note) .robot-hat {
  top: -7px;
  left: 10px;
  width: 38px;
  height: 30px;
  border: 0;
  background: linear-gradient(135deg, #c84452, #922635);
  border-radius: 80% 22% 16% 16% / 95% 45% 15% 15%;
}
html[data-season="christmas"] :is(header, #landing-chat, #welcome-note) .robot-hat::before {
  content: "";
  position: absolute;
  right: -3px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff6ea;
}
html[data-season="christmas"] :is(header, #landing-chat, #welcome-note) .robot-hat::after {
  left: -2px;
  bottom: -1px;
  width: 42px;
  height: 7px;
  background: #fff6ea;
}

#live-dialog {
  width: min(34rem, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: auto;
  border: 1px solid #729d80;
  border-radius: 16px;
  background: #fffaf2;
  color: #352c25;
  padding: 18px;
}
[data-theme="dark"] #live-dialog {
  background: #222829;
  color: #f3ebdc;
}
#live-dialog::backdrop { background: #111a; }
.live-languages { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
#live-dialog label { display: grid; gap: 4px; }
#live-result { white-space: pre-wrap; overflow-wrap: anywhere; }
