diff --git "a/web/src/styles.css" "b/web/src/styles.css" --- "a/web/src/styles.css" +++ "b/web/src/styles.css" @@ -1,140 +1,165 @@ -/* FPT co-worker design tokens (UI-SIMPLIFY): neutral by default, one blue accent for the primary action and the current - selection, green / amber / red only for states a person must notice. Old token names are kept; their values changed. */ +/* FPT co-worker design tokens, aligned with Microsoft Fluent 2 (values from @fluentui/tokens webLightTheme / webDarkTheme, MIT). + Neutral by default; brand blue only for the primary action, the current selection and links; green / orange / red only for + states a person must notice (UI-SIMPLIFY). Old token names are kept; their values changed. */ :root { - --fpt-page: #ffffff; - --fpt-sidebar: #f6f7f8; - --fpt-surface: #ffffff; - --fpt-surface-2: #f6f7f8; - --fpt-border: #e4e5e8; - --fpt-line: #d4d6da; - --fpt-text: #1c1d1f; - --fpt-dim: #5c6066; - --fpt-accent: #2b59c3; + /* type: system enterprise stack, no webfont download; Fluent 2 type ramp */ + --fpt-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; + --fpt-font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; + --fpt-mono: "Cascadia Mono", Consolas, ui-monospace, SFMono-Regular, Menlo, monospace; + --fpt-fs-caption: 12px; --fpt-lh-caption: 16px; /* Caption 1 */ + --fpt-fs-body: 14px; --fpt-lh-body: 20px; /* Body 1, Body 1 strong (600) */ + --fpt-fs-subtitle: 16px; --fpt-lh-subtitle: 22px; /* Subtitle 2 */ + --fpt-fs-title3: 20px; --fpt-lh-title3: 28px; /* Title 3 */ + --fpt-fs-title2: 24px; --fpt-lh-title2: 32px; /* Title 2 */ + --fpt-fs-title1: 28px; --fpt-lh-title1: 36px; /* Title 1 (sign-in headline only) */ + /* neutrals */ + --fpt-page: #fafafa; /* neutralBackground2: canvas */ + --fpt-sidebar: #fafafa; + --fpt-surface: #ffffff; /* neutralBackground1: cards, content */ + --fpt-surface-2: #f5f5f5; /* neutralBackground1Hover / Background3: quiet fills */ + --fpt-border: #e0e0e0; /* neutralStroke2: card and divider stroke */ + --fpt-line: #d1d1d1; /* neutralStroke1: control stroke */ + --fpt-text: #242424; /* neutralForeground1 */ + --fpt-dim: #616161; /* neutralForeground2/3 */ + --fpt-disabled: #bdbdbd; /* neutralForegroundDisabled */ + --fpt-accent: #0f6cbd; /* brandBackground / brandForeground1 */ + --fpt-accent-hover: #115ea3; + --fpt-accent-pressed: #0c3b5e; --fpt-accent-text: #ffffff; - --fpt-selected: #eef2fb; - --fpt-focus: #2b59c3; + --fpt-selected: #ebebeb; /* neutralBackground1Selected */ + --fpt-hover: #f5f5f5; + --fpt-focus: #000000; /* strokeFocus2 */ + --fpt-focus-inner: #ffffff; /* strokeFocus1 */ /* status graphics (dots, edges); running is not a call to action, so it is grey */ - --fpt-status-running: #5c6066; - --fpt-status-waiting: #c26a00; - --fpt-status-done: #2e8540; - --fpt-status-failed: #c62828; - --fpt-status-idle: #8a8f98; - /* environment cue: practice = amber text (warning), Fusion = neutral text */ + --fpt-status-running: #616161; + --fpt-status-waiting: #bc4b09; + --fpt-status-done: #107c10; + --fpt-status-failed: #c50f1f; + --fpt-status-idle: #8a8886; + /* environment cue: practice = warning text, Fusion = neutral text */ --fpt-env-practice-bg: transparent; --fpt-env-practice-fg: var(--pill-amber-fg); --fpt-env-fusion-bg: transparent; --fpt-env-fusion-fg: var(--fpt-text); --fpt-space-1: 4px; --fpt-space-2: 8px; --fpt-space-3: 12px; --fpt-space-4: 16px; --fpt-space-5: 20px; --fpt-space-6: 24px; --fpt-space-8: 32px; + /* Fluent shadows: cards are flat; shadow2 / shadow4 only on flyouts, menus and dialogs */ --fpt-shadow-1: none; - --fpt-shadow-2: 0 4px 14px rgba(0, 0, 0, 0.10); - --fpt-shadow-3: 0 12px 32px rgba(0, 0, 0, 0.18); - --fpt-ease: cubic-bezier(.2, .8, .2, 1); - --fpt-dur-1: 120ms; --fpt-dur-2: 200ms; --fpt-dur-3: 280ms; - --fpt-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + --fpt-shadow-2: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14); /* shadow4 */ + --fpt-shadow-3: 0 0 2px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.14); /* shadow16: dialogs */ + --fpt-radius-control: 4px; /* borderRadiusMedium */ + --fpt-radius-card: 8px; /* borderRadiusLarge / XLarge */ + --fpt-ease: cubic-bezier(0.33, 0, 0.67, 1); /* curveEasyEase */ + --fpt-dur-1: 100ms; --fpt-dur-2: 200ms; --fpt-dur-3: 300ms; /* retired decoration (kept as names so older rules do not break) */ --fpt-band: transparent; --fpt-mint-card: transparent; --fpt-lav-card: transparent; - /* aliases: the old "ink" primary is now the accent */ + /* aliases: the old "ink" primary is now the brand */ --fpt-ink: var(--fpt-accent); --fpt-ink-text: var(--fpt-accent-text); - /* status pairs (text / background), all AA */ - --pill-neutral-bg: #f1f2f4; --pill-neutral-fg: #3f4349; - --pill-green-bg: #e9f5ec; --pill-green-fg: #1e6b34; - --pill-amber-bg: #fdf3e1; --pill-amber-fg: #8a4b00; - --pill-red-bg: #fdecea; --pill-red-fg: #b42318; + /* status pairs (text / background), all AA on white */ + --pill-neutral-bg: #f5f5f5; --pill-neutral-fg: #424242; + --pill-green-bg: #f1faf1; --pill-green-fg: #107c10; + --pill-amber-bg: #fff9f5; --pill-amber-fg: #bc4b09; + --pill-red-bg: #fdf3f4; --pill-red-fg: #c50f1f; /* kept for backward compatibility, no new use: neutral now */ --pill-mint-bg: var(--pill-neutral-bg); --pill-mint-fg: var(--pill-neutral-fg); --pill-lav-bg: var(--pill-neutral-bg); --pill-lav-fg: var(--pill-neutral-fg); --pill-blue-bg: var(--pill-neutral-bg); --pill-blue-fg: var(--pill-neutral-fg); + /* Mantine's default (secondary) controls follow Fluent's outlined neutral button */ + --mantine-color-default: #ffffff; + --mantine-color-default-hover: #f5f5f5; + --mantine-color-default-color: #242424; + --mantine-color-default-border: #d1d1d1; + --mantine-color-anchor: #0f6cbd; + --mantine-color-dimmed: #616161; + --mantine-color-text: #242424; + --mantine-color-body: #ffffff; } /* html:root[...] (higher specificity) so these win over the variables MantineProvider injects for the dark scheme */ html:root[data-mantine-color-scheme='dark'] { - --fpt-page: #121314; - --fpt-sidebar: #151618; - --fpt-surface: #17181a; - --fpt-surface-2: #1e1f22; - --fpt-border: #2c2e31; - --fpt-line: #3a3c40; - --fpt-text: #e6e7e9; - --fpt-dim: #a0a4aa; - --fpt-accent: #8ea8f0; - --fpt-accent-text: #121314; - --fpt-selected: #232a3a; - --fpt-focus: #8ea8f0; - --fpt-status-running: #a0a4aa; - --fpt-status-waiting: #f0b44c; - --fpt-status-done: #7ccf92; - --fpt-status-failed: #f39a92; - --fpt-status-idle: #8a8f98; - --fpt-shadow-2: 0 4px 14px rgba(0, 0, 0, 0.30); - --fpt-shadow-3: 0 12px 32px rgba(0, 0, 0, 0.40); - --pill-neutral-bg: #25272a; --pill-neutral-fg: #c9ccd1; - --pill-green-bg: #1b2a20; --pill-green-fg: #7ccf92; - --pill-amber-bg: #2e2615; --pill-amber-fg: #f0b44c; - --pill-red-bg: #33201f; --pill-red-fg: #f39a92; - /* the accent in dark mode is a light blue with dark text */ - --mantine-color-accent-filled: #8ea8f0; - --mantine-color-accent-filled-hover: #a9bdf4; - --mantine-color-accent-light: rgba(142, 168, 240, 0.12); - --mantine-color-accent-light-hover: rgba(142, 168, 240, 0.18); - --mantine-color-accent-light-color: #8ea8f0; - --mantine-color-accent-outline: #8ea8f0; - --mantine-color-accent-text: #8ea8f0; - --mantine-color-body: #17181a; + --fpt-page: #1f1f1f; /* neutralBackground2 */ + --fpt-sidebar: #1f1f1f; + --fpt-surface: #292929; /* neutralBackground1 */ + --fpt-surface-2: #333333; /* neutralBackground3 / hover-ish */ + --fpt-border: #3d3d3d; /* neutralStroke2 */ + --fpt-line: #666666; /* neutralStroke1 */ + --fpt-text: #ffffff; /* neutralForeground1 */ + --fpt-dim: #d6d6d6; /* neutralForeground2 */ + --fpt-disabled: #5c5c5c; + --fpt-accent: #479ef5; /* brandForeground1 (links, selection, indicators) */ + --fpt-accent-hover: #62abf5; + --fpt-accent-pressed: #2886de; + --fpt-accent-text: #ffffff; + --fpt-selected: #383838; /* neutralBackground1Selected */ + --fpt-hover: #3d3d3d; + --fpt-focus: #ffffff; + --fpt-focus-inner: #000000; + --fpt-status-running: #d6d6d6; + --fpt-status-waiting: #faa06b; + --fpt-status-done: #54b054; + --fpt-status-failed: #dc626d; + --fpt-status-idle: #8a8886; + --fpt-shadow-2: 0 0 2px rgba(0, 0, 0, 0.24), 0 2px 4px rgba(0, 0, 0, 0.28); + --fpt-shadow-3: 0 0 2px rgba(0, 0, 0, 0.24), 0 8px 16px rgba(0, 0, 0, 0.28); + --pill-neutral-bg: #333333; --pill-neutral-fg: #d6d6d6; + --pill-green-bg: #052505; --pill-green-fg: #54b054; + --pill-amber-bg: #4a1e04; --pill-amber-fg: #faa06b; + --pill-red-bg: #3b0509; --pill-red-fg: #dc626d; + --mantine-color-default: #292929; + --mantine-color-default-hover: #3d3d3d; + --mantine-color-default-color: #ffffff; + --mantine-color-default-border: #666666; + --mantine-color-anchor: #479ef5; + --mantine-color-dimmed: #d6d6d6; + --mantine-color-text: #ffffff; + --mantine-color-body: #292929; } -/* text on the dark-mode accent fill is dark (Mantine writes white inline on primary filled controls) */ -:root[data-mantine-color-scheme='dark'] .mantine-Button-root:is(:not([data-variant]), [data-variant='filled']):not([style*='--button-bg']), -:root[data-mantine-color-scheme='dark'] .mantine-Button-root[style*='--button-bg: var(--mantine-color-accent-filled)'] { --button-color: #121314 !important; } -:root[data-mantine-color-scheme='dark'] .mantine-ActionIcon-root[data-variant='filled']:not([style*='--ai-bg']), -:root[data-mantine-color-scheme='dark'] .mantine-ActionIcon-root[style*='--ai-bg: var(--mantine-color-accent-filled)'] { --ai-color: #121314 !important; } -:root[data-mantine-color-scheme='dark'] .mantine-Checkbox-root { --checkbox-icon-color: #121314; } -:root[data-mantine-color-scheme='dark'] .mantine-Radio-root { --radio-icon-color: #121314; } html, body, #root { height: 100%; } -body { background: var(--fpt-surface); color: var(--fpt-text); line-height: 1.5; } +body { background: var(--fpt-surface); color: var(--fpt-text); font-family: var(--fpt-font); font-size: var(--fpt-fs-body); line-height: var(--fpt-lh-body); -webkit-font-smoothing: antialiased; } a { color: inherit; } .fpt-rail { width: 56px; flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-right: 1px solid var(--fpt-border); } .fpt-rail-btn { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--fpt-dim); border: 0; background: transparent; cursor: pointer; text-decoration: none; } .fpt-rail-btn:hover { background: var(--fpt-surface-2); color: var(--fpt-text); } .fpt-rail-btn[data-active='true'] { background: var(--fpt-ink); color: var(--fpt-ink-text); } -.fpt-rail-badge { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--fpt-status-waiting); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600; } -.fpt-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-weight: 600; font-size: 13px; margin-bottom: 10px; } +.fpt-rail-badge { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--fpt-radius-card); background: var(--fpt-status-waiting); color: #fff; font-size: var(--fpt-fs-caption); line-height: 16px; text-align: center; font-weight: 600; } +.fpt-mark { width: 34px; height: 34px; border-radius: var(--fpt-radius-card); background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-weight: 600; font-size: var(--fpt-fs-body); margin-bottom: 10px; } .fpt-tree { width: 216px; flex: 0 0 216px; border-right: 1px solid var(--fpt-border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; } -.fpt-tree-title { font-size: 10.5px; color: var(--fpt-dim); text-transform: none; margin: 0 6px 8px; } -.fpt-tree-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 12.5px; text-decoration: none; color: var(--fpt-text); border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; } +.fpt-tree-title { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); text-transform: none; margin: 0 6px 8px; } +.fpt-tree-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--fpt-radius-card); font-size: var(--fpt-fs-caption); text-decoration: none; color: var(--fpt-text); border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; } .fpt-tree-item:hover, .fpt-tree-item[data-active='true'] { background: var(--fpt-surface-2); } .fpt-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; } .fpt-tree-children { margin-left: 12px; padding-left: 10px; border-left: 1px solid var(--fpt-line); display: flex; flex-direction: column; } -.fpt-tree-child { position: relative; padding: 4px 8px; font-size: 11.5px; color: var(--fpt-dim); text-decoration: none; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.fpt-tree-child { position: relative; padding: 4px 8px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); text-decoration: none; border-radius: var(--fpt-radius-control); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fpt-tree-child::before { content: ''; position: absolute; left: -10px; top: 50%; width: 8px; border-top: 1px solid var(--fpt-line); } .fpt-tree-child:hover, .fpt-tree-child[data-active='true'] { color: var(--fpt-text); background: var(--fpt-surface-2); } -.fpt-mock { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--pill-amber-bg); color: var(--pill-amber-fg); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-align: center; } -.fpt-iconbtn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); display: grid; place-items: center; cursor: pointer; text-decoration: none; } +.fpt-mock { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--pill-amber-bg); color: var(--pill-amber-fg); font-size: var(--fpt-fs-caption); font-weight: 600; letter-spacing: 0.02em; text-align: center; } +.fpt-iconbtn { width: 28px; height: 28px; border-radius: var(--fpt-radius-card); border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); display: grid; place-items: center; cursor: pointer; text-decoration: none; } .fpt-iconbtn:hover { background: var(--fpt-surface-2); } -.fpt-card { background: var(--fpt-surface); border: 1px solid var(--fpt-border); border-radius: 12px; } -.fpt-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 18px; white-space: nowrap; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); } +.fpt-card { background: var(--fpt-surface); border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); } +.fpt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: var(--fpt-fs-caption); font-weight: 600; line-height: 18px; white-space: nowrap; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); } .fpt-pill[data-tone='mint'] { background: var(--pill-mint-bg); color: var(--pill-mint-fg); } .fpt-pill[data-tone='lav'] { background: var(--pill-lav-bg); color: var(--pill-lav-fg); } .fpt-pill[data-tone='amber'] { background: var(--pill-amber-bg); color: var(--pill-amber-fg); } .fpt-pill[data-tone='red'] { background: var(--pill-red-bg); color: var(--pill-red-fg); } .fpt-pill[data-tone='green'] { background: var(--pill-green-bg); color: var(--pill-green-fg); } .fpt-pill[data-tone='blue'] { background: var(--pill-blue-bg); color: var(--pill-blue-fg); } -.fpt-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--fpt-text); } +.fpt-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; text-decoration: none; color: var(--fpt-text); } .fpt-row:hover { background: var(--fpt-surface-2); } -.fpt-tile { display: flex; align-items: center; gap: 10px; padding: 12px 14px; text-decoration: none; color: var(--fpt-text); flex: 1 1 180px; } +.fpt-tile { display: flex; align-items: center; gap: 10px; padding: 12px 16px; text-decoration: none; color: var(--fpt-text); flex: 1 1 180px; } .fpt-tile:hover, .fpt-tile:focus-visible { border-color: var(--fpt-ink); } -.fpt-feature { border-radius: 14px; padding: 22px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; flex: 1 1 320px; border: 1px solid var(--fpt-border); } +.fpt-feature { border-radius: var(--fpt-radius-card); padding: 24px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; flex: 1 1 320px; border: 1px solid var(--fpt-border); } .fpt-feature > .fpt-pill { align-self: flex-start; } .fpt-feature[data-tone='mint'] { background: var(--fpt-mint-card); } .fpt-feature[data-tone='lav'] { background: var(--fpt-lav-card); } -.fpt-step { position: relative; padding: 9px 12px; } -.fpt-step + .fpt-step { margin-top: 14px; } +.fpt-step { position: relative; padding: 10px 12px; } +.fpt-step + .fpt-step { margin-top: 16px; } .fpt-step + .fpt-step::before { content: ''; position: absolute; left: 22px; top: -15px; height: 14px; border-left: 1px dashed var(--fpt-line); } -.fpt-feed-item { padding: 12px 14px; } -.fpt-feed-meta { font-size: 11px; color: var(--fpt-dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } -.fpt-cols { display: flex; gap: 14px; align-items: flex-start; } +.fpt-feed-item { padding: 12px 16px; } +.fpt-feed-meta { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } +.fpt-cols { display: flex; gap: 16px; align-items: flex-start; } .fpt-side { flex: 0 0 280px; width: 280px; display: flex; flex-direction: column; gap: 12px; } .fpt-hide-narrow { display: block; } .fpt-only-narrow { display: none; } @@ -163,18 +188,18 @@ a { color: inherit; } .fpt-srows { display: flex; flex-direction: column; } .fpt-srow { padding: 6px 4px; border-top: 1px solid var(--fpt-border); } .fpt-srow:first-child { border-top: 0; } -.fpt-sticky-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: var(--fpt-surface); border: 1px solid var(--fpt-border); border-radius: 12px; box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08); } -.fpt-idpill { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; cursor: pointer; border: 0; } +.fpt-sticky-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: var(--fpt-surface); border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08); } +.fpt-idpill { font-family: var(--fpt-mono); font-size: var(--fpt-fs-caption); cursor: pointer; border: 0; } /* live view ("Watch the test") */ .fpt-now { display: flex; align-items: center; gap: 10px; padding: 6px 12px; } -.fpt-live-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0d1211; border: 1px solid var(--fpt-border); border-radius: 12px; overflow: hidden; display: grid; place-items: center; } +.fpt-live-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0d1211; border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); overflow: hidden; display: grid; place-items: center; } .fpt-live-frame img { width: 100%; height: 100%; object-fit: contain; display: block; } .fpt-live-frame[data-dim='true'] img { opacity: 0.35; } .fpt-live-frame:fullscreen { border-radius: 0; border: 0; } -.fpt-live-overlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; text-align: center; padding: 10px 16px; border-radius: 10px; background: var(--pill-amber-bg); color: var(--pill-amber-fg); } +.fpt-live-overlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; text-align: center; padding: 10px 16px; border-radius: var(--fpt-radius-card); background: var(--pill-amber-bg); color: var(--pill-amber-fg); } .fpt-live-overlay[data-kind='paused'] { background: var(--fpt-surface); color: var(--fpt-text); border: 1px solid var(--fpt-border); } -.fpt-failed-frame { display: block; width: 100%; padding: 0; margin: 0 0 4px; border: 2px solid #c92a2a; border-radius: 10px; overflow: hidden; background: var(--fpt-surface); color: var(--fpt-text); cursor: pointer; } +.fpt-failed-frame { display: block; width: 100%; padding: 0; margin: 0 0 4px; border: 2px solid #c92a2a; border-radius: var(--fpt-radius-card); overflow: hidden; background: var(--fpt-surface); color: var(--fpt-text); cursor: pointer; } .fpt-failed-frame img { width: 100%; display: block; } /* chat dock ("Ask the co-worker"): a fourth column that pushes the page; a drawer below 1024px */ @@ -182,16 +207,16 @@ a { color: inherit; } .fpt-chat[hidden] { display: none; } .fpt-chat-panel { display: flex; flex-direction: column; width: 100%; height: 100%; max-height: 100dvh; background: var(--fpt-surface); color: var(--fpt-text); } .mantine-Drawer-body .fpt-chat-panel { max-height: 100vh; height: 100vh; } -.fpt-chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; } -.fpt-chat-mock { display: flex; align-items: center; gap: 6px; margin: 0 12px; padding: 4px 10px; border-radius: 8px; font-size: 11px; background: var(--pill-amber-bg); color: var(--pill-amber-fg); } -.fpt-chat-log { flex: 1 1 auto; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; } +.fpt-chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; } +.fpt-chat-mock { display: flex; align-items: center; gap: 6px; margin: 0 12px; padding: 4px 10px; border-radius: var(--fpt-radius-card); font-size: var(--fpt-fs-caption); background: var(--pill-amber-bg); color: var(--pill-amber-fg); } +.fpt-chat-log { flex: 1 1 auto; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; } .fpt-chat-empty { margin-top: 8px; } .fpt-chat-msg { display: flex; flex-direction: column; gap: 8px; max-width: 100%; } -.fpt-chat-msg[data-role='user'] { align-self: flex-end; max-width: 88%; padding: 7px 11px; border-radius: 12px 12px 2px 12px; background: var(--fpt-ink); color: var(--fpt-ink-text); } -.fpt-chat-card { padding: 10px; font-size: 12.5px; } +.fpt-chat-msg[data-role='user'] { align-self: flex-end; max-width: 88%; padding: 8px 12px; border-radius: var(--fpt-radius-card) 12px 2px 12px; background: var(--fpt-ink); color: var(--fpt-ink-text); } +.fpt-chat-card { padding: 10px; font-size: var(--fpt-fs-caption); } .fpt-chat-confirm { padding: 10px 12px; border: 1px solid var(--fpt-line); background: var(--fpt-surface-2); } -.fpt-chat-list { margin: 4px 0 0; padding-left: 16px; font-size: 12px; max-height: 180px; overflow-y: auto; } -.fpt-chat-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 12px; } +.fpt-chat-list { margin: 4px 0 0; padding-left: 16px; font-size: var(--fpt-fs-caption); max-height: 180px; overflow-y: auto; } +.fpt-chat-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: var(--fpt-fs-caption); } .fpt-chat-dl dt { color: var(--fpt-dim); } .fpt-chat-dl dd { margin: 0; } .fpt-chat-foot { border-top: 1px solid var(--fpt-border); padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 6px; } @@ -201,17 +226,17 @@ a { color: inherit; } .fpt-chat-chip-x:hover { background: var(--fpt-surface-2); color: var(--fpt-text); } .fpt-chat-input { display: flex; align-items: flex-end; gap: 6px; } .fpt-chat-card { overflow: hidden; } -.fpt-chat-card .fpt-pill { white-space: normal; text-align: left; border-radius: 12px; } +.fpt-chat-card .fpt-pill { white-space: normal; text-align: left; border-radius: var(--fpt-radius-card); } /* ---- single labelled menu (replaces the icon rail + business-area tree) ---- */ -.fpt-nav-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; color: var(--fpt-text); text-decoration: none; border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; font-family: inherit; } +.fpt-nav-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: var(--fpt-radius-card); font-size: var(--fpt-fs-body); color: var(--fpt-text); text-decoration: none; border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; font-family: inherit; } .fpt-nav-item:hover { background: var(--fpt-surface-2); } .fpt-nav-item[data-active='true'] { background: var(--fpt-ink); color: var(--fpt-ink-text); } -.fpt-nav-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pill-amber-bg); color: var(--pill-amber-fg); font-size: 10.5px; line-height: 18px; text-align: center; font-weight: 600; } +.fpt-nav-badge { min-width: 18px; height: 18px; padding: 0 6px; border-radius: var(--fpt-radius-card); background: var(--pill-amber-bg); color: var(--pill-amber-fg); font-size: var(--fpt-fs-caption); line-height: 18px; text-align: center; font-weight: 600; } .fpt-nav-sep { height: 1px; background: var(--fpt-border); margin: 8px 6px; } -.fpt-kbd { white-space: nowrap; font: 10px/1 inherit; color: var(--fpt-dim); border: 1px solid var(--fpt-border); border-radius: 5px; padding: 2px 4px; background: var(--fpt-surface); } +.fpt-kbd { white-space: nowrap; font: inherit; font-size: var(--fpt-fs-caption); line-height: 1; color: var(--fpt-dim); border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-control); padding: 2px 4px; background: var(--fpt-surface); } .fpt-nav-item[data-active='true'] .fpt-kbd { color: inherit; background: transparent; } -.fpt-nav-user { display: flex; align-items: center; gap: 6px; padding: 8px 6px 0; border-top: 1px solid var(--fpt-border); font-size: 12px; color: var(--fpt-dim); } +.fpt-nav-user { display: flex; align-items: center; gap: 6px; padding: 8px 6px 0; border-top: 1px solid var(--fpt-border); font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } /* ---- run guide ---- */ @keyframes fpt-spin { to { transform: rotate(360deg); } } @@ -226,28 +251,28 @@ a { color: inherit; } .fpt-embedded .fpt-topbar { display: none; } /* ---- chat page: a fixed panel with its own scrolling thread and a composer that stays in view ---- */ -.fpt-chatpage { height: calc(100dvh - 70px); min-height: 420px; display: flex; flex-direction: column; border: 1px solid var(--fpt-border); border-radius: 14px; overflow: hidden; background: var(--fpt-surface); position: relative; } -.fpt-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--fpt-border); background: var(--fpt-band); flex: 0 0 auto; } -.fpt-chat-head-title { font-weight: 600; font-size: 14.5px; line-height: 1.25; } -.fpt-chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fpt-dim); } +.fpt-chatpage { height: calc(100dvh - 70px); min-height: 420px; display: flex; flex-direction: column; border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); overflow: hidden; background: var(--fpt-surface); position: relative; } +.fpt-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--fpt-border); background: var(--fpt-band); flex: 0 0 auto; } +.fpt-chat-head-title { font-weight: 600; font-size: var(--fpt-fs-body); line-height: 1.25; } +.fpt-chat-status { display: flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } .fpt-chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa5a1; flex: 0 0 8px; } .fpt-chat-status[data-tone='work'] i { background: #2f9e44; animation: fpt-pulse 1.4s ease-in-out infinite; } .fpt-chat-status[data-tone='you'] i { background: #f08c00; } .fpt-chat-status[data-tone='done'] i { background: #1c7ed6; } .fpt-chat-status[data-tone='stop'] i { background: #c92a2a; } .fpt-chat-scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; background: var(--fpt-page); } -.fpt-chat-thread { max-width: 980px; margin: 0 auto; padding: 20px 18px 12px; display: flex; flex-direction: column; gap: 14px; } +.fpt-chat-thread { max-width: 980px; margin: 0 auto; padding: 20px 20px 12px; display: flex; flex-direction: column; gap: 16px; } @keyframes fpt-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } .fpt-msg { display: flex; gap: 10px; align-items: flex-end; animation: fpt-msg-in 0.24s ease-out; } .fpt-msg[data-who='you'] { justify-content: flex-end; } -.fpt-msg-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-size: 11px; font-weight: 600; align-self: flex-start; } -.fpt-bubble { padding: 10px 14px; border-radius: 16px; max-width: min(660px, 84%); min-width: 0; font-size: 14px; line-height: 1.5; background: var(--fpt-surface); border: 1px solid var(--fpt-border); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); overflow-wrap: anywhere; } +.fpt-msg-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-size: var(--fpt-fs-caption); font-weight: 600; align-self: flex-start; } +.fpt-bubble { padding: 10px 16px; border-radius: var(--fpt-radius-card); max-width: min(660px, 84%); min-width: 0; font-size: var(--fpt-fs-body); line-height: 1.5; background: var(--fpt-surface); border: 1px solid var(--fpt-border); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); overflow-wrap: anywhere; } .fpt-msg[data-who='bot'] .fpt-bubble { border-top-left-radius: 5px; } .fpt-msg[data-who='you'] .fpt-bubble { background: var(--fpt-ink); color: var(--fpt-ink-text); border-color: transparent; border-bottom-right-radius: 5px; } -.fpt-bubble[data-wide='true'] { max-width: none; flex: 1 1 auto; padding: 16px 18px; } -.fpt-chat-phase { align-self: center; font-size: 10.5px; text-transform: none; color: var(--fpt-dim); display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0; } +.fpt-bubble[data-wide='true'] { max-width: none; flex: 1 1 auto; padding: 16px 20px; } +.fpt-chat-phase { align-self: center; font-size: var(--fpt-fs-caption); text-transform: none; color: var(--fpt-dim); display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0; } .fpt-chat-phase::before, .fpt-chat-phase::after { content: ''; flex: 1; border-top: 1px solid var(--fpt-border); } -.fpt-chat-steps { display: grid; grid-template-columns: 18px auto 1fr; gap: 7px 10px; align-items: center; font-size: 13px; } +.fpt-chat-steps { display: grid; grid-template-columns: 18px auto 1fr; gap: 8px 10px; align-items: center; font-size: var(--fpt-fs-body); } .fpt-chat-steps b { font-weight: 600; white-space: nowrap; } .fpt-chat-steps span { color: var(--fpt-dim); } .fpt-typing { display: inline-flex; gap: 4px; align-items: center; height: 20px; } @@ -255,34 +280,34 @@ a { color: inherit; } .fpt-typing i:nth-child(2) { animation-delay: 0.15s; } .fpt-typing i:nth-child(3) { animation-delay: 0.3s; } @keyframes fpt-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 1; } } -.fpt-chat-jump { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 5; border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); display: inline-flex; align-items: center; gap: 6px; } -.fpt-chat-compose { flex: 0 0 auto; border-top: 1px solid var(--fpt-border); background: var(--fpt-surface); padding: 10px 18px 14px; } +.fpt-chat-jump { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 5; border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); border-radius: 999px; padding: 6px 16px; font-size: var(--fpt-fs-caption); font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); display: inline-flex; align-items: center; gap: 6px; } +.fpt-chat-compose { flex: 0 0 auto; border-top: 1px solid var(--fpt-border); background: var(--fpt-surface); padding: 10px 20px 16px; } .fpt-chat-compose-inner { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; } .fpt-chat-suggest { display: flex; gap: 6px; flex-wrap: wrap; } -.fpt-chat-suggest button { border: 1px solid var(--fpt-border); background: var(--fpt-surface-2); color: var(--fpt-text); border-radius: 999px; padding: 4px 12px; font-size: 12px; cursor: pointer; } +.fpt-chat-suggest button { border: 1px solid var(--fpt-border); background: var(--fpt-surface-2); color: var(--fpt-text); border-radius: 999px; padding: 4px 12px; font-size: var(--fpt-fs-caption); cursor: pointer; } .fpt-chat-suggest button:hover { border-color: var(--fpt-ink); } -@media (max-width: 899px) { .fpt-chatpage { height: calc(100dvh - 70px); border-radius: 10px; } .fpt-chat-thread { padding: 14px 10px 8px; } .fpt-bubble { max-width: 92%; } } +@media (max-width: 899px) { .fpt-chatpage { height: calc(100dvh - 70px); border-radius: var(--fpt-radius-card); } .fpt-chat-thread { padding: 16px 10px 8px; } .fpt-bubble { max-width: 92%; } } @media (prefers-reduced-motion: reduce) { .fpt-msg, .fpt-typing i { animation: none; } .fpt-chat-scroll { scroll-behavior: auto; } } /* ---- sign-in and create-account pages ---- */ .fpt-auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--fpt-surface); } .fpt-auth-brand { background: linear-gradient(160deg, #0d2b26 0%, #123b35 55%, #1c5a4f 100%); color: #eef6f3; padding: 44px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; } -.fpt-auth-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; } -.fpt-auth-mark { width: 36px; height: 36px; border-radius: 10px; background: #eef6f3; color: #0d2b26; display: grid; place-items: center; font-weight: 700; font-size: 13px; } -.fpt-auth-brand h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; max-width: 480px; } -.fpt-auth-brand p { color: #b9d2cc; font-size: 15px; line-height: 1.55; max-width: 440px; margin: 0; } -.fpt-auth-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; max-width: 460px; } -.fpt-auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: #c9ddd8; } -.fpt-auth-points li b { color: #ffffff; font-weight: 600; font-size: 14px; } +.fpt-auth-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fpt-fs-subtitle); } +.fpt-auth-mark { width: 36px; height: 36px; border-radius: var(--fpt-radius-card); background: #eef6f3; color: #0d2b26; display: grid; place-items: center; font-weight: 600; font-size: var(--fpt-fs-body); } +.fpt-auth-brand h1 { font-size: var(--fpt-fs-title1); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; max-width: 480px; } +.fpt-auth-brand p { color: #b9d2cc; font-size: var(--fpt-fs-subtitle); line-height: 1.55; max-width: 440px; margin: 0; } +.fpt-auth-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; max-width: 460px; } +.fpt-auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fpt-fs-body); line-height: 1.5; color: #c9ddd8; } +.fpt-auth-points li b { color: #ffffff; font-weight: 600; font-size: var(--fpt-fs-body); } .fpt-auth-points svg { flex: 0 0 20px; margin-top: 2px; color: #7fd6c2; } -.fpt-auth-foot { font-size: 12px; color: #9dbab3; min-height: 16px; } +.fpt-auth-foot { font-size: var(--fpt-fs-caption); color: #9dbab3; min-height: 16px; } .fpt-auth-form { display: flex; align-items: center; justify-content: center; padding: 32px 24px; } .fpt-auth-card { width: 100%; max-width: 400px; } -.fpt-auth-card h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 0; } +.fpt-auth-card h2 { font-size: var(--fpt-fs-title2); font-weight: 600; letter-spacing: -0.01em; margin: 0; } @media (max-width: 899px) { .fpt-auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } - .fpt-auth-brand { padding: 20px 22px; gap: 0; } + .fpt-auth-brand { padding: 20px 24px; gap: 0; } .fpt-auth-brand h1, .fpt-auth-brand p, .fpt-auth-points, .fpt-auth-foot { display: none; } .fpt-auth-form { align-items: flex-start; padding: 28px 20px; } } @@ -291,24 +316,24 @@ a { color: inherit; } /* ---- workflow of a test run: phases left to right ---- */ .fpt-flow { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding-bottom: 6px; } .fpt-flow-arrow { flex: 0 0 20px; align-self: center; color: var(--fpt-dim); } -.fpt-flow-phase { flex: 1 1 0; min-width: 148px; border: 1px solid var(--fpt-border); border-radius: 12px; background: var(--fpt-surface); padding: 12px; display: flex; flex-direction: column; gap: 8px; border-top-width: 3px; } +.fpt-flow-phase { flex: 1 1 0; min-width: 148px; border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); background: var(--fpt-surface); padding: 12px; display: flex; flex-direction: column; gap: 8px; border-top-width: 3px; } .fpt-flow-phase[data-state='done'] { border-top-color: #2f9e44; } .fpt-flow-phase[data-state='running'] { border-top-color: #1c7ed6; box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.12); } .fpt-flow-phase[data-state='waiting'] { border-top-color: #f08c00; box-shadow: 0 0 0 3px rgba(240, 140, 0, 0.14); } .fpt-flow-phase[data-state='error'] { border-top-color: #c92a2a; } -.fpt-flow-phase > header { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 2px; } -.fpt-flow-num { width: 20px; height: 20px; border-radius: 50%; background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-size: 11px; font-weight: 600; } -.fpt-flow-node { display: flex; gap: 8px; align-items: flex-start; padding: 8px 9px; border-radius: 9px; background: var(--fpt-surface-2); font-size: 12.5px; line-height: 1.35; } +.fpt-flow-phase > header { display: flex; align-items: center; gap: 8px; font-size: var(--fpt-fs-body); margin-bottom: 2px; } +.fpt-flow-num { width: 20px; height: 20px; border-radius: 50%; background: var(--fpt-ink); color: var(--fpt-ink-text); display: grid; place-items: center; font-size: var(--fpt-fs-caption); font-weight: 600; } +.fpt-flow-node { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: var(--fpt-radius-card); background: var(--fpt-surface-2); font-size: var(--fpt-fs-caption); line-height: 1.35; } .fpt-flow-node svg { flex: 0 0 16px; margin-top: 1px; } .fpt-flow-node b { display: block; font-weight: 600; } -.fpt-flow-node span { color: var(--fpt-dim); font-size: 11.5px; } +.fpt-flow-node span { color: var(--fpt-dim); font-size: var(--fpt-fs-caption); } .fpt-flow-node[data-state='pending'], .fpt-flow-node[data-state='skipped'] { opacity: 0.62; } .fpt-flow-node[data-state='waiting'] { background: var(--pill-amber-bg); } .fpt-flow-node[data-state='running'] { background: var(--pill-blue-bg); } -.fpt-flow-you { margin-left: 6px; font-size: 10px !important; font-weight: 600; text-transform: none; padding: 1px 6px; border-radius: 999px; background: var(--pill-amber-bg); color: var(--pill-amber-fg) !important; } -.fpt-flow-note { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--fpt-dim); margin-top: auto; } -.fpt-flow-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--fpt-dim); } -.fpt-flow-legend span { display: inline-flex; align-items: center; gap: 5px; } +.fpt-flow-you { margin-left: 6px; font-size: var(--fpt-fs-caption) !important; font-weight: 600; text-transform: none; padding: 1px 6px; border-radius: 999px; background: var(--pill-amber-bg); color: var(--pill-amber-fg) !important; } +.fpt-flow-note { display: flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); margin-top: auto; } +.fpt-flow-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-flow-legend span { display: inline-flex; align-items: center; gap: 6px; } /* ======================================================================== app shell (full bleed) */ @@ -327,13 +352,13 @@ a { color: inherit; } .fpt-sb[data-mode='rail'] { padding: 12px 8px 10px; align-items: center; } .fpt-sb-top { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; width: 100%; } .fpt-sb[data-mode='rail'] .fpt-sb-top { align-items: center; } -.fpt-sb-brand { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 6px; font-weight: 600; font-size: 13px; line-height: 1.25; } +.fpt-sb-brand { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 6px; font-weight: 600; font-size: var(--fpt-fs-body); line-height: 1.25; } .fpt-sb-brand .fpt-mark { margin: 0; flex: 0 0 34px; } .fpt-sb-brand-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } -.fpt-sb-brand-name small { color: var(--fpt-dim); font-weight: 400; font-size: 11.5px; } +.fpt-sb-brand-name small { color: var(--fpt-dim); font-weight: 400; font-size: var(--fpt-fs-caption); } .fpt-sb-collapse { flex: 0 0 28px; } .fpt-sb-expand { margin-bottom: 6px; } -.fpt-sb-new { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; margin: 2px 0 10px; border-radius: 999px; background: var(--fpt-ink); color: var(--fpt-ink-text); font-size: 13.5px; font-weight: 600; text-decoration: none; } +.fpt-sb-new { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; margin: 2px 0 10px; border-radius: 999px; background: var(--fpt-ink); color: var(--fpt-ink-text); font-size: var(--fpt-fs-body); font-weight: 600; text-decoration: none; } .fpt-sb-new:hover { opacity: 0.9; } .fpt-sb-new[data-rail='true'] { width: 40px; height: 40px; padding: 0; } .fpt-sb-nav { display: flex; flex-direction: column; gap: 2px; width: 100%; } @@ -343,22 +368,22 @@ a { color: inherit; } .fpt-nav-whoami { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fpt-sb-runs { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid var(--fpt-border); padding-top: 8px; width: 100%; } .fpt-sb[data-mode='rail'] .fpt-sb-runs { align-items: center; gap: 6px; overflow-y: auto; } -.fpt-sb-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 4px 10px; font-size: 10.5px; text-transform: none; color: var(--fpt-dim); font-weight: 600; } -.fpt-iconbtn-sm { width: 24px; height: 24px; border-radius: 7px; } +.fpt-sb-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 4px 10px; font-size: var(--fpt-fs-caption); text-transform: none; color: var(--fpt-dim); font-weight: 600; } +.fpt-iconbtn-sm { width: 24px; height: 24px; border-radius: var(--fpt-radius-control); } .fpt-iconbtn[data-active='true'] { background: var(--fpt-ink); color: var(--fpt-ink-text); border-color: var(--fpt-ink); } .fpt-sb-runs-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; padding-right: 2px; } -.fpt-sb-group { font-size: 10.5px; text-transform: none; color: var(--fpt-dim); padding: 8px 10px 3px; } +.fpt-sb-group { font-size: var(--fpt-fs-caption); text-transform: none; color: var(--fpt-dim); padding: 8px 10px 4px; } .fpt-sb-group[data-key='needs'] { color: var(--pill-amber-fg); font-weight: 600; } -.fpt-sb-empty { font-size: 12px; color: var(--fpt-dim); padding: 6px 10px; } -.fpt-sb-all { font-size: 12.5px; color: var(--fpt-dim); padding: 8px 10px; text-decoration: none; } +.fpt-sb-empty { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); padding: 6px 10px; } +.fpt-sb-all { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); padding: 8px 10px; text-decoration: none; } .fpt-sb-all:hover { color: var(--fpt-text); text-decoration: underline; } -.fpt-runitem { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 4px 8px 4px 10px; border-radius: 10px; text-decoration: none; color: var(--fpt-text); } +.fpt-runitem { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px 4px 10px; border-radius: var(--fpt-radius-card); text-decoration: none; color: var(--fpt-text); } .fpt-runitem:hover { background: var(--fpt-surface-2); } .fpt-runitem[aria-current='page'] { background: var(--fpt-surface); box-shadow: inset 0 0 0 1px var(--fpt-border); } .fpt-runitem[data-compact='true'] { min-height: 36px; width: 36px; padding: 0; justify-content: center; border-radius: 50%; } .fpt-runitem-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; } -.fpt-runitem-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } -.fpt-runitem-sub { font-size: 11.5px; color: var(--fpt-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.fpt-runitem-title { font-size: var(--fpt-fs-body); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.fpt-runitem-sub { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fpt-sb-foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; width: 100%; } .fpt-sb[data-mode='rail'] .fpt-sb-foot { align-items: center; } @@ -373,7 +398,7 @@ a { color: inherit; } .fpt-sdot[data-pulse='true'] { animation: fpt-pulse 1.2s ease-in-out infinite; } /* environment switcher (sidebar footer) and badge */ -.fpt-env { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 10px; text-align: left; font-size: 11.5px; line-height: 1.35; +.fpt-env { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: var(--fpt-radius-card); text-align: left; font-size: var(--fpt-fs-caption); line-height: 1.35; background: var(--fpt-env-practice-bg); color: var(--fpt-env-practice-fg); } .fpt-env[data-kind='fusion'] { background: var(--fpt-env-fusion-bg); color: var(--fpt-env-fusion-fg); } .fpt-env > svg:first-child { flex: 0 0 auto; } @@ -381,18 +406,18 @@ a { color: inherit; } .fpt-env-label { display: flex; flex-direction: column; min-width: 0; } .fpt-env-label > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fpt-env-label b { font-weight: 600; } -.fpt-envbadge[data-size='sm'] { font-size: 12px; } -.fpt-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fpt-surface); border: 1px solid var(--fpt-border); font-size: 12px; font-weight: 600; color: var(--fpt-text); } +.fpt-envbadge[data-size='sm'] { font-size: var(--fpt-fs-caption); } +.fpt-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fpt-surface); border: 1px solid var(--fpt-border); font-size: var(--fpt-fs-caption); font-weight: 600; color: var(--fpt-text); } /* top bar */ .fpt-topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 20px; margin: 0 -20px; background: var(--fpt-surface); border-bottom: 1px solid var(--fpt-border); box-sizing: border-box; } .fpt-topbar-left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; } -.fpt-title { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } -.fpt-topbar-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--fpt-dim); margin-top: 1px; min-width: 0; } -.fpt-topbar-sub .fpt-pill { font-size: 11px; line-height: 16px; } +.fpt-title { font-family: var(--fpt-font-display); font-size: var(--fpt-fs-title3); font-weight: 600; margin: 0; line-height: var(--fpt-lh-title3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.fpt-topbar-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); margin-top: 1px; min-width: 0; } +.fpt-topbar-sub .fpt-pill { font-size: var(--fpt-fs-caption); line-height: 16px; } .fpt-topbar-dotsep { color: var(--fpt-dim); } .fpt-topbar-cue { display: inline-flex; align-items: center; gap: 6px; color: var(--pill-amber-fg); } -.fpt-crumb { font-size: 12px; color: var(--fpt-dim); display: inline-flex; gap: 6px; align-items: center; } +.fpt-crumb { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); display: inline-flex; gap: 6px; align-items: center; } .fpt-crumb a { color: inherit; text-decoration: none; } .fpt-crumb a:hover { text-decoration: underline; color: var(--fpt-text); } .fpt-topbar-mid { flex: 0 1 auto; display: flex; align-items: center; gap: 6px; min-width: 0; } @@ -402,7 +427,7 @@ a { color: inherit; } /* phone bottom bar */ .fpt-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--fpt-surface); border-top: 1px solid var(--fpt-border); box-sizing: border-box; } -.fpt-bb-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; border: 0; background: transparent; color: var(--fpt-dim); font: inherit; font-size: 11px; text-decoration: none; cursor: pointer; } +.fpt-bb-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; border: 0; background: transparent; color: var(--fpt-dim); font: inherit; font-size: var(--fpt-fs-caption); text-decoration: none; cursor: pointer; } .fpt-bb-item.active, .fpt-bb-item[data-active='true'] { color: var(--fpt-text); font-weight: 600; } .fpt-bb-item .fpt-rail-badge { top: -4px; right: -10px; } @@ -434,12 +459,12 @@ a { color: inherit; } .fpt-ws .fpt-topbar { margin: 0; position: relative; flex: 0 0 auto; } .fpt-ws-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; background: var(--fpt-surface); } .fpt-ws-scroll:focus-visible { outline-offset: -2px; } -.fpt-ws-detail { padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 14px; } +.fpt-ws-detail { padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 16px; } .fpt-detail-head { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 40px; padding: 4px 16px; background: var(--fpt-surface); border-bottom: 1px solid var(--fpt-border); } .fpt-detail-title { white-space: nowrap; } .fpt-detail-switch { margin-left: auto; } .fpt-detail-switch .mantine-Tabs-list { flex-wrap: nowrap; overflow-x: auto; } -.fpt-statechip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--fpt-surface-2); color: var(--fpt-text); border: 1px solid var(--fpt-border); } +.fpt-statechip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: var(--fpt-fs-caption); font-weight: 600; white-space: nowrap; background: var(--fpt-surface-2); color: var(--fpt-text); border: 1px solid var(--fpt-border); } .fpt-statechip[data-state='waiting'] { background: var(--pill-amber-bg); color: var(--pill-amber-fg); border-color: transparent; } .fpt-statechip[data-state='waiting'] .fpt-sdot { box-shadow: none; } .fpt-statechip[data-state='running'], .fpt-statechip[data-state='queued'] { background: var(--pill-blue-bg); color: var(--pill-blue-fg); border-color: transparent; } @@ -455,11 +480,11 @@ a { color: inherit; } .fpt-ws .fpt-chat-jump { bottom: 120px; } /* stage card = the guide */ -.fpt-stage { border: 1px solid var(--fpt-border); border-radius: 14px; padding: 16px 20px 18px; background: var(--fpt-surface); box-shadow: var(--fpt-shadow-1); } +.fpt-stage { border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); padding: 16px 20px 20px; background: var(--fpt-surface); box-shadow: var(--fpt-shadow-1); } .fpt-stage[data-stage='approve'], .fpt-stage[data-stage='judge'] { border-left: 3px solid var(--fpt-status-waiting); } .fpt-stage[data-stage='stopped'] { border-left: 3px solid var(--fpt-status-failed); } .fpt-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; } -.fpt-stage-kicker { font-size: 11px; text-transform: none; color: var(--fpt-dim); font-weight: 600; } +.fpt-stage-kicker { font-size: var(--fpt-fs-caption); text-transform: none; color: var(--fpt-dim); font-weight: 600; } .fpt-stage[data-stage='approve'] .fpt-stage-kicker, .fpt-stage[data-stage='judge'] .fpt-stage-kicker { color: var(--pill-amber-fg); } .fpt-stage-progress { display: flex; gap: 4px; flex: 0 1 220px; min-width: 120px; } .fpt-stage-progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--fpt-border); } @@ -468,17 +493,17 @@ a { color: inherit; } .fpt-stage-progress span[data-state='you'] { background: var(--fpt-status-waiting); } /* team strip */ -.fpt-team { border: 1px solid var(--fpt-border); border-radius: 12px; padding: 10px 12px; background: var(--fpt-surface-2); } +.fpt-team { border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); padding: 10px 12px; background: var(--fpt-surface-2); } .fpt-team-line { display: flex; align-items: center; gap: 6px; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; } -.fpt-team-label { font-size: 10.5px; text-transform: none; color: var(--fpt-dim); font-weight: 600; margin-right: 2px; } -.fpt-team-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--fpt-surface); border: 1px solid var(--fpt-border); } +.fpt-team-label { font-size: var(--fpt-fs-caption); text-transform: none; color: var(--fpt-dim); font-weight: 600; margin-right: 2px; } +.fpt-team-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: var(--fpt-fs-caption); background: var(--fpt-surface); border: 1px solid var(--fpt-border); } .fpt-team-chip[data-kind='done'] svg { color: var(--fpt-status-done); } .fpt-team-chip[data-kind='running'] { background: var(--pill-blue-bg); color: var(--pill-blue-fg); border-color: transparent; } .fpt-team-chip[data-kind='waiting'] { background: var(--pill-amber-bg); color: var(--pill-amber-fg); border-color: transparent; font-weight: 600; } .fpt-team-chip[data-kind='error'] { background: var(--pill-red-bg); color: var(--pill-red-fg); border-color: transparent; } -.fpt-team-sum { font-size: 12px; color: var(--fpt-dim); } -.fpt-team-link { font-size: 12px; font-weight: 600; } -.fpt-team-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--fpt-dim); } +.fpt-team-sum { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-team-link { font-size: var(--fpt-fs-caption); font-weight: 600; } +.fpt-team-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } /* context panel */ .fpt-panel { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; min-height: 0; background: var(--fpt-surface); border-left: 1px solid var(--fpt-border); } @@ -488,30 +513,30 @@ a { color: inherit; } .fpt-panel-head { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px 0 4px; border-bottom: 1px solid var(--fpt-border); flex: 0 0 auto; } .fpt-panel-tablist { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; } .fpt-panel-tablist::before { display: none; } -.fpt-panel-tablist .mantine-Tabs-tab { font-size: 13px; padding: 10px 10px; white-space: nowrap; } +.fpt-panel-tablist .mantine-Tabs-tab { font-size: var(--fpt-fs-body); padding: 10px 10px; white-space: nowrap; } .fpt-panel-tablabel { display: inline-flex; align-items: center; gap: 6px; } -.fpt-panel-count { font-size: 10.5px; padding: 0 6px; border-radius: 999px; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); line-height: 16px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; } +.fpt-panel-count { font-size: var(--fpt-fs-caption); padding: 0 6px; border-radius: 999px; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); line-height: 16px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; } .fpt-panel-livedot { width: 8px; height: 8px; flex-basis: 8px; } -.fpt-panel-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px; } +.fpt-panel-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; } .fpt-panel-strip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; } -.fpt-panel-stripbtn { position: relative; width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--fpt-dim); display: grid; place-items: center; cursor: pointer; } +.fpt-panel-stripbtn { position: relative; width: 34px; height: 34px; border-radius: var(--fpt-radius-card); border: 0; background: transparent; color: var(--fpt-dim); display: grid; place-items: center; cursor: pointer; } .fpt-panel-stripbtn:hover { background: var(--fpt-surface-2); color: var(--fpt-text); } .fpt-panel-stripbtn[data-active='true'] { color: var(--fpt-text); } .fpt-panel-stripbadge { position: absolute; top: 1px; right: 1px; display: flex; } .fpt-panel-stripbadge .fpt-panel-count { display: none; } -.fpt-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--fpt-line); margin: 8px auto 2px; flex: 0 0 auto; } +.fpt-grab { width: 40px; height: 4px; border-radius: var(--fpt-radius-control); background: var(--fpt-line); margin: 8px auto 2px; flex: 0 0 auto; } .fpt-panel-tabs[data-sheet='true'] { height: 100%; } .fpt-cols[data-compact='true'] { flex-direction: column; } .fpt-cols[data-compact='true'] .fpt-side { width: 100%; flex: 1 1 auto; } -.fpt-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 13px; } +.fpt-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: var(--fpt-fs-body); } .fpt-kv dt { color: var(--fpt-dim); } .fpt-kv dd { margin: 0; font-weight: 600; } /* empty state */ .fpt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 32px 16px; color: var(--fpt-dim); } .fpt-empty-icon { color: var(--fpt-dim); opacity: 0.8; } -.fpt-empty-title { font-size: 14px; font-weight: 600; color: var(--fpt-text); } -.fpt-empty-body { font-size: 13px; max-width: 320px; } +.fpt-empty-title { font-size: var(--fpt-fs-body); font-weight: 600; color: var(--fpt-text); } +.fpt-empty-body { font-size: var(--fpt-fs-body); max-width: 320px; } .fpt-empty-action { margin-top: 6px; } @media (max-width: 1023px) { @@ -526,9 +551,9 @@ a { color: inherit; } .fpt-chat-suggest { flex-wrap: nowrap; overflow-x: auto; } .fpt-chat-suggest button { flex: 0 0 auto; } .fpt-compose-row { flex-wrap: wrap; } - .fpt-stage { padding: 14px 14px 16px; } + .fpt-stage { padding: 16px 16px 16px; } .fpt-stage [data-testid='guide-approve-all'] { width: 100%; } - .fpt-topbar-mid .fpt-statechip { font-size: 11.5px; } + .fpt-topbar-mid .fpt-statechip { font-size: var(--fpt-fs-caption); } } .fpt-topbar-mid { overflow: hidden; } .fpt-statechip { min-width: 0; overflow: hidden; text-overflow: ellipsis; } @@ -537,7 +562,7 @@ a { color: inherit; } /* phone run top bar: two rows, max 76px (title + Panel + More; then chip, honesty pill, ref) */ .fpt-ws .fpt-topbar { flex-wrap: nowrap; max-height: 76px; min-height: 0; padding: 4px 12px 4px; align-items: flex-start; } .fpt-ws .fpt-topbar-left { flex: 1 1 auto; } - .fpt-ws .fpt-title { font-size: 15px; line-height: 36px; } + .fpt-ws .fpt-title { font-size: var(--fpt-fs-subtitle); line-height: 36px; } .fpt-ws .fpt-topbar-sub { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; white-space: nowrap; height: 28px; margin-top: 0; scrollbar-width: none; } .fpt-ws .fpt-topbar-sub::-webkit-scrollbar { display: none; } .fpt-ws .fpt-topbar-sub > * { flex: 0 0 auto; } @@ -573,7 +598,7 @@ a { color: inherit; } /* ======================================================================== team board (step 3) */ .fpt-teamboard { display: flex; flex-direction: column; gap: 12px; container-type: inline-size; container-name: board; } -.fpt-coord { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--fpt-border); border-left-width: 3px; border-radius: 12px; background: var(--fpt-surface); } +.fpt-coord { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--fpt-border); border-left-width: 3px; border-radius: var(--fpt-radius-card); background: var(--fpt-surface); } .fpt-coord[data-tone='green'] { border-left-color: var(--fpt-status-done); } .fpt-coord[data-tone='red'] { border-left-color: var(--fpt-status-failed); } .fpt-coord[data-tone='amber'] { border-left-color: var(--fpt-status-waiting); background: var(--pill-amber-bg); color: var(--pill-amber-fg); } @@ -582,42 +607,42 @@ a { color: inherit; } .fpt-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; } @container board (min-width: 532px) { .fpt-board { grid-template-columns: repeat(3, minmax(172px, 1fr)); } } @container board (min-width: 1072px) { .fpt-board { grid-template-columns: repeat(6, minmax(172px, 1fr)); } } -.fpt-board-phase { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 6px; border: 1px solid var(--fpt-border); border-top-width: 3px; border-radius: 12px; background: var(--fpt-surface-2); } +.fpt-board-phase { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 6px; border: 1px solid var(--fpt-border); border-top-width: 3px; border-radius: var(--fpt-radius-card); background: var(--fpt-surface-2); } .fpt-board-phase[data-state='done'] { border-top-color: var(--fpt-status-done); } .fpt-board-phase[data-state='running'] { border-top-color: var(--fpt-status-running); } .fpt-board-phase[data-state='waiting'] { border-top-color: var(--fpt-status-waiting); } .fpt-board-phase[data-state='error'] { border-top-color: var(--fpt-status-failed); } -.fpt-board-phase > header { display: flex; align-items: center; gap: 8px; padding: 4px 4px 0; font-size: 12px; text-transform: none; } +.fpt-board-phase > header { display: flex; align-items: center; gap: 8px; padding: 4px 4px 0; font-size: var(--fpt-fs-caption); text-transform: none; } .fpt-board-cards { display: flex; flex-direction: column; gap: 8px; } -.fpt-agent { position: relative; border: 1px solid var(--fpt-border); border-radius: 10px; background: var(--fpt-surface); transition: box-shadow var(--fpt-dur-1) var(--fpt-ease); } +.fpt-agent { position: relative; border: 1px solid var(--fpt-border); border-radius: var(--fpt-radius-card); background: var(--fpt-surface); transition: box-shadow var(--fpt-dur-1) var(--fpt-ease); } .fpt-agent:hover { box-shadow: var(--fpt-shadow-1); } .fpt-agent[data-state='running'] { border-color: var(--fpt-status-running); } .fpt-agent[data-state='waiting'], .fpt-agent[data-state='silent'] { border-color: var(--fpt-status-waiting); } .fpt-agent[data-state='error'] { border-top: 3px solid var(--fpt-status-failed); } .fpt-agent[data-state='pending'], .fpt-agent[data-state='skipped'] { opacity: 0.75; } -.fpt-agent-btn { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 9px 10px; text-align: left; border-radius: 10px; color: var(--fpt-text); } +.fpt-agent-btn { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 10px 10px; text-align: left; border-radius: var(--fpt-radius-card); color: var(--fpt-text); } .fpt-agent-btn[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--fpt-ink); } .fpt-agent-top { display: flex; align-items: center; gap: 8px; min-width: 0; } -.fpt-agent-avatar { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); } +.fpt-agent-avatar { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: var(--fpt-fs-caption); font-weight: 600; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); } .fpt-agent-avatar[data-tone='mint'] { background: var(--pill-mint-bg); color: var(--pill-mint-fg); } .fpt-agent-avatar[data-tone='blue'] { background: var(--pill-blue-bg); color: var(--pill-blue-fg); } .fpt-agent-avatar[data-tone='lav'] { background: var(--pill-lav-bg); color: var(--pill-lav-fg); } .fpt-agent-avatar[data-tone='amber'] { background: var(--pill-amber-bg); color: var(--pill-amber-fg); } /* R2-M3: names wrap only at spaces */ -.fpt-agent-name { font-size: 13px; font-weight: 600; min-width: 0; line-height: 1.3; word-break: normal; overflow-wrap: normal; hyphens: manual; } -.fpt-agent-top:has(.fpt-agent-you) .fpt-agent-name { padding-right: 30px; } +.fpt-agent-name { font-size: var(--fpt-fs-body); font-weight: 600; min-width: 0; line-height: 1.3; word-break: normal; overflow-wrap: normal; hyphens: manual; } +.fpt-agent-top:has(.fpt-agent-you) .fpt-agent-name { padding-right: 32px; } .fpt-agent-you { position: absolute; top: 8px; right: 8px; margin: 0 !important; } .fpt-agent { min-width: 160px; } .fpt-agent-foot-static { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .fpt-agent-now { margin-left: auto; text-align: right; color: var(--fpt-text); } -.fpt-agent-line { font-size: 12px; line-height: 1.4; color: var(--fpt-text); overflow-wrap: anywhere; } -.fpt-agent-state { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; } +.fpt-agent-line { font-size: var(--fpt-fs-caption); line-height: 1.4; color: var(--fpt-text); overflow-wrap: anywhere; } +.fpt-agent-state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-caption); font-weight: 600; } .fpt-agent-state[data-state='waiting'], .fpt-agent-state[data-state='silent'] { color: var(--pill-amber-fg); } .fpt-agent-state[data-state='error'] { color: var(--pill-red-fg); } .fpt-agent-state[data-state='running'] { color: var(--pill-blue-fg); } -.fpt-agent-foot { font-size: 11px; color: var(--fpt-dim); } -.fpt-agent-action { padding: 0 10px 9px; } -.fpt-agent-pop { font-size: 13px; } +.fpt-agent-foot { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-agent-action { padding: 0 10px 10px; } +.fpt-agent-pop { font-size: var(--fpt-fs-body); } .fpt-agent-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; } @media (prefers-reduced-motion: reduce) { .fpt-agent { transition: none; } } @@ -650,14 +675,14 @@ a { color: inherit; } /* ======================================================================== step 4: approvals and failure decision */ .fpt-filterchips { display: flex; gap: 6px; flex-wrap: wrap; } -.fpt-filterchip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); font: inherit; font-size: 12.5px; cursor: pointer; } +.fpt-filterchip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--fpt-border); background: var(--fpt-surface); color: var(--fpt-text); font: inherit; font-size: var(--fpt-fs-caption); cursor: pointer; } .fpt-filterchip:hover:not(:disabled) { border-color: var(--fpt-ink); } .fpt-filterchip[data-active='true'] { background: var(--fpt-ink); color: var(--fpt-ink-text); border-color: var(--fpt-ink); } .fpt-filterchip:disabled { opacity: 0.5; cursor: default; } -.fpt-filterchip-count { font-size: 11px; padding: 0 6px; border-radius: 999px; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); line-height: 16px; } +.fpt-filterchip-count { font-size: var(--fpt-fs-caption); padding: 0 6px; border-radius: 999px; background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); line-height: 16px; } .fpt-filterchip[data-active='true'] .fpt-filterchip-count { background: transparent; color: inherit; } @media (max-width: 767px) { .fpt-filterchips { flex-wrap: nowrap; overflow-x: auto; padding-inline: 16px; scrollbar-width: none; } .fpt-filterchip { flex: 0 0 auto; min-height: 36px; } } -.fpt-approval { padding: 14px; border-left: 3px solid var(--pill-lav-fg); } +.fpt-approval { padding: 16px; border-left: 3px solid var(--pill-lav-fg); } .fpt-approval[data-decision='approve'] { border-left-color: var(--fpt-status-done); } .fpt-approval[data-decision='skip'] { border-left-color: var(--fpt-status-idle); } .fpt-dry[data-result='passed'] svg { color: var(--fpt-status-done); } @@ -665,12 +690,12 @@ a { color: inherit; } .fpt-dry[data-result='simulated'] svg { color: var(--fpt-status-idle); } .fpt-notoffered { display: inline-flex; align-items: center; gap: 6px; } /* Judge: text left, the failed screen right when the card is wide enough; stacked below otherwise */ -.fpt-judge { container-type: inline-size; container-name: judge; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } +.fpt-judge { container-type: inline-size; container-name: judge; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; } @container judge (min-width: 640px) { .fpt-judge:has(.fpt-judge-screen > *) { grid-template-columns: minmax(0, 1.4fr) minmax(200px, 1fr); } } .fpt-judge-screen:empty { display: none; } .fpt-failshot { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } -.fpt-failshot[data-kind='none'] { align-items: center; text-align: center; padding: 18px 12px; border: 1px dashed var(--fpt-line); border-radius: 10px; color: var(--fpt-dim); } -.fpt-failshot-img { display: block; width: 100%; border: 2px solid var(--fpt-status-failed); border-radius: 10px; overflow: hidden; background: var(--fpt-surface-2); } +.fpt-failshot[data-kind='none'] { align-items: center; text-align: center; padding: 20px 12px; border: 1px dashed var(--fpt-line); border-radius: var(--fpt-radius-card); color: var(--fpt-dim); } +.fpt-failshot-img { display: block; width: 100%; border: 2px solid var(--fpt-status-failed); border-radius: var(--fpt-radius-card); overflow: hidden; background: var(--fpt-surface-2); } .fpt-failshot-img img { display: block; width: 100%; max-height: 260px; object-fit: contain; } /* ---- review 3 ---- */ @@ -684,28 +709,28 @@ a { color: inherit; } @container approval (max-width: 359.98px) { .fpt-skip-long { display: none; } .fpt-skip-short { display: inline; } } /* R3-S5 + deviation 3: when the Judge card stacks, a quick simulation gets one dim line instead of the dashed box, and a browser run's screen is capped at 220px; side by side, the column keeps its empty state */ -.fpt-judge-noscreen { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fpt-dim); } +.fpt-judge-noscreen { display: flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-body); color: var(--fpt-dim); } @container judge (max-width: 639.98px) { .fpt-judge-screen:has(.fpt-failshot[data-kind='none']) { display: none; } .fpt-judge .fpt-failshot-img img { max-height: 220px; } } @container judge (min-width: 640px) { .fpt-judge-noscreen { display: none; } } /* R3-S6: the raw error stays available under "Technical details" */ -.fpt-agent-tech { padding: 0 10px 9px; font-size: 12px; color: var(--fpt-dim); } +.fpt-agent-tech { padding: 0 10px 10px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } .fpt-agent-tech summary { cursor: pointer; } -.fpt-agent-tech code { display: block; margin-top: 4px; font: 12px/1.4 var(--fpt-mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fpt-text); } +.fpt-agent-tech code { display: block; margin-top: 4px; font-family: var(--fpt-mono); font-size: var(--fpt-fs-caption); line-height: var(--fpt-lh-caption); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fpt-text); } /* ======================================================================== step 5: result, report, readiness cockpit */ -.fpt-verdict { font-size: 22px; line-height: 1.25; } +.fpt-verdict { font-size: var(--fpt-fs-title3); line-height: 1.25; } .fpt-report { max-width: 880px; } -.fpt-signed { color: var(--pill-green-fg); background: var(--pill-green-bg); padding: 6px 10px; border-radius: 8px; } -.fpt-report-honesty { padding: 10px 14px; border-radius: 12px; background: var(--fpt-env-practice-bg); color: var(--fpt-env-practice-fg); } +.fpt-signed { color: var(--pill-green-fg); background: var(--pill-green-bg); padding: 6px 10px; border-radius: var(--fpt-radius-card); } +.fpt-report-honesty { padding: 10px 16px; border-radius: var(--fpt-radius-card); background: var(--fpt-env-practice-bg); color: var(--fpt-env-practice-fg); } .fpt-report-honesty[data-tone='fusion'] { background: var(--fpt-env-fusion-bg); color: var(--fpt-env-fusion-fg); } -.fpt-release { padding: 12px 16px; border-radius: 12px; background: var(--fpt-band); border: 1px solid var(--fpt-border); } -.fpt-release-line { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; } -.fpt-release-kicker { font-size: 11.5px; text-transform: none; font-weight: 600; } +.fpt-release { padding: 12px 16px; border-radius: var(--fpt-radius-card); background: var(--fpt-band); border: 1px solid var(--fpt-border); } +.fpt-release-line { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; font-size: var(--fpt-fs-body); } +.fpt-release-kicker { font-size: var(--fpt-fs-caption); text-transform: none; font-weight: 600; } .fpt-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } -.fpt-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--fpt-border); border-left: 4px solid var(--fpt-status-idle); background: var(--fpt-surface); color: var(--fpt-text); font: inherit; text-align: left; cursor: pointer; } +.fpt-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: var(--fpt-radius-card); border: 1px solid var(--fpt-border); border-left: 4px solid var(--fpt-status-idle); background: var(--fpt-surface); color: var(--fpt-text); font: inherit; text-align: left; cursor: pointer; } .fpt-kpi[data-tone='green'] { border-left-color: var(--fpt-status-done); } .fpt-kpi[data-tone='red'] { border-left-color: var(--fpt-status-failed); } .fpt-kpi[data-tone='amber'] { border-left-color: var(--fpt-status-waiting); } @@ -713,11 +738,11 @@ a { color: inherit; } .fpt-kpi:hover { box-shadow: var(--fpt-shadow-1); } .fpt-kpi[aria-pressed='true'] { background: var(--fpt-surface-2); box-shadow: inset 0 0 0 2px var(--fpt-ink); } .fpt-kpi[data-zero='true'] { opacity: 0.55; } -.fpt-kpi-n { font-size: 22px; font-weight: 600; line-height: 1.1; } -.fpt-kpi-label { font-size: 12px; color: var(--fpt-dim); } +.fpt-kpi-n { font-size: var(--fpt-fs-title3); font-weight: 600; line-height: 1.1; } +.fpt-kpi-label { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } @media (max-width: 767px) { .fpt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } } -.fpt-needs { padding: 10px 14px; } -.fpt-needs-head, .fpt-section-kicker { font-size: 11px; text-transform: none; font-weight: 600; color: var(--fpt-dim); } +.fpt-needs { padding: 10px 16px; } +.fpt-needs-head, .fpt-section-kicker { font-size: var(--fpt-fs-caption); text-transform: none; font-weight: 600; color: var(--fpt-dim); } .fpt-needs-head { color: var(--pill-amber-fg); margin-bottom: 4px; } .fpt-needs-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--fpt-border); } .fpt-needs-row:first-of-type { border-top: 0; } @@ -727,8 +752,8 @@ a { color: inherit; } body { background: var(--fpt-surface); } .fpt-card { box-shadow: none; } /* shell */ -.fpt-sb-brand .fpt-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 6px; background: transparent; color: var(--fpt-dim); box-shadow: inset 0 0 0 1px var(--fpt-line); font-size: 10.5px; } -.fpt-sb-new { background: var(--fpt-surface); color: var(--fpt-text); box-shadow: inset 0 0 0 1px var(--fpt-border); border-radius: 8px; font-weight: 600; } +.fpt-sb-brand .fpt-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: var(--fpt-radius-control); background: transparent; color: var(--fpt-dim); box-shadow: inset 0 0 0 1px var(--fpt-line); font-size: var(--fpt-fs-caption); } +.fpt-sb-new { background: var(--fpt-surface); color: var(--fpt-text); box-shadow: inset 0 0 0 1px var(--fpt-border); border-radius: var(--fpt-radius-card); font-weight: 600; } .fpt-sb-new:hover { opacity: 1; background: var(--fpt-surface-2); } .fpt-nav-item[data-active='true'] { background: var(--fpt-selected); color: var(--fpt-accent); } .fpt-nav-item[data-active='true'] .fpt-kbd { color: var(--fpt-dim); } @@ -739,38 +764,38 @@ body { background: var(--fpt-surface); } .fpt-sb-group[data-key='needs'] { color: var(--fpt-text); } .fpt-runitem { min-height: 42px; padding: 4px 10px; } .fpt-runitem[aria-current='page'] { background: var(--fpt-selected); box-shadow: none; } -.fpt-runitem-state { display: inline-flex; align-items: center; gap: 5px; } +.fpt-runitem-state { display: inline-flex; align-items: center; gap: 6px; } .fpt-runitem-state[data-state='waiting'] { color: var(--fpt-text); font-weight: 600; } -.fpt-sb-show { display: flex; align-items: center; gap: 4px; padding: 6px 10px 2px; font-size: 12px; color: var(--fpt-dim); } -.fpt-sb-show button { border: 0; background: transparent; color: var(--fpt-dim); font: inherit; padding: 2px 6px; border-radius: 6px; cursor: pointer; } +.fpt-sb-show { display: flex; align-items: center; gap: 4px; padding: 6px 10px 2px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-sb-show button { border: 0; background: transparent; color: var(--fpt-dim); font: inherit; padding: 2px 6px; border-radius: var(--fpt-radius-control); cursor: pointer; } .fpt-sb-show button[aria-pressed='true'] { color: var(--fpt-accent); background: var(--fpt-selected); font-weight: 600; } /* environment cue: amber text (practice) or neutral text (Fusion), no fill */ -.fpt-env, .fpt-env[data-kind='fusion'] { background: transparent; padding: 6px 8px; border-radius: 8px; } +.fpt-env, .fpt-env[data-kind='fusion'] { background: transparent; padding: 6px 8px; border-radius: var(--fpt-radius-card); } .fpt-env:hover { background: var(--fpt-surface-2); } .fpt-env:not([data-kind='fusion']) { color: var(--pill-amber-fg); } .fpt-env[data-kind='fusion'] { color: var(--fpt-text); } .fpt-env-label > span { white-space: normal; } -.fpt-env-name { color: var(--fpt-dim); font-size: 11.5px; } -.fpt-envbadge, .fpt-envbadge[data-tone] { background: transparent !important; padding: 0; font-size: 12px; font-weight: 400; } +.fpt-env-name { color: var(--fpt-dim); font-size: var(--fpt-fs-caption); } +.fpt-envbadge, .fpt-envbadge[data-tone] { background: transparent !important; padding: 0; font-size: var(--fpt-fs-caption); font-weight: 400; } .fpt-envbadge[data-tone='amber'] { color: var(--pill-amber-fg); } .fpt-envbadge[data-tone='blue'] { color: var(--fpt-text); } -.fpt-mock { background: transparent; color: var(--pill-amber-fg); padding: 0; font-size: 12.5px; } +.fpt-mock { background: transparent; color: var(--pill-amber-fg); padding: 0; font-size: var(--fpt-fs-caption); } .fpt-topbar-cue { color: var(--pill-amber-fg); } .fpt-idpill { background: transparent; color: var(--fpt-dim); font-family: var(--fpt-mono); padding: 0 4px; } /* status chip and verdict chip: a neutral chip with a dot and a word; verdict words carry the status colour */ .fpt-statechip, .fpt-statechip[data-state] { background: transparent; border: 1px solid var(--fpt-border); color: var(--fpt-text); } .fpt-statechip[data-state='waiting'], .fpt-statechip[data-state='paused'] { color: var(--pill-amber-fg); border-color: var(--fpt-border); } .fpt-statechip[data-state='failed'] { color: var(--pill-red-fg); } -.fpt-dchip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--fpt-border); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--fpt-dim); line-height: 20px; } +.fpt-dchip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--fpt-border); font-size: var(--fpt-fs-caption); font-weight: 600; white-space: nowrap; color: var(--fpt-dim); line-height: 20px; } .fpt-dchip[data-tone='green'] { color: var(--pill-green-fg); } .fpt-dchip[data-tone='red'] { color: var(--pill-red-fg); } .fpt-dchip[data-tone='amber'] { color: var(--pill-amber-fg); } .fpt-dchip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 8px; } -.fpt-dchip[data-size='lg'], .fpt-dchip[data-size='xl'] { font-size: 14px; padding: 3px 12px; } -.fpt-ruleresult { font-size: 12px; color: var(--fpt-text); } +.fpt-dchip[data-size='lg'], .fpt-dchip[data-size='xl'] { font-size: var(--fpt-fs-body); padding: 4px 12px; } +.fpt-ruleresult { font-size: var(--fpt-fs-caption); color: var(--fpt-text); } .fpt-sdot[data-state='queued'], .fpt-sdot[data-state='running'] { background: var(--fpt-status-running); } /* next-step: a neutral box with a status edge */ -.fpt-nextstep { padding: 10px 14px; border: 1px solid var(--fpt-border); border-left: 3px solid var(--fpt-line); border-radius: 8px; background: var(--fpt-surface); color: var(--fpt-text); } +.fpt-nextstep { padding: 10px 16px; border: 1px solid var(--fpt-border); border-left: 3px solid var(--fpt-line); border-radius: var(--fpt-radius-card); background: var(--fpt-surface); color: var(--fpt-text); } .fpt-nextstep[data-tone='amber'] { border-left-color: var(--fpt-status-waiting); } .fpt-nextstep[data-tone='red'] { border-left-color: var(--fpt-status-failed); } .fpt-nextstep[data-tone='green'] { border-left-color: var(--fpt-status-done); } @@ -778,22 +803,22 @@ body { background: var(--fpt-surface); } .fpt-nextstep[data-compact='true'][data-tone='amber'] { color: var(--pill-amber-fg); } /* conversation */ .fpt-chat-scroll, .fpt-ws-scroll { background: var(--fpt-surface); } -.fpt-msg-avatar { background: var(--fpt-surface-2); color: var(--fpt-dim); box-shadow: inset 0 0 0 1px var(--fpt-border); width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; } +.fpt-msg-avatar { background: var(--fpt-surface-2); color: var(--fpt-dim); box-shadow: inset 0 0 0 1px var(--fpt-border); width: 26px; height: 26px; flex-basis: 26px; font-size: var(--fpt-fs-caption); } .fpt-msg[data-who='bot'] + .fpt-msg[data-who='bot'] .fpt-msg-avatar { visibility: hidden; } .fpt-bubble { box-shadow: none; } .fpt-msg[data-who='you'] .fpt-bubble { background: var(--fpt-surface-2); color: var(--fpt-text); border: 1px solid var(--fpt-border); } -.fpt-chat-phase { color: var(--fpt-dim); font-size: 12px; letter-spacing: 0; } -.fpt-stage { box-shadow: none; border-radius: 12px; } +.fpt-chat-phase { color: var(--fpt-dim); font-size: var(--fpt-fs-caption); letter-spacing: 0; } +.fpt-stage { box-shadow: none; border-radius: var(--fpt-radius-card); } .fpt-stage[data-stage='stopped'] { border-left: 1px solid var(--fpt-border); } -.fpt-stage-kicker, .fpt-stage[data-stage='approve'] .fpt-stage-kicker, .fpt-stage[data-stage='judge'] .fpt-stage-kicker { color: var(--fpt-dim); font-size: 12.5px; font-weight: 400; letter-spacing: 0; } +.fpt-stage-kicker, .fpt-stage[data-stage='approve'] .fpt-stage-kicker, .fpt-stage[data-stage='judge'] .fpt-stage-kicker { color: var(--fpt-dim); font-size: var(--fpt-fs-caption); font-weight: 400; letter-spacing: 0; } .fpt-stage-progress span[data-state='done'] { background: var(--fpt-text); opacity: 0.4; } .fpt-stage-progress span[data-state='now'], .fpt-stage-progress span[data-state='you'] { background: var(--fpt-accent); opacity: 1; } .fpt-team { background: transparent; border: 0; padding: 0; } -.fpt-team-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; white-space: normal; overflow: visible; font-size: 13px; } +.fpt-team-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; white-space: normal; overflow: visible; font-size: var(--fpt-fs-body); } .fpt-team-icon { color: var(--fpt-dim); flex: 0 0 auto; } .fpt-team-icon[data-kind='waiting'] { color: var(--fpt-status-waiting); } .fpt-team-icon[data-kind='error'] { color: var(--fpt-status-failed); } -.fpt-team-sum { color: var(--fpt-text); font-size: 13px; } +.fpt-team-sum { color: var(--fpt-text); font-size: var(--fpt-fs-body); } .fpt-chat-suggest button { background: transparent; border: 0; color: var(--fpt-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fpt-line); padding: 2px 6px; } .fpt-chat-suggest button:hover { text-decoration-color: var(--fpt-text); } .fpt-result { padding: 0; background: transparent; } @@ -801,7 +826,7 @@ body { background: var(--fpt-surface); } .fpt-result[data-tone='red'] .fpt-verdict { color: var(--pill-red-fg); } .fpt-result[data-tone='amber'] .fpt-verdict { color: var(--pill-amber-fg); } .fpt-result-facts [data-fail='true'] { color: var(--pill-red-fg); } -.fpt-pill { border-radius: 6px; } +.fpt-pill { border-radius: var(--fpt-radius-control); } /* side panel: the active tab is an accent underline */ .fpt-panel-tablist .mantine-Tabs-tab[data-active] { color: var(--fpt-accent); border-bottom-color: var(--fpt-accent); } .mantine-Tabs-tab[data-active] { --tab-border-color: var(--fpt-accent); } @@ -822,15 +847,15 @@ body { background: var(--fpt-surface); } /* ======================================================================== UI-SIMPLIFY: team board (3.4) */ .fpt-agent-avatar, .fpt-agent-avatar[data-tone] { background: var(--fpt-surface-2); color: var(--fpt-dim); box-shadow: inset 0 0 0 1px var(--fpt-border); } .fpt-board-phase, .fpt-board-phase[data-state] { border-top-width: 1px; border-top-color: var(--fpt-border); background: var(--fpt-surface-2); } -.fpt-board-phase > header { justify-content: space-between; font-size: 13px; } -.fpt-board-phase-done { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--fpt-dim); font-weight: 400; } +.fpt-board-phase > header { justify-content: space-between; font-size: var(--fpt-fs-body); } +.fpt-board-phase-done { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); font-weight: 400; } .fpt-board-phase[data-state='done'] .fpt-agent-state[data-state='done'] { display: none; } .fpt-agent, .fpt-agent[data-state] { border: 1px solid var(--fpt-border); } .fpt-agent[data-state='waiting'], .fpt-agent[data-state='silent'], .fpt-agent[data-state='paused'] { border-left: 3px solid var(--fpt-status-waiting); } .fpt-agent[data-state='error'] { border-left: 3px solid var(--fpt-status-failed); } .fpt-agent-state[data-state='running'], .fpt-agent-state[data-state='done'] { color: var(--fpt-text); } .fpt-agent-state[data-state='done'] svg { color: var(--fpt-dim); } -.fpt-agent-you { position: absolute; top: 9px; right: 10px; font-size: 12px; font-weight: 600; color: var(--fpt-text); } +.fpt-agent-you { position: absolute; top: 9px; right: 10px; font-size: var(--fpt-fs-caption); font-weight: 600; color: var(--fpt-text); } .fpt-agent-foot { display: flex; flex-direction: column; gap: 1px; } .fpt-agent-btn[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--fpt-accent); } .fpt-coord, .fpt-coord[data-tone] { background: var(--fpt-surface); color: var(--fpt-text); border-left-width: 1px; border-left-color: var(--fpt-border); } @@ -846,17 +871,17 @@ body { background: var(--fpt-surface); } .fpt-pill[data-tone='red'] { color: var(--pill-red-fg); } .fpt-pill[data-tone='amber'] { color: var(--pill-amber-fg); } .fpt-pill[data-tone='green']:not(:has(svg))::before, .fpt-pill[data-tone='red']:not(:has(svg))::before, .fpt-pill[data-tone='amber']:not(:has(svg))::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 7px; } -.fpt-aitext { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--fpt-dim); white-space: nowrap; } -.fpt-prio { font-size: 12px; font-weight: 600; color: var(--fpt-text); white-space: nowrap; } -.fpt-dimtext { font-size: 12px; color: var(--fpt-dim); } -.fpt-statustext { font-size: 12px; font-weight: 600; white-space: nowrap; } +.fpt-aitext { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); white-space: nowrap; } +.fpt-prio { font-size: var(--fpt-fs-caption); font-weight: 600; color: var(--fpt-text); white-space: nowrap; } +.fpt-dimtext { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-statustext { font-size: var(--fpt-fs-caption); font-weight: 600; white-space: nowrap; } .fpt-statustext[data-tone='red'] { color: var(--pill-red-fg); } .fpt-statustext[data-tone='green'] { color: var(--pill-green-fg); } .fpt-statustext[data-tone='amber'] { color: var(--pill-amber-fg); } -.fpt-dryok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--fpt-text); white-space: nowrap; } +.fpt-dryok { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fpt-fs-caption); color: var(--fpt-text); white-space: nowrap; } .fpt-dryok svg { color: var(--fpt-status-done); } .fpt-approval, .fpt-approval[data-decision] { border-left: 1px solid var(--fpt-border); } -.fpt-filterchip { border-radius: 8px; } +.fpt-filterchip { border-radius: var(--fpt-radius-card); } .fpt-filterchip:hover:not(:disabled) { border-color: var(--fpt-line); } .fpt-filterchip[data-active='true'] { background: var(--fpt-selected); color: var(--fpt-accent); border-color: var(--fpt-accent); font-weight: 600; } .fpt-filterchip-count, .fpt-filterchip[data-active='true'] .fpt-filterchip-count { background: transparent; color: var(--fpt-dim); padding: 0; } @@ -869,9 +894,9 @@ body { background: var(--fpt-surface); } .fpt-report .mantine-Table-th { font-weight: 600; } /* ======================================================================== UI-SIMPLIFY: patch readiness (3.8) */ -.fpt-release-line { display: inline; font-size: 12.5px; color: var(--fpt-dim); } -.fpt-area { padding: 18px; } -.fpt-verdictword { font-size: 14px; font-weight: 600; color: var(--fpt-dim); white-space: nowrap; } +.fpt-release-line { display: inline; font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } +.fpt-area { padding: 20px; } +.fpt-verdictword { font-size: var(--fpt-fs-body); font-weight: 600; color: var(--fpt-dim); white-space: nowrap; } .fpt-verdictword[data-tone='green'] { color: var(--pill-green-fg); } .fpt-verdictword[data-tone='red'] { color: var(--pill-red-fg); } .fpt-verdictword[data-tone='amber'] { color: var(--pill-amber-fg); } @@ -879,7 +904,7 @@ body { background: var(--fpt-surface); } .fpt-area-newer svg { color: var(--fpt-dim); flex: 0 0 auto; } .fpt-area-newer[data-waiting] { color: var(--pill-amber-fg); } .fpt-area-newer[data-waiting] svg { color: var(--fpt-status-waiting); } -.fpt-textlink { color: var(--fpt-text); text-decoration: underline; text-decoration-color: var(--fpt-line); text-underline-offset: 3px; background: none; border: 0; padding: 0 4px; font: inherit; font-size: 13px; cursor: pointer; } +.fpt-textlink { color: var(--fpt-text); text-decoration: underline; text-decoration-color: var(--fpt-line); text-underline-offset: 3px; background: none; border: 0; padding: 0 4px; font: inherit; font-size: var(--fpt-fs-body); cursor: pointer; } .fpt-textlink:hover { text-decoration-color: var(--fpt-text); } /* process steps: neutral text chips; only a failing step is red, a gap is dim italic */ .fpt-pill[data-state] { color: var(--fpt-text); font-weight: 400; } @@ -891,16 +916,16 @@ body { background: var(--fpt-surface); } .fpt-pill[data-state='not_affected'] { color: var(--fpt-dim); } /* ======================================================================== UI-SIMPLIFY: test runs list (3.9) and step 6-7 pages */ -.fpt-pagedesc { font-size: 12.5px; color: var(--fpt-dim); } +.fpt-pagedesc { font-size: var(--fpt-fs-caption); color: var(--fpt-dim); } .fpt-pagedesc a { color: var(--fpt-text); } .fpt-runrow { flex-wrap: wrap; align-items: center; } .fpt-runrow-top { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; } -.fpt-runrow-title { text-decoration: none; color: var(--fpt-text); font-weight: 600; font-size: 13.5px; } +.fpt-runrow-title { text-decoration: none; color: var(--fpt-text); font-weight: 600; font-size: var(--fpt-fs-body); } .fpt-runrow-title:hover { text-decoration: underline; } -.fpt-runrow .fpt-runitem-state { font-size: 12.5px; } +.fpt-runrow .fpt-runitem-state { font-size: var(--fpt-fs-caption); } .fpt-runrow-sub { margin-top: 2px; } .fpt-runrow-sub[data-env='mock'] .fpt-runrow-env { color: var(--pill-amber-fg); } -.fpt-dotword { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fpt-text); white-space: nowrap; } +.fpt-dotword { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-caption); color: var(--fpt-text); white-space: nowrap; } .fpt-dotword::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fpt-status-idle); flex: 0 0 8px; } .fpt-dotword[data-tone='green']::before { background: var(--fpt-status-done); } .fpt-dotword[data-tone='red'] { color: var(--pill-red-fg); font-weight: 600; } @@ -919,26 +944,26 @@ body { background: var(--fpt-surface); } .fpt-libfilters { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 8px; } .fpt-libfilterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; } .fpt-libro[data-selected] { background: var(--fpt-selected); } -.fpt-libtitle { font-size: 13.5px; color: var(--fpt-text); text-align: left; } +.fpt-libtitle { font-size: var(--fpt-fs-body); color: var(--fpt-text); text-align: left; } .fpt-libtitle:hover { text-decoration: underline; } .fpt-libro[data-selected] .fpt-libtitle { color: var(--fpt-accent); font-weight: 600; } -.fpt-libpanel { padding: 14px; position: sticky; top: 8px; max-height: calc(100dvh - 120px); overflow-y: auto; } +.fpt-libpanel { padding: 16px; position: sticky; top: 8px; max-height: calc(100dvh - 120px); overflow-y: auto; } .fpt-reportrow { flex-wrap: wrap; } .fpt-reportverdicts { display: inline-flex; gap: 10px; flex-wrap: wrap; } /* test environments */ .fpt-podcard { padding: 16px; } -.fpt-podcard-cue { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fpt-text); } +.fpt-podcard-cue { display: flex; align-items: center; gap: 6px; font-size: var(--fpt-fs-caption); color: var(--fpt-text); } .fpt-podcard[data-kind='mock'] .fpt-podcard-cue { color: var(--pill-amber-fg); } .fpt-podcard-cue svg { flex: 0 0 auto; } .fpt-podtest { display: flex; align-items: flex-start; gap: 6px; } .fpt-podtest[data-ok='true'] svg { color: var(--fpt-status-done); flex: 0 0 auto; margin-top: 2px; } .fpt-podtest[data-ok='false'] { color: var(--pill-red-fg); } .fpt-podtest[data-ok='false'] svg { flex: 0 0 auto; margin-top: 2px; } -.fpt-podhelp summary { cursor: pointer; font-size: 13px; color: var(--fpt-text); width: fit-content; } +.fpt-podhelp summary { cursor: pointer; font-size: var(--fpt-fs-body); color: var(--fpt-text); width: fit-content; } /* settings: vertical tabs on wide screens */ .fpt-settings-tabs[data-orientation='vertical'] > .mantine-Tabs-list { width: 200px; flex: 0 0 200px; gap: 2px; align-self: flex-start; position: sticky; top: 8px; } .fpt-settings-tabs[data-orientation='vertical'] > .mantine-Tabs-panel { padding-top: 0 !important; padding-left: 24px; min-width: 0; max-width: 1000px; } -.fpt-settings-tabs .mantine-Tabs-tab { border-radius: 8px; justify-content: flex-start; color: var(--fpt-text); } +.fpt-settings-tabs .mantine-Tabs-tab { border-radius: var(--fpt-radius-card); justify-content: flex-start; color: var(--fpt-text); } .fpt-settings-tabs .mantine-Tabs-tab:hover:not([data-active]) { background: var(--fpt-surface-2); } /* scheduled runs, emergency stop */ .fpt-embedded-only { display: none; } @@ -956,3 +981,118 @@ body { background: var(--fpt-surface); } .fpt-topbar .fpt-topbar-sub { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; white-space: normal; overflow: visible; height: auto; } .fpt-ws .fpt-topbar .fpt-topbar-sub { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; height: 28px; } } + +/* ======================================================================== Fluent 2 controls (values from @fluentui/tokens; Mantine kept) */ +/* dark-theme shadows for Mantine flyouts and dialogs */ +html:root[data-mantine-color-scheme='dark'] { + --mantine-shadow-xs: 0 0 2px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.28); + --mantine-shadow-sm: var(--fpt-shadow-2); --mantine-shadow-md: var(--fpt-shadow-2); + --mantine-shadow-lg: var(--fpt-shadow-3); --mantine-shadow-xl: var(--fpt-shadow-3); +} +/* control sizes: 32px buttons and inputs, 24px small buttons, 40px large (sign-in) */ +:root { + --button-height-xs: 32px; --button-height-sm: 32px; --button-height-md: 40px; --button-height-lg: 40px; + --button-height-compact-xs: 24px; --button-height-compact-sm: 24px; --button-height-compact-md: 28px; + --button-padding-x-xs: 12px; --button-padding-x-sm: 12px; --button-padding-x-md: 16px; + --button-padding-x-compact-xs: 8px; --button-padding-x-compact-sm: 8px; + --input-height-xs: 32px; --input-height-sm: 32px; --input-height-md: 40px; + --mantine-font-weight-bold: 600; +} +body { background: var(--fpt-surface); font-family: var(--fpt-font); } +h1, h2, h3, h4, .fpt-title { font-family: var(--fpt-font-display); } +code, kbd, pre, samp, .fpt-idpill { font-family: var(--fpt-mono); } + +/* focus: Fluent's 2px stroke (strokeFocus2), never a glow */ +:focus-visible, .mantine-focus-auto:focus-visible, .mantine-focus-always:focus { outline: 2px solid var(--fpt-focus); outline-offset: 1px; border-radius: var(--fpt-radius-control); } + +/* buttons: 14/20 semibold (12/16 when small), 4px corners */ +.mantine-Button-root { --button-fz: var(--fpt-fs-body) !important; font-weight: 600; border-radius: var(--fpt-radius-control); } +.mantine-Button-root[style*='compact'] { --button-fz: var(--fpt-fs-caption) !important; } +.mantine-Button-root[data-variant='default'] { --button-hover: var(--fpt-hover); color: var(--fpt-text); border-color: var(--fpt-line); } +.mantine-Button-root[data-variant='default']:active:not(:disabled) { background: var(--fpt-selected); } +.mantine-Button-root[style*='--mantine-color-accent-filled']:active:not(:disabled) { background: var(--fpt-accent-pressed) !important; } +.mantine-Button-root[data-variant='subtle'][style*='--mantine-color-accent'] { --button-hover: var(--fpt-hover) !important; } +.mantine-Button-root:disabled, .mantine-Button-root[data-disabled] { color: var(--fpt-disabled); } +.mantine-ActionIcon-root { border-radius: var(--fpt-radius-control); } +.mantine-ActionIcon-root[data-variant='subtle'] { --ai-hover: var(--fpt-hover); } +.fpt-iconbtn { width: 32px; height: 32px; border-radius: var(--fpt-radius-control); border-color: var(--fpt-line); } +.fpt-iconbtn:hover { background: var(--fpt-hover); } +.fpt-iconbtn-md { width: 32px; height: 32px; } + +/* inputs: 32px, neutral stroke with the stronger bottom stroke; focus = brand bottom stroke */ +.mantine-Input-input { font-size: var(--fpt-fs-body) !important; border-radius: var(--fpt-radius-control); border-color: var(--fpt-line); border-bottom-color: var(--fpt-dim); } +.mantine-Input-input:focus, .mantine-Input-input:focus-within, .mantine-Input-input[data-expanded] { border-color: var(--fpt-line); border-bottom-color: var(--fpt-accent); box-shadow: inset 0 -1px 0 var(--fpt-accent); outline: none; } +.mantine-Input-input[data-error] { border-bottom-color: var(--fpt-status-failed); } +.mantine-Input-input::placeholder { color: var(--fpt-dim); } +.mantine-InputWrapper-label { font-size: var(--fpt-fs-body); line-height: var(--fpt-lh-body); font-weight: 600; margin-bottom: 4px; } +.mantine-InputWrapper-description { font-size: var(--fpt-fs-caption); line-height: var(--fpt-lh-caption); color: var(--fpt-dim); } +.mantine-InputWrapper-error { font-size: var(--fpt-fs-caption); } +.mantine-Checkbox-input { border-radius: 2px; border-color: var(--fpt-dim); } +.mantine-Radio-radio { border-color: var(--fpt-dim); } +.mantine-Switch-track { border-color: var(--fpt-dim); } +.mantine-Checkbox-label, .mantine-Radio-label, .mantine-Switch-label { font-size: var(--fpt-fs-body); } +.mantine-SegmentedControl-root { border-radius: var(--fpt-radius-control); background: var(--fpt-surface-2); border: 1px solid var(--fpt-border); } +.mantine-SegmentedControl-indicator { border-radius: var(--fpt-radius-control); box-shadow: none; border: 1px solid var(--fpt-line); } +.mantine-SegmentedControl-label { font-size: var(--fpt-fs-body); font-weight: 400; } +.mantine-SegmentedControl-label[data-active] { font-weight: 600; } +.mantine-Badge-root { text-transform: none; font-weight: 600; border-radius: var(--fpt-radius-control); letter-spacing: 0; } +.mantine-Menu-dropdown, .mantine-Popover-dropdown, .mantine-Combobox-dropdown { border-radius: var(--fpt-radius-card); border-color: var(--fpt-border); } +.mantine-Menu-item { font-size: var(--fpt-fs-body); min-height: 32px; border-radius: var(--fpt-radius-control); } +.mantine-Menu-item:hover, .mantine-Menu-item[data-hovered] { background: var(--fpt-hover); } +.mantine-Modal-content, .mantine-Drawer-content { border-radius: var(--fpt-radius-card); } +.mantine-Modal-title, .mantine-Drawer-title { font-family: var(--fpt-font-display); font-size: var(--fpt-fs-title3); line-height: var(--fpt-lh-title3); font-weight: 600; } +.mantine-Tooltip-tooltip { font-size: var(--fpt-fs-caption); line-height: var(--fpt-lh-caption); border-radius: var(--fpt-radius-control); } +.mantine-Accordion-item { border-radius: var(--fpt-radius-card); } +.mantine-Accordion-label { font-size: var(--fpt-fs-body); } +.mantine-Alert-root { border-radius: var(--fpt-radius-card); } +.mantine-Anchor-root { color: var(--fpt-accent); } + +/* tabs: neutral text, the selected tab in semibold with Fluent's 3px brand indicator */ +.mantine-Tabs-tab { font-size: var(--fpt-fs-body); font-weight: 400; color: var(--fpt-dim); border-radius: var(--fpt-radius-control); background: transparent; } +.mantine-Tabs-tab:hover:not([data-active]) { background: var(--fpt-hover); color: var(--fpt-text); } +.mantine-Tabs-tab[data-active], .mantine-Tabs-tab[data-variant='pills'][data-active], .fpt-panel-tablist .mantine-Tabs-tab[data-active] { + color: var(--fpt-text); font-weight: 600; background: transparent; border-color: transparent; --tab-border-color: transparent; box-shadow: inset 0 -3px 0 var(--fpt-accent); +} +:root[data-mantine-color-scheme='dark'] .mantine-Tabs-tab[data-variant='pills'][data-active] { color: var(--fpt-text); } +.mantine-Tabs-list[data-orientation='vertical'] .mantine-Tabs-tab, .fpt-settings-tabs[data-orientation='vertical'] .mantine-Tabs-tab { min-height: 40px; justify-content: flex-start; } +.mantine-Tabs-list[data-orientation='vertical'] .mantine-Tabs-tab[data-active], .fpt-settings-tabs[data-orientation='vertical'] .mantine-Tabs-tab[data-active] { + background: var(--fpt-selected); box-shadow: inset 3px 0 0 var(--fpt-accent); +} + +/* left nav (Azure-portal-like): 40px items, selected = neutral selected fill and a 3px brand indicator bar */ +.fpt-nav-item { min-height: 40px; border-radius: var(--fpt-radius-control); font-size: var(--fpt-fs-body); } +.fpt-nav-item:hover { background: var(--fpt-hover); } +.fpt-nav-item[data-active='true'] { background: var(--fpt-selected); color: var(--fpt-text); font-weight: 600; } +.fpt-nav-item[data-active='true']::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 20px; margin-top: -10px; border-radius: 2px; background: var(--fpt-accent); } +.fpt-nav-item[data-active='true'] svg { color: var(--fpt-accent); } +.fpt-sb[data-mode='rail'] .fpt-nav-item { width: 40px; height: 40px; } +.fpt-runitem { border-radius: var(--fpt-radius-control); position: relative; } +.fpt-runitem:hover { background: var(--fpt-hover); } +.fpt-runitem[aria-current='page'] { background: var(--fpt-selected); } +.fpt-runitem[aria-current='page']::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 20px; margin-top: -10px; border-radius: 2px; background: var(--fpt-accent); } +.fpt-sb-new { height: 32px; border-radius: var(--fpt-radius-control); box-shadow: inset 0 0 0 1px var(--fpt-line); } +.fpt-sb-new:hover { background: var(--fpt-hover); } +.fpt-env, .fpt-sb-show button { border-radius: var(--fpt-radius-control); } +.fpt-sb, .fpt-rail { background: var(--fpt-sidebar); } +.fpt-bb-item.active, .fpt-bb-item[data-active='true'] { color: var(--fpt-accent); } + +/* tables: 40px rows, semibold secondary header text, no zebra, 1px dividers */ +.mantine-Table-table { --table-border-color: var(--fpt-border); --table-highlight-on-hover-color: var(--fpt-hover); --table-striped-color: transparent; font-size: var(--fpt-fs-body); } +.mantine-Table-tr { height: 40px; } +.mantine-Table-th { color: var(--fpt-dim); font-weight: 600; font-size: var(--fpt-fs-body); background: transparent; } +.mantine-Table-thead { border-bottom: 1px solid var(--fpt-line); } +.fpt-table thead, .fpt-report .mantine-Table-thead { background: transparent; } + +/* cards are flat with a 1px stroke; filter toggles are 4px controls */ +.fpt-card { border-radius: var(--fpt-radius-card); box-shadow: none; } +.fpt-filterchip { border-radius: var(--fpt-radius-control); min-height: 32px; font-size: var(--fpt-fs-body); border-color: var(--fpt-line); } +.fpt-filterchip:hover:not(:disabled) { background: var(--fpt-hover); border-color: var(--fpt-line); } +.fpt-filterchip[data-active='true'] { background: var(--fpt-selected); color: var(--fpt-text); border-color: var(--fpt-accent); box-shadow: inset 0 0 0 1px var(--fpt-accent); } +.fpt-filterchip-count { font-size: var(--fpt-fs-caption); } +.fpt-pill { border-radius: var(--fpt-radius-control); font-size: var(--fpt-fs-caption); line-height: var(--fpt-lh-caption); } +.fpt-dchip { border-radius: var(--fpt-radius-control); } +.fpt-stage, .fpt-bubble { border-radius: var(--fpt-radius-card); } +.fpt-topbar { background: var(--fpt-surface); border-bottom: 1px solid var(--fpt-border); } +.fpt-main, .fpt-shell-main { background: var(--fpt-surface); } +.fpt-textlink, .fpt-linkbtn { color: var(--fpt-accent); text-decoration-color: currentColor; } +@media (prefers-reduced-motion: reduce) { * { transition-duration: 0ms !important; } }