/* ============================================================
   NICO — GTM approval inbox + redraft message modal
   Borrows the workspace ink + signal-lime system from nico.css.
   Scoped to #pane-inbox and the #gtmModal overlay.
   ============================================================ */

/* ---- channel atoms ---- */
:root {
  --ch-email: var(--c-gmail);
  --ch-li:    #0A66C2;
  --ch-call:  var(--run);
}

#pane-inbox { background: var(--surface-1); }

/* base icon sizing — IC svgs ship viewBox only; specific rules below override */
.gtm svg, .gtm-modal svg, .gtm-toast svg, #gtmTweaks svg { width: 14px; height: 14px; flex: none; }
.gtm-empty .eic svg { width: 22px; height: 22px; }
.gtm-why-h .chev svg { width: 12px; height: 12px; }

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

/* ---------- top bar ---------- */
.gtm-top { display: flex; align-items: center; gap: 12px; padding: 11px 15px; border-bottom: 0.5px solid var(--line-soft); flex: none; }
.gtm-top .gt-title { font-family: var(--mono); font-size: 12.5px; color: var(--text); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.gtm-top .gt-title svg { width: 14px; height: 14px; flex: none; color: var(--accent-text); }
.gtm-top .gt-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin-top: 3px; }
.gtm-st-chip { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 6px; background: var(--surface-2); border: 0.5px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--text-3); white-space: nowrap; flex: none; }
.gtm-st-chip .ic { width: 13px; height: 13px; border-radius: 3px; display: grid; place-items: center; font-size: 6.5px; font-weight: 700; color: #fff; background: var(--c-salestools); }

/* ---------- split ---------- */
.gtm-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 318px minmax(0, 1fr); }
.gtm-list { border-right: 0.5px solid var(--line-soft); min-height: 0; min-width: 0; overflow: auto; display: flex; flex-direction: column; }
.gtm-detail { min-height: 0; min-width: 0; display: flex; flex-direction: column; position: relative; }

/* ---------- filters ---------- */
.gtm-filters { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; padding: 11px 12px; background: var(--surface-1); border-bottom: 0.5px solid var(--line-soft); flex-wrap: wrap; }
.gtm-fchip { height: 25px; padding: 0 9px; border-radius: 7px; border: 0.5px solid var(--line); background: var(--surface-2); font-family: var(--mono); font-size: 10.5px; color: var(--text-3); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .12s, border-color .12s; }
.gtm-fchip:hover { background: var(--hover); }
.gtm-fchip .n { color: var(--text-4); font-variant-numeric: tabular-nums; }
.gtm-fchip.on { background: var(--accent-dim); border-color: var(--accent-line); color: var(--accent-text); }
.gtm-fchip.on .n { color: var(--accent-text); }

/* ---------- list item ---------- */
.gtm-item { display: grid; grid-template-columns: 36px 1fr; gap: 11px; padding: 13px 13px; border-bottom: 0.5px solid var(--line-soft); cursor: pointer; position: relative; }
.gtm-item:hover { background: var(--surface-2); }
.gtm-item.sel { background: var(--accent-dim); }
.gtm-item.sel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.gtm-item.gone { display: none; }

