dsh-islands-ui 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.2 — 2026-11-16
4
+
5
+ ### 修复
6
+
7
+ - 窄栏下 `sidebar.footer.action` 的宽栏插件按钮撑出 48px 轨道:皮肤按宿主的 slot 锚点(`[data-slot="sidebar.footer.action"]`,`display: contents`)把直接访客控件归一化为 36px 方块,文字标签移入可访问树(插件自己的 `title`/`aria-label` 保留),并补齐 hover、`focus-visible`、`aria-pressed`/`aria-expanded` 状态。只作用于槽位的直接访客,插件组件内部的按钮不受影响。
8
+ - 账号行旁的访客入口(移动插件那类)与 36px 账号并排时溢出轨道:行改为纵向排列,访客收成 36px tile 放在账号上方。
9
+ - 轨道脚注的齿轮、更新入口和列表预留不再假设「底部只有账号」:新增 `src/host/foot.js` 实测 `foot-area` 高度并发布 `--isl-foot-height`,三处锚点从它派生;脚注被宿主隐藏时回退到旧几何。1 个、2 个或更多插件按钮都成立。
10
+ - 脚注测量只观察 `data-islands-part` 属性,流式会话 DOM 不再进入观察路径。
11
+
12
+ ### 兼容性
13
+
14
+ - 访客归一化只读宿主契约 `[data-slot="sidebar.footer.action"]`、`settings-trigger-row` 部件和通用元素/ARIA 角色,不含插件包名、类名前缀或专属属性;`docs/host-contracts.md` 记录了共享槽位所有权与访客契约。
15
+ - 未展开控件的 `overflow: clip` 保留;`aria-expanded='true'` 的控件改为 `overflow: visible`,插件在控件内部渲染的弹出层不被裁切。
16
+
3
17
  ## 1.2.1 — 2026-11-16
4
18
 
5
19
  ### 修复
package/client.js CHANGED
@@ -2,9 +2,9 @@
2
2
  * Browser half of the Islands UI skin.
3
3
  *
4
4
  * Publishes the stylesheet, marks the host parts, and registers the skin's own
5
- * chrome. The stylesheet lives in src/*.css, the host bridge in
6
- * src/host/runtime.js, and build.mjs inlines both — the module loader has no
7
- * filesystem access, so the built client.js is self-contained.
5
+ * chrome. The stylesheet lives in src/*.css, the host bridge and the two DOM
6
+ * controllers in src/host/, and build.mjs inlines all of them — the module
7
+ * loader has no filesystem access, so the built client.js is self-contained.
8
8
  */
