:root {
  --accent: #c6a66a;
  --accent-strong: #a88443;
  --side-w: 300px;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[data-theme="dark"] {
  --bg: #11110f;
  --bg-soft: #171714;
  --panel: #1a1a17;
  --panel-2: #20201c;
  --line: rgba(237, 229, 211, .11);
  --line-strong: rgba(198, 166, 106, .34);
  --text: #f0ece3;
  --text-soft: #c4beb2;
  --text-faint: #918b80;
  --inverse: #171713;
  --shadow: 0 24px 64px rgba(0, 0, 0, .32);
}

html[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-soft: #ece8df;
  --panel: #fbfaf6;
  --panel-2: #eeebe3;
  --line: rgba(43, 40, 33, .11);
  --line-strong: rgba(151, 116, 51, .33);
  --text: #24231f;
  --text-soft: #575249;
  --text-faint: #7b756a;
  --inverse: #fffdf8;
  --shadow: 0 24px 64px rgba(63, 53, 36, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  transition: color .25s, background .25s;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.load-bar{position:fixed;left:0;top:0;width:0;height:2px;z-index:1000;background:var(--accent);opacity:0;transition:width .25s var(--ease),opacity .2s}.load-bar.active{width:72%;opacity:1;animation:load-progress 1.4s ease-in-out infinite}.load-bar.done{width:100%;opacity:0}@keyframes load-progress{0%{transform:translateX(-60%)}100%{transform:translateX(140%)}}
.loading-screen{position:fixed;inset:0;z-index:900;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:var(--text-soft);background:var(--bg);font:500 11px var(--mono);letter-spacing:.08em;transition:opacity .3s,visibility .3s}.loading-screen.hidden{opacity:0;visibility:hidden}.loader-mark{width:48px;height:48px;overflow:hidden;border-radius:11px;animation:loader-breathe 1.1s ease-in-out infinite}.loader-mark img{width:100%;height:100%}@keyframes loader-breathe{50%{transform:scale(.92);opacity:.55}}
.skeleton{position:relative;overflow:hidden;background:var(--panel-2)!important;color:transparent!important;border-color:transparent!important}.skeleton::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--line),transparent);animation:shimmer 1.2s infinite}@keyframes shimmer{to{transform:translateX(100%)}}
.button-loading{pointer-events:none;opacity:.65}.button-loading::after{content:"";display:inline-block;width:10px;height:10px;margin-left:7px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

button { border: 0; color: inherit; background: none; font: inherit; cursor: pointer; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }

.aurora { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; }
.aurora .a1 {
  width: 50vw; height: 50vw; right: -25vw; top: -32vw;
  border-radius: 50%;
  background: rgba(198, 166, 106, .09);
  filter: blur(80px);
}
.aurora .a2 {
  width: 1px; height: 100%; left: 58%; top: 0;
  background: linear-gradient(transparent, var(--line), transparent);
}
.aurora .a3, .aurora .noise { display: none; }

.app { position: relative; z-index: 1; display: flex; height: 100dvh; }

/* Sidebar */
.sidebar {
  width: var(--side-w);
  flex: 0 0 var(--side-w);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  z-index: 40;
}

.side-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 25px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 29px; letter-spacing: -.01em; }
.brand-edition { margin-top: 5px; color: var(--text-faint); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .16em; }

.logo-badge {
  width: 39px; height: 39px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #050505;
  border-radius: 10px;
}
.logo-badge img { width: 100%; height: 100%; display: block; object-fit: cover; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--text-soft);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: .2s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--line); background: var(--panel); }
.icon-btn:active { transform: scale(.93); }
.icon-btn svg { width: 19px; height: 19px; }
.side-close { display: none; }

.new-chat {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 51px;
  padding: 0 17px;
  color: var(--inverse);
  background: var(--text);
  border-radius: 5px;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), opacity .2s;
}
.new-chat::after { content: "↗"; font-family: var(--sans); font-size: 18px; font-weight: 400; }
.new-chat:hover { transform: translateY(-2px); opacity: .92; }
.new-chat:active { transform: none; }
.new-chat svg { width: 16px; height: 16px; margin-right: 9px; }
.new-chat span { margin-right: auto; }

.session-search { display: flex; align-items: center; gap: 9px; min-height: 40px; margin-top: 13px; padding: 0 10px; color: var(--text-faint); border-bottom: 1px solid var(--line); transition: border-color .18s, color .18s; }
.session-search:focus-within { color: var(--accent-strong); border-color: var(--line-strong); }
.session-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.session-search input { min-width: 0; flex: 1; height: 39px; outline: 0; border: 0; color: var(--text); background: transparent; font: 500 12px var(--sans); }
.session-search input::placeholder { color: var(--text-faint); }
.session-search input::-webkit-search-cancel-button { opacity: .55; cursor: pointer; }