.gtm-av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 12px; color: #fff; position: relative; flex: none; }
.gtm-av .ch { position: absolute; right: -5px; bottom: -5px; width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center; border: 1.5px solid var(--surface-1); color: #fff; }
.gtm-av .ch svg { width: 9px; height: 9px; }
.gtm-item.sel .gtm-av .ch { border-color: oklch(0.24 0.05 130); }

.gtm-it-top { display: flex; align-items: center; gap: 7px; }
.gtm-it-name { font-size: 12.5px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gtm-it-co { font-family: var(--mono); font-size: 9.5px; color: var(--text-4); white-space: nowrap; }
.gtm-it-snip { font-size: 11.5px; color: var(--text-3); margin-top: 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gtm-it-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.gtm-cad { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 9.5px; color: var(--text-4); white-space: nowrap; }
.gtm-cad .st { width: 11px; height: 11px; border-radius: 3px; display: grid; place-items: center; font-size: 5.5px; font-weight: 700; color: #fff; background: var(--c-salestools); }

/* type badge */
.gtm-badge { font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; flex: none; }
.gtm-badge.draft { background: var(--accent-dim); color: var(--accent-text); border: 0.5px solid var(--accent-line); }
.gtm-badge.reply { background: var(--info-dim); color: var(--info); border: 0.5px solid oklch(0.77 0.11 240 / 0.4); }
.gtm-badge.step  { background: var(--run-dim); color: var(--run); border: 0.5px solid oklch(0.83 0.15 85 / 0.4); }

/* ---------- detail ---------- */
.gtm-dhead { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px 14px; border-bottom: 0.5px solid var(--line-soft); flex: none; }
.gtm-dhead .gtm-av { width: 42px; height: 42px; border-radius: 12px; font-size: 14px; }
.gtm-dh-main { flex: 1; min-width: 0; }
.gtm-dh-name { font-size: 15px; color: var(--text); font-weight: 600; }
.gtm-dh-sub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.gtm-dh-tags { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.gtm-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surface-2); border: 0.5px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.gtm-pill .st { width: 12px; height: 12px; border-radius: 3px; display: grid; place-items: center; font-size: 6px; font-weight: 700; color: #fff; background: var(--c-salestools); }
.gtm-pill.ok { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-dim); }

.gtm-dbody { flex: 1; min-height: 0; overflow: auto; padding: 16px 18px; }

/* inbound reply context */
.gtm-inbound { margin-bottom: 16px; }
.gtm-ctx-lbl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-bottom: 9px; }
.gtm-ctx-lbl .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--info); }
.gtm-bubble { background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 11px; border-top-left-radius: 3px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }
.gtm-bubble p + p { margin-top: 9px; }
.gtm-suggest-lbl { display: flex; align-items: center; gap: 8px; margin: 18px 0 11px; font-family: var(--mono); font-size: 10.5px; color: var(--accent-text); }
.gtm-suggest-lbl svg { width: 13px; height: 13px; }
.gtm-suggest-lbl .ln { flex: 1; height: 0.5px; background: var(--accent-line); }

/* message card */
.gtm-msg { border: 0.5px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface-1); position: relative; }
.gtm-msg-h { padding: 11px 14px; border-bottom: 0.5px solid var(--line-soft); display: block; }
.gtm-erow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; font-size: 12px; line-height: 1.45; align-items: baseline; }
.gtm-erow + .gtm-erow { margin-top: 5px; }
.gtm-erow .ek { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); }
.gtm-erow .ev { color: var(--text-2); min-width: 0; overflow-wrap: anywhere; }
.gtm-erow .ev b { color: var(--text); }
.gtm-li-h { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 0.5px solid var(--line-soft); }
.gtm-li-h .ch { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; flex: none; }
.gtm-li-h .ch svg { width: 12px; height: 12px; }
.gtm-li-h .t { font-size: 12px; color: var(--text); }
.gtm-li-h .m { font-family: var(--mono); font-size: 10px; color: var(--text-4); margin-top: 1px; }
.gtm-msg-body { padding: 14px; font-size: 12.5px; line-height: 1.68; color: var(--text-2); }
.gtm-msg-body p { margin: 0; }
.gtm-msg-body p + p { margin-top: 11px; }
.gtm-draft-invalid {
  display: flex; flex-direction: column; gap: 5px; padding: 11px 12px;
  border: 0.5px solid color-mix(in oklch, var(--err) 55%, var(--line));
  border-radius: 9px; background: color-mix(in oklch, var(--err) 10%, transparent);
  color: var(--text-2); line-height: 1.45;
}
.gtm-draft-invalid b { color: var(--err); font-weight: 600; }
.gtm-missing-id { display: inline-block; margin-left: 6px; color: var(--err); font-family: var(--mono); font-size: 10px; }
.gtm-blocked-send { display: inline-flex; align-items: center; gap: 6px; color: var(--err); font-family: var(--mono); font-size: 10.5px; }
.gtm-blocked-send svg { width: 14px; height: 14px; flex: none; }
.gtm-msg-body .var { background: var(--accent-dim); color: var(--accent-text); padding: 0 4px; border-radius: 4px; border: 0.5px solid var(--accent-line); }
.gtm-msg[contenteditable="true"] .gtm-msg-body { outline: none; }
.gtm-msg.editing { box-shadow: 0 0 0 1px var(--accent-line); border-color: var(--accent-line); }
.gtm-msg.editing .gtm-msg-body { caret-color: var(--accent); }
.gtm-edit-flag { position: absolute; right: 10px; top: 10px; font-family: var(--mono); font-size: 9px; color: var(--accent-text); background: var(--accent-dim); border: 0.5px solid var(--accent-line); padding: 2px 6px; border-radius: 5px; display: none; }
.gtm-msg.editing .gtm-edit-flag { display: block; }

