/* Empty state */
#empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 60px 80px;
  text-align: center;
}

.h-faded-mark {
  opacity: 0.07;
  margin-bottom: -24px;
  transition: opacity .3s;
}
html.dark .h-faded-mark { opacity: 0.12; }

.h-empty-logo {
  font-family: var(--h-serif);
  font-size: 34px;
  color: var(--h-ink);
  letter-spacing: -0.005em;
  line-height: 1.15;
}

.h-empty-sub {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--h-ink-mute);
  line-height: 1.55;
  max-width: 380px;
}

/* Chat inner */
#chat-inner {
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
}
#chat-inner.visible { display: flex; }

/* Header */
#chat-header {
  padding: 20px 36px 18px;
  border-bottom: 1px solid var(--h-hair-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--h-header-bg);
  flex: 0 0 auto;
}

.h-header-info { flex: 1; min-width: 0; }

.h-room-name {
  font-family: var(--h-serif);
  font-size: 23px;
  line-height: 1.1;
  cursor: pointer;
  border-radius: 4px;
  padding: 0 4px;
  margin: 0 -4px;
  transition: background 0.12s;
}
.h-room-name:hover { background: var(--h-surface-hi); }
.h-room-name.editing {
  outline: 1.5px solid var(--h-accent);
  background: var(--h-bg);
}

.h-room-tagline {
  font-family: var(--h-serif);
  font-size: 13px;
  color: var(--h-ink-faint);
  margin-top: 4px;
}
.h-model-badge {
  display: inline-block;
  font-family: var(--h-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--h-ink-faint);
  background: color-mix(in srgb, var(--h-ink-faint) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--h-ink-faint) 15%, transparent);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.h-header-seals { display: flex; }

.h-header-seal {
  position: relative;
  box-shadow: 0 0 0 2px var(--h-header-bg);
  border-radius: 50%;
}
.h-header-seal + .h-header-seal { margin-left: -6px; }

.h-add-participant {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px dashed var(--h-ink-faint);
  background: transparent; color: var(--h-ink-faint);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px; transition: all 0.15s; position: relative;
}
.h-add-participant:hover { border-color: var(--h-accent); color: var(--h-accent); }

/* Compact progress bar */
.h-compact-bar {
  display: none;
  flex-direction: column;
  gap: 1px;
  background: var(--h-hair-soft);
  flex-shrink: 0;
  padding: 1px 0;
}
.h-compact-bar.visible { display: flex; }
.h-compact-fill {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, oklch(0.62 0.14 250), transparent);
  background-size: 200% 100%;
  animation: compact-shimmer 1.5s ease-in-out infinite;
  transition: opacity 0.3s ease;
}
.h-compact-fill.completed {
  opacity: 0;
  pointer-events: none;
}
@keyframes compact-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.h-compact-btn.active {
  color: oklch(0.62 0.14 250);
}
.h-compact-btn:disabled { opacity: 0.4; cursor: default; }

/* Messages */
#messages {
  flex: 1;
  overflow-y: auto;
  padding: 32px 0 16px;
}

#messages-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Message row */
.h-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}
.h-msg-row.human { flex-direction: row-reverse; }

.h-msg-seal-wrap { flex: 0 0 auto; margin-bottom: 2px; }

