@aarwitz/tapp 0.18.0 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tapp",
3
3
  "description": "Give Claude hands and eyes on iOS, Android, and web apps, with exploration, replayable flows, evidence, and deterministic CI gates.",
4
- "version": "0.18.0",
4
+ "version": "0.18.2",
5
5
  "author": {
6
6
  "name": "Aaron Horowitz",
7
7
  "url": "https://github.com/aarwitz"
@@ -24,7 +24,7 @@
24
24
  "command": "npx",
25
25
  "args": [
26
26
  "-y",
27
- "@aarwitz/tapp@0.18.0",
27
+ "@aarwitz/tapp@0.18.2",
28
28
  "mcp"
29
29
  ],
30
30
  "cwd": "${CLAUDE_PROJECT_DIR}"
package/bin/tapp.js CHANGED
@@ -340,15 +340,15 @@ async function resolveTargetOrExit(engine, input, { inspect = false } = {}) {
340
340
  function safeCommandUsage(verb) {
341
341
  const usage = {
342
342
  workflows: "tapp plan workflows [repo] [--save FILE --confirm] [--workflow ID] [--json]",
343
- explore: "tapp explore [target] [--platform ios|android|web] [--actions N] [--timeout SEC] [--email VALUE] [--password VALUE] [--baseline FILE] [--json FILE]\n --read-only <url>...: never clicks (dead controls, broken links/assets, failed requests, JS exceptions, mixed content, overflow) [--pages N] [--urls FILE] [--json [FILE]]\n --goal \"SCREEN OR CONTROL\": source-locate a screen/control and take the shortest observed route [--project-dir REPO] [--target NAME|PATH] [--map FILE] [--out FILE]\n Web: [--watch] opens Tapp's controlled browser and shows its actions; [--device \"iPhone 13\"] [--viewport 390x844] render at a device profile or explicit size\n iOS launch configuration: [--launch-arg VALUE ...] [--launch-env '{\"KEY\":\"VALUE\"}']\n Android: [--app-id ID] [--apk FILE] [--serial ID] [--keep-data]",
343
+ explore: "tapp explore [target] [--platform ios|android|web] [--actions N] [--timeout SEC] [--email VALUE] [--password VALUE] [--baseline FILE] [--json FILE]\n --read-only <url>...: never clicks (dead controls, broken links/assets, failed requests, JS exceptions, mixed content, overflow) [--pages N] [--urls FILE] [--json [FILE]]\n --goal \"SCREEN OR CONTROL\": source-locate a screen/control and take the shortest observed route [--project-dir REPO] [--target NAME|PATH] [--map FILE] [--out FILE]\n Web: [--watch] opens Tapp's controlled browser and shows its actions; [--device \"iPhone 13\"] [--viewport 390x844] render at a device profile or explicit size\n iOS: [--device \"iPhone 16\"|UDID] chooses the simulator (required when more than one is booted; TAPP_UDID is the default)\n iOS launch configuration: [--launch-arg VALUE ...] [--launch-env '{\"KEY\":\"VALUE\"}']\n Android: [--app-id ID] [--apk FILE] [--serial ID] [--keep-data]",
344
344
  focus: "tapp explore --goal \"SCREEN OR CONTROL\" [target] [--platform ios|android|web] [--project-dir REPO] [--target NAME|PATH] [--map FILE] [--out FILE]",
345
345
  init: "tapp init [repo] [--explore] [--refresh] [--platform PLATFORM] [--target NAME] [--url URL] [--watch] [--dry-run]",
346
- open: "tapp look [target] [--platform ios|android|web] [--out FILE] [--tap TEXT] [--wait-for TEXT]\n --tree: accessibility tree of the current screen (--json for every element)\n --sim: screenshot the booted simulator only (never builds or installs)\n Web: [--device \"iPhone 13\"] [--viewport 390x844] [--full-page]",
346
+ open: "tapp look [target] [--platform ios|android|web] [--out FILE] [--tap TEXT] [--wait-for TEXT]\n --tree: accessibility tree of the current screen (--json for every element)\n --sim: screenshot the booted simulator only (never builds or installs)\n iOS: [--device \"iPhone 16\"|UDID] chooses the simulator (required when more than one is booted)\n Web: [--device \"iPhone 13\"] [--viewport 390x844] [--full-page]",
347
347
  tree: "tapp look --tree [target] [--platform ios|android|web] [--json] [--tap TEXT] [--wait-for TEXT]\n iOS: inspects an installed app; never builds or installs.\n Web: [--device \"iPhone 13\"] [--viewport 390x844]",
348
348
  shot: "tapp look --sim [--out FILE]",
349
349
  apps: "tapp apps",
350
350
  build: "tapp build [repo] [--scheme NAME] [--configuration NAME]",
351
- flow: "tapp run FLOW.yml [--actor NAME] [--email VALUE] [--password VALUE] [--device \"iPhone 13\"] [--viewport 390x844]\n iOS: [--launch-arg ARG] [--launch-env JSON]\ntapp validate FLOW.yml [--platform PLATFORM] [--map FILE]\ntapp validate --example print a complete starter Flow YAML\n Exit codes: 0 replay passed · 1 replay failed · 2 infrastructure/usage error",
351
+ flow: "tapp run FLOW.yml [--actor NAME] [--email VALUE] [--password VALUE] [--device \"iPhone 13\"] [--viewport 390x844]\n iOS: [--device \"iPhone 16\"|UDID] chooses the simulator (required when more than one is booted; TAPP_UDID is the default) [--launch-arg ARG] [--launch-env JSON]\ntapp validate FLOW.yml [--platform PLATFORM] [--map FILE]\ntapp validate --example print a complete starter Flow YAML\n Exit codes: 0 replay passed · 1 replay failed · 2 infrastructure/usage error",
352
352
  task: "tapp validate TASK.yml [--platform PLATFORM] [--map FILE]\ntapp validate TASK.yml --compile --platform PLATFORM [--inputs JSON] [--out FILE]\ntapp run TASK.yml --platform PLATFORM [--url URL|--bundle-id ID|--app-id ID] [--inputs JSON]",
353
353
  contract: "tapp validate FILE.contract.ts [--platform PLATFORM] [--map FILE]\ntapp validate FILE.contract.ts --compile --platform PLATFORM [--out FILE]\ntapp run FILE.contract.ts --platform PLATFORM [--url URL|--bundle-id ID|--app-id ID]\n Exit codes: 0 contract held · 1 contract failed · 2 infrastructure/usage error",
354
354
  scenario: "tapp validate SCENARIO.yml [--project-dir DIR]\ntapp run SCENARIO.yml --platform web --url URL [--project-dir DIR]\n Exit codes: 0 scenario passed · 1 scenario failed · 2 infrastructure/usage error",
@@ -917,6 +917,7 @@ switch (command) {
917
917
  maxActions: flags.actions,
918
918
  timeout: flags.timeout,
919
919
  args: { testEmail: flags.email, testPassword: flags.password, baselineFindings, ...launchOptions },
920
+ device: typeof flags.device === "string" ? flags.device : "",
920
921
  surface: "cli",
921
922
  onProgress,
922
923
  });
@@ -1002,7 +1003,7 @@ switch (command) {
1002
1003
  }
1003
1004
  if (sim.autoBooted) console.error(`📱 Booted ${sim.booted.name}`);
1004
1005
  const bundleId = await resolveTargetOrExit(engine, positionals[0]);
1005
- const r = await engine.openApp(bundleId, {}, 1000);
1006
+ const r = await engine.openApp(bundleId, {}, 1000, { device: typeof flags.device === "string" ? flags.device : "" });
1006
1007
  if (r.error) {
1007
1008
  console.error(`❌ ${r.error}`);
1008
1009
  process.exit(1);
@@ -1343,10 +1344,15 @@ switch (command) {
1343
1344
  const launch = iosLaunchOptions(flags, rest);
1344
1345
  if (launch.appLaunchArgs) env.OCQA_APP_LAUNCH_ARGS_JSON = JSON.stringify(launch.appLaunchArgs);
1345
1346
  if (launch.appLaunchEnv) env.OCQA_APP_LAUNCH_ENV_JSON = JSON.stringify(launch.appLaunchEnv);
1347
+ // --device is a simulator name or UDID here (issue #31); the runner gets the UDID, and with
1348
+ // several simulators booted and none chosen the run refuses rather than guess.
1349
+ const sim = await (await engineImport()).ensureBootedSim({ device: typeof flags.device === "string" ? flags.device : "" });
1350
+ if (sim.error) { console.error(`❌ ${sim.error}`); process.exit(2); }
1351
+ env.TAPP_UDID = sim.booted.udid;
1346
1352
  }
1347
1353
  if (typeof flags.email === "string") env.OCQA_TEST_EMAIL = flags.email;
1348
1354
  if (typeof flags.password === "string") env.OCQA_TEST_PASSWORD = flags.password;
1349
- if (typeof flags.device === "string") env.TAPP_WEB_DEVICE = flags.device;
1355
+ if (typeof flags.device === "string" && platform === "web") env.TAPP_WEB_DEVICE = flags.device;
1350
1356
  if (typeof flags.viewport === "string") env.TAPP_WEB_VIEWPORT = flags.viewport;
1351
1357
  if (typeof flags.actor === "string" && flags.actor) {
1352
1358
  const { readProjectConfig } = await import(path.join(packageRoot, "mcp-server", "src", "project-config.js"));
@@ -1705,8 +1711,8 @@ switch (command) {
1705
1711
  let healthy = true;
1706
1712
 
1707
1713
  const major = Number(process.versions.node.split(".")[0]);
1708
- report.node = { ok: major >= 18, version: process.versions.node };
1709
- major >= 18 ? sayOk("Node", `v${process.versions.node}`) : (sayBad("Node", `v${process.versions.node} (need >= 18)`), (healthy = false));
1714
+ report.node = { ok: major >= 20, version: process.versions.node };
1715
+ major >= 20 ? sayOk("Node", `v${process.versions.node}`) : (sayBad("Node", `v${process.versions.node} (need >= 20; Node 18 reached end of life in April 2025)`), (healthy = false));
1710
1716
 
1711
1717
  const python = run("python3", ["--version"]);
1712
1718
  report.python3 = { ok: python.code === 0, version: python.code === 0 ? python.stdout : null };
package/browser/app.css CHANGED
@@ -1,5 +1,6 @@
1
- /* Tapp Studio — desktop-parity dark skin. Palette and metrics come from tokens.css
2
- (mirrored from AutoTap/Theme/Theme.swift); nothing here hardcodes a colour. */
1
+ /* Tapp Studio — desktop-parity dark skin. Palette and metrics come from tokens.css; nothing here
2
+ hardcodes a colour. Pruned to the run viewer on 2026-10-15 (ADR-0006, owner decision). */
3
+
3
4
  :root {
4
5
  --ink:var(--tapp-text); --muted:var(--tapp-text-soft); --faint:var(--tapp-text-faint);
5
6
  --line:var(--tapp-border); --line-subtle:var(--tapp-border-subtle);
@@ -24,25 +25,20 @@ h1 { margin-bottom:6px; font-size:24px; font-weight:700; letter-spacing:-.02em;
24
25
  h2 { margin-bottom:6px; font-size:18px; font-weight:600; letter-spacing:-.01em; }
25
26
  h3 { margin-bottom:6px; font-size:14px; font-weight:500; }
26
27
  code { font:11px/1.45 var(--tapp-font-mono); }
27
-
28
- /* Buttons and chips */
29
28
  button { border-radius:10px; padding:8px 14px; border:1px solid transparent; font-weight:600; font-size:12px; color:var(--ink); background:var(--control); }
30
- button.primary { background:var(--accent-deep); color:#fff; } button.primary:hover { background:#388bfd; }
31
- button.secondary { color:var(--ink); border-color:var(--line); background:var(--control); } button.secondary:hover,button.quiet:hover { background:var(--tapp-panel-3); }
29
+ button.primary { background:var(--accent-deep); color:#fff; }
30
+ button.primary:hover { background:#388bfd; }
31
+ button.secondary { color:var(--ink); border-color:var(--line); background:var(--control); }
32
+ button.secondary:hover,button.quiet:hover { background:var(--tapp-panel-3); }
32
33
  button.quiet { border-color:var(--line); background:transparent; color:var(--muted); padding:6px 11px; }
33
- button.danger { background:var(--red-bg); color:var(--red); } button.danger:hover { background:rgba(248,81,73,.2); }
34
34
  button:disabled { cursor:not-allowed; opacity:.45; }
35
35
  .button-link { display:inline-flex; align-items:center; margin-top:10px; padding:7px 11px; border:1px solid var(--line); border-radius:var(--radius); color:var(--accent); font-size:11px; font-weight:600; text-decoration:none; background:var(--control); }
36
36
  .button-link:hover { background:var(--tapp-panel-3); }
37
- .top-actions,.button-row,.plan-toolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
37
+ .button-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
38
38
  .mode-pill,.status-chip { border:1px solid var(--line); background:var(--control); color:var(--muted); border-radius:999px; padding:4px 10px; font-size:11px; white-space:nowrap; }
39
-
40
- /* Wordmark — "tapp" with the blue→purple square */
41
39
  .brand { display:inline-flex; align-items:baseline; gap:4px; padding:0; border:0; background:transparent; color:var(--ink); font-weight:700; font-size:19px; letter-spacing:-.02em; }
42
40
  .brand .brand-mark { display:inline-block; width:7px; height:7px; border-radius:1.8px; background:linear-gradient(135deg,var(--tapp-blue),var(--tapp-purple)); transform:translateY(-1px); }
43
41
  .brand small { margin-left:8px; padding-left:10px; border-left:1px solid var(--line); color:var(--muted); font-size:11px; font-weight:500; }
44
-
45
- /* Onboarding (no project connected yet) */
46
42
  .onboarding-topbar { height:56px; padding:0 22px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line-subtle); }
47
43
  .source-onboarding { width:min(1140px,calc(100% - 48px)); margin:0 auto; padding:56px 0 90px; min-height:calc(100vh - 56px); }
48
44
  .welcome-copy { max-width:790px; margin:0 auto 36px; text-align:center; }
@@ -61,8 +57,6 @@ button:disabled { cursor:not-allowed; opacity:.45; }
61
57
  .source-card .source-layer { align-self:flex-start; margin-bottom:10px; padding:2px 8px; border-radius:999px; background:var(--selected); color:var(--accent); font-size:10px; font-weight:700; }
62
58
  .privacy-note { max-width:810px; margin:22px auto 0; padding:14px 18px; display:flex; align-items:center; justify-content:center; gap:10px; color:var(--muted); font-size:12px; }
63
59
  .privacy-note strong { color:var(--ink); }
64
-
65
- /* Product shell: fixed sidebar + workspace */
66
60
  .product-shell { min-height:100vh; display:grid; grid-template-columns:var(--tapp-sidebar-width) minmax(0,1fr); }
67
61
  .sidebar { position:sticky; top:0; height:100vh; padding:16px 12px 14px; background:var(--tapp-sidebar); border-right:1px solid var(--line-subtle); display:flex; flex-direction:column; z-index:20; }
68
62
  .sidebar .brand { padding:4px 8px 0; }
@@ -78,7 +72,6 @@ button:disabled { cursor:not-allowed; opacity:.45; }
78
72
  .primary-nav button>span svg { width:16px; height:16px; }
79
73
  .primary-nav button.active>span { color:var(--accent); }
80
74
  .primary-nav i { min-width:18px; padding:1px 6px; border-radius:999px; background:var(--control); color:var(--muted); font-size:10px; font-style:normal; text-align:center; }
81
- .primary-nav i.alert { background:var(--red); color:#fff; }
82
75
  .primary-nav i:empty,.primary-nav i.zero { display:none; }
83
76
  .sidebar-project { margin-top:auto; padding:12px 8px 0; display:flex; flex-direction:column; gap:6px; border-top:1px solid var(--line-subtle); }
84
77
  .sidebar-project .eyebrow { margin-bottom:4px; font-size:10px; letter-spacing:.12em; }
@@ -91,10 +84,9 @@ button:disabled { cursor:not-allowed; opacity:.45; }
91
84
  .sidebar-project .mode-pill { align-self:flex-start; margin-top:4px; }
92
85
  .sidebar-footer { margin-top:10px; padding-top:10px; border-top:1px solid var(--line-subtle); display:flex; gap:6px; }
93
86
  .sidebar-footer button { flex:1; padding:6px 8px; font-size:11px; }
94
-
95
- /* Workspace */
96
87
  .workspace { width:min(1500px,100%); padding:24px clamp(20px,3vw,40px) 80px; }
97
- .workspace-view { display:none; } .workspace-view.active { display:block; }
88
+ .workspace-view { display:none; }
89
+ .workspace-view.active { display:block; }
98
90
  .command-bar { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; }
99
91
  .command-bar h1 { margin-bottom:2px; font-size:28px; }
100
92
  .command-bar>div:first-child p { margin:0; color:var(--muted); font-size:12px; }
@@ -110,8 +102,6 @@ button:disabled { cursor:not-allowed; opacity:.45; }
110
102
  .idle-badges span { padding:5px 10px; border-radius:999px; background:var(--control); color:var(--muted); font-size:11px; }
111
103
  .idle-badges span b { color:var(--ink); font-weight:600; }
112
104
  .command-divider { margin:20px 0; border:0; border-top:1px solid var(--line-subtle); }
113
-
114
- /* Evidence: device feed + tapp chat */
115
105
  .evidence-section { display:grid; grid-template-columns:minmax(360px,440px) 1px minmax(330px,1fr); gap:20px; align-items:start; }
116
106
  .evidence-section .vrule { width:1px; align-self:stretch; background:var(--line-subtle); }
117
107
  .feed-label { margin:0 0 12px; color:var(--muted); font-size:12px; }
@@ -143,16 +133,6 @@ button:disabled { cursor:not-allowed; opacity:.45; }
143
133
  .chat-bubble.failed { background:var(--red-bg); border-color:transparent; }
144
134
  .chat-bubble.typing { color:var(--muted); font-style:italic; }
145
135
  .chat-footer { padding-top:10px; border-top:1px solid var(--line-subtle); color:var(--faint); font-size:11px; }
146
-
147
- /* Journey strip */
148
- .journey { margin:18px 0 0; display:grid; grid-template-columns:repeat(6,1fr); gap:1px; overflow:hidden; border:1px solid var(--line-subtle); border-radius:var(--radius-lg); background:var(--line-subtle); }
149
- .journey button { display:grid; grid-template-columns:24px 1fr; column-gap:8px; padding:11px 10px; text-align:left; border:0; border-radius:0; background:var(--paper); color:var(--ink); }
150
- .journey button:hover { background:var(--wash); }
151
- .journey button span { grid-row:1/3; display:grid; place-items:center; width:22px; height:22px; border:1px solid var(--line); border-radius:50%; color:var(--muted); font-size:10px; }
152
- .journey button.done span { background:var(--accent-deep); border-color:var(--accent-deep); color:#fff; }
153
- .journey b { font-size:12px; font-weight:600; } .journey small { color:var(--muted); font-size:10px; }
154
-
155
- /* Panels and headings */
156
136
  .view-heading { display:grid; grid-template-columns:1fr 320px; gap:30px; align-items:center; margin-bottom:18px; }
157
137
  .view-heading.simple { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
158
138
  .view-heading>div:first-child>p:last-child { max-width:830px; color:var(--muted); margin-bottom:0; font-size:12px; }
@@ -161,90 +141,162 @@ button:disabled { cursor:not-allowed; opacity:.45; }
161
141
  .section-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:16px; }
162
142
  .section-heading.compact { margin-bottom:12px; align-items:center; }
163
143
  .section-heading p:not(.eyebrow) { color:var(--muted); max-width:760px; margin-bottom:0; font-size:12px; }
164
- .metric { font-size:22px; font-weight:700; white-space:nowrap; }
165
144
  .decision-card { min-height:120px; padding:18px; border-radius:var(--radius-xl); display:flex; flex-direction:column; justify-content:center; border:1px solid var(--line); background:var(--paper); }
166
- .decision-card.ready { background:var(--green-bg); border-color:rgba(63,185,80,.35); } .decision-card.blocked { background:var(--red-bg); border-color:rgba(248,81,73,.35); } .decision-card.caution { background:var(--amber-bg); border-color:rgba(210,153,34,.35); }
167
- .decision-label { font-size:10px; font-weight:700; letter-spacing:.12em; color:var(--muted); } .decision-card strong { font-size:20px; margin:4px 0; } .decision-card span:last-child { color:var(--muted); font-size:11px; }
168
-
169
- /* Targets and configuration */
145
+ .decision-card.ready { background:var(--green-bg); border-color:rgba(63,185,80,.35); }
146
+ .decision-card.blocked { background:var(--red-bg); border-color:rgba(248,81,73,.35); }
147
+ .decision-card.caution { background:var(--amber-bg); border-color:rgba(210,153,34,.35); }
148
+ .decision-label { font-size:10px; font-weight:700; letter-spacing:.12em; color:var(--muted); }
149
+ .decision-card strong { font-size:20px; margin:4px 0; }
150
+ .decision-card span:last-child { color:var(--muted); font-size:11px; }
170
151
  .target-choice-callout { margin:-2px 0 12px; padding:12px 14px; display:flex; align-items:center; gap:11px; border:1px solid rgba(88,166,255,.35); border-radius:var(--radius-lg); background:var(--selected); }
171
152
  .target-choice-callout>span { width:26px; height:26px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:var(--accent-deep); color:#fff; font-size:11px; font-weight:700; }
172
- .target-choice-callout>div { display:flex; flex-direction:column; gap:2px; } .target-choice-callout strong { font-size:12px; } .target-choice-callout small { color:var(--muted); font-size:10px; }
153
+ .target-choice-callout>div { display:flex; flex-direction:column; gap:2px; }
154
+ .target-choice-callout strong { font-size:12px; }
155
+ .target-choice-callout small { color:var(--muted); font-size:10px; }
173
156
  .target-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:10px; }
174
157
  .target-card { min-height:88px; padding:12px; display:grid; grid-template-columns:36px 1fr 16px; gap:12px; text-align:left; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--wash); color:var(--ink); }
175
- .target-card:hover { border-color:var(--accent); } .target-card.selected { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:var(--selected); }
176
- .target-card>span:nth-child(2) { display:flex; flex-direction:column; min-width:0; } .target-card b { font-size:13px; } .target-card small { margin:2px 0 6px; color:var(--muted); font-size:10px; font-weight:400; } .target-card>i { color:var(--accent); font-style:normal; }
158
+ .target-card:hover { border-color:var(--accent); }
159
+ .target-card.selected { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:var(--selected); }
160
+ .target-card>span:nth-child(2) { display:flex; flex-direction:column; min-width:0; }
161
+ .target-card b { font-size:13px; }
162
+ .target-card small { margin:2px 0 6px; color:var(--muted); font-size:10px; font-weight:400; }
163
+ .target-card>i { color:var(--accent); font-style:normal; }
177
164
  .platform-icon { width:34px; height:34px; display:grid!important; place-items:center; border-radius:9px; background:var(--control); color:var(--ink); font-size:10px; font-weight:700; }
178
- .target-state { align-self:flex-start; width:max-content; padding:2px 6px; border-radius:999px; background:var(--control); color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; letter-spacing:.06em; } .target-state.configured { background:var(--green-bg); color:var(--green); }
165
+ .target-state { align-self:flex-start; width:max-content; padding:2px 6px; border-radius:999px; background:var(--control); color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; letter-spacing:.06em; }
166
+ .target-state.configured { background:var(--green-bg); color:var(--green); }
179
167
  .runtime-row { display:grid; grid-template-columns:minmax(260px,1fr) auto; gap:14px; align-items:stretch; margin-top:14px; }
180
- .field { display:flex; flex-direction:column; gap:6px; padding:12px 13px; border:1px solid var(--line); background:var(--wash); border-radius:var(--radius-lg); } .field span { font-size:11px; font-weight:600; } .field i { color:var(--muted); font-weight:400; } .field small { color:var(--muted); font-size:10px; } .field input { min-width:0; padding:7px 0; border:0; border-bottom:1px solid var(--line); outline:none; background:transparent; color:var(--ink); } .field input:focus { border-color:var(--accent); }
181
- .run-cta { min-width:235px; padding:12px 14px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:6px; border-radius:var(--radius-lg); background:var(--wash); } .run-cta small { max-width:300px; color:var(--muted); font-size:10px; }
182
- .requirements { margin:14px 0 0; padding:0; list-style:none; } .requirements li { margin-top:7px; padding:10px 12px; display:flex; gap:9px; border-radius:var(--radius); background:var(--amber-bg); color:var(--tapp-amber-soft); font-size:11px; } .requirements li>span { width:19px; height:19px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:rgba(210,153,34,.2); font-weight:700; } .requirements li div { display:flex; flex-direction:column; } .requirements li b { color:var(--ink); } .requirements li small { margin-top:2px; color:var(--muted); } .requirements li.blocking { background:var(--red-bg); color:var(--red); }
183
- .overview-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; margin-top:14px; } .summary-panel { padding:20px; } .latest-run-line { display:flex; align-items:flex-start; gap:10px; } .latest-run-line div { display:flex; flex-direction:column; } .latest-run-line small { color:var(--muted); font-size:10px; } .latest-run-line+p { margin:11px 0 0; color:var(--muted); font-size:11px; } .verdict-dot { width:10px; height:10px; margin-top:5px; border-radius:50%; background:var(--amber); } .verdict-dot.ready { background:var(--green); } .verdict-dot.blocked { background:var(--red); }
184
- .metric-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; } .metric-grid div { padding:11px; border-radius:var(--radius); background:var(--wash); display:flex; flex-direction:column; } .metric-grid strong { font-size:20px; } .metric-grid small { color:var(--muted); font-size:10px; }
185
-
186
- /* Live session controls (frame lives in the device panel) */
168
+ .field { display:flex; flex-direction:column; gap:6px; padding:12px 13px; border:1px solid var(--line); background:var(--wash); border-radius:var(--radius-lg); }
169
+ .field span { font-size:11px; font-weight:600; }
170
+ .field i { color:var(--muted); font-weight:400; }
171
+ .field small { color:var(--muted); font-size:10px; }
172
+ .field input { min-width:0; padding:7px 0; border:0; border-bottom:1px solid var(--line); outline:none; background:transparent; color:var(--ink); }
173
+ .field input:focus { border-color:var(--accent); }
174
+ .run-cta { min-width:235px; padding:12px 14px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:6px; border-radius:var(--radius-lg); background:var(--wash); }
175
+ .run-cta small { max-width:300px; color:var(--muted); font-size:10px; }
176
+ .requirements { margin:14px 0 0; padding:0; list-style:none; }
177
+ .requirements li { margin-top:7px; padding:10px 12px; display:flex; gap:9px; border-radius:var(--radius); background:var(--amber-bg); color:var(--tapp-amber-soft); font-size:11px; }
178
+ .requirements li>span { width:19px; height:19px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:rgba(210,153,34,.2); font-weight:700; }
179
+ .requirements li div { display:flex; flex-direction:column; }
180
+ .requirements li b { color:var(--ink); }
181
+ .requirements li small { margin-top:2px; color:var(--muted); }
182
+ .requirements li.blocking { background:var(--red-bg); color:var(--red); }
183
+ .overview-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; margin-top:14px; }
184
+ .summary-panel { padding:20px; }
185
+ .latest-run-line { display:flex; align-items:flex-start; gap:10px; }
186
+ .latest-run-line div { display:flex; flex-direction:column; }
187
+ .latest-run-line small { color:var(--muted); font-size:10px; }
188
+ .latest-run-line+p { margin:11px 0 0; color:var(--muted); font-size:11px; }
189
+ .verdict-dot { width:10px; height:10px; margin-top:5px; border-radius:50%; background:var(--amber); }
190
+ .verdict-dot.ready { background:var(--green); }
191
+ .verdict-dot.blocked { background:var(--red); }
187
192
  .live-layout { display:grid; grid-template-columns:minmax(300px,1fr) minmax(300px,1fr); gap:14px; align-items:start; }
188
193
  .live-controls,.flow-recorder-panel { border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--wash); overflow:hidden; }
189
194
  .live-controls-heading,.flow-recorder-head { min-height:42px; padding:10px 13px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); color:var(--muted); font-size:10px; }
190
- .live-controls-heading div,.flow-recorder-head div { display:flex; flex-direction:column; } .live-controls-heading strong,.flow-recorder-head strong { color:var(--ink); font-size:12px; } .live-controls-heading small,.flow-recorder-head small { font-size:10px; }
195
+ .live-controls-heading div,.flow-recorder-head div { display:flex; flex-direction:column; }
196
+ .live-controls-heading strong,.flow-recorder-head strong { color:var(--ink); font-size:12px; }
197
+ .live-controls-heading small,.flow-recorder-head small { font-size:10px; }
191
198
  #live-control-list { max-height:380px; overflow:auto; }
192
199
  .live-control { width:100%; padding:10px 12px; display:grid; grid-template-columns:1fr auto; gap:10px; text-align:left; border:0; border-bottom:1px solid var(--line-subtle); border-radius:0; background:transparent; color:var(--ink); }
193
- .live-control:hover { background:var(--tapp-panel-3); } .live-control:disabled { opacity:.5; } .live-control span { min-width:0; display:flex; flex-direction:column; } .live-control strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; } .live-control small { color:var(--muted); font-size:10px; } .live-control em { align-self:center; padding:2px 6px; border-radius:999px; background:var(--control); color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; }
194
- .manual-action { padding:12px; border-top:1px solid var(--line); } .manual-action label { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; } .manual-action label span { color:var(--muted); font-size:10px; font-weight:600; } .manual-action label i { font-weight:400; } .manual-action input { padding:7px 8px; border:1px solid var(--line); border-radius:7px; background:var(--control); color:var(--ink); font-size:12px; }
195
- .flow-recorder { padding:13px; display:grid; gap:10px; } .flow-recorder label { display:flex; flex-direction:column; gap:4px; } .flow-recorder label span { color:var(--muted); font-size:10px; } .flow-recorder input { width:100%; padding:7px 8px; border:1px solid var(--line); border-radius:7px; background:var(--control); color:var(--ink); } .flow-recorder p { margin:0; color:var(--muted); font-size:11px; }
196
-
197
- /* Runs and findings */
198
- .split-view { display:grid; grid-template-columns:minmax(300px,.8fr) minmax(480px,1.2fr); gap:14px; align-items:start; } .list-panel,.detail-panel { overflow:hidden; } .detail-panel { padding:22px; min-height:420px; }
199
- .run-row,.finding-row { width:100%; padding:13px 15px; display:grid; grid-template-columns:32px 1fr auto; gap:10px; align-items:center; text-align:left; border:0; border-bottom:1px solid var(--line-subtle); border-radius:0; background:transparent; color:var(--ink); } .run-row:last-child,.finding-row:last-child { border-bottom:0; } .run-row:hover,.finding-row:hover { background:var(--wash); } .run-row.selected,.finding-row.selected { background:var(--selected); box-shadow:inset 3px 0 var(--accent); }
200
- .run-row>span:nth-child(2),.finding-row>span:nth-child(2) { min-width:0; display:flex; flex-direction:column; } .run-row strong,.finding-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; } .run-row small,.finding-row small { color:var(--muted); font-size:10px; } .run-row em,.finding-row em { color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; letter-spacing:.05em; }
201
- .run-status { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--green-bg); color:var(--green); } .run-status.blocked { background:var(--red-bg); color:var(--red); } .run-status.inconclusive,.run-status.caution,.run-status.completed,.run-status.running { background:var(--amber-bg); color:var(--amber); }
202
- .severity { width:8px; height:30px; border-radius:999px; background:var(--faint); } .severity.critical,.severity.high { background:var(--red); } .severity.medium { background:var(--amber); } .severity.low { background:var(--accent); }
203
- .run-detail-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--line-subtle); } .run-detail-head small { color:var(--muted); } .run-stats { margin:16px 0 20px; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; } .run-stats div { padding:10px; background:var(--wash); border-radius:var(--radius); display:flex; flex-direction:column; } .run-stats strong { font-size:18px; } .run-stats small { color:var(--muted); font-size:10px; } .detail-panel>h3 { margin-top:18px; font-size:12px; font-weight:600; } .detail-list { margin:6px 0 0; padding-left:18px; color:var(--muted); font-size:11px; } .detail-list.boundary { color:var(--tapp-amber-soft); } .contract-result { padding:9px 0; display:flex; gap:9px; border-bottom:1px solid var(--line-subtle); } .contract-result>span { font-weight:700; } .contract-result .pass { color:var(--green); } .contract-result .fail { color:var(--red); } .contract-result div { display:flex; flex-direction:column; } .contract-result strong { font-size:11px; } .contract-result small { color:var(--muted); font-size:10px; }
204
- .findings-layout { grid-template-columns:minmax(330px,.85fr) minmax(430px,1.15fr); } .detail-dl,.settings-dl { margin:14px 0; } .detail-dl div,.settings-dl div { display:grid; grid-template-columns:110px 1fr; gap:10px; padding:7px 0; border-bottom:1px solid var(--line-subtle); } .detail-dl dt,.settings-dl dt { color:var(--muted); font-size:11px; } .detail-dl dd,.settings-dl dd { margin:0; overflow-wrap:anywhere; font-size:11px; } .detail-panel pre { max-height:220px; overflow:auto; padding:12px; background:var(--tapp-bg-deep); color:var(--ink); border-radius:var(--radius); font-size:10px; } .honesty { padding:10px 12px; border-left:3px solid var(--amber); background:var(--amber-bg); color:var(--tapp-amber-soft); font-size:11px; }
200
+ .live-control:hover { background:var(--tapp-panel-3); }
201
+ .live-control:disabled { opacity:.5; }
202
+ .live-control span { min-width:0; display:flex; flex-direction:column; }
203
+ .live-control strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
204
+ .live-control small { color:var(--muted); font-size:10px; }
205
+ .live-control em { align-self:center; padding:2px 6px; border-radius:999px; background:var(--control); color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; }
206
+ .manual-action { padding:12px; border-top:1px solid var(--line); }
207
+ .manual-action label { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
208
+ .manual-action label span { color:var(--muted); font-size:10px; font-weight:600; }
209
+ .manual-action label i { font-weight:400; }
210
+ .manual-action input { padding:7px 8px; border:1px solid var(--line); border-radius:7px; background:var(--control); color:var(--ink); font-size:12px; }
211
+ .flow-recorder { padding:13px; display:grid; gap:10px; }
212
+ .flow-recorder label { display:flex; flex-direction:column; gap:4px; }
213
+ .flow-recorder label span { color:var(--muted); font-size:10px; }
214
+ .flow-recorder input { width:100%; padding:7px 8px; border:1px solid var(--line); border-radius:7px; background:var(--control); color:var(--ink); }
215
+ .flow-recorder p { margin:0; color:var(--muted); font-size:11px; }
216
+ .split-view { display:grid; grid-template-columns:minmax(300px,.8fr) minmax(480px,1.2fr); gap:14px; align-items:start; }
217
+ .list-panel,.detail-panel { overflow:hidden; }
218
+ .detail-panel { padding:22px; min-height:420px; }
219
+ .run-row { width:100%; padding:13px 15px; display:grid; grid-template-columns:32px 1fr auto; gap:10px; align-items:center; text-align:left; border:0; border-bottom:1px solid var(--line-subtle); border-radius:0; background:transparent; color:var(--ink); }
220
+ .run-row:last-child { border-bottom:0; }
221
+ .run-row:hover { background:var(--wash); }
222
+ .run-row.selected { background:var(--selected); box-shadow:inset 3px 0 var(--accent); }
223
+ .run-row>span:nth-child(2) { min-width:0; display:flex; flex-direction:column; }
224
+ .run-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
225
+ .run-row small { color:var(--muted); font-size:10px; }
226
+ .run-row em { color:var(--muted); font-size:9px; font-style:normal; text-transform:uppercase; letter-spacing:.05em; }
227
+ .run-status { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--green-bg); color:var(--green); }
228
+ .run-status.blocked { background:var(--red-bg); color:var(--red); }
229
+ .run-status.inconclusive,.run-status.caution,.run-status.completed,.run-status.running { background:var(--amber-bg); color:var(--amber); }
230
+ .run-detail-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--line-subtle); }
231
+ .run-detail-head small { color:var(--muted); }
232
+ .run-stats { margin:16px 0 20px; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
233
+ .run-stats div { padding:10px; background:var(--wash); border-radius:var(--radius); display:flex; flex-direction:column; }
234
+ .run-stats strong { font-size:18px; }
235
+ .run-stats small { color:var(--muted); font-size:10px; }
236
+ .detail-panel>h3 { margin-top:18px; font-size:12px; font-weight:600; }
237
+ .detail-list { margin:6px 0 0; padding-left:18px; color:var(--muted); font-size:11px; }
238
+ .detail-list.boundary { color:var(--tapp-amber-soft); }
239
+ .contract-result { padding:9px 0; display:flex; gap:9px; border-bottom:1px solid var(--line-subtle); }
240
+ .contract-result>span { font-weight:700; }
241
+ .contract-result .pass { color:var(--green); }
242
+ .contract-result .fail { color:var(--red); }
243
+ .contract-result div { display:flex; flex-direction:column; }
244
+ .contract-result strong { font-size:11px; }
245
+ .contract-result small { color:var(--muted); font-size:10px; }
246
+ .detail-panel pre { max-height:220px; overflow:auto; padding:12px; background:var(--tapp-bg-deep); color:var(--ink); border-radius:var(--radius); font-size:10px; }
205
247
  select { padding:7px 10px; border:1px solid var(--line); border-radius:var(--radius); background:var(--control); color:var(--ink); font-size:12px; }
206
-
207
- /* Coverage */
208
- .subnav { display:flex; gap:4px; margin-bottom:13px; padding:4px; width:max-content; border:1px solid var(--line); border-radius:10px; background:var(--paper); } .subnav button { border:0; background:transparent; color:var(--muted); padding:6px 12px; } .subnav button.active { background:var(--selected); color:var(--accent); }
209
- .coverage-panel { display:none; } .coverage-panel.active { display:block; }
210
- .map-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:14px; } .map-canvas { min-height:330px; border:1px solid var(--line); border-radius:var(--radius-xl); background:linear-gradient(90deg,transparent 31px,var(--line-subtle) 32px,transparent 33px),linear-gradient(transparent 31px,var(--line-subtle) 32px,transparent 33px),var(--tapp-bg-deep); background-size:32px 32px; padding:20px; display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; align-content:start; }
211
- .map-node { background:var(--paper); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--radius-lg); padding:13px; box-shadow:var(--small-shadow); } .map-node-title { display:flex; gap:7px; } .map-node-title>span { color:var(--accent); font-size:10px; font-weight:700; } .map-node small { color:var(--muted); font-size:10px; } .map-node .coverage { margin-top:9px; display:flex; gap:5px; flex-wrap:wrap; } .tag { border-radius:999px; padding:2px 7px; background:var(--control); color:var(--muted); font-size:9px; } .tag.covered { background:var(--green-bg); color:var(--green); } .tag.warning { background:var(--amber-bg); color:var(--tapp-amber-soft); }
212
- .coverage-summary { border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--paper); padding:18px; } .coverage-summary dl { margin:0; } .coverage-summary dl div { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line-subtle); } .coverage-summary dt { color:var(--muted); } .coverage-summary dd { margin:0; font-weight:600; } .coverage-honesty { margin:15px 0 0; color:var(--muted); font-size:10px; }
213
- .transition-list { margin-top:13px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--paper); overflow:hidden; } .transition-list h3 { margin:0; padding:13px 15px; border-bottom:1px solid var(--line-subtle); font-size:12px; font-weight:600; } .transition-list>div { display:grid; grid-template-columns:1fr auto 1fr auto; gap:10px; align-items:center; padding:9px 15px; border-bottom:1px solid var(--line-subtle); font-size:10px; } .transition-list>div:last-child { border-bottom:0; } .transition-list span,.transition-list em { color:var(--muted); } .transition-list em { font-style:normal; }
214
- .table-panel { overflow:auto; } .table-panel table { width:100%; border-collapse:collapse; } .table-panel th,.table-panel td { padding:12px 14px; border-bottom:1px solid var(--line-subtle); text-align:left; font-size:11px; } .table-panel th { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.06em; } .table-panel td:first-child { display:flex; flex-direction:column; } .table-panel td small { color:var(--muted); }
215
- .application-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; } .model-card { padding:18px; } .model-card>strong { font-size:28px; } .model-card ul { margin:12px 0 0; padding:0; list-style:none; } .model-card li { padding:6px 0; display:flex; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line-subtle); font-size:10px; } .model-card li small { color:var(--muted); text-align:right; }
216
-
217
- /* Contracts */
218
- .spacer { flex:1; } .plan-toolbar { margin-bottom:12px; } .plan-list { display:flex; flex-direction:column; gap:8px; }
219
- .plan-item { display:grid; grid-template-columns:1fr 140px; gap:18px; align-items:center; padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--wash); } .plan-title { display:flex; align-items:center; gap:9px; } .plan-item h3 { font-size:13px; font-weight:600; margin:0; } .plan-item p { margin:3px 0; color:var(--muted); font-size:11px; } .plan-item .risk { color:var(--faint); font-size:10px; } .plan-meta { display:flex; gap:5px; flex-wrap:wrap; margin-top:8px; } .criticality { text-transform:uppercase; font-size:9px; letter-spacing:.08em; font-weight:700; color:var(--muted); } .criticality.critical,.criticality.high { color:var(--red); } .plan-item select { width:100%; }
220
- .pipeline { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; } .pipeline article { min-height:170px; padding:16px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--wash); display:flex; flex-direction:column; align-items:flex-start; } .pipeline article>span { color:var(--accent); font-weight:700; font-size:10px; } .pipeline article p { color:var(--muted); font-size:11px; flex:1; }
221
- .artifact-list { margin-top:14px; } .artifact { display:flex; justify-content:space-between; gap:20px; padding:9px 0; border-bottom:1px solid var(--line-subtle); font-size:11px; } .artifact>span:last-child { display:flex; align-items:center; gap:5px; min-width:0; } .artifact i { padding:2px 5px; border-radius:5px; background:var(--control); color:var(--muted); font-style:normal; font-size:9px; } .artifact code { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
222
-
223
- /* Settings and evidence */
224
- .settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .settings-section { padding:20px; } .settings-section>p:not(.eyebrow) { color:var(--muted); font-size:11px; } .settings-section .field { margin-top:8px; } .runner-row,.actor-row { display:flex; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line-subtle); } .runner-row div,.actor-row div { display:flex; flex-direction:column; } .runner-row strong,.actor-row strong { font-size:12px; } .runner-row small,.actor-row small { color:var(--muted); font-size:10px; } .runner-dot { width:9px; height:9px; border-radius:50%; background:var(--amber); } .runner-dot.available { background:var(--green); } .runner-dot.unavailable { background:var(--red); } .actor-row>span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:var(--selected); color:var(--accent); font-weight:700; }
225
- .setting-row { display:flex; justify-content:space-between; gap:15px; } .setting-row div { display:flex; flex-direction:column; } .setting-row small { color:var(--muted); font-size:10px; }
226
- .evidence-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; } .evidence-card { padding:14px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--wash); } .evidence-card strong { display:block; font-size:20px; } .evidence-card strong.good { color:var(--green); } .evidence-card strong.bad { color:var(--red); } .evidence-card small { color:var(--muted); font-size:10px; } .evidence-card.wide { grid-column:span 2; } .findings-list { margin:9px 0 0; padding-left:16px; color:var(--muted); font-size:10px; } .code-preview { max-height:430px; overflow:auto; margin-top:14px; padding:16px; border-radius:var(--radius-lg); background:var(--tapp-bg-deep); color:var(--ink); font:10px/1.55 var(--tapp-font-mono); white-space:pre; }
227
-
228
- /* Dialog, progress and shared empty states */
229
- dialog { width:min(720px,calc(100vw - 40px)); max-height:min(760px,calc(100vh - 40px)); padding:0; border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--paper); color:var(--ink); box-shadow:var(--shadow); } dialog::backdrop { background:rgba(0,0,0,.6); } .dialog-shell { padding:24px; } .dialog-heading { display:flex; justify-content:space-between; gap:20px; } .dialog-heading p:not(.eyebrow) { color:var(--muted); font-size:11px; } .search-input { width:100%; padding:10px 13px; border:1px solid var(--line); border-radius:10px; background:var(--control); color:var(--ink); }
230
- .github-repositories { margin-top:12px; max-height:480px; overflow:auto; border:1px solid var(--line); border-radius:var(--radius-lg); } .github-repositories button { width:100%; padding:11px 13px; display:grid; grid-template-columns:34px 1fr auto; gap:10px; align-items:center; text-align:left; border:0; border-bottom:1px solid var(--line-subtle); border-radius:0; background:transparent; color:var(--ink); } .github-repositories button:hover { background:var(--wash); } .github-repositories button span:nth-child(2) { display:flex; flex-direction:column; } .github-repositories button small { color:var(--muted); font-size:10px; } .github-repositories button em { color:var(--accent); font-size:10px; font-style:normal; } .repository-icon { width:30px; height:30px; display:grid!important; place-items:center; border-radius:8px; background:var(--control); font-weight:700; } .remediation { padding:22px; background:var(--amber-bg); color:var(--tapp-amber-soft); } .remediation p { margin:5px 0 0; font-size:11px; }
248
+ dialog { width:min(720px,calc(100vw - 40px)); max-height:min(760px,calc(100vh - 40px)); padding:0; border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--paper); color:var(--ink); box-shadow:var(--shadow); }
249
+ dialog::backdrop { background:rgba(0,0,0,.6); }
231
250
  .empty { grid-column:1/-1; padding:32px; color:var(--muted); text-align:center; font-size:12px; }
