:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-soft: #0f1522;
  --panel: #111723;
  --panel-2: #171e2c;
  --panel-3: #1d2534;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf2ff;
  --muted: #9ba9c0;
  --muted-2: #7d8aa0;
  --accent: #6aa3ff;
  --accent-soft: rgba(106, 163, 255, 0.14);
  --accent-strong: rgba(106, 163, 255, 0.26);
  --success: #3dcc9b;
  --warning: #f0b354;
  --danger: #ff7a84;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --radius-sm: 14px;
  --transition: 180ms ease;
  --font: "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(90, 121, 175, 0.1), transparent 35%),
    linear-gradient(180deg, #0a0d14 0%, #0b111b 100%);
  color: var(--text);
  font-family: var(--font);
}

body {
  overscroll-behavior: none;
}

button,
input,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  position: relative;
}

.sidebar,
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: rgba(12, 16, 25, 0.96);
  backdrop-filter: blur(16px);
  z-index: 30;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  overflow: hidden;
}

.sidebar {
  right: 0;
  border-left: 1px solid var(--line);
  transform: translateX(105%);
}

.drawer {
  left: 0;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  background:
    linear-gradient(180deg, rgba(62, 111, 181, 0.18), transparent 28%),
    rgba(10, 16, 29, 0.97);
}

.sidebar.is-open,
.drawer.is-open {
  transform: translateX(0);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 20;
}

.sidebar__header,
.drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #dce9ff;
  background:
    linear-gradient(180deg, rgba(110, 162, 255, 0.28), rgba(110, 162, 255, 0.14)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(110, 162, 255, 0.18);
}

.brand-mark--n8n {
  color: #e9f0ff;
  background:
    linear-gradient(180deg, rgba(114, 198, 255, 0.26), rgba(110, 162, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
}

.sidebar__header h1,
.drawer__header h2 {
  margin: 2px 0 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.76rem;
}

.sidebar__section {
  padding: 14px;
}

.sidebar__overview {
  padding-bottom: 8px;
}

.overview-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.overview-card__title {
  color: var(--muted);
  font-size: 0.75rem;
}

.overview-card__name {
  margin-top: 8px;
  font-weight: 700;
  line-height: 1.55;
}

.overview-card__hint {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.6;
}

.sidebar__section--footer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.9) 30%);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title {
  color: var(--muted);
  font-size: 0.78rem;
}

.section-count {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.workspace-list,
.drawer__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  overflow-y: auto;
  max-height: calc(100vh - 220px);
}

.workspace-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color var(--transition), background var(--transition);
}

.workspace-card.is-active {
  border-color: var(--accent-strong);
  background: rgba(106, 163, 255, 0.08);
}

.workspace-card__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.toggle-btn,
.mini-btn,
.icon-btn,
.refresh-btn,
.details-btn,
.n8n-entry,
.workspace-name,
.thread-btn,
.primary-btn,
.send-btn {
  border: 0;
  border-radius: 14px;
  color: inherit;
  background: transparent;
}

.toggle-btn,
.mini-btn,
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
}

.workspace-name,
.thread-btn,
.n8n-entry,
.refresh-btn,
.primary-btn,
.send-btn {
  cursor: pointer;
}

.workspace-name {
  text-align: right;
  color: var(--text);
  font-weight: 700;
}

.mini-btn {
  color: var(--accent);
  font-size: 1.15rem;
}

.thread-list {
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thread-btn {
  width: 100%;
  text-align: right;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  border: 1px solid transparent;
}

.thread-btn.is-active {
  color: var(--text);
  background: rgba(106, 163, 255, 0.12);
  border-color: rgba(106, 163, 255, 0.18);
}

.thread-btn__title {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
}

.thread-btn__preview {
  display: block;
  margin-top: 5px;
  font-size: 0.77rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-btn__meta {
  display: block;
  font-size: 0.73rem;
  margin-top: 4px;
  color: var(--muted);
}

.n8n-entry {
  width: 100%;
  padding: 14px;
  text-align: right;
  background: rgba(106, 163, 255, 0.12);
  border: 1px solid rgba(106, 163, 255, 0.18);
}

.n8n-entry__label {
  display: block;
  font-weight: 700;
}

.n8n-entry__hint,
.drawer__hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

.drawer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px 0;
}

.drawer__search {
  padding: 12px 16px 0;
}

.drawer-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-search__label {
  color: var(--muted);
  font-size: 0.78rem;
}

.drawer-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.drawer-search input:focus {
  border-color: rgba(106, 163, 255, 0.38);
  background: rgba(106, 163, 255, 0.08);
}

.drawer-empty {
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.02);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px;
  background: rgba(10, 13, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar__title {
  min-width: 0;
}

.topbar__title strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.97rem;
}

.refresh-btn {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.045);
}