.h-msg-body {
  max-width: var(--stoa-msg-width, 560px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.h-msg-row.human .h-msg-body { align-items: flex-end; }
.h-msg-row.ai   .h-msg-body { align-items: flex-start; }

.h-msg-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 4px;
}
.h-msg-row.human .h-msg-meta { flex-direction: row-reverse; }

.h-msg-name {
  font-family: var(--h-msg);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.h-msg-time {
  font-family: var(--h-serif);
  font-size: 12.5px;
  color: var(--h-ink-faint);
}
.h-msg-model {
  text-align: right;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--h-ink-faint);
  opacity: 0.6;
  margin-top: 6px;
}

.h-bubble {
  color: var(--h-ink);
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  white-space: pre-wrap;
  word-break: break-word;
  text-wrap: pretty;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.h-msg-row.ai .h-bubble {
  font-family: var(--h-msg);
  font-size: calc(var(--stoa-msg-scale, 1) * 16px);
  font-weight: 400;
  line-height: calc(1.6 * var(--stoa-msg-leading, 1));
  border-top-left-radius: 4px;
}
.h-msg-row.human .h-bubble {
  font-family: var(--h-msg);
  font-size: calc(var(--stoa-msg-scale, 1) * 16px);
  font-weight: 400;
  line-height: calc(1.6 * var(--stoa-msg-leading, 1));
  border-top-right-radius: 4px;
}

.h-msg-img {
  width: 280px;
  height: 200px;
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  object-fit: cover;
  object-position: center;
}
.h-gallery-wrap {
  position: relative;
  margin-bottom: 8px;
}
.h-msg-gallery {
  width: 100%;
  max-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.h-msg-gallery.dragging { cursor: grabbing; }
.h-gallery-track {
  display: flex;
  gap: 6px;
  height: 100%;
  will-change: transform;
}
.h-gallery-track.snapping {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.h-gallery-track img {
  height: 200px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  flex-shrink: 0;
  background: rgba(0,0,0,0.15);
}
.h-gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s;
}
.h-gallery-nav:hover { background: rgba(0,0,0,0.7); }
.h-gallery-nav.left { left: 6px; }
.h-gallery-nav.right { right: 6px; }
.h-gallery-counter {
  text-align: center;
  font-size: 11px;
  color: var(--h-ink-mute);
  margin-top: 4px;
}
@media (max-width: 600px) {
  .h-msg-img { width: 220px; height: 180px; }
  .h-msg-gallery { max-height: 180px; }
  .h-gallery-track img { height: 160px; }
}
.h-msg-img:hover { opacity: 0.9; }

#img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#img-lightbox.visible { display: flex; }
#img-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}
.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
#img-lightbox.has-nav .lb-nav { display: flex; align-items: center; justify-content: center; }


/* ── Reading comfort controls ───────────────────── */
.s-msg-section { display: flex; flex-direction: column; gap: 18px; padding: 14px 0 6px; }
.s-msg-sublabel {
  font-family: var(--h-serif); font-style: italic;
  font-size: 12px; color: var(--h-ink-mute); letter-spacing: .04em; margin-bottom: 2px;
}
.s-msg-row { display: flex; gap: 8px; }
.s-msg-row-wrap { display: flex; gap: 18px; flex-wrap: wrap; }
.s-msg-col { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }

.s-seg-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; gap: 8px; min-height: 62px;
  padding: 12px 8px 10px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--h-hair-soft);
  color: var(--h-ink-mute); transition: background .12s, border-color .12s, color .12s;
}
.s-seg-btn:hover { border-color: var(--h-hairline); }
.s-seg-btn.active {
  background: var(--h-surface-hi); border-color: var(--h-ink); color: var(--h-ink);
}
.s-seg-label { font-family: var(--h-sans); font-size: 11.5px; }
.s-seg-icon { font-family: var(--h-serif); line-height: 1; }

.s-seg-bars { display: flex; flex-direction: column; align-items: center; }
.s-seg-bar { width: 16px; height: 2px; border-radius: 2px; background: currentColor; }

.s-msg-preview {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--h-bg) 55%, var(--h-surface));
  border: 1px solid var(--h-hair-soft);
}
.s-msg-preview-row { display: flex; align-items: flex-end; gap: 10px; }
.s-msg-preview-row.human { flex-direction: row-reverse; }
.s-msg-preview-bubble {
  padding: 10px 15px; border-radius: 15px; border: 1px solid;
  font-family: var(--h-msg); color: var(--h-ink); text-wrap: pretty;
}

/* Streaming cursor */
.h-cursor {
  display: inline-block;
  width: 0.4em;
  height: 1.05em;
  background: currentColor;
  vertical-align: -2px;
  margin-left: 2px;
  opacity: 0.55;
  animation: h-blink 1.1s ease-in-out infinite;
}
@keyframes h-blink { 50% { opacity: 0; } }

/* Thinking dots */
.h-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin: 0 2px;
  opacity: 0.25;
  animation: h-dot-pulse 1.6s ease-in-out infinite;
}
.h-dot:nth-child(2) { animation-delay: .22s; }
.h-dot:nth-child(3) { animation-delay: .44s; }
@keyframes h-dot-pulse {
  0%, 60%, 100% { opacity: .2; transform: scale(.9); }
  30%           { opacity: .9; transform: scale(1); }
}