/* diff highlight on regenerated paragraphs */
.gtm-msg-body p.diff { background: var(--accent-dim); border-radius: 4px; box-shadow: -4px 0 0 var(--accent); margin-left: 2px; padding: 2px 4px 2px 6px; animation: gtmDiff 1.4s ease; }
@keyframes gtmDiff { 0% { background: oklch(0.885 0.19 128 / 0.4); } 100% { background: var(--accent-dim); } }

/* why this draft */
.gtm-why { margin-top: 16px; border: 0.5px solid var(--line-soft); border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; }
.gtm-why-h { display: flex; align-items: center; gap: 8px; padding: 10px 13px; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); cursor: pointer; user-select: none; }
.gtm-why-h .chev { margin-left: auto; transition: transform .2s; }
.gtm-why.collapsed .gtm-why-h .chev { transform: rotate(-90deg); }
.gtm-why.collapsed .gtm-why-rows { display: none; }
.gtm-why-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 13px; border-top: 0.5px solid var(--line-soft); font-size: 11.5px; color: var(--text-2); line-height: 1.45; }
.gtm-why-k { font-family: var(--mono); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 5px; flex: none; margin-top: 1px; }
.gtm-why-k.signal { background: var(--info-dim); color: var(--info); }
.gtm-why-k.icp { background: var(--accent-dim); color: var(--accent-text); }
.gtm-why-k.ref { background: var(--surface-3); color: var(--text-3); }
.gtm-why-k.reply { background: var(--run-dim); color: var(--run); }
body.gtm-no-why .gtm-why { display: none; }

/* ---------- action bar ---------- */
.gtm-actions { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 0.5px solid var(--line); background: var(--surface-1); flex-wrap: wrap; }
.gtm-btn { height: 34px; padding: 0 13px; border-radius: 8px; border: 0.5px solid var(--line); background: var(--surface-2); color: var(--text-2); font-size: 12px; font-family: var(--sans); cursor: pointer; display: flex; align-items: center; gap: 7px; white-space: nowrap; transition: background .12s, border-color .12s, filter .12s; }
.gtm-btn:hover { background: var(--hover); }
.gtm-btn svg { width: 14px; height: 14px; flex: none; }
.gtm-btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.gtm-btn.primary:hover { filter: brightness(1.06); }
.gtm-btn.accent { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-dim); }
.gtm-btn.ghost { background: transparent; }
.gtm-btn.icon { padding: 0; width: 34px; justify-content: center; }
.gtm-actions .sp { flex: 1; }

