dsh-islands-ui 1.1.1 → 1.1.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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.2 — 2026-11-15
4
+
5
+ ### 修复
6
+
7
+ - 设置入口不再先展开账号菜单:打开菜单后在绘制前同步点击“设置”,齿轮直达设置页。设置触发器在 rc.3 的侧栏脚注中已不存在,回退路径不再依赖固定延时。
8
+ - 设置页部件改为按作用域标记:`settings-panel` 只落在设置对话框本身,`nav`/`navTitle`/`header`/`options` 只读对话框直接子级,`close` 只在 header 内标记,导航行只在导航子树内标记。修复「内置插件」页的 tab 面板被误标成设置面板、套上 860px 宽度后被内容列裁切的问题;插件页自己的 `.panel`/`.section`/`.card` 不再获得设置页部件。
9
+ - Windows 标题栏按钮区颜色跟随皮肤 token:桌面端从 `--dsw-specific-sidebar-fill` 测量 caption 颜色,但它的 observer 只监听 body 的 `style`/`data-ds-dark-theme`。皮肤启用/停用时写入一个无副作用的行内自定义属性,触发重新测量,消除三大键区域与标题栏的色差。
10
+ - Windows 左上角原生侧栏开关改为皮肤的保宽折叠:原生 `toggleSidebar` 关闭即丢弃拖拽宽度、重新打开回到默认 280px;现在截获该按钮的点击并走 `data-islands-workspace-collapsed` 路径,宽度不再丢失。macOS / Linux 的自绘顶栏开关不变。
11
+ - 模型选择器与输入区底行对齐:`.isl-model` 改为 flex 容器,消除 inline-flex 触发器在块级 wrapper 中产生的行盒/基线空隙。
12
+
13
+ ### 兼容性
14
+
15
+ - 设置页不再按通用 local class(`card`/`section`/`panel`)广播部件;这些名字在 DSH 自己的插件设置页里也会出现。第三方设置页现在保持原生几何,只继承颜色 token。
16
+ - `npm run check` 新增设置页部件作用域断言;`check:parts` 的部件表按新的对话框/导航/头部作用域标记。
17
+
3
18
  ## 1.1.1 — 2026-11-14
4
19
 
5
20
  ### 界面
package/README.en.md CHANGED
@@ -5,10 +5,11 @@
5
5
  <p>Rounded islands · persistent rail · pinned-session shelf · adjustable accent</p>
6
6
  <p>
7
7
  <a href="https://www.npmjs.com/package/dsh-islands-ui"><img alt="npm" src="https://img.shields.io/npm/v/dsh-islands-ui?style=flat-square" /></a>
8
+ <a href="https://www.npmjs.com/package/dsh-islands-ui"><img alt="downloads" src="https://img.shields.io/npm/dm/dsh-islands-ui?style=flat-square" /></a>
8
9
  <a href="https://github.com/DawnCHL/dsh-islands-ui"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-DawnCHL%2Fdsh--islands--ui-3b3b3b?style=flat-square" /></a>
9
- <a href="https://github.com/DawnCHL/dsh-islands-ui/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/DawnCHL/dsh-islands-ui/actions/workflows/ci.yml/badge.svg" /></a>
10
10
  <a href="LICENSE"><img alt="License" src="https://img.shields.io/npm/l/dsh-islands-ui?style=flat-square" /></a>
11
- <img alt="platform" src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-4f7cff?style=flat-square" />
11
+ <img alt="DSH 0.2.2-rc.1–rc.3" src="https://img.shields.io/badge/DeepSeek%20Harness-0.2.2--rc.1%E2%80%93rc.3-4f7cff?style=flat-square" />
12
+ <img alt="Platform: macOS, Windows, Linux" src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-4f7cff?style=flat-square" />
12
13
  </p>
13
14
  </div>
14
15
 
@@ -32,7 +33,17 @@ dsh plugin --profile web add dsh-islands-ui
32
33
 
33
34
  Then refresh (`⌘R` / `Ctrl+R`). The skin is enabled by default. Turn it off at **Settings → Islands UI** to restore the stock appearance immediately; your preference and accent are kept.
34
35
 
35
- > Requires DeepSeek Harness `0.2.2-rc.1` or `0.2.2-rc.2`. The client reads the running release (`window.__DSH_BOOT__.release.version`) and injects the sidebar structure stylesheet for that build; older `0.2.x` builds fall back to the base stylesheet. The package declares `dsh.bundle` + `dsh.client`, so `dsh plugin add` installs and mounts it without editing the profile by hand.
36
+ > Supports DeepSeek Harness `0.2.2-rc.1`, `0.2.2-rc.2` and `0.2.2-rc.3`; older versions do not load. If a DSH upgrade changes the interface structure, the skin may disable itself with a notice — update the plugin and refresh.
37
+
38
+ Offline or manual install from a local package:
39
+
40
+ ```bash
41
+ dsh plugin --profile desktop add ./dsh-islands-ui-<version>.tgz
42
+ ```
43
+
44
+ ### Update
45
+
46
+ Run the install command again, or update from the plugin store, then refresh. If the CLI reports that the plugin is already installed, remove it first and add it again.
36
47
 
37
48
  ### Uninstall
38
49
 
@@ -40,6 +51,8 @@ Then refresh (`⌘R` / `Ctrl+R`). The skin is enabled by default. Turn it off at
40
51
  dsh plugin --profile desktop remove dsh-islands-ui