/* thinking/writing crossfade */
.h-status { position: relative; display: inline-grid; }
.h-status > * { grid-area: 1/1; }
.h-status .a { animation: h-flip-a 4.4s ease-in-out infinite; }
.h-status .b { animation: h-flip-b 4.4s ease-in-out infinite; opacity: 0; }
@keyframes h-flip-a { 0%, 42% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes h-flip-b { 0%, 42% { opacity: 0; } 55%, 100% { opacity: 1; } }

/* Stream caption below bubble */
.h-stream-caption {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

/* Thinking bubble (requesting / early streaming) */
.h-thinking-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  border: 1px solid;
  font-family: var(--h-msg);
  font-size: 13px;
  font-weight: 400;
}

/* Process trail (tool calls below bubble) */
.h-process-trail {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 5px;
  padding-left: 1px;
}
.h-process-step {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: 'ui-monospace', 'Cascadia Code', 'Fira Mono', monospace;
  font-size: 11px;
  color: var(--h-ink-faint);
  line-height: 1.6;
  opacity: 0.75;
}
.h-process-tool {
  min-width: 36px;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.h-process-input {
  opacity: 0.65;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}
.h-process-done {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 11px;
  color: var(--h-ink-faint);
  opacity: 0.7;
  margin-top: 2px;
}

/* Invite card */
.h-invite-card {
  align-self: center;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--h-hair-soft);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.h-invite-label {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--h-ink-faint);
  letter-spacing: 0.02em;
}

.h-invite-title {
  font-family: var(--h-serif);
  font-size: 18px;
  color: var(--h-ink);
  line-height: 1.4;
}

.h-invite-reason {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--h-ink-mute);
  line-height: 1.55;
  padding-left: 14px;
  border-left: 2px solid var(--h-hair-soft);
}

.h-invite-actions { display: flex; gap: 8px; margin-top: 4px; }

.h-btn-primary {
  background: var(--h-ink);
  color: var(--h-bg);
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--h-sans);
  letter-spacing: 0.005em;
  transition: opacity 0.12s;
}
.h-btn-primary:hover { opacity: 0.82; }
.h-btn-primary:disabled { opacity: 0.4; cursor: default; }

.h-btn-secondary {
  background: transparent;
  color: var(--h-ink-mute);
  border: 1px solid var(--h-hairline);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--h-sans);
  transition: background 0.12s;
}
.h-btn-secondary:hover { background: var(--h-surface); }
.h-btn-secondary:disabled { opacity: 0.4; cursor: default; }

/* ── Composer ─────────────────────────────────────────── */
#composer {
  padding: 16px 36px 22px;
  border-top: 1px solid var(--h-hair-soft);
  flex: 0 0 auto;
  transition: background 0.15s;
}
#composer.drag-over {
  background: color-mix(in srgb, var(--h-accent) 8%, transparent);
  border-top-color: var(--h-accent);
}

.h-composer-box {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 8px 14px;
  border-radius: 16px;
  background: var(--h-surface);
  border: 1px solid var(--h-hair-soft);
}

#attach-preview {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 6px;
}
#attach-preview.visible { display: flex; }
.attach-thumb {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--h-hairline);
}
.attach-thumb img { width: 100%; height: 100%; object-fit: cover; }
.attach-thumb-file {
  width: 56px; height: 56px;
  border-radius: 6px;
  border: 1px solid var(--h-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--h-surface-hi, #f5f5f5);
  position: relative;
}
.attach-thumb-file span {
  font-size: 9px;
  color: var(--h-ink-mute);
  position: absolute;
  bottom: 3px;
  left: 0; right: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}
.attach-thumb-x {
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
.attach-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 6px;
  background: var(--h-surface);
  border: 1px solid var(--h-hairline);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 200;
  min-width: 160px;
}
.attach-menu.visible { display: block; }
.attach-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--h-sans);
  color: var(--h-ink);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.attach-menu-item:hover { background: var(--h-hair-soft); }
.attach-menu-item + .attach-menu-item { border-top: 1px solid var(--h-hair-soft); }
.attach-menu-item svg { flex-shrink: 0; color: var(--h-ink-mute); }

