/* flow.css -- Proyectos as one page (public/flow.js, 2026-10-18).
   app.css tokens only; square corners, hairlines and mono labels like the rest. */

/* A `full` route: html.is-full locks the window; the sidebar and the right side
   scroll on their own, and a page shown inside (idea space, proposal editor)
   fills what is left under the bar. */
.fl { display: grid; grid-template-columns: var(--fl-w, 300px) 7px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr); flex: 1 1 auto; min-height: 0; min-width: 0; }
/* app.css makes every full page's wrapper a single flex column
   (`html.is-full main > div`), which beat the rule above and stacked the
   sidebar over the page on 2026-10-18. Same selector plus .fl, so it wins. */
html.is-full main > div.fl { display: grid; }
/* A page in a drawer shows the thing alone: no left list, anywhere (Paul, 2026-11-04). */
html.is-embed .fl { grid-template-columns: minmax(0, 1fr); }
html.is-embed .fl > :not(.fl-main) { display: none; }

/* ---- sidebar ---- */
.fl-side { overflow-y: auto; min-height: 0; background: var(--surface-2);
  border-right: 1px solid var(--hairline); padding: 12px 0 20px; }
.fl-grip { cursor: col-resize; align-self: stretch; background: transparent; }
.fl-grip:hover { background: var(--rule); }
.fl-search { display: block; width: calc(100% - 24px); margin: 0 12px 10px; padding: 6px 8px; border: 1px solid var(--rule);
  font: 13px var(--sans); background: var(--card); }