232
- .operation-drawer { position:fixed; right:24px; bottom:24px; z-index:60; width:min(470px,calc(100vw - 48px)); display:flex; align-items:center; gap:13px; padding:14px 16px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow); } .operation-copy { min-width:0; flex:1; } .operation-drawer p { margin:3px 0 7px; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .spinner { width:22px; height:22px; border:3px solid var(--tapp-panel-3); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; flex:0 0 auto; } .operation-drawer .progress-track { height:3px; border-radius:999px; background:var(--tapp-panel-3); overflow:hidden; } .operation-drawer .progress-track span { display:block; width:0; height:100%; background:var(--accent); transition:width .25s ease; } @keyframes spin { to { transform:rotate(360deg); } }
233
- .toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:70; max-width:650px; padding:12px 16px; border-radius:10px; color:var(--ink); background:var(--tapp-panel-3); border:1px solid var(--line); box-shadow:var(--shadow); font-size:12px; } .toast.error { background:#5a1f1f; border-color:rgba(248,81,73,.4); }
234
-
251
+ .operation-drawer { position:fixed; right:24px; bottom:24px; z-index:60; width:min(470px,calc(100vw - 48px)); display:flex; align-items:center; gap:13px; padding:14px 16px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow); }
252
+ .operation-copy { min-width:0; flex:1; }
253
+ .operation-drawer p { margin:3px 0 7px; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
254
+ .spinner { width:22px; height:22px; border:3px solid var(--tapp-panel-3); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; flex:0 0 auto; }
255
+ .operation-drawer .progress-track { height:3px; border-radius:999px; background:var(--tapp-panel-3); overflow:hidden; }
256
+ .operation-drawer .progress-track span { display:block; width:0; height:100%; background:var(--accent); transition:width .25s ease; }
257
+ @keyframes spin { to { transform:rotate(360deg); } }
258
+ .toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:70; max-width:650px; padding:12px 16px; border-radius:10px; color:var(--ink); background:var(--tapp-panel-3); border:1px solid var(--line); box-shadow:var(--shadow); font-size:12px; }
259
+ .toast.error { background:#5a1f1f; border-color:rgba(248,81,73,.4); }
235
260
  @media (max-width:1180px) {
236
- .evidence-section { grid-template-columns:1fr; } .evidence-section .vrule { display:none; } .chat-panel { min-height:420px; max-height:none; }
261
+ .evidence-section { grid-template-columns:1fr; }
262
+ .evidence-section .vrule { display:none; }
263
+ .chat-panel { min-height:420px; max-height:none; }
237
264
  }
238
265
  @media (max-width:1040px) {
239
- .product-shell { grid-template-columns:190px minmax(0,1fr); } .sidebar { padding-left:9px; padding-right:9px; } .workspace { padding-left:20px; padding-right:20px; }
240
- .journey { grid-template-columns:repeat(3,1fr); } .view-heading { grid-template-columns:1fr 280px; } .application-grid { grid-template-columns:1fr 1fr; }
241
- .split-view,.findings-layout { grid-template-columns:1fr; } .list-panel { max-height:350px; overflow:auto; } .source-choices { grid-template-columns:1fr; }
266
+ .product-shell { grid-template-columns:190px minmax(0,1fr); }
267
+ .sidebar { padding-left:9px; padding-right:9px; }
268
+ .workspace { padding-left:20px; padding-right:20px; }
269
+ .view-heading { grid-template-columns:1fr 280px; }
270
+ .split-view { grid-template-columns:1fr; }
271
+ .list-panel { max-height:350px; overflow:auto; }
272
+ .source-choices { grid-template-columns:1fr; }
242
273
  }
243
274
  @media (max-width:760px) {
244
- .onboarding-topbar { padding:0 12px; } .brand small { display:none; }
245
- .source-onboarding { width:calc(100% - 28px); padding-top:32px; } .welcome-copy h1 { font-size:30px; } .privacy-note { flex-direction:column; text-align:center; }
246
- .product-shell { display:block; } .sidebar { position:static; width:100%; height:auto; padding:10px; } .sidebar-project,.sidebar-footer { display:none; } .primary-nav { margin:8px 0 0; display:grid; grid-template-columns:repeat(3,1fr); } .primary-nav button { grid-template-columns:16px 1fr; } .primary-nav i { display:none; }
247
- .workspace { padding:18px 14px 60px; } .view-heading,.view-heading.simple { display:flex; flex-direction:column; align-items:stretch; } .view-heading .decision-card { min-height:auto; } .journey { grid-template-columns:1fr 1fr; }
248
- .device-frame { width:100%; height:auto; aspect-ratio:340/700; }
249
- .section { padding:18px 16px; } .section-heading,.runtime-row,.overview-grid,.map-layout,.settings-grid,.live-layout { grid-template-columns:1fr; } .section-heading { flex-direction:column; } .run-cta { min-width:0; } .pipeline,.evidence-grid,.application-grid { grid-template-columns:1fr; } .evidence-card.wide { grid-column:auto; } .plan-item { grid-template-columns:1fr; } .artifact { flex-direction:column; gap:5px; } .transition-list>div { grid-template-columns:1fr; }
275
+ .onboarding-topbar { padding:0 12px; }
276
+ .brand small { display:none; }
277
+ .source-onboarding { width:calc(100% - 28px); padding-top:32px; }
278
+ .welcome-copy h1 { font-size:30px; }
279
+ .privacy-note { flex-direction:column; text-align:center; }
280
+ .product-shell { display:block; }
281
+ .sidebar { position:static; width:100%; height:auto; padding:10px; }
282
+ .sidebar-project,.sidebar-footer { display:none; }
283
+ .primary-nav { margin:8px 0 0; display:grid; grid-template-columns:repeat(3,1fr); }
284
+ .primary-nav button { grid-template-columns:16px 1fr; }
285
+ .primary-nav i { display:none; }
286
+ .workspace { padding:18px 14px 60px; }
287
+ .view-heading,.view-heading.simple { display:flex; flex-direction:column; align-items:stretch; }
288
+ .view-heading .decision-card { min-height:auto; }
289
+ .device-frame { width:100%; height:auto; aspect-ratio:340/700; }
290
+ .section { padding:18px 16px; }
291
+ .section-heading,.runtime-row,.overview-grid,.live-layout { grid-template-columns:1fr; }
292
+ .section-heading { flex-direction:column; }
293
+ .run-cta { min-width:0; }
250
294
  }
295
+
296
+ /* Run viewer additions */
297
+ .source-card .command { margin:10px 0 6px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius); background:var(--control); overflow-x:auto; }
298
+ .source-card .command code { font:12px/1.5 var(--tapp-font-mono); color:var(--ink); white-space:nowrap; }
299
+ .audit-form { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; margin-top:8px; }
300
+ .audit-form .field { flex:1 1 260px; margin:0; }
301
+ .audit-form input { width:100%; }
302
+ .audit-panel { margin-bottom:16px; }