/* Reply bar */
#reply-bar {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--h-surface) 70%, transparent);
  border-left: 3px solid var(--h-ink-mute);
  border-radius: 0 8px 0 0;
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--h-sans);
  font-size: 13px;
}
#reply-bar.visible { display: flex; }
.reply-bar-content { flex: 1; min-width: 0; overflow: hidden; }
.reply-bar-name { font-weight: 600; font-size: 12px; margin-bottom: 1px; }
.reply-bar-text {
  color: var(--h-ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
#reply-bar-close {
  border: none;
  background: none;
  color: var(--h-ink-faint);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
#reply-bar-close:hover { color: var(--h-ink); }

/* Reply quote in bubble */
.h-reply-quote {
  padding: 6px 10px;
  margin-bottom: 6px;
  border-left: 3px solid var(--h-ink-faint);
  border-radius: 0 6px 6px 0;
  background: color-mix(in srgb, var(--h-ink) 6%, transparent);
  font-size: 12px;
  cursor: pointer;
}
.h-reply-quote:hover { background: color-mix(in srgb, var(--h-ink) 10%, transparent); }
.h-reply-quote-name { font-weight: 600; font-size: 11px; margin-bottom: 1px; }
.h-reply-quote-text {
  color: var(--h-ink-mute);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.h-reply-quote-file {
  font-size: 11px;
  color: var(--h-accent, #5b9bd5);
  word-break: break-all;
  margin-bottom: 2px;
}

/* Message actions (copy + reply) — Gemini-style, beside bubble */
.h-msg-actions {
  display: none;
  position: absolute;
  top: -15px;
  gap: 1px;
  padding: 3px;
  border-radius: 9px;
  background: var(--h-surface);
  border: 1px solid var(--h-hairline);
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  z-index: 5;
}
.h-msg-row:hover .h-msg-actions, .h-msg-row.show-actions .h-msg-actions { display: flex; }
.h-msg-row.ai .h-msg-actions { right: 8px; }
.h-msg-row.human .h-msg-actions { left: 8px; }
.h-msg-action-btn {
  border: none;
  background: none;
  color: var(--h-ink-mute);
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background .12s, color .12s;
}
.h-msg-action-btn:hover { background: var(--h-surface-hi); color: var(--h-ink); }

.h-msg-action-btn.copied svg { stroke: #5cb85c; }
.h-msg-action-btn.copied { background: rgba(92,184,92,.12); }

.upload-error {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: oklch(0.55 0.18 25);
  font-family: var(--h-sans);
  background: oklch(0.97 0.02 25);
  border: 1px solid oklch(0.85 0.08 25);
  border-radius: 10px;
  margin-bottom: 6px;
}
.upload-error.visible { display: flex; }

#upload-progress {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--h-ink);
  font-family: var(--h-sans);
  font-weight: 500;
  background: var(--h-surface);
  border: 1px solid var(--h-hairline);
  border-radius: 10px;
  margin-bottom: 6px;
}
#upload-progress.visible { display: flex; }
#upload-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--h-hair-soft);
  overflow: hidden;
}
#upload-progress-fill {
  height: 100%;
  width: 0%;
  background: oklch(0.62 0.14 250);
  border-radius: 3px;
  transition: width 0.15s ease;
}
#upload-progress.processing #upload-progress-fill {
  background: linear-gradient(90deg, oklch(0.62 0.14 250), oklch(0.72 0.10 250), oklch(0.62 0.14 250));
  background-size: 200% 100%;
  animation: upload-shimmer 1.5s ease-in-out infinite;
}
@keyframes upload-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.h-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--h-surface-hi);
  border: 1px solid var(--h-hair-soft);
  font-size: 13px;
  font-family: var(--h-sans);
  color: var(--h-ink);
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.h-msg-file:hover { background: var(--h-hair-soft); }
.h-msg-file svg { flex-shrink: 0; color: var(--h-ink-mute); }


.h-fmt-bar {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--h-hair-soft);
  margin-bottom: 4px;
}
.h-fmt-bar.hidden { display: none; }

.h-fmt-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--h-ink-mute);
  font-family: var(--h-sans);
  font-size: 13px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s, background 0.12s;
  min-width: 26px;
  height: 26px;
}
.h-fmt-btn:hover { color: var(--h-ink); background: var(--h-surface-hi); }
.h-fmt-btn.active { color: var(--h-ink); background: var(--h-hair-soft); }

.h-fmt-sep {
  width: 1px;
  height: 16px;
  background: var(--h-hair-soft);
  margin: 0 4px;
  flex-shrink: 0;
}