.chat-meta {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 60px);
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.92), rgba(10, 13, 20, 0.65));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
}

.meta-pill--status {
  color: #dce8ff;
  background: rgba(106, 163, 255, 0.1);
  border-color: rgba(106, 163, 255, 0.18);
}

.context-strip {
  margin: 10px 14px 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.018)),
    rgba(11, 16, 25, 0.84);
}

.context-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.context-strip__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.context-strip__eyebrow {
  color: var(--muted);
  font-size: 0.76rem;
}

.context-strip__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #dce9ff;
  background: rgba(106, 163, 255, 0.12);
  border: 1px solid rgba(106, 163, 255, 0.18);
  font-size: 0.76rem;
}

.context-strip__summary {
  margin-top: 8px;
  color: #d7e1f4;
  font-size: 0.83rem;
  line-height: 1.75;
}

.context-strip__notes {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.context-strip__files {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-file {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.76rem;
}

.context-file--muted {
  color: var(--text);
}

.context-action-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.chat-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 14px 170px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-state,
.approval-screen {
  padding: 18px 14px;
}

.chat-state {
  color: var(--muted);
  text-align: center;
}

.chat-state p {
  margin: 0;
  line-height: 1.8;
}

.compact-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: rgba(17, 23, 35, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compact-card--danger {
  border-color: rgba(255, 122, 132, 0.24);
}

.compact-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.compact-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field span {
  color: var(--muted);
  font-size: 0.84rem;
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 13px 14px;
}

.field--notes textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 13px 14px;
  line-height: 1.8;
}

.primary-btn {
  width: 100%;
  padding: 13px 16px;
  background: var(--accent);
  color: #031121;
  font-weight: 700;
}

.secondary-btn {
  min-width: 96px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hint {
  font-size: 0.8rem;
}

.composer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
  background: linear-gradient(180deg, rgba(10, 13, 20, 0), rgba(10, 13, 20, 0.95) 24%);
}

.composer.is-drop-target .composer__shell,
.composer.is-drop-target .composer__attachments,
.composer.is-drop-target .composer__toolbar {
  filter: saturate(1.08);
}

.composer.is-drop-target .composer__shell {
  border-color: rgba(106, 163, 255, 0.34);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(106, 163, 255, 0.12);
}

.composer__status,
.composer__hint {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  padding-inline: 6px;
}

.composer__hint {
  color: var(--muted-2);
}

.composer__toolbar,
.composer__attachments,
.quick-actions {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.composer__tools,
.composer__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-inline: 2px;
  scrollbar-width: none;
}

.quick-actions::-webkit-scrollbar {
  display: none;
}

.quick-action {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  white-space: nowrap;
}

.quick-action.is-mode {
  border-color: rgba(106, 163, 255, 0.18);
  background: rgba(106, 163, 255, 0.08);
  color: #dce9ff;
}

.tool-btn,
.tool-chip,
.pending-file,
.picker-option,
.chip {
  border: 1px solid var(--line);
  color: inherit;
}

.tool-btn,
.tool-chip {
  min-height: 38px;
  border-radius: 16px;
  background: rgba(17, 23, 35, 0.88);
}

.tool-btn {
  min-width: 38px;
  padding: 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted);
}

.tool-chip--mode {
  background:
    linear-gradient(180deg, rgba(106, 163, 255, 0.14), rgba(106, 163, 255, 0.06)),
    rgba(17, 23, 35, 0.94);
  border-color: rgba(106, 163, 255, 0.16);
}

.tool-chip strong {
  color: var(--text);
  font-size: 0.86rem;
}

.tool-chip span {
  font-size: 0.76rem;
}

.composer__attachments {
  min-height: 0;
}

.pending-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 15px;
  background: rgba(17, 23, 35, 0.88);
}

