sideby 0.35.0 → 0.35.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.
@@ -1,7 +1,12 @@
1
1
  // The Panel page's styles: design tokens (a host theme layers its values over them, see theme.ts) and the rules
2
- // that read them. Every color, radius and size below comes from a token, so a host theme reaches every component.
2
+ // that read them. Every color comes from a token, so a host theme reaches every component. Type sizes, weights, radii,
3
+ // spacing and motion follow adonis-brand's design system (design-system/README.md): sizes 11/12/13/14/16/20px, weights
4
+ // 400/500/600, radii from --radius-*, spacing in steps of 4px, motion from --duration-* and --ease-*; a selected item
5
+ // takes --selected (soft accent fill) with --brand text and weight 500, no outline.
3
6
  import { resolveTheme, THEME_TOKENS } from './theme.js';
4
7
  import { BUILTIN_THEMES, DEFAULT_THEME_ID } from './themes.js';
8
+ // The component library's dropdown menu, generated by the brand repo's add script (--inline); do not edit it.
9
+ import { UI_CSS } from './ui-css.js';
5
10
  // The default Theme's colors (spec §3.34): every color token, as declarations for the token blocks below.
6
11
  const DEFAULT_THEME = BUILTIN_THEMES.find((t) => t.id === DEFAULT_THEME_ID);
7
12
  const colorDecls = (tokens) => Object.entries(tokens)
@@ -10,8 +15,11 @@ const colorDecls = (tokens) => Object.entries(tokens)
10
15
  // Colors defined from other tokens, before each scheme's Theme colors so a Theme can set them; repeated in both schemes so they follow that scheme's base colors. Dark mode keeps
11
16
  // the logo tile light: the painted mark (core/brand-mark.ts, ADR-0064) is drawn for a light ground. `--logo-fg` no longer
12
17
  // colours the mark (it is a painting); it stays the brand blue so Themes that set it keep working (ADR-0050).
18
+ // A selected item takes `--selected` (soft accent fill) with `--brand` text; `--on-badge` is the white of the initials on
19
+ // each Host's fixed logo color, whatever the Theme.
13
20
  const DERIVED_COLORS = `
14
21
  --btn-text: var(--text); --btn-hover-text: var(--accent); --check: var(--focus);
22
+ --selected: var(--accent-soft); --brand: var(--accent); --on-badge: #fff;
15
23
  --logo-bg: var(--surface-2); --logo-fg: #3f8fc4; /* design-system-ignore: the brand blue (ADR-0050); the painted mark keeps its own colours (ADR-0064) */ --logo-line: var(--border);
16
24
  --focus-outline: 2px solid var(--focus); --focus-ring: none;
17
25
  --scrim: color-mix(in srgb, var(--text) 40%, transparent);`;
@@ -22,10 +30,13 @@ const DERIVED_COLORS = `
22
30
  // type, shape and layout tokens are shared by both schemes.
23
31
  const LIGHT_TOKENS = `
24
32
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
25
- --font-size: 14px; --small: 12.5px; --control-size: 13.5px; --heading-size: 15px; --large: 16px; --title-size: 22px;
26
- --title-weight: 750; --heading-weight: 650; --strong-weight: 600; --button-weight: 600; --primary-weight: 500;
27
- --radius: 14px; --ctl-radius: 8px; --primary-radius: 999px; --chip-radius: 999px; --ctl-h: 34px; --ctl-h-sm: 28px; --field-h: 36px;
28
- --content-width: 1180px; --gutter: 24px;${DERIVED_COLORS}
33
+ --font-size: 13px; --small: 12px; --control-size: 13px; --heading-size: 16px; --large: 16px; --title-size: 20px;
34
+ --title-weight: 600; --heading-weight: 600; --strong-weight: 600; --button-weight: 500; --primary-weight: 500;
35
+ --radius: 10px; --ctl-radius: 6px; --primary-radius: 999px; --chip-radius: 999px; --ctl-h: 34px; --ctl-h-sm: 28px; --field-h: 36px;
36
+ --content-width: 1180px; --gutter: 24px;
37
+ --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 10px; --radius-pill: 999px;
38
+ --duration-fast: 120ms; --duration-base: 160ms; --duration-slow: 200ms;
39
+ --ease-out: cubic-bezier(0.2, 0, 0, 1); --ease-in: cubic-bezier(0.4, 0, 1, 1);${DERIVED_COLORS}
29
40
  --spark: oklch(from var(--primary) clamp(0.55, l, 0.62) c h); --spark-soft: oklch(from var(--primary) 0.83 calc(c * 0.6) h);
30
41
  ${colorDecls(DEFAULT_THEME.light)};
31
42
  --float-shadow: 0 10px 30px color-mix(in srgb, var(--text) 14%, transparent), 0 2px 6px color-mix(in srgb, var(--text) 6%, transparent);`;
@@ -60,136 +71,139 @@ export function tokenStyles(theme) {
60
71
  const CSS = `
61
72
  * { box-sizing: border-box; }
62
73
  html { -webkit-text-size-adjust: 100%; }
63
- body { margin: 0; background: var(--bg); color: var(--text); font: var(--font-size)/1.5 var(--font); font-variant-numeric: tabular-nums; }
74
+ body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
64
75
  [hidden] { display: none !important; }
65
76
  .top-in, .wrap { max-width: var(--content-width); margin: 0 auto; }
66
77
  .top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 0; }
67
78
  /* When the name, its version pill and the buttons do not fit one row, the buttons wrap below, on the right. */
68
- .top-in { flex-wrap: wrap; row-gap: 10px; }
79
+ .top-in { flex-wrap: wrap; row-gap: 12px; }
69
80
  .top-in > .top-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
70
81
  .wrap { padding: 20px var(--gutter) 40px; }
71
82
  .header-bar .top { background: var(--surface); border-bottom: 1px solid var(--border); }
72
- .header-bar .top-in { min-height: 84px; padding: 14px var(--gutter); }
83
+ .header-bar .top-in { min-height: 84px; padding: 16px var(--gutter); }
73
84
  .header-bar .wrap { padding-top: 20px; }
74
85
  h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
75
- h2 { font-size: var(--heading-size); font-weight: var(--heading-weight); }
76
- b, strong { font-weight: var(--strong-weight); }
86
+ h2 { font-size: 16px; font-weight: 600; }
87
+ b, strong { font-weight: 600; }
77
88
  p { margin: 0; }
78
89
  a { color: var(--accent); text-decoration: none; }
79
90
  a:hover { text-decoration: underline; }
80
- code, .mono { font-family: var(--mono); font-size: 0.92em; }
91
+ code, .mono { font-family: var(--mono); font-size: 12px; }
81
92
  .muted { color: var(--muted); }
82
93
  .faint { color: var(--faint); }
83
- .small { font-size: var(--small); }
94
+ .small { font-size: 12px; }
84
95
  .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
85
- .sep { color: var(--faint); margin: 0 6px; }
96
+ .sep { color: var(--faint); margin: 0 8px; }
86
97
  .brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
87
- .brand h1 { font-size: var(--title-size); font-weight: var(--title-weight); line-height: 1.3; letter-spacing: -0.02em; }
98
+ .brand h1 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
88
99
  .tagline { color: var(--muted); font-size: 13px; }
89
100
  /* When the account data was read; the dot says whether it still refreshes on its own (green) or stopped (amber). */
90
- #updated { display: inline-flex; align-items: center; gap: 6px; }
101
+ #updated { display: inline-flex; align-items: center; gap: 8px; }
91
102
  #updated.is-live::before, #updated.is-stale::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-bar); }
92
103
  #updated.is-stale::before { background: var(--warn-bar); }
93
104
  /* The running version, a quiet pill after the name; with a newer version it takes the accent and a dot (spec §3.23). */
94
105
  .title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
95
- .ver-pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font: 500 11.5px/18px var(--mono); cursor: pointer; white-space: nowrap; }
106
+ .ver-pill { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 18px; cursor: pointer; white-space: nowrap; }
96
107
  .ver-pill:hover:not(:disabled), .ver-pill[aria-expanded="true"] { color: var(--on-primary); border-color: var(--primary-hover-border); background: var(--primary-hover); }
97
108
  .ver-pill.has-update:hover:not(:disabled), .ver-pill.has-update[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); background: var(--active); }
98
109
  .ver-pill:disabled { cursor: default; }
99
110
  .ver-pill:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
100
111
  .ver-pill.has-update { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
101
112
  .ver-pill.has-update::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
102
- .logo { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--logo-bg); box-shadow: inset 0 0 0 1px var(--logo-line); }
113
+ .logo { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius: var(--radius-xl); background: var(--logo-bg); box-shadow: inset 0 0 0 1px var(--logo-line); }
103
114
  /* The painted mark (core/brand-mark.ts), 3 px in from the tile's edge; desktop/icon.ts lays the app icon out the same way. */
104
- .logo img { display: block; width: 100%; height: 100%; padding: 7.5%; box-sizing: border-box; object-fit: contain; }
115
+ .logo img { display: block; width: 100%; height: 100%; padding: 4px; box-sizing: border-box; object-fit: contain; }
105
116
  .top-actions { display: flex; align-items: center; gap: 8px; }
106
117
  .section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
107
118
  .section-head > div:first-child { min-width: 0; }
108
- .block { margin-bottom: 22px; }
119
+ .block { margin-bottom: 24px; }
109
120
  .ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
110
121
 
111
122
  /* Themes (spec §3.34): the cards in the Theme dialog, and the short fade while the page takes a new Theme. */
112
- .theme-head { margin: 12px 0 8px; color: var(--muted); font-size: var(--small); }
113
- .theme-head b { color: var(--text); font-weight: var(--strong-weight); }
123
+ .theme-head { margin: 12px 0 8px; color: var(--muted); font-size: 12px; }
124
+ .theme-head b { color: var(--text); font-weight: 600; }
114
125
  /* Theme dots: a 28px dot per Theme; the hairline keeps a black or white dot visible on a page of the same color. */
115
- .theme-dots { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; padding: 4px; }
116
- .theme-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 18%, transparent); cursor: pointer; transition: transform .12s; }
126
+ .theme-dots { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 4px; }
127
+ .theme-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 18%, transparent); cursor: pointer; transition: transform var(--duration-fast); }
117
128
  .theme-dot:hover:not(:disabled) { transform: scale(1.08); }
118
129
  .theme-dot[aria-checked=true] { outline: 2px solid var(--dot); outline-offset: 2px; cursor: default; }
119
- .theme-dot[aria-checked=true]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; text-shadow: 0 0 2px rgba(0,0,0,.45); } /* design-system-ignore: the check sits on the dot's own color, white with a soft edge reads on every accent */
130
+ .theme-dot[aria-checked=true]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-primary); font-size: 14px; font-weight: 600; }
120
131
  .theme-dot:disabled:not([aria-checked=true]) { opacity: .6; cursor: default; }
121
132
  .theme-dot:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }
122
133
  .theme-dot[aria-checked=true]:focus-visible { outline: 2px solid var(--focus); }
123
134
  .theme-status { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 0; min-width: 0; color: var(--muted); }
124
- .theme-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
125
- .theme-label { font-weight: var(--strong-weight); }
126
- .theme-row input[type=color] { width: 40px; height: 30px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--ctl-radius); background: var(--surface); cursor: pointer; }
127
- .theme-files { margin-top: 16px; display: grid; gap: 6px; }
128
- .theme-file { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); }
135
+ .theme-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
136
+ .theme-label { font-weight: 600; }
137
+ .theme-row input[type=color] { width: 40px; height: 30px; padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; }
138
+ .theme-files { margin-top: 16px; display: grid; gap: 8px; }
139
+ .theme-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
129
140
  .theme-file-name { display: flex; flex-direction: column; min-width: 0; }
130
141
  .theme-bad { color: var(--fail); }
131
- .theme-fade, .theme-fade * { transition: background-color .18s ease, color .18s ease, border-color .18s ease, fill .18s ease !important; }
142
+ .theme-fade, .theme-fade * { transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), fill var(--duration-base) var(--ease-out) !important; }
132
143
  @media (prefers-reduced-motion: reduce) { .theme-fade, .theme-fade * { transition: none !important; } }
133
144
  /* Summary: four quiet numbers in one surface. */
134
145
  .summary[hidden], #checkup[hidden] { display: none; }
135
- .summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; }
136
- .stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-width: 0; padding: 14px 18px; border-left: 1px solid var(--border); text-align: left; }
146
+ .summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
147
+ .stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 0; padding: 16px 20px; border-left: 1px solid var(--border); text-align: left; }
137
148
  .stat:first-child { border-left: 0; }
138
149
  .stat-text { min-width: 0; }
139
- .stat-label { color: var(--muted); font-size: var(--small); display: flex; align-items: center; gap: 6px; }
140
- .stat-value { font-size: 22px; font-weight: var(--heading-weight); letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
150
+ .stat-label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
151
+ .stat-value { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
141
152
  .stat-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
142
- .stat-btn { font: inherit; color: inherit; background: none; border: 0; border-left: 1px solid var(--border); cursor: pointer; transition: background-color .12s; }
153
+ .stat-btn { font: inherit; color: inherit; background: none; border: 0; border-left: 1px solid var(--border); cursor: pointer; transition: background-color var(--duration-fast); }
143
154
  .stat-btn:hover { background: var(--hover); }
144
- .stat-btn[aria-pressed=true] { background: var(--warn-soft); }
155
+ .stat-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); }
145
156
  .stat-warn .stat-value { color: var(--warn); }
146
157
  .stat-ok .stat-value { color: var(--ok); }
147
- .label-tip { display: inline-flex; align-items: center; gap: 6px; }
158
+ .label-tip { display: inline-flex; align-items: center; gap: 8px; }
148
159
 
149
160
  /* Toolbar */
150
161
  .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
151
162
  .search { position: relative; flex: 1 1 160px; min-width: 120px; display: block; }
152
163
  .search-ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
153
- .search .search-input { padding-left: 34px; padding-right: 34px; height: var(--ctl-h); }
154
- .kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font: 11px/16px var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; pointer-events: none; }
164
+ .search .search-input { padding-left: 36px; padding-right: 36px; height: var(--ctl-h); }
165
+ .kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 4px; pointer-events: none; }
155
166
  .search:focus-within .kbd, .search input:not(:placeholder-shown) ~ .kbd { display: none; }
156
167
  .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
157
- .tb-select { width: auto; height: var(--ctl-h); font-size: var(--control-size); }
158
- .seg { display: inline-flex; align-items: center; gap: 2px; height: var(--ctl-h); padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--ctl-radius); background: var(--surface); }
159
- .seg-btn { display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 10px; border: 0; border-radius: calc(var(--ctl-radius) - 2px); background: transparent; color: var(--muted); font: inherit; font-size: var(--control-size); cursor: pointer; }
168
+ .tb-select { width: auto; height: var(--ctl-h); font-size: 13px; }
169
+ /* An action in a picker (selectMenu data-action) puts its icon where a choice has its check, so the words line up. */
170
+ .select-wrap .ui-menu-item[data-action] { padding-left: 28px; }
171
+ .select-wrap .ui-menu-item[data-action] > svg { position: absolute; left: 8px; width: 14px; height: 14px; color: inherit; }
172
+ .seg { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h); padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); }
173
+ .seg-btn { display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
160
174
  .seg-btn:hover { color: var(--text); }
161
- .seg-btn[aria-selected=true] { background: var(--active); color: var(--text); font-weight: var(--strong-weight); }
162
- .pages { margin: 0 0 14px; }
175
+ .seg-btn[aria-selected=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
176
+ .pages { margin: 0 0 16px; }
163
177
  .row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
164
- .tune-confirm { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; }
165
- .pk-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--border); }
178
+ .tune-confirm { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
179
+ .pk-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--border); }
166
180
  .pk-row p { margin: 0; }
167
- .tune-confirm ul { margin: 0; padding-left: 18px; }
181
+ .tune-confirm ul { margin: 0; padding-left: 20px; }
168
182
  .tune-undo { margin: 0; }
169
183
  .tune-details { margin-top: 4px; }
170
- .tune-details summary { cursor: pointer; color: var(--muted); font-size: var(--small); }
171
- .tune-detail { border-left: 2px solid var(--border); padding: 4px 0 4px 10px; margin: 6px 0; display: flex; flex-direction: column; gap: 4px; }
172
- .tune-setting { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--border-strong); border-radius: calc(var(--radius) - 4px); padding: 10px 12px; }
173
- .tune-acct { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
184
+ .tune-details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
185
+ .tune-detail { border-left: 2px solid var(--border); padding: 4px 0 4px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 4px; }
186
+ .tune-setting { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: 12px 12px; }
187
+ .tune-acct { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
174
188
  .tune-acct-head { display: flex; align-items: center; gap: 8px; }
175
- .seg-btn[aria-pressed=true] { background: var(--active); color: var(--text); font-weight: var(--strong-weight); }
189
+ .seg-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
176
190
  .seg-btn:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
177
- .acct-head { margin-bottom: 10px; justify-content: flex-start; column-gap: 14px; }
178
- .acct-head h2 { display: flex; align-items: baseline; gap: 10px; }
191
+ .acct-head { margin-bottom: 12px; justify-content: flex-start; column-gap: 16px; }
192
+ .acct-head h2 { display: flex; align-items: baseline; gap: 12px; }
179
193
  #acct-count { font-weight: 400; }
180
194
 
181
195
  /* Family groups */
182
- .group { margin-bottom: 14px; min-width: 0; }
183
- .group-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
184
- .group-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; min-height: 48px; flex-wrap: wrap; }
196
+ .group { margin-bottom: 16px; min-width: 0; }
197
+ .group-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
198
+ .group-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; min-height: 48px; flex-wrap: wrap; }
185
199
  .group-cards .group-head { padding: 0 0 8px; min-height: 0; }
186
- .group-toggle { display: inline-flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 8px 5px 4px; border: 0; border-radius: var(--ctl-radius); background: none; color: var(--text); font: inherit; cursor: pointer; }
200
+ .group-toggle { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 8px 4px 4px; border: 0; border-radius: var(--radius-md); background: none; color: var(--text); font: inherit; cursor: pointer; }
187
201
  .group-toggle:hover { background: var(--hover); }
188
202
  .group-toggle:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