.h-composer-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#msg-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--h-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--h-ink);
  padding: 4px 0;
  min-height: 24px;
  max-height: 120px;
  overflow-y: auto;
  word-break: break-word;
  white-space: pre-wrap;
}
#msg-input:empty::before {
  content: attr(data-placeholder);
  color: var(--h-ink-mute);
  pointer-events: none;
}
#msg-input strong, #msg-input b { font-weight: 600; }
#msg-input em, #msg-input i { font-style: italic; }
#msg-input s, #msg-input del { text-decoration: line-through; }
#msg-input code { font-family: monospace; font-size: 13px; background: var(--h-hair-soft); border-radius: 3px; padding: 0 3px; }
#msg-input .h-skill-tag {
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  padding: 1px 5px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
#msg-input pre { background: var(--h-hair-soft); border-radius: 6px; padding: 6px 10px; margin: 2px 0; white-space: pre-wrap; }
#msg-input pre + pre { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 0; }
#msg-input pre:has(+ pre) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
#msg-input blockquote { border-left: 3px solid var(--h-ink-mute); margin: 2px 0; padding: 2px 0 2px 10px; color: var(--h-ink-mute); }
#msg-input ol, #msg-input ul { margin: 2px 0 2px 18px; padding: 0; }
#msg-input li { margin: 1px 0; }
#msg-input a { color: #5b8fd4; text-decoration: underline; text-underline-offset: 2px; }
#msg-input pre code { background: none; padding: 0; }

.h-composer-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-top: 6px;
  margin-top: 2px;
  border-top: 1px solid var(--h-hair-soft);
}

.h-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--h-ink-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s, background 0.12s;
}
.h-icon-btn:hover { color: var(--h-ink); background: var(--h-surface-hi); }

#send-btn {
  background: var(--h-ink);
  color: var(--h-bg);
  border: none;
  width: 26px; height: 26px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.12s;
  flex-shrink: 0;
}
#send-btn:hover { opacity: 0.82; }
#send-btn:disabled { opacity: 0.3; cursor: default; }
#enter-send-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-right: 6px;
  user-select: none;
}
.enter-send-label {
  font-family: var(--h-sans);
  font-size: 11px;
  color: var(--h-ink-faint);
  white-space: nowrap;
}
.enter-send-switch {
  width: 30px;
  height: 17px;
  border-radius: 99px;
  background: var(--h-ink-faint);
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
  opacity: 0.4;
}
.enter-send-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: left 0.15s;
}
#enter-send-toggle.active .enter-send-switch { background: var(--h-sidebar-bg); opacity: 1; }
#enter-send-toggle.active .enter-send-knob { left: 15px; }
#enter-send-toggle.active .enter-send-label { color: var(--h-ink-mute); }

/* ── Voice recording state ─────────────────────────── */
#voice-btn.recording {
  color: #d32f2f;
  background: rgba(211, 47, 47, 0.1);
  animation: voice-pulse 1.2s ease-in-out infinite;
}
@keyframes voice-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Stop generation button ────────────────────────── */
#stop-btn {
  display: none;
  margin-left: auto;
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--h-sans);
  font-weight: 500;
  animation: stop-blink 1.2s ease-in-out infinite;
}
#stop-btn.visible { display: inline-flex; align-items: center; gap: 5px; }
@keyframes stop-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ── Composer disabled state ────────────────────────── */
.h-composer-box.ai-processing #msg-input {
  pointer-events: none;
  opacity: 0.45;
}
.h-composer-box.ai-processing #send-btn { display: none; }
.h-composer-box.ai-processing #enter-send-toggle { pointer-events: none; opacity: 0.35; }
.h-composer-box.ai-processing .h-icon-btn:not(#voice-btn):not(#voice-lang-btn) { pointer-events: none; opacity: 0.35; }
.h-composer-box.ai-processing .h-fmt-btn { pointer-events: none; opacity: 0.35; }

/* ── Streaming bubble semi-transparent ──────────────── */
.h-bubble.streaming { opacity: 0.55; }

/* ── Emoji picker ───────────────────────────────────── */
#emoji-picker {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: var(--h-surface);
  border: 1px solid var(--h-hairline);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  z-index: 60;
  overflow: hidden;
}
#emoji-picker.open { display: block; }
#emoji-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--h-hairline);
  padding: 8px 10px;
  font-size: 13px;
  background: var(--h-surface);
  color: var(--h-ink);
  outline: none;
  box-sizing: border-box;
  border-radius: 14px 14px 0 0;
}
#emoji-search::placeholder { color: var(--h-ink); opacity: 0.4; }
#emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  padding: 8px;
  max-height: 200px;
  overflow-y: auto;
}
#emoji-no-result {
  padding: 16px;
  text-align: center;
  color: var(--h-ink);
  opacity: 0.4;
  font-size: 13px;
}
.h-emoji-btn {
  border: none;
  background: none;
  font-size: 20px;
  width: 30px; height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.1s;
  line-height: 1;
}
.h-emoji-btn:hover { background: var(--h-hair-soft); }