9
9
  window.__ModuleLoader__.load({
10
10
  id: 'dsh-islands-ui',
@@ -1075,7 +1075,114 @@ function uninstallCaretController() {
1075
1075
  caretForeignScope = null;
1076
1076
  dropCaret();
1077
1077
  }
1078
- const CSS = "/* ---- 00-tokens.css ---- */\n/* ==========================================================================\n Islands UI · 00 tokens\n One source of truth for the skin. Every rule below reads these variables,\n so light/dark, radius, elevation and spacing are changed in one place.\n `--dsw-*` aliases are re-pointed at the Islands scale so shipped components\n inherit the new language without per-component overrides.\n ========================================================================== */\n\nbody[data-islands-ui] {\n /* Canvas: the unified background all islands float on. */\n --isl-canvas: #f7f7f7;\n --isl-canvas-veil: rgba(232, 234, 239, 0.72);\n /* Island surfaces. */\n --isl-surface: #ffffff;\n --isl-surface-muted: #f3f5f8;\n --isl-surface-sunken: #eceef3;\n /* Hairlines: Islands uses tinted, very quiet borders. */\n --isl-border-soft: rgba(17, 24, 39, 0.06);\n --isl-border: rgba(17, 24, 39, 0.09);\n --isl-border-strong: rgba(17, 24, 39, 0.14);\n --isl-hover: rgba(17, 24, 39, 0.055);\n --isl-active: rgba(17, 24, 39, 0.09);\n --isl-accent: #4176e6;\n /* Geometry. */\n --isl-radius-xl: 20px;\n --isl-radius-lg: 16px;\n --isl-radius-md: 12px;\n --isl-radius-sm: 8px;\n --isl-gap: 5px;\n --isl-topbar-height: 40px;\n /* Extra chrome above the app top bar (the Windows title bar). */\n --isl-chrome-top: 0px;\n --isl-rail-collapsed-width: 56px;\n --isl-rail-width: 48px;\n /* Elevation: a hairline ring plus one soft, deep shadow. */\n --isl-shadow-island: none;\n --isl-shadow-float:\n 0 0 0 1px rgba(17, 24, 39, 0.05), 0 10px 24px -10px rgba(17, 24, 39, 0.14),\n 0 28px 64px -32px rgba(17, 24, 39, 0.3);\n\n /* ---- DSH alias layer -------------------------------------------------- */\n --dsw-alias-bg-base: var(--isl-surface);\n --dsw-alias-bg-layer-1: var(--isl-surface);\n --dsw-alias-bg-layer-2: var(--isl-surface);\n --dsw-alias-bg-layer-3: var(--isl-surface-muted);\n --dsw-alias-bg-overlay: var(--isl-surface);\n --dsw-alias-bg-module-platform: var(--isl-surface-muted);\n --dsw-alias-bg-multi-select: var(--isl-surface-muted);\n --dsw-alias-bg-skeleton: rgba(17, 24, 39, 0.06);\n --dsw-specific-sidebar-fill: var(--isl-surface);\n --dsw-specific-input-major: var(--isl-surface);\n --dsw-specific-selector: var(--isl-surface-muted);\n --dsw-specific-tip: var(--isl-surface-muted);\n --dsw-specific-bubble: var(--isl-surface-muted);\n --dsw-specific-bubble-highlight: #eef1f6;\n --dsw-specific-sidebar-nav-item-active: var(--isl-surface-muted);\n --dsw-specific-sidebar-nav-item-active-accent: color-mix(\n in srgb,\n var(--dsw-alias-state-business-primary) 16%,\n transparent\n );\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 90%, transparent);\n --dsw-alias-menu-group-header-fill: color-mix(in srgb, var(--isl-surface-muted) 92%, transparent);\n --dsw-alias-markdown-code-block: var(--isl-surface-muted);\n --dsw-alias-markdown-code-block-banner: var(--isl-surface-muted);\n --dsw-alias-markdown-inline-code: var(--isl-surface-muted);\n --dsw-alias-markdown-tag: var(--isl-surface-muted);\n --dsw-alias-settings-card-fill: color-mix(in srgb, var(--isl-surface-muted) 68%, var(--isl-surface));\n --dsw-alias-settings-card-stroke: var(--isl-border-soft);\n --dsw-alias-border-l1: var(--isl-border-soft);\n --dsw-alias-border-l2: var(--isl-border-soft);\n --dsw-alias-border-l3: var(--isl-border);\n --dsw-alias-border-l4: var(--isl-border-strong);\n --dsw-alias-interactive-bg-hover: var(--isl-hover);\n --dsw-alias-interactive-bg-active: var(--isl-active);\n --dsw-alias-interactive-bg-hover-solid: var(--isl-surface-muted);\n --dsw-alias-button-elevated-fill: var(--isl-surface);\n --dsw-alias-button-floating-fill: var(--isl-surface);\n --dsw-alias-button-floating-hover: var(--isl-surface-muted);\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 8px;\n --dsw-radius-md: 10px;\n --dsw-radius-lg: 14px;\n --dsw-radius-xl: 18px;\n --dsw-radius-panel: 20px;\n --dsw-menu-backdrop-filter: blur(18px) saturate(140%);\n --dsw-mask-blur: blur(3px);\n --dsw-alias-bg-mask-1: rgba(107, 114, 128, 0.3);\n --dsw-alias-bg-mask-2: rgba(107, 114, 128, 0.18);\n\n background-color: var(--isl-canvas) !important;\n}\n\n/* Elevation tokens are declared on `body, body *` by the shipped theme, so the\n override has to be declared on descendants too, not only on body. */\nbody[data-islands-ui] * {\n --dsw-elevation-stroke-color: var(--isl-border);\n --dsw-elevation-stroke: 0 0 0 0.5px var(--isl-border);\n --dsw-elevation-soft:\n 0 0 0 0.5px var(--isl-border), 0 6px 16px -6px rgba(17, 24, 39, 0.1),\n 0 18px 40px -24px rgba(17, 24, 39, 0.24);\n --dsw-elevation-panel:\n 0 0 0 0.5px var(--isl-border), 0 8px 20px -8px rgba(17, 24, 39, 0.12),\n 0 24px 48px -28px rgba(17, 24, 39, 0.24);\n --dsw-elevation-prominent:\n 0 0 0 0.5px var(--isl-border), 0 12px 28px -10px rgba(17, 24, 39, 0.16),\n 0 32px 64px -32px rgba(17, 24, 39, 0.3);\n --dsw-shadow-lv1: 0 2px 4px rgba(17, 24, 39, 0.05);\n --dsw-shadow-lv2: 0 4px 12px rgba(17, 24, 39, 0.06), 0 2px 8px rgba(17, 24, 39, 0.04);\n --dsw-shadow-lv3:\n 0 0 1px rgba(17, 24, 39, 0.2), 0 12px 32px rgba(17, 24, 39, 0.08);\n}\n\n/* ---- Dark --------------------------------------------------------------- */\nbody[data-islands-ui][data-ds-dark-theme] {\n --isl-canvas: #0f1012;\n --isl-canvas-veil: rgba(15, 16, 18, 0.72);\n --isl-surface: #1b1c1f;\n --isl-surface-muted: #232428;\n --isl-surface-sunken: #151619;\n --isl-border-soft: rgba(255, 255, 255, 0.06);\n --isl-border: rgba(255, 255, 255, 0.09);\n --isl-border-strong: rgba(255, 255, 255, 0.16);\n --isl-hover: rgba(255, 255, 255, 0.06);\n --isl-active: rgba(255, 255, 255, 0.1);\n --isl-shadow-island: none;\n --isl-shadow-float:\n 0 0 0 1px rgba(0, 0, 0, 0.55), 0 12px 28px -12px rgba(0, 0, 0, 0.6),\n 0 32px 72px -36px rgba(0, 0, 0, 0.85);\n\n --dsw-alias-bg-skeleton: rgba(255, 255, 255, 0.07);\n --dsw-specific-bubble-highlight: #2a2c31;\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 88%, transparent);\n --dsw-alias-bg-mask-1: rgba(0, 0, 0, 0.55);\n --dsw-alias-bg-mask-2: rgba(0, 0, 0, 0.32);\n}\n\nbody[data-islands-ui][data-ds-dark-theme] * {\n --dsw-elevation-stroke-color: var(--isl-border);\n --dsw-elevation-stroke: 0 0 0 0.5px var(--isl-border);\n --dsw-elevation-soft:\n 0 0 0 0.5px var(--isl-border), 0 8px 20px -8px rgba(0, 0, 0, 0.55),\n 0 20px 44px -24px rgba(0, 0, 0, 0.7);\n --dsw-elevation-panel:\n 0 0 0 0.5px var(--isl-border), 0 10px 24px -10px rgba(0, 0, 0, 0.55),\n 0 28px 56px -30px rgba(0, 0, 0, 0.75);\n --dsw-elevation-prominent:\n 0 0 0 0.5px var(--isl-border), 0 14px 32px -12px rgba(0, 0, 0, 0.6),\n 0 36px 72px -36px rgba(0, 0, 0, 0.85);\n --dsw-shadow-lv1: 0 2px 6px rgba(0, 0, 0, 0.35);\n --dsw-shadow-lv2: 0 6px 16px rgba(0, 0, 0, 0.4);\n --dsw-shadow-lv3: 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 40px rgba(0, 0, 0, 0.45);\n}\n\n/* Windows keeps its native title bar above the app top bar. The title bar is\n the only chrome there: the island top bar is not rendered, so its 40px\n reservation collapses and the islands start directly below the caption. */\nhtml[data-windows-titlebar] body[data-islands-ui] {\n --isl-chrome-top: var(--dsh-windows-titlebar-height, 32px);\n --isl-topbar-height: 0px;\n}\n\n/* User-selected accent: remap the business tokens everywhere. */\nbody[data-islands-ui][data-islands-accent],\nbody[data-islands-ui][data-islands-accent] * {\n --dsw-alias-state-business-primary: var(--isl-accent);\n --dsw-alias-state-business-tertiary: color-mix(in srgb, var(--isl-accent) 16%, transparent);\n}\n\n/* macOS ships a tinted, translucent sidebar. Islands wants an opaque canvas\n instead, so the tint is replaced everywhere it is declared. */\nhtml[data-platform='darwin'] body[data-islands-ui],\nhtml[data-platform='darwin'] body[data-islands-ui][data-ds-dark-theme] {\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 88%, transparent);\n --dsw-alias-menu-group-header-fill: color-mix(in srgb, var(--isl-surface-muted) 94%, transparent);\n}\n\n/* DSH shapes every corner through a global `*` rule\n (`corner-shape: superellipse(1.5)`), which renders a 50% radius as the\n host's iOS-style squircle instead of a circle. The islands keep that\n language, but anything the skin means as a true circle — or as a pill whose\n ends must stay round — opts back to round arcs. Chromium supports\n `corner-shape`; elsewhere the declaration is ignored and the radius alone\n already draws a circle. */\nbody[data-islands-ui] .isl-updateButton,\nbody[data-islands-ui] .isl-updateErrorDot,\nbody[data-islands-ui] .isl-dmx-dot,\nbody[data-islands-ui] .isl-railRipple,\nbody[data-islands-ui] .isl-modelBack,\nbody[data-islands-ui] .isl-effortReset,\nbody[data-islands-ui] .isl-effortDot,\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-thumb,\nbody[data-islands-ui] .isl-switch,\nbody[data-islands-ui] .isl-switchThumb,\nbody[data-islands-ui] .isl-accentSwatch,\nbody[data-islands-ui] .isl-accentCustom {\n corner-shape: round;\n}\n\n/* ---- 10-shell.css ---- */\n/* ==========================================================================\n Islands UI · 10 shell\n The frame becomes a canvas; the three columns become detachable islands.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n /* The ocean is a solid surface, never the desktop showing through vibrancy. */\n background: var(--isl-canvas);\n padding: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap)) var(--isl-gap) var(--isl-gap);\n /* Column gap only: the empty bottom track must not steal an extra row gap,\n so the islands stay symmetric top and bottom. */\n gap: 0 var(--isl-gap);\n}\n\n/* A real bottom panel (terminal, banner) still gets breathing room. */\nbody[data-islands-ui] [data-shell-bottom]:has([data-slot='shell.bottom'] > *) {\n margin-top: var(--isl-gap);\n}\n\n/* The closed right column is a zero-width track, but the grid still reserves a\n gap beside it; pull the centre island over that gap so the canvas margin on\n the right equals the margin on the left. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-rightbar-collapsed] [data-islands-part~=\"center-column\"] {\n margin-right: calc(-1 * var(--isl-gap));\n}\n\n/* Center column: the conversation island. */\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n overflow: hidden;\n}\n\n/* Shipped desktop rules paint the sidebar with a gradient and give the center\n column a left hairline; both are removed so the canvas reads as one plane. */\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n background: var(--isl-canvas);\n}\n\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"]:not([data-sidebar-drawer]) [data-islands-part~=\"sidebar-column\"] {\n background: transparent;\n border-right: 0;\n backdrop-filter: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-column\"] {\n background: transparent;\n border-right: 0;\n}\n\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"center-column\"],\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-left: 1px solid var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"main-panel\"] {\n background: transparent;\n}\n\n/* Right workbench: only while a pane is open does the column render an island. */\nbody[data-islands-ui] [data-rightbar-col] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']) {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n overflow: clip;\n}\n\n/* Drawer mask on narrow windows: Islands keeps the veil light and blurred. */\nbody[data-islands-ui] [data-sidebar-mask] {\n background: var(--dsw-alias-bg-mask-1);\n backdrop-filter: var(--dsw-mask-blur);\n}\n\n/* A fullscreen right pane is still mounted inside the frame's right track and\n positioned with `right: 0`. While that track is zero-width the pane covers\n the window almost by accident; as soon as the track has any width the pane is\n pushed off-screen, so the window shows plain canvas while the toggle still\n reports the pane as open. A fullscreen pane owns the window, so pin it to the\n viewport and stop letting the grid decide where it lands. */\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-panel='fullscreen'][data-sidebar-right-open] {\n position: fixed;\n inset:\n calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap))\n 0\n var(--isl-gap)\n 0;\n width: auto !important;\n height: auto !important;\n max-width: none !important;\n max-height: none !important;\n /* Above the drawer mask (70), the drawer (71) and the shell overlay (72). */\n z-index: 78;\n}\n\n/* The shell overlay layer is where the rail and window top bar live. In\n drawer mode it must paint above the drawer mask (70) and the drawer (71),\n otherwise the persistent rail disappears under the open workspace drawer. */\n@media (width <= 767px) {\n body[data-islands-ui] [data-shell-overlay] {\n z-index: 72;\n }\n}\n\n/* The resize handle is invisible chrome; keep it grabbable but quiet. */\nbody[data-islands-ui] [data-side=\"sidebar\"],\nbody[data-islands-ui] [data-side=\"rightbar\"] {\n width: 10px;\n margin-left: -5px;\n}\n\n/* The shell computes the right handle's inline `left` from the frame's\n border-box width, but its absolute containing block is the padded grid area\n and the panel itself sits inside the right padding. That shifts the handle\n two gaps to the right — wholly inside the right island. Cancel the frame's\n horizontal padding so the strip straddles the right island's left edge\n (covering the whole canvas gap plus 5px of the panel) like the left one. */\nbody[data-islands-ui] [data-side=\"rightbar\"] {\n margin-left: calc(-5px - 2 * var(--isl-gap));\n}\n\n/* Windows title bar keeps its native height; the frame padding already gives\n the rounded content corner room, so only the radius is unified. */\n[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"center-column\"] {\n border-radius: var(--isl-radius-lg);\n}\n\n[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n background: var(--isl-canvas);\n}\n\n/* Collapsed sidebar on macOS drops the center column's left hairline; the\n island keeps its outline regardless. */\n[data-platform='darwin'] body[data-islands-ui] [data-sidebar-collapsed] [data-islands-part~=\"center-column\"] {\n border-left: 1px solid var(--isl-border-soft);\n}\n\n/* ==========================================================================\n Workbench panels (better-sidebar bottom dock + native right sidebar)\n Both must read as independent islands, not as sheets pasted onto the\n conversation island.\n ========================================================================== */\n\n/* The bottom workbench reserves its height on the conversation column, not on\n the inner panel, so the island itself shrinks and a canvas gap opens between\n the two islands. The peer-specific rules live in 60-peers.css. */\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n margin-bottom: var(--dsh-sidebar-height, 0px);\n transition: margin-bottom var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* The native right sidebar keeps its own width preference, which can exceed\n the track the frame grants; clamp it to the track so it never hangs over\n the conversation island. */\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']) {\n box-sizing: border-box;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0;\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] [data-islands-part~=\"center-column\"] {\n transition: none;\n }\n}\n\n/* ==========================================================================\n Independent workspace collapse\n The DSH collapse swaps the whole sidebar render tree for its rail-only\n variant. Instead the expanded rail stays mounted and only the workspace\n column hides, so the left column never re-renders or re-flows.\n ========================================================================== */\n\n/* The width handle keeps its expanded inline position while the workspace is\n collapsed, which would leave an invisible drag target over the conversation.\n The workspace must be expanded to resize it. */\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-side=\"sidebar\"] {\n display: none;\n}\n\n/* The right column must keep its own track while the workspace is collapsed.\n Pin it to 0 only while the right pane is closed; when it opens, use the\n pane's PREFERRED width (published by the client). Reading the current\n column width here deadlocks: it is 0 while closed, so opening the pane\n could never grow the track, and the panel's `width: 100%` clamp would keep\n it at two border pixels. The fallback keeps the pane visible even before\n the width source has been located. */\nbody[data-islands-ui][data-islands-workspace-collapsed]\n [data-islands-part~=\"layout-frame\"]:not(\n :has([data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']))\n ) {\n grid-template-columns:\n var(--isl-rail-collapsed-width) minmax(0, 1fr) 0 !important;\n}\n\nbody[data-islands-ui][data-islands-workspace-collapsed]\n [data-islands-part~=\"layout-frame\"]:has(\n [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen'])\n ) {\n grid-template-columns:\n var(--isl-rail-collapsed-width) minmax(0, 1fr)\n var(--isl-rightbar-w, max(300px, 45vw)) !important;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-islands-animating] {\n transition: grid-template-columns var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* ---- 15-topbar.css ---- */\n/* ==========================================================================\n Islands UI · 15 top bar\n A window-chrome strip above the three islands on platforms that need one.\n It clears the macOS traffic lights and docks the header tools; Windows\n renders neither, using its native caption row and conversation header.\n ========================================================================== */\n\n/* Registered even when the skin is off; the base rule keeps it out of the way. */\n.isl-topbar {\n display: none;\n}\n\nbody[data-islands-ui] .isl-topbar {\n position: fixed;\n inset: var(--isl-chrome-top) 0 auto;\n z-index: 30;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n gap: 6px;\n height: var(--isl-topbar-height);\n /* macOS centers the traffic lights in its 48px window-chrome band; the\n controls follow that center (10 + 14 = 24), not the 40px bar's own. */\n padding: 10px 10px 0 8px;\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n /* The bar itself must never swallow clicks meant for controls that are\n docked over it; only the toggle and the drag handle opt back in. */\n pointer-events: none;\n -webkit-app-region: no-drag;\n user-select: none;\n}\n\n/* Left lead (traffic-light strip) and the centre of the bar are draggable;\n both stop short of the docked controls so clicks keep working. */\n/* The 88px lead exists only for the macOS traffic lights. */\nbody[data-islands-ui] .isl-topbarLead {\n display: none;\n}\n\nhtml[data-platform='darwin'] body[data-islands-ui] .isl-topbar {\n padding-left: 88px;\n}\n\nhtml[data-platform='darwin'] body[data-islands-ui] .isl-topbarLead {\n position: absolute;\n inset: 0 auto 0 0;\n display: block;\n width: 88px;\n pointer-events: auto;\n -webkit-app-region: drag;\n}\n\nbody[data-islands-ui] .isl-topbarDrag {\n flex: 1;\n align-self: stretch;\n min-width: 0;\n margin-right: 250px;\n pointer-events: auto;\n -webkit-app-region: drag;\n}\n\n/* Windows has no island top bar: every control lives in the native caption row\n or the conversation header, so the strip and its 40px reservation are gone. */\nhtml[data-windows-titlebar] body[data-islands-ui] .isl-topbar {\n display: none;\n}\n\nbody[data-islands-ui] .isl-topbarToggle {\n box-sizing: border-box;\n flex: none;\n display: grid;\n place-items: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n pointer-events: auto;\n -webkit-app-region: no-drag;\n}\n\nbody[data-islands-ui] .isl-topbarToggle:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-topbarToggle:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Narrow desktop: the top bar remains the window chrome (drag strip + right\n panel toggle), but the rail's home button owns the workspace drawer. The\n chrome must paint above the drawer mask (70) and the drawer (71). */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-topbar {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-topbarToggle {\n display: none;\n }\n\n body[data-islands-ui] .isl-topbarDrag {\n margin-right: 40px;\n }\n}\n\n/* ---- 16-rail.css ---- */\n/* ==========================================================================\n Islands UI · 16 left rail\n Every registered panel launcher lives directly in the rail. Drag an icon to\n reorder it; right-click the rail to show or hide launchers.\n ========================================================================== */\n\nbody[data-islands-ui] .isl-rail {\n display: none;\n}\n\nbody[data-islands-ui] .isl-rail {\n position: fixed;\n top: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + 10px);\n left: var(--isl-gap);\n z-index: 25;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n width: var(--isl-rail-width);\n max-height: calc(100vh - var(--isl-chrome-top) - var(--isl-topbar-height) - 112px);\n padding: 2px 6px;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-width: none;\n pointer-events: auto;\n user-select: none;\n}\n\nbody[data-islands-ui] .isl-rail::-webkit-scrollbar {\n width: 0;\n height: 0;\n}\n\nbody[data-islands-ui] .isl-railBtn {\n box-sizing: border-box;\n display: grid;\n place-items: center;\n flex: none;\n width: 36px;\n height: 36px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n touch-action: none;\n transition:\n background-color 0.12s var(--ds-ease-in-out),\n color 0.12s var(--ds-ease-in-out),\n opacity 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-railBtn:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\n/* The house is a pure navigation trigger (conversation / workspace drawer),\n not a destination in the panel model. It has no persistent selected state;\n hover keeps the standard rail feedback and a click paints a translucent\n ripple clipped to the rounded tile. */\nbody[data-islands-ui] .isl-railBtn[data-rail-id='workspace'] {\n position: relative;\n overflow: hidden;\n}\n\nbody[data-islands-ui] .isl-railRipple {\n position: absolute;\n display: block;\n border-radius: 50%;\n background: currentColor;\n pointer-events: none;\n transform: translate(-50%, -50%) scale(0.2);\n animation: isl-rail-ripple 560ms cubic-bezier(0.2, 0.6, 0.3, 1) forwards;\n will-change: transform, opacity;\n}\n\n@keyframes isl-rail-ripple {\n 0% {\n transform: translate(-50%, -50%) scale(0.2);\n opacity: 0.2;\n }\n\n 100% {\n transform: translate(-50%, -50%) scale(1);\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] .isl-railRipple {\n animation-duration: 1ms;\n }\n}\n\nbody[data-islands-ui] .isl-railBtn.is-active {\n background: var(--isl-active);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-railBtn:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\nbody[data-islands-ui] .isl-rail.is-dragging,\nbody[data-islands-ui] .isl-rail.is-dragging .isl-railBtn {\n cursor: grabbing;\n}\n\nbody[data-islands-ui] .isl-railBtn.is-dragging {\n background: var(--isl-active);\n opacity: 0.45;\n}\n\n/* Floating copy of the dragged icon; follows the pointer at 90% opacity. */\nbody[data-islands-ui] .isl-railGhost {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1200;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 36px;\n height: 36px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n opacity: 0.9;\n pointer-events: none;\n will-change: transform;\n}\n\nbody[data-islands-ui] .isl-railAdd {\n color: var(--dsw-alias-label-tertiary);\n}\n\nbody[data-islands-ui] .isl-railDivider {\n flex: none;\n width: 24px;\n height: 1px;\n margin: 2px 0;\n background: var(--isl-border-soft);\n}\n\n/* ---- Rail management menu --------------------------------------------- */\nbody[data-islands-ui] .isl-railMenu {\n position: fixed;\n z-index: 35;\n box-sizing: border-box;\n width: 248px;\n max-height: min(60vh, 440px);\n padding: 6px;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-width: thin;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n user-select: none;\n}\n\nbody[data-islands-ui] .isl-railMenuTitle {\n padding: 4px 8px 6px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-railMenuRow {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n min-height: 36px;\n padding: 5px 8px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-railMenuRow:hover,\nbody[data-islands-ui] .isl-railMenuRow.is-current {\n background: var(--isl-hover);\n}\n\nbody[data-islands-ui] .isl-railMenuRow.is-hidden .isl-railMenuIcon,\nbody[data-islands-ui] .isl-railMenuRow.is-hidden .isl-railMenuText {\n opacity: 0.5;\n}\n\nbody[data-islands-ui] .isl-railMenuIcon {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-railMenuText {\n display: flex;\n flex-direction: column;\n flex: 1;\n gap: 1px;\n min-width: 0;\n}\n\nbody[data-islands-ui] .isl-railMenuLabel {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-railMenuSub {\n color: var(--dsw-alias-label-tertiary);\n font-size: 10px;\n line-height: 14px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-railMenuCheck {\n box-sizing: border-box;\n display: grid;\n place-items: center;\n flex: none;\n width: 18px;\n height: 18px;\n border: 1px solid var(--isl-border-soft);\n border-radius: 6px;\n color: transparent;\n}\n\nbody[data-islands-ui] .isl-railMenuCheck.is-on {\n border-color: transparent;\n background: color-mix(in srgb, var(--isl-accent) 14%, transparent);\n color: var(--isl-accent);\n}\n\nbody[data-islands-ui] .isl-railMenuHint {\n margin-top: 4px;\n padding: 6px 8px 2px;\n border-top: 1px solid var(--isl-border-soft);\n color: var(--dsw-alias-label-tertiary);\n font-size: 10px;\n line-height: 14px;\n}\n\nbody[data-islands-ui] .isl-railMenuEmpty {\n padding: 8px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n}\n\n/* Settings gear pinned above the account avatar. */\nbody[data-islands-ui] .isl-railSettings {\n display: none;\n}\n\nbody[data-islands-ui] .isl-railSettings {\n position: fixed;\n left: calc(var(--isl-gap) + (var(--isl-rail-width) - 36px) / 2);\n bottom: 56px;\n z-index: 26;\n display: grid;\n place-items: center;\n}\n\n/* Narrow desktop: the rail is the persistent navigation; the workspace is a\n drawer opened from its home button. Both the rail and its menus must sit\n above the drawer (71) and the drawer mask (70). */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-rail {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-railSettings {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-railMenu {\n z-index: 1100;\n }\n}\n\n/* ---- 17-update.css ---- */\n/* ==========================================================================\n Islands UI · 17 desktop update\n One circular update entry above the settings gear. The skin owns the whole\n surface: the shipped indicator lives in the 36px settings row and overflows\n beside the account avatar, and it does not expose a phase attribute.\n\n The three busy patterns follow the open-source Dot Matrix loaders\n (dotmatrix.zzzzshawn.cloud): dotm-3x3-7, dotm-3x3-16 and dotm-3x3-6.\n ========================================================================== */\n\n/* The native indicator (and its tiny toggle badge) would duplicate the rail\n button. The walker marks both seats, so the rules survive a host rebuild\n without naming a hashed class. */\nbody[data-islands-ui] [data-islands-part~=\"update-indicator\"],\nbody[data-islands-ui] [data-islands-part~=\"update-badge\"] {\n display: none !important;\n}\n\nbody[data-islands-ui] {\n /* The update entry is an accent surface like the send button and the caret:\n it reads the business token, which the skin remaps to the user's accent.\n Deriving the hover shade here keeps the two in step — a separate literal\n would stay brand blue while everything else moved. */\n --isl-update-bg: var(--dsw-alias-state-business-primary);\n --isl-update-bg-hover: color-mix(in srgb, var(--isl-update-bg) 88%, #111214);\n --isl-update-danger: #d93a40;\n}\n\nbody[data-islands-ui][data-ds-dark-theme] {\n --isl-update-bg-hover: color-mix(in srgb, var(--isl-update-bg) 88%, #fff);\n --isl-update-danger: #ff6369;\n}\n\nbody[data-islands-ui] .isl-updateButton {\n position: fixed;\n left: calc(var(--isl-gap) + (var(--isl-rail-width) - 36px) / 2);\n bottom: calc(56px + 36px + 8px);\n z-index: 26;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 36px;\n height: 36px;\n margin: 0;\n padding: 0;\n border: 1px solid transparent;\n border-radius: 50%;\n background: var(--isl-update-bg);\n color: #fff;\n cursor: default;\n box-shadow:\n 0 2px 6px -1px color-mix(in srgb, var(--isl-update-bg) 38%, transparent),\n 0 8px 18px -10px color-mix(in srgb, var(--isl-update-bg) 62%, transparent);\n transition:\n background-color 0.15s var(--ds-ease-in-out),\n box-shadow 0.15s var(--ds-ease-in-out),\n transform 0.15s var(--ds-ease-in-out),\n border-color 0.15s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable {\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable:hover {\n background: var(--isl-update-bg-hover);\n transform: translateY(-1px);\n box-shadow:\n 0 3px 8px -1px color-mix(in srgb, var(--isl-update-bg) 44%, transparent),\n 0 10px 22px -10px color-mix(in srgb, var(--isl-update-bg) 72%, transparent);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable:active {\n transform: translateY(0) scale(0.96);\n}\n\nbody[data-islands-ui] .isl-updateButton:focus-visible {\n outline: 2px solid color-mix(in srgb, var(--isl-update-bg) 40%, transparent);\n outline-offset: 2px;\n}\n\n/* The click guard between pressing the entry and the update panel opening.\n It must not fade the element: `opacity` lightened the surface towards the\n canvas while the coloured shadow stayed visible under it, so the entry read\n as a pale disc floating on a shadow. Keep the surface saturated, drop the\n lift and soften the shadow — and cover the hover state, which is still in\n force while the pointer rests on the button. */\nbody[data-islands-ui] .isl-updateButton.is-pending,\nbody[data-islands-ui] .isl-updateButton.is-pending.is-clickable:hover {\n background: var(--isl-update-bg-hover);\n transform: none;\n cursor: default;\n box-shadow:\n 0 1px 3px -1px color-mix(in srgb, var(--isl-update-bg) 30%, transparent),\n 0 3px 8px -6px color-mix(in srgb, var(--isl-update-bg) 45%, transparent);\n}\n\n/* Busy phases keep the circle but let the matrix carry the state. */\nbody[data-islands-ui] .isl-updateButton[aria-busy='true'] {\n cursor: default;\n}\n\n/* Error: a translucent danger surface, danger stroke, status dot and a retry\n glyph. The dot keeps the state readable without relying on color alone. */\nbody[data-islands-ui] .isl-updateButton.is-error {\n border-color: color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n background: color-mix(in srgb, var(--isl-update-danger) 14%, transparent);\n color: var(--isl-update-danger);\n box-shadow: none;\n}\n\nbody[data-islands-ui] .isl-updateButton.is-error.is-clickable:hover {\n border-color: color-mix(in srgb, var(--isl-update-danger) 72%, transparent);\n background: color-mix(in srgb, var(--isl-update-danger) 22%, transparent);\n box-shadow: 0 2px 8px -4px color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-error:focus-visible {\n outline-color: color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n}\n\n/* Busy phases drop the circle entirely: the mosaic itself is the control,\n tinted with the user's accent so it belongs to the skin rather than to the\n shipped brand pill. */\nbody[data-islands-ui] .isl-updateButton.is-downloading,\nbody[data-islands-ui] .isl-updateButton.is-verifying,\nbody[data-islands-ui] .isl-updateButton.is-installing {\n border-color: transparent;\n background: transparent;\n color: var(--isl-accent);\n box-shadow: none;\n}\n\nbody[data-islands-ui] .isl-updateErrorDot {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--isl-update-danger);\n box-shadow: 0 0 0 2px var(--isl-surface);\n}\n\n/* ---- 3x3 dot matrix ------------------------------------------------------ */\n\nbody[data-islands-ui] .isl-dmx {\n display: grid;\n grid-template-columns: repeat(3, 5px);\n grid-template-rows: repeat(3, 5px);\n gap: 2.5px;\n width: 20px;\n height: 20px;\n}\n\nbody[data-islands-ui] .isl-dmx-dot {\n display: block;\n width: 5px;\n height: 5px;\n border-radius: 50%;\n background: currentColor;\n opacity: 0.14;\n will-change: opacity;\n}\n\n/* Column Flux (dotm-3x3-7): columns pulse left to right, all rows together.\n The three 400ms phases overlap, so at least one column stays lit while the\n busy button has no filled background behind it. */\nbody[data-islands-ui] .isl-dmx-column .isl-dmx-dot {\n animation: isl-dmx-column 1200ms cubic-bezier(0.42, 0, 0.58, 1) infinite;\n animation-delay: calc(var(--dmx-col) * 400ms);\n}\n\n/* Core Echo (dotm-3x3-6): Manhattan rings ripple out from the centre. */\nbody[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot {\n animation: isl-dmx-ripple 1230ms ease-in-out infinite;\n animation-delay: calc(var(--dmx-ring) * 165ms);\n}\n\n/* Smiley Spin (dotm-3x3-16): the pixel glyph rotates in four 180ms phases.\n Each cell is lit for one or two phases; the first wraps across the cycle. */\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot {\n animation-duration: 720ms;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n opacity: 0.12;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='1'] {\n animation-name: isl-dmx-spin-1;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='2'] {\n animation-name: isl-dmx-spin-2;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='wrap'] {\n animation-name: isl-dmx-spin-wrap;\n}\n\n@keyframes isl-dmx-column {\n 0% {\n opacity: 0.14;\n }\n\n 10% {\n opacity: 1;\n }\n\n 40% {\n opacity: 0.14;\n }\n\n 100% {\n opacity: 0.14;\n }\n}\n\n@keyframes isl-dmx-ripple {\n 0%,\n 100% {\n opacity: 0.08;\n }\n\n 34% {\n opacity: 1;\n }\n\n 60% {\n opacity: 0.22;\n }\n}\n\n@keyframes isl-dmx-spin-1 {\n 0%,\n 20% {\n opacity: 0.88;\n }\n\n 25%,\n 100% {\n opacity: 0.12;\n }\n}\n\n@keyframes isl-dmx-spin-2 {\n 0%,\n 45% {\n opacity: 0.88;\n }\n\n 50%,\n 100% {\n opacity: 0.12;\n }\n}\n\n@keyframes isl-dmx-spin-wrap {\n 0%,\n 20% {\n opacity: 0.88;\n }\n\n 25%,\n 70% {\n opacity: 0.12;\n }\n\n 75%,\n 100% {\n opacity: 0.88;\n }\n}\n\n/* Narrow desktop: the rail floats above the workspace drawer. */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-updateButton {\n z-index: 72;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] .isl-updateButton {\n transition: none;\n }\n\n body[data-islands-ui] .isl-dmx-dot {\n animation: none !important;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot {\n opacity: 0.3;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot[data-col='1'] {\n opacity: 0.55;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot[data-col='2'] {\n opacity: 0.88;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot {\n opacity: 0.3;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot[data-ring='1'] {\n opacity: 0.55;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot[data-ring='0'] {\n opacity: 1;\n }\n\n body[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot {\n opacity: 0.12;\n }\n\n body[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-on='1'] {\n opacity: 0.88;\n }\n}\n\n/* ---- Settings showcase --------------------------------------------------- */\n\nbody[data-islands-ui] .isl-updateShowcase {\n margin-top: 18px;\n padding: 16px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--dsw-alias-settings-card-fill);\n}\n\nbody[data-islands-ui] .isl-updateShowcaseHead {\n margin-bottom: 14px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseDesc {\n margin-top: 3px;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseGrid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));\n gap: 14px 8px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseItem {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n min-width: 0;\n text-align: center;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseStage {\n display: grid;\n place-items: center;\n width: 56px;\n height: 56px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--isl-surface);\n}\n\nbody[data-islands-ui] .isl-updateShowcase .isl-updateButton.is-preview {\n position: relative;\n left: auto;\n bottom: auto;\n z-index: auto;\n transform: none;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseLabel {\n color: var(--dsw-alias-label-primary);\n font-size: 12px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-updateShowcasePhase {\n color: var(--dsw-alias-label-tertiary);\n font-family: var(--ds-font-family-code, ui-monospace, SFMono-Regular, Menlo, monospace);\n font-size: 10px;\n line-height: 14px;\n}\n\n/* ---- 20-sidebar.css ---- */\n/* ==========================================================================\n Islands UI · 20 sidebar\n The expanded sidebar is one full-height island: a persistent icon rail on\n the left and the workspace browser on the same surface. The island spans the\n exact same top and bottom edges as the conversation island. Collapsed mode\n keeps the shipped rail untouched.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"] {\n background: transparent;\n}\n\n/* ---- Expanded: chrome rail + workspace island --------------------------- */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) {\n display: grid;\n grid-template-columns: var(--isl-rail-width) minmax(0, 1fr);\n grid-template-rows: var(--isl-gap) auto minmax(0, 1fr) auto;\n column-gap: var(--isl-gap);\n padding: 0;\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n overflow: hidden;\n position: relative;\n isolation: isolate;\n}\n\n/* The workspace browser is the sidebar's only island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])::after {\n content: '';\n position: absolute;\n z-index: -1;\n inset: 0 0 0 calc(var(--isl-rail-width) + var(--isl-gap));\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n pointer-events: none;\n}\n\n/* The top band is a small breathing gap inside the sidebar column. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"sidebar-top-strip\"] {\n grid-area: 1 / 1 / 2 / -1;\n height: 100%;\n margin: 0;\n padding: 0 4px 0 0;\n justify-content: flex-end;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] {\n grid-area: 2 / 1;\n height: 36px;\n margin: 0 0 6px;\n padding: 0;\n justify-content: center;\n overflow: visible;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"brand-button\"] {\n justify-content: center;\n overflow: visible;\n}\n\n/* The brand wordmark and build stamp belong to window chrome, not the rail. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"brand-name\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"local-build-brand\"] {\n display: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"brand-mark\"] {\n width: 28px;\n height: 28px;\n}\n\n/* Two host shapes share this rule set: before 0.2.2-rc.3 the button itself is\n the sidebar grid item; from rc.3 a `newSessionRow` wrapper carries the\n session-action slot and is the grid item. The button keeps its grid-area so\n the older shape still lays out; inside the row the property is inert and the\n row owns the outer margin. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"] {\n grid-area: 2 / 2;\n height: 36px;\n margin: 0 6px 6px;\n padding: 0 8px;\n justify-content: flex-start;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n box-shadow: none;\n color: var(--dsw-alias-label-primary);\n font-weight: 400;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"] {\n grid-area: 2 / 2;\n height: 36px;\n margin: 0 6px 6px;\n padding: 0;\n align-items: center;\n}\n\n/* rc.3: the row owns the outer spacing; the button fills it. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"] [data-islands-part~=\"new-session\"] {\n margin: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-content\"] {\n justify-content: flex-start;\n width: 100%;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"]:hover {\n background: var(--isl-hover);\n}\n\n/* The global panel list becomes the rail's primary navigation. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-list\"] {\n grid-area: 3 / 1;\n align-self: start;\n align-items: center;\n gap: 4px;\n margin: 2px 0 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-row\"] {\n width: 36px;\n height: 36px;\n justify-content: center;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-md);\n background-clip: border-box;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-row\"][data-islands-part~=\"panel-active\"] {\n background: var(--dsw-specific-sidebar-nav-item-active-accent);\n color: var(--dsw-alias-state-business-primary);\n}\n\n/* The label leaves the visual rail but stays in the accessibility tree. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-title\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\n/* ---- Workspace browser: same surface, full height ----------------------- */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"region-area\"] {\n grid-area: 3 / 2 / 5 / 3;\n margin: 0;\n padding: 0 4px 6px;\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"region-area\"] {\n --dsh-session-list-edge-inset: 4px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"section-header\"] {\n padding-inline: 8px;\n margin-right: 0;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n letter-spacing: 0.01em;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"section-label\"] {\n font-weight: 500;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"list\"] {\n padding-bottom: 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"list-fade\"] {\n background: linear-gradient(to bottom, transparent, var(--isl-surface));\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"],\nbody[data-islands-ui] [data-row-key^=\"workspace:\"] {\n border-radius: var(--isl-radius-sm);\n padding-inline: 8px;\n}\n\n/* ---- Rail foot: settings gear ------------------------------------------ */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] {\n grid-area: 4 / 1;\n align-items: center;\n margin-top: 6px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-area\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] {\n width: auto;\n align-items: center;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-row\"] {\n width: auto;\n margin: 4px 0 2px;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"] {\n flex: none;\n width: 36px;\n height: 36px;\n margin: 0;\n padding: 0;\n justify-content: center;\n border-inline: 0;\n border-radius: var(--isl-radius-md);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-label\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"]:hover,\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"][aria-expanded='true'] {\n background: var(--isl-hover);\n}\n\n/* Footer actions contributed next to Settings (account launcher, etc.). */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] button {\n width: 36px;\n height: 36px;\n border-radius: var(--isl-radius-md);\n}\n\n/* ---- Collapsed rail ------------------------------------------------------ */\n/* Collapsing hides the workspace browser only; the rail keeps its own island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"][data-islands-part~=\"sidebar-collapsed\"] {\n /* The rail is chrome, not an island: it sits directly on the ocean. */\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n padding: 8px 10px 6px;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"][data-islands-part~=\"sidebar-collapsed\"] [data-islands-part~=\"sidebar-top-strip\"] {\n height: 36px;\n margin: 0;\n padding: 0;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-collapsed\"] [data-islands-part~=\"new-session\"] {\n border-radius: var(--isl-radius-md);\n}\n\n/* The window top bar / rail own the collapse controls; the in-island toggle\n would duplicate them at every width. Windows is the exception: DSH pins its\n native toggle in the caption row, so there the skin must not hide or restyle\n it — the top bar drops its own copy and leaves the native control alone. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"sidebar-toggle\"] {\n display: none;\n}\n\n@media (min-width: 768px) {\n /* On macOS the shipped frame gives a collapsed sidebar zero width, hiding\n the rail too. Restore one rail-wide track (right panel still closed). */\n [data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-collapsed][data-rightbar-collapsed] {\n grid-template-columns: var(--isl-rail-collapsed-width) minmax(0, 1fr) 0 !important;\n }\n\n /* The rail itself is the expand control; do not reserve header space for the\n floating seat and do not show a second expand button over the island. */\n [data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-collapsed] {\n --dsh-frame-leading-clearance: 0px;\n }\n}\n\n/* The window chrome and the rail own the sidebar controls; the floating seat\n is redundant (and at narrow widths would sit under the traffic lights). */\nbody[data-islands-ui] [data-shell-leading] {\n display: none;\n}\n\n/* ---- Search / section chrome inside the island --------------------------- */\nbody[data-islands-ui] [data-islands-part~=\"search-expanded\"] {\n border-color: var(--isl-border-soft);\n background: var(--isl-surface-muted);\n border-radius: var(--isl-radius-sm);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"search-expanded\"] [data-islands-part~=\"search-button\"]:hover {\n background: transparent;\n}\n\n/* ---- Narrow drawer ------------------------------------------------------- */\n/* Below the top bar's breakpoint the workspace becomes an overlay drawer. It\n starts at the frame's content top (below the top bar and its 5px gap) and\n leaves the window's 5px canvas margin on the left; the workspace card inside\n keeps the right/bottom 5px so the drawer still reads as an island. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"sidebar-column\"] {\n top: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap));\n bottom: 0;\n left: var(--isl-gap);\n background: var(--isl-canvas);\n border-right: 0;\n box-shadow: var(--isl-shadow-float);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"sidebar-root\"]::after {\n inset: 0 var(--isl-gap) var(--isl-gap) calc(var(--isl-rail-width) + var(--isl-gap));\n}\n\n/* The sidebar's grid track is zero in drawer mode, but its column gap remains;\n shift the conversation island right by the persistent rail so the closed\n drawer leaves the rail visible and the island keeps its 5px gap. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"center-column\"] {\n margin-left: var(--isl-rail-width);\n}\n\n/* ---- Account launcher (settings.launcher) --------------------------------\n In this build the sidebar foot is the account menu rather than the bare\n settings gear, so the same rail geometry applies to its trigger. The\n trigger itself is the host's `data-signed-out` button; its label is marked\n by the walker. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"account-root\"] {\n flex: none;\n width: 36px;\n margin-inline: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"account-anchor\"] {\n width: 36px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out][data-signed-out='false']:not([data-collapsed='true']),\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out][data-signed-out='true']:not([data-collapsed='true']) {\n width: 36px;\n height: 36px;\n padding: 0;\n justify-content: center;\n border-inline: 0;\n border-radius: var(--isl-radius-md);\n background-clip: border-box;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-islands-part~=\"account-label\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\n/* ---- Independent workspace collapse ------------------------------------- */\n/* Hide the workspace island only; the rail keeps its expanded-layout DOM and\n position, so nothing in the left column is re-rendered by the toggle. */\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"region-area\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])::after {\n display: none !important;\n}\n\n/* ---- Custom rail replaces the shipped brand + panel icon column ---------- */\n/* Windows is the one platform that keeps the logo row in the tree: DSH's\n fixed caption-row toggle is a child, and `display: none` on the ancestor\n would remove the native button. The row loses its own box below instead. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-list\"] {\n display: none !important;\n}\n\nhtml[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] {\n display: contents;\n}\n\nhtml[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] [data-islands-part~=\"brand-button\"] {\n display: none;\n}\n\n/* ---- Aggregate pinned sessions ------------------------------------------ */\n.isl-pinnedHost {\n display: block;\n flex: none;\n}\n\n.isl-pinned {\n display: none;\n padding: 2px 4px 0;\n}\n\nbody[data-islands-ui] .isl-pinned {\n display: block;\n}\n\n/* Pinned rows stay in place in their workspace groups and are also collected\n in the aggregate block above. The original row keeps a subtle tint. */\nbody[data-islands-ui] [data-islands-part~=\"pin-indicator\"] {\n color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"]:has([data-islands-part~=\"pin-indicator\"]) {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 6%, transparent);\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"]:has([data-islands-part~=\"pin-indicator\"]):hover {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 10%, transparent);\n}\n\n.isl-pinnedHead {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n height: 32px;\n padding: 0 6px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font: inherit;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n text-align: left;\n cursor: pointer;\n}\n\n/* Collapsible header mirrors the quiet workspace section header: colour only. */\n.isl-pinnedHead:hover {\n background: transparent;\n color: var(--dsw-alias-label-primary);\n}\n\n.isl-pinnedChevron {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-tertiary);\n transform: rotate(-90deg);\n transition: transform 0.12s var(--ds-ease-in-out);\n}\n\n.isl-pinned[data-open] .isl-pinnedChevron {\n transform: rotate(0deg);\n}\n\n.isl-pinnedTitle {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.isl-pinnedCount {\n margin-left: auto;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n font-weight: 400;\n}\n\n.isl-pinnedList {\n display: flex;\n flex-direction: column;\n gap: 1px;\n padding: 1px 0 3px;\n}\n\n.isl-pinnedRow {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n height: 32px;\n padding: 0 8px 0 34px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-primary);\n font: inherit;\n font-size: 14px;\n line-height: 20px;\n text-align: left;\n cursor: pointer;\n}\n\n.isl-pinnedRow:hover {\n background: var(--dsw-alias-interactive-bg-hover);\n}\n\n.isl-pinnedName {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n/* Hover marquee: clip the ellipsis, fade both edges as the title crawls. */\n.isl-pinnedRow:hover .isl-pinnedName {\n text-overflow: clip;\n}\n\n.isl-pinnedRow .isl-pinnedName[data-scrolled] {\n mask-image: linear-gradient(90deg, #0000, #000 12px);\n}\n\n.isl-pinnedRow .isl-pinnedName[data-clipped] {\n mask-image: linear-gradient(270deg, #0000, #000 12px);\n}\n\n.isl-pinnedRow .isl-pinnedName[data-scrolled][data-clipped] {\n mask-image: linear-gradient(90deg, #0000, #000 12px calc(100% - 12px), #0000);\n}\n\n.isl-pinnedRow:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n.isl-pinnedPinBtn,\n.isl-pinnedLocate {\n display: none;\n place-items: center;\n flex: none;\n width: 24px;\n height: 24px;\n margin-left: 4px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-xs, 6px);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n transition:\n background-color 0.12s var(--ds-ease-in-out),\n color 0.12s var(--ds-ease-in-out);\n}\n\n.isl-pinnedRow:hover .isl-pinnedPinBtn,\n.isl-pinnedRow:focus-within .isl-pinnedPinBtn,\n.isl-pinnedPinBtn:focus-visible,\n.isl-pinnedRow:hover .isl-pinnedLocate,\n.isl-pinnedRow:focus-within .isl-pinnedLocate,\n.isl-pinnedLocate:focus-visible {\n display: grid;\n}\n\n.isl-pinnedPinBtn:hover,\n.isl-pinnedLocate:hover {\n background: transparent;\n color: var(--dsw-alias-label-primary);\n}\n\n.isl-pinnedPinBtn:focus-visible,\n.isl-pinnedLocate:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Brief highlight on the session the locate action focuses. */\nbody[data-islands-ui] [data-row-key^=\"session:\"].isl-located {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 14%, transparent) !important;\n}\n\n/* ==========================================================================\n Sidebar scroll containers\n Releases from 0.2.2-rc.2 wrap the panel list and workspace browser in\n `scrollRegion > scrollArea`. The parts are only written when those wrappers\n exist, so the same sheet covers the older flat shell without a variant.\n ========================================================================== */\n\n/* The browser column replaces the old direct regionArea grid item. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] {\n grid-area: 3 / 2 / 5 / 3;\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n margin: 0;\n}\n\n/* The shipped grid only made sense inside the full-height shell; the island\n grid wants a plain column so the workspace browser can fill the island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] > [data-islands-part~=\"sidebar-scroll-area\"] {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 0;\n margin: 0;\n overflow: hidden;\n}\n\nbody[data-islands-ui]\n [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])\n > [data-islands-part~=\"sidebar-scroll-region\"]\n > [data-islands-part~=\"sidebar-scroll-area\"]\n > [data-islands-part~=\"region-area\"] {\n flex: 1;\n min-height: 0;\n}\n\n/* The shipped bottom fade reads as a panel edge; the island supplies its own. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] > [data-islands-part~=\"sidebar-scroll-fade\"] {\n display: none;\n}\n\n/* The selected-panel state moved from the row onto the wrapping entry; mirror\n the base active rule for the shipped rail. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"] [data-islands-part~=\"panel-entry-active\"] [data-islands-part~=\"panel-row\"] {\n background: var(--dsw-specific-sidebar-nav-item-active-accent);\n color: var(--dsw-alias-state-business-primary);\n}\n\n/* ---- 30-conversation.css ---- */\n/* ==========================================================================\n Islands UI · 30 conversation & composer\n ========================================================================== */\n\nbody[data-islands-ui] [data-phase] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"conversation-header\"] {\n border-bottom-color: var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"conversation-header-blank\"] {\n border-bottom-color: transparent;\n}\n\nbody[data-islands-ui] [data-conversation-scroll] {\n margin-right: 0;\n}\n\n/* Composer: the one element that should visibly float above the island. */\nbody[data-islands-ui] [data-composer-card] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n box-shadow: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"composer-card-workspace-trigger\"]:after {\n border-radius: var(--dsw-radius-panel);\n color: var(--isl-border-strong);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"composer-notice\"] {\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface-muted);\n}\n\n/* Sticky composer seat fades into the island surface, not into a raw token. */\nbody[data-islands-ui] [data-phase='active'] [data-composer-seat],\nbody[data-islands-ui] [data-islands-part~=\"embedded-body\"][data-content-phase='active'] [data-composer-seat] {\n background: linear-gradient(\n 180deg,\n color-mix(in srgb, var(--isl-surface) 0%, transparent) 0px,\n var(--isl-surface) 36px\n );\n}\n\n/* Hero: a calmer, slightly tighter headline on the open island. */\nbody[data-islands-ui] [data-islands-part~=\"hero-headline\"] {\n letter-spacing: -0.01em;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"hero-workspace\"] {\n border-radius: 999px;\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"hero-workspace\"]:hover {\n background: var(--isl-hover);\n}\n\n/* Tool / turn cards keep their own hierarchy but gain island hairlines. */\nbody[data-islands-ui] [data-turn-trigger] {\n border-color: var(--isl-border-soft);\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] [data-turn-trigger]:hover {\n background: var(--isl-surface-sunken);\n}\n\n/* Header chips and breadcrumbs. */\nbody[data-islands-ui] [data-islands-part~=\"header-crumb\"] {\n border-radius: var(--isl-radius-sm);\n}\n\n/* View tabs sit on the island as a quiet segmented row. */\nbody[data-islands-ui] [data-conversation-tabs] {\n gap: 22px;\n}\n\nbody[data-islands-ui] [data-conversation-tabs] [role=\"tab\"][aria-selected=\"true\"]:after {\n border-radius: 999px;\n height: 2px;\n}\n\n/* ==========================================================================\n Header utilities live in the window bar\n The three trailing controls (session tools, side panel, right panel) leave\n the conversation island and dock at the bar's right edge, vertically aligned\n with the workspace toggle on the left.\n ========================================================================== */\n@media (min-width: 768px) {\n /* Windows leaves these controls in the conversation header: the native\n caption row already exists, so the skin keeps no extra strip to dock\n them into. */\n html:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"header-utilities\"] {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: 41px; /* frame gap 5 + corner 28 + gap 8 */\n z-index: 31;\n height: 28px;\n margin: 0;\n align-items: center;\n }\n\n html:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"header-corner\"] {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: var(--isl-gap);\n z-index: 31;\n height: 28px;\n margin: 0;\n align-items: center;\n }\n}\n\n/* ==========================================================================\n Always-visible right sidebar toggle\n The native header button unmounts while the panel is open and the panel\n carries its own collapse control. On every platform except Windows the top\n bar owns one persistent toggle instead, and closes through the native\n collapse action. Windows keeps DSH's own controls: the header corner opens\n the panel and the panel header closes it.\n ========================================================================== */\n/* Body-portaled (see RightPanelToggle): keep it out of the DOM flow while the\n skin is off, so the base rule cannot leak a raw button into the page. */\n.isl-rightToggle {\n display: none;\n}\n\n/* z-index 900: above the workbench panel host (dsh-better-sidebar: host 25,\n dock 40, float 60, floating window 90) and the app's transient tooltip/\n hovercard layer (100), below menus and dialogs (1000+). The button is\n portaled to <body>, so this value competes with the body-level layers\n directly instead of being trapped in the frame's z-index-20 overlay layer. */\nbody[data-islands-ui] .isl-rightToggle {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: var(--isl-gap);\n z-index: 900;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n pointer-events: auto;\n -webkit-app-region: no-drag;\n}\n\nbody[data-islands-ui] .isl-rightToggle:hover,\nbody[data-islands-ui] .isl-rightToggle[aria-pressed='true'] {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-rightToggle:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Windows has no island top bar, so the portalled copy steps aside and DSH's\n own expand/collapse buttons below are left alone. */\nhtml[data-windows-titlebar] body[data-islands-ui] .isl-rightToggle {\n display: none;\n}\n\n/* Outside Windows the top bar owns open and close; the island's own\n expand/collapse controls would duplicate it. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-sidebar-right-expand] {\n /* Keep the native expand button's box in the layout even though the top\n bar's toggle paints over it. Other header plugins anchor to this\n button's rect (dsh-better-sidebar's blank-session dock fallback does),\n and `display: none` collapses that rect to 0x0, sending them to the\n top-left corner where they collide with the workspace toggle. */\n visibility: hidden !important;\n pointer-events: none !important;\n}\n\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-sidebar-right-toggle] {\n display: none !important;\n}\n\n/* ---- 31-caret.css ---- */\n/* ==========================================================================\n Islands UI · 31 composer caret\n The send circle and the smooth caret of the conversation composer. Both are\n driven by the accent token, so a custom Islands accent reaches them without\n naming a host class: the send button is read through its skin part, and the\n caret through the composer's own `data-composer-*` hooks.\n ========================================================================== */\n\n/* The send circle is the composer's primary action. The stock sheet paints it\n with the info-fill token, which a custom accent does not remap; use the\n accent token so the setting reaches it. The stock hover still applies while\n following the theme; a custom accent derives its own shade in the direction\n the stock token uses for that theme. */\nbody[data-islands-ui] [data-islands-part~=\"composer-primary\"] {\n background-color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui][data-islands-accent] [data-islands-part~=\"composer-primary\"]:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--isl-accent) 86%, #fff);\n}\n\nbody[data-islands-ui][data-islands-accent][data-ds-dark-theme] [data-islands-part~=\"composer-primary\"]:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--isl-accent) 86%, #000);\n}\n\n/* ---- Caret ---------------------------------------------------------------\n The caret always follows the theme accent: a custom Islands accent remaps\n `--dsw-alias-state-business-primary`, so both the native caret and the\n smooth overlay below read the same token. */\n\nbody[data-islands-ui] [data-composer-input] {\n caret-color: var(--dsw-alias-state-business-primary);\n}\n\n/* Smooth caret: while the overlay is painting a composer, that composer's\n native caret is hidden. Every fallback state (IME composition, no\n measurement, a non-collapsed selection) removes the marker first, so the\n native caret is never lost. A selected command chip suppresses the caret\n entirely, as in the stock composer. */\nbody[data-islands-ui][data-islands-smooth-caret] [data-composer-input][data-islands-caret-active] {\n caret-color: transparent;\n}\n\nbody[data-islands-ui][data-islands-smooth-caret] [data-composer-input][data-composer-composing]:not([data-composer-chip-selected]) {\n caret-color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui] [data-composer-input][data-composer-chip-selected] {\n caret-color: transparent;\n}\n\n/* The overlay is a sibling of the contenteditable inside its positioned\n wrapper, so it scrolls and clips with the draft instead of floating over\n the island. 2px is a deliberate accent treatment at the composer's 14px\n type size (the native caret is 1px); height matches the text glyph box. */\n.isl-caret {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n display: block;\n width: 2px;\n border-radius: 1px;\n background: var(--dsw-alias-state-business-primary, var(--isl-accent, #4176e6));\n opacity: 0;\n pointer-events: none;\n will-change: transform;\n transition: transform 150ms cubic-bezier(0.2, 0.7, 0.2, 1);\n}\n\n.isl-caret.is-jump {\n transition: none;\n}\n\n.isl-caret.is-on {\n opacity: 1;\n animation: isl-caret-blink 1.06s step-end infinite;\n}\n\n/* Keep the caret solid while it is moving; the blink resumes after a short\n idle, like a native caret. */\n.isl-caret.is-typing {\n animation: none;\n opacity: 1;\n}\n\n@keyframes isl-caret-blink {\n 0%,\n 49% {\n opacity: 1;\n }\n\n 50%,\n 100% {\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-caret,\n .isl-caret.is-jump {\n transition: none;\n }\n}\n\n/* ---- 40-settings.css ---- */\n/* ==========================================================================\n Islands UI · 40 settings (and shared dialog surfaces)\n The settings window is an island; its navigation is a recessed island.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"settings-overlay\"] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-mask\"] {\n background: var(--dsw-alias-bg-mask-1);\n backdrop-filter: var(--dsw-mask-blur);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-panel\"] {\n width: 860px;\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: 24px;\n box-shadow: var(--isl-shadow-float);\n padding: 10px;\n gap: 8px;\n grid-template-columns: 188px minmax(0, 1fr);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-title\"] {\n padding: 8px 8px 6px;\n font-size: 15px;\n font-weight: 600;\n letter-spacing: -0.01em;\n}\n\n/* The navigation mirrors the workspace list: no recessed panel, quiet rows. */\nbody[data-islands-ui] [data-islands-part~=\"settings-nav\"] {\n padding: 4px;\n background: transparent;\n border: 0;\n border-radius: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-list\"] {\n gap: 2px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"] {\n height: 32px;\n padding: 6px 8px;\n border-radius: var(--isl-radius-sm);\n color: var(--dsw-alias-label-secondary);\n font-size: 13px;\n line-height: 18px;\n gap: 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"]:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"][data-islands-part~=\"settings-nav-active\"] {\n background: var(--isl-active);\n color: var(--dsw-alias-label-primary);\n font-weight: 500;\n box-shadow: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-icon\"] {\n width: 16px;\n height: 16px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-icon\"] svg {\n width: 100%;\n height: 100%;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-header\"] {\n height: 48px;\n padding: 6px 6px 0 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-options\"] {\n padding: 0 8px 16px;\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-close\"] {\n border-radius: var(--isl-radius-sm);\n}\n\n/* Cards and sections inside settings pages keep the host's own geometry and\n use the skin's card tokens (00-tokens). They are deliberately not matched by\n local class name: the plugin settings pages also ship `.card`/`.section`,\n and a broad match restyles their internals. */\n\n/* The general-page rows keep their separators but at island quietness. */\nbody[data-islands-ui] [data-slot='settings.general.item'] > * {\n border-bottom-color: var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-slot='settings.general.item']:last-child > * {\n border-bottom: 0;\n}\n\n/* Dialogs opened from settings (confirmations, pickers). */\nbody[data-islands-ui] [role='dialog'] {\n border-radius: var(--isl-radius-xl);\n}\n\n/* Account page cards. */\nbody[data-islands-ui] [data-islands-part~=\"account-balance-card\"] {\n border-radius: var(--isl-radius-lg);\n border: 1px solid var(--isl-border-soft);\n background: var(--isl-surface);\n}\n\n/* ---- 45-model-picker.css ---- */\n/* ==========================================================================\n Islands UI · 45 composer model picker\n Trigger chip + model list + reasoning slider, in the Islands language.\n ========================================================================== */\n\nbody[data-islands-ui] .isl-model {\n position: relative;\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\nbody[data-islands-ui] .isl-modelTrigger {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n max-width: 260px;\n height: 28px;\n padding: 0 8px;\n border: 1px solid transparent;\n border-radius: 999px;\n background: var(--isl-surface-muted);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n cursor: pointer;\n transition: background-color 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-modelTrigger:hover:not(:disabled) {\n background: var(--isl-surface-sunken);\n}\n\nbody[data-islands-ui] .isl-modelTrigger:disabled {\n opacity: 0.55;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-modelTrigger:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: 1px;\n}\n\nbody[data-islands-ui] .isl-modelIcon {\n display: var(--dsh-composer-model-icon-display, none);\n flex: none;\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-modelName {\n display: var(--dsh-composer-model-text-display, inline);\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelEffort {\n display: var(--dsh-composer-model-text-display, inline);\n flex-shrink: 1000;\n min-width: 0;\n color: var(--dsw-alias-label-caption);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelChevron {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-caption);\n transition: transform 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-modelChevron.is-open {\n transform: rotate(180deg);\n}\n\n/* ---- Menu ---------------------------------------------------------------- */\nbody[data-islands-ui] .isl-modelMenu {\n position: fixed;\n z-index: 1100;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n max-height: min(460px, calc(100vh - 24px));\n padding: 6px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n overflow-y: auto;\n --dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l2);\n --dsh-scrollbar-thumb-hover: var(--dsw-alias-scrollbar-hover-l2);\n}\n\nbody[data-islands-ui] .isl-modelPaneHead {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 0 4px 6px;\n}\n\nbody[data-islands-ui] .isl-modelMenuTitle {\n padding: 2px 4px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n line-height: 18px;\n}\n\nbody[data-islands-ui] .isl-modelBack {\n display: grid;\n place-items: center;\n flex: none;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-modelBack:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-modelBackIcon {\n display: inline-flex;\n transform: rotate(90deg);\n}\n\nbody[data-islands-ui] .isl-modelGroups {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\nbody[data-islands-ui] .isl-modelGroup + .isl-modelGroup {\n margin-top: 6px;\n}\n\nbody[data-islands-ui] .isl-modelGroupName {\n padding: 6px 8px 2px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-modelOption {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n min-height: 34px;\n padding: 6px 8px;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-modelOption:hover {\n background: var(--isl-hover);\n}\n\nbody[data-islands-ui] .isl-modelOption.is-selected {\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] .isl-modelOptionName {\n flex: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelCheck {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-modelEmpty {\n padding: 10px 8px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n}\n\n/* ---- Reasoning effort ---------------------------------------------------- */\nbody[data-islands-ui] .isl-effortPopup {\n position: relative;\n padding: 9px 10px 8px;\n text-align: center;\n}\n\nbody[data-islands-ui] .isl-effortReset {\n position: absolute;\n top: 5px;\n right: 5px;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortReset:hover:not(:disabled) {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-effortReset:disabled {\n opacity: 0.4;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-effortName {\n color: var(--dsw-alias-state-business-primary);\n font-size: 18px;\n line-height: 24px;\n font-weight: 600;\n letter-spacing: -0.01em;\n}\n\nbody[data-islands-ui] .isl-effortModel {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n max-width: 100%;\n margin-top: 1px;\n padding: 1px 6px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 18px;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortModel:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-effortModelName {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-effortModelChevron {\n display: inline-flex;\n flex: none;\n color: inherit;\n transform: rotate(-90deg);\n}\n\nbody[data-islands-ui] .isl-effortSliderWrap {\n position: relative;\n margin: 7px 2px 0;\n}\n\nbody[data-islands-ui] .isl-effortSlider {\n -webkit-appearance: none;\n appearance: none;\n display: block;\n width: 100%;\n height: 24px;\n margin: 0;\n padding: 0;\n background: transparent;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-runnable-track {\n height: 20px;\n border-radius: 999px;\n background: linear-gradient(\n 90deg,\n var(--dsw-alias-state-business-primary) 0\n calc(12px + (100% - 24px) * var(--isl-ratio, 0)),\n var(--isl-surface-sunken) calc(12px + (100% - 24px) * var(--isl-ratio, 0)) 100%\n );\n}\n\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n margin-top: -2px;\n border: 0;\n border-radius: 50%;\n background: #fff;\n box-shadow:\n 0 1px 4px rgba(17, 24, 39, 0.22),\n 0 0 0 0.5px rgba(17, 24, 39, 0.06);\n}\n\nbody[data-islands-ui] .isl-effortSlider:focus-visible {\n outline: none;\n}\n\nbody[data-islands-ui] .isl-effortSlider:focus-visible::-webkit-slider-thumb {\n box-shadow:\n 0 0 0 3px color-mix(in srgb, var(--dsw-alias-state-business-primary) 26%, transparent),\n 0 1px 4px rgba(17, 24, 39, 0.22);\n}\n\nbody[data-islands-ui] .isl-effortDots {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 12px;\n pointer-events: none;\n}\n\nbody[data-islands-ui] .isl-effortDot {\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background: var(--isl-border-strong);\n}\n\nbody[data-islands-ui] .isl-effortDot.is-filled {\n background: rgba(255, 255, 255, 0.55);\n}\n\nbody[data-islands-ui] .isl-modelError {\n margin: 8px 8px 2px;\n padding: 6px 8px;\n border-radius: var(--isl-radius-sm);\n background: var(--dsw-alias-interactive-bg-hover-danger);\n color: var(--dsw-alias-state-error-primary);\n font-size: 11px;\n line-height: 16px;\n}\n\n/* ---- 50-components.css ---- */\n/* ==========================================================================\n Islands UI · 50 shared components\n Small, reusable pieces used by the skin's own surfaces. All values come from\n the token layer, so nothing here is page-specific.\n ========================================================================== */\n\n/* ---- Preference row (rendered into settings.general.item) ---------------- */\nbody[data-islands-ui] .isl-prefRow,\n.isl-prefRow {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n padding: 16px 0;\n border-bottom: 0.5px solid var(--dsw-alias-border-l2);\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n line-height: 20px;\n}\n\nbody[data-islands-ui] .isl-prefRow:last-child,\n.isl-prefRow:last-child {\n border-bottom: 0;\n}\n\n.isl-prefText {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.isl-prefTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n line-height: 20px;\n}\n\n.isl-prefDesc {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\n/* Inline compatibility hint on a preference row (never a global notice). */\n.isl-prefWarn {\n margin-top: 2px;\n color: #a86b00;\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-ds-dark-theme] .isl-prefWarn {\n color: #f0c274;\n}\n\n/* ---- Switch -------------------------------------------------------------- */\n.isl-switch {\n position: relative;\n flex: none;\n width: 38px;\n height: 22px;\n padding: 0;\n border: 0;\n border-radius: 999px;\n cursor: pointer;\n background: var(--dsw-alias-bg-layer-3);\n box-shadow: inset 0 0 0 1px var(--dsw-alias-border-l2);\n transition: background-color 0.15s var(--ds-ease-in-out);\n}\n\n.isl-switch[aria-checked='true'] {\n background: var(--dsw-alias-state-business-primary);\n box-shadow: none;\n}\n\n.isl-switch:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: 2px;\n}\n\n.isl-switchThumb {\n position: absolute;\n top: 3px;\n left: 3px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: #fff;\n box-shadow: 0 1px 2px rgba(17, 24, 39, 0.25);\n transition: transform 0.15s var(--ds-ease-in-out);\n}\n\n.isl-switch[aria-checked='true'] .isl-switchThumb {\n transform: translateX(16px);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-switch,\n .isl-switchThumb {\n transition: none;\n }\n}\n\n/* ---- Popover / menu materials ------------------------------------------- */\nbody[data-islands-ui] [data-menu-material] {\n border-radius: var(--isl-radius-lg);\n border: 1px solid var(--isl-border-soft);\n box-shadow: var(--isl-shadow-float);\n}\n\nbody[data-islands-ui] [role='dialog'],\nbody[data-islands-ui] [role='menu'],\nbody[data-islands-ui] [role='listbox'] {\n border-radius: var(--isl-radius-lg);\n}\n\n/* ---- Scrollbars ---------------------------------------------------------- */\nbody[data-islands-ui] ::-webkit-scrollbar-thumb {\n border-radius: 999px;\n}\n\n/* ---- Focus --------------------------------------------------------------- */\nbody[data-islands-ui] :focus-visible {\n outline-offset: 1px;\n}\n\n/* ---- Dedicated settings page ------------------------------------------- */\n.isl-settingsPage {\n box-sizing: border-box;\n max-width: 760px;\n padding: 4px 8px 24px;\n}\n\n.isl-settingsPageHead {\n display: flex;\n align-items: center;\n gap: 10px;\n}\n\n.isl-settingsPageLogo {\n display: inline-flex;\n flex: none;\n}\n\n.isl-settingsPageHeadText {\n min-width: 0;\n}\n\n.isl-settingsPageTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 15px;\n font-weight: 600;\n line-height: 22px;\n}\n\n.isl-settingsPageDesc {\n margin-top: 4px;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-settingsPage .isl-prefRow:first-of-type {\n margin-top: 12px;\n}\n\n/* Detected DSH release + sidebar dialect: diagnosis for support reports. */\n.isl-settingsMeta {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 10px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\n.isl-settingsMetaValue {\n padding: 0 5px;\n border-radius: 4px;\n background: var(--isl-surface-muted);\n color: var(--dsw-alias-label-secondary);\n font-family: var(--dsw-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);\n font-size: 11px;\n}\n\n.isl-settingsMetaSeparator {\n opacity: 0.6;\n}\n\n.isl-accentPicker {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.isl-accentSwatch {\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 50%;\n background-clip: padding-box;\n cursor: pointer;\n transition:\n transform 0.12s var(--ds-ease-in-out),\n box-shadow 0.12s var(--ds-ease-in-out);\n}\n\n.isl-accentSwatch:hover {\n transform: scale(1.08);\n}\n\n.isl-accentSwatch.is-selected {\n box-shadow:\n 0 0 0 2px var(--dsw-alias-bg-base),\n 0 0 0 3.5px var(--dsw-alias-label-primary);\n}\n\n.isl-accentSwatch.is-default {\n background: linear-gradient(135deg, #ffffff 0 47%, #c4c8ce 47% 53%, #1b1c1f 53% 100%);\n}\n\n.isl-accentCustom {\n position: relative;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n border: 1px dashed var(--dsw-alias-border-l3);\n border-radius: 50%;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n}\n\n.isl-accentCustom::before {\n content: '+';\n font-size: 14px;\n line-height: 1;\n}\n\n.isl-accentCustom input {\n position: absolute;\n inset: -4px;\n width: 32px;\n height: 32px;\n opacity: 0;\n cursor: pointer;\n}\n\n\n/* ---- Compatibility notice ------------------------------------------------\n Rendered while the skin is OFF, so nothing here may rely on the `--isl-*`\n scale or on `body[data-islands-ui]`. Every custom property carries a\n fallback and every color comes from the public DSH theme tokens. */\n\n.isl-compatToast {\n position: fixed;\n right: 16px;\n bottom: 16px;\n z-index: 2000;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n gap: 6px;\n width: min(380px, calc(100vw - 32px));\n padding: 12px 10px 12px 14px;\n border: 1px solid rgba(224, 160, 24, 0.5);\n border-left: 3px solid #e0a018;\n border-radius: var(--isl-radius-lg, 16px);\n background: var(--dsw-alias-bg-overlay, #ffffff);\n color: var(--dsw-alias-label-primary, #1f2328);\n box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.35);\n font-size: 13px;\n line-height: 19px;\n cursor: pointer;\n opacity: 0;\n transform: translateY(10px);\n transition:\n opacity 0.16s ease,\n transform 0.16s ease;\n}\n\n.isl-compatToast.is-visible {\n opacity: 1;\n transform: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-compatToast {\n transition: none;\n }\n}\n\n.isl-compatToastBody {\n flex: 1;\n min-width: 0;\n}\n\n.isl-compatToastTitle {\n font-weight: 600;\n}\n\n.isl-compatToastText {\n margin-top: 2px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-compatToastAction {\n margin-top: 6px;\n color: #a86b00;\n font-size: 12px;\n font-weight: 600;\n}\n\n.isl-compatToastClose {\n flex: none;\n width: 22px;\n height: 22px;\n padding: 0;\n border: 0;\n border-radius: 6px;\n background: transparent;\n color: var(--dsw-alias-label-tertiary, #737a82);\n font-size: 16px;\n line-height: 1;\n cursor: pointer;\n}\n\n.isl-compatToastClose:hover {\n background: var(--dsw-alias-interactive-bg-hover, rgba(17, 24, 39, 0.06));\n color: var(--dsw-alias-label-primary, #1f2328);\n}\n\n/* The settings-page warning bar. */\n.isl-compatBanner {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n margin: 12px 0 4px;\n padding: 12px 14px;\n border: 1px solid rgba(224, 160, 24, 0.45);\n border-radius: var(--isl-radius-lg, 16px);\n background: rgba(240, 180, 41, 0.14);\n background: color-mix(in srgb, #f0b429 14%, transparent);\n color: var(--dsw-alias-label-primary, #1f2328);\n font-size: 13px;\n line-height: 20px;\n}\n\n.isl-compatBannerIcon {\n flex: none;\n display: inline-flex;\n margin-top: 1px;\n color: #b47400;\n}\n\n.isl-compatBannerText {\n flex: 1;\n min-width: 0;\n}\n\n.isl-compatBannerTitle {\n font-weight: 600;\n}\n\n.isl-compatBannerBody,\n.isl-compatBannerHint {\n margin-top: 2px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-compatBannerHint {\n margin-top: 6px;\n}\n\n.isl-compatBannerList {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n margin-top: 6px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n}\n\n.isl-compatAnchor {\n padding: 0 4px;\n border-radius: 4px;\n background: rgba(17, 24, 39, 0.06);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 11px;\n}\n\n.isl-compatBannerAction {\n flex: none;\n align-self: flex-start;\n padding: 5px 10px;\n border: 1px solid rgba(224, 160, 24, 0.5);\n border-radius: 8px;\n background: transparent;\n color: #8a5a00;\n font: inherit;\n font-size: 12px;\n cursor: pointer;\n}\n\n.isl-compatBannerAction:hover {\n background: rgba(240, 180, 41, 0.18);\n}\n\n.isl-compatForced {\n margin: 8px 0 0;\n color: var(--dsw-alias-label-tertiary, #737a82);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-switch:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n/* The notice renders while the skin is off, so darkness is read straight from\n the host theme attribute its own stylesheet uses. */\nbody[data-ds-dark-theme] .isl-compatBannerIcon {\n color: #e8b451;\n}\n\nbody[data-ds-dark-theme] .isl-compatBannerAction {\n border-color: rgba(240, 180, 41, 0.45);\n color: #f2c879;\n}\n\nbody[data-ds-dark-theme] .isl-compatBannerAction:hover {\n background: rgba(240, 180, 41, 0.16);\n}\n\nbody[data-ds-dark-theme] .isl-compatAnchor {\n background: rgba(255, 255, 255, 0.08);\n}\n\nbody[data-ds-dark-theme] .isl-compatToastAction {\n color: #f0c274;\n}\n\n/* ---- 60-peers.css ---- */\n/* ==========================================================================\n Islands UI · 60 peer adapters\n Rules for plugins that mount their own surfaces inside the frame. These are\n not host contracts: each peer owns the attributes and class names below, and\n the core stylesheets never read them. The CSS gate allows [class*=...] only\n in this file; a peer that renames its internals degrades these rules alone.\n ========================================================================== */\n\n/* dsh-better-sidebar: the bottom workbench reserves its height on the\n conversation column, not on the inner panel. `data-dsh-center-col` and\n `--dsh-sidebar-height` are the peer's own marks. */\nbody[data-islands-ui] #root [data-dsh-center-col] {\n margin-bottom: 0;\n}\n\nbody[data-islands-ui]:has([data-dsh-bottom-panel]:not([class*='Hidden'])) [data-islands-part~=\"center-column\"] {\n /* one gap above the panel and one below it */\n margin-bottom: calc(var(--dsh-sidebar-height, 0px) + var(--isl-gap));\n}\n\nbody[data-islands-ui] [data-dsh-bottom-panel] {\n box-sizing: border-box;\n /* Align the panel with the conversation island edges and let the frame\n padding provide the bottom gap, so every island shares one gap width. */\n margin: 0;\n bottom: var(--isl-gap);\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: none;\n /* The rounded island clips its content, but NOT the height-drag strip: the\n strip must reach into the canvas gap above the panel to be reachable\n there. Clip the body instead (below), so the strip can overhang. */\n overflow: visible;\n}\n\n/* Keep the island's rounded content edge with the panel's own clipping gone:\n the body carries the radius, while the absolute resize strip and the close\n control stay outside this clip. */\nbody[data-islands-ui] [data-dsh-bottom-panel] > [class*='panelBody'] {\n overflow: clip;\n border-radius: calc(var(--isl-radius-lg) - 1px);\n}\n\n/* The peer centers its strip on the panel's top border (`top: -4px;\n height: 8px`), which was right before the skin opened a canvas gap between\n the conversation island and the panel. Anchor the 10px strip to that gap\n instead: 5px above the border box top (the whole gap) and 5px inside the\n panel, matching the side handles' straddle. `top` is relative to the panel's\n padding box, hence the extra 1px border compensation. */\nbody[data-islands-ui] [data-dsh-bottom-panel] > [class*='bottomResize'] {\n top: calc(-1px - var(--isl-gap));\n height: 10px;\n}";
1078
+ /**
1079
+ * Rail foot measurement.
1080
+ *
1081
+ * The skin's rail chrome — the settings gear and the desktop update entry —
1082
+ * is fixed to the viewport, while the host's foot stack grows upward with
1083
+ * whatever `sidebar.footer.action` registrants contribute. Anchoring those
1084
+ * controls with constants assumes the foot is always one account row, so a
1085
+ * contributed button either lands under the gear or pushes the account into
1086
+ * it. This module measures the marked foot seat and publishes its height as
1087
+ * `--isl-foot-height`; the stylesheets derive every anchor from that value,
1088
+ * so one, two or any number of contributed controls stay clear.
1089
+ *
1090
+ * The walker writes the part asynchronously and the sidebar can remount, so
1091
+ * the module watches the part attribute; box changes come from the
1092
+ * ResizeObserver. It publishes on `requestAnimationFrame` (before paint) and
1093
+ * skips identical values, which keeps streaming conversation DOM out of this
1094
+ * path.
1095
+ *
1096
+ * `build.mjs` inlines this file into `client.js` the same way as
1097
+ * `src/host/runtime.js` and `src/host/caret.js`, so it must stay free of
1098
+ * template internals: it may only touch the DOM and the attribute below.
1099
+ */
1100
+
1101
+ /** The walker's marker for the host's sidebar foot seat. */
1102
+ const FOOT_SELECTOR = '[data-islands-part~="foot-area"]';
1103
+ /** The property the stylesheets read, with the bare-account fallback. */
1104
+ const FOOT_HEIGHT_PROPERTY = '--isl-foot-height';
1105
+
1106
+ /**
1107
+ * Start measuring the foot seat.
1108
+ *
1109
+ * @returns {() => void} teardown, which removes the published property.
1110
+ */
1111
+ function installFootMeasure() {
1112
+ if (typeof document === 'undefined' || document.body === null) return () => {};
1113
+
1114
+ const body = document.body;
1115
+ let foot = null;
1116
+ let frame = 0;
1117
+ let published = '';
1118
+ let resize = null;
1119
+
1120
+ const publish = () => {
1121
+ frame = 0;
1122
+ const next = document.querySelector(FOOT_SELECTOR);
1123
+ if (next === null) {
1124
+ if (foot !== null) {
1125
+ resize?.disconnect();
1126
+ foot = null;
1127
+ }
1128
+ if (published !== '') {
1129
+ body.style.removeProperty(FOOT_HEIGHT_PROPERTY);
1130
+ published = '';
1131
+ }
1132
+ return;
1133
+ }
1134
+ if (foot !== next) {
1135
+ foot = next;
1136
+ resize?.disconnect();
1137
+ resize?.observe(foot);
1138
+ }
1139
+ const height = foot.getBoundingClientRect().height;
1140
+ // Windows hides the foot seat when the sidebar collapses. A hidden seat is
1141
+ // not an empty stack: keep the stylesheet fallback instead of anchoring
1142
+ // the gear to the canvas edge.
1143
+ if (height === 0) {
1144
+ if (published !== '') {
1145
+ body.style.removeProperty(FOOT_HEIGHT_PROPERTY);
1146
+ published = '';
1147
+ }
1148
+ return;
1149
+ }
1150
+ const value = `${Math.round(height)}px`;
1151
+ if (value !== published) {
1152
+ body.style.setProperty(FOOT_HEIGHT_PROPERTY, value);
1153
+ published = value;
1154
+ }
1155
+ };
1156
+
1157
+ const schedule = () => {
1158
+ if (frame !== 0) return;
1159
+ frame = window.requestAnimationFrame(publish);
1160
+ };
1161
+
1162
+ if (typeof ResizeObserver === 'function') resize = new ResizeObserver(schedule);
1163
+
1164
+ // A part write means the seat appeared, moved or was replaced. The seat's
1165
+ // own box changes are the ResizeObserver's job, so this observer never sees
1166
+ // streaming conversation DOM.
1167
+ const mutation = new MutationObserver(schedule);
1168
+ mutation.observe(body, {
1169
+ attributes: true,
1170
+ attributeFilter: ['data-islands-part'],
1171
+ subtree: true,
1172
+ });
1173
+ window.addEventListener('resize', schedule);
1174
+
1175
+ publish();
1176
+
1177
+ return () => {
1178
+ if (frame !== 0) window.cancelAnimationFrame(frame);
1179
+ resize?.disconnect();
1180
+ mutation.disconnect();
1181
+ window.removeEventListener('resize', schedule);
1182
+ body.style.removeProperty(FOOT_HEIGHT_PROPERTY);
1183
+ };
1184
+ }
1185
+ const CSS = "/* ---- 00-tokens.css ---- */\n/* ==========================================================================\n Islands UI · 00 tokens\n One source of truth for the skin. Every rule below reads these variables,\n so light/dark, radius, elevation and spacing are changed in one place.\n `--dsw-*` aliases are re-pointed at the Islands scale so shipped components\n inherit the new language without per-component overrides.\n ========================================================================== */\n\nbody[data-islands-ui] {\n /* Canvas: the unified background all islands float on. */\n --isl-canvas: #f7f7f7;\n --isl-canvas-veil: rgba(232, 234, 239, 0.72);\n /* Island surfaces. */\n --isl-surface: #ffffff;\n --isl-surface-muted: #f3f5f8;\n --isl-surface-sunken: #eceef3;\n /* Hairlines: Islands uses tinted, very quiet borders. */\n --isl-border-soft: rgba(17, 24, 39, 0.06);\n --isl-border: rgba(17, 24, 39, 0.09);\n --isl-border-strong: rgba(17, 24, 39, 0.14);\n --isl-hover: rgba(17, 24, 39, 0.055);\n --isl-active: rgba(17, 24, 39, 0.09);\n --isl-accent: #4176e6;\n /* Geometry. */\n --isl-radius-xl: 20px;\n --isl-radius-lg: 16px;\n --isl-radius-md: 12px;\n --isl-radius-sm: 8px;\n --isl-gap: 5px;\n --isl-topbar-height: 40px;\n /* Extra chrome above the app top bar (the Windows title bar). */\n --isl-chrome-top: 0px;\n --isl-rail-collapsed-width: 56px;\n --isl-rail-width: 48px;\n /* Rail foot band: the space between the measured foot stack and the gear,\n and between the gear and the update entry. */\n --isl-foot-gap: 20px;\n --isl-update-gap: 8px;\n /* Elevation: a hairline ring plus one soft, deep shadow. */\n --isl-shadow-island: none;\n --isl-shadow-float:\n 0 0 0 1px rgba(17, 24, 39, 0.05), 0 10px 24px -10px rgba(17, 24, 39, 0.14),\n 0 28px 64px -32px rgba(17, 24, 39, 0.3);\n\n /* ---- DSH alias layer -------------------------------------------------- */\n --dsw-alias-bg-base: var(--isl-surface);\n --dsw-alias-bg-layer-1: var(--isl-surface);\n --dsw-alias-bg-layer-2: var(--isl-surface);\n --dsw-alias-bg-layer-3: var(--isl-surface-muted);\n --dsw-alias-bg-overlay: var(--isl-surface);\n --dsw-alias-bg-module-platform: var(--isl-surface-muted);\n --dsw-alias-bg-multi-select: var(--isl-surface-muted);\n --dsw-alias-bg-skeleton: rgba(17, 24, 39, 0.06);\n --dsw-specific-sidebar-fill: var(--isl-surface);\n --dsw-specific-input-major: var(--isl-surface);\n --dsw-specific-selector: var(--isl-surface-muted);\n --dsw-specific-tip: var(--isl-surface-muted);\n --dsw-specific-bubble: var(--isl-surface-muted);\n --dsw-specific-bubble-highlight: #eef1f6;\n --dsw-specific-sidebar-nav-item-active: var(--isl-surface-muted);\n --dsw-specific-sidebar-nav-item-active-accent: color-mix(\n in srgb,\n var(--dsw-alias-state-business-primary) 16%,\n transparent\n );\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 90%, transparent);\n --dsw-alias-menu-group-header-fill: color-mix(in srgb, var(--isl-surface-muted) 92%, transparent);\n --dsw-alias-markdown-code-block: var(--isl-surface-muted);\n --dsw-alias-markdown-code-block-banner: var(--isl-surface-muted);\n --dsw-alias-markdown-inline-code: var(--isl-surface-muted);\n --dsw-alias-markdown-tag: var(--isl-surface-muted);\n --dsw-alias-settings-card-fill: color-mix(in srgb, var(--isl-surface-muted) 68%, var(--isl-surface));\n --dsw-alias-settings-card-stroke: var(--isl-border-soft);\n --dsw-alias-border-l1: var(--isl-border-soft);\n --dsw-alias-border-l2: var(--isl-border-soft);\n --dsw-alias-border-l3: var(--isl-border);\n --dsw-alias-border-l4: var(--isl-border-strong);\n --dsw-alias-interactive-bg-hover: var(--isl-hover);\n --dsw-alias-interactive-bg-active: var(--isl-active);\n --dsw-alias-interactive-bg-hover-solid: var(--isl-surface-muted);\n --dsw-alias-button-elevated-fill: var(--isl-surface);\n --dsw-alias-button-floating-fill: var(--isl-surface);\n --dsw-alias-button-floating-hover: var(--isl-surface-muted);\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 8px;\n --dsw-radius-md: 10px;\n --dsw-radius-lg: 14px;\n --dsw-radius-xl: 18px;\n --dsw-radius-panel: 20px;\n --dsw-menu-backdrop-filter: blur(18px) saturate(140%);\n --dsw-mask-blur: blur(3px);\n --dsw-alias-bg-mask-1: rgba(107, 114, 128, 0.3);\n --dsw-alias-bg-mask-2: rgba(107, 114, 128, 0.18);\n\n background-color: var(--isl-canvas) !important;\n}\n\n/* Elevation tokens are declared on `body, body *` by the shipped theme, so the\n override has to be declared on descendants too, not only on body. */\nbody[data-islands-ui] * {\n --dsw-elevation-stroke-color: var(--isl-border);\n --dsw-elevation-stroke: 0 0 0 0.5px var(--isl-border);\n --dsw-elevation-soft:\n 0 0 0 0.5px var(--isl-border), 0 6px 16px -6px rgba(17, 24, 39, 0.1),\n 0 18px 40px -24px rgba(17, 24, 39, 0.24);\n --dsw-elevation-panel:\n 0 0 0 0.5px var(--isl-border), 0 8px 20px -8px rgba(17, 24, 39, 0.12),\n 0 24px 48px -28px rgba(17, 24, 39, 0.24);\n --dsw-elevation-prominent:\n 0 0 0 0.5px var(--isl-border), 0 12px 28px -10px rgba(17, 24, 39, 0.16),\n 0 32px 64px -32px rgba(17, 24, 39, 0.3);\n --dsw-shadow-lv1: 0 2px 4px rgba(17, 24, 39, 0.05);\n --dsw-shadow-lv2: 0 4px 12px rgba(17, 24, 39, 0.06), 0 2px 8px rgba(17, 24, 39, 0.04);\n --dsw-shadow-lv3:\n 0 0 1px rgba(17, 24, 39, 0.2), 0 12px 32px rgba(17, 24, 39, 0.08);\n}\n\n/* ---- Dark --------------------------------------------------------------- */\nbody[data-islands-ui][data-ds-dark-theme] {\n --isl-canvas: #0f1012;\n --isl-canvas-veil: rgba(15, 16, 18, 0.72);\n --isl-surface: #1b1c1f;\n --isl-surface-muted: #232428;\n --isl-surface-sunken: #151619;\n --isl-border-soft: rgba(255, 255, 255, 0.06);\n --isl-border: rgba(255, 255, 255, 0.09);\n --isl-border-strong: rgba(255, 255, 255, 0.16);\n --isl-hover: rgba(255, 255, 255, 0.06);\n --isl-active: rgba(255, 255, 255, 0.1);\n --isl-shadow-island: none;\n --isl-shadow-float:\n 0 0 0 1px rgba(0, 0, 0, 0.55), 0 12px 28px -12px rgba(0, 0, 0, 0.6),\n 0 32px 72px -36px rgba(0, 0, 0, 0.85);\n\n --dsw-alias-bg-skeleton: rgba(255, 255, 255, 0.07);\n --dsw-specific-bubble-highlight: #2a2c31;\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 88%, transparent);\n --dsw-alias-bg-mask-1: rgba(0, 0, 0, 0.55);\n --dsw-alias-bg-mask-2: rgba(0, 0, 0, 0.32);\n}\n\nbody[data-islands-ui][data-ds-dark-theme] * {\n --dsw-elevation-stroke-color: var(--isl-border);\n --dsw-elevation-stroke: 0 0 0 0.5px var(--isl-border);\n --dsw-elevation-soft:\n 0 0 0 0.5px var(--isl-border), 0 8px 20px -8px rgba(0, 0, 0, 0.55),\n 0 20px 44px -24px rgba(0, 0, 0, 0.7);\n --dsw-elevation-panel:\n 0 0 0 0.5px var(--isl-border), 0 10px 24px -10px rgba(0, 0, 0, 0.55),\n 0 28px 56px -30px rgba(0, 0, 0, 0.75);\n --dsw-elevation-prominent:\n 0 0 0 0.5px var(--isl-border), 0 14px 32px -12px rgba(0, 0, 0, 0.6),\n 0 36px 72px -36px rgba(0, 0, 0, 0.85);\n --dsw-shadow-lv1: 0 2px 6px rgba(0, 0, 0, 0.35);\n --dsw-shadow-lv2: 0 6px 16px rgba(0, 0, 0, 0.4);\n --dsw-shadow-lv3: 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 40px rgba(0, 0, 0, 0.45);\n}\n\n/* Windows keeps its native title bar above the app top bar. The title bar is\n the only chrome there: the island top bar is not rendered, so its 40px\n reservation collapses and the islands start directly below the caption. */\nhtml[data-windows-titlebar] body[data-islands-ui] {\n --isl-chrome-top: var(--dsh-windows-titlebar-height, 32px);\n --isl-topbar-height: 0px;\n}\n\n/* User-selected accent: remap the business tokens everywhere. */\nbody[data-islands-ui][data-islands-accent],\nbody[data-islands-ui][data-islands-accent] * {\n --dsw-alias-state-business-primary: var(--isl-accent);\n --dsw-alias-state-business-tertiary: color-mix(in srgb, var(--isl-accent) 16%, transparent);\n}\n\n/* macOS ships a tinted, translucent sidebar. Islands wants an opaque canvas\n instead, so the tint is replaced everywhere it is declared. */\nhtml[data-platform='darwin'] body[data-islands-ui],\nhtml[data-platform='darwin'] body[data-islands-ui][data-ds-dark-theme] {\n --dsw-specific-menu: color-mix(in srgb, var(--isl-surface) 88%, transparent);\n --dsw-alias-menu-group-header-fill: color-mix(in srgb, var(--isl-surface-muted) 94%, transparent);\n}\n\n/* DSH shapes every corner through a global `*` rule\n (`corner-shape: superellipse(1.5)`), which renders a 50% radius as the\n host's iOS-style squircle instead of a circle. The islands keep that\n language, but anything the skin means as a true circle — or as a pill whose\n ends must stay round — opts back to round arcs. Chromium supports\n `corner-shape`; elsewhere the declaration is ignored and the radius alone\n already draws a circle. */\nbody[data-islands-ui] .isl-updateButton,\nbody[data-islands-ui] .isl-updateErrorDot,\nbody[data-islands-ui] .isl-dmx-dot,\nbody[data-islands-ui] .isl-railRipple,\nbody[data-islands-ui] .isl-modelBack,\nbody[data-islands-ui] .isl-effortReset,\nbody[data-islands-ui] .isl-effortDot,\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-thumb,\nbody[data-islands-ui] .isl-switch,\nbody[data-islands-ui] .isl-switchThumb,\nbody[data-islands-ui] .isl-accentSwatch,\nbody[data-islands-ui] .isl-accentCustom {\n corner-shape: round;\n}\n\n/* ---- 10-shell.css ---- */\n/* ==========================================================================\n Islands UI · 10 shell\n The frame becomes a canvas; the three columns become detachable islands.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n /* The ocean is a solid surface, never the desktop showing through vibrancy. */\n background: var(--isl-canvas);\n padding: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap)) var(--isl-gap) var(--isl-gap);\n /* Column gap only: the empty bottom track must not steal an extra row gap,\n so the islands stay symmetric top and bottom. */\n gap: 0 var(--isl-gap);\n}\n\n/* A real bottom panel (terminal, banner) still gets breathing room. */\nbody[data-islands-ui] [data-shell-bottom]:has([data-slot='shell.bottom'] > *) {\n margin-top: var(--isl-gap);\n}\n\n/* The closed right column is a zero-width track, but the grid still reserves a\n gap beside it; pull the centre island over that gap so the canvas margin on\n the right equals the margin on the left. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-rightbar-collapsed] [data-islands-part~=\"center-column\"] {\n margin-right: calc(-1 * var(--isl-gap));\n}\n\n/* Center column: the conversation island. */\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n overflow: hidden;\n}\n\n/* Shipped desktop rules paint the sidebar with a gradient and give the center\n column a left hairline; both are removed so the canvas reads as one plane. */\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n background: var(--isl-canvas);\n}\n\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"]:not([data-sidebar-drawer]) [data-islands-part~=\"sidebar-column\"] {\n background: transparent;\n border-right: 0;\n backdrop-filter: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-column\"] {\n background: transparent;\n border-right: 0;\n}\n\n[data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"center-column\"],\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-left: 1px solid var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"main-panel\"] {\n background: transparent;\n}\n\n/* Right workbench: only while a pane is open does the column render an island. */\nbody[data-islands-ui] [data-rightbar-col] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']) {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n overflow: clip;\n}\n\n/* Drawer mask on narrow windows: Islands keeps the veil light and blurred. */\nbody[data-islands-ui] [data-sidebar-mask] {\n background: var(--dsw-alias-bg-mask-1);\n backdrop-filter: var(--dsw-mask-blur);\n}\n\n/* A fullscreen right pane is still mounted inside the frame's right track and\n positioned with `right: 0`. While that track is zero-width the pane covers\n the window almost by accident; as soon as the track has any width the pane is\n pushed off-screen, so the window shows plain canvas while the toggle still\n reports the pane as open. A fullscreen pane owns the window, so pin it to the\n viewport and stop letting the grid decide where it lands. */\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-panel='fullscreen'][data-sidebar-right-open] {\n position: fixed;\n inset:\n calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap))\n 0\n var(--isl-gap)\n 0;\n width: auto !important;\n height: auto !important;\n max-width: none !important;\n max-height: none !important;\n /* Above the drawer mask (70), the drawer (71) and the shell overlay (72). */\n z-index: 78;\n}\n\n/* The shell overlay layer is where the rail and window top bar live. In\n drawer mode it must paint above the drawer mask (70) and the drawer (71),\n otherwise the persistent rail disappears under the open workspace drawer. */\n@media (width <= 767px) {\n body[data-islands-ui] [data-shell-overlay] {\n z-index: 72;\n }\n}\n\n/* The resize handle is invisible chrome; keep it grabbable but quiet. */\nbody[data-islands-ui] [data-side=\"sidebar\"],\nbody[data-islands-ui] [data-side=\"rightbar\"] {\n width: 10px;\n margin-left: -5px;\n}\n\n/* The shell computes the right handle's inline `left` from the frame's\n border-box width, but its absolute containing block is the padded grid area\n and the panel itself sits inside the right padding. That shifts the handle\n two gaps to the right — wholly inside the right island. Cancel the frame's\n horizontal padding so the strip straddles the right island's left edge\n (covering the whole canvas gap plus 5px of the panel) like the left one. */\nbody[data-islands-ui] [data-side=\"rightbar\"] {\n margin-left: calc(-5px - 2 * var(--isl-gap));\n}\n\n/* Windows title bar keeps its native height; the frame padding already gives\n the rounded content corner room, so only the radius is unified. */\n[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"center-column\"] {\n border-radius: var(--isl-radius-lg);\n}\n\n[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"layout-frame\"] {\n background: var(--isl-canvas);\n}\n\n/* Collapsed sidebar on macOS drops the center column's left hairline; the\n island keeps its outline regardless. */\n[data-platform='darwin'] body[data-islands-ui] [data-sidebar-collapsed] [data-islands-part~=\"center-column\"] {\n border-left: 1px solid var(--isl-border-soft);\n}\n\n/* ==========================================================================\n Workbench panels (better-sidebar bottom dock + native right sidebar)\n Both must read as independent islands, not as sheets pasted onto the\n conversation island.\n ========================================================================== */\n\n/* The bottom workbench reserves its height on the conversation column, not on\n the inner panel, so the island itself shrinks and a canvas gap opens between\n the two islands. The peer-specific rules live in 60-peers.css. */\nbody[data-islands-ui] [data-islands-part~=\"center-column\"] {\n margin-bottom: var(--dsh-sidebar-height, 0px);\n transition: margin-bottom var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* The native right sidebar keeps its own width preference, which can exceed\n the track the frame grants; clamp it to the track so it never hangs over\n the conversation island. */\nbody[data-islands-ui] [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']) {\n box-sizing: border-box;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0;\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] [data-islands-part~=\"center-column\"] {\n transition: none;\n }\n}\n\n/* ==========================================================================\n Independent workspace collapse\n The DSH collapse swaps the whole sidebar render tree for its rail-only\n variant. Instead the expanded rail stays mounted and only the workspace\n column hides, so the left column never re-renders or re-flows.\n ========================================================================== */\n\n/* The width handle keeps its expanded inline position while the workspace is\n collapsed, which would leave an invisible drag target over the conversation.\n The workspace must be expanded to resize it. */\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-side=\"sidebar\"] {\n display: none;\n}\n\n/* The right column must keep its own track while the workspace is collapsed.\n Pin it to 0 only while the right pane is closed; when it opens, use the\n pane's PREFERRED width (published by the client). Reading the current\n column width here deadlocks: it is 0 while closed, so opening the pane\n could never grow the track, and the panel's `width: 100%` clamp would keep\n it at two border pixels. The fallback keeps the pane visible even before\n the width source has been located. */\nbody[data-islands-ui][data-islands-workspace-collapsed]\n [data-islands-part~=\"layout-frame\"]:not(\n :has([data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen']))\n ) {\n grid-template-columns:\n var(--isl-rail-collapsed-width) minmax(0, 1fr) 0 !important;\n}\n\nbody[data-islands-ui][data-islands-workspace-collapsed]\n [data-islands-part~=\"layout-frame\"]:has(\n [data-sidebar-right-panel][data-sidebar-right-open]:not([data-sidebar-right-panel='fullscreen'])\n ) {\n grid-template-columns:\n var(--isl-rail-collapsed-width) minmax(0, 1fr)\n var(--isl-rightbar-w, max(300px, 45vw)) !important;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-islands-animating] {\n transition: grid-template-columns var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* ---- 15-topbar.css ---- */\n/* ==========================================================================\n Islands UI · 15 top bar\n A window-chrome strip above the three islands on platforms that need one.\n It clears the macOS traffic lights and docks the header tools; Windows\n renders neither, using its native caption row and conversation header.\n ========================================================================== */\n\n/* Registered even when the skin is off; the base rule keeps it out of the way. */\n.isl-topbar {\n display: none;\n}\n\nbody[data-islands-ui] .isl-topbar {\n position: fixed;\n inset: var(--isl-chrome-top) 0 auto;\n z-index: 30;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n gap: 6px;\n height: var(--isl-topbar-height);\n /* macOS centers the traffic lights in its 48px window-chrome band; the\n controls follow that center (10 + 14 = 24), not the 40px bar's own. */\n padding: 10px 10px 0 8px;\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n /* The bar itself must never swallow clicks meant for controls that are\n docked over it; only the toggle and the drag handle opt back in. */\n pointer-events: none;\n -webkit-app-region: no-drag;\n user-select: none;\n}\n\n/* Left lead (traffic-light strip) and the centre of the bar are draggable;\n both stop short of the docked controls so clicks keep working. */\n/* The 88px lead exists only for the macOS traffic lights. */\nbody[data-islands-ui] .isl-topbarLead {\n display: none;\n}\n\nhtml[data-platform='darwin'] body[data-islands-ui] .isl-topbar {\n padding-left: 88px;\n}\n\nhtml[data-platform='darwin'] body[data-islands-ui] .isl-topbarLead {\n position: absolute;\n inset: 0 auto 0 0;\n display: block;\n width: 88px;\n pointer-events: auto;\n -webkit-app-region: drag;\n}\n\nbody[data-islands-ui] .isl-topbarDrag {\n flex: 1;\n align-self: stretch;\n min-width: 0;\n margin-right: 250px;\n pointer-events: auto;\n -webkit-app-region: drag;\n}\n\n/* Windows has no island top bar: every control lives in the native caption row\n or the conversation header, so the strip and its 40px reservation are gone. */\nhtml[data-windows-titlebar] body[data-islands-ui] .isl-topbar {\n display: none;\n}\n\nbody[data-islands-ui] .isl-topbarToggle {\n box-sizing: border-box;\n flex: none;\n display: grid;\n place-items: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n pointer-events: auto;\n -webkit-app-region: no-drag;\n}\n\nbody[data-islands-ui] .isl-topbarToggle:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-topbarToggle:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Narrow desktop: the top bar remains the window chrome (drag strip + right\n panel toggle), but the rail's home button owns the workspace drawer. The\n chrome must paint above the drawer mask (70) and the drawer (71). */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-topbar {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-topbarToggle {\n display: none;\n }\n\n body[data-islands-ui] .isl-topbarDrag {\n margin-right: 40px;\n }\n}\n\n/* ---- 16-rail.css ---- */\n/* ==========================================================================\n Islands UI · 16 left rail\n Every registered panel launcher lives directly in the rail. Drag an icon to\n reorder it; right-click the rail to show or hide launchers.\n ========================================================================== */\n\nbody[data-islands-ui] .isl-rail {\n display: none;\n}\n\nbody[data-islands-ui] .isl-rail {\n position: fixed;\n top: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + 10px);\n left: var(--isl-gap);\n z-index: 25;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n width: var(--isl-rail-width);\n /* Reserve the measured foot stack plus the fixed band above it: one foot\n gap, the gear, and one more gap before the list. The fallback is the bare\n account row, so a shell without the measure keeps the shipped geometry. */\n max-height: calc(\n 100vh - var(--isl-chrome-top) - var(--isl-topbar-height)\n - var(--isl-foot-height, 36px) - var(--isl-foot-gap) - 36px - var(--isl-foot-gap)\n );\n padding: 2px 6px;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-width: none;\n pointer-events: auto;\n user-select: none;\n}\n\nbody[data-islands-ui] .isl-rail::-webkit-scrollbar {\n width: 0;\n height: 0;\n}\n\nbody[data-islands-ui] .isl-railBtn {\n box-sizing: border-box;\n display: grid;\n place-items: center;\n flex: none;\n width: 36px;\n height: 36px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n touch-action: none;\n transition:\n background-color 0.12s var(--ds-ease-in-out),\n color 0.12s var(--ds-ease-in-out),\n opacity 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-railBtn:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\n/* The house is a pure navigation trigger (conversation / workspace drawer),\n not a destination in the panel model. It has no persistent selected state;\n hover keeps the standard rail feedback and a click paints a translucent\n ripple clipped to the rounded tile. */\nbody[data-islands-ui] .isl-railBtn[data-rail-id='workspace'] {\n position: relative;\n overflow: hidden;\n}\n\nbody[data-islands-ui] .isl-railRipple {\n position: absolute;\n display: block;\n border-radius: 50%;\n background: currentColor;\n pointer-events: none;\n transform: translate(-50%, -50%) scale(0.2);\n animation: isl-rail-ripple 560ms cubic-bezier(0.2, 0.6, 0.3, 1) forwards;\n will-change: transform, opacity;\n}\n\n@keyframes isl-rail-ripple {\n 0% {\n transform: translate(-50%, -50%) scale(0.2);\n opacity: 0.2;\n }\n\n 100% {\n transform: translate(-50%, -50%) scale(1);\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] .isl-railRipple {\n animation-duration: 1ms;\n }\n}\n\nbody[data-islands-ui] .isl-railBtn.is-active {\n background: var(--isl-active);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-railBtn:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\nbody[data-islands-ui] .isl-rail.is-dragging,\nbody[data-islands-ui] .isl-rail.is-dragging .isl-railBtn {\n cursor: grabbing;\n}\n\nbody[data-islands-ui] .isl-railBtn.is-dragging {\n background: var(--isl-active);\n opacity: 0.45;\n}\n\n/* Floating copy of the dragged icon; follows the pointer at 90% opacity. */\nbody[data-islands-ui] .isl-railGhost {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1200;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 36px;\n height: 36px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n opacity: 0.9;\n pointer-events: none;\n will-change: transform;\n}\n\nbody[data-islands-ui] .isl-railAdd {\n color: var(--dsw-alias-label-tertiary);\n}\n\nbody[data-islands-ui] .isl-railDivider {\n flex: none;\n width: 24px;\n height: 1px;\n margin: 2px 0;\n background: var(--isl-border-soft);\n}\n\n/* ---- Rail management menu --------------------------------------------- */\nbody[data-islands-ui] .isl-railMenu {\n position: fixed;\n z-index: 35;\n box-sizing: border-box;\n width: 248px;\n max-height: min(60vh, 440px);\n padding: 6px;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-width: thin;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n user-select: none;\n}\n\nbody[data-islands-ui] .isl-railMenuTitle {\n padding: 4px 8px 6px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-railMenuRow {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n min-height: 36px;\n padding: 5px 8px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-railMenuRow:hover,\nbody[data-islands-ui] .isl-railMenuRow.is-current {\n background: var(--isl-hover);\n}\n\nbody[data-islands-ui] .isl-railMenuRow.is-hidden .isl-railMenuIcon,\nbody[data-islands-ui] .isl-railMenuRow.is-hidden .isl-railMenuText {\n opacity: 0.5;\n}\n\nbody[data-islands-ui] .isl-railMenuIcon {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-railMenuText {\n display: flex;\n flex-direction: column;\n flex: 1;\n gap: 1px;\n min-width: 0;\n}\n\nbody[data-islands-ui] .isl-railMenuLabel {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-railMenuSub {\n color: var(--dsw-alias-label-tertiary);\n font-size: 10px;\n line-height: 14px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-railMenuCheck {\n box-sizing: border-box;\n display: grid;\n place-items: center;\n flex: none;\n width: 18px;\n height: 18px;\n border: 1px solid var(--isl-border-soft);\n border-radius: 6px;\n color: transparent;\n}\n\nbody[data-islands-ui] .isl-railMenuCheck.is-on {\n border-color: transparent;\n background: color-mix(in srgb, var(--isl-accent) 14%, transparent);\n color: var(--isl-accent);\n}\n\nbody[data-islands-ui] .isl-railMenuHint {\n margin-top: 4px;\n padding: 6px 8px 2px;\n border-top: 1px solid var(--isl-border-soft);\n color: var(--dsw-alias-label-tertiary);\n font-size: 10px;\n line-height: 14px;\n}\n\nbody[data-islands-ui] .isl-railMenuEmpty {\n padding: 8px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n}\n\n/* Settings gear pinned above the account avatar. The offset is the measured\n foot stack plus the rail gap: contributed footer actions grow the stack and\n the gear moves with it instead of sitting on their row. */\nbody[data-islands-ui] .isl-railSettings {\n display: none;\n}\n\nbody[data-islands-ui] .isl-railSettings {\n position: fixed;\n left: calc(var(--isl-gap) + (var(--isl-rail-width) - 36px) / 2);\n bottom: calc(var(--isl-foot-height, 36px) + var(--isl-foot-gap));\n z-index: 26;\n display: grid;\n place-items: center;\n}\n\n/* Narrow desktop: the rail is the persistent navigation; the workspace is a\n drawer opened from its home button. Both the rail and its menus must sit\n above the drawer (71) and the drawer mask (70). */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-rail {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-railSettings {\n z-index: 72;\n }\n\n body[data-islands-ui] .isl-railMenu {\n z-index: 1100;\n }\n}\n\n/* ---- 17-update.css ---- */\n/* ==========================================================================\n Islands UI · 17 desktop update\n One circular update entry above the settings gear. The skin owns the whole\n surface: the shipped indicator lives in the 36px settings row and overflows\n beside the account avatar, and it does not expose a phase attribute.\n\n The three busy patterns follow the open-source Dot Matrix loaders\n (dotmatrix.zzzzshawn.cloud): dotm-3x3-7, dotm-3x3-16 and dotm-3x3-6.\n ========================================================================== */\n\n/* The native indicator (and its tiny toggle badge) would duplicate the rail\n button. The walker marks both seats, so the rules survive a host rebuild\n without naming a hashed class. */\nbody[data-islands-ui] [data-islands-part~=\"update-indicator\"],\nbody[data-islands-ui] [data-islands-part~=\"update-badge\"] {\n display: none !important;\n}\n\nbody[data-islands-ui] {\n /* The update entry is an accent surface like the send button and the caret:\n it reads the business token, which the skin remaps to the user's accent.\n Deriving the hover shade here keeps the two in step — a separate literal\n would stay brand blue while everything else moved. */\n --isl-update-bg: var(--dsw-alias-state-business-primary);\n --isl-update-bg-hover: color-mix(in srgb, var(--isl-update-bg) 88%, #111214);\n --isl-update-danger: #d93a40;\n}\n\nbody[data-islands-ui][data-ds-dark-theme] {\n --isl-update-bg-hover: color-mix(in srgb, var(--isl-update-bg) 88%, #fff);\n --isl-update-danger: #ff6369;\n}\n\nbody[data-islands-ui] .isl-updateButton {\n position: fixed;\n left: calc(var(--isl-gap) + (var(--isl-rail-width) - 36px) / 2);\n /* Stacked above the gear, so it follows the measured foot stack too. */\n bottom: calc(\n var(--isl-foot-height, 36px) + var(--isl-foot-gap) + 36px + var(--isl-update-gap)\n );\n z-index: 26;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 36px;\n height: 36px;\n margin: 0;\n padding: 0;\n border: 1px solid transparent;\n border-radius: 50%;\n background: var(--isl-update-bg);\n color: #fff;\n cursor: default;\n box-shadow:\n 0 2px 6px -1px color-mix(in srgb, var(--isl-update-bg) 38%, transparent),\n 0 8px 18px -10px color-mix(in srgb, var(--isl-update-bg) 62%, transparent);\n transition:\n background-color 0.15s var(--ds-ease-in-out),\n box-shadow 0.15s var(--ds-ease-in-out),\n transform 0.15s var(--ds-ease-in-out),\n border-color 0.15s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable {\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable:hover {\n background: var(--isl-update-bg-hover);\n transform: translateY(-1px);\n box-shadow:\n 0 3px 8px -1px color-mix(in srgb, var(--isl-update-bg) 44%, transparent),\n 0 10px 22px -10px color-mix(in srgb, var(--isl-update-bg) 72%, transparent);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-clickable:active {\n transform: translateY(0) scale(0.96);\n}\n\nbody[data-islands-ui] .isl-updateButton:focus-visible {\n outline: 2px solid color-mix(in srgb, var(--isl-update-bg) 40%, transparent);\n outline-offset: 2px;\n}\n\n/* The click guard between pressing the entry and the update panel opening.\n It must not fade the element: `opacity` lightened the surface towards the\n canvas while the coloured shadow stayed visible under it, so the entry read\n as a pale disc floating on a shadow. Keep the surface saturated, drop the\n lift and soften the shadow — and cover the hover state, which is still in\n force while the pointer rests on the button. */\nbody[data-islands-ui] .isl-updateButton.is-pending,\nbody[data-islands-ui] .isl-updateButton.is-pending.is-clickable:hover {\n background: var(--isl-update-bg-hover);\n transform: none;\n cursor: default;\n box-shadow:\n 0 1px 3px -1px color-mix(in srgb, var(--isl-update-bg) 30%, transparent),\n 0 3px 8px -6px color-mix(in srgb, var(--isl-update-bg) 45%, transparent);\n}\n\n/* Busy phases keep the circle but let the matrix carry the state. */\nbody[data-islands-ui] .isl-updateButton[aria-busy='true'] {\n cursor: default;\n}\n\n/* Error: a translucent danger surface, danger stroke, status dot and a retry\n glyph. The dot keeps the state readable without relying on color alone. */\nbody[data-islands-ui] .isl-updateButton.is-error {\n border-color: color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n background: color-mix(in srgb, var(--isl-update-danger) 14%, transparent);\n color: var(--isl-update-danger);\n box-shadow: none;\n}\n\nbody[data-islands-ui] .isl-updateButton.is-error.is-clickable:hover {\n border-color: color-mix(in srgb, var(--isl-update-danger) 72%, transparent);\n background: color-mix(in srgb, var(--isl-update-danger) 22%, transparent);\n box-shadow: 0 2px 8px -4px color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n}\n\nbody[data-islands-ui] .isl-updateButton.is-error:focus-visible {\n outline-color: color-mix(in srgb, var(--isl-update-danger) 55%, transparent);\n}\n\n/* Busy phases drop the circle entirely: the mosaic itself is the control,\n tinted with the user's accent so it belongs to the skin rather than to the\n shipped brand pill. */\nbody[data-islands-ui] .isl-updateButton.is-downloading,\nbody[data-islands-ui] .isl-updateButton.is-verifying,\nbody[data-islands-ui] .isl-updateButton.is-installing {\n border-color: transparent;\n background: transparent;\n color: var(--isl-accent);\n box-shadow: none;\n}\n\nbody[data-islands-ui] .isl-updateErrorDot {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--isl-update-danger);\n box-shadow: 0 0 0 2px var(--isl-surface);\n}\n\n/* ---- 3x3 dot matrix ------------------------------------------------------ */\n\nbody[data-islands-ui] .isl-dmx {\n display: grid;\n grid-template-columns: repeat(3, 5px);\n grid-template-rows: repeat(3, 5px);\n gap: 2.5px;\n width: 20px;\n height: 20px;\n}\n\nbody[data-islands-ui] .isl-dmx-dot {\n display: block;\n width: 5px;\n height: 5px;\n border-radius: 50%;\n background: currentColor;\n opacity: 0.14;\n will-change: opacity;\n}\n\n/* Column Flux (dotm-3x3-7): columns pulse left to right, all rows together.\n The three 400ms phases overlap, so at least one column stays lit while the\n busy button has no filled background behind it. */\nbody[data-islands-ui] .isl-dmx-column .isl-dmx-dot {\n animation: isl-dmx-column 1200ms cubic-bezier(0.42, 0, 0.58, 1) infinite;\n animation-delay: calc(var(--dmx-col) * 400ms);\n}\n\n/* Core Echo (dotm-3x3-6): Manhattan rings ripple out from the centre. */\nbody[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot {\n animation: isl-dmx-ripple 1230ms ease-in-out infinite;\n animation-delay: calc(var(--dmx-ring) * 165ms);\n}\n\n/* Smiley Spin (dotm-3x3-16): the pixel glyph rotates in four 180ms phases.\n Each cell is lit for one or two phases; the first wraps across the cycle. */\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot {\n animation-duration: 720ms;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n opacity: 0.12;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='1'] {\n animation-name: isl-dmx-spin-1;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='2'] {\n animation-name: isl-dmx-spin-2;\n}\n\nbody[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-span='wrap'] {\n animation-name: isl-dmx-spin-wrap;\n}\n\n@keyframes isl-dmx-column {\n 0% {\n opacity: 0.14;\n }\n\n 10% {\n opacity: 1;\n }\n\n 40% {\n opacity: 0.14;\n }\n\n 100% {\n opacity: 0.14;\n }\n}\n\n@keyframes isl-dmx-ripple {\n 0%,\n 100% {\n opacity: 0.08;\n }\n\n 34% {\n opacity: 1;\n }\n\n 60% {\n opacity: 0.22;\n }\n}\n\n@keyframes isl-dmx-spin-1 {\n 0%,\n 20% {\n opacity: 0.88;\n }\n\n 25%,\n 100% {\n opacity: 0.12;\n }\n}\n\n@keyframes isl-dmx-spin-2 {\n 0%,\n 45% {\n opacity: 0.88;\n }\n\n 50%,\n 100% {\n opacity: 0.12;\n }\n}\n\n@keyframes isl-dmx-spin-wrap {\n 0%,\n 20% {\n opacity: 0.88;\n }\n\n 25%,\n 70% {\n opacity: 0.12;\n }\n\n 75%,\n 100% {\n opacity: 0.88;\n }\n}\n\n/* Narrow desktop: the rail floats above the workspace drawer. */\n@media (width <= 767px) {\n body[data-islands-ui] .isl-updateButton {\n z-index: 72;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] .isl-updateButton {\n transition: none;\n }\n\n body[data-islands-ui] .isl-dmx-dot {\n animation: none !important;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot {\n opacity: 0.3;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot[data-col='1'] {\n opacity: 0.55;\n }\n\n body[data-islands-ui] .isl-dmx-column .isl-dmx-dot[data-col='2'] {\n opacity: 0.88;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot {\n opacity: 0.3;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot[data-ring='1'] {\n opacity: 0.55;\n }\n\n body[data-islands-ui] .isl-dmx-ripple .isl-dmx-dot[data-ring='0'] {\n opacity: 1;\n }\n\n body[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot {\n opacity: 0.12;\n }\n\n body[data-islands-ui] .isl-dmx-smiley .isl-dmx-dot[data-on='1'] {\n opacity: 0.88;\n }\n}\n\n/* ---- Settings showcase --------------------------------------------------- */\n\nbody[data-islands-ui] .isl-updateShowcase {\n margin-top: 18px;\n padding: 16px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--dsw-alias-settings-card-fill);\n}\n\nbody[data-islands-ui] .isl-updateShowcaseHead {\n margin-bottom: 14px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseDesc {\n margin-top: 3px;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseGrid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));\n gap: 14px 8px;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseItem {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n min-width: 0;\n text-align: center;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseStage {\n display: grid;\n place-items: center;\n width: 56px;\n height: 56px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--isl-surface);\n}\n\nbody[data-islands-ui] .isl-updateShowcase .isl-updateButton.is-preview {\n position: relative;\n left: auto;\n bottom: auto;\n z-index: auto;\n transform: none;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-updateShowcaseLabel {\n color: var(--dsw-alias-label-primary);\n font-size: 12px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-updateShowcasePhase {\n color: var(--dsw-alias-label-tertiary);\n font-family: var(--ds-font-family-code, ui-monospace, SFMono-Regular, Menlo, monospace);\n font-size: 10px;\n line-height: 14px;\n}\n\n/* ---- 20-sidebar.css ---- */\n/* ==========================================================================\n Islands UI · 20 sidebar\n The expanded sidebar is one full-height island: a persistent icon rail on\n the left and the workspace browser on the same surface. The island spans the\n exact same top and bottom edges as the conversation island. Collapsed mode\n keeps the shipped rail untouched.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"] {\n background: transparent;\n}\n\n/* ---- Expanded: chrome rail + workspace island --------------------------- */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) {\n display: grid;\n grid-template-columns: var(--isl-rail-width) minmax(0, 1fr);\n grid-template-rows: var(--isl-gap) auto minmax(0, 1fr) auto;\n column-gap: var(--isl-gap);\n padding: 0;\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n overflow: hidden;\n position: relative;\n isolation: isolate;\n}\n\n/* The workspace browser is the sidebar's only island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])::after {\n content: '';\n position: absolute;\n z-index: -1;\n inset: 0 0 0 calc(var(--isl-rail-width) + var(--isl-gap));\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: var(--isl-shadow-island);\n pointer-events: none;\n}\n\n/* The top band is a small breathing gap inside the sidebar column. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"sidebar-top-strip\"] {\n grid-area: 1 / 1 / 2 / -1;\n height: 100%;\n margin: 0;\n padding: 0 4px 0 0;\n justify-content: flex-end;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] {\n grid-area: 2 / 1;\n height: 36px;\n margin: 0 0 6px;\n padding: 0;\n justify-content: center;\n overflow: visible;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"brand-button\"] {\n justify-content: center;\n overflow: visible;\n}\n\n/* The brand wordmark and build stamp belong to window chrome, not the rail. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"brand-name\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"local-build-brand\"] {\n display: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"brand-mark\"] {\n width: 28px;\n height: 28px;\n}\n\n/* Two host shapes share this rule set: before 0.2.2-rc.3 the button itself is\n the sidebar grid item; from rc.3 a `newSessionRow` wrapper carries the\n session-action slot and is the grid item. The button keeps its grid-area so\n the older shape still lays out; inside the row the property is inert and the\n row owns the outer margin. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"] {\n grid-area: 2 / 2;\n height: 36px;\n margin: 0 6px 6px;\n padding: 0 8px;\n justify-content: flex-start;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n box-shadow: none;\n color: var(--dsw-alias-label-primary);\n font-weight: 400;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"] {\n grid-area: 2 / 2;\n height: 36px;\n margin: 0 6px 6px;\n padding: 0;\n align-items: center;\n}\n\n/* rc.3: the row owns the outer spacing; the button fills it. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"] [data-islands-part~=\"new-session\"] {\n margin: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-content\"] {\n justify-content: flex-start;\n width: 100%;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"]:hover {\n background: var(--isl-hover);\n}\n\n/* The global panel list becomes the rail's primary navigation. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-list\"] {\n grid-area: 3 / 1;\n align-self: start;\n align-items: center;\n gap: 4px;\n margin: 2px 0 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-row\"] {\n width: 36px;\n height: 36px;\n justify-content: center;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-md);\n background-clip: border-box;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-row\"][data-islands-part~=\"panel-active\"] {\n background: var(--dsw-specific-sidebar-nav-item-active-accent);\n color: var(--dsw-alias-state-business-primary);\n}\n\n/* The label leaves the visual rail but stays in the accessibility tree. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-title\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\n/* ---- Workspace browser: same surface, full height ----------------------- */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"region-area\"] {\n grid-area: 3 / 2 / 5 / 3;\n margin: 0;\n padding: 0 4px 6px;\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"region-area\"] {\n --dsh-session-list-edge-inset: 4px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"section-header\"] {\n padding-inline: 8px;\n margin-right: 0;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n letter-spacing: 0.01em;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"section-label\"] {\n font-weight: 500;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"list\"] {\n padding-bottom: 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"list-fade\"] {\n background: linear-gradient(to bottom, transparent, var(--isl-surface));\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"],\nbody[data-islands-ui] [data-row-key^=\"workspace:\"] {\n border-radius: var(--isl-radius-sm);\n padding-inline: 8px;\n}\n\n/* ---- Rail foot: settings gear ------------------------------------------ */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] {\n grid-area: 4 / 1;\n align-items: center;\n margin-top: 6px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-area\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] {\n width: auto;\n align-items: center;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-row\"] {\n width: auto;\n margin: 4px 0 2px;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"] {\n flex: none;\n width: 36px;\n height: 36px;\n margin: 0;\n padding: 0;\n justify-content: center;\n border-inline: 0;\n border-radius: var(--isl-radius-md);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-label\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"]:hover,\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-slot=\"sidebar\"] button[aria-haspopup=\"dialog\"][aria-expanded='true'] {\n background: var(--isl-hover);\n}\n\n/* Footer actions contributed next to Settings (account launcher, etc.).\n The host still reports `wide` to `sidebar.footer.action` registrants because\n the sidebar is expanded, so a wide-aware plugin renders a full-width,\n labelled row here while the skin only has a 48px rail. The skin owns this\n box: every top-level guest control becomes a 36px tile, and the text label\n of an icon-bearing control moves to the accessibility tree (the plugin's\n own title/aria-label keeps the tooltip). The pixel rules are `!important`\n because the plugin styles are inline; this is the one seat where the skin\n must win the box outright. Visibility stays the plugin's: `display` is not\n forced, so a control the plugin hides stays hidden.\n\n The host wraps every slot outlet in `<div data-slot=\"<key>\"\n style=\"display: contents\">`. The wrapper is layout-neutral but still in the\n selector tree, so the guest is the wrapper's child, not a direct child of\n `footer-actions`. Each rule names both the anchor path and, as a fallback\n for a shell without the anchor, the direct child. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button']),\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button']) {\n box-sizing: border-box !important;\n flex: none !important;\n align-items: center !important;\n justify-content: center !important;\n gap: 0 !important;\n width: 36px !important;\n min-width: 0 !important;\n max-width: 36px !important;\n height: 36px !important;\n min-height: 0 !important;\n max-height: 36px !important;\n margin: 3px 0 !important;\n padding: 0 !important;\n overflow: clip !important;\n white-space: nowrap !important;\n border-radius: var(--isl-radius-md);\n cursor: pointer;\n transition: background-color 0.12s var(--ds-ease-in-out);\n}\n\n/* Icon-bearing controls: hide only the bare text span (an icon wrapper may\n itself be a span and must stay visible). This is a visual hide rather than\n `display: none`, so a plugin without an aria-label keeps its accessible\n name. Controls with no icon keep their label and are clipped instead. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button']):has(svg, img) > span:not(:has(*)),\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button']):has(svg, img) > span:not(:has(*)) {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n clip: rect(0 0 0 0) !important;\n white-space: nowrap !important;\n overflow: hidden !important;\n}\n\n/* Guest tiles borrow the rail's interaction states. The background needs\n `!important` because plugins commonly write `background: transparent`\n inline, which would otherwise leave the tile with no feedback. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button']):hover,\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button']):hover {\n background: var(--isl-hover) !important;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button']):focus-visible,\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button']):focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)) !important;\n outline-offset: 1px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button'])[aria-pressed='true'],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button'])[aria-expanded='true'],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button'])[aria-pressed='true'],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button'])[aria-expanded='true'] {\n background: var(--isl-active) !important;\n}\n\n/* A control that expands a panel in place must not clip that panel. The\n label is clipped by its own rule, so only the panel benefits. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button'])[aria-expanded='true'],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button'])[aria-expanded='true'] {\n overflow: visible !important;\n}\n\n@media (prefers-reduced-motion: reduce) {\n body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > [data-slot=\"sidebar.footer.action\"] > :is(button, a, [role='button']),\n body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"footer-actions\"] > :is(button, a, [role='button']) {\n transition: none;\n }\n}\n\n/* ---- Collapsed rail ------------------------------------------------------ */\n/* Collapsing hides the workspace browser only; the rail keeps its own island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"][data-islands-part~=\"sidebar-collapsed\"] {\n /* The rail is chrome, not an island: it sits directly on the ocean. */\n background: transparent;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n padding: 8px 10px 6px;\n overflow: hidden;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"][data-islands-part~=\"sidebar-collapsed\"] [data-islands-part~=\"sidebar-top-strip\"] {\n height: 36px;\n margin: 0;\n padding: 0;\n justify-content: center;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-collapsed\"] [data-islands-part~=\"new-session\"] {\n border-radius: var(--isl-radius-md);\n}\n\n/* The window top bar / rail own the collapse controls; the in-island toggle\n would duplicate them at every width. Windows is the exception: DSH pins its\n native toggle in the caption row, so there the skin must not hide or restyle\n it — the top bar drops its own copy and leaves the native control alone. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"sidebar-toggle\"] {\n display: none;\n}\n\n@media (min-width: 768px) {\n /* On macOS the shipped frame gives a collapsed sidebar zero width, hiding\n the rail too. Restore one rail-wide track (right panel still closed). */\n [data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-collapsed][data-rightbar-collapsed] {\n grid-template-columns: var(--isl-rail-collapsed-width) minmax(0, 1fr) 0 !important;\n }\n\n /* The rail itself is the expand control; do not reserve header space for the\n floating seat and do not show a second expand button over the island. */\n [data-platform='darwin'] body[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-collapsed] {\n --dsh-frame-leading-clearance: 0px;\n }\n}\n\n/* The window chrome and the rail own the sidebar controls; the floating seat\n is redundant (and at narrow widths would sit under the traffic lights). */\nbody[data-islands-ui] [data-shell-leading] {\n display: none;\n}\n\n/* ---- Search / section chrome inside the island --------------------------- */\nbody[data-islands-ui] [data-islands-part~=\"search-expanded\"] {\n border-color: var(--isl-border-soft);\n background: var(--isl-surface-muted);\n border-radius: var(--isl-radius-sm);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"search-expanded\"] [data-islands-part~=\"search-button\"]:hover {\n background: transparent;\n}\n\n/* ---- Narrow drawer ------------------------------------------------------- */\n/* Below the top bar's breakpoint the workspace becomes an overlay drawer. It\n starts at the frame's content top (below the top bar and its 5px gap) and\n leaves the window's 5px canvas margin on the left; the workspace card inside\n keeps the right/bottom 5px so the drawer still reads as an island. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"sidebar-column\"] {\n top: calc(var(--isl-chrome-top) + var(--isl-topbar-height) + var(--isl-gap));\n bottom: 0;\n left: var(--isl-gap);\n background: var(--isl-canvas);\n border-right: 0;\n box-shadow: var(--isl-shadow-float);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"sidebar-root\"]::after {\n inset: 0 var(--isl-gap) var(--isl-gap) calc(var(--isl-rail-width) + var(--isl-gap));\n}\n\n/* The sidebar's grid track is zero in drawer mode, but its column gap remains;\n shift the conversation island right by the persistent rail so the closed\n drawer leaves the rail visible and the island keeps its 5px gap. */\nbody[data-islands-ui] [data-islands-part~=\"layout-frame\"][data-sidebar-drawer] [data-islands-part~=\"center-column\"] {\n margin-left: var(--isl-rail-width);\n}\n\n/* ---- Account launcher (settings.launcher) --------------------------------\n In this build the sidebar foot is the account menu rather than the bare\n settings gear, so the same rail geometry applies to its trigger. The\n trigger itself is the host's `data-signed-out` button; its label is marked\n by the walker. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"account-root\"] {\n flex: none;\n width: 36px;\n margin-inline: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"account-anchor\"] {\n width: 36px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out][data-signed-out='false']:not([data-collapsed='true']),\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-signed-out][data-signed-out='true']:not([data-collapsed='true']) {\n width: 36px;\n height: 36px;\n padding: 0;\n justify-content: center;\n border-inline: 0;\n border-radius: var(--isl-radius-md);\n background-clip: border-box;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"foot-area\"] [data-islands-part~=\"account-label\"] {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n overflow: hidden;\n}\n\n/* ---- Guests beside the account launcher ----------------------------------\n Plugins can insert their own entry next to the account launcher (a plugin\n entry, for example) through the host's settings row. That row is skin-owned\n chrome too: a 48px rail cannot hold the account plus another action side by\n side, and the host's wide layout assumes it can. When a guest anchor is\n present the row stacks, and the guest becomes the same 36px tile as the\n rail. `order: -1` keeps the guest above the account, matching where the\n host's rail puts a footer action. The foot measure carries the taller row\n into the gear and the rail reserve. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-row\"]:has(> a) {\n flex-direction: column;\n width: auto;\n height: auto;\n gap: 2px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-row\"] > a {\n order: -1;\n flex: none;\n box-sizing: border-box !important;\n width: 36px !important;\n min-width: 0 !important;\n max-width: 36px !important;\n height: 36px !important;\n min-height: 0 !important;\n max-height: 36px !important;\n margin: 3px 0 !important;\n padding: 0 !important;\n overflow: clip !important;\n white-space: nowrap !important;\n border-radius: var(--isl-radius-md);\n}\n\n/* An icon-bearing guest keeps its icon and moves any text to the\n accessibility tree, the same way a footer guest does. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"settings-trigger-row\"] > a:has(svg, img) > span:not(:has(*)) {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n clip: rect(0 0 0 0) !important;\n white-space: nowrap !important;\n overflow: hidden !important;\n}\n\n/* ---- Independent workspace collapse ------------------------------------- */\n/* Hide the workspace island only; the rail keeps its expanded-layout DOM and\n position, so nothing in the left column is re-rendered by the toggle. */\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session-row\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"new-session\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"region-area\"],\nbody[data-islands-ui][data-islands-workspace-collapsed] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])::after {\n display: none !important;\n}\n\n/* ---- Custom rail replaces the shipped brand + panel icon column ---------- */\n/* Windows is the one platform that keeps the logo row in the tree: DSH's\n fixed caption-row toggle is a child, and `display: none` on the ancestor\n would remove the native button. The row loses its own box below instead. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"],\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"panel-list\"] {\n display: none !important;\n}\n\nhtml[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] {\n display: contents;\n}\n\nhtml[data-windows-titlebar] body[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) [data-islands-part~=\"logo-row\"] [data-islands-part~=\"brand-button\"] {\n display: none;\n}\n\n/* ---- Aggregate pinned sessions ------------------------------------------ */\n.isl-pinnedHost {\n display: block;\n flex: none;\n}\n\n.isl-pinned {\n display: none;\n padding: 2px 4px 0;\n}\n\nbody[data-islands-ui] .isl-pinned {\n display: block;\n}\n\n/* Pinned rows stay in place in their workspace groups and are also collected\n in the aggregate block above. The original row keeps a subtle tint. */\nbody[data-islands-ui] [data-islands-part~=\"pin-indicator\"] {\n color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"]:has([data-islands-part~=\"pin-indicator\"]) {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 6%, transparent);\n}\n\nbody[data-islands-ui] [data-row-key^=\"session:\"]:has([data-islands-part~=\"pin-indicator\"]):hover {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 10%, transparent);\n}\n\n.isl-pinnedHead {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n height: 32px;\n padding: 0 6px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font: inherit;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n text-align: left;\n cursor: pointer;\n}\n\n/* Collapsible header mirrors the quiet workspace section header: colour only. */\n.isl-pinnedHead:hover {\n background: transparent;\n color: var(--dsw-alias-label-primary);\n}\n\n.isl-pinnedChevron {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-tertiary);\n transform: rotate(-90deg);\n transition: transform 0.12s var(--ds-ease-in-out);\n}\n\n.isl-pinned[data-open] .isl-pinnedChevron {\n transform: rotate(0deg);\n}\n\n.isl-pinnedTitle {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.isl-pinnedCount {\n margin-left: auto;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n font-weight: 400;\n}\n\n.isl-pinnedList {\n display: flex;\n flex-direction: column;\n gap: 1px;\n padding: 1px 0 3px;\n}\n\n.isl-pinnedRow {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n height: 32px;\n padding: 0 8px 0 34px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-primary);\n font: inherit;\n font-size: 14px;\n line-height: 20px;\n text-align: left;\n cursor: pointer;\n}\n\n.isl-pinnedRow:hover {\n background: var(--dsw-alias-interactive-bg-hover);\n}\n\n.isl-pinnedName {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n/* Hover marquee: clip the ellipsis, fade both edges as the title crawls. */\n.isl-pinnedRow:hover .isl-pinnedName {\n text-overflow: clip;\n}\n\n.isl-pinnedRow .isl-pinnedName[data-scrolled] {\n mask-image: linear-gradient(90deg, #0000, #000 12px);\n}\n\n.isl-pinnedRow .isl-pinnedName[data-clipped] {\n mask-image: linear-gradient(270deg, #0000, #000 12px);\n}\n\n.isl-pinnedRow .isl-pinnedName[data-scrolled][data-clipped] {\n mask-image: linear-gradient(90deg, #0000, #000 12px calc(100% - 12px), #0000);\n}\n\n.isl-pinnedRow:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n.isl-pinnedPinBtn,\n.isl-pinnedLocate {\n display: none;\n place-items: center;\n flex: none;\n width: 24px;\n height: 24px;\n margin-left: 4px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-xs, 6px);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n transition:\n background-color 0.12s var(--ds-ease-in-out),\n color 0.12s var(--ds-ease-in-out);\n}\n\n.isl-pinnedRow:hover .isl-pinnedPinBtn,\n.isl-pinnedRow:focus-within .isl-pinnedPinBtn,\n.isl-pinnedPinBtn:focus-visible,\n.isl-pinnedRow:hover .isl-pinnedLocate,\n.isl-pinnedRow:focus-within .isl-pinnedLocate,\n.isl-pinnedLocate:focus-visible {\n display: grid;\n}\n\n.isl-pinnedPinBtn:hover,\n.isl-pinnedLocate:hover {\n background: transparent;\n color: var(--dsw-alias-label-primary);\n}\n\n.isl-pinnedPinBtn:focus-visible,\n.isl-pinnedLocate:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Brief highlight on the session the locate action focuses. */\nbody[data-islands-ui] [data-row-key^=\"session:\"].isl-located {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 14%, transparent) !important;\n}\n\n/* ==========================================================================\n Sidebar scroll containers\n Releases from 0.2.2-rc.2 wrap the panel list and workspace browser in\n `scrollRegion > scrollArea`. The parts are only written when those wrappers\n exist, so the same sheet covers the older flat shell without a variant.\n ========================================================================== */\n\n/* The browser column replaces the old direct regionArea grid item. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] {\n grid-area: 3 / 2 / 5 / 3;\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n margin: 0;\n}\n\n/* The shipped grid only made sense inside the full-height shell; the island\n grid wants a plain column so the workspace browser can fill the island. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] > [data-islands-part~=\"sidebar-scroll-area\"] {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 0;\n margin: 0;\n overflow: hidden;\n}\n\nbody[data-islands-ui]\n [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"])\n > [data-islands-part~=\"sidebar-scroll-region\"]\n > [data-islands-part~=\"sidebar-scroll-area\"]\n > [data-islands-part~=\"region-area\"] {\n flex: 1;\n min-height: 0;\n}\n\n/* The shipped bottom fade reads as a panel edge; the island supplies its own. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"]:not([data-islands-part~=\"sidebar-collapsed\"]) > [data-islands-part~=\"sidebar-scroll-region\"] > [data-islands-part~=\"sidebar-scroll-fade\"] {\n display: none;\n}\n\n/* The selected-panel state moved from the row onto the wrapping entry; mirror\n the base active rule for the shipped rail. */\nbody[data-islands-ui] [data-islands-part~=\"sidebar-root\"] [data-islands-part~=\"panel-entry-active\"] [data-islands-part~=\"panel-row\"] {\n background: var(--dsw-specific-sidebar-nav-item-active-accent);\n color: var(--dsw-alias-state-business-primary);\n}\n\n/* ---- 30-conversation.css ---- */\n/* ==========================================================================\n Islands UI · 30 conversation & composer\n ========================================================================== */\n\nbody[data-islands-ui] [data-phase] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"conversation-header\"] {\n border-bottom-color: var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"conversation-header-blank\"] {\n border-bottom-color: transparent;\n}\n\nbody[data-islands-ui] [data-conversation-scroll] {\n margin-right: 0;\n}\n\n/* Composer: the one element that should visibly float above the island. */\nbody[data-islands-ui] [data-composer-card] {\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n box-shadow: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"composer-card-workspace-trigger\"]:after {\n border-radius: var(--dsw-radius-panel);\n color: var(--isl-border-strong);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"composer-notice\"] {\n border-radius: var(--isl-radius-md);\n background: var(--isl-surface-muted);\n}\n\n/* Sticky composer seat fades into the island surface, not into a raw token. */\nbody[data-islands-ui] [data-phase='active'] [data-composer-seat],\nbody[data-islands-ui] [data-islands-part~=\"embedded-body\"][data-content-phase='active'] [data-composer-seat] {\n background: linear-gradient(\n 180deg,\n color-mix(in srgb, var(--isl-surface) 0%, transparent) 0px,\n var(--isl-surface) 36px\n );\n}\n\n/* Hero: a calmer, slightly tighter headline on the open island. */\nbody[data-islands-ui] [data-islands-part~=\"hero-headline\"] {\n letter-spacing: -0.01em;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"hero-workspace\"] {\n border-radius: 999px;\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"hero-workspace\"]:hover {\n background: var(--isl-hover);\n}\n\n/* Tool / turn cards keep their own hierarchy but gain island hairlines. */\nbody[data-islands-ui] [data-turn-trigger] {\n border-color: var(--isl-border-soft);\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] [data-turn-trigger]:hover {\n background: var(--isl-surface-sunken);\n}\n\n/* Header chips and breadcrumbs. */\nbody[data-islands-ui] [data-islands-part~=\"header-crumb\"] {\n border-radius: var(--isl-radius-sm);\n}\n\n/* View tabs sit on the island as a quiet segmented row. */\nbody[data-islands-ui] [data-conversation-tabs] {\n gap: 22px;\n}\n\nbody[data-islands-ui] [data-conversation-tabs] [role=\"tab\"][aria-selected=\"true\"]:after {\n border-radius: 999px;\n height: 2px;\n}\n\n/* ==========================================================================\n Header utilities live in the window bar\n The three trailing controls (session tools, side panel, right panel) leave\n the conversation island and dock at the bar's right edge, vertically aligned\n with the workspace toggle on the left.\n ========================================================================== */\n@media (min-width: 768px) {\n /* Windows leaves these controls in the conversation header: the native\n caption row already exists, so the skin keeps no extra strip to dock\n them into. */\n html:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"header-utilities\"] {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: 41px; /* frame gap 5 + corner 28 + gap 8 */\n z-index: 31;\n height: 28px;\n margin: 0;\n align-items: center;\n }\n\n html:not([data-windows-titlebar]) body[data-islands-ui] [data-islands-part~=\"header-corner\"] {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: var(--isl-gap);\n z-index: 31;\n height: 28px;\n margin: 0;\n align-items: center;\n }\n}\n\n/* ==========================================================================\n Always-visible right sidebar toggle\n The native header button unmounts while the panel is open and the panel\n carries its own collapse control. On every platform except Windows the top\n bar owns one persistent toggle instead, and closes through the native\n collapse action. Windows keeps DSH's own controls: the header corner opens\n the panel and the panel header closes it.\n ========================================================================== */\n/* Body-portaled (see RightPanelToggle): keep it out of the DOM flow while the\n skin is off, so the base rule cannot leak a raw button into the page. */\n.isl-rightToggle {\n display: none;\n}\n\n/* z-index 900: above the workbench panel host (dsh-better-sidebar: host 25,\n dock 40, float 60, floating window 90) and the app's transient tooltip/\n hovercard layer (100), below menus and dialogs (1000+). The button is\n portaled to <body>, so this value competes with the body-level layers\n directly instead of being trapped in the frame's z-index-20 overlay layer. */\nbody[data-islands-ui] .isl-rightToggle {\n position: fixed;\n top: calc(var(--isl-chrome-top) + 10px);\n right: var(--isl-gap);\n z-index: 900;\n box-sizing: border-box;\n display: grid;\n place-items: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n pointer-events: auto;\n -webkit-app-region: no-drag;\n}\n\nbody[data-islands-ui] .isl-rightToggle:hover,\nbody[data-islands-ui] .isl-rightToggle[aria-pressed='true'] {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-rightToggle:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: -2px;\n}\n\n/* Windows has no island top bar, so the portalled copy steps aside and DSH's\n own expand/collapse buttons below are left alone. */\nhtml[data-windows-titlebar] body[data-islands-ui] .isl-rightToggle {\n display: none;\n}\n\n/* Outside Windows the top bar owns open and close; the island's own\n expand/collapse controls would duplicate it. */\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-sidebar-right-expand] {\n /* Keep the native expand button's box in the layout even though the top\n bar's toggle paints over it. Other header plugins anchor to this\n button's rect (dsh-better-sidebar's blank-session dock fallback does),\n and `display: none` collapses that rect to 0x0, sending them to the\n top-left corner where they collide with the workspace toggle. */\n visibility: hidden !important;\n pointer-events: none !important;\n}\n\nhtml:not([data-windows-titlebar]) body[data-islands-ui] [data-sidebar-right-toggle] {\n display: none !important;\n}\n\n/* ---- 31-caret.css ---- */\n/* ==========================================================================\n Islands UI · 31 composer caret\n The send circle and the smooth caret of the conversation composer. Both are\n driven by the accent token, so a custom Islands accent reaches them without\n naming a host class: the send button is read through its skin part, and the\n caret through the composer's own `data-composer-*` hooks.\n ========================================================================== */\n\n/* The send circle is the composer's primary action. The stock sheet paints it\n with the info-fill token, which a custom accent does not remap; use the\n accent token so the setting reaches it. The stock hover still applies while\n following the theme; a custom accent derives its own shade in the direction\n the stock token uses for that theme. */\nbody[data-islands-ui] [data-islands-part~=\"composer-primary\"] {\n background-color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui][data-islands-accent] [data-islands-part~=\"composer-primary\"]:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--isl-accent) 86%, #fff);\n}\n\nbody[data-islands-ui][data-islands-accent][data-ds-dark-theme] [data-islands-part~=\"composer-primary\"]:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--isl-accent) 86%, #000);\n}\n\n/* ---- Caret ---------------------------------------------------------------\n The caret always follows the theme accent: a custom Islands accent remaps\n `--dsw-alias-state-business-primary`, so both the native caret and the\n smooth overlay below read the same token. */\n\nbody[data-islands-ui] [data-composer-input] {\n caret-color: var(--dsw-alias-state-business-primary);\n}\n\n/* Smooth caret: while the overlay is painting a composer, that composer's\n native caret is hidden. Every fallback state (IME composition, no\n measurement, a non-collapsed selection) removes the marker first, so the\n native caret is never lost. A selected command chip suppresses the caret\n entirely, as in the stock composer. */\nbody[data-islands-ui][data-islands-smooth-caret] [data-composer-input][data-islands-caret-active] {\n caret-color: transparent;\n}\n\nbody[data-islands-ui][data-islands-smooth-caret] [data-composer-input][data-composer-composing]:not([data-composer-chip-selected]) {\n caret-color: var(--dsw-alias-state-business-primary);\n}\n\nbody[data-islands-ui] [data-composer-input][data-composer-chip-selected] {\n caret-color: transparent;\n}\n\n/* The overlay is a sibling of the contenteditable inside its positioned\n wrapper, so it scrolls and clips with the draft instead of floating over\n the island. 2px is a deliberate accent treatment at the composer's 14px\n type size (the native caret is 1px); height matches the text glyph box. */\n.isl-caret {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n display: block;\n width: 2px;\n border-radius: 1px;\n background: var(--dsw-alias-state-business-primary, var(--isl-accent, #4176e6));\n opacity: 0;\n pointer-events: none;\n will-change: transform;\n transition: transform 150ms cubic-bezier(0.2, 0.7, 0.2, 1);\n}\n\n.isl-caret.is-jump {\n transition: none;\n}\n\n.isl-caret.is-on {\n opacity: 1;\n animation: isl-caret-blink 1.06s step-end infinite;\n}\n\n/* Keep the caret solid while it is moving; the blink resumes after a short\n idle, like a native caret. */\n.isl-caret.is-typing {\n animation: none;\n opacity: 1;\n}\n\n@keyframes isl-caret-blink {\n 0%,\n 49% {\n opacity: 1;\n }\n\n 50%,\n 100% {\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-caret,\n .isl-caret.is-jump {\n transition: none;\n }\n}\n\n/* ---- 40-settings.css ---- */\n/* ==========================================================================\n Islands UI · 40 settings (and shared dialog surfaces)\n The settings window is an island; its navigation is a recessed island.\n ========================================================================== */\n\nbody[data-islands-ui] [data-islands-part~=\"settings-overlay\"] {\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-mask\"] {\n background: var(--dsw-alias-bg-mask-1);\n backdrop-filter: var(--dsw-mask-blur);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-panel\"] {\n width: 860px;\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: 24px;\n box-shadow: var(--isl-shadow-float);\n padding: 10px;\n gap: 8px;\n grid-template-columns: 188px minmax(0, 1fr);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-title\"] {\n padding: 8px 8px 6px;\n font-size: 15px;\n font-weight: 600;\n letter-spacing: -0.01em;\n}\n\n/* The navigation mirrors the workspace list: no recessed panel, quiet rows. */\nbody[data-islands-ui] [data-islands-part~=\"settings-nav\"] {\n padding: 4px;\n background: transparent;\n border: 0;\n border-radius: 0;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-list\"] {\n gap: 2px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"] {\n height: 32px;\n padding: 6px 8px;\n border-radius: var(--isl-radius-sm);\n color: var(--dsw-alias-label-secondary);\n font-size: 13px;\n line-height: 18px;\n gap: 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"]:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-cell\"][data-islands-part~=\"settings-nav-active\"] {\n background: var(--isl-active);\n color: var(--dsw-alias-label-primary);\n font-weight: 500;\n box-shadow: none;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-icon\"] {\n width: 16px;\n height: 16px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-nav-icon\"] svg {\n width: 100%;\n height: 100%;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-header\"] {\n height: 48px;\n padding: 6px 6px 0 8px;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-options\"] {\n padding: 0 8px 16px;\n background: transparent;\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-close\"] {\n border-radius: var(--isl-radius-sm);\n}\n\n/* Cards and sections inside settings pages keep the host's own geometry and\n use the skin's card tokens (00-tokens). They are deliberately not matched by\n local class name: the plugin settings pages also ship `.card`/`.section`,\n and a broad match restyles their internals. */\n\n/* The general-page rows keep their separators but at island quietness. */\nbody[data-islands-ui] [data-slot='settings.general.item'] > * {\n border-bottom-color: var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-slot='settings.general.item']:last-child > * {\n border-bottom: 0;\n}\n\n/* Dialogs opened from settings (confirmations, pickers). */\nbody[data-islands-ui] [role='dialog'] {\n border-radius: var(--isl-radius-xl);\n}\n\n/* Account page cards. */\nbody[data-islands-ui] [data-islands-part~=\"account-balance-card\"] {\n border-radius: var(--isl-radius-lg);\n border: 1px solid var(--isl-border-soft);\n background: var(--isl-surface);\n}\n\n/* ---- 45-model-picker.css ---- */\n/* ==========================================================================\n Islands UI · 45 composer model picker\n Trigger chip + model list + reasoning slider, in the Islands language.\n ========================================================================== */\n\nbody[data-islands-ui] .isl-model {\n position: relative;\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\nbody[data-islands-ui] .isl-modelTrigger {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n max-width: 260px;\n height: 28px;\n padding: 0 8px;\n border: 1px solid transparent;\n border-radius: 999px;\n background: var(--isl-surface-muted);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n cursor: pointer;\n transition: background-color 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-modelTrigger:hover:not(:disabled) {\n background: var(--isl-surface-sunken);\n}\n\nbody[data-islands-ui] .isl-modelTrigger:disabled {\n opacity: 0.55;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-modelTrigger:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: 1px;\n}\n\nbody[data-islands-ui] .isl-modelIcon {\n display: var(--dsh-composer-model-icon-display, none);\n flex: none;\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-modelName {\n display: var(--dsh-composer-model-text-display, inline);\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelEffort {\n display: var(--dsh-composer-model-text-display, inline);\n flex-shrink: 1000;\n min-width: 0;\n color: var(--dsw-alias-label-caption);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelChevron {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-caption);\n transition: transform 0.12s var(--ds-ease-in-out);\n}\n\nbody[data-islands-ui] .isl-modelChevron.is-open {\n transform: rotate(180deg);\n}\n\n/* ---- Menu ---------------------------------------------------------------- */\nbody[data-islands-ui] .isl-modelMenu {\n position: fixed;\n z-index: 1100;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n max-height: min(460px, calc(100vh - 24px));\n padding: 6px;\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n background: var(--isl-surface);\n box-shadow: var(--isl-shadow-float);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n line-height: 20px;\n overflow-y: auto;\n --dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l2);\n --dsh-scrollbar-thumb-hover: var(--dsw-alias-scrollbar-hover-l2);\n}\n\nbody[data-islands-ui] .isl-modelPaneHead {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 0 4px 6px;\n}\n\nbody[data-islands-ui] .isl-modelMenuTitle {\n padding: 2px 4px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n line-height: 18px;\n}\n\nbody[data-islands-ui] .isl-modelBack {\n display: grid;\n place-items: center;\n flex: none;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-modelBack:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-modelBackIcon {\n display: inline-flex;\n transform: rotate(90deg);\n}\n\nbody[data-islands-ui] .isl-modelGroups {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\nbody[data-islands-ui] .isl-modelGroup + .isl-modelGroup {\n margin-top: 6px;\n}\n\nbody[data-islands-ui] .isl-modelGroupName {\n padding: 6px 8px 2px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-islands-ui] .isl-modelOption {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n min-height: 34px;\n padding: 6px 8px;\n border: 0;\n border-radius: var(--isl-radius-md);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-modelOption:hover {\n background: var(--isl-hover);\n}\n\nbody[data-islands-ui] .isl-modelOption.is-selected {\n background: var(--isl-surface-muted);\n}\n\nbody[data-islands-ui] .isl-modelOptionName {\n flex: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-modelCheck {\n display: inline-flex;\n flex: none;\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-modelEmpty {\n padding: 10px 8px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n}\n\n/* ---- Reasoning effort ---------------------------------------------------- */\nbody[data-islands-ui] .isl-effortPopup {\n position: relative;\n padding: 9px 10px 8px;\n text-align: center;\n}\n\nbody[data-islands-ui] .isl-effortReset {\n position: absolute;\n top: 5px;\n right: 5px;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortReset:hover:not(:disabled) {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-primary);\n}\n\nbody[data-islands-ui] .isl-effortReset:disabled {\n opacity: 0.4;\n cursor: default;\n}\n\nbody[data-islands-ui] .isl-effortName {\n color: var(--dsw-alias-state-business-primary);\n font-size: 18px;\n line-height: 24px;\n font-weight: 600;\n letter-spacing: -0.01em;\n}\n\nbody[data-islands-ui] .isl-effortModel {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n max-width: 100%;\n margin-top: 1px;\n padding: 1px 6px;\n border: 0;\n border-radius: var(--isl-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 18px;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortModel:hover {\n background: var(--isl-hover);\n color: var(--dsw-alias-label-secondary);\n}\n\nbody[data-islands-ui] .isl-effortModelName {\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nbody[data-islands-ui] .isl-effortModelChevron {\n display: inline-flex;\n flex: none;\n color: inherit;\n transform: rotate(-90deg);\n}\n\nbody[data-islands-ui] .isl-effortSliderWrap {\n position: relative;\n margin: 7px 2px 0;\n}\n\nbody[data-islands-ui] .isl-effortSlider {\n -webkit-appearance: none;\n appearance: none;\n display: block;\n width: 100%;\n height: 24px;\n margin: 0;\n padding: 0;\n background: transparent;\n cursor: pointer;\n}\n\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-runnable-track {\n height: 20px;\n border-radius: 999px;\n background: linear-gradient(\n 90deg,\n var(--dsw-alias-state-business-primary) 0\n calc(12px + (100% - 24px) * var(--isl-ratio, 0)),\n var(--isl-surface-sunken) calc(12px + (100% - 24px) * var(--isl-ratio, 0)) 100%\n );\n}\n\nbody[data-islands-ui] .isl-effortSlider::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n margin-top: -2px;\n border: 0;\n border-radius: 50%;\n background: #fff;\n box-shadow:\n 0 1px 4px rgba(17, 24, 39, 0.22),\n 0 0 0 0.5px rgba(17, 24, 39, 0.06);\n}\n\nbody[data-islands-ui] .isl-effortSlider:focus-visible {\n outline: none;\n}\n\nbody[data-islands-ui] .isl-effortSlider:focus-visible::-webkit-slider-thumb {\n box-shadow:\n 0 0 0 3px color-mix(in srgb, var(--dsw-alias-state-business-primary) 26%, transparent),\n 0 1px 4px rgba(17, 24, 39, 0.22);\n}\n\nbody[data-islands-ui] .isl-effortDots {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 12px;\n pointer-events: none;\n}\n\nbody[data-islands-ui] .isl-effortDot {\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background: var(--isl-border-strong);\n}\n\nbody[data-islands-ui] .isl-effortDot.is-filled {\n background: rgba(255, 255, 255, 0.55);\n}\n\nbody[data-islands-ui] .isl-modelError {\n margin: 8px 8px 2px;\n padding: 6px 8px;\n border-radius: var(--isl-radius-sm);\n background: var(--dsw-alias-interactive-bg-hover-danger);\n color: var(--dsw-alias-state-error-primary);\n font-size: 11px;\n line-height: 16px;\n}\n\n/* ---- 50-components.css ---- */\n/* ==========================================================================\n Islands UI · 50 shared components\n Small, reusable pieces used by the skin's own surfaces. All values come from\n the token layer, so nothing here is page-specific.\n ========================================================================== */\n\n/* ---- Preference row (rendered into settings.general.item) ---------------- */\nbody[data-islands-ui] .isl-prefRow,\n.isl-prefRow {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n padding: 16px 0;\n border-bottom: 0.5px solid var(--dsw-alias-border-l2);\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n line-height: 20px;\n}\n\nbody[data-islands-ui] .isl-prefRow:last-child,\n.isl-prefRow:last-child {\n border-bottom: 0;\n}\n\n.isl-prefText {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.isl-prefTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n line-height: 20px;\n}\n\n.isl-prefDesc {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\n/* Inline compatibility hint on a preference row (never a global notice). */\n.isl-prefWarn {\n margin-top: 2px;\n color: #a86b00;\n font-size: 11px;\n line-height: 16px;\n}\n\nbody[data-ds-dark-theme] .isl-prefWarn {\n color: #f0c274;\n}\n\n/* ---- Switch -------------------------------------------------------------- */\n.isl-switch {\n position: relative;\n flex: none;\n width: 38px;\n height: 22px;\n padding: 0;\n border: 0;\n border-radius: 999px;\n cursor: pointer;\n background: var(--dsw-alias-bg-layer-3);\n box-shadow: inset 0 0 0 1px var(--dsw-alias-border-l2);\n transition: background-color 0.15s var(--ds-ease-in-out);\n}\n\n.isl-switch[aria-checked='true'] {\n background: var(--dsw-alias-state-business-primary);\n box-shadow: none;\n}\n\n.isl-switch:focus-visible {\n outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));\n outline-offset: 2px;\n}\n\n.isl-switchThumb {\n position: absolute;\n top: 3px;\n left: 3px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: #fff;\n box-shadow: 0 1px 2px rgba(17, 24, 39, 0.25);\n transition: transform 0.15s var(--ds-ease-in-out);\n}\n\n.isl-switch[aria-checked='true'] .isl-switchThumb {\n transform: translateX(16px);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-switch,\n .isl-switchThumb {\n transition: none;\n }\n}\n\n/* ---- Popover / menu materials ------------------------------------------- */\nbody[data-islands-ui] [data-menu-material] {\n border-radius: var(--isl-radius-lg);\n border: 1px solid var(--isl-border-soft);\n box-shadow: var(--isl-shadow-float);\n}\n\nbody[data-islands-ui] [role='dialog'],\nbody[data-islands-ui] [role='menu'],\nbody[data-islands-ui] [role='listbox'] {\n border-radius: var(--isl-radius-lg);\n}\n\n/* ---- Scrollbars ---------------------------------------------------------- */\nbody[data-islands-ui] ::-webkit-scrollbar-thumb {\n border-radius: 999px;\n}\n\n/* ---- Focus --------------------------------------------------------------- */\nbody[data-islands-ui] :focus-visible {\n outline-offset: 1px;\n}\n\n/* ---- Dedicated settings page ------------------------------------------- */\n.isl-settingsPage {\n box-sizing: border-box;\n max-width: 760px;\n padding: 4px 8px 24px;\n}\n\n.isl-settingsPageHead {\n display: flex;\n align-items: center;\n gap: 10px;\n}\n\n.isl-settingsPageLogo {\n display: inline-flex;\n flex: none;\n}\n\n.isl-settingsPageHeadText {\n min-width: 0;\n}\n\n.isl-settingsPageTitle {\n color: var(--dsw-alias-label-primary);\n font-size: 15px;\n font-weight: 600;\n line-height: 22px;\n}\n\n.isl-settingsPageDesc {\n margin-top: 4px;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-settingsPage .isl-prefRow:first-of-type {\n margin-top: 12px;\n}\n\n/* Detected DSH release + sidebar dialect: diagnosis for support reports. */\n.isl-settingsMeta {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 10px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 11px;\n line-height: 16px;\n}\n\n.isl-settingsMetaValue {\n padding: 0 5px;\n border-radius: 4px;\n background: var(--isl-surface-muted);\n color: var(--dsw-alias-label-secondary);\n font-family: var(--dsw-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);\n font-size: 11px;\n}\n\n.isl-settingsMetaSeparator {\n opacity: 0.6;\n}\n\n.isl-accentPicker {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.isl-accentSwatch {\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 50%;\n background-clip: padding-box;\n cursor: pointer;\n transition:\n transform 0.12s var(--ds-ease-in-out),\n box-shadow 0.12s var(--ds-ease-in-out);\n}\n\n.isl-accentSwatch:hover {\n transform: scale(1.08);\n}\n\n.isl-accentSwatch.is-selected {\n box-shadow:\n 0 0 0 2px var(--dsw-alias-bg-base),\n 0 0 0 3.5px var(--dsw-alias-label-primary);\n}\n\n.isl-accentSwatch.is-default {\n background: linear-gradient(135deg, #ffffff 0 47%, #c4c8ce 47% 53%, #1b1c1f 53% 100%);\n}\n\n.isl-accentCustom {\n position: relative;\n display: grid;\n place-items: center;\n width: 24px;\n height: 24px;\n border: 1px dashed var(--dsw-alias-border-l3);\n border-radius: 50%;\n color: var(--dsw-alias-label-secondary);\n cursor: pointer;\n}\n\n.isl-accentCustom::before {\n content: '+';\n font-size: 14px;\n line-height: 1;\n}\n\n.isl-accentCustom input {\n position: absolute;\n inset: -4px;\n width: 32px;\n height: 32px;\n opacity: 0;\n cursor: pointer;\n}\n\n\n/* ---- Compatibility notice ------------------------------------------------\n Rendered while the skin is OFF, so nothing here may rely on the `--isl-*`\n scale or on `body[data-islands-ui]`. Every custom property carries a\n fallback and every color comes from the public DSH theme tokens. */\n\n.isl-compatToast {\n position: fixed;\n right: 16px;\n bottom: 16px;\n z-index: 2000;\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n gap: 6px;\n width: min(380px, calc(100vw - 32px));\n padding: 12px 10px 12px 14px;\n border: 1px solid rgba(224, 160, 24, 0.5);\n border-left: 3px solid #e0a018;\n border-radius: var(--isl-radius-lg, 16px);\n background: var(--dsw-alias-bg-overlay, #ffffff);\n color: var(--dsw-alias-label-primary, #1f2328);\n box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.35);\n font-size: 13px;\n line-height: 19px;\n cursor: pointer;\n opacity: 0;\n transform: translateY(10px);\n transition:\n opacity 0.16s ease,\n transform 0.16s ease;\n}\n\n.isl-compatToast.is-visible {\n opacity: 1;\n transform: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .isl-compatToast {\n transition: none;\n }\n}\n\n.isl-compatToastBody {\n flex: 1;\n min-width: 0;\n}\n\n.isl-compatToastTitle {\n font-weight: 600;\n}\n\n.isl-compatToastText {\n margin-top: 2px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-compatToastAction {\n margin-top: 6px;\n color: #a86b00;\n font-size: 12px;\n font-weight: 600;\n}\n\n.isl-compatToastClose {\n flex: none;\n width: 22px;\n height: 22px;\n padding: 0;\n border: 0;\n border-radius: 6px;\n background: transparent;\n color: var(--dsw-alias-label-tertiary, #737a82);\n font-size: 16px;\n line-height: 1;\n cursor: pointer;\n}\n\n.isl-compatToastClose:hover {\n background: var(--dsw-alias-interactive-bg-hover, rgba(17, 24, 39, 0.06));\n color: var(--dsw-alias-label-primary, #1f2328);\n}\n\n/* The settings-page warning bar. */\n.isl-compatBanner {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n margin: 12px 0 4px;\n padding: 12px 14px;\n border: 1px solid rgba(224, 160, 24, 0.45);\n border-radius: var(--isl-radius-lg, 16px);\n background: rgba(240, 180, 41, 0.14);\n background: color-mix(in srgb, #f0b429 14%, transparent);\n color: var(--dsw-alias-label-primary, #1f2328);\n font-size: 13px;\n line-height: 20px;\n}\n\n.isl-compatBannerIcon {\n flex: none;\n display: inline-flex;\n margin-top: 1px;\n color: #b47400;\n}\n\n.isl-compatBannerText {\n flex: 1;\n min-width: 0;\n}\n\n.isl-compatBannerTitle {\n font-weight: 600;\n}\n\n.isl-compatBannerBody,\n.isl-compatBannerHint {\n margin-top: 2px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-compatBannerHint {\n margin-top: 6px;\n}\n\n.isl-compatBannerList {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n margin-top: 6px;\n color: var(--dsw-alias-label-secondary, #555b63);\n font-size: 12px;\n}\n\n.isl-compatAnchor {\n padding: 0 4px;\n border-radius: 4px;\n background: rgba(17, 24, 39, 0.06);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 11px;\n}\n\n.isl-compatBannerAction {\n flex: none;\n align-self: flex-start;\n padding: 5px 10px;\n border: 1px solid rgba(224, 160, 24, 0.5);\n border-radius: 8px;\n background: transparent;\n color: #8a5a00;\n font: inherit;\n font-size: 12px;\n cursor: pointer;\n}\n\n.isl-compatBannerAction:hover {\n background: rgba(240, 180, 41, 0.18);\n}\n\n.isl-compatForced {\n margin: 8px 0 0;\n color: var(--dsw-alias-label-tertiary, #737a82);\n font-size: 12px;\n line-height: 18px;\n}\n\n.isl-switch:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n/* The notice renders while the skin is off, so darkness is read straight from\n the host theme attribute its own stylesheet uses. */\nbody[data-ds-dark-theme] .isl-compatBannerIcon {\n color: #e8b451;\n}\n\nbody[data-ds-dark-theme] .isl-compatBannerAction {\n border-color: rgba(240, 180, 41, 0.45);\n color: #f2c879;\n}\n\nbody[data-ds-dark-theme] .isl-compatBannerAction:hover {\n background: rgba(240, 180, 41, 0.16);\n}\n\nbody[data-ds-dark-theme] .isl-compatAnchor {\n background: rgba(255, 255, 255, 0.08);\n}\n\nbody[data-ds-dark-theme] .isl-compatToastAction {\n color: #f0c274;\n}\n\n/* ---- 60-peers.css ---- */\n/* ==========================================================================\n Islands UI · 60 peer adapters\n Rules for plugins that mount their own surfaces inside the frame. These are\n not host contracts: each peer owns the attributes and class names below, and\n the core stylesheets never read them. The CSS gate allows [class*=...] only\n in this file; a peer that renames its internals degrades these rules alone.\n ========================================================================== */\n\n/* dsh-better-sidebar: the bottom workbench reserves its height on the\n conversation column, not on the inner panel. `data-dsh-center-col` and\n `--dsh-sidebar-height` are the peer's own marks. */\nbody[data-islands-ui] #root [data-dsh-center-col] {\n margin-bottom: 0;\n}\n\nbody[data-islands-ui]:has([data-dsh-bottom-panel]:not([class*='Hidden'])) [data-islands-part~=\"center-column\"] {\n /* one gap above the panel and one below it */\n margin-bottom: calc(var(--dsh-sidebar-height, 0px) + var(--isl-gap));\n}\n\nbody[data-islands-ui] [data-dsh-bottom-panel] {\n box-sizing: border-box;\n /* Align the panel with the conversation island edges and let the frame\n padding provide the bottom gap, so every island shares one gap width. */\n margin: 0;\n bottom: var(--isl-gap);\n background: var(--isl-surface);\n border: 1px solid var(--isl-border-soft);\n border-radius: var(--isl-radius-lg);\n box-shadow: none;\n /* The rounded island clips its content, but NOT the height-drag strip: the\n strip must reach into the canvas gap above the panel to be reachable\n there. Clip the body instead (below), so the strip can overhang. */\n overflow: visible;\n}\n\n/* Keep the island's rounded content edge with the panel's own clipping gone:\n the body carries the radius, while the absolute resize strip and the close\n control stay outside this clip. */\nbody[data-islands-ui] [data-dsh-bottom-panel] > [class*='panelBody'] {\n overflow: clip;\n border-radius: calc(var(--isl-radius-lg) - 1px);\n}\n\n/* The peer centers its strip on the panel's top border (`top: -4px;\n height: 8px`), which was right before the skin opened a canvas gap between\n the conversation island and the panel. Anchor the 10px strip to that gap\n instead: 5px above the border box top (the whole gap) and 5px inside the\n panel, matching the side handles' straddle. `top` is relative to the panel's\n padding box, hence the extra 1px border compensation. */\nbody[data-islands-ui] [data-dsh-bottom-panel] > [class*='bottomResize'] {\n top: calc(-1px - var(--isl-gap));\n height: 10px;\n}";
1079
1186
 
1080
1187
  const ATTRIBUTE = SKIN_ATTR;
1081
1188
  const STORAGE_KEY = 'dsh-islands-ui:enabled';
@@ -3822,6 +3929,11 @@ function uninstallCaretController() {
3822
3929
  // Everything below turns the chrome on, so it runs only after the gate
3823
3930
  // has confirmed this build still matches the stylesheet.
3824
3931
  const registerSkinChrome = (ctx) => {
3932
+ // The rail's fixed anchors read the measured foot stack. Install
3933
+ // before the chrome that uses it so the first paint already has the
3934
+ // value; the stylesheet's 36px fallback covers a missing seat.
3935
+ ctx.effect(() => installFootMeasure(), 'dsh-islands-ui: rail foot measure');
3936
+
3825
3937
  // The caret controller only runs with the chrome on: it paints into
3826
3938
  // the composer and reads the skin's body attribute on every frame.
3827
3939
  ctx.effect(() => {
@@ -12,16 +12,18 @@ Islands UI 不再把宿主构建输出的哈希类名写进样式表或 DOM 查
12
12
  |---|---|
13
13
  | `src/host/runtime.js` | 契约字面量、本地名提取、区域/部件表、遍历器 |
14
14
  | `src/host/caret.js` | 平滑输入光标控制器;只读 composer 契约,不读模板内部符号 |
15
+ | `src/host/foot.js` | 轨道脚注测量;只读 `foot-area` 部件,把高度发布为 `--isl-foot-height` |
15
16
  | `src/*.css` | 只读 `data-islands-part` 和宿主契约 |
16
17
  | `src/60-peers.css` | 第三方插件适配,允许 `[class*=...]`,核心样式不读 |
17
18
  | `src/31-caret.css` | 发送按钮强调色与光标绘制样式,读 `composer-primary` 部件 |
18
19
  | `scripts/check-css.mjs` | 选择器门禁:作用域、部件名、属性白名单、禁止哈希类名/子串匹配 |
19
20
  | `scripts/check-parts.mjs` | 表完整性:定义了没读、读了没定义、本地名格式 |
20
21
  | `test/host-runtime.test.mjs` | 本地名提取和表的单元测试 |
22
+ | `test/foot-anchors.test.mjs` | 轨道锚点、访客归一化与测量模块的源码门禁 |
21
23
 
22
24
  ## 输入光标
23
25
 
24
- 平滑光标是唯一按「功能」拆出去的模块,因为它是唯一会逐帧读 DOM 几何的逻辑,也是唯一需要判断「composer 结构是否还匹配」的地方。
26
+ 平滑光标是按「功能」拆出去的模块:它是唯一会逐帧读 DOM 几何的逻辑,也是唯一需要判断「composer 结构是否还匹配」的地方。
25
27
 
26
28
  - 依赖的宿主契约:`[data-composer-input]`(可编辑面)、`[data-input-scroll]`(滚动容器)、`[data-composer-card]`(外来光标检测的作用域)、`[data-composer-composing]` / `[data-composer-chip-selected]`(回退状态)。
27
29
  - 自身标记:`data-islands-smooth-caret`(body,覆盖光标生效)、`data-islands-caret-active`(当前正在绘制的输入框)。
@@ -41,6 +43,20 @@ Islands UI 不再把宿主构建输出的哈希类名写进样式表或 DOM 查
41
43
 
42
44
  `parts` 会作用于区域内的所有后代,因此 `panel`、`card`、`section`、`header` 这类通用本地名不能直接放进 `parts`:DSH 的插件设置页也会使用这些类名。对话框外壳的座位改用 `rootParts` 只匹配直接子级,`close` 再锚在 `header` 区域里;`navCell`/`active` 等只在 `settings-nav` 子树内匹配。新增区域时优先选择更窄的锚点,而不是把通用名字广播给整棵子树。
43
45
 
46
+ ## 轨道底部的共享槽位
47
+
48
+ `sidebar.footer.action` 是宿主在侧栏脚注里留给插件的共享槽位,和皮肤自己的设置齿轮、更新入口、账号按钮同处一条 48px 轨道。宿主的 owner props 只告诉注册方 `wide`,而 Islands 让 `wide` 恒为 true,所以宽栏插件会在这里渲染带文字的整行按钮。账号行旁边的插件入口(例如插件插进 `settings-trigger-row` 的那一颗)是同一类访客。这两个位置都归皮肤所有,规则分两处。宿主的每个 slot 出口都会包一层 `display: contents` 的 `[data-slot="<key>"]` 锚点:它不参与布局,但仍在选择器树里,所以 footer 规则必须穿过 `[data-slot="sidebar.footer.action"]` 才能命中访客控件。
49
+
50
+ - **几何**:`src/20-sidebar.css` 把 `footer-actions` 的 slot 锚点(`[data-slot="sidebar.footer.action"]`)下的**直接子级** `button`/`a`/`role=button` 归一化成 36px 方块(宽高、`min`/`max`、margin、padding、gap 全部 `!important`,因为插件样式是内联的),并 `overflow: clip`。只匹配直接子级:访客组件内部的按钮(例如刷新按钮)仍归插件自己。无 slot 锚点的旧外壳回退到 `footer-actions` 的直接子级。`display` 不动:插件用 `display: none` 隐藏的控件仍然隐藏。
51
+ - **标签**:`button:has(svg, img) > span:not(:has(*))` 把纯文本标签视觉隐藏(`clip`,不是 `display: none`),可访问名和插件自己的 `title`/`aria-label` 保留;图标包在 span 里时不会被误伤。
52
+ - **交互**:hover、`focus-visible`、`aria-pressed`、`aria-expanded` 由皮肤补齐;背景色需要 `!important`,因为插件通常内联 `background: transparent`。
53
+ - **账号行旁的入口**:`settings-trigger-row` 出现访客 `> a` 时,行改为纵向排列,访客收成 36px tile 放在账号上方(`order: -1`)。宿主的宽栏行假设「账号和入口并排」,48px 轨道放不下;只影响访客 anchor,账号和设置触发器不动。
54
+ - **锚点**:`src/host/foot.js` 观察 `[data-islands-part~="foot-area"]`,把高度写成 `--isl-foot-height`;`16-rail.css` 与 `17-update.css` 里齿轮、更新入口和列表 `max-height` 全部从它派生。缺省值 36px 等价于「只有账号一行」,没有测量时保持旧几何。
55
+
56
+ 访客契约(给插件作者):注入到 `sidebar.footer.action` 的控件应自带图标和 `title`/`aria-label`,皮肤会把文字标签收进可访问树。账号行旁的入口同样请用图标,皮肤会把它堆到账号上方。纯文本或需要宽度的控件在 48px 轨道里没有紧凑形态,后续走溢出入口,不在这个槽位硬塞。
57
+
58
+ 不要在 `60-peers.css` 为某个 footer 插件写专用规则:槽位几何由皮肤统一负责,按插件名加例外会让下一个插件重新出问题。
59
+
44
60
  ## 宿主改名时
45
61
 
46
62
  - **只改哈希**:无需改动,规则继续命中。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-islands-ui",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Islands UI — a floating-island interface skin for DeepSeek Harness: rounded panels, a persistent left rail, a pinned-session shelf and an adjustable accent color.",
5
5
  "icon": "./assets/icon-180.png",
6
6
  "type": "module",