189
- .chev { color: var(--faint); transition: transform .15s; }
203
+ .chev { color: var(--faint); transition: transform var(--duration-fast); }
190
204
  .group-toggle[aria-expanded=true] .chev { transform: rotate(90deg); }
191
- .group-title { font-weight: var(--heading-weight); font-size: var(--heading-size); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
192
- .group-count { color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: var(--chip-radius); padding: 0 8px; line-height: 20px; }
205
+ .group-title { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
206
+ .group-count { color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: var(--radius-pill); padding: 0 8px; line-height: 20px; }
193
207
  .group-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
194
208
  .group-quota { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
195
209
 
@@ -198,10 +212,10 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
198
212
  same column titles. --qn is the number of quota columns; the page sets it on #accounts. */
199
213
  #accounts { --qn: 2; --q-w: 176px; --l-w: 92px; --m-w: 92px; --col-gap: 28px; }
200
214
  .row, .col-head { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--qn) * var(--q-w) + (var(--qn) - 1) * var(--col-gap)) var(--l-w) var(--m-w); column-gap: var(--col-gap); align-items: center; min-width: 0; }
201
- .row { grid-template-areas: "id quota last more" "detail detail detail detail" "notes notes notes notes"; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); transition: background-color .12s; }
215
+ .row { grid-template-areas: "id quota last more" "detail detail detail detail" "notes notes notes notes"; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
202
216
  .rows .row:hover { background: color-mix(in srgb, var(--hover) 55%, transparent); }
203
217
  .row:first-child { border-top: 0; }
204
- .row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
218
+ .row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
205
219
  .row-error .ident-name .name { color: var(--fail); }
206
220
  .row { position: relative; }
207
221
  /* Old quota keeps its colour (the colour is how full it is) and says its age in words. */
@@ -211,45 +225,45 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
211
225
  .more-opts > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
212
226
  .more-opts[open] > summary { margin-bottom: 4px; }
213
227
  .tune-custom > summary { cursor: pointer; color: var(--muted); font-size: 13px; margin: 4px 0; }
214
- .ai-asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
215
- .ai-ask { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
228
+ .ai-asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
229
+ .ai-ask { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
216
230
  .ai-ask:hover { border-color: var(--btn-hover-border); color: var(--accent); }
217
231
  .ai-ask .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
218
- .arrange-text .link-btn { margin-left: 6px; }
232
+ .arrange-text .link-btn { margin-left: 8px; }
219
233
  .q-asof { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
220
234
  .q-asof .ic { width: 11px; height: 11px; }
221
235
  .stat-act { align-self: flex-end; color: var(--accent); font-size: 12px; white-space: nowrap; }
222
- .next-why { margin: 0 0 10px; max-width: 280px; line-height: 1.5; }
236
+ .next-why { margin: 0 0 12px; max-width: 280px; line-height: 1.5; }
223
237
  .next-cmd { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
224
238
  /* A Same Login (spec §3.21, ADR-0026): one row; opened, a short line per directory. */
225
239
  .login-mark { display: inline-flex; flex: none; color: var(--muted); cursor: help; }
226
240
  .login-mark .ic { width: 13px; height: 13px; }
227
241
  .login-detail { flex-direction: column; gap: 8px; }
228
242
  .login-detail .rd-note { margin: 0; }
229
- .login-detail > .rd-browser { flex-direction: row; align-items: center; gap: 14px; }
243
+ .login-detail > .rd-browser { flex-direction: row; align-items: center; gap: 16px; }
230
244
  .login-detail > .rd-browser > .rd-label { flex: none; width: 68px; }
231
245
  /* The directories share one set of columns (subgrid), so a wider cell in one line moves every line alike. */
232
- .login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto auto; column-gap: 14px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); }
233
- .login-dir { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 6px 6px 6px 12px; }
246
+ .login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto auto; column-gap: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
247
+ .login-dir { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 8px 8px 8px 12px; }
234
248
  .login-dir > * { justify-self: start; min-width: 0; }
235
249
  .login-dir + .login-dir { border-top: 1px solid var(--border); }
236
- .login-dir .ld-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
237
- .login-dir .ld-name .name { font-weight: var(--strong-weight); }
250
+ .login-dir .ld-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
251
+ .login-dir .ld-name .name { font-weight: 600; }
238
252
  .login-dir .usage { justify-content: flex-start; }
239
253
  .login-dir .btn .ic { width: 13px; height: 13px; }
240
254
  /* The arrange mode (spec §3.25): a bar over the list, short rows, grips, up and down, pin. Drag only here. */
241
- .arrange-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 10px 8px 14px; border: 1px solid var(--primary-border); border-radius: var(--radius); background: var(--accent-soft); color: var(--text); }
255
+ .arrange-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 12px 8px 16px; border: 1px solid var(--primary-border); border-radius: var(--radius-xl); background: var(--accent-soft); color: var(--text); }
242
256
  .arrange-text { display: inline-flex; align-items: center; gap: 8px; }
243
257
  .arrange-text .ic { width: 14px; height: 14px; color: var(--accent); }
244
258
  .arrange-actions { display: inline-flex; align-items: center; gap: 12px; }
245
- .row.row-arrange { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 6px 8px; }
259
+ .row.row-arrange { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 8px 8px; }
246
260
  .row-arrange .ident { flex: 1; }
247
261
  .row-arrange.is-pinned { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
248
- .arrange-tools { display: inline-flex; align-items: center; gap: 2px; }
262
+ .arrange-tools { display: inline-flex; align-items: center; gap: 4px; }
249
263
  .arrange-tools .icon-btn { width: 28px; height: 28px; }
250
264
  .arrange-tools .icon-btn .ic { width: 14px; height: 14px; }
251
265
  /* One width for "Pin to top" and "Unpin", so the arrows line up down the list. */
252
- .arrange-tools .pin-btn { min-width: 96px; margin-left: 6px; justify-content: center; }
266
+ .arrange-tools .pin-btn { min-width: 96px; margin-left: 8px; justify-content: center; }
253
267
  .pin-btn[aria-disabled="true"] { color: var(--faint); cursor: not-allowed; }
254
268
  .drag-handle { width: 20px; height: 28px; color: var(--muted); cursor: grab; }
255
269
  .drag-handle:hover { color: var(--accent); }
@@ -259,9 +273,9 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
259
273
  .is-dragging { opacity: .45; }
260
274
  .drop-before { box-shadow: inset 0 2px 0 var(--accent); }
261
275
  .drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
262
- .menu-head { padding: 6px 10px 2px; color: var(--muted); font-size: 11px; font-weight: var(--strong-weight); }
276
+ .menu-head { padding: 8px 12px 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
263
277
  /* The arrow at a row's start opens and closes its details; so does a click anywhere else in the row. */
264
- .row-toggle { width: 28px; height: 28px; margin: -4px -6px -4px -8px; }
278
+ .row-toggle { width: 28px; height: 28px; margin: -4px -8px -4px -8px; }
265
279
  .fold-hit { cursor: pointer; }
266
280
  .fold-hit .row-detail { cursor: auto; }
267
281
  .fold-hit:hover .row-toggle { background: var(--hover); color: var(--text); }
@@ -270,19 +284,19 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
270
284
  .fold-hit:hover .row-toggle[aria-expanded=true] { background: var(--hover); color: var(--text); }
271
285
  /* The details under a row's name (a Same Login's after a dashed line). Their left edge is the name's: the open arrow (--ctl-h-sm,
272
286
  less its 14px of negative margins), 10px, the 26px mark, 10px and the pin's 18px. */
273
- .row-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 10px 0 2px calc(var(--ctl-h-sm) + 50px); padding-top: 10px; border-top: 1px dashed var(--border); cursor: default; }
287
+ .row-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 12px 0 4px calc(var(--ctl-h-sm) + 50px); padding-top: 12px; border-top: 1px dashed var(--border); cursor: default; }
274
288
  .rd-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
275
289
  /* An open account's details sit in one bordered panel under the name: four cells side by side (how it runs, its web
276
290
  sign-in, tokens, health), each a label above its value, with the same widths in every row. Without browser
277
291
  sign-ins (rd-nobr) there are three. Medium and narrow widths make it two by two; phones put one detail on each line,
278
292
  its label in front. */
279
- .row-detail:not(.login-detail) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr); grid-template-areas: "run br use hl"; gap: 0; align-items: stretch; margin-bottom: 4px; padding: 0; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); }
293
+ .row-detail:not(.login-detail) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr); grid-template-areas: "run br use hl"; gap: 0; align-items: stretch; margin-bottom: 4px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
280
294
  .row-detail.rd-nobr:not(.login-detail) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .7fr); grid-template-areas: "run use hl"; }
281
- .row-detail:not(.login-detail) > .rd-item { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 10px 14px; }
295
+ .row-detail:not(.login-detail) > .rd-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 16px; }
282
296
  .row-detail > .rd-run { grid-area: run; } .row-detail > .rd-browser { grid-area: br; }
283
297
  .row-detail > .rd-usage { grid-area: use; } .row-detail > .rd-health { grid-area: hl; }
284
298
  .row-detail:not(.login-detail) > .rd-item:not(.rd-run) { border-left: 1px solid var(--border); }
285
- .row-detail .rd-val, .row-detail:not(.login-detail) .br-line { min-width: 0; min-height: 22px; display: flex; align-items: center; gap: 4px 10px; }
299
+ .row-detail .rd-val, .row-detail:not(.login-detail) .br-line { min-width: 0; min-height: 22px; display: flex; align-items: center; gap: 4px 12px; }
286
300
  .row-detail:not(.login-detail) .br-line { flex-wrap: nowrap; }
287
301
  .row-detail:not(.login-detail) .br-line > * { flex: none; }
288
302
  /* A long email shortens itself rather than push "Change" out; its tooltip and the browser dialog have it whole. */
@@ -302,34 +316,34 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
302
316
  :where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > .rd-label { flex: none; width: 96px; }
303
317
  :where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > :not(.rd-label) { flex: 1; }
304
318
  :where(:root[data-width=phone]) .row-detail:not(.login-detail) .br-line { flex-wrap: wrap; }
305
- :where(:root[data-width=phone]) .row-detail:not(.login-detail) .usage { flex-wrap: wrap; row-gap: 2px; }
306
- .rd-label { color: var(--faint); font-size: 11.5px; font-weight: var(--strong-weight); white-space: nowrap; }
319
+ :where(:root[data-width=phone]) .row-detail:not(.login-detail) .usage { flex-wrap: wrap; row-gap: 4px; }
320
+ .rd-label { color: var(--faint); font-size: 12px; font-weight: 600; white-space: nowrap; }
307
321
  .rd-note { color: var(--muted); font-size: 12px; }
308
322
  .row-detail .ident-sub { margin-top: 0; }
309
323
  .att-dot { flex: none; }
