/* The studio look's base (studio-kit), made from studio.css by studio-base.ts: do not edit it, edit studio.css.
   Tokens, density, controls, toasts, panel heads and cards, and the board studios' glass bars, status pill and floating
   panel, for a studio with no chat column (UI_SOURCE.studioBase, /kit/studio-base.css). */
:root[data-theme="light"] {
  /* Tand */
  --bg: #fdfdfc;
  --card: #ffffff;
  --ink: #000000;
  --muted: #6b6b68;
  --rule: rgba(0, 0, 0, 0.1);
  --soft: #efefec;
  --chip: rgba(0, 0, 0, 0.1);
  --sky: #d6effc;
  --lilac: #c79bd3;
  --lilac-ink: #3b1648;
  --teal: #16c1bb;
  --teal-ink: #0a7f7a;
  --bad: #b3261e;
  --bad-soft: #fbeae8;
  --on-bad: #ffffff;
  /* the simulator states' extra tones (design/sim-states): second ink, amber, blue */
  --ink-2: #50504d;
  --warn: #a8530a;
  --warn-soft: #fbeccd;
  --warn-ink: #6b4500;
  --info: #1d5fa8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --focus-ring: color-mix(in srgb, var(--ink) 55%, var(--bg));
  --ring: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.12);
  --lift: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -2px rgba(0, 0, 0, 0.08);
  --paper: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.08), 0 6px 12px -4px rgba(0, 0, 0, 0.14);
  --pop: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 6px 12px -4px rgba(0, 0, 0, 0.16);
  /* the simulator's floats (hint, notice, card, toolbar): one surface in both themes */
  --float: color-mix(in srgb, var(--card) 92%, transparent);
  --float-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.12);
  --bar: rgba(0, 0, 0, 0.18);
  --bar-on: rgba(0, 0, 0, 0.4);
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  /* the kit's, on Tand's */
  --chrome: var(--bg);
  --panel: var(--card);
  --panel2: var(--soft);
  --line: var(--rule);
  --line-strong: var(--chip);
  --text: var(--ink);
  --dim: var(--muted);
  --faint: var(--muted);
  --accent: #0a7f7a;
  --accent-ink: #ffffff;
  --fail: var(--bad);
  --fail-soft: var(--bad-soft);
  --shadow: var(--lift);
  --hover: var(--soft);
  --st-screen-empty: #f6f6f4;
  color-scheme: light;
}
/* dark: by the system's scheme unless Settings picked one (data-scheme on the root, see settings.ts) */
@media (prefers-color-scheme: dark) {
  :root[data-theme="light"]:not([data-scheme="light"]) {
    --bg: #0c0c0c;
    --card: #171717;
    --ink: #f4f4f1;
    --muted: #9a9a95;
    --rule: rgba(255, 255, 255, 0.12);
    --soft: #1f1f1e;
    --chip: rgba(255, 255, 255, 0.14);
    --sky: #10283a;
    --lilac: #3a2145;
    --lilac-ink: #ecd3f3;
    --teal-ink: #4fd8d2;
    --bad: #ff8a80;
    --bad-soft: #3a1714;
    --on-bad: #0c0c0c;
    --ink-2: #c8c8c2;
    --warn: #f0a35e;
    --warn-soft: #3a2a10;
    --warn-ink: #fbd9a0;
    --info: #7fb2ec;
    --focus-ring: color-mix(in srgb, var(--ink) 55%, var(--bg));
    --ring: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --lift: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 3px 6px -2px rgba(0, 0, 0, 0.55);
    --paper: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.55), 0 6px 14px -4px rgba(0, 0, 0, 0.65);
    --pop: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 1px 2px 0 rgba(0, 0, 0, 0.55), 0 8px 16px -4px rgba(0, 0, 0, 0.7);
    --float-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 4px 10px -4px rgba(0, 0, 0, 0.6);
    --bar: rgba(255, 255, 255, 0.2);
    --bar-on: rgba(255, 255, 255, 0.4);
    --accent: #4fd8d2;
    --accent-ink: #0c0c0c;
    --st-screen-empty: #141414;
    color-scheme: dark;
  }
}
:root[data-theme="light"][data-scheme="dark"] {
  --bg: #0c0c0c;
  --card: #171717;
  --ink: #f4f4f1;
  --muted: #9a9a95;
  --rule: rgba(255, 255, 255, 0.12);
  --soft: #1f1f1e;
  --chip: rgba(255, 255, 255, 0.14);
  --sky: #10283a;
  --lilac: #3a2145;
  --lilac-ink: #ecd3f3;
  --teal-ink: #4fd8d2;
  --bad: #ff8a80;
  --bad-soft: #3a1714;
  --on-bad: #0c0c0c;
  --ink-2: #c8c8c2;
  --warn: #f0a35e;
  --warn-soft: #3a2a10;
  --warn-ink: #fbd9a0;
  --info: #7fb2ec;
  --focus-ring: color-mix(in srgb, var(--ink) 55%, var(--bg));
  --ring: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --lift: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 3px 6px -2px rgba(0, 0, 0, 0.55);
  --paper: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.55), 0 6px 14px -4px rgba(0, 0, 0, 0.65);
  --pop: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 1px 2px 0 rgba(0, 0, 0, 0.55), 0 8px 16px -4px rgba(0, 0, 0, 0.7);
  --float-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 4px 10px -4px rgba(0, 0, 0, 0.6);
  --bar: rgba(255, 255, 255, 0.2);
  --bar-on: rgba(255, 255, 255, 0.4);
  --accent: #4fd8d2;
  --accent-ink: #0c0c0c;
  --st-screen-empty: #141414;
  color-scheme: dark;
}
:root[data-scheme="light"] { color-scheme: light; }
html, body { height: 100%; }
body { margin: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
::selection { background: var(--sky); color: var(--ink); }
/* the ring follows the element's own radius (a pill, a menu row); only a bare link or summary gets a soft corner */
:focus-visible { outline: 2px solid var(--focus-ring, var(--ink)); outline-offset: 2px; }
:where(a, summary, [contenteditable]):focus-visible { border-radius: 4px; }
[hidden] { display: none !important; }
/* Scrollbars: thin, no track, faint until the pointer is over what scrolls. */
* { scrollbar-width: thin; scrollbar-color: transparent transparent; }
*:hover { scrollbar-color: var(--bar) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border: 3px solid transparent; border-radius: 5px; background-clip: content-box; }
*:hover::-webkit-scrollbar-thumb { background-color: var(--bar); }
::-webkit-scrollbar-thumb:hover { background-color: var(--bar-on); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* THE button: a pill in the page's own type. One shape everywhere (test/control-shapes.test.ts): no square corners, no
   uppercase mono, no hairline border. Places may change its size or surface, never its shape. */
.btn { flex-shrink: 0; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: var(--ring); font: 500 13px/1 var(--sans); letter-spacing: -0.01em; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), transform 150ms var(--ease-out), opacity 150ms var(--ease-out); }
.btn:hover { background: var(--soft); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn.solid { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn.solid:hover { background: color-mix(in srgb, var(--ink) 92%, var(--bg)); }
.btn.solid:disabled { opacity: 0.28; }
kbd { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 3px; background: var(--chip); font: 11px/18px var(--mono); text-align: center; }
.btn.solid kbd { background: rgba(128, 128, 128, 0.45); }
/* the round icon buttons: Tand's quiet square-ish icon buttons */
.st-round { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; min-width: 32px; padding: 0 6px; border: 0; border-radius: 15px; background: none; color: var(--ink); cursor: pointer; font: 500 12px/1 var(--sans); }
.st-round:hover { background: var(--soft); }
.st-round.small { height: 28px; min-width: 28px; }
.st-round svg { width: 17px; height: 17px; }
/* menus: Tand's panel */
.st-menu { display: flex; flex-direction: column; min-width: 220px; padding: 6px; border: 0; border-radius: 8px; background: var(--card); box-shadow: var(--lift); animation: rise 100ms ease-out; }
.st-menu button { min-height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); text-align: left; font: 14px var(--sans); cursor: pointer; }
.st-menu button:hover { background: var(--soft); }
/* the kit's popovers and buttons in the same language */
.sk-pop { border: 0 !important; border-radius: 8px !important; background: var(--card) !important; box-shadow: var(--lift) !important; }
.sk-btn { height: 30px; padding: 0 13px; border: 0; border-radius: 15px; background: var(--card); box-shadow: var(--ring); color: var(--ink); font: 500 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.sk-btn:hover { background: var(--soft); }
/* THE segmented control is <sk-segment> (segment(), theme.css). .st-seg is DEPRECATED: an alias drawn there exactly as
   a raised segment, until the studios move off it (look-lint flags it). */
.st-kick { font: 11px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.st-kick.ink { color: var(--ink); }
.st-faint { color: var(--muted); font-size: 13px; }
.st-pad { padding: 16px; }
.mono { font-family: var(--mono); }
.btn.solid, .btn[aria-pressed="true"] { box-shadow: none; }
.btn.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.big { height: 40px; justify-content: center; }
.btn.danger { color: var(--bad); }
.btn.solid.danger { background: var(--bad); border-color: var(--bad); color: var(--on-bad); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (pointer: coarse) {
  .st-round { height: 40px; min-width: 40px; }
  .st-round.small { height: 36px; min-width: 36px; }
}
.st-menu, .sk-pop { z-index: 60; }
/* ---- the kit's controls, in Web3's shape (the kit's own are 3 px corners, mono, uppercase tabs): dialogs, the
   account and share sheets, members, every field. Same rule as .btn above; test/control-shapes.test.ts holds it. ---- */
:root, :root[data-theme] { --radius: 10px; --radius-pop: 18px; }
.sk-input { box-sizing: border-box; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font: 14px/1.3 var(--sans); }
.sk-input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.sk-tabs button { font: 500 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.sk-btn.small { height: 26px; padding: 0 11px; border-radius: 13px; font-size: 12px; }
.sk-btn.icon { width: 30px; padding: 0; border-radius: 50%; }
.sk-btn.small.icon { width: 26px; }
.sk-btn.primary { background: var(--ink); color: var(--bg); box-shadow: none; font-weight: 500; }
.sk-btn.primary:hover:not(:disabled) { background: var(--ink); opacity: 0.85; }
.sk-btn.link, .sk-btn.link:hover:not(:disabled) { height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.sk-pane-menu button { border-radius: 10px; }
:root { --pop: 0 0 0 1px var(--rule), 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.05), 0 24px 60px rgba(0, 0, 0, 0.12); }
/* Settings (settings.ts): text size zooms the whole page (the root keeps the window's size), code size is the Code
   panel's, and the compact layout tightens heads and margins */
:root[style*="--ui-zoom"] { zoom: var(--ui-zoom); }
:root[style*="--ui-zoom"] body { height: calc(var(--st-vh, 100dvh) / var(--ui-zoom)); }
/* Density. Every size the layout's density moves is a token here, used by the rules under it; the Compact layout
   (Settings) only changes the tokens. Radii stay at half a control's height or more (pills only). */
:root {
  --d-top: 12px;        /* the floating bars' distance from the top of their side */
  --d-bar: 40px;        /* floating bar buttons, pills and the stage bar */
  --d-tab: 32px;        /* a tab inside the stage bar */
  --d-pane-top: 66px;   /* a panel's room under the floating bar */
  --d-edge: 16px;       /* from the panel's edge to its card */
  --d-radius: 18px;     /* the panel's cards */
  --d-head: 52px;       /* a panel head */
  --d-head-y: 6px;
  --d-head-x: 20px;
  --d-head-gap: 10px;
  --d-tile: 32px;       /* the head's round icon tile */
  --d-title: 15px;
  --d-meta: 13px;
  --d-text: 13px;       /* lists, fields and buttons */
  --d-ctl: 32px;        /* controls in a head */
  --d-btn: 32px;        /* buttons, pills and fields everywhere else (pill() and .btn alike) */
  --d-pad-x: 14px;      /* a button's sides */
  --d-seg-sm: 28px;     /* a small segment; md is --d-btn, lg --d-seg-lg */
  --d-seg-lg: 40px;
  --d-row: 30px;        /* a row in a side list */
  --d-row-y: 4px;
  --d-files: 250px;     /* a panel's side list */
  --d-ftab: 30px;       /* an open file's tab */
  --d-card: 18px;       /* padding inside a card */
  --d-gap: 12px;        /* between cards */
  --d-scroll-x: 28px;   /* a scrolling panel's side padding */
  --d-code-lh: 1.6;     /* code line height, times the code size */
  --d-log-x: 28px;      /* the chat's side padding */
  --d-composer: 52px;   /* the chat's message box */
  --d-input: 16px;      /* the message box's text */
  --d-chat: 15px;       /* the chat on a desktop: its words */
  --d-chat-lh: 1.5;
  --d-chat-meta: 12px;  /* when a message was sent, and its state */
  --d-chat-code: 13px;
  --d-turn: 22px;       /* between two turns */
  --d-turn-live: 14px;  /* under the turn being worked on */
  --d-para: 6px;        /* between two paragraphs */
  --d-bubble: 8px 12px; /* your message's bubble */
  --d-cmp: 6px;         /* inside the message box */
  --d-cmp-radius: 18px;
  --d-cmp-text: 15px;
  --d-cmp-ctl: 32px;    /* its controls' row */
  --d-live: 44px;       /* the card of the work going on, over the message box */
  --d-foot: 8px;        /* between that card and the box, and under the box */
  --d-foot-x: 14px;     /* from the chat panel's edges to the box */
  --d-fl-x: 14px;       /* from the window to the chat's bar */
  --d-list: 6px;        /* from a list's edges to its rows' ground */
  --d-side-gap: calc(var(--d-foot-x) / 2); /* the half padding trick: the room between the chat and the panel card is one inset, half on each side of the resize line, which then stands in the middle */
  --d-cmp-x: 8px;       /* beside the box's words */
}
:root[data-dense] {
  --d-top: 6px; --d-bar: 32px; --d-tab: 26px; --d-pane-top: 44px; --d-edge: 6px; --d-radius: 12px;
  --d-head: 36px; --d-head-y: 2px; --d-head-x: 10px; --d-head-gap: 6px; --d-tile: 24px; --d-title: 13.5px; --d-meta: 12px;
  --d-text: 12.5px; --d-ctl: 26px; --d-btn: 26px; --d-pad-x: 12px; --d-seg-sm: 22px; --d-seg-lg: 32px; --d-row: 22px; --d-row-y: 1px; --d-files: 210px; --d-ftab: 26px;
  --d-card: 12px; --d-gap: 8px; --d-scroll-x: 10px; --d-code-lh: 1.4; --d-log-x: 16px;
  --d-composer: 40px; --d-input: 14px;
  --d-chat: 13px; --d-chat-lh: 1.4; --d-chat-meta: 11px; --d-chat-code: 12px; --d-turn: 12px; --d-turn-live: 8px; --d-para: 4px; --d-bubble: 5px 8px;
  --d-cmp: 4px; --d-cmp-radius: 14px; --d-cmp-text: 13px; --d-cmp-ctl: 26px; --d-live: 32px; --d-foot: 6px; --d-foot-x: 8px; --d-list: 4px; --d-fl-x: 8px; --d-cmp-x: 4px;
}
.btn { height: var(--d-btn); padding: 0 var(--d-pad-x); border-radius: calc(var(--d-btn) / 2); font-size: var(--d-text); }
/* ---- toasts: the kit's <sk-notice>, in the manner of Base UI's toast. Bottom right; the newest in front, the two
   before it peeking out above, smaller; hovering the stack spreads it into a list. A card: surface, hairline,
   soft shadow, the tone as its icon's colour, the close button shown on hover. ---- */
sk-notice { inset: auto max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) auto; width: min(360px, calc(100vw / var(--ui-zoom, 1) - 32px)); display: grid; align-items: end; gap: 0; }
sk-notice:popover-open { display: grid; }
sk-notice > .sk-notice-card { grid-area: 1 / 1; align-self: end; width: 100%; transform-origin: 50% 0; transition: transform 220ms cubic-bezier(.22,1,.36,1), opacity 220ms, margin 220ms cubic-bezier(.22,1,.36,1); }
sk-notice > .sk-notice-card:nth-last-child(2) { transform: translateY(-12px) scale(0.95); opacity: 0.9; }
sk-notice > .sk-notice-card:nth-last-child(3) { transform: translateY(-24px) scale(0.9); opacity: 0.75; }
sk-notice > .sk-notice-card:nth-last-child(n+4) { transform: translateY(-36px) scale(0.85); opacity: 0; pointer-events: none; }
sk-notice > .sk-notice-card:not(:last-child) > * { opacity: 0; transition: opacity 160ms; }
/* spread: a list, newest at the bottom */
sk-notice:has(.sk-notice-card:hover), sk-notice:has(:focus-visible) { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
sk-notice:has(.sk-notice-card:hover) > .sk-notice-card, sk-notice:has(:focus-visible) > .sk-notice-card { transform: none; opacity: 1; pointer-events: auto; }
sk-notice:has(.sk-notice-card:hover) > .sk-notice-card > *, sk-notice:has(:focus-visible) > .sk-notice-card > * { opacity: 1; }
.sk-notice-card { position: relative; grid-template-columns: 16px 1fr; align-items: start; gap: 10px; padding: 14px 36px 14px 14px; background: var(--card); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -6px rgba(0, 0, 0, 0.14); color: var(--ink); font: 400 13.5px/1.45 var(--sans); animation: sk-toast-in 280ms cubic-bezier(.22,1,.36,1); }
.sk-notice-card.fail { border-left-color: var(--line); background: var(--card); }
.sk-notice-icon { padding-top: 2px; color: var(--muted); }
.sk-notice-card.pass .sk-notice-icon { color: var(--good, var(--pass)); }
.sk-notice-card.fail .sk-notice-icon { color: var(--bad, var(--fail)); }
.sk-notice-close { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; margin: 0; border-radius: 50%; color: var(--muted); opacity: 0; transition: opacity 140ms; }
.sk-notice-card:hover .sk-notice-close, .sk-notice-close:focus-visible { opacity: 1; }
.sk-notice-close:hover { background: var(--chip); color: var(--ink); }
.sk-notice-card.leaving { animation: sk-toast-out 200ms ease-in forwards; }
@keyframes sk-toast-in { from { opacity: 0; transform: translateY(calc(100% + 16px)); } }
@keyframes sk-toast-out { to { opacity: 0; transform: translateX(24px); } }

@media (max-width: 640px) {
  sk-notice { inset: auto 12px max(12px, env(safe-area-inset-bottom, 0px)) 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  sk-notice > .sk-notice-card { transition: none; }
}
/* ---- a phone's two headers: one height for every control in them (40, 36 in the dense layout), the project and
   panel pills sized to their words, the chat's header three controls (menu · project · panels) ---- */
@media (max-width: 720px) {
  body[data-phone] { --ph-ctl: 40px; }
  :root[data-dense] body[data-phone] { --ph-ctl: 36px; }
}
/* scrollbars: quiet everywhere (shown on hover, thin); a touch screen draws none of its own (it scrolls with the finger) */
@media (pointer: coarse) {
  *, *:hover { scrollbar-width: none; }
  ::-webkit-scrollbar { width: 0; height: 0; }
}
/* ---- Panels (moved from Web3 on 2026-11-27): a panel is an .sk-view under the floating bar: its head row (paneHead:
   .sk-sub.sk-head, a round icon tile, what is open, one status, the actions on the right), then .sk-view-scroll holding
   cards (.sk-paper), or an empty state (emptyState / wholeEmpty: .sk-blank). Sized by the --d-* tokens. ---- */
.sk-view { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; padding-top: 66px; }
.sk-view[hidden] { display: none; }
/* the plane work stands on (a device, an artboard): dotted, to the panel's edges, with no edge of its own (look-nest.ts) */
.sk-plane, body[data-desk] st-sim:not([data-full]) .st-stage { background-color: var(--soft); background-image: radial-gradient(color-mix(in srgb, var(--muted) 38%, transparent) 1px, transparent 1px); background-size: 20px 20px; }
/* a panel in parts: straight dividers, edge to edge, as in a table; no box in the panel (look-nest.ts) */
.sk-split { flex: 1 1 0; min-height: 0; display: flex; border-top: 1px solid var(--rule); }
.sk-split > * { min-width: 0; }
/* a list in a part: rows inset, their words on the head's icon line, the ground hanging around them (look-rows.ts) */
.sk-list, .sk-split > .sk-list { display: flex; flex-direction: column; gap: 2px; padding: var(--d-list); box-sizing: border-box; overflow-y: auto; }
.sk-list-row { flex: none; box-sizing: border-box; width: 100%; padding: calc(var(--d-row-y) + 4px) calc(var(--d-head-x) - var(--d-list)); border: 0; border-radius: calc(var(--d-radius) - var(--d-list)); background: none; color: var(--ink); font: 500 var(--d-text)/1.35 var(--sans); text-align: left; cursor: pointer; }
.sk-list-row:hover, .sk-list-row:is(.on, [aria-current="true"], [aria-selected="true"]) { background: var(--soft); }
.sk-list-sub { color: var(--muted); font-weight: 400; }
.sk-split > * + * { border-left: 1px solid var(--rule); }
.sk-sub { min-height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 4px 24px 10px 28px; box-sizing: border-box; flex-wrap: wrap; }
.sk-sub .st-faint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.sk-view-scroll { padding: 4px 28px 28px; gap: 12px; }
.sk-view-scroll { flex: 1 1 0; overflow-y: auto; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; }
.sk-blank { margin: auto; padding: 36px 24px; max-width: 46ch; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sk-blank b { font: 600 17px/1.3 var(--sans); letter-spacing: -0.01em; }
.sk-blank p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.sk-blank .btn { margin-top: 8px; height: 36px; border-radius: 18px; padding: 0 16px; }
.sk-blank .st-kick { margin-top: 6px; }
.sk-blank-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sk-view[data-empty] > :not(.sk-blank-full) { display: none; }
.sk-view[data-empty] { padding-bottom: 66px; }
.sk-paper > .sk-blank { padding: 20px 12px; }
.sk-paper { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--card); box-shadow: var(--ring); }
.sk-paper.row { flex-direction: row; align-items: center; gap: 12px; }
.sk-paper.flush { padding: 0; gap: 0; }
.sk-paper p { margin: 0; }
.sk-paper-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
@media (max-width: 720px) {
.sk-view { padding-top: 112px; }
.sk-view-scroll, .sk-sub { padding-left: 14px; padding-right: 14px; }
}
.sk-sub { min-height: 46px; padding: 4px 20px 10px; gap: 8px; }
.sk-sub select { height: 32px; border-radius: 16px; }
.sk-sub > .btn { height: 32px; border-radius: 16px; }
.sk-sub.sk-head { min-height: 52px; padding: 6px 20px 8px; gap: 10px; flex-wrap: nowrap; }
.sk-head-tile { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink); }
.sk-head-tile svg { width: 16px; height: 16px; }
.sk-head-who { flex: 0 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 8px; overflow: hidden; white-space: nowrap; }
.sk-head-who > b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font: 600 15px/1.25 var(--sans); }
.sk-head-who > b.mono { font: 600 14px/1.25 var(--mono); }
.sk-head-who > b a { color: var(--teal-ink); text-decoration: none; }
.sk-head-who > b a:hover { text-decoration: underline; }
.sk-head-meta { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font: 13px/1.25 var(--sans); }
.sk-head-meta .mono { color: var(--ink-2); font: 12px/1.25 var(--mono); }
.sk-head-fact { flex: none; color: var(--muted); font: 12px/1 var(--sans); white-space: nowrap; }
.sk-head-acts { flex: none; display: flex; align-items: center; gap: 6px; }
.sk-head-acts .btn, .sk-head-acts select { height: 34px; border-radius: 17px; }
.sk-head-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.sk-head-acts .btn svg { width: 14px; height: 14px; }
.sk-head-acts .btn.danger { color: var(--bad); }
.sk-view { padding-top: var(--d-pane-top); }
.sk-view[data-empty] { padding-bottom: var(--d-pane-top); }
.sk-sub, .sk-sub.sk-head { min-height: var(--d-head); padding: var(--d-head-y) var(--d-head-x) calc(var(--d-head-y) + 2px); gap: var(--d-head-gap); }
.sk-head-tile { width: var(--d-tile); height: var(--d-tile); }
.sk-head-tile svg { width: calc(var(--d-tile) / 2); height: calc(var(--d-tile) / 2); }
.sk-head-who > b { font-size: var(--d-title); }
.sk-head-who > b.mono { font-size: calc(var(--d-title) - 1px); }
.sk-head-meta { font-size: var(--d-meta); }
.sk-head-acts { gap: calc(var(--d-head-gap) - 4px); }
.sk-head-acts .btn, .sk-head-acts select, .sk-sub > .btn, .sk-sub select { height: var(--d-ctl); border-radius: calc(var(--d-ctl) / 2); }
/* a segment in a panel head is the head's control height */
.sk-sub, .sk-head { --sk-seg-place-h: var(--d-ctl); }
.sk-view-scroll { padding: 4px var(--d-scroll-x) var(--d-scroll-x); gap: var(--d-gap); }
.sk-paper { padding: var(--d-card); gap: calc(var(--d-gap) - 2px); border-radius: var(--d-radius); }
@media (max-width: 720px) {
body[data-phone] .sk-view { padding-top: 64px; }
body[data-phone] .sk-head { flex-wrap: wrap; row-gap: 8px; }
body[data-phone] .sk-head .sk-head-who { flex: 1 1 140px; min-width: 0; }
body[data-phone] .sk-head .sk-head-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-phone] .sk-head .sk-head-fact { display: none; }
body[data-phone] .sk-head .sk-head-who { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
body[data-phone] .sk-head .sk-head-who > * { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-phone] .sk-sub { flex-wrap: wrap; row-gap: 8px; }
body[data-phone] .sk-head-acts, body[data-phone] .sk-sub > div:not(.st-seg) { flex-wrap: wrap; min-width: 0; max-width: 100%; }
/* a segment in a head row keeps one line and scrolls sideways rather than wrapping inside its ground */
body[data-phone] .sk-sub > .st-seg { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
body[data-phone] .sk-head-acts input, body[data-phone] .sk-sub input { flex: 1 1 110px; min-width: 0; width: auto; }
}
@media (max-width: 720px) {
body[data-phone] .sk-view { padding-top: calc(var(--ph-ctl) + 20px); }
}
/* a phone: while the floating pills row shows (body[data-fl-pills]), a panel's last card scrolls clear of it */
body[data-phone][data-fl-pills] .sk-view-scroll { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }

/* a panel in the kit's tiled panes (tiledPanes): it fills its pane, the head row clear of the floating bar */
.sk-pane-body > .sk-view { box-sizing: border-box; height: 100%; }

/* a panel head's status (paneHead's tag) */
.sk-head > .sk-tag { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--soft); color: var(--ink-2); font: 500 12px/1 var(--sans); white-space: nowrap; }
.sk-head > .sk-tag .sk-dot { flex-shrink: 0; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: none; animation: none; }
.sk-head > .sk-tag.good { background: color-mix(in srgb, var(--teal) 20%, transparent); color: var(--teal-ink); }
.sk-head > .sk-tag.bad { background: var(--bad-soft); color: var(--bad); }
.sk-head > .sk-tag.warn { background: var(--warn-soft); color: var(--warn-ink); }
.sk-head > .sk-tag.wait { background: var(--sky); color: var(--info, var(--ink)); }

/* ---- the kit's comments (<sk-comments>), the comment tool's composer and presence in the studio's sans: mono stays
   for kickers, codes and hashes only (STYLE.md). The composer (.sk-ct-pop) is a popover on <body>, not inside the tool. ---- */
sk-comments .sk-c-main { font: 400 13px/1.45 var(--sans); }
sk-comments .sk-c-head { font: 400 12px/1.5 var(--sans); color: var(--muted); }
sk-comments .sk-c-head b { font: 600 13px/1.5 var(--sans); color: var(--ink); }
sk-comments .sk-c-status { font: 500 12px/1.5 var(--sans); letter-spacing: 0; text-transform: none; }
sk-comments .sk-c-reply { font-size: 13px; }
sk-comments .sk-c-reply .who { font: 600 12px/1.5 var(--sans); color: var(--muted); }
sk-comments .sk-c-hint, .sk-ct-hint { font: 400 12px/1.4 var(--sans); color: var(--muted); }
.sk-ct-title { font: 600 13px/1.35 var(--sans); color: var(--ink); }
.sk-ct-pop { font: 13px/1.45 var(--sans); }
.sk-avatar { font: 600 11px/1 var(--sans); }
.sk-agent-chip { font: 500 12px/1 var(--sans); color: var(--muted); }
.sk-agent-chip.working { color: var(--ink); }
.sk-agent-dot { background: var(--info); box-shadow: 0 0 0 2px var(--bg); }
.sk-cursor span { font: 600 11px/1.3 var(--sans); }

/* ---- board studios (agent4design, v2cut): the canvas fills the window and the studio's controls float over it, in
   glass. Ported from agent4design's a4- parts (2026-11-28); a studio adds only its own (its mark, its canvas).
   .sk-float-bar.left / .right / .centre   a row at the top of the stage, holding .sk-glass groups and pills
   .sk-glass                               a glass capsule of .sk-round buttons, .sk-pill pills, .sk-seg and .sk-glass-sep
   .sk-glass.sk-status                     the status pill, bottom left: a .sk-tag, then .sk-status-note
   .sk-float-panel                         the one floating panel on the right: .sk-float-tabs over .sk-float-pane(.on);
                                           .shut hides it on a desktop, .open lifts it as a sheet on a phone
   .sk-glass.sk-phone-bar, .sk-only-phone  the phone's bottom bar, and what shows only on a phone
   The stage (the bars' positioned parent) is the studio's; sizes follow the density tokens. ---- */
:root { --d-float-panel: 340px; }
.sk-glass { box-sizing: border-box; display: inline-flex; align-items: center; gap: 2px; height: var(--d-bar); padding: 0 calc((var(--d-bar) - var(--d-tab)) / 2); border-radius: calc(var(--d-bar) / 2); background: var(--float); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--lift); pointer-events: auto; }
.sk-glass .sk-round { width: var(--d-tab); height: var(--d-tab); color: var(--ink); }
.sk-glass .sk-round svg { width: 16px; height: 16px; }
.sk-glass .sk-pill { height: var(--d-tab); border-radius: calc(var(--d-tab) / 2); padding: 0 12px; font-size: var(--d-text); }
.sk-glass .sk-pill.ghost { color: var(--ink); }
.sk-glass { --sk-seg-place-h: var(--d-tab); }
.sk-glass .sk-round[aria-pressed="true"] { background: var(--soft); color: var(--ink); }
.sk-glass .sk-round.ring[aria-pressed="true"] { background: var(--card); box-shadow: var(--ring); }
/* a button whose menu is open is ink-solid, as everywhere in the kit (theme.css, over every hover) */
.sk-glass-sep { flex: none; width: 1px; height: 18px; margin: 0 4px; background: var(--rule); }
.sk-float-bar { position: absolute; top: var(--d-top); z-index: 20; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.sk-float-bar > * { pointer-events: auto; }
.sk-float-bar.left { left: var(--d-edge); }
.sk-float-bar.right { right: var(--d-edge); }
.sk-float-bar.centre { left: 50%; transform: translateX(-50%); }
/* the picker pill (what is open, its chevron) and the zoom readout */
.sk-glass-picker { max-width: 260px; gap: 6px; }
.sk-glass-picker span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.sk-glass-picker svg { flex: none; width: 12px; height: 12px; }
.sk-glass-zoom { min-width: 52px; justify-content: center; font-variant-numeric: tabular-nums; }
/* the right bar: who is here, then Share and the account as quiet pills in the glass */
.sk-float-bar.right sk-presence { margin: 0 4px 0 6px; }
.sk-float-bar.right sk-presence:empty { display: none; }
.sk-float-bar.right sk-share-button .sk-pill, .sk-float-bar.right sk-account-button .sk-pill { background: none; box-shadow: none; color: var(--ink); }
.sk-float-bar.right sk-share-button .sk-pill:hover, .sk-float-bar.right sk-account-button .sk-pill:hover { background: var(--soft); }
/* the status pill, bottom left */
.sk-glass.sk-status { position: absolute; left: var(--d-edge); bottom: var(--d-edge); z-index: 20; gap: 8px; padding: 0 14px 0 calc((var(--d-bar) - 22px) / 2); font-size: 12.5px; max-width: calc(100% - 32px); }
.sk-status-note { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the panel: one floating card on the right, under the bars */
.sk-float-panel { position: absolute; z-index: 15; right: var(--d-edge); top: calc(var(--d-top) + var(--d-bar) + 12px); bottom: var(--d-edge); width: var(--d-float-panel); box-sizing: border-box; display: flex; flex-direction: column; border-radius: var(--d-radius); background: var(--card); box-shadow: var(--lift); overflow: hidden; }
.sk-float-panel.shut { display: none; }
.sk-float-panel > .sk-sub { padding-top: calc(var(--d-head-y) + 6px); }
.sk-float-tabs { flex: none; padding: 0 var(--d-edge) 8px; }
/* the panel's tabs are navigation: segment(…, { tabs: true }), the soft style, full width */
.sk-float-tabs .sk-seg { margin: 0; }
.sk-float-pane { flex: 1; min-height: 0; overflow: auto; padding: 4px var(--d-edge) var(--d-edge); display: none; flex-direction: column; gap: 8px; -webkit-user-select: text; user-select: text; }
.sk-float-pane.on { display: flex; }
.sk-float-pane:has(> sk-comments) { padding: 0; }
.sk-float-pane > sk-comments { flex: 1; min-height: 0; }
.sk-float-pane .sk-kick { margin: 8px 4px 0; display: flex; justify-content: space-between; }
.sk-float-pane .sk-kick:first-child { margin-top: 0; }
/* the phone: a glass bar on top (left and right) and one at the bottom; the panel is a sheet over the canvas */
.sk-phone-bar { display: none; }
.sk-only-phone { display: none !important; }
@media (max-width: 720px) {
  .sk-float-bar.centre, .sk-glass.sk-status, .sk-float-bar.right sk-presence, .sk-float-bar.right sk-account-button { display: none !important; }
  .sk-only-phone { display: inline-flex !important; }
  .sk-float-bar { top: calc(env(safe-area-inset-top) + 10px); }
  .sk-float-bar.left { left: 10px; right: auto; max-width: calc(100% - 120px); }
  .sk-float-bar.left .sk-glass { min-width: 0; }
  .sk-float-bar.right { right: 10px; }
  .sk-glass-picker { max-width: 180px; }
  .sk-float-bar.right sk-share-button .sk-pill span { display: none; }
  .sk-float-bar.right sk-share-button .sk-pill { width: var(--d-tab); padding: 0; }
  .sk-phone-bar { position: absolute; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 12px); display: inline-flex; gap: 4px; }
  .sk-float-panel { position: fixed; left: 8px; right: 8px; width: auto; top: 28vh; bottom: calc(env(safe-area-inset-bottom) + 8px); z-index: 30; box-shadow: var(--pop); transform: translateY(110%); transition: transform .2s; }
  .sk-float-panel.shut { display: flex; }
  .sk-float-panel.open { transform: none; }
}
/* a narrow window: the centre bar moves under the boards, beside the status pill */
@media (min-width: 721px) and (max-width: 1180px) {
  .sk-float-bar.centre { top: auto; bottom: var(--d-edge); left: auto; right: calc(var(--d-float-panel) + 2 * var(--d-edge)); transform: none; }
  body:has(.sk-float-panel.shut) .sk-float-bar.centre { right: var(--d-edge); }
}
@media (prefers-reduced-motion: reduce) { .sk-float-panel { transition: none !important; } }
/* in Appy, the Mac app, a board studio's top bars are the window's title bar, as the chat shell's are: Compact sizes, no
   glass, clear of the window buttons. The left bar runs the width of the window on the page's colour (boards scroll under
   it and must not show behind its words) and moves the window; the others stand over it. Not in an embedded page. */
@media (min-width: 721px) {
  html[data-appy]:not([data-embed]) { --sk-appy-strip: max(44px, var(--appy-titlebar-height, 0px)); }
  html[data-appy]:not([data-embed]) .sk-float-bar:is(.left, .right, .centre) { --d-bar: 32px; --d-tab: 26px; --d-ctl: 26px; --d-btn: 26px; --d-text: 12.5px; }
  html[data-appy]:not([data-embed]) .sk-float-bar:is(.left, .right) { top: 0; height: var(--sk-appy-strip); }
  html[data-appy]:not([data-embed]) .sk-float-bar.left { left: 0; right: 0; box-sizing: border-box; padding-left: max(var(--d-edge), var(--appy-window-controls-width, 0px)); background: var(--bg); box-shadow: 0 1px 0 var(--rule); pointer-events: auto; app-region: drag; --app-region: drag; }
  html[data-appy]:not([data-embed]) .sk-float-bar:is(.centre, .right) { app-region: no-drag; --app-region: no-drag; }
  html[data-appy]:not([data-embed]) .sk-float-bar:is(.left, .right) .sk-glass { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-appy]:not([data-embed]) .sk-float-bar:is(.left, .right) :is(.sk-round, .sk-pill):is([aria-expanded="true"], [data-open], .solid) { background: var(--soft); color: var(--ink); box-shadow: none; }
  html[data-appy]:not([data-embed]) .sk-float-panel { top: calc(var(--sk-appy-strip) + var(--d-gap)); }
}
@media (min-width: 1181px) {
  html[data-appy]:not([data-embed]) .sk-float-bar.centre { top: calc((var(--sk-appy-strip) - 32px) / 2); }
  html[data-appy]:not([data-embed]) .sk-float-bar.centre .sk-glass { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Embed mode (embed.ts): a page in a partner's panel (<html data-embed>) shows no chrome of its own; theme.css has the same rule for pages that load /kit/ui.css. */
[data-embed] [data-chrome], [data-embed] :is(sk-account-button, sk-teams-button, sk-viewer-bar) { display: none !important; }

