@floless/app 0.138.1 → 0.139.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/autostart.mjs +6 -2
- package/desktop-access-production-manifest.mjs +7 -0
- package/dist/floless-server.cjs +157133 -70500
- package/dist/schemas/model.continuation.v1.schema.json +19 -0
- package/dist/schemas/model.continuation.v2.schema.json +19 -0
- package/dist/schemas/model.query-response.v1.schema.json +95 -0
- package/dist/schemas/model.query-response.v2.schema.json +80 -0
- package/dist/schemas/model.query.v1.schema.json +87 -0
- package/dist/schemas/model.query.v2.schema.json +87 -0
- package/dist/schemas/model.snap-candidate.v1.schema.json +48 -0
- package/dist/schemas/model.snap-constraint.v1.schema.json +18 -0
- package/dist/schemas/model.snap-query.v1.schema.json +24 -0
- package/dist/schemas/model.snap-result.v1.schema.json +33 -0
- package/dist/schemas/model.snapshot.v1.schema.json +136 -0
- package/dist/schemas/revit.model.v1.schema.json +24 -0
- package/dist/schemas/steel.model.v2.schema.json +45 -6
- package/dist/skills/floless-app-approval/SKILL.md +19 -5
- package/dist/skills/floless-app-bridge/SKILL.md +19 -6
- package/dist/skills/floless-app-knowledge/SKILL.md +22 -1
- package/dist/skills/floless-app-new-workflow/SKILL.md +31 -27
- package/dist/skills/floless-app-new-workflow/references/build-and-verify.md +13 -12
- package/dist/skills/floless-app-onboarding/SKILL.md +3 -3
- package/dist/skills/floless-app-onboarding/references/floless-app-tour.md +16 -9
- package/dist/skills/floless-app-steel-model/SKILL.md +11 -2
- package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +95 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +146 -21
- package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +19 -0
- package/dist/skills/floless-app-tweak-contract/SKILL.md +42 -8
- package/dist/skills/floless-app-vectorize/SKILL.md +19 -6
- package/dist/skills/floless-app-workflows/SKILL.md +30 -3
- package/dist/skills/floless-app-workflows/references/workspace-data.md +77 -4
- package/dist/templates/floless-workspace-model-report.flo +77 -0
- package/dist/templates/revit-model.flo +111 -0
- package/dist/web/app.css +415 -177
- package/dist/web/app.js +302 -51
- package/dist/web/aware.js +1430 -1040
- package/dist/web/chat.css +692 -0
- package/dist/web/chat.js +2651 -0
- package/dist/web/commands-revit.js +42 -0
- package/dist/web/commands-shell.js +536 -70
- package/dist/web/commands-steel.js +344 -146
- package/dist/web/commands.js +1 -1
- package/dist/web/index.html +283 -77
- package/dist/web/instructor.js +217 -36
- package/dist/web/left-pane.js +636 -0
- package/dist/web/model-artifact-loader.js +75 -0
- package/dist/web/model-authoring-gestures.js +141 -0
- package/dist/web/model-cad-tools.js +20 -0
- package/dist/web/model-clip-gesture.js +148 -0
- package/dist/web/model-clip-list.js +156 -0
- package/dist/web/model-clip-session.js +274 -0
- package/dist/web/model-clip-three-overlay.js +295 -0
- package/dist/web/model-clip-three-preview.js +59 -0
- package/dist/web/model-editor-contract.js +519 -0
- package/dist/web/model-editor-revit-adapter.js +139 -0
- package/dist/web/model-editor-shell.js +271 -0
- package/dist/web/model-editor-state-recovery.js +44 -0
- package/dist/web/model-editor-steel-adapter.js +410 -0
- package/dist/web/model-editor.css +268 -0
- package/dist/web/model-frame.js +192 -0
- package/dist/web/model-inspector.js +128 -0
- package/dist/web/model-measure.js +390 -0
- package/dist/web/model-navigation-controls.js +246 -0
- package/dist/web/model-orientation-overlay.js +217 -0
- package/dist/web/model-panel-bridge.js +230 -0
- package/dist/web/model-pointer-dock.js +164 -0
- package/dist/web/model-revit-module.js +83 -0
- package/dist/web/model-selection-coordinator.js +151 -0
- package/dist/web/model-selection-tools.js +290 -0
- package/dist/web/model-snap-contract.js +267 -0
- package/dist/web/model-snapping.js +497 -0
- package/dist/web/model-spatial-panel.js +294 -0
- package/dist/web/model-spatial-tools.js +249 -0
- package/dist/web/model-tree.js +47 -0
- package/dist/web/model-viewport-lighting.js +166 -0
- package/dist/web/model-viewport-revit-adapter.js +1224 -0
- package/dist/web/model-viewport-state.js +505 -0
- package/dist/web/model-viewport-steel-adapter.js +150 -0
- package/dist/web/model-viewport-toolbar.js +516 -0
- package/dist/web/model-viewport.js +717 -0
- package/dist/web/panels.js +8 -15
- package/dist/web/renderers.js +3 -0
- package/dist/web/revit-editor.css +35 -0
- package/dist/web/revit-editor.html +74 -0
- package/dist/web/revit-editor.js +845 -0
- package/dist/web/steel-3d-core.js +16 -44
- package/dist/web/steel-3d-view.js +1384 -633
- package/dist/web/steel-canvas-guidance.js +3 -1
- package/dist/web/steel-editor.html +2121 -1253
- package/dist/web/steel-filter.html +5 -1
- package/dist/web/steel-model-v2-commands.js +72 -1
- package/dist/web/steel-split-view.js +5 -39
- package/dist/web/steel-view-generation.js +107 -17
- package/dist/web/vector-3d.html +12 -0
- package/dist/web/workspaces.js +2190 -277
- package/distribution-profile-active.mjs +2 -0
- package/distribution-profile-production.mjs +47 -0
- package/distribution-profile-shared.mjs +8 -0
- package/distribution-profile.mjs +18 -0
- package/distribution-resource-inventory.mjs +81 -0
- package/launch.mjs +18 -10
- package/log.mjs +2 -1
- package/managed-runtime-policy.mjs +104 -0
- package/model-reader-policy-active.mjs +7 -0
- package/network-policy-active.mjs +6 -0
- package/package.json +17 -2
- package/post-update-marker.mjs +3 -1
- package/rvt-production-uat-authority.mjs +60 -0
- package/teardown.mjs +4 -3
package/dist/web/app.css
CHANGED
|
@@ -255,6 +255,12 @@
|
|
|
255
255
|
/* Workspaces mode has no Inspect pane at all (--right-width: 0), so its rail would be a grip on a
|
|
256
256
|
seam with nothing behind it. */
|
|
257
257
|
.app.mode-workspaces .pane-rail-right { display: none; }
|
|
258
|
+
/* Persisted Workspaces mode is known in the head, before the shell scripts run. Reserve no column
|
|
259
|
+
and paint no workflow Inspector during that first frame; applyMode replaces this boot class with
|
|
260
|
+
the regular mode-workspaces class once the live shell owns the state. */
|
|
261
|
+
html.mode-workspaces-boot .app { --right-width: 0px !important; }
|
|
262
|
+
html.mode-workspaces-boot .inspect,
|
|
263
|
+
html.mode-workspaces-boot .pane-rail-right { display: none; }
|
|
258
264
|
|
|
259
265
|
/* ========== RESIZE HANDLES ========== */
|
|
260
266
|
.resize-handle {
|
|
@@ -509,6 +515,108 @@
|
|
|
509
515
|
min-width: 0;
|
|
510
516
|
position: relative;
|
|
511
517
|
}
|
|
518
|
+
/* The shell owns one left pane. Narrative and the active model editor contribute sections inside
|
|
519
|
+
it, while each surface keeps ownership of its own state and commands. All colours, borders,
|
|
520
|
+
typography and focus rings reuse the existing pane and tab tokens above. */
|
|
521
|
+
.left-pane-full { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
|
|
522
|
+
.left-pane-switches {
|
|
523
|
+
height: 36px; flex: 0 0 36px; display: flex; align-items: center; gap: 4px;
|
|
524
|
+
padding: 0 9px; border-bottom: 1px solid var(--border); background: var(--surface);
|
|
525
|
+
}
|
|
526
|
+
.left-pane-switches > button:not(.panel-toggle) {
|
|
527
|
+
appearance: none; border: 0; border-radius: 4px; background: transparent; color: var(--text-dim);
|
|
528
|
+
padding: 3px 7px; font: 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
|
|
529
|
+
}
|
|
530
|
+
.left-pane-switches > button:not(.panel-toggle):hover { color: var(--text); background: var(--surface-3); }
|
|
531
|
+
.left-pane-switches > button[aria-pressed="true"] { color: var(--text); background: var(--accent-soft); }
|
|
532
|
+
.left-pane-switches > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
533
|
+
.left-pane-switch-spacer { flex: 1; }
|
|
534
|
+
.left-pane-switches .panel-toggle { position: relative; right: auto; top: auto; transform: none; flex: none; }
|
|
535
|
+
.left-pane-stack { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
|
|
536
|
+
.left-pane-empty { min-height: 0; flex: 1; display: grid; place-items: center; padding: 20px; color: var(--text-dim); font-size: 11px; text-align: center; }
|
|
537
|
+
.left-pane-empty[hidden] { display: none; }
|
|
538
|
+
.left-pane-section { min-height: 74px; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }
|
|
539
|
+
.left-pane-section[hidden] { display: none; }
|
|
540
|
+
.left-pane-section.drag-over { box-shadow: inset 0 2px 0 var(--accent); }
|
|
541
|
+
.left-section-heading {
|
|
542
|
+
height: 40px; flex: 0 0 40px; display: flex; align-items: center; gap: 8px;
|
|
543
|
+
padding: 0 9px; border-bottom: 1px solid var(--border); color: var(--text);
|
|
544
|
+
}
|
|
545
|
+
.left-section-heading strong { font-size: 12px; }
|
|
546
|
+
.left-section-heading > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); font-size: 10px; }
|
|
547
|
+
.left-section-grip, .left-section-close {
|
|
548
|
+
appearance: none; width: 24px; height: 24px; flex: none; display: inline-flex; align-items: center; justify-content: center;
|
|
549
|
+
padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-dim); cursor: pointer;
|
|
550
|
+
}
|
|
551
|
+
.left-section-grip { cursor: grab; font-size: 15px; }
|
|
552
|
+
.left-section-grip:active { cursor: grabbing; }
|
|
553
|
+
.left-section-close { margin-left: auto; font-size: 15px; }
|
|
554
|
+
.left-section-grip:hover, .left-section-close:hover { color: var(--text); background: var(--surface-3); border-color: var(--border-strong); }
|
|
555
|
+
.left-section-grip:focus-visible, .left-section-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
556
|
+
.left-section-body { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
|
|
557
|
+
.narrative-section-body .messages { min-height: 0; }
|
|
558
|
+
.left-pane-split {
|
|
559
|
+
position: relative; height: 11px; flex: 0 0 11px; cursor: ns-resize; touch-action: none; background: var(--surface);
|
|
560
|
+
}
|
|
561
|
+
.left-pane-split::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--border); }
|
|
562
|
+
.left-pane-split:hover::after, .left-pane-split:focus-visible::after, .left-pane-split.dragging::after { height: 2px; background: var(--accent); }
|
|
563
|
+
.left-pane-split:focus-visible { outline: none; }
|
|
564
|
+
body.left-pane-height-resizing, body.left-pane-height-resizing * { cursor: ns-resize !important; user-select: none; }
|
|
565
|
+
body.left-pane-height-resizing iframe { pointer-events: none; }
|
|
566
|
+
/* Wraps rather than squeezing: a model can contribute six tabs (list and panel), and a label cut to "Fav…" is no label. */
|
|
567
|
+
.left-model-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); padding: 6px; gap: 3px; border-bottom: 1px solid var(--border); flex: none; }
|
|
568
|
+
.left-model-tabs button {
|
|
569
|
+
appearance: none; min-width: 0; min-height: 29px; padding: 4px 3px; border: 1px solid var(--border); border-radius: 4px;
|
|
570
|
+
background: transparent; color: var(--text-dim); font: 10.5px var(--ui); cursor: pointer; overflow: hidden; text-overflow: ellipsis;
|
|
571
|
+
}
|
|
572
|
+
.left-model-tabs button:hover { color: var(--text); background: var(--surface-3); }
|
|
573
|
+
.left-model-tabs .left-model-tab-group-start { grid-column-start: 1; }
|
|
574
|
+
.left-model-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
|
|
575
|
+
.left-model-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
576
|
+
.left-model-index-header { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 11px 4px; color: var(--text-dim); border-bottom: 1px solid var(--border); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
577
|
+
.left-model-follow { min-height: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; color: var(--text-muted); cursor: pointer; font: 10px var(--mono); letter-spacing: .03em; text-transform: none; white-space: nowrap; }
|
|
578
|
+
.left-model-follow input { position: absolute; opacity: 0; width: 0; height: 0; border: 0; padding: 0; }
|
|
579
|
+
.left-model-follow-track { position: relative; width: 28px; height: 16px; flex: none; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-3); transition: background .15s, border-color .15s; }
|
|
580
|
+
.left-model-follow-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); transition: transform .15s, background .15s; }
|
|
581
|
+
.left-model-follow input:checked + .left-model-follow-track { border-color: var(--accent-dim); background: var(--accent-soft); }
|
|
582
|
+
.left-model-follow input:checked + .left-model-follow-track::after { transform: translateX(12px); background: var(--accent-bright); }
|
|
583
|
+
.left-model-follow input:focus-visible + .left-model-follow-track { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
584
|
+
@media (prefers-reduced-motion: reduce) { .left-model-follow-track, .left-model-follow-track::after { transition: none; } }
|
|
585
|
+
.left-model-content { min-height: 0; flex: 1; overflow: auto; padding: 6px; }
|
|
586
|
+
.left-model-panel-slot { min-height: 0; flex: 1; display: flex; }
|
|
587
|
+
.left-model-panel-slot[hidden], .left-model-content[hidden], .left-model-index-header[hidden] { display: none; }
|
|
588
|
+
.left-model-panel-slot iframe { flex: 1; min-width: 0; min-height: 0; width: 100%; border: 0; display: block; background: transparent; }
|
|
589
|
+
.left-model-content .revit-explorer-label { padding: 7px 5px 4px; color: var(--text-dim); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
590
|
+
.left-model-row { width: 100%; min-height: 28px; display: flex; align-items: center; gap: 8px; padding: 4px 6px;
|
|
591
|
+
border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
|
|
592
|
+
.left-model-row:hover { background: var(--accent-soft); }
|
|
593
|
+
.left-model-row.selected { box-shadow: inset 2px 0 0 var(--accent); background: var(--accent-soft); }
|
|
594
|
+
.left-model-row .row-label { unicode-bidi: plaintext; }
|
|
595
|
+
.left-model-row[aria-expanded]::before { content: "›"; width: 9px; flex: none; color: var(--text-dim); }
|
|
596
|
+
.left-model-row[aria-expanded="true"]::before { transform: rotate(90deg); }
|
|
597
|
+
.left-model-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
598
|
+
.left-model-row .row-label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
599
|
+
.left-model-row .explorer-count { margin-left: auto; flex: none; color: var(--text-dim); font: 10px var(--mono); }
|
|
600
|
+
.left-model-tree, .left-model-branch { min-width: 0; }
|
|
601
|
+
.left-model-children { padding-left: 14px; }
|
|
602
|
+
.left-model-empty { padding: 18px 10px; color: var(--text-dim); text-align: center; font-size: 11px; }
|
|
603
|
+
.left-pane-collapsed { padding: 7px 0 12px; gap: 6px; }
|
|
604
|
+
.left-pane-collapsed .panel-toggle { position: relative; top: auto; right: auto; left: auto; transform: none; flex: none; }
|
|
605
|
+
.left-collapsed-sections { min-height: 0; flex: 1; width: 100%; display: flex; flex-direction: column; }
|
|
606
|
+
.left-collapsed-section {
|
|
607
|
+
appearance: none; min-height: 86px; flex: 1; width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 8px;
|
|
608
|
+
padding: 9px 0; border: 0; border-top: 1px solid var(--border); background: transparent; color: var(--text-dim); cursor: pointer;
|
|
609
|
+
writing-mode: vertical-rl; transform: rotate(180deg); font: 10px var(--mono); letter-spacing: .15em; text-transform: uppercase;
|
|
610
|
+
}
|
|
611
|
+
.left-collapsed-section:hover, .left-collapsed-section[aria-pressed="true"] { color: var(--text); background: var(--accent-soft); }
|
|
612
|
+
.left-collapsed-section:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
613
|
+
.left-collapsed-section[aria-pressed="false"] { opacity: .55; }
|
|
614
|
+
.left-collapsed-badge {
|
|
615
|
+
min-width: 16px; height: 16px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
|
|
616
|
+
border-radius: 8px; background: var(--accent); color: #fff; box-shadow: 0 0 8px var(--accent-glow);
|
|
617
|
+
writing-mode: horizontal-tb; transform: rotate(180deg); font: 9px/1 var(--mono); letter-spacing: 0;
|
|
618
|
+
}
|
|
619
|
+
.left-collapsed-badge.approval { background: var(--warn); color: var(--bg); font-weight: 800; }
|
|
512
620
|
.messages {
|
|
513
621
|
flex: 1;
|
|
514
622
|
overflow-y: auto;
|
|
@@ -536,8 +644,6 @@
|
|
|
536
644
|
align-items: center; justify-content: center; border-radius: 8px; background: var(--accent); color: #fff;
|
|
537
645
|
font-family: var(--mono); font-size: 9px; line-height: 1; box-shadow: 0 0 8px var(--accent-glow); }
|
|
538
646
|
.answer-unread[hidden] { display: none; }
|
|
539
|
-
.narrative-tab.instructor-answer-new { box-shadow: 0 0 0 1px var(--accent), 0 0 14px var(--accent-glow); }
|
|
540
|
-
.ai-answers-empty { color: var(--text-dim); font-size: 12px; line-height: 1.55; padding: 10px 2px; }
|
|
541
647
|
.msg { display: flex; flex-direction: column; gap: 4px; animation: msg-in 0.32s ease-out; }
|
|
542
648
|
.msg .who { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.14em; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
|
|
543
649
|
.msg.user .who { color: var(--accent); }
|
|
@@ -555,155 +661,8 @@
|
|
|
555
661
|
background: linear-gradient(180deg, var(--accent-soft), var(--surface-2));
|
|
556
662
|
}
|
|
557
663
|
.msg.aware .body { border-left-color: var(--text-dim); }
|
|
558
|
-
.msg.instructor-answer .body { border-left-color: var(--accent); }
|
|
559
|
-
.msg.instructor-answer-pending .body {
|
|
560
|
-
border-left-color: var(--accent);
|
|
561
|
-
background: linear-gradient(180deg, var(--accent-soft), var(--surface-2));
|
|
562
|
-
}
|
|
563
|
-
.instructor-answer-pending-status { display: flex; align-items: center; color: var(--text-muted); }
|
|
564
|
-
/* Rendered answer prose (answerProse in aware.js). Scoped to this card so no other message body
|
|
565
|
-
inherits a document-ish scale, and re-scaled from the browser defaults an h3/ul would bring into
|
|
566
|
-
a card set at the body's own font-size (mostly down — h3 15.2px→15px, ul padding 40px→17px —
|
|
567
|
-
though h5 comes back UP, because the UA's .83em is smaller than the body text it introduces).
|
|
568
|
-
h3 must stay clear of `strong`, which shares its color and weight: at equal size the top heading
|
|
569
|
-
level and an inline bold phrase were indistinguishable, so h3 carries the heavier weight.
|
|
570
|
-
The new-answer badge is ALWAYS the first child (merely hidden until the answer is new), so the
|
|
571
|
-
heading after it needs the same top-trim a real first child gets. */
|
|
572
|
-
.msg.instructor-answer .body > :first-child,
|
|
573
|
-
.msg.instructor-answer .body > .answer-new-badge + * { margin-top: 0; }
|
|
574
|
-
.msg.instructor-answer .body > :last-child { margin-bottom: 0; }
|
|
575
|
-
.msg.instructor-answer .body h3,
|
|
576
|
-
.msg.instructor-answer .body h4,
|
|
577
|
-
.msg.instructor-answer .body h5 { margin: 14px 0 5px; line-height: 1.35; font-weight: 600; }
|
|
578
|
-
.msg.instructor-answer .body h3 { font-size: 15px; font-weight: 700; color: var(--text); }
|
|
579
|
-
.msg.instructor-answer .body h4 {
|
|
580
|
-
font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
|
|
581
|
-
}
|
|
582
|
-
.msg.instructor-answer .body h5 { font-size: 12px; color: var(--text); }
|
|
583
|
-
.msg.instructor-answer .body p { margin: 0 0 9px; }
|
|
584
|
-
.msg.instructor-answer .body ul, .msg.instructor-answer .body ol { margin: 0 0 9px; padding-left: 17px; }
|
|
585
|
-
.msg.instructor-answer .body li { margin: 0 0 4px; }
|
|
586
|
-
.msg.instructor-answer .body li::marker { color: var(--text-dim); }
|
|
587
|
-
.msg.instructor-answer .body code {
|
|
588
|
-
font-family: var(--mono); font-size: 11.5px; background: var(--surface-3);
|
|
589
|
-
padding: 1px 5px; border-radius: 3px; color: var(--text-muted);
|
|
590
|
-
}
|
|
591
|
-
.msg.instructor-answer .body pre {
|
|
592
|
-
margin: 0 0 9px; padding: 9px 10px; background: var(--surface-3); border-radius: 5px;
|
|
593
|
-
overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
|
|
594
|
-
}
|
|
595
|
-
.msg.instructor-answer .body pre::-webkit-scrollbar { height: 7px; }
|
|
596
|
-
.msg.instructor-answer .body pre::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 7px; }
|
|
597
|
-
.msg.instructor-answer .body pre::-webkit-scrollbar-track { background: transparent; }
|
|
598
|
-
.msg.instructor-answer .body pre code { background: none; padding: 0; font-size: 11.5px; }
|
|
599
|
-
.msg.instructor-answer .body strong { color: var(--text); font-weight: 600; }
|
|
600
|
-
.answer-new-badge { display: none; margin-bottom: 6px; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
|
|
601
|
-
.msg.instructor-answer-new .answer-new-badge { display: block; }
|
|
602
|
-
.msg.instructor-answer-new .body {
|
|
603
|
-
border-left-color: var(--accent);
|
|
604
|
-
background: var(--accent-soft);
|
|
605
|
-
animation: instructor-answer-glow 2.1s ease-out;
|
|
606
|
-
}
|
|
607
|
-
@keyframes instructor-answer-glow {
|
|
608
|
-
0%, 35% { box-shadow: 0 0 0 1px var(--accent), 0 0 18px var(--accent-glow); }
|
|
609
|
-
100% { box-shadow: none; }
|
|
610
|
-
}
|
|
611
|
-
@media (prefers-reduced-motion: reduce) {
|
|
612
|
-
.msg.instructor-answer-new .body { animation: none; box-shadow: 0 0 0 1px var(--accent); }
|
|
613
|
-
.narrative-tab.instructor-answer-new { animation: none; }
|
|
614
|
-
}
|
|
615
664
|
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
|
616
665
|
|
|
617
|
-
/* ── AI answers: bulk toolbar + per-card collapse/remove ─────────────────── */
|
|
618
|
-
/* Sticky bulk row, rendered as the first child of #ai-answers (only when ≥1 answer exists — it is
|
|
619
|
-
hidden by simply not existing over an empty feed, never a disabled control). --surface matches the
|
|
620
|
-
pane so cards scroll cleanly beneath it; the negative margins cancel .messages' 14px side padding
|
|
621
|
-
so the row spans full width. */
|
|
622
|
-
.answers-toolbar {
|
|
623
|
-
position: sticky; top: 0; z-index: 2;
|
|
624
|
-
display: flex; align-items: center; gap: 8px;
|
|
625
|
-
margin: 0 -14px 2px; padding: 7px 14px;
|
|
626
|
-
background: var(--surface);
|
|
627
|
-
border-bottom: 1px solid var(--border);
|
|
628
|
-
}
|
|
629
|
-
.answers-toolbar-spacer { flex: 1 1 auto; }
|
|
630
|
-
.answers-count {
|
|
631
|
-
font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
|
|
632
|
-
color: var(--text-dim); font-variant-numeric: tabular-nums;
|
|
633
|
-
}
|
|
634
|
-
.answers-bulk {
|
|
635
|
-
appearance: none; border: 1px solid var(--border-strong); background: transparent;
|
|
636
|
-
color: var(--text-muted); cursor: pointer; padding: 4px 9px; border-radius: 4px;
|
|
637
|
-
font-size: 11.5px; line-height: 1;
|
|
638
|
-
}
|
|
639
|
-
.answers-bulk:hover { color: var(--text); background: var(--surface-3); }
|
|
640
|
-
.answers-bulk:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
641
|
-
/* Reversible-destructive idiom (see #requests-clear): neutral at rest, --err only on hover. */
|
|
642
|
-
.answers-clear:hover { color: var(--err); border-color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
|
|
643
|
-
|
|
644
|
-
/* The card header carries the chevron on the left and the × on the right; who-name takes the slack
|
|
645
|
-
between them so the timestamp + × sit flush-right. Center-aligned (the base .who is baseline, which
|
|
646
|
-
reads crooked next to 26px-tall buttons).
|
|
647
|
-
The 24px padding-right this used to carry is GONE with the reason for it: the collapse toggle no
|
|
648
|
-
longer floats over the feed at the panel's vertical midpoint stealing the × of whichever card
|
|
649
|
-
landed there. It lives in the pane rail now, outside the panel entirely. */
|
|
650
|
-
.msg.instructor-answer .who.answer-who { align-items: center; gap: 6px; }
|
|
651
|
-
.msg.instructor-answer .answer-who .who-name { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
652
|
-
.answer-collapse-toggle, .answer-del {
|
|
653
|
-
display: inline-flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0;
|
|
654
|
-
appearance: none; border: 1px solid transparent; background: transparent;
|
|
655
|
-
color: var(--text-dim); cursor: pointer; width: 20px; height: 20px; border-radius: 4px;
|
|
656
|
-
font-size: 12px; line-height: 1;
|
|
657
|
-
}
|
|
658
|
-
.answer-collapse-toggle { transition: transform 0.15s ease; }
|
|
659
|
-
/* Chevron points right when collapsed, rotates down when open. Rotate the glyph, not a swap, so the
|
|
660
|
-
motion reads as a disclosure. */
|
|
661
|
-
.msg.instructor-answer:not(.answer-collapsed) .answer-collapse-toggle { transform: rotate(90deg); }
|
|
662
|
-
.answer-collapse-toggle:hover { color: var(--text); background: var(--surface-3); }
|
|
663
|
-
.answer-del:hover { color: var(--err); border-color: var(--err); }
|
|
664
|
-
.answer-collapse-toggle:focus-visible, .answer-del:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
665
|
-
@media (prefers-reduced-motion: reduce) { .answer-collapse-toggle { transition: none; } }
|
|
666
|
-
/* Collapsed: the prose body (and, with it, the new-answer badge inside it) is hidden via a class —
|
|
667
|
-
not a bare `hidden` attribute, which app.css has no global rule for and would fail to honour. */
|
|
668
|
-
.msg.instructor-answer.answer-collapsed .body { display: none; }
|
|
669
|
-
|
|
670
|
-
/* One continuation component is rendered in both answer cards and Requests. It remains a quiet
|
|
671
|
-
footer under the prose: session recovery is always available without competing with the answer
|
|
672
|
-
itself. The button uses the existing dark shadcn tokens and owns every native state. */
|
|
673
|
-
.answer-session-continuation {
|
|
674
|
-
display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
|
|
675
|
-
margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--border);
|
|
676
|
-
}
|
|
677
|
-
.answer-session-status { color: var(--text-dim); font-size: 11px; line-height: 1.4; }
|
|
678
|
-
.answer-session-warning { color: var(--warn); }
|
|
679
|
-
.answer-session-unavailable { font-style: italic; }
|
|
680
|
-
.answer-session-open {
|
|
681
|
-
appearance: none; border: 1px solid var(--border-strong); background: var(--surface-3);
|
|
682
|
-
color: var(--text); cursor: pointer; min-height: 40px; padding: 8px 11px; border-radius: 4px;
|
|
683
|
-
font: 500 11.5px/1.2 var(--ui);
|
|
684
|
-
}
|
|
685
|
-
.answer-session-open:hover { border-color: var(--accent); background: var(--accent-soft); }
|
|
686
|
-
.answer-session-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
687
|
-
.answer-session-open:disabled,
|
|
688
|
-
.answer-session-open[aria-disabled="true"] { cursor: wait; color: var(--text-dim); border-color: var(--border); background: var(--surface-2); opacity: 1; }
|
|
689
|
-
.answer-session-spinner {
|
|
690
|
-
display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px;
|
|
691
|
-
border: 1px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%;
|
|
692
|
-
animation: answer-session-spin .8s linear infinite;
|
|
693
|
-
}
|
|
694
|
-
@keyframes answer-session-spin { to { transform: rotate(360deg); } }
|
|
695
|
-
@media (prefers-reduced-motion: reduce) { .answer-session-spinner { animation: none; border-top-color: var(--border-strong); } }
|
|
696
|
-
|
|
697
|
-
/* Undo toast: a real focusable action inside the shared #toast-container surface. */
|
|
698
|
-
.toast-undo { display: flex; align-items: center; gap: 12px; }
|
|
699
|
-
.toast-action {
|
|
700
|
-
appearance: none; border: 1px solid var(--border-strong); background: transparent;
|
|
701
|
-
color: var(--accent); cursor: pointer; padding: 3px 10px; border-radius: 4px;
|
|
702
|
-
font-size: 12px; line-height: 1; flex-shrink: 0;
|
|
703
|
-
}
|
|
704
|
-
.toast-action:hover { color: var(--accent-bright); background: var(--surface-3); }
|
|
705
|
-
.toast-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
706
|
-
|
|
707
666
|
/* ========== COLLAPSED STUBS ========== */
|
|
708
667
|
.collapsed-stub {
|
|
709
668
|
display: none;
|
|
@@ -764,7 +723,6 @@
|
|
|
764
723
|
opacity: 0.7;
|
|
765
724
|
user-select: none;
|
|
766
725
|
}
|
|
767
|
-
|
|
768
726
|
/* ========== CANVAS ========== */
|
|
769
727
|
.canvas {
|
|
770
728
|
grid-area: canvas;
|
|
@@ -1711,6 +1669,28 @@
|
|
|
1711
1669
|
.modal-field textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
|
|
1712
1670
|
.modal-field input:focus,
|
|
1713
1671
|
.modal-field textarea:focus { border-color: var(--accent); }
|
|
1672
|
+
.workspace-root-summary { display:grid; grid-template-columns:56px minmax(0,1fr); gap:10px;
|
|
1673
|
+
align-items:start; padding:10px 11px; border:1px solid var(--border); border-radius:6px;
|
|
1674
|
+
background:var(--surface-2); }
|
|
1675
|
+
.workspace-root-label { padding-top:1px; font-size:9px; text-transform:uppercase;
|
|
1676
|
+
letter-spacing:.12em; color:var(--text-dim); }
|
|
1677
|
+
.workspace-root-path { min-width:0; color:var(--text); font-family:var(--mono); font-size:10.5px;
|
|
1678
|
+
line-height:1.5; overflow-wrap:anywhere; }
|
|
1679
|
+
.workspace-root-status { min-height:34px; padding:9px 1px 0; color:var(--text-muted);
|
|
1680
|
+
font-size:11px; line-height:1.45; }
|
|
1681
|
+
.workspace-root-status.is-unavailable { color:var(--warn); }
|
|
1682
|
+
.workspace-root-confirm { margin-top:10px; }
|
|
1683
|
+
.workspace-root-confirm[hidden] { display:none; }
|
|
1684
|
+
.workspace-root-confirm p { margin:9px 1px 0; color:var(--text-muted); font-size:11px; line-height:1.45; }
|
|
1685
|
+
.workspace-root-error { margin-top:10px; padding:8px 10px; border:1px solid color-mix(in srgb, var(--err) 45%, var(--border));
|
|
1686
|
+
border-radius:5px; background:color-mix(in srgb, var(--err) 8%, transparent); color:var(--err);
|
|
1687
|
+
font-size:11px; line-height:1.45; }
|
|
1688
|
+
.workspace-root-error[hidden] { display:none; }
|
|
1689
|
+
.workspace-root-modal[aria-busy="true"] { cursor:wait; }
|
|
1690
|
+
body.workspace-root-switching .mode-switch,
|
|
1691
|
+
body.workspace-root-switching #wf-trigger,
|
|
1692
|
+
body.workspace-root-switching #ws-proj-trigger,
|
|
1693
|
+
body.workspace-root-switching .ws-landing button { pointer-events:none; opacity:.55; }
|
|
1714
1694
|
/* Themed picker inside a modal field (workspace-project / enum inputs). Reuses the
|
|
1715
1695
|
.wf-combo/.wf-popover/.wf-option language, but the combo is full-width and its
|
|
1716
1696
|
popover flows IN-LINE (position:static) so the modal body's scroll can't clip it. */
|
|
@@ -1720,8 +1700,12 @@
|
|
|
1720
1700
|
.fm-select .fm-select-popover { position: static; margin-top: 6px; max-width: none;
|
|
1721
1701
|
box-shadow: none; animation: none; }
|
|
1722
1702
|
.fm-select .fm-select-list { max-height: 240px; }
|
|
1723
|
-
|
|
1724
|
-
|
|
1703
|
+
.fm-select .fm-select-note { margin-top: 7px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
|
|
1704
|
+
.fm-select .fm-select-note strong { color: var(--text); font-weight: 600; }
|
|
1705
|
+
.fm-select-actions { margin-top: 8px; }
|
|
1706
|
+
.fm-select-reload { background: none; border: 1px solid var(--border-strong); color: var(--text-muted); border-radius: 6px; padding: 5px 10px; font: inherit; cursor: pointer; }
|
|
1707
|
+
.fm-select-reload:hover { color: var(--text); border-color: var(--accent); }
|
|
1708
|
+
.fm-select-reload:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1725
1709
|
/* Consent checkbox (fork liability terms) — inline label + fully themed box (no native
|
|
1726
1710
|
default leaks the dark baseline). Custom checkmark via clip-path, accent on check. */
|
|
1727
1711
|
.modal-check, .rev-check { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin: 2px 0 4px; }
|
|
@@ -1776,6 +1760,62 @@
|
|
|
1776
1760
|
the body between the pinned title and actions, mirroring .modal.routines. */
|
|
1777
1761
|
#form-modal .modal { max-height: 86vh; display: flex; flex-direction: column; }
|
|
1778
1762
|
#form-modal-body { overflow-y: auto; flex: 1 1 auto; min-height: 0; }
|
|
1763
|
+
.project-setup-dialog { width:min(560px, calc(100vw - 32px)); max-height:86vh; display:flex;
|
|
1764
|
+
flex-direction:column; overflow:hidden; }
|
|
1765
|
+
.project-setup-fields { display:grid; gap:15px; overflow-y:auto; min-height:0; padding:1px 2px 2px;
|
|
1766
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
1767
|
+
.project-setup-fields::-webkit-scrollbar { width:9px; height:9px; }
|
|
1768
|
+
.project-setup-fields::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
1769
|
+
.project-setup-fields::-webkit-scrollbar-track { background:transparent; }
|
|
1770
|
+
.project-setup-source { display:flex; align-items:center; min-width:0; gap:8px; margin:3px 0 16px;
|
|
1771
|
+
padding:9px 10px; border:1px solid var(--border); border-radius:6px; background:var(--surface-2);
|
|
1772
|
+
color:var(--text-muted); font-size:11px; }
|
|
1773
|
+
.project-setup-kicker, .project-setup-label { color:var(--text-dim); font:600 10px/1.3 var(--ui);
|
|
1774
|
+
letter-spacing:.07em; text-transform:uppercase; }
|
|
1775
|
+
.project-setup-source-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
|
|
1776
|
+
color:var(--text); font-family:var(--mono); }
|
|
1777
|
+
.project-setup-source-count { flex:none; margin-left:auto; color:var(--text-dim); }
|
|
1778
|
+
.project-setup-field { display:grid; gap:7px; min-width:0; margin:0; padding:0; border:0; }
|
|
1779
|
+
.project-setup-field input {
|
|
1780
|
+
width:100%; min-width:0; padding:9px 11px; border:1px solid var(--border-strong);
|
|
1781
|
+
border-radius:5px; outline:none; background:var(--surface-2); color:var(--text);
|
|
1782
|
+
font:500 12px/1.4 var(--ui); transition:border-color .15s, box-shadow .15s;
|
|
1783
|
+
}
|
|
1784
|
+
.project-setup-field input::placeholder { color:var(--text-dim); }
|
|
1785
|
+
.project-setup-field input:focus { border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
|
|
1786
|
+
.project-setup-folder-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:stretch; }
|
|
1787
|
+
.project-setup-folder { min-width:0; min-height:34px; display:block; overflow:hidden;
|
|
1788
|
+
padding:8px 10px; border:1px solid var(--border-strong); border-radius:5px; background:var(--surface-2);
|
|
1789
|
+
color:var(--text-dim); font:500 11px/1.4 var(--mono); text-overflow:ellipsis; white-space:nowrap; }
|
|
1790
|
+
.project-setup-folder.has-folder { color:var(--text); border-color:var(--accent-dim); }
|
|
1791
|
+
#project-setup-folder-choose { min-height:34px; white-space:nowrap; border:1px solid var(--border-strong);
|
|
1792
|
+
border-radius:5px; padding:8px 14px; }
|
|
1793
|
+
#project-setup-folder-choose:focus-visible { border-color:var(--accent); outline:none;
|
|
1794
|
+
box-shadow:0 0 0 2px var(--accent-soft); }
|
|
1795
|
+
.project-setup-note { color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
1796
|
+
.project-setup-standard-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
|
|
1797
|
+
.project-setup-standard-options button { display:grid; gap:3px; min-width:0; padding:9px 10px;
|
|
1798
|
+
text-align:left; border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text-muted); }
|
|
1799
|
+
.project-setup-standard-options button:hover { color:var(--text); border-color:var(--accent-dim); }
|
|
1800
|
+
.project-setup-standard-options button[aria-pressed="true"] { color:var(--text); border-color:var(--accent);
|
|
1801
|
+
background:var(--accent-soft); box-shadow:inset 2px 0 0 var(--accent); }
|
|
1802
|
+
.project-setup-standard-options button > span:last-child { color:var(--text-dim); font-size:10px; }
|
|
1803
|
+
.project-setup-standard-label { font-weight:650; }
|
|
1804
|
+
.project-setup-storage-note { margin-top:14px; padding:10px 11px; border-left:2px solid var(--accent-dim);
|
|
1805
|
+
background:color-mix(in srgb, var(--accent) 5%, transparent); color:var(--text-muted);
|
|
1806
|
+
font-size:11px; line-height:1.5; }
|
|
1807
|
+
.project-setup-chat-meta { margin:10px 0 -4px; color:var(--text-dim); font:10px/1.4 var(--mono);
|
|
1808
|
+
text-align:right; }
|
|
1809
|
+
.project-setup-chat-meta[hidden] { display:none; }
|
|
1810
|
+
.project-setup-error { margin-top:12px; padding:8px 10px; border:1px solid color-mix(in srgb, var(--err) 45%, var(--border));
|
|
1811
|
+
border-radius:5px; background:color-mix(in srgb, var(--err) 8%, transparent); color:var(--err);
|
|
1812
|
+
font-size:11px; line-height:1.45; }
|
|
1813
|
+
.project-setup-error[hidden], .project-setup-standard[hidden] { display:none; }
|
|
1814
|
+
#project-setup-modal[aria-busy="true"] .project-setup-dialog { cursor:wait; }
|
|
1815
|
+
@media (max-width:560px) {
|
|
1816
|
+
.project-setup-standard-options { grid-template-columns:1fr; }
|
|
1817
|
+
.project-setup-folder-row { grid-template-columns:1fr; }
|
|
1818
|
+
}
|
|
1779
1819
|
.fm-note-label {
|
|
1780
1820
|
margin-bottom:6px; color:var(--text-dim); font:600 10px/1.3 var(--ui);
|
|
1781
1821
|
letter-spacing:.07em; text-transform:uppercase;
|
|
@@ -2054,6 +2094,24 @@
|
|
|
2054
2094
|
.int-info { min-width: 0; }
|
|
2055
2095
|
.int-name { font-size: 13px; font-weight: 600; margin-bottom: 1px; }
|
|
2056
2096
|
.int-kind { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; }
|
|
2097
|
+
.int-accounts { display: grid; gap: 5px; margin: 0 0 7px; }
|
|
2098
|
+
.int-accounts-label {
|
|
2099
|
+
font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; color: var(--text-dim);
|
|
2100
|
+
}
|
|
2101
|
+
.int-account {
|
|
2102
|
+
min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 8px;
|
|
2103
|
+
padding: 6px 7px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface);
|
|
2104
|
+
}
|
|
2105
|
+
.int-account.is-chat-ready { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); }
|
|
2106
|
+
.int-account-copy { min-width: 0; display: grid; gap: 1px; }
|
|
2107
|
+
.int-account-name { overflow-wrap: anywhere; font-size: 10px; color: var(--text); }
|
|
2108
|
+
.int-account-origin { overflow-wrap: anywhere; font-size: 9px; color: var(--text-dim); }
|
|
2109
|
+
.int-chat-state { font-size: 8px; line-height: 1.25; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); text-align: right; }
|
|
2110
|
+
.int-account.is-chat-ready .int-chat-state { color: var(--ok); }
|
|
2111
|
+
.int-account.is-chat-warning .int-chat-state { color: var(--warn); }
|
|
2112
|
+
.int-account-reason { grid-column: 1 / -1; font-size: 9px; line-height: 1.35; color: var(--text-dim); }
|
|
2113
|
+
.int-account-empty { font-size: 9px; line-height: 1.4; color: var(--text-dim); }
|
|
2114
|
+
.int-load-failed { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; }
|
|
2057
2115
|
.int-scopes {
|
|
2058
2116
|
font-family: var(--mono);
|
|
2059
2117
|
font-size: 10px;
|
|
@@ -2251,20 +2309,6 @@
|
|
|
2251
2309
|
.requests-list::-webkit-scrollbar { width: 7px; }
|
|
2252
2310
|
.requests-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 7px; }
|
|
2253
2311
|
.requests-list::-webkit-scrollbar-track { background: transparent; }
|
|
2254
|
-
.requests-section-title {
|
|
2255
|
-
margin: 8px 2px 1px; color: var(--text-dim); font-family: var(--mono); font-size: 10px;
|
|
2256
|
-
letter-spacing: .1em; text-transform: uppercase;
|
|
2257
|
-
}
|
|
2258
|
-
.saved-answer-sessions { display: flex; flex-direction: column; gap: 8px; }
|
|
2259
|
-
.saved-answer-session {
|
|
2260
|
-
padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2);
|
|
2261
|
-
}
|
|
2262
|
-
.saved-answer-session-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
2263
|
-
.saved-answer-session-subject {
|
|
2264
|
-
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
2265
|
-
color: var(--text-muted); font-size: 12px;
|
|
2266
|
-
}
|
|
2267
|
-
.saved-answer-session .answer-session-continuation { margin-top: 8px; padding-top: 8px; }
|
|
2268
2312
|
.req-item {
|
|
2269
2313
|
display: flex; gap: 10px; align-items: flex-start;
|
|
2270
2314
|
padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2);
|
|
@@ -2333,7 +2377,20 @@
|
|
|
2333
2377
|
.req-showall { background: none; border: none; padding: 0; font: inherit; font-style: inherit;
|
|
2334
2378
|
color: var(--text-dim); text-decoration: underline; cursor: pointer; }
|
|
2335
2379
|
.req-showall:hover { color: var(--accent); }
|
|
2336
|
-
.req-actions { display: flex; gap: 4px; flex-shrink: 0; }
|
|
2380
|
+
.req-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; flex-shrink: 0; max-width: 250px; }
|
|
2381
|
+
.req-chat-meta, .req-chat-elsewhere {
|
|
2382
|
+
flex: 1 0 100%; color: var(--text-dim); font: 9px/1.35 var(--mono); text-align: right;
|
|
2383
|
+
}
|
|
2384
|
+
.req-chat-elsewhere { cursor: help; }
|
|
2385
|
+
.req-chat-action { min-height: 26px; padding: 4px 8px; border: 1px solid var(--border-strong);
|
|
2386
|
+
border-radius: 4px; background: transparent; color: var(--text-muted); font-size: 10px; white-space: nowrap; }
|
|
2387
|
+
.req-chat-action:hover { color: var(--text); background: var(--surface); }
|
|
2388
|
+
.req-chat-action.primary { border-color: var(--accent-dim); background: var(--accent-soft); color: var(--accent-bright); }
|
|
2389
|
+
.req-chat-action.primary:hover { border-color: var(--accent); color: var(--text); }
|
|
2390
|
+
@media (max-width: 620px) {
|
|
2391
|
+
.req-item { flex-direction: column; }
|
|
2392
|
+
.req-actions { width: 100%; max-width: none; justify-content: flex-end; }
|
|
2393
|
+
}
|
|
2337
2394
|
.req-copy, .req-del {
|
|
2338
2395
|
/* flex-center the glyph; padding:0 overrides the global button padding (7px 12px)
|
|
2339
2396
|
that otherwise leaves 0px content width in the fixed 26x26 box, pushing ⧉ × off-center. */
|
|
@@ -2382,7 +2439,16 @@
|
|
|
2382
2439
|
#requests-clear { margin-right: auto; }
|
|
2383
2440
|
#requests-clear:hover { color: var(--err); border-color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
|
|
2384
2441
|
|
|
2385
|
-
.modal.request-help { width: 520px; max-width: 92vw;
|
|
2442
|
+
.modal.request-help { width: 520px; max-width: 92vw; max-height: 86vh; overflow-y: auto;
|
|
2443
|
+
scrollbar-width: thin; scrollbar-color: var(--border-strong) var(--surface); }
|
|
2444
|
+
.modal.request-help::-webkit-scrollbar { width: 8px; }
|
|
2445
|
+
.modal.request-help::-webkit-scrollbar-track { background: var(--surface); }
|
|
2446
|
+
.modal.request-help::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
|
|
2447
|
+
.modal.request-help .modal-actions { flex-wrap: wrap; }
|
|
2448
|
+
.request-help-chat-meta {
|
|
2449
|
+
margin: 10px 0 -6px; color: var(--text-dim); font: 10px/1.4 var(--mono); text-align: right;
|
|
2450
|
+
}
|
|
2451
|
+
.request-help-chat-meta[hidden] { display: none; }
|
|
2386
2452
|
.request-help-steps {
|
|
2387
2453
|
display: flex;
|
|
2388
2454
|
flex-direction: column;
|
|
@@ -2486,6 +2552,7 @@
|
|
|
2486
2552
|
.req-run-badge-err { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
|
|
2487
2553
|
.req-run-badge-muted { background: var(--surface-3); color: var(--text-dim); }
|
|
2488
2554
|
.req-run-note { margin: 0; color: var(--text-muted); line-height: 1.45; }
|
|
2555
|
+
.req-run-answer { color: var(--text); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
2489
2556
|
.req-run-where { font-family: var(--mono); font-size: 10px; color: var(--text-dim);
|
|
2490
2557
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2491
2558
|
/* §F's only recovery action: copy the server-stamped command, then continue in the user's own
|
|
@@ -3008,6 +3075,7 @@
|
|
|
3008
3075
|
font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600;
|
|
3009
3076
|
color: var(--text-dim); padding: 10px 8px 4px;
|
|
3010
3077
|
}
|
|
3078
|
+
.wf-group-header span { float: right; font-family: var(--mono); letter-spacing: .04em; text-transform: none; }
|
|
3011
3079
|
.wf-option {
|
|
3012
3080
|
display: flex; align-items: center; justify-content: space-between; gap: 10px;
|
|
3013
3081
|
width: 100%; box-sizing: border-box;
|
|
@@ -3019,6 +3087,7 @@
|
|
|
3019
3087
|
.wf-option:hover, .wf-option.highlighted { background: var(--surface-2); }
|
|
3020
3088
|
.wf-option.selected { border-left-color: var(--accent); }
|
|
3021
3089
|
.wf-option.selected .wf-option-name { color: var(--accent); }
|
|
3090
|
+
.wf-option.volatile { margin-top: 3px; border-top: 1px solid var(--border); border-radius: 0 0 4px 4px; }
|
|
3022
3091
|
.wf-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3023
3092
|
.wf-option-meta { font-family: var(--mono); font-size: 10px; color: var(--text-dim); white-space: nowrap; flex-shrink: 0; }
|
|
3024
3093
|
/* Per-row lifecycle actions (#85) — hover/keyboard-revealed, mirroring the #68
|
|
@@ -3865,6 +3934,15 @@ body {
|
|
|
3865
3934
|
margin-bottom: 2px;
|
|
3866
3935
|
}
|
|
3867
3936
|
.notes-strip .notes-title { display: inline-flex; align-items: center; gap: 6px; }
|
|
3937
|
+
.notes-strip .notes-title { margin-right: auto; }
|
|
3938
|
+
.notes-strip .notes-head { flex-wrap: wrap; }
|
|
3939
|
+
.notes-strip .missing-agent-list { list-style: none; padding-left: 0; }
|
|
3940
|
+
.notes-strip .missing-agent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; }
|
|
3941
|
+
.notes-strip .missing-agent-row > div { min-width: 0; overflow-wrap: anywhere; }
|
|
3942
|
+
.notes-strip .missing-agent-row .btn { flex: none; white-space: nowrap; }
|
|
3943
|
+
.notes-strip .missing-agent-detail { color: var(--text-dim); }
|
|
3944
|
+
.notes-strip .missing-agent-error { color: var(--warn); }
|
|
3945
|
+
.notes-strip.collapsed [data-note-install-all] { display: none; }
|
|
3868
3946
|
.notes-strip .notes-dismiss {
|
|
3869
3947
|
appearance: none; border: none; background: transparent; cursor: pointer; flex: none;
|
|
3870
3948
|
color: var(--text-dim); font-size: 14px; line-height: 1; padding: 2px 7px; border-radius: 4px;
|
|
@@ -4952,6 +5030,13 @@ body {
|
|
|
4952
5030
|
background: var(--bg);
|
|
4953
5031
|
}
|
|
4954
5032
|
.contract-editor[hidden] { display: none; }
|
|
5033
|
+
/* A model editor whose tabs live in the left Model section (aware.js overlayModelPanel): the overlay still
|
|
5034
|
+
covers the header and footer, and only the left panel and its whole edge rail stay above it. The editor
|
|
5035
|
+
starts at the panel's edge, and follows it as the panel is resized or collapsed. */
|
|
5036
|
+
.app.contract-editor-beside .chat,
|
|
5037
|
+
.app.contract-editor-beside .pane-rail-left { z-index: 61; }
|
|
5038
|
+
/* Its corners over the header and footer take the panel's tone, so they read as the panel, not as a hole. */
|
|
5039
|
+
.app.contract-editor-beside .contract-editor { padding-left: var(--left-width); background: var(--surface); }
|
|
4955
5040
|
.contract-editor-bar {
|
|
4956
5041
|
display: flex; align-items: center; gap: 12px;
|
|
4957
5042
|
padding: 8px 14px;
|
|
@@ -4979,7 +5064,7 @@ body {
|
|
|
4979
5064
|
to them — single-finger AND pinch do nothing. On narrow screens, WITHIN the locked skin:
|
|
4980
5065
|
(1) let the shell scroll so nothing is ever unreachable;
|
|
4981
5066
|
(2) collapse both side panels by default (see app.js) — canvas full-width, tap the existing
|
|
4982
|
-
|
|
5067
|
+
36px stubs to reveal chat/inspect one at a time;
|
|
4983
5068
|
(3) let the header wrap and the workflow picker shrink so it fits one phone-width row.
|
|
4984
5069
|
Guarded by the media query → desktop layout is 100% untouched. No new fonts/colors/components. */
|
|
4985
5070
|
@media (max-width: 760px) {
|
|
@@ -5062,6 +5147,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5062
5147
|
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
5063
5148
|
.ws-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
|
|
5064
5149
|
.ws-head-text { min-width:0; }
|
|
5150
|
+
.ws-head-actions { display:flex; align-items:center; gap:8px; flex:none; }
|
|
5065
5151
|
.ws-head h2 { font-size:17px; font-weight:650; letter-spacing:.01em; }
|
|
5066
5152
|
.ws-head .ws-sub { color:var(--text-muted); font-size:12px; margin:2px 0 14px; }
|
|
5067
5153
|
/* Import project — a secondary/ghost utility action beside the heading (a restore, not another
|
|
@@ -5070,6 +5156,13 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5070
5156
|
border-radius:6px; padding:6px 12px; font-size:12px; cursor:pointer; white-space:nowrap; }
|
|
5071
5157
|
.ws-import-btn:hover { color:var(--text); border-color:var(--accent); }
|
|
5072
5158
|
.ws-import-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5159
|
+
.ws-folder-btn.is-unavailable { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 55%, var(--border-strong)); }
|
|
5160
|
+
.ws-root-unavailable-path { display:block; margin-top:6px; color:var(--text-dim); font-family:var(--mono);
|
|
5161
|
+
font-size:10px; overflow-wrap:anywhere; }
|
|
5162
|
+
@media (max-width:760px) {
|
|
5163
|
+
.ws-head { align-items:stretch; }
|
|
5164
|
+
.ws-head-actions { flex-direction:column; align-items:stretch; }
|
|
5165
|
+
}
|
|
5073
5166
|
/* ONE track definition for both landing grids, so a create card and the project cards below it sit in
|
|
5074
5167
|
the same columns. They had two: create was `auto-fit minmax(220px,260px)` (capped) while projects
|
|
5075
5168
|
were `auto-fill minmax(240px,1fr)` (filling), which measured 260px against 468px in the same
|
|
@@ -5254,6 +5347,10 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5254
5347
|
.ws-seed .ws-seed-headline { font-size:12.5px; font-weight:600; color:var(--text); line-height:1.35; }
|
|
5255
5348
|
.ws-seed .ws-seed-sub { font-size:11px; color:var(--text-dim); line-height:1.4; max-width:220px; }
|
|
5256
5349
|
.ws-seed .ws-seed-capability { font-size:11px; font-weight:600; color:var(--text-muted); line-height:1.35; max-width:220px; }
|
|
5350
|
+
.ws-seed-remedy { border-style:solid; border-color:var(--border-strong); }
|
|
5351
|
+
.ws-seed-remedy:hover { border-color:var(--accent); }
|
|
5352
|
+
.ws-seed-remedy .ws-seed-state { color:var(--text-muted); }
|
|
5353
|
+
.ws-seed-remedy .ws-seed-action { font-size:11px; font-weight:600; color:var(--accent); }
|
|
5257
5354
|
/* Which live workflow this card creates on — rendered ONLY when more than one installed app shares
|
|
5258
5355
|
the descriptor's lineage root (an original plus a duplicate), so the ordinary card is unchanged.
|
|
5259
5356
|
Same mono + dim identifier treatment as .ws-meta-wf, capped and ellipsised for the same reason. */
|
|
@@ -5275,8 +5372,6 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5275
5372
|
border:1px solid var(--border); border-left:3px solid var(--warn); border-radius:6px;
|
|
5276
5373
|
font-size:12.5px; color:var(--text-muted); line-height:1.55; max-width:640px; }
|
|
5277
5374
|
.ws-empty-note.ws-load-error b { color:var(--text); font-weight:600; }
|
|
5278
|
-
/* The raw server string, demoted out of the lead sentence (buildFailedCard's shape). */
|
|
5279
|
-
.ws-empty-note.ws-load-error .ws-load-error-detail { color:var(--text-dim); }
|
|
5280
5375
|
/* Inline action, styled like .hist-empty's — the established look for one CTA inside a banner. */
|
|
5281
5376
|
.ws-empty-note.ws-load-error button { background:none; border:none; padding:0; font:inherit;
|
|
5282
5377
|
color:var(--accent); cursor:pointer; }
|
|
@@ -5293,6 +5388,10 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5293
5388
|
.ws-source-ico { font-size:34px; color:var(--accent); display:block; margin-bottom:12px; line-height:1; }
|
|
5294
5389
|
.ws-source-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:6px; }
|
|
5295
5390
|
.ws-source-sub { font-size:12px; color:var(--text-dim); line-height:1.55; }
|
|
5391
|
+
.ws-source-actions { display:flex; justify-content:center; gap:8px; margin-top:16px; }
|
|
5392
|
+
.ws-source-actions[hidden] { display:none; }
|
|
5393
|
+
.ws-source-reassure { margin-top:10px; font-size:11px; color:var(--text-muted); line-height:1.45; }
|
|
5394
|
+
.ws-source-reassure[hidden] { display:none; }
|
|
5296
5395
|
/* The step tabs and the attach button share ONE row, which is the whole project header now — the 45px
|
|
5297
5396
|
breadcrumb strip above it is gone (see web/index.html). Attach-revision appears on the Drawings step
|
|
5298
5397
|
only, and this row still must not resize when it does: the tabs set the height at 10px padding on a
|
|
@@ -5315,8 +5414,54 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5315
5414
|
.tabs.ws-step-tabs button.ws-step-locked:hover { color:var(--text-muted); border-bottom-color:transparent; }
|
|
5316
5415
|
.ws-stage-guidance { flex:none; margin:0 14px 8px; padding:8px 11px; border:1px solid var(--border);
|
|
5317
5416
|
border-left:3px solid var(--accent-dim); border-radius:6px; background:var(--surface-2);
|
|
5318
|
-
color:var(--text-muted); font-size:11.5px; line-height:1.45;
|
|
5417
|
+
color:var(--text-muted); font-size:11.5px; line-height:1.45; max-height:min(34vh, 240px);
|
|
5418
|
+
overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-gutter:stable;
|
|
5419
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
5420
|
+
.ws-stage-guidance:empty { margin:0; padding:0; border:0; max-height:0; overflow:hidden; }
|
|
5319
5421
|
.ws-stage-guidance[hidden] { display:none; }
|
|
5422
|
+
.ws-stage-guidance::-webkit-scrollbar { width:7px; }
|
|
5423
|
+
.ws-stage-guidance::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:7px; }
|
|
5424
|
+
.ws-stage-guidance::-webkit-scrollbar-track { background:transparent; }
|
|
5425
|
+
.ws-stage-guidance:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
5426
|
+
/* The strip's real width is the viewport minus the user-resizable chat pane, so its own box is the
|
|
5427
|
+
only thing that can decide when three columns stop fitting. */
|
|
5428
|
+
.ws-stage-guidance { container-type:inline-size; }
|
|
5429
|
+
.ws-stage-guidance.state-active { border-left-color:var(--accent); }
|
|
5430
|
+
.ws-stage-guidance.state-waiting { border-left-color:var(--warn); }
|
|
5431
|
+
.ws-stage-guidance.state-blocked, .ws-stage-guidance.state-failed { border-left-color:var(--err); }
|
|
5432
|
+
.ws-stage-guidance.state-complete { border-left-color:var(--ok); }
|
|
5433
|
+
.ws-stage-guidance.state-cancelled { border-left-color:var(--text-dim); }
|
|
5434
|
+
.wsg-head { display:flex; align-items:center; gap:8px; min-width:0; }
|
|
5435
|
+
.wsg-head strong { color:var(--text); font-size:12px; font-weight:600; }
|
|
5436
|
+
.wsg-signal { flex:none; width:7px; height:7px; border-radius:50%; background:var(--text-dim); }
|
|
5437
|
+
.state-active .wsg-signal { background:var(--accent-bright); box-shadow:0 0 0 0 color-mix(in srgb, var(--accent-bright) 38%, transparent); animation:wsg-pulse 1.8s ease-out infinite; }
|
|
5438
|
+
.state-waiting .wsg-signal { background:var(--warn); }
|
|
5439
|
+
.state-blocked .wsg-signal, .state-failed .wsg-signal { background:var(--err); }
|
|
5440
|
+
.state-complete .wsg-signal { background:var(--ok); }
|
|
5441
|
+
.state-cancelled .wsg-signal { background:var(--text-dim); }
|
|
5442
|
+
.wsg-count { margin-left:auto; color:var(--text-dim); font-variant-numeric:tabular-nums; white-space:nowrap; }
|
|
5443
|
+
.wsg-activity { display:none; position:relative; height:2px; margin:7px 0 8px; overflow:hidden; border-radius:2px; background:var(--border); }
|
|
5444
|
+
.state-active .wsg-activity { display:block; }
|
|
5445
|
+
.wsg-activity span { position:absolute; inset:0 auto 0 -28%; width:28%; border-radius:2px; background:var(--accent); animation:wsg-travel 1.8s ease-in-out infinite; }
|
|
5446
|
+
.wsg-details { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:7px 16px; }
|
|
5447
|
+
.wsg-row { display:flex; gap:6px; min-width:0; }
|
|
5448
|
+
.wsg-label { flex:none; color:var(--accent-bright); font-size:10px; font-weight:700; letter-spacing:.055em; text-transform:uppercase; }
|
|
5449
|
+
.state-waiting .wsg-label { color:var(--warn); }
|
|
5450
|
+
.state-blocked .wsg-label, .state-failed .wsg-label { color:var(--err); }
|
|
5451
|
+
.state-complete .wsg-label { color:var(--ok); }
|
|
5452
|
+
.state-cancelled .wsg-label { color:var(--text-muted); }
|
|
5453
|
+
.wsg-value { min-width:0; color:var(--text-muted); overflow-wrap:anywhere; }
|
|
5454
|
+
.wsg-actions { display:flex; align-items:center; gap:8px; margin-top:7px; }
|
|
5455
|
+
.wsg-updated { display:block; margin-top:5px; color:var(--text-dim); font-size:10px; text-align:right; }
|
|
5456
|
+
@keyframes wsg-pulse { 65%,100% { box-shadow:0 0 0 5px color-mix(in srgb, var(--accent-bright) 0%, transparent); } }
|
|
5457
|
+
@keyframes wsg-travel { 0% { transform:translateX(0); } 100% { transform:translateX(460%); } }
|
|
5458
|
+
/* The strip's width is the viewport MINUS a user-resizable chat pane, so a viewport breakpoint
|
|
5459
|
+
cannot see when three columns stop fitting. Its own box can. */
|
|
5460
|
+
@container (max-width:640px) { .wsg-details { grid-template-columns:1fr; } }
|
|
5461
|
+
@media (prefers-reduced-motion:reduce) {
|
|
5462
|
+
.state-active .wsg-signal, .wsg-activity span { animation:none; box-shadow:none; }
|
|
5463
|
+
.state-active .wsg-activity { display:none; }
|
|
5464
|
+
}
|
|
5320
5465
|
.ws-frame { flex:1; min-height:0; width:100%; border:none; background:var(--bg); }
|
|
5321
5466
|
|
|
5322
5467
|
/* ── Workspaces ▸ Exports step (shell-rendered pane; export cards over the project's OWN
|
|
@@ -5556,9 +5701,9 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
5556
5701
|
.hist-change-tech > summary:hover { color:var(--text); }
|
|
5557
5702
|
.hist-change-tech > summary:focus-visible { color:var(--text); outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
|
|
5558
5703
|
.hist-change-tech .hist-change-more { display:block; margin-top:3px; font-style:italic; }
|
|
5559
|
-
.hist .btn-mini, .ws-step-end .btn-mini, .ws-revision-card .btn-mini, .modal.revreview .btn-mini { background:none; border:1px solid var(--border-strong); color:var(--text-muted); border-radius:6px;
|
|
5704
|
+
.hist .btn-mini, .ws-step-end .btn-mini, .ws-revision-card .btn-mini, .ws-stage-guidance .btn-mini, .modal.revreview .btn-mini { background:none; border:1px solid var(--border-strong); color:var(--text-muted); border-radius:6px;
|
|
5560
5705
|
padding:4px 10px; font-size:11px; cursor:pointer; white-space:nowrap; }
|
|
5561
|
-
.hist .btn-mini:hover, .ws-step-end .btn-mini:hover, .ws-revision-card .btn-mini:hover, .modal.revreview .btn-mini:hover { color:var(--text); border-color:var(--accent); }
|
|
5706
|
+
.hist .btn-mini:hover, .ws-step-end .btn-mini:hover, .ws-revision-card .btn-mini:hover, .ws-stage-guidance .btn-mini:hover, .modal.revreview .btn-mini:hover { color:var(--text); border-color:var(--accent); }
|
|
5562
5707
|
|
|
5563
5708
|
/* ── Revision review (unit 5, P6e) — the grouped accept/reject list ──────────────
|
|
5564
5709
|
Every rule below is built from existing tokens; no new colour, font or shadow. The
|
|
@@ -5593,15 +5738,26 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
5593
5738
|
.approval-decisions button.selected { color:var(--text); border-color:var(--accent); background:var(--accent-dim); box-shadow:inset 0 0 0 1px var(--accent); }
|
|
5594
5739
|
.approval-decisions button:focus-visible, .approval-discard:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5595
5740
|
.approval-tech { margin-top:9px; color:var(--text-dim); font-size:11px; }
|
|
5596
|
-
.approval-tech summary { width:max-content; max-width:100%; cursor:pointer; color:var(--text-muted); }
|
|
5741
|
+
.approval-tech summary { width:max-content; max-width:100%; cursor:pointer; color:var(--text-muted); list-style:none; }
|
|
5742
|
+
.approval-tech summary::-webkit-details-marker { display:none; }
|
|
5743
|
+
.approval-tech summary::before { content:'▸'; margin-right:6px; color:var(--text-dim); }
|
|
5744
|
+
.approval-tech[open] summary::before { content:'▾'; }
|
|
5745
|
+
.approval-tech summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
|
|
5597
5746
|
.approval-tech div { display:flex; gap:8px; padding:5px 0 0 12px; overflow-wrap:anywhere; }
|
|
5598
5747
|
.approval-tech b { color:var(--text-muted); }
|
|
5599
5748
|
.approval-discard { margin-top:10px; padding:0; border:0; background:none; color:var(--err); font:inherit; font-size:11px; cursor:pointer; }
|
|
5600
5749
|
.approval-discard:hover { text-decoration:underline; }
|
|
5601
5750
|
.approval-review-footer { flex:none; position:sticky; bottom:0; padding-top:10px; background:var(--surface-2); border-top:1px solid var(--border); }
|
|
5602
5751
|
.approval-review-footer .rev-counts { margin:0 0 8px; }
|
|
5603
|
-
.approval-review-footer .modal-actions { margin-top:0; }
|
|
5752
|
+
.approval-review-footer .modal-actions { margin-top:0; flex-wrap:wrap; }
|
|
5604
5753
|
.approval-empty, .approval-loading { padding:16px; border:1px solid var(--border); border-radius:8px; color:var(--text-muted); text-align:center; }
|
|
5754
|
+
.approval-notice { margin:0 0 10px; padding:11px 12px; border:1px solid var(--border-strong); border-radius:8px;
|
|
5755
|
+
background:var(--surface-2); color:var(--text-muted); font-size:12px; line-height:1.45; }
|
|
5756
|
+
.approval-notice b { color:var(--text); }
|
|
5757
|
+
.approval-notice-error { border-color:var(--err); }
|
|
5758
|
+
.approval-notice-error b { color:var(--err); }
|
|
5759
|
+
.approval-notice-success { border-color:var(--ok); }
|
|
5760
|
+
.approval-notice-success b { color:var(--ok); }
|
|
5605
5761
|
#ws-approve.approval-clean { background:transparent; color:var(--text-muted); border-color:var(--border-strong); box-shadow:none; }
|
|
5606
5762
|
@media (max-width:620px) {
|
|
5607
5763
|
.approval-decisions { grid-template-columns:1fr; }
|
|
@@ -5621,6 +5777,11 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
5621
5777
|
border:1px solid var(--warn); border-radius:8px; background:var(--surface-2); font-size:12px; color:var(--text-muted); }
|
|
5622
5778
|
.rev-changed[hidden] { display:none; }
|
|
5623
5779
|
.rev-changed b { color:var(--text); font-weight:600; }
|
|
5780
|
+
.rev-forward-conflict { flex:1 0 100%; display:flex; align-items:center; justify-content:space-between; gap:10px;
|
|
5781
|
+
padding-top:7px; border-top:1px solid var(--border); }
|
|
5782
|
+
.rev-forward-path { min-width:0; overflow-wrap:anywhere; font-family:var(--mono); color:var(--text-muted); }
|
|
5783
|
+
.rev-forward-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
|
|
5784
|
+
.rev-forward-actions .btn-mini.selected { color:var(--text); border-color:var(--accent); background:var(--accent-dim); }
|
|
5624
5785
|
|
|
5625
5786
|
/* The destructive staged-read exit shares the ordinary modal button recipe; spacing alone separates
|
|
5626
5787
|
it from Close/Apply so those reversible actions remain one right-aligned group. The confirmation is
|
|
@@ -5869,7 +6030,8 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
5869
6030
|
.kb-split, not a child, so it is not subject to the split's columns. */
|
|
5870
6031
|
.ws-knowledge > .step-head { flex:none; position:static; }
|
|
5871
6032
|
.kb-step-count { font-size:11px; color:var(--text-dim); }
|
|
5872
|
-
.ws-knowledge > .step-head .kb-
|
|
6033
|
+
.ws-knowledge > .step-head .kb-company-open { margin-left:auto; }
|
|
6034
|
+
.ws-knowledge > .step-head .kb-company-open + .kb-g-overview { margin-left:0; }
|
|
5873
6035
|
.ws-exports .step-head, .ws-history .step-head { margin:0 0 4px; }
|
|
5874
6036
|
.ws-history { padding-top:0; }
|
|
5875
6037
|
.ws-history .step-head { margin:0 -20px 12px; padding:0 20px; }
|
|
@@ -5943,6 +6105,9 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
5943
6105
|
.kb-chip.new { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 30%, transparent); }
|
|
5944
6106
|
.kb-chip.err { color:var(--err); border-color:color-mix(in srgb, var(--err) 35%, transparent); }
|
|
5945
6107
|
.kb-chip.run { color:var(--accent-bright); border-color:var(--accent-dim); }
|
|
6108
|
+
.kb-chip.company { color:var(--accent-bright); border-color:var(--accent-dim); }
|
|
6109
|
+
.kb-chip.company.update { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 35%, transparent); }
|
|
6110
|
+
.kb-chip.company.removed { color:var(--text-dim); border-color:var(--border-strong); }
|
|
5946
6111
|
|
|
5947
6112
|
/* useAsKb — a real focusable switch (role=switch + aria-checked), not a styled div. */
|
|
5948
6113
|
.kb-toggle { width:30px; height:17px; border-radius:20px; background:var(--surface-3);
|
|
@@ -6068,6 +6233,15 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
6068
6233
|
.kb-viewer { background:var(--bg); }
|
|
6069
6234
|
/* Metrics come from the shared step-header rule above. */
|
|
6070
6235
|
.kb-view-head .kb-view-name { margin-right:auto; }
|
|
6236
|
+
.kb-promote, .kb-company-open {
|
|
6237
|
+
font:inherit; font-size:11px; color:var(--text-muted); background:transparent;
|
|
6238
|
+
border:1px solid var(--border-strong); border-radius:6px; padding:3px 8px; cursor:pointer;
|
|
6239
|
+
}
|
|
6240
|
+
.kb-promote:hover, .kb-company-open:hover { color:var(--accent-bright); border-color:var(--accent); background:var(--accent-soft); }
|
|
6241
|
+
.kb-promote:focus-visible, .kb-company-open:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
6242
|
+
.kb-company-open { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
|
|
6243
|
+
.kb-company-count { min-width:16px; height:16px; padding:0 4px; display:inline-flex; align-items:center; justify-content:center;
|
|
6244
|
+
border-radius:9px; color:var(--bg); background:var(--warn); font:600 9px/1 var(--mono); }
|
|
6071
6245
|
.kb-view-name { color:var(--text); white-space:nowrap; overflow:hidden;
|
|
6072
6246
|
text-overflow:ellipsis; min-width:0; }
|
|
6073
6247
|
/* NOT .kb-x's hover→var(--err): that red is this pane's "destructive" signal for Remove. Closing a
|
|
@@ -6166,3 +6340,67 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
6166
6340
|
.kb-page-body::-webkit-scrollbar { width: 10px; }
|
|
6167
6341
|
.kb-page-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
|
|
6168
6342
|
.kb-page-body::-webkit-scrollbar-track { background: transparent; }
|
|
6343
|
+
|
|
6344
|
+
/* Company Knowledge extends the project Knowledge step without adding a third column or changing
|
|
6345
|
+
the shell. Its one scroll region and every control inherit the locked dark baseline. */
|
|
6346
|
+
.company-knowledge-dialog { width:min(700px, calc(100vw - 40px)); max-height:min(760px, calc(100vh - 40px));
|
|
6347
|
+
display:flex; flex-direction:column; overflow:hidden; }
|
|
6348
|
+
.company-knowledge-head { display:flex; align-items:center; gap:12px; }
|
|
6349
|
+
.company-knowledge-head .modal-title { flex:1; margin-bottom:0; }
|
|
6350
|
+
.company-knowledge-head button { border:0; background:transparent; color:var(--text-dim); font-size:18px;
|
|
6351
|
+
line-height:1; padding:4px 6px; border-radius:5px; cursor:pointer; }
|
|
6352
|
+
.company-knowledge-head button:hover { color:var(--accent-bright); background:var(--accent-soft); }
|
|
6353
|
+
.company-knowledge-head button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
6354
|
+
.company-knowledge-dialog > .modal-sub { margin-top:6px; margin-bottom:14px; max-width:620px; line-height:1.5; }
|
|
6355
|
+
.company-knowledge-body { min-height:0; overflow-y:auto; padding-right:5px; display:flex; flex-direction:column; gap:12px;
|
|
6356
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
6357
|
+
.company-knowledge-body::-webkit-scrollbar { width:10px; }
|
|
6358
|
+
.company-knowledge-body::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:6px; }
|
|
6359
|
+
.company-knowledge-body::-webkit-scrollbar-track { background:transparent; }
|
|
6360
|
+
.company-knowledge-folder { display:flex; align-items:center; justify-content:space-between; gap:16px;
|
|
6361
|
+
padding:12px; border:1px solid var(--border); border-radius:8px; background:var(--surface-2); }
|
|
6362
|
+
.company-folder-copy { min-width:0; }
|
|
6363
|
+
.company-folder-title { display:flex; align-items:center; gap:7px; color:var(--text); font-size:12px; font-weight:600; }
|
|
6364
|
+
.company-folder-path { display:block; margin-top:5px; color:var(--text-muted); font:10.5px/1.4 var(--mono);
|
|
6365
|
+
white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:500px; }
|
|
6366
|
+
.company-folder-note { margin-top:4px; color:var(--text-dim); font-size:10.5px; line-height:1.45; }
|
|
6367
|
+
.company-knowledge-folder > button, .company-entry-actions button { flex:none; font:inherit; font-size:11px;
|
|
6368
|
+
border:1px solid var(--border-strong); border-radius:6px; background:var(--surface); color:var(--text-muted);
|
|
6369
|
+
padding:5px 9px; cursor:pointer; }
|
|
6370
|
+
.company-knowledge-folder > button:hover, .company-entry-actions button:hover { color:var(--accent-bright); border-color:var(--accent); }
|
|
6371
|
+
.company-knowledge-folder > button:focus-visible, .company-entry-actions button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
6372
|
+
.company-section-label { color:var(--text-muted); font:10px/1.3 var(--mono); text-transform:uppercase; letter-spacing:.12em; }
|
|
6373
|
+
.company-state-chip { display:inline-flex; align-items:center; border:1px solid var(--accent-dim); border-radius:10px;
|
|
6374
|
+
padding:1px 6px; color:var(--accent-bright); font:9px/1.4 var(--mono); white-space:nowrap; }
|
|
6375
|
+
.company-state-chip.warn { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 35%, transparent); }
|
|
6376
|
+
.company-knowledge-promotion { padding:12px; border:1px solid var(--accent-dim); border-radius:8px; background:var(--accent-soft); }
|
|
6377
|
+
.company-promotion-source { margin:6px 0 10px; color:var(--text); font-size:13px; font-weight:600;
|
|
6378
|
+
white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
6379
|
+
.company-knowledge-promotion > label { display:block; margin-bottom:5px; color:var(--text-muted); font-size:10.5px; }
|
|
6380
|
+
.company-knowledge-promotion .sel-combo { width:100%; }
|
|
6381
|
+
.company-knowledge-promotion p { margin:7px 0 0; color:var(--text-dim); font-size:10.5px; line-height:1.45; }
|
|
6382
|
+
.company-knowledge-list { display:flex; flex-direction:column; gap:7px; }
|
|
6383
|
+
.company-entry { display:flex; align-items:center; gap:14px; padding:10px 11px; border:1px solid var(--border);
|
|
6384
|
+
border-radius:7px; background:var(--surface); }
|
|
6385
|
+
.company-entry-main { min-width:0; flex:1; }
|
|
6386
|
+
.company-entry-heading { display:flex; align-items:center; gap:7px; min-width:0; color:var(--text); font-size:12px; font-weight:600; }
|
|
6387
|
+
.company-entry-heading > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
6388
|
+
.company-entry-meta { margin-top:4px; color:var(--text-dim); font:10px/1.45 var(--mono); }
|
|
6389
|
+
.company-entry-actions { display:flex; align-items:center; gap:7px; }
|
|
6390
|
+
.company-entry-actions .company-remove:hover { color:var(--err); border-color:color-mix(in srgb, var(--err) 50%, transparent); }
|
|
6391
|
+
.company-entry-current { color:var(--text-dim); font-size:10.5px; }
|
|
6392
|
+
.company-empty { padding:18px 12px; border:1px dashed var(--border-strong); border-radius:8px;
|
|
6393
|
+
color:var(--text-dim); font-size:11.5px; line-height:1.5; text-align:center; }
|
|
6394
|
+
.company-knowledge-confirm { display:flex; flex-direction:column; gap:5px; padding:11px 12px;
|
|
6395
|
+
border:1px solid color-mix(in srgb, var(--warn) 40%, var(--border)); border-radius:7px; background:color-mix(in srgb, var(--warn) 7%, var(--surface)); }
|
|
6396
|
+
.company-knowledge-confirm strong { color:var(--text); font-size:12px; }
|
|
6397
|
+
.company-knowledge-confirm span { color:var(--text-muted); font-size:11px; line-height:1.5; }
|
|
6398
|
+
.company-knowledge-error { margin-top:10px; padding:8px 10px; border:1px solid color-mix(in srgb, var(--err) 35%, transparent);
|
|
6399
|
+
border-radius:6px; color:var(--err); background:color-mix(in srgb, var(--err) 7%, var(--surface)); font-size:11px; }
|
|
6400
|
+
.company-knowledge-dialog[aria-busy="true"] .company-knowledge-body { opacity:.7; }
|
|
6401
|
+
.company-knowledge-dialog > .modal-actions { flex:none; }
|
|
6402
|
+
@media (max-width:720px) {
|
|
6403
|
+
.company-entry { align-items:flex-start; flex-direction:column; }
|
|
6404
|
+
.company-entry-actions { width:100%; justify-content:flex-end; }
|
|
6405
|
+
.company-knowledge-folder { align-items:flex-start; flex-direction:column; }
|
|
6406
|
+
}
|