41
52
  ```
42
53
 
54
+ Refresh after uninstalling. Your skin preferences stay on this machine and are reused if you reinstall.
55
+
43
56
  ---
44
57
 
45
58
  ## What it changes
@@ -50,11 +63,11 @@ dsh plugin --profile desktop remove dsh-islands-ui
50
63
  | 🧭 | **Persistent rail** | Workspace plus every plugin launcher, shown inline; the home button is a pure conversation / workspace-drawer trigger with no selected state (subtle hover and a translucent click ripple); click a panel to open it, drag to reorder with a floating preview, right-click to show or hide |
51
64
  | ⚙️ | **Settings page** | Settings → Islands UI: on/off, accent presets, custom color and follow-theme |
52
65
  | 📌 | **Pinned shelf** | Pinned sessions stay in their workspace and are also aggregated between “New session” and “Workspace”; the group collapses |
53
- | 🌙 | **Dark mode** | Full dark token set: near-black canvas, dark islands, translucent interaction layers |
66
+ | 🌙 | **Dark mode** | Full dark palette: near-black canvas, dark islands, translucent interaction layers |
54
67
  | 🔄 | **Desktop update entry** | Pinned above the settings gear; distinct states for available, downloading, verifying, installing and failure, with accent-colored 3×3 dot-matrix loaders |
55
68
  | ⌨️ | **Shortcuts** | `⌘B`, `⌥⌘B`, `⌘,`, `⌘⇧M`; buttons show the current binding on hover |
56
69
 
57
- The skin is a client-only style layer. Pinning helpers, the pinned shelf and the settings page are also implemented in the browser bundle; no host tool, service or session data is added.
70
+ Everything happens in the interface layer. Rail ordering, the pinned shelf and the settings page do not modify your Harness sessions, settings or plugin data.
58
71
 
59
72
  ---
60
73
 
@@ -75,12 +88,12 @@ The skin is a client-only style layer. Pinning helpers, the pinned shelf and the
75
88
  | Platform | Status |
76
89
  | --- | --- |
77
90
  | macOS | ✅ Tested |
78
- | Windows | 🟡 Native title-bar layout (no island top bar), rail, right-hand native header tools, settings gear and model picker adapted; **not tested on a physical Windows machine** |
79
- | Linux | 🟡 Uses the same top bar and rail; **not tested** |
91
+ | Windows | ✅ Tested (native title bar layout) |
92
+ | Linux | 🟡 Native window decorations, not tested |
80
93
 
81
- On Windows the island top bar is not rendered and the islands sit directly below the native title bar. The workspace collapse uses DSH's own sidebar button in the caption row's top-left corner, while the right-panel toggle, bottom-panel entry and session tools stay in DSH's native conversation header — position, look and hover are the host's. The rail, settings gear and shortcuts stay enabled. Linux follows native window decorations, which vary by desktop environment.
94
+ Windows uses DSH's native title bar instead of the plugin's 40px top bar; the workspace collapses from the native sidebar button in the top-left corner, while the right-panel toggle and conversation tools stay in DSH's native conversation header. macOS and Linux use the 40px top bar; Linux window decorations vary by desktop environment.
82
95
 
83
- If you hit a title-bar, drag-region, window-button or layout issue, please open an [issue](https://github.com/DawnCHL/dsh-islands-ui/issues) with your OS version, window size and a screenshot.
96
+ When reporting an issue, please include your OS, DSH version, window size and a screenshot.
84
97
 
85
98
  ---
86
99
 
@@ -104,93 +117,21 @@ If you hit a title-bar, drag-region, window-button or layout issue, please open
104
117
 
105
118
  ---
106
119
 
107
- ## State
108
-
109
- Stored in `localStorage`; clear these keys to reset:
110
-
111
- | Key | Purpose |
112
- | --- | --- |
113
- | `dsh-islands-ui:enabled` | `1` / `0`, master switch |
114
- | `dsh-islands-ui:accent` | Custom accent color; absent means follow theme |
115
- | `dsh-islands-ui:pinned-collapsed` | Whether the pinned group is collapsed |
116
- | `dsh-islands-ui:rail` | Left-rail icon order and hidden entries |
117
-
118
- ---
119
-
120
- ## Development
121
-
122
- ```text
123
- src/
124
- 00-tokens.css design tokens + --dsw-* aliases (single source of truth)
125
- 10-shell.css three-column shell → canvas + islands
126
- 15-topbar.css window top bar
127
- 16-rail.css left icon rail, drag reorder, show/hide menu, settings gear
128
- 17-update.css desktop update entry, state styles, 3×3 dot-matrix loaders
129
- 20-sidebar.css workspace island, pinned shelf, session row states
130
- 30-conversation.css conversation page, composer, top tool group
131
- 40-settings.css settings dialog and section shell
132
- 45-model-picker.css model / reasoning popover
133
- 50-components.css preference rows, switches, accent picker
134
- 60-peers.css third-party plugin adapters ([class*=...] is allowed only here)
135
- host/runtime.js host contracts, local-name extraction, part table, walker
136
- client.template.js browser entry (React components + slot registrations)
137
- build.mjs inline src/*.css and host/runtime.js into client.js
138
- client.js built, self-contained artifact
139
- scripts/check-css.mjs selector gate
140
- scripts/check-parts.mjs part-table gate
141
- scripts/check-package.mjs pre-publish packaging checks
142
- test/ local-name and table-integrity tests
143
- skin.json theme-manager manifest
144
- ```
145
-
146
- ```bash
147
- npm run build # regenerate client.js after editing CSS or the template
148
- npm run check # verify the build is current and the package is publishable
149
- npm run pack:check # npm pack --dry-run
150
- npm pack # produce dsh-islands-ui-<version>.tgz
151
- ```
152
-
153
- The module loader cannot read package files at runtime, so `client.js` must contain the full stylesheet. Always commit the rebuilt artifact.
120
+ ## Data and privacy
154
121
 
155
- ### Package layout
122
+ The skin only redraws the interface. It does not modify or upload your sessions, settings or plugin data.
156
123
 
157
- | Path | Purpose |
158
- | --- | --- |
159
- | `index.js` | Host half; the skin has no host behavior, so this only keeps the bundle a valid profile row |
160
- | `client.js` | Browser half: stylesheet injection, rail, pinned shelf, settings page and model picker |
161
- | `cordis.patch.yml` | One `insert` row named `dsh-islands-ui` |
162
- | `skin.json` | id, display name, accent, body attribute and wiring row for theme managers |
163
- | `screenshots.json` | 1–8 repository-relative screenshots read by storefronts |
164
- | `assets/` | Store icon and README screenshots |
165
-
166
- ### Repository configuration
167
-
168
- | File | Purpose |
169
- | --- | --- |
170
- | `.github/workflows/ci.yml` | Runs `npm run check` and `npm pack --dry-run` on PRs / main across Node 20, 22 and 24 |
171
- | `.github/workflows/publish.yml` | Publishes on a `v*` tag or manual dispatch; the tag must match `package.json`, and `NPM_TOKEN` is required |
172
- | `.github/ISSUE_TEMPLATE/` | Bug and feature forms that require the DSH version, platform and reproduction steps |
173
- | `.github/PULL_REQUEST_TEMPLATE.md` | Build, wide/narrow layout, dark mode and local-path checks |
174
- | `.github/dependabot.yml` | Weekly GitHub Actions version updates |
175
- | `.editorconfig` / `.gitattributes` | UTF-8, LF, 2-space indentation; images and tarballs are binary |
176
- | `.nvmrc` | Node 24 for local development |
177
- | `CONTRIBUTING.md` | Development, build, commit conventions and PR checklist |
178
- | `SECURITY.md` | Supported versions and the private vulnerability-reporting flow |
179
- | `scripts/check-package.mjs` | Pre-publish validation of the manifest, row name, client build, screenshots and `files[]` |
180
-
181
- Repository settings: `main` requires a PR, the `check (Node 20/22/24)` CI jobs and resolved conversations, with force pushes disabled; `v*` tags cannot be deleted or moved; fork PRs from external contributors need maintainer approval.
124
+ The master switch, accent, pinned-group state and rail order are stored in your browser's local storage. Turning the skin off keeps these preferences; to reset them, restore the defaults in Settings or clear the site's local storage.
182
125
 
183
126
  ---
184
127
 
185
128
  ## Compatibility
186
129
 
187
- - The skin is a pure client style layer and does not replace session, settings or plugin data or behavior.
188
- - Styles depend on two stable layers only: host contracts (`data-slot`, `data-phase`, `data-conversation-scroll`, `data-composer-card`, `data-row-key`, `role` / `aria-*`) and the skin's own part marks in `data-islands-part`. Host class names appear only as local names in the tables in `src/host/runtime.js`; a hash segment never enters a selector. A Harness rebuild that changes hashes needs no update, and a host rename makes the affected rule go quiet until one table line changes.
189
- - On startup the plugin verifies the core contracts (`[data-slot="root"]`, `[data-slot="sidebar"]`) and the core parts (frame, center column, sidebar root). Only a missing core contract leaves the skin **off**; DSH keeps its default look, a toast explains why (5s auto-dismiss, manual close, click to open the plugin settings) and Settings → Islands UI carries a persistent amber notice plus a session-scoped "Enable anyway". A missing decorative part only silences its own rules.
190
- - Settings → Islands UI shows the detected DSH release and sidebar structure (`flat` / `scroll`, inferred from the parts present) for support triage.
191
- - Dark mode follows `data-ds-dark-theme`; the accent remaps `--dsw-alias-state-business-primary`, so it affects both the skin and native buttons.
192
- - Windows uses `data-windows-titlebar` and `--dsh-windows-titlebar-height` and renders no island top bar; Linux currently follows native window decorations.
193
- - `dsh.engines.dsh` / `engines.dsh` pin the tested line to `>=0.2.2-rc.1 <0.3.0-0`; outside that range the plugin manager refuses to install or upgrade. Structure drift inside the line is handled by one stylesheet keyed on the parts present, no longer by a version-selected variant. `skin.json` gives theme managers the id, accent and mount row.
130
+ - Supports DSH `0.2.2-rc.1`, `0.2.2-rc.2` and `0.2.2-rc.3`; older versions do not load.
131
+ - If a DSH upgrade changes key interface structure, the skin disables itself with a notice. Update Islands UI and refresh to recover; you can temporarily re-enable it from **Settings → Islands UI** while the interface looks correct.
132
+ - Dark mode follows DSH; the accent applies to both the skin and native buttons.
133
+ - Do not enable multiple themes or skins at once: they change the same palette and layout rules, so the last one loaded wins.
134
+ - Windows uses the native title bar; Linux uses native window decorations, which vary by desktop environment.
194
135
 
195
136
  ---
196
137
 
@@ -198,40 +139,39 @@ Repository settings: `main` requires a PR, the `check (Node 20/22/24)` CI jobs a
198
139
 
199
140
  **Nothing changed after install.**
200
141
 
201
- Check that the plugin is enabled in the current profile and refresh (`⌘R` / `Ctrl+R`). For a local checkout, make sure `client.js` was rebuilt; for npm, compare `npm view dsh-islands-ui version` with the installed version. DSH versions below `0.2.2-rc.1` are not supported.
142
+ Check that the plugin is enabled in the current DSH profile and refresh (`⌘R` / `Ctrl+R`). If your DSH is older than `0.2.2-rc.1`, upgrade DSH first; you can also check the skin status in **Settings → Islands UI**.
202
143
 
203
144
  **Does it touch my sessions or settings?**
204
145
 
205
- No. The skin injects CSS and registers browser-side slots only. Rail pins, the pinned shelf, locate state and accent live in `localStorage`; no session or profile data is written.
146
+ No. The skin only redraws the interface; the master switch, accent, pinned-group state and rail order live in your browser's local storage.
206
147
 
207
148
  **How do I fully reset the skin?**
208
149
 
209
- Turn off **Settings → Islands UI**. To clear the saved preferences too, delete the `dsh-islands-ui:*` localStorage keys (see [State](#state)).
150
+ Turn it off in **Settings → Islands UI** to restore the stock appearance immediately. To reset the saved preferences too, clear the site's local storage.
210
151
 
211
152
  **Can I run it with another theme?**
212
153
 
213
- Not recommended. Two skins write the same `--dsw-*` tokens and layout rules, so the last one loaded wins. dsh-market's Themes tab enforces one active theme; if you installed several manually, keep one.
154
+ Not recommended. Multiple skins change the same palette and layout rules, so the last one loaded wins.
214
155
 
215
156
  **Why do some surfaces keep the old look?**
216
157
 
217
- A DSH upgrade can change a host local name or a contract. The affected rule goes quiet instead of matching a neighbour; update Islands UI, or open an issue with a screenshot and DSH version.
158
+ A DSH upgrade may change the interface structure. If the skin detects a key mismatch, it disables itself to avoid overlapping layouts. Update Islands UI to a version that supports your DSH and refresh; if the interface looks correct, you can also click "Enable anyway" in Settings for the current session (it re-checks on the next launch).
218
159
 
219
160
  **Windows / Linux?**
220
161
 
221
- The native title bar (no island top bar on Windows), rail, right-hand native header tools, right-panel toggle and title-bar height are adapted, but neither platform has been tested on a physical machine. Please report title-bar, drag-region or window-button issues using the issue template.
162
+ Windows is tested with the native title bar layout. Linux follows native window decorations and has not been tested yet. Please report title-bar, drag-region or window-button issues with your system details.
222
163
 
223
- **Will it be in plugin stores?**
164
+ ---
224
165
 
225
- DSHHub discovers npm packages automatically. dsh-market's Themes tab reads the awesome-dsh-plugin catalog; submit the `theme` entry once the repository meets the listing requirements. See [docs/publishing.md](docs/publishing.md).
166
+ ## Feedback
226
167
 
227
- ---
168
+ - Bugs or compatibility issues: [open an issue](https://github.com/DawnCHL/dsh-islands-ui/issues)
169
+ - Include your OS, DSH version, window size and a screenshot.
170
+ - Feature requests are welcome in Issues too.
171
+ - Security issues: do not open a public issue; report privately following [SECURITY.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/SECURITY.md).
228
172
 
229
- ## Contributing and security
173
+ ## License
230
174
 
231
- - Development, build, commit conventions and PR checklist: [CONTRIBUTING.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/CONTRIBUTING.md)
232
- - Bugs / compatibility: [Issues](https://github.com/DawnCHL/dsh-islands-ui/issues)
233
- - Improvements: PRs welcome
234
- - Windows / Linux test reports especially welcome (screenshot + OS version + window size)
235
- - Security issues: do not open a public issue; follow [SECURITY.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/SECURITY.md)
175
+ [MIT](LICENSE) © DawnCHL
236
176
 
237
177
  <p align="center"><sub>Made for DeepSeek Harness · Islands UI</sub></p>
package/README.md CHANGED
@@ -7,11 +7,9 @@
7
7
  <a href="https://www.npmjs.com/package/dsh-islands-ui"><img alt="npm" src="https://img.shields.io/npm/v/dsh-islands-ui?style=flat-square" /></a>
8
8
  <a href="https://www.npmjs.com/package/dsh-islands-ui"><img alt="downloads" src="https://img.shields.io/npm/dm/dsh-islands-ui?style=flat-square" /></a>
9
9
  <a href="https://github.com/DawnCHL/dsh-islands-ui"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-DawnCHL%2Fdsh--islands--ui-3b3b3b?style=flat-square" /></a>
10
- <a href="https://github.com/DawnCHL/dsh-islands-ui/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/DawnCHL/dsh-islands-ui/actions/workflows/ci.yml/badge.svg" /></a>
11
10
  <a href="LICENSE"><img alt="License" src="https://img.shields.io/npm/l/dsh-islands-ui?style=flat-square" /></a>
12
- <img alt="DSH" src="https://img.shields.io/badge/DeepSeek%20Harness-0.2.2--rc.2-4f7cff?style=flat-square" />
13
- <img alt="Platform" src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-3b3b3b?style=flat-square" />
14
- <img alt="Windows/Linux" src="https://img.shields.io/badge/Windows%2FLinux-untested-orange?style=flat-square" />
11
+ <img alt="DSH 0.2.2-rc.1–rc.3" src="https://img.shields.io/badge/DeepSeek%20Harness-0.2.2--rc.1%E2%80%93rc.3-4f7cff?style=flat-square" />
12
+ <img alt="Platform: macOS, Windows, Linux" src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-3b3b3b?style=flat-square" />
15
13
  </p>
16
14
  </div>
17
15
 
@@ -35,7 +33,17 @@ dsh plugin --profile web add dsh-islands-ui
35
33
 
36
34
  安装后刷新页面(`⌘R` / `Ctrl+R`)。皮肤默认开启;可在 **设置 → Islands UI** 关闭,关闭后立即恢复 Harness 默认外观,偏好和强调色会保留。
37
35
 
38
- > 适用于 DSH `0.2.2-rc.1` 与 `0.2.2-rc.2`。客户端会读取运行中的 DSH 版本(`window.__DSH_BOOT__.release.version`),自动选用对应的侧栏结构样式;更早的 `0.2.x` 构建回退到基础样式。包内声明了完整的 `dsh.bundle` + `dsh.client` manifest,`dsh plugin add` 会自动写入 profile 的 bundle 栈,不需要手工改 `cordis.patch.yml`。
36
+ > 支持 DSH `0.2.2-rc.1`、`0.2.2-rc.2` 与 `0.2.2-rc.3`;更低版本不会加载。DSH 升级后如果界面结构发生变化,皮肤可能自动停用并提示,更新插件后刷新即可恢复。
37
+
38
+ 离线或手动安装本地包:
39
+
40
+ ```bash
41
+ dsh plugin --profile desktop add ./dsh-islands-ui-<version>.tgz
42
+ ```
43
+
44
+ ### 更新
45
+
46
+ 重新执行安装命令,或从插件商店更新,然后刷新页面。如果提示已安装,可先卸载再安装。
39
47
 
40
48
  ### 卸载
41
49
 
@@ -43,6 +51,8 @@ dsh plugin --profile web add dsh-islands-ui
43
51
  dsh plugin --profile desktop remove dsh-islands-ui
44
52
  ```
45
53
 
54
+ 卸载后刷新页面;皮肤偏好仍保存在本机,重新安装会沿用。
55
+
46
56
  ---
47
57
 
48
58
  ## 宣传图
@@ -73,11 +83,11 @@ dsh plugin --profile desktop remove dsh-islands-ui
73
83
  | 🧭 | **常驻左侧栏** | 工作区与全部插件图标直接排列;首页按钮只作会话 / 工作区抽屉触发器、不占选中态(hover 浅色反馈、点击半透明涟漪);面板图标点击切换,按住拖动排序(浮动预览跟随鼠标),右键显示 / 隐藏图标 |
74
84
  | ⚙️ | **独立设置页** | 设置 → Islands UI:一键开关皮肤、强调色(预设 + 自定义 + 跟随主题) |
75
85
  | 📌 | **置顶聚合** | 置顶会话同时保留在原工作区,并聚合到「新会话」与「工作区」标题之间;分类可折叠 |
76
- | 🌙 | **深色模式** | 完整深色 token:近黑画布、深灰岛屿、白色透明交互层与深色阴影 |
86
+ | 🌙 | **深色模式** | 完整深色配色:近黑画布、深灰岛屿、白色透明交互层与深色阴影 |
77
87
  | 🔄 | **桌面更新入口** | 设置齿轮上方常驻;发现新版本、下载、校验、安装与失败各有独立状态,加载态使用强调色 3×3 点阵动效 |
78
88
  | ⌨️ | **快捷键** | `⌘B` 折叠工作区、`⌥⌘B` 右侧栏、`⌘,` 设置、`⌘⇧M` 模型弹层;按钮悬停显示当前键位 |
79
89
 
80
- 皮肤是纯客户端样式层;左侧栏图标排序与显隐、置顶聚合、定位与设置页也都在浏览器端完成,不新增 host 工具、服务或会话数据。
90
+ 所有改动都在界面层完成;左侧栏图标排序与显隐、置顶聚合、定位和设置页不会修改 Harness 的会话、设置或插件数据。
81
91
 
82
92
  ### 设计语言
83
93
 
@@ -109,103 +119,31 @@ dsh plugin --profile desktop remove dsh-islands-ui
109
119
 
110
120
  | 平台 | 状态 |
111
121
  | --- | --- |
112
- | macOS | ✅ 已实测(开发与日常使用环境) |
113
- | Windows | 🟡 已适配原生标题栏布局(不渲染插件顶栏)、左侧栏、设置齿轮、右侧工具原生位置、置顶聚合与模型弹层;**尚未在真实 Windows 电脑上实测** |
114
- | Linux | 🟡 使用同一套顶栏与左侧栏;**尚未实测** |
115
-
116
- Windows 下不渲染插件顶栏,岛屿直接接在原生标题栏下方;工作区折叠使用标题栏左上角的 DSH 原生侧栏按钮,右侧栏开关、底部面板入口与会话工具留在 DSH 原生的会话头位置(位置、外观与悬停都交给宿主)。左侧栏、设置齿轮和快捷键均已启用。Linux 按原生窗口装饰处理,不同桌面环境可能有差异。
117
-
118
- > **反馈**:如果你在 Windows 或 Linux 上遇到标题栏高度、拖拽区域、窗口按钮重叠、布局错位或快捷键问题,欢迎提交 [Issue](https://github.com/DawnCHL/dsh-islands-ui/issues) 或 PR,附系统版本、窗口尺寸和截图即可。
119
-
120
- ---
121
-
122
- ## 状态存储
122
+ | macOS | ✅ 已实测 |
123
+ | Windows | ✅ 已实测(原生标题栏布局) |
124
+ | Linux | 🟡 按原生窗口装饰适配,尚未实测 |
123
125
 
124
- | `localStorage` key | 作用 |
125
- | --- | --- |
126
- | `dsh-islands-ui:enabled` | `1` / `0`,总开关 |
127
- | `dsh-islands-ui:accent` | 自定义强调色(不存在表示跟随主题) |
128
- | `dsh-islands-ui:pinned-collapsed` | 置顶分类是否折叠 |
129
- | `dsh-islands-ui:rail` | 左侧栏图标的顺序与隐藏列表 |
126
+ Windows 使用 DSH 原生标题栏,不渲染插件的 40px 顶栏;工作区折叠由标题栏左上角的原生侧栏按钮控制,右侧栏开关与会话工具留在 DSH 原生会话头位置。macOS / Linux 使用同一套 40px 顶栏;Linux 的窗口装饰因桌面环境而异。
130
127
 
131
- 清除这些 key 即可恢复默认。
128
+ > 反馈时请附上系统版本、DSH 版本、窗口尺寸和截图,方便定位问题。
132
129
 
133
130
  ---
134
131
 
135
- ## 开发
136
-
137
- ```text
138
- src/
139
- 00-tokens.css 设计变量 + 重定向 Harness 的 --dsw-* 别名(唯一真源)
140
- 10-shell.css 三栏框架 → 画布 + 岛屿
141
- 15-topbar.css 窗口顶部栏
142
- 16-rail.css 左侧图标栏、拖动排序、显隐菜单、设置齿轮
143
- 20-sidebar.css 工作区岛屿、置顶聚合、会话行状态
144
- 30-conversation.css 会话页、输入框、顶部工具组
145
- 40-settings.css 设置弹窗、设置页外壳
146
- 45-model-picker.css 模型/推理两级弹层
147
- 50-components.css 偏好行、开关、强调色选择器等共享组件
148
- 60-peers.css 第三方插件适配(仅此文件允许 [class*=...])
149
- host/runtime.js 宿主契约、本地名提取、区域/部件表、遍历器
150
- client.template.js 浏览器端入口模板(React 组件 + 插槽注册)
151
- build.mjs 把 src/*.css 与 host/runtime.js 内联进 client.js
152
- client.js 构建产物(自包含,运行时无法读文件)
153
- scripts/check-css.mjs 选择器门禁
154
- scripts/check-parts.mjs 部件表门禁
155
- scripts/check-package.mjs 发布前包内容校验
156
- test/ 本地名与表完整性测试
157
- skin.json 主题管理器清单
158
- docs/ 发布、商店收录与宿主契约说明
159
- ```
160
-
161
- ```bash
162
- npm run build # 修改 src/*.css 或模板后重新生成 client.js
163
- npm run check # 校验 client.js、CSS/部件门禁、单元测试和 npm 包
164
- npm run pack:check # npm pack --dry-run
165
- npm pack # 生成 dsh-islands-ui-<version>.tgz
166
- ```
167
-
168
- 开发时直接在 Harness 中刷新(`⌘R`)即可;`client.js` 是自包含的浏览器模块,样式在加载时注入。模块加载器运行时无法读取包内文件,因此修改 CSS 后必须重新构建并提交 `client.js`。
132
+ ## 数据与隐私
169
133
 
170
- ### 包内容
134
+ 皮肤只重绘界面,不会修改或上传你的会话、设置或插件数据。
171
135
 
172
- | 路径 | 作用 |
173
- | --- | --- |
174
- | `index.js` | host 半边;皮肤没有 host 行为,仅用于保持合法的 profile row |
175
- | `client.js` | 浏览器半边:样式注入、左侧栏、置顶聚合、设置页与模型弹层 |
176
- | `cordis.patch.yml` | 一条 `insert`,row name 为 `dsh-islands-ui` |
177
- | `skin.json` | 给主题管理器的 id、名称、强调色、body 属性与挂载行 |
178
- | `screenshots.json` | 商店读取的 1–8 张仓库相对路径截图 |
179
- | `assets/` | 商店图标与 README 截图 |
180
-
181
- ### 仓库配置
182
-
183
- | 文件 | 作用 |
184
- | --- | --- |
185
- | `.github/workflows/ci.yml` | PR / main 上跑 `npm run check` 和 `npm pack --dry-run`,Node 20 / 22 / 24 矩阵 |
186
- | `.github/workflows/publish.yml` | 推送 `v*` tag 或手动触发发布;tag 必须与 `package.json` 版本一致,使用 `NPM_TOKEN` secret |
187
- | `.github/ISSUE_TEMPLATE/` | Bug / Feature 表单,强制填写 DSH 版本、平台和复现步骤 |
188
- | `.github/PULL_REQUEST_TEMPLATE.md` | PR 自检:构建、宽窄屏、深色模式、无本地路径 |
189
- | `.github/dependabot.yml` | 每周检查 GitHub Actions 版本更新 |
190
- | `.editorconfig` / `.gitattributes` | 统一 UTF-8、LF、2 空格;图片和 tarball 按二进制处理 |
191
- | `.nvmrc` | 本地开发使用 Node 24 |
192
- | `CONTRIBUTING.md` | 开发、构建、提交约定和 PR 清单 |
193
- | `SECURITY.md` | 支持版本与私密漏洞报告流程 |
194
- | `scripts/check-package.mjs` | 包里 manifest、row name、client 构建、截图和 `files[]` 的发布前校验 |
195
-
196
- 仓库设置:`main` 需要 PR、CI 的 `check (Node 20/22/24)` 通过和对话解决后才能合并,且禁止 force push;`v*` tag 禁止删除/移动;外部 fork PR 需要维护者批准。
136
+ 总开关、强调色、置顶折叠和左侧栏顺序保存在本机浏览器存储中;关闭皮肤不会删除这些偏好。需要重置时,可在设置中改回默认,或清除该站点的本地存储。
197
137
 
198
138
  ---
199
139
 
200
- ## 兼容性与边界
140
+ ## 兼容性
201
141
 
202
- - 皮肤是**纯客户端样式层**,不替换会话、设置或插件的数据与交互;左侧栏图标排序与显隐、置顶聚合、定位等额外能力也只在客户端完成。
203
- - 样式只依赖两层稳定信息:Harness 公开的契约(`data-slot`、`data-phase`、`data-conversation-scroll`、`data-composer-card`、`data-row-key`、`role` / `aria-*`),以及皮肤写回的部件标记 `data-islands-part`。宿主类名只在 `src/host/runtime.js` 的部件表里以本地名出现,哈希段不进入任何选择器;Harness 重新构建改变哈希时无需更新,宿主改本地名时对应规则安静失效,改表一行即可恢复。
204
- - 启动时只校验核心契约(`[data-slot="root"]`、`[data-slot="sidebar"]`)和核心部件(frame、center column、sidebar root);核心契约缺失时才**不启用皮肤**,DSH 保持默认外观,右下角弹出说明(5 秒自动关闭、可手动关闭、点击进入插件设置),设置 → Islands UI 里也常驻一条黄色说明,并提供会话级的「仍然启用」。单个装饰部件缺失只让对应规则失效,不会关掉整个皮肤。
205
- - 设置 → Islands UI 显示检测到的 DSH 版本与侧栏结构(`flat` / `scroll`,由部件是否存在推断),便于排查升级后的样式问题。
206
- - 深色模式跟随 Harness 的 `data-ds-dark-theme`;强调色通过重映射 `--dsw-alias-state-business-primary` 生效,会同时影响皮肤和原生按钮。
207
- - Windows 使用 `data-windows-titlebar` 与 `--dsh-windows-titlebar-height` 适配原生标题栏,并且不渲染插件顶栏;Linux 暂无专用标题栏变量,按原生窗口装饰处理。
208
- - `dsh.engines.dsh` / `engines.dsh` 把兼容线钉在 `>=0.2.2-rc.1 <0.3.0-0`,越界时插件管理器会拒绝安装或升级;同一兼容线内部的结构差异由同一张样式表按部件是否存在处理,不再按版本注入方言。`skin.json` 为主题管理器提供 id、强调色和挂载行。
142
+ - 支持 DSH `0.2.2-rc.1`、`0.2.2-rc.2` 与 `0.2.2-rc.3`;更低版本不会加载。
143
+ - 如果 DSH 升级改变了关键界面结构,皮肤会自动停用并提示;更新 Islands UI 后刷新页面即可恢复。确认界面正常时,可在 **设置 → Islands UI** 临时重新启用。
144
+ - 深色模式跟随 DSH;强调色会同时作用于皮肤和原生按钮。
145
+ - 不建议同时启用多个主题/皮肤:它们会修改同一批界面配色和布局规则,后加载的会覆盖先加载的。
146
+ - Windows 使用原生标题栏;Linux 使用原生窗口装饰,不同桌面环境的表现可能有差异。
209
147
 
210
148
  ---
211
149
 
@@ -213,41 +151,36 @@ npm pack # 生成 dsh-islands-ui-<version>.tgz
213
151
 
214
152
  **安装后没有变化?**
215
153
 
216
- 先确认当前 profile 里插件是启用状态,并刷新页面(`⌘R` / `Ctrl+R`)。本地开发版还需要确认 `client.js` 已经重新构建;从 npm 安装则检查 `npm view dsh-islands-ui version` 与已安装版本是否一致。DSH 版本低于 `0.2.2-rc.1` 时不会加载。
154
+ 先确认当前 DSH 配置(profile)中插件已启用,并刷新页面(`⌘R` / `Ctrl+R`)。如果 DSH 版本低于 `0.2.2-rc.1`,请先升级 DSH;也可以到 **设置 → Islands UI** 查看皮肤状态。
217
155
 
218
156
  **会修改我的会话、设置或插件数据吗?**
219
157
 
220
- 不会。皮肤只注入样式并注册浏览器端插槽;左侧栏固定、置顶聚合、定位和强调色都存在 `localStorage` 里,不写会话或 profile 数据。
158
+ 不会。皮肤只重绘界面;总开关、强调色、置顶折叠和左侧栏顺序保存在本机浏览器存储中。
221
159
 
222
160
  **怎么彻底恢复默认外观?**
223
161
 
224
- 设置 → Islands UI 关闭总开关即可立即恢复。需要连偏好一起清空时,删除 `dsh-islands-ui:*` 这几个 `localStorage` key(见[状态存储](#状态存储))。
162
+ 在 **设置 → Islands UI** 关闭总开关即可立即恢复。需要连偏好一起重置时,清除该站点的本地存储。
225
163
 
226
164
  **可以和别的主题/皮肤同时开吗?**
227
165
 
228
- 不建议。两个皮肤会同时改同一批 `--dsw-*` token 和布局,后加载的会覆盖前一个。dsh-market 的「主题」Tab 本身按单主题激活管理;如果你手动装了多个,保留一个即可。
166
+ 不建议。多个皮肤会同时修改同一批界面配色和布局规则,后加载的会覆盖前一个。
229
167
 
230
168
  **为什么某些界面还是旧样式?**
231
169
 
232
- 说明皮肤**检测到核心宿主契约缺失,已自动关闭**。DSH 升级可能改掉 `data-slot`、`data-phase` 等公开契约;半启用会变成双栏重叠,所以插件宁可保持默认外观:右下角会有提示,设置 → Islands UI 顶部有黄色说明条并列出缺失的契约。把 Islands UI 更新到适配当前 DSH 的版本即可恢复;确认界面正常也可以点「仍然启用」临时开启(下次启动重新检测)。
170
+ DSH 升级可能改变界面结构;皮肤检测到关键界面不匹配时会自动停用,避免出现双栏重叠。更新 Islands UI 到适配当前 DSH 的版本后刷新即可恢复;确认界面正常时,也可以在设置页点「仍然启用」临时开启(下次启动会重新检测)。
233
171
 
234
172
  **Windows / Linux 能用吗?**
235
173
 
236
- 已按原生标题栏(Windows 不渲染插件顶栏)、左侧栏、右侧工具原生位置和标题栏高度适配,但还没有在真实 Windows / Linux 机器上实测。遇到标题栏、拖拽区或窗口按钮问题,欢迎按 Issue 模板反馈。
237
-
238
- **会发到插件商店吗?**
239
-
240
- npm 发布后 DSHHub 会自动发现;dsh-market 的「主题」Tab 读取 awesome-dsh-plugin 目录,需要仓库满足收录条件后提交一条 `theme` 条目。具体步骤见 [docs/publishing.md](docs/publishing.md)。
174
+ Windows 已实测,使用原生标题栏布局;Linux 按原生窗口装饰适配,尚未实测。遇到标题栏、拖拽区或窗口按钮问题,欢迎反馈。
241
175
 
242
176
  ---
243
177
 
244
- ## 贡献与安全
178
+ ## 反馈
245
179
 
246
- - 开发、构建、提交约定和 PR 清单:[CONTRIBUTING.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/CONTRIBUTING.md)
247
- - Bug / 兼容性问题:[Issues](https://github.com/DawnCHL/dsh-islands-ui/issues)
248
- - 改进或新功能:欢迎直接开 PR
249
- - 特别欢迎 Windows / Linux 的实测反馈(截图 + 系统版本 + 窗口尺寸)
250
- - 安全漏洞:不要开公开 Issue,按 [SECURITY.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/SECURITY.md) 走私密报告
180
+ - 遇到 Bug 或兼容性问题:[提交 Issue](https://github.com/DawnCHL/dsh-islands-ui/issues)
181
+ - 反馈时请附上系统版本、DSH 版本、窗口尺寸和截图。
182
+ - 功能建议也欢迎在 Issues 中提出。
183
+ - 安全漏洞:请不要开公开 Issue,按 [SECURITY.md](https://github.com/DawnCHL/dsh-islands-ui/blob/main/SECURITY.md) 私密报告。
251
184
 
252
185
  ## License
253
186
 
package/client.js CHANGED
@@ -209,16 +209,35 @@ const CONTENT_PARTS = {
209
209
  const SETTINGS_PARTS = {
210
210
  overlay: 'settings-overlay',
211
211
  mask: 'settings-mask',
212
- panel: 'settings-panel',
212
+ balanceCard: 'account-balance-card',
213
+ };
214
+
215
+ /**
216
+ * The dialog's own four seats. These local names (`header`, `options`,
217
+ * `close`, `nav`) are generic enough to appear inside a settings page's
218
+ * content, so they are only read from the dialog's direct children.
219
+ */
220
+ const SETTINGS_SHELL_PARTS = {
213
221
  navTitle: 'settings-nav-title',
214
222
  nav: 'settings-nav',
223
+ header: 'settings-header',
224
+ options: 'settings-options',
225
+ };
226
+
227
+ /** The header's own close control, one level below the header seat. */
228
+ const SETTINGS_HEADER_PARTS = {
229
+ close: 'settings-close',
230
+ };
231
+
232
+ /**
233
+ * The navigation's inner parts. `active` is especially common, so this region
234
+ * is anchored to the navigation itself and never sees page content.
235
+ */
236
+ const SETTINGS_NAV_PARTS = {
215
237
  navList: 'settings-nav-list',
216
238
  navCell: 'settings-nav-cell',
217
239
  active: 'settings-nav-active',
218
240
  navIcon: 'settings-nav-icon',
219
- card: 'settings-card',
220
- section: 'settings-section',
221
- balanceCard: 'account-balance-card',
222
241
  };
