/* Letters Metadata Editor — global styles */
:root {
  --bg: #fafaf7;
  --panel: #ffffff;
  --panel-2: #f4f3ee;
  --border: #e5e3db;
  --border-strong: #cfccc0;
  --ink: #1a1a17;
  --ink-2: #4a4943;
  --ink-3: #807e74;
  --accent: oklch(0.62 0.13 45);
  --accent-soft: oklch(0.62 0.13 45 / 0.18);
  --accent-line: oklch(0.62 0.13 45 / 0.55);
  --warn: oklch(0.7 0.13 80);
  --danger: oklch(0.55 0.18 25);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body, #root {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.12s, border-color 0.12s;
}
button:hover { background: var(--panel-2); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
button.primary:hover { background: #000; }
button.subtle {
  border-color: transparent;
  background: transparent;
}
button.subtle:hover { background: var(--panel-2); }
button.danger {
  color: var(--danger);
  border-color: transparent;
  background: transparent;
}
button.danger:hover { background: oklch(0.55 0.18 25 / 0.08); }

select, input[type="text"], input[type="url"], input[type="date"], textarea {
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  width: 100%;
}
textarea { resize: vertical; min-height: 64px; font-family: var(--sans); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- App shell ---------- */
.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.topbar .brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.topbar .brand .sub {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 8px;
  letter-spacing: 0;
}
.topbar .spacer { flex: 1; }
.topbar .picker { display: flex; align-items: center; gap: 6px; }
.topbar .picker label { color: var(--ink-3); font-size: 12px; }
.topbar .picker select { width: auto; min-width: 160px; }
.topbar .save-state {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.topbar .save-state.dirty { color: var(--warn); }

.tabs {
  display: flex;
  gap: 0;
  padding: 0 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.tabs button {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 10px 16px;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  font-weight: 500;
}
.tabs button:hover { background: transparent; color: var(--ink); }
.tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.tabs .dirty-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warn);
  margin-left: 6px;
  vertical-align: middle;
}

.tab-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.loading, .error-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: var(--ink-3);
  font-style: italic;
}
.error-panel {
  flex-direction: column;
  gap: 8px;
  color: var(--danger);
  font-style: normal;
  padding: 24px;
  text-align: center;
}

/* ---------- Transcribe pane ---------- */
.transcribe {
  display: flex;
  flex: 1;
  min-height: 0;
}

.image-pane {
  flex: 1.1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  border-right: 1px solid var(--border);
}
.image-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.image-toolbar .pages { display: flex; gap: 4px; }
.image-toolbar .pages button {
  padding: 4px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.image-toolbar .pages button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.image-toolbar .spacer { flex: 1; }
.image-toolbar .ctrl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.image-toolbar input[type="range"] { width: 110px; }

.image-scroll {
  flex: 1;
  overflow: auto;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.image-frame {
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}
.bbox {
  position: absolute;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.08s, border-color 0.08s;
  border-radius: 1px;
}
.bbox:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.bbox.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.bbox.show-all { border-color: rgba(0,0,0,0.18); }
.bbox.user-added {
  border-color: oklch(0.6 0.18 240 / 0.7);
  background: oklch(0.6 0.18 240 / 0.12);
}
.bbox.user-corrected {
  border-color: oklch(0.65 0.16 145 / 0.65);
}
.bbox.draft-rect {
  border: 1.5px dashed var(--accent);
  background: var(--accent-soft);
  pointer-events: none;
}
.bbox.draft-rect.committed {
  border-style: solid;
  border-width: 2px;
  animation: draftPulse 1.4s ease-in-out infinite;
}
@keyframes draftPulse {
  0%, 100% { background: var(--accent-soft); }
  50% { background: oklch(0.62 0.13 45 / 0.32); }
}
.image-frame.drawing { cursor: crosshair; }
.image-frame.drawing img { cursor: crosshair; }

/* Delete button on each bbox (visible on hover) */
.bbox-del {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--danger);
  background: #fff;
  color: var(--danger);
  font-size: 13px;
  line-height: 1;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}
.bbox:hover .bbox-del,
.bbox.active .bbox-del {
  display: flex;
}
.bbox-del:hover {
  background: var(--danger);
  color: #fff;
}

/* user-added word in transcript */
.transcript .word.user-added {
  background: oklch(0.6 0.18 240 / 0.12);
}

/* insert markers between words during add-word mode */
.insert-marker {
  display: inline-block;
  width: 4px;
  height: 1.2em;
  vertical-align: middle;
  background: transparent;
  margin: 0 1px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.1s;
  position: relative;
}
.insert-marker::before {
  content: "";
  position: absolute;
  inset: 0 1px;
  background: var(--border-strong);
  border-radius: 2px;
  opacity: 0.4;
}
.insert-marker:hover::before {
  background: var(--accent);
  opacity: 0.8;
}
.insert-marker.active::before {
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

/* New word editor card */
.new-word-editor {
  position: sticky;
  bottom: 0;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 14px 16px;
  margin-top: 24px;
  max-width: 70ch;
}
.new-word-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
}
.new-word-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.new-word-body {
  display: flex; gap: 14px; align-items: flex-end;
}
.new-word-body .placement-readout {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--ink-2);
  min-width: 180px;
}
.new-word-actions {
  display: flex; gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* context menu */
.ctx-menu {
  position: fixed;
  z-index: 60;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 4px;
  display: flex;
  flex-direction: column;
  min-width: 160px;
}
.ctx-menu button {
  border: none;
  background: transparent;
  text-align: left;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.ctx-menu button:hover { background: var(--panel-2); }
.ctx-menu button.danger { color: var(--danger); }

/* ---------- Text pane ---------- */
.text-pane {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel);
}
.text-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.text-toolbar .hint { font-style: italic; }
.text-toolbar .spacer { flex: 1; }
.text-scroll {
  flex: 1;
  overflow: auto;
  padding: 28px 36px 60px;
}
.transcript {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 70ch;
}
.transcript .line { display: block; margin-bottom: 0.15em; min-height: 1.75em; }
.transcript .word {
  position: relative;
  display: inline-block;
  padding: 1px 2px;
  margin: 0 1px;
  border-radius: 3px;
  cursor: text;
  outline: none;
  transition: background 0.08s;
  white-space: pre;
}
.transcript .word:hover { background: var(--accent-soft); }
.transcript .word.active {
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.transcript .word[contenteditable="true"]:focus {
  background: oklch(0.95 0.04 85);
  box-shadow: inset 0 -2px 0 var(--ink-2);
}
.transcript .word.edited::after {
  content: "";
  position: absolute;
  top: 1px; right: 0px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--warn);
}

/* confidence underline on each word */
.transcript .word .conf-bar {
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 2px;
  border-radius: 1px;
  pointer-events: none;
  opacity: 0.55;
}

/* floating tooltip for hovered word */
.word-tip {
  position: fixed;
  z-index: 50;
  background: #1a1a17;
  color: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  pointer-events: none;
  min-width: 180px;
  max-width: 260px;
}
.word-tip .tip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.word-tip .tip-row + .tip-row { margin-top: 3px; }
.word-tip .tip-label {
  color: #b8b6ad;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 64px;
}
.word-tip .tip-val { color: #fff; font-family: var(--mono); }
.word-tip .tip-val.bigword {
  font-family: var(--serif);
  font-size: 14px;
}
.word-tip .conf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.word-tip .conf-bar-track {
  flex: 1;
  height: 4px;
  background: #3a3935;
  border-radius: 2px;
  overflow: hidden;
}
.word-tip .conf-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.word-tip .source-tag {
  font-family: var(--mono);
  font-size: 10px;
  background: #2c2b27;
  border-radius: 3px;
  padding: 1px 5px;
}
.word-tip .alt {
  color: #b8b6ad;
  font-style: italic;
}

/* ---------- Metadata pane ---------- */
.metadata {
  flex: 1;
  overflow: auto;
  padding: 32px 40px 80px;
}
.meta-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.meta-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.meta-section > header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.meta-section > header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.meta-section > header .meta-section-tag {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--ink-3);
  border: 1px solid var(--border-strong);
  padding: 1px 6px;
  border-radius: 3px;
}
.meta-section > header .spacer { flex: 1; }
.meta-section .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.field label {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) {
  .field-row, .field-row.three { grid-template-columns: 1fr; }
}

.repeater-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel-2);
  position: relative;
}
.repeater-item .item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.repeater-item .item-head .idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.repeater-item .item-head .spacer { flex: 1; }
.repeater-add {
  align-self: flex-start;
  font-size: 12px;
}

.readonly-block {
  background: var(--panel-2);
  border: 1px dashed var(--border-strong);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.readonly-block .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--mono);
  background: oklch(0.85 0.08 140 / 0.5);
  color: oklch(0.35 0.1 140);
  border: 1px solid oklch(0.7 0.1 140 / 0.6);
}
.quality-badge.warn { background: oklch(0.9 0.08 80 / 0.5); color: oklch(0.4 0.1 80); border-color: oklch(0.7 0.12 80 / 0.6); }
.quality-badge.bad { background: oklch(0.9 0.08 25 / 0.5); color: oklch(0.4 0.15 25); border-color: oklch(0.7 0.15 25 / 0.6); }