/* ── Skill autocomplete ──────────────────────────────── */
#skill-popup {
  position: absolute;
  bottom: 100%;
  left: -1px; right: -1px;
  background: color-mix(in srgb, var(--h-surface) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--h-hairline);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  overflow: hidden;
  z-index: 50;
  padding: 4px 0;
}

.h-skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.10s;
}
.h-skill-item:hover, .h-skill-item.active {
  background: color-mix(in srgb, var(--h-ink) 6%, transparent);
}
.h-skill-name {
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--skill-color, #5b8fd4) 15%, transparent);
  color: var(--skill-color, #5b8fd4);
}
.h-skill-desc {
  font-family: var(--h-msg);
  font-size: 12px;
  color: var(--h-ink-faint);
  flex: 1;
}
.h-skill-agent {
  font-family: var(--h-sans);
  font-size: 11px;
  color: var(--h-ink-faint);
  opacity: .6;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Mention autocomplete ──────────────────────────── */
#mention-popup {
  position: absolute;
  bottom: 100%;
  left: -1px; right: -1px;
  background: color-mix(in srgb, var(--h-surface) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--h-hairline);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  overflow: hidden;
  z-index: 50;
  padding: 4px 0;
}
.h-mention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.10s;
}
.h-mention-item:hover, .h-mention-item.active {
  background: color-mix(in srgb, var(--h-ink) 6%, transparent);
}
.h-mention-name {
  font-family: var(--h-msg);
  font-size: 13px;
  font-weight: 600;
}
.h-mention-tag {
  color: oklch(0.65 0.15 250);
  font-weight: 600;
}
.h-bubble .h-mention-inline {
  color: oklch(0.65 0.15 250);
  font-weight: 600;
}

/* Skill invoked notice */
.h-skill-notice {
  align-self: center;
  font-family: var(--h-msg);
  font-size: 12px;
  color: var(--h-ink-faint);
  background: color-mix(in srgb, var(--h-hairline) 40%, transparent);
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: 0.01em;
}

.h-system-event {
  align-self: center;
  font-family: var(--h-msg);
  font-size: 12px;
  color: var(--h-ink-faint);
  padding: 8px 0;
  letter-spacing: 0.01em;
  text-align: center;
}

.h-restart-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: oklch(0.42 0.16 265);
  color: #fff;
  font-family: var(--h-sans);
  font-size: 14px;
  text-align: center;
  padding: 12px 20px;
  animation: h-banner-slide 0.3s ease-out;
}
.h-restart-banner a { color: #fff; text-decoration: underline; font-weight: 500; }
@keyframes h-banner-slide { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.h-install-banner {
  display: none;
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9000;
  background: var(--h-surface-hi);
  border: 1px solid var(--h-hairline);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  font-family: var(--h-sans);
  font-size: 14px;
  color: var(--h-ink);
  max-width: 340px;
  width: calc(100vw - 32px);
  animation: h-install-pop 0.3s ease-out;
}
.h-install-banner.visible { display: flex; flex-direction: column; gap: 10px; }
.h-install-banner-row { display: flex; align-items: center; gap: 12px; }
.h-install-banner-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.h-install-banner-text { flex: 1; }
.h-install-banner-title { font-weight: 600; font-size: 15px; }
.h-install-banner-sub { font-size: 12px; color: var(--h-ink-mute); margin-top: 2px; }
.h-install-banner-actions { display: flex; gap: 8px; justify-content: flex-end; }
.h-install-banner-actions button {
  border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer;
}
.h-install-btn-add { background: oklch(0.42 0.16 265); color: #fff; }
.h-install-btn-dismiss { background: transparent; color: var(--h-ink-mute); }
@keyframes h-install-pop { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── New-room modal ──────────────────────────────────── */
.h-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,20,10,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.h-modal {
  background: var(--h-surface);
  border-radius: 18px;
  border: 1px solid var(--h-hairline);
  padding: 28px 28px 24px;
  width: 380px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}

.h-modal-title {
  font-family: var(--h-serif);
  font-size: 22px;
  color: var(--h-ink);
}

.h-modal-label {
  font-family: var(--h-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--h-ink-faint);
  margin-bottom: -8px;
}

.h-modal-input {
  background: var(--h-bg);
  border: 1px solid var(--h-hairline);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--h-sans);
  font-size: 15px;
  color: var(--h-ink);
  outline: none;
  width: 100%;
  transition: border-color 0.12s;
}
.h-modal-input:focus { border-color: var(--h-ink-mute); }
.h-modal-input::placeholder { color: var(--h-ink-faint); }

.h-actor-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h-actor-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.10s;
}
.h-actor-check:hover { background: var(--h-bg); }

.h-actor-check input[type=radio] {
  display: none;
}

.h-actor-check::before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--h-ink-mute);
  flex: 0 0 auto;
  transition: background 0.12s, border-color 0.12s;
  box-sizing: border-box;
}

