@floless/app 0.150.0 → 0.152.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/app.css CHANGED
@@ -980,27 +980,9 @@
980
980
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
981
981
  margin-top: 14px; padding: 11px 14px;
982
982
  background: var(--accent-soft); border: 1px solid var(--accent-dim); border-radius: 6px;
983
- /* Lets .onb-tour-manual take its own row when the clipboard was refused. It also lets the hint and
984
- button stack once the row is too narrow for both, which the old nowrap squeezed instead. */
983
+ /* Lets the hint and button stack once the row is too narrow for both. */
985
984
  flex-wrap: wrap;
986
985
  }
987
- /* The clipboard-refused fallback: the prompt itself, on screen and selectable, because the message
988
- tells the user to copy it manually and nothing else on either surface holds it. Themed like the
989
- app's other read-only technical values (mono on surface-2) — never a native white control, and
990
- with its own scrollbar themed because a textarea is a scroll container too. */
991
- .onb-tour-manual {
992
- display: block; width: 100%; flex-basis: 100%; margin-top: 10px; box-sizing: border-box;
993
- background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 4px;
994
- color: var(--text); font-family: var(--mono); font-size: 11px; line-height: 1.5; padding: 7px 9px;
995
- /* resize:vertical, not none: two rows fits the prompt with very little margin, and a font
996
- fallback or a user minimum-font-size pushes it to a third — which would otherwise scroll behind
997
- a scrollbar with no way to open the box up. */
998
- resize: vertical; scrollbar-width: thin; scrollbar-color: var(--text-dim) transparent;
999
- }
1000
- .onb-tour-manual::-webkit-scrollbar { width: 9px; }
1001
- .onb-tour-manual::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 9px; }
1002
- .onb-tour-manual::-webkit-scrollbar-track { background: transparent; }
1003
- .onb-tour-manual:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
1004
986
  .onb-tour-hint { flex: 1; font-size: 11px; color: var(--text-dim); font-style: italic; line-height: 1.45; }