.score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.score-tile {
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 8px;
}
.score-tile .lbl { font-size: 10px; text-transform: uppercase; color: var(--ink-3); letter-spacing: 0.05em; }
.score-tile .val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.issue-list { display: flex; flex-direction: column; gap: 8px; }
.issue {
  padding: 8px 10px;
  border-left: 3px solid var(--warn);
  background: oklch(0.95 0.03 80);
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}
.issue .field-name { font-family: var(--mono); color: var(--ink-2); }

/* ---------- Remote-update banner ---------- */
.remote-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: oklch(0.95 0.05 80);
  border-bottom: 1px solid oklch(0.8 0.1 80 / 0.5);
  color: oklch(0.35 0.1 80);
  font-size: 13px;
  flex-shrink: 0;
}
.remote-banner .remote-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 4px oklch(0.7 0.13 80 / 0.25);
  animation: remotePulse 1.6s ease-in-out infinite;
}
@keyframes remotePulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(0.7 0.13 80 / 0.25); }
  50%      { box-shadow: 0 0 0 8px oklch(0.7 0.13 80 / 0.05); }
}

/* ---------- Inline error bar ---------- */
.error-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: oklch(0.94 0.05 25);
  border-bottom: 1px solid oklch(0.75 0.12 25 / 0.5);
  color: var(--danger);
  font-size: 12px;
  font-family: var(--mono);
  flex-shrink: 0;
}
.error-bar > span { flex: 1; }