.sessions { flex: 1; overflow-y: auto; margin-top: 12px; padding-right: 2px; }
.sessions-title {
  padding: 5px 8px 10px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
.session {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 45px;
  padding: 9px 8px;
  color: var(--text-soft);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  transition: .18s;
}
.session:hover { color: var(--text); padding-left: 12px; }
.session.active { color: var(--text); border-color: var(--line); }
.session.active::before { content: ""; position: absolute; left: 0; width: 2px; height: 18px; background: var(--accent); }
.s-icon { width: 15px; height: 15px; flex: 0 0 auto; opacity: .62; }
.s-title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-del { width: 26px; height: 26px; display: grid; place-items: center; opacity: 0; color: var(--text-faint); }
.session:hover .s-del, .session.active .s-del { opacity: 1; }
.s-del:hover { color: #bc604f; }
.s-del svg { width: 14px; height: 14px; }

.side-foot { padding-top: 12px; border-top: 1px solid var(--line); }
.account { display:flex;align-items:center;gap:8px;padding:5px 4px 10px;color:var(--text-soft);font-size:11px }.account span{flex:1;color:var(--text);font-weight:700}.account a,.account button{color:var(--accent-strong);font-size:10px;text-decoration:none}
.theme-toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 4px;
  color: var(--text-soft); font-size: 12px;
}
.tt-track { position: relative; display: block; width: 34px; height: 20px; border: 1px solid var(--line-strong); border-radius: 20px; }
.tt-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transition: transform .25s var(--ease); }
html[data-theme="light"] .tt-track::after { transform: translateX(14px); }
.tt-icon { display: none; }
.side-note { display: none; }

/* Main */
.main { min-width: 0; flex: 1; display: flex; flex-direction: column; height: 100dvh; }
.topbar {
  min-height: 73px;
  display: flex; align-items: center; gap: 9px;
  padding: env(safe-area-inset-top) 25px 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  z-index: 20;
}
#sideOpen { display: none; }
.top-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.top-name { font-family: var(--serif); font-size: 21px; }
.top-status { color: var(--text-soft); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }

.model-pick { position: relative; }
.model-btn {
  max-width: 240px; min-height: 38px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 13px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  transition: .18s;
}
.model-btn:hover { color: var(--text); border-color: var(--line-strong); }
.model-btn svg { width: 14px; height: 14px; }
.model-btn svg:first-child { color: var(--accent); }
.model-btn .chev { width: 12px; height: 12px; transition: transform .2s; }
.model-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
#modelName { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.model-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 245px; max-width: 80vw; max-height: 330px;
  overflow-y: auto; padding: 6px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow); z-index: 30;
  animation: menu-in .18s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px); } }
.model-opt { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 10px; color: var(--text-soft); font-family: var(--sans); font-size: 12.5px; font-weight: 500; text-align: left; }
.model-opt:hover { color: var(--text); background: var(--panel-2); }
.model-opt.selected { color: var(--accent-strong); }
.mo-check { width: 14px; height: 14px; visibility: hidden; }
.model-opt.selected .mo-check { visibility: visible; }
.mo-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.model-empty { padding: 15px; color: var(--text-faint); font-size: 12px; text-align: center; }

/* Chat */
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-scroll { flex: 1; overflow-y: auto; scroll-behavior: smooth; }
.messages { width: min(1120px, 94%); margin: 0 auto; padding: 36px 28px 18px; display: flex; flex-direction: column; gap: 25px; }
.load-older{align-self:center;padding:8px 13px;color:var(--text-soft);border:1px solid var(--line);font:600 11px var(--sans)}.load-older:hover{color:var(--text);border-color:var(--line-strong)}