.h-actor-check:has(input[type=radio]:checked)::before {
  background: var(--h-ink);
  border-color: var(--h-ink);
}

.h-actor-check:has(input[type=radio]:checked) {
  background: var(--h-bg);
}

.h-actor-check-name {
  font-family: var(--h-sans);
  font-size: 14px;
  color: var(--h-ink-mute);
}

.h-actor-check:has(input[type=radio]:checked) .h-actor-check-name {
  color: var(--h-ink);
}

/* ── Markdown in bubbles ─────────────────────────────── */
.h-bubble { white-space: normal; }

.h-bubble p { margin: 0 0 0.7em; }
.h-bubble p:last-child { margin-bottom: 0; }

.h-bubble h1, .h-bubble h2, .h-bubble h3,
.h-bubble h4, .h-bubble h5, .h-bubble h6 {
  font-family: var(--h-serif);
  font-weight: 500;
  line-height: 1.25;
  margin: 0.6em 0 0.3em;
}
.h-bubble h1 { font-size: 1.3em; }
.h-bubble h2 { font-size: 1.15em; }
.h-bubble h3 { font-size: 1.05em; }
.h-bubble h1:first-child, .h-bubble h2:first-child, .h-bubble h3:first-child { margin-top: 0; }

.h-bubble ul, .h-bubble ol {
  margin: 0.35em 0 0.7em 1.5em;
  padding: 0;
}
.h-bubble li { margin: 0.2em 0; }
.h-bubble li:last-child { margin-bottom: 0; }

.h-bubble blockquote {
  margin: 0.5em 0;
  padding: 2px 0 2px 12px;
  border-left: 2px solid var(--h-hair-soft);
  color: var(--h-ink-mute);
  font-style: italic;
}

.h-bubble a { color: inherit; text-decoration: underline; opacity: 0.75; }
.h-bubble a:hover { opacity: 1; }

.h-bubble hr { border: none; border-top: 1px solid var(--h-hair-soft); margin: 0.7em 0; }

/* File path links */
.h-file-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-color: var(--h-accent);
  transition: background .12s;
  border-radius: 3px;
}
.h-file-link:hover {
  background: color-mix(in srgb, var(--h-accent) 12%, transparent);
}
code.h-file-link {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-color: var(--h-accent);
}
code.h-file-link:hover {
  background: color-mix(in srgb, var(--h-accent) 18%, oklch(0.820 0.028 50));
}
html.dark code.h-file-link:hover {
  background: color-mix(in srgb, var(--h-accent) 18%, oklch(0.550 0.020 55));
}

.h-file-link-block { transition: outline .12s; }
.h-file-link-block:hover { outline: 1.5px dashed var(--h-accent); outline-offset: -1.5px; }

/* Inline code */
.h-bubble :not(pre) > code {
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 0.82em;
  font-style: normal;
  background: oklch(0.820 0.028 50);
  border-radius: 4px;
  padding: 1px 6px;
  color: oklch(0.180 0.014 45);
  word-break: break-all;
}
html.dark .h-bubble :not(pre) > code {
  background: oklch(0.550 0.020 55);
  color: oklch(0.150 0.010 45);
}

/* ── Syntax highlighting (Hearth palette — matches workspace.jsx SYN) ── */
.hljs { background: transparent; color: #d3c8b4; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in { color: #c2876b; }
.hljs-string, .hljs-attr, .hljs-addition { color: #b59a5e; }
.hljs-number, .hljs-literal, .hljs-variable.constant_ { color: #c08aa0; }
.hljs-comment, .hljs-quote { color: #837868; font-style: italic; }
.hljs-function .hljs-title, .hljs-title.function_, .hljs-title.class_ { color: #6f9f8c; }
.hljs-type, .hljs-params { color: #6f9f8c; }
.hljs-property, .hljs-attribute { color: #d3c8b4; }
.hljs-regexp, .hljs-link { color: #c2876b; }
.hljs-meta, .hljs-tag { color: #9a8f7e; }
.hljs-name, .hljs-selector-class, .hljs-selector-id { color: #c2876b; }
.hljs-symbol, .hljs-bullet { color: #b59a5e; }
.hljs-template-variable, .hljs-subst { color: #d3c8b4; }
.hljs-deletion { color: #c08378; }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 600; }
.hljs-punctuation { color: #9a8f7e; }

/* Code block */
.h-bubble pre {
  position: relative;
  margin: 10px 0;
  border-radius: 10px;
  background: oklch(0.193 0.016 44);
  overflow-x: auto;
  max-width: 100%;
}
.h-bubble pre:first-child { margin-top: 0; }
.h-bubble pre:last-child  { margin-bottom: 0; }

.h-bubble pre code {
  display: block;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: calc(var(--stoa-msg-scale, 1) * 13px);
  font-style: normal;
  line-height: 1.6;
  color: #d3c8b4;
  padding: 14px 16px;
  padding-right: 52px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  background: transparent;
}

/* Language label */
.h-code-lang {
  position: absolute;
  top: 8px;
  left: 12px;
  font-family: var(--h-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #837868;
  text-transform: uppercase;
  pointer-events: none;
  line-height: 1;
}
.h-bubble pre:has(.h-code-lang) code {
  padding-top: 28px;
}

/* Copy button */
.h-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: oklch(0.285 0.012 48);
  color: oklch(0.590 0.010 55);
  border: none;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-family: var(--h-sans);
  letter-spacing: 0.02em;
  line-height: 1.7;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.h-copy-btn:hover {
  background: oklch(0.345 0.012 48);
  color: oklch(0.900 0.008 55);
}
.h-copy-btn.copied { color: #7fb98c; }

/* table */
.h-bubble table { border-collapse: collapse; margin: 0.5em 0; font-size: 0.82em; width: auto; max-width: 100%; overflow-x: auto; display: block; }
.h-bubble th, .h-bubble td {
  border: 1px solid var(--h-hair-soft);
  padding: 3px 7px;
  text-align: left;
  white-space: nowrap;
}
.h-bubble th { background: color-mix(in srgb, var(--h-hairline) 30%, transparent); font-weight: 600; }

/* model dropdown */
.h-model-dropdown { position: relative; }
.h-model-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: none; cursor: pointer;
  color: inherit; font-size: 11px; padding: 2px 4px;
  border-radius: 4px;
}
.h-model-dropdown-trigger:hover { background: var(--h-surface-hi, rgba(255,255,255,0.08)); }
.h-model-dropdown-list {
  display: none; position: absolute; bottom: 100%; left: 0;
  min-width: 220px; max-height: 320px; overflow-y: auto;
  background: var(--h-bg, #1a1a1a); border: 1px solid var(--h-hairline, #333);
  border-radius: 6px; box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
  z-index: 200; margin-bottom: 4px; padding: 4px 0;
}
.h-model-dropdown-list.open { display: block; }
.h-model-dropdown-list .h-model-optgroup {
  padding: 4px 10px 2px; font-size: 10px; font-weight: 600;
  color: var(--h-ink-soft, #888); text-transform: uppercase; letter-spacing: 0.5px;
}
.h-model-dropdown-list .h-model-option {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; cursor: pointer; font-size: 11px;
  color: var(--h-ink, #ddd);
}
.h-model-dropdown-list .h-model-option:hover { background: var(--h-surface-hi, rgba(255,255,255,0.08)); }
.h-model-dropdown-list .h-model-option.selected { background: var(--h-accent, #4a9eff); color: #fff; }
.h-model-dropdown-list .h-model-option .h-model-cap-icons {
  display: inline-flex; gap: 2px; opacity: 0.5; margin-left: auto; flex-shrink: 0;
}

/* Offline agents in the create-room / add-agent pickers: visible but not selectable,
   with an explicit online/offline badge so the user understands why. */
.h-actor-check.is-offline { cursor: not-allowed; opacity: 0.55; }
.h-actor-check.is-offline:hover { background: none; }
.h-actor-status {
  margin-left: auto;
  font-family: var(--h-sans);
  font-size: 11px;
  color: var(--h-ink-faint);
  letter-spacing: 0.02em;
}
.h-actor-status.is-online { color: #7fb98c; }

.wa-context {
  margin-top: 8px;
  border-top: 1px solid var(--h-border, rgba(128,128,128,.2));
  padding-top: 6px;
}
.wa-context summary {
  font-size: 11px;
  color: var(--h-ink-faint, #888);
  cursor: pointer;
  user-select: none;
}
.wa-context > :not(summary) { font-size: 11px; color: var(--h-ink-faint, #888); }
.wa-context p, .wa-context code { font-size: 11px; }