1005
987
  .onb-tour-btn {
1006
988
  flex: none; background: var(--accent); color: #ffffff; border: 1px solid var(--accent);
@@ -1744,6 +1726,47 @@
1744
1726
  body:has(#graft-modal.show) #instructor .ix-hint,
1745
1727
  body:has(#graft-modal.show) #instructor .ix-ask-split { display: none; }
1746
1728
  #graft-instructor-note { display: none; }
1729
+ /* Directory decisions keep their conditional F1 guidance visible above this backdrop. */
1730
+ body:has(.app.has-instructor) #workspace-root-modal.show {
1731
+ box-sizing: border-box;
1732
+ padding-bottom: 128px; /* 84px max strip + 44px footer */
1733
+ }
1734
+ body:has(.app.has-instructor) #workspace-root-modal.show .modal.workspace-root-modal {
1735
+ max-height: min(86vh, calc(100dvh - 152px)); /* 128px reserve + 24px top air, same derivation as Graft's 102 */
1736
+ overflow-y: auto; /* themed by the global * scrollbar rule (thumb --border-strong on --surface reads in both themes) */
1737
+ }
1738
+ body:has(#workspace-root-modal.show) .app.has-instructor #instructor {
1739
+ position: relative;
1740
+ z-index: 101; /* above .modal-backdrop (100), below #form-modal/#confirm-modal/#command-sheet (110) and toasts (200) */
1741
+ pointer-events: auto;
1742
+ height: auto; /* also overrides .instructor.collapsed's 22px; explainCurrent() expands anyway */
1743
+ min-height: 34px;
1744
+ max-height: 84px;
1745
+ align-items: flex-start;
1746
+ padding: 8px 14px;
1747
+ line-height: 1.45;
1748
+ white-space: normal;
1749
+ overflow-y: auto;
1750
+ /* Explicit, NOT the global rule: in dark Block 2 --border-strong == --surface-2 (both hsl 217.2 32.6% 17.5%), so the global thumb is invisible on the band. Same values as #graft-instructor-note. */
1751
+ scrollbar-width: thin;
1752
+ scrollbar-color: var(--text-dim) transparent;
1753
+ }
1754
+ body:has(#workspace-root-modal.show) #instructor::-webkit-scrollbar { width: 7px; }
1755
+ body:has(#workspace-root-modal.show) #instructor::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 7px; }
1756
+ body:has(#workspace-root-modal.show) #instructor::-webkit-scrollbar-track { background: transparent; }
1757
+ body:has(#workspace-root-modal.show) #instructor .ix-parts {
1758
+ display: block; /* the segments flow as one wrapped sentence instead of a clipped flex row of flex:none spans */
1759
+ flex: 1 1 auto;
1760
+ min-width: 0;
1761
+ overflow: visible;
1762
+ overflow-wrap: anywhere; /* long directory paths in {instance} */
1763
+ }
1764
+ body:has(#workspace-root-modal.show) #instructor .ix-sep { margin: 0 6px; } /* replaces the flex gap lost with display:block */
1765
+ body:has(#workspace-root-modal.show) #instructor button,
1766
+ body:has(#workspace-root-modal.show) #instructor .ix-hint,
1767
+ body:has(#workspace-root-modal.show) #instructor .ix-ask-split { display: none; } /* keeps focus in the dialog: toggle, Ask, ask-caret and hint link all gone */
1768
+ #workspace-root-instructor-note { display: none; } /* desktop: the band carries it */
1769
+
1747
1770
  /* The shared form and confirmation modals are the ones OTHER modals open on top of themselves —
1748
1771
  run options and desktop-claim release over Requests, the folder over Integrations — so they
1749
1772
  cannot share their z-index. Every backdrop
@@ -1813,6 +1836,30 @@
1813
1836
  border-radius:5px; background:color-mix(in srgb, var(--err) 8%, transparent); color:var(--err);
1814
1837
  font-size:11px; line-height:1.45; }
1815
1838
  .workspace-root-error[hidden] { display:none; }
1839
+ .workspace-root-management { margin:12px 0; border-top:1px solid var(--border); padding-top:12px; }
1840
+ .workspace-root-management h3, .workspace-root-management h4 { margin:0 0 9px; font-size:12px; color:var(--text); }
1841
+ .workspace-root-management-list, .workspace-root-management-destinations { max-height:180px; overflow:auto;
1842
+ scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
1843
+ .workspace-root-management-list::-webkit-scrollbar, .workspace-root-management-destinations::-webkit-scrollbar { width:6px; }
1844
+ .workspace-root-management-list::-webkit-scrollbar-thumb, .workspace-root-management-destinations::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:3px; }
1845
+ .workspace-root-management-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); }
1846
+ .workspace-root-management-row > div { min-width:0; }
1847
+ .workspace-root-management code { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:10.5px var(--mono); color:var(--text); }
1848
+ .workspace-root-management code.workspace-root-management-target,
1849
+ .workspace-root-management-choice code,
1850
+ .workspace-root-management-reviewing .workspace-root-management-note code {
1851
+ white-space:normal; overflow-wrap:anywhere; overflow:visible; text-overflow:clip; line-height:1.5;
1852
+ }
1853
+ .workspace-root-management-state, .workspace-root-management-note, .workspace-root-management-message { color:var(--text-muted); font-size:11px; line-height:1.45; }
1854
+ .workspace-root-management-state.is-unavailable { color:var(--warn); }
1855
+ .workspace-root-management-note { margin:9px 0; }
1856
+ .workspace-root-management-message { padding:8px 0; }
1857
+ .workspace-root-management-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }
1858
+ .workspace-root-management-destinations { display:flex; flex-direction:column; align-items:stretch; gap:7px; }
1859
+ .workspace-root-management-choice { text-align:left; }
1860
+ .workspace-root-management-choice[aria-pressed="true"] { border-color:var(--accent); background:var(--surface-2); }
1861
+ .workspace-root-management-reviewing #workspace-root-change,
1862
+ .workspace-root-management-reviewing #workspace-root-use { display:none !important; }
1816
1863
  .workspace-root-modal[aria-busy="true"] { cursor:wait; }
1817
1864
  body.workspace-root-switching .mode-switch,
1818
1865
  body.workspace-root-switching #wf-trigger,
@@ -2151,6 +2198,8 @@
2151
2198
  .lib-update-error { margin: 4px 0 0; padding: 7px 10px; border-left: 2px solid var(--err);
2152
2199
  background: var(--surface-2); color: var(--text-muted); font-size: 11px; line-height: 1.45; }
2153
2200
  .lib-update-error strong { color: var(--err); font-weight: 600; }
2201
+ /* C12 (#1337): a damaged tool's explanation reads in --text (muted on --surface-2 is under 4.5:1 in light). */
2202
+ .lib-card-unreadable .lib-update-error { color: var(--text); }
2154
2203
 
2155
2204
  /* Two-tab Agent Library: the tab bar sits between title and panes; each pane is a
2156
2205
  flex column so its inner .lib-list keeps scrolling within the modal's max-height.
@@ -2231,6 +2280,12 @@
2231
2280
  margin-bottom: 10px;
2232
2281
  line-height: 1.5;
2233
2282
  }
2283
+ .integrations-hint.ri-send-error {
2284
+ color: var(--text);
2285
+ border-color: color-mix(in srgb, var(--err) 45%, var(--border));
2286
+ font-size: 12px;
2287
+ }
2288
+ .integrations-hint[hidden] { display: none; }
2234
2289
  .integrations-hint code {
2235
2290
  font-family: var(--mono);
2236
2291
  font-size: 10px;
@@ -2496,6 +2551,13 @@
2496
2551
  .req-scope .req-scope-n { color: var(--text-muted); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
2497
2552
  .req-scope button.active .req-scope-n { color: var(--accent-dim); }
2498
2553
  .req-search { margin-bottom: 10px; flex: 0 0 auto; }
2554
+ /* #2060: Queued | Done. The shared .tabs language, uppercased, so it reads as the window's top-level choice above
2555
+ the scope tabs (which carry real names and stay mixed case). Transparent so it sits on the modal, not a panel. */
2556
+ .req-view { margin: 2px 0 10px; background: transparent; flex: 0 0 auto; }
2557
+ .req-done-item .req-done-run { margin-top: 5px; font-size: 11px; }
2558
+ .req-done-skipped { font-size: 11px; padding: 2px 2px 0; }
2559
+ .req-done-note { margin-right: auto; align-self: center; font-size: 11px; color: var(--text-dim); }
2560
+ .req-done-note[hidden] { display: none; }
2499
2561
  .req-guidance { margin: -2px 0 10px; padding: 9px 10px; border-left: 2px solid var(--accent);
2500
2562
  background: var(--accent-soft); color: var(--text); font-size: 11.5px; line-height: 1.5; }
2501
2563
  .req-guidance[hidden] { display: none; }
@@ -2758,6 +2820,15 @@
2758
2820
  .req-run-badge-err { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
2759
2821
  .req-run-badge-muted { background: var(--surface-3); color: var(--text-dim); }
2760
2822
  .req-run-note { margin: 0; color: var(--text-muted); line-height: 1.45; }
2823
+ /* #2061: a request waiting for other work to finish changing its project. Same block as a run's status; its one
2824
+ action is a quiet link-button to the work it waits for. */
2825
+ .req-wait-actions { display: flex; flex-wrap: wrap; gap: 8px; }
2826
+ .req-wait-open { appearance: none; padding: 0; border: 0; background: none; cursor: pointer; font: inherit;
2827
+ font-size: 11px; color: var(--accent-bright); text-decoration: underline; text-underline-offset: 2px; }
2828
+ .req-wait-open:hover { color: var(--text); }
2829
+ .req-wait-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
2830
+ /* The Start-in-AI-Chat ask (#2061): "Stop it" reads as the cautious choice, in the theme's warn colour. */
2831
+ .req-busy-dialog .modal-actions .req-busy-stop { color: var(--warn); }
2761
2832
  .req-run-answer { color: var(--text); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
2762
2833
  .req-run-where { font-family: var(--mono); font-size: 10px; color: var(--text-dim);
2763
2834
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -3043,7 +3114,12 @@
3043
3114
 
3044
3115
  .graft-hint { color: var(--text-dim); font-size: 11px; margin-top: 4px; }
3045
3116
  .graft-row { display: flex; gap: 8px; align-items: center; }
3046
- .graft-row input[type="text"] { flex: 1 1 auto; }
3117
+ .graft-row input[type="text"] { flex: 1 1 auto; min-width: 0; }
3118
+ /* #2055: Choose folder… is the dialog's plain secondary button, kept on one line beside the field. */
3119
+ .graft-row .graft-choose { flex: 0 0 auto; white-space: nowrap; }
3120
+ .graft-row .graft-choose:disabled { opacity: 0.5; cursor: default; }
3121
+ .graft-origin { color: var(--text-muted); margin: 0 0 6px; line-height: 1.4; }
3122
+ .graft-origin[hidden] { display: none; }
3047
3123
  .graft-matched { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; margin-top: 8px; }
3048
3124
  .graft-matched-h { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
3049
3125
  .graft-matched-f { font-family: var(--mono); font-size: 11px; color: var(--text-dim); line-height: 1.6; }
@@ -3065,9 +3141,12 @@
3065
3141
  .graft-identity { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 6px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 12px; margin: 0; }
3066
3142
  .graft-identity dt { color: var(--text-muted); text-transform: uppercase; font-size: 10px; letter-spacing: 0.04em; align-self: center; margin: 0; }
3067
3143
  .graft-identity dd { color: var(--text); font-family: var(--mono); margin: 0; }
3144
+ /* #2116: a sentence explaining why there is no check reads as prose, not as an identifier. */
3145
+ .graft-identity dd.graft-identity-prose { font-family: inherit; line-height: 1.45; }
3068
3146
 
3069
3147
  .graft-success { text-align: center; padding: 26px 8px; }
3070
3148
  .graft-success .gs-icon { font-size: 30px; color: var(--ok); }
3149
+ .graft-success.is-held .gs-icon { color: var(--warn); }
3071
3150
  .graft-success .gs-msg { margin-top: 8px; font-size: 13px; color: var(--text); }
3072
3151
  .graft-read-review { display: flex; flex-direction: column; gap: 9px; padding: 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2); font-size: 12px; color: var(--text); }
3073
3152
  .graft-read-review p { margin: 0; color: var(--text-muted); line-height: 1.45; }
@@ -3256,13 +3335,48 @@
3256
3335
  .tool-updates-result-name { color: var(--text); font-size: 12px; font-weight: 600; }
3257
3336
  .tool-updates-result-sentence { color: var(--text); font-size: 11.5px; line-height: 1.4; }
3258
3337
  .tool-updates-result-label { color: var(--text-dim); font-size: 10.5px; line-height: 1.4; overflow-wrap: anywhere; }
3259
- .tool-updates-live { min-height: 0; margin-top: 10px; color: var(--text); font-size: 12px; line-height: 1.45; }
3338
+ /* flex:none on every row under the scrolling body: they are flex items of a column capped at 86vh, and a row with
3339
+ min-height:0 and the default shrink is squeezed in proportion to the body, so its text ran onto the next row.
3340
+ The body is the one thing that scrolls. */
3341
+ .tool-updates-live { flex: none; margin-top: 12px; color: var(--text); font-size: 12px; line-height: 1.45; }
3260
3342
  .tool-updates-live:empty { margin-top: 0; }
3261
- #tool-updates-modal[aria-busy="true"] .tool-updates-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); animation: aware-update-pulse 1.2s ease-in-out infinite; }
3343
+ #tool-updates-modal[aria-busy="true"] .tool-updates-live:not(:empty)::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); animation: aware-update-pulse 1.2s ease-in-out infinite; }
3262
3344
  @media (prefers-reduced-motion: reduce) {
3263
- #tool-updates-modal[aria-busy="true"] .tool-updates-live::before { animation: none; }
3264
- }
3265
- .tool-updates-foot { flex: none; margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
3345
+ #tool-updates-modal[aria-busy="true"] .tool-updates-live:not(:empty)::before { animation: none; }
3346
+ }
3347
+ /* A running check: the server's own steps, the active one marked, how long it has been on its current item. Same
3348
+ card recipe as .tool-updates-summary. No bar, percentage or estimate: the server knows its steps and "n of m",
3349
+ not a total. Detail text and the clock use --text-muted rather than --text-dim, which is too faint for 11px text on
3350
+ --surface-2 (about 2.7:1 light, 2.8:1 dark with the current tokens; --text-muted is 4.3:1 light, 5.7:1 dark). The
3351
+ screen-reader line is the announcer below, written when the active step or its detail changes. */
3352
+ .tool-updates-progress { flex: none; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); }
3353
+ .tool-updates-progress-head { margin-bottom: 8px; color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.45; }
3354
+ .tool-updates-progress-lost { margin: -4px 0 8px; color: var(--warn); font-size: 11px; line-height: 1.4; }
3355
+ .tool-updates-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
3356
+ .tool-updates-step { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 1px; align-items: baseline; font-size: 12px; line-height: 17px; }
3357
+ .tool-updates-step-mark { grid-column: 1; grid-row: 1; align-self: start; height: 17px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1; }
3358
+ .tool-updates-step-label { grid-column: 2; grid-row: 1; color: var(--text); overflow-wrap: anywhere; }
3359
+ .tool-updates-step-clock { grid-column: 3; grid-row: 1; min-width: 7ch; text-align: right; color: var(--text-muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: default; }
3360
+ .tool-updates-step-detail { grid-column: 2 / -1; grid-row: 2; color: var(--text-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
3361
+ .tool-updates-step[data-state="waiting"] .tool-updates-step-label { color: var(--text-muted); }
3362
+ .tool-updates-step[data-state="active"] .tool-updates-step-label { font-weight: 600; }
3363
+ .tool-updates-step[data-state="problem"] .tool-updates-step-detail { color: var(--text); }
3364
+ .tool-updates-step[data-state="done"] .tool-updates-step-mark { color: var(--ok); }
3365
+ .tool-updates-step[data-state="problem"] .tool-updates-step-mark { color: var(--warn); }
3366
+ .tool-updates-step[data-state="active"] .tool-updates-step-mark::before,
3367
+ .tool-updates-step[data-state="waiting"] .tool-updates-step-mark::before { content: ""; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; }
3368
+ .tool-updates-step[data-state="active"] .tool-updates-step-mark::before { background: var(--accent); animation: aware-update-pulse 1.2s ease-in-out infinite; }
3369
+ .tool-updates-step[data-state="waiting"] .tool-updates-step-mark::before { border: 1.5px solid var(--text-dim); }
3370
+ @media (prefers-reduced-motion: reduce) {
3371
+ .tool-updates-step[data-state="active"] .tool-updates-step-mark::before { animation: none; }
3372
+ }
3373
+ /* Visually hidden, still announced: the step the check is on, written by tool-updates.js only when it changes. */
3374
+ .tool-updates-announce { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
3375
+ /* While a check runs the footer's "last checked", "last downloads" and cleanup lines describe the PREVIOUS check and
3376
+ compete with the live steps; they come back, fresh, when it ends. The approve note stays: the offers it explains
3377
+ are still on screen, and in a background check Approve is still enabled. */
3378
+ #tool-updates-modal[data-checking] .tool-updates-downloads { display: none; }
3379
+ .tool-updates-foot { flex: none; margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
3266
3380
  .tool-updates-foot:empty { margin-top: 0; }
3267
3381
  .tool-updates-downloads { color: var(--text-dim); font-size: 10.5px; line-height: 1.4; }
3268
3382
  .tool-updates-note { color: var(--text-muted); font-size: 11px; line-height: 1.5; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--border); }
@@ -3341,6 +3455,21 @@
3341
3455
  .rtn-time-sep { color: var(--text-dim); font-family: var(--mono); padding: 8px 0; }
3342
3456
  #rtn-cron { font-family: var(--mono); letter-spacing: 0.02em; }
3343
3457
  .rtn-cron-hint { margin-top: 7px; font-size: 10.5px; color: var(--text-dim); line-height: 1.55; }
3458
+ /* #2035: an inline text action in a routine hint (e.g. "Create one on the Agents page"). */
3459
+ .rtn-agent-ai { margin-top: 8px; }
3460
+ .rtn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
3461
+ .rtn-link:hover { color: var(--accent-bright); }
3462
+ .rtn-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
3463
+ /* #2062: routines run only while FloLess is running — said in the Routines list and the editor. */
3464
+ .rtn-local-note { margin: -4px 0 12px; font-size: 11.5px; color: var(--text-dim); line-height: 1.55; }
3465
+ .rtn-local-hint { margin: 2px 0 12px; }
3466
+ /* The ≡ menu's Start on startup row, pointed at from Routines: a brief accent ring, then nothing. */
3467
+ .menu-startup.is-pointed { animation: menu-startup-point 1.6s ease-out 1; border-radius: 6px; }
3468
+ @keyframes menu-startup-point {
3469
+ 0%, 60% { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft, transparent); }
3470
+ 100% { box-shadow: inset 0 0 0 1.5px transparent; background: transparent; }
3471
+ }
3472
+ @media (prefers-reduced-motion: reduce) { .menu-startup.is-pointed { animation: none; box-shadow: inset 0 0 0 1.5px var(--accent); } }
3344
3473
  .rtn-cron-hint code { font-family: var(--mono); color: var(--text-muted); background: var(--surface-2); padding: 0 3px; border-radius: 3px; }
3345
3474
  .rtn-enabled-field { margin-top: 6px; margin-bottom: 0; }
3346
3475
  #rtn-inputs .modal-field:last-child { margin-bottom: 0; }
@@ -4654,10 +4783,11 @@ body {
4654
4783
  .report-nav *::-webkit-scrollbar { width: 8px; height: 8px; }
4655
4784
  .report-nav *::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
4656
4785
  .report-nav *::-webkit-scrollbar-track { background: var(--surface-2); }
4657
- .report-stage { position: relative; flex: 1; background: #0f172a; }
4786
+ /* #2144: the empty stage and the frame behind a report follow the theme (the report's own page paints itself). */
4787
+ .report-stage { position: relative; flex: 1; background: var(--bg); }
4658
4788
  /* Only the SHOWN frame fills the stage — `:not([hidden])` so `display:block` never defeats the
4659
4789
  `hidden` attribute on the inactive frame (else it keeps its height and pushes the other off-screen). */
4660
- #report-frame:not([hidden]), #report-frame-3d:not([hidden]) { width: 100%; height: 100%; border: 0; display: block; background: #0f172a; }
4790
+ #report-frame:not([hidden]), #report-frame-3d:not([hidden]) { width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
4661
4791
 
4662
4792
  /* Live "On trigger" report: a pulsing pip in the viewer subtitle + a brief edge
4663
4793
  flash on the stage when a trigger routine (e.g. tekla-selection-report) pushes a
@@ -4681,7 +4811,7 @@ body {
4681
4811
  }
4682
4812
  .report-overlay {
4683
4813
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
4684
- flex-direction: column; gap: 12px; background: rgba(7, 10, 15, 0.82);
4814
+ flex-direction: column; gap: 12px; background: color-mix(in srgb, var(--bg) 82%, transparent);
4685
4815
  color: var(--text-muted); font-size: 13px;
4686
4816
  }
4687
4817
  /* `display:flex` above overrides the UA `[hidden]{display:none}`, so without this
@@ -4693,6 +4823,16 @@ body {
4693
4823
  border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite;
4694
4824
  }
4695
4825
  @keyframes spin { to { transform: rotate(360deg); } }
4826
+ /* Flo (#2079): web/flo-avatar.js draws it from these, read off the canvas, so Flo is only ever the theme's own
4827
+ tokens. The ring is see-through: whatever the surface is shows inside it. */
4828
+ .flo-avatar {
4829
+ display: block; flex: none;
4830
+ --flo-line: var(--accent); --flo-fill: transparent;
4831
+ --flo-hat: var(--text); --flo-hat-line: var(--text); --flo-pulse: var(--text);
4832
+ }
4833
+ [data-theme="light"] .flo-avatar { --flo-hat: var(--surface); --flo-hat-line: var(--accent); --flo-pulse: var(--accent-dim); }
4834
+ .run-fail-card .cred-fail-status { gap: 10px; }
4835
+ .cred-fail-icon.run-fail-flo { display: inline-flex; }
4696
4836
  /* Stop the in-flight run — the escape hatch when a host hangs. Reads as a quiet
4697
4837
  destructive action: warn-tinted outline that fills on hover, never a primary. */
4698
4838
  .report-overlay .overlay-stop {
@@ -5617,16 +5757,20 @@ body {
5617
5757
  .app.has-instructor.has-whats-new { grid-template-rows: auto 1fr auto auto 44px; }
5618
5758
  .app.has-whats-new { grid-template-rows: auto 1fr auto 44px; }
5619
5759
  /* Keep mobile F1 guidance inside the dialog's focus and scroll area. */
5620
- body:has(#graft-modal.show) .app.has-instructor #instructor {
5760
+ body:has(#graft-modal.show) .app.has-instructor #instructor,
5761
+ body:has(#workspace-root-modal.show) .app.has-instructor #instructor {
5621
5762
  z-index: auto;
5622
5763
  }
5623
- body:has(.app.has-instructor) #graft-modal.show {
5764
+ body:has(.app.has-instructor) #graft-modal.show,
5765
+ body:has(.app.has-instructor) #workspace-root-modal.show {
5624
5766
  padding-bottom: 0;
5625
5767
  }
5626
- body:has(.app.has-instructor) #graft-modal.show .modal.graft {
5768
+ body:has(.app.has-instructor) #graft-modal.show .modal.graft,
5769
+ body:has(.app.has-instructor) #workspace-root-modal.show .modal.workspace-root-modal {
5627
5770
  max-height: calc(100dvh - 32px);
5628
5771
  }
5629
- #graft-instructor-note:not([hidden]) {
5772
+ #graft-instructor-note:not([hidden]),
5773
+ #workspace-root-instructor-note:not([hidden]) {
5630
5774
  display: block;
5631
5775
  flex: none;
5632
5776
  min-height: 0;
@@ -5644,12 +5788,18 @@ body {
5644
5788
  scrollbar-width: thin;
5645
5789
  scrollbar-color: var(--text-dim) transparent;
5646
5790
  }
5647
- #graft-instructor-note::-webkit-scrollbar { width: 7px; }
5648
- #graft-instructor-note::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 7px; }
5649
- #graft-instructor-note::-webkit-scrollbar-track { background: transparent; }
5650
- #graft-instructor-note:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
5651
- #graft-instructor-note .ix-chip { display: inline-block; margin-bottom: 4px; }
5652
- #graft-instructor-note .graft-instructor-parts { overflow-wrap: anywhere; }
5791
+ #graft-instructor-note::-webkit-scrollbar,
5792
+ #workspace-root-instructor-note::-webkit-scrollbar { width: 7px; }
5793
+ #graft-instructor-note::-webkit-scrollbar-thumb,
5794
+ #workspace-root-instructor-note::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 7px; }
5795
+ #graft-instructor-note::-webkit-scrollbar-track,
5796
+ #workspace-root-instructor-note::-webkit-scrollbar-track { background: transparent; }
5797
+ #graft-instructor-note:focus-visible,
5798
+ #workspace-root-instructor-note:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
5799
+ #graft-instructor-note .ix-chip,
5800
+ #workspace-root-instructor-note .ix-chip { display: inline-block; margin-bottom: 4px; }
5801
+ #graft-instructor-note .graft-instructor-parts,
5802
+ #workspace-root-instructor-note .workspace-root-instructor-parts { overflow-wrap: anywhere; }
5653
5803
  header { flex-wrap: wrap; gap: 8px; padding: 8px 14px; }
5654
5804
  select, .wf-combo { min-width: 0; }
5655
5805
  }
@@ -5756,6 +5906,9 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5756
5906
  .wf-card .wf-card-nodes { font-family:var(--mono); font-size:10px; color:var(--text-dim); }
5757
5907
  .wf-card:focus-visible, .wf-create:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
5758
5908
  .wf-group-label { margin:16px 0 8px; color:var(--text-dim); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
5909
+ .ws-card.wf-card-archived { cursor:default; }
5910
+ .wf-card-archived .wf-draft-actions { justify-content:flex-start; }
5911
+ .wf-card-archived button:disabled { opacity:.6; cursor:progress; }
5759
5912
 
5760
5913
  /* Local discovery shares the approved dark shell palette and dialog spacing. */
5761
5914
  .modal.local-discovery { width: 700px; max-height: min(86vh, 760px); display:flex; flex-direction:column; }
@@ -5905,6 +6058,21 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5905
6058
  .ws-create-grid { display:grid; gap:14px; grid-template-columns:var(--ws-landing-track);
5906
6059
  align-content:start; align-items:stretch; margin-bottom:14px; }
5907
6060
  .ws-grid { display:grid; gap:14px; grid-template-columns:var(--ws-landing-track); align-content:start; }
6061
+ .ws-project-section { margin-top:22px; }
6062
+ .ws-project-heading { display:flex; align-items:baseline; gap:9px; margin:0 0 10px;
6063
+ font-size:13px; font-weight:600; color:var(--text); }
6064
+ .ws-grid[hidden] { display:none; }
6065
+ .ws-project-group-toggle { appearance:none; width:100%; display:flex; flex-wrap:wrap; align-items:center;
6066
+ gap:9px; min-height:40px; padding:6px 0; border:0; background:transparent; color:var(--text);
6067
+ font:inherit; text-align:left; cursor:pointer; }
6068
+ .ws-project-group-toggle:hover { color:var(--accent-bright); }
6069
+ .ws-project-group-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
6070
+ .ws-project-group-label { min-width:0; overflow-wrap:anywhere; }
6071
+ .ws-project-group-toggle .ws-project-count { flex-shrink:0; white-space:nowrap; }
6072
+ .ws-project-chevron { flex-shrink:0; font-size:18px; line-height:1; transform:rotate(90deg); }
6073
+ .ws-project-group-toggle[aria-expanded="false"] .ws-project-chevron { transform:none; }
6074
+ .ws-project-count { font-family:var(--mono); font-size:11px; font-weight:400;
6075
+ letter-spacing:0; color:var(--text-muted); }
5908
6076
  .ws-card { background:var(--surface); border:1px solid var(--border); border-radius:8px; overflow:hidden;
5909
6077
  cursor:pointer; transition:all .15s; text-align:left; padding:0; display:flex; flex-direction:column; }
5910
6078
  .ws-card:hover { border-color:var(--accent-dim); transform:translateY(-1px); }
@@ -5988,6 +6156,13 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5988
6156
  plan once a user-authored workspace app appears), at which point the string stops being ours. */
5989
6157
  .ws-card .ws-meta { display:block; font-size:11px; color:var(--text-muted); margin-top:4px; }
5990
6158
  .ws-card .ws-meta:not(.ws-meta-app) { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
6159
+ /* Create-card instructions need two lines. Reclaim one 11px prose line from the decorative
6160
+ thumbnail so the create row and the cards below it keep their existing positions. */
6161
+ .ws-card.ws-card-create .ws-thumb { height:calc(88px - 16.5px); }
6162
+ .ws-card.ws-card-create .ws-body > div { min-width:0; }
6163
+ .ws-card.ws-card-create .ws-meta { display:-webkit-box; -webkit-box-orient:vertical;
6164
+ -webkit-line-clamp:2; white-space:normal; overflow-wrap:break-word; text-overflow:clip;
6165
+ line-height:1.5; min-height:3em; }
5991
6166
  .ws-card .ws-meta .t { font-family:var(--mono); font-size:10px; color:var(--text-dim); }
5992
6167
  /* The "type · workflow · time" line.
5993
6168
  *
@@ -6077,9 +6252,29 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6077
6252
  .ws-seed:hover { background:var(--accent-soft); border-color:var(--accent); }
6078
6253
  .ws-seed:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
6079
6254
  .ws-seed .ws-seed-icon { font-size:24px; color:var(--accent); line-height:1; }
6080
- /* Drop-a-drawing seed card: a click-to-pick + drag/drop target. .drag-over lights it up
6255
+ /* The descriptor's outline drawing (WORKSPACE_APPS `cardIcon`): the same outline style as .menu-icon svg
6256
+ (no fill, currentColor, round caps and joins), sized for the card. */
6257
+ .ws-seed .ws-seed-icon svg { display:block; width:28px; height:28px; fill:none; stroke:currentColor;
6258
+ stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
6259
+ /* Drop-a-file seed card: a click-to-pick + drag/drop target. .drag-over lights it up
6081
6260
  while a file hovers (same intent as the editor's .canvas-drop-target.active). */
6082
6261
  .ws-seed-drop.drag-over { background:var(--accent-soft); border-color:var(--accent); border-style:solid; }
6262
+ /* While files are dragged over the window (#ws-landing[data-file-drag]): every card that takes a file
6263
+ brightens its dashed border, and every card that takes none fades (it still answers a drop with a warning).
6264
+ The card under the pointer keeps the stronger solid .drag-over state above, and its icon lifts. */
6265
+ .ws-seed, .ws-seed .ws-seed-icon { transition:border-color var(--dur-fast) var(--ease),
6266
+ background-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
6267
+ #ws-landing[data-file-drag] .ws-seed-drop { border-color:var(--accent); }
6268
+ #ws-landing[data-file-drag] .ws-seed:not(.ws-seed-drop) { opacity:.55; }
6269
+ .ws-seed-drop.drag-over .ws-seed-icon { transform:translateY(-2px); }
6270
+ @media (prefers-reduced-motion: reduce) {
6271
+ .ws-seed, .ws-seed .ws-seed-icon { transition:none; }
6272
+ .ws-seed-drop.drag-over .ws-seed-icon { transform:none; }
6273
+ }
6274
+ /* "Click or drop …" — the always-visible cue that the card also takes a dropped file. --text-muted
6275
+ (AA at rest in both themes), not --text-dim, which falls short of AA in both: it is an instruction. */
6276
+ .ws-seed .ws-seed-hint { font-size:11px; font-weight:500; color:var(--text-muted); line-height:1.35;
6277
+ max-width:220px; text-wrap:balance; }
6083
6278
  .ws-seed .ws-seed-headline { font-size:12.5px; font-weight:600; color:var(--text); line-height:1.35; }
6084
6279
  /* overflow-wrap:anywhere so a setup remedy naming a long folder path (no break at "\") wraps inside the
6085
6280
  column instead of overflowing it; `anywhere`, unlike `break-word`, also shrinks the min-content width. */
@@ -6121,6 +6316,9 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6121
6316
  dim, because it is the answer to what was just typed; collapsed while empty. */
6122
6317
  .ws-empty-note.ws-search-empty { color:var(--text-muted); overflow-wrap:anywhere; }
6123
6318
  .ws-empty-note.ws-search-empty:empty { margin:0; }
6319
+ /* C12 (#1337): the unreadable-workflows notice sits between the create card and the workflow cards. */
6320
+ /* Body text in --text, not the banner's --text-muted: muted on --surface-2 is under 4.5:1 in the light theme. */
6321
+ .ws-empty-note.ws-load-error.wf-unreadable { margin:14px 0; color:var(--text); }
6124
6322
  .ws-search-empty button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
6125
6323
 
6126
6324
  /* open project */
@@ -7280,6 +7478,11 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
7280
7478
  .ag-link { background:none; border:none; color:var(--accent-bright); font:inherit; font-size:12px; cursor:pointer; padding:0;
7281
7479
  text-decoration:underline; text-underline-offset:2px; }
7282
7480
  .ag-link:hover { color:var(--accent); }
7481
+ /* #2061: the Run sheet's busy-project ask. "Stop it" is the quiet warn-coloured last choice, never the default. */
7482
+ .ag-run-busy-actions { display:inline-flex; flex-wrap:wrap; gap:10px; margin-left:4px; }
7483
+ .ag-link.ag-link-warn { color:var(--warn); }
7484
+ .ag-link.ag-link-warn:hover { color:var(--text); }
7485
+ .ag-link:disabled { opacity:.6; cursor:default; }
7283
7486
 
7284
7487
  .ag-section { padding:14px 0 6px; }
7285
7488
  .ag-label { display:block; font-size:12.5px; font-weight:600; color:var(--text); }
@@ -7341,6 +7544,16 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
7341
7544
  .ag-act.ag-quiet { background:transparent; color:var(--text-muted); }
7342
7545
  .ag-act.ag-quiet:hover { color:var(--text); }
7343
7546
  .ag-act[aria-pressed="true"] { border-color:var(--accent); color:var(--accent-bright); }
7547
+ /* #2035: "Questions for you" — the steps a routine-started run declined because nobody was watching. A notice, not an error. */
7548
+ .ag-questions { flex-basis:100%; margin-top:4px; border-left:2px solid color-mix(in srgb, var(--warn) 55%, var(--border-strong)); padding:2px 0 2px 10px; }
7549
+ .ag-questions > summary { font-size:12px; color:var(--text); cursor:pointer; user-select:none; list-style:none; border-radius:3px; }
7550
+ .ag-questions > summary::-webkit-details-marker { display:none; }
7551
+ .ag-questions > summary::before { content:'▸'; margin-right:6px; color:var(--text-dim); }
7552
+ .ag-questions[open] > summary::before { content:'▾'; }
7553
+ .ag-questions > summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
7554
+ .ag-question-list { list-style:none; margin:4px 0 6px; padding:0; display:flex; flex-direction:column; gap:5px; }
7555
+ .ag-question-list li { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; font-size:12px; line-height:1.45; color:var(--text-muted); }
7556
+ .ag-question-text { color:var(--text); overflow-wrap:anywhere; }
7344
7557
 
7345
7558
  /* Run confirm sheet */
7346
7559
  .modal.ag-run-sheet { width:520px; max-height:min(86vh, 720px); overflow-y:auto; }
@@ -7352,3 +7565,59 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
7352
7565
  .ag-run-skipped p + p { margin-top:4px; }
7353
7566
  .ag-run-field { display:flex; align-items:center; gap:10px; margin:12px 0 4px; }
7354
7567
  .ag-run-label { font-size:12px; color:var(--text-muted); min-width:24px; }
7568
+
7569
+ /* #2046 — the Guide's question (web/guide.js). Built on .modal; the body is the one scroll region and the buttons never
7570
+ scroll away. The preview has its own themed inner scroll. Existing tokens only, both themes. */
7571
+ #guide-agent-modal .guide-dialog { width: 580px; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; }
7572
+ /* #2140: Flo beside the title (the Guide introducing itself); the title keeps its own focus ring and wording. */
7573
+ #guide-agent-modal .guide-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
7574
+ #guide-agent-modal .guide-head .modal-title { margin-bottom: 0; }
7575
+ #guide-agent-modal .guide-flo { flex: none; display: inline-flex; }
7576
+ #guide-agent-modal .guide-flo:empty { display: none; }
7577
+ #guide-agent-modal .modal-title:focus { outline: none; }
7578
+ #guide-agent-modal .modal-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
7579
+ .guide-body, .guide-preview-scroll {
7580
+ min-height: 0; overflow-y: auto; padding-right: 2px;
7581
+ scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
7582
+ }
7583
+ .guide-body::-webkit-scrollbar, .guide-preview-scroll::-webkit-scrollbar { width: 7px; }
7584
+ .guide-body::-webkit-scrollbar-thumb, .guide-preview-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
7585
+ .guide-body::-webkit-scrollbar-track, .guide-preview-scroll::-webkit-scrollbar-track { background: transparent; }
7586
+ .guide-body { display: flex; flex-direction: column; gap: 12px; font-size: 12px; line-height: 1.5; color: var(--text); }
7587
+ .guide-heading { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--text); }
7588
+ .guide-copy { margin: 0; }
7589
+ .guide-block ul, .guide-preview-list { margin: 0; padding-left: 18px; }
7590
+ .guide-block li + li, .guide-preview-list li + li { margin-top: 2px; }
7591
+ .guide-callout { padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2); }
7592
+ .guide-switch { display: flex; align-items: flex-start; gap: 10px; }
7593
+ .guide-switch .rtn-toggle { margin-top: 2px; }
7594
+ .guide-switch-label { font-weight: 600; cursor: pointer; }
7595
+ .guide-switch-help { color: var(--text-muted); }
7596
+ .guide-provider-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
7597
+ .guide-provider-option { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
7598
+ .guide-preview { display: flex; flex-direction: column; gap: 6px; }
7599
+ .guide-preview-summary { margin: 0; color: var(--text-muted); }
7600
+ .guide-preview-loading { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
7601
+ .guide-preview-scroll { max-height: 40vh; margin-top: 6px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); }
7602
+ .guide-preview-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
7603
+ .guide-preview-section + .guide-preview-section { margin-top: 4px; }
7604
+ .guide-preview-disclosure > summary, .guide-preview-section > summary {
7605
+ cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; border-radius: 4px;
7606
+ }
7607
+ .guide-preview-disclosure > summary { color: var(--accent); }
7608
+ .guide-preview-disclosure > summary::-webkit-details-marker, .guide-preview-section > summary::-webkit-details-marker { display: none; }
7609
+ .guide-preview-disclosure > summary::before, .guide-preview-section > summary::before {
7610
+ content: "▸"; color: var(--text-dim); font-size: 10px; transition: transform 0.15s; display: inline-block;
7611
+ }
7612
+ .guide-preview-disclosure[open] > summary::before, .guide-preview-section[open] > summary::before { transform: rotate(90deg); }
7613
+ .guide-preview-disclosure > summary:focus-visible, .guide-preview-section > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
7614
+ .guide-preview-section > ul, .guide-preview-section > p { margin: 4px 0 4px 16px; overflow-wrap: anywhere; }
7615
+ .guide-preview-empty, .guide-preview-cut, .guide-preview-foot { color: var(--text-muted); }
7616
+ .guide-preview-foot { margin: 6px 0 0; }
7617
+ .guide-preview-problem { color: var(--text); }
7618
+ .guide-banner { margin: 0; padding: 8px 10px; border: 1px solid var(--accent); border-radius: 6px; background: var(--surface-2); }
7619
+ .guide-foot { margin: 8px 0 0; font-size: 11px; color: var(--text-muted); }
7620
+ .guide-foot:empty { display: none; }
7621
+ @media (prefers-reduced-motion: reduce) {
7622
+ .guide-preview-disclosure > summary::before, .guide-preview-section > summary::before { transition: none; }
7623
+ }