:root {
  color-scheme: dark;
  --bg: #080a10;
  --panel: rgba(15, 18, 27, .82);
  --panel-strong: #11151f;
  --line: rgba(255, 255, 255, .09);
  --line-bright: rgba(255, 255, 255, .16);
  --text: #f5f7f2;
  --muted: #9299a8;
  --accent: #b8ff3d;
  --cyan: #64e7e1;
  --radius: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 72% 10%, #18251b 0, var(--bg) 35%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(100px); opacity: .14; pointer-events: none; }
.glow-a { width: 380px; height: 380px; top: -180px; right: 10%; background: var(--accent); }
.glow-b { width: 340px; height: 340px; bottom: -220px; left: 18%; background: #4678ff; }

.agent-topbar {
  height: 74px; padding: 0 clamp(18px, 4vw, 58px); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid var(--line); background: rgba(8, 10, 16, .7);
  backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 20;
}
.back-link, .agent-brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.back-link { justify-self: start; color: var(--muted); font-size: 13px; transition: color .2s, transform .2s; }
.back-link:hover { color: var(--text); transform: translateX(-3px); }
.back-link svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.agent-brand { justify-self: center; gap: 12px; }
.agent-brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.agent-brand b { font-size: 13px; letter-spacing: .16em; }
.agent-brand small { margin-top: 6px; color: var(--accent); font-size: 8px; letter-spacing: .24em; }
.brand-mark { width: 31px; height: 28px; display: flex; align-items: end; gap: 3px; transform: skew(-12deg); }
.brand-mark i { width: 7px; display: block; background: var(--accent); border-radius: 1px; box-shadow: 0 0 16px rgba(184, 255, 61, .2); }
.brand-mark i:nth-child(1) { height: 16px; }.brand-mark i:nth-child(2) { height: 25px; }.brand-mark i:nth-child(3) { height: 19px; }
.top-status { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.top-status i, .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }

.agent-layout {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(310px, 38%) minmax(0, 1fr);
  transition: grid-template-columns .34s var(--ease);
}
.sidebar-toggle {
  position: fixed;
  left: 18px;
  top: 88px;
  z-index: 45;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(184,255,61,.2);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(13,18,25,.78);
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  transition: transform .24s var(--ease), border-color .24s, background .24s;
}
.sidebar-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .24s var(--ease);
}
.sidebar-toggle:hover { transform: translateY(-2px); border-color: rgba(184,255,61,.42); background: rgba(17,24,27,.9); }
.sidebar-toggle-closed { display: none; }
body.sidebar-collapsed .agent-layout { grid-template-columns: 0 minmax(0, 1fr); }
body.sidebar-collapsed .agent-sidebar {
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  border-right-color: transparent;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
body.sidebar-collapsed .sidebar-toggle { left: 14px; }
body.sidebar-collapsed .sidebar-toggle::before { transform: rotate(-135deg); }
body.sidebar-collapsed .sidebar-toggle-open { display: none; }
body.sidebar-collapsed .sidebar-toggle-closed { display: inline; }
.agent-sidebar {
  padding: clamp(42px, 7vh, 88px) clamp(28px, 5vw, 82px); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  transition: opacity .24s var(--ease), padding .34s var(--ease), border-color .24s;
}
.agent-orb { width: 72px; height: 72px; position: relative; display: grid; place-items: center; margin-bottom: 32px; }
.agent-orb span { position: absolute; inset: 0; border: 1px solid rgba(184,255,61,.42); border-radius: 23px; transform: rotate(15deg); animation: orbit 8s linear infinite; }
.agent-orb i { position: absolute; inset: 9px; border-radius: 18px; background: linear-gradient(145deg, rgba(184,255,61,.22), rgba(100,231,225,.05)); border: 1px solid var(--line-bright); }
.agent-orb b { position: relative; color: var(--accent); font-size: 15px; letter-spacing: .12em; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: .24em; font-weight: 700; margin: 0 0 14px; }
.agent-sidebar h1 { margin: 0; max-width: 550px; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 620; }
.sidebar-copy { max-width: 520px; margin: 24px 0 38px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.pipeline { display: grid; gap: 6px; max-width: 520px; }
.pipeline > div { min-height: 61px; display: flex; align-items: center; gap: 17px; padding: 9px 12px; border-radius: 14px; transition: background .25s, transform .25s; }
.pipeline > div:hover { background: rgba(255,255,255,.035); transform: translateX(5px); }
.pipeline > div > span { color: #626a78; font-size: 10px; font-family: ui-monospace, monospace; }
.pipeline p { margin: 0; display: flex; flex-direction: column; }
.pipeline b { font-size: 13px; font-weight: 600; }.pipeline small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.privacy-note { margin-top: 34px; max-width: 520px; padding: 16px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid rgba(184,255,61,.13); background: rgba(184,255,61,.035); border-radius: 16px; }
.privacy-note svg { width: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.privacy-note p { margin: 0; display: flex; flex-direction: column; }.privacy-note b { font-size: 12px; }.privacy-note small { color: var(--muted); margin-top: 5px; line-height: 1.5; }
.privacy-note a { color: var(--accent); text-decoration: none; }
.privacy-note a:hover { text-decoration: underline; }
.quota-note { margin-top: 12px; max-width: 520px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; align-items: end; border: 1px solid rgba(100,231,225,.16); background: rgba(100,231,225,.035); border-radius: 16px; }
.quota-note span { color: var(--muted); font-size: 11px; }
.quota-note strong { color: var(--accent); font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.quota-note small { grid-column: 1 / -1; color: #7f8795; font-size: 10px; }

.conversation { min-width: 0; height: calc(100vh - 74px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(8,10,16,.28); }
.conversation-header { min-height: 110px; padding: 28px clamp(22px, 4vw, 54px) 19px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); }
.conversation-header > div { display: flex; align-items: center; gap: 16px; }
.conversation-header h2 { font-size: 19px; margin: 0; font-weight: 600; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 99px; border: 1px solid rgba(184,255,61,.22); color: var(--accent); font-size: 9px; letter-spacing: .12em; background: rgba(184,255,61,.045); }
.live-badge i { width: 5px; height: 5px; }
.clear-button { border: 0; background: transparent; color: #727988; cursor: pointer; padding: 8px; font-size: 11px; transition: color .2s; }.clear-button:hover { color: var(--text); }

.messages { overflow-y: auto; padding: 34px clamp(22px, 4vw, 54px) 42px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #303640 transparent; }
.message { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 22px; animation: message-in .42s var(--ease) both; }
.message.user { justify-content: flex-end; }
.message-avatar { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #0b0d0b; background: var(--accent); font-size: 11px; font-weight: 800; box-shadow: 0 7px 22px rgba(184,255,61,.1); }
.message-body { max-width: min(680px, 88%); }
.message-body p { white-space: pre-wrap; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px 18px 18px 18px; background: rgba(20,24,34,.74); color: #e9ece7; font-size: 14px; line-height: 1.7; }
.message-body > small { display: block; margin: 8px 4px 0; color: #737a88; font-size: 10px; line-height: 1.5; }
.message.user .message-body p { border-radius: 18px 5px 18px 18px; border-color: rgba(184,255,61,.15); background: rgba(184,255,61,.095); }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 26px 42px; animation: message-in .55s .08s var(--ease) both; }
.suggestions button { padding: 10px 13px; color: #bbc1ca; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 11px; transition: .25s var(--ease); }
.suggestions button:hover { color: var(--text); border-color: rgba(184,255,61,.34); background: rgba(184,255,61,.06); transform: translateY(-2px); }
.suggestions .suggestions-refresh { color: #cfff7d; border-color: rgba(184,255,61,.28); background: rgba(184,255,61,.08); }
.typing { display: inline-flex; gap: 4px; padding: 5px 0; }.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.1s infinite; }.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}

.result-group { max-width: min(760px, calc(100% - 42px)); margin: -10px 0 30px 42px; animation: message-in .42s var(--ease) both; }
.result-summary { margin: 0 0 9px 2px; color: #7f8795; font-size: 10px; }
.result-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 11px; overflow: visible; padding: 0 0 12px; }
.result-card { position: relative; color: inherit; text-decoration: none; overflow: hidden; border: 1px solid var(--line); background: rgba(17,21,31,.84); border-radius: 14px; cursor: pointer; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; animation: card-in .45s var(--ease) both; }
.result-card:hover, .result-card:focus-visible { transform: translateY(-5px); border-color: rgba(184,255,61,.3); box-shadow: 0 18px 48px rgba(0,0,0,.28); outline: 0; }
.result-image { position: relative; aspect-ratio: 1.3; overflow: hidden; background: linear-gradient(135deg, #1d2330, #10131c); }
.result-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }.result-card:hover img { transform: scale(1.045); }
.result-image span { position: absolute; right: 7px; bottom: 7px; padding: 4px 7px; border-radius: 7px; color: #0b0e0b; background: var(--accent); font-size: 9px; font-weight: 700; }
.result-favorite { position: absolute; z-index: 3; top: 7px; right: 7px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; color: #dce3ea; background: rgba(8,11,16,.72); box-shadow: 0 8px 22px rgba(0,0,0,.22); backdrop-filter: blur(10px); cursor: pointer; transition: transform .22s var(--ease), color .2s, border-color .2s, background .2s; }
.result-favorite:hover { transform: translateY(-2px) scale(1.04); border-color: rgba(184,255,61,.42); color: var(--accent); background: rgba(19,27,20,.84); }
.result-favorite.active { color: var(--accent); border-color: rgba(184,255,61,.42); }
.result-favorite.active::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(184,255,61,.22); border-radius: 14px; animation: favorite-pop .42s var(--ease); pointer-events: none; }
.result-copy { padding: 12px; }.result-copy strong { display: -webkit-box; min-height: 36px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.5; font-weight: 600; }
.result-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7f8795; margin-top: 7px; font-size: 10px; }
.result-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 2px; }
.result-pagination span { min-width: 54px; color: #8d95a3; font-size: 10px; text-align: center; }
.result-pagination button { border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; color: #c8ced6; background: rgba(255,255,255,.025); font-size: 10px; cursor: pointer; transition: .2s var(--ease); }
.result-pagination button:hover:not(:disabled) { color: #0b0d0b; border-color: var(--accent); background: var(--accent); transform: translateY(-1px); }
.result-pagination button:disabled { opacity: .32; cursor: not-allowed; }
.result-group.updating { opacity: .58; pointer-events: none; transition: opacity .2s var(--ease); }

.compose-shell { padding: 16px clamp(22px, 4vw, 54px) 22px; border-top: 1px solid var(--line); background: rgba(8,10,16,.78); backdrop-filter: blur(18px); }
.agent-adult-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.agent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8d95a3;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  cursor: pointer;
  user-select: none;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.agent-toggle:hover { color: var(--text); transform: translateY(-1px); }
.agent-toggle input { width: 13px; height: 13px; accent-color: var(--accent); }
.agent-toggle:has(input:checked) { color: #0b0d0b; border-color: rgba(184,255,61,.56); background: var(--accent); }
.composer { min-height: 56px; display: flex; align-items: flex-end; gap: 10px; padding: 8px 8px 8px 18px; border: 1px solid var(--line-bright); border-radius: 18px; background: rgba(20,24,34,.83); box-shadow: 0 18px 45px rgba(0,0,0,.18); transition: border-color .2s, box-shadow .2s; }
.composer:focus-within { border-color: rgba(184,255,61,.4); box-shadow: 0 18px 55px rgba(0,0,0,.25), 0 0 0 3px rgba(184,255,61,.035); }
.composer textarea { width: 100%; min-height: 36px; max-height: 130px; resize: none; border: 0; outline: 0; padding: 8px 0; color: var(--text); background: transparent; font-size: 14px; line-height: 1.45; }
.composer textarea::placeholder { color: #676e7b; }
.composer button { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 13px; background: var(--accent); color: #090c08; cursor: pointer; transition: transform .2s, filter .2s; }.composer button:hover { transform: translateY(-2px); filter: brightness(1.07); }.composer button:disabled { cursor: wait; filter: grayscale(.7); transform: none; }
.composer svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.compose-shell > p { margin: 9px 3px 0; display: flex; align-items: center; gap: 7px; color: #646b78; font-size: 9px; }.compose-shell > p span { color: #868e9c; }.compose-shell > p i { width: 2px; height: 2px; border-radius: 50%; background: #59606c; }

@keyframes message-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes favorite-pop { from { opacity: 1; transform: scale(.82); } to { opacity: 0; transform: scale(1.28); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes orbit { to { transform: rotate(375deg); } }

@media (max-width: 900px) {
  .agent-topbar { grid-template-columns: 1fr auto; }.agent-brand { justify-self: end; }.top-status { display: none; }
  .sidebar-toggle { top: 76px; left: 14px; }
  .agent-layout { display: block; }.agent-sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 44px 24px; }.agent-sidebar h1 { font-size: 36px; }.pipeline, .privacy-note { display: none; }
  body.sidebar-collapsed .agent-sidebar { display: none; }
  .conversation { height: min(820px, 100dvh); }.conversation-header { min-height: 88px; }
}
@media (max-width: 600px) {
  .agent-topbar { height: 62px; padding: 0 15px; }.back-link span { display: none; }.agent-brand b { font-size: 11px; }
  .sidebar-toggle { top: 70px; min-height: 32px; padding: 0 10px; }
  .agent-layout { min-height: calc(100vh - 62px); }.agent-sidebar { padding: 31px 20px 34px; }.agent-orb { width: 56px; height: 56px; margin-bottom: 23px; }.agent-sidebar h1 { font-size: 30px; }.sidebar-copy { margin: 18px 0 0; font-size: 13px; }
  .conversation { height: calc(100dvh - 62px); }.conversation-header { padding: 20px 16px 16px; min-height: 78px; }.conversation-header > div { gap: 10px; }.conversation-header h2 { font-size: 16px; }
  .messages { padding: 24px 16px 30px; }.message-body { max-width: 90%; }.message-body p { font-size: 13px; }.suggestions, .result-group { margin-left: 0; }.result-group { max-width: 100%; }.result-strip { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .compose-shell { padding: 12px 12px 15px; }.compose-shell > p { overflow: hidden; white-space: nowrap; }.composer { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* v0.7 responsive agent shell */
.agent-brand > img { width: 38px; height: 38px; filter: drop-shadow(0 8px 20px rgba(184,255,61,.08)); }
.agent-orb img { position: relative; z-index: 2; width: 58px; height: 58px; }
.conversation-title { display: grid; gap: 5px; }
.conversation-header h2 { line-height: 1; }
.conversation-header h2 + small { color: #737c8b; font-size: 9px; }
.conversation-header h2 + small.offline { color: #ff9e7d; }
.messages { overscroll-behavior: contain; }
.hidden { display: none !important; }

.composer-shortcuts {
  display: flex;
  gap: 7px;
  margin: 0 2px 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.composer-shortcuts::-webkit-scrollbar { display: none; }
.composer-shortcuts button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #9ca4b1;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  font-size: 10px;
}
.composer-shortcuts button:hover { color: var(--text); border-color: rgba(184,255,61,.3); }
.composer-shortcuts .agent-favorites-shortcut { color: #101608; border-color: transparent; background: var(--accent); font-weight: 800; }

.product-hover-preview {
  position: fixed;
  z-index: 260;
  left: 0;
  top: 0;
  width: min(360px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(184,255,61,.28);
  border-radius: 18px;
  color: var(--text);
  background: rgba(12,16,23,.94);
  box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.035) inset;
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transition: opacity .22s var(--ease), transform .25s var(--ease), visibility .22s;
  pointer-events: none;
}
.product-hover-preview.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.preview-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg,#1e2430,#0e1118); overflow: hidden; }
.preview-media::after { content: "VIEW"; position: absolute; left: 50%; top: 50%; display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #101608; background: rgba(184,255,61,.9); font-size: 9px; font-weight: 900; letter-spacing: .12em; transform: translate(-50%,-50%) scale(.92); opacity: .92; }
.preview-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.035); filter: saturate(1.05) contrast(1.04); }
.preview-copy { display: grid; gap: 8px; padding: 14px 15px 16px; }
.preview-copy small { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .2em; }
.preview-copy strong { font-size: 14px; line-height: 1.45; letter-spacing: -.02em; }
.preview-copy p { margin: 0; font-size: 11px; line-height: 1.65; }
.preview-translated { color: #e7ece8; }
.preview-original { max-height: 96px; overflow: hidden; color: #858d9b; border-top: 1px solid rgba(255,255,255,.06); padding-top: 8px; }

.scroll-latest {
  position: absolute;
  z-index: 12;
  right: clamp(22px, 4vw, 54px);
  bottom: 112px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  color: #cbd1d9;
  background: rgba(18,22,31,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  cursor: pointer;
  font-size: 10px;
}
.conversation { position: relative; }

.message-copy {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 7px 4px 0;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  color: #737c8b;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}
.message-copy:hover { color: var(--text); background: rgba(255,255,255,.045); }

@media (max-width: 900px) {
  .agent-topbar { height: 62px; padding: 0 16px; }
  .sidebar-toggle { display: none; }
  .agent-layout { display: block; min-height: 0; }
  .agent-sidebar { display: none; }
  .conversation { height: calc(100dvh - 62px); min-height: 0; grid-template-rows: auto minmax(0,1fr) auto; }
  .conversation-header { min-height: 76px; padding: 16px 18px 14px; }
  .conversation-header h2 { font-size: 16px; }
  .messages { padding: 22px 18px 30px; }
  .compose-shell { padding: 10px 14px var(--atlas-safe-bottom); }
  .composer textarea { font-size: 16px; }
  .composer button, .clear-button { min-width: 44px; min-height: 44px; }
  .result-strip { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
  .result-pagination button { min-height: 44px; padding: 0 14px; }
  .scroll-latest { right: 16px; bottom: 118px; }
  .glow { opacity: .07; filter: blur(80px); }
}

@media (max-width: 600px) {
  .agent-topbar { grid-template-columns: 44px 1fr 44px; }
  .back-link { width: 44px; height: 44px; justify-content: center; }
  .agent-brand { justify-self: center; }
  .agent-brand > img { width: 34px; height: 34px; }
  .agent-brand > span { display: none !important; }
  .top-status { display: flex; justify-self: end; width: 44px; }
  .top-status span { display: none; }
  .conversation-header { min-height: 70px; padding: 13px 14px 12px; }
  .conversation-header > div { gap: 9px; }
  .live-badge { padding: 6px 8px; font-size: 8px; }
  .conversation-header h2 + small { font-size: 8px; }
  .clear-button { padding: 0; font-size: 10px; }
  .messages { padding: 18px 13px 24px; }
  .message { gap: 9px; margin-bottom: 18px; }
  .message-avatar { width: 32px; height: 32px; }
  .message-body { max-width: calc(100vw - 72px); }
  .message-body p { padding: 12px 13px; font-size: 13px; line-height: 1.65; }
  .suggestions { margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .suggestions button { min-height: 40px; flex: 0 0 auto; }
  .compose-shell { padding-right: 10px; padding-left: 10px; }
  .composer-shortcuts button { min-height: 36px; }
  .composer { min-height: 54px; padding-left: 14px; }
  .compose-shell > p { font-size: 8px; }
  .result-group { max-width: 100%; margin-left: 0; }
  .result-strip { grid-template-columns: 1fr; gap: 9px; }
  .result-copy strong { min-height: 39px; font-size: 13px; }
}

@supports not (height: 100dvh) {
  @media (max-width: 900px) { .conversation { height: calc(100vh - 62px); } }
}