310
- .col-head { position: sticky; top: 0; z-index: 2; padding: 7px 10px 7px 16px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font-size: 11.5px; font-weight: var(--strong-weight); line-height: 1.3; white-space: nowrap; }
324
+ .col-head { position: sticky; top: 0; z-index: 2; padding: 8px 12px 8px 16px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
311
325
  .col-head > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
312
326
  .col-head .quota > span { overflow: hidden; text-overflow: ellipsis; }
313
- .ident { grid-area: id; display: flex; align-items: center; gap: 10px; min-width: 0; }
314
- .ident-text { min-width: 0; flex: 1; position: relative; padding-left: 18px; }
327
+ .ident { grid-area: id; display: flex; align-items: center; gap: 12px; min-width: 0; }
328
+ .ident-text { min-width: 0; flex: 1; position: relative; padding-left: 20px; }
315
329
  /* The pin sits in the text column's own gutter, so the name and the email below it start at the same place. */
316
330
  .ident-text .pin-slot, .ident-text .pin-mark { position: absolute; left: 0; top: 2px; margin: 0; }
317
- .ident-name { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; row-gap: 3px; }
318
- .ident-name .name { font-weight: var(--strong-weight); font-size: var(--font-size); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
331
+ .ident-name { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; row-gap: 4px; }
332
+ .ident-name .name { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
319
333
  .ident-name .alias { color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
320
334
  /* Every short command of an Account, in one line that ends in an ellipsis when a card is too narrow. */
321
335
  .ident-name .aliases { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 12px; }
322
- .ident-name .aliases .alias + .alias { margin-left: 6px; }
323
- .ident-email { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
324
- .email-btn, .model-btn { all: unset; cursor: pointer; border-radius: 4px; }
336
+ .ident-name .aliases .alias + .alias { margin-left: 8px; }
337
+ .ident-email { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
338
+ .email-btn, .model-btn { all: unset; cursor: pointer; border-radius: var(--radius-sm); }
325
339
  .model-btn:hover { color: var(--text); text-decoration: underline dotted; }
326
340
  .model-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
327
341
  .model-set { color: var(--accent); }
328
342
  .md-now { display: flex; flex-direction: column; gap: 4px; }
329
- .br-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
330
- .br-acts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
331
- .br-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
332
- .br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); }
343
+ .br-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
344
+ .br-acts { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
345
+ .br-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
346
+ .br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
333
347
  .email-btn:hover { color: var(--text); text-decoration: underline dotted; }
334
348
  /* A button is laid out as one box, so the parent's ellipsis does not reach its text: it ends its own. */
335
349
  .ident-email .email-btn { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
@@ -342,16 +356,16 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
342
356
  .ident-email + .ident-sub { color: var(--faint); margin-top: 0; }
343
357
  .tools .tb-icon { width: var(--ctl-h); height: var(--ctl-h); border-color: var(--border-strong); background: var(--surface); }
344
358
  .tools .tb-icon:hover { background: var(--hover); }
345
- .tools .tb-icon[aria-pressed=true] { background: var(--active); color: var(--text); }
346
- .display-panel { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
359
+ .tools .tb-icon[aria-pressed=true] { background: var(--selected); color: var(--brand); }
360
+ .display-panel { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
347
361
  .dp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
348
- .dp-label { color: var(--muted); font-size: var(--small); }
349
- .dp-check { justify-content: flex-start; gap: 8px; cursor: pointer; font-size: var(--small); }
350
- .ident-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
362
+ .dp-label { color: var(--muted); font-size: 12px; }
363
+ .dp-check { justify-content: flex-start; gap: 8px; cursor: pointer; font-size: 12px; }
364
+ .ident-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
351
365
  .plan { text-transform: capitalize; }
352
366
  .row > .quota { grid-area: quota; }
353
367
  .row > .last { grid-area: last; }
354
- .ident-meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
368
+ .ident-meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
355
369
  .ident-meta > :first-child { min-width: 0; }
356
370
  .last-inline { display: none; }
357
371
  .row > .row-end { grid-area: more; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
@@ -360,60 +374,60 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
360
374
  .row-run:hover { color: var(--accent); }
361
375
  .row-run.is-off, .row-run.is-off:hover { color: var(--faint); background: transparent; cursor: not-allowed; }
362
376
  .row-desk.is-open { color: var(--accent); }
363
- .card-head > .row-end { display: flex; align-items: center; gap: 2px; margin-left: auto; }
377
+ .card-head > .row-end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
364
378
  /* A pinned row's mark (spec §3.25, §3.27): a small muted outline pin right before the name, not a button. */
365
- .pin-mark { display: inline-flex; flex: none; margin-right: -2px; color: var(--faint); }
379
+ .pin-mark { display: inline-flex; flex: none; margin-right: -4px; color: var(--faint); }
366
380
  .pin-mark .ic { width: 12px; height: 12px; }
367
381
  /* The pin before the name (spec §3.27): always there when pinned; a fainter one on hover or focus in the row
368
382
  otherwise. The slot keeps its width either way, so the name never moves. */
369
- .pin-slot { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; margin: 0 -4px 0 -2px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--faint); cursor: pointer; opacity: 0; }
383
+ .pin-slot { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; margin: 0 -4px 0 -4px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--faint); cursor: pointer; opacity: 0; }
370
384
  .pin-slot .ic { width: 12px; height: 12px; }
371
385
  .pin-slot.is-on { opacity: 1; }
372
386
  .row:hover .pin-slot:not(.is-on), .row:focus-within .pin-slot:not(.is-on), .card:hover .pin-slot:not(.is-on), .card:focus-within .pin-slot:not(.is-on) { opacity: .5; }
373
387
  .pin-slot:hover, .pin-slot:focus-visible { opacity: 1 !important; color: var(--accent); background: var(--hover); outline: none; }
374
388
  .ctx-anchor { position: fixed; width: 0; height: 0; pointer-events: none; }
375
- .row-notes { grid-area: notes; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
389
+ .row-notes { grid-area: notes; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
376
390
 
377
391
  /* Quota meters: percent and countdown over a bar colored by level (ok, warn at 60%, fail at 85% used). */
378
392
  .quota { display: grid; grid-template-columns: repeat(var(--qr, var(--qn)), minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 4px; min-width: 0; }
379
393
  .row > .quota { grid-template-columns: repeat(var(--qn), var(--q-w)); }
380
394
  .meter { min-width: 0; }
381
395
  /* The countdown never ends in an ellipsis: where the line is too short it wraps to a line of its own, at the right. */
382
- .m-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 12px; line-height: 1.35; white-space: nowrap; min-width: 0; }
383
- .m-label { color: var(--muted); font-weight: var(--strong-weight); }
384
- .m-pct { font-weight: var(--strong-weight); font-size: 13px; font-variant-numeric: tabular-nums; }
385
- .m-unit { color: var(--faint); font-weight: 400; font-size: 11.5px; }
386
- .m-reset { margin-left: auto; color: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
396
+ .m-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; min-width: 0; }
397
+ .m-label { color: var(--muted); font-weight: 600; }
398
+ .m-pct { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
399
+ .m-unit { color: var(--faint); font-weight: 400; font-size: 12px; }
400
+ .m-reset { margin-left: auto; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
387
401
  .m-passed { color: var(--muted); }
388
402
  .m-none { color: var(--faint); }
389
- .bar { height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; margin-top: 5px; }
390
- .bar > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--ok-bar); transition: width .4s ease; }
403
+ .bar { height: 6px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; margin-top: 4px; }
404
+ .bar > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--ok-bar); transition: width var(--duration-slow) var(--ease-out); }
391
405
  .lvl-warn .bar > span { background: var(--warn-bar); } .lvl-warn .m-pct { color: var(--warn); }
392
406
  .lvl-fail .bar > span { background: var(--fail-bar); } .lvl-fail .m-pct { color: var(--fail); }
393
407
  .lvl-reset .m-pct { color: var(--muted); }
394
- .q-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: var(--small); }
395
- .link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: var(--strong-weight); cursor: pointer; }
396
- .link-btn.small { font-size: var(--small); }
408
+ .q-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
409
+ .link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
410
+ .link-btn.small { font-size: 12px; }
397
411
  .link-btn:hover:not(:disabled) { text-decoration: underline; }
398
412
  .link-btn:disabled { color: var(--faint); cursor: not-allowed; }
399
413
  .foot .link-btn { color: inherit; font-weight: inherit; }
400
414
  .update-btn { border-color: var(--accent); color: var(--accent); }
401
- .link-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius: 3px; }
415
+ .link-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius: var(--radius-sm); }
402
416
 
403
417
  /* Usage: total over cache hits, with the 7 day bars beside both lines. In the wide list the bars sit at the column's
404
418
  right edge, so they line up down the column whatever the totals. */
405
419
  .usage { display: flex; align-items: center; gap: 12px; min-width: 0; }
406
420
  .rows .usage { justify-content: space-between; }
407
- .u-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
408
- .u-num { font-weight: var(--strong-weight); font-size: 13.5px; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
421
+ .u-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
422
+ .u-num { font-weight: 600; font-size: 13px; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
409
423
  .u-unit { color: var(--faint); font-weight: 400; font-size: 12px; }
410
424
  .rows .u-unit { display: none; }
411
- .u-sub, .u-note { color: var(--faint); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
412
- .u-note { font-size: var(--small); color: var(--muted); white-space: normal; }
425
+ .u-sub, .u-note { color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
426
+ .u-note { font-size: 12px; color: var(--muted); white-space: normal; }
413
427
  /* One slot per day, bars grow from a shared baseline; past days are a tint of the accent, today is the accent. */
414
- .spark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; flex: none; }
428
+ .spark { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; flex: none; }
415
429
  .spark i { display: flex; align-items: flex-end; width: 5px; height: 100%; }
416
- .spark b { display: block; width: 100%; min-height: 4px; border-radius: 1.5px; background: color-mix(in srgb, var(--accent) 32%, var(--surface)); transition: background-color .12s; }
430
+ .spark b { display: block; width: 100%; min-height: 4px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 32%, var(--surface)); transition: background-color var(--duration-fast); }
417
431
  .spark i.zero b { height: 2px; min-height: 0; background: color-mix(in srgb, var(--faint) 30%, transparent); }
418
432
  .spark i.today b { background: var(--accent); }
419
433
  .spark i:not(.zero):hover b { background: color-mix(in srgb, var(--accent) 70%, var(--surface)); }
@@ -426,63 +440,63 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
426
440
  }
427
441
  .spark-lg { height: 36px; gap: 4px; }
428
442
  .spark-lg i { width: 7px; }
429
- .spark-lg b { border-radius: 2px; }
443
+ .spark-lg b { border-radius: var(--radius-sm); }
430
444
  .last { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
431
- .health { font-size: 11.5px; line-height: 20px; padding: 0 8px 0 7px; gap: 5px; max-width: 100%; }
445
+ .health { font-size: 12px; line-height: 20px; padding: 0 8px 0 8px; gap: 4px; max-width: 100%; }
432
446
  .health .dot { width: 6px; height: 6px; }
433
447
 
434
448
  /* In the wide list the column titles name the windows; elsewhere each meter carries its label. */
435
449
  .rows .m-label, .rows .m-unit { display: none; }
436
450
 
437
451
  /* Chips and badges */
438
- .badge { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .02em; } /* design-system-ignore: white initials on each Host's fixed logo color */
452
+ .badge { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-xl); color: var(--on-badge); font-weight: 600; font-size: 12px; letter-spacing: .02em; }
439
453
  .badge-logo { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
440
454
  .badge svg { display: block; width: 20px; height: 20px; fill: currentColor; }
441
- .badge-sm { width: 26px; height: 26px; border-radius: 7px; font-size: 10.5px; }
455
+ .badge-sm { width: 26px; height: 26px; border-radius: var(--radius-md); font-size: 11px; }
442
456
  .badge-sm svg { width: 16px; height: 16px; }
443
457
  .badge svg.ic { fill: none; stroke: currentColor; }
444
- .badge-xs { width: 16px; height: 16px; border-radius: 4px; border: 0; background: none; }
458
+ .badge-xs { width: 16px; height: 16px; border-radius: var(--radius-sm); border: 0; background: none; }
445
459
  .badge-xs svg { width: 13px; height: 13px; }
446
- .chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: var(--chip-radius); background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 12px; line-height: 20px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
447
- .chip-sm { font-size: 11px; line-height: 16px; padding: 0 6px; }
448
- .chip-btn { cursor: pointer; transition: filter .12s, border-color .12s; }
460
+ .chip { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 12px; line-height: 20px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
461
+ .chip-sm { font-size: 11px; line-height: 16px; padding: 0 8px; }
462
+ .chip-btn { cursor: pointer; transition: filter var(--duration-fast), border-color var(--duration-fast); }
449
463
  .chip-btn:hover { border-color: var(--border-strong); filter: brightness(.97); }
450
464
  .chip-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
451
465
  .chip-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
452
466
  .chip-ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
453
467
  .chip-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
454
468
  .chip-fail { background: var(--fail-soft); border-color: transparent; color: var(--fail); }
455
- .chip .badge-xs { margin-left: -3px; }
469
+ .chip .badge-xs { margin-left: -4px; }
456
470
  /* Tags next to a name: short command, API, signed out, host missing; one size for all. */
457
- .tag { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border: 0; border-radius: 5px; background: var(--surface-2); color: var(--muted); font: inherit; font-size: 11px; font-weight: var(--strong-weight); line-height: 1; white-space: nowrap; }
471
+ .tag { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }
458
472
  .tag-alias { font-family: var(--mono); font-weight: 400; }
459
473
  .tag-warn { background: var(--warn-soft); color: var(--warn); }
460
474
  .tag-fail { background: var(--fail-soft); color: var(--fail); }
461
475
  .tag-ok { background: var(--ok-soft); color: var(--ok); }
462
476
  .tag .dot { width: 6px; height: 6px; }
463
- .tag-btn { cursor: pointer; transition: filter .12s; }
477
+ .tag-btn { cursor: pointer; transition: filter var(--duration-fast); }
464
478
  .tag-btn:hover { filter: brightness(.96); }
465
479
  .tag-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
466
- .group-wait { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: var(--small); }
480
+ .group-wait { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
467
481
  .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.4s ease-in-out infinite; }
468
482
  @keyframes pulse { 50% { opacity: .3; } }
469
483
  .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
470
484
  .dot-ok { background: var(--ok-bar); } .dot-fail { background: var(--fail-bar); } .dot-warn { background: var(--warn-bar); }
471
- .title-logo { display: flex; align-items: center; gap: 9px; min-width: 0; }
485
+ .title-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
472
486
 
473
487
  /* Cards view */
474
488
  /* Cards in a row share one height, so their foot lines and buttons line up; the foot sits at the bottom. */
475
489
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
476
- .panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
477
- .panel { padding: 18px; }
490
+ .panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
491
+ .panel { padding: 20px; }
478
492
  /* A card (spec §3.27, 2026-10-20): one left edge for everything. The head is the mark, the name and the menu; under it
479
493
  who it is and when it was last used, how it runs, its quota (label and percent, bar, reset, one under the other, so
480
494
  two windows line up), its Chrome sign-in as one line, and a foot with tokens and the row's own buttons. */
481
- .card { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
495
+ .card { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
482
496
  .m-short { display: none; }
483
497
  .card .m-full { display: none; } .card .m-short { display: inline; }
484
498
  /* Who and how it runs are one quiet block under the name; the run line is small, as it is reference only. */
485
- .card .ident-sub { font-size: 11.5px; color: var(--faint); }
499
+ .card .ident-sub { font-size: 12px; color: var(--faint); }
486
500
  .card-error { border-color: var(--fail); }
487
501
  .card-head { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
488
502
  /* A card's pin is a small badge on the corner of its mark, so it belongs to the account and the name keeps its place
@@ -494,15 +508,15 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
494
508
  .card-head .pin-slot:hover, .card-head .pin-slot:focus-visible { background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
495
509
  .card-head > .ident-name { flex: 1; min-width: 0; flex-wrap: nowrap; }
496
510
  .card-head > .row-end { margin-left: auto; }
497
- .card-id { display: flex; flex-direction: column; gap: 3px; margin-top: -8px; min-width: 0; }
511
+ .card-id { display: flex; flex-direction: column; gap: 4px; margin-top: -8px; min-width: 0; }
498
512
  /* A Same Login card names its other directories under who it is. */
499
- .card-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 12px; }
500
- .card-dirs .tag-dir { gap: 6px; color: var(--text); }
513
+ .card-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 12px; }
514
+ .card-dirs .tag-dir { gap: 8px; color: var(--text); }
501
515
  .card-dirs .tag-dir .alias { color: var(--muted); font-family: var(--mono); font-weight: 400; }
502
- .card .last-inline { display: flex; flex: none; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 1px; }
516
+ .card .last-inline { display: flex; flex: none; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 0; }
503
517
  .card .last-inline::before { content: "·"; color: var(--faint); }
504
518
  .card .quota { gap: 12px 24px; }
505
- .card .meter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 6px; row-gap: 5px; }
519
+ .card .meter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; row-gap: 4px; }
506
520
  .card .m-top { display: contents; }
507
521
  .card .m-label { grid-area: 1 / 1; white-space: nowrap; }
508
522
  .card .m-pct { grid-area: 1 / 2; white-space: nowrap; }
@@ -513,23 +527,23 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
513
527
  .card-br > .br-btn { flex: 0 1 auto; color: var(--accent); }
514
528
  .card-br > :not(.br-btn) { flex: none; }
515
529
  .br-none { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; }
516
- .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; min-width: 0; }
517
- .card-side { display: flex; align-items: center; gap: 2px; flex: none; }
530
+ .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; min-width: 0; }
531
+ .card-side { display: flex; align-items: center; gap: 4px; flex: none; }
518
532
  .card .row-notes { margin: 0; }
519
533
 
520
534
  /* Buttons: .btn is the secondary (outlined) variant; .btn-primary is the one main action of a block; .btn-ghost is a
521
535
  quiet action such as Close. Two sizes: default (--ctl-h) for block actions, .btn-sm (--ctl-h-sm) inside cards, notes
522
536
  and banners. .icon-btn is a square ghost button for icons. */
523
- .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--ctl-h); padding: 0 14px; border-radius: var(--ctl-radius); border: 1px solid var(--border-strong); background: var(--surface); color: var(--btn-text); font: inherit; font-size: var(--control-size); font-weight: var(--button-weight); line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none; transition: background-color .12s, border-color .12s, color .12s; }
537
+ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--ctl-h); padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--border-strong); background: var(--surface); color: var(--btn-text); font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
524
538
  a.btn:hover { text-decoration: none; }
525
539
  .btn:hover:not(:disabled) { background: var(--hover); border-color: var(--btn-hover-border); color: var(--btn-hover-text); }
526
540
  .btn:active:not(:disabled) { background: var(--active); }
527
- .btn-primary { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); font-weight: var(--primary-weight); border-radius: var(--primary-radius); }
541
+ .btn-primary { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); font-weight: 500; border-radius: var(--radius-pill); }
528
542
  .btn-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover-border); color: var(--on-primary); }
529
543
  .btn-primary:active:not(:disabled) { background: var(--primary-active); border-color: var(--primary-hover-border); }
530
544
  .btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
531
545
  .btn-ghost:hover:not(:disabled) { border-color: transparent; color: var(--text); }
532
- .btn-sm { height: var(--ctl-h-sm); padding: 0 10px; font-size: var(--small); }
546
+ .btn-sm { height: var(--ctl-h-sm); padding: 0 12px; font-size: 12px; }
533
547
  .btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
534
548
  .btn:disabled { background: var(--surface-2); border-color: var(--border); color: var(--faint); cursor: not-allowed; }
535
549
  .btn-ghost:disabled { background: transparent; border-color: transparent; }
@@ -539,49 +553,49 @@ a.btn:hover { text-decoration: none; }
539
553
  .btn[aria-busy=true]:disabled { cursor: progress; color: var(--muted); }
540
554
  .btn-primary[aria-busy=true]:disabled { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); opacity: .85; }
541
555
  .is-spinning svg { animation: spin .8s linear infinite; }
542
- .icon-btn { display: inline-grid; place-items: center; width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0; border: 1px solid transparent; border-radius: var(--ctl-radius); background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
556
+ .icon-btn { display: inline-grid; place-items: center; width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0; border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
543
557
  .icon-btn:hover:not(:disabled), .icon-btn[aria-expanded=true] { background: var(--hover); color: var(--text); }
544
558
  .more .ic { stroke-width: 3.2; width: 17px; height: 17px; }
545
559
  .icon-btn:disabled { color: var(--faint); cursor: not-allowed; }
546
560
  .top-actions .icon-btn { width: var(--ctl-h); height: var(--ctl-h); border-color: var(--border-strong); background: var(--surface); }
547
561
  .top-actions .icon-btn:hover { background: var(--hover); }
548
562
  .repo-link svg { width: 17px; height: 17px; fill: currentColor; }
549
- .btn:focus-visible, .icon-btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, .stat-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
563
+ .btn:focus-visible, .icon-btn:focus-visible, input:focus-visible, :where(.select-btn):focus-visible, a:focus-visible, .stat-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
550
564
  .btn:focus-visible { border-color: var(--focus); }
551
- .note a, .banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: var(--strong-weight); }
565
+ .note a, .banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
552
566
 
553
567
  /* Notes and banners */
554
- .note { background: var(--surface-2); border-radius: calc(var(--radius) - 6px); padding: 8px 11px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
568
+ .note { background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
555
569
  .note b { color: inherit; }
556
570
  .note-read .read-why { overflow-wrap: anywhere; }
557
571
  .note-fail { background: var(--fail-soft); color: var(--fail); }
558
572
  .note-warn { background: var(--warn-soft); color: var(--warn); }
559
573
  /* A note in two lines: what is wrong, then the command to run (with its copy button and the install page). */
560
574
  .note-line { flex-basis: 100%; min-width: 0; overflow-wrap: anywhere; }
561
- .note-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
575
+ .note-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
562
576
  .error-note { justify-content: space-between; gap: 12px; }
563
577
  .error-note > span { min-width: 0; overflow-wrap: anywhere; }
564
578
  .error-note > .note-sub { flex-basis: 100%; color: var(--text); }
565
- .banner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: calc(var(--radius) - 2px); margin-bottom: 12px; border: 1px solid var(--border); background: var(--surface); }
579
+ .banner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-lg); margin-bottom: 12px; border: 1px solid var(--border); background: var(--surface); }
566
580
  .banner > div { min-width: 0; }
567
581
  /* The text takes the room; buttons that no longer fit beside it move below it instead of squeezing it. */
568
582
  .banner > div:not(.banner-actions) { flex: 1 1 260px; }
569
- .banner-quiet { padding: 8px 14px; background: transparent; border-style: dashed; }
583
+ .banner-quiet { padding: 8px 16px; background: transparent; border-style: dashed; }
570
584
  .banner-fail { background: var(--fail-soft); border-color: transparent; color: var(--fail); }
571
585
  .banner-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
572
- .banner ul { margin: 6px 0 0; padding-left: 18px; }
573
- .net-countries { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
574
- .net-cty { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h-sm); padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: var(--control-size); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
586
+ .banner ul { margin: 8px 0 0; padding-left: 20px; }
587
+ .net-countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
588
+ .net-cty { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h-sm); padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
575
589
  .net-cty:hover { background: var(--hover); }
576
- .net-cty[aria-pressed=true] { background: var(--active); border-color: var(--accent); font-weight: var(--strong-weight); }
577
- .net-cty .chip { margin-left: 2px; }
590
+ .net-cty[aria-pressed=true] { background: var(--selected); border-color: transparent; color: var(--brand); font-weight: 500; }
591
+ .net-cty .chip { margin-left: 4px; }
578
592
  @media (prefers-reduced-motion: reduce) { .net-cty { transition: none; } }
579
- .rc-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
580
- .rc-row { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; display: grid; gap: 2px; }
593
+ .rc-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
594
+ .rc-row { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; gap: 4px; }
581
595
  .rc-row code { word-break: break-all; }
582
596
  .banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; }
583
597
  .hp-rules { list-style: none; margin: 0; padding: 0; counter-reset: hp-rule; display: flex; flex-direction: column; }
584
- .hp-rules > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
598
+ .hp-rules > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
585
599
  .hp-rules > li:last-child { border-bottom: 0; }
586
600
  .hp-rule-text::before { counter-increment: hp-rule; content: counter(hp-rule) '. '; color: var(--muted); font-variant-numeric: tabular-nums; }
587
601
  .hp-rule-ctl { display: flex; align-items: center; gap: 8px; justify-self: end; }
@@ -589,19 +603,19 @@ a.btn:hover { text-decoration: none; }
589
603
  .hp-rule-below { grid-column: 1 / -1; margin-top: 8px; }
590
604
  .hp-rule-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
591
605
  .hp-rules .seg { height: var(--ctl-h-sm); }
592
- .hp-rules .seg-btn[aria-pressed=true] { background: var(--accent-soft); color: var(--accent); }
606
+ .hp-rules .seg-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); }
593
607
  .hp-on-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
594
608
  .hp-on-row > p { margin: 0; }
595
609
  .hp-ai-order { margin: 0; }
596
610
  .hp-ai-order li .title-logo { min-width: 150px; }
597
- .ah-cross { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 12px; }
611
+ .ah-cross { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 12px; }
598
612
  .ah-fam > summary { cursor: pointer; }
599
613
  .hp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
600
614
  .hp-steps li { display: flex; gap: 8px; }
601
615
  .hp-steps li::before { content: '•'; color: var(--muted); }
602
616
  .hp-steps li > div { flex: 1; min-width: 0; }