.pending-file__name {
  max-width: min(46vw, 220px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pending-file__meta,
.pending-file__remove {
  color: var(--muted);
  font-size: 0.75rem;
}

.pending-file__remove {
  font-size: 1rem;
  line-height: 1;
}

.composer__shell {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(17, 23, 35, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.composer textarea {
  min-height: 48px;
  max-height: 148px;
  resize: none;
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 13px 14px;
  line-height: 1.6;
}

.composer textarea:disabled,
.send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.send-btn {
  min-width: 88px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--accent);
  color: #031121;
  font-weight: 700;
}

.message {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(17, 23, 35, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.message--user {
  width: min(100%, 760px);
  margin-inline: auto 0;
  background: rgba(106, 163, 255, 0.12);
  border-color: rgba(106, 163, 255, 0.18);
}

.message--assistant {
  background: rgba(17, 23, 35, 0.98);
}

.message--progress {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(106, 163, 255, 0.12);
  position: relative;
}

.message--progress::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(106, 163, 255, 0.5);
  animation: pulse 1.8s infinite;
}

.message--progress .message__meta,
.message--progress .message__body {
  padding-inline-start: 18px;
}

.message--status {
  width: min(100%, 720px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.03);
}

.message__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.message__badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.message--progress .message__badge {
  background: rgba(106, 163, 255, 0.1);
  color: #a9d0ff;
}

.message--progress .message__body {
  color: #dce9ff;
  font-size: 0.94rem;
}

.badge--success {
  color: var(--success);
}

.badge--warning {
  color: var(--warning);
}

.badge--danger {
  color: var(--danger);
}

.message__body {
  line-height: 1.88;
  white-space: pre-wrap;
  word-break: break-word;
}

.message__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.chip--meta {
  background: rgba(106, 163, 255, 0.08);
  color: #dce8ff;
  border-color: rgba(106, 163, 255, 0.14);
}

.chip--mode {
  background: rgba(106, 163, 255, 0.14);
  color: #dce9ff;
  border-color: rgba(106, 163, 255, 0.18);
}

.chip--file {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.details-btn {
  margin-top: 12px;
  padding: 8px 10px;
  color: var(--accent);
  background: rgba(106, 163, 255, 0.08);
}

.message__details {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  color: #d7e2fb;
  white-space: pre-wrap;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.76rem;
  line-height: 1.65;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 128px);
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 14px;
  background: rgba(13, 20, 34, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.picker {
  position: fixed;
  inset: 0;
  z-index: 48;
}

.picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.picker__sheet {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 16px 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  background: rgba(11, 16, 26, 0.98);
  border-top: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.picker__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.sheet-actions .primary-btn,
.sheet-actions .secondary-btn {
  width: auto;
  flex: 1;
}

.picker-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 15px;
  text-align: right;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.picker-option.is-active {
  border-color: rgba(106, 163, 255, 0.22);
  background: rgba(106, 163, 255, 0.1);
}

.picker-option__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.picker-option strong {
  color: var(--text);
}

.picker-option__mark {
  color: #dce8ff;
  font-size: 0.9rem;
}

.picker-option span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

code {
  font-family: Consolas, "Courier New", monospace;
  color: #d9e6ff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 163, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(106, 163, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 163, 255, 0);
  }
}

@media (min-width: 980px) {
  .sidebar {
    transform: translateX(0);
    position: sticky;
    width: 320px;
  }

  .overlay,
  #closeSidebarBtn,
  #openSidebarBtn {
    display: none;
  }

  .main {
    min-width: 0;
  }

  .topbar,
  .chat-meta,
  .context-strip {
    padding-inline: 20px;
  }

  .messages {
    padding-inline: 24px;
  }

  .composer {
    position: sticky;
  }

  .picker__sheet {
    max-width: 460px;
    margin-inline: auto;
    inset-inline: auto;
    left: 24px;
    right: 24px;
    bottom: 24px;
    border-radius: 26px;
    border: 1px solid var(--line-strong);
  }
}
