@floless/app 0.154.0 → 0.155.1
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/floless-server.cjs +49502 -37986
- package/dist/schemas/steel.model.v2.schema.json +19 -5
- package/dist/skills/floless-app-onboarding/SKILL.md +22 -13
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +12 -8
- package/dist/skills/floless-app-steel-model/SKILL.md +23 -2
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +158 -65
- package/dist/skills/floless-app-workflows/SKILL.md +23 -5
- package/dist/skills/floless-app-workflows/references/blender-exec.md +183 -0
- package/dist/skills/floless-app-workflows/references/dev-server-and-run-trace.md +27 -12
- package/dist/templates/blender-construction-sequence.flo +96 -0
- package/dist/web/agents.js +33 -13
- package/dist/web/app.css +275 -33
- package/dist/web/aware.js +745 -82
- package/dist/web/chat-question-card.js +477 -0
- package/dist/web/chat.css +177 -12
- package/dist/web/chat.js +1537 -717
- package/dist/web/commands-shell.js +424 -7
- package/dist/web/commands-steel.js +105 -4
- package/dist/web/guide.js +4 -3
- package/dist/web/index.html +96 -7
- package/dist/web/instructor.js +10 -9
- package/dist/web/left-pane.js +40 -3
- package/dist/web/media-player.js +234 -0
- package/dist/web/model-editor-contract.js +2 -0
- package/dist/web/model-editor-revit-adapter.js +1 -0
- package/dist/web/model-editor-steel-adapter.js +89 -1
- package/dist/web/model-panel-bridge.js +16 -2
- package/dist/web/model-view-query.js +590 -0
- package/dist/web/model-viewport-revit-adapter.js +15 -1
- package/dist/web/model-viewport-toolbar.js +5 -2
- package/dist/web/pages.js +592 -0
- package/dist/web/panels.js +2 -1
- package/dist/web/revit-editor.js +181 -16
- package/dist/web/run-progress.js +193 -0
- package/dist/web/run-strip.js +173 -0
- package/dist/web/steel-3d-core.js +70 -0
- package/dist/web/steel-editor.html +2751 -219
- package/dist/web/steel-frames-core.js +958 -0
- package/dist/web/steel-last-seen.js +315 -0
- package/dist/web/steel-marks-core.js +530 -0
- package/dist/web/steel-model-slim.js +95 -0
- package/dist/web/steel-model-v2-client-validation.js +14 -2
- package/dist/web/steel-model-v2-commands.js +258 -27
- package/dist/web/steel-model-v2-projection.js +78 -18
- package/dist/web/steel-read-confidence.js +11 -2
- package/dist/web/workspaces.js +416 -26
- package/package.json +3 -2
package/dist/web/chat.css
CHANGED
|
@@ -279,7 +279,12 @@
|
|
|
279
279
|
.ai-chat-scope-controls button:hover { background: var(--accent-soft); }
|
|
280
280
|
.ai-chat-scope-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
281
281
|
.ai-chat-scope-controls button:disabled { cursor: default; opacity: .55; }
|
|
282
|
-
#chat-scope-disclosure { color: var(--text-muted); font: 10px/1.4 var(--ui); }
|
|
282
|
+
#chat-scope-disclosure { color: var(--text-muted); font: 10px/1.4 var(--ui); flex-basis: 100%; }
|
|
283
|
+
#chat-scope-disclosure[hidden] { display: none; }
|
|
284
|
+
#chat-access-explanation { display: inline-flex; align-items: center; gap: 3px; }
|
|
285
|
+
#chat-access-explanation strong { font-weight: 600; }
|
|
286
|
+
.ai-chat-access-chevron { display: inline-block; margin-left: 3px; }
|
|
287
|
+
#chat-access-explanation[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
283
288
|
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left: 0; right: 0; padding: 8px; max-height: min(320px, 48vh); }
|
|
284
289
|
.ai-chat-scope-head, .ai-chat-scope-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
|
|
285
290
|
.ai-chat-scope-head strong, .ai-chat-scope-picker > strong { color: var(--text); font: 600 11px var(--ui); }
|
|
@@ -339,10 +344,6 @@
|
|
|
339
344
|
line-height: 1.45;
|
|
340
345
|
}
|
|
341
346
|
.ai-chat-integration-note strong { color: var(--text-muted); font-weight: 600; }
|
|
342
|
-
/* Under a list that leaves an option out: why. Muted (not dim) text, which stays readable in the light theme. */
|
|
343
|
-
.ai-chat-picker-note { margin: 4px 3px 2px; padding: 6px 5px 2px; border-top: 1px solid var(--border); color: var(--text-muted); font: 10px/1.45 var(--ui); cursor: default; }
|
|
344
|
-
/* The picker sits on --surface-2, where the light theme's --text-muted measures 4.3:1: take the darker slate the other light-theme notes use. */
|
|
345
|
-
[data-theme="light"] .ai-chat-picker-note { color: #475569; }
|
|
346
347
|
.ai-chat-integration-empty { padding: 10px 8px; color: var(--text-dim); font-size: 10px; line-height: 1.45; }
|
|
347
348
|
.ai-chat-choice[disabled] { cursor: default; opacity: .48; }
|
|
348
349
|
|
|
@@ -940,6 +941,13 @@
|
|
|
940
941
|
/* The chat model's object links (#1653): a quiet receipt under its answer. */
|
|
941
942
|
.ai-chat-event.links { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
942
943
|
.ai-chat-event.evidence:not(.error) { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
944
|
+
/* #2255: a change the AI made to the model view, a receipt like the ones above. When not everything was done or FloLess
|
|
945
|
+
could not confirm it, the warning edge (the person may want to look); a reply that ended first stays plain. */
|
|
946
|
+
.ai-chat-event.view-command.done { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
947
|
+
.ai-chat-event.view-command.held { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
948
|
+
.ai-chat-event.view-command.working { color: var(--text-dim); }
|
|
949
|
+
/* The light theme's dim grey reads under 3:1 on this tint at 9.5px: take the darker slate the light palette already has. */
|
|
950
|
+
[data-theme="light"] .ai-chat-event.view-command.working { color: #475569; }
|
|
943
951
|
/* #2037: Codex's auto-review receipts — information, never error red; a held-back step gets the warning edge only. */
|
|
944
952
|
.ai-chat-event.auto-review { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
945
953
|
.ai-chat-event.auto-review.held { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
@@ -1513,14 +1521,42 @@
|
|
|
1513
1521
|
.guide-move-card .ai-chat-filter-card-head { justify-content: flex-start; flex-wrap: wrap; }
|
|
1514
1522
|
.guide-move-eyebrow { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 10px; }
|
|
1515
1523
|
.guide-move-status:empty { display: none; }
|
|
1516
|
-
/* #
|
|
1524
|
+
/* #2247 — a FloLess action the AI suggested. The filter card's shell; the risk only changes the left edge (no new
|
|
1525
|
+
colours): a reversible change keeps the accent, a real run is amber, and a person-only step is a plain doorway. */
|
|
1526
|
+
.ai-chat-action-card.risk-destructive { border-left-color: var(--warn); }
|
|
1527
|
+
.ai-chat-action-card.risk-human-only { border-left-color: var(--border-strong); }
|
|
1528
|
+
.ai-chat-action-card .ai-chat-filter-card-head { align-items: flex-start; }
|
|
1529
|
+
.ai-chat-action-named { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
1530
|
+
.ai-chat-action-named strong { overflow-wrap: anywhere; }
|
|
1531
|
+
.ai-chat-action-summary { margin: 6px 0 0; color: var(--text); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
|
|
1532
|
+
.ai-chat-action-why { color: var(--text-muted); }
|
|
1533
|
+
.ai-chat-action-changed { margin-top: 6px; color: var(--text); }
|
|
1534
|
+
.ai-chat-action-status:empty { display: none; }
|
|
1535
|
+
.ai-chat-action-status:focus { outline: none; }
|
|
1536
|
+
.ai-chat-action-status:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1537
|
+
.ai-chat-action-card.is-done { border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface-2)); }
|
|
1538
|
+
.ai-chat-action-card.is-failed { border-left: 3px solid var(--err); }
|
|
1539
|
+
.ai-chat-action-card.is-collapsed { padding: 6px 10px; border-left-color: var(--border-strong); }
|
|
1540
|
+
.ai-chat-action-line { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 15px; overflow-wrap: anywhere; }
|
|
1541
|
+
|
|
1542
|
+
/* #2247 — one line per action the AI ran itself: what it was, and how it ended. */
|
|
1543
|
+
.ai-chat-action-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 4px; padding: 3px 8px;
|
|
1544
|
+
border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-2); color: var(--text-muted); font-size: 11px; line-height: 15px; }
|
|
1545
|
+
.ai-chat-action-row-glyph { flex: none; width: 1em; font: 11px/15px var(--mono); text-align: center; }
|
|
1546
|
+
.ai-chat-action-row.is-ok .ai-chat-action-row-glyph { color: var(--ok); }
|
|
1547
|
+
.ai-chat-action-row.is-failed .ai-chat-action-row-glyph { color: var(--err-text); }
|
|
1548
|
+
.ai-chat-action-row-verb { flex: none; color: var(--text-muted); }
|
|
1549
|
+
.ai-chat-action-row-title { flex: 1 1 auto; min-width: 0; color: var(--text); overflow-wrap: anywhere; }
|
|
1550
|
+
.ai-chat-action-row .ai-chat-filter-state { margin-left: auto; color: var(--text-muted); }
|
|
1551
|
+
.ai-chat-action-row-reason { flex: 1 0 100%; padding-left: calc(1em + 6px); color: var(--text-muted); font-size: 10.5px; line-height: 14px; overflow-wrap: anywhere; }
|
|
1552
|
+
/* #2046 — a Guide conversation's own settings cell (#2234: its Access is the ordinary picker). */
|
|
1553
|
+
|
|
1517
1554
|
.ai-chat-guide-access { display: flex; flex-direction: column; gap: 2px; font-size: 11px; line-height: 15px; color: var(--text-muted); }
|
|
1555
|
+
/* Headings inside it (the set-aside list's) read as text, not muted. */
|
|
1518
1556
|
.ai-chat-guide-access strong { color: var(--text); font-weight: 600; }
|
|
1519
|
-
/*
|
|
1557
|
+
/* The cell holds controls but is not one itself: no pointer, no hover tint (the Provider row does the same, above). */
|
|
1520
1558
|
.ai-chat-guide-access { cursor: default; }
|
|
1521
1559
|
.ai-chat-guide-access:hover { background: var(--surface); }
|
|
1522
|
-
/* The sentence is the strip's readable-prose tier (see .ai-chat-setting > span above, which is the label tier). */
|
|
1523
|
-
.ai-chat-guide-note { margin: 4px 0 0; color: var(--text-muted); font: 11px/1.4 var(--ui); }
|
|
1524
1560
|
.ai-chat-guide-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
|
|
1525
1561
|
/* Its buttons are the strip's secondary buttons: the same compact look as Switch account…, one line each. Scoped to
|
|
1526
1562
|
the button rows, so the briefing's switch and time pickers keep their own look. */
|
|
@@ -1543,12 +1579,10 @@
|
|
|
1543
1579
|
.ai-chat-guide-set-aside-row > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1544
1580
|
.ai-chat-guide-actions button:disabled,
|
|
1545
1581
|
.ai-chat-guide-set-aside-row > button:disabled { cursor: default; color: var(--text-dim); border-color: var(--border); background: var(--surface); }
|
|
1546
|
-
/* #2053 — the opt-in morning briefing, under the Guide's
|
|
1582
|
+
/* #2053 — the opt-in morning briefing, under the Guide cell's label: the Guide question's own switch and
|
|
1547
1583
|
disclosure, the Routines time pair (themed combobox), and one status line. */
|
|
1548
1584
|
/* The Guide's settings cell holds the briefing's switch, time and choices: it takes the full row, like Provider. */
|
|
1549
1585
|
.ai-chat-guide-access { grid-column: 1 / -1; }
|
|
1550
|
-
/* Its Access picker is hidden, so Model and Effort share the row instead of leaving an empty third cell. */
|
|
1551
|
-
.ai-chat-settings:has(> #chat-permission[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1552
1586
|
.ai-chat-guide-briefing { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
|
|
1553
1587
|
.ai-chat-guide-briefing:empty { display: none; }
|
|
1554
1588
|
/* #2054 — suggestions set aside with Not now, each with Bring back; the same divider as the briefing block above. */
|
|
@@ -1576,3 +1610,134 @@
|
|
|
1576
1610
|
.toast.guide-notice { align-items: flex-start; max-width: 380px; }
|
|
1577
1611
|
.guide-notice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
1578
1612
|
.guide-notice-actions { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
1613
|
+
|
|
1614
|
+
/* #2223 — the AI's question card (web/chat-question-card.js), in the approval tray directly above the message box.
|
|
1615
|
+
Claude's interaction inside the locked baseline: blue, not the approval card's amber, because this is "your call", not
|
|
1616
|
+
a permission. An accent ring pulses twice on arrival and then stays lit while the chat waits on the person; with
|
|
1617
|
+
reduced motion it is the steady ring only. Rows sit on --surface so their border shows on --surface-2 in both
|
|
1618
|
+
themes (dark --border-strong equals --surface-2). Existing tokens only. */
|
|
1619
|
+
.ai-chat-approval-tray:has(> .ai-chat-ask-card) { padding: 4px; margin: 4px 4px 0; }
|
|
1620
|
+
.ai-chat-approval.ai-chat-ask-card {
|
|
1621
|
+
position: relative; padding: 9px; border-color: var(--accent); background: var(--surface-2);
|
|
1622
|
+
box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent-glow) 55%, transparent);
|
|
1623
|
+
}
|
|
1624
|
+
.ai-chat-approval.ai-chat-ask-card.has-flo { padding-left: 9px; }
|
|
1625
|
+
.ai-chat-ask-card .ai-chat-approval-flo { position: absolute; left: 9px; top: 7px; }
|
|
1626
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1627
|
+
.ai-chat-approval.ai-chat-ask-card { animation: ai-chat-ask-arrive 1.1s ease-out 2; }
|
|
1628
|
+
}
|
|
1629
|
+
@keyframes ai-chat-ask-arrive {
|
|
1630
|
+
0% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 var(--accent-glow); }
|
|
1631
|
+
60% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px var(--accent-glow); }
|
|
1632
|
+
100% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent-glow) 55%, transparent); }
|
|
1633
|
+
}
|
|
1634
|
+
.ai-chat-ask-head { display: flex; align-items: center; gap: 6px; min-height: 28px; padding-left: 34px; }
|
|
1635
|
+
.ai-chat-ask-card:not(.has-flo) .ai-chat-ask-head { padding-left: 0; min-height: 0; }
|
|
1636
|
+
.ai-chat-ask-chip {
|
|
1637
|
+
max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 6px;
|
|
1638
|
+
border: 1px solid var(--accent-dim); border-radius: 4px; background: var(--accent-soft); color: var(--text);
|
|
1639
|
+
font: 600 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
|
|
1640
|
+
}
|
|
1641
|
+
.ai-chat-ask-step { color: var(--text-muted); font: 9px/1.3 var(--mono); }
|
|
1642
|
+
.ai-chat-approval .ai-chat-ask-question { margin: 6px 0 8px; color: var(--text); font: 600 12px/1.45 var(--ui); overflow-wrap: anywhere; }
|
|
1643
|
+
.ai-chat-ask-options { display: flex; flex-direction: column; gap: 4px; }
|
|
1644
|
+
.ai-chat-drawing-step { container-type: inline-size; }
|
|
1645
|
+
.ai-chat-ask-context { margin: 0 0 8px; font: 10.5px/1.4 var(--ui); color: var(--text-muted); overflow-wrap: anywhere; }
|
|
1646
|
+
.ai-chat-ask-tag { align-self: flex-start; max-width: 100%; white-space: normal; overflow-wrap: anywhere; letter-spacing: .04em; }
|
|
1647
|
+
.ai-chat-ask-reason-label { display: block; margin-top: 6px; color: var(--text); font: 11px/1.4 var(--ui); }
|
|
1648
|
+
.ai-chat-ask-reason-input { display: block; width: 100%; margin-top: 6px; }
|
|
1649
|
+
.ai-chat-ask-statement { font: 11px/1.45 var(--ui); overflow-wrap: anywhere; }
|
|
1650
|
+
.ai-chat-drawing-step .ai-chat-answer-source { margin-top: 6px; min-width: 0; }
|
|
1651
|
+
.ai-chat-ask-options.ai-chat-ask-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
1652
|
+
.ai-chat-ask-grid .ai-chat-ask-other-row { grid-column: 1 / -1; }
|
|
1653
|
+
@container (min-width: 360px) { .ai-chat-ask-options.ai-chat-ask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
1654
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option {
|
|
1655
|
+
display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: start; gap: 8px; width: 100%; min-height: 30px;
|
|
1656
|
+
padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); color: var(--text);
|
|
1657
|
+
font: 11px/1.3 var(--ui); text-align: left; user-select: none;
|
|
1658
|
+
transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
|
|
1659
|
+
}
|
|
1660
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option:hover { background: var(--surface-3); border-color: var(--accent-dim); color: var(--text); }
|
|
1661
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option.is-recommended { border-color: var(--accent-dim); }
|
|
1662
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--accent-soft); }
|
|
1663
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option.is-chosen {
|
|
1664
|
+
border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent);
|
|
1665
|
+
}
|
|
1666
|
+
.ai-chat-ask-key {
|
|
1667
|
+
display: grid; place-items: center; width: 18px; height: 18px; box-sizing: border-box; border: 1px solid var(--text-dim);
|
|
1668
|
+
border-radius: 4px; color: var(--text-muted); font: 600 10px/1 var(--mono);
|
|
1669
|
+
}
|
|
1670
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-key { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
|
|
1671
|
+
.ai-chat-ask-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
1672
|
+
.ai-chat-ask-label { color: var(--text); font: 600 11px/1.3 var(--ui); overflow-wrap: anywhere; }
|
|
1673
|
+
.ai-chat-ask-rec { color: var(--accent-bright); font: 600 10px/1.3 var(--ui); }
|
|
1674
|
+
[data-theme="light"] .ai-chat-ask-rec { color: var(--accent); }
|
|
1675
|
+
.ai-chat-ask-desc { color: var(--text-muted); font: 10.5px/1.35 var(--ui); }
|
|
1676
|
+
.ai-chat-ask-option:hover .ai-chat-ask-desc, .ai-chat-ask-option:focus-visible .ai-chat-ask-desc,
|
|
1677
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-desc { color: var(--text); }
|
|
1678
|
+
/* The light theme's muted grey reads under 4.5:1 on the rows' hover and chosen fills, and its dim grey under 3:1 as the
|
|
1679
|
+
number and tick-box outline, so the card takes the darker slates the light palette already has (as receipts do). */
|
|
1680
|
+
[data-theme="light"] .ai-chat-ask-card { --text-muted: #475569; --text-dim: #64748b; }
|
|
1681
|
+
/* Multi-select: a themed tick box (a span, never a native checkbox), in the row's last column. */
|
|
1682
|
+
.ai-chat-ask-box {
|
|
1683
|
+
display: grid; place-content: center; width: 14px; height: 14px; margin-top: 2px; box-sizing: border-box;
|
|
1684
|
+
border: 1px solid var(--text-dim); border-radius: 3px; background: var(--surface-2);
|
|
1685
|
+
}
|
|
1686
|
+
.ai-chat-ask-box::before { content: ""; width: 8px; height: 8px; transform: scale(0); background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
|
|
1687
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-box { border-color: var(--accent); background: var(--accent); }
|
|
1688
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-box::before { transform: scale(1); }
|
|
1689
|
+
.ai-chat-ask-other { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; padding: 6px; border: 1px solid var(--accent); border-radius: 5px; background: var(--surface); }
|
|
1690
|
+
.ai-chat-ask-other.drop { border-style: dashed; background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
1691
|
+
.ai-chat-ask-other-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
1692
|
+
.ai-chat-ask-other-input {
|
|
1693
|
+
flex: 1; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
1694
|
+
background: var(--surface); color: var(--text); caret-color: var(--accent); font: 11px var(--ui);
|
|
1695
|
+
}
|
|
1696
|
+
.ai-chat-ask-other-input::placeholder { color: var(--text-muted); opacity: 1; }
|
|
1697
|
+
.ai-chat-ask-other-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
|
|
1698
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip { flex: none; width: 28px; height: 26px; padding: 0; display: grid; place-items: center; background: var(--surface); color: var(--text-muted); }
|
|
1699
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip:hover { color: var(--text); background: var(--surface-3); }
|
|
1700
|
+
.ai-chat-ask-files { margin-top: 1px; }
|
|
1701
|
+
/* Scrolled into view, a row or the Other… box clears the sticky action row below (E2E 2026-10-12: a new chip hid under it). */
|
|
1702
|
+
.ai-chat-ask-option, .ai-chat-ask-other { scroll-margin-bottom: 48px; }
|
|
1703
|
+
.ai-chat-ask-card button[aria-disabled="true"] { cursor: default; opacity: .55; }
|
|
1704
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option { pointer-events: none; }
|
|
1705
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option:not(.is-chosen) { opacity: .55; }
|
|
1706
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option.is-chosen { opacity: 1; }
|
|
1707
|
+
/* The decision stays in view in a short panel: the action row sticks to the bottom of the tray. */
|
|
1708
|
+
.ai-chat-ask-actions {
|
|
1709
|
+
position: sticky; bottom: -4px; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px;
|
|
1710
|
+
margin: 8px -9px -9px; padding: 6px 9px; border-radius: 0 0 5px 5px; background: var(--surface-2);
|
|
1711
|
+
}
|
|
1712
|
+
.ai-chat-ask-status { margin-right: auto; color: var(--text-muted); font: 9.5px/1.3 var(--mono); }
|
|
1713
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-back { border-color: transparent; background: transparent; color: var(--text-muted); margin-right: auto; }
|
|
1714
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-back:hover { background: var(--surface-3); color: var(--text); }
|
|
1715
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
|
|
1716
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary:hover { background: var(--accent); color: #fff; filter: brightness(1.08); }
|
|
1717
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary[aria-disabled="true"] { background: var(--surface); border-color: var(--border-strong); color: var(--text-muted); filter: none; }
|
|
1718
|
+
.ai-chat-approval .ai-chat-ask-error { margin: 6px 0 0; color: var(--err-text); font: 10.5px/1.4 var(--ui); }
|
|
1719
|
+
.ai-chat-approval .ai-chat-ask-hint { margin: 6px 0 0; color: var(--text-muted); font: 9.5px/1.3 var(--ui); }
|
|
1720
|
+
/* A short panel (the shell is the size container; the feed's named container cannot see the tray): the key hint goes and
|
|
1721
|
+
each description keeps two lines, so the answers and Submit stay in view. */
|
|
1722
|
+
@container (max-height: 460px) {
|
|
1723
|
+
.ai-chat-ask-hint { display: none; }
|
|
1724
|
+
/* A description is what a person decides by, so it is cut only here, and the row the cursor is on, or the one chosen,
|
|
1725
|
+
shows all of it. */
|
|
1726
|
+
.ai-chat-ask-desc { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
|
|
1727
|
+
.ai-chat-ask-option:focus-visible .ai-chat-ask-desc, .ai-chat-ask-option.is-chosen .ai-chat-ask-desc { display: block; }
|
|
1728
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option { min-height: 26px; padding-block: 4px; }
|
|
1729
|
+
}
|
|
1730
|
+
@media (prefers-reduced-motion: reduce) { .ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option { transition: none; } }
|
|
1731
|
+
/* The conversation's record of a question card: the question, the tick and the answer, its files; or why it was not answered. */
|
|
1732
|
+
.ai-chat-event.ai-chat-ask-answered {
|
|
1733
|
+
display: flex; flex-direction: column; gap: 5px; border-color: var(--border-strong); border-left: 3px solid var(--ok);
|
|
1734
|
+
background: color-mix(in srgb, var(--ok) 8%, var(--surface-2)); font: 10.5px/1.4 var(--ui);
|
|
1735
|
+
}
|
|
1736
|
+
.ai-chat-event.ai-chat-ask-answered.is-unanswered { border-left-color: var(--text-dim); background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
|
|
1737
|
+
.ai-chat-ask-answered-row { display: flex; flex-direction: column; gap: 2px; }
|
|
1738
|
+
.ai-chat-ask-answered-row + .ai-chat-ask-answered-row { padding-top: 5px; border-top: 1px solid var(--border); }
|
|
1739
|
+
.ai-chat-ask-answered-q { color: var(--text); overflow-wrap: anywhere; }
|
|
1740
|
+
.ai-chat-ask-answered-a { color: var(--text); font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1741
|
+
.ai-chat-ask-tick { margin-right: 5px; color: var(--ok); }
|
|
1742
|
+
.ai-chat-ask-answered-files { padding-left: 0; }
|
|
1743
|
+
.ai-chat-ask-answered-note { margin: 0; color: var(--text); }
|