603
617
  .hp-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
604
- .hp-rows li { display: grid; grid-template-columns: minmax(0, 16rem) 7rem minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
618
+ .hp-rows li { display: grid; grid-template-columns: minmax(0, 16rem) 7rem minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
605
619
  .hp-rows li:last-child { border-bottom: 0; }
606
620
  .hp-rows .num { font-variant-numeric: tabular-nums; }
607
621
  .hp-rows li > .num { text-align: end; }
@@ -611,7 +625,7 @@ a.btn:hover { text-decoration: none; }
611
625
  #handoff-page > h3 { margin-top: 28px; }
612
626
  #handoff-page > h3 + * { margin-top: 8px; }
613
627
  :where(:root[data-width=narrow], :root[data-width=phone]) {
614
- .hp-rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
628
+ .hp-rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
615
629
  .hp-rows li > :last-child { grid-column: 1 / -1; }
616
630
  .hp-rules > li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
617
631
  .hp-rule-ctl { justify-self: start; }
@@ -620,19 +634,19 @@ a.btn:hover { text-decoration: none; }
620
634
  }
621
635
  /* Sessions page (spec §3.32): one row per Live Session; a Session that needs the user gets the warning tint. */
622
636
  #sessions-page > * + * { margin-top: 12px; }
623
- .sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); transition: background-color .15s; }
624
- .sess-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
625
- .sess-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
626
- .sess-row:only-child { border-radius: var(--radius); }
637
+ .sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
638
+ .sess-row:first-child { border-top: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
639
+ .sess-row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
640
+ .sess-row:only-child { border-radius: var(--radius-xl); }
627
641
  .sess-needs-you { background: var(--warn-soft); }
628
- .sess-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
642
+ .sess-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
629
643
  .sess-label { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
630
644
  .sess-label > * { flex: none; }
631
645
  .sess-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
632
646
  .sess-id { color: var(--muted); }
633
- .sess-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-width: 0; }
634
- .sess-status { display: inline-flex; align-items: center; gap: 6px; }
635
- .sess-needs-you .sess-status { color: var(--warn); font-weight: var(--strong-weight); }
647
+ .sess-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }
648
+ .sess-status { display: inline-flex; align-items: center; gap: 8px; }
649
+ .sess-needs-you .sess-status { color: var(--warn); font-weight: 600; }
636
650
  .sess-needs-you .sess-dot { background: var(--warn-bar); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn-bar) 25%, transparent); }
637
651
  .sess-busy .sess-dot { background: var(--ok-bar); animation: pulse 1.4s ease-in-out infinite; }
638
652
  .sess-unknown .sess-dot { background: transparent; border: 1px solid var(--faint); }
@@ -640,196 +654,219 @@ a.btn:hover { text-decoration: none; }
640
654
  .sess-guessed { cursor: help; }
641
655
  .sess-run { flex: 0 1 auto; min-width: 0; max-width: 24em; }
642
656
  .sess-run-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
643
- .sess-run-more { flex: none; font-weight: var(--strong-weight); }
657
+ .sess-run-more { flex: none; font-weight: 600; }
644
658
  .sess-age { white-space: nowrap; }
645
659
  .sess-actions { display: flex; align-items: center; gap: 4px; }
646
- .sess-copy { min-width: 8.5em; justify-content: center; transition: background-color .15s, border-color .15s, color .15s; }
660
+ .sess-copy { min-width: 8.5em; justify-content: center; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
647
661
  .sess-copy.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
648
662
  .sess-copy .ic { width: 14px; height: 14px; }
649
- .sess-copy-text { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); color: var(--text); resize: none; }
663
+ .sess-copy-text { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); color: var(--text); resize: none; }
650
664
  .pop-sess-copy { width: min(440px, calc(100vw - 16px)); }
651
665
  .sess-send .ic { width: 14px; height: 14px; }
652
- .sess-msg { flex: none; animation: chip-in .18s ease-out; }
653
- .sess-msg-paste { display: inline-flex; align-items: center; gap: 2px; border: 0; font: inherit; cursor: pointer; }
666
+ .sess-msg { flex: none; animation: chip-in var(--duration-base) var(--ease-out); }
667
+ .sess-msg-paste { display: inline-flex; align-items: center; gap: 4px; border: 0; font: inherit; cursor: pointer; }
654
668
  .sess-msg-paste .ic { width: 11px; height: 11px; transform: rotate(90deg); }
655
669
  .sess-msg-paste:hover { filter: brightness(.96); }
656
670
  @keyframes chip-in { from { opacity: 0; } to { opacity: 1; } }
657
- .sess-row.flash { animation: flash-row 2.4s ease-out; }
671
+ .sess-row.flash { animation: flash-row var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
658
672
  /* Wide enough for every label it shows, so it keeps its size while sending. */
659
- .seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 6px; padding: 0 4px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 600; line-height: 1; animation: chip-in .18s ease-out; }
673
+ .seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 8px; padding: 0 4px; border-radius: var(--radius-lg); background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 600; line-height: 1; animation: chip-in var(--duration-base) var(--ease-out); }
660
674
  .send-go { min-width: 8.5em; justify-content: center; }
661
675
  .popover.pop-sess-paste { width: min(420px, calc(100vw - 24px)); }
662
676
  .pop-actions { display: flex; justify-content: flex-end; }
663
677
  /* "Send to it" (spec §3.32 step 2): the result and the line the user pastes into the target. */
664
678
  .note-ok { background: var(--ok-soft); color: var(--ok); }
665
679
  .note-ok .ic { flex: none; width: 16px; height: 16px; }
666
- .send-line { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); }
680
+ .send-line { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
667
681
  .send-line-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--text); }
668
682
  .send-line-actions { display: flex; flex-wrap: wrap; gap: 8px; }
669
683
  .ah-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
670
- .tune-model { border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
684
+ .tune-model { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; }
671
685
  .tune-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
672
686
  .tune-vals { display: flex; gap: 24px; }
673
- .tune-num { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
687
+ .tune-num { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
674
688
  .tune-best { color: var(--ok); }
675
- .ah-fam { border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
689
+ .ah-fam { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; }
676
690
  .ah-fam-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
677
- .ah-order { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
678
- .ah-order li { display: flex; align-items: center; gap: 6px; }
691
+ .ah-order { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
692
+ .ah-order li { display: flex; align-items: center; gap: 8px; }
679
693
  .ah-order li .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
680
- .ah-add { display: flex; gap: 6px; }
681
- .ah-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
682
- .disabled-why { color: var(--muted); font-size: var(--small); margin-top: 10px; }
694
+ .ah-add { display: flex; gap: 8px; }
695
+ .ah-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
696
+ .disabled-why { color: var(--muted); font-size: 12px; margin-top: 12px; }
683
697
  .actions { display: flex; gap: 8px; flex-wrap: wrap; }
684
698
  /* A thin ring with an arc that fades out behind its head: lighter than a thick broken circle at text size. */
685
- .spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, currentColor 18%, transparent) 30%, currentColor); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), #000 calc(100% - 1.5px)); animation: spin .75s linear infinite; vertical-align: -2px; flex: none; } /* design-system-ignore: #000 sets mask opacity, not a color */
699
+ .spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, currentColor 18%, transparent) 30%, currentColor); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), black calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), black calc(100% - 1.5px)); animation: spin .75s linear infinite; vertical-align: -2px; flex: none; } /* the mask only reads alpha: black is fully opaque, not a paint color */
686
700
  @keyframes spin { to { transform: rotate(360deg); } }
687
- .copy { display: flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; }
688
- .copy code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 3px 8px; overflow-x: auto; white-space: nowrap; color: var(--text); min-width: 0; }
701
+ .copy { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
702
+ .copy code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 8px; overflow-x: auto; white-space: nowrap; color: var(--text); min-width: 0; }
689
703
 
690
704
  /* Health check */
691
- .diff { margin: 0; max-height: 260px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); padding: 10px 0; font: 12px/1.55 var(--mono); }
705
+ .diff { margin: 0; max-height: 260px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 0; font-family: var(--mono); font-size: 12px; line-height: 1.55; }
692
706
  .diff span { display: block; padding: 0 12px; white-space: pre; }
693
707
  .diff .add { background: var(--ok-soft); color: var(--ok); } .diff .del { background: var(--fail-soft); color: var(--fail); } .diff .hunk { color: var(--faint); }
694
- .filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 10px; margin-bottom: 4px; border-radius: var(--ctl-radius); background: var(--surface-2); }
708
+ .filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 12px; margin-bottom: 4px; border-radius: var(--radius-md); background: var(--surface-2); }
695
709
  .findings { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
696
- .more-findings { margin-top: 10px; }
697
- .finding { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); }
698
- .finding .dot { margin-top: 7px; }
710
+ .more-findings { margin-top: 12px; }
711
+ .finding { display: flex; gap: 12px; padding: 12px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
712
+ .finding .dot { margin-top: 8px; }
699
713
  .finding.lvl-fail .dot { background: var(--fail-bar); } .finding.lvl-warn .dot { background: var(--warn-bar); }
700
- .finding-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
701
- .finding-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
702
- .hint { color: var(--muted); font-size: var(--small); overflow-wrap: anywhere; }
703
- .all-good { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: calc(var(--radius) - 4px); background: var(--ok-soft); }
704
- .check-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--surface); font-weight: 700; flex: none; }
705
- .warn-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: var(--surface); font-weight: 700; flex: none; }
706
- .fix-result { margin-top: 12px; padding: 10px 12px; border-radius: calc(var(--radius) - 4px); font-size: 13px; }
714
+ .finding-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
715
+ .finding-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
716
+ .hint { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
717
+ .all-good { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--ok-soft); }
718
+ .check-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--surface); font-weight: 600; flex: none; }
719
+ .warn-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: var(--surface); font-weight: 600; flex: none; }
720
+ .fix-result { margin-top: 12px; padding: 12px 12px; border-radius: var(--radius-md); font-size: 13px; }
707
721
  .fix-result.is-ok { background: var(--ok-soft); color: var(--ok); } .fix-result.is-warn { background: var(--warn-soft); color: var(--warn); }
708
- .fix-result ul { margin: 6px 0 0; padding-left: 18px; }
722
+ .fix-result ul { margin: 8px 0 0; padding-left: 20px; }
709
723
 
710
724
  /* Forms */
711
- .form { display: flex; flex-direction: column; gap: 14px; }
712
- .field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
713
- .field > span, .field > legend { font-weight: var(--strong-weight); font-size: var(--small); padding: 0; margin-bottom: 6px; }
714
- .field > span { margin-bottom: 0; }
715
- input[type=text], input[type=search], input[type=number], select { height: var(--field-h); border-radius: var(--ctl-radius); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; transition: border-color .12s, box-shadow .12s; }
725
+ .form { display: flex; flex-direction: column; gap: 16px; }
726
+ .field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
727
+ /* A picker's wrapper (.select-wrap) is a span too, but no label: its button and menu keep their own type. */
728
+ .field > span:not(.select-wrap), .field > legend { font-weight: 600; font-size: 12px; padding: 0; margin-bottom: 8px; }
729
+ .field > span:not(.select-wrap) { margin-bottom: 0; }
730
+ input[type=text], input[type=search], input[type=number], :where(.select-btn) { height: var(--field-h); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
716
731
  input[type=search] { -webkit-appearance: none; appearance: none; }
717
732
  input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
718
733
  input::placeholder { color: var(--faint); }
719
- input[type=text]:hover:not(:disabled), input[type=number]:hover:not(:disabled), input[type=search]:hover, select:hover:not(:disabled) { border-color: var(--btn-hover-border); }
720
- input[type=text]:focus, input[type=search]:focus, select:focus { border-color: var(--focus); }
721
- input[type=text]:disabled, select:disabled { background-color: var(--surface-2); color: var(--faint); cursor: not-allowed; }
734
+ input[type=text]:hover:not(:disabled), input[type=number]:hover:not(:disabled), input[type=search]:hover, :where(.select-btn):hover:not(:disabled) { border-color: var(--btn-hover-border); }
735
+ input[type=text]:focus, input[type=search]:focus, :where(.select-btn):focus { border-color: var(--focus); }
736
+ input[type=text]:disabled, :where(.select-btn):disabled { background-color: var(--surface-2); color: var(--faint); cursor: not-allowed; }
722
737
  input.invalid { border-color: var(--fail); }
723
738
  /* AI Tasks (spec §3.28): the text box, the key field, the example chips and the account and terminal pickers. */
724
- input[type=password] { height: var(--field-h); border-radius: var(--ctl-radius); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; }
725
- textarea.ask-text { min-height: 64px; resize: vertical; border-radius: var(--ctl-radius); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 8px 12px; width: 100%; line-height: 1.45; }
739
+ input[type=password] { height: var(--field-h); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; }
740
+ textarea.ask-text { min-height: 64px; resize: vertical; border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 8px 12px; width: 100%; line-height: 1.45; }
726
741
  input[type=password]:focus, textarea.ask-text:focus { border-color: var(--focus); }
727
742
  textarea.ask-text:focus-visible, input[type=password]:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
728
743
  textarea::placeholder { color: var(--faint); }
729
- .ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
730
- .ask-chips .chip { font: inherit; font-size: var(--small); text-align: left; white-space: normal; }
731
- .ask-attach-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
732
- .ask-files-wrap { display: grid; gap: 6px; }
744
+ .ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
745
+ .ask-chips .chip { font: inherit; font-size: 12px; text-align: left; white-space: normal; }
746
+ .ask-attach-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
747
+ .ask-files-wrap { display: grid; gap: 8px; }
733
748
  .ask-files-wrap:empty { display: none; }
734
749
  .ask-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
735
- .ask-file { position: relative; display: grid; gap: 2px; width: 104px; padding: 4px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); }
750
+ .ask-file { position: relative; display: grid; gap: 4px; width: 104px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
736
751
  .ask-file.is-error { border-color: var(--fail); } .ask-file.is-error .ask-file-face { color: var(--fail); }
737
- .ask-file-img, .ask-file-face { width: 94px; height: 64px; border-radius: calc(var(--ctl-radius) - 2px); }
752
+ .ask-file-img, .ask-file-face { width: 94px; height: 64px; border-radius: var(--radius-sm); }
738
753
  .ask-file-img { object-fit: cover; display: block; }
739
- .ask-file-face { display: grid; place-items: center; align-content: center; gap: 2px; background: var(--surface-2); color: var(--muted); }
754
+ .ask-file-face { display: grid; place-items: center; align-content: center; gap: 4px; background: var(--surface-2); color: var(--muted); }
740
755
  .ask-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
741
756
  .ask-file-x { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: var(--surface); }
742
757
  .ask-file-retry { position: absolute; top: 2px; right: 26px; width: 22px; height: 22px; background: var(--surface); }
743
758
  .dialog.drop-on { outline: 2px dashed var(--focus); outline-offset: -6px; }
744
- .ask-pick {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
745
- .ask-setup .link-btn { display: inline-flex; align-items: center; gap: 6px; }
759
+ .ask-pick {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
760
+ .ask-setup .link-btn { display: inline-flex; align-items: center; gap: 8px; }
746
761
  .ask-setup .ic { width: 14px; height: 14px; }
747
762
  .fam-other { background: transparent; color: inherit; font: inherit; text-align: left; border-style: dashed; }
748
- .q-ask { margin-left: 6px; }
749
- /* The select draws its own chevron with two gradient strokes (the CSP allows no external images), so it follows the
750
- text color in both schemes and on hover. */
751
- select { --chevron: var(--muted); appearance: none; padding-right: 32px; cursor: pointer; text-overflow: ellipsis;
763
+ .q-ask { margin-left: 8px; }
764
+ /* A picker (selectMenu in page-script.ts) is a field-like button that opens the component library's single-choice
765
+ menu. It draws its chevron with two gradient strokes (the CSP allows no external images), so it follows the text
766
+ color in both schemes and on hover. Its wrapper adds no box, so the button sits where a select would, and :where()
767
+ keeps these rules as weak as the select's element selector, so .tb-select and .hk-select still set its width. */
768
+ .select-wrap { display: contents; }
769
+ :where(.select-btn) { --chevron: var(--muted); appearance: none; padding-right: 32px; cursor: pointer; display: flex; align-items: center; text-align: left; white-space: nowrap; overflow: hidden;
752
770
  background-image: linear-gradient(45deg, transparent calc(50% - .8px), var(--chevron) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)), linear-gradient(-45deg, transparent calc(50% - .8px), var(--chevron) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px));
753
771
  background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
754
- select:is(:hover, :focus) { --chevron: var(--text); }
772
+ :where(.select-btn):is(:hover, :focus) { --chevron: var(--text); }
773
+ .select-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
774
+ .select-btn.is-placeholder .select-text { color: var(--muted); }
775
+ /* The menu's roles from the Panel's tokens (a Theme recolors it like the rest): the checked item is the soft accent
776
+ fill with accent text, like every selected item here. */
777
+ .ui-menu { --background: var(--bg); --foreground: var(--text); --popover: var(--surface); --popover-foreground: var(--text);
778
+ --muted-foreground: var(--muted); --shadow-popover: var(--float-shadow); --accent: var(--selected); --accent-foreground: var(--brand);
779
+ --accent-hover: color-mix(in srgb, var(--brand) 10%, var(--selected)); --accent-active: color-mix(in srgb, var(--brand) 16%, var(--selected));
780
+ --ring: var(--focus); --disabled-foreground: var(--faint); --danger: var(--fail-bar); --danger-text: var(--fail); --danger-soft: var(--fail-soft);
781
+ --danger-soft-hover: color-mix(in srgb, var(--fail-bar) 24%, transparent);
782
+ font-weight: 400; }
783
+ ${UI_CSS}
784
+ /* A long picker menu (the accounts of Auto handoff) fits neither below nor above its button; the library's flips then
785
+ give up and the menu covers the button. Here each side is an option whose height is capped to the room on that side
786
+ (less the 4px margins), and the side with more room wins; a menu that fits below still opens below. */
787
+ @supports (position-area: block-end) {
788
+ @position-try --select-below { position-area: block-end span-inline-end; max-height: calc(100% - 8px); }
789
+ @position-try --select-above { position-area: block-start span-inline-end; max-height: calc(100% - 8px); }
790
+ .select-wrap > .ui-menu[popover] { position-try-fallbacks: --select-below, --select-above, --select-below flip-inline, --select-above flip-inline; position-try-order: most-height; }
791
+ }
755
792
  .check-row { display: flex; align-items: flex-start; gap: 8px; }
756
793
  .check-row .check { flex: 1; }
757
794
  .check-row .tip { margin-top: 12px; }
758
795
  /* A field that belongs to a choice above it (the Vendor under "API key"): it grows in when the choice is made and
759
796
  folds away when it is undone, instead of snapping the dialog. */
760
- .reveal { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .18s ease, opacity .18s ease, visibility 0s .18s; }
761
- .reveal.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .18s ease, opacity .18s ease; }
797
+ .reveal { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), visibility 0s .18s; }
798
+ .reveal.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out); }
762
799
  /* The side and bottom padding keep a focused input's outline inside the clipped box. */