223
242
 
224
243
  /** The skin's own update entry, read from the host's foot and toggle seats. */
@@ -312,18 +331,35 @@ const PART_REGIONS = Object.freeze([
312
331
  parts: COMPOSER_PARTS,
313
332
  },
314
333
  {
334
+ // `panel` is a root part: only the dialog itself may take it. The plugin
335
+ // settings pages also use a local `.panel` for their tab body, and
336
+ // broadcasting the panel part into page content resized that body to the
337
+ // skin's 860px dialog (issue #5, item 2).
315
338
  id: 'settings',
316
339
  within: HOST.SETTINGS_OVERLAY,
317
340
  parts: SETTINGS_PARTS,
341
+ rootParts: { panel: 'settings-panel' },
318
342
  },
319
343
  {
320
- id: 'settings-panel',
344
+ // The dialog's seats are direct children. Keeping them as rootParts stops
345
+ // a page's own `.header`, `.options` or `.close` from inheriting them.
346
+ id: 'settings-shell',
321
347
  within: partSelector('settings-panel'),
322
- parts: {
323
- header: 'settings-header',
324
- options: 'settings-options',
325
- close: 'settings-close',
326
- },
348
+ parts: {},
349
+ rootParts: SETTINGS_SHELL_PARTS,
350
+ },
351
+ {
352
+ // `navCell`/`active`/`navIcon` stay inside the navigation subtree.
353
+ id: 'settings-nav',
354
+ within: partSelector('settings-nav'),
355
+ parts: SETTINGS_NAV_PARTS,
356
+ },
357
+ {
358
+ // The close button sits inside the header, so it gets its own seat.
359
+ id: 'settings-header',
360
+ within: partSelector('settings-header'),
361
+ parts: {},
362
+ rootParts: SETTINGS_HEADER_PARTS,
327
363
  },
328
364
  ]);
