/* Manrope — the wordmark typeface, self-hosted (bundled woff2, no external font call). */ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/manrope-700.woff2") format("woff2"); } .brand-wordmark { font-family: "Manrope", -apple-system, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; /* the BETA chip rides the same line, never wraps under */ } :root { color-scheme: light; --paper: #f5f6f7; /* cool light gray — reads "tool", not "writing app" */ --panel: #ffffff; --ink: #17191c; --muted: #5b616b; --faint: #9aa1aa; --line: #e8eaed; --line-strong: #d8dce1; --accent: #2563eb; /* cobalt — our signature, distinct from the coral-leaning tools */ --accent-soft: #e9f0fd; --ok: #2f7d57; --ok-soft: #eef6f0; --ok-line: #cfe6d6; --ok-dot: #3f9c5a; /* brighter green for small status dots */ --warn-ink: #b45309; --warn-soft: #fef3c7; --danger: #b91c1c; --danger-soft: #f9e7e5; --teal-ink: #0f766e; /* connector approval badges */ --teal-line: #cfebea; --teal-soft: #edfafa; --solid: #e9ebf0; /* user bubble — a soft neutral fill (was near-black; too heavy in light) */ --on-solid: #1f2227; --glass: rgba(255, 255, 255, 0.9); /* frosted bars over content */ --glass-strong: rgba(255, 255, 255, 0.96); --glass-soft: rgba(255, 255, 255, 0.78); --scrim: rgba(29, 27, 24, 0.32); /* modal / gate overlays */ --check-a: #f0f1f3; /* image-viewer checkerboard */ --check-b: #fafbfc; /* Headings are sans now (was a Palatino serif) — less editorial, more product. */ --serif: var(--sans); --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif; --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; /* The right rail's width while reading an artifact (wider than the 332px inspector). */ --artifact-rail-w: min(62vw, 960px); } /* Dark palette. `data-theme` is set on by an inline script in index.html (pre-paint) and kept current by src/theme.ts (Light / Dark / Auto-as-system, stored in localStorage). */ html[data-theme="dark"] { color-scheme: dark; --paper: #131417; --panel: #1c1e22; --ink: #e6e8eb; --muted: #9aa1ab; --faint: #62686f; --line: #2a2d33; --line-strong: #3a3e46; --accent: #4c8dff; /* lifted cobalt — keeps contrast on dark panels */ --accent-soft: #1c2a44; --ok: #58b07f; --ok-soft: #1a2b21; --ok-line: #2c4736; --ok-dot: #4dac72; --warn-ink: #e8b04b; --warn-soft: #36280f; --danger: #f07067; --danger-soft: #3d2422; --teal-ink: #46c0b2; --teal-line: #1f4a45; --teal-soft: #11302d; --solid: #2e3138; --on-solid: #e6e8eb; --glass: rgba(28, 30, 34, 0.9); --glass-strong: rgba(28, 30, 34, 0.96); --glass-soft: rgba(28, 30, 34, 0.78); --scrim: rgba(0, 0, 0, 0.5); --check-a: #25272c; --check-b: #1c1e22; } * { box-sizing: border-box; } html, body, #root { height: 100%; margin: 0; } body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; } .app { display: grid; grid-template-columns: 264px 1fr; grid-template-rows: minmax(0, 1fr); /* row fills viewport AND allows children to shrink */ height: 100vh; overflow: hidden; } /* ---------- sidebar ---------- */ /* Base sidebar chrome lives in Sidebar.tsx (Tailwind, mock-parity). This rule only anchors the grid column + the tauri-overlay overrides below; the `.brand` class is kept on the header as a hook for the overlay hide rule. */ .sidebar { min-height: 0; } /* ---------- collapsible left nav (⌘B + hover-peek) ---------- */ /* Collapsed: the grid column goes to 0 so the content reclaims the width; the sidebar slides off-screen. Hovering the left edge (.nav-hover-zone) adds .nav-peek, floating it back OVER the content as an overlay with a shadow. */ /* Single column when collapsed: the sidebar is taken out of flow (absolute), so the main content must occupy the whole grid — a leading 0-width column would swallow it instead. */ .app.nav-collapsed { grid-template-columns: 1fr; } .app.nav-collapsed .sidebar { position: absolute; top: 0; bottom: 0; left: 0; width: 264px; z-index: 60; transform: translateX(-100%); transition: transform 0.18s ease; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16); } .app.nav-collapsed.nav-peek .sidebar { transform: translateX(0); } /* Thin left-edge zone that triggers the peek while collapsed. Starts BELOW the topbar row so the peek can never fire while the cursor is on the collapsed cluster's [sidebar][+][search] icons (§22 build note; the cluster's sidebar button docks the nav on click instead). */ .nav-hover-zone { position: fixed; top: 48px; left: 0; bottom: 0; width: 14px; z-index: 55; } /* Reveal button while collapsed. Positioned to land EXACTLY on the brand's pin button (.nav-pin-btn, 14px/14px inside the brand row) so peeking the nav puts the pin under the cursor — no travel. */ .nav-reveal-btn { position: fixed; top: 10px; /* center (10+14) aligns with the topbar title in the browser build */ left: 14px; z-index: 58; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: var(--faint); background: transparent; } .nav-reveal-btn:hover { color: var(--ink); background: var(--paper); } /* On desktop, both the brand row and the reveal button shift right to clear the traffic lights (and down to align with them in their lowered position — see traffic_light_position in lib.rs). */ /* Desktop overlay: the whole top strip sits lower (center ~30) to line up with the lowered traffic lights — reveal/pin, the wordmark, and the topbar title all on that line. */ .app.tauri-overlay .nav-reveal-btn { top: 13px; left: 84px; } .app.tauri-overlay .main-topbar { padding-top: 9px; } /* The session topbar's collapsed-state cluster is INLINE (§22), so only the overlay build pads it — to clear the traffic lights. */ .app.nav-collapsed.tauri-overlay .main-topbar { padding-left: 84px; } /* Full-page sub-navs (Settings / Connectors) start at the window top; while the main nav is collapsed, the fixed reveal button (and, in the overlay build, the traffic lights) float over that corner — push the sub-nav header below the strip so they never overlap. */ .app.nav-collapsed .page-subnav { padding-top: 48px; } .app.nav-collapsed.tauri-overlay .page-subnav { padding-top: 56px; } .tabs { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: 10px; } .tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 8px; border-radius: 7px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; } .tab.active { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.06); } .tab.disabled { opacity: 0.4; cursor: default; } /* -- Channel subscriptions: the per-session composer chip + popover -------- */ .sub-chip { display: inline-flex; align-items: center; gap: 4px; } .chan-input { font: inherit; font-size: 13px; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--ink); } .chan-input { min-width: 220px; } .sub-chip-wrap { position: relative; display: inline-flex; } .wschip.sub-chip.active { border-color: var(--accent); color: var(--accent); } .sub-pop { position: absolute; bottom: calc(100% + 8px); right: 0; width: 300px; z-index: 40; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14); padding: 12px; } .sub-pop-head { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 8px; } .sub-pop-empty { font-size: 12.5px; padding: 2px 0 8px; } .sub-pop-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 13px; } .sub-pop-chan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sub-pop-x { border: 0; background: none; color: var(--faint); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 4px; } .sub-pop-x:hover { color: var(--ink); } .sub-pop-add { display: flex; align-items: center; gap: 6px; margin-top: 8px; } .sub-pop-add .chan-input { min-width: 0; flex: 1; } /* ---------- main ---------- */ .main { position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--paper); /* plain paper, matching the mock (was a dotted graph texture) */ } .main-topbar { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 20px; color: var(--ink); user-select: none; /* Edgeless glass (§22 amendment): no border, translucent tint + blur — invisible over the flat paper at rest, frosts only when the transcript actually scrolls under it. */ background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 6; } .main.rail-open .main-topbar { right: 332px; } /* Centered title column (§22, amended: the ⋯ menu removed — the nav row's hover cluster owns pin/rename/archive/delete). Title + facts subtitle beneath. ABSOLUTE centering (owner catch 2026-07-13: a long mention-spawned title painted over the topbar icons): the flex sides can't guarantee clearance — the settings row's rest-state glance occupies space by design, so every content-based flex floor over-reserves. Centering on the BAR and capping against its width (100% here = the topbar, not the viewport — the right rail sits outside it) makes the title ellipsize before it can reach either cluster: 332px ≈ 2 × (collapsed cluster + settings icon + gaps). */ .main-title { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); max-width: max(96px, calc(100% - 332px)); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink); } /* The overlay build pads the collapsed cluster past the traffic lights — reserve that too. */ .app.nav-collapsed.tauri-overlay .main-title { max-width: max(96px, calc(100% - 416px)); } .main-title-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(460px, 100%); } .title-ghost { color: var(--faint); font-weight: 400; } /* The facts subtitle — fixed facts, not controls (persona · model · folder); click → coworker page. */ .title-sub { border: 0; background: none; padding: 0; font: inherit; font-size: 11px; font-weight: 400; line-height: 1.25; color: var(--faint); max-width: min(460px, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } .title-sub:hover { color: var(--muted); } /* Equal-flex side regions keep the subtitle centered; they double as window-drag surfaces. */ .main-topbar-side { align-self: stretch; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; } .main-topbar-actions { justify-content: flex-end; } .topbar-icon-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; } .topbar-icon-btn:hover { color: var(--ink); background: var(--paper); } .app.tauri-overlay .main-title, .app.tauri-overlay .main-drag-fill { -webkit-app-region: drag; } .app.tauri-overlay button, .app.tauri-overlay input, .app.tauri-overlay textarea, .app.tauri-overlay select, .app.tauri-overlay .topbar-icon-btn { -webkit-app-region: no-drag; } .main-workspace { position: relative; display: flex; min-height: 0; flex: 1; overflow: hidden; } .main-chat { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1; padding-top: 48px; } .main.rail-open .main-chat { margin-right: 332px; } .main-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 24px 8% 24px; } /* idle hero */ .hero { max-width: 720px; margin: 6vh auto 0; } .greeting { font-family: var(--serif); font-size: 40px; line-height: 1.1; margin: 0 0 18px; } .greeting .mark { color: var(--accent); margin-right: 10px; } .suggestions { margin-top: 40px; display: flex; flex-direction: column; } .suggest-head { font-size: 13px; color: var(--muted); margin-bottom: 6px; } .suggest { display: flex; align-items: center; gap: 11px; padding: 11px 6px; border-top: 1px solid var(--line); cursor: pointer; color: var(--ink); font-size: 14.5px; } .suggest:hover { color: var(--accent); } .suggest .ico { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; background: var(--panel); font-size: 13.5px; color: var(--muted); flex: none; } /* transcript */ /* Conversation column — mock's `max-w-3xl mx-auto space-y-5` (the px-6/py-6 gutter is supplied by .main-scroll). The user bubble is restyled inline with Tailwind utilities on the element. */ .transcript { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; } .bubble-assistant { font-size: 15px; line-height: 1.55; white-space: pre-wrap; } .bubble-assistant .who { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; } /* markdown-rendered assistant content (the bubble's pre-wrap would double-space block output) */ .md { white-space: normal; font-size: 15px; line-height: 1.68; color: var(--ink); } .md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; } .md p { margin: 0 0 12px; } .md strong { font-weight: 600; color: var(--ink); } /* headings — a clear hierarchy with generous space above so sections breathe */ .md h1, .md h2, .md h3, .md h4, .md h5 { margin: 22px 0 9px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); } .md h1 { font-size: 20px; } .md h2 { font-size: 17px; } .md h3 { font-size: 15px; } .md h4, .md h5 { font-size: 13.5px; } /* lists — visible markers + comfortable item spacing (was a run-together wall of text) */ .md ul, .md ol { margin: 4px 0 14px; padding-left: 22px; } .md ul { list-style: disc; } .md ol { list-style: decimal; } .md li { margin: 6px 0; padding-left: 3px; } .md li::marker { color: var(--faint); } .md li > ul, .md li > ol { margin: 6px 0; } .md li > p { margin: 0 0 6px; } .md li > p:last-child { margin-bottom: 0; } /* code */ .md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; } .md pre { margin: 4px 0 14px; padding: 12px 14px; overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; } .md pre code { background: none; border: none; padding: 0; font-size: 12.5px; line-height: 1.55; } /* blockquote */ .md blockquote { margin: 4px 0 14px; padding: 4px 14px; border-left: 3px solid var(--line-strong); color: var(--muted); } .md blockquote p:last-child { margin-bottom: 0; } /* tables — header tint, zebra rows, roomier cells (kept block-scrollable for wide tables) */ .md table { display: block; overflow-x: auto; border-collapse: collapse; margin: 6px 0 14px; font-size: 13.5px; } .md th, .md td { border: 1px solid var(--line); padding: 7px 12px; text-align: left; vertical-align: top; } .md th { background: var(--paper); font-weight: 600; color: var(--muted); white-space: nowrap; } .md tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 45%, transparent); } .md a { color: var(--accent); text-decoration: none; } .md a:hover { text-decoration: underline; } .md hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; } .md img { max-width: 100%; border-radius: 8px; } .stream-cursor { color: var(--accent); animation: blink 1s steps(2, start) infinite; margin-left: 1px; } @keyframes blink { to { opacity: 0; } } .waiting-transcript { max-width: 760px; margin: 18px auto 0; display: flex; } .waiting-row { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; color: var(--muted); font-size: 13px; line-height: 1; } .waiting-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin 0.8s linear infinite; flex: none; } @keyframes spin { to { transform: rotate(360deg); } } .tool { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); padding: 8px 11px; font-size: 13px; color: var(--muted); } .tool .name { font-family: var(--mono); color: var(--ink); font-size: 12.5px; } .tool .args { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tool .status { float: right; font-size: 11px; } .tool .status.ok { color: var(--ok); } .tool .status.denied, .tool .status.error { color: var(--accent); } .notice { font-size: 13px; color: var(--muted); text-align: center; } .notice.warn { color: var(--accent); } /* approval */ .approval { border: 1px solid var(--line-strong); background: var(--panel); border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); } .approval-dock { max-width: 760px; margin: 0 auto 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); } .approval-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .approval-heading { display: flex; gap: 9px; align-items: center; min-width: 0; } .approval-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); } /* §35: the humanized headline — same voice as the transcript's step lines */ .approval-title { font-size: 14px; color: var(--ink); min-width: 0; } .approval-title b { font-weight: 600; } .approval-tool { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; margin-left: 5px; } /* plain-words scope note replaces the "local action" badge */ .approval-scope { font-size: 11px; color: var(--faint); white-space: nowrap; padding-top: 3px; } .approval-scope.out { color: var(--warn-ink); } .approval-external { border-color: var(--warn-ink); } /* the proposal preview — from the tool call's ARGS (the file/action doesn't exist yet) */ .approval-prev { margin-top: 11px; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.55; /* Long previews (a 170-line skill) must scroll INSIDE the card — expanded content otherwise outgrows the viewport with no way to read or reach "show less". */ max-height: 42vh; overflow-y: auto; } .approval-prev-more { display: block; margin-top: 4px; font: inherit; font-family: -apple-system, sans-serif; font-size: 11.5px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; } .approval-with { margin-top: 9px; font-size: 12.5px; color: var(--muted); } /* long outbound messages: same box as code previews but reads as text, not code */ .approval-prev.prose { font-family: inherit; font-size: 12.5px; } .approval-filechip { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; align-self: flex-start; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); padding: 5px 11px 5px 7px; font-size: 12.5px; color: var(--ink); } .approval-filechip .ico { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; } /* compact row (routine workspace writes) */ .approval-row { padding: 9px 12px; } .approval-row-line { display: flex; align-items: center; gap: 10px; min-width: 0; } .approval-row-line .approval-btns { margin-top: 0; flex-wrap: nowrap; } .approval-peek { font: inherit; font-size: 11.5px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; flex: none; } /* owner call (UX-018): no solid fills — the primary action is a blue border */ .approval .btn.approval-primary { border-color: var(--accent); color: var(--accent); font-weight: 600; } .approval .btn.approval-primary:hover { background: var(--accent-soft); } .approval .btn.quiet-deny { border: 0; background: none; color: var(--faint); } .approval .btn.quiet-deny:hover { color: var(--danger); } .approval-rest { margin-top: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .approval-reason { margin-top: 8px; font-size: 12.5px; color: var(--muted); } /* Standing-approval consent lines (§25): reads = quiet disclosure, writes = the grants. */ .approval-grants { margin-top: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 7px 10px; display: flex; flex-direction: column; gap: 5px; } .approval-grant { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; color: var(--muted); } .approval-grant .grant-mark { color: var(--faint); width: 12px; text-align: center; flex: none; } .approval-grant .grant-mark.write { color: var(--teal-ink); font-weight: 600; } .approval-grant[data-access="write"] { color: var(--ink); } .approval-grant .grant-note { color: var(--faint); font-size: 11.5px; } .approval-btns { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; align-items: center; } .approval-btns .spacer { flex: 1; } .approval .resolved { margin-top: 10px; font-size: 12.5px; color: var(--muted); } button.btn { font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; } button.btn.icon-only { display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; flex: none; color: var(--muted); } button.btn.icon-only:hover { color: var(--ink); } button.btn:hover { background: var(--paper); } button.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } button.btn.danger { color: var(--accent); } /* composer — the wrap/card/head/bar layout is supplied by Tailwind utilities on the elements (Composer.tsx); only the textarea reset + drag-ring remain in CSS. */ .composer textarea { width: 100%; border: none; outline: none; resize: none; font: inherit; font-size: 14.5px; line-height: 1.45; background: transparent; color: var(--ink); min-height: 24px; max-height: 88px; overflow: hidden; } .composer textarea::placeholder { color: var(--faint); } .voice-wave-line { flex: 1; min-width: 28px; border-top: 1px dashed var(--line-strong); } .voice-wave-bars { height: 28px; display: inline-flex; align-items: center; gap: 2px; color: var(--accent); } .voice-wave-bars i { display: block; width: 2px; max-height: 27px; min-height: 4px; border-radius: 2px; background: currentColor; animation: voice-wave .7s ease-in-out infinite alternate; } .voice-wave-bars i:nth-child(2n) { animation-delay: -.28s; } .voice-wave-bars i:nth-child(3n) { animation-delay: -.49s; } .voice-wave-bars i:nth-child(5n) { animation-delay: -.13s; } @keyframes voice-wave { from { transform: scaleY(.32); opacity: .55; } to { transform: scaleY(1); opacity: 1; } } /* Quiet text trigger — the send button stays the composer's only loud element. inline-flex keeps the chevron glued to the label (the old inline pill let it wrap onto its own line). */ .pill { display: inline-flex; align-items: center; gap: 3px; max-width: 240px; font: inherit; font-size: 12.5px; color: var(--muted); border: none; border-radius: 7px; padding: 5px 8px; background: transparent; cursor: pointer; } .pill:hover { color: var(--ink); background: var(--paper); } .pill-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* "No model ⚠" shown in place of the model picker until a provider is connected — no box, just warn-colored text + a small glyph, matching the other composer pills. */ .pill.model-warn { color: var(--warn-ink); } .pill.model-warn:hover { color: var(--warn-ink); background: var(--paper); } .model-warn-ico { color: var(--warn-ink); font-size: 12px; line-height: 1; } .pill .caret { color: var(--faint); flex: none; } .pill:hover .caret { color: var(--muted); } /* Bordered chip variant (composer-head model selector) — mock's `bg-paper border border-line`. */ .pill.chip { background: var(--paper); border: 1px solid var(--line); } .pill.chip:hover { border-color: var(--line-strong); background: var(--paper); } /* dropdown popover */ .dd { position: relative; } .dd-backdrop { position: fixed; inset: 0; z-index: 20; } .dd-menu { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 21; min-width: 240px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; box-shadow: 0 12px 36px rgba(0,0,0,0.14); } .dd-menu.right { left: auto; right: 0; } .dd-item { padding: 8px 10px; border-radius: 8px; cursor: pointer; } .dd-item:hover { background: var(--paper); } .dd-item.sel .dd-label { color: var(--accent); } .dd-label { font-size: 13.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; } .dd-item .chk { color: var(--accent); } .dd-desc { font-size: 12px; color: var(--faint); margin-top: 1px; } .send { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--accent); color: #fff; cursor: pointer; font-size: 16px; } .send:disabled { opacity: 0.4; cursor: default; } .statusline { max-width: 760px; margin: 6px auto 0; font-size: 12px; color: var(--faint); display: flex; gap: 12px; } .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; } .dot.idle { background: var(--faint); } .dot.running { background: var(--ok); } .dot.off { background: var(--accent); } .approval-inline { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; color: var(--muted); font-size: 12.5px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; } .approval-inline .status { color: var(--ok); } .approval-inline .dim { color: var(--faint); } /* right inspector + artifact viewer */ .right-rail { position: absolute; top: 0; right: 0; bottom: 0; width: 332px; overflow-y: auto; background: var(--glass-soft); border-left: 1px solid var(--line); padding: 18px 16px; backdrop-filter: blur(12px); z-index: 5; } /* An open artifact widens the rail into a reading panel (Codex-style) — the chat stays visible and usable beside it; Back returns to the normal-width Progress/Artifacts list. */ .right-rail.artifact-mode { width: var(--artifact-rail-w); z-index: 8; padding: 0; background: var(--paper); backdrop-filter: none; } .main.rail-open:has(.right-rail.artifact-mode) .main-chat { margin-right: var(--artifact-rail-w); } .main.rail-open:has(.right-rail.artifact-mode) .main-topbar { right: var(--artifact-rail-w); } .artifact-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; } .rail-section { border-bottom: 1px solid var(--line); padding: 11px 0; } .rail-section-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 24px; } .rail-section-toggle { flex: 1; display: flex; gap: 8px; align-items: center; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); user-select: none; border: 0; background: transparent; padding: 0; text-align: left; } .rail-chev { color: var(--faint); flex: none; } .rail-mini-btn { width: 24px; height: 24px; display: grid; place-items: center; color: var(--muted); border: 0; border-radius: 7px; background: transparent; cursor: pointer; } .rail-mini-btn:hover { color: var(--ink); background: var(--paper); } .rail-section-body { padding-top: 10px; } .rail-muted { font-size: 12px; color: var(--faint); line-height: 1.45; overflow-wrap: anywhere; } .rail-error { font-size: 12px; color: var(--accent); overflow-wrap: anywhere; } .rail-todo-list { display: flex; flex-direction: column; gap: 9px; } .rail-todo { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: var(--muted); } .rail-todo-mark { width: 12px; height: 12px; margin-top: 2px; border: 1.6px solid var(--line-strong); border-radius: 3px; background: transparent; } .rail-todo.in_progress { color: var(--ink); } .rail-todo.in_progress .rail-todo-mark { border-radius: 999px; border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); background: var(--accent); } .rail-todo.done { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; } .rail-todo.done .rail-todo-mark { border-color: var(--accent); background: var(--accent); } .rail-todo.done .rail-todo-mark::after { content: ""; display: block; width: 5px; height: 3px; margin: 3px 0 0 2.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); } .rail-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .rail-actions .btn { padding: 6px 9px; font-size: 12px; border-radius: 8px; } .browser-mini { display: flex; flex-direction: column; gap: 8px; } .browser-shot { display: block; width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); } .artifact-list { display: flex; flex-direction: column; gap: 7px; } .artifact-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; text-align: left; border: 1px solid transparent; background: transparent; color: var(--ink); border-radius: 9px; padding: 8px 9px; cursor: pointer; font: inherit; min-width: 0; } .artifact-row:hover { border-color: var(--line); background: var(--panel); } .artifact-ico { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); } .artifact-name { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .artifact-row-meta { font-size: 11px; color: var(--faint); font-weight: 400; } .artifact-open { font-size: 11.5px; color: var(--faint); } .artifact-viewer { display: flex; flex-direction: column; min-height: 0; height: 100%; } .artifact-head { flex: none; min-height: 58px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); } .artifact-icon-btn { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 0; cursor: pointer; } .artifact-icon-btn:hover { background: var(--paper); color: var(--ink); } .artifact-heading { flex: 1; min-width: 0; } .artifact-title { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; white-space: nowrap; } .artifact-title span:last-child { overflow: hidden; text-overflow: ellipsis; } .artifact-sep { color: var(--faint); font-weight: 400; } .artifact-path { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; } .artifact-preview { min-height: 0; flex: 1; overflow: auto; background: var(--panel); } .artifact-frame { width: 100%; height: 100%; min-height: calc(100vh - 86px); border: 0; background: #fff; } /* Checkerboard backdrop so white/transparent images still read as an image, not a blank pane. */ .artifact-image { max-width: 100%; display: block; margin: 20px auto; border-radius: 8px; border: 1px solid var(--line); background: repeating-conic-gradient(var(--check-a) 0% 25%, var(--check-b) 0% 50%) 0 0 / 20px 20px; } .artifact-code { margin: 0; padding: 22px 26px; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; color: var(--ink); } /* Non-previewable binaries (Office docs): a centered prompt to open in the default app. */ .artifact-open-prompt { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px; text-align: center; color: var(--muted); } .artifact-open-prompt p { margin: 0; max-width: 280px; } /* pdf.js-rendered pages, stacked like a document scroll */ .artifact-pdfjs { padding: 18px 16px; } .artifact-pdf-page { display: block; width: 100%; height: auto; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); } /* csv / spreadsheet preview */ .artifact-tablewrap { padding: 14px 16px 40px; overflow: auto; } .artifact-table { border-collapse: collapse; font-size: 12.5px; white-space: nowrap; } .artifact-table th, .artifact-table td { border: 1px solid var(--line); padding: 5px 10px; text-align: left; max-width: 340px; overflow: hidden; text-overflow: ellipsis; } .artifact-table th { background: var(--paper); font-weight: 600; position: sticky; top: 0; } .artifact-table-note { padding: 10px 16px; } .sheet-viewer { display: flex; flex-direction: column; min-height: 0; height: 100%; } .sheet-viewer .artifact-tablewrap { flex: 1; min-height: 0; } .sheet-tabs { display: flex; gap: 4px; padding: 9px 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; flex: none; } .sheet-tab { font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; background: transparent; padding: 6px 12px; } .sheet-tab.active { color: var(--ink); background: var(--panel); border-color: var(--line); } /* markdown artifacts reuse the shared .md renderer inside a readable padded column */ .artifact-md { padding: 26px 28px 70px; font-size: 14.5px; line-height: 1.6; color: var(--ink); } .artifact-md .md h1 { font-size: 24px; } .artifact-md .md h2 { font-size: 19px; margin-top: 22px; } /* working-directory bar */ /* Workspace chip lives INSIDE the composer card's head row (top chip row, Tailwind-laid-out). */ .wschip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; cursor: pointer; max-width: 60%; } .wschip:hover { border-color: var(--line-strong); } /* Icon-only variant (composer folder control): just the folder glyph + a small chevron, no name, no border/background — sits inline with the other borderless row controls. */ .wschip-icon { gap: 3px; padding: 5px; border: none; background: none; color: var(--muted); max-width: none; } .wschip-icon:hover { background: var(--paper); color: var(--ink); border: none; } .wschip .edit { color: var(--faint); flex: none; } .wschip:hover .edit { color: var(--muted); } .wsbranch { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--faint); } /* roots manager (orphan Cowork directories) */ .rootsbar { position: relative; display: inline-flex; } .rootsbar .wschip { max-width: none; } .roots-pop { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 30; width: 420px; max-width: 70vw; padding: 8px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); } .roots-head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); padding: 2px 6px 8px; } .root-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; } .root-row:hover { background: var(--paper); } .root-row.missing { opacity: 0.6; } .root-ico { color: var(--muted); flex: none; } .root-text { display: flex; flex-direction: column; min-width: 0; flex: 1; } .root-label { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .root-path { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: rtl; text-align: left; } .root-tag { font-size: 10.5px; color: var(--muted); background: var(--line); border-radius: 5px; padding: 1px 5px; flex: none; } .root-tag.warn { color: var(--warn-ink); background: var(--warn-soft); } .root-access { font: inherit; font-size: 11px; cursor: pointer; flex: none; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; background: var(--paper); color: var(--muted); } .root-access.rw { color: var(--ok); border-color: var(--ok-line); background: var(--ok-soft); } .root-access:disabled { cursor: default; opacity: 0.7; } .root-x { font: inherit; font-size: 15px; line-height: 1; color: var(--faint); background: none; border: none; cursor: pointer; padding: 0 4px; flex: none; } .root-x:hover { color: var(--ink); } .roots-add { padding: 8px 2px 2px; border-top: 1px solid var(--line); margin-top: 6px; } .roots-err { color: var(--danger); font-size: 12px; padding: 6px 6px 2px; } /* add-folder form (shared: roots popover + session start panel) */ .addfolder-trigger { display: inline-flex; align-items: center; gap: 7px; width: 100%; justify-content: center; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 7px 10px; } .addfolder-trigger:hover { border-color: var(--accent); color: var(--accent); } .addfolder-trigger.compact { font-size: 12px; padding: 6px 9px; } .addfolder-form { display: flex; flex-direction: column; gap: 8px; padding: 2px; } .addfolder-row { display: flex; gap: 8px; align-items: center; } .addfolder-path { flex: 1; font: inherit; font-size: 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; outline: none; } .addfolder-path:focus { border-color: var(--accent); } .addfolder-actions { display: flex; align-items: center; gap: 10px; } .addfolder-write { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); cursor: pointer; } .addfolder-actions .spacer { flex: 1; } /* Cowork session start panel */ .intro { max-width: 640px; margin: 0 auto; padding: 40px 20px 24px; } .intro .greeting { font-size: 26px; font-weight: 600; display: flex; align-items: center; gap: 10px; } .intro .greeting .mark { color: var(--accent); } .intro-lede { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 8px 0 0; } /* Template tasks on the Cowork start screen (§27): flat hairline rows, no icon tiles — the title is the row. Connector dots on the sub-line (brand color = live for this session, grayscale = not; §23's vocabulary); sub-line copy is the task's OUTCOME, never connection state. Ready row: hover colors the title and reveals the action. Gated row: "Configure ›" stays visible at rest — the setup action IS the row's meaning. Staggered entrance. */ .intro-tasks { margin-top: 30px; display: flex; flex-direction: column; } .task-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; padding: 13px 6px; background: none; border: none; border-top: 1px solid var(--line); font: inherit; color: var(--ink); opacity: 0; transform: translateY(4px); animation: task-rise 0.35s ease forwards; } .task-card:nth-of-type(1) { animation-delay: 0.10s; } .task-card:nth-of-type(2) { animation-delay: 0.22s; } .task-card:nth-of-type(3) { animation-delay: 0.34s; } @keyframes task-rise { to { opacity: 1; transform: none; } } @media (prefers-reduced-motion: reduce) { .task-card { animation: none; opacity: 1; transform: none; } } .task-card:first-child { border-top: none; } .task-card-body { flex: 1; min-width: 0; } .task-card-title { display: block; font-size: 14.5px; transition: color 0.12s; } .task-card:hover .task-card-title { color: var(--accent); } .task-card-sub { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--faint); margin-top: 3px; } .task-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); } .task-dot + .task-dot { margin-left: -4px; } .task-dot.off { filter: grayscale(1); opacity: 0.7; } .task-card-act { color: var(--faint); font-size: 12.5px; flex: none; opacity: 0; transition: opacity 0.12s; } .task-card:hover .task-card-act { opacity: 1; color: var(--accent); } .task-card.gated .task-card-act { opacity: 1; color: var(--accent); } /* Topbar "Artifacts (N)" affordance, shown when the side panel is hidden */ .topbar-artifacts-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; margin-right: 6px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--muted); cursor: pointer; font: inherit; font-size: 12.5px; } .topbar-artifacts-btn:hover { color: var(--ink); border-color: var(--accent); } .topbar-artifacts-count { min-width: 17px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; text-align: center; } /* the inline add-folder form sits under the "Analyze the files in a directory" task row */ .intro-addfolder { padding: 4px 6px 14px 6px; border-top: 1px solid var(--line); } /* request_directory prompt (agent-initiated) */ .dirreq-card { background: var(--panel); border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 3px var(--accent-soft); /* Same column as the composer/approval dock — full-bleed on wide monitors read broken (owner catch 2026-08-15 on the tool-request card). */ max-width: 760px; margin: 0 auto 9px; } .dirreq-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--ink); } .dirreq-head .ico { color: var(--accent); } .dirreq-reason { font-size: 13px; color: var(--muted); font-style: italic; margin: 6px 0 10px; } /* the coworker's justification gets an explicit label — the quote alone made readers work out what the italic line was */ .toolreq-label { font-style: normal; font-weight: 600; color: var(--ink); } /* request_tool fact strip — the product's own metadata (version, publisher, checksum), deliberately NOT italic so it can't be misread as the coworker still talking */ .toolreq-facts { font-size: 12.5px; color: var(--muted); font-style: normal; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; margin: 2px 0 10px; } .toolreq-facts code { color: var(--ink); font-size: 12.5px; } .toolreq-factrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .toolreq-factrow code + .toolreq-fact::before { content: "· "; color: var(--muted); } .toolreq-explain { margin-top: 4px; } .toolreq-factrow + .toolreq-explain { margin-top: 5px; } /* a disabled Install must LOOK disabled — the whole card exists to not oversell */ .dirreq-actions .btn:disabled { opacity: 0.45; cursor: not-allowed; } .dirreq-pathrow { display: flex; gap: 8px; align-items: center; } .dirreq-path { flex: 1; font: inherit; font-size: 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; outline: none; } .dirreq-path:focus { border-color: var(--accent); } .dirreq-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; } .dirreq-access { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; } .dirreq-actions .spacer { flex: 1; } /* propose_plan prompt (plan-mode exit) */ .plan-card .plan-body { max-height: 320px; overflow-y: auto; font-size: 13.5px; margin: 8px 0 2px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; } /* folder gate */ .gate-overlay { position: fixed; inset: 0; background: var(--scrim); display: grid; place-items: center; z-index: 50; } .gate { width: 480px; max-width: 92vw; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 16px; padding: 26px 26px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); } .gate-mark { color: var(--accent); font-size: 22px; } .gate h2 { font-family: var(--serif); font-size: 24px; margin: 6px 0 4px; } .gate-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; } .gate-input { display: flex; gap: 8px; } .gate-input input { flex: 1; font: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--panel); outline: none; } .gate-input input:focus { border-color: var(--accent); } .gate-error { color: var(--accent); font-size: 12.5px; margin-top: 8px; } .gate-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 18px 0 6px; } .gate-recents { display: flex; flex-direction: column; max-height: 200px; overflow-y: auto; } .gate-recent { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; cursor: pointer; } .gate-recent:hover { background: var(--panel); } .gate-recent .folder { font-size: 14px; color: var(--ink); } .gate-recent .dim { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gate-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; } .gate-link { font-size: 13px; color: var(--accent); cursor: pointer; } .gate-link:hover { text-decoration: underline; } .gate-cancel { margin: 0; } /* Centered sub-tab row inside a manage pane (e.g. API models / Local models). */ .subtabs { display: flex; justify-content: center; margin: 20px 0 16px; } .ob-subtabs { justify-content: flex-start; margin: 22px 0 4px; } /* Small inline segmented control (Appearance: Light / Dark / Auto). */ .seg { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); padding: 3px; border-radius: 9px; } .seg button { font: inherit; font-size: 12.5px; padding: 5px 14px; border: none; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; } .seg button.active { background: var(--accent-soft); color: var(--ink); } /* Model checklist (Onboarding + Configure Models): tick = in the composer picker. */ .mlist { display: flex; flex-direction: column; gap: 1px; margin: 6px 0 4px; } .mlist-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; } .mlist-row:hover { background: var(--panel); } .mlist-main { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; cursor: pointer; } .mlist-main input { accent-color: var(--accent); margin: 0; } .mlist-name { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mlist-row.off .mlist-name { color: var(--muted); } .mlist-default { background: var(--ink); color: var(--panel); font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; letter-spacing: 0.03em; flex: none; } .mlist-make { visibility: hidden; border: 1px solid var(--line-strong); background: var(--panel); border-radius: 7px; padding: 3px 9px; font-size: 11.5px; color: var(--muted); cursor: pointer; flex: none; } .mlist-row:hover .mlist-make { visibility: visible; } .mlist-make:hover { color: var(--ink); border-color: var(--ink); } .mlist-add { display: flex; gap: 8px; margin-top: 8px; } .mlist-add input { flex: 1; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px; color: var(--ink); font: inherit; font-size: 13px; outline: none; } .mlist-add input:focus { border-color: var(--accent); } .mlist-add select { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 8px; color: var(--ink); font: inherit; font-size: 13px; outline: none; } .mlist-add select:focus { border-color: var(--accent); } /* .mcp-error is used by ScheduledView; the MCP servers list itself is Tailwind-styled inline (ManageTabs McpTab/McpRow/AddForm). */ .mcp-error { color: var(--accent); font-size: 12.5px; margin-top: 6px; } button.btn-primary { font: inherit; font-size: 13px; padding: 8px 16px; border-radius: 9px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; align-self: flex-start; } button.btn-primary:hover { filter: brightness(1.05); } button.link { font: inherit; font-size: 12.5px; background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; } button.link:hover { color: var(--ink); } button.link.danger:hover { color: var(--accent); } button.link:disabled { color: var(--faint); cursor: default; } .switch { position: relative; display: inline-block; width: 34px; height: 20px; flex: none; } .switch input { opacity: 0; width: 0; height: 0; } .switch .slider { position: absolute; cursor: pointer; inset: 0; background: var(--line-strong); border-radius: 999px; transition: 0.15s; } .switch .slider::before { content: ""; position: absolute; height: 14px; width: 14px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.15s; } .switch input:checked + .slider { background: var(--accent); } .switch input:checked + .slider::before { transform: translateX(14px); } /* -- Connectors tab --------------------------------------------------------- */ .conn-name { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; } .conn-meta { font-size: 11.5px; color: var(--faint); margin-top: 2px; display: flex; align-items: center; gap: 5px; } .conn-meta.ok, .conn-meta .ok { color: var(--ok); } .conn-meta.danger, .conn-meta .danger { color: var(--danger); } button.btn-primary.sm { padding: 5px 13px; font-size: 12.5px; } button.btn.sm { padding: 5px 13px; font-size: 12.5px; } .conn-field { display: flex; flex-direction: column; gap: 4px; } .conn-field-label { font-size: 12.5px; color: var(--ink); } .conn-field-label em { color: var(--faint); font-style: normal; } .conn-field input { font: inherit; font-size: 13px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper); color: var(--ink); outline: none; } .conn-field input:focus { border-color: var(--accent); } /* Match the