763
800
  .reveal > .reveal-in { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px 4px; }
764
801
  .reveal > .reveal-in > .field { padding-top: 12px; }
765
802
  @media (prefers-reduced-motion: reduce) { .reveal, .reveal.is-open { transition: none; } }
766
- .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--ctl-radius); transition: border-color .12s, background-color .12s; }
803
+ .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color var(--duration-fast), background-color var(--duration-fast); }
767
804
  .check:hover { border-color: var(--btn-hover-border); }
768
- .check:has(input:checked) { background: var(--accent-soft); border-color: transparent; }
769
- .check input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--check); cursor: pointer; }
770
- .check span { display: flex; flex-direction: column; gap: 2px; }
771
- .check b { font-size: var(--small); }
772
- .field-error { color: var(--fail); font-size: var(--small); }
773
- .field-hint { color: var(--muted); font-size: var(--small); }
805
+ .check:has(input:checked) { background: var(--selected); border-color: transparent; color: var(--text); }
806
+ .check input { width: 16px; height: 16px; margin: 4px 0 0; flex: none; accent-color: var(--check); cursor: pointer; }
807
+ .check span { display: flex; flex-direction: column; gap: 4px; }
808
+ .check b { font-size: 12px; }
809
+ .field-error { color: var(--fail); font-size: 12px; }
810
+ .field-hint { color: var(--muted); font-size: 12px; }
774
811
  .field-hint:empty { display: none; }
775
812
  .field-error:empty { display: none; }
776
813
  .field-error.field-note { color: var(--muted); }
777
814
  /* Grok Bot windows (ADR-0019): a simple row of their own, since they have no quota, usage or health columns. */
778
- .app-row { display: flex; align-items: center; gap: 12px; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); min-width: 0; }
815
+ .app-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); min-width: 0; }
779
816
  .app-row:first-child { border-top: 0; }
780
817
  .app-row > .ident { flex: 1; }
781
818
  .app-actions { flex: none; justify-content: flex-end; }
782
819
  /* The open arrow of an account row is --ctl-h-sm wide less its 14px of negative margins. */
783
820
  .app-gap { flex: none; width: calc(var(--ctl-h-sm) - 14px); }
784
- .app-foot { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 12px; border-top: 1px solid var(--border); }
821
+ .app-foot { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 12px; border-top: 1px solid var(--border); }
785
822
  .app-foot > .btn { align-self: flex-start; }
786
823
  .app-new { display: flex; gap: 8px; align-items: center; max-width: 420px; }
787
824
  .app-new input { height: var(--ctl-h-sm); flex: 1; min-width: 0; }
788
825
  .fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
789
- .fam-card { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); cursor: pointer; min-width: 0; transition: border-color .12s, background-color .12s; }
826
+ .fam-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; min-width: 0; transition: border-color var(--duration-fast), background-color var(--duration-fast); }
790
827
  .fam-card:hover { border-color: var(--btn-hover-border); }
791
- .fam-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
828
+ .fam-card:has(input:checked) { border-color: transparent; background: var(--selected); color: var(--text); }
792
829
  .fam-card:has(input:focus-visible) { outline: var(--focus-outline); outline-offset: 2px; }
793
830
  .fam-card.is-off { cursor: not-allowed; opacity: .6; }
794
831
  .fam-card.is-off:hover { border-color: var(--border); }
795
832
  .fam-text { display: flex; flex-direction: column; min-width: 0; }
796
- .fam-title { font-weight: var(--strong-weight); font-size: var(--small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
797
- .fam-sub { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
798
- .preview { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; padding: 10px 12px; border-radius: var(--ctl-radius); background: var(--surface-2); font-size: var(--small); }
833
+ .fam-title { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
834
+ .fam-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
835
+ .preview { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; padding: 12px 12px; border-radius: var(--radius-md); background: var(--surface-2); font-size: 12px; }
799
836
  .preview dt { color: var(--muted); }
800
837
  .preview dd { margin: 0; overflow-wrap: anywhere; color: var(--text); }
801
838
  .preview.is-draft dd { color: var(--faint); }
802
- .created { display: flex; flex-direction: column; gap: 10px; }
803
- .created-head { display: flex; align-items: center; gap: 10px; }
839
+ .created { display: flex; flex-direction: column; gap: 12px; }
840
+ .created-head { display: flex; align-items: center; gap: 12px; }
804
841
  .steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
805
842
  .steps li::marker { color: var(--faint); }
806
843
  .steps li { min-width: 0; }
807
844
  .steps li > span:not(.copy) { display: block; margin-bottom: 4px; }
808
845
 
809
846
  /* Dialog */
810
- .dialog { padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); box-shadow: var(--float-shadow); }
847
+ .dialog { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); box-shadow: var(--float-shadow); }
811
848
  .dialog[open] { display: flex; }
812
849
  .dialog::backdrop { background: var(--scrim); }
813
850
  /* The dialog box takes focus when it opens (showModal) but is not a control: no ring around it. Any other focusable
814
851
  element without its own rule gets the Theme's focus ring, never the browser's default blue. */
815
852
  .dialog:focus, .dialog:focus-visible { outline: none; }
816
853
  :where(:focus-visible) { outline: var(--focus-outline); outline-offset: 2px; }
817
- .dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 4px; }
818
- .dlg-head h2 { font-size: var(--large); }
819
- .dlg-body { padding: 10px 18px 16px; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
820
- .dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
854
+ .dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 4px; }
855
+ .dlg-head h2 { font-size: 16px; }
856
+ .dlg-body { padding: 12px 20px 16px; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
857
+ .dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
821
858
 
822
859
  /* Menu, tooltips, toasts */
823
- .menu { position: fixed; z-index: 40; min-width: 230px; max-width: min(380px, calc(100vw - 16px)); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--ctl-radius) + 2px); box-shadow: var(--float-shadow); overflow-y: auto; overscroll-behavior: contain; }
824
- .menu-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: calc(var(--ctl-radius) - 2px); background: none; color: var(--text); font: inherit; font-size: var(--control-size); text-align: left; cursor: pointer; }
860
+ .menu { position: fixed; z-index: 40; min-width: 230px; max-width: min(380px, calc(100vw - 16px)); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--float-shadow); overflow-y: auto; overscroll-behavior: contain; }
861
+ .menu-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
825
862
  .menu-item .ic { flex: none; color: var(--muted); }
826
863
  .menu-item:hover:not(:disabled), .menu-item:focus-visible { background: var(--hover); outline: none; }
827
864
  .menu-item:disabled { color: var(--faint); cursor: not-allowed; }
828
865
  .menu-label { flex: none; white-space: nowrap; }
829
866
  /* The hint gives way first: it shrinks to an ellipsis so a long label never pushes it past the menu's edge. */
830
867
  .menu-hint { min-width: 0; margin-left: auto; padding-left: 12px; color: var(--faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
831
- .menu-sep { height: 1px; margin: 4px 6px; background: var(--border); }
832
- .menu-sub > .ic:last-child { margin-left: 6px; color: var(--faint); }
868
+ .menu-sep { height: 1px; margin: 4px 8px; background: var(--border); }
869
+ .menu-sub > .ic:last-child { margin-left: 8px; color: var(--faint); }
833
870
  .menu-sub > .menu-label + .ic:last-child { margin-left: auto; }
834
871
  /* A menu that scrolls fades at the edge that has more: a strip that stays at that edge inside the scroll, so the menu
835
872
  keeps its border and shadow. */
@@ -837,7 +874,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
837
874
  .menu.more-above::before { top: -4px; margin-bottom: -24px; background: linear-gradient(var(--surface), transparent); }
838
875
  .menu.more-below::after { bottom: -4px; margin-top: -24px; background: linear-gradient(transparent, var(--surface)); }
839
876
  /* Popover: the menu's floating box with free content (text, a few buttons), lighter than a dialog. */
840
- .popover { width: 280px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
877
+ .popover { width: 280px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
841
878
  .popover p { margin: 0; }
842
879
  .popover-actions { display: flex; gap: 8px; flex-wrap: wrap; }
843
880
  .popover-foot { padding-top: 8px; border-top: 1px solid var(--border); }
@@ -846,7 +883,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
846
883
  .set-label { color: var(--muted); font-size: 13px; white-space: nowrap; }
847
884
  .set-row .seg { height: var(--ctl-h-sm); }
848
885
  .set-check { align-items: flex-start; }
849
- .set-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
886
+ .set-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
850
887
  .set-hint { color: var(--faint); font-size: 12px; max-width: 260px; }
851
888
  .set-link { margin: 0 -8px; width: calc(100% + 16px); }
852
889
  .set-link .chip { margin-left: auto; }
@@ -855,110 +892,110 @@ select:is(:hover, :focus) { --chevron: var(--text); }
855
892
  .set-group { display: flex; flex-direction: column; gap: 8px; }
856
893
  .set-check .set-label { white-space: normal; }
857
894
  .set-link .menu-label { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.3; }
858
- .set-link { height: auto; min-height: 32px; padding-top: 6px; padding-bottom: 6px; }
895
+ .set-link { height: auto; min-height: 32px; padding-top: 8px; padding-bottom: 8px; }
859
896
  .set-link .chip { flex: none; }
860
- .set-group-title { color: var(--faint); font-size: 11px; font-weight: var(--strong-weight); letter-spacing: .02em; }
861
- .popover .set-sep { margin: 0 -14px; }
897
+ .set-group-title { color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
898
+ .popover .set-sep { margin: 0 -16px; }
862
899
  .set-hint .link-btn { font-size: 12px; }
863
- .set-help { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 3px; }
900
+ .set-help { margin: 8px 0 0; padding-left: 16px; display: grid; gap: 4px; }
864
901
  .note-fail-text { color: var(--fail); }
865
- .hk-field { flex: none; display: flex; align-items: center; gap: 10px; }
902
+ .hk-field { flex: none; display: flex; align-items: center; gap: 12px; }
866
903
  .hk-select { flex: none; width: auto; min-width: 150px; }
867
904
  .hk-custom { display: flex; justify-content: flex-end; margin-top: 8px; }
868
905
  .note-warn-line { display: block; margin-top: 4px; color: var(--warn); }
869
- .hk-rec { min-width: 140px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: 13px/18px var(--mono); text-align: center; cursor: pointer; }
906
+ .hk-rec { min-width: 140px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); font-family: var(--mono); font-size: 13px; line-height: 18px; text-align: center; cursor: pointer; }
870
907
  .hk-rec:hover:not(:disabled) { border-color: var(--accent); }
871
908
  .hk-rec:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
872
909
  .hk-rec.unset { color: var(--faint); font-family: var(--font); }
873
910
  .hk-rec.recording { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); font-family: var(--font); }
874
911
  .hk-rec.taken { border-color: var(--fail); color: var(--fail); }
875
- .mb-help-title { margin: 16px 0 4px; font-size: 13px; font-weight: var(--strong-weight); }
912
+ .mb-help-title { margin: 16px 0 4px; font-size: 13px; font-weight: 600; }
876
913
  .as-details { margin-top: 8px; }
877
914
  .as-details summary { color: var(--muted); font-size: 12px; cursor: pointer; }
878
- .as-details[open] summary { margin-bottom: 6px; }
915
+ .as-details[open] summary { margin-bottom: 8px; }
879
916
  /* "More settings…" stays at the bottom of a popover that scrolls. */
880
- .set-more { margin: 4px -14px -12px; width: calc(100% + 28px); height: 40px; padding: 0 16px 0 17px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
917
+ .set-more { margin: 4px -16px -12px; width: calc(100% + 28px); height: 40px; padding: 0 16px 0 16px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
881
918
  .set-more .ic { margin-left: auto; }
882
919
  /* The settings dialog: the sections in a list at the side, one section at a time beside it (spec §3.29). */
883
920
  .dialog.dialog-wide { width: min(760px, calc(100vw - 24px)); }
884
921
  .set-dialog { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 0 24px; min-height: 380px; }
885
- .set-nav { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; border-right: 1px solid var(--border); }
886
- .set-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 32px; padding: 6px 10px; border-radius: var(--ctl-radius); color: var(--muted); font-size: 13px; cursor: pointer; }
922
+ .set-nav { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; border-right: 1px solid var(--border); }
923
+ .set-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 32px; padding: 8px 12px; border-radius: var(--radius-md); color: var(--muted); font-size: 13px; cursor: pointer; }
887
924
  .set-tab:hover { background: var(--hover); color: var(--text); }
888
- .set-tab[aria-selected=true] { background: var(--hover); color: var(--text); font-weight: var(--strong-weight); }
925
+ .set-tab[aria-selected=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
889
926
  .set-tab:focus-visible { outline: var(--focus-outline); outline-offset: 1px; }
890
927
  .set-pane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
891
- .set-pane-title { margin: 4px 0 0; font-size: 15px; font-weight: var(--strong-weight); }
892
- .set-foot { margin: -6px 0 4px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
928
+ .set-pane-title { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
929
+ .set-foot { margin: -8px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
893
930
  .set-dialog .set-hint { max-width: none; }
894
- .set-dialog .set-link { margin: 0 -10px; width: calc(100% + 20px); }
931
+ .set-dialog .set-link { margin: 0 -12px; width: calc(100% + 20px); }
895
932
  :where(:root[data-width=narrow], :root[data-width=phone]) {
896
- .set-dialog { grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; }
933
+ .set-dialog { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; }
897
934
  .set-nav { flex-direction: row; overflow-x: auto; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--border); }
898
935
  .set-tab { flex: none; white-space: nowrap; }
899
936
  }
900
- .as-code { display: block; margin: -4px 0 4px; padding: 8px 10px; border-radius: var(--ctl-radius); background: var(--hover); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
937
+ .as-code { display: block; margin: -4px 0 4px; padding: 8px 12px; border-radius: var(--radius-md); background: var(--hover); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
901
938
  .set-dot { background: var(--warn-bar); }
902
939
  .tip { display: inline-flex; position: relative; vertical-align: middle; }
903
- .tip-btn { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font: 700 10px/1 var(--font); cursor: help; }
940
+ .tip-btn { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font-family: var(--font); font-size: 11px; font-weight: 600; line-height: 1; cursor: help; }
904
941
  .tip-btn:hover, .tip.is-open .tip-btn { color: var(--text); border-color: var(--muted); }
905
942
  .tip-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
906
- .tip-body { display: none; position: fixed; z-index: 60; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 7px 10px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: 0; box-shadow: var(--float-shadow); pointer-events: none; text-align: left; white-space: normal; }
943
+ .tip-body { display: none; position: fixed; z-index: 60; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 8px 12px; border-radius: var(--radius-md); background: var(--text); color: var(--bg); font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: 0; box-shadow: var(--float-shadow); pointer-events: none; text-align: left; white-space: normal; }
907
944
  .tip.is-open .tip-body, .tip-float.is-shown { display: block; }
908
- .toasts { position: fixed; inset: auto auto 20px 50%; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
909
- .toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: min(460px, calc(100vw - 24px)); min-height: 40px; padding: 6px 6px 6px 14px; border-radius: calc(var(--ctl-radius) + 2px); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; animation: toast-in .18s ease-out; }
945
+ .toasts { position: fixed; inset: auto 0 20px 0; margin: 0 auto; padding: 0; border: 0; background: none; color: inherit; overflow: visible; z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
946
+ .toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100vw - 24px)); min-height: 40px; padding: 8px 8px 8px 16px; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; animation: toast-in var(--duration-base) var(--ease-out); }
910
947
  .toast-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); }
911
948
  .toast-fail .toast-dot { background: var(--fail); } .toast-accent .toast-dot { background: var(--accent); } .toast-plain .toast-dot { background: var(--faint); } .toast-info .toast-dot { background: var(--warn); }
912
949
  .toast-text { min-width: 0; overflow-wrap: anywhere; }
913
- .toast-action { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--ctl-radius); background: var(--surface); color: var(--text); font: inherit; font-weight: var(--button-weight); cursor: pointer; }
950
+ .toast-action { flex: none; height: 28px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; }
914
951
  .toast-action:hover { background: var(--hover); }
915
- .toast-x { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--faint); cursor: pointer; }
952
+ .toast-x { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--radius-md); background: none; color: var(--faint); cursor: pointer; }
916
953
  .toast-x:hover { color: var(--text); background: var(--hover); }
917
954
  .toast-x .ic { width: 13px; height: 13px; }
918
- .toast.bump { animation: toast-bump .25s ease-out; }
955
+ .toast.bump { animation: toast-bump var(--duration-slow) var(--ease-out); }
919
956
  @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
920
957
  @keyframes toast-bump { 50% { transform: scale(1.03); } }
921
- .conn { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 14px; border-radius: var(--chip-radius); background: var(--warn-soft); color: var(--warn); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; font-weight: var(--strong-weight); }
958
+ .conn { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 16px; border-radius: var(--radius-pill); background: var(--warn-soft); color: var(--warn); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; font-weight: 600; }
922
959
 
923
960
  /* Empty, loading and filtered states */
924
- .empty { text-align: center; padding: 36px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 12px; }
961
+ .empty { text-align: center; padding: 36px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; gap: 12px; }
925
962
  .empty-sm { padding: 28px 20px; }
926
963
  /* The empty state is a block of its own, apart from what follows it (Grok Bot windows). */
927
964
  #accounts > .empty { margin-bottom: 12px; }
928
965
  .empty-fail { border-color: var(--fail); border-style: solid; background: var(--fail-soft); color: var(--fail); }
929
- .empty h3 { font-size: 17px; font-weight: var(--heading-weight); }
966
+ .empty h3 { font-size: 16px; font-weight: 600; }
930
967
  .empty p { max-width: 520px; overflow-wrap: anywhere; }
931
968
  .host-list { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; min-width: min(360px, 100%); text-align: left; }
932
- .host-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); }
933
- .host-list li > span:nth-child(2) { flex: 1; font-weight: var(--strong-weight); }
934
- .sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--track) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
935
- .sk-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); }
969
+ .host-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
970
+ .host-list li > span:nth-child(2) { flex: 1; font-weight: 600; }
971
+ .sk { display: block; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--surface-2) 25%, var(--track) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
972
+ .sk-row { display: flex; align-items: center; gap: 12px; padding: 16px 16px; border-top: 1px solid var(--border); }
936
973
  .sk-row:first-child { border-top: 0; }
