@jossuealcala/madre 1.1.1 → 1.1.3
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/CHANGELOG.en.md +42 -1
- package/CHANGELOG.md +42 -1
- package/README.en.md +4 -4
- package/README.md +4 -4
- package/SECURITY.md +11 -6
- package/bin/madre.mjs +74 -11
- package/docs/REFERENCE.md +15 -8
- package/docs/SDK.md +8 -8
- package/docs/en/REFERENCE.md +12 -7
- package/docs/en/SDK.md +8 -8
- package/docs/en/training/README.md +1 -1
- package/docs/sdk/connector-module.mjs +1 -1
- package/docs/sdk/hello-module.mjs +1 -1
- package/docs/training/README.md +1 -1
- package/docs/training/train.sh +3 -0
- package/package.json +4 -2
- package/public/activity.js +9 -0
- package/public/app.js +990 -173
- package/public/attribution.js +9 -0
- package/public/brands.js +27 -13
- package/public/en.js +2 -3
- package/public/es.js +968 -258
- package/public/index.html +3 -0
- package/public/macroverso.js +24 -5
- package/public/manual-content.js +38 -8
- package/public/market-view.js +116 -9
- package/public/market.js +28 -2
- package/public/news-scenes.js +185 -0
- package/public/notices.js +66 -0
- package/public/power.js +1 -1
- package/public/resay.js +3 -0
- package/public/salas-mac.css +294 -22
- package/public/salas-mac.html +3 -0
- package/public/salas-mac.js +760 -38
- package/public/styles.css +393 -17
- package/public/tips.js +124 -0
- package/public/tour-chapters.js +75 -75
- package/public/tour.js +36 -8
- package/public/troubleshooting.js +215 -22
- package/public/welcome-scene.js +358 -0
- package/public/welcome.js +523 -254
- package/src/adapters/gemini-rest.mjs +236 -0
- package/src/adapters/gemini.mjs +9 -7
- package/src/adapters/grok.mjs +288 -0
- package/src/adapters/process.mjs +14 -3
- package/src/auth-probe.mjs +32 -0
- package/src/bridge/policy.mjs +1 -1
- package/src/capabilities.mjs +30 -0
- package/src/checkpoint.mjs +115 -1
- package/src/codex-route.mjs +113 -0
- package/src/credentials.mjs +46 -8
- package/src/dataset.mjs +21 -8
- package/src/embeddings.mjs +2 -2
- package/src/event-store.mjs +10 -2
- package/src/ficha.mjs +142 -0
- package/src/file-ops.mjs +9 -3
- package/src/files.mjs +36 -2
- package/src/github.mjs +5 -3
- package/src/lease.mjs +5 -0
- package/src/market-check.mjs +1 -1
- package/src/market-remote.mjs +170 -3
- package/src/mcp/image-server.mjs +1 -1
- package/src/mcp/memory-server.mjs +22 -3
- package/src/mcp/proxy.mjs +31 -8
- package/src/memory-tools.mjs +12 -2
- package/src/memory.mjs +44 -3
- package/src/models.mjs +21 -3
- package/src/modules/ahp.mjs +8 -3
- package/src/modules/bishop-exam.mjs +41 -12
- package/src/modules/bishop.mjs +2 -2
- package/src/modules/check-alone.mjs +25 -0
- package/src/modules/choices.mjs +12 -10
- package/src/modules/fetch-alone.mjs +7 -0
- package/src/modules/helpers.mjs +23 -5
- package/src/modules/image-studio.mjs +13 -27
- package/src/modules/index.mjs +88 -11
- package/src/modules/isolated.mjs +160 -0
- package/src/modules/ollama.mjs +35 -6
- package/src/modules/playwright.mjs +46 -17
- package/src/modules/run-alone.mjs +122 -0
- package/src/modules/runs.mjs +11 -8
- package/src/modules/sdk.mjs +4 -2
- package/src/mother.mjs +6 -1
- package/src/notices-key.mjs +8 -0
- package/src/notices.mjs +185 -0
- package/src/ollama.mjs +57 -15
- package/src/outbound.mjs +56 -11
- package/src/room/archivist.mjs +36 -5
- package/src/room/busy.mjs +16 -0
- package/src/room/context.mjs +6 -3
- package/src/room/control.mjs +36 -6
- package/src/room/copilot.mjs +22 -28
- package/src/room/guard.mjs +32 -2
- package/src/room/prompt.mjs +32 -5
- package/src/room/vectors.mjs +7 -1
- package/src/room.mjs +98 -32
- package/src/router.mjs +1 -1
- package/src/runs.mjs +39 -0
- package/src/runtime-detection.mjs +46 -6
- package/src/salas.mjs +253 -15
- package/src/server.mjs +686 -87
- package/src/service.mjs +116 -0
- package/src/setup-trouble.mjs +20 -1
- package/src/skill-check.mjs +269 -0
- package/src/skills-import.mjs +128 -0
- package/src/skills.mjs +492 -0
- package/src/tour.mjs +15 -4
- package/src/whats-new.mjs +71 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// MADRE · © 2026 Jossue Alcalá · Business Source License 1.1: LICENSE
|
|
3
|
+
// The author's notices, on the page (Q-11, src/notices.mjs). Home shows every notice for this copy;
|
|
4
|
+
// a project only the important and security ones, as a thin strip above the conversation. Each stays
|
|
5
|
+
// until the person presses «Got it». Text only: a notice is never HTML, and its one link goes to
|
|
6
|
+
// madre.run (the server checked the signature and the link before it came here).
|
|
7
|
+
|
|
8
|
+
import { language, t } from './i18n.js';
|
|
9
|
+
|
|
10
|
+
const el = (tag, className = null, text = null) => {
|
|
11
|
+
const node = document.createElement(tag);
|
|
12
|
+
if (className) node.className = className;
|
|
13
|
+
if (text !== null && text !== undefined) node.textContent = text;
|
|
14
|
+
return node;
|
|
15
|
+
};
|
|
16
|
+
const pickWords = (pair) => (pair && typeof pair === 'object' ? pair[language()] ?? pair.es ?? pair.en ?? '' : String(pair ?? ''));
|
|
17
|
+
const LEVEL_WORDS = { info: () => t('Notice from MADRE'), important: () => t('Important notice from MADRE'), security: () => t('Security notice from MADRE') };
|
|
18
|
+
|
|
19
|
+
// Draws the notices into `host` and asks again every few minutes while the page is open.
|
|
20
|
+
// `levels`: which ones this page shows. Returns a function that asks again at once.
|
|
21
|
+
export function mountNotices(host, { levels = ['info', 'important', 'security'], every = 5 * 60_000 } = {}) {
|
|
22
|
+
if (!host) return () => {};
|
|
23
|
+
host.classList.add('madre-notices');
|
|
24
|
+
host.setAttribute('aria-live', 'polite');
|
|
25
|
+
let drawn = '';
|
|
26
|
+
const draw = (notices) => {
|
|
27
|
+
const shown = notices.filter((one) => !one.seen && levels.includes(one.level));
|
|
28
|
+
const key = JSON.stringify(shown.map((one) => one.id)) + language();
|
|
29
|
+
if (key === drawn) return;
|
|
30
|
+
drawn = key;
|
|
31
|
+
host.replaceChildren();
|
|
32
|
+
host.hidden = !shown.length;
|
|
33
|
+
for (const notice of shown) {
|
|
34
|
+
const card = el('section', `madre-notice is-${notice.level}`);
|
|
35
|
+
card.setAttribute('role', notice.level === 'security' ? 'alert' : 'status');
|
|
36
|
+
const words = el('div', 'madre-notice-words');
|
|
37
|
+
words.append(el('small', 'madre-notice-kind', LEVEL_WORDS[notice.level]?.() ?? LEVEL_WORDS.info()), el('b', 'madre-notice-title', pickWords(notice.title)), el('p', 'madre-notice-body', pickWords(notice.body)));
|
|
38
|
+
if (notice.link) {
|
|
39
|
+
const link = el('a', 'madre-notice-link', t('Read more'));
|
|
40
|
+
link.href = notice.link;
|
|
41
|
+
link.target = '_blank';
|
|
42
|
+
link.rel = 'noopener noreferrer';
|
|
43
|
+
words.append(link);
|
|
44
|
+
}
|
|
45
|
+
const done = el('button', 'madre-notice-done', t('Got it'));
|
|
46
|
+
done.type = 'button';
|
|
47
|
+
done.addEventListener('click', async () => {
|
|
48
|
+
done.disabled = true;
|
|
49
|
+
await fetch('/api/notices/seen', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ id: notice.id }) }).catch(() => null);
|
|
50
|
+
card.remove();
|
|
51
|
+
if (!host.querySelector('.madre-notice')) host.hidden = true;
|
|
52
|
+
});
|
|
53
|
+
card.append(words, done);
|
|
54
|
+
host.append(card);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const ask = async () => {
|
|
58
|
+
if (document.hidden) return;
|
|
59
|
+
const answer = await fetch('/api/notices', { cache: 'no-store' }).then((response) => (response.ok ? response.json() : null)).catch(() => null);
|
|
60
|
+
if (answer && Array.isArray(answer.notices)) draw(answer.notices);
|
|
61
|
+
};
|
|
62
|
+
void ask();
|
|
63
|
+
setInterval(() => void ask(), every);
|
|
64
|
+
document.addEventListener('visibilitychange', () => { if (!document.hidden) void ask(); });
|
|
65
|
+
return () => { drawn = ''; void ask(); };
|
|
66
|
+
}
|
package/public/power.js
CHANGED
|
@@ -286,7 +286,7 @@ export async function askCloseProject() {
|
|
|
286
286
|
cancel.disabled = true;
|
|
287
287
|
go.textContent = t('Closing…');
|
|
288
288
|
try {
|
|
289
|
-
const response = await fetch('/api/room/close', { method: 'POST', headers: { 'content-type': 'application/json' }, body:
|
|
289
|
+
const response = await fetch('/api/room/close', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ forget: true }) });
|
|
290
290
|
if (!response.ok) throw new Error(t('MADRE did not answer. Check that it is still open.'));
|
|
291
291
|
} catch (error) {
|
|
292
292
|
reply.textContent = error.name === 'TypeError' ? t('MADRE did not answer. Check that it is still open.') : error.message;
|
package/public/resay.js
CHANGED
|
@@ -32,8 +32,11 @@ const SAID = [
|
|
|
32
32
|
'{label} was interrupted before it started: {why}.',
|
|
33
33
|
'{label} was interrupted: {why}.',
|
|
34
34
|
'{label} did not respond before the timeout ({seconds}s).',
|
|
35
|
+
'This computer does not have git, which MADRE needs to take the restore point before @{agent} writes, so nothing was changed. Install git and send it again.',
|
|
36
|
+
'{label} closed the connection before answering ({code}). Check in Settings › Local AI that Ollama is still running.',
|
|
35
37
|
'{label} exited with code {code}.',
|
|
36
38
|
' Last output: {output}',
|
|
39
|
+
' (also tried {model})',
|
|
37
40
|
'MADRE is shutting down',
|
|
38
41
|
'STOPALL by the human',
|
|
39
42
|
'{label} does not know the model `{model}`.',
|
package/public/salas-mac.css
CHANGED
|
@@ -132,6 +132,11 @@ body.salas-mac {
|
|
|
132
132
|
.sm-topbar.is-tighter .sm-barkey > span { display: none; }
|
|
133
133
|
.sm-topbar.is-tighter .sm-barkey { padding: 0 8px; }
|
|
134
134
|
.sm-topbar.is-tightest .sm-tb-agents { display: none; }
|
|
135
|
+
/* The tour's pill steps out of a bar that cannot hold it, as it does from a project's bar (styles.css,
|
|
136
|
+
560 px); the tour goes on from Settings › Projects. At 375 px it pushed Market and Modules under the
|
|
137
|
+
right group and off the screen, and the page scrolled sideways (2026-11-06, responsive review). */
|
|
138
|
+
.sm-topbar.is-tighter .tour-pill-slot { display: none !important; }
|
|
139
|
+
@media (max-width: 560px) { .sm-topbar .tour-pill-slot { display: none !important; } }
|
|
135
140
|
/* The bar's keys are the room's bar keys (styles.css, .mother-button, .tree-button, .stop-all). */
|
|
136
141
|
.sm-barkey, .sm-stop { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border: 0; border-radius: 6px; font-family: var(--read); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
|
|
137
142
|
.sm-barkey svg, .sm-stop svg { width: var(--ico-sm); height: var(--ico-sm); }
|
|
@@ -793,7 +798,7 @@ dialog.sm-sheet.sm-settings > .sm-sheet-body { margin-block: 0 auto; }
|
|
|
793
798
|
.sm-settings-body > .settings-board { align-self: stretch; overflow: hidden auto; overscroll-behavior: contain; }
|
|
794
799
|
.sm-settings-body > .settings-results { align-self: stretch; overflow: hidden auto; overscroll-behavior: contain; }
|
|
795
800
|
.sm-settings-body > .settings-scrim { position: absolute; inset: 0; }
|
|
796
|
-
.sm-settings-body > .settings-sheet { position: relative; inset: auto; justify-self: end; align-self: stretch; width: min(580px, 64%); display: flex; flex-direction: column; overflow: hidden; }
|
|
801
|
+
.sm-settings-body > .settings-sheet { position: relative; inset: auto; justify-self: end; align-self: stretch; width: var(--sheet-w, min(580px, 64%)); max-width: calc(100% - 120px); min-width: 360px; display: flex; flex-direction: column; overflow: hidden; }
|
|
797
802
|
.sm-settings-body .settings-scroll { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; }
|
|
798
803
|
@container settings (max-width: 700px) { .sm-settings-body > .settings-sheet { width: 100%; } }
|
|
799
804
|
/* Appearance over the whole window, in two columns when there is room; the wallpapers small enough
|
|
@@ -941,6 +946,12 @@ button.sm-pill { border: 0; cursor: pointer; }
|
|
|
941
946
|
.sm-menu-item:disabled { opacity: .4; cursor: default; }
|
|
942
947
|
|
|
943
948
|
dialog.sm-sheet.sm-add-sheet { --sm-sheet-w: 560px; }
|
|
949
|
+
/* The invitation to a first project after an update (2026-11-01): the scene of «Add project», two lines and three keys. */
|
|
950
|
+
dialog.sm-sheet.sm-invite { --sm-sheet-w: 520px; }
|
|
951
|
+
.sm-invite .sm-sheet-body { display: grid; gap: 12px; }
|
|
952
|
+
.sm-invite .sm-scene { height: 120px; }
|
|
953
|
+
.sm-invite p { margin: 0; }
|
|
954
|
+
.sm-invite-keys { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
|
|
944
955
|
.sm-add-sheet .sm-sheet-body { display: grid; gap: 12px; }
|
|
945
956
|
.sm-add-list { display: grid; gap: 8px; }
|
|
946
957
|
.sm-add-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface, var(--panel)); box-shadow: var(--key-rest); }
|
|
@@ -1263,6 +1274,15 @@ dialog.sm-sheet.sm-graph { --sm-sheet-w: min(1120px, 94vw); }
|
|
|
1263
1274
|
@media (max-width: 760px) {
|
|
1264
1275
|
#sm-top > [class*="c-"] { grid-column: 1 / -1; }
|
|
1265
1276
|
}
|
|
1277
|
+
/* One tile a row, on a phone: each as tall as what it holds, not as the rows it spans on a desk.
|
|
1278
|
+
«Te espera» kept 208 px for two lines, the Coordinator a hundred empty ones (2026-11-06,
|
|
1279
|
+
responsive review). The map draws itself to its tile's height, so it keeps one of its own. */
|
|
1280
|
+
@media (max-width: 560px) {
|
|
1281
|
+
#sm-top.sm-bento { grid-auto-rows: auto; }
|
|
1282
|
+
#sm-top > .sm-tile { grid-row: auto !important; }
|
|
1283
|
+
#sm-top > .sm-tile.sm-fixed > :is(.sm-w-body, .sm-decisions, .sm-attention, .sm-memory-body) { flex: none; overflow: visible; }
|
|
1284
|
+
#sm-top > .sm-links-tile .sm-map { flex: none; min-height: 260px !important; }
|
|
1285
|
+
}
|
|
1266
1286
|
/* In a tile taller than what it holds, the content sits at the top, as written; it never stretches. */
|
|
1267
1287
|
#sm-top > .sm-tile.sm-fixed > :is(.sm-w-body, .sm-decisions, .sm-attention, .sm-memory-body) { align-content: start; }
|
|
1268
1288
|
/* A widget's body is one column the full width of its tile; its own grids divide that width. */
|
|
@@ -1602,6 +1622,64 @@ body.sm-in-macro > :is(.tour-hint, .tour-hint-away, .hint-spot)[data-under="page
|
|
|
1602
1622
|
.sm-env-range { display: grid; grid-template-columns: 54px minmax(0, 1fr) 72px; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
|
|
1603
1623
|
.sm-env-range small { text-align: right; color: var(--text-3); }
|
|
1604
1624
|
|
|
1625
|
+
/* MADRE's course (the author's model, 2026-11-01): two columns — the funnel with its leak in red,
|
|
1626
|
+
and what the numbers decide, each with its light —; every variable as a row with its band (where
|
|
1627
|
+
the true figure lies nine times out of ten) and the ticks where it turns amber and green; the
|
|
1628
|
+
weeks and the project's record under them. One column on a narrow board. */
|
|
1629
|
+
.sm-rumbo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; align-items: start; }
|
|
1630
|
+
@media (max-width: 900px) { .sm-rumbo { grid-template-columns: minmax(0, 1fr); } }
|
|
1631
|
+
.sm-rumbo-col { display: grid; gap: 8px; min-width: 0; align-content: start; }
|
|
1632
|
+
.sm-rumbo-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
|
|
1633
|
+
.sm-rumbo-head b { font-size: 12.5px; font-weight: 650; }
|
|
1634
|
+
.sm-rumbo-head small { color: var(--text-3) !important; font-size: 11.5px !important; }
|
|
1635
|
+
.sm-rumbo-funnel { display: grid; gap: 6px; }
|
|
1636
|
+
.sm-rumbo-stage { display: grid; grid-template-columns: minmax(118px, 1.1fr) minmax(0, 1fr) 46px 38px; align-items: center; gap: 8px; }
|
|
1637
|
+
.sm-rumbo-stage-words { display: grid; min-width: 0; }
|
|
1638
|
+
.sm-rumbo-stage-words b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1639
|
+
.sm-rumbo-stage-words small { font-size: 11px !important; color: var(--text-3) !important; }
|
|
1640
|
+
.sm-rumbo-stage.side { opacity: .62; }
|
|
1641
|
+
.sm-rumbo-stage.is-leak .sm-rumbo-stage-words b, .sm-rumbo-stage.is-leak .sm-rumbo-pct { color: var(--session-bad, #d9493a) !important; }
|
|
1642
|
+
.sm-rumbo-n { font-size: 13px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
|
|
1643
|
+
.sm-rumbo-pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-3) !important; }
|
|
1644
|
+
.sm-rumbo-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); }
|
|
1645
|
+
.is-good > .sm-rumbo-dot { background: var(--session-ok, #3f9b3a); }
|
|
1646
|
+
.is-watch > .sm-rumbo-dot { background: var(--session-wait, #d9a90f); }
|
|
1647
|
+
.is-bad > .sm-rumbo-dot { background: var(--session-bad, #d9493a); }
|
|
1648
|
+
.is-info > .sm-rumbo-dot { background: color-mix(in srgb, var(--s-acc) 70%, transparent); }
|
|
1649
|
+
.sm-rumbo-decisions { display: grid; gap: 10px; }
|
|
1650
|
+
.sm-rumbo-decision { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: start; }
|
|
1651
|
+
.sm-rumbo-decision > .sm-rumbo-dot { margin-top: 5px; }
|
|
1652
|
+
.sm-rumbo-decision-words { display: grid; gap: 3px; min-width: 0; }
|
|
1653
|
+
.sm-rumbo-decision-words b { font-size: 12.5px; font-weight: 650; }
|
|
1654
|
+
.sm-rumbo-decision-words > span { font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
|
|
1655
|
+
.sm-rumbo-bars { display: flex; flex-wrap: wrap; gap: 4px 12px; }
|
|
1656
|
+
.sm-rumbo-bars small { font-size: 11.5px !important; color: var(--text-3) !important; font-variant-numeric: tabular-nums; }
|
|
1657
|
+
.sm-rumbo-bars small.met { color: var(--session-ok, #3f9b3a) !important; }
|
|
1658
|
+
.sm-rumbo-vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }
|
|
1659
|
+
@media (max-width: 900px) { .sm-rumbo-vars { grid-template-columns: minmax(0, 1fr); } }
|
|
1660
|
+
.sm-rumbo-group { grid-column: 1 / -1; margin-top: 6px; font-size: 10.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
|
|
1661
|
+
.sm-rumbo-var { display: grid; grid-template-columns: 8px minmax(0, 1fr) 46px 84px; grid-template-rows: auto auto; align-items: center; gap: 1px 8px; padding: 3px 0; }
|
|
1662
|
+
.sm-rumbo-var > .sm-rumbo-dot { grid-row: 1; }
|
|
1663
|
+
.sm-rumbo-var-name { font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1664
|
+
.sm-rumbo-var > small { grid-column: 2 / -1; font-size: 11px !important; color: var(--text-3) !important; font-variant-numeric: tabular-nums; }
|
|
1665
|
+
.sm-rumbo-band { position: relative; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); }
|
|
1666
|
+
.sm-rumbo-band i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: color-mix(in srgb, var(--s-acc) 38%, transparent); }
|
|
1667
|
+
.sm-rumbo-band b { position: absolute; top: -1px; width: 3px; height: 10px; margin-left: -1.5px; border-radius: 2px; background: var(--text); }
|
|
1668
|
+
.sm-rumbo-band em { position: absolute; top: -2px; width: 1px; height: 12px; background: color-mix(in srgb, var(--text) 35%, transparent); }
|
|
1669
|
+
.sm-rumbo-weeks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; height: 96px; }
|
|
1670
|
+
.sm-rumbo-weeks > span { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr auto; align-items: end; gap: 0 2px; min-width: 0; }
|
|
1671
|
+
.sm-rumbo-weeks i { grid-row: 1; height: calc(var(--h) * 76px); min-height: 1px; border-radius: 3px 3px 0 0; }
|
|
1672
|
+
.sm-rumbo-weeks i.on { background: color-mix(in srgb, var(--s-acc) 30%, transparent); }
|
|
1673
|
+
.sm-rumbo-weeks i.new { background: color-mix(in srgb, var(--s-acc) 62%, transparent); }
|
|
1674
|
+
.sm-rumbo-weeks i.used { background: var(--s-acc); }
|
|
1675
|
+
.sm-rumbo-weeks small { grid-column: 1 / -1; text-align: center; font-size: 10.5px !important; color: var(--text-3) !important; white-space: nowrap; }
|
|
1676
|
+
.sm-usage-legend i.is-used { background: var(--s-acc); margin-left: 6px; }
|
|
1677
|
+
.sm-rumbo-record .sm-w-line b { min-width: 118px; }
|
|
1678
|
+
.sm-rumbo-record .sm-w-line { align-items: flex-start; }
|
|
1679
|
+
.sm-rumbo-record .sm-w-line small { margin-left: 0; text-align: right; flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
|
|
1680
|
+
.sm-rumbo-strip { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); align-items: end; gap: 1px; height: 40px; }
|
|
1681
|
+
.sm-rumbo-strip i { height: calc(var(--h) * 100%); min-height: 1px; border-radius: 2px 2px 0 0; background: var(--s-acc); }
|
|
1682
|
+
|
|
1605
1683
|
/* THE BAR FROM EDGE TO EDGE (2026-10-25, route A of R-12), as a project's (styles.css): one solid
|
|
1606
1684
|
band across the top, a hairline under it, the keys inside the same 1440 px as before. The bar
|
|
1607
1685
|
takes the width and the spacer sends Connections, Market and the rest to its right, before
|
|
@@ -1813,10 +1891,13 @@ html.home-shell .mk.flat .mk-mine .mk-card-words span { font: 450 12.5px/1.4 var
|
|
|
1813
1891
|
html.home-shell .mk.flat .mk-mine .mk-all > span { display: none; }
|
|
1814
1892
|
html.home-shell .mk.flat .mk-mine .mk-card-head .mk-get { height: 26px; padding: 0 10px; font: 500 12px var(--read); }
|
|
1815
1893
|
html.home-shell .mk.flat .mk-mine .mk-chips { gap: 6px; padding: 0; }
|
|
1816
|
-
|
|
1894
|
+
/* The projects a module is in (1.1, 2026-11-08): the name in the middle of its chip, not stuck to its
|
|
1895
|
+
top, and the chips as tall as the key beside them. */
|
|
1896
|
+
html.home-shell .mk.flat .mk-mine .mk-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; font: 500 12px/1 var(--read); white-space: nowrap; }
|
|
1817
1897
|
html.home-shell .mk.flat .mk-mine .mk-card-foot { gap: 6px; min-width: 0; padding-left: 0; }
|
|
1818
1898
|
html.home-shell .mk.flat .mk-mine .mk-card-foot > .mk-chips:empty { display: none; }
|
|
1819
|
-
html.home-shell .mk.flat .mk-mine .mk-card-foot
|
|
1899
|
+
html.home-shell .mk.flat .mk-mine .mk-card-foot { align-items: center; row-gap: 8px; }
|
|
1900
|
+
html.home-shell .mk.flat .mk-mine .mk-card-foot > .mk-get { display: inline-flex; align-items: center; height: 26px; margin-left: auto; padding: 0 11px; font: 500 12px/1 var(--read); }
|
|
1820
1901
|
html.home-shell .mk.flat .mk-mine .mk-said:empty { display: none; }
|
|
1821
1902
|
|
|
1822
1903
|
/* The Coordinator's summary before there is one (2026-10-28): what will come there, in the middle of
|
|
@@ -1919,17 +2000,13 @@ dialog.wl.arriving .wl-window { animation: wl-arrive calc(.7s * var(--motion-sca
|
|
|
1919
2000
|
.wl-step.skipped i { box-shadow: inset 0 0 0 1.5px var(--wl-warn); color: var(--wl-warn); }
|
|
1920
2001
|
.wl-rail-foot { margin: auto 0 0; padding: 12px 10px 2px; font-size: 12px; line-height: 1.45; color: var(--text-3); }
|
|
1921
2002
|
.wl-main { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
.wl-close.surface-modes, .wl-close { border-radius: 10px; background: var(--wl-canvas) !important; box-shadow: 0 0 0 1px var(--wl-line), 0 2px 8px -2px rgba(0, 0, 0, .18) !important; }
|
|
1925
|
-
.wl-close .surface-mode:not(:hover, :focus-visible) { background: var(--wl-canvas); }
|
|
1926
|
-
/* Under the pointer it answers as every ✕ of MADRE does (styles.css, .x-close): it turns, and goes red on a red tint. */
|
|
1927
|
-
.wl-close .surface-mode.x-close:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--danger) 12%, var(--wl-canvas)); color: var(--danger); }
|
|
2003
|
+
/* No close key (1.1, 2026-11-08): the welcome is left through its own keys — «Skip for now» on each
|
|
2004
|
+
step and «Go to Home» at the end — never by a corner. Escape does not close it either. */
|
|
1928
2005
|
.wl-content { display: grid; align-content: start; gap: 12px; min-height: 0; padding: 22px 29px 18px 34px; border: 0 solid transparent; border-width: 8px 5px 0 0; overflow: auto; overscroll-behavior: contain; }
|
|
1929
2006
|
.wl-content > * { margin: 0; }
|
|
1930
2007
|
.wl-eyebrow { font-size: 12.5px; color: var(--text-3); }
|
|
1931
2008
|
.wl-eyebrow.wl-gap { margin-top: 8px; }
|
|
1932
|
-
.wl-title { margin: -6px 0 0;
|
|
2009
|
+
.wl-title { margin: -6px 0 0; font: 600 22px/1.25 var(--read); letter-spacing: -.01em; }
|
|
1933
2010
|
.wl-title:focus { outline: none; }
|
|
1934
2011
|
.wl-lead { max-width: 62ch; font-size: 14px; color: var(--text-2); }
|
|
1935
2012
|
.wl-muted { margin: 0; font-size: 13px; color: var(--text-2); }
|
|
@@ -1992,8 +2069,9 @@ dialog.wl.arriving .wl-window { animation: wl-arrive calc(.7s * var(--motion-sca
|
|
|
1992
2069
|
.wl-path-words small { font-size: 12.5px; color: var(--text-2); }
|
|
1993
2070
|
.wl-badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--wl-acc) 12%, transparent); color: var(--wl-acc); font-size: 11.5px; font-weight: 500; vertical-align: 1px; }
|
|
1994
2071
|
:root[data-scheme="light"] .wl-badge { color: color-mix(in srgb, var(--wl-acc) 70%, var(--text)); }
|
|
1995
|
-
.wl-ai
|
|
2072
|
+
.wl-ai { display: grid; gap: 12px; }
|
|
1996
2073
|
.wl-flow { display: grid; gap: 8px; }
|
|
2074
|
+
.wl-flow > .wl-btn { justify-self: start; }
|
|
1997
2075
|
.wl-flow-title { margin-top: 4px; font-weight: 600; }
|
|
1998
2076
|
.wl-flow-title:first-child { margin-top: 0; }
|
|
1999
2077
|
.wl-bar { height: 8px; border-radius: 999px; background: var(--wl-hover); overflow: hidden; }
|
|
@@ -2031,25 +2109,91 @@ dialog.wl.arriving .wl-window { animation: wl-arrive calc(.7s * var(--motion-sca
|
|
|
2031
2109
|
.wl-agent-why { margin: 0 0 4px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
|
|
2032
2110
|
.wl .sm-agents { display: grid; gap: 8px; }
|
|
2033
2111
|
.wl .sm-picker { min-width: 0; }
|
|
2034
|
-
.wl-
|
|
2035
|
-
|
|
2036
|
-
.
|
|
2037
|
-
|
|
2038
|
-
.wl-
|
|
2039
|
-
|
|
2040
|
-
.wl-
|
|
2041
|
-
.wl-
|
|
2042
|
-
.wl-
|
|
2043
|
-
.wl-
|
|
2112
|
+
.wl-keys { display: inline-flex; gap: 8px; }
|
|
2113
|
+
/* THE WELCOME OF 1.1 (2026-11-08, docs/private/BIENVENIDA-1.1.md). Above each step an abstract stage
|
|
2114
|
+
(welcome-scene.js) in the brand book's colours, dark or light as the look on is; under it, one
|
|
2115
|
+
question per step. */
|
|
2116
|
+
.wl-scene { --scene-ground: #050605; --scene-ink: #9bff66; --scene-cap: #9aa197; --scene-edge: rgba(238, 241, 234, .06); position: relative; justify-self: stretch; width: 100%; height: 176px; margin: 0 0 6px; border-radius: 16px; overflow: hidden; background: var(--scene-ground); box-shadow: 0 0 0 1px var(--scene-edge); }
|
|
2117
|
+
/* It follows the look on (welcome-scene.js reads the same data-scheme): ink on a pale ground in the light. */
|
|
2118
|
+
:root[data-scheme="light"] .wl-scene { --scene-ground: #eef0ea; --scene-ink: #2f8a1c; --scene-cap: #5d635b; --scene-edge: rgba(18, 21, 18, .07); }
|
|
2119
|
+
.wl-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
|
|
2120
|
+
.wl-scene-cap { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; align-items: center; gap: 9px; margin: 0; color: var(--scene-cap); font: 450 12.5px/1.35 var(--read); pointer-events: none; }
|
|
2121
|
+
.wl-scene-cap::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--scene-ink); }
|
|
2122
|
+
.wl-scene-cap.new span { animation: wl-cap .4s cubic-bezier(.16, 1, .3, 1) both; }
|
|
2123
|
+
@keyframes wl-cap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
2124
|
+
.wl-hello { display: grid; gap: 12px; justify-items: start; }
|
|
2125
|
+
.wl-hello .wl-title { font-size: 28px; letter-spacing: -.02em; }
|
|
2126
|
+
.wl-more summary, .wl-what summary { cursor: pointer; list-style: none; }
|
|
2127
|
+
.wl-more summary::-webkit-details-marker, .wl-what summary::-webkit-details-marker { display: none; }
|
|
2128
|
+
.wl-more summary { font-size: 12.5px; color: var(--text-3); }
|
|
2129
|
+
.wl-more summary:hover { color: var(--text-2); }
|
|
2130
|
+
.wl-more[open] summary { margin-bottom: 10px; }
|
|
2131
|
+
.wl-more .wl-tiny { margin: 8px 0 0; }
|
|
2132
|
+
.wl-what { padding: 10px 12px; border-radius: 10px; background: var(--wl-hover); font-size: 13px; color: var(--text-2); }
|
|
2133
|
+
.wl-what summary { color: var(--text); font-weight: 500; }
|
|
2134
|
+
.wl-what summary::before { content: '?'; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--wl-sel); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
|
|
2135
|
+
.wl-what p { margin: 8px 0 0; line-height: 1.5; }
|
|
2136
|
+
.wl-section { margin-top: 6px !important; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
|
|
2137
|
+
.wl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
|
|
2138
|
+
.wl-tile { display: grid; align-content: start; gap: 4px; min-height: 84px; padding: 13px 14px; border: 0; border-radius: 12px; background: var(--wl-canvas); box-shadow: 0 0 0 1px var(--wl-line); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s ease, background .2s ease; }
|
|
2139
|
+
.wl-tile:hover { background: var(--wl-hover); }
|
|
2140
|
+
.wl-tile:focus-visible { outline: 2px solid var(--wl-acc); outline-offset: 2px; }
|
|
2141
|
+
.wl-tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--wl-acc); background: color-mix(in srgb, var(--wl-acc) 8%, var(--wl-canvas)); }
|
|
2142
|
+
.wl-tile b { font-weight: 600; }
|
|
2143
|
+
.wl-tile small { font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
|
|
2144
|
+
.wl-tile:disabled { opacity: .6; cursor: default; }
|
|
2145
|
+
.wl-agent-plan { margin: 0 0 4px; font-size: 13px; line-height: 1.45; color: var(--text); }
|
|
2146
|
+
.wl-agent-notes { display: grid; gap: 2px; }
|
|
2147
|
+
.wl-found { display: grid; gap: 6px; }
|
|
2148
|
+
.wl-found-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 14px; border: 0; border-radius: 10px; background: none; box-shadow: 0 0 0 1px var(--wl-line); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
|
|
2149
|
+
.wl-found-row:hover { background: var(--wl-hover); }
|
|
2150
|
+
.wl-found-row:focus-visible { outline: 2px solid var(--wl-acc); outline-offset: 2px; }
|
|
2151
|
+
.wl-box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--text-3); color: transparent; }
|
|
2152
|
+
.wl-box svg { width: 12px; height: 12px; }
|
|
2153
|
+
.wl-found-row[aria-checked="true"] .wl-box { background: var(--wl-acc); box-shadow: none; color: var(--wl-acc-ink); }
|
|
2154
|
+
.wl-found-words { display: grid; min-width: 0; }
|
|
2155
|
+
.wl-found-words b { font-weight: 500; overflow-wrap: anywhere; }
|
|
2156
|
+
.wl-found-words small { font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; }
|
|
2157
|
+
.wl-from { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
|
|
2158
|
+
.wl-from span { padding: 2px 8px; border-radius: 999px; background: var(--wl-hover); color: var(--text-2); font-size: 11.5px; white-space: nowrap; }
|
|
2159
|
+
.wl-otherways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
2160
|
+
.wl-coordinator { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--wl-line); }
|
|
2161
|
+
.wl-coordinator b { display: block; margin-bottom: 4px; font-weight: 600; }
|
|
2162
|
+
.wl-coordinator p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
|
|
2163
|
+
.wl-coordinator p + p { margin-top: 6px; }
|
|
2164
|
+
.wl-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
|
|
2165
|
+
.wl-model { display: grid; gap: 2px; padding: 11px 13px; border: 0; border-radius: 12px; background: none; box-shadow: 0 0 0 1px var(--wl-line); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
|
|
2166
|
+
.wl-model:hover { background: var(--wl-hover); }
|
|
2167
|
+
.wl-model[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--wl-acc); }
|
|
2168
|
+
.wl-model b { font-weight: 500; }
|
|
2169
|
+
.wl-model small { font-size: 12px; color: var(--text-2); }
|
|
2170
|
+
.wl-model-fit { margin-top: 4px; font-size: 11.5px; color: var(--text-3); }
|
|
2171
|
+
.wl-talk-head { display: flex; align-items: center; gap: 10px; }
|
|
2172
|
+
.wl-talk-head b { display: block; font-weight: 600; }
|
|
2173
|
+
.wl-talk-head small { display: block; font-size: 12px; color: var(--text-3); }
|
|
2174
|
+
.wl-talk-head .wl-chip { margin-left: auto; }
|
|
2175
|
+
.wl-talk-card .wl-msg { grid-template-columns: minmax(0, 1fr); gap: 3px; align-items: start; }
|
|
2176
|
+
.wl-msg-meta { padding: 0 4px; font-size: 11.5px; color: var(--text-3); }
|
|
2177
|
+
.wl-arrived { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--wl-acc) 10%, transparent); font-size: 13px; }
|
|
2178
|
+
.wl-arrived .wl-btn { margin-left: auto; }
|
|
2179
|
+
.wl-ideas { display: grid; gap: 8px; }
|
|
2180
|
+
.wl-idea { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--wl-canvas); box-shadow: 0 0 0 1px var(--wl-line); color: var(--text); font: 450 13.5px var(--read); text-align: left; cursor: pointer; }
|
|
2181
|
+
.wl-idea:hover { background: var(--wl-hover); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wl-acc) 45%, transparent); }
|
|
2182
|
+
.wl-idea:focus-visible { outline: 2px solid var(--wl-acc); outline-offset: 2px; }
|
|
2183
|
+
.wl-idea::after { content: '↗'; margin-left: auto; color: var(--text-3); }
|
|
2184
|
+
@media (prefers-reduced-motion: reduce) { .wl-scene-cap.new span { animation: none; } .wl-tile { transition: none; } }
|
|
2044
2185
|
@media (max-width: 760px) {
|
|
2045
2186
|
.wl-window { grid-template-columns: 1fr; height: calc(100dvh - 48px); }
|
|
2046
2187
|
.wl-rail { display: none; }
|
|
2047
2188
|
}
|
|
2048
2189
|
@media (max-width: 640px) {
|
|
2049
|
-
.wl-split { grid-template-columns: 1fr; }
|
|
2050
2190
|
.wl-content, .wl-actions { padding-left: 18px; padding-right: 18px; }
|
|
2051
2191
|
.wl-actions { flex-wrap: wrap; }
|
|
2052
2192
|
.wl-skipnote { flex-basis: 100%; order: -1; text-align: left; }
|
|
2193
|
+
.wl-otherways { grid-template-columns: 1fr; }
|
|
2194
|
+
.wl-found-row { grid-template-columns: 20px minmax(0, 1fr); }
|
|
2195
|
+
.wl-from { grid-column: 2; justify-content: flex-start; }
|
|
2196
|
+
.wl-scene { height: 150px; }
|
|
2053
2197
|
}
|
|
2054
2198
|
@media (prefers-reduced-motion: reduce) { .wl-bar > i { transition: none; } }
|
|
2055
2199
|
|
|
@@ -2214,3 +2358,131 @@ dialog.home-news .wn-card-line { display: block; -webkit-line-clamp: unset; over
|
|
|
2214
2358
|
/* «En marcha» on Home's bar (2026-10-30): its number in the key's own badge; the line beats while
|
|
2215
2359
|
something runs (styles.css, .activity-button). */
|
|
2216
2360
|
.sm-barkey.activity-button.working { color: var(--s-acc, var(--phosphor)); }
|
|
2361
|
+
|
|
2362
|
+
/* madre-logs (the author's widget, 2026-11-05): four figures, the classes and types as chips, then
|
|
2363
|
+
the errors grouped by level. Each error is its own row: id and level in a column of their own on
|
|
2364
|
+
the left, a hairline between rows, and the level's colour on the row's edge. */
|
|
2365
|
+
.w-madrelogs .sm-w-body { gap: 14px; }
|
|
2366
|
+
.sm-logs-lead { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
|
|
2367
|
+
.sm-logs-fig { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--text) 5%, transparent); }
|
|
2368
|
+
.sm-logs-fig b { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text); }
|
|
2369
|
+
.sm-logs-fig span { font-size: 12px; color: var(--text-2); }
|
|
2370
|
+
.sm-logs-fig.is-due b { color: var(--session-wait, #d9a90f); }
|
|
2371
|
+
.sm-logs-fig.is-busy b { color: var(--s-acc, var(--phosphor)); }
|
|
2372
|
+
.sm-logs-tally { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: start; }
|
|
2373
|
+
.sm-logs-tally-label { padding-top: 3px; font-size: 12px; font-weight: 600; color: var(--text-2); }
|
|
2374
|
+
.sm-logs-chips { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
2375
|
+
.sm-logs-chip { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; color: var(--text-2); background: color-mix(in srgb, var(--text) 7%, transparent); white-space: nowrap; }
|
|
2376
|
+
.sm-logs-group { display: grid; }
|
|
2377
|
+
.sm-logs-group-head { display: flex; align-items: baseline; gap: 8px; padding: 0 0 6px; border-bottom: 1px solid var(--line, color-mix(in srgb, var(--text) 14%, transparent)); font-size: 11.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
|
|
2378
|
+
.sm-logs-group-head small { font-size: 11.5px; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }
|
|
2379
|
+
summary.sm-logs-group-head { cursor: pointer; list-style: none; }
|
|
2380
|
+
summary.sm-logs-group-head::-webkit-details-marker { display: none; }
|
|
2381
|
+
summary.sm-logs-group-head::before { content: '▸'; margin-right: 2px; }
|
|
2382
|
+
.sm-logs-wait[open] > summary.sm-logs-group-head::before { content: '▾'; }
|
|
2383
|
+
.sm-logs-item {
|
|
2384
|
+
--lv: var(--text-3);
|
|
2385
|
+
display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 10px 0 10px 10px;
|
|
2386
|
+
border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); box-shadow: inset 2px 0 0 var(--lv);
|
|
2387
|
+
}
|
|
2388
|
+
.sm-logs-item:last-child { border-bottom: 0; }
|
|
2389
|
+
.lv-urgent { --lv: var(--danger, #e5484d); }
|
|
2390
|
+
.lv-minor { --lv: var(--session-wait, #d9a90f); }
|
|
2391
|
+
.lv-look { --lv: #5b9cf5; }
|
|
2392
|
+
.lv-watch, .lv-decide { --lv: var(--text-3); }
|
|
2393
|
+
.lv-work { --lv: #8b7cf6; }
|
|
2394
|
+
.lv-done { --lv: var(--session-ok, var(--s-acc)); }
|
|
2395
|
+
.sm-logs-side { display: grid; align-content: start; gap: 4px; }
|
|
2396
|
+
.sm-logs-id { justify-self: start; padding: 0; background: none; font-size: 12.5px; font-weight: 650; color: var(--text); }
|
|
2397
|
+
.sm-logs-level { justify-self: start; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 650; color: var(--lv); background: color-mix(in srgb, var(--lv) 14%, transparent); }
|
|
2398
|
+
.sm-logs-main { display: grid; gap: 5px; min-width: 0; }
|
|
2399
|
+
.sm-logs-top { display: flex; align-items: flex-start; gap: 10px; }
|
|
2400
|
+
.sm-logs-title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
|
|
2401
|
+
.sm-logs-state { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11px; color: var(--text-2); background: color-mix(in srgb, var(--text) 8%, transparent); }
|
|
2402
|
+
.is-en-curso .sm-logs-state { color: var(--s-acc, var(--phosphor)); background: color-mix(in srgb, var(--s-acc, var(--phosphor)) 16%, transparent); }
|
|
2403
|
+
.sm-logs-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--text-3); }
|
|
2404
|
+
/* The agent that has an error or a task: Claude, Codex or Antigravity, each in its own colour. */
|
|
2405
|
+
.sm-logs-agent { --ag: var(--text-2); flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 650; color: var(--ag); background: color-mix(in srgb, var(--ag) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ag) 40%, transparent); }
|
|
2406
|
+
.sm-logs-agent.ag-claude { --ag: #d97757; }
|
|
2407
|
+
.sm-logs-agent.ag-codex { --ag: #10a37f; }
|
|
2408
|
+
.sm-logs-agent.ag-antigravity { --ag: #5b9cf5; }
|
|
2409
|
+
.sm-logs-working { gap: 0; }
|
|
2410
|
+
.sm-logs-work { display: grid; gap: 3px; padding: 9px 0 9px 10px; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); box-shadow: inset 2px 0 0 var(--s-acc, var(--phosphor)); }
|
|
2411
|
+
.sm-logs-work:last-child { border-bottom: 0; }
|
|
2412
|
+
.sm-logs-zone { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--text-3); }
|
|
2413
|
+
.sm-logs-work.is-loose { box-shadow: inset 2px 0 0 var(--session-wait, #d9a90f); }
|
|
2414
|
+
.sm-logs-work.is-loose .sm-logs-title { color: var(--session-wait, #d9a90f); }
|
|
2415
|
+
.sm-logs-work.is-done { box-shadow: inset 2px 0 0 var(--text-3); }
|
|
2416
|
+
.sm-logs-work.is-done .sm-logs-title { color: var(--text-2); font-weight: 500; }
|
|
2417
|
+
.sm-logs-when { flex: none; font-size: 11.5px; color: var(--text-3); }
|
|
2418
|
+
.sm-logs-meta code { font-size: 11px; }
|
|
2419
|
+
.sm-logs-move { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); font-size: 12.5px; color: var(--text-2); }
|
|
2420
|
+
.sm-logs-move:last-child { border-bottom: 0; }
|
|
2421
|
+
.sm-logs-move span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2422
|
+
.sm-logs-move small { flex: none; font-size: 11.5px; color: var(--text-3); }
|
|
2423
|
+
@media (max-width: 640px) { .sm-logs-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
2424
|
+
|
|
2425
|
+
/* The author's notices widget (Q-11): what is out, then the form with its preview in both languages. */
|
|
2426
|
+
.sm-notice-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
|
|
2427
|
+
.sm-notice-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line, rgba(0,0,0,.1)); }
|
|
2428
|
+
.sm-notice-row > small { grid-column: 1; color: var(--text-3, inherit); }
|
|
2429
|
+
.sm-notice-row > button { grid-row: 1 / span 2; grid-column: 2; }
|
|
2430
|
+
.sm-notice-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
|
|
2431
|
+
.sm-notice-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
2432
|
+
.sm-notice-field > small { color: var(--text-3, inherit); font-size: 11.5px; }
|
|
2433
|
+
.sm-notice-field :is(input, textarea, select) { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line, rgba(0,0,0,.15)); background: var(--surface, transparent); color: inherit; min-width: 0; }
|
|
2434
|
+
.sm-notice-field textarea { resize: vertical; }
|
|
2435
|
+
.sm-notice-systems { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
|
|
2436
|
+
.sm-notice-preview { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
2437
|
+
.sm-notice-form > button { justify-self: start; }
|
|
2438
|
+
.sm-notice-said { grid-column: 1 / -1; color: var(--text-3, inherit); }
|
|
2439
|
+
@media (max-width: 720px) { .sm-notice-form, .sm-notice-preview { grid-template-columns: 1fr; } }
|
|
2440
|
+
.sm-notice-form > .sm-notice-field:first-child { grid-column: 1 / -1; max-width: 260px; }
|
|
2441
|
+
.sm-hero .sm-notices { width: 100%; align-self: stretch; }
|
|
2442
|
+
|
|
2443
|
+
/* Secondary keys, quieter (7 Nov): Home's white keys wear the same faint shade as the project's
|
|
2444
|
+
(styles.css, --key-soft); the green ones keep theirs. */
|
|
2445
|
+
.sm-btn:not(.primary):not(.danger):not(.go):not(.quiet):not(.ghost) { box-shadow: var(--key-soft, var(--key-rest)); }
|
|
2446
|
+
.sm-btn:not(.primary):not(.danger):not(.go):not(.quiet):not(.ghost):hover { box-shadow: var(--key-soft-over, var(--key-over)); }
|
|
2447
|
+
.sm-btn:not(.primary):not(.danger):not(.go):not(.quiet):not(.ghost):active { box-shadow: var(--key-down); }
|
|
2448
|
+
|
|
2449
|
+
/* A connection, in order (7 Nov): the pair leads, then what crosses, its terms and its switches,
|
|
2450
|
+
each under a small heading, and at the foot the readings and the way out on one line. */
|
|
2451
|
+
.sm-link-list .sm-link { gap: 14px; padding: 18px 20px; }
|
|
2452
|
+
.sm-link-list .sm-link > .sm-link-kind { font: 600 11.5px var(--read); letter-spacing: .02em; color: var(--s-acc); margin-bottom: -6px; }
|
|
2453
|
+
.sm-link-list .sm-link > .sm-link-pair { padding-bottom: 12px; border-bottom: 1px solid var(--cs-line, var(--line)); }
|
|
2454
|
+
.sm-link-list .sm-link .sm-link-end { width: 34px; height: 34px; }
|
|
2455
|
+
.sm-link-list .sm-link .sm-link-end-words b { font-size: 15px; font-weight: 650; }
|
|
2456
|
+
.sm-link-part { display: grid; gap: 7px; }
|
|
2457
|
+
.sm-link-part-title { font: 600 11.5px var(--read); letter-spacing: .02em; color: var(--text-3); }
|
|
2458
|
+
.sm-link-tags.terms .sm-link-tag { background: transparent; }
|
|
2459
|
+
.sm-link-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }
|
|
2460
|
+
.sm-link-foot .traffic { margin: 0; min-width: 0; }
|
|
2461
|
+
.sm-link-list .sm-link > .sm-link-foot .sm-actions { margin: 0; justify-content: flex-end; flex: none; }
|
|
2462
|
+
@media (max-width: 520px) { .sm-link-foot { flex-wrap: wrap; } }
|
|
2463
|
+
|
|
2464
|
+
/* Connections, folded (7 Nov): one even row each — the two ends on either side of a centred arrow,
|
|
2465
|
+
the same widths in every row, its kind, readings and what crosses under it — that unfolds in
|
|
2466
|
+
place. The list is one column, so many connections are read top to bottom without hunting. */
|
|
2467
|
+
.sm-link-list { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
|
|
2468
|
+
.sm-link-list .sm-link { display: block; padding: 0 !important; gap: 0 !important; overflow: hidden; }
|
|
2469
|
+
.sm-link-summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; grid-template-rows: auto auto; align-items: center; gap: 4px 8px; padding: 12px 16px; list-style: none; cursor: pointer; border-radius: inherit; }
|
|
2470
|
+
.sm-link-summary::-webkit-details-marker { display: none; }
|
|
2471
|
+
.sm-link-summary:hover { background: color-mix(in srgb, var(--text) 3%, transparent); }
|
|
2472
|
+
.sm-link-summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--s-acc) 55%, transparent); }
|
|
2473
|
+
.sm-link-summary > .sm-link-pair { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 120px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 0 !important; border: 0 !important; }
|
|
2474
|
+
.sm-link-summary .sm-link-end-box.left { justify-self: end; flex-direction: row-reverse; text-align: right; }
|
|
2475
|
+
.sm-link-summary .sm-link-end-box.right { justify-self: start; }
|
|
2476
|
+
.sm-link-summary .sm-link-end { width: 30px !important; height: 30px !important; }
|
|
2477
|
+
.sm-link-summary .sm-link-end-words b { font-size: 14px !important; font-weight: 600 !important; }
|
|
2478
|
+
.sm-link-summary .sm-link-arrow { max-width: none; width: 100%; }
|
|
2479
|
+
.sm-link-meta { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 8px; font: 450 12px var(--read); color: var(--text-3); }
|
|
2480
|
+
.sm-link-meta b { font-weight: 600; color: var(--s-acc); }
|
|
2481
|
+
.sm-link-meta > span:not(.sm-link-dots)::before { content: '·'; margin-right: 8px; color: var(--text-3); }
|
|
2482
|
+
.sm-link-dots { display: inline-flex; gap: 3px; }
|
|
2483
|
+
.sm-link-dots i { width: 6px; height: 6px; border-radius: 50%; }
|
|
2484
|
+
.sm-link-dots i.k-decision { background: var(--mem-decision); } .sm-link-dots i.k-fact { background: var(--mem-fact); } .sm-link-dots i.k-preference { background: var(--mem-preference); } .sm-link-dots i.k-question { background: var(--mem-question); }
|
|
2485
|
+
.sm-link-chevron { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg) translateY(-2px); transition: transform calc(160ms * var(--motion-scale, 1)) ease; }
|
|
2486
|
+
.sm-link[open] > .sm-link-summary .sm-link-chevron { transform: rotate(225deg) translate(-2px, 0); }
|
|
2487
|
+
.sm-link[open] > .sm-link-summary { border-bottom: 1px solid var(--cs-line, var(--line)); border-radius: 0; }
|
|
2488
|
+
.sm-link-body { display: grid; gap: 14px; padding: 14px 18px 16px; }
|
package/public/salas-mac.html
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>MADRE · Lobby</title>
|
|
8
|
+
<!-- The ficha (src/ficha.mjs): a 401 that asks for it means this tab's was replaced (MADRE started
|
|
9
|
+
again and opened a new one); the page reloads into the page that says where to open MADRE. -->
|
|
10
|
+
<script>(function () { var ask = window.fetch; window.fetch = function () { return ask.apply(this, arguments).then(function (answer) { if (answer.status === 401 && answer.headers.get('x-madre-ficha') === 'needed') location.reload(); return answer; }); }; })();</script>
|
|
8
11
|
<link rel="icon" type="image/svg+xml" href="/assets/brand/madre-favicon.svg">
|
|
9
12
|
<link rel="stylesheet" href="/styles.css">
|
|
10
13
|
<link rel="stylesheet" href="/salas-mac.css">
|