.fl-how { display: block; padding: 7px 14px; font: 600 13px var(--sans); color: var(--ink); text-decoration: none;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.fl-how.is-on, .fl-how:hover { background: var(--card); }
.fl-how.is-on { box-shadow: inset 3px 0 0 var(--ink); }

/* caret · count · name · (flag) · + in a fixed column on the right margin (Paul, edit1) */
.fl-shead { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; }
.fl-shead:hover { background: var(--card); }
.fl-shead.is-on { background: var(--card); box-shadow: inset 3px 0 0 var(--ink); }
.fl-caret { border: 0; background: none; cursor: pointer; color: var(--muted); font: 12px var(--mono); padding: 3px 4px; }
.fl-sname { flex: 1; min-width: 0; text-align: left; border: 0; background: none; cursor: pointer; padding: 4px 0;
  font: 600 13px var(--sans); color: var(--ink); }
.fl-n { font: 600 12px var(--mono); color: var(--muted-2); min-width: 16px; text-align: right; }
.fl-flagn { font: 600 11px var(--mono); color: var(--alarm); }
.fl-plusslot { flex: 0 0 22px; display: flex; justify-content: flex-end; }
.fl-sempty { margin: 0 12px 6px 32px; font-size: 12px; color: var(--faint); }
.fl-sitem { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 32px; font-size: 13px; color: var(--body);
  text-decoration: none; }
.fl-sitem:hover { background: var(--card); color: var(--ink); }
.fl-sitem.is-on { background: var(--card); color: var(--ink); font-weight: 600; }
.fl-sitem.is-flag .fl-sitem-t::after { content: ' !'; color: var(--alarm); font-weight: 600; }
.fl-sitem-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fl-tag { display: inline-block; font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase;
  padding: 1px 5px; border: 1px solid currentColor; white-space: nowrap; }
.fl-tag.is-grant { color: var(--dep-projects); }
.fl-tag.is-client { color: var(--dep-food-delivery); }
.fl-faint { color: var(--faint); font-size: 12px; }

/* ---- main ---- */
.fl-main { padding: 14px 20px 32px; min-width: 0; min-height: 0; overflow-y: auto; }
.fl-main.is-embed { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.fl-bar { flex: 0 0 auto; padding: 10px 16px 8px; border-bottom: 1px solid var(--hairline); background: var(--surface-2); }
.fl-bar .fl-map { margin-bottom: 6px; }
.fl-bar .fl-lede { margin: 2px 0 0; font-size: 13px; }
.fl-bar .fl-track { margin: 6px 0; }
.fl-bar .fl-moves .st-actions { margin-top: 4px; }
.fl-bar .fl-gatecard-q { font-size: 13px; margin: 2px 0; display: inline; }
.fl-bar .fl-moves > .fl-gatecard-t { display: inline; margin-left: 8px; font-size: 12px; color: var(--muted); }
.fl-embed { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; }
.fl-embed > .pv, .fl-embed > .is-wrap, .fl-embed > .fl-rpage { flex: 1 1 auto; min-height: 0; }
.fl-embed > :not(.pv):not(.is-wrap):not(.fl-rpage) { padding: 12px 18px; }
/* A record's own head under the stage track: name and details on the left, its buttons on the right margin. */
.fl-rpage { display: flex; flex-direction: column; min-width: 0; }
.fl-rpage > .pv, .fl-rpage > .is-wrap { flex: 1 1 auto; min-height: 0; }
.fl-rpage > :not(.fl-rhead):not(.pv):not(.is-wrap) { padding: 12px 18px; }
/* One line: name, its details, then the buttons on the right margin (Paul, edit1: "it could all be on one line"). */
.fl-rhead { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 8px 18px;
  background: var(--card); border-bottom: 1px solid var(--hairline); }
.is-wrap > .fl-rhead { border: 1px solid var(--hairline); }
.fl-rhead-l { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.fl-rname { font: 700 19px var(--serif); line-height: 1.25; margin: 0; }
.fl-rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.fl-rparty { color: var(--body); }
.fl-rhead .fl-moves { flex: 0 0 auto; display: flex; flex-direction: row; align-items: center; gap: 10px; max-width: 55%; }
.fl-rhead .st-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; }
.fl-rhead .fl-reasonform { display: flex; gap: 6px; }
.fl-rhead .fl-moves > .fl-gatecard-t { margin: 0; font-size: 12px; color: var(--muted); text-align: right; }
.fl-dl { display: inline-flex; align-items: center; gap: 4px; }
.fl-from { font-size: 12px; }
.fl-fitline { margin: 4px 0 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.fl-bar .fl-text { font-size: 13px; max-height: 6.5em; overflow-y: auto; }
.fl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 10px; }
.fl-title { font: 600 20px var(--sans); margin: 0; }
/* The stage's line of explanation runs the full width, on one line where it fits (Paul, edit1). */
.fl-head-t { display: flex; align-items: center; gap: 6px; }
.fl-gate .cm-note { margin-top: 2px; }
.fl-rtext { white-space: pre-line; max-height: 5.4em; overflow-y: auto; margin: 0 0 10px; padding: 8px 14px; font-size: 13px; line-height: 1.35; background: var(--card); border: 1px solid var(--rule); }
.fl-plan-none { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 10px 0 0; font-size: 13px; }
.fl-lede { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* The map: six stages, gates between. Large when it is the page, a strip when a stage is open. */
.fl-map { display: flex; align-items: stretch; gap: 0; margin-bottom: 18px; overflow-x: auto; }
.fl-stage { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 12px 12px 10px; background: var(--card); border: 1px solid var(--hairline); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.fl-stage:hover { background: var(--field-focus); }
.fl-stage.is-on { background: var(--ink); color: var(--panel-figure); }
.fl-stage.is-on .fl-stage-s { color: var(--panel-dim); }
.fl-stage-n { font: 600 28px var(--mono); line-height: 1; }
.fl-stage-l { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.fl-stage-s { font-size: 12px; color: var(--muted); }
.fl-stage-w { font: 600 11px var(--mono); color: var(--alarm); }
.fl-gate { flex: 0 0 auto; width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--muted); text-align: center; padding: 0 2px; }
.fl-gate-m { font-size: 10px; color: var(--muted-2); }
.fl-gate-q { font-size: 11px; line-height: 1.25; }
.fl-map.is-slim { margin-bottom: 14px; }
/* Twice as tall as before, so a two-word stage name wraps inside its box instead of running out of it. */
.fl-map.is-slim .fl-stage { flex-direction: row; align-items: center; gap: 8px; padding: 6px 10px; min-width: 0; min-height: 50px; }
.fl-map.is-slim .fl-stage-n { font-size: 16px; }
.fl-map.is-slim .fl-stage-l { font-size: 11px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-map.is-slim .fl-gate { width: 22px; }

/* Five decision cards on one shared grid: each card spans the four rows (stage line, question,
   subvención, cliente) through subgrid, so the same line sits at the same height in all five (Paul, edit1). */
.fl-gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto);
  column-gap: 10px; margin-bottom: 18px; }
.fl-gatecard, .fl-next { background: var(--card); border: 1px solid var(--rule); padding: 12px 14px; }
.fl-gates .fl-gatecard { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
.fl-gatecard-q { font: 600 15px var(--sans); margin: 0; }
.fl-gatecard-t { font-size: 13px; margin: 0; color: var(--body); line-height: 1.45; }
.fl-bar .fl-gatecard-q, .fl-rhead .fl-gatecard-q { margin: 2px 0; }
@media (max-width: 1100px) { .fl-gates { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } }
.fl-next { margin-top: 16px; max-width: 640px; }

.fl-table tbody tr { cursor: pointer; }
.fl-table tbody tr:hover td { background: var(--field-focus); }
.fl-row.is-flag td:first-child { box-shadow: inset 3px 0 0 var(--alarm); }
.fl-row-t { font-weight: 600; }
.fl-row-c { font: 11px var(--mono); color: var(--muted); }
.fl-date { white-space: nowrap; color: var(--muted-2); }
.fl-warn { color: var(--alarm); white-space: nowrap; }

/* One record: a track across the six, then sections on one page. */
.fl-rtitle { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 2px 0 12px; }
.fl-track { list-style: none; display: flex; padding: 0; margin: 0 0 14px; border: 1px solid var(--hairline); overflow-x: auto; }
.fl-track li { flex: 1 1 0; padding: 6px 8px; font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase;
  color: var(--faint); border-right: 1px solid var(--rule); white-space: nowrap; background: var(--card); }
.fl-track li:last-child { border-right: 0; }
.fl-track li.is-past { color: var(--muted-2); background: var(--surface-2); }
.fl-track li.is-past span::before { content: '✓ '; }
.fl-track li.is-here { background: var(--ink); color: var(--panel-figure); }
.fl-sec { padding: 12px 14px; max-width: 760px; margin-bottom: 12px; }
.fl-sec .st-h { margin-bottom: 8px; font-size: 12px; }
.fl-facts { border-collapse: collapse; font-size: 13px; }
.fl-facts th { text-align: left; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  padding: 4px 18px 4px 0; vertical-align: top; white-space: nowrap; }
.fl-facts td { padding: 4px 0; }
.fl-text { margin: 0; font-size: 14px; line-height: 1.5; max-width: 72ch; white-space: pre-wrap; }
.fl-actions { margin-top: 6px; }
.fl-fits { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }

/* A phone: the sidebar goes above, not beside, and does not stick. */
@media (max-width: 900px) {
  .fl, html.is-full main > div.fl { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .fl-side { max-height: 45vh; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .fl-grip { display: none; }
  .fl-main { padding: 14px 16px 28px; }
  .fl-map:not(.is-slim) { flex-direction: column; }
  .fl-map:not(.is-slim) .fl-gate { width: auto; flex-direction: row; padding: 4px 0; }
}

/* Step B: moving things, and the new-idea form. */
.fl-moves .st-actions { margin-top: 8px; }
.fl-moves button.st-btn { cursor: pointer; }
.fl-moves button:disabled { opacity: .5; cursor: default; }
.fl-msg { font-size: 13px; color: var(--muted); margin: 6px 0 0; min-height: 1em; }
.fl-msg.is-bad { color: var(--alarm); }
.fl-reasonform { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fl-reason { flex: 1 1 260px; padding: 6px 8px; border: 1px solid var(--hairline); font: 13px var(--sans); }
.fl-kinds.is-inline { display: inline-flex; margin: 0; }
.fl-date-in { font: 13px var(--sans); padding: 3px 6px; border: 1px solid var(--rule); }
.fl-form { display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
.fl-in { padding: 7px 9px; border: 1px solid var(--rule); font: 14px var(--sans); background: var(--card); }
.fl-form .st-actions { margin-top: 8px; }
button.st-btn { cursor: pointer; }

/* ---- a stage as cards, and the + (flow.js drawStage, wizard; 2026-10-20) ---- */
.fl-plus { border: 1px solid var(--rule); background: var(--card); cursor: pointer; color: var(--ink);
  width: 20px; height: 20px; padding: 0; line-height: 17px; font: 600 14px var(--mono); }
.fl-plus:hover { background: var(--ink); color: var(--card); border-color: var(--ink); }
.fl-headr { display: flex; align-items: center; gap: 10px; }
.fl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.fl-card { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--card);
  border: 1px solid var(--hairline); color: var(--ink); text-decoration: none; min-height: 132px; }
.fl-card:hover { border-color: var(--ink); }
.fl-card.is-flag { box-shadow: inset 3px 0 0 var(--alarm); }
.fl-card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.fl-card-t { font: 600 15px var(--sans); line-height: 1.3; }
.fl-card-p { font-size: 13px; color: var(--muted); }
.fl-card-x { font-size: 12px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
/* Bottom of the card: the date as a small labelled block on the left, the amount large on the right. */
.fl-card-f { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between;
  align-items: flex-end; gap: 10px; }
.fl-card-when { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fl-card-dl { font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fl-card-d { font-size: 13px; color: var(--body); }
.fl-card-cd { font: 11px var(--mono); color: var(--muted-2); }
.fl-card-cd.is-soon { color: var(--alarm); font-weight: 600; }
.fl-card-amt { font: 600 18px var(--mono); color: var(--ink); white-space: nowrap; }
/* Time used between start and end: one of the card options being decided (edit1), hidden unless chosen. */
.fl-card-bar { display: none; height: 4px; background: var(--rule); }
.fl-card-bar span { display: block; height: 100%; background: var(--ink); }
.fl-card-w { font: 600 11px var(--mono); color: var(--alarm); }

/* The "+ Nueva ..." window: one question at a time. */
.fl-veil { position: fixed; inset: 0; background: rgba(20, 20, 19, .45); z-index: 60; display: flex;
  align-items: flex-start; justify-content: center; overflow-y: auto; padding: 8vh 12px 24px; }
.fl-wiz { background: var(--surface-2); border: 1px solid var(--hairline); width: min(560px, 100%); padding: 14px 20px 20px; }
.fl-wiz-h { display: flex; align-items: center; gap: 10px; }
.fl-wiz-k { flex: 1; font: 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fl-wiz-n { font: 12px var(--mono); color: var(--muted-2); }
.fl-wiz-x { border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); padding: 0 2px; }
.fl-wiz-bar { height: 3px; background: var(--rule); margin: 8px 0 16px; }
.fl-wiz-bar span { display: block; height: 100%; background: var(--ink); }
.fl-wiz-q { font: 600 19px var(--sans); margin: 0 0 6px; }
.fl-wiz-help { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.fl-wiz-in { display: block; width: 100%; box-sizing: border-box; padding: 8px 10px; font: 15px var(--sans);
  border: 1px solid var(--rule); background: var(--card); }
textarea.fl-wiz-in { resize: vertical; }
.fl-wiz-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fl-wiz-pick { border: 1px solid var(--rule); background: var(--card); padding: 3px 8px; font-size: 12px; cursor: pointer; }
.fl-wiz-pick:hover { border-color: var(--ink); }
.fl-wiz-ch { display: grid; gap: 8px; }
.fl-wiz-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px;
  border: 1px solid var(--hairline); background: var(--card); cursor: pointer; font: inherit; color: var(--ink); }
.fl-wiz-opt:hover, .fl-wiz-opt:focus { border-color: var(--ink); }
.fl-wiz-opt.is-on { box-shadow: inset 3px 0 0 var(--ink); }
/* The bar dips into the card (Paul, 2026-11-03, «the vertical black bar … dip inside of its card»): pressing a chosen
   card widens its bar inward while held; a card just chosen (.is-picked, set for one draw by whoever redraws) plays
   the same dip once as its bar appears. The card itself does not move. */
.fl-wiz-opt { transition: box-shadow .12s ease; }
.fl-wiz-opt.is-on:active { box-shadow: inset 9px 0 0 var(--ink); }
.fl-wiz-opt.is-picked { animation: fl-bar-dip .32s ease-out; }
@keyframes fl-bar-dip { 0% { box-shadow: inset 0 0 0 var(--ink); } 45% { box-shadow: inset 9px 0 0 var(--ink); } 100% { box-shadow: inset 3px 0 0 var(--ink); } }
@media (prefers-reduced-motion: reduce) { .fl-wiz-opt { transition: none; } .fl-wiz-opt.is-picked { animation: none; } }
.fl-wiz-opt-t { font: 600 15px var(--sans); }
.fl-wiz-opt-s { font-size: 12px; color: var(--muted); }
.fl-wiz-a { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }
.fl-wiz-sum { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 6px 0 12px; font-size: 14px; }
.fl-wiz-sum dt { color: var(--muted); }
.fl-wiz-sum dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 640px) { .fl-cards { grid-template-columns: 1fr; } .fl-veil { padding-top: 12px; } }

/* edit2: the card's first-to-last day, and the "enviada" mark. */
.fl-card-span { font: 13px var(--mono); color: var(--body); }
.fl-sent { font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ok, #2f6b3a);
  border: 1px solid currentColor; padding: 0 4px; }
.fl-rspan { font: 13px var(--mono); color: var(--body); }

/* edit2: the window with every step on one page, folded until its turn. */
.fl-wiz.is-acc { width: min(760px, 100%); }
.fl-acc-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.fl-acc { border-bottom: 1px solid var(--rule); }
.fl-acc-h { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 9px 2px; border: 0; background: none;
  cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.fl-acc-n { font: 600 12px var(--mono); color: var(--muted-2); min-width: 18px; }
.fl-acc-l { font: 600 14px var(--sans); }
.fl-acc-v { flex: 1; min-width: 0; text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-acc.is-todo .fl-acc-l { color: var(--muted); font-weight: 400; }
.fl-acc.is-done .fl-acc-n { color: var(--ink); }
.fl-acc.is-open > .fl-acc-h { padding-bottom: 2px; }
.fl-acc.is-open .fl-acc-n { color: var(--ink); }
.fl-acc-b { padding: 4px 2px 14px 28px; }
.fl-wiz-sum dd a { color: var(--link, #2a4fd6); }

/* A list answer: a small table of inputs. */
.fl-rows-wrap { overflow-x: auto; }
.fl-rows { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-rows th { font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 2px 4px; }
.fl-rows th.num, .fl-rows td.num { text-align: right; }
.fl-rows td { padding: 2px 4px; vertical-align: middle; }
.fl-rows .fl-in { width: 100%; box-sizing: border-box; min-width: 70px; padding: 5px 6px; font: 13px var(--sans);
  border: 1px solid var(--rule); background: var(--card); }
.fl-rows input[type=number] { min-width: 64px; text-align: right; }
.fl-rows input[type=date] { min-width: 120px; }
.fl-rows-add { margin-top: 6px; }
.fl-rows-foot { margin-top: 8px; }
.fl-rows-total { font: 600 13px var(--mono); margin: 4px 0; text-align: right; }
.fl-rows-total.is-bad { color: var(--alarm); }

/* When the money arrives against when it goes. */
.fl-gap { margin-top: 10px; }
.fl-gap-say { font-size: 13px; margin: 0 0 6px; }
.fl-gap-say.is-bad { color: var(--alarm); font-weight: 600; }
.fl-gap-bars { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 2px; }
.fl-gap-col { flex: 0 0 34px; display: flex; flex-direction: column; align-items: stretch; }
.fl-gap-up, .fl-gap-dn { height: 40px; display: flex; }
.fl-gap-up { align-items: flex-end; border-bottom: 1px solid var(--muted-2); }
.fl-gap-dn { align-items: flex-start; }
.fl-gap-up span, .fl-gap-dn span { display: block; width: 100%; }
.fl-gap-up span { background: var(--ink); }
.fl-gap-dn span { background: var(--alarm); }
.fl-gap-m { font: 9px var(--mono); color: var(--muted); text-align: center; white-space: nowrap; }

/* A proposal's record: the window's sections, read. */
.fl-plan { display: grid; gap: 14px; padding: 14px 18px 24px; }
.fl-plan-sum { display: flex; flex-wrap: wrap; gap: 10px; }
.fl-plan-box { background: var(--card); border: 1px solid var(--rule); padding: 8px 12px; display: grid; gap: 2px; min-width: 150px; }
.fl-plan-box strong { font: 600 18px var(--mono); }
.fl-plan-box.is-bad strong { color: var(--alarm); }
.fl-plan-s { background: var(--card); border: 1px solid var(--rule); padding: 10px 14px; }
.fl-plan-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.fl-plan-h h3 { font: 600 14px var(--sans); margin: 0; }
.fl-plan-ed { font-size: 12px; color: var(--link, #2a4fd6); }
.fl-plan-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.fl-plan-dl dt { color: var(--muted); }
.fl-plan-dl dd { margin: 0; white-space: pre-wrap; }
.fl-plan-docs { margin: 0; padding-left: 18px; font-size: 14px; }
.fl-plan-t { width: 100%; font-size: 13px; }
.fl-diff { border-color: var(--ink); }
.fl-rows-off { color: var(--faint); }

/* The page's own main button is the big one (Paul, 2026-11-05). */
.fl-head .st-btn { padding: 9px 20px; }