937
- .sk-badge { width: 26px; height: 26px; border-radius: 7px; flex: none; }
974
+ .sk-badge { width: 26px; height: 26px; border-radius: var(--radius-md); flex: none; }
938
975
  .sk-title { height: 12px; width: 22%; }
939
976
  .sk-bar { height: 8px; flex: 1; max-width: 160px; margin-left: auto; }
940
977
  .sk-line { height: 12px; margin: 8px 0; }
941
- .sk-stat { height: 40px; margin: 14px 18px; }
978
+ .sk-stat { height: 40px; margin: 16px 20px; }
942
979
  .w50 { width: 50%; } .w70 { width: 70%; }
943
980
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
944
- .view-in > * { animation: view-in .22s ease-out both; }
945
- @keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
981
+ .view-in > * { animation: view-in var(--duration-base) var(--ease-out) both; }
982
+ @keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
946
983
  /* Menus, popovers and dialogs ease in and out instead of appearing at once; a row that appears inside one grows in. */
947
- .menu { animation: float-in .14s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; }
948
- .menu.float-out { animation: float-out .12s ease-in forwards; }
984
+ .menu { animation: float-in var(--duration-fast) var(--ease-out); transform-origin: top right; }
985
+ .menu.float-out { animation: float-out var(--duration-fast) var(--ease-in) forwards; }
949
986
  @keyframes float-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
950
987
  @keyframes float-out { to { opacity: 0; transform: translateY(-2px) scale(.99); } }
951
- .dialog[open] { animation: dialog-in .18s cubic-bezier(.2, .8, .2, 1); }
952
- .dialog[open]::backdrop { animation: backdrop-in .18s ease-out; }
988
+ .dialog[open] { animation: dialog-in var(--duration-base) var(--ease-out); }
989
+ .dialog[open]::backdrop { animation: backdrop-in var(--duration-base) var(--ease-out); }
953
990
  @keyframes dialog-in { from { opacity: 0; transform: translateY(6px) scale(.985); } }
954
991
  @keyframes backdrop-in { from { opacity: 0; } }
955
- .enter { animation: grow-in .2s ease-out backwards; overflow: hidden; }
992
+ .enter { animation: grow-in var(--duration-slow) var(--ease-out) backwards; overflow: hidden; }
956
993
  /* Many rows arriving at once (a page more, a renewal) fade in together instead of each growing in turn. */
957
- .fade-in { animation: fade-in .16s ease-out backwards; }
994
+ .fade-in { animation: fade-in var(--duration-base) var(--ease-out) backwards; }
958
995
  @keyframes fade-in { from { opacity: 0; } }
959
996
  @keyframes grow-in { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 160px; } }
960
- .row.flash { animation: flash-row 2.4s ease-out; }
961
- .card.flash { animation: flash-card 2.4s ease-out; }
997
+ .row.flash { animation: flash-row var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
998
+ .card.flash { animation: flash-card var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
962
999
  @keyframes flash-row { from { background: var(--accent-soft); } to { background: transparent; } }
963
1000
  @keyframes flash-card { from { box-shadow: 0 0 0 2px var(--accent), var(--shadow); } to { box-shadow: 0 0 0 2px transparent, var(--shadow); } }
964
1001
  .checkup { margin-top: 8px; }
@@ -980,9 +1017,9 @@ select:is(:hover, :focus) { --chevron: var(--text); }
980
1017
  .rows .m-label, .rows .m-unit, .rows .u-unit { display: inline; }
981
1018
  .rows .usage { justify-content: flex-start; }
982
1019
  .row > .last { display: none; }
983
- .last-inline { display: flex; flex: none; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 1px; }
1020
+ .last-inline { display: flex; flex: none; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 0; }
984
1021
  .last-inline::before { content: "·"; color: var(--faint); }
985
- .row > .row-end { align-self: start; margin-top: -2px; }
1022
+ .row > .row-end { align-self: start; margin-top: -4px; }
986
1023
  }
987
1024
  :where(:root[data-width=narrow], :root[data-width=phone]) {
988
1025
  /* The toolbar stays one line: "New account" keeps its icon, its name moves to the tooltip and the label. */
@@ -997,23 +1034,23 @@ select:is(:hover, :focus) { --chevron: var(--text); }
997
1034
  .top-in { padding: 16px var(--gutter) 0; }
998
1035
  .header-bar .top-in { min-height: 0; padding: 12px var(--gutter); }
999
1036
  .update-btn span { display: none; }
1000
- .wrap { padding: 14px var(--gutter) 32px; }
1037
+ .wrap { padding: 16px var(--gutter) 32px; }
1001
1038
  .hide-sm { display: none; }
1002
1039
  .tagline { display: none; }
1003
1040
  .brand .logo { width: 34px; height: 34px; }
1004
- .brand h1 { font-size: 19px; }
1041
+ .brand h1 { font-size: 16px; }
1005
1042
  .banner > div:not(.banner-actions) { flex-basis: 100%; }
1006
- .stat { padding: 11px 13px; align-items: flex-start; flex-direction: column; gap: 6px; }
1007
- .stat-value { font-size: 19px; }
1043
+ .stat { padding: 12px 12px; align-items: flex-start; flex-direction: column; gap: 8px; }
1044
+ .stat-value { font-size: 16px; }
1008
1045
  .stat-sub { white-space: normal; }
1009
1046
  .spark-lg { display: none; }
1010
1047
  .search { flex-basis: 100%; }
1011
1048
  .tools { width: 100%; }
1012
1049
  .tools .tb-select { flex: 1 1 140px; min-width: 0; }
1013
- .toolbar > .btn-primary { flex: 1; width: auto; padding: 0 14px; }
1050
+ .toolbar > .btn-primary { flex: 1; width: auto; padding: 0 16px; }
1014
1051
  .toolbar > .btn-primary > span { display: inline; }
1015
1052
  /* A phone keeps the last use as a column of its own: the line under the name has no room for it. */
1016
- .row { padding: 10px 12px; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id last more" "quota quota quota" "detail detail detail" "notes notes notes"; }
1053
+ .row { padding: 12px 12px; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id last more" "quota quota quota" "detail detail detail" "notes notes notes"; }
1017
1054
  .row > .last { display: block; justify-self: end; }
1018
1055
  .last-inline { display: none; }
1019
1056
  .row > .row-end { align-self: center; margin-top: 0; }
@@ -1022,29 +1059,29 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1022
1059
  .row > .row-end > .row-run { display: none; }
1023
1060
  #accounts { --col-gap: 14px; }
1024
1061
  /* One window per line, so the reset time is never cut off. */
1025
- .row > .quota { grid-template-columns: 1fr; row-gap: 10px; max-width: none; }
1062
+ .row > .quota { grid-template-columns: 1fr; row-gap: 12px; max-width: none; }
1026
1063
  /* On a phone the summary keeps what needs a look and the next reset. */
1027
1064
  .stat:nth-child(1), .stat:nth-child(3) { display: none; }
1028
1065
  .stat:nth-child(n) { border-top: 0; }
1029
1066
  .stat:nth-child(4) { border-left: 1px solid var(--border); }
1030
1067
  .row-end .icon-btn { width: 36px; height: 36px; }
1031
- .sess-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
1068
+ .sess-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 12px; }
1032
1069
  .sess-actions { grid-column: 2; }
1033
1070
  .login-dirs { grid-template-columns: minmax(0, 1fr); }
1034
- .login-dir { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 14px; row-gap: 6px; }
1071
+ .login-dir { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 16px; row-gap: 8px; }
1035
1072
  .login-dir .usage, .login-dir .health { display: none; }
1036
1073
  .login-dir .ld-other { grid-column: 1 / -1; order: 1; }
1037
1074
  .grid { grid-template-columns: 1fr; }
1038
- .panel { padding: 14px; }
1039
- .dlg-head { padding: 14px 14px 2px; } .dlg-body { padding: 10px 14px 14px; } .dlg-foot { padding: 10px 14px; flex-wrap: wrap; }
1075
+ .panel { padding: 16px; }
1076
+ .dlg-head { padding: 16px 16px 4px; } .dlg-body { padding: 12px 16px 16px; } .dlg-foot { padding: 12px 16px; flex-wrap: wrap; }
1040
1077
  }
1041
1078
  /* A change of layout band runs as a short View Transition (page-script.ts followWidth): each block below moves and
1042
1079
  resizes to its new place while its old and new look cross-fade; the rest of the page cross-fades as one. Same
1043
1080
  length and ease as a Portal's sliding sidebar (.26s, quick start, soft landing), so both read as one move. */
1044
- ::view-transition-group(*) { animation-duration: .26s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); }
1081
+ ::view-transition-group(*) { animation-duration: var(--duration-slow); animation-timing-function: var(--ease-out); }
1045
1082
  /* Old and new looks keep their own size (pinned top left) instead of stretching to the moving box, so text never
1046
1083
  grows or shrinks on the way. */
1047
- ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .26s; height: 100%; object-fit: none; object-position: left top; }
1084
+ ::view-transition-old(*), ::view-transition-new(*) { animation-duration: var(--duration-slow); height: 100%; object-fit: none; object-position: left top; }
1048
1085
  .vt-width :is(.top-in, .summary, .stat, .section-head, .toolbar, .group-list, .group-head, .row) { view-transition-name: match-element; }
1049
1086
  /* Session History (spec §3.33): the toolbar, then the projects on the left and the sessions on the right. The list
1050
1087
  keeps the projects in view while it scrolls; at narrow widths the projects become one
@@ -1052,140 +1089,140 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1052
1089
  .sess-mode { flex: none; }
1053
1090
  .hist-bar { align-items: center; }
1054
1091
  .hist-search { flex: 1 1 240px; }
1055
- .hist-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
1092
+ .hist-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
1056
1093
  .hist-display { margin-left: auto; }
1057
1094
  .pop-hist-display { width: 240px; }
1058
- .hist-opts { display: flex; flex-direction: column; gap: 1px; margin: 0 -6px; }
1059
- .hist-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px; border: 0; border-radius: var(--ctl-radius); background: transparent; color: var(--text); font: inherit; font-size: var(--small); text-align: left; cursor: pointer; transition: background-color .12s; }
1095
+ .hist-opts { display: flex; flex-direction: column; gap: 0; margin: 0 -8px; }
1096
+ .hist-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text); font: inherit; font-size: 12px; text-align: left; cursor: pointer; transition: background-color var(--duration-fast); }
1060
1097
  .hist-opt:hover { background: var(--hover); }
1061
- .hist-opt[aria-pressed=true] { font-weight: var(--strong-weight); }
1098
+ .hist-opt[aria-pressed=true] { font-weight: 500; }
1062
1099
  .hist-opt:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
1063
1100
  .hist-opt-ck { flex: none; display: inline-flex; width: 14px; color: var(--accent); }
1064
1101
  .hist-opt-ck .ic { width: 14px; height: 14px; }
1065
1102
  .hist-group { display: flex; flex-direction: column; gap: 4px; }
1066
- .hist-group + .hist-group { margin-top: 10px; }
1103
+ .hist-group + .hist-group { margin-top: 12px; }
1067
1104
  .hist-group.is-folded + .hist-group.is-folded { margin-top: 0; }
1068
- .hist-ghead { display: flex; align-items: center; min-width: 0; padding-left: 14px; }
1069
- .hist-gtoggle { max-width: 100%; padding: 3px 8px 3px 2px; font-size: var(--small); font-weight: var(--strong-weight); }
1105
+ .hist-ghead { display: flex; align-items: center; min-width: 0; padding-left: 16px; }
1106
+ .hist-gtoggle { max-width: 100%; padding: 4px 8px 4px 4px; font-size: 12px; font-weight: 600; }
1070
1107
  .hist-gtitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1071
1108
  .hist-gtoggle .spin { width: 12px; height: 12px; }
1072
- .hist-catgrp { display: flex; flex-direction: column; margin-top: 6px; }
1109
+ .hist-catgrp { display: flex; flex-direction: column; margin-top: 8px; }
1073
1110
  .hist-cathead { display: flex; align-items: center; min-width: 0; }
1074
- .hist-cathead > .hist-proj { padding-left: 6px; }
1111
+ .hist-cathead > .hist-proj { padding-left: 8px; }
1075
1112
  .hist-cathead .chev { flex: none; width: 12px; height: 12px; }
1076
1113
  .hist-cathead [aria-expanded=true] .chev { transform: rotate(90deg); }
1077
1114
  /* The rows fold by easing the grid row from its content to nothing, so nothing below jumps. */
1078
- .hist-catbody { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .18s ease, opacity .18s ease; }
1079
- .hist-catbody > .hist-catps { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1px; padding-top: 1px; }
1080
- .hist-catgrp.is-folded .hist-catbody { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .18s ease, opacity .18s ease, visibility 0s .18s; }
1081
- .hist-cat { color: var(--text); font-weight: var(--strong-weight); }
1115
+ .hist-catbody { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out); }
1116
+ .hist-catbody > .hist-catps { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0; padding-top: 0; }
1117
+ .hist-catgrp.is-folded .hist-catbody { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), visibility 0s .18s; }
1118
+ .hist-cat { color: var(--text); font-weight: 600; }
1082
1119
  .hist-catps .hist-proj { padding-left: 24px; }
1083
- .hist-check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--small); color: var(--muted); cursor: pointer; white-space: nowrap; }
1120
+ .hist-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
1084
1121
  .hist-check input { margin: 0; accent-color: var(--accent); }
1085
1122
  .hist-check:hover { color: var(--text); }
1086
1123
  .hist-grid { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 16px; align-items: start; }
1087
1124
  .hist-none .hist-bar, .hist-none .hist-side { display: none; }
1088
1125
  .hist-none .hist-grid { grid-template-columns: minmax(0, 1fr); }
1089
- .hist-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; max-height: calc(100vh - 160px); overflow: auto; padding-right: 4px; }
1126
+ .hist-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; max-height: calc(100vh - 160px); overflow: auto; padding-right: 4px; }
1090
1127
  /* Inner scroll boxes get a thin bar in the theme's colours; the side list shows it only while the pointer is on it. */
1091
1128
  :is(.hist-side, .hv-msgs, .diff, .dlg-body, .menu) { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
1092
1129
  .hist-side:not(:hover, :focus-within) { scrollbar-color: transparent transparent; }
1093
- .hist-side-h { margin: 0 0 2px 10px; font-size: var(--small); font-weight: 400; color: var(--muted); }
1094
- .hist-projs { display: flex; flex-direction: column; gap: 1px; }
1095
- .hist-proj { display: flex; align-items: center; gap: 6px; width: 100%; padding: 5px 10px; border: 0; border-radius: var(--ctl-radius); background: transparent; color: var(--muted); font: inherit; font-size: var(--small); text-align: left; cursor: pointer; transition: background-color .12s, color .12s; }
1130
+ .hist-side-h { margin: 0 0 4px 12px; font-size: 12px; font-weight: 400; color: var(--muted); }
1131
+ .hist-projs { display: flex; flex-direction: column; gap: 0; }
1132
+ .hist-proj { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 12px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted); font: inherit; font-size: 12px; text-align: left; cursor: pointer; transition: background-color var(--duration-fast), color var(--duration-fast); }
1096
1133
  .hist-proj:hover { background: var(--hover); color: var(--text); }
1097
- .hist-proj[aria-pressed=true] { background: var(--active); color: var(--text); font-weight: var(--strong-weight); }
1134
+ .hist-proj[aria-pressed=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
1098
1135
  .hist-proj:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
1099
1136
  .hist-proj-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1100
1137
  .hist-proj-gone { flex: none; display: inline-flex; color: var(--faint); }
1101
1138
  .hist-proj-gone .ic { width: 12px; height: 12px; }
1102
- .hist-proj-n { flex: none; color: var(--muted); font-size: 11.5px; font-weight: 400; }
1103
- .hist-sk { width: 70%; margin: 8px 10px; }
1104
- .hist-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
1105
- .hist-status { display: flex; flex-direction: column; gap: 6px; }
1139
+ .hist-proj-n { flex: none; color: var(--muted); font-size: 12px; font-weight: 400; }
1140
+ .hist-sk { width: 70%; margin: 8px 12px; }
1141
+ .hist-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
1142
+ .hist-status { display: flex; flex-direction: column; gap: 8px; }
1106
1143
  .hist-status:empty { display: none; }
1107
1144
  .hist-count { margin: 0; }
1108
- .hist-list { transition: opacity .15s; }
1145
+ .hist-list { transition: opacity var(--duration-fast); }
1109
1146
  .hist-list.is-loading { opacity: .6; }
1110
- .hist-list.swap-in { animation: hist-swap .18s ease-out; }
1147
+ .hist-list.swap-in { animation: hist-swap var(--duration-base) var(--ease-out); }
1111
1148
  @keyframes hist-swap { from { opacity: .6; } }
1112
- .hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 12px; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); transition: background-color .15s; }
1149
+ .hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
1113
1150
  /* In a long list, rows out of view are not laid out until they come near it, so it folds and scrolls without stalls;
1114
1151
  a short list lays out every row at once, so nothing moves when a guessed height is replaced by the real one. */
1115
1152
  .hist-list.is-long .hist-row { content-visibility: auto; contain-intrinsic-size: auto 92px; }