/* ---------- empty (all cleared) ---------- */
.gtm-empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 40px; }
.gtm-empty .inner { max-width: 300px; }
.gtm-empty .eic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-dim); border: 0.5px solid var(--accent-line); display: grid; place-items: center; margin: 0 auto 15px; color: var(--accent-text); }
.gtm-empty h5 { font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.gtm-empty p { font-size: 12px; color: var(--text-4); line-height: 1.5; font-family: var(--mono); }

/* ============================================================
   COMPACT density (tweak)
   ============================================================ */
#pane-inbox.gtm-compact .gtm-item { padding: 9px 13px; }
#pane-inbox.gtm-compact .gtm-it-snip { -webkit-line-clamp: 1; margin-top: 3px; }
#pane-inbox.gtm-compact .gtm-it-foot { margin-top: 5px; }
#pane-inbox.gtm-compact .gtm-av { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
#pane-inbox.gtm-compact .gtm-item { grid-template-columns: 30px 1fr; }
#pane-inbox.gtm-compact .gtm-dbody { padding: 13px 18px; }

/* ============================================================
   REDRAFT MESSAGE MODAL
   ============================================================ */
.gtm-modal-scrim { position: absolute; inset: 0; background: oklch(0.10 0.006 264 / 0.66); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 120; }
.gtm-modal-scrim.on { display: flex; animation: gtmFade .18s ease; }
@keyframes gtmFade { from { opacity: 0; } to { opacity: 1; } }

.gtm-modal { width: 948px; max-width: calc(100% - 56px); height: 612px; max-height: calc(100% - 56px); background: var(--surface-1); border: 0.5px solid var(--line-bright); border-radius: var(--r-lg); box-shadow: 0 40px 130px oklch(0 0 0 / 0.62); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; animation: gtmRise .22s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes gtmRise { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }

.gtm-m-head { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-bottom: 0.5px solid var(--line); flex: none; }
.gtm-m-head .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.gtm-m-head .ic svg { width: 16px; height: 16px; }
.gtm-m-title { font-size: 14px; color: var(--text); font-weight: 600; }
.gtm-m-sub { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin-top: 2px; }
.gtm-m-close { width: 30px; height: 30px; border-radius: 8px; border: 0.5px solid var(--line); background: var(--surface-2); color: var(--text-3); cursor: pointer; display: grid; place-items: center; }
.gtm-m-close:hover { background: var(--hover); color: var(--text); }

.gtm-m-body { display: grid; grid-template-columns: 1fr 344px; min-height: 0; }
.gtm-m-left { min-height: 0; overflow: auto; padding: 16px; border-right: 0.5px solid var(--line-soft); display: flex; flex-direction: column; gap: 13px; position: relative; }
.gtm-m-right { min-height: 0; overflow: auto; padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 17px; background: var(--surface-2); }

/* before/after toggle */
.gtm-ba { display: flex; align-items: center; gap: 9px; }
.gtm-ba .lbl { font-family: var(--mono); font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.06em; margin-right: auto; }

/* regen overlay */
.gtm-regen { position: absolute; inset: 0; background: oklch(0.188 0.007 264 / 0.9); backdrop-filter: blur(2px); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 13px; z-index: 6; }
.gtm-regen.on { display: flex; }
.gtm-regen .spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--accent-line); border-top-color: var(--accent); animation: gtmSpin .7s linear infinite; }
@keyframes gtmSpin { to { transform: rotate(360deg); } }
.gtm-regen .t { font-family: var(--mono); font-size: 11px; color: var(--accent-text); }

/* control groups */
.gtm-cg { display: flex; flex-direction: column; }
.gtm-cg-label { font-family: var(--mono); font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.gtm-cg-label .hint { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--text-4); }

.gtm-prompt { width: 100%; min-height: 62px; resize: none; background: var(--bg); border: 0.5px solid var(--line); border-radius: 9px; padding: 10px 11px; color: var(--text); font-family: var(--sans); font-size: 12.5px; line-height: 1.5; outline: none; }
.gtm-prompt:focus { border-color: var(--accent-line); }
.gtm-prompt::placeholder { color: var(--text-4); }

.gtm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.gtm-chip { height: 25px; padding: 0 9px; border-radius: 7px; border: 0.5px solid var(--line); background: var(--surface-1); font-size: 11px; color: var(--text-2); cursor: pointer; transition: border-color .12s, color .12s, background .12s; }
.gtm-chip:hover { border-color: var(--accent-line); color: var(--accent-text); }
.gtm-chip.on { background: var(--accent-dim); border-color: var(--accent-line); color: var(--accent-text); }