329
365
 
@@ -486,11 +522,13 @@ function installParts() {
486
522
  }
487
523
  };
488
524
  }
489
- 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/* ---- 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/* 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 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 --isl-update-bg: #4176e6;\n --isl-update-bg-hover: #3264d4;\n --isl-update-danger: #d93a40;\n}\n\nbody[data-islands-ui][data-ds-dark-theme] {\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\nbody[data-islands-ui] .isl-updateButton.is-pending {\n opacity: 0.82;\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/* ---- 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 stay white; separation comes from hairlines, not fills. */\nbody[data-islands-ui] [data-islands-part~=\"settings-options\"] [data-islands-part~=\"settings-card\"] {\n border-radius: var(--isl-radius-lg);\n background: var(--isl-surface);\n border-color: var(--isl-border-soft);\n}\n\nbody[data-islands-ui] [data-islands-part~=\"settings-options\"] [data-islands-part~=\"settings-section\"] {\n border-radius: var(--isl-radius-md);\n background: transparent;\n}\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 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/* ---- 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}";
525
+ 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/* ---- 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/* 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 --isl-update-bg: #4176e6;\n --isl-update-bg-hover: #3264d4;\n --isl-update-danger: #d93a40;\n}\n\nbody[data-islands-ui][data-ds-dark-theme] {\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\nbody[data-islands-ui] .isl-updateButton.is-pending {\n opacity: 0.82;\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/* ---- 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/* ---- 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}";
490
526
 
491
527
  const ATTRIBUTE = SKIN_ATTR;
492
528
  const STORAGE_KEY = 'dsh-islands-ui:enabled';
493
529
  const WORKSPACE_ATTR = 'data-islands-workspace-collapsed';
530
+ /** Inline no-op that wakes the desktop caption-colour observer. */
531
+ const CAPTION_SYNC_PROPERTY = '--isl-caption-sync';
494
532
  /** Escape hatch, session scoped so the next launch re-runs the check. */
495
533
  const FORCE_KEY = 'dsh-islands-ui:force';
496
534
  /**
@@ -723,8 +761,18 @@ function installParts() {
723
761
  function syncAttribute() {
724
762
  const body = document.body;
725
763
  if (body === null) return;
726
- if (enabled) body.setAttribute(ATTRIBUTE, '');
727
- else body.removeAttribute(ATTRIBUTE);
764
+ if (enabled) {
765
+ body.setAttribute(ATTRIBUTE, '');
766
+ // Desktop colours the Windows caption buttons from a probe that reads
767
+ // --dsw-specific-sidebar-fill. Its observer watches body's style and
768
+ // data-ds-dark-theme, not the skin's data-islands-ui, so the caption is
769
+ // otherwise measured before this attribute turns the token white.
770
+ // Writing the custom property nudges that observer to re-measure.
771
+ body.style.setProperty(CAPTION_SYNC_PROPERTY, '1');
772
+ } else {
773
+ body.removeAttribute(ATTRIBUTE);
774
+ body.style.removeProperty(CAPTION_SYNC_PROPERTY);
775
+ }
728
776
  }
729
777
 
730
778
  function subscribe(listener) {
@@ -1142,6 +1190,13 @@ function installParts() {
1142
1190
  window.setTimeout(tick, 140);
1143
1191
  }
1144
1192
 
1193
+ /** The Settings row inside the account menu, if that menu is open. */
1194
+ function accountSettingsItem() {
1195
+ return [
1196
+ ...document.querySelectorAll('[role="menu"] [role="menuitem"], [role="menu"] [role="menuitemradio"], [role="menu"] button, [role="menu"] a'),
1197
+ ].find((element) => /设置|Settings|偏好|Preferences/i.test(element.textContent ?? '')) ?? null;
1198
+ }
1199
+
1145
1200
  function openSettings(options) {
1146
1201
  const section = options?.section;
1147
1202
  // The dialog may already be open (the compatibility banner lives inside
@@ -1150,7 +1205,7 @@ function installParts() {
1150
1205
  revealSettingsSection(section);
1151
1206
  return;
1152
1207
  }
1153
- // The host exposes a direct settings trigger in the sidebar foot; the
1208
+ // Some builds expose a direct settings trigger in the sidebar foot; the
1154
1209
  // account menu path remains for builds that fold Settings into a menu.
1155
1210
  const direct = document.querySelector(HOST.SETTINGS_TRIGGER);
1156
1211
  if (direct instanceof HTMLElement) {
@@ -1160,14 +1215,38 @@ function installParts() {
1160
1215
  }
1161
1216
  const trigger = document.querySelector(`${partSelector('foot-area')} button[aria-haspopup="menu"]`);
1162
1217
  if (trigger instanceof HTMLElement) {
1163
- trigger.click();
1164
- window.setTimeout(() => {
1165
- const item = [
1166
- ...document.querySelectorAll('[role="menu"] [role="menuitem"], [role="menu"] [role="menuitemradio"], [role="menu"] button, [role="menu"] a'),
1167
- ].find((element) => /设置|Settings|偏好|Preferences/i.test(element.textContent ?? ''));
1168
- if (item instanceof HTMLElement) item.click();
1169
- revealSettingsSection(section);
1170
- }, 60);
1218
+ // Click the account menu's Settings row as soon as it exists. Waiting a
1219
+ // fixed delay lets the account menu paint and reads as an extra step.
1220
+ // A mutation observer fires before the next paint, so the menu never
1221
+ // becomes the visible intermediate state.
1222
+ let observer = null;
1223
+ let timer = null;
1224
+ const stop = () => {
1225
+ observer?.disconnect();
1226
+ observer = null;
1227
+ if (timer !== null) window.clearTimeout(timer);
1228
+ timer = null;
1229
+ };
1230
+ const clickSettings = () => {
1231
+ if (document.querySelector(HOST.SETTINGS_DIALOG) !== null) {
1232
+ stop();
1233
+ return true;
1234
+ }
1235
+ const item = accountSettingsItem();
1236
+ if (!(item instanceof HTMLElement)) return false;
1237
+ stop();
1238
+ item.click();
1239
+ return true;
1240
+ };
1241
+ if (trigger.getAttribute('aria-expanded') !== 'true') trigger.click();
1242
+ if (!clickSettings()) {
1243
+ observer = new MutationObserver(() => {
1244
+ clickSettings();
1245
+ });
1246
+ observer.observe(document.body, { childList: true, subtree: true });
1247
+ timer = window.setTimeout(stop, 800);
1248
+ }
1249
+ revealSettingsSection(section);
1171
1250
  return;
1172
1251
  }
1173
1252
  try {
@@ -3222,6 +3301,27 @@ function installParts() {
3222
3301
  observer?.disconnect();
3223
3302
  };
3224
3303
  }, 'dsh-islands-ui: native collapse conversion');
3304
+
3305
+ // Windows keeps DSH's native toggle in the caption row. The native
3306
+ // layout action closes the sidebar by setting its width to 0 and
3307
+ // reopens it at the contract default, forgetting the user's drag
3308
+ // width. Run the skin's width-preserving workspace collapse from
3309
+ // that same control instead; the native button stays where it is.
3310
+ ctx.effect(() => {
3311
+ const onClick = (event) => {
3312
+ if (!(event.target instanceof Element)) return;
3313
+ if (!document.body.hasAttribute(ATTRIBUTE)) return;
3314
+ if (!document.documentElement.hasAttribute('data-windows-titlebar')) return;
3315
+ if (!(event.target.closest(HOST.SIDEBAR_TOGGLE) instanceof HTMLElement)) return;
3316
+ // React delegates its onClick at the root; stop the click before
3317
+ // it reaches that listener so DSH's toggleSidebar never runs.
3318
+ event.preventDefault();
3319
+ event.stopImmediatePropagation();
3320
+ toggleWorkspace();
3321
+ };
3322
+ document.addEventListener('click', onClick, true);
3323
+ return () => document.removeEventListener('click', onClick, true);
3324
+ }, 'dsh-islands-ui: windows workspace toggle');
3225
3325
  };
3226
3326
  skinRegistrar = () => registerSkinChrome(ctx);
3227
3327
 
@@ -26,7 +26,9 @@ Islands UI 不再把宿主构建输出的哈希类名写进样式表或 DOM 查
26
26
  - 写 `data-islands-part`(多值空格分隔);
27
27
  - 之后由 `MutationObserver` 处理新挂载节点和 `class` 变化。
28
28
 
29
- 区域可以嵌套。子区域可以锚在父区域写出的部件上(例如 `settings-panel`、`settings-area`),遍历器写完父部件后会再检查一次区域锚点。
29
+ 区域可以嵌套。子区域可以锚在父区域写出的部件上(例如 `settings-panel`、`settings-nav`、`settings-area`),遍历器写完父部件后会再检查一次区域锚点。
30
+
31
+ `parts` 会作用于区域内的所有后代,因此 `panel`、`card`、`section`、`header` 这类通用本地名不能直接放进 `parts`:DSH 的插件设置页也会使用这些类名。对话框外壳的座位改用 `rootParts` 只匹配直接子级,`close` 再锚在 `header` 区域里;`navCell`/`active` 等只在 `settings-nav` 子树内匹配。新增区域时优先选择更窄的锚点,而不是把通用名字广播给整棵子树。
30
32
 
31
33
  ## 宿主改名时
32
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-islands-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.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",