1116
- .hist-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
1117
- .hist-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
1118
- .hist-row:only-child { border-radius: var(--radius); }
1153
+ .hist-row:first-child { border-top: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
1154
+ .hist-row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
1155
+ .hist-row:only-child { border-radius: var(--radius-xl); }
1119
1156
  .hist-row:hover { background: var(--hover); cursor: pointer; }
1120
- .hist-row > .badge { margin-top: 1px; }
1121
- .hist-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
1157
+ .hist-row > .badge { margin-top: 0; }
1158
+ .hist-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
1122
1159
  .hist-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
1123
- .hist-open { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: var(--strong-weight); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-radius: 4px; }
1160
+ .hist-open { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-radius: var(--radius-sm); }
1124
1161
  .hist-open:hover { text-decoration: underline; text-underline-offset: 2px; }
1125
1162
  .hist-open:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
1126
1163
  .hist-open[aria-busy=true] { cursor: progress; opacity: .7; }
1127
1164
  .hist-view[aria-busy=true] { cursor: progress; color: var(--muted); }
1128
1165
  .hist-view[aria-busy=true] .ic { display: none; }
1129
- .hist-live { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ok); }
1166
+ .hist-live { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ok); }
1130
1167
  .hist-live .hist-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-bar); }
1131
- .hist-meta { min-width: 0; overflow: hidden; padding: 2px; margin: -2px; }
1132
- .hist-mi-wrap { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; margin-left: -14px; }
1168
+ .hist-meta { min-width: 0; overflow: hidden; padding: 4px; margin: -4px; }
1169
+ .hist-mi-wrap { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; margin-left: -16px; }
1133
1170
  .hist-mi { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
1134
1171
  .hist-mi::before { content: '·'; flex: none; width: 14px; text-align: center; opacity: .7; }
1135
1172
  .hist-meta b { color: var(--text); font-weight: 500; }
1136
1173
  .hist-pname, .hist-branch { min-width: 0; max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1137
1174
  .hist-age { white-space: nowrap; }
1138
- .hist-snip { color: var(--muted); font-size: var(--small); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
1139
- .hist mark, .hv-msgs mark { background: var(--accent-soft); color: var(--text); border-radius: 3px; padding: 0 1px; }
1140
- .hist-cont { min-width: 6.5em; justify-content: center; transition: background-color .15s, border-color .15s, color .15s; }
1175
+ .hist-snip { color: var(--muted); font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
1176
+ .hist mark, .hv-msgs mark { background: var(--accent-soft); color: var(--text); border-radius: var(--radius-sm); padding: 0 0; }
1177
+ .hist-cont { min-width: 6.5em; justify-content: center; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
1141
1178
  .hist-cont.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
1142
1179
  .hist-cont .ic { width: 14px; height: 14px; }
1143
1180
  .hist-tail { display: flex; justify-content: center; }
1144
1181
  .hist-tail:empty { display: none; }
1145
1182
  .hist-tail p { margin: 0; }
1146
- .hist-empty p { margin: 0 0 10px; }
1183
+ .hist-empty p { margin: 0 0 12px; }
1147
1184
  .hist-ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
1148
1185
  .hist-toolbox { display: flex; flex-direction: column; gap: 8px; }
1149
1186
  .hist-toolbox:empty { display: none; }
1150
1187
  .hist-toolbox > p { margin: 0; }
1151
- .hist-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
1152
- .hist-tool-head h3 { margin: 0; font-size: 13.5px; }
1188
+ .hist-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
1189
+ .hist-tool-head h3 { margin: 0; font-size: 13px; }
1153
1190
  .hist-tool-prog { display: inline-flex; align-items: center; }
1154
- .hist-sources-box { margin-top: 18px; }
1155
- .hist-sources summary { cursor: pointer; font-size: var(--small); color: var(--muted); width: fit-content; border-radius: 4px; }
1191
+ .hist-sources-box { margin-top: 20px; }
1192
+ .hist-sources summary { cursor: pointer; font-size: 12px; color: var(--muted); width: fit-content; border-radius: var(--radius-sm); }
1156
1193
  .hist-sources summary:hover { color: var(--text); }
1157
1194
  .hist-sources summary:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
1158
- .hist-src { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: var(--small); }
1159
- .hist-src th { text-align: left; font-weight: var(--strong-weight); color: var(--muted); padding: 4px 8px; border-bottom: 1px solid var(--border); }
1160
- .hist-src td { padding: 5px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
1195
+ .hist-src { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12px; }
1196
+ .hist-src th { text-align: left; font-weight: 600; color: var(--muted); padding: 4px 8px; border-bottom: 1px solid var(--border); }
1197
+ .hist-src td { padding: 4px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
1161
1198
  .hist-src .num { text-align: right; white-space: nowrap; }
1162
- .hist-clear { margin: 10px 0 0; }
1163
- .hv-meta { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
1164
- .hv-msgs { max-height: min(60vh, 560px); overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); background: var(--surface-2); }
1199
+ .hist-clear { margin: 12px 0 0; }
1200
+ .hv-meta { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
1201
+ .hv-msgs { max-height: min(60vh, 560px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
1165
1202
  .hv-msgs:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
1166
1203
  .hv-earlier { align-self: center; }
1167
1204
  .hv-start { margin: 0; text-align: center; }
1168
- .hv-msg { display: flex; flex-direction: column; gap: 3px; padding: 8px 11px; border-radius: calc(var(--radius) - 6px); background: var(--surface); border: 1px solid var(--border); max-width: 92%; }
1205
+ .hv-msg { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); max-width: 92%; }
1169
1206
  .hv-user { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
1170
1207
  .hv-who { display: flex; gap: 8px; align-items: baseline; }
1171
1208
  .hv-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
1172
1209
  .hv-all { align-self: flex-start; }
1173
1210
  .hv-md { white-space: normal; }
1174
1211
  .hv-md > * { margin: 0; }
1175
- .hv-md > * + * { margin-top: 6px; }
1212
+ .hv-md > * + * { margin-top: 8px; }
1176
1213
  .hv-md p, .hv-md li, .hv-md blockquote { white-space: pre-wrap; }
1177
1214
  .hv-md .hv-h { font-weight: 600; }
1178
- .hv-md :is(ul, ol) { padding-left: 1.4em; }
1179
- .hv-md blockquote { padding-left: 10px; border-left: 2px solid var(--border); color: var(--muted); }
1215
+ .hv-md :is(ul, ol) { padding-left: 20px; }
1216
+ .hv-md blockquote { padding-left: 12px; border-left: 2px solid var(--border); color: var(--muted); }
1180
1217
  .hv-md hr { border: 0; border-top: 1px solid var(--border); }
1181
- .hv-md :not(pre) > code { background: var(--surface-2); border-radius: 4px; padding: 0 4px; }
1218
+ .hv-md :not(pre) > code { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0 4px; }
1182
1219
  .hv-md a { color: var(--accent); }
1183
- .hv-code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; overflow-x: auto; white-space: pre; font-size: 12px; line-height: 1.5; }
1220
+ .hv-code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 8px; overflow-x: auto; white-space: pre; font-size: 12px; line-height: 1.5; }
1184
1221
  .hv-table { overflow-x: auto; max-width: 100%; }
1185
1222
  .hv-table table { border-collapse: collapse; font-size: 12px; }
1186
- .hv-table :is(th, td) { border: 1px solid var(--border); padding: 3px 8px; text-align: left; vertical-align: top; }
1223
+ .hv-table :is(th, td) { border: 1px solid var(--border); padding: 4px 8px; text-align: left; vertical-align: top; }
1187
1224
  .hv-table th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
1188
- .hv-tools { display: flex; align-items: center; gap: 6px; padding: 0 4px; }
1225
+ .hv-tools { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
1189
1226
  .hv-tools .ic { flex: none; width: 13px; height: 13px; }
1190
1227
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-grid { grid-template-columns: minmax(0, 1fr); }
1191
1228
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-side { position: static; max-height: none; flex-direction: row; align-items: center; overflow-x: auto; }
@@ -1194,7 +1231,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1194
1231
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-catbody > .hist-catps { flex-direction: row; overflow: visible; }
1195
1232
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-proj { width: auto; flex: none; max-width: 16em; }
1196
1233
  :where(:root[data-width=narrow], :root[data-width=phone]) :is(.hist-catgrp, .hist-catps) { flex-direction: row; display: flex; gap: 4px; margin-top: 0; }
1197
- :where(:root[data-width=narrow], :root[data-width=phone]) .hist-catps .hist-proj { padding-left: 10px; }
1234
+ :where(:root[data-width=narrow], :root[data-width=phone]) .hist-catps .hist-proj { padding-left: 12px; }
1198
1235
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-cathead { display: none; }
1199
1236
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-catbody { display: contents; }
1200
1237
  /* Without its heading a folded category could not be opened again, so a narrow screen shows every category open. */
@@ -1203,52 +1240,52 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1203
1240
  :where(:root[data-width=narrow], :root[data-width=phone]) .hist-row .sess-actions { grid-column: 2; }
1204
1241
  /* Small motions (2026-10-20): every state change of a control eases over 120 ms, a press shrinks it a little, and what
1205
1242
  appears or goes away fades. Only opacity and transform move, so nothing reflows. */
1206
- .icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .email-btn { transition: background-color .12s, color .12s, border-color .12s, transform .1s; }
1207
- .tag-btn { transition: filter .12s, transform .1s; }
1208
- .btn { transition: background-color .12s, border-color .12s, color .12s, transform .1s; }
1209
- .chip-btn { transition: filter .12s, border-color .12s, transform .1s; }
1243
+ .icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .email-btn { transition: background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
1244
+ .tag-btn { transition: filter var(--duration-fast), transform var(--duration-fast); }
1245
+ .btn { transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
1246
+ .chip-btn { transition: filter var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
1210
1247
  :is(.btn, .icon-btn, .seg-btn, .set-tab, .chip-btn):not(.drag-handle):active:not(:disabled) { transform: scale(.97); }
1211
- .set-link .ic { transition: transform .15s; }
1248
+ .set-link .ic { transition: transform var(--duration-fast); }
1212
1249
  .set-link:hover .ic { transform: translateX(2px); }
1213
1250
  .icon-btn.row-run.is-done { color: var(--ok); }
1214
- .row-run.is-done .ic { animation: pop-in .18s cubic-bezier(.2, .8, .2, 1); }
1251
+ .row-run.is-done .ic { animation: pop-in var(--duration-base) var(--ease-out); }
1215
1252
  @keyframes pop-in { from { opacity: 0; transform: scale(.6); } }
1216
- .tip.is-open .tip-body, .tip-float.is-shown { animation: tip-in .12s ease-out; }
1253
+ .tip.is-open .tip-body, .tip-float.is-shown { animation: tip-in var(--duration-fast) var(--ease-out); }
1217
1254
  @keyframes tip-in { from { opacity: 0; transform: translateY(2px); } }
1218
- .toast.toast-out { box-sizing: border-box; overflow: hidden; animation: toast-out .18s ease-in forwards; }
1255
+ .toast.toast-out { box-sizing: border-box; overflow: hidden; animation: toast-out var(--duration-fast) var(--ease-in) forwards; }
1219
1256
  @keyframes toast-out { to { opacity: 0; height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; border-width: 0; } }
1220
- .set-pane.view-in { animation: view-in .2s ease-out both; }
1257
+ .set-pane.view-in { animation: view-in var(--duration-base) var(--ease-out) both; }
1221
1258
  .set-pane.view-in > * { animation: none; }
1222
1259
  /* A dialog closes at once (the page takes clicks again) and only its picture fades out: the browser keeps it in the top
1223
1260
  layer for the transition. Browsers without overlay transitions just close it. */
1224
- .dialog, .dialog::backdrop { transition: opacity .14s ease-in, transform .14s ease-in, overlay .14s ease-in allow-discrete, display .14s ease-in allow-discrete; }
1261
+ .dialog, .dialog::backdrop { transition: opacity var(--duration-fast) var(--ease-in), transform var(--duration-fast) var(--ease-in), overlay var(--duration-fast) var(--ease-in) allow-discrete, display var(--duration-fast) var(--ease-in) allow-discrete; }
1225
1262
  /* A dialog that opens another in its place (Settings → Preferred terminal) eases to the new width instead of jumping. */
1226
- .dialog[open] { transition: width .2s cubic-bezier(.2, 0, 0, 1); }
1263
+ .dialog[open] { transition: width var(--duration-slow) var(--ease-out); }
1227
1264
  /* While it fades out it is no longer modal. Its column layout must not depend on [open], or the content would turn
1228
1265
  into a row mid-fade; the geometry below matches the modal one for engines that drop the modal styles there. */
1229
1266
  .dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-width: none; overflow: auto; flex-direction: column; }
1230
- .dialog.dialog-top { margin-top: min(12vh, 96px); max-height: calc(100vh - min(12vh, 96px) - 24px); }
1267
+ .dialog.dialog-top { margin-top: 96px; max-height: calc(100vh - 120px); }
1231
1268
  .dialog:not([open]) { opacity: 0; transform: translateY(4px) scale(.985); pointer-events: none; }
1232
1269
  .dialog:not([open])::backdrop { opacity: 0; }
1233
1270
  /* Page tabs (2026-10-21): underline tabs across the content width, as GitHub and Vercel draw them. The selected page
1234
1271
  is in full text color with its mark in the accent and a 2px accent line under it; the others are muted. Each label
1235
1272
  reserves its bold width, so picking a tab never moves the ones after it. */
1236
- .pages { margin: 2px 0 22px; }
1237
- .tabs { display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
1238
- .tab { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 7px; flex: none; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--font-size); font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .12s; }
1239
- .tab::before { content: ""; position: absolute; inset: 6px 2px 7px; z-index: -1; border-radius: var(--ctl-radius); background: var(--hover); opacity: 0; transition: opacity .12s; }
1273
+ .pages { margin: 4px 0 24px; }
1274
+ .tabs { display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
1275
+ .tab { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color var(--duration-fast); }
1276
+ .tab::before { content: ""; position: absolute; inset: 8px 4px 8px; z-index: -1; border-radius: var(--radius-md); background: var(--hover); opacity: 0; transition: opacity var(--duration-fast); }
1240
1277
  .tab:hover { color: var(--text); }
1241
1278
  .tab:hover::before { opacity: 1; }
1242
1279
  /* The icon takes its tab's text color, so a tab is always one color: muted, then the accent once selected. */
1243
- .tab .ic { width: 16px; height: 16px; color: currentColor; transition: color .12s; }
1280
+ .tab .ic { width: 16px; height: 16px; color: currentColor; transition: color var(--duration-fast); }
1244
1281
  .tab-label { display: inline-grid; }
1245
- .tab-label::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: var(--strong-weight); }
1246
- .tab[aria-selected=true] { color: var(--accent); font-weight: var(--strong-weight); }
1247
- .tab[aria-selected=true]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); animation: tab-line .22s cubic-bezier(.16, 1, .3, 1); }
1282
+ .tab-label::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 600; }
1283
+ .tab[aria-selected=true] { color: var(--brand); font-weight: 500; }
1284
+ .tab[aria-selected=true]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--accent); animation: tab-line var(--duration-slow) var(--ease-out); }
1248
1285
  @keyframes tab-line { from { opacity: 0; transform: scaleX(.3); } }
1249
- .tab:focus-visible { outline: var(--focus-outline); outline-offset: -5px; border-radius: var(--ctl-radius); }
1250
- .tab-count { min-width: 20px; padding: 0 6px; border-radius: var(--chip-radius); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 11.5px; font-weight: 500; line-height: 18px; text-align: center; }
1251
- .tab[aria-selected=true] .tab-count { background: var(--accent-soft); box-shadow: none; color: var(--accent); }
1286
+ .tab:focus-visible { outline: var(--focus-outline); outline-offset: -5px; border-radius: var(--radius-md); }
1287
+ .tab-count { min-width: 20px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 12px; font-weight: 500; line-height: 18px; text-align: center; }
1288
+ .tab[aria-selected=true] .tab-count { background: var(--selected); box-shadow: none; color: var(--brand); }
1252
1289
  .tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-bar); box-shadow: 0 0 0 3px var(--ok-soft); }
1253
1290
  .tab .seg-badge { margin-left: 0; }
1254
1291
  .tab .spin { width: 16px; height: 16px; }
@@ -1256,26 +1293,26 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1256
1293
  /* Pages other than Accounts open the same way: a title with its actions on the right, one line saying what the page
1257
1294
  is for, then the content in surfaces. A section inside a page has a small heading with more room above than below. */
1258
1295
  .page > .section-head { margin-bottom: 4px; min-height: var(--ctl-h); }
1259
- .page > .section-head h2 { font-size: 18px; letter-spacing: -0.015em; }
1260
- .page > .section-head + p { margin-bottom: 18px; max-width: 860px; color: var(--muted); font-size: 13px; line-height: 1.6; }
1261
- .page-sec { margin: 28px 0 10px; font-size: 13.5px; font-weight: var(--heading-weight); color: var(--text); }
1262
- .page-sec-head { display: flex; flex-direction: column; gap: 2px; margin: 28px 0 10px; }
1296
+ .page > .section-head h2 { font-size: 20px; letter-spacing: -0.015em; }
1297
+ .page > .section-head + p { margin-bottom: 20px; max-width: 860px; color: var(--muted); font-size: 13px; line-height: 1.6; }
1298
+ .page-sec { margin: 28px 0 12px; font-size: 13px; font-weight: 600; color: var(--text); }
1299
+ .page-sec-head { display: flex; flex-direction: column; gap: 4px; margin: 28px 0 12px; }
1263
1300
  .page-sec-head .page-sec { margin: 0; }
1264
1301
 
1265
1302
  /* Auto Handoff's status card: its mark, on or off in words, what that means, and the one action that changes it. On,
1266
1303
  it takes a green edge and tint, so the state reads before the words. */
1267
- .hp-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: background-color .2s, border-color .2s; }
1268
- .hp-status-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); }
1304
+ .hp-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); transition: background-color var(--duration-slow), border-color var(--duration-slow); }
1305
+ .hp-status-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-xl); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); }
1269
1306
  .hp-status-ic .ic { width: 20px; height: 20px; }