/* persona chips */
.gtm-personas { display: flex; flex-wrap: wrap; gap: 6px; }
.gtm-pchip { display: flex; align-items: center; gap: 6px; height: 27px; padding: 0 10px; border-radius: 8px; border: 0.5px solid var(--line); background: var(--surface-1); font-size: 11px; color: var(--text-2); cursor: pointer; }
.gtm-pchip .ring { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--text-4); }
.gtm-pchip.on { background: var(--accent-dim); border-color: var(--accent-line); color: var(--accent-text); }
.gtm-pchip.on .ring { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--surface-1); }

/* segmented (tone) */
.gtm-seg { display: inline-flex; background: var(--surface-3); border: 0.5px solid var(--line); border-radius: 8px; padding: 2px; gap: 2px; }
.gtm-seg button { height: 25px; padding: 0 11px; border: none; background: transparent; color: var(--text-3); font-family: var(--mono); font-size: 10.5px; border-radius: 6px; cursor: pointer; }
.gtm-seg button.on { background: var(--surface-1); color: var(--text); box-shadow: 0 1px 2px oklch(0 0 0 / 0.3); }

/* insert variables */
.gtm-vars { display: flex; flex-wrap: wrap; gap: 5px; }
.gtm-var-btn { font-family: var(--mono); font-size: 10px; height: 23px; padding: 0 8px; border-radius: 6px; border: 0.5px dashed var(--line-bright); background: transparent; color: var(--text-3); cursor: pointer; }
.gtm-var-btn:hover { border-style: solid; color: var(--accent-text); border-color: var(--accent-line); }

.gtm-m-foot { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-top: 0.5px solid var(--line); flex: none; }
.gtm-m-foot .note { font-family: var(--mono); font-size: 10px; color: var(--text-4); margin-right: auto; display: flex; align-items: center; gap: 7px; }

/* inline redraft dock (tweak: surface=inline) */
.gtm-dock { margin-top: 16px; border: 0.5px solid var(--accent-line); border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; }
.gtm-dock-head { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-bottom: 0.5px solid var(--line-soft); font-family: var(--mono); font-size: 10.5px; color: var(--accent-text); }
.gtm-dock-head .ic { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.gtm-dock-head .ic svg { width: 11px; height: 11px; }
.gtm-dock-head .x { margin-left: auto; cursor: pointer; color: var(--text-4); }
.gtm-dock-body { padding: 14px 13px; display: flex; flex-direction: column; gap: 15px; }
.gtm-dock-foot { display: flex; gap: 8px; padding: 0 13px 14px; }

/* ---------- toast ---------- */
.gtm-toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px); background: var(--surface-3); border: 0.5px solid var(--line-bright); border-radius: 10px; padding: 10px 15px; font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 44px oklch(0 0 0 / 0.5); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; }
.gtm-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.gtm-toast .tic { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.gtm-toast .tic svg { width: 11px; height: 11px; }

/* ---------- live inbox summary strip + scroll + reply thread (2026-07-03) ---------- */
/* flex children must NOT shrink-to-fit — the column scrolls instead (same bug
   class as .cad-main: shrinking rows made scrollHeight==clientHeight → no scroll) */
.gtm-list > * { flex: 0 0 auto; }
.gtm-list, .gtm-dbody { overscroll-behavior: contain; }
.gtm-sumstrip {
  display: flex; align-items: center; gap: 7px; flex: none;
  padding: 8px 14px; border-bottom: 0.5px solid var(--line-soft);
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  background: var(--surface-2);
}
.gtm-sumstrip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px oklch(0.805 0.15 150 / 0.5); flex: none; }
.gtm-thread { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gtm-thread-msg .gtm-bubble { margin-top: 4px; }
.gtm-thread-msg.me .gtm-bubble { background: var(--accent-dim); border-color: var(--accent-line); }