/* ---------- GitHub chip in topbar ---------- */
.gh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border-strong);
  background: var(--panel);
}
.gh-chip img {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: block;
}
.gh-chip:hover { background: var(--panel-2); }

.pr-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}
.pr-link:hover { text-decoration: underline; }

/* ---------- Onboarding / Settings overlay ---------- */
.onb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.onb-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.onb-head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--border);
}
.onb-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.onb-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.onb-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  vertical-align: middle;
}
.onb-body {
  padding: 18px 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.onb-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 -2px;
  color: var(--ink-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.onb-divider::before, .onb-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.onb-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.onb-method {
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.onb-method:hover:not(:disabled) {
  border-color: var(--accent-line);
  background: oklch(0.97 0.01 80);
}
.onb-method-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.onb-method-title .badge {
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 500;
  background: var(--accent-soft);
  color: oklch(0.4 0.13 45);
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.onb-method-sub {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.onb-method-sub code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--panel);
  padding: 0 4px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.onb-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.onb-hint.warn { color: oklch(0.45 0.1 50); }
.onb-hint a { color: var(--accent); }
.onb-hint code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--panel-2);
  padding: 0 4px;
  border-radius: 3px;
}
.onb-error {
  font-size: 12px;
  color: var(--danger);
  background: oklch(0.95 0.04 25);
  border: 1px solid oklch(0.75 0.12 25 / 0.4);
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--mono);
}
.onb-msg {
  font-size: 12px;
  color: oklch(0.35 0.1 140);
  background: oklch(0.95 0.04 140);
  border: 1px solid oklch(0.75 0.1 140 / 0.4);
  padding: 8px 10px;
  border-radius: 6px;
}
.onb-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
}
.onb-device {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--panel-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.onb-device-step { font-size: 13px; }
.onb-device-step.muted { color: var(--ink-3); font-style: italic; }
.onb-device-code {
  font-family: var(--mono);
  font-size: 28px;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 18px;
  user-select: all;
}
