Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat(remake): design system v2 — tokens HIG, accent único, tipografia System, AA nos 14 temas
tonhowtf2bd663dc2873
diff --git a/REMAKE-LOG.md b/REMAKE-LOG.mdindex 9223f074..44d4bfe9 100644--- a/REMAKE-LOG.md+++ b/REMAKE-LOG.md@@ -12,6 +12,10 @@ Início: 2026-07-28- **D-005** (2026-07-28): Escopo de telas: rotas core + hubs de plugins recebem redesign completo; as ~70 sub-rotas de `/study` herdam tokens/primitivos globais com redesign dirigido só nas superfícies representativas (player, read, music, notes, anki hub, focus). Study é um "segundo app" — refazer tela a tela seria escopo infinito sem ganho proporcional.- **D-006** (2026-07-28): `remake/shots/` entra no `.gitignore` — screenshots são artefato de trabalho (852KB+ por rodada), não código. Os arquivos `.md` da missão (REMAKE-LOG, PLANO, DESIGN-SYSTEM) são commitados por pedido explícito.- **D-007** (2026-07-28): Shots de plugins renderizam o estado degradado (comandos de plugin mockados como `null`) — suficiente para comparação antes/depois de tokens/layout, que é o objetivo.+- **D-008** (2026-07-28): Bug herdado corrigido: `macos-shell.css` sobrescrevia `--primary/--accent/--button/...` de TODOS os temas (o seletor `:not(...)` capturava catppuccin/dracula/nyxvamp/eink e os pintava de Apple dark). Cores movidas para os blocos de tema em `app.css`; os 12 temas alternativos voltam a valer. Temas mudam cor, não estrutura.+- **D-009** (2026-07-28): Corpo de texto 14px→13px (padrão macOS desktop), escala HIG (caption 10 / footnote 11 / callout 12 / body 13 / headline 15 / title3 17 / title2 20 / title1 26 / large 34). Raios efetivos mantidos (4/6/8/10) agora como fonte única em `:root`.+- **D-010** (2026-07-28): Preset tipográfico default muda de Bricolage+Inter para **System** (SF no macOS). Usuários com escolha salva mantêm a sua — só o default muda. Apple-first: sem fonte de personalidade no chrome do app.+- **D-011** (2026-07-28): CTA fill unificado `#0071E3` (branco 4.70:1 ✓ AA) nos dois temas core; accent de seleção `#0A84FF`/`#007AFF`; laranja removido da UI (permanece só no mascote). Texto accent sobre superfícies escuras usa `--accent-hi` (4.92:1).## Contornos@@ -25,7 +29,7 @@ Início: 2026-07-28- [x] Fase A.4 — 132/132 shots baseline em `remake/shots/baseline/` (22 rotas × 3 viewports × 2 temas, zero falhas)- [x] Fase A.5 — REMAKE-LOG.md criado- [x] Fase A.6 — remake/PLANO.md criado-- [ ] Fase B — design system+- [x] Fase B — design system (remake/DESIGN-SYSTEM.md; tokens em app.css; temas core dark/light retunados p/ HIG; contraste AA 14/14 temas via scripts/contrast-audit.mjs; tipografia default → System; overrides de cor removidos do macos-shell.css)- [ ] Fase C — primitivos- [ ] Fase D — telasdiff --git a/remake/DESIGN-SYSTEM.md b/remake/DESIGN-SYSTEM.mdnew file mode 100644index 00000000..e9e27543--- /dev/null+++ b/remake/DESIGN-SYSTEM.md@@ -0,0 +1,127 @@+# OmniGet Design System v2 — "The Clipboard Utility"++Derivado das referências em `mobbin/` (P1: Apple Music, Apple Mail, Apple Fitness, App Store, Apple Podcasts, Apple Notes; P2: Linear, Bear, Things 3, Raycast, Craft, Ghost). North star mantido de `DESIGN.md`: software que parece que veio com o macOS. Um accent, hierarquia por peso e tamanho, profundidade por separadores e mudança de tom — não por sombra.++Implementação: CSS custom properties em `src/app.css` (formato que o projeto já usa). A camada legada (~74 props × 14 temas) permanece funcional; a camada semântica nova é derivada globalmente via `color-mix` — nenhum tema fica órfão de token.++---++## 1. Tipografia++Fonte: stack do sistema. `-apple-system` / SF Pro no macOS; Segoe/Roboto nos demais. O preset de tipografia default do app muda de "Bricolage Grotesque + Inter" para **System** (usuários que salvaram outra escolha mantêm a sua). Mono: IBM Plex Mono (logs, paths, kbd).++Hierarquia por **peso e tamanho**, nunca por cor de fundo. Papéis (base desktop macOS, 13px de corpo):++| Papel | Token de tamanho | px | Peso | LH | Tracking | Uso |+|---|---|---|---|---|---|---|+| Large title | `--text-3xl` | 34 | 700 | 1.15 | −0.022em | hero da About, onboarding |+| Title 1 | `--text-2xl` | 26 | 700 | 1.25 | −0.02em | `.page-title` |+| Title 2 | `--text-xl` | 20 | 600 | 1.35 | −0.015em | títulos de diálogo |+| Title 3 | `--text-lg` | 17 | 600 | 1.4 | −0.01em | `.section-title` |+| Headline | `--text-md` | 15 | 600 | 1.5 | −0.005em | título de linha/card |+| Body | `--text-base` | 13 | 400 | 1.55 | 0 | corpo, rows, forms |+| Callout | `--text-sm` | 12 | 400 | 1.5 | 0 | descrições de setting |+| Subhead | `--text-sm` | 12 | 500 | 1.5 | 0 | metadados com ênfase |+| Footnote | `--text-xs` | 11 | 400 | 1.45 | 0 | timestamps, hints |+| Caption | `--text-caption` | 10 | 600 | 1.3 | +0.06em caps | eyebrow, headers de grupo |+| Display | `--text-display` | 48 | 700 | 1.05 | −0.025em | marketing apenas |++Tracking tokens: `--track-tight: -0.02em`, `--track-snug: -0.01em`, `--track-caps: 0.06em`.+Máximo 2 pesos além do regular por tela. Cor nunca é o único sinal de hierarquia.++## 2. Espaçamento++Escala 4pt existente (`--space-1..9` = 4/8/12/16/24/32/48/64/96). Densidades:++- **Compacta** — linhas de tabela/lista da fila, sidebar: altura 28px (`--row-compact`), gap interno `--space-2`.+- **Padrão** — setting rows, cards, forms: altura mínima 44px (`--row-base`), padding `--space-3` `--space-4`, gap entre itens do grupo `--space-2`, entre grupos `--space-5`+.+- **Espaçosa** — heros (About, onboarding, empty states): padding `--space-6`+, gap `--space-5`.++Agrupamento por proximidade: itens do mesmo grupo a 8px; grupos separados por 24px+.++## 3. Cor++Paleta semântica em dois temas core (dark default). Um accent (azul sistema). Status são semânticos, não decorativos. Todos os pares texto/fundo abaixo verificados ≥4.5:1 (script `scripts/contrast-audit.mjs`).++### Dark (`[data-theme="dark"]`)++| Papel | Valor | Contraste |+|---|---|---|+| bg (window) | `#1C1C1E` | — |+| sidebar | `#252527` | — |+| surface (card/control) | `#2C2C2E` | — |+| surface-hi | `#3A3A3C` | — |+| label primary | `#F5F5F7` | 15.6 no bg / 12.8 na surface |+| label secondary (`--text-muted`) | mix(secondary 65%, tertiary) | ≥8 |+| label tertiary (`--text-dim`) | `#98989D` | 5.9 bg / 4.85 surface |+| label quaternary (`--text-faint`) | tertiary 55% alpha | não-textual |+| separator | `#38383A` (opaco) | — |+| accent (seleção, links no bg) | `#0A84FF` | 4.66 no bg |+| accent-hi (texto accent em surface) | `#409CFF` | 4.92 na surface |+| cta fill (botão primário) | `#0071E3`, texto `#FFFFFF` | 4.70 |+| success | `#30D158` | 8.4 |+| warning | `#FF9F0A` | 8.3 (texto escuro em fill: 8.28) |+| danger | `#FF453A` | 4.99 |++### Light (`[data-theme="light"]`)++| Papel | Valor | Contraste |+|---|---|---|+| bg (window) | `#F5F5F7` | — |+| sidebar | `#EBEBED` | — |+| surface (card) | `#FFFFFF` | — |+| surface-hi | `#F0F0F2` | — |+| label primary | `#1D1D1F` | 15.5 / 16.8 |+| label tertiary | `#67676C` | ≥4.6 em todas as camadas |+| separator | `#D1D1D6` | — |+| accent | `#007AFF` (seleção/foco); texto accent usa `--accent-lo` `#0066D6` (5.42) | |+| cta fill | `#0071E3`, texto branco | 4.70 |+| success | `#217E38` | 5.11 |+| warning (texto) | `#B25000` | 5.20 |+| danger | `#D70015` | 5.38 |++### Regras++- **The One Accent Rule**: azul = ação primária + seleção + foco. `--cta` e `--accent` são o mesmo azul percebido; laranja saiu da UI (vive só no mascote Loop).+- Fills de controle derivados globalmente: `--fill-1/2/3` = secondary a 8/12/17% (rest/hover/press) — funcionam nos 14 temas.+- Os 12 temas alternativos mantêm suas paletas próprias (correção: o mac-shell deixava de respeitá-las — ver D-008 no REMAKE-LOG).++## 4. Elevação e material++Flat por padrão. Profundidade = mudança de tom (sidebar mais escura/clara que window, surface mais clara/branca) + separadores de 1px (hairline 0.5px em retina via `--hairline`).++Sombras apenas em camadas flutuantes:+- `--elev-1` — controles salientes (raramente)+- `--elev-2` — popovers, menus, tooltips+- `--elev-3` — diálogos, command palette+- Light theme tem overrides próprios (sombras pretas suaves, sem borda branca).++Material translúcido (palette, backdrop de sheet): `--material` (bg a 78% + `--material-blur: blur(24px) saturate(180%)`). Uma camada de material por vez; nunca material sobre material.++Quando cada camada aparece: conteúdo (nível 0, sem sombra) → popover/menu/tooltip (nível 1, elev-2) → diálogo/sheet/palette (nível 2, elev-3 + backdrop).++## 5. Raio de canto++Escala (efetiva; o shell mac já usava): `--radius-xs` 4, `--radius-sm` 6, `--radius-md` 8, `--radius-lg` 10, `--radius-xl` 16, `--radius-full` 9999.++Uso: controles inline (kbd, checkbox) xs; botões/inputs/nav-item sm–md; cards/tabelas md–lg; diálogos/palette lg–xl. **Regra de aninhamento**: raio interno = raio externo − padding (mínimo xs).++## 6. Motion++| Token | Valor | Uso |+|---|---|---|+| `--duration-fast` | 120ms | hover, toggle de estado |+| `--duration-base` | 200ms | entradas, fades, drill |+| `--duration-slow` | 320ms | sheets, diálogos |+| `--ease-out` | cubic-bezier(0.2, 0.8, 0.2, 1) | entradas |+| `--ease-spring` | cubic-bezier(0.34, 1.56, 0.64, 1) | interação direta (toggle, mascote) |+| `--ease-in-out` | cubic-bezier(0.45, 0, 0.25, 1) | movimentos laterais (drill) |++`prefers-reduced-motion`: transições caem para opacity-only, springs viram ease-out.++## 7. Comportamento (resumo behavioral-design)++- Uma tela = um CTA dominante (o azul de maior contraste pertence a ele).+- Hierarquia de texto por peso/tamanho; cinzas fazem o fundo para o sinal aparecer.+- Empty states direcionam a primeira ação de valor; loading tem skeleton; erro diz o que aconteceu + o que fazer; sucesso celebra (Loop).+- Sem dark patterns: aceitar e recusar com o mesmo peso; undo sempre disponível.diff --git a/remake/PLANO.md b/remake/PLANO.mdindex e510172f..79a859d8 100644--- a/remake/PLANO.md+++ b/remake/PLANO.md@@ -13,11 +13,11 @@ Regra: atualizar o status após CADA item concluído. `[ ]` pendente, `[~]` em p## Fase B — Design system-- [ ] B1. Abrir referências (≥6 por eixo: tipografia, cor, forma) — parcialmente feito (8 imagens: Apple Music, Apple Mail, Linear ×1, Things 3, App Store, Bear, Raycast, Apple Fitness)-- [ ] B2. remake/DESIGN-SYSTEM.md (tipografia, espaçamento, cor, elevação, raio, motion)-- [ ] B3. Tokens implementados em src/app.css (formato CSS vars existente)-- [ ] B4. Verificação programática de contraste AA (script)-- [ ] B5. Aplicação global + check/test/build verdes + commit+- [x] B1. Abrir referências (≥6 por eixo: tipografia, cor, forma) — parcialmente feito (8 imagens: Apple Music, Apple Mail, Linear ×1, Things 3, App Store, Bear, Raycast, Apple Fitness)+- [x] B2. remake/DESIGN-SYSTEM.md (tipografia, espaçamento, cor, elevação, raio, motion)+- [x] B3. Tokens implementados em src/app.css (formato CSS vars existente)+- [x] B4. Verificação programática de contraste AA (script)+- [x] B5. Aplicação global + check/test/build verdes + commit## Fase C — Primitivos (ordem obrigatória; todos os estados; foco visível; 2 temas)diff --git a/scripts/contrast-audit.mjs b/scripts/contrast-audit.mjsnew file mode 100644index 00000000..1490dc4e--- /dev/null+++ b/scripts/contrast-audit.mjs@@ -0,0 +1,118 @@+// WCAG contrast audit for OmniGet themes.+// Computes ratio for: text-muted/surface, text-muted/surface-hi, text-dim/surface.++const themes = [+ { name: "dark", secondary: "#F5F5F7", tertiary: "#98989D", button: "#2C2C2E", buttonElev: "#3A3A3C", primary: "#1C1C1E" },+ { name: "light", secondary: "#1D1D1F", tertiary: "#67676C", button: "#FFFFFF", buttonElev: "#FFFFFF", primary: "#F5F5F7" },+ { name: "catppuccin-mocha", secondary: "#cdd6f4", tertiary: "#a6adc8", button: "#313244", buttonElev: "#45475a", primary: "#1e1e2e" },+ { name: "catppuccin-macchiato", secondary: "#cad3f5", tertiary: "#a5adcb", button: "#363a4f", buttonElev: "#494d64", primary: "#24273a" },+ { name: "catppuccin-frappe", secondary: "#c6d0f5", tertiary: "#c3cdf1", button: "#414559", buttonElev: "#51576d", primary: "#303446" },+ { name: "catppuccin-latte", secondary: "#4c4f69", tertiary: "#3e4159", button: "#ccd0da", buttonElev: "#bcc0cc", primary: "#eff1f5" },+ { name: "one-dark-pro", secondary: "#abb2bf", tertiary: "#a9b0bd", button: "#2c313a", buttonElev: "#3e4452", primary: "#282c34" },+ { name: "dracula", secondary: "#F8F8F2", tertiary: "#b6b1cc", button: "#2B2640", buttonElev: "#424450", primary: "#22212C" },+ { name: "nyxvamp-veil", secondary: "#D9E0EE", tertiary: "#9594ab", button: "#2E2E3E", buttonElev: "#302D41", primary: "#1E1E2E" },+ { name: "nyxvamp-obsidian", secondary: "#C0C0CE", tertiary: "#87859b", button: "#1E1E20", buttonElev: "#1E1E20", primary: "#000A0F" },+ { name: "nyxvamp-radiance", secondary: "#1E1E2E", tertiary: "#5A5570", button: "#E8E8F0", buttonElev: "#E8D5FF", primary: "#F7F7FF" },+ { name: "eink-day", secondary: "#1d1d1b", tertiary: "#5c5a56", button: "#ebe5d7", buttonElev: "#ebe5d7", primary: "#f5f2ea" },+ { name: "eink-sepia", secondary: "#3f2e20", tertiary: "#6e5440", button: "#e6dcc3", buttonElev: "#e6dcc3", primary: "#f0e6d2" },+ { name: "eink-night", secondary: "#d4d4d0", tertiary: "#8e8e88", button: "#121212", buttonElev: "#121212", primary: "#0a0a0a" },+];++function hexToRgb(h) {+ h = h.replace("#", "");+ return [parseInt(h.slice(0,2),16), parseInt(h.slice(2,4),16), parseInt(h.slice(4,6),16)];+}++function rgbToHex(rgb) {+ return "#" + rgb.map(c => Math.round(c).toString(16).padStart(2, "0")).join("");+}++function mix(a, b, percent) {+ const ra = hexToRgb(a), rb = hexToRgb(b);+ const p = percent / 100;+ return rgbToHex([+ ra[0]*p + rb[0]*(1-p),+ ra[1]*p + rb[1]*(1-p),+ ra[2]*p + rb[2]*(1-p),+ ]);+}++function linearize(c) {+ c = c / 255;+ return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);+}++function luminance(hex) {+ const [r, g, b] = hexToRgb(hex);+ return 0.2126*linearize(r) + 0.7152*linearize(g) + 0.0722*linearize(b);+}++function ratio(a, b) {+ const la = luminance(a), lb = luminance(b);+ const [hi, lo] = la > lb ? [la, lb] : [lb, la];+ return (hi + 0.05) / (lo + 0.05);+}++const TARGET = 4.5;++console.log(`| theme | text-muted | muted/surf | muted/surf-hi | dim/surf | overall |`);+console.log(`|---|---|---|---|---|---|`);+const failing = [];+for (const t of themes) {+ const muted = mix(t.secondary, t.tertiary, 65);+ const r1 = ratio(muted, t.button);+ const r2 = ratio(muted, t.buttonElev);+ const r3 = ratio(t.tertiary, t.button);+ const passing = r1 >= TARGET && r2 >= TARGET;+ const overall = passing ? "PASS" : "FAIL";+ console.log(`| ${t.name} | ${muted} | ${r1.toFixed(2)} | ${r2.toFixed(2)} | ${r3.toFixed(2)} | ${overall} |`);+ if (!passing) failing.push({ ...t, muted, r1, r2 });+}++console.log("\n--- Per-theme tertiary fix proposals (target text-dim ≥ 4.5:1 on surface) ---");+for (const t of themes) {+ const r3 = ratio(t.tertiary, t.button);+ if (r3 < 4.5) {+ let bestTertiary = t.tertiary;+ let bestRatio = r3;+ for (let step = 1; step <= 30; step++) {+ const candidate = mix(t.secondary, t.tertiary, step * 3);+ const r = ratio(candidate, t.button);+ const r2 = ratio(candidate, t.buttonElev);+ if (r >= 4.5 && r2 >= 4.5) {+ const newMuted = mix(t.secondary, candidate, 65);+ const rm1 = ratio(newMuted, t.button);+ const rm2 = ratio(newMuted, t.buttonElev);+ console.log(` ${t.name}: --tertiary ${t.tertiary} → ${candidate} (dim/surf=${r.toFixed(2)}:1, dim/surf-hi=${r2.toFixed(2)}:1, muted/surf=${rm1.toFixed(2)}, muted/surf-hi=${rm2.toFixed(2)})`);+ bestTertiary = candidate;+ break;+ }+ }+ }+}++console.log("\n--- Failing muted themes (text-muted-only failure case) ---");+for (const t of failing) {+ // Strategy: for dark themes, lighten tertiary toward secondary until muted hits target.+ // For light themes, darken tertiary toward secondary until target.+ // Simulate by adjusting tertiary; muted = mix(secondary, tertiary, 65%).+ // Try increasing/decreasing tertiary brightness in steps.+ const isDark = luminance(t.button) < luminance(t.secondary);+ let bestTertiary = t.tertiary;+ let bestRatio = t.r1;+ // Try 20 steps blending tertiary toward secondary+ for (let step = 1; step <= 20; step++) {+ const candidate = mix(t.secondary, t.tertiary, step * 5); // step*5% secondary+ const candidateMuted = mix(t.secondary, candidate, 65);+ const r = ratio(candidateMuted, t.button);+ if (r >= TARGET && r > bestRatio) {+ bestTertiary = candidate;+ bestRatio = r;+ const r2c = ratio(candidateMuted, t.buttonElev);+ if (r2c >= TARGET) {+ console.log(` ${t.name}: tertiary ${t.tertiary} → ${candidate} (muted=${candidateMuted}, surf=${r.toFixed(2)}:1, surf-hi=${r2c.toFixed(2)}:1)`);+ break;+ }+ }+ }+}diff --git a/src/app.css b/src/app.cssindex 8f41f39f..2017538b 100644--- a/src/app.css+++ b/src/app.css@@ -26,9 +26,10 @@--space-8: 64px;--space-9: 96px;- --text-xs: 12px; --leading-xs: 1.45;- --text-sm: 13px; --leading-sm: 1.5;- --text-base: 14px; --leading-base: 1.55;+ --text-caption: 10px; --leading-caption: 1.3;+ --text-xs: 11px; --leading-xs: 1.45;+ --text-sm: 12px; --leading-sm: 1.5;+ --text-base: 13px; --leading-base: 1.55;--text-md: 15px; --leading-md: 1.5;--text-lg: 17px; --leading-lg: 1.4;--text-xl: 20px; --leading-xl: 1.35;@@ -36,13 +37,21 @@--text-3xl: 34px; --leading-3xl: 1.15;--text-display: 48px; --leading-display: 1.05;- --radius-xs: 6px;- --radius-sm: 10px;- --radius-md: 14px;- --radius-lg: 20px;- --radius-xl: 28px;+ --track-tight: -0.02em;+ --track-snug: -0.01em;+ --track-caps: 0.06em;++ --radius-xs: 4px;+ --radius-sm: 6px;+ --radius-md: 8px;+ --radius-lg: 10px;+ --radius-xl: 16px;--radius-full: 9999px;+ --row-compact: 28px;+ --row-base: 44px;+ --hairline: 0.5px;+--elev-0: none;--elev-1:0 1px 2px rgba(0, 0, 0, 0.4),@@ -66,6 +75,7 @@--duration-bounce: 480ms;--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);+ --ease-in-out: cubic-bezier(0.45, 0, 0.25, 1);--font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;--font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;@@ -432,7 +442,12 @@--danger: var(--error);--on-status: #ffffff;--on-warning: #1a1a1a;- --toggle-off: var(--surface-hi);+ --text-faint: color-mix(in srgb, var(--tertiary) 55%, transparent);+ --fill-1: color-mix(in srgb, var(--secondary) 8%, transparent);+ --fill-2: color-mix(in srgb, var(--secondary) 12%, transparent);+ --fill-3: color-mix(in srgb, var(--secondary) 17%, transparent);+ --material: color-mix(in srgb, var(--bg) 78%, transparent);+ --material-blur: blur(24px) saturate(180%);}[data-theme="light"],@@ -442,49 +457,53 @@[data-theme="nyxvamp-radiance"] {--bg-overlay: black;--on-warning: #5c3d00;- /* Light themes: elevated surfaces sit ≈1.1:1 against cards, leaving the- off-toggle track invisible. A literal gray is used rather than a mix of- surface tokens because macos-shell.css re-points those tokens to white- on the settings screens, which washed the mix out to ~2:1.- Measured against every light theme's card surface: worst case is- Catppuccin Latte at 3.12:1, and the white knob sits at 4.8:1. */- --toggle-off: #727272;+ --elev-1:+ 0 1px 2px rgba(0, 0, 0, 0.08),+ 0 0 0 1px rgba(0, 0, 0, 0.04);+ --elev-2:+ 0 4px 12px rgba(0, 0, 0, 0.10),+ 0 1px 2px rgba(0, 0, 0, 0.06),+ 0 0 0 1px rgba(0, 0, 0, 0.05);+ --elev-3:+ 0 24px 48px rgba(0, 0, 0, 0.18),+ 0 8px 16px rgba(0, 0, 0, 0.08),+ 0 0 0 1px rgba(0, 0, 0, 0.06);}:root, [data-theme="dark"] {color-scheme: dark;- --primary: #0a0a0a;- --secondary: #e8e8e8;- --tertiary: #999999;-- --accent: #FF7D38;- --success: #2E9B5A;- --error: #ff4757;- --warning: #f59e0b;-- --button: #1a1a1a;- --button-hover: #2a2a2a;- --button-press: #3a3a3a;+ --primary: #1C1C1E;+ --secondary: #F5F5F7;+ --tertiary: #98989D;++ --accent: #0A84FF;+ --success: #30D158;+ --error: #FF453A;+ --warning: #FF9F0A;++ --button: #2C2C2E;+ --button-hover: #3A3A3C;+ --button-press: #48484A;--button-text: var(--secondary);- --button-stroke: rgba(255, 255, 255, 0.12);+ --button-stroke: rgba(255, 255, 255, 0.10);--button-box-shadow: 0 0 0 1px var(--button-stroke) inset;- --button-elevated: #252525;- --button-elevated-hover: #323232;- --button-elevated-press: #3a3a3a;+ --button-elevated: #3A3A3C;+ --button-elevated-hover: #48484A;+ --button-elevated-press: #545456;- --sidebar-bg: #0f0f0f;- --sidebar-highlight: #1f1f1f;- --content-border: rgba(255, 255, 255, 0.08);- --input-border: #3a3a3a;- --input-bg: #1a1a1a;+ --sidebar-bg: #252527;+ --sidebar-highlight: #2C2C2E;+ --content-border: #38383A;+ --input-border: #48484A;+ --input-bg: #1C1C1E;- --popup-bg: #1a1a1a;- --dialog-backdrop: rgba(0, 0, 0, 0.6);+ --popup-bg: #2C2C2E;+ --dialog-backdrop: rgba(0, 0, 0, 0.5);--on-primary: var(--secondary);--on-accent: #ffffff;- --on-success: #ffffff;+ --on-success: #1C1C1E;--on-error: #ffffff;--on-button: var(--button-text);--on-button-elevated: var(--secondary);@@ -496,9 +515,9 @@--gray: var(--tertiary);- --cta: #2D9CDB;- --cta-hover: #2690CC;- --cta-press: #1E7FB8;+ --cta: #0071E3;+ --cta-hover: #0077ED;+ --cta-press: #0068D0;--on-cta: #ffffff;--focus-ring: solid 2px var(--accent);@@ -510,34 +529,34 @@[data-theme="light"] {color-scheme: light;- --primary: #fafafa;- --secondary: #1a1a1a;- --tertiary: #595959;-- --accent: #E05500;- --success: #1a7a3a;- --error: #c41e3a;- --warning: #e8940a;-- --button: #eaeaea;- --button-hover: #dfdfdf;- --button-press: #d2d2d2;+ --primary: #F5F5F7;+ --secondary: #1D1D1F;+ --tertiary: #67676C;++ --accent: #007AFF;+ --success: #217E38;+ --error: #D70015;+ --warning: #B25000;++ --button: #FFFFFF;+ --button-hover: #F0F0F2;+ --button-press: #E5E5EA;--button-text: var(--secondary);--button-stroke: rgba(0, 0, 0, 0.10);--button-box-shadow: 0 0 0 1px var(--button-stroke) inset;- --button-elevated: #e0e0e0;- --button-elevated-hover: #d4d4d4;- --button-elevated-press: #c8c8c8;+ --button-elevated: #FFFFFF;+ --button-elevated-hover: #F5F5F7;+ --button-elevated-press: #E8E8EA;- --sidebar-bg: #f0f0f0;- --sidebar-highlight: #e4e4e4;- --content-border: rgba(0, 0, 0, 0.10);- --input-border: #a0a0a0;- --input-bg: #ffffff;+ --sidebar-bg: #EBEBED;+ --sidebar-highlight: #E0E0E4;+ --content-border: #D1D1D6;+ --input-border: #D1D1D6;+ --input-bg: #FFFFFF;- --popup-bg: #ffffff;- --dialog-backdrop: rgba(0, 0, 0, 0.4);+ --popup-bg: #FFFFFF;+ --dialog-backdrop: rgba(0, 0, 0, 0.35);--on-primary: var(--secondary);--on-accent: #ffffff;@@ -553,9 +572,9 @@--gray: var(--tertiary);- --cta: #1A8AC4;- --cta-hover: #1578B0;- --cta-press: #126A9E;+ --cta: #0071E3;+ --cta-hover: #0077ED;+ --cta-press: #0068D0;--on-cta: #ffffff;--focus-ring: solid 2px var(--accent);diff --git a/src/lib/stores/settings-store.svelte.ts b/src/lib/stores/settings-store.svelte.tsindex 90dddd44..dc3a1d3b 100644--- a/src/lib/stores/settings-store.svelte.ts+++ b/src/lib/stores/settings-store.svelte.ts@@ -126,12 +126,12 @@ export type TypographySettings = {};const TYPOGRAPHY_DEFAULTS: TypographySettings = {- font_display: "Bricolage Grotesque Variable",- font_body: "Inter",+ font_display: "System",+ font_body: "System",font_mono: "IBM Plex Mono",line_height_base: 1.55,spacing_scale: 1.0,- preset_name: "omniget-default",+ preset_name: "system",};const SPACING_BASE_PX: Record<string, number> = {@@ -148,6 +148,9 @@ const SPACING_BASE_PX: Record<string, number> = {function fontStack(fontDisplay: string): string {const display = fontDisplay.trim();+ if (display === "System") {+ return `-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif`;+ }if (display === "Bricolage Grotesque Variable") {return `'Bricolage Grotesque Variable', 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif`;}@@ -168,6 +171,9 @@ function fontStack(fontDisplay: string): string {function bodyFontStack(fontBody: string): string {const body = fontBody.trim();+ if (body === "System") {+ return `-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif`;+ }if (body === "Inter") {return `'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`;}diff --git a/src/lib/style/macos-shell.css b/src/lib/style/macos-shell.cssindex c12235ad..b1be60b7 100644--- a/src/lib/style/macos-shell.css+++ b/src/lib/style/macos-shell.css@@ -1,629 +1,571 @@-[data-shell="mac"] {- --sidebar-width: 220px; --titlebar-height: 44px;- --toolbar-height: 44px;- --inspector-width: 320px;-- --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;- --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;-- --radius-xs: 4px;- --radius-sm: 6px;- --radius-md: 8px;- --radius-lg: 10px;-}--[data-shell="mac"][data-theme="light"],-[data-shell="mac"][data-theme="catppuccin-latte"],-[data-shell="mac"][data-theme="eink-day"],-[data-shell="mac"][data-theme="eink-sepia"],-[data-shell="mac"][data-theme="nyxvamp-radiance"] {- --sidebar-bg: #EBEBED;- --sidebar-highlight: #E0E0E4;- --content-border: #D1D1D6;- --primary: #F5F5F7;- --secondary: #1D1D1F;- --tertiary: #8E8E93;- --accent: #007AFF;- --button: #FFFFFF;- --button-hover: #F0F0F2;- --button-press: #E5E5EA;- --button-elevated: #FFFFFF;- --button-elevated-hover: #F5F5F7;- --input-bg: #FFFFFF;- --input-border: #D1D1D6;- --cta: #007AFF;- --on-cta: #FFFFFF;-}--[data-shell="mac"][data-theme="dark"],-[data-shell="mac"][data-theme="system"] {- color-scheme: dark;-}--[data-shell="mac"][data-theme="dark"],-[data-shell="mac"]:not([data-theme="light"]):not([data-theme="catppuccin-latte"]):not([data-theme="eink-day"]):not([data-theme="eink-sepia"]):not([data-theme="nyxvamp-radiance"]) {- --sidebar-bg: #252527;- --sidebar-highlight: #2C2C2E;- --content-border: #38383A;- --primary: #1C1C1E;- --secondary: #F5F5F7;- --tertiary: #8E8E93;- --accent: #0A84FF;- --button: #2C2C2E;- --button-hover: #3A3A3C;- --button-press: #48484A;- --button-elevated: #2C2C2E;- --button-elevated-hover: #3A3A3C;- --input-bg: #1C1C1E;- --input-border: #48484A;- --cta: #0A84FF;- --on-cta: #FFFFFF;-}--.mac-shell {- display: flex;- flex-direction: column;- height: 100vh;- overflow: hidden;- background: var(--bg);-}--.mac-shell-body {- display: flex;- flex: 1;- min-height: 0;- overflow: hidden;-}--.mac-titlebar {- display: flex;- align-items: center;- height: var(--titlebar-height);- padding: 0 var(--space-4);- padding-left: calc(var(--space-4) + 78px);- border-bottom: 1px solid var(--border);- background: var(--bg);- flex-shrink: 0;- /* Arrastar é feito por `data-tauri-drag-region` no markup, não por- `-webkit-app-region` — essa propriedade é do Chromium/Electron e o- WKWebView do macOS a ignora, o que deixava a janela impossível de- arrastar. */- user-select: none;-}--.mac-titlebar-title {- font-size: var(--text-md);- font-weight: 600;- color: var(--text);- letter-spacing: -0.01em;-}--.mac-titlebar-actions {- margin-left: auto;- display: flex;- align-items: center;- gap: var(--space-2);-}--.mac-toolbar {- display: flex;- align-items: center;- gap: var(--space-3);- min-height: var(--toolbar-height);- padding: var(--space-2) var(--space-5);- border-bottom: 1px solid var(--border);- background: var(--surface);- flex-shrink: 0;-}--.mac-content {- flex: 1;- overflow-y: auto;- padding: var(--space-4);- min-width: 0;-}--.mac-content--home {- padding: var(--space-3);- display: flex;- flex-direction: column;- min-height: 0;-}--.mac-content--pane {- padding: 0;- display: flex;- flex-direction: column;- min-height: 0;- overflow: hidden;-}--.mac-source-list {- width: var(--sidebar-width);- min-width: var(--sidebar-width);- display: flex;- flex-direction: column;- background: var(--sidebar-bg);- border-right: 1px solid var(--border);- padding: var(--space-3) var(--space-2);- overflow-y: auto;- flex-shrink: 0;-}--.mac-nav-section {- margin-bottom: var(--space-3);-}--.mac-nav-section-header {- display: flex;- align-items: center;- justify-content: space-between;- padding: var(--space-1) var(--space-3);- font-size: 11px;- font-weight: 600;- letter-spacing: 0.04em;- text-transform: uppercase;- color: var(--text-dim);-}--.mac-nav-item {- display: flex;- align-items: center;- gap: var(--space-3);- padding: 6px var(--space-3);- border-radius: var(--radius-sm);- color: var(--text);- font-size: var(--text-base);- font-weight: 500;- text-decoration: none;- transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);- position: relative;-}--@media (hover: hover) {- .mac-nav-item:hover {- background: var(--sidebar-highlight);- }-}--.mac-nav-item.active {- background: color-mix(in srgb, var(--accent) 18%, transparent);- color: var(--accent);-}--.mac-nav-item:focus-visible {- outline: var(--focus-ring);- outline-offset: var(--focus-ring-offset);-}--.mac-nav-label {- flex: 1;- min-width: 0;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;-}--.mac-nav-badge {- min-width: 18px;- height: 18px;- padding: 0 5px;- font-size: 11px;- font-weight: 600;- line-height: 18px;- text-align: center;- color: var(--on-accent);- background: var(--accent);- border-radius: var(--radius-full);-}--.mac-plugins-toggle {- display: flex;- align-items: center;- justify-content: center;- width: 22px;- height: 22px;- border: none;- background: transparent;- color: var(--text-dim);- border-radius: var(--radius-xs);- cursor: pointer;- padding: 0;-}--@media (hover: hover) {- .mac-plugins-toggle:hover {- background: var(--sidebar-highlight);- color: var(--text);- }-}--.mac-segmented {- display: inline-flex;- padding: 2px;- background: var(--surface-mut);- border-radius: var(--radius-md);- border: 1px solid var(--border);-}--.mac-segmented-btn {- padding: 5px 12px;- font-size: var(--text-sm);- font-weight: 500;- border: none;- background: transparent;- color: var(--text-muted);- border-radius: calc(var(--radius-md) - 2px);- cursor: pointer;- transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);-}--.mac-segmented-btn.active {- background: var(--surface);- color: var(--text);- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);-}--.mac-inspector {- width: var(--inspector-width);- min-width: var(--inspector-width);- border-left: 1px solid var(--border);- background: var(--surface);- overflow-y: auto;- padding: var(--space-4);- flex-shrink: 0;-}--.mac-command-backdrop {- position: fixed;- inset: 0;- background: color-mix(in srgb, var(--bg) 40%, transparent);- backdrop-filter: blur(12px);- -webkit-backdrop-filter: blur(12px);- z-index: 200;- display: flex;- align-items: flex-start;- justify-content: center;- padding-top: 18vh;-}--.mac-command-palette {- width: min(560px, calc(100vw - 48px));- background: var(--surface);- border: 1px solid var(--border);- border-radius: var(--radius-lg);- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);- overflow: hidden;-}--.mac-command-input-row {- display: flex;- align-items: center;- gap: var(--space-3);- padding: var(--space-3) var(--space-4);- border-bottom: 1px solid var(--border);-}--.mac-command-input {- flex: 1;- border: none;- background: transparent;- font-size: var(--text-md);- color: var(--text);- outline: none;-}--.mac-command-input::placeholder {- color: var(--text-dim);-}--.mac-command-list {- max-height: 320px;- overflow-y: auto;- padding: var(--space-2);-}--.mac-command-item {- display: flex;- align-items: center;- gap: var(--space-3);- width: 100%;- padding: 8px var(--space-3);- border: none;- background: transparent;- border-radius: var(--radius-sm);- color: var(--text);- font-size: var(--text-base);- text-align: left;- cursor: pointer;-}--@media (hover: hover) {- .mac-command-item:hover {- background: color-mix(in srgb, var(--accent) 12%, transparent);- }-}--.mac-command-item.selected {- background: color-mix(in srgb, var(--accent) 18%, transparent);-}--.mac-command-footer {- display: flex;- gap: var(--space-4);- padding: var(--space-2) var(--space-4);- border-top: 1px solid var(--border);- font-size: 11px;- color: var(--text-dim);-}--.mac-kbd {- display: inline-flex;- align-items: center;- padding: 1px 5px;- border-radius: 4px;- background: var(--surface-mut);- border: 1px solid var(--border);- font-size: 10px;- font-family: var(--font-mono);-}--.settings-mac {- display: flex;- flex-direction: column;- flex: 1;- min-height: 0;- gap: 0;-}--.settings-mac-sidebar {- width: 200px;- flex-shrink: 0;- padding: var(--space-2);- border-right: 1px solid var(--border);- overflow-y: auto;-}--.settings-mac-body {- display: flex;- flex: 1;- min-height: 0;- overflow: hidden;-}--.settings-mac-cat {- display: flex;- align-items: center;- justify-content: space-between;- gap: var(--space-2);- width: 100%;- text-align: left;- padding: 6px var(--space-3);- border: none;- background: transparent;- border-radius: var(--radius-sm);- font-size: var(--text-base);- color: var(--text);- cursor: pointer;-}--.settings-mac-cat-label {- flex: 1;- min-width: 0;-}--.settings-mac-cat.search-match {- color: var(--accent);- font-weight: 600;-}--.settings-cat-match-count {- flex-shrink: 0;- min-width: 1.25rem;- padding: 0 6px;- font-size: 11px;- font-weight: 600;- line-height: 1.4;- text-align: center;- border-radius: 999px;- background: color-mix(in srgb, var(--accent) 20%, transparent);- color: var(--accent);-}--.settings-mac-cat.active {- background: color-mix(in srgb, var(--accent) 18%, transparent);- color: var(--accent);- font-weight: 600;-}--.settings-mac-nav-group {- margin-bottom: var(--space-3);-}--.settings-mac-nav-group:last-child {- margin-bottom: 0;-}--.settings-mac-nav-group .mac-nav-section-header {- padding-left: var(--space-2);- padding-right: var(--space-2);-}--.settings-mac-content {- flex: 1;- min-width: 0;- padding: var(--space-4);- overflow-y: auto;-}--.downloads-mac.downloads-page {- max-width: none;- margin: 0;- padding: var(--space-4);- gap: var(--space-3);- flex: 1;- min-height: 0;- overflow-y: auto;-}--.downloads-mac .downloads-header {- gap: var(--space-3);-}--.downloads-mac .downloads-header:not(:has(.downloads-stats)) {- justify-content: flex-end;-}--.downloads-mac .downloads-stats {- font-size: var(--text-sm);- color: var(--text-muted);-}--.downloads-mac .filter-pills {- width: fit-content;- max-width: 100%;-}--.downloads-mac-empty {- flex: 1;- min-height: 0;- padding: var(--space-6) var(--space-4);- gap: var(--space-4);-}--.downloads-mac .downloads-empty {- min-height: 0;- flex: 1;- padding: var(--space-6) 0;-}--.downloads-table-wrap {- border: 1px solid var(--border);- border-radius: var(--radius-md);- overflow: hidden;- background: var(--surface);-}--.downloads-table {- width: 100%;- border-collapse: collapse;- font-size: var(--text-sm);-}--.downloads-table th {- text-align: left;- padding: 8px var(--space-3);- font-weight: 600;- color: var(--text-muted);- background: var(--surface-mut);- border-bottom: 1px solid var(--border);- font-size: 11px;- text-transform: uppercase;- letter-spacing: 0.03em;-}--.downloads-table td {- padding: 10px var(--space-3);- border-bottom: 1px solid var(--border);- color: var(--text);- vertical-align: middle;-}--.downloads-table tr:last-child td {- border-bottom: none;-}--@media (hover: hover) {- .downloads-table tbody tr:hover {- background: color-mix(in srgb, var(--accent) 6%, transparent);- }-}--.home-mac {- display: flex;- flex-direction: column;- gap: var(--space-3);- width: 100%;- flex: 1;- min-height: 0;-}--.home-mac-workspace {- display: flex;- flex: 0 1 auto;- gap: 0;- min-width: 0;- min-height: 0;- border: 1px solid var(--border);- border-radius: var(--radius-md);- overflow: visible;- background: var(--surface);-}--.home-mac-hero {- flex-shrink: 0;- width: 132px;- padding: var(--space-5) var(--space-3) var(--space-4);- border-right: 1px solid var(--border);- display: flex;- align-items: flex-start;- justify-content: center;- background: color-mix(in srgb, var(--surface) 92%, var(--bg));- overflow: visible;-}--.home-mac-hero .mascot-bubble {- max-width: 100%;- font-size: var(--text-xs);- padding: var(--space-1) var(--space-2);- line-height: 1.35;-}--.home-mac-main {- flex: 1;- min-width: 0;- min-height: 0;- padding: var(--space-4);- display: flex;- flex-direction: column;- gap: var(--space-3);- overflow-y: auto;-}--@media (max-width: 900px) {- .home-mac-workspace {- flex-direction: column;- }-- .home-mac-hero {- width: 100%;- border-right: none;- border-bottom: 1px solid var(--border);- padding: var(--space-3);- justify-content: flex-start;- }-- .mac-inspector {- width: 100%;- min-width: 0;- border-left: none;- border-top: 1px solid var(--border);- }-}--@media (max-width: 860px) {- .mac-source-list {- width: 72px;- min-width: 72px;- }-- .mac-nav-label,- .mac-nav-section-header {- display: none;- }-- .mac-nav-item {- justify-content: center;- padding: 8px;- }-}+[data-shell="mac"] {+ --sidebar-width: 220px; --titlebar-height: 44px;+ --toolbar-height: 44px;+ --inspector-width: 320px;+}++.mac-shell {+ display: flex;+ flex-direction: column;+ height: 100vh;+ overflow: hidden;+ background: var(--bg);+}++.mac-shell-body {+ display: flex;+ flex: 1;+ min-height: 0;+ overflow: hidden;+}++.mac-titlebar {+ display: flex;+ align-items: center;+ height: var(--titlebar-height);+ padding: 0 var(--space-4);+ padding-left: calc(var(--space-4) + 78px);+ border-bottom: 1px solid var(--border);+ background: var(--bg);+ flex-shrink: 0;+ -webkit-app-region: drag;+ user-select: none;+}++.mac-titlebar-title {+ font-size: var(--text-md);+ font-weight: 600;+ color: var(--text);+ letter-spacing: -0.01em;+}++.mac-titlebar-actions {+ margin-left: auto;+ display: flex;+ align-items: center;+ gap: var(--space-2);+ -webkit-app-region: no-drag;+}++.mac-toolbar {+ display: flex;+ align-items: center;+ gap: var(--space-3);+ min-height: var(--toolbar-height);+ padding: var(--space-2) var(--space-5);+ border-bottom: 1px solid var(--border);+ background: var(--surface);+ flex-shrink: 0;+}++.mac-content {+ flex: 1;+ overflow-y: auto;+ padding: var(--space-4);+ min-width: 0;+}++.mac-content--home {+ padding: var(--space-3);+ display: flex;+ flex-direction: column;+ min-height: 0;+}++.mac-content--pane {+ padding: 0;+ display: flex;+ flex-direction: column;+ min-height: 0;+ overflow: hidden;+}++.mac-source-list {+ width: var(--sidebar-width);+ min-width: var(--sidebar-width);+ display: flex;+ flex-direction: column;+ background: var(--sidebar-bg);+ border-right: 1px solid var(--border);+ padding: var(--space-3) var(--space-2);+ overflow-y: auto;+ flex-shrink: 0;+}++.mac-nav-section {+ margin-bottom: var(--space-3);+}++.mac-nav-section-header {+ display: flex;+ align-items: center;+ justify-content: space-between;+ padding: var(--space-1) var(--space-3);+ font-size: 11px;+ font-weight: 600;+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--text-dim);+}++.mac-nav-item {+ display: flex;+ align-items: center;+ gap: var(--space-3);+ padding: 6px var(--space-3);+ border-radius: var(--radius-sm);+ color: var(--text);+ font-size: var(--text-base);+ font-weight: 500;+ text-decoration: none;+ transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);+ position: relative;+}++@media (hover: hover) {+ .mac-nav-item:hover {+ background: var(--sidebar-highlight);+ }+}++.mac-nav-item.active {+ background: color-mix(in srgb, var(--accent) 18%, transparent);+ color: var(--accent);+}++.mac-nav-item:focus-visible {+ outline: var(--focus-ring);+ outline-offset: var(--focus-ring-offset);+}++.mac-nav-label {+ flex: 1;+ min-width: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+}++.mac-nav-badge {+ min-width: 18px;+ height: 18px;+ padding: 0 5px;+ font-size: 11px;+ font-weight: 600;+ line-height: 18px;+ text-align: center;+ color: var(--on-accent);+ background: var(--accent);+ border-radius: var(--radius-full);+}++.mac-plugins-toggle {+ display: flex;+ align-items: center;+ justify-content: center;+ width: 22px;+ height: 22px;+ border: none;+ background: transparent;+ color: var(--text-dim);+ border-radius: var(--radius-xs);+ cursor: pointer;+ padding: 0;+}++@media (hover: hover) {+ .mac-plugins-toggle:hover {+ background: var(--sidebar-highlight);+ color: var(--text);+ }+}++.mac-segmented {+ display: inline-flex;+ padding: 2px;+ background: var(--surface-mut);+ border-radius: var(--radius-md);+ border: 1px solid var(--border);+}++.mac-segmented-btn {+ padding: 5px 12px;+ font-size: var(--text-sm);+ font-weight: 500;+ border: none;+ background: transparent;+ color: var(--text-muted);+ border-radius: calc(var(--radius-md) - 2px);+ cursor: pointer;+ transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);+}++.mac-segmented-btn.active {+ background: var(--surface);+ color: var(--text);+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);+}++.mac-inspector {+ width: var(--inspector-width);+ min-width: var(--inspector-width);+ border-left: 1px solid var(--border);+ background: var(--surface);+ overflow-y: auto;+ padding: var(--space-4);+ flex-shrink: 0;+}++.mac-command-backdrop {+ position: fixed;+ inset: 0;+ background: color-mix(in srgb, var(--bg) 40%, transparent);+ backdrop-filter: blur(12px);+ -webkit-backdrop-filter: blur(12px);+ z-index: 200;+ display: flex;+ align-items: flex-start;+ justify-content: center;+ padding-top: 18vh;+}++.mac-command-palette {+ width: min(560px, calc(100vw - 48px));+ background: var(--surface);+ border: 1px solid var(--border);+ border-radius: var(--radius-lg);+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);+ overflow: hidden;+}++.mac-command-input-row {+ display: flex;+ align-items: center;+ gap: var(--space-3);+ padding: var(--space-3) var(--space-4);+ border-bottom: 1px solid var(--border);+}++.mac-command-input {+ flex: 1;+ border: none;+ background: transparent;+ font-size: var(--text-md);+ color: var(--text);+ outline: none;+}++.mac-command-input::placeholder {+ color: var(--text-dim);+}++.mac-command-list {+ max-height: 320px;+ overflow-y: auto;+ padding: var(--space-2);+}++.mac-command-item {+ display: flex;+ align-items: center;+ gap: var(--space-3);+ width: 100%;+ padding: 8px var(--space-3);+ border: none;+ background: transparent;+ border-radius: var(--radius-sm);+ color: var(--text);+ font-size: var(--text-base);+ text-align: left;+ cursor: pointer;+}++@media (hover: hover) {+ .mac-command-item:hover {+ background: color-mix(in srgb, var(--accent) 12%, transparent);+ }+}++.mac-command-item.selected {+ background: color-mix(in srgb, var(--accent) 18%, transparent);+}++.mac-command-footer {+ display: flex;+ gap: var(--space-4);+ padding: var(--space-2) var(--space-4);+ border-top: 1px solid var(--border);+ font-size: 11px;+ color: var(--text-dim);+}++.mac-kbd {+ display: inline-flex;+ align-items: center;+ padding: 1px 5px;+ border-radius: 4px;+ background: var(--surface-mut);+ border: 1px solid var(--border);+ font-size: 10px;+ font-family: var(--font-mono);+}++.settings-mac {+ display: flex;+ flex-direction: column;+ flex: 1;+ min-height: 0;+ gap: 0;+}++.settings-mac-sidebar {+ width: 200px;+ flex-shrink: 0;+ padding: var(--space-2);+ border-right: 1px solid var(--border);+ overflow-y: auto;+}++.settings-mac-body {+ display: flex;+ flex: 1;+ min-height: 0;+ overflow: hidden;+}++.settings-mac-cat {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-2);+ width: 100%;+ text-align: left;+ padding: 6px var(--space-3);+ border: none;+ background: transparent;+ border-radius: var(--radius-sm);+ font-size: var(--text-base);+ color: var(--text);+ cursor: pointer;+}++.settings-mac-cat-label {+ flex: 1;+ min-width: 0;+}++.settings-mac-cat.search-match {+ color: var(--accent);+ font-weight: 600;+}++.settings-cat-match-count {+ flex-shrink: 0;+ min-width: 1.25rem;+ padding: 0 6px;+ font-size: 11px;+ font-weight: 600;+ line-height: 1.4;+ text-align: center;+ border-radius: 999px;+ background: color-mix(in srgb, var(--accent) 20%, transparent);+ color: var(--accent);+}++.settings-mac-cat.active {+ background: color-mix(in srgb, var(--accent) 18%, transparent);+ color: var(--accent);+ font-weight: 600;+}++.settings-mac-nav-group {+ margin-bottom: var(--space-3);+}++.settings-mac-nav-group:last-child {+ margin-bottom: 0;+}++.settings-mac-nav-group .mac-nav-section-header {+ padding-left: var(--space-2);+ padding-right: var(--space-2);+}++.settings-mac-content {+ flex: 1;+ min-width: 0;+ padding: var(--space-4);+ overflow-y: auto;+}++.downloads-mac.downloads-page {+ max-width: none;+ margin: 0;+ padding: var(--space-4);+ gap: var(--space-3);+ flex: 1;+ min-height: 0;+ overflow-y: auto;+}++.downloads-mac .downloads-header {+ gap: var(--space-3);+}++.downloads-mac .downloads-header:not(:has(.downloads-stats)) {+ justify-content: flex-end;+}++.downloads-mac .downloads-stats {+ font-size: var(--text-sm);+ color: var(--text-muted);+}++.downloads-mac .filter-pills {+ width: fit-content;+ max-width: 100%;+}++.downloads-mac-empty {+ flex: 1;+ min-height: 0;+ padding: var(--space-6) var(--space-4);+ gap: var(--space-4);+}++.downloads-mac .downloads-empty {+ min-height: 0;+ flex: 1;+ padding: var(--space-6) 0;+}++.downloads-table-wrap {+ border: 1px solid var(--border);+ border-radius: var(--radius-md);+ overflow: hidden;+ background: var(--surface);+}++.downloads-table {+ width: 100%;+ border-collapse: collapse;+ font-size: var(--text-sm);+}++.downloads-table th {+ text-align: left;+ padding: 8px var(--space-3);+ font-weight: 600;+ color: var(--text-muted);+ background: var(--surface-mut);+ border-bottom: 1px solid var(--border);+ font-size: 11px;+ text-transform: uppercase;+ letter-spacing: 0.03em;+}++.downloads-table td {+ padding: 10px var(--space-3);+ border-bottom: 1px solid var(--border);+ color: var(--text);+ vertical-align: middle;+}++.downloads-table tr:last-child td {+ border-bottom: none;+}++@media (hover: hover) {+ .downloads-table tbody tr:hover {+ background: color-mix(in srgb, var(--accent) 6%, transparent);+ }+}++.home-mac {+ display: flex;+ flex-direction: column;+ gap: var(--space-3);+ width: 100%;+ flex: 1;+ min-height: 0;+}++.home-mac-workspace {+ display: flex;+ flex: 0 1 auto;+ gap: 0;+ min-width: 0;+ min-height: 0;+ border: 1px solid var(--border);+ border-radius: var(--radius-md);+ overflow: visible;+ background: var(--surface);+}++.home-mac-hero {+ flex-shrink: 0;+ width: 132px;+ padding: var(--space-5) var(--space-3) var(--space-4);+ border-right: 1px solid var(--border);+ display: flex;+ align-items: flex-start;+ justify-content: center;+ background: color-mix(in srgb, var(--surface) 92%, var(--bg));+ overflow: visible;+}++.home-mac-hero .mascot-bubble {+ max-width: 100%;+ font-size: var(--text-xs);+ padding: var(--space-1) var(--space-2);+ line-height: 1.35;+}++.home-mac-main {+ flex: 1;+ min-width: 0;+ min-height: 0;+ padding: var(--space-4);+ display: flex;+ flex-direction: column;+ gap: var(--space-3);+ overflow-y: auto;+}++@media (max-width: 900px) {+ .home-mac-workspace {+ flex-direction: column;+ }++ .home-mac-hero {+ width: 100%;+ border-right: none;+ border-bottom: 1px solid var(--border);+ padding: var(--space-3);+ justify-content: flex-start;+ }++ .mac-inspector {+ width: 100%;+ min-width: 0;+ border-left: none;+ border-top: 1px solid var(--border);+ }+}++@media (max-width: 860px) {+ .mac-source-list {+ width: 72px;+ min-width: 72px;+ }++ .mac-nav-label,+ .mac-nav-section-header {+ display: none;+ }++ .mac-nav-item {+ justify-content: center;+ padding: 8px;+ }+}