1270
- .hp-status-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
1271
- .hp-status-text b { font-size: var(--large); font-weight: var(--heading-weight); }
1307
+ .hp-status-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
1308
+ .hp-status-text b { font-size: 16px; font-weight: 600; }
1272
1309
  .hp-status-text p { font-size: 13px; line-height: 1.55; }
1273
1310
  .hp-status.is-on { border-color: color-mix(in srgb, var(--ok-bar) 40%, var(--border)); background: color-mix(in srgb, var(--ok-soft) 55%, var(--surface)); }
1274
1311
  .hp-status.is-on .hp-status-ic { background: var(--ok-soft); box-shadow: none; color: var(--ok); }
1275
1312
  .hp-status + :not(.page-sec-head, .page-sec) { margin-top: 12px; }
1276
- .page .hp-rules, .page .hp-rows { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
1313
+ .page .hp-rules, .page .hp-rows { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
1277
1314
  .page .hp-rules > li { padding: 12px 16px; min-height: 52px; }
1278
- .page .hp-rows li { padding: 11px 16px; }
1315
+ .page .hp-rows li { padding: 12px 16px; }
1279
1316
  .hp-rule-text::before { color: var(--faint); }
1280
1317
  :where(:root[data-width=narrow], :root[data-width=phone]) .hp-status { grid-template-columns: auto minmax(0, 1fr); }
1281
1318
  :where(:root[data-width=narrow], :root[data-width=phone]) .hp-status > .btn { grid-column: 1 / -1; justify-self: start; }
@@ -1283,24 +1320,24 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1283
1320
  /* Context tuning on its page: one surface per settings file. Now, the suggestion and what it saves are one strip like
1284
1321
  the Accounts summary; the per-account details sit in the card's foot. */
1285
1322
  .tg-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
1286
- .tg-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--surface-2); border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); overflow: hidden; }
1323
+ .tg-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
1287
1324
  .tg-stat { min-width: 0; padding: 12px 16px; border-left: 1px solid var(--border); }
1288
1325
  .tg-stat:first-child { border-left: 0; }
1289
- .tg-stats .tune-num { font-size: 24px; font-weight: var(--heading-weight); letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
1290
- #tuning-page .tune-acct { gap: 0; margin: 0 0 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
1291
- #tuning-page .tune-group { gap: 12px; padding: 18px 20px; border: 0; border-radius: 0; }
1292
- #tuning-page .tune-acct > .tune-details { margin: 0; padding: 11px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
1326
+ .tg-stats .tune-num { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
1327
+ #tuning-page .tune-acct { gap: 0; margin: 0 0 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
1328
+ #tuning-page .tune-group { gap: 12px; padding: 20px 20px; border: 0; border-radius: 0; }
1329
+ #tuning-page .tune-acct > .tune-details { margin: 0; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
1293
1330
  #tuning-page .tune-acct > .tune-details:first-child { border-top: 0; }
1294
- #tuning-page .tune-acct > .tune-details[open] > summary { margin-bottom: 6px; }
1331
+ #tuning-page .tune-acct > .tune-details[open] > summary { margin-bottom: 8px; }
1295
1332
  :where(:root[data-width=phone]) .tg-stats { grid-auto-flow: row; }
1296
1333
  :where(:root[data-width=phone]) .tg-stat { border-left: 0; border-top: 1px solid var(--border); }
1297
1334
  :where(:root[data-width=phone]) .tg-stat:first-child { border-top: 0; }
1298
1335
 
1299
1336
  /* Hidden Families and Accounts (spec §3.25): the line under the list, and the marks while they are shown. */
1300
- .hidden-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0 2px; animation: chip-in .16s ease-out; }
1337
+ .hidden-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0 4px; animation: chip-in var(--duration-base) var(--ease-out); }
1301
1338
  .hidden-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fail); flex: none; }
1302
1339
  .hidden-chip .ic { width: 12px; height: 12px; }
1303
- .ident-name .hidden-chip { margin-left: 2px; }
1340
+ .ident-name .hidden-chip { margin-left: 4px; }
1304
1341
  .group.is-hidden .group-title, .row.is-hidden .name { color: var(--muted); }
1305
1342
  .hide-btn .ic { width: 16px; height: 16px; }
1306
1343
  .hide-btn.is-on { color: var(--muted); }
@@ -1309,47 +1346,47 @@ select:is(:hover, :focus) { --chevron: var(--text); }
1309
1346
  /* Unattended Mode (spec §3.37): the status card (green while on, amber while paused), the chooser under it, the
1310
1347
  Schedule's rows of day chips and times, and what sessions left for the user, grouped by session. Parts that come
1311
1348
  and go are animated from the script (uaPatch); these rules only lay them out. */
1312
- .ua-badge { gap: 6px; border-color: color-mix(in srgb, var(--ok-bar) 45%, var(--border-strong)); background: color-mix(in srgb, var(--ok-soft) 70%, var(--surface)); color: var(--ok); }
1349
+ .ua-badge { gap: 8px; border-color: color-mix(in srgb, var(--ok-bar) 45%, var(--border-strong)); background: color-mix(in srgb, var(--ok-soft) 70%, var(--surface)); color: var(--ok); }
1313
1350
  .ua-badge .ic { width: 15px; height: 15px; }
1314
1351
  .ua-badge:hover { border-color: var(--ok-bar); }
1315
1352
  .ua-status.is-paused { border-color: color-mix(in srgb, var(--warn-bar) 40%, var(--border)); background: color-mix(in srgb, var(--warn-soft) 50%, var(--surface)); }
1316
1353
  .ua-status.is-paused .hp-status-ic { background: var(--warn-soft); box-shadow: none; color: var(--warn); }
1317
1354
  .ua-status-rest { font-weight: 500; color: var(--text); }
1318
- .ua-chooser { max-width: 560px; margin-top: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
1319
- .ua-chooser-title { font-weight: var(--strong-weight); margin-bottom: 8px; }
1320
- .ua-opts { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
1321
- .ua-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; border-radius: calc(var(--ctl-radius) - 2px); cursor: pointer; transition: background-color .12s; }
1355
+ .ua-chooser { max-width: 560px; margin-top: 12px; padding: 16px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
1356
+ .ua-chooser-title { font-weight: 600; margin-bottom: 8px; }
1357
+ .ua-opts { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
1358
+ .ua-opt { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--duration-fast); }
1322
1359
  .ua-opt:hover { background: var(--hover); }
1323
1360
  .ua-opt.is-on { background: var(--accent-soft); }
1324
- .ua-radio { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; min-width: 9.5em; text-align: left; }
1325
- .ua-radio:focus-visible { outline: var(--focus-outline); outline-offset: 3px; border-radius: 4px; }
1326
- .ua-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface); transition: border-color .12s, box-shadow .12s; }
1361
+ .ua-radio { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; min-width: 9.5em; text-align: left; }
1362
+ .ua-radio:focus-visible { outline: var(--focus-outline); outline-offset: 3px; border-radius: var(--radius-sm); }
1363
+ .ua-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
1327
1364
  .ua-radio[aria-checked=true] .ua-dot { border-color: var(--accent); box-shadow: inset 0 0 0 3.5px var(--surface), inset 0 0 0 8px var(--accent); }
1328
1365
  .ua-when { margin-left: auto; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
1329
- input.ua-time { width: 4.6em; height: var(--ctl-h-sm); padding: 0 6px; border: 1px solid var(--border-strong); border-radius: var(--ctl-radius); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; transition: border-color .12s, box-shadow .12s; }
1366
+ input.ua-time { width: 4.6em; height: var(--ctl-h-sm); padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
1330
1367
  input.ua-time:hover:not(:disabled) { border-color: var(--btn-hover-border); }
1331
1368
  input.ua-time:focus { border-color: var(--focus); outline: none; box-shadow: var(--focus-ring); }
1332
1369
  input.ua-time:invalid { border-color: var(--fail); }
1333
1370
  input.ua-time:disabled { background: var(--surface-2); color: var(--faint); }
1334
1371
  input.ua-time::placeholder { color: var(--faint); }
1335
1372
  .ua-slots, .ua-cover, .ua-items { list-style: none; margin: 0; padding: 0; }
1336
- .ua-slots { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
1337
- .ua-slot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--border); }
1373
+ .ua-slots { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
1374
+ .ua-slot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); }
1338
1375
  .ua-slot:first-child { border-top: 0; }
1339
- .ua-slot-name { min-width: 7em; font-weight: var(--strong-weight); }
1376
+ .ua-slot-name { min-width: 7em; font-weight: 600; }
1340
1377
  .ua-days { display: inline-flex; gap: 4px; }
1341
- .ua-day { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s; }
1378
+ .ua-day { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
1342
1379
  .ua-day:hover:not(:disabled) { border-color: var(--btn-hover-border); color: var(--text); }
1343
- .ua-day[aria-pressed=true] { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: var(--strong-weight); }
1380
+ .ua-day[aria-pressed=true] { background: var(--selected); border-color: transparent; color: var(--brand); font-weight: 500; }
1344
1381
  .ua-day:disabled { cursor: default; }
1345
1382
  .ua-day[aria-pressed=false]:disabled { opacity: .5; }
1346
1383
  .ua-day:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
1347
- .ua-times { display: inline-flex; align-items: center; gap: 6px; }
1384
+ .ua-times { display: inline-flex; align-items: center; gap: 8px; }
1348
1385
  .ua-dash { color: var(--muted); }
1349
- .ua-night { animation: fade-in .16s ease-out; }
1386
+ .ua-night { animation: fade-in var(--duration-base) var(--ease-out); }
1350
1387
  .ua-del { margin-left: auto; }
1351
1388
  .ua-del .ic { width: 15px; height: 15px; }
1352
- .ua-add-row { margin-top: 10px; }
1389
+ .ua-add-row { margin-top: 12px; }
1353
1390
  .ua-empty { gap: 8px; }
1354
1391
  .ua-empty .ic, .ua-first .ic { width: 15px; height: 15px; flex: none; }
1355
1392
  .ua-first { margin-top: 12px; }
@@ -1357,17 +1394,17 @@ input.ua-time::placeholder { color: var(--faint); }
1357
1394
  .ua-sec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
1358
1395
  .ua-sec-row .tab-count { margin-left: 4px; vertical-align: 1px; }
1359
1396
  .ua-groups { display: flex; flex-direction: column; }
1360
- .ua-group { margin-bottom: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
1361
- .ua-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
1362
- .ua-group-who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
1397
+ .ua-group { margin-bottom: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
1398
+ .ua-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
1399
+ .ua-group-who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
1363
1400
  .ua-cwd { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
1364
1401
  .ua-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); }
1365
1402
  .ua-item:first-child { border-top: 0; }
1366
1403
  .ua-item-meta { display: flex; align-items: center; gap: 8px; grid-column: 1; }
1367
1404
  .ua-text { grid-column: 1; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
1368
1405
  .ua-text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
1369
- .ua-item-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-start; gap: 10px; }
1370
- .ua-cover { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
1406
+ .ua-item-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-start; gap: 12px; }
1407
+ .ua-cover { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
1371
1408
  .ua-cover li::before { content: "·"; margin-right: 8px; color: var(--faint); }
1372
1409
  :where(:root[data-width=narrow], :root[data-width=phone]) .ua-item { grid-template-columns: minmax(0, 1fr); }
1373
1410
  :where(:root[data-width=narrow], :root[data-width=phone]) .ua-item-actions { grid-column: 1; grid-row: auto; }
@@ -1376,48 +1413,48 @@ input.ua-time::placeholder { color: var(--faint); }
1376
1413
  @media (prefers-reduced-motion: reduce) { .ua-opt, .ua-dot, .ua-day, input.ua-time { transition: none; } .ua-night { animation: none; } }
1377
1414
 
1378
1415
  /* Command Palette (spec §3.36): a search box over one list; the dialog keeps its top edge while the list changes. */
1379
- .kbd-inline { font: 11px/16px var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; margin-left: 2px; }
1416
+ .kbd-inline { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 4px; margin-left: 4px; }
1380
1417
  .dialog.dialog-pal { width: min(620px, calc(100vw - 24px)); flex-direction: column; }
1381
- .pal-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
1418
+ .pal-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
1382
1419
  .pal-ic { flex: none; color: var(--muted); }
1383
- .dialog .pal-input, .dialog .pal-input:focus, .dialog .pal-input:focus-visible { flex: 1; min-width: 0; height: 32px; padding: 0; border: 0; box-shadow: none; outline: none; background: none; color: var(--text); font: inherit; font-size: var(--large); outline: none; }
1420
+ .dialog .pal-input, .dialog .pal-input:focus, .dialog .pal-input:focus-visible { flex: 1; min-width: 0; height: 32px; padding: 0; border: 0; box-shadow: none; outline: none; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
1384
1421
  .pal-input::-webkit-search-cancel-button { display: none; }
1385
- .pal-list { overflow-y: auto; overscroll-behavior: contain; padding: 6px; display: flex; flex-direction: column; gap: 1px; max-height: min(56vh, 460px); }
1386
- .pal-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
1387
- .pal-opt { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 5px 10px; border-radius: calc(var(--ctl-radius) - 2px); color: var(--text); cursor: pointer; transition: background-color .12s ease; }
1388
- .pal-opt[aria-selected=true] { background: var(--hover); }
1422
+ .pal-list { overflow-y: auto; overscroll-behavior: contain; padding: 8px; display: flex; flex-direction: column; gap: 0; max-height: min(56vh, 460px); }
1423
+ .pal-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
1424
+ .pal-opt { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 4px 12px; border-radius: var(--radius-sm); color: var(--text); cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out); }
1425
+ .pal-opt[aria-selected=true] { background: var(--selected); color: var(--text); }
1389
1426
  .pal-opt[aria-disabled=true] { color: var(--faint); cursor: not-allowed; }
1390
- .pal-kind { flex: none; min-width: 52px; font-size: 11px; line-height: 18px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0 7px; text-align: center; }
1427
+ .pal-kind { flex: none; min-width: 52px; font-size: 11px; line-height: 18px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 0 8px; text-align: center; }
1391
1428
  .pal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
1392
1429
  .pal-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1393
1430
  .pal-also { font-size: 11px; color: var(--muted); }
1394
1431
  .pal-where { flex: none; max-width: 42%; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1395
- .pal-opt mark { background: var(--accent-soft); color: inherit; border-radius: 2px; padding: 0 1px; }
1432
+ .pal-opt mark { background: var(--accent-soft); color: inherit; border-radius: var(--radius-sm); padding: 0 0; }
1396
1433
  .pal-more .pal-main, .pal-hist .pal-title, .pal-ai .pal-title { color: var(--accent); }
1397
1434
  .pal-hist { margin-top: 4px; }
1398
- .pal-none { padding: 14px 10px 4px; margin: 0; }
1399
- .pal-foot { padding: 8px 16px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
1435
+ .pal-none { padding: 16px 12px 4px; margin: 0; }
1436
+ .pal-foot { padding: 8px 16px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
1400
1437
  [data-width=narrow] .pal-where, [data-width=narrow] .pal-foot { display: none; }
1401
1438
  .dialog.dialog-cmds { width: min(760px, calc(100vw - 24px)); flex-direction: column; }
1402
- .cmd-list { overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 10px; height: min(62vh, 560px); }
1403
- .cmd-intro { margin: 8px 10px 2px; }
1439
+ .cmd-list { overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 12px; height: min(62vh, 560px); }
1440
+ .cmd-intro { margin: 8px 12px 4px; }
1404
1441
  .cmd-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
1405
- .cmd-row { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; border-top: 1px solid var(--border); }
1442
+ .cmd-row { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-top: 1px solid var(--border); }
1406
1443
  .cmd-row:first-child { border-top: 0; }
1407
1444
  .cmd-line, .cmd-ex { display: flex; align-items: center; gap: 8px; min-width: 0; }
1408
- .cmd-usage { flex: 1; min-width: 0; color: var(--text); font-weight: var(--strong-weight); overflow-wrap: anywhere; }
1409
- .cmd-desc { color: var(--muted); font-size: var(--small); }
1445
+ .cmd-usage { flex: 1; min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
1446
+ .cmd-desc { color: var(--muted); font-size: 12px; }
1410
1447
  .cmd-ex { font-size: 12px; color: var(--muted); }
1411
- .cmd-ex code { min-width: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
1448
+ .cmd-ex code { min-width: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 8px; overflow-wrap: anywhere; }
1412
1449
  .cmd-ex-label { flex: none; }
1413
- .cmd-open { flex: none; font-size: var(--small); }
1450
+ .cmd-open { flex: none; font-size: 12px; }
1414
1451
  .cmd-copy { flex: none; }
1415
1452
  .cmd-copy.is-done { color: var(--ok); }
1416
- .cmd-none { padding: 14px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
1453
+ .cmd-none { padding: 16px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
1417
1454
  .cmd-none p { margin: 0; }
1418
1455
  .cmd-none .link-btn { display: inline-flex; align-items: center; gap: 4px; }
1419
- .find-flash { animation: find-flash 1.2s ease-out; border-radius: var(--ctl-radius); }
1420
- @keyframes find-flash { 0%, 35% { box-shadow: 0 0 0 6px var(--accent-soft); background: var(--accent-soft); } to { box-shadow: 0 0 0 6px transparent; background: transparent; } }
1456
+ .find-flash { animation: find-flash var(--duration-slow) var(--ease-in) backwards; animation-delay: 1s; border-radius: var(--radius-md); }
1457
+ @keyframes find-flash { from { box-shadow: 0 0 0 6px var(--accent-soft); background: var(--accent-soft); } to { box-shadow: 0 0 0 6px transparent; background: transparent; } }
1421
1458
  @media (prefers-reduced-motion: reduce) { .find-flash { animation: none; } .pal-opt { transition: none; } }
1422
1459
  @media (prefers-reduced-motion: reduce) {
1423
1460
  .sk, .spin, .hidden-bar, .is-spinning svg, .toast, .toast.bump, .toast.toast-out, .view-in > *, .set-pane.view-in, .row.flash, .sess-row.flash, .sess-msg, .seg-badge, .card.flash, .pulse, .sess-busy .sess-dot, .menu, .menu.float-out, .dialog[open], .dialog[open]::backdrop, .enter, .fade-in, .hist-list.swap-in, .tip-body, .tip-float, .row-run.is-done .ic, .tab[aria-selected=true]::after { animation: none; }