.welcome {
  width: min(990px, 100%);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) clamp(22px, 5vw, 70px) 35px;
  text-align: left;
  animation: welcome-in .55s var(--ease);
}
@keyframes welcome-in { from { opacity: 0; transform: translateY(12px); } }
.welcome-kicker { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; }
.welcome-kicker span { width: 28px; height: 1px; background: var(--accent); }
.w-mark { display: none; }
.welcome h1 { max-width: 800px; margin: 22px 0 18px; font-family: var(--serif); font-size: clamp(46px, 6.2vw, 84px); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }
.welcome h1 em { color: var(--accent); font-weight: 400; }
.welcome > p { max-width: 570px; color: var(--text-soft); font-size: 16px; font-weight: 500; line-height: 1.7; }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(35px, 6vh, 64px); background: var(--line); border: 1px solid var(--line); }
.chip {
  position: relative; min-height: 112px;
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  padding: 21px 23px;
  background: var(--bg); text-align: left;
  transition: background .2s, transform .2s var(--ease);
}
.chip:hover { z-index: 1; background: var(--panel); transform: translateY(-3px); box-shadow: var(--shadow); }
.chip > span { grid-row: 1 / 3; color: var(--accent); font-family: var(--mono); font-size: 9px; padding-top: 3px; }
.chip strong { font-family: var(--sans); font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.chip small { align-self: end; color: var(--text-soft); font-size: 12px; line-height: 1.35; }

.msg { max-width: 100%; display: flex; gap: 13px; animation: message-in .3s var(--ease); }
@keyframes message-in { from { opacity: 0; transform: translateY(7px); } }
.msg.user { flex-direction: row-reverse; }
.avatar { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text-soft); font-family: var(--mono); font-size: 10px; }
.msg.ai .avatar { overflow: hidden; background: #050505; border-color: var(--line-strong); border-radius: 8px; }
.avatar svg { width: 14px; height: 14px; }
.msg.ai .avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bubble-wrap { max-width: min(76%, 790px); min-width: 0; }
.msg.user .bubble-wrap { display: flex; flex-direction: column; align-items: flex-end; }
.bubble { overflow-wrap: break-word; font-size: 15px; font-weight: 450; line-height: 1.75; }
.msg.user .bubble { padding: 11px 15px; color: var(--inverse); background: var(--text); border-radius: 15px 15px 3px 15px; }
.msg.user .bubble.has-image { width: min(500px, 62vw); padding: 0; overflow: hidden; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 13px 13px 3px 13px; }
.message-image { display: block; width: 100%; max-height: 320px; object-fit: contain; background: #090909; }
.message-caption { padding: 12px 14px; color: var(--text); font-weight: 500; line-height: 1.55; border-top: 1px solid var(--line); }
.msg.ai .message-image { width: min(460px, 100%); margin-bottom: 10px; border-radius: 8px; }
.msg.ai .bubble { padding: 4px 3px 16px; border-bottom: 1px solid var(--line); }
.message-meta { display:flex;align-items:center;gap:8px;margin-top:7px;color:var(--text-faint);font:500 9px var(--mono) }
.msg.user .message-meta { width: 100%; justify-content: flex-end; }
.message-actions { display:flex;gap:4px;margin-left:auto;opacity:0;transition:opacity .18s }
.msg:hover .message-actions,.message-actions:focus-within{opacity:1}.message-actions button{padding:4px 7px;color:var(--text-soft);border:1px solid transparent;font:600 10px var(--sans)}.message-actions button:hover{color:var(--text);border-color:var(--line)}

.bubble p { margin: 0 0 9px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble ul, .bubble ol { margin: 7px 0 10px; padding-left: 20px; }
.bubble li { margin: 4px 0; }
.bubble h1, .bubble h2, .bubble h3 { margin: 15px 0 8px; font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.35; }
.bubble code { padding: 2px 6px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; background: var(--panel-2); }
.code-block { overflow: hidden; margin: 12px 0; background: var(--panel); border: 1px solid var(--line); }
.code-head { min-height: 37px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 14px; color: var(--text-faint); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.copy-code { display: flex; align-items: center; gap: 6px; padding: 6px 8px; color: var(--text-soft); border: 1px solid transparent; font-family: var(--sans); font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; transition: .18s; }
.copy-code:hover { color: var(--text); border-color: var(--line); background: var(--panel-2); }
.copy-code.copied { color: var(--accent-strong); }
.copy-code svg { width: 13px; height: 13px; }
.bubble pre { overflow-x: auto; margin: 0; padding: 15px; background: transparent; border: 0; }
.bubble pre code { padding: 0; background: none; line-height: 1.6; }
.bubble .table-wrap{max-width:100%;overflow-x:auto;margin:12px 0}.bubble .table-wrap table{display:table;width:100%;margin:0}.bubble thead{background:var(--panel-2)}
.bubble a { color: var(--accent-strong); }
.bubble blockquote { margin: 8px 0; padding-left: 13px; color: var(--text-soft); border-left: 2px solid var(--accent); }
.bubble table { display: block; max-width: 100%; overflow-x: auto; margin: 10px 0; border-collapse: collapse; }
.bubble th, .bubble td { padding: 7px 10px; border: 1px solid var(--line); text-align: left; }

.thinking { display: inline-flex; gap: 4px; padding: 8px 2px; }
.thinking span { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: pulse 1.1s infinite; }
.thinking span:nth-child(2) { animation-delay: .13s; }
.thinking span:nth-child(3) { animation-delay: .26s; }
@keyframes pulse { 50% { opacity: .2; transform: translateY(-3px); } }
.cursor-dot { display: inline-block; width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* Composer */
.composer-wrap { padding: 10px 25px calc(15px + env(safe-area-inset-bottom)); }
.composer {
  width: min(1120px, 94%); min-height: 62px;
  margin: 0 auto; padding: 9px 9px 9px 21px;
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .1);
  transition: border-color .2s, box-shadow .2s;
}
.composer:focus-within { border-color: var(--line-strong); box-shadow: 0 14px 45px rgba(0, 0, 0, .14); }
.attach { width: 38px; height: 43px; flex: 0 0 38px; display: grid; place-items: center; color: var(--text-soft); border-right: 1px solid var(--line); transition: color .18s; }
.attach:hover { color: var(--accent-strong); }
.attach svg { width: 18px; height: 18px; }
.image-preview { position: relative; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid var(--line-strong); background: var(--panel-2); }
.image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-preview button { position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; display: grid; place-items: center; color: var(--inverse); background: var(--text); border-radius: 50%; }
.image-preview button svg { width: 11px; height: 11px; }
#input { flex: 1; max-height: 160px; padding: 10px 0; resize: none; outline: 0; border: 0; color: var(--text); background: transparent; font: 500 15px/1.55 var(--sans); }
#input::placeholder { color: var(--text-faint); }
.send { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; color: var(--inverse); background: var(--text); border-radius: 50%; transition: transform .18s var(--ease), opacity .18s; }
.send:disabled { opacity: .25; cursor: default; }
.send:not(:disabled):hover { transform: rotate(-6deg) scale(1.05); }
.send:not(:disabled):active { transform: scale(.92); }
.send svg { width: 18px; height: 18px; }
.send.stopping{background:#a54f43;color:#fff}.send.stopping svg{fill:currentColor;stroke:none}
.chat-tools{width:min(1120px,94%);margin:7px auto 0;display:flex;justify-content:flex-end;gap:5px}.chat-tools button{padding:4px 7px;color:var(--text-faint);font:500 9px var(--sans)}.chat-tools button:hover{color:var(--text)}
.disclaimer { width: min(1120px, 94%); margin: 8px auto 0; color: var(--text-faint); font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .01em; text-align: center; }

@media (min-width: 1500px) {
  .messages, .composer, .disclaimer { width: min(1280px, 92%); }
  .bubble-wrap { max-width: min(72%, 880px); }
}

.chat-scroll::-webkit-scrollbar, .sessions::-webkit-scrollbar, .model-menu::-webkit-scrollbar { width: 5px; }
.chat-scroll::-webkit-scrollbar-thumb, .sessions::-webkit-scrollbar-thumb, .model-menu::-webkit-scrollbar-thumb { background: var(--line-strong); }
.scrim { display: none; position: fixed; inset: 0; z-index: 35; opacity: 0; background: rgba(13, 13, 11, .62); backdrop-filter: blur(3px); transition: opacity .25s; }
.scrim.show { opacity: 1; }

/* Tablet and phone */
@media (max-width: 860px) {
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); transform: translateX(-102%); transition: transform .28s var(--ease); box-shadow: var(--shadow); }
  .sidebar.open { transform: none; }
  .side-close, #sideOpen { display: grid; }
  .scrim.show { display: block; }
  .topbar { min-height: 64px; padding-left: 12px; padding-right: 12px; }
  .top-name { display: none; }
  .top-status { font-size: 9px; }
  .messages { padding: 28px 13px 15px; }
  .messages, .composer, .disclaimer { width: 100%; }
  .chat-tools{width:100%;overflow-x:auto;justify-content:flex-start}
  .composer-wrap { padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); }
  .composer { min-height: 57px; padding-left: 16px; }
  .welcome { padding: clamp(32px, 7vh, 60px) 18px 26px; }
  .welcome h1 { font-size: clamp(44px, 14vw, 66px); }
  .chips { margin-top: 38px; }
  .bubble-wrap { max-width: 86%; }
}

@media (max-width: 560px) {
  .model-btn { max-width: 42vw; padding: 0 10px; }
  .model-btn svg:first-child { display: none; }
  #clearChat { width: 36px; height: 36px; }
  .welcome > p { font-size: 15px; }
  .chips { grid-template-columns: 1fr; }
  .chip { min-height: 88px; padding: 16px 17px; }
  .chip strong { font-size: 16px; }
  .chip small { font-size: 11.5px; }
  .avatar { width: 27px; height: 27px; flex-basis: 27px; }
  .msg { gap: 8px; }
  .bubble { font-size: 14.5px; line-height: 1.7; }
  .msg.user .bubble.has-image { width: min(76vw, 400px); }
  .message-image { max-height: 280px; }
  .disclaimer { display: none; }
}

@media (hover: none) { .s-del { opacity: 1; } }
@media (hover:none){.message-actions{opacity:1}}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .sidebar,.topbar,.composer-wrap,.aurora,.scrim{display:none!important}.main,.chat,.chat-scroll{height:auto!important;overflow:visible!important}.messages{width:100%;padding:0}.msg{break-inside:avoid}.message-actions{display:none}.bubble{color:#111!important}.msg.user .bubble{color:#fff!important;background:#222!important}body{overflow:visible;background:#fff}
}
