/* openvibe.chat. Colours follow the network theme variables (theme-loader.js) with dark defaults that
   match the critical canvas; everything reads and posts without JavaScript. */
:root {
  --oc-bg: var(--bg-primary, #0a0f1c);
  --oc-panel: var(--bg-secondary, #111a2c);
  --oc-panel-2: var(--bg-tertiary, #16213a);
  --oc-text: var(--text-primary, #e6edf7);
  --oc-muted: var(--text-secondary, #9fb0c8);
  --oc-line: var(--border-color, rgba(255, 255, 255, .12));
  --oc-accent: var(--accent, #60a5fa);
  --oc-on-accent: var(--on-accent, #0a0f1c);
  /* Status colours follow the theme: the -text ones read on its background (a light theme's green is dark enough
     for words), the -fill ones sit behind dark text (a button, a dot, a count). */
  --oc-red: var(--danger-text, var(--danger, #f87171));
  --oc-ok: var(--success-text, var(--success, #34d399));
  --oc-red-fill: var(--danger, #f87171);
  --oc-ok-fill: var(--success, #34d399);
  --oc-scale: 1;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oc-bg); color: var(--oc-text); font: calc(16px * var(--oc-scale))/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--oc-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 2px; }
.oc-skip { position: absolute; left: -9999px; }
.oc-skip:focus { left: 16px; top: 8px; background: var(--oc-panel); padding: 6px 10px; z-index: 10; }
.oc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oc-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; max-width: 960px; margin: 0 auto; padding: 12px 16px; border-bottom: 1px solid var(--oc-line); }
.oc-brand { font-weight: 800; color: var(--oc-text); text-decoration: none; letter-spacing: -.01em; }
.oc-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.oc-tabs a { color: var(--oc-muted); text-decoration: none; padding: 4px 10px; border-radius: 999px; }
.oc-tabs a[aria-current="page"], .oc-tabs a:hover { color: var(--oc-text); background: var(--oc-panel); }
.oc-account { font-size: 14px; color: var(--oc-muted); margin-left: auto; }
.oc-main { max-width: 960px; margin: 0 auto; padding: 16px 16px 48px; overflow-wrap: anywhere; }
/* The front page's showcase section under the room: the page column already has the gutter. */
.oc-main .sc-sec { padding-left: 0; padding-right: 0; margin-top: 40px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: .3em 0 .2em; }
.oc-muted { color: var(--oc-muted); }
.oc-live { color: var(--oc-ok); font-size: .85em; margin-left: 6px; }
.oc-notice { padding: 8px 12px; border-left: 4px solid var(--oc-accent); background: var(--oc-panel); border-radius: 0 8px 8px 0; }
.oc-notice.oc-error { border-color: var(--oc-red); }
.oc-notice.oc-ok { border-color: var(--oc-ok); }
.oc-feed { list-style: none; margin: 12px 0; padding: 8px 4px; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 12px; max-height: min(60vh, 720px); max-height: min(60svh, 720px); overflow-y: auto; overscroll-behavior-y: auto; } /* at its end a finger drag carries on into the page (Shared docs/kit.md "Scrolling on touch screens") */
.oc-msg { padding: 5px 10px; border-radius: 8px; line-height: 1.45; }
.oc-msg:hover { background: var(--oc-panel-2); }
.oc-compact .oc-msg { padding: 1px 10px; }
.oc-time { display: none; color: var(--oc-muted); font-size: .8em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.oc-times .oc-time { display: inline; }
.oc-name { font-weight: 700; text-decoration: none; color: var(--nc, inherit); }
/* A person's own colour (--nc) mixed half-and-half with the theme's text colour: the hue stays theirs,
   and it reads on any theme's background (their raw colour was below 4.5:1 on the dark panel). */
.oc-name { color: color-mix(in oklab, var(--nc, var(--oc-text)) 50%, var(--oc-text)); }
.oc-anon { color: var(--oc-muted); font-weight: 600; }
.oc-where { color: var(--oc-muted); font-size: .8em; text-decoration: none; margin-left: 4px; }
.oc-text { white-space: pre-wrap; }
.oc-badge { display: inline-block; font-size: .7em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; margin-left: 6px; border-radius: 999px; border: 1px solid var(--oc-line); color: var(--oc-muted); vertical-align: 1px; }
.oc-badge-staff { color: var(--warning-text, #fbbf24); border-color: rgba(251, 191, 36, .45); }
.oc-badge-mod { color: var(--oc-ok); border-color: rgba(52, 211, 153, .45); }
.oc-nobadges .oc-badge-staff, .oc-nobadges .oc-badge-mod { display: none; }
.oc-mine .oc-name { color: var(--oc-accent); }
.oc-empty { padding: 16px; text-align: center; }
.oc-compose { display: flex; gap: 8px; align-items: flex-end; }
.oc-compose textarea { flex: 1; min-height: 44px; resize: vertical; }
input, select, textarea { font: inherit; color: var(--oc-text); background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 10px; padding: 8px 10px; max-width: 100%; }
button, .oc-button { display: inline-block; background: var(--accent-strong, var(--oc-accent)); color: var(--on-accent-strong, var(--oc-on-accent)); border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button[disabled] { opacity: .6; cursor: default; }
.oc-signin { margin: 12px 0; }
.oc-new { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 16px; }
.oc-new input { flex: 1 1 180px; }
.oc-convs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }   /* minmax(0, 1fr): a long preview (a pasted link) is cut with … instead of widening the page past a phone, which also pushed the navbar's menu off-screen */
.oc-conv { display: flex; gap: 12px; align-items: center; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 12px; padding: 10px 14px; }
.oc-conv a { flex: 1; min-width: 0; color: var(--oc-text); text-decoration: none; display: flex; flex-direction: column; }
.oc-conv .oc-last { font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-conv.oc-unread { border-color: var(--oc-accent); }
.oc-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 520px; }   /* minmax(0, 1fr): a long label wraps instead of widening the column past a phone screen */
.oc-check { display: flex; gap: 8px; align-items: center; }
.oc-fieldset { border: 1px solid var(--oc-line); border-radius: 12px; padding: 8px 12px; display: grid; gap: 6px; }
.oc-form h2 { font-size: 1rem; margin: 18px 0 4px; }
.oc-form select { margin-left: 8px; max-width: calc(100% - 8px); }   /* its margin counts too: a full-width select stuck 8 px out on phones */
.oc-form input[type=url], .oc-form textarea { display: block; width: 100%; margin-top: 4px; }   /* an address or a paragraph needs the width to be read */
/* "Your AI key": only the fields the chosen provider takes (a model on your own computer has no endpoint, key or budget;
   only OpenAI-compatible providers take an endpoint). Without :has() every field shows, as before. */
.oc-ai-form:has(select[name="provider"] option[value="node"]:checked) .oc-not-node,
.oc-ai-form:not(:has(select[name="provider"] option[value="node"]:checked)) .oc-if-node,
.oc-ai-form:not(:has(select[name="provider"] option[value="openai"]:checked)) .oc-if-openai { display: none; }
.oc-ai-form input[name="machine"] { display: block; width: 100%; max-width: 36ch; box-sizing: border-box; margin-top: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }   /* a whole dev_ id, even at 320 px */
@media (max-width: 560px) {
  .oc-main { padding: 12px 12px 40px; }
  .oc-feed { max-height: 60vh; }
  .oc-account { margin-left: 0; }
}
/* Rooms */
.oc-msg { position: relative; }
.oc-del { display: inline; margin: 0 0 0 6px; }
.oc-del button { background: transparent; color: var(--oc-muted); padding: 0 6px; font-weight: 700; border-radius: 6px; visibility: hidden; }
.oc-msg:hover .oc-del button, .oc-del button:focus-visible { visibility: visible; }
.oc-del button:hover { color: var(--oc-red); background: var(--oc-panel-2); }
@media (hover: none) { .oc-del button { visibility: visible; } }
.oc-inline { display: inline; margin: 0; }
.oc-link { background: none; color: var(--oc-accent); padding: 0; font-weight: 600; text-decoration: underline; }
.oc-create { margin-top: 24px; padding: 14px 16px; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 12px; }
.oc-create h2 { margin: 0 0 4px; font-size: 1.1rem; }
.oc-members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.oc-members li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 10px; padding: 8px 12px; }
.oc-members form { margin-left: auto; }
h2 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
/* Room kinds, calls, the inbox */
.oc-kind-call { color: var(--oc-ok); border-color: rgba(52, 211, 153, .45); }
.oc-kind-system { color: var(--warning-text, #fbbf24); border-color: rgba(251, 191, 36, .45); }
.oc-call { margin: 12px 0; padding: 10px 14px; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 12px; }
.oc-call h2 { margin: 0 0 4px; font-size: 1.05rem; }
.oc-call-people { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.oc-call-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.oc-call-controls button[hidden] { display: none; }
.oc-call-status:empty { display: none; }
.oc-call-page h1 { margin: 0 0 4px; font-size: 1.35rem; }
.oc-dm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.oc-dm-head h1 { margin: 0; }
.oc-dm-call button { padding: 7px 14px; }
/* A call coming in (public/web/ring.js): above everything, bottom right; full width on phones. */
.oc-ring { position: fixed; right: 16px; bottom: 16px; z-index: 50; max-width: min(360px, calc(100vw - 32px)); margin: 0; padding: 14px 16px; background: var(--oc-panel); border: 1px solid var(--oc-accent); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.oc-ring-text { margin: 0 0 10px; }
.oc-ring-actions { display: flex; gap: 8px; margin: 0; }
.oc-ring-answer { background: var(--oc-ok-fill); color: #06281c; }
.oc-ring-gone { color: var(--oc-muted); }
@media (max-width: 520px) { .oc-ring { left: 16px; right: 16px; max-width: none; } }
@media (prefers-reduced-motion: no-preference) { .oc-ring:not(.oc-ring-gone) { animation: oc-ring-in .25s ease-out; } @keyframes oc-ring-in { from { transform: translateY(12px); opacity: 0; } } }
.oc-tools { display: block; margin-top: 8px; }
.oc-blocked { margin-top: 20px; }
.oc-blocked summary { cursor: pointer; color: var(--oc-muted); }
.oc-blocked .oc-members { margin-top: 8px; }
.oc-members li form.oc-inline { margin-left: auto; }
.oc-members select { max-width: 100%; }
@media (max-width: 560px) {
  .oc-members form { margin-left: 0; width: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
  .oc-new select { flex: 1 1 140px; }
}

/* AI members of a room (server/rooms/ai-members.js): their badge, their messages, "writing…", the settings forms */
/* The AI's badge and name follow the reader's theme (half the violet, half the theme's text), not the device's light
   mode: a light theme on a dark-mode device kept the pale violet on white (2026-11-01). */
.oc-badge.oc-ai { color: color-mix(in srgb, #a78bfa 55%, var(--oc-text, var(--text-primary, #e6edf7))); border-color: color-mix(in srgb, #a78bfa 50%, transparent); margin-left: 0; }
.oc-msg-ai { background: color-mix(in srgb, #a78bfa 7%, transparent); border-radius: 8px; }
.oc-ai-name { font-weight: 700; color: color-mix(in srgb, #a78bfa 45%, var(--oc-text, var(--text-primary, #e6edf7))); }
.oc-thinking { color: var(--oc-muted); font-style: italic; padding: 2px 6px; }
.oc-ai-here { margin: .2rem 0 .6rem; }
.oc-ai-here code { font-size: .9em; }
.oc-ai-member { border: 1px solid var(--oc-line); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.oc-ai-member h3 { margin: 0 0 6px; font-size: 1rem; }
.oc-ai-form textarea { width: 100%; box-sizing: border-box; }

/* Servers (server/web/server-pages.js): your servers down the side, the channels, the channel, the people. */
.oc-main--wide { max-width: 1440px; }
.oc-srv { display: grid; grid-template-columns: 64px 232px minmax(0, 1fr) 212px; height: min(80vh, 900px); min-height: 480px; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 16px; overflow: hidden; }
.oc-srv-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; background: var(--oc-bg); border-right: 1px solid var(--oc-line); overflow-y: auto; scrollbar-width: none; }
.oc-srv-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: hsl(var(--oc-hue, 215) 52% 34%); color: #fff; font-weight: 800; font-size: .92rem; letter-spacing: .02em; text-decoration: none; transition: border-radius .15s ease, background-color .15s ease; }
.oc-srv-icon:hover, .oc-srv-icon:focus-visible, .oc-srv-icon.is-active { border-radius: 14px; }
.oc-srv-rail .oc-srv-icon.is-active::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--oc-text); }
.oc-srv-add, .oc-srv-explore { background: var(--oc-panel-2); color: var(--oc-ok); font-size: 1.35rem; font-weight: 500; }
.oc-srv-explore { color: var(--oc-accent); font-size: 1.15rem; }
.oc-srv-add:hover, .oc-srv-explore:hover { background: var(--oc-panel); }
.oc-srv-dot, .oc-chan-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--oc-red-fill); color: #1a0505; font-size: .66rem; font-weight: 800; line-height: 18px; text-align: center; }
.oc-srv-dot { position: absolute; right: -5px; bottom: -4px; border: 2px solid var(--oc-bg); line-height: 14px; }
.oc-srv-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 10px; overflow-y: auto; border-right: 1px solid var(--oc-line); }
.oc-srv-head { padding: 0 6px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--oc-line); }
.oc-srv-head .oc-badge { margin-left: 0; }
.oc-srv-name { font-size: 1.08rem; line-height: 1.3; margin: 0 0 2px; overflow-wrap: anywhere; }
.oc-srv-meta { margin: 2px 0 0; font-size: .82rem; }
.oc-srv-desc { margin: 6px 0 0; font-size: .86rem; color: var(--oc-muted); }
.oc-srv-channels > summary { display: none; }
.oc-srv-group { margin: 14px 8px 4px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--oc-muted); }
.oc-srv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.oc-chan { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 8px; color: var(--oc-muted); text-decoration: none; }
.oc-chan:hover, .oc-chan:focus-visible { background: var(--oc-panel-2); color: var(--oc-text); }
.oc-chan.is-active { background: color-mix(in srgb, var(--oc-accent) 18%, transparent); color: var(--oc-text); }
.oc-chan.is-unread { color: var(--oc-text); font-weight: 700; }
.oc-chan-hash { width: 16px; text-align: center; font-weight: 700; opacity: .75; }
.oc-chan-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-chan-in { font-size: .78rem; }
.oc-ico { flex: 0 0 auto; vertical-align: -3px; }
.oc-srv-join, .oc-srv-invite { margin: 14px 6px 0; }
.oc-srv-join button, .oc-srv-invite .oc-button { width: 100%; text-align: center; }
.oc-button--quiet { background: var(--oc-panel-2); color: var(--oc-text); border: 1px solid var(--oc-line); }
.oc-button--quiet:hover { border-color: var(--oc-accent); }
.oc-srv-tools { margin: auto 6px 0; padding-top: 14px; font-size: .86rem; }
.oc-srv-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: color-mix(in srgb, var(--oc-panel-2) 60%, var(--oc-panel)); }
.oc-srv-main .oc-msg:hover { background: color-mix(in srgb, var(--oc-text) 5%, transparent); }
.oc-chan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 18px; border-bottom: 1px solid var(--oc-line); }
.oc-chan-head h2 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 1.04rem; }
.oc-chan-topic { min-width: 0; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-srv-main > .oc-notice, .oc-srv-main > .oc-ai-here { margin: 10px 18px 0; }
.oc-srv-main > .oc-call { margin: 12px 18px 0; }
.oc-srv-feed { flex: 1; min-height: 0; max-height: none; margin: 0; padding: 10px 8px; background: transparent; border: 0; border-radius: 0; }
.oc-srv-main > .oc-compose, .oc-srv-main > .oc-signin, .oc-srv-main > form { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--oc-line); }
.oc-srv-people { min-width: 0; padding: 14px 12px; overflow-y: auto; border-left: 1px solid var(--oc-line); }
.oc-srv-people > details > summary { display: none; }
.oc-srv-people .oc-srv-group { margin-top: 4px; }
.oc-srv-people .oc-srv-group ~ .oc-srv-group { margin-top: 16px; }
.oc-srv-people-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.oc-srv-people-list a { display: block; padding: 3px 8px; border-radius: 6px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-srv-people-list a:hover { background: var(--oc-panel-2); }
/* The directory, an invite, settings */
.oc-srv-icon--big { width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 22px; font-size: 1.5rem; }
.oc-invite-card { max-width: 440px; margin: 32px auto; padding: 28px 24px; text-align: center; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 16px; }
.oc-invite-card h1 { margin-top: 0; }
.oc-invite-card form, .oc-invite-card .oc-notice { margin-top: 16px; }
.oc-invite-url { font-size: .85em; overflow-wrap: anywhere; }
.oc-chan-rows li { align-items: flex-start; }
.oc-chan-rows li > span { flex: 1 1 200px; min-width: 0; }
.oc-chan-edit { flex-basis: 100%; }
.oc-chan-edit summary { cursor: pointer; color: var(--oc-accent); font-size: .9rem; }
.oc-chan-edit .oc-form { margin-top: 8px; }
.oc-danger { background: var(--oc-red-fill); color: #1a0505; }
.oc-link.oc-danger-link { color: var(--oc-red); margin-left: 8px; }
@media (max-width: 1180px) {
  .oc-srv { grid-template-columns: 64px 220px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: auto; min-height: 0; }
  .oc-srv-rail, .oc-srv-side, .oc-srv-main { height: min(78vh, 860px); }
  .oc-srv-people { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--oc-line); max-height: 260px; }
  .oc-srv-people > details > summary { display: list-item; cursor: pointer; font-weight: 700; margin-bottom: 6px; }
  .oc-srv-people-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 760px) {
  .oc-srv { grid-template-columns: minmax(0, 1fr); border-radius: 12px; }
  .oc-srv-rail, .oc-srv-side, .oc-srv-main { height: auto; }
  .oc-srv-rail { flex-direction: row; justify-content: flex-start; padding: 10px 12px; gap: 10px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--oc-line); }
  .oc-srv-rail .oc-srv-icon.is-active::before { left: 9px; right: 9px; top: auto; bottom: -10px; width: auto; height: 4px; border-radius: 4px 4px 0 0; }
  .oc-srv-side { border-right: 0; border-bottom: 1px solid var(--oc-line); padding: 12px; }
  .oc-srv-channels > summary { display: list-item; cursor: pointer; font-weight: 700; padding: 4px 6px; }
  .oc-srv-tools { margin-top: 8px; }
  .oc-srv-feed { max-height: 62vh; min-height: 220px; }
  .oc-chan-head, .oc-srv-main > .oc-compose, .oc-srv-main > .oc-signin, .oc-srv-main > form { padding-left: 12px; padding-right: 12px; }
  .oc-srv-main > .oc-notice, .oc-srv-main > .oc-ai-here, .oc-srv-main > .oc-call { margin-left: 12px; margin-right: 12px; }
}

.oc-badge-new { color: var(--oc-text); border-color: var(--oc-red); }
.oc-badge-official { color: var(--oc-text); border-color: var(--accent-strong, var(--accent, #3b82f6)); }
.oc-moves { display: inline-flex; gap: 4px; margin-left: auto; }
.oc-move { width: 30px; height: 30px; padding: 0; border-radius: 8px; background: var(--oc-panel-2); color: var(--oc-text); border: 1px solid var(--oc-line); font-weight: 700; line-height: 1; }
.oc-move:hover { border-color: var(--oc-accent); }

/* Pictures in rooms and channels (server/rooms/pictures.js): thumbnails under a message, the "Add a picture" form. */
/* A known OpenVibe link under its message (server/chat/link-cards.js): a picture at 16:9, the title, one line and
   the one move as a button. Rounded and quiet: the message stays the thing that was said. */
.oc-card { display: flex; flex-direction: column; max-width: 380px; margin: 6px 0 2px; border: 1px solid var(--oc-line); border-radius: 10px; overflow: hidden; background: var(--oc-panel-2); }
.oc-card-pic { display: block; line-height: 0; }
.oc-card-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.oc-card-body { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; }
.oc-card-title { font-weight: 600; line-height: 1.35; color: var(--oc-text); text-decoration: none; overflow-wrap: anywhere; }
.oc-card-title:hover { text-decoration: underline; }
.oc-card-line, .oc-card-note { margin: 0; color: var(--oc-muted); font-size: .86em; line-height: 1.4; overflow-wrap: anywhere; }
.oc-card-go { align-self: flex-start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--oc-accent); color: var(--oc-on-accent); text-decoration: none; font-weight: 600; font-size: .86em; }
.oc-card-go:hover { filter: brightness(1.08); }
.ovt-bubble .oc-card, .ovt-reply .oc-card { margin-top: 8px; }
.oc-pics { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.oc-pic { display: block; line-height: 0; border-radius: 10px; }
.oc-pic img { display: block; width: auto; max-width: min(320px, 100%); max-height: 240px; border-radius: 10px; border: 1px solid var(--oc-line); background: var(--oc-panel-2); object-fit: cover; }
.oc-pic:hover img, .oc-pic:focus-visible img { border-color: var(--oc-accent); }
.oc-pic-compose { margin: 8px 0 0; }
.oc-pic-compose > summary { cursor: pointer; color: var(--oc-accent); font-size: .92rem; width: max-content; }
.oc-pic-form { margin-top: 8px; max-width: 520px; }
.oc-pic-form input[type="file"] { width: 100%; }
.oc-srv-main > .oc-pic-compose { margin: 0; padding: 0 18px 14px; }
@media (max-width: 760px) { .oc-srv-main > .oc-pic-compose { padding: 0 12px 12px; } }

/* /rooms with no public room yet: where the conversation is meanwhile. */
.oc-rooms-empty { padding: 14px 16px; border: 1px dashed var(--oc-line, rgba(127, 127, 127, 0.35)); border-radius: 12px; margin: 0 0 18px; }
.oc-rooms-empty p { margin: 0 0 8px; }
.oc-goto { margin: 0; padding-left: 18px; }
.oc-goto li { margin: 4px 0; }
.oc-goto a { font-weight: 700; }

/* Spoilers (||text|| or /spoiler): a bar until selected; links inside stay hidden and unclickable until then. */
.oc-spoiler { background: #6b7280; color: transparent; border-radius: 4px; padding: 0 2px; cursor: pointer; }
.oc-spoiler:not(.revealed):not(:focus) * { visibility: hidden; }
.oc-spoiler:focus, .oc-spoiler.revealed { background: rgba(127, 127, 127, 0.15); color: inherit; cursor: auto; }

/* The front page around global chat (server/web/home.js): the heading and real numbers, stream chats, servers and
   rooms, how it works, questions, the rest of the network. */
.oc-hero { padding: 8px 0 12px; }
.oc-eyebrow { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--oc-line); color: var(--oc-accent); font-size: .78rem; font-weight: 700; letter-spacing: .3px; }
.oc-hero h1 { margin: .5rem 0 .4rem; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; }
.oc-lede { margin: 0; max-width: 64ch; font-size: 1.05rem; color: var(--oc-muted); }
.oc-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.oc-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0 0; padding: 0; }
.oc-stats > div { flex: 1 1 100px; display: flex; flex-direction: column-reverse; min-width: 0; padding: 8px 14px; border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); }
.oc-stats dt { margin: 0; font-size: .8rem; color: var(--oc-muted); }
.oc-stats dd { margin: 0; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.oc-room > h2 { margin: 1.4rem 0 .2rem; font-size: 1.3rem; }
.oc-home-sec { margin-top: 56px; }
.oc-home-sec h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
/* The front page's own headings take the network's heading face and sizes (openvibe-shared/showcase.css), like the
   "What OpenVibe.Chat does" section between them and every other OpenVibe home; the rest of Chat keeps its compact type. */
.oc-hero h1, .oc-hero ~ .oc-room > h2, .oc-home-sec h2 { font-family: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif); letter-spacing: -.02em; }
.oc-hero h1 { font-weight: 800; }
.oc-hero ~ .oc-room > h2, .oc-home-sec h2 { font-size: clamp(22px, 2.6vw, 30px); }
.oc-home-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.oc-home-head a { font-weight: 700; font-size: .92rem; }
/* Ask Vibe on the front page (server/web/home.js vibeSection): one line that opens a Vibe chat with the question in it. */
.oc-vibe-card { margin-top: 32px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--oc-accent) 35%, var(--oc-line)); border-radius: 16px; background: color-mix(in srgb, var(--oc-accent) 6%, var(--oc-panel)); }
.oc-vibe-card p { margin: 0 0 12px; }
.oc-vibe-ask { display: flex; gap: 8px; }
.oc-vibe-ask input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--oc-line); background: var(--oc-bg); color: var(--oc-text); font: inherit; }
.oc-vibe-ask input:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 1px; border-color: transparent; }
.oc-streams, .oc-more { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.oc-stream, .oc-more a { display: grid; gap: 2px; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); color: var(--oc-text); text-decoration: none; }
.oc-stream:hover, .oc-stream:focus-visible, .oc-more a:hover, .oc-more a:focus-visible { border-color: var(--oc-accent); }
.oc-stream .oc-muted, .oc-more span { font-size: .88rem; color: var(--oc-muted); }
/* Solid, a shade under the live red, white text: about 5:1 on every theme (the translucent dark red read at 2.3:1 on
   Daylight's white, WCAG AA sweep 11-02). */
.oc-badge-live { color: #fff; border-color: transparent; background: color-mix(in srgb, var(--live-red, #ef4444) 80%, #000); }
.oc-steps { list-style: none; counter-reset: oc-step; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.oc-steps li { counter-increment: oc-step; padding: 14px 16px; border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); }
.oc-steps li::before { content: counter(oc-step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: .4rem; border-radius: 50%; background: var(--accent-strong, var(--oc-accent)); color: var(--on-accent-strong, var(--oc-on-accent)); font-weight: 800; font-size: .85rem; }
.oc-steps h3 { margin: 0 0 .3rem; font-size: 1rem; }
.oc-steps p { margin: 0; color: var(--oc-muted); font-size: .92rem; }
.oc-faq { display: grid; gap: 8px; margin-top: 12px; }
.oc-faq details { border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); }
.oc-faq summary { cursor: pointer; padding: 11px 14px; font-weight: 700; }
.oc-faq details[open] summary { border-bottom: 1px solid var(--oc-line); }
.oc-faq p { margin: 0; padding: 11px 14px 13px; color: var(--oc-muted); }

/* Support inboxes (server/web/inbox-pages.js): the list of a person's inboxes and the snippet to paste. */
.ib-list { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ib-list a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--oc-line); background: var(--oc-panel); color: var(--oc-text); text-decoration: none; }
.ib-list a:hover { border-color: color-mix(in srgb, var(--oc-accent) 45%, var(--oc-line)); }
.ib-list .oc-muted { margin-left: auto; font-size: .85rem; }
.ib-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.ib-snippet { padding: 12px 14px; border-radius: 12px; background: var(--oc-panel); border: 1px solid var(--oc-line); overflow-x: auto; }
.ib-snippet code { font: .85rem/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre; }
.ib-snippet:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 2px; }   /* tabindex="0": a code block that scrolls sideways is reachable from the keyboard (axe scrollable-region-focusable) */
.ib-try input { width: 10em; padding: 4px 8px; margin-right: 6px; }   /* an action's test values, beside "Try it" */
.oc-members li form.ib-try { margin-left: 0; margin-right: auto; }   /* under its description, left; Remove stays right */
.oc-members + .oc-form { margin-top: 14px; }

/* Feeds (server/web/feed-pages.js; the card itself is public/web/feed-view.css) */
.oc-room-fv { margin: 0 0 12px; }
.fd-preview { margin: 12px 0 18px; }
.fd-dot { background: var(--oc-muted); }
.fd-dot.fd-on { background: var(--oc-ok-fill); }
.fd-key code { font-size: 1rem; user-select: all; }

/* The developers page (server/web/developer-pages.js) */
.oc-lead { font-size: 1.1rem; color: var(--oc-muted); max-width: 760px; }
.oc-toc { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 14px; margin: 14px 0 6px; border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); font-size: .92rem; }
.oc-table { border-collapse: collapse; width: 100%; max-width: 760px; font-size: .92rem; }
.oc-table th, .oc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--oc-line); vertical-align: top; }
.oc-table th { color: var(--oc-muted); font-weight: 600; }
/* A visitor's own support conversation (server/web/inbox-pages.js /support/:cid) */
.sp-thread { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 760px; }
.sp-msg { padding: 8px 12px; border-radius: 12px; background: var(--oc-panel); border: 1px solid var(--oc-line); overflow-wrap: anywhere; }
.sp-msg.sp-me { background: color-mix(in srgb, var(--oc-accent) 12%, var(--oc-panel)); }
.sp-text p { display: inline; margin: 0; }
.sp-sys { font-size: .85rem; text-align: center; }

/* Workspace rooms (the staff room): the conversation and the work queue side by side; stacked on phones. */
.oc-ws { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 16px; align-items: start; }
.oc-queue { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; padding: 12px 14px; background: var(--oc-panel); border: 1px solid var(--oc-line); border-radius: 12px; }
.oc-queue h2 { margin: 0 0 4px; font-size: 1.05rem; }
.oc-queue-how { margin: 0 0 8px; font-size: 13px; }
.oc-queue-add { margin: 6px 0 10px; }
.oc-queue-add summary { cursor: pointer; font-weight: 600; }
.oc-queue-add .oc-form label { display: block; margin: 6px 0; }
.oc-queue-add .oc-form input, .oc-queue-add .oc-form select, .oc-queue-add .oc-form textarea { width: 100%; box-sizing: border-box; }
.oc-tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.oc-task { padding: 8px 10px; border: 1px solid var(--oc-line); border-left: 3px solid var(--oc-line); border-radius: 8px; background: var(--oc-panel-2); }
.oc-task-title { display: block; color: var(--oc-text); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.oc-task-title:hover { text-decoration: underline; }
.oc-task-state { display: inline-block; margin-right: 4px; padding: 0 6px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--oc-line); color: var(--oc-text); vertical-align: 1px; }
.oc-task-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--oc-muted); }
.oc-task-result, .oc-task-error { margin: 4px 0 0; font-size: 13.5px; overflow-wrap: anywhere; }
.oc-task-error { color: var(--oc-red); }
.oc-task-actions { display: flex; gap: 10px; margin-top: 4px; font-size: 13px; }
.oc-task-actions form { margin: 0; }
.oc-task-running { border-left-color: var(--oc-accent); }
.oc-task-running .oc-task-state { background: var(--oc-accent); color: var(--oc-on-accent); animation: oc-work 1.6s ease-in-out infinite; }
.oc-task-succeeded { border-left-color: var(--oc-ok); }
.oc-task-succeeded .oc-task-state { background: color-mix(in srgb, var(--oc-ok) 30%, transparent); }
.oc-task-failed { border-left-color: var(--oc-red); }
.oc-task-failed .oc-task-state { background: color-mix(in srgb, var(--oc-red) 30%, transparent); }
.oc-task-cancelled { opacity: .7; }
.oc-task-full p, .oc-task-details { overflow-wrap: anywhere; }
@keyframes oc-work { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .oc-task-running .oc-task-state { animation: none; } }
/* On a phone the conversation comes first and the queue follows it, without its how-to (the composer's @vibe says it). */
@media (max-width: 900px) { .oc-ws { grid-template-columns: minmax(0, 1fr); } .oc-queue { position: static; max-height: none; } }
@media (max-width: 560px) { .oc-queue-how { display: none; } }
/* A workspace room's shared screen (rooms.screen_url, a screen share page from OpenVibe.Bot), above the conversation. */
.oc-screen { margin: 10px 0 14px; border: 1px solid var(--oc-line); border-radius: 12px; background: var(--oc-panel); overflow: hidden; }
.oc-screen summary { cursor: pointer; padding: 8px 12px; font-weight: 600; }
.oc-screen iframe { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 260px; max-height: 78vh; border: 0; background: #000; }

/* Markdown (public/web/vibe-md.js): Vibe's answers, an AI member's messages in a room, a task's result */
.vb-md { line-height: 1.65; overflow-wrap: anywhere; }
.vb-md > :first-child { margin-top: 0; }
.vb-md > :last-child { margin-bottom: 0; }
.vb-md p { margin: 0 0 .8em; }
.vb-md h3, .vb-md h4 { margin: 1.2em 0 .45em; line-height: 1.3; }
.vb-md h3 { font-size: 1.12rem; }
.vb-md h4 { font-size: 1rem; }
.vb-md ul, .vb-md ol { margin: 0 0 .9em; padding-left: 1.4em; }
.vb-md li { margin: .25em 0; }
.vb-md li::marker { color: var(--oc-muted); }
.vb-md a { color: var(--oc-accent); text-underline-offset: 2px; }
.vb-md strong { font-weight: 700; }
.vb-md code { font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--oc-panel-2); padding: .12em .38em; border-radius: 6px; }
.vb-md pre { margin: 0 0 1em; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--oc-panel) 80%, #000); border: 1px solid var(--oc-line); overflow-x: auto; }
.vb-md pre code { background: none; padding: 0; font-size: .86rem; white-space: pre; }
.vb-md blockquote { margin: 0 0 .9em; padding: 2px 0 2px 14px; border-left: 3px solid var(--oc-line); color: var(--oc-muted); }
.vb-md li > ul, .vb-md li > ol { margin: .2em 0 .3em; }
.md-table { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--oc-line); border-radius: 12px; }
.md-table:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 2px; }
.md-table table { border-collapse: collapse; width: 100%; font-size: .94em; line-height: 1.45; }
.md-table th, .md-table td { padding: 8px 12px; border-bottom: 1px solid var(--oc-line); text-align: left; vertical-align: top; min-width: 6em; }
.md-table thead th { background: var(--oc-panel-2); font-weight: 650; }
.md-table tbody tr:last-child td { border-bottom: 0; }
.md-table .al-c { text-align: center; }
.md-table .al-r { text-align: right; }


/* Line icons (server/web/icons.js), icon buttons and pills: one look for every control that is an icon or an icon
   and a word. */
.oc-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.oc-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--oc-muted); cursor: pointer; text-decoration: none; }
.oc-icon-btn:hover { color: var(--oc-text); background: var(--oc-panel-2); border-color: var(--oc-line); }
.oc-icon-btn[hidden] { display: none; }
.oc-icon-btn.is-done { color: var(--oc-ok); }
.oc-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--oc-line); background: var(--oc-panel); color: var(--oc-text); font: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.oc-pill:hover { border-color: var(--oc-accent); }
.oc-pill-strong { background: var(--accent-strong, var(--oc-accent)); color: var(--on-accent-strong, var(--oc-on-accent)); border-color: transparent; }
.oc-pill-danger { color: var(--oc-red); }
.oc-pill-danger:hover { border-color: var(--oc-red); }

/* A task's page (server/web/workspace-pages.js): status and kind, the title, the facts in a grid, then cards. */
.oc-tp { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.oc-tp-back { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; color: var(--oc-muted); text-decoration: none; font-size: .92rem; padding: 4px 8px 4px 2px; border-radius: 8px; }
.oc-tp-back:hover { color: var(--oc-text); }
.oc-tp-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-tp h1 { margin: 2px 0 0; font-size: clamp(1.35rem, 4.5vw, 1.75rem); letter-spacing: -.01em; }
.oc-tp-head { display: grid; gap: 8px; }
.oc-tp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.oc-tp-state, .oc-tp-kind { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px solid var(--oc-line); color: var(--oc-muted); }
.oc-tp-succeeded { color: var(--oc-ok); border-color: color-mix(in srgb, var(--oc-ok) 45%, transparent); background: color-mix(in srgb, var(--oc-ok) 10%, transparent); }
.oc-tp-failed { color: var(--oc-red); border-color: color-mix(in srgb, var(--oc-red) 45%, transparent); background: color-mix(in srgb, var(--oc-red) 10%, transparent); }
.oc-tp-running { color: var(--oc-accent); border-color: color-mix(in srgb, var(--oc-accent) 45%, transparent); }
.oc-tp-running .oc-i { animation: oc-breathe 1.2s ease-in-out infinite; }   /* running: it breathes, never spins */
@keyframes oc-breathe { 50% { opacity: .35; transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) { .oc-tp-running .oc-i { animation: none; } }
.oc-tp-says { margin: 0; }
.oc-tp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 0; }
.oc-tp-facts div { padding: 8px 12px; border-radius: 12px; background: var(--oc-panel); border: 1px solid var(--oc-line); min-width: 0; }
.oc-tp-facts dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--oc-muted); }
.oc-tp-facts dd { margin: 2px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.oc-tp-card { padding: 16px 18px; border-radius: 16px; background: var(--oc-panel); border: 1px solid var(--oc-line); min-width: 0; }
.oc-tp-card h2 { margin: 0 0 10px; font-size: 1rem; display: flex; gap: 8px; align-items: baseline; }
.oc-tp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -6px -8px 4px 0; }
.oc-tp-card-head h2 { margin: 0; }
.oc-tp-result { border-color: color-mix(in srgb, var(--oc-accent) 30%, var(--oc-line)); }
.oc-tp-check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--oc-line); color: var(--oc-muted); font-size: .88rem; }
.oc-tp-check .oc-i { color: var(--oc-ok); margin-top: 2px; }
.oc-tp-sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.oc-tp-sources a { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: var(--oc-panel-2); text-decoration: none; color: var(--oc-text); min-width: 0; }
.oc-tp-sources a:hover { outline: 1px solid var(--oc-accent); }
.oc-tp-sources span { color: var(--oc-muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-tp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-tp-cancel { margin: 0; }
.oc-tp-form { max-width: none; }
@media (max-width: 560px) {
  .oc-tp-card { padding: 14px; border-radius: 14px; }
  .oc-tp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A room (server/web/pages.js /r/:slug): a compact header with icon buttons, the messages filling the screen, the
   composer docked under them with the picture button beside it. */
.oc-room-head { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.oc-room-head > .oc-icon-btn { margin-left: -8px; }
.oc-room-id { flex: 1; min-width: 0; }
.oc-room-id h1 { margin: 0; font-size: clamp(1.1rem, 4vw, 1.4rem); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-room-lock { display: inline-flex; margin-left: 6px; color: var(--oc-muted); vertical-align: -1px; }
.oc-room-lock .oc-i { width: .85em; height: .85em; }
.oc-room-sub { margin: 0; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-room-tools { display: flex; gap: 2px; margin-right: -8px; }
.oc-ai-here { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, #a78bfa 8%, transparent); color: var(--oc-muted); font-size: .88rem; }
/* Half the hue, half the theme's text: it held on dark themes only (Daylight contrast probe, 2026-11-01). */
.oc-ai-here .oc-i { color: color-mix(in srgb, #a78bfa 60%, var(--oc-text, var(--text-primary, #e6edf7))); margin-top: 2px; }
.oc-ai-here strong { color: color-mix(in srgb, #a78bfa 45%, var(--oc-text, var(--text-primary, #e6edf7))); }
.oc-msg-ai .vb-md { display: block; margin-top: 2px; }
.oc-msg-ai .vb-md p { margin: 0 0 .5em; }
.oc-del button { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; vertical-align: middle; }
.oc-del .oc-i { width: 16px; height: 16px; }
@media (hover: none) {
  .oc-js .oc-del button { visibility: hidden; }
  .oc-js .oc-msg.oc-sel .oc-del button { visibility: visible; }
  .oc-msg.oc-sel { background: var(--oc-panel-2); }
}
.oc-dock { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.oc-dock > .oc-compose { flex: 1 1 0; min-width: 0; }
.oc-dock > .oc-pic-compose { margin: 0; order: 0; }
.oc-dock > .oc-pic-compose > summary { list-style: none; width: 44px; height: 44px; }
.oc-dock > .oc-pic-compose > summary::-webkit-details-marker { display: none; }
.oc-dock > .oc-pic-compose[open] { order: 2; flex: 1 1 100%; }
.oc-dock > .oc-pic-compose[open] > summary { color: var(--oc-accent); }
.oc-compose textarea { min-height: 44px; max-height: 40vh; border-radius: 22px; padding: 10px 16px; resize: none; field-sizing: content; }
.oc-send { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; }
.oc-send .oc-i { width: 20px; height: 20px; stroke-width: 2.4; }
/* The conversation takes the screen's height (header, notes and composer around it), not a fixed box. */
.oc-room-feed { max-height: none; height: max(320px, calc(100svh - 300px)); }
@media (max-width: 560px) {
  .oc-room-feed { height: max(300px, calc(100svh - 250px)); }
}

/* Working pages (server/web/ui.js): one compact header (back, title, one muted line, icon actions), lists that read like
   a phone's (a mark, the name and time on one line, the last thing under it), a search-style row for "start one",
   and cards that fold away what is only needed once (setup, settings). */
.oc-page-head { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; min-height: 44px; }
.oc-page-head > .oc-back { margin-left: -8px; }
.oc-page-id { flex: 1; min-width: 0; }
.oc-page-id h1 { margin: 0; font-size: clamp(1.15rem, 4vw, 1.45rem); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-page-sub { margin: 2px 0 0; color: var(--oc-muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-page-tools { display: flex; gap: 2px; margin-right: -8px; }
.oc-page-tools form { margin: 0; }
.oc-list { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid var(--oc-line); border-radius: 14px; background: var(--oc-panel); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.oc-list-head { margin: 18px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--oc-muted); }
.oc-row + .oc-row { border-top: 1px solid var(--oc-line); }
.oc-row > a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--oc-text); text-decoration: none; min-width: 0; }
.oc-row > a:hover { background: var(--oc-panel-2); }
.oc-row-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.oc-row-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.oc-row-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.oc-row-top time { flex: none; color: var(--oc-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.oc-row-top .oc-badge { flex: none; margin-left: 0; }
.oc-row-sub { display: block; min-width: 0; color: var(--oc-muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-row-sub .oc-dot { float: right; margin-left: 8px; }
.oc-unread .oc-row-top strong { font-weight: 800; }
.oc-unread .oc-row-sub { color: var(--oc-text); }
.oc-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-strong, var(--oc-accent)); color: var(--on-accent-strong, var(--oc-on-accent)); font-size: .72rem; font-weight: 800; }
.oc-row-empty { padding: 16px 14px; }
.oc-av { flex: none; position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: .85rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: hsl(var(--av, 210) 45% 38%); }
/* The Network presence dot: openvibe-shared/presence.js .ovp-dot's look (11 px, 2.5 px surface ring, bottom-right;
   14 px beside a page header). Offline and invisible draw nothing. */
.oc-pdot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; pointer-events: none; background: var(--ovp, #22c55e); border: 2.5px solid var(--oc-pdot-ring, var(--oc-panel)); }
.oc-pdot[data-state="dnd"]::after { content: ""; position: absolute; left: 1.5px; right: 1.5px; top: 50%; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: var(--oc-pdot-ring, var(--oc-panel)); }
.oc-pdot[data-state="away"] { background: radial-gradient(circle at 70% 30%, var(--oc-pdot-ring, var(--oc-panel)) 0 2.2px, var(--ovp) 2.6px); }
.oc-av-lg .oc-pdot { width: 14px; height: 14px; }
.oc-page-head .oc-av { --oc-pdot-ring: var(--oc-bg); }
.oc-members-online { margin: 0 0 6px; font-size: .86rem; }
.oc-av-feed { background: var(--oc-panel-2); color: var(--oc-muted); border: 1px solid var(--oc-line); }
.oc-av-feed.is-on { color: var(--oc-ok); border-color: color-mix(in srgb, var(--oc-ok) 45%, transparent); }
.oc-find { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 4px 4px 4px 14px; border: 1px solid var(--oc-line); border-radius: 999px; background: var(--oc-panel); }
.oc-find:focus-within { border-color: var(--oc-accent); }
.oc-find > .oc-i { color: var(--oc-muted); }
.oc-find input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; }
.oc-find .oc-send { width: 38px; height: 38px; }
.oc-card { margin: 0 0 10px; padding: 0; border: 1px solid var(--oc-line); border-radius: 14px; background: var(--oc-panel); }
.oc-card > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 650; }
.oc-card > summary::-webkit-details-marker { display: none; }
.oc-card > summary > span { flex: 1; }
.oc-fold > summary > .oc-i { color: var(--oc-muted); transition: transform .15s; }
.oc-fold[open] > summary > .oc-i { transform: rotate(90deg); }
.oc-card[open] > summary { border-bottom: 1px solid var(--oc-line); }
.oc-card > :not(summary) { margin-left: 14px; margin-right: 14px; }
.oc-card > :not(summary):last-child { margin-bottom: 14px; }
.oc-card > p:first-of-type, .oc-card > form:first-of-type, .oc-card > pre:first-of-type { margin-top: 12px; }
.oc-make > summary { color: var(--oc-accent); }
.oc-make-how { font-size: .9rem; }
.oc-grid-form { max-width: none; }
.oc-grid-form label { display: grid; gap: 4px; font-size: .9rem; color: var(--oc-muted); }
.oc-grid-form label.oc-check { display: flex; color: var(--oc-text); }
.oc-grid-form input:not([type=checkbox]):not([type=radio]), .oc-grid-form select { width: 100%; margin-left: 0; max-width: none; color: var(--oc-text); }
.oc-keyrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 12px; }
.oc-keyrow .oc-i { vertical-align: -.2em; }
.oc-danger-row { display: block; margin: 0 14px 14px; }
@media (prefers-reduced-motion: reduce) { .oc-fold > summary > .oc-i { transition: none; } }
/* A code block people copy (a feed's setup): its copy button in the corner, and never taller than a screenful. */
.oc-snip { position: relative; }
.oc-snip > .oc-icon-btn { position: absolute; top: 6px; right: 6px; z-index: 1; width: 34px; height: 34px; background: var(--oc-panel); border-color: var(--oc-line); }
.oc-snip > pre { max-height: 50vh; overflow: auto; padding-right: 48px; }
/* A header's "more" menu (a conversation's Block): a small panel under its button. */
.oc-more { position: relative; }
.oc-more > summary { list-style: none; }
.oc-more > summary::-webkit-details-marker { display: none; }
.oc-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 200px; padding: 6px; border-radius: 12px; border: 1px solid var(--oc-line); background: var(--oc-panel); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.oc-pop form { margin: 0; }
.oc-pop-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; background: transparent; color: var(--oc-text); font-weight: 600; text-align: left; }
.oc-pop-item:hover { background: var(--oc-panel-2); }
.oc-pop-item.oc-danger { color: var(--oc-red); }
.oc-row-lock { display: inline-flex; color: var(--oc-muted); flex: none; }
.oc-row-lock .oc-i { width: .9em; height: .9em; }

/* Settings (GET /settings): grouped cards of rows, each a label on the left and its control on the right (a switch, a
   slider, a choice), the save button kept in reach, and the rarely needed parts folded. */
.oc-settings { display: grid; gap: 12px; margin: 0; max-width: none; }
.oc-set { border: 1px solid var(--oc-line); border-radius: 14px; background: var(--oc-panel); overflow: hidden; margin: 0 0 12px; }
.oc-settings .oc-set { margin: 0; }
.oc-set > h2 { margin: 0; padding: 12px 14px 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--oc-muted); }
.oc-set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 14px; border-top: 1px solid var(--oc-line); cursor: pointer; }
.oc-set > h2 + .oc-set-row { border-top: 0; }
div.oc-set-row { cursor: default; }
.oc-set-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.oc-set-text small { color: var(--oc-muted); font-size: .8rem; }
.oc-set-row select { flex: none; max-width: 50%; margin: 0; }
.oc-set-range input[type=range] { flex: 0 1 45%; min-width: 120px; accent-color: var(--accent-strong, var(--oc-accent)); padding: 0; border: 0; background: transparent; }
.oc-set-actions { display: flex; gap: 6px; flex: none; }
.oc-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; padding: 0; border-radius: 999px; border: 0; background: var(--oc-line); cursor: pointer; transition: background .15s; }
.oc-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .15s; }
.oc-switch:checked { background: var(--accent-strong, var(--oc-accent)); }
.oc-switch:checked::after { transform: translateX(18px); }
.oc-switch:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 2px; }
.oc-seg { display: inline-flex; flex: none; padding: 3px; gap: 2px; border-radius: 10px; background: var(--oc-panel-2); }
.oc-seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.oc-seg-opt span { display: block; padding: 5px 11px; border-radius: 8px; font-size: .86rem; font-weight: 600; color: var(--oc-muted); cursor: pointer; }
.oc-seg-opt input:checked + span { background: var(--accent-strong, var(--oc-accent)); color: var(--on-accent-strong, var(--oc-on-accent)); }
.oc-seg-opt input:focus-visible + span { outline: 2px solid var(--oc-accent); outline-offset: 1px; }
.oc-set-chips { flex-wrap: wrap; }
.oc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.oc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.oc-chip span { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--oc-line); font-size: .84rem; font-weight: 600; color: var(--oc-muted); cursor: pointer; }
.oc-chip input:checked + span { border-color: color-mix(in srgb, var(--oc-accent) 55%, transparent); background: color-mix(in srgb, var(--oc-accent) 14%, transparent); color: var(--oc-text); }
.oc-chip input:focus-visible + span { outline: 2px solid var(--oc-accent); outline-offset: 1px; }
.oc-set-save { position: sticky; bottom: 0; z-index: 2; margin: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--oc-bg) 35%); }
.oc-set-save button { width: 100%; min-height: 46px; border-radius: 12px; }
.oc-aikey .oc-ai-form { max-width: none; }
@media (min-width: 720px) { .oc-set-save button { width: auto; min-width: 200px; } }
@media (prefers-reduced-motion: reduce) { .oc-switch, .oc-switch::after { transition: none; } }
/* Room settings: the room's form, its members (a row each, the role a small select that saves), and folded extras. */
.oc-set-form { padding: 4px 14px 14px; }
.oc-set-note { margin: 0; padding: 0 14px 10px; font-size: .86rem; }
.oc-set .oc-set-inline { padding: 8px 0; border-top: 0; }
.oc-small { font-size: .86rem; }
.oc-count { margin-left: 4px; color: var(--oc-text); font-weight: 700; letter-spacing: 0; }
.oc-find-inset { margin: 0 14px 12px; }
.oc-find select { flex: none; max-width: 38%; border: 0; background: var(--oc-panel-2); padding: 6px 8px; }
.oc-list-flush { margin: 0; border: 0; border-radius: 0; border-top: 1px solid var(--oc-line); }
.oc-row-static { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; }
.oc-role-form { display: flex; align-items: center; gap: 2px; margin: 0; flex: none; }
.oc-role-form select { padding: 5px 6px; font-size: .86rem; }
.oc-role { flex: none; padding-right: 8px; font-size: .86rem; }
.oc-ai-member { padding: 10px 0; border-top: 1px solid var(--oc-line); }
.oc-ai-member h3 { margin: 0 0 6px; font-size: 1rem; }
.oc-grid-form label.oc-set-row { display: flex; color: var(--oc-text); font-size: 1rem; }
.oc-ai-form h3 { margin: 6px 0 2px; font-size: 1rem; }

/* The front page for someone signed in (pages.js appBody): global chat first at the screen's height, Ask Vibe in one
   line under it, then the stream chats, servers and rooms as compact lists. A server's own mark keeps its colour in
   a list row. */
.oc-global { margin-top: 4px; }
.oc-vibe-mini { margin-top: 16px; }
.oc-vibe-mini .oc-find { margin: 0; border-color: color-mix(in srgb, var(--oc-accent) 35%, var(--oc-line)); }
.oc-vibe-mini .oc-find > .oc-i { color: var(--oc-accent); }
.oc-home-list { margin-top: 18px; }
.oc-home-list .oc-home-head { align-items: center; margin: 0 0 8px; }
.oc-home-list h2.oc-list-head { margin: 0; font-family: inherit; font-size: .78rem; letter-spacing: .06em; }
.oc-home-list .oc-home-head a { font-size: .82rem; }
.oc-home-list .oc-list { margin: 0; }
.oc-srv-icon--row { width: 40px; height: 40px; border-radius: 12px; font-size: .85rem; }

/* Touch targets on phones (fleet audit 2026-10-29): the touch-only hit area for this group. Nothing moves with a mouse. */
@media (pointer: coarse) {
  /* A section head's "more" link: a vertical-only hit area, the width stays as it is. */
  .oc-home-head a { position: relative; }
  .oc-home-head a::after { content: ''; position: absolute; left: 0; right: 0; top: -11px; bottom: -11px; }
}

/* The front page on a phone: the sections after the room are a pick block, every pane shown, stacked, each with its own
   heading; the chips are a row of links that jump to a pane (the owner's rule, 2026-10-31: never hide content to
   shorten), and the parts a reader rarely needs are folds. A wide screen shows the page as it was, with no chips. */
.pick-head, .pick-row { display: none; }
@media (max-width: 640px) {
  .pick-bar { margin-top: 40px; }
  .pick-head { display: block; }
  .pick-head h2 { margin: 0 0 4px; font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); letter-spacing: -.02em; }
  .pick-row { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0 0; padding: 2px 0 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pick-row::-webkit-scrollbar { display: none; }
  .pick-chip { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--oc-line); color: var(--oc-muted); font-size: .9rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
  .pick-chip:hover, .pick-chip:focus-visible { color: var(--oc-text); border-color: var(--oc-accent); }
  .pick-chip:focus-visible { outline: 2px solid var(--oc-accent); outline-offset: 2px; }
  .pick .pick-pane { scroll-margin-top: 72px; }
  .pick .pick-pane + .pick-pane { margin-top: 26px; }
  /* The showcase cards are a little tighter on a phone: the same six cards, less air. */
  .pick .pick-pane .sc-card { gap: 10px; padding: 12px; }
  .pick .pick-pane .sc-card small { font-size: 13px; }
  .pick .pick-pane .sc-grid { gap: 8px; }
}

/* The guest's front page: the room is a taste of the chat, not the whole thing, so the sign-in below it comes into
   view sooner. The signed-in room (.oc-global) keeps its full height: it is the app. */
@media (max-width: 560px) {
  .oc-room:not(.oc-global) .oc-feed { max-height: 44vh; }
}

/* A fold: a part a reader rarely needs. On a phone it is a closed card; where there is room it reads as the section
   it was. The page's own markup keeps it open, so the script only closes it on a narrow screen. */
.oc-fold-block { margin-top: 40px; border: 1px solid var(--oc-line); border-radius: 14px; background: var(--oc-panel); }
.oc-fold-block > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px; cursor: pointer; list-style: none; }
.oc-fold-block > summary::-webkit-details-marker { display: none; }
.oc-fold-block > summary h2 { margin: 0; flex: 1; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.oc-fold-hint { color: var(--oc-muted); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.oc-fold-block[open] > summary { border-bottom: 1px solid var(--oc-line); }
.oc-fold-block > .oc-home-sec { margin-top: 0; padding: 0 14px 14px; }
@media (min-width: 641px) {
  .oc-fold-block { margin-top: 56px; border: 0; border-radius: 0; background: none; }
  .oc-fold-block > summary { padding: 0; min-height: 0; }
  .oc-fold-block[open] > summary { border-bottom: 0; }
  .oc-fold-block > summary h2 { margin: 0 0 .5rem; font-family: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
  .oc-fold-hint { display: none; }
  .oc-fold-block > .oc-home-sec { margin-top: 0; padding: 0; }
}
/* How this room works (market outcome: every room states its rules and rate limits): a small summary under the
   room's name; its list floats over the feed instead of pushing it down */
.oc-room-id { position: relative; }
.oc-rules { display: inline-block; margin-top: 2px; }
.oc-rules > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 650; color: var(--text-secondary, #96a7c2); }
.oc-rules > summary::-webkit-details-marker { display: none; }
.oc-rules > summary::after { content: '▾'; font-size: .7em; opacity: .8; }
.oc-rules[open] > summary::after { content: '▴'; }
.oc-rules > summary:hover, .oc-rules[open] > summary { color: var(--text-primary, #e8ecf3); }
.oc-rules > summary:focus-visible { outline: 2px solid var(--accent, #3b82f6); outline-offset: 2px; border-radius: 4px; }
.oc-rules > ul { position: absolute; z-index: 30; left: 0; top: 100%; margin: 6px 0 0; padding: 10px 14px 10px 28px; min-width: min(340px, 86vw); max-width: 420px;
    border: 1px solid var(--border, rgba(255, 255, 255, .1)); border-radius: 12px; background: var(--bg-card, #121826); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6);
    font-size: .84rem; line-height: 1.5; color: var(--text-secondary, #96a7c2); }
.oc-rules > ul li + li { margin-top: 3px; }

/* A Co-pilot room's banner and the agent's poll (Agent Streams S5). */
.oc-agent-banner { margin: 4px 0 12px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--accent, #3b82f6) 40%, transparent);
    border-radius: 12px; background: color-mix(in srgb, var(--accent, #3b82f6) 10%, transparent); color: var(--text-secondary, #96a7c2);
    font-size: .9rem; line-height: 1.45; }
.oc-agent-banner strong { color: var(--text-primary, #e8eefc); }
.oc-agent-poll { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--border, rgba(255, 255, 255, .1)); border-radius: 12px;
    background: var(--bg-card, #121826); }
.oc-agent-poll h2 { margin: 0 0 10px; font-size: 1rem; line-height: 1.35; }
.oc-agent-poll-vote ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.oc-agent-poll-vote button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 8px 12px; border: 1px solid var(--border, rgba(255, 255, 255, .14)); border-radius: 10px; background: transparent;
    color: var(--text-primary, #e8eefc); font: inherit; text-align: left; cursor: pointer; }
.oc-agent-poll-vote button:hover, .oc-agent-poll-vote button:focus-visible { border-color: var(--accent, #3b82f6);
    background: color-mix(in srgb, var(--accent, #3b82f6) 12%, transparent); }
.oc-agent-poll-vote small { color: var(--text-secondary, #96a7c2); white-space: nowrap; }
.oc-kind-agent_stream { color: var(--accent, #3b82f6); border-color: color-mix(in srgb, var(--accent, #3b82f6) 45%, transparent); }
@media (max-width: 480px) { .oc-agent-banner, .oc-agent-poll { padding: 9px 11px; } }
