Restyle the web console and tidy its labels, Ask tab, cleanup and help

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-17 18:08:01 -08:00
1 parent 710c751c2f
commit e9679c47b9
103 files changed
+4054 -2273

No files matched your search

+2 -6
View File
@@ -2,10 +2,6 @@
your-turn banner and the notes. The game draws its own board on the canvas. */
/* The top bar's die, drawn and lit like the megaphone and the gear beside it. */
.icon-btn .dc-body { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.icon-btn .dc-pip { fill: var(--ink-2); stroke: none; }
.icon-btn:hover .dc-body { stroke: var(--accent); }
.icon-btn:hover .dc-pip { fill: var(--accent); }
/* Show Activities off in User Preferences: .icon-btn's grid would beat the
attribute's own display. */
#btn-activities[hidden] { display: none; }
@@ -280,7 +276,7 @@
}
.activities-order-pill:hover { border-color: var(--accent-line); color: var(--ink); }
.activities-order-pill[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.activities-order-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.activities-order-pill:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.activities-count { margin-left: auto; color: var(--ink-3); font-size: 0.9em; font-weight: 600; font-variant-numeric: tabular-nums; }
.activities-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container (min-width: 640px) {
@@ -303,7 +299,7 @@
}
.activities-row:hover,
.activities-row:focus-visible { border-color: var(--accent-line); background: var(--panel-2); }
.activities-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.activities-row:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.activities-row .activities-cover { border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; }
.activities-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.activities-row-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
+62 -93
View File
@@ -1,8 +1,6 @@
/* agents.css: the Agents & models view - a master-detail split shared by User
Preferences' tab and the agent-less setup page. The list is pinned left;
the right pane holds the picked agent's form (prefs), the picked entry's
state and way forward (setup), or the empty text. Every rule that used to
be spread over prefs.css and responsive.css lives here. */
/* agents.css: the Agents & models view, a master-detail split shared by
Preferences' tab and the agent-less setup page. List left; the pane holds
the agent's form (prefs), the entry's state (setup), or the empty text. */
/* ------------------------------------------------------------- the mount */
@@ -10,7 +8,7 @@
.prefs-agents > .help { margin: 0; }
.prefs-agents [hidden], .setup-agents [hidden] { display: none; }
[data-av="status"]:empty { display: none; }
[data-av="status"].error { color: var(--danger, #d64545); }
[data-av="status"].error { color: var(--warn); }
/* ----------------------------------------------------------- the split */
@@ -29,7 +27,7 @@
min-width: 0;
background: var(--panel-2);
}
.split-list-head { padding: 8px 12px 2px; color: var(--ink-3); font-size: 13px; }
.split-list-head { padding: 8px 12px 2px; color: var(--ink-3); font-size: var(--fs-sm); }
.split-row {
appearance: none;
font: inherit;
@@ -45,11 +43,11 @@
}
.split-row:hover { background: var(--accent-soft); }
.split-row[aria-current="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.split-row .row-name { font-weight: 600; font-size: 13.5px; }
.split-row .row-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.split-row .row-name { font-weight: 600; font-size: var(--fs-md); }
.split-row .row-sub { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--ink-3); flex-wrap: wrap; }
.split-row .row-sub code { color: var(--ink-3); }
.split-row .row-models { color: var(--ink-2); overflow-wrap: anywhere; }
.split-row .row-note { display: block; margin-top: 2px; font-size: 12px; }
.split-row .row-note { display: block; margin-top: 2px; font-size: var(--fs-xs); }
.split-row.soon { color: var(--ink-3); font-style: italic; cursor: default; }
.split-add { margin: 8px; align-self: flex-start; }
@@ -60,70 +58,54 @@
align-content: start;
min-width: 0;
}
.split-empty { color: var(--ink-3); display: grid; place-items: center; min-height: 240px; text-align: center; }
/* ------------------------------------------------------------- badges */
.prefs-badge, .prefs-unsaved-badge {
display: inline-block;
font-size: 11.5px;
line-height: 1.5;
padding: 0 7px;
border-radius: 10px;
background: var(--panel-2);
color: var(--ink-3);
white-space: nowrap;
}
.split-row .prefs-badge { background: var(--panel); }
.prefs-badge.ok { color: var(--ok); }
.prefs-badge.missing { color: var(--warn); }
.prefs-unsaved-badge { background: none; border: 1px solid var(--warn); color: var(--warn); }
/* -------------------------------------------------------------- the form */
.form-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prefs-agents-title { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 15px; }
.prefs-agents-title code { font-size: 12px; color: var(--ink-3); }
.prefs-agents-title { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: var(--fs-base); }
.prefs-agents-title code { font-size: var(--fs-xs); color: var(--ink-3); }
.prefs-agents-title:focus { outline: none; }
.prefs-agents-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.prefs-agents-fields input { min-width: 0; }
.prefs-agents-fields input.invalid, .split-pane input.invalid { border-color: var(--danger, #d64545); }
.prefs-agents-fields input.invalid, .split-pane input.invalid { border-color: var(--warn); }
.agent-field { display: grid; gap: 4px; min-width: 0; }
.agent-field > span, .agent-field > label { font-size: 0.85em; opacity: 0.85; }
.agent-field > span, .agent-field > label { font-size: var(--fs-sm); color: var(--ink-2); }
.agent-rows { display: grid; gap: 4px; }
.agent-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.agent-row.model { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.agent-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agent-foot .help { margin: 0; }
.prefs-agents-test .agent-test-result { flex: 1 1 auto; }
.agent-error { margin: 0; color: var(--danger, #d64545); font-size: 0.9em; }
.agent-error { margin: 0; color: var(--warn); font-size: var(--fs-sm); }
.prefs-agents-test { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.prefs-agents-test .help { margin: 0; }
.prefs-agents-none { margin: 0; }
/* A folded section (Models, Command-line arguments): the picked design keeps
both behind a summary line until opened. */
/* Folded sections (Models, Command-line arguments). */
.agent-fold { display: grid; gap: 8px; }
.agent-fold > summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.agent-fold > summary { cursor: pointer; color: var(--accent); font-size: var(--fs-sm); }
.agent-fold[open] > summary { margin-bottom: 4px; }
.agent-fold > .agent-field + .agent-field, .agent-fold > .models-note + .agent-field { margin-top: 8px; }
.prefs-agents-args > .agent-field + .agent-field { margin-top: 8px; }
/* The Saved mark sits in the form's foot, in the flow, after the buttons. */
/* The Saved mark flows in the foot after the buttons. */
.prefs-agents-foot > .prefs-saved { position: static; max-width: none; text-align: left; }
/* ------------------------------------------------------------- models lists */
.models-note { font-size: 0.9em; opacity: 0.85; }
.models-note { font-size: var(--fs-sm); color: var(--ink-2); }
.models-note p, .models-note ul { margin: 0 0 6px; }
.models-note ul { padding-left: 18px; }
.models-list { display: grid; gap: 4px; max-height: 160px; overflow: auto; }
.models-list:empty { display: none; }
.models-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.models-row.locked { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: 0.88em; opacity: 0.75; }
.models-row.locked { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: var(--fs-sm); color: var(--ink-3); }
.models-row input { min-width: 0; }
/* --------------------------------------------------------- the setup pane */
@@ -133,7 +115,7 @@
.setup-agent-line {
margin: 0;
color: var(--ink-2);
font-size: 13px;
font-size: var(--fs-sm);
}
.setup-install {
display: flex;
@@ -144,9 +126,9 @@
}
.setup-install code {
background: var(--panel-2);
border-radius: 6px;
border-radius: var(--radius-sm);
padding: 2px 7px;
font-size: 12px;
font-size: var(--fs-xs);
}
/* --------------------------------------------------------- narrow screens */
@@ -162,16 +144,15 @@
.strength-row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.strength-row:has(select + select) { grid-template-columns: 5.5em minmax(0, 1fr) minmax(0, 8em) auto; }
.strength-row select { min-width: 0; }
.strength-word { font-size: 0.9em; }
.strength-default { margin: 0; font-size: 0.8em; color: var(--ink-3); }
.strength-word { font-size: var(--fs-sm); }
.strength-default { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); }
.strength-empty, .strength-offer { margin: 0; }
/* ------------------------------------------------- Preferences: the roster */
/* The Agents & models tab in User Preferences: a roster of cards, the picked
agent's form in a drawer over it, and the Add agent chooser over both. The
drawer and chooser sit in the tab's own box (absolute) and stick to the top
of the dialog's scroll, so they stay in view on a long roster. */
/* Roster of cards, the agent's form in a drawer over it, the Add agent
chooser over both. Drawer and chooser are absolute in the tab and stick to
the dialog's scroll top, staying in view on a long roster. */
.prefs-agents { position: relative; min-height: 520px; align-content: start; }
.roster-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.roster-head > .help { max-width: 62ch; }
@@ -192,16 +173,16 @@
align-content: start;
min-width: 0;
}
.agent-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); }
.agent-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-2); }
.agent-card[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.agent-card .card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.agent-card .card-who { display: grid; gap: 2px; min-width: 0; }
.agent-card .row-name { font-weight: 700; font-size: 14.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.agent-card .card-who code { color: var(--ink-3); font-size: 12px; }
.agent-card .card-tiers { display: grid; gap: 5px; background: var(--panel-2); border-radius: 8px; padding: 8px 10px; }
.agent-card .card-tier { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; }
.agent-card .row-name { font-weight: 700; font-size: var(--fs-base); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.agent-card .card-who code { color: var(--ink-3); font-size: var(--fs-xs); }
.agent-card .card-tiers { display: grid; gap: 5px; background: var(--panel-2); border-radius: var(--radius-md); padding: 8px 10px; }
.agent-card .card-tier { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 8px; align-items: center; font-size: var(--fs-sm); }
.agent-card .card-tier .muted, .strength-model.none { color: var(--ink-3); font-style: italic; }
.agent-card .card-foot { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; }
.agent-card .card-foot { display: flex; justify-content: space-between; color: var(--ink-3); font-size: var(--fs-xs); }
.agent-card .card-edit { color: var(--accent); font-weight: 600; }
.agent-card .row-note { margin: 0; }
.agent-card.ghost {
@@ -214,31 +195,19 @@
min-height: 150px;
color: var(--ink-2);
}
.agent-card.ghost .plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.agent-card.ghost .muted { font-size: 12.5px; color: var(--ink-3); }
.agent-card.ghost .plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: var(--fs-h2); }
.agent-card.ghost .muted { font-size: var(--fs-sm); color: var(--ink-3); }
.tag {
display: inline-block;
font-size: 11.5px;
font-weight: 500;
line-height: 1.5;
padding: 0 7px;
border-radius: 10px;
border: 1px solid var(--rule-2);
background: var(--panel-2);
color: var(--ink-3);
white-space: nowrap;
}
/* Thrifty, Balanced and Best take the rank colors (see tokens.css). */
.tier {
display: inline-block;
justify-self: start;
font-size: 11.5px;
font-size: var(--fs-xs);
font-weight: 600;
line-height: 1.5;
padding: 0 8px;
border-radius: 10px;
border-radius: var(--radius);
white-space: nowrap;
}
.tier.t-thrifty { color: var(--lvl-1); background: var(--lvl-1-soft); }
@@ -247,9 +216,9 @@
/* ---------------------------------------------------------------- the drawer */
.agents-drawer, .agents-chooser { position: absolute; inset: 0; z-index: 5; }
.agents-drawer, .agents-chooser { position: absolute; inset: 0; z-index: var(--z-sticky); }
.agents-drawer[hidden], .agents-chooser[hidden] { display: none; }
.drawer-scrim, .chooser-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(1px); }
.drawer-scrim, .chooser-scrim { position: absolute; inset: 0; background: var(--scrim); }
.drawer {
position: sticky;
top: 0;
@@ -262,16 +231,16 @@
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: var(--radius);
box-shadow: var(--shadow);
box-shadow: var(--shadow-3);
overflow: hidden;
}
.drawer .form-head { padding: 14px 16px 6px; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.drawer .prefs-agents-title { font-size: 16px; flex-wrap: wrap; }
.drawer .prefs-agents-title { font-size: var(--fs-h4); flex-wrap: wrap; }
.agent-tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--rule); }
.agent-tab {
appearance: none;
font: inherit;
font-size: 13px;
font-size: var(--fs-sm);
background: none;
border: 0;
border-bottom: 2px solid transparent;
@@ -280,40 +249,40 @@
cursor: pointer;
}
.agent-tab:hover { color: var(--ink); }
.agent-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.agent-tab[aria-selected="true"] { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }
.agent-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px 16px; display: grid; gap: 12px; align-content: start; }
.drawer .prefs-agents-foot { border-top: 1px solid var(--rule); padding: 10px 16px; background: var(--panel); }
/* Nothing to offer on a clean built-in: no empty bar. */
.drawer .prefs-agents-foot:not(:has(> :not([hidden]))) { display: none; }
/* The same form on the setup page's split pane is not a drawer: let it flow. */
/* In the setup split pane the form is not a drawer: let it flow. */
.split-pane .agent-body { overflow: visible; padding: 12px 0 0; }
.split-pane .agent-tabs { padding: 0; }
.note { background: var(--accent-soft); color: var(--ink); border-radius: 8px; padding: 9px 12px; font-size: 13px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 13px; }
.note { padding: 9px 12px; font-size: var(--fs-sm); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: var(--fs-sm); }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
/* In the loop: the three words, what each resolves to, and the model pills. */
/* In the loop: the three words, what they resolve to, the model pills. */
.strength-body .strength-row { grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto auto; }
.strength-body .strength-row:not(:has(select)) { grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto; }
.strength-word { display: grid; gap: 1px; font-size: inherit; }
.strength-word small { font-size: 11.5px; }
.strength-model { overflow-wrap: anywhere; font-size: 13px; }
.strength-word small { font-size: var(--fs-xs); }
.strength-model { overflow-wrap: anywhere; font-size: var(--fs-sm); }
.models-tip { margin: 0; }
.models-list { max-height: none; }
.models-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 4px 6px; border-radius: 6px; font-size: 13px; }
.models-row.locked { grid-template-columns: minmax(0, 1fr) auto auto; font-size: 13px; opacity: 1; }
.models-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 4px 6px; border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.models-row.locked { grid-template-columns: minmax(0, 1fr) auto auto; font-size: var(--fs-sm); color: inherit; }
.models-row:hover { background: var(--panel-2); }
.model-name { display: grid; min-width: 0; overflow-wrap: anywhere; }
.model-name code { font-size: 11.5px; color: var(--ink-3); }
.model-name code { font-size: var(--fs-xs); color: var(--ink-3); }
.strength-pills { display: inline-flex; gap: 4px; }
.strength-pill {
appearance: none;
font: inherit;
font-size: 11.5px;
font-size: var(--fs-xs);
padding: 1px 9px;
border-radius: 10px;
border-radius: var(--radius);
border: 1px solid var(--rule-2);
background: transparent;
color: var(--ink-3);
@@ -339,11 +308,11 @@
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: var(--radius);
box-shadow: var(--shadow);
box-shadow: var(--shadow-3);
padding: 16px 18px 18px;
}
.chooser-head { display: flex; justify-content: space-between; align-items: center; }
.chooser-head h3 { margin: 0; font-size: 16px; }
.chooser-head h3 { margin: 0; font-size: var(--fs-h4); }
.chooser-sheet > .help { margin: 0; }
.chooser-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chooser-tile {
@@ -353,23 +322,23 @@
color: var(--ink);
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
padding: 10px 12px;
cursor: pointer;
display: grid;
gap: 3px;
font-size: 13px;
font-size: var(--fs-sm);
}
.chooser-tile:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.chooser-tile:disabled { opacity: 0.55; cursor: default; }
.chooser-tile b { font-size: 14px; }
.chooser-tile code { color: var(--ink-3); font-size: 12px; }
.chooser-tile b { font-size: var(--fs-md); }
.chooser-tile code { color: var(--ink-3); font-size: var(--fs-xs); }
.chooser-tile .muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-3); }
.chooser-tile.wide { border-style: dashed; }
.chooser-state { font-size: 12px; color: var(--ink-3); }
.chooser-state { font-size: var(--fs-xs); color: var(--ink-3); }
.chooser-state.ok { color: var(--ok); }
.chooser-state.missing { color: var(--warn); }
.chooser-or { text-align: center; color: var(--ink-3); font-size: 12px; display: flex; align-items: center; gap: 10px; }
.chooser-or { text-align: center; color: var(--ink-3); font-size: var(--fs-xs); display: flex; align-items: center; gap: 10px; }
.chooser-or::before, .chooser-or::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
@media (max-width: 720px) {
@@ -382,4 +351,4 @@
.model-add { grid-template-columns: 1fr; }
}
.drawer .help, .chooser-sheet .help, .strength-offer { font-size: 12.5px; color: var(--ink-3); }
.drawer .help, .chooser-sheet .help, .strength-offer { font-size: var(--fs-sm); color: var(--ink-3); }
+25 -43
View File
@@ -13,7 +13,7 @@
background: var(--panel);
border: 1px solid var(--rule);
border-radius: var(--radius);
box-shadow: var(--shadow);
box-shadow: var(--shadow-1);
overflow: hidden;
}
.ask-head {
@@ -22,8 +22,8 @@
padding: 16px 22px 14px;
border-bottom: 1px solid var(--rule);
}
.ask-head h2 { font: 600 21px/1.2 var(--serif); margin: 0; flex: 1; }
.ask-counter { font: 700 12px/1 var(--mono); color: var(--ink-3); }
.ask-head h2 { font: 600 var(--fs-h2)/1.2 var(--serif); margin: 0; flex: 1; }
.ask-counter { font: 700 var(--fs-xs)/1 var(--mono); color: var(--ink-3); }
.ask-list {
flex: 1 1 auto;
@@ -35,58 +35,41 @@
}
/* An empty conversation's starter questions, centered where the list is empty. */
.ask-starters { display: flex; flex-direction: column; gap: 6px; margin: auto 0; width: 100%; max-width: 520px; align-self: center; }
.ask-starters-lead { color: var(--ink-3); font-size: 13.5px; margin: 0 0 4px; text-align: center; }
.ask-starter {
width: 100%;
padding: 9px 13px;
border: 1px solid var(--rule);
border-radius: var(--radius);
background: var(--panel);
font: inherit;
font-size: 13.5px;
color: var(--ink-2);
text-align: left;
cursor: pointer;
}
.ask-starters-lead { color: var(--ink-3); font-size: var(--fs-md); margin: 0 0 4px; text-align: center; }
.ask-starter { width: 100%; font-weight: 400; color: var(--ink-2); text-align: left; }
.ask-starter:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
.ask-starter:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ask-starter:disabled { opacity: 0.55; cursor: not-allowed; }
.ask-row {
max-width: 86%;
border-radius: var(--radius);
padding: 10px 14px;
font-size: 14px;
font-size: var(--fs-md);
border: 1px solid var(--rule);
}
.ask-row.person { align-self: flex-end; background: var(--accent-soft); border-color: var(--accent-line); }
.ask-row.pending { border-style: dashed; background: transparent; }
.ask-row.agent { align-self: flex-start; background: var(--panel-2); }
.ask-row.decision { align-self: flex-end; background: transparent; border-style: dashed; color: var(--ink-2); font-size: 13px; }
.ask-row.decision { align-self: flex-end; background: transparent; border-style: dashed; color: var(--ink-2); font-size: var(--fs-sm); }
.ask-row .md { max-width: none; }
.ask-row .md > :first-child { margin-top: 0; }
.ask-row .md > :last-child { margin-bottom: 0; }
.ask-row .attach-tray { margin: 8px 0 0; }
.ask-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-about { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; color: var(--accent); }
.ask-about { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }
.ask-decision { margin: 0; font-weight: 600; }
.ask-decision.working { display: flex; align-items: center; gap: 8px; }
.ask-waiting { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.ask-waiting { margin: 6px 0 0; font-size: var(--fs-xs); color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.ask-failed { color: var(--warn); }
.ask-proposal {
margin-top: 10px; padding: 10px 12px;
border: 1px solid var(--stage); border-radius: 8px;
background: var(--stage-soft);
}
.ask-proposal { margin-top: 10px; padding: 10px 12px; }
.ask-proposal .note-kicker { margin-bottom: 4px; }
.ask-proposal-files, .ask-changed { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; }
.ask-proposal-files, .ask-changed { margin: 6px 0 0; padding-left: 18px; font-size: var(--fs-sm); }
.ask-proposal-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.ask-proposal-actions input[type="text"] { flex: 1 1 200px; width: auto; padding: 7px 10px; }
.ask-decided { margin: 8px 0 0; font-weight: 700; font-size: 13px; }
.ask-decided { margin: 8px 0 0; font-weight: 700; font-size: var(--fs-sm); }
.ask-decided.approve { color: var(--ok); }
.ask-decided.decline { color: var(--ink-2); }
.ask-changed-count { font: 12px/1 var(--mono); color: var(--ink-3); }
.ask-changed-count { font: var(--fs-xs)/1 var(--mono); color: var(--ink-3); }
.ask-composer {
flex: none;
@@ -100,9 +83,9 @@
.ask-about-chip {
display: inline-flex; align-items: center; gap: 8px;
margin-bottom: 8px; padding: 3px 4px 3px 11px;
border: 1px solid var(--accent-line); border-radius: 99px;
border: 1px solid var(--accent-line); border-radius: var(--radius-pill);
background: var(--accent-soft); color: var(--accent);
font-size: 12px; font-weight: 600;
font-size: var(--fs-xs); font-weight: 600;
max-width: 100%;
}
.ask-about-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -115,7 +98,7 @@
position: absolute;
left: 0;
bottom: calc(100% + 4px);
z-index: 20;
z-index: var(--z-pop);
display: flex;
flex-direction: column;
min-width: 220px;
@@ -126,7 +109,7 @@
border: 1px solid var(--rule-2);
border-radius: var(--radius);
background: var(--panel);
box-shadow: var(--shadow);
box-shadow: var(--shadow-2);
}
.ask-context-item {
display: flex;
@@ -134,10 +117,10 @@
gap: 10px;
padding: 7px 10px;
border: 0;
border-radius: 6px;
border-radius: var(--radius-sm);
background: transparent;
font: inherit;
font-size: 13px;
font-size: var(--fs-sm);
color: var(--ink);
text-align: left;
cursor: pointer;
@@ -145,24 +128,23 @@
.ask-context-item:hover,
.ask-context-item:focus-visible { background: var(--accent-soft); outline: none; }
.ask-context-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-context-kind { flex: none; font-size: 11px; color: var(--ink-3); }
.ask-context-kind { flex: none; font-size: var(--fs-2xs); color: var(--ink-3); }
.ask-actions .btn.primary { margin-left: auto; }
.ask-send-hint { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ask-send-hint { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.ask-send-hint + .btn.primary { margin-left: 0; }
/* The wake-the-agent offer when nobody is there: a button (or, in a browser, a
line) pushed right so it sits directly left of Send. */
.ask-actions .ask-reconnect { margin-left: auto; }
.ask-actions .ask-reconnect + .btn.primary { margin-left: 0; }
p.ask-reconnect { margin-top: 0; margin-bottom: 0; font-size: 12.5px; }
.ask-count { font: 12px/1 var(--mono); color: var(--ink-3); }
p.ask-reconnect { margin-top: 0; margin-bottom: 0; font-size: var(--fs-sm); }
.ask-count { font: var(--fs-xs)/1 var(--mono); color: var(--ink-3); }
.ask-count.is-over { color: var(--warn); font-weight: 700; }
.ask-error { color: var(--warn); font-size: 13px; margin: 8px 0 0; }
.ask-error { color: var(--warn); font-size: var(--fs-sm); margin: 8px 0 0; }
/* The two reasons Send is off read differently, as their wording does: the
limit is a plain fact, the missing agent is something to fix. */
.ask-disabled-note { margin: 0; font-size: 12.5px; line-height: 1.35; padding: 6px 10px; border-radius: 8px; }
.ask-disabled-note { margin: 0; font-size: var(--fs-sm); line-height: 1.35; padding: 6px 10px; border-radius: var(--radius-md); }
.ask-disabled-note.is-limit, .ask-disabled-note.is-waiting { color: var(--ink-2); background: var(--panel-2); border: 1px solid var(--rule); }
.ask-disabled-note.is-offline { color: var(--warn); background: var(--warn-soft); border: 1px solid var(--warn); }
/* Waiting on Plan2Code (an Ask answer, or answers sent from Questions):
the tiny ring, left of the label. The extra .spinner is for specificity:
+149 -220
View File
@@ -2,47 +2,34 @@
/* ------------------------------------------------------------ dashboard */
/* The dashboard replaces the question column with a menu, and the send bar
with a click on a card. `hidden` alone loses to the bar's own display
rule, so it needs saying here. */
/* The dashboard replaces the question column and send bar. `hidden` alone loses to the bar's display rule. */
.footer[hidden] { display: none; }
/* The menu follows the Card width setting like the question column does. */
/* Follows the Card width setting. */
.dash { max-width: min(var(--card-width), 100%); padding-top: 8px; }
.dash-title { margin: 6px 0 8px; font: 600 clamp(26px, 4vw, 36px)/1.1 var(--serif); }
.dash-note { margin: 0 0 26px; font-size: 14.5px; color: var(--ink-2); }
/* The first-run role nudge: one line above the title, wrapping on a narrow
window, until looks.json carries a role. */
.dash-note { margin: 0 0 26px; font-size: var(--fs-base); color: var(--ink-2); }
/* First-run role nudge, shown until looks.json carries a role. */
.dash-nudge {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 14px;
margin: 0 0 18px;
padding: 10px 14px;
background: var(--accent-soft);
border: 1px solid var(--accent-line);
border-radius: var(--radius);
color: var(--ink);
font-size: 14px;
font-size: var(--fs-md);
}
.dash-nudge-text { flex: 1 1 16em; }
/* The session meter at red: the same slot, in the careful color. */
.dash-nudge.meter-banner {
background: var(--warn-soft);
border-color: var(--warn);
border-left-width: 4px;
color: var(--ink);
}
/* A newer release: the same slot, in the accent, with the label as the way
into the update modal and a small × that hides it for this session. */
/* After the first launch: the two optional extras as one quiet line. */
.dash-extras { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--ink-3); }
.dash-extras .btn { margin-left: 10px; }
.dash-extras-link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.dash-extras-link:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
/* Session meter at red: same slot, warn color. */
/* Newer release: same slot, accent; the label opens the update modal, the x hides it for the session. */
.dash-nudge.update-banner {
position: relative;
padding-left: 40px;
padding-right: 40px;
border-left-width: 4px;
border-left-color: var(--accent-line);
color: var(--ink);
box-shadow: var(--glow);
}
.update-banner-open {
@@ -58,8 +45,7 @@
cursor: pointer;
}
.update-banner-open:hover { text-decoration: underline; }
/* Pinned to the right edge, out of the flow, so the label centers on the
whole banner rather than on what the × leaves of it. */
/* Out of the flow so the label centers on the whole banner. */
.update-banner-dismiss {
position: absolute;
top: 50%;
@@ -71,18 +57,21 @@
background: none;
color: inherit;
font: inherit;
font-size: 16px;
font-size: var(--fs-h4);
line-height: 1;
cursor: pointer;
}
.update-banner-dismiss:hover { background: var(--accent-line); }
/* Wide enough that the update command sits on one line beside Copy; a
narrow window still wraps it rather than overflowing. */
/* Wide enough for the command on one line beside Copy; wraps when narrow. */
#update-modal { max-width: 720px; }
.update-steps { margin: 0 0 12px; padding-left: 1.4em; color: var(--ink); }
.update-steps li { margin: 4px 0; }
/* The hand-off copy row, in the modal's first step: the command and its Copy
side by side. */
/* Closed until the one command did not work. */
.update-more { margin: 10px 0 0; }
.update-more summary { cursor: pointer; color: var(--ink-2); }
.update-more summary:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.update-more p { margin: 8px 0 4px; color: var(--ink-2); }
/* The command and its Copy side by side. */
.update-command {
margin: 6px 0 4px;
display: flex;
@@ -93,17 +82,16 @@
.update-command code {
flex: 1 1 260px;
min-width: 0;
font: 13px/1.5 var(--mono);
font: var(--fs-sm)/1.5 var(--mono);
color: var(--ink);
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
padding: 10px 12px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.dash-nudge-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dash-nudge-actions .btn.tiny { margin-bottom: 0; }
.dash-working {
display: flex;
align-items: center;
@@ -114,22 +102,21 @@
color: var(--accent);
background: var(--accent-soft);
border: 1px solid var(--accent-line);
border-radius: 10px;
border-radius: var(--radius);
font-weight: 600;
}
.dash-group { margin-bottom: 30px; }
/* A switch, not a checkbox look: it filters the menu live rather than being
an answer. The real checkbox stays in the tree (visually hidden) so the
keyboard, focus ring and screen readers all work as for any input. */
/* A switch: it filters live, not an answer. The real checkbox stays (visually
hidden) so keyboard, focus ring and screen readers work. */
.dash-toggle {
position: relative;
display: inline-flex;
align-items: center;
gap: 10px;
margin: -12px 0 26px;
font-size: 13px;
font-size: var(--fs-sm);
color: var(--ink-2);
cursor: pointer;
user-select: none;
@@ -140,10 +127,10 @@
flex: none;
width: 34px;
height: 20px;
border-radius: 999px;
border-radius: var(--radius-pill);
background: var(--panel-2);
border: 1px solid var(--rule-2);
transition: background 0.15s ease, border-color 0.15s ease;
transition: background var(--dur-1), border-color var(--dur-1);
}
.dash-toggle-track::after {
content: "";
@@ -154,40 +141,31 @@
height: 14px;
border-radius: 50%;
background: var(--ink-3);
transition: transform 0.15s ease, background 0.15s ease;
transition: transform var(--dur-1), background var(--dur-1);
}
.dash-toggle input:checked + .dash-toggle-track { background: var(--accent); border-color: var(--accent); }
.dash-toggle input:checked + .dash-toggle-track::after { transform: translateX(14px); background: var(--accent-ink); }
.dash-toggle input:focus-visible + .dash-toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.dash-toggle input:focus-visible + .dash-toggle-track { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.dash-toggle:hover .dash-toggle-track { border-color: var(--accent-line); }
.dash-empty { margin: 0 0 30px; font-size: 13.5px; color: var(--ink-3); font-style: italic; }
.dash-group-title {
margin: 0 0 12px;
font-size: 11.5px;
font-weight: 700;
letter-spacing: 0.09em;
text-transform: uppercase;
color: var(--ink-3);
border-bottom: 1px solid var(--rule);
padding-bottom: 8px;
}
/* Every card in a group has one width, `--dash-cols` to a row: the dashboard
picks the count (card-rows.js) so no card sits alone on a row, and centers a
last row still short. The 3 is only the first paint's guess. */
/* One card width, `--dash-cols` per row: card-rows.js picks the count so no
card sits alone, and centers a short last row. The 3 is a first-paint guess. */
.dash-grid {
--dash-cols: 3;
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.dash-grid > .dash-card { flex: 0 0 calc((100% - (var(--dash-cols) - 1) * 12px) / var(--dash-cols)); min-width: 0; }
.dash-grid > .dash-card, .dash-grid > .dash-card-wrap { flex: 0 0 calc((100% - (var(--dash-cols) - 1) * 12px) / var(--dash-cols)); min-width: 0; }
.dash-grid.is-centered { justify-content: center; }
/* A card IS a button, so it carries the reset the page's other big clickable
surfaces do; the look is the panel look with a lift on hover, and the
accent border that elsewhere means "the thing in play". */
/* A card is a button, so it carries the usual reset; panel look, lifts on hover. */
.dash-card {
display: flex;
flex-direction: column;
@@ -200,35 +178,25 @@
text-align: left;
color: var(--ink);
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
transition: transform var(--dur-1), box-shadow var(--dur-1), border-color var(--dur-1);
}
.dash-card:hover:not(:disabled) {
transform: translateY(-2px);
border-color: var(--accent-line);
box-shadow: var(--shadow);
box-shadow: var(--shadow-2);
}
.dash-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dash-card:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.dash-card:disabled { cursor: default; opacity: 0.55; }
.dash-card.is-suggested { border-color: var(--accent); }
.dash-card.is-going { border-color: var(--accent); opacity: 1; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-chip {
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--ink-3);
border: 1px solid var(--rule-2);
border-radius: 999px;
padding: 2px 8px;
}
.dash-card.is-suggested .dash-chip { color: var(--accent); border-color: var(--accent-line); }
.dash-card.is-suggested .dash-chip { --t: var(--accent); --t-line: var(--accent-line); }
/* The card icon sheet: present for <use href>, never drawn itself. */
.card-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.dash-card-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650; }
.dash-card-title { display: flex; align-items: center; gap: 7px; font-size: var(--fs-base); font-weight: 600; }
.dash-card-icon {
width: 16px;
height: 16px;
@@ -240,8 +208,8 @@
stroke-linejoin: round;
}
.dash-card.is-suggested .dash-card-icon { stroke: var(--accent); }
.dash-card-blurb { font-size: 13px; color: var(--ink-2); flex: 1; }
.dash-card-detail { font-size: 12px; color: var(--accent); }
.dash-card-blurb { font-size: var(--fs-sm); color: var(--ink-2); flex: 1; }
.dash-card-detail { font-size: var(--fs-xs); color: var(--accent); }
.dash-card-foot {
display: flex;
@@ -252,26 +220,23 @@
padding-top: 10px;
border-top: 1px solid var(--rule);
}
/* Wraps at the dashes rather than cut off: a command missing its end
("/plan2code-3-implement-revi…") is no command at all. */
/* Wraps at the dashes, never cut off: a truncated command is no command. */
.dash-card-cmd {
font-family: var(--mono);
font-size: 11.5px;
font-size: var(--fs-xs);
color: var(--ink-3);
min-width: 0;
overflow-wrap: anywhere;
}
.dash-card-go { color: var(--accent); font-weight: 700; transition: transform 0.15s ease; }
.dash-card-go { color: var(--accent); font-weight: 700; transition: transform var(--dur-1); }
.dash-card:hover:not(:disabled) .dash-card-go { transform: translateX(3px); }
/* The reason a card is off. The card grays via :disabled; this line is why,
so the menu teaches the pipeline instead of just refusing clicks. */
.dash-card-off { font-size: 12px; color: var(--ink-3); font-style: italic; }
/* Why a card is off (it grays via :disabled), so the menu teaches the pipeline. */
.dash-card-off { font-size: var(--fs-xs); color: var(--ink-3); font-style: italic; }
/* -------------------------------------------------------- spec picker */
/* The picker's chips are the same vocabulary as the rail's items: a bordered
lozenge that lights up on the current one. */
/* Chips match the rail's items: a bordered lozenge lit on the current one. */
.spec-pick { margin-bottom: 30px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-chip {
@@ -286,22 +251,18 @@
text-align: left;
color: var(--ink);
cursor: pointer;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.spec-chip:hover { border-color: var(--accent-line); }
.spec-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.spec-chip.is-sel { border-color: var(--accent); box-shadow: var(--shadow); }
.spec-chip-name { font-size: 13.5px; font-weight: 650; }
.spec-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.spec-chip.is-sel { border-color: var(--accent); box-shadow: var(--shadow-1); }
.spec-chip-name { font-size: var(--fs-md); font-weight: 600; }
.spec-chip-state {
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent);
}
.spec-chip:not(.is-sel) .spec-chip-state { color: var(--ink-3); }
.spec-chip-detail { font-size: 11.5px; color: var(--ink-3); }
/* A handoff in the picker: the same lozenge, dashed, in the stage color. */
.spec-chip-detail { font-size: var(--fs-xs); color: var(--ink-3); }
/* A handoff: dashed, stage color. */
.spec-chip.is-handoff { border-style: dashed; }
.spec-chip.is-handoff .spec-chip-state, .spec-chip.is-handoff:not(.is-sel) .spec-chip-state { color: var(--stage); }
.spec-chip.is-handoff.is-sel { border-style: solid; border-color: var(--stage); }
@@ -315,17 +276,13 @@
border: 1px solid var(--stage);
border-radius: var(--radius);
}
.handoff-preview-title { font: 600 20px/1.25 var(--serif); margin: 0 0 4px; }
.handoff-preview-meta { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-3); }
.handoff-preview-title { font: 600 var(--fs-h2)/1.25 var(--serif); margin: 0 0 4px; }
.handoff-preview-meta { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--ink-3); }
.handoff-preview-label {
margin: 0 0 3px;
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--stage);
}
.handoff-preview-next { margin: 0 0 16px; font-size: 14px; color: var(--ink); }
.handoff-preview-next { margin: 0 0 16px; font-size: var(--fs-md); color: var(--ink); }
.handoff-preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.handoff-preview-actions .btn.danger { margin-left: auto; }
.modal.handoff-read { width: min(960px, calc(100vw - 32px)); max-width: none; }
@@ -334,8 +291,7 @@
.handoff-body.md { max-width: none; }
.modal.handoff-read .modal-actions { flex: none; }
/* A spec's Delete button sits beside its chip, not inside it: a button cannot
hold a button. Quiet until the chip is hovered or focused. */
/* Delete sits beside its chip (a button cannot hold a button); quiet until hover or focus. */
.spec-chip-wrap { position: relative; display: flex; }
.spec-chip-wrap.is-fixed .spec-chip:not(.is-sel) { opacity: 0.6; }
.spec-chip-wrap .spec-chip { padding-right: 36px; }
@@ -349,11 +305,11 @@
place-items: center;
padding: 0;
border: 1px solid transparent;
border-radius: 6px;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink-3);
font: inherit;
font-size: 15px;
font-size: var(--fs-base);
line-height: 1;
cursor: pointer;
opacity: 0.55;
@@ -361,11 +317,10 @@
.spec-chip-wrap:hover .spec-chip-del,
.spec-chip-del:focus-visible { opacity: 1; }
.spec-chip-del:hover { color: var(--warn); border-color: var(--warn); opacity: 1; }
.spec-chip-del:focus-visible { outline: 2px solid var(--warn); outline-offset: 1px; }
.spec-chip-del:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.spec-chip-del:disabled { cursor: default; opacity: 0.3; }
/* A fixed bug's Delete is always shown, as a pill at the chip's bottom right;
the chip makes room below its lines so the pill never covers the name. The
chip's is-fixed dimming targets .spec-chip, so the pill keeps full strength. */
/* A fixed bug's Delete is always shown, a pill at the chip's bottom right with
room below the lines. The is-fixed dimming targets .spec-chip, so the pill stays full strength. */
.spec-chip-wrap.is-fixed .spec-chip { padding-right: 14px; padding-bottom: 36px; }
.spec-chip-del-label {
position: absolute;
@@ -373,56 +328,44 @@
bottom: 8px;
padding: 2px 10px;
border: 1px solid var(--warn);
border-radius: 999px;
border-radius: var(--radius-pill);
background: var(--panel);
color: var(--warn);
font: inherit;
font-size: 12.5px;
font-size: var(--fs-sm);
font-weight: 600;
line-height: 1.5;
cursor: pointer;
}
.spec-chip-del-label:hover:not(:disabled) { background: var(--warn-soft); }
.spec-chip-del-label:focus-visible { outline: 2px solid var(--warn); outline-offset: 1px; }
.spec-chip-del-label:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.spec-chip-del-label:disabled { cursor: default; opacity: 0.4; }
.spec-chip-wrap.is-deleting .spec-chip { opacity: 0.5; }
.delete-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 13.5px; }
.delete-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: var(--fs-md); }
.delete-facts dt { color: var(--ink-3); }
.delete-facts dd { margin: 0; overflow-wrap: anywhere; }
.delete-confirm { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.delete-confirm { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-md); }
.delete-confirm[hidden] { display: none; }
.delete-confirm input {
padding: 8px 10px;
border: 1px solid var(--rule-2);
border-radius: var(--radius);
background: var(--panel);
color: var(--ink);
font: inherit;
}
.delete-confirm input:focus-visible { outline: 2px solid var(--warn); outline-offset: 1px; }
/* ------------------------------------------------- dashboard confirm */
/* The beat between "I clicked a card" and "it is running": what the pick is,
what it will do, and a START that means it. As wide as the menu (the page
width setting), centered like the launching pane it precedes. */
/* Between clicking a card and running it: what it is, what it will do, a
START that means it. Menu width, centered like the launching pane. */
.dash-confirm {
max-width: min(var(--card-width), 100%);
margin: 3vh auto 0;
/* Column flex, not grid: a grid item's sticky range is its own row, so the
tail bar below could never travel. align-items does the centering
justify-items did; loop-setup opts back into grid. */
tail bar could never travel. loop-setup opts back into grid. */
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
text-align: center;
/* Focused controls must land above the pinned bar, never under it:
roughly .confirm-tail's height — keep them in step if the bar grows. */
/* Focused controls land above the pinned bar: about .confirm-tail's height, keep in step. */
scroll-padding-bottom: 96px;
}
/* A smaller stage than the launching hero: the same sky, a moment shorter. */
/* A smaller stage than the launching hero. */
.confirm-stage { height: 130px; }
.confirm-stage .sky .star { animation: star-fly var(--dur, 5s) linear var(--delay, 0s) infinite; }
@@ -438,38 +381,36 @@
.confirm-head { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.dash-confirm .dash-title { margin: 2px 0 0; }
/* The pane is as wide as the menu, but prose is not: its lines stop at a
readable measure while the controls below keep the full width. */
/* Prose stops at a readable measure; the controls keep the full width. */
.confirm-about, .confirm-detail, .confirm-spec { max-width: 70ch; }
.confirm-about { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.confirm-detail { margin: 0; font-size: 13px; color: var(--accent); }
.confirm-spec { margin: 0; font-size: 13px; color: var(--ink-2); }
.confirm-spec code { font-family: var(--mono); font-size: 12px; }
.confirm-about { margin: 0; font-size: var(--fs-base); line-height: 1.55; color: var(--ink-2); }
.confirm-detail { margin: 0; font-size: var(--fs-sm); color: var(--accent); }
.confirm-spec { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.confirm-spec code { font-family: var(--mono); font-size: var(--fs-xs); }
.confirm-rule { width: 100%; height: 0; margin: 6px 0 2px; border: 0; border-top: 1px solid var(--accent); }
.confirm-review { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; color: var(--ink-2); cursor: pointer; }
.confirm-review input { accent-color: var(--accent, currentColor); }
.confirm-cmd { margin: 2px 0 0; }
.confirm-cmd code {
font-family: var(--mono);
font-size: 12.5px;
font-size: var(--fs-sm);
color: var(--ink-2);
background: var(--panel-2);
border: 1px solid var(--rule);
border-radius: 6px;
border-radius: var(--radius-sm);
padding: 4px 10px;
}
.confirm-cmd-note { margin-left: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.confirm-cmd-note { margin-left: 8px; font-family: var(--mono); font-size: var(--fs-sm); color: var(--accent); }
.confirm-actions { display: flex; gap: 10px; margin-top: 10px; }
/* The command line and the buttons as one bar pinned to the pane's bottom
edge: .dash-confirm is the scroller, so a last-child sticky tail stays in
view whatever the Notebook box pushes past the fold. Opaque like .doc-head
(the pane sits on var(--bg)), with the footer's border and shadow for
separation; .confirm-actions keeps its own class so "Start" stays findable. */
/* Command line and buttons as one bar pinned to the pane's bottom: .dash-confirm
is the scroller, so the sticky last child stays in view past the Notebook box.
Opaque like .doc-head, with the footer's border and shadow;
.confirm-actions keeps its class so "Start" stays findable. */
.confirm-tail {
position: sticky;
bottom: 0;
z-index: 5;
z-index: var(--z-sticky);
align-self: stretch;
display: grid;
gap: 10px;
@@ -477,37 +418,29 @@
padding: 10px 0 6px;
background: var(--bg);
border-top: 1px solid var(--rule);
box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.07);
box-shadow: var(--shadow-up);
}
/* The bar's gap sets the rhythm; the row's own margin is for loop-setup,
which has no tail. */
/* The bar's gap sets the rhythm; the row's margin is for loop-setup (no tail). */
.confirm-tail .confirm-actions { margin-top: 0; }
/* The Notebook box frames itself, so the rule line is one separation too
many when it is on the pane; the shadow still marks the bar in a scroll. */
/* The Notebook box has its own frame, so drop the rule; the shadow still marks the bar. */
.dash-confirm:has(.confirm-note-box) .confirm-tail { border-top: 0; }
/* "Start with a note from your Notebook": the switch, then the tabs beside a
preview of the picked one, its pictures each with a tick. */
/* Capped rather than stretched past the confirm's centering, and left
aligned: a note reads as a document, and documents have a measure. */
/* Its own frame sets it apart from the text above, so no rule: just room. */
/* "Start with a note from your Notebook": the switch, then tabs beside a
preview, its pictures each with a tick. Capped and left aligned (a document
has a measure); its own frame sets it apart, so no rule. */
.confirm-note-box { display: grid; gap: 8px; width: min(720px, 100%); text-align: left; margin-top: 12px; }
.confirm-note-head {
display: grid;
gap: 2px;
padding: 10px 12px;
border: 1px solid var(--accent-line);
border-left: 3px solid var(--accent);
border-radius: 8px;
background: var(--accent-soft);
}
.confirm-note-head.is-on { padding: 8px 12px; }
.confirm-note-switch { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; cursor: pointer; }
.confirm-note-switch input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent, currentColor); }
.confirm-note-hint { padding-left: 28px; font-size: 12.5px; color: var(--ink-2); }
.confirm-note-hint { padding-left: 28px; font-size: var(--fs-sm); color: var(--ink-2); }
.confirm-note { display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: 10px; }
.confirm-note > .confirm-note-msg { grid-column: 1 / -1; }
.confirm-note-msg { margin: 0; font-size: 13px; color: var(--ink-3); }
.confirm-note-msg { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.confirm-note-tabs { display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow-y: auto; }
.confirm-note-tab {
display: flex;
@@ -515,18 +448,18 @@
gap: 6px;
padding: 6px 10px;
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
background: var(--panel-2);
color: var(--ink-2);
font: inherit;
font-size: 13px;
font-size: var(--fs-sm);
text-align: left;
cursor: pointer;
}
.confirm-note-tab:hover:not(:disabled) { border-color: var(--accent-line); color: var(--accent); }
.confirm-note-tab.is-picked { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.confirm-note-tab:disabled { opacity: 0.5; cursor: not-allowed; }
.confirm-note-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.confirm-note-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.confirm-note-tab-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.confirm-note-preview {
display: grid;
@@ -537,14 +470,14 @@
overflow-y: auto;
padding: 8px 10px;
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
background: var(--panel);
}
.confirm-note-text { font-size: 13.5px; max-width: 65ch; }
.confirm-note-long { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--warn); }
.confirm-note-text { font-size: var(--fs-md); max-width: 65ch; }
.confirm-note-long { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--warn); }
.confirm-note-pics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.confirm-note-pic label { position: relative; display: block; cursor: pointer; }
.confirm-note-pic img { display: block; width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--rule-2); border-radius: 6px; }
.confirm-note-pic img { display: block; width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--rule-2); border-radius: var(--radius-sm); }
.confirm-note-pic input { position: absolute; top: 4px; left: 4px; margin: 0; accent-color: var(--accent, currentColor); }
.confirm-note-pic input:disabled + img { opacity: 0.45; }
@media (max-width: 560px) {
@@ -562,9 +495,7 @@
justify-items: center;
}
/* The same sky the dock fills behind Planny, here in a stage sized for a
hero: the mask fades the stars at the edges exactly the way it does in
the aside. */
/* The dock's sky in a hero-sized stage; the mask fades the stars at the edges as in the aside. */
.launch-stage {
position: relative;
width: 100%;
@@ -574,8 +505,7 @@
mask-image: radial-gradient(120% 100% at 50% 40%, #000 42%, transparent 78%);
}
.launch-sky { opacity: 0.9; }
/* The dock only animates its stars while .is-flying; center stage they are
the show, so the flight runs unconditionally. */
/* The dock animates stars only while .is-flying; here the flight always runs. */
.launch-stage .sky .star { animation: star-fly var(--dur, 5s) linear var(--delay, 0s) infinite; }
.launch-planny {
@@ -585,25 +515,23 @@
width: 74px;
height: 102px;
margin-left: -37px;
/* The dock's flight keyframes carry the forward lean; a second, slower bob
on top keeps a long wait from reading as a loop on rails. */
/* The flight keyframes carry the lean; a slower bob keeps a long wait from looking like rails. */
animation:
planny-fly 1.7s ease-in-out infinite,
launch-bob 3.4s ease-in-out infinite;
}
@keyframes launch-bob {
0%, 100% { margin-bottom: 0; }
50% { margin-bottom: 10px; }
0%, 100% { translate: 0 0; }
50% { translate: 0 -10px; }
}
.launch-title { margin: 0; font: 600 clamp(24px, 4vw, 34px)/1.12 var(--serif); }
.launch-quip {
margin: 0;
font-size: 14.5px;
font-size: var(--fs-base);
font-weight: 600;
color: var(--accent);
/* The line swaps on a timer; a minimum keeps the hint under it from
hopping around as the words change length. */
/* The line swaps on a timer; min-height keeps the hint from hopping. */
min-height: 1.4em;
animation: launch-quip-in 0.35s ease-out;
}
@@ -611,43 +539,46 @@
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: none; }
}
.launch-hint { margin: 0; font-size: 12.5px; color: var(--ink-3); max-width: 46ch; }
/* Under the app, a saved pick nobody collected: the button that types continue. */
.launch-hint { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); max-width: 46ch; }
/* A saved pick nobody collected: the button that types continue. */
.launch-reconnect { margin-top: 14px; }
.launch-reconnect[hidden] { display: none; }
/* A line, never a banner: no border, no background, no icon. */
.approval-tip { max-width: 70ch; margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
/* Under the dashboard's cards it centers on the grid and runs most of its width. */
.approval-tip { max-width: 70ch; margin: 18px 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-3); }
/* Under the cards it centers on the grid. */
.dash > .approval-tip { max-width: 140ch; margin-inline: auto; text-align: center; }
/* --------------------------------------------- the Implementation Loop */
/* The card's own link; a span, since a link may not sit inside a button. */
.dash-card-link { font-size: 12px; color: var(--accent); text-decoration: underline; cursor: pointer; justify-self: start; }
/* A span: a link may not sit inside a button. */
/* The loop card's wrapper: the card button, and its link under it. */
.dash-card-wrap { display: flex; flex-direction: column; gap: 6px; }
.dash-card-wrap > .dash-card { flex: 1 1 auto; }
.dash-card-link { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-xs); color: var(--accent); text-decoration: underline; cursor: pointer; }
/* The setup screen: the confirm pane's width, with a left-aligned form. */
.loop-setup { display: grid; justify-items: stretch; text-align: left; gap: 14px; }
.loop-setup .card-kicker, .loop-setup .dash-title, .loop-setup .confirm-spec { justify-self: start; }
.loop-lines { display: grid; gap: 4px; }
.loop-line { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 75ch; }
.loop-facts { display: grid; gap: 6px; margin: 0; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 8px; }
.loop-fact { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 10px; font-size: 13px; }
.loop-line { margin: 0; font-size: var(--fs-md); line-height: 1.5; color: var(--ink-2); max-width: 75ch; }
.loop-facts { display: grid; gap: 6px; margin: 0; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.loop-fact { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 10px; font-size: var(--fs-sm); }
.loop-fact dt { color: var(--ink-3); }
.loop-fact dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.loop-form { display: grid; gap: 16px; }
.loop-field { display: grid; gap: 6px; }
.loop-label { margin: 0; font-weight: 600; font-size: 13.5px; }
.loop-hint { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.loop-switch, .loop-radio { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.loop-label { margin: 0; font-weight: 600; font-size: var(--fs-md); }
.loop-hint { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.loop-switch, .loop-radio { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; font-size: var(--fs-md); color: var(--ink-2); }
.loop-switch input, .loop-radio input { accent-color: var(--accent, currentColor); margin-top: 3px; }
.loop-radios { display: grid; gap: 6px; }
.loop-radio-body { display: grid; gap: 1px; }
.loop-radio-detail { font-size: 12.5px; color: var(--ink-3); }
.loop-radio-detail { font-size: var(--fs-sm); color: var(--ink-3); }
.loop-switch.is-gray { opacity: 0.55; cursor: default; }
.loop-switch[hidden] { display: none; }
.loop-strength-none .linky { font-size: inherit; }
.loop-strength-all { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.loop-strength-all { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
.loop-strength-grid { position: relative; display: grid; gap: 6px; margin-top: 6px; }
.loop-strength-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.loop-strength-line .step { fill: none; stroke: var(--ink-3); stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; }
@@ -657,21 +588,23 @@
.loop-strength-line .col.lvl-2 { stroke: var(--lvl-2); }
.loop-strength-line .col.lvl-3 { stroke: var(--lvl-3); }
.loop-strength-rows { display: grid; gap: 0; }
.loop-strength-head, .loop-strength-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(130px, 1.5fr) repeat(4, minmax(0, 1fr)) 64px; align-items: center; column-gap: 4px; font-size: 13.5px; }
.loop-strength-head, .loop-strength-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(130px, 1.5fr) repeat(4, minmax(0, 1fr)) 64px; align-items: center; column-gap: 4px; font-size: var(--fs-md); }
.loop-strength-row { min-height: 46px; }
.loop-strength-chip { justify-self: center; font-size: 12px; padding: 5px 9px; white-space: normal; text-align: center; line-height: 1.15; max-width: 100%; border-radius: 16px; }
.loop-strength-chip { justify-self: center; font-size: var(--fs-xs); padding: 5px 9px; white-space: normal; text-align: center; line-height: 1.15; max-width: 100%; border-radius: 16px; /* one-off: a two-line chip, taller than a pill */ }
.loop-strength-chip.is-unmapped { opacity: 0.5; }
.loop-strength-phase { overflow-wrap: anywhere; color: var(--ink); padding-right: 8px; }
.loop-strength-model { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; text-align: right; }
.loop-strength-model { font-size: var(--fs-sm); color: var(--ink-3); overflow-wrap: anywhere; text-align: right; }
.loop-strength-cell { --b: var(--lvl-0); position: relative; display: flex; align-items: center; justify-content: center; height: 46px; cursor: pointer; }
.loop-strength-cell.lvl-1 { --b: var(--lvl-1); }
.loop-strength-cell.lvl-2 { --b: var(--lvl-2); }
.loop-strength-cell.lvl-3 { --b: var(--lvl-3); }
.loop-strength-cell input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.loop-strength-node { box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--bg); display: grid; place-items: center; color: var(--bg); transition: all 0.12s; position: relative; z-index: 2; }
.loop-strength-node { box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--bg); display: grid; place-items: center; color: var(--bg); transition: border-color var(--dur-1), background var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1); position: relative; z-index: 2; }
.loop-strength-cell:hover .loop-strength-node { border-color: var(--b); transform: scale(1.25); }
.loop-strength-cell input:focus-visible + .loop-strength-node { outline: 2px solid var(--focus); outline-offset: 3px; }
.loop-strength-cell input:checked + .loop-strength-node { width: 30px; height: 30px; background: var(--b); border-color: var(--b); box-shadow: 0 0 0 4px var(--bg); }
.loop-strength-cell input:checked + .loop-strength-node.is-picked { animation: node-grow var(--dur-2) var(--ease-spring); }
@keyframes node-grow { from { transform: scale(0.35); } }
.loop-strength-node .sa-bars { display: none; }
.loop-strength-cell input:checked + .loop-strength-node .sa-bars { display: inline-flex; }
.loop-strength-cell.is-unmapped { cursor: default; }
@@ -682,25 +615,25 @@
/* Match my session has no rank: three flat bars, the middle one lighter. */
.sa-bars.is-flat i:nth-child(n) { height: 7px; opacity: 1; }
.sa-bars.is-flat i:nth-child(2) { opacity: 0.55; }
.loop-select { font: inherit; font-size: 13.5px; padding: 5px 8px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 6px; max-width: 100%; }
.loop-select { max-width: 100%; }
@media (max-width: 620px) {
.loop-strength-head, .loop-strength-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.loop-strength-spacer, .loop-strength-model { display: none; }
.loop-strength-phase { grid-column: 1 / -1; padding-top: 8px; }
.loop-strength-chip { font-size: 10.5px; padding: 4px 6px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.loop-strength-chip { font-size: var(--fs-2xs); padding: 4px 6px; gap: 4px; flex-wrap: wrap; justify-content: center; }
}
.loop-ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: 4px; }
.loop-text { font: inherit; font-size: 14px; padding: 6px 10px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 6px; max-width: 520px; width: 100%; }
.loop-text { max-width: 520px; width: 100%; }
.loop-text.loop-narrow { width: 90px; }
.loop-text.loop-param { width: 180px; }
.loop-test { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.loop-test p { margin: 0; font-size: 12.5px; }
.loop-number { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.loop-warn { margin: 0; font-size: 12.5px; color: var(--warn); }
.loop-test p { margin: 0; font-size: var(--fs-sm); }
.loop-number { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); color: var(--ink-2); }
.loop-warn { margin: 0; font-size: var(--fs-sm); color: var(--warn); }
.loop-start { display: grid; gap: 8px; justify-items: start; }
.loop-why { margin: 0; font-size: 13px; color: var(--ink-2); }
.loop-error { margin: 0; font-size: 13px; color: var(--warn); }
.loop-problems { margin: 0; padding-left: 18px; font-size: 13px; color: var(--warn); }
.loop-why { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.loop-error { margin: 0; font-size: var(--fs-sm); color: var(--warn); }
.loop-problems { margin: 0; padding-left: 18px; font-size: var(--fs-sm); color: var(--warn); }
.loop-help { margin-left: auto; }
/* A card the loop holds: a record with a tag, no inputs. */
@@ -709,23 +642,19 @@
/* The stop and finish screens the loop's end draws. */
.loop-end { display: grid; gap: 14px; }
.loop-end-phases { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.loop-end-phases { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.loop-end-phases th, .loop-end-phases td { text-align: left; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.loop-end-phases code { font-family: var(--mono); font-size: 12px; }
.loop-end-files { margin: 0; padding-left: 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.loop-end-phases code { font-family: var(--mono); font-size: var(--fs-xs); }
.loop-end-files { margin: 0; padding-left: 18px; font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); }
.loop-end-heading, .loop-end .loop-line { overflow-wrap: anywhere; }
.loop-end .loop-why, .loop-end .loop-advice {
padding: 9px 13px; border-left: 4px solid var(--warn); border-radius: 0 6px 6px 0;
background: var(--warn-soft); color: var(--ink); font-size: 14px; line-height: 1.5; max-width: 75ch; margin: 0;
}
.loop-end .loop-advice { border-left-color: var(--accent); background: var(--accent-soft); }
.loop-end .loop-advice strong { color: var(--accent); }
/* Each button with one plain line under it saying what it does. */
.loop-end .loop-why, .loop-end .loop-advice { font-size: var(--fs-md); line-height: 1.5; max-width: 75ch; margin: 0; }
/* Each button has a line under it saying what it does. */
.loop-end-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.loop-end-choice { display: grid; gap: 6px; align-content: start; justify-items: start; }
.loop-end-choice .btn { max-width: 100%; }
.loop-end-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.loop-end-safe { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.loop-end-hint { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }
.loop-end-safe { margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.loop-end-details { display: grid; gap: 10px; }
.loop-end-details > summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.loop-end-details > summary { cursor: pointer; font-size: var(--fs-md); color: var(--ink-2); }
.loop-end-details[open] > summary { margin-bottom: 8px; }
.confirm-note > .confirm-note-retry { justify-self: start; }
+20 -18
View File
@@ -6,14 +6,11 @@
.diff-view { --diff-gutter: 3.4em; --diff-sign: 1.6em; min-width: 0; }
.diff-totals { margin: 0 0 10px; color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.diff-notice {
margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--stage); border-radius: 8px;
background: var(--stage-soft); color: var(--ink); font-size: 13px;
}
.diff-totals { margin: 0 0 10px; color: var(--ink-2); font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.diff-notice { margin: 0 0 12px; padding: 8px 12px; font-size: var(--fs-sm); }
.diff-plus { color: var(--ok); font-weight: 600; }
.diff-minus { color: var(--warn); font-weight: 600; }
.diff-counts { display: inline-flex; gap: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.diff-counts { display: inline-flex; gap: 6px; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
/* Two columns, each scrolling inside itself: the tab never grows past the
window, so the doc's head (with its way back to the sign-off card) stays in
@@ -29,20 +26,14 @@
}
.diff-list:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.diff-file {
display: grid; gap: 2px; padding: 7px 10px; border-radius: calc(var(--radius) / 2); cursor: pointer;
display: grid; gap: 2px; padding: 7px 10px; border-radius: var(--radius-sm); cursor: pointer;
}
.diff-file:hover { background: var(--panel-2); }
.diff-file.is-picked { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.diff-file-name { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; min-width: 0; }
.diff-file-name strong { font-weight: 600; overflow-wrap: anywhere; }
.diff-file-dir { color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }
.diff-status {
font: 700 10px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
padding: 0 5px; border-radius: 4px; border: 1px solid var(--rule-2); color: var(--ink-2);
}
.diff-status-added { border-color: var(--ok); color: var(--ok); }
.diff-status-deleted { border-color: var(--warn); color: var(--warn); }
.diff-status-renamed { border-color: var(--accent); color: var(--accent); }
.diff-file-dir { color: var(--ink-3); font-size: var(--fs-xs); overflow-wrap: anywhere; }
.diff-status { text-transform: uppercase; }
/* The pane scrolls both ways, so the sideways scrollbar for a long line sits
at the bottom of the pane, never under the file's last row. */
@@ -58,7 +49,7 @@
.diff-pane-path { font-weight: 600; overflow-wrap: anywhere; }
/* Long lines scroll sideways with the pane, all rows together, never the page. */
.diff-rows { display: grid; min-width: 100%; width: max-content; font: 12px/1.55 var(--mono); }
.diff-rows { display: grid; min-width: 100%; width: max-content; font: var(--fs-xs)/1.55 var(--mono); }
.diff-hunk { padding: 3px 14px; color: var(--ink-3); background: var(--panel-2); white-space: pre; }
.diff-line { display: grid; grid-template-columns: var(--diff-gutter) var(--diff-gutter) var(--diff-sign) auto; }
.diff-no { text-align: right; padding-right: 8px; color: var(--ink-3); font-variant-numeric: tabular-nums; user-select: none; }
@@ -76,14 +67,25 @@
.diff-state { padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.diff-state.diff-error { border-color: var(--warn); background: var(--warn-soft); }
.diff-state-msg { margin: 0 0 12px; }
.diff-state-why { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; }
.diff-state-why { margin: 8px 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.diff-state-why:empty { display: none; }
/* Loading: muted rows where the list and the lines will be. */
.diff-skeleton { display: grid; gap: 10px; padding: 14px; }
.diff-skel-row { display: block; height: 14px; border-radius: 4px; background: var(--rule); }
.diff-skel-row { display: block; height: 14px; border-radius: var(--radius-xs); background: var(--rule); }
.diff-pane.diff-skeleton .diff-skel-row:nth-child(3n) { width: 70%; }
.diff-pane.diff-skeleton .diff-skel-row:nth-child(4n + 1) { width: 85%; }
.doc-skeleton .diff-skel-row:nth-child(3n) { width: 70%; }
.doc-skeleton .diff-skel-row:nth-child(4n + 1) { width: 85%; }
/* A shimmer only for people who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
.diff-skel-row {
background: linear-gradient(90deg, var(--rule) 25%, var(--rule-2) 50%, var(--rule) 75%);
background-size: 200% 100%;
animation: skel-shimmer 1.4s linear infinite;
}
@keyframes skel-shimmer { to { background-position: -200% 0; } }
}
/* Narrow window: the file list stacks above the diff as a short list. */
@media (max-width: 720px) {
+9 -15
View File
@@ -8,36 +8,34 @@
margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
/* Stays put while the document scrolls under it. The ::before paints over
the pane's own padding, so nothing shows through above the row. */
position: sticky; top: 0; z-index: 5; background: var(--bg);
position: sticky; top: 0; z-index: var(--z-sticky); background: var(--bg);
}
.doc-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; background: var(--bg); }
.doc-version { font: 700 12px/1 var(--mono); color: var(--ink-3); }
.doc-version { font: 700 var(--fs-xs)/1 var(--mono); color: var(--ink-3); }
.block { max-width: min(var(--card-width), 100%); border-left: 3px solid transparent; padding: 2px 0 2px 14px; margin: 0 auto 4px; position: relative; }
.block.assumed {
border-left-color: var(--stage);
border-left-style: dashed;
background: var(--stage-soft);
border-radius: 0 8px 8px 0;
border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.block.draft { border-left-color: var(--rule-2); opacity: 0.72; }
.block.settled { border-left-color: var(--ok-soft); }
.block.settled { border-left-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.block .md { max-width: none; }
.block-tag {
font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
color: var(--stage); display: block; margin-bottom: 4px;
}
.doc-empty { color: var(--ink-3); font-style: italic; }
/* ----------------------------------------------------------- doc tools */
.doc-tools { display: flex; gap: 8px; margin-left: auto; flex: none; align-items: center; }
.btn.back-home { border-color: var(--accent); color: var(--accent); }
.btn.back-home:hover { background: var(--accent-soft); }
.doc-saved { font-size: 12px; color: var(--ink-3); }
.doc-saved code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.doc-saved { font-size: var(--fs-xs); color: var(--ink-3); }
.doc-saved code { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); }
.doc-head { align-items: center; }
@@ -48,14 +46,10 @@
.proto-list { list-style: none; margin: 0 auto; padding: 0; max-width: min(var(--card-width), 100%); display: grid; gap: 8px; }
.proto-open {
width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px;
padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
background: var(--panel); color: var(--ink); font: inherit; cursor: pointer;
}
.proto-open:hover, .proto-open:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.proto-kind {
flex: none; min-width: 44px; text-align: center; padding: 3px 6px; border-radius: 6px;
font: 700 10.5px/1.2 var(--mono); letter-spacing: 0.05em; border: 1px solid var(--rule-2); color: var(--ink-2);
}
.proto-kind-html { border-color: var(--accent); color: var(--accent); }
.proto-kind { flex: none; min-width: 44px; text-align: center; }
.proto-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.proto-how { flex: none; font-size: 12px; color: var(--ink-3); }
.proto-how { flex: none; font-size: var(--fs-xs); color: var(--ink-3); }
+38 -50
View File
@@ -2,8 +2,7 @@
/* ----------------------------------------------------------- hand-off */
/* The end of the session. Accented edge because it is the one card on the
page that is not a question and not a note: it is the way out. */
/* Accented edge: the one card that is neither question nor note, the way out. */
.card.handoff { border-color: var(--accent-line); }
.handoff-step {
@@ -13,8 +12,7 @@
border: 1px solid var(--accent-line);
border-radius: var(--radius);
}
/* Diagnose's saved write-up, whole, for pasting into a ticket elsewhere. It
scrolls past a set height so Next step stays close below it. */
/* Diagnose's write-up, for pasting into a ticket; scrolls so Next step stays close. */
.handoff-report {
margin: 20px 0 0;
padding: 14px 18px 16px;
@@ -33,19 +31,13 @@
.handoff-label {
margin: 0 0 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--accent);
}
.handoff-where { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.handoff-where { margin: 0 0 10px; font-size: var(--fs-md); color: var(--ink-2); }
/* The command and its Copy share a row until the row will not take them.
The text itself wraps: with the continue-in-the-browser sentence on the end
it rarely fits one line, and a sideways scroll would hide exactly the part
someone needs to read before pasting. Nobody retypes it; that is what Copy
is for. */
/* Command and Copy share a row until it is full. The text wraps: it rarely
fits one line, and a sideways scroll would hide the part to read before
pasting. */
.handoff-command {
display: flex;
align-items: stretch;
@@ -55,34 +47,30 @@
.handoff-code {
flex: 1 1 260px;
min-width: 0;
font: 13px/1.5 var(--mono);
font: var(--fs-sm)/1.5 var(--mono);
color: var(--ink);
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
padding: 10px 12px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
/* Always on show, unlike the Copy on a fenced code block, which waits for a
hover it may never get. This one IS the screen's reason to exist. */
/* Always visible, unlike a code block's hover-only Copy. */
.handoff-copy { flex: none; }
.handoff-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.handoff-note { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
.handoff-newsession { margin-top: 10px; }
/* Continue here sits under the command row: keep a gap so the two do not touch. */
/* Gap under the command row. */
.continue-offer { margin-top: 14px; }
/* A session with nothing left to run. Quieter than a real next step: no
accented box, plain body text and a small command, because there is
nothing they need to do. */
/* Nothing left to run: quieter than a next step, no accented box. */
.handoff-done { margin: 18px 0 0; color: var(--ink-2); }
.handoff-done-text p { margin: 0 0 10px; }
.handoff-done .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; }
.handoff-done .handoff-code { flex-basis: 180px; font-size: var(--fs-xs); padding: 6px 10px; }
/* The review offer on a finished build. Louder than the next step, on
purpose: it has to happen here, before they leave, while the next step can
wait for a terminal. A solid accent edge and the big button carry that. */
/* Review offer on a finished build. Louder than the next step on purpose: it
must happen here, while the next step can wait for a terminal. */
.review-offer {
margin: 20px 0 0;
padding: 18px 20px;
@@ -90,35 +78,39 @@
border-radius: var(--radius);
background: var(--panel);
}
.review-offer-title { margin: 0 0 6px; font-size: 18px; }
.review-offer-text { margin: 0; color: var(--ink-2); font-size: 14px; }
.review-offer-title { margin: 0 0 6px; font-size: var(--fs-h3); }
.review-offer-text { margin: 0; color: var(--ink-2); font-size: var(--fs-md); }
.review-offer .btn-row { margin-top: 14px; }
.review-offer .review-go { padding: 12px 26px; font-size: 15.5px; }
.review-offer .review-go { padding: 12px 26px; font-size: var(--fs-h4); }
.review-offer .handoff-command { margin-top: 10px; }
/* The way back to the dashboard on a finished screen. Quieter than the review
offer: no box, just the button and a small note about the conversation. */
/* Way back to the dashboard: quieter than the review offer, no box. */
.dashboard-offer { margin: 20px 0 0; }
.dashboard-offer > p:first-child { margin: 0; color: var(--ink-2); font-size: 14px; }
.dashboard-offer > p:first-child { margin: 0; color: var(--ink-2); font-size: var(--fs-md); }
.dashboard-offer .handoff-command { margin-top: 10px; }
.dashboard-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.handoff-fresh { margin: 16px 0 6px; font-size: 12.5px; color: var(--ink-2); }
.handoff-fresh-row .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; }
.dashboard-note { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
.handoff-fresh { margin: 16px 0 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.handoff-fresh-row .handoff-code { flex-basis: 180px; font-size: var(--fs-xs); padding: 6px 10px; }
/* Quick picks under a long multi-select, the review's fix list above all. */
/* "Closing or starting fresh": the finish's quiet extras, closed until asked for (open at a red meter). */
.handoff-more { margin: 20px 0 0; }
.handoff-more-title { cursor: pointer; font-size: var(--fs-md); color: var(--ink-2); }
.handoff-more-title:hover { color: var(--ink); }
.handoff-more > .handoff-guide { margin-top: 12px; }
/* Quick picks under a long multi-select. */
.presets { margin-top: 12px; gap: 8px; }
.presets-label { font-size: 12.5px; color: var(--ink-3); }
.presets-label { font-size: var(--fs-sm); color: var(--ink-3); }
/* "Before you close this": three rows on every finished screen. The icon sits
in a colored circle and the label says the same thing, so no meaning rests
on color alone. */
/* "Before you close this": three rows. Icon and label say the same thing, so
no meaning rests on color alone. */
.handoff-guide {
margin: 20px 0 0; padding: 14px 16px;
background: var(--panel-2); border: 1px solid var(--rule-2); border-radius: var(--radius);
}
.handoff-guide-title { margin: 0 0 10px; font: 600 15px/1.3 var(--serif); color: var(--ink); }
.handoff-guide-title { margin: 0 0 10px; font: 600 var(--fs-base)/1.3 var(--serif); color: var(--ink); }
.handoff-guide-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.handoff-guide-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-2); }
.handoff-guide-row { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-md); color: var(--ink-2); }
.handoff-guide-text { min-width: 0; overflow-wrap: anywhere; }
.handoff-guide-label { color: var(--ink); }
.handoff-guide-icon {
@@ -133,22 +125,18 @@
.handoff-tools { margin-top: 16px; }
.handoff-unsent {
margin: 14px 0 0;
padding: 10px 14px;
border-radius: 8px;
background: var(--stage-soft);
color: var(--stage);
font-size: 13.5px;
font-size: var(--fs-md);
}
/* ----------------------------------------------------------- stopping */
.stop-steps { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 10px; }
.stop-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.stop-steps li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); color: var(--ink-2); }
.stop-steps li.is-done { color: var(--ink); }
.stop-steps li.is-later { color: var(--ink-3); }
.stop-steps li.is-stuck { color: var(--stage); }
.stop-mark { width: 13px; flex: none; text-align: center; font-weight: 700; }
.stop-steps li.is-done .stop-mark { color: var(--ok); }
.stop-note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.stop-note { margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
.stopping .handoff-command { margin-bottom: 4px; }
+60 -108
View File
@@ -2,18 +2,16 @@
/* ------------------------------------------------------------ git board */
/* The git workflow's main column holds the board, and the agent's card sits
inside it, in the card slot under the tab strip. A card that scrolled inside
a scrolling board would put a scrollbar inside a scrollbar, so here the
column takes the one scroll and both flow through it at natural height. */
/* The agent's card sits in the board's card slot. A card scrolling inside a
scrolling board nests scrollbars, so the column takes the one scroll and
both flow at natural height. */
.main:has(> .git-board) {
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
/* Listed with .is-primary.has-grow too: that rule (a card with a growing note
box takes the column's height and shrinks into it) outranks a plain .card
here, and a card shrunk under the board spilled its buttons beneath it. */
/* .is-primary.has-grow is listed too: it outranks a plain .card, and a card
shrunk under the board spilled its buttons beneath it. */
.git-cards > .card,
.git-cards > .card.is-primary.has-grow,
.main:has(> .git-board) > .git-board {
@@ -21,15 +19,12 @@
overflow-y: visible;
min-height: 0;
}
/* In the board's card slot a card's boxes cannot fill the column (it flows,
it does not stretch), so a note box grows with what is typed instead,
rather than scrolling inside a 96px box: an auto-height host does for the
Markdown field what field-sizing did for the textarea. */
/* The card flows rather than stretches, so a note box grows with the text
instead of scrolling in a 96px box (an auto-height host, as field-sizing
does for a textarea). */
.git-cards > .card .md-host { min-height: 0; max-height: 50vh; }
/* The card and the pager center themselves with auto inline margins, and a
grid item with auto margins shrinks to its content, so a short confirm sat
narrow in the middle of the board. In the slot both fill the board's width
instead; the slot's gap spaces them. */
/* Auto inline margins shrink a grid item to its content (a short confirm sat
narrow mid-board), so in the slot both fill the width; the gap spaces them. */
.git-cards > .card,
.git-cards > .pager { margin: 0; }
.main > .git-board {
@@ -41,8 +36,7 @@
gap: 14px;
max-width: var(--card-width);
}
/* The board is sized by its column, not the window: the narrow layout keys
off the board's own width. */
/* Narrow layout keys off the board's width, not the window's. */
.git-board { container-type: inline-size; container-name: git-board; }
/* Plan2Code's card, between the tab strip and the tab's content. */
.git-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@@ -62,24 +56,24 @@
gap: 6px;
padding: 8px 14px;
border: 0;
border-bottom: 3px solid transparent;
border-radius: 6px 6px 0 0;
border-bottom: 2px solid transparent;
border-radius: 0;
background: transparent;
color: var(--ink-2);
font: inherit;
font-size: 14px;
font-size: var(--fs-md);
cursor: pointer;
}
.git-tab:hover { background: var(--panel-2); color: var(--ink); }
.git-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.git-tab:hover { color: var(--ink); }
.git-tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.git-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.git-tab-badge {
min-width: 18px;
padding: 0 6px;
border: 1px solid var(--rule-2);
border-radius: 999px;
border-radius: var(--radius-pill);
font-family: var(--mono);
font-size: 11.5px;
font-size: var(--fs-xs);
line-height: 17px;
text-align: center;
color: var(--ink-2);
@@ -92,10 +86,8 @@
.git-done:not(:disabled) { border-color: var(--accent); }
/* The next step: one primary button, at most one quieter one. */
.git-step {
display: grid;
gap: 6px;
padding: 14px 18px;
.git-step { display: grid; gap: 6px; padding: 14px 18px; }
.git-step:not(.callout) {
background: var(--panel);
border: 1px solid var(--accent-line);
border-left-width: 4px;
@@ -103,48 +95,33 @@
}
.git-step.is-warn { border-color: var(--stage); background: var(--stage-soft); }
.git-step.is-calm { border-color: var(--ok); background: var(--ok-soft); }
.git-step-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.git-step-kicker { color: var(--ink-2); }
.git-step.is-calm .git-step-kicker { color: var(--ok); }
.git-step-title, .git-op-title { margin: 0; font: 600 18px/1.25 var(--serif); }
.git-step-why, .git-step-label { margin: 0; font-size: 14px; color: var(--ink-2); }
.git-step-title, .git-op-title { margin: 0; font: 600 var(--fs-h3)/1.25 var(--serif); }
.git-step-why, .git-step-label { margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.git-step-label { font-weight: 600; color: var(--ink); }
.git-step-actions, .git-sync-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.git-hint {
justify-self: start;
padding: 8px 12px;
border: 1px dashed var(--accent-line);
border-radius: var(--radius);
background: transparent;
color: var(--accent);
font: inherit;
font-size: 14px;
cursor: pointer;
}
.git-hint:hover { background: var(--accent-soft); }
.git-hint:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.git-stale { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--stage); }
.git-held { font-size: 13.5px; color: var(--ink-2); }
.git-hint { justify-self: start; border-style: dashed; font-weight: 400; }
.git-stale { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-md); color: var(--stage); }
.git-held { font-size: var(--fs-md); color: var(--ink-2); }
.git-held .md-p { margin: 0; }
.git-wait { margin: 0; font-size: 13.5px; color: var(--stage); }
.git-fresh { margin: 0; font-size: 13px; color: var(--ink-3); }
.git-wait { margin: 0; font-size: var(--fs-md); color: var(--stage); }
.git-fresh { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.git-fresh.is-stale { color: var(--stage); }
/* A landed result fills the step strip's place with two zones: the result
itself (green, "Just landed") beside the leftover step (muted). The big
headline belongs to what happened, not to the work that is not yours. */
/* A landed result replaces the step strip with two zones: the result (green)
beside the leftover step (muted). The headline goes to what happened. */
.git-duo { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: start; }
.git-landed, .git-left { display: grid; gap: 6px; padding: 14px 18px; border-radius: var(--radius); }
.git-landed { background: var(--ok-soft); border: 1px solid var(--ok); border-left-width: 4px; }
.git-landed .git-step-kicker { color: var(--ok); }
.git-landed .git-result-body { font-size: 14px; color: var(--ink-2); }
.git-landed .git-result-body { font-size: var(--fs-md); color: var(--ink-2); }
.git-landed .git-result-body .md-p { margin: 0; }
.git-left { background: var(--panel-2); border: 1px solid var(--rule-2); }
.git-left .git-step-title { font-size: 16px; }
.git-left .git-step-title { font-size: var(--fs-h4); }
.git-panel-tab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.git-changes, .git-sync { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.git-sweep-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink-2); }
.git-sweep-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.git-pr-open.is-disabled { opacity: 0.5; cursor: not-allowed; }
/* The board's header is a section lead, not a card: the framed elements are
the agent's card in the slot and the next step under it. */
/* The header is a section lead, not a card. */
.git-head {
display: grid;
gap: 6px;
@@ -152,40 +129,24 @@
border-bottom: 1px solid var(--rule);
}
.git-head-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.git-branch { margin: 0; font: 600 22px/1.2 var(--serif); overflow-wrap: anywhere; }
/* The branch name as a link to its host: it reads as the title until hovered. */
.git-branch { margin: 0; font: 600 var(--fs-h2)/1.2 var(--serif); overflow-wrap: anywhere; }
/* Branch name as a host link: reads as the title until hovered. */
.git-branch-link { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.git-branch-link::after { content: " ↗"; font: 400 14px/1 var(--mono); color: var(--ink-2); }
/* No arrow glyph: the link's title says it opens the remote in the browser. */
.git-branch-link:hover, .git-branch-link:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.git-track { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.git-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13.5px; color: var(--ink-2); }
.git-track { font-family: var(--mono); font-size: var(--fs-md); color: var(--ink-2); }
.git-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--fs-md); color: var(--ink-2); }
.git-noremote { font-weight: 600; color: var(--stage); }
/* The ring sits on the first line of a wrapped activity, as the dock's does. */
/* Ring on the first line of a wrapped activity, as in the dock. */
.git-activity { display: flex; align-items: flex-start; gap: 8px; color: var(--accent); }
.git-activity .spinner.tiny { margin-top: 0.25em; }
.git-pr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid var(--rule); }
.git-pr-open { text-decoration: none; }
.git-pr-ask { font-size: 14px; color: var(--ink); }
.git-pr-base { font-size: 13.5px; color: var(--ink-2); }
.git-pr-base select, .git-field select, .git-field input, .git-search {
font: inherit;
font-size: 14px;
padding: 6px 10px;
color: var(--ink);
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: 8px;
}
.git-warn, .git-op {
padding: 12px 16px;
border: 1px solid var(--warn);
border-left-width: 4px;
border-radius: var(--radius);
background: var(--warn-soft);
color: var(--ink);
}
.git-op { display: grid; gap: 8px; border-color: var(--stage); background: var(--stage-soft); }
.git-op-files { margin: 0; padding-left: 20px; font-size: 13.5px; }
.git-pr-ask { font-size: var(--fs-md); color: var(--ink); }
.git-pr-base { font-size: var(--fs-md); color: var(--ink-2); }
.git-warn, .git-op { padding: 12px 16px; }
.git-op { display: grid; gap: 8px; }
.git-op-files { margin: 0; padding-left: 20px; font-size: var(--fs-md); }
.git-op-left { color: var(--warn); }
.git-op-clear { color: var(--ok); }
.git-op-actions, .git-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@@ -195,10 +156,10 @@
border: 1px solid var(--accent-line);
border-radius: var(--radius);
background: var(--accent-soft);
font-size: 14px;
font-size: var(--fs-md);
}
.git-result-body .md-p { margin: 4px 0 0; }
/* The result box is the line length here: git's stderr runs the full width. */
/* Git's stderr runs the full width. */
.git-result-body.md { max-width: none; }
.git-panel {
display: grid;
@@ -209,31 +170,26 @@
border-radius: var(--radius);
}
.git-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.git-panel-title { margin: 0; font-size: 16px; }
.git-group-title { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.git-panel-title { margin: 0; font-size: var(--fs-h4); }
.git-group-title { margin: 4px 0 0; font-size: var(--fs-md); color: var(--ink-2); }
.git-field-row { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.git-field { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.git-field { display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
.git-field.is-wide { flex: 1 1 16em; }
.git-new-name { font-family: var(--mono); }
.git-name-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.git-name-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.git-name-status.is-free { color: var(--ok); }
.git-name-status.is-invalid, .git-name-status.is-nested { color: var(--warn); }
.git-name-status.is-local, .git-name-status.is-remote { color: var(--stage); }
.git-offer { margin: 0 auto 0 0; font-size: 14px; }
.git-sweep { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-family: var(--mono); font-size: 13.5px; }
.git-offer { margin: 0 auto 0 0; font-size: var(--fs-md); }
.git-sweep { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-family: var(--mono); font-size: var(--fs-md); }
.git-ignore { margin-left: 8px; white-space: nowrap; }
.git-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.git-search { flex: 1 1 auto; }
.git-branches { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.git-table-wrap { overflow-x: auto; }
.git-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.git-table { width: 100%; border-collapse: collapse; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.git-table th {
text-align: left;
font-size: 11.5px;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-3);
padding: 6px 8px;
border-bottom: 1px solid var(--rule);
}
@@ -241,25 +197,21 @@
.git-table tr.is-current td { background: var(--accent-soft); }
.git-table tr.is-held td { color: var(--ink-2); }
.git-cell-name { overflow-wrap: anywhere; }
/* A branch name stays whole beside its badges (feature/export-csv never splits
as feature/export- / csv), and the headers stay on one line: a narrow column
scrolls the table sideways instead. */
/* Branch names never split beside badges, and headers stay on one line: a
narrow column scrolls the table sideways. */
.git-cell-name .git-name { white-space: nowrap; }
.git-table th { white-space: nowrap; }
.git-name, .git-path { font-family: var(--mono); }
.git-badge { margin-left: 6px; font-size: 10px; padding: 2px 6px; }
.git-badge.is-merged { color: var(--ok); background: var(--ok-soft); border-color: var(--ok); }
.git-badge.is-gone, .git-badge.is-held { color: var(--stage); background: var(--stage-soft); border-color: var(--stage); }
.git-badge { margin-left: 6px; }
.git-cell-track { font-family: var(--mono); white-space: nowrap; color: var(--ink-2); }
/* Stacked with blocks, not `display: grid`: a grid <td> stops being a table
cell, and its row's separator no longer lines up with the others. */
/* Blocks, not `display: grid`: a grid <td> stops being a table cell and its
row separator misaligns. */
.git-cell-last > span { display: block; }
.git-cell-last > .git-by { margin-top: 2px; }
.git-by { font-size: 12px; color: var(--ink-3); }
.git-by { font-size: var(--fs-xs); color: var(--ink-3); }
.git-cell-actions { white-space: nowrap; text-align: right; }
.git-cell-actions .btn + .btn { margin-left: 6px; }
.git-remote-only summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: 4px 0; }
.git-empty { margin: 0; font-size: 13.5px; color: var(--ink-3); }
/* Last on purpose: the narrow layout overrides the board rules above it. */
@container git-board (max-width: 720px) {
+34 -29
View File
@@ -12,7 +12,7 @@
}
.modal.help[open] { display: flex; }
.modal.help .modal-actions { flex: none; margin-top: 16px; align-items: center; }
.help-version { margin-right: auto; font-size: 12.5px; color: var(--ink-3); }
.help-version { margin-right: auto; font-size: var(--fs-sm); color: var(--ink-3); }
.help-version a { color: inherit; }
.help-layout {
@@ -22,6 +22,12 @@
flex: 1;
min-height: 0;
}
.help-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.help-filter { width: 100%; min-height: 32px; padding: 4px 10px; font: inherit; font-size: var(--fs-md); }
.help-filter-empty { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.help-tab-group { margin: 10px 0 2px; padding: 0 13px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.help-tab-group:first-child { margin-top: 0; }
.help-tab-group[hidden], .help-tab[hidden] { display: none; }
.help-tabs {
display: flex;
flex-direction: column;
@@ -37,19 +43,19 @@
align-items: center;
gap: 10px;
width: 100%;
padding: 8px 10px;
padding: 8px 10px 8px 13px;
border: 0;
border-left: 3px solid transparent;
border-radius: 6px;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink-2);
font: inherit;
font-size: 13.5px;
font-size: var(--fs-md);
text-align: left;
cursor: pointer;
}
.help-tab:hover { background: var(--panel-2); color: var(--ink); }
.help-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
/* The selected bar is an inset shadow, not a border, so it stays straight against the rounded corners. */
.help-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.help-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.help-tab-icon {
width: 18px;
@@ -63,18 +69,18 @@
}
.help-tab:hover .help-tab-icon { stroke: var(--accent); }
.help-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.help-panel h3 { font: 600 18px/1.3 var(--serif); margin: 0 0 12px; color: var(--accent); }
.help-panel p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.help-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
.help-panel h3 { font: 600 var(--fs-h3)/1.3 var(--serif); margin: 0 0 12px; color: var(--accent); }
.help-panel p { margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
.help-panel p:last-child { margin-bottom: 0; }
.help-panel strong { color: var(--ink); }
.help-panel .help-lead { font-size: 14.5px; color: var(--ink); margin-bottom: 16px; }
.help-panel h4 { font: 600 14px/1.35 var(--sans); margin: 18px 0 6px; color: var(--ink); }
.help-panel .help-lead { font-size: var(--fs-base); color: var(--ink); margin-bottom: 16px; }
.help-panel h4 { font: 600 var(--fs-md)/1.35 var(--sans); margin: 18px 0 6px; color: var(--ink); }
.help-panel ul,
.help-panel ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.help-panel ol { margin: 0 0 12px; padding-left: 20px; font-size: var(--fs-md); color: var(--ink-2); }
.help-panel li { margin-bottom: 5px; }
.help-panel li:last-child { margin-bottom: 0; }
.help-panel table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.help-panel table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: var(--fs-md); color: var(--ink-2); }
.help-panel th,
.help-panel td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; vertical-align: top; }
.help-panel th { background: var(--panel-2); font-weight: 600; color: var(--ink); }
@@ -82,7 +88,7 @@
font: 0.88em var(--mono);
background: var(--panel-2);
border: 1px solid var(--rule);
border-radius: 4px;
border-radius: var(--radius-xs);
padding: 1px 5px;
overflow-wrap: anywhere;
}
@@ -94,17 +100,16 @@
.help-panel .help-callout {
display: flex; align-items: flex-start; gap: 12px;
margin: 0 0 16px; padding: 12px 14px;
background: var(--stage-soft); border: 1px solid var(--stage); border-left-width: 4px; border-radius: var(--radius);
}
.help-callout-icon { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--stage); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.help-panel .help-callout-label { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.help-panel .help-callout-label { display: block; margin-bottom: 2px; font-size: var(--fs-md); color: var(--ink); }
.help-panel .help-callout p { margin: 0; color: var(--ink); }
.help-panel ol.help-rows { list-style: none; margin: 0 0 12px; padding: 0; }
.help-row { margin: 0 0 8px; padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: var(--radius); }
.help-panel .help-row:last-child { margin-bottom: 0; }
.help-row dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; }
.help-row dt { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); padding-top: 1px; }
.help-row dd { margin: 0; font-size: 13.5px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.help-row dt { color: var(--ink-2); padding-top: 1px; }
.help-row dd { margin: 0; font-size: var(--fs-md); color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) {
.help-row dl { grid-template-columns: 1fr; gap: 0; }
.help-row dt { margin-top: 6px; }
@@ -113,10 +118,10 @@
.help-panel .handoff-command { margin: 0 0 12px; }
.help-panel .handoff-command:last-child { margin-bottom: 0; }
.help-panel .handoff-code {
font: 13px/1.5 var(--mono);
font: var(--fs-sm)/1.5 var(--mono);
background: var(--panel);
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
padding: 10px 12px;
}
@@ -141,13 +146,13 @@
theme and the chosen highlight without a line of script. */
.help-figure { margin: 4px 0 16px; }
.help-figure figcaption,
.help-moods-title { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }
.help-moods-title { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-2); }
.help-diagram { display: block; width: 100%; max-width: 560px; height: auto; margin: 8px 0 4px; }
.hd-box { fill: var(--panel-2); stroke: var(--rule-2); stroke-width: 1.2; }
.hd-line { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.hd-dash { stroke-dasharray: 4 4; }
.hd-label { fill: var(--ink); font: 13px var(--sans); }
.hd-label.small { fill: var(--ink-2); font-size: 12px; }
.hd-label { fill: var(--ink); font: var(--fs-sm) var(--sans); }
.hd-label.small { fill: var(--ink-2); font-size: var(--fs-xs); }
.hd-accent { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
.hd-label.hd-accent { fill: var(--accent); stroke: none; font-weight: 600; }
.hd-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; }
@@ -160,7 +165,7 @@
}
.help-mood { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.help-mood-bot { width: 40px; height: 56px; }
.help-mood span { font-size: 12.5px; color: var(--ink-2); text-align: center; }
.help-mood span { font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
/* The traveling highlight on the flow diagrams: only on the visible panel,
only while the dialog is open, and only when the system allows motion.
@@ -173,20 +178,20 @@
@media (max-width: 720px) {
.help-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; }
.help-tabs { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; }
.help-tab-group { display: none; }
.help-tab {
width: auto;
flex: none;
white-space: nowrap;
border-left: 0;
border-bottom: 3px solid transparent;
border-radius: 6px 6px 0 0;
padding-left: 10px;
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.help-tab[aria-selected="true"] { border-bottom-color: var(--accent); }
.help-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
}
.about-live {
padding: 9px 12px;
border-radius: 8px;
border-radius: var(--radius-md);
background: var(--panel-2);
border: 1px solid var(--rule);
}
+42 -70
View File
@@ -1,9 +1,7 @@
/* Learning on the dashboard: the slim row (screens/learning-row.js) and the
waiting banner. From the saved prototype's variant A
(specs/project-learning/prototypes/learning-row.html), on the page's own
tokens: the prototype's hold color is --stage, its border --rule. */
waiting banner. Hold color is --stage, border --rule. */
/* The row. Under the spec picker while it needs the person (not set up, off,
/* The row: under the spec picker while it needs the person (not set up, off,
paused); after the last card group while on. */
.learn-row { position: relative; }
.learn-row.is-top { margin: 0 0 22px; }
@@ -16,32 +14,19 @@
padding: 8px 12px;
border-top: 1px solid var(--rule);
border-bottom: 1px solid var(--rule);
font-size: 14px;
font-size: var(--fs-md);
color: var(--ink);
}
/* Paused for you: the amber tint, so a paused person sees it at a glance. */
/* Paused: amber tint, visible at a glance. */
.learn-row.is-paused .learn-line {
background: var(--stage-soft);
border: 1px solid var(--stage);
border-radius: calc(var(--radius) * 0.7);
border-radius: var(--radius-md);
}
.learn-label { font-weight: 650; }
.learn-pill {
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 2px 8px;
border: 1px solid var(--rule-2);
border-radius: 999px;
color: var(--ink-3);
}
.learn-pill.is-on { color: var(--accent); border-color: var(--accent); }
.learn-pill.is-hold { color: var(--stage); border-color: var(--stage); }
.learn-label { font-weight: 600; }
.learn-say { flex: 1 1 14em; min-width: 0; color: var(--ink-3); }
.learn-row.is-paused .learn-say { color: var(--ink); }
.learn-controls { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.learn-controls .btn { margin: 0; }
/* Pause for me: a sliding switch. Amber while paused. */
.learn-switch {
@@ -63,7 +48,7 @@
width: 34px;
height: 20px;
box-sizing: border-box;
border-radius: 999px;
border-radius: var(--radius-pill);
background: var(--bg);
border: 1px solid var(--rule-2);
}
@@ -76,15 +61,15 @@
height: 14px;
border-radius: 50%;
background: var(--ink-3);
transition: left 0.15s ease;
transition: transform var(--dur-1);
}
.learn-switch.is-on .learn-track { background: var(--stage); border-color: var(--stage); }
.learn-switch.is-on .learn-track::after { left: 16px; background: var(--panel); }
.learn-switch.is-on .learn-track::after { transform: translateX(14px); background: var(--panel); }
.learn-switch:hover:not(:disabled) .learn-track { border-color: var(--accent); }
.learn-link {
font: inherit;
font-size: 13px;
font-size: var(--fs-sm);
min-height: 24px;
padding: 0 4px;
background: none;
@@ -96,14 +81,14 @@
.learn-link:hover { text-decoration-thickness: 2px; }
.learn-switch:focus-visible,
.learn-link:focus-visible,
.learn-more-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.learn-more-item:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
/* More: at the bottom of the page, so it opens upward. */
.learn-more {
position: absolute;
right: 0;
bottom: 100%;
z-index: 5;
z-index: var(--z-sticky);
min-width: 17em;
margin: 0 0 4px;
padding: 4px;
@@ -111,100 +96,88 @@
text-align: left;
background: var(--panel);
border: 1px solid var(--rule);
border-radius: calc(var(--radius) * 0.7);
box-shadow: var(--shadow);
font-size: 13.5px;
border-radius: var(--radius-md);
box-shadow: var(--shadow-2);
font-size: var(--fs-md);
color: var(--ink);
}
.learn-more[hidden] { display: none; }
.learn-more-item { padding: 7px 10px; border-radius: calc(var(--radius) * 0.5); cursor: pointer; }
.learn-more-item { padding: 7px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.learn-more-item:hover,
.learn-more-item:focus { background: var(--accent-soft); outline: none; }
.learn-more-item:focus { background: var(--accent-soft); }
.learn-more-item.is-danger { color: var(--warn); border-top: 1px solid var(--rule); border-top-left-radius: 0; border-top-right-radius: 0; }
.learn-more-item[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.learn-more-item[aria-disabled="true"]:hover { background: none; }
/* Lessons waiting: the banner nearest the title, in the accent tint. */
.dash-nudge.learn-banner { border-left-width: 4px; }
.learn-banner .btn { margin: 0 0 0 auto; }
.learn-banner .btn { margin-left: auto; }
/* Open the lessons: each file under its own name. */
.learn-lessons-file + .learn-lessons-file { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.learn-lessons-name { margin: 0 0 6px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.learn-lessons-name { margin: 0 0 6px; font-family: var(--mono); font-size: var(--fs-sm); color: var(--ink-3); }
/* The lessons card (screens/cards.js buildLessons): one block per waiting
item, each with its own choices and nothing chosen at first. */
.lessons-opening { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }
/* The lessons card (cards.js buildLessons): one block per item, none chosen at first. */
.lessons-opening { margin: 14px 0 0; font-size: var(--fs-md); color: var(--ink-3); }
.lessons-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.lessons-row {
padding: 12px 14px;
border: 1px solid var(--rule);
border-radius: calc(var(--radius) * 0.7);
border-radius: var(--radius-md);
background: var(--panel);
}
.lessons-row.is-chosen { border-color: var(--accent); }
.lessons-row p { margin: 0 0 6px; }
.lessons-heading { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.lessons-heading { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.lessons-text { font-weight: 600; color: var(--ink); }
.lessons-why,
.lessons-found { font-size: 13.5px; color: var(--ink-2); }
.lessons-found { font-size: var(--fs-md); color: var(--ink-2); }
.lessons-origin,
.lessons-note { font-size: 12.5px; color: var(--ink-3); }
.lessons-fix-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.lessons-note { font-size: var(--fs-sm); color: var(--ink-3); }
.lessons-fix blockquote {
margin: 0 0 8px;
padding: 6px 10px;
border-left: 3px solid var(--rule-2);
font-family: var(--mono);
font-size: 12.5px;
font-size: var(--fs-sm);
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.lessons-fix .lessons-after { border-left-color: var(--accent); }
.lessons-become { margin: 0 0 6px; padding-left: 18px; font-size: 13.5px; }
.lessons-become { margin: 0 0 6px; padding-left: 18px; font-size: var(--fs-md); }
/* Flagged and refused: said in words, not only in color. */
.lessons-flag,
.lessons-refused {
padding: 5px 9px;
border-radius: calc(var(--radius) * 0.5);
font-size: 13px;
background: var(--stage-soft);
color: var(--ink);
}
.lessons-refused { background: var(--warn-soft); color: var(--warn); }
.lessons-refused { padding: 5px 9px; font-size: var(--fs-sm); }
.lessons-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lessons-choices .btn { margin: 0; }
.lessons-edit { margin-top: 10px; display: grid; gap: 8px; }
.lessons-field { margin: 0; }
.lessons-input,
.lessons-select { width: 100%; box-sizing: border-box; }
.lessons-error { margin: 10px 0 0; }
.lessons-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.lessons-summary { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.lessons-foot .btn { margin: 0 0 0 auto; }
.lessons-summary { margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.lessons-foot .btn { margin-left: auto; }
.lessons-first-lesson {
margin: 14px 0 0;
padding: 12px 14px;
border-left: 4px solid var(--accent);
background: var(--accent-soft);
border-radius: calc(var(--radius) * 0.5);
border-radius: var(--radius-sm);
}
.lessons-first-lesson p { margin: 0 0 4px; }
.lessons-first-about { margin: 12px 0 0; }
.lessons-later { margin-top: 8px; }
/* Review from the dashboard: the same card in a dialog over the menu. Sized
like the Notebook dialog; max-width: none lifts the base .modal 440px cap. */
/* Review: the same card in a dialog, sized like the Notebook; max-width: none
lifts the base .modal 440px cap. */
.modal.lessons-dialog { width: min(1200px, 90vw); max-width: none; }
.lessons-dialog .card { margin: 0; box-shadow: none; border: 0; padding: 0; max-width: none; }
/* The lessons dialog: closable (the corner ×, Not now, Escape), and locked
while Save lessons goes. */
/* Closable (corner x, Not now, Escape), locked while saving. */
.lessons-dialog .modal-actions { align-items: center; justify-content: flex-end; }
.lessons-dialog .modal-actions .btn { margin: 0; }
.lessons-suggestions { flex: 1 1 100%; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: calc(var(--radius) * 0.5); }
.lessons-suggestions h3 { margin: 0 0 6px; font-size: 13.5px; }
.lessons-suggestions .md { max-height: 40vh; overflow: auto; font-size: 13.5px; }
.lessons-suggestions { flex: 1 1 100%; }
.lessons-suggestions h3 { margin: 0 0 6px; font-size: var(--fs-md); }
.lessons-suggestions .md { max-height: 40vh; overflow: auto; font-size: var(--fs-md); }
.lessons-dialog .modal-actions { flex-wrap: wrap; }
.lessons-dialog .modal-actions .btn .spinner { margin-right: 8px; }
.modal-x {
@@ -216,25 +189,24 @@
display: grid;
place-items: center;
padding: 0;
font-size: 22px;
font-size: var(--fs-h2);
line-height: 1;
color: var(--ink-3);
background: none;
border: 0;
border-radius: calc(var(--radius) * 0.5);
border-radius: var(--radius-sm);
cursor: pointer;
}
.modal-x:hover:not(:disabled),
.modal-x:focus-visible { color: var(--ink); background: var(--panel-2); }
.modal-x:disabled { opacity: 0.4; cursor: default; }
.lessons-dialog.is-saving .card { opacity: 0.6; }
.lessons-unsaved { flex: 1 1 100%; padding: 10px 12px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: calc(var(--radius) * 0.5); }
.lessons-unsaved { flex: 1 1 100%; }
.lessons-unsaved .modal-actions { flex-wrap: wrap; }
.lessons-unsaved .btn { white-space: nowrap; }
.lessons-unsaved-text { margin: 0 0 8px; font-size: 13.5px; color: var(--ink); }
.lessons-unsaved-text { margin: 0 0 8px; font-size: var(--fs-md); color: var(--ink); }
/* Switching Learning on or off, opening Review, saving: shown the moment the
button is pressed. */
/* Shown the moment a Learning, Review or save button is pressed. */
.learn-busy { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.learn-banner.is-busy .dash-nudge-text { display: inline-flex; align-items: center; gap: 8px; }
.learn-row.is-busy .learn-pill { opacity: 0.6; }
+10 -16
View File
@@ -2,41 +2,35 @@
/* ------------------------------------------------------- looks button */
/* The top bar's tools: one group at the right edge. */
.topbar-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
appearance: none;
flex: none;
margin-left: 14px;
width: 36px;
height: 36px;
padding: 0;
display: grid;
place-items: center;
border: 1px solid transparent;
border-radius: 8px;
border-radius: var(--radius-md);
background: transparent;
cursor: pointer;
}
.icon-btn:hover { background: var(--panel-2); border-color: var(--rule); }
/* One icon set: 24-unit drawings, a 1.8 stroke, round caps and joins, one ink
color at rest and the highlight on hover. The top bar buttons (here) and
the second row's buttons (below) share it. */
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .ab-ring { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.icon-btn .ab-mark { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; }
.icon-btn .ab-dot { fill: var(--ink-2); }
.icon-btn:hover .ab-ring { stroke: var(--accent); }
.icon-btn:hover .ab-mark, .icon-btn:hover .ab-dot { stroke: var(--accent); fill: none; }
.icon-btn:hover .ab-dot { fill: var(--accent); }
.icon-btn svg * { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .ab-dot, .icon-btn svg .dc-pip { fill: var(--ink-2); stroke: none; }
.icon-btn:hover svg * { stroke: var(--accent); }
.icon-btn:hover svg .ab-dot, .icon-btn:hover svg .dc-pip { fill: var(--accent); stroke: none; }
a.icon-btn { box-sizing: border-box; text-decoration: none; }
/* A link in a dialog (the update modal's release, Help's version) keeps the
accent once visited: the browser's purple is unreadable on the dark theme. */
.modal a:not(.btn), .modal a:not(.btn):visited { color: var(--accent); }
.icon-btn .mg-body { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linejoin: round; }
.icon-btn .mg-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover .mg-body, .icon-btn:hover .mg-line { stroke: var(--accent); }
.icon-btn .gr-teeth { fill: none; stroke: var(--ink-3); stroke-width: 2.2; }
.icon-btn .gr-ring { fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.icon-btn .gr-hub { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.icon-btn:hover .gr-teeth, .icon-btn:hover .gr-ring, .icon-btn:hover .gr-hub { stroke: var(--accent); }
/* ------------------------------------------------------------ swatches */
+23 -52
View File
@@ -6,15 +6,14 @@
/* `hidden` loses to the display above without this (agent-less sessions hide it). */
.notepad-btn[hidden] { display: none; }
.btn.notepad-btn { padding: 0 8px; align-self: stretch; }
.notepad-btn .notepad-label { font-size: 13px; line-height: 1; }
.notepad-btn .notepad-label { font-size: var(--fs-sm); line-height: 1; }
.notepad-btn .np-band { fill: var(--ink-2); stroke: none; }
.notepad-btn:hover:not(:disabled) .np-band { fill: var(--accent); }
.notepad-btn:disabled .np-band { fill: var(--ink-3); }
.notepad-btn svg { width: 16px; height: 16px; display: block; }
.notepad-btn .np-page,
.notepad-btn .np-ring,
.notepad-btn .np-line { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-linecap: round; }
.notepad-btn .np-page { stroke-width: 1.3; }
.notepad-btn .np-line { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notepad-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent-line); }
.notepad-btn:hover:not(:disabled) .np-page,
.notepad-btn:hover:not(:disabled) .np-ring,
@@ -23,8 +22,7 @@
.notepad-btn:disabled .np-ring,
.notepad-btn:disabled .np-line { stroke: var(--ink-3); }
/* The Notebook dialog: large, with the editor taking whatever height the
title, the pictures and the actions leave. Only the editor scrolls. */
/* The dialog: the editor takes the height left over and alone scrolls. */
.modal.notepad {
width: min(1200px, 90vw);
height: min(900px, 85vh);
@@ -46,12 +44,10 @@
}
.notepad-editor:focus-within { border-color: var(--accent-line); }
/* The open tab's last send from the dashboard, muted under the editor. */
.notepad-sent { flex: none; margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.notepad-sent { flex: none; margin: 6px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
.notepad-sent[hidden] { display: none; }
/* The pictures under the editor: the Add image button, then the thumbnails,
wrapping. Capped at two rows, so 200 pictures never squeeze the editor
away; the strip scrolls instead. The whole region lights while pictures are
dragged over the dialog. */
/* Add image, then wrapping thumbnails. Capped at two rows so many pictures
never squeeze the editor; the strip scrolls. Lights up on drag-over. */
.notepad-images {
flex: none;
display: flex;
@@ -60,7 +56,7 @@
margin-top: 12px;
padding: 6px;
border: 1px dashed transparent;
border-radius: 8px;
border-radius: var(--radius-md);
}
.notepad-add { flex: none; }
.notepad-strip {
@@ -80,25 +76,23 @@
background: var(--accent-soft);
}
/* One thumbnail: the picture is a button that opens the picview (the shared
.attach-open in shell.css), with the tray's round X in its corner, and the
inline delete question or the upload state laid over it. */
/* A thumbnail: a button opening the picview (shared .attach-open), with a
round X, and the delete question or upload state overlaid. */
.notepad-thumb.attach-thumb { width: 88px; height: 88px; }
.notepad-thumb .attach-overlay p { margin: 0; padding: 0 4px; }
.notepad-thumb .attach-overlay .btn.tiny { margin: 0; padding: 1px 6px; font-size: 10.5px; }
.notepad-thumb .attach-overlay .btn.xs { padding: 1px 6px; font-size: var(--fs-2xs); }
.notepad-ask {
background: color-mix(in srgb, var(--panel) 92%, transparent);
color: var(--ink); font-size: 10.5px; font-weight: 600; text-align: center;
color: var(--ink); font-size: var(--fs-2xs); font-weight: 600; text-align: center;
}
.notepad-ask-row { display: flex; gap: 4px; }
.modal.notepad .modal-actions { flex: none; align-items: center; margin-top: 14px; }
.notepad-status { margin: 0 auto 0 0; min-height: 1.4em; font-size: 12.5px; color: var(--ink-3); }
.notepad-status { margin: 0 auto 0 0; min-height: 1.4em; font-size: var(--fs-sm); color: var(--ink-3); }
.notepad-status.is-problem { color: var(--warn); }
/* The tab bar: a scrolling row of tabs, each its name and an x, with the
current one marked, then New tab. A double-click renames, the x deletes and
a drag moves; the questions open in the small dialogs below. */
/* Scrolling tab row, then New tab. Double-click renames, x deletes, drag
moves; questions open in the small dialogs below. */
.notepad-tabbar { flex: none; display: flex; align-items: flex-end; gap: 8px; margin-bottom: -1px; position: relative; z-index: 1; }
.notepad-tabs { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow-x: auto; padding-bottom: 0; }
.notepad-tabwrap {
@@ -107,7 +101,7 @@
display: flex;
align-items: center;
border: 1px solid var(--rule-2);
border-radius: 8px 8px 0 0;
border-radius: var(--radius-md) var(--radius-md) 0 0;
background: var(--panel-2);
color: var(--ink-2);
}
@@ -126,7 +120,7 @@
background: none;
color: inherit;
font: inherit;
font-size: 13px;
font-size: var(--fs-sm);
line-height: 1.2;
cursor: pointer;
overflow: hidden;
@@ -134,19 +128,7 @@
white-space: nowrap;
}
.notepad-tab[aria-selected="true"] { font-weight: 600; }
.notepad-sent-badge {
flex: none;
margin: 0 2px 0 2px;
padding: 1px 5px;
border: 1px solid var(--accent-line);
border-radius: 999px;
background: var(--accent-soft);
color: var(--accent);
font-size: 10.5px;
font-weight: 600;
line-height: 1.3;
white-space: nowrap;
}
.notepad-sent-badge { flex: none; margin: 0 2px; }
.notepad-tab-x {
flex: none;
width: 20px;
@@ -154,11 +136,11 @@
margin-right: 6px;
padding: 0;
border: 0;
border-radius: 4px;
border-radius: var(--radius-xs);
background: none;
color: inherit;
font: inherit;
font-size: 16px;
font-size: var(--fs-h4);
line-height: 1;
cursor: pointer;
opacity: 0.6;
@@ -169,36 +151,25 @@
.notepad-tab-x:hover { background: var(--panel); color: var(--warn); }
.notepad-tab:focus-visible,
.notepad-tab-x:focus-visible,
.notepad-tab-new:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.notepad-tab-new:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
.notepad-tabwrap:has(.is-dragging) { opacity: 0.5; }
.notepad-tabwrap:has(.is-drop-before) { box-shadow: -3px 0 0 0 var(--accent); }
.notepad-tabs.is-drop-end { box-shadow: inset -3px 0 0 0 var(--accent); }
.notepad-tab-new { flex: none; margin-bottom: 4px; }
/* The name and delete questions: small dialogs over the Notebook, never a
browser prompt. The empty state sits where the editor would. */
/* Name and delete questions: small dialogs, never a browser prompt. */
.notepad-empty {
flex: none;
margin: 0 0 10px;
padding: 10px 12px;
border: 1px solid var(--rule-2);
border-radius: 8px;
border-radius: var(--radius-md);
background: var(--panel-2);
}
.notepad-empty[hidden] { display: none; }
.modal.notepad-sub { width: min(420px, calc(100vw - 32px)); }
.modal.notepad-sub h2 { margin: 0 0 10px; }
.notepad-name-form input {
display: block;
width: 100%;
padding: 6px 8px;
border: 1px solid var(--rule-2);
border-radius: 6px;
background: var(--panel);
color: var(--ink);
font: inherit;
}
.notepad-name-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.notepad-name-form input { display: block; }
.notepad-name-count { margin: 4px 0 0; text-align: right; font-variant-numeric: tabular-nums; }
.notepad-name-count.over { color: var(--warn); }
.notepad-name-error { min-height: 1.2em; margin: 6px 0 0; }
File diff suppressed because it is too large. Load diff
+68 -90
View File
@@ -2,14 +2,12 @@
/* ---------------------------------------------------------- the flight
While Plan2Code is thinking, stars stream past and Planny leans into it:
tilted forward, bobbing, with speed lines behind him. The motion belongs to
him, so it reads as "he is off working on it" rather than as a background
effect. Chosen from ten prototypes (prototypes/thinking-starfield.html).
While Plan2Code is thinking, stars stream past and Planny leans in, bobbing,
with speed lines behind him, so it reads as "he is off working on it", not
as a background effect.
The flight and the spinner are one signal: every line that turns the ring
also flies. Every other state keeps the dock still, so the motion itself
carries meaning. */
also flies. Every other state keeps the dock still. */
.sky {
position: absolute;
@@ -24,9 +22,7 @@
.dock.is-flying .sky { opacity: 0.85; }
/* Each star rides a track as wide as the dock and moves by a percentage of
it, so the field fills whatever width the dock has: 250px, 210px on a
narrower window, the full width on a phone. The dot sits at the track's
right-hand end. */
it, so the field fills any dock width. The dot sits at the track's right end. */
.sky .star {
position: absolute;
left: 0;
@@ -58,12 +54,11 @@
50% { transform: translateY(-3px) rotate(6deg); }
}
/* Speed lines, trailing off his back. Hung off Planny rather than off the
dock, so they follow him into the phone layout, where he sits beside the
text instead of above it. */
/* Speed lines off his back. Hung off Planny, not the dock, so they follow him
into the phone layout, where he sits beside the text. */
.trail { position: absolute; right: 100%; top: 0; width: 40px; height: 100%; margin-right: 4px; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.dock.is-flying .trail { opacity: 1; }
.trail i { position: absolute; right: 0; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, transparent, var(--ink-3)); }
.trail i { position: absolute; right: 0; height: 1.5px; border-radius: var(--radius-xs); background: linear-gradient(90deg, transparent, var(--ink-3)); }
.trail i:nth-child(1) { top: 38%; width: 26px; }
.trail i:nth-child(2) { top: 52%; width: 36px; }
.trail i:nth-child(3) { top: 66%; width: 22px; }
@@ -75,12 +70,12 @@
to { transform: translateX(-22px); opacity: 0; }
}
/* The line under him stays readable with stars passing behind it. */
/* Keeps his line readable over passing stars. */
.dock.is-flying .dock-say { text-shadow: 0 0 3px var(--panel-2), 0 0 6px var(--panel-2), 0 0 10px var(--panel-2); }
.dock-say {
margin: 0;
font-size: 13px;
font-size: var(--fs-sm);
line-height: 1.45;
color: var(--ink-2);
text-wrap: balance;
@@ -88,10 +83,9 @@
/* ------------------------------------------------------------ Planny */
/* The mascot is the page's state, not decoration on top of it: his star eye
lights up when something is yours and turns while the agent works, his arms
take a pose for each mood, and he fades and shuts his eye when the
connection drops. One class from app.js switches all of it. */
/* The mascot is the page's state: his star eye lights when something is yours
and turns while the agent works, his arms pose per mood, and he fades with
his eye shut when the connection drops. One class from app.js switches it. */
.planny { width: 46px; height: 63px; flex: none; overflow: visible; }
.planny .shell,
@@ -103,7 +97,7 @@
stroke-linecap: round;
stroke-linejoin: round;
}
/* The mouth is a lip, not a grin: at the body's own 1.3 it reads as lipstick. */
/* Thinner than the body's 1.3, which reads as lipstick. */
.planny .smile { stroke-width: 0.9; }
.planny .arm path { stroke-width: 1.2; }
.planny .arm circle,
@@ -120,10 +114,9 @@
animation: planny-blink 6.5s ease-in-out infinite;
}
/* Arms: one set per mood, and only that set shows. Moods without a set of
their own (happy) keep the resting arms; adrift has none at all, which is
most of what makes him look lost. Arms that move pivot at the shoulder, so
they carry view-box origins rather than their own boxes. */
/* Arms: one set per mood, only that set shows. Moods without one (happy) keep
the resting arms; adrift has none, which makes him look lost. Moving arms
pivot at the shoulder, so they use view-box origins. */
.planny .arms { display: none; }
.planny .a-rest { display: inline; }
.planny:is(.is-point, .is-work, .is-done, .is-gone, .is-adrift, .is-setup) .a-rest { display: none; }
@@ -154,11 +147,11 @@
@keyframes foot-step-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1px); } }
@keyframes foot-step-b { 0%, 100% { transform: translateY(-1.1px); } 50% { transform: translateY(0); } }
/* Something for you to do: star lit in the highlight color, a wave. */
/* Yours to do: star lit, a wave. */
.planny.is-point { animation: planny-lean 2.6s ease-in-out infinite; }
.planny.is-point .eye { fill: var(--accent); }
/* The agent has it: the star turns, arms pump and his feet walk on the spot. */
/* The agent has it: star turns, arms pump, feet walk in place. */
.planny.is-work .eye { fill: var(--accent); animation: planny-spin 2.6s linear infinite; }
.planny.is-work .foot.f1 { animation: foot-step-a 0.7s ease-in-out infinite; }
.planny.is-work .foot.f2 { animation: foot-step-b 0.7s ease-in-out infinite; }
@@ -166,16 +159,13 @@
/* Nothing outstanding. */
.planny.is-happy .eye { fill: var(--ok); }
/* The server is up, but nothing is answering at the other end of it. Not the
faded, eye-shut `gone` look: this page is working perfectly, and the thing
that is not is somewhere else. Gray, still, and no arms: he has nothing to
do with them until someone answers. */
/* The server is up but nothing answers at the other end. Not the `gone` look:
this page works fine. Gray, still, no arms until someone answers. */
.planny.is-adrift .eye { fill: var(--ink-3); animation: none; }
.planny.is-adrift .smile { opacity: 0.6; }
/* Finished. Settled rather than switched off: green star, arms up, eye open.
The `gone` look below would be wrong here -- the server IS about to go away,
and a faded Planny with his eye shut reads as a breakage. */
/* Finished: green star, arms up, eye open. Not `gone`: a faded Planny with
his eye shut reads as a breakage. */
.planny.is-done .eye { fill: var(--ok); animation: none; }
.planny.is-done .smile { stroke-width: 1.5; }
@@ -183,21 +173,18 @@
.planny.is-gone { opacity: 0.5; }
.planny.is-gone .eye { fill: var(--warn); animation: none; transform: scaleY(0.12); }
/* The setup page, waiting on a pick: the point look without the work
spinner -- a friendly lean and wave, star lit, while nothing runs yet. */
/* The setup page, waiting on a pick: the point look, nothing running yet. */
.planny.is-setup { animation: planny-lean 2.6s ease-in-out infinite; }
.planny.is-setup .eye { fill: var(--accent); }
/* ------------------------------------------------------ mood variants
Each mood above is a family, not a single drawing: app.js rolls a v0/v1/v2
every time the mood CHANGES, so "your turn" does not look identical every
time it comes around. v0 is always the plain version written above; the
variants below are the alternates. Rules stay on the parts (arms, eye,
feet) rather than on the svg where a variant can help it, so the flight
transform can keep owning the svg itself while the agent works. */
app.js rolls a v0/v1/v2 each time the mood CHANGES, so "your turn" does not
always look the same. v0 is the plain version above. Rules stay on the
parts (arms, eye, feet) where possible, so the flight transform keeps
owning the svg while the agent works. */
/* Parts only the alternates use. Hidden here, woken by the variant. */
/* Parts only the variants use; hidden until woken. */
.planny .spark { opacity: 0; }
.planny .spark path {
fill: var(--accent);
@@ -256,17 +243,16 @@
}
/* point -- something is yours to do. */
/* v1: an eager little hop while he waves. */
/* v1: a little hop while he waves. */
.planny.is-point.v1 { animation: planny-float 1.4s ease-in-out infinite; }
/* v2: still leaning, but his star darts like he is pointing things out. */
/* v2: leaning, star darting as if pointing things out. */
.planny.is-point.v2 { animation: planny-lean 3.2s ease-in-out infinite; }
.planny.is-point.v2 .eye { animation: eye-dart 3.4s ease-in-out infinite; }
/* work -- the agent has it. The flight already owns the svg, so every work
variant plays on his parts only. */
/* v1: reading. The star sweeps back and forth instead of turning. */
/* work -- the agent has it. The flight owns the svg, so variants use parts only. */
/* v1: reading, the star sweeps instead of turning. */
.planny.is-work.v1 .eye { animation: eye-scan 1.6s ease-in-out infinite; }
/* v2: full tilt. The star turns faster and throbs while he runs. */
/* v2: full tilt, star turns faster and throbs. */
.planny.is-work.v2 .eye { animation: planny-spin 1.4s linear infinite, star-throb 0.7s ease-in-out infinite; }
.planny.is-work.v2 .arm.pump-l,
.planny.is-work.v2 .arm.pump-r,
@@ -281,13 +267,13 @@
.planny.is-happy.v2 .spark g + g path { animation-delay: 1.5s; }
/* done -- session over. */
/* v1: a small satisfied nod, on a long leash so it reads as occasional. */
/* v1: a small nod, spaced out so it reads as occasional. */
.planny.is-done.v1 { animation: planny-nod 4.4s ease-in-out infinite; transform-origin: 50% 92%; }
.planny.is-done.v1 .spark { opacity: 1; }
.planny.is-done.v1 .spark path { animation: spark-pop 4.4s ease-in-out infinite; }
/* adrift -- the page is fine, the other end is not. */
/* v1: a slow lost sway, star drifting up to look for him. */
/* v1: a slow lost sway, star drifting up. */
.planny.is-adrift.v1 { animation: planny-sway 5.4s ease-in-out infinite; transform-origin: 50% 100%; }
.planny.is-adrift.v1 .eye { animation: eye-up 5.4s ease-in-out infinite; }
@@ -299,13 +285,12 @@
/* ------------------------------------------------------------ wake-up
A freshly opened dashboard: Planny powers on center stage, then glides
into the rail (boot.js). Each beat is a keyframe on a delay under
`.booting`, one class for the whole run; the glide's target depends on
where the rail sits, so boot.js hands it over as --wake-glide. The layer
takes clicks so none lands on a card underneath while he wakes. */
.wake { position: fixed; inset: 0; z-index: 45; pointer-events: auto; }
/* Solid page color behind the sleeping bot, following light/dark via --bg. */
A fresh dashboard: Planny powers on center stage, then glides into the rail
(boot.js). Each beat is a delayed keyframe under `.booting`; boot.js passes
the glide target as --wake-glide. The layer takes clicks so none reaches a
card underneath. */
.wake { position: fixed; inset: 0; z-index: var(--z-wake); pointer-events: auto; }
/* Solid page color behind the bot (--bg follows light/dark). */
.wake::before { content: ""; position: absolute; inset: 0; background: var(--bg); }
.wake[hidden] { display: none; }
.wake-bot {
@@ -322,8 +307,8 @@
.wake-bot .shell { fill: var(--panel-2); }
.wake-bot .foot { fill: var(--ink-3); }
.wake-bot .eye { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
/* The star and its scan sit in .look, so the glance moves them together
without fighting the star's own open-and-light transform. */
/* Star and scan sit in .look so the glance moves both without fighting the
star's own open-and-light transform. */
.wake-bot .look { transform-box: view-box; }
.wake-bot .scan { fill: none; stroke: var(--accent); stroke-width: 0.5; opacity: 0; }
.wake-bot .body { transform-box: view-box; transform-origin: 11px 28.8px; }
@@ -331,13 +316,13 @@
.wake-bot .limb { transform-box: view-box; }
.wake-bot .limb.l { transform-origin: 3px 18px; }
.wake-bot .limb.r { transform-origin: 19px 18px; }
/* His Z's sit outside .body, so neither the breathing nor the hop moves them. */
/* The Z's sit outside .body, so breathing and the hop do not move them. */
.wake-bot .zzz { transform-box: view-box; transform-origin: 18px 1px; }
.wake-bot .zzz path {
fill: none; stroke: var(--ink-3); stroke-width: 0.8; stroke-linecap: round; stroke-linejoin: round;
opacity: 0; transform-box: fill-box;
}
/* Dormant, before the first click: the one line telling them to wake him. */
/* Dormant, before the first click: tells them to wake him. */
.wake.dormant { cursor: pointer; }
.wake-hint {
position: absolute; left: 0; right: 0; top: 50%; margin: 147px 0 0;
@@ -346,18 +331,17 @@
}
.wake.dormant .wake-hint { opacity: 1; }
/* Skip: bottom right, out of the animation's way but big enough to find. */
/* Skip: bottom right, out of the way but easy to find. */
.wake-skip {
position: absolute; right: 24px; bottom: 24px;
min-width: 120px; padding: 10px 26px; border: 1.5px solid var(--ink-2); border-radius: 6px;
min-width: 120px; padding: 10px 26px; border: 1.5px solid var(--ink-2); border-radius: var(--radius-sm);
background: var(--panel-2); color: var(--ink-2);
font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
cursor: pointer; opacity: 0.9;
}
.wake-skip:hover, .wake-skip:focus-visible { opacity: 1; color: var(--ink); border-color: var(--ink); }
/* 0.0 s, powered down: the resting state every beat starts from. Arms hang
slack against his sides, the star is shut and the smile not yet drawn. */
/* 0.0 s, powered down: the start of every beat. Arms slack, star shut, no smile. */
.wake-bot { filter: grayscale(1); opacity: 0.55; }
.wake-bot .limb.l { transform: rotate(-14deg); }
.wake-bot .limb.r { transform: rotate(14deg); }
@@ -365,10 +349,9 @@
.wake-bot .smile { stroke-dasharray: 7; stroke-dashoffset: 7; }
@media (prefers-reduced-motion: no-preference) {
/* Asleep until the click, on loop: Z's drift up, he breathes, his slack
arms sway out of step, and his feet pulse like a standby light. Each
stops the moment .booting swaps in and hands the part to its beat below.
The Z's keep rising through the pop, so they never jump back. */
/* Asleep until the click, looping: Z's drift up, he breathes, arms sway out
of step, feet pulse like a standby light. Each stops when .booting swaps
in its beat below; the Z's keep rising through the pop so they never jump. */
.wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path { animation: zzz-rise 3.2s ease-in infinite; }
.wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path:nth-of-type(2) { animation-delay: 1.05s; }
.wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path:nth-of-type(3) { animation-delay: 2.1s; }
@@ -376,16 +359,14 @@
.wake:is(.dormant, .stirring) .wake-bot .limb.l { animation: wake-doze-l 3.6s ease-in-out infinite; }
.wake:is(.dormant, .stirring) .wake-bot .limb.r { animation: wake-doze-r 4.1s ease-in-out infinite; }
.wake:is(.dormant, .stirring) .wake-bot .foot { animation: wake-standby 2.8s ease-in-out infinite; }
/* Nudged, for one snore (app.js stir): still asleep, rocked gently side to
side about his feet, a pair of rocks then a pause, as if being shaken. */
/* Nudged for one snore (app.js stir): still asleep, rocked about his feet. */
.wake.stirring .wake-bot .body { animation: wake-nudge 1.3s ease-in-out infinite; }
/* Startled awake: the Z's blow outward and are gone. */
/* Startled awake: the Z's blow outward. */
.wake.booting .wake-bot .zzz { animation: wake-zzz-pop 0.3s ease-out both; }
/* 0.4 s power-on and feet blink · 1.35 s feet plant · 1.5 s / 1.9 s arms
lift off his sides · 2.5 s star opens with the scan, lit · 2.85 s he
looks left, then right, then ahead · 3.2 s smile · 3.6 s hop, arms up in
a cheer, star back to ink. */
/* 0.4 s power-on, feet blink · 1.35 s feet plant · 1.5/1.9 s arms lift ·
2.5 s star opens, lit · 2.85 s looks left, right, ahead · 3.2 s smile ·
3.6 s hop, arms up, star back to ink. */
.wake.booting .wake-bot { animation: wake-power 0.3s ease 0.4s both; }
.wake.booting .wake-bot .foot { animation: wake-feet 0.5s steps(1) 0.4s both, wake-plant 0.2s ease 1.35s both; }
.wake.booting .wake-bot .limb.l { animation: wake-lift-l 0.45s cubic-bezier(.3,1.6,.5,1) 1.5s both, wake-cheer-l 0.5s ease-out 3.6s both; }
@@ -396,13 +377,12 @@
.wake.booting .wake-bot .smile { animation: wake-smile 0.4s ease-out 3.2s both; }
.wake.booting .wake-bot .body { animation: wake-hop 0.5s ease-out 3.6s both; }
/* 4.3 s, into the rail. The power-on is long finished by now and holds its
last frame, so the transition owns the transform alone. */
/* 4.3 s, into the rail. The power-on holds its last frame, so the transition
owns the transform alone. */
.wake.gliding .wake-bot { transform: var(--wake-glide); transition: transform 0.6s cubic-bezier(.6,0,.2,1); }
.wake.gliding::before { opacity: 0; transition: opacity 0.6s ease; }
/* The menu comes in as he leaves: pre-hidden while he wakes, then each
group rises in, a beat after the one above it. */
/* The menu is hidden while he wakes, then each group rises in turn. */
.dash.waking .dash-group { opacity: 0; transform: translateY(8px); }
.dash.waking.is-in .dash-group { animation: dash-rise 0.5s ease both; }
.dash.waking.is-in .dash-group:nth-child(2 of .dash-group) { animation-delay: 0.06s; }
@@ -412,14 +392,14 @@
.dash.waking.is-in .dash-group:nth-child(6 of .dash-group) { animation-delay: 0.3s; }
}
/* One Planny on screen: the rail's waits out of sight (keeping its place,
so the glide can measure it) until the big one lands on it. */
/* One Planny on screen: the rail's hides, keeping its place so the glide can
measure it, until the big one lands. */
.pilot.is-waking { visibility: hidden; }
/* The note types in (app.js revealNote): what it has not reached waits. */
.dash-note .is-untyped { visibility: hidden; }
@keyframes wake-power { from { filter: grayscale(1); opacity: 0.55; } to { filter: none; opacity: 1; } }
/* Off for the delay, then on-off-on-off-on, like a standby light waking. */
/* Off for the delay, then on-off-on-off-on like a standby light. */
@keyframes wake-feet {
0% { fill: var(--ink-3); }
0.1% { fill: var(--accent); }
@@ -431,8 +411,7 @@
@keyframes wake-plant { from { fill: var(--accent); } to { fill: var(--ink-2); } }
@keyframes wake-lift-l { from { transform: rotate(-14deg); } to { transform: rotate(0); } }
@keyframes wake-lift-r { from { transform: rotate(14deg); } to { transform: rotate(0); } }
/* Up and back down: the arms end on the rest pose the rail draws, so the
glide hands over to an identical drawing. */
/* Arms end on the rail's rest pose so the glide hands over seamlessly. */
@keyframes wake-cheer-l {
0%, 100% { transform: rotate(0); }
45%, 60% { transform: rotate(116deg); }
@@ -452,8 +431,7 @@
20%, 80% { opacity: 1; }
100% { opacity: 0; transform: translateX(3px); }
}
/* A glance each way, then eyes front before the hop: he ends where the rail
draws him, so the glide still lands on an identical drawing. */
/* A glance each way, then eyes front: he ends as the rail draws him. */
@keyframes wake-look {
0%, 100% { transform: translateX(0); }
17.5%, 42.5% { transform: translateX(-2.2px); }
@@ -530,9 +508,9 @@
background: transparent;
color: var(--ink-2);
font: inherit;
font-size: 13.5px;
font-size: var(--fs-md);
padding: 6px 13px;
border-radius: 99px;
border-radius: var(--radius-pill);
cursor: pointer;
/* A doc titled with a sentence keeps the tab row to one line. */
max-width: 22ch;
@@ -548,7 +526,7 @@
font-weight: 600;
}
.view-tab .tab-count {
font-size: 11px;
font-size: var(--fs-2xs);
opacity: 0.75;
margin-left: 5px;
}
+21 -17
View File
@@ -22,22 +22,21 @@
align-items: flex-start;
gap: 2px;
width: 100%;
padding: 8px 10px;
padding: 8px 10px 8px 13px;
border: 0;
border-left: 3px solid transparent;
border-radius: 6px;
border-radius: var(--radius-sm);
background: transparent;
color: var(--ink-2);
font: inherit;
font-size: 13.5px;
font-size: var(--fs-md);
text-align: left;
cursor: pointer;
}
.prefs-tab:hover { background: var(--panel-2); color: var(--ink); }
.prefs-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.prefs-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.prefs-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.prefs-tab-label { display: block; line-height: 1.3; }
.prefs-tab-hint { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.prefs-tab-hint { display: block; font-size: var(--fs-xs); line-height: 1.35; color: var(--ink-3); }
.prefs-panels { min-width: 0; }
.prefs-panel[hidden] { display: none; }
@@ -54,14 +53,17 @@
top: 0;
right: 0;
max-width: 60%;
font-size: 12px;
font-size: var(--fs-xs);
line-height: 1.3;
text-align: right;
color: var(--ok);
opacity: 0;
}
.prefs-saved.is-saved { opacity: 1; }
.prefs-saved.error { color: var(--danger, #d64545); opacity: 1; }
.prefs-saved.error { color: var(--warn); opacity: 1; }
/* After Reset this tab: "Reset. Undo", held a few seconds, no fade. */
.prefs-saved.is-reset { opacity: 1; color: var(--ink-2); }
.prefs-saved .prefs-undo { padding: 0 2px; font: inherit; color: var(--accent); text-decoration: underline; background: none; border: 0; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
@keyframes prefs-saved-fade {
@@ -80,22 +82,22 @@
.prefs-unsaved {
position: absolute;
inset: 0;
z-index: 5;
z-index: var(--z-sticky);
display: grid;
place-items: center;
padding: 16px;
background: color-mix(in srgb, var(--bg, #000) 55%, transparent);
background: var(--scrim);
}
.prefs-unsaved[hidden] { display: none; }
.prefs-unsaved-box {
max-width: 380px;
padding: 16px 18px;
border: 1px solid var(--rule-2);
border-radius: 10px;
border-radius: var(--radius);
background: var(--panel);
box-shadow: 0 8px 30px rgb(0 0 0 / 0.25);
box-shadow: var(--shadow-3);
}
.prefs-unsaved-box h3 { margin: 0 0 6px; font-size: 15px; }
.prefs-unsaved-box h3 { margin: 0 0 6px; font-size: var(--fs-base); }
.prefs-unsaved-box p { margin: 0 0 12px; }
.prefs-unsaved-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@@ -115,11 +117,10 @@
width: auto;
flex: none;
white-space: nowrap;
border-left: 0;
border-bottom: 3px solid transparent;
border-radius: 6px 6px 0 0;
padding-left: 10px;
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.prefs-tab[aria-selected="true"] { border-bottom-color: var(--accent); }
.prefs-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
.prefs-tab-hint { display: none; }
}
@@ -146,3 +147,6 @@
}
.setup-no-page { margin: 10px 0 0; }
.setup-no-page[hidden] { display: none; }
/* One line under the title: what saves by itself and what does not. */
.prefs-lead { margin: -4px 0 10px; font-size: var(--fs-sm); color: var(--ink-3); }
+75 -46
View File
@@ -2,8 +2,7 @@
/* ---------------------------------------------------------------- print */
/* What gets printed is the document being read, on its own. Everything that
steers the session is furniture and has no business on paper. */
/* Print only the document; session furniture stays off paper. */
@media print {
.topbar, .rail, .aside, .footer, .banner, .skip, .doc-tools, .pager, .modal, .arrival, .review-offer { display: none !important; }
html, body { height: auto; background: #fff; color: #000; }
@@ -11,7 +10,7 @@
.layout { display: block; overflow: visible; }
.main { overflow: visible; padding: 0; max-width: none; }
.main > * { max-width: none; }
/* The diagnosis prints whole, not cut at the box's on-screen height. */
/* Diagnosis prints whole. */
.handoff-report-body { max-height: none; overflow: visible; }
.block, .card { break-inside: avoid; box-shadow: none; }
.doc-head { border-bottom: 1px solid #ccc; }
@@ -22,22 +21,32 @@
/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
.layout { grid-template-columns: 210px minmax(0, 1fr); }
.layout,
.layout:has(> .aside:empty),
.layout:has(.git-board) { grid-template-columns: 210px minmax(0, 1fr); }
.aside { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 720px) {
/* V20, from a live look at 700 to 1000px: from 900px down the rail beside the
question and the notes pane under it left the card a few lines tall, so the
rail becomes a strip above the page (Planny beside the list) and the notes
follow the card, as on a phone. */
@media (max-width: 900px) {
body { display: block; }
.layout { display: block; }
.layout, .layout:has(> .aside:empty), .layout:has(.git-board) { display: block; }
.rail { border-right: 0; border-bottom: 1px solid var(--rule); }
.sidebar, .aside { border: 0; border-bottom: 1px solid var(--rule); max-height: 30vh; }
.main { padding: 18px 16px 30px; }
.card { --card-pad-b: 18px; padding: 18px 16px var(--card-pad-b); border-radius: 8px; }
.dock { flex-direction: row; text-align: left; gap: 12px; padding: 12px 16px; }
.planny { width: 32px; height: 44px; }
}
@media (max-width: 720px) {
.card { --card-pad-b: 18px; padding: 18px 16px var(--card-pad-b); border-radius: var(--radius-md); }
.main > .card { padding-right: 22px; }
.card h2 { font-size: 21px; }
/* Back to a wrapping row: the summary and Send take two lines here and fill
the bar's middle, so the where slot has no room and goes. */
.footer { display: flex; flex-wrap: wrap; position: sticky; bottom: 0; z-index: 20; box-shadow: 0 -4px 14px rgba(0,0,0,0.07); }
.card h2 { font-size: var(--fs-h2); }
/* Wrapping row: summary and Send fill the bar, so the where slot goes. */
.footer { display: flex; flex-wrap: wrap; position: sticky; bottom: 0; z-index: var(--z-sticky); box-shadow: var(--shadow-up); }
.footer-summary { flex: 1; }
.footer-actions { white-space: normal; }
.footer-where { display: none; }
@@ -47,17 +56,15 @@
.topbar { padding: 12px 16px 0; }
.topbar-row.second { gap: 9px; }
.views-arrow { display: none; }
/* Side by side, because vertical space is the scarce thing here. */
.topbar-label { display: none; }
/* Side by side: vertical space is scarce. */
.dock { flex-direction: row; text-align: left; gap: 12px; padding: 12px 16px; }
.planny { width: 32px; height: 44px; }
/* Three items on one line is one too many at this width, and the count is
the one that is only nice to have. */
/* Three items per line is too many; the count is the optional one. */
.pager { gap: 8px; }
.pager-count { display: none; }
/* The Notebook takes the whole screen, and every control in it is a
fingertip wide. The pictures go under Add image rather than beside it, so
the strip gets the full width, and the preview's side columns narrow to
give the picture their room. */
/* The Notebook is full screen with fingertip-sized controls. Pictures go
under Add image for full strip width; the preview's side columns narrow. */
.btn.notepad-btn { min-width: 44px; }
.modal.notepad { width: 100%; height: 100%; margin: 0; padding: 18px 16px 16px; border: 0; border-radius: 0; }
.modal.notepad .notepad-add,
@@ -71,73 +78,95 @@
.notepad-tab-x { min-height: 44px; }
.notepad-tab-x { width: 32px; }
.notepad-add { align-self: flex-start; }
.notepad-thumb .notepad-thumb-delete { width: 30px; height: 30px; font-size: 18px; }
.notepad-thumb .notepad-thumb-delete { width: 30px; height: 30px; font-size: var(--fs-h3); }
.modal.picview[open] { grid-template-columns: 52px minmax(0, 1fr) 52px; }
}
/* A finger, not a pointer: buttons are at least 40px tall and the small close
buttons 32px. Nothing here is drawn for a mouse. */
@media (pointer: coarse) {
.btn, .btn.sm, .btn.tiny { min-height: 40px; }
.attach-remove, .notepad-tab-x, .modal-x { min-width: 32px; min-height: 32px; }
}
/* No hover to reveal them, so the controls that wait for one are always shown. */
@media (hover: none) {
.md-copy, .spec-chip-del { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
/* Re-enable the indicators whose whole job is to show that time is passing.
Frozen, the spinner reads as a broken ring and Planny's star as a dead
light, so the star keeps turning, slowly. His lean, blink, arms and feet
are decoration and stay off. */
/* Pseudo-elements too, and no delay (a delayed entrance would sit blank). */
*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
/* Keep the progress indicators: frozen, the spinner looks broken and
Planny's star dead, so the star turns slowly. Lean, blink, arms and feet
stay off. */
.spinner { animation: spin 1.6s linear infinite !important; }
.planny.is-work .eye { animation: planny-spin 4s linear infinite !important; }
/* The flight holds still rather than collapsing. Collapsed to its last
frame every star would sit off the left edge and the sky would be empty;
stopped, the field stays and Planny keeps his forward lean. */
/* The flight holds still: collapsed to its last frame every star would sit
off the left edge and the sky would be empty. */
.sky .star, .trail i, .dock.is-flying .planny { animation: none !important; }
/* The step poses hold their finished drawing -- every tick and line
written, confetti where it was drawn -- and keep only the star's pulse. */
/* Step poses hold their finished drawing; only the star pulses. */
.pose, .pose * { animation: none !important; }
.pose .ey.blink { animation: pose-pulse 2.4s ease-in-out infinite !important; }
/* Help's Planny moods are pictures, not indicators: all of them hold
still, the working star included. */
/* Help's Planny moods are pictures: all hold still. */
.help-mood-bot, .help-mood-bot *, .help-mood-bot.is-work .eye { animation: none !important; }
#btn-send { animation: none; }
.nudge { animation: none; }
}
/* User Preferences: action rows (Cleanup's scan/delete buttons share this
class; the model menu's own rules moved to agents.css). */
/* Preferences action rows (Cleanup's buttons share this class). */
.models-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.models-actions .help.error { color: var(--danger, #d64545); }
.models-actions .help.error { color: var(--warn); }
/* User Preferences: Cleanup's list of what would go, shown before anything
is deleted. */
/* Cleanup's list of what would go. */
.cleanup-list { display: grid; gap: 4px; max-height: 200px; overflow: auto; font-size: 0.88em; }
.cleanup-list:empty { display: none; }
.cleanup-summary { margin: 0 0 2px; font-weight: 600; }
.cleanup-row { display: flex; justify-content: space-between; gap: 12px; }
.cleanup-row span:first-child { min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); }
.cleanup-size { flex: none; color: var(--ink-3); }
.cleanup-row { display: flex; align-items: baseline; gap: 10px; }
label.cleanup-row { cursor: pointer; }
.cleanup-row input { flex: none; margin: 0; align-self: center; }
.cleanup-row > span:not(.cleanup-size) { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); }
.cleanup-kept-note summary { cursor: pointer; color: var(--ink-2); font-size: var(--fs-sm); }
.cleanup-size { flex: none; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cleanup-more { display: grid; gap: 4px; }
.cleanup-more summary { cursor: pointer; color: var(--ink-2); }
#cleanup-delete[hidden] { display: none; }
/* A word the person has to type, bold and in their highlight color so it
does not get lost in the status sentence. */
/* A word to type, bold and accented so it stands out in the sentence. */
.agent-key {
color: var(--accent);
font-weight: 700;
}
/* Under the app, the word is a button that types it into the agent's terminal;
"terminal" itself, while the app's panel is collapsed, expands it. */
/* In the app the word is a button typing it into the terminal; "terminal"
expands a collapsed panel. */
.agent-key-btn, .agent-terminal-btn {
font: inherit; font-weight: 700; color: var(--accent);
background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 6px;
background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm);
padding: 0 6px; cursor: pointer;
}
.agent-key-btn:hover:not(:disabled), .agent-terminal-btn:hover { border-color: var(--accent); }
.agent-key-btn:disabled { opacity: 0.55; cursor: default; }
.agent-key-btn:focus-visible, .agent-terminal-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* "What to check", beside the quiet and Not running lines. A link in a button's clothes. */
/* "What to check": a link styled as a button. */
.status-help {
font: inherit; font-size: 0.92em; font-weight: 600;
color: var(--accent); background: none; border: 0; padding: 0 2px;
text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.status-help:hover { text-decoration-thickness: 2px; }
.status-help:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.status-help:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
/* V25: Windows High Contrast. Looked at first (forced colors, emulated in
Chromium): the progress bar vanished (its fill and track are backgrounds),
and the selected tab and the current rail item looked like the others
(their selected look is a background). Those get a system-color outline;
the filled marks keep their own colors, the switch thumbs take the text
color so they stay visible. */
@media (forced-colors: active) {
.swatch, .progress-fill, .meter-ring { forced-color-adjust: none; }
.progress-track { outline: 1px solid CanvasText; }
[aria-selected="true"], [aria-current="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
.learn-track::after, .learn-switch.is-on .learn-track::after { background: ButtonText; }
}
+141 -213
View File
@@ -2,25 +2,23 @@
/* ------------------------------------------------------------- banner */
/* A pill floated over the footer, centered on the bar. It used to be the top
grid row, and every time it appeared it pushed the whole page down a track;
overlaying it means the message lands without the layout moving under the
reader's cursor. It covers the footer's middle while it is up, which is
safe: the messages it carries are the reason nothing there needs pressing. */
/* A pill over the footer, centered on the bar. Overlaid, not a grid row, so
it never shifts the layout. It covers the footer's middle, which is safe:
nothing there needs pressing while it shows. */
.banner {
position: fixed;
left: 50%;
bottom: 10px;
transform: translateX(-50%);
z-index: 46;
z-index: var(--z-toast);
max-width: min(680px, calc(100vw - 32px));
padding: 9px 22px;
border: 1px solid var(--rule-2);
border-radius: 99px;
box-shadow: var(--shadow);
border-radius: var(--radius-pill);
box-shadow: var(--shadow-2);
text-align: center;
font-weight: 600;
font-size: 14px;
font-size: var(--fs-md);
background: var(--warn-soft);
color: var(--warn);
animation: banner-in 0.22s ease;
@@ -59,36 +57,31 @@
.row-left { display: flex; align-items: center; gap: 8px; }
.brief-btn { border-color: var(--rule-2); color: var(--ink-2); }
/* Back to the dashboard: a filled triangle in the highlight color, so it
recolors with the swatch like everything else that is the person's to use. */
/* Back to the dashboard: a triangle in the highlight color. */
.home-btn { border-color: var(--rule-2); display: inline-flex; align-items: center; justify-content: center; }
/* As tall as Stop session beside it, with an icon's narrower sides. */
.btn.home-btn { padding: 0 6px; align-self: stretch; margin-right: -8px; }
.home-btn[hidden] { display: none; }
.home-btn svg { width: 16px; height: 16px; display: block; }
.home-btn path { fill: var(--accent); }
.home-btn:hover:not(:disabled) { border-color: var(--accent-line); background: var(--accent-soft); }
.home-btn:disabled path { fill: var(--ink-3); }
.home-btn path { fill: var(--accent); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.home-btn:hover:not(:disabled):not(.is-locked) { border-color: var(--accent-line); background: var(--accent-soft); }
.home-btn:disabled path, .home-btn.is-locked path { fill: var(--ink-3); stroke: var(--ink-3); }
/* Ending the session. Quiet, because it is the one control on the page that
is never the next step, and red only on hover, because it is not dangerous:
it saves, then stops. */
/* Ending the session: quiet (never the next step), red only on hover (it
saves, then stops, so it is not dangerous). */
.stop-btn { border-color: var(--rule-2); color: var(--ink-2); }
.stop-btn:hover:not(:disabled) { color: var(--warn); border-color: var(--warn); }
.stop-btn:hover:not(:disabled):not(.is-locked) { color: var(--warn); border-color: var(--warn); }
.brief-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent-line); }
/* Subagents: an orchestrator and its helpers. Unlit is a hollow outline in
the quiet ink; lit fills the nodes with the highlight color. */
/* Subagents: hollow outline unlit, filled with the highlight color when lit. */
.subagents-btn { border-color: var(--rule-2); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.btn.subagents-btn { padding: 0 6px; align-self: stretch; }
.subagents-btn[hidden] { display: none; }
.subagents-btn svg { width: 16px; height: 16px; display: block; }
.subagents-btn .sa-link { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-linecap: round; }
.subagents-btn .sa-hub { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.subagents-btn .sa-node { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.subagents-btn[aria-pressed="true"] .sa-hub,
.subagents-btn[aria-pressed="true"] .sa-node { fill: var(--accent); stroke: var(--accent); }
.subagents-btn[aria-pressed="true"] .sa-link { stroke: var(--accent); }
.subagents-btn .sa-link, .subagents-btn .sa-hub, .subagents-btn .sa-node { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.subagents-btn[data-on="true"] .sa-hub,
.subagents-btn[data-on="true"] .sa-node { fill: var(--accent); stroke: var(--accent); }
.subagents-btn[data-on="true"] .sa-link { stroke: var(--accent); }
.subagents-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent-line); }
.subagents-btn:hover:not(:disabled) .sa-link,
.subagents-btn:hover:not(:disabled) .sa-hub,
@@ -99,19 +92,18 @@
.ident { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
/* The session meter: a ring that fills with the points and a few words, in
the level's color. Green, amber and red are the page's own done / staged /
careful colors, so both themes are covered by the variables. */
/* The session meter: a ring that fills with the points, in the level's color
(the page's done / staged / careful variables, so both themes work). */
.meter-slot { position: relative; flex: none; align-self: center; }
.meter-pill {
--m: var(--ok);
display: inline-flex; align-items: center; gap: 7px;
padding: 2px 10px 2px 3px;
border: 1px solid color-mix(in srgb, var(--m) 40%, transparent);
border-radius: 99px;
border-radius: var(--radius-pill);
background: var(--panel);
color: var(--m);
font: inherit; font-size: 12px; font-weight: 600;
font: inherit; font-size: var(--fs-xs); font-weight: 600;
white-space: nowrap; cursor: pointer;
}
.meter-pill[hidden] { display: none; }
@@ -121,59 +113,48 @@
.meter-ring { width: 20px; height: 20px; transform: rotate(-90deg); flex: none; }
.meter-ring circle { fill: none; stroke-width: 3; }
.meter-track { stroke: var(--rule); }
.meter-fill { stroke: var(--m); transition: stroke-dashoffset 0.2s ease; }
.meter-fill { stroke: var(--m); transition: stroke-dashoffset var(--dur-2); }
@media (prefers-reduced-motion: reduce) {
.meter-fill { transition: none; }
}
.meter-pop {
position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
position: absolute; top: calc(100% + 6px); left: 0; z-index: var(--z-pop);
width: max-content; max-width: min(320px, calc(100vw - 32px));
padding: 10px 12px;
background: var(--panel); color: var(--ink);
border: 1px solid var(--rule-2); border-radius: 8px;
box-shadow: var(--shadow);
border: 1px solid var(--rule-2); border-radius: var(--radius-md);
box-shadow: var(--shadow-2);
}
.meter-pop[hidden] { display: none; }
.meter-tip { margin: 0 0 6px; font-size: 13px; color: var(--ink-2); }
.meter-tip { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.meter-once { margin: 0 0 8px; padding: 6px 8px; border-left: 3px solid var(--stage); font-size: var(--fs-sm); color: var(--ink); }
.meter-list {
list-style: none; margin: 0 0 8px; padding: 6px 0 0;
border-top: 1px solid var(--rule);
max-height: 40vh; overflow-y: auto;
font-size: 12px; color: var(--ink-2);
font-size: var(--fs-xs); color: var(--ink-2);
}
.meter-list[hidden] { display: none; }
.meter-list li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.meter-fresh { margin: 0 0 8px; padding-top: 6px; border-top: 1px solid var(--rule); }
.meter-fresh[hidden] { display: none; }
.meter-fresh-text { margin: 0 0 6px; font-size: 12px; color: var(--ink-2); }
.meter-fresh-text { margin: 0 0 6px; font-size: var(--fs-xs); color: var(--ink-2); }
/* Under the app the whole note is one button: a press is the bar's New Session. */
.meter-fresh-btn { display: block; width: 100%; margin: 2px 0 6px; }
.meter-fresh-row .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; }
.meter-fresh-row .handoff-code { flex-basis: 180px; font-size: var(--fs-xs); padding: 6px 10px; }
.meter-item-points { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
/* The spec in hand: small and muted so it never competes with the title. */
.spec-tag {
flex: 0 1 auto; min-width: 0; max-width: 220px; align-self: center;
font-size: 11.5px; color: var(--ink-3);
font-size: var(--fs-xs); color: var(--ink-3);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.spec-tag[hidden] { display: none; }
.badge {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--accent);
background: var(--accent-soft);
border: 1px solid var(--accent-line);
padding: 3px 8px;
border-radius: 99px;
white-space: nowrap;
}
h1 {
font: 600 19px/1.2 var(--serif);
font: 600 var(--fs-h3)/1.2 var(--serif);
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
@@ -182,43 +163,37 @@ h1 {
.progress-block { flex: 1 1 260px; min-width: 200px; max-width: 460px; margin-left: auto; }
/* When the progress block is hidden (the dashboard, the git board) nothing
grows to fill the row, so the icon buttons would sit beside the title. The
first takes the slack instead; with the block shown its flex already eats
the space, so this costs nothing. */
#btn-looks { margin-left: auto; }
.progress-label {
display: flex;
justify-content: space-between;
gap: 12px;
font-size: 12.5px;
font-size: var(--fs-sm);
color: var(--ink-2);
margin-bottom: 5px;
}
#progress-text { font-weight: 600; color: var(--ink); }
#progress-text { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.confidence { color: var(--ink-3); text-align: right; }
.progress-track {
height: 7px;
background: var(--rule);
border-radius: 99px;
border-radius: var(--radius-pill);
overflow: hidden;
}
.progress-fill {
height: 100%;
width: 0%;
width: 100%;
background: var(--ok);
border-radius: 99px;
transition: width 0.5s ease;
/* The track clips the rounded left end; scaleX leaves the right end square. */
transform: scaleX(var(--p, 0));
transform-origin: left;
transition: transform 0.5s ease;
}
.tick { color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* Planny's own corner. He was 23px in a title bar, which is a logo, not a
guide: too small to read a mood off and too small to look at. Here he has
room, he sits above the question list where the eye starts, and his line
wraps instead of squeezing the view tabs. */
/* Planny's corner, above the question list: big enough to read a mood off,
and his line wraps instead of squeezing the view tabs. */
.dock {
flex: none;
display: flex;
@@ -244,6 +219,15 @@ h1 {
overflow: hidden;
}
/* A side column with nothing to show is not drawn: an empty aside gives its
track back (the dashboard, the git board, the finish and document views),
and the git board never has notes. The main column is centered, so the
freed width becomes margin or, past card-rows.js's math, another card column. */
.layout:has(> .aside:empty),
.layout:has(.git-board) { grid-template-columns: 250px minmax(0, 1fr); }
.layout > .aside:empty,
.layout:has(.git-board) > .aside { display: none; }
.rail {
display: flex;
flex-direction: column;
@@ -255,11 +239,9 @@ h1 {
.sidebar { flex: 1; }
.aside { border-left: 1px solid var(--rule); background: var(--panel-2); }
/* The question column does not scroll: the CARD does.
A long question used to push Previous / Next below the fold, so the way on
disappeared exactly when the question was big enough to need it. The card is
the only thing here that shrinks, so it takes the squeeze and scrolls its own
contents while its frame, and the pager under it, stay put. */
/* The question column does not scroll: the CARD does, so a long question
never pushes Previous / Next below the fold. The card alone shrinks and
scrolls its contents; its frame and the pager stay put. */
.main {
padding: 24px 28px;
overflow: hidden;
@@ -269,29 +251,25 @@ h1 {
}
.main > * { width: 100%; max-width: min(var(--card-width), 100%); margin-left: auto; margin-right: auto; }
/* The card is the column's only framed child: a page holds ONE, with notes
and lulls folded into it as sections. It takes the squeeze and scrolls its
own contents while its frame, and the pager under it, stay put. */
and lulls folded in as sections. */
.main > .card {
flex: 0 1 auto;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
padding-right: 32px;
padding-right: 20px;
}
/* The dashboard's menu and the launching pane play by the card's rule too:
they are not .card, but they are the column's whole contents, so they take
the squeeze and scroll themselves while the column frame stays put. Without
this the catalog is clipped at the fold with no way to reach it. */
/* The dashboard menu and launching pane follow the card's rule: they are the
column's whole contents, and without it the catalog is clipped at the fold. */
.main > .dash, .main > .launching, .main > .dash-confirm, .main > .waiting-pane {
flex: 0 1 auto;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
padding-right: 32px;
padding-right: 20px;
}
/* The agent setup page is the column's whole contents too, and its agent list
runs past the fold, so it scrolls itself like the menu above. */
/* The agent setup page is the column's whole contents too; it scrolls itself. */
.main > .setup-screen {
flex: 0 1 auto;
min-height: 0;
@@ -299,32 +277,27 @@ h1 {
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
/* Its parts keep their height: the agent list clips its own overflow, so left
to shrink it would be cut at the fold instead of scrolling. */
/* Its parts keep their height: the agent list clips its overflow, so a shrink
would cut it at the fold. */
.main > .setup-screen > * { flex-shrink: 0; }
/* The column itself never scrolls; the card does. The git board is the one
exception, below: its card sits in the board's card slot, so the column
takes the scroll there and card and board flow through it at natural height. */
/* The column never scrolls; the card does. Exception, below: on the git board
the column scrolls and card and board flow at natural height. */
.main > .card:not(.is-primary) { flex-shrink: 100; min-height: 104px; }
.main > .card.is-primary { flex-shrink: 1; min-height: 0; }
/* A card with a growing answer box takes the column's full height above the
pager, and still scrolls its own contents. app.js sizes the box to fill it. */
pager (app.js sizes the box). */
.main > .card.is-primary.has-grow { flex: 1 1 auto; }
/* More below the fold (app.js markMore): the bottom edge fades, so a card
cut by the window never reads as finished. */
/* More below the fold (app.js markMore): the bottom edge fades. */
.main > .card.has-more {
-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
}
.pager { flex: none; }
/* A document is read top to bottom and has no pinned furniture, so it goes back
to being an ordinary scrolling column. */
/* The tail the column no longer carries: a document IS the scroll, so it wants
room after its last line. The question column does not, because the pager is
pinned to the bottom of it and anything under the pager is dead space the
card could have been scrolling through. */
/* A document is an ordinary scrolling column with no pinned furniture, so it
wants room after its last line; the question column does not (space under
the pager is dead space). */
.main.is-doc { display: block; overflow-y: auto; padding-bottom: 40px; }
/* ------------------------------------------------------------ sidebar */
@@ -332,11 +305,6 @@ h1 {
.rail-group { margin-bottom: 22px; }
.rail-title {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--ink-3);
margin: 0 0 8px;
display: flex;
justify-content: space-between;
@@ -354,7 +322,7 @@ h1 {
background: transparent;
color: var(--ink-2);
font: inherit;
font-size: 13.5px;
font-size: var(--fs-md);
padding: 7px 9px;
border-radius: 0;
cursor: pointer;
@@ -362,9 +330,8 @@ h1 {
}
.rail-item:hover:not(:disabled) { background: var(--panel-2); color: var(--ink); }
.rail-item:disabled { cursor: default; }
/* The dashboard lists every skill in the rail; the ones the selected spec
rules out should read as out of reach at a glance, not as one more link. */
.rail-item.is-unavailable { opacity: 0.35; cursor: not-allowed; }
/* Skills the selected spec rules out read as out of reach, not as links. */
.rail-item.is-unavailable { opacity: 0.5; cursor: not-allowed; }
.rail-item.is-unavailable .rail-mark { color: var(--ink-3); }
.rail-item[aria-current="true"] {
background: var(--accent-soft);
@@ -373,13 +340,12 @@ h1 {
box-shadow: inset 2px 0 0 var(--accent);
}
.rail-mark { flex: none; width: 15px; text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.rail-mark { flex: none; width: 15px; text-align: center; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 1px; }
.rail-mark.done { color: var(--ok); }
.rail-mark.staged { color: var(--stage); font-weight: 700; }
/* Echoes the center pane's "Suggested" pill, which can scroll out of view;
the dot keeps the call-out visible while just scanning the rail. The
title grows to push the dot flush with the row's right edge. */
/* Echoes the center pane's "Suggested" pill, which can scroll out of view.
The title grows to push the dot to the row's right edge. */
.rail-item > span:not(.rail-mark):not(.rail-suggested-dot) { flex: 1 1 auto; }
.rail-suggested-dot {
flex: none;
@@ -392,42 +358,29 @@ h1 {
.rail-item.is-suggested:not([aria-current="true"]) { color: var(--ink); }
.rail-mark.open { color: var(--accent); }
/* The session's own page, above the topic groups. It names the state it is
-- PAUSED, SESSION ENDED -- in the same small caps the group titles use,
because it is a peer of theirs, not another question in the list. */
.rail-end-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
}
/* The session's own page, above the topic groups: a peer of them. */
.rail-empty { color: var(--ink-3); font-size: 13px; font-style: italic; }
/* -------------------------------------------------------------- aside */
.aside h2 {
font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
color: var(--ink-3); margin: 0 0 12px;
margin: 0 0 12px;
}
.msg {
border-radius: 8px; padding: 10px 13px; margin-bottom: 9px; font-size: 13.5px;
border-radius: var(--radius-md); padding: 10px 13px; margin-bottom: 9px; font-size: var(--fs-md);
background: var(--panel); border: 1px solid var(--rule);
}
.msg.you { background: var(--stage-soft); border-color: transparent; }
.msg.staged { border-style: dashed; border-color: var(--stage); background: transparent; }
.msg-who {
font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
color: var(--ink-3); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px;
margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px;
}
.msg-who .sent-wait { display: inline-flex; align-items: center; gap: 6px; }
.aside-empty { color: var(--ink-3); font-size: 13px; font-style: italic; }
/* The note box takes whatever height the panel has left, never under 160px.
Scoped here so the page-wide box minimum still holds everywhere else. */
/* The note box takes the panel's leftover height, min 160px (scoped here). */
.aside { display: flex; flex-direction: column; }
.aside > .field { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 0; }
.aside .md-host { flex: 1 1 auto; min-height: 160px; resize: vertical; }
@@ -440,26 +393,20 @@ h1 {
.attach-row { display: flex; align-items: center; margin: -4px 0 6px -13px; }
.attach-row.is-under { margin: 6px 0 4px -13px; }
/* .btn on the chip's rule: pieces.css loads later, and .btn.tiny's bottom
margin would otherwise lift the chip off the row's center line. */
.attach-row .btn.suggest-chip { margin: 0 0 0 auto; }
.attach-row .suggest-nudge { margin-left: auto; }
.attach-row .suggest-nudge + .suggest-chip { margin-left: 9px; }
.msg .suggest-tag {
display: inline-block; margin-bottom: 4px;
background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line);
}
.msg .suggest-tag { margin-bottom: 4px; }
.attach-tray { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.attach-thumb {
position: relative;
width: 72px; height: 72px; margin: 0;
border: 1px solid var(--rule); border-radius: 8px;
border: 1px solid var(--rule); border-radius: var(--radius-md);
overflow: hidden; background: var(--panel);
flex: none;
}
.attach-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The picture in a thumbnail is a button that opens the picview, with the
tray's round X in its corner and the upload state laid over it. */
/* The thumbnail picture is a button that opens the picview. */
.attach-open {
display: block;
width: 100%;
@@ -469,14 +416,14 @@ h1 {
background: none;
cursor: zoom-in;
}
.attach-open:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.attach-open:focus-visible { outline: 2px solid var(--focus); outline-offset: calc(var(--focus-offset) * -1); }
.attach-thumb.is-uploading .attach-open,
.attach-thumb.is-failed .attach-open { cursor: default; }
.attach-remove {
position: absolute; top: 3px; right: 3px; z-index: 2;
width: 20px; height: 20px; padding: 0;
display: grid; place-items: center;
font: 700 14px/1 var(--sans);
font: 700 var(--fs-md)/1 var(--sans);
color: var(--ink); background: var(--panel);
border: 1px solid var(--rule-2); border-radius: 50%;
cursor: pointer; opacity: 0.9;
@@ -489,9 +436,9 @@ h1 {
}
.attach-overlay.failed {
background: color-mix(in srgb, var(--panel) 88%, transparent);
color: var(--ink-2); font-size: 10.5px; font-weight: 600; text-align: center;
color: var(--ink-2); font-size: var(--fs-2xs); font-weight: 600; text-align: center;
}
.attach-overlay.failed .btn.tiny { margin: 0; padding: 1px 6px; font-size: 10.5px; }
.attach-overlay.failed .btn.xs { padding: 1px 6px; font-size: var(--fs-2xs); }
.attach-chip {
width: 180px;
display: flex; align-items: center; gap: 8px;
@@ -503,26 +450,24 @@ h1 {
}
.attach-chip-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.attach-chip-badge {
padding: 0 5px; border-radius: 4px;
font: 700 10px/1.5 var(--sans); letter-spacing: 0.04em; font-variant: small-caps;
padding: 0 5px; border-radius: var(--radius-xs);
font: 700 var(--fs-2xs)/1.5 var(--sans); letter-spacing: 0.04em; font-variant: small-caps;
color: var(--ink); background: var(--accent-soft);
}
.attach-chip-name {
max-width: 100%;
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
font-size: 12.5px; font-weight: 600; color: var(--ink);
font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.attach-chip-size { color: var(--ink-2); font-size: 11.5px; }
.attach-link { color: inherit; text-decoration: none; border-radius: 8px; }
.attach-chip-size { color: var(--ink-2); font-size: var(--fs-xs); }
.attach-link { color: inherit; text-decoration: none; border-radius: var(--radius-md); }
.attach-link:hover .attach-thumb, .attach-link:focus-visible .attach-thumb { border-color: var(--accent); }
.attach-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The same hover border a linked thumbnail gets, for a thumbnail whose own
button opens the picview. */
.attach-link:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
/* Same hover border as a linked thumbnail. */
.attach-thumb:has(.attach-open:hover) { border-color: var(--accent); }
/* The full-screen picture preview: the whole viewport, the picture contained
in it, on a near-black backdrop in both themes (a picture is judged against
dark, whatever the page's theme), so its colors are fixed, not tokens. */
/* Full-screen picture preview on a near-black backdrop in both themes (a
picture is judged against dark), so its colors are fixed, not tokens. */
.modal.picview {
inset: 0;
width: 100vw;
@@ -562,7 +507,7 @@ h1 {
border-radius: 50%;
background: rgba(0, 0, 0, 0.45);
color: #fff;
font: 600 28px/1 var(--sans);
font: 600 var(--fs-h1)/1 var(--sans);
cursor: pointer;
}
.picview-step.is-prev { grid-column: 1; }
@@ -579,37 +524,34 @@ h1 {
gap: 16px;
padding: 12px 16px 20px;
}
.picview-count { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.picview-count { margin: 0; font-size: var(--fs-md); color: rgba(255, 255, 255, 0.8); }
.btn.picview-close { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn.picview-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.msg.pending { border-style: dashed; border-color: var(--stage); background: transparent; }
.ask-row .attach-chip { padding-right: 10px; }
.footer-held { margin-top: 3px; color: var(--ink-2); font-size: 12.5px; }
.footer-held { margin-top: 3px; color: var(--ink-2); font-size: var(--fs-sm); }
/* ------------------------------------------------------------- footer */
/* Three columns: summary, where, actions. Equal side tracks keep the middle
centered on the bar, and because they are tracks rather than an overlay, a
long summary wraps and a wide actions block nudges the center over instead
of either running underneath it. The middle track gives way first: it can
shrink to an ellipsis, the summary and Send never do. */
centered; a long summary wraps and wide actions nudge the center instead of
overlapping. The middle gives way first (ellipsis), summary and Send never. */
.footer {
display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 18px;
padding: 13px 20px;
background: var(--panel);
border-top: 1px solid var(--rule);
}
.footer-summary { min-width: 200px; font-size: 13.5px; color: var(--ink-2); }
.footer-summary { min-width: 200px; font-size: var(--fs-md); color: var(--ink-2); }
.footer-summary strong { color: var(--ink); }
/* Where this session is running: the workspace label, centered on the bar. A
click opens the Workspace dialog. The notification pill sits over the same
spot and covers it while it shows. */
/* The workspace label, centered on the bar; a click opens the Workspace
dialog. The notification pill covers it while it shows. */
.footer-where {
max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
padding: 2px 6px; border: 0; background: none;
font: inherit; font-size: 12px; color: var(--ink-3);
font: inherit; font-size: var(--fs-xs); color: var(--ink-3);
cursor: pointer;
}
.footer-where:hover { text-decoration: underline; }
@@ -620,9 +562,8 @@ h1 {
display: inline-block; width: 7px; height: 7px; margin-left: 6px;
border-radius: 50%; background: var(--warn); vertical-align: 1px;
}
.footer-where:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
/* One line, so the grid sizes this track to the whole row and takes the room
from the middle instead of folding Send in two. */
.footer-where:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
/* One line, so the track takes room from the middle instead of folding Send. */
.footer-actions { display: flex; gap: 10px; align-items: center; grid-column: 3; justify-self: end; white-space: nowrap; }
/* The dashboard: no summary, no Send, just the workspace label. */
.footer.is-dash .footer-summary,
@@ -631,24 +572,22 @@ h1 {
.footer.is-dash-done .footer-actions { display: none; }
.footer.is-loop-idle .footer-summary,
.footer.is-loop-idle .footer-actions { visibility: hidden; }
.hint { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
/* A label, not a sentence: the full reason rides in the hint's tooltip, and
the dock already carries the ticking clock this would otherwise repeat. */
.hint { font-size: var(--fs-sm); color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
/* A label; the full reason rides in the tooltip. */
.hint-text { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; }
kbd {
font: 11.5px var(--mono);
font: var(--fs-xs) var(--mono);
background: var(--panel-2);
border: 1px solid var(--rule-2);
border-bottom-width: 2px;
border-radius: 4px;
border-radius: var(--radius-xs);
padding: 2px 5px;
}
/* ------------------------------------------------------------ waiting */
/* Laid out like the starting screen, so when a session goes from one to the
other Planny stays put and only the words under him change. */
/* Laid out like the starting screen, so Planny stays put between them. */
.waiting-pane {
max-width: 560px;
margin: 4vh auto 0 !important;
@@ -658,10 +597,9 @@ kbd {
gap: 12px;
justify-items: center;
}
.waiting-pane h2 { font: 600 23px/1.3 var(--serif); color: var(--ink); margin: 0; }
.waiting-pane h2 { font: 600 var(--fs-h1)/1.3 var(--serif); color: var(--ink); margin: 0; }
.waiting-pane p { max-width: 70ch; margin: 0; }
/* The words that open the live task view (the phase-file tab on a build):
bold in the highlight color, a button that reads as part of the sentence. */
/* Words that open the live task view: a button styled as part of the sentence. */
.waiting-jump {
font: inherit;
font-weight: 700;
@@ -672,9 +610,8 @@ kbd {
}
button.waiting-jump { cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
button.waiting-jump:hover { text-decoration-color: var(--accent); }
/* Once the work is under way Planny steps back a size, and the ring in
front of the stage name carries the "still going" signal instead. */
.waiting-pane .pose-stage { height: 130px; transition: height 0.35s ease; }
/* Once work is under way Planny shrinks and the ring carries "still going". */
.waiting-pane .pose-stage { height: 130px; transition: height var(--dur-3); }
.waiting-pane h2 .waiting-spin { display: inline-block; width: 16px; height: 16px; vertical-align: 1px; margin-right: 10px; }
.spinner {
@@ -686,9 +623,8 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
}
@keyframes spin { to { transform: rotate(360deg); } }
/* The footer's "waiting on the agent" tell. Same ring, sized to sit on a line
of text. It inherits the reduced-motion exception below, which is deliberate:
a frozen spinner reads as a broken app, which is the opposite of the point. */
/* The footer's "waiting on the agent" ring, line-sized. It keeps spinning under
reduced motion on purpose: a frozen spinner reads as a broken app. */
.spinner.tiny {
width: 13px;
height: 13px;
@@ -697,23 +633,21 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
flex: none;
}
/* The same ring again, in front of Planny's line while the agent has the
ball. Inline so it sits on the first line of a wrapped sentence. The
[hidden] rule is needed because display here outranks the browser's own. */
/* The ring in front of Planny's line, inline on a wrapped sentence's first
line. [hidden] is needed because display here outranks the browser's. */
.dock-spin { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.dock-spin[hidden] { display: none; }
.robot { font: 12px/1.25 var(--mono); color: var(--ink-3); white-space: pre; margin: 0 0 16px; }
.robot { font: var(--fs-xs)/1.25 var(--mono); color: var(--ink-3); white-space: pre; margin: 0 0 16px; }
/* ------------------------------------------------------------ arrival */
/* The beat when new questions land. Covers the whole page, says what just
happened, and leaves by itself in under two seconds. Built from the page's
own tokens so it follows the theme and the chosen highlight color. */
/* The beat when new questions land: covers the page and leaves by itself in
under two seconds. Uses page tokens, so it follows theme and highlight. */
.arrival {
position: fixed;
inset: 0;
z-index: 50;
z-index: var(--z-overlay);
display: grid;
place-items: center;
background: color-mix(in srgb, var(--bg) 72%, transparent);
@@ -725,18 +659,15 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
.arrival-box { text-align: center; padding: 24px; max-width: min(640px, 100vw - 32px); }
.rail-end-label { color: inherit; }
.arrival-kicker {
margin: 0 0 10px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent);
animation: arrival-rise 0.45s 0.05s ease-out both;
}
/* The words themselves are the effect: they sweep in on a band of the
highlight color, the way a page turns, rather than anything spinning. */
/* The words sweep in on a band of the highlight color, nothing spinning. */
.arrival-title {
margin: 0;
font: 600 clamp(38px, 7vw, 64px)/1.05 var(--serif);
@@ -757,7 +688,7 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
height: 3px;
width: 96px;
margin: 14px auto 0;
border-radius: 99px;
border-radius: var(--radius-pill);
background: var(--accent);
transform-origin: center;
animation: arrival-draw 0.5s 0.45s ease-out both;
@@ -765,14 +696,14 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
.arrival-what {
margin: 16px 0 0;
font-size: 17px;
font-size: var(--fs-lg);
font-weight: 600;
color: var(--ink-2);
animation: arrival-rise 0.45s 0.35s ease-out both;
}
.arrival-more {
margin: 4px 0 0;
font-size: 13.5px;
font-size: var(--fs-md);
color: var(--ink-3);
animation: arrival-rise 0.45s 0.45s ease-out both;
}
@@ -791,16 +722,13 @@ button.waiting-jump:hover { text-decoration-color: var(--accent); }
/* A question that arrived while the person was typing, until it is opened. */
.rail-new {
flex: none;
align-self: flex-start;
margin-top: 2px;
padding: 0 6px;
border-radius: 999px;
font-size: 10.5px;
font-weight: 700;
letter-spacing: .04em;
text-transform: uppercase;
background: var(--accent-soft);
color: var(--accent);
}
.rail-new { flex: none; align-self: flex-start; margin-top: 2px; }
/* A warning stays until dismissed or replaced: its close button, at the end of the line. */
.banner .banner-dismiss { margin-left: 10px; padding: 2px; border: 0; background: none; color: inherit; cursor: pointer; vertical-align: middle; }
.banner .banner-dismiss svg { width: 14px; height: 14px; display: block; }
.banner .banner-dismiss:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--focus-offset); }
/* The home and Subagents buttons name themselves beside their icons, as Notebook does; the narrow strip keeps the icons alone. */
.home-btn .topbar-label, .subagents-btn .topbar-label { margin-left: 6px; font-size: var(--fs-sm); line-height: 1; }
.btn.home-btn { gap: 0; }
+110 -28
View File
@@ -1,8 +1,7 @@
/* tokens.css: Colors, type, sizes and the light and dark themes: the variables every other file reads. */
/* Plan2Code Console.
Light by default, dark when the system asks. No external fonts: the page must
work offline and under a CSP with no 'unsafe-inline'. */
/* Light by default, dark when the system asks. No external fonts: the page
must work offline under a CSP with no 'unsafe-inline'. */
:root {
--bg: #f6f3ee;
@@ -10,7 +9,7 @@
--panel-2: #fbf9f6;
--ink: #1d1a17;
--ink-2: #5d564d;
/* Same hue as before, darkened to 4.56:1 on --bg (WCAG AA for body text). */
/* 4.56:1 on --bg (WCAG AA body text). */
--ink-3: #756e62;
--rule: #e4ddd1;
--rule-2: #cfc6b6;
@@ -20,41 +19,92 @@
--accent-line: #9ab4d3;
--ok: #2f6b45;
--ok-soft: #e4f0e8;
--stage: #9a6a12;
--stage: #8f620f;
--stage-soft: #fbf0d8;
--warn: #9c3327;
--warn-soft: #fbe7e3;
/* Text on a --warn fill. */
--warn-ink: #ffffff;
--focus: #1f6feb;
/* Not a color, so the dark blocks need no copy. */
--focus-offset: 2px;
/* Rank colors for low / mid / high badges (a helper's strength and effort). */
--lvl-0: #5b6472;
--lvl-0-soft: #e8eaee;
--lvl-1: #23716a;
--lvl-1-soft: #e1f1ee;
--lvl-2: #9a6a12;
--lvl-2: #8f620f;
--lvl-2-soft: #fbf0d8;
--lvl-3: #7a3fa8;
--lvl-3-soft: #f1e7f8;
--shadow: 0 1px 2px rgba(29, 26, 23, 0.05), 0 8px 24px rgba(29, 26, 23, 0.06);
/* A soft accent halo for the things that want noticing: the update banner
and an enabled Send. Built from --accent, so a picked accent glows too. */
/* Three elevations: cards, popovers, dialogs. --shadow stays for the games. */
--shadow-1: 0 1px 2px rgba(29, 26, 23, 0.05), 0 8px 24px rgba(29, 26, 23, 0.06);
--shadow-2: 0 2px 4px rgba(29, 26, 23, 0.08), 0 12px 28px rgba(29, 26, 23, 0.14);
--shadow-3: 0 24px 64px rgb(0 0 0 / 0.22);
--shadow: var(--shadow-1);
/* Accent halo for the update banner and an enabled Send; follows --accent. */
--glow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 12px color-mix(in srgb, var(--accent) 35%, transparent);
/* Sticky footer shadow, dialog dim, and form control fill (sunken). */
--shadow-up: 0 -4px 14px rgba(29, 26, 23, 0.07);
--scrim: rgba(29, 26, 23, 0.45);
--field: #fbf9f6;
--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--serif: "Iowan Old Style", Charter, Georgia, Cambria, serif;
--serif: "Iowan Old Style", Charter, Cambria, Georgia, serif;
--mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
/* Shape: xs chips and focus rings, sm small controls, md inputs and rows,
--radius cards and dialogs. */
--radius-xs: 4px;
--radius-sm: 6px;
--radius-md: 8px;
--radius: 10px;
--radius-pill: 999px;
/* Layers (local 0/1/2 stacking keeps its literal). The skip link outranks the
arrival overlay so a keyboard user can still see it. */
--z-sticky: 5;
--z-pop: 40;
--z-wake: 45;
--z-toast: 46;
--z-overlay: 50;
--z-menu: 60;
/* Spacing steps, for new work only. */
--sp-1: 4px;
--sp-2: 8px;
--sp-3: 12px;
--sp-4: 16px;
--sp-5: 24px;
--sp-6: 32px;
/* The column's width: the card, the pager and the documents. */
--card-width: 880px;
/* Type: text steps, h1 to h4, one poster size; weights 400, 600, 700 only. */
--fs-2xs: 11px;
--fs-xs: 12px;
--fs-sm: 13px;
--fs-md: 14px;
--fs-base: 15px;
--fs-lg: 17px;
--fs-h4: 16px;
--fs-h3: 18px;
--fs-h2: 21px;
--fs-h1: 25px;
--fs-poster: 38px;
--lh-tight: 1.25;
--lh-ui: 1.4;
--lh-body: 1.55;
/* Motion. */
--dur-1: 120ms;
--dur-2: 200ms;
--dur-3: 350ms;
--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
--ease-spring: cubic-bezier(0.3, 1.6, 0.5, 1);
}
/* The card-width presets. These must agree with CARD_WIDTHS in palette.js,
which validates the saved choice and paints data-width on first load. */
/* Card-width presets: must agree with CARD_WIDTHS in palette.js. */
:root[data-width="narrow"] { --card-width: 720px; }
:root[data-width="wide"] { --card-width: 1080px; }
:root[data-width="ultrawide"] { --card-width: 1440px; }
/* Dark is written twice on purpose, and the duplication is the whole mechanism.
The first copy follows the system unless the person has explicitly asked for
light; the second is the explicit ask. Without the `:not()` a system-dark
browser would win over someone who chose light in the settings panel. */
/* Dark is written twice on purpose. The first copy follows the system unless
light was chosen; the second is the explicit ask. Without the `:not()` a
system-dark browser would override a chosen light. */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #171513;
@@ -62,7 +112,7 @@
--panel-2: #262220;
--ink: #f0ece5;
--ink-2: #b6afa3;
--ink-3: #8b8376;
--ink-3: #9a9285;
--rule: #332e29;
--rule-2: #46403a;
--accent: #619fe5;
@@ -75,6 +125,7 @@
--stage-soft: #332a17;
--warn: #f0897a;
--warn-soft: #34201d;
--warn-ink: #1a0f0d;
--lvl-0: #a9b1bf;
--lvl-0-soft: #262a31;
--lvl-1: #6cc4b8;
@@ -84,8 +135,14 @@
--lvl-3: #c49bea;
--lvl-3-soft: #2a2035;
--focus: #6aa3ff;
--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-2: 0 4px 8px rgba(0, 0, 0, 0.45), 0 14px 32px rgba(0, 0, 0, 0.45);
--shadow-3: 0 24px 64px rgb(0 0 0 / 0.55);
--shadow-up: 0 -1px 0 var(--rule-2), 0 -6px 18px rgba(0, 0, 0, 0.5);
--scrim: rgba(0, 0, 0, 0.6);
--field: #1b1816;
--glow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
-webkit-font-smoothing: antialiased;
}
}
@@ -95,7 +152,7 @@
--panel-2: #262220;
--ink: #f0ece5;
--ink-2: #b6afa3;
--ink-3: #8b8376;
--ink-3: #9a9285;
--rule: #332e29;
--rule-2: #46403a;
--accent: #619fe5;
@@ -108,6 +165,7 @@
--stage-soft: #332a17;
--warn: #f0897a;
--warn-soft: #34201d;
--warn-ink: #1a0f0d;
--lvl-0: #a9b1bf;
--lvl-0-soft: #262a31;
--lvl-1: #6cc4b8;
@@ -117,11 +175,24 @@
--lvl-3: #c49bea;
--lvl-3-soft: #2a2035;
--focus: #6aa3ff;
--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-2: 0 4px 8px rgba(0, 0, 0, 0.45), 0 14px 32px rgba(0, 0, 0, 0.45);
--shadow-3: 0 24px 64px rgb(0 0 0 / 0.55);
--shadow-up: 0 -1px 0 var(--rule-2), 0 -6px 18px rgba(0, 0, 0, 0.5);
--scrim: rgba(0, 0, 0, 0.6);
--field: #1b1816;
--glow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
-webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
/* Georgia, the Windows serif, has only old-style figures and ignores lining-nums
(checked in Chrome on Windows), so Cambria sits ahead of it in --serif. */
h1, h2, h3, .md-h, .dash-title, .git-branch, .git-step-title { font-variant-numeric: lining-nums; text-wrap: balance; }
.launch-title, .arrival-title { text-wrap: balance; }
.md-p, .card .prompt { text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
html, body { height: 100%; }
@@ -129,7 +200,7 @@ body {
margin: 0;
background: var(--bg);
color: var(--ink);
font: 15px/1.55 var(--sans);
font: var(--fs-base)/var(--lh-body) var(--sans);
display: grid;
grid-template-rows: auto 1fr auto;
min-height: 100vh;
@@ -137,8 +208,21 @@ body {
:focus-visible {
outline: 2px solid var(--focus);
outline-offset: 2px;
border-radius: 4px;
outline-offset: var(--focus-offset);
border-radius: var(--radius-xs);
}
/* The one small-caps label: every selector here is an eyebrow. Own rules add
only margin, color or a deliberate difference (posters widen spacing to 0.14em). */
.dash-group-title, .spec-chip-state, .handoff-preview-label, .block-tag,
.handoff-label, .git-step-kicker, .git-table th, .help-row dt,
.lessons-fix-label, .card-kicker, .note-kicker, .option-group, .answered-head,
.pager-kicker, .modal-ranges legend, .rail-title, .rail-end-label, .aside h2,
.msg-who, .arrival-kicker, .welcome-kicker {
font: 700 var(--fs-2xs)/1.3 var(--sans);
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--ink-3);
}
.skip {
@@ -148,14 +232,12 @@ body {
background: var(--panel);
color: var(--ink);
padding: 10px 16px;
z-index: 50;
z-index: var(--z-menu);
border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }
/* Pin each region to its own row rather than relying on order: the banner
is fixed now and never a grid item, but keeping the rows explicit means a
future element that hides the same way cannot shuffle the tracks. */
/* Explicit rows, so a future element hidden the same way cannot shuffle tracks. */
.topbar { grid-row: 1; }
.layout { grid-row: 2; }
.footer { grid-row: 3; }