/*
  Colina holoscope — styles.
  Free software (see the notice in index.html). Developed by Franck LEFEVRE for K1 (https://k1info.com).

  HISTORY (most recent first; times are Europe/Paris)
  2026-10-29 14:23 v0.35.0 — Rouages: the ◢ size grip of the selected piece.
  2026-10-29 14:11 v0.34.1 — Rouages: the sheet popup resizes by its corner, its text areas vertically (Franck, Colina 4e3d9551).
  2026-10-28 15:36 v0.32.0 — Rouages: live-change banner.
  2026-10-28 13:58 v0.30.0 — Rouages: ◉ badges and the sliders box over the graph, search list, moved values (side sliders gone).
  2026-10-28 01:08 v0.28.1 — gap mark « attend ses entrées ».
  2026-10-28 01:04 v0.28.0 — Rouages read at a zone: banner, gap marks, territory picker; writes hidden while zoned.
  2026-10-27 14:26 v0.22.0 — Rouages: « définition » nature line.
  2026-10-27 11:50 v0.21.0 — Rouages: sensitivity toggle and sheet section.
  2026-10-26 11:58 v0.20.0 — Modèle: nature line of a function sheet (hypothèse du cercle / mesurée).
  2026-10-26 10:29 v0.19.1 — Modèle: popup window for sheets and editors (the side column is gone).
  2026-10-26 09:25 v0.19.0 — Modèle: graph and sheet side by side, forms, formula editor (completion list, chips, palette, error marks).
  2026-10-25 18:32 v0.16.0 — event page.
  2026-10-25 18:18 v0.15.0 — « Agenda » cards.
  2026-10-25 18:01 v0.14.3 — directory graph as tall as the window.
  2026-10-25 17:42 v0.13.0 — « Répertoire » tab.
  2026-10-25 16:43 v0.12.1 — « Ce qui manque » under non-sourced settings.
  2026-10-25 15:14 v0.11.0 — map legend.
  2026-10-25 14:58 v0.10.1 — rules list.
  2026-10-25 14:55 v0.10.0 — activity balances controls and legend.
  2026-10-25 14:43 v0.9.0 — scenario workshop styles.
  2026-10-25 12:46 v0.5.0 — theme groups in the layer panel.
  2026-10-25 12:20 v0.4.0 — scale sheet: levels, analyses, ask box, circle messages.
  2026-10-25 11:57 v0.3.0 — building sheet: source line style.
  2026-10-25 11:27 v0.2.0 — styles of the « Bilan d'une zone » block.
  2026-10-25 10:53 v0.1.0 — created: bar + tabs, three-column layout (side / map / help), status badges,
    access form; collapses to one column under 900px.
*/
:root {
  --bg: #f7f6f2; --fg: #1f2421; --muted: #5c6460; --line: #d8d6cf; --panel: #ffffff;
  --accent: #2f6f5e; --ok: #2f6f5e; --discuss: #a36a00; --hyp: #6b4fa0; --none: #a33b3b;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161917; --fg: #e6e8e4; --muted: #9aa39e; --line: #2c322f; --panel: #1e2220;
          --accent: #6cc3a8; --ok: #6cc3a8; --discuss: #e0a63a; --hyp: #b49be0; --none: #e07a7a; }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.bar { display: flex; align-items: center; gap: 16px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.brand { font-weight: 600; }
.tabs { display: flex; gap: 4px; flex: 1; }
.tab { border: 0; background: none; color: var(--muted); padding: 6px 10px; border-radius: 6px; cursor: pointer; font: inherit; }
.tab.active { background: var(--bg); color: var(--fg); font-weight: 600; }
.version { color: var(--muted); font-size: 13px; }
.layout { display: grid; grid-template-columns: 1fr 300px; height: calc(100% - 49px); }
.panel { display: grid; grid-template-columns: 280px 1fr; min-height: 0; }
.panel.hidden { display: none; }
#panel-versions { grid-template-columns: 1fr; overflow: auto; }
.side { overflow: auto; padding: 12px 16px; border-right: 1px solid var(--line); background: var(--panel); }
.side h2, .doc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 16px 0 8px; }
.map { min-height: 300px; }
.layers, .unlocated, .journal { list-style: none; margin: 0; padding: 0; }
.layers li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.layers label { display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; }
.layers .meta { font-size: 12px; color: var(--muted); margin: 4px 0 0 24px; }
.layers .meta a, .help a, .doc a { color: var(--accent); }
.unlocated li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.unlocated .role { display: block; font-size: 12px; color: var(--muted); }
.badge { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 10px; border: 1px solid currentColor; white-space: nowrap; }
.badge.s-confirme { color: var(--ok); } .badge.s-discussion { color: var(--discuss); }
.badge.s-hypothese { color: var(--hyp); } .badge.s-nonsource { color: var(--none); }
.help { overflow: auto; padding: 12px 16px; border-left: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.help h2 { font-size: 16px; margin: 4px 0 8px; }
.help h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 14px 0 4px; }
.help code { font-size: 12px; background: var(--bg); padding: 1px 4px; border-radius: 4px; }
.doc { padding: 12px 24px; max-width: 1100px; }
.sources { border-collapse: collapse; width: 100%; font-size: 14px; }
.sources th, .sources td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.journal li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.leaflet-popup-content { font-size: 13px; }
/* 2026-10-25 11:27 v0.2.0 — zone tool */
.zone-toggle { display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; }
.zone-result { font-size: 13px; margin: 8px 0; }
.zone-clear { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
/* 2026-10-25 11:57 v0.3.0 — building sheet */
.help ul { padding-left: 18px; margin: 4px 0; }
.meta-src { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
/* 2026-10-25 12:20 v0.4.0 — scale sheet */
.level { border-top: 1px solid var(--line); padding: 6px 0; }
.level summary { cursor: pointer; font-weight: 600; }
.level summary small { font-weight: 400; color: var(--muted); }
.level h4 { font-size: 12px; text-transform: uppercase; color: var(--muted); margin: 10px 0 4px; }
.analyses li { margin-bottom: 6px; }
.ask { margin: 8px 0; font-size: 13px; }
.ask select, .ask button, .ask textarea { font: inherit; font-size: 13px; }
.ask textarea { width: 100%; margin-top: 6px; }
.cercle .msg { font-size: 13px; padding: 4px 0; border-top: 1px dashed var(--line); }
.cercle .msg.reply { margin-left: 12px; }
/* 2026-10-25 12:46 v0.5.0 — theme groups */
.theme { border-bottom: 1px solid var(--line); }
.theme summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.theme .layers li:last-child { border-bottom: 0; }
/* 2026-10-25 14:43 v0.9.0 — scenario workshop */
#panel-scenarios { grid-template-columns: 1fr; overflow: auto; }
.scen .steps { padding-left: 0; list-style: none; }
.scen .steps > li { border-top: 1px solid var(--line); padding: 10px 0; }
.scen h3 { margin: 0 0 8px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chips button { font: inherit; font-size: 13px; padding: 3px 9px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; }
.chips.picked button { background: var(--bg); }
.scen label { display: block; margin: 6px 0; }
.scen input[type=number] { width: 120px; font: inherit; }
.scen table { border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.scen td, .scen th { padding: 4px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.scen td:first-child, .scen th:first-child { text-align: left; }
.scen textarea { width: 100%; margin-top: 6px; font: inherit; font-size: 13px; }
/* 2026-10-25 14:55 v0.10.0 — activity balances */
.eq-ctl select { font: inherit; font-size: 13px; width: 100%; max-width: 100%; }
.eq-ctl label { max-width: 100%; }  /* 2026-10-25 15:17 v0.11.0 — the chooser overflowed the side panel. */
.eq-ctl label { display: inline-block; margin: 4px 6px 0 0; }
.eq-legend { margin-top: 6px; font-size: 11px; }
.eq-legend span { display: inline-block; width: 12px; height: 12px; vertical-align: middle; margin: 0 2px 0 6px; border: 1px solid var(--line); }
/* 2026-10-25 14:58 v0.10.1 — rules of the holoscope */
.rules li { margin-bottom: 8px; }
.rules small { display: block; color: var(--muted); }
/* 2026-10-25 15:14 v0.11.0 — map legend (always visible) */
.map-legend { background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
  max-width: 340px; max-height: 45vh; overflow: auto; font-size: 12px; line-height: 1.5; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.map-legend .lg-row { margin-bottom: 6px; }
.map-legend .lg-item { display: inline-block; margin-right: 8px; white-space: nowrap; }
.map-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: middle; border: 1px solid; }
.map-legend i.line { height: 3px; width: 16px; border-width: 0; }
.map-legend i.dot { border-radius: 50%; }
/* Access form */
body.gate { display: grid; place-items: center; }
.gate-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; width: min(360px, calc(100% - 32px)); display: grid; gap: 10px; }
.gate-box h1 { font-size: 20px; margin: 0; }
.gate-box input, .gate-box button { font: inherit; padding: 8px; border-radius: 6px; border: 1px solid var(--line); }
.gate-box button { background: var(--accent); color: #fff; border: 0; cursor: pointer; }
.gate-error { color: var(--none); min-height: 1em; margin: 0; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; height: auto; }
  .panel { grid-template-columns: 1fr; }
  .map { height: 60vh; }
  .side, .help { border: 0; border-top: 1px solid var(--line); }
}
/* 2026-10-25 16:43 v0.12.1 — what a « non sourcé » value lacks (rule B): visible, quiet, next to the value. */
.manque { font-size: 12px; color: #6b4f00; background: #fbf3dc; border-left: 3px solid #c9a227; padding: 4px 8px; margin: 6px 0; }
/* 2026-10-25 17:42 v0.13.0 — « Répertoire »: list on the left, graph above the sheet. */
/* 2026-10-25 17:43 v0.13.0 — fixed graph height: in a grid row the canvas outgrew its frame (render test of 17:43). */
.rep-main { display: block; min-height: 0; overflow: auto; padding: 8px 12px; }
/* 2026-10-25 18:01 v0.14.3 — the graph takes the height of the window (Franck, 59557a8f: « y'a déjà du monde ! »). */
.rep-graph { border: 1px solid #d8d6cf; border-radius: 8px; height: calc(100vh - 150px); min-height: 520px; background: #fff; overflow: hidden; }
.rep-sheet { padding: 8px 0; }
.rep-sheet li.retire, .rep-sheet .retire { opacity: .55; }
.rep-rule { font-size: 12px; color: #6b4f00; background: #fbf3dc; border-left: 3px solid #c9a227; padding: 4px 8px; margin: 0 0 6px; }
.rep-list { list-style: none; padding: 0; margin: 4px 0; max-height: 40vh; overflow: auto; }
.rep-list li { padding: 3px 6px; cursor: pointer; border-radius: 4px; }
.rep-list li.active, .rep-list li:hover { background: #eceae4; }
.rep-kind { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: middle; background: #2f6f5e; border-radius: 2px; }
.rep-kind.p { background: #c96b1b; border-radius: 50%; }
.rep-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.rep-types label { display: block; font-size: 13px; }
#rep-search, #rep-nature { width: 100%; margin: 4px 0; font: inherit; }
/* 2026-10-25 18:18 v0.15.0 — « Agenda »: one card per event; past events fade. */
#panel-agenda { grid-template-columns: 1fr; overflow: auto; }
.ag-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ag-card { background: #fff; border: 1px solid #d8d6cf; border-left: 4px solid #6b4fa0; border-radius: 8px; padding: 10px 12px; }
.ag-card h3 { margin: 0 0 6px; font-size: 16px; }
.ag-card p { margin: 4px 0; }
.ag-card.past { opacity: .65; border-left-color: #b9b0cc; }
/* 2026-10-25 18:32 v0.16.0 — one event's page. */
.ev-body { display: block; overflow: auto; height: auto; }
.ev-page { max-width: 920px; margin: 0 auto; padding: 16px; }
.ev-page h1 { margin: 8px 0; }
.ev-page section { background: #fff; border: 1px solid #d8d6cf; border-radius: 8px; padding: 10px 14px; margin: 12px 0; }
.ev-page h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #5c6460; margin: 0 0 8px; }
.ev-text { margin: 6px 0; }
.ev-item { border-top: 1px solid #eceae4; padding: 8px 0; }
.ev-media { max-width: 100%; max-height: 480px; border-radius: 6px; display: block; margin: 6px 0; }
.ev-prog td { padding: 3px 8px; vertical-align: top; }
.ev-howto code { font-size: 12px; }
.ev-page .retire { opacity: .5; }
.empty { color: #5c6460; font-style: italic; }
/* 2026-10-25 20:48 v0.17.0 — directory edit form (Franck, « Les deux », e627b700). */
.rep-edit { border-top: 1px solid #d8d6cf; margin-top: 12px; padding-top: 8px; }
.rep-edit label { display: inline-block; margin: 4px 12px 4px 0; font-size: 13px; }
.rep-edit input, .rep-edit select { font: inherit; margin-left: 4px; max-width: 260px; }
.rep-edit-fields { display: flex; flex-wrap: wrap; }
.rep-line code { display: block; background: #f4f3ee; padding: 6px 8px; border-radius: 4px; white-space: pre-wrap; word-break: break-word; }
.rep-edit-do { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rep-acts { font-size: 13px; }
/* 2026-10-25 22:46 v0.18.0 — system model tab. */
.mod-slider { display: block; font-size: 13px; margin: 6px 0; }
.mod-slider input { width: 100%; }
.mod-slider output { float: right; font-variant-numeric: tabular-nums; }
.mod-off { font-size: 12px; color: #6b6f6c; margin: 4px 0; }
.mod-level { color: #fff; padding: 0 6px; border-radius: 3px; font-size: 12px; }
/* 2026-10-28 13:58 v0.30.0 — the side's slider lists are gone: badges on the graph open the sliders beside their node; the side keeps
   the search and the moved values (Franck, Colina 1fe78ded). */
.mod-graph-wrap { position: relative; }
.mod-badges { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mod-badge { position: absolute; pointer-events: auto; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 2px solid #c9a227;
  background: #fff; color: #8c6f12; font-size: 12px; line-height: 16px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mod-badge.on { background: #c9a227; color: #fff; }
.mod-badge[hidden] { display: none; }
/* 2026-10-29 14:23 v0.35.0 — the grip that resizes the selected piece; pointer events on, like the badges, inside a pass-through layer. */
.mod-grip { position: absolute; pointer-events: auto; width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 14px;
  color: #c9a227; background: #fff; border: 1px solid #c9a227; border-radius: 3px; cursor: nwse-resize; user-select: none; touch-action: none; }
.mod-grip[hidden] { display: none; }
.mod-tune { position: absolute; z-index: 5; width: 260px; background: #fff; border: 1px solid #b9b7ae; border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); padding: 0 10px 6px; }
.mod-tune-bar { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 0; font-size: 13px; }
.mod-tune-bar button { background: none; border: none; font-size: 18px; line-height: 1; cursor: pointer; }
.mod-find { display: block; font-size: 13px; margin: 10px 0 4px; }
.mod-find input { font: inherit; width: 100%; box-sizing: border-box; }
.mod-find-list { list-style: none; margin: 0 0 6px; padding: 0; max-height: 30vh; overflow: auto; font-size: 13px; border: 1px solid #d8d6cf; border-radius: 4px; }
.mod-find-list li { padding: 3px 6px; }
.mod-find-list li + li { border-top: 1px solid #eeede8; }
#mod-moved { max-height: 30vh; overflow: auto; }
.mod-moved-line { display: flex; gap: 6px; align-items: baseline; font-size: 13px; margin: 4px 0; }
.mod-moved-line a { flex: 1; min-width: 0; }
.mod-moved-line span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mod-moved-line button { padding: 0 6px; }
/* 2026-10-28 15:36 v0.32.0 — a change by someone else, held while an editor is open. */
.mod-live { background: #fdf6e3; border-left: 3px solid #c9a227; padding: 4px 8px; font-size: 13px; }
.mod-live[hidden] { display: none; }
/* 2026-10-26 09:25 v0.19.0 — function boxes: graph and sheet side by side, the editor and its formula helpers. */
/* 2026-10-26 10:29 v0.19.1 — the sheet is a non-modal popup over the graph, movable by its bar. */
.mod-dialog { position: fixed; top: 70px; right: 24px; left: auto; margin: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 100px);
  padding: 0; border: 1px solid #b9b7ae; border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.22); background: #fff; z-index: 1000;
  display: none; flex-direction: column; }
.mod-dialog[open] { display: flex; }
/* 2026-10-29 14:11 v0.34.1 — « Le texte des rouages est parfois trop long pour entrer dans le cadre » (Franck, Colina 4e3d9551): the popup
   resizes by its bottom-right corner (CSS resize needs overflow other than visible; the sheet keeps its own scroll). */
.mod-dialog { resize: both; overflow: hidden; min-width: 320px; min-height: 160px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
.mod-dialog .mod-sheet { flex: 1 1 auto; min-height: 0; }
.mod-field textarea { resize: vertical; min-height: 3em; }
.mod-dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #34406b; color: #fff;
  cursor: move; user-select: none; border-radius: 8px 8px 0 0; }
.mod-dialog-bar button { background: none; border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mod-sheet { overflow: auto; padding: 4px 14px 12px; }
.mod-me { display: block; font-size: 13px; margin: 4px 0 8px; }
.mod-me input { font: inherit; width: 100%; box-sizing: border-box; }
.mod-tools { display: flex; flex-wrap: wrap; gap: 6px; }
#mod-link.on { background: #c9a227; color: #1f2421; border-color: #8c6f12; }
/* 2026-10-27 11:50 v0.21.0 — sensitivity map: the toggle when on, and its section in a state's sheet. */
#mod-sensi.on { background: #2b6cb0; color: #fff; border-color: #1c4a7a; }
.mod-sensi { border-left: 3px solid #2b6cb0; padding-left: 8px; margin: 8px 0; }
.mod-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-io { margin: 4px 0; padding-left: 18px; font-size: 13px; }
.mod-formula, .mf-where { background: #f4f3ee; padding: 6px 8px; border-radius: 4px; white-space: pre-wrap; word-break: break-word; font-size: 13px; margin: 4px 0; }
.mf-where mark { background: #f2c4c4; border-bottom: 2px solid #b33a3a; }
.mod-versions { font-size: 12px; padding-left: 18px; }
.mod-form { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mod-field { display: flex; flex-direction: column; font-size: 12px; color: #5c6460; }
.mod-field { min-width: 0; }
.mod-field input, .mod-field select, .mod-field textarea { font: inherit; font-size: 13px; color: #1f2421; width: 100%; box-sizing: border-box; }
#mf-io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; font-size: 13px; }
.mf-side ul { padding-left: 0; list-style: none; margin: 4px 0; }
.mf-side { min-width: 0; }
.mf-side select { width: 100%; box-sizing: border-box; }
.mf-x { border: none; background: none; color: #b33a3a; cursor: pointer; font-weight: bold; }
.mf-ptab input { font: inherit; font-size: 12px; }
.mf-ptab th { font-size: 11px; color: #5c6460; font-weight: normal; text-align: left; }
.mod-formula-edit { margin-top: 8px; }
.mod-formula-edit > label { font-weight: bold; font-size: 13px; }
.mf-wrap { position: relative; }
#mf-formule { width: 100%; box-sizing: border-box; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.mf-complete { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border: 1px solid #b9b7ae; border-radius: 4px; margin: 0;
  padding: 0; list-style: none; max-height: 220px; overflow: auto; box-shadow: 0 4px 12px rgba(0,0,0,.12); font-size: 12px; }
.mf-complete li { padding: 3px 8px; cursor: pointer; }
.mf-complete li.on, .mf-complete li:hover { background: #eef0f8; }
.mf-chips { font-size: 12px; margin: 4px 0; }
.mf-chip, .mf-fn { font: 12px ui-monospace, Menlo, Consolas, monospace; margin: 2px; padding: 1px 6px; cursor: pointer; }
.mf-cat { margin: 4px 0; font-size: 12px; }
.mf-err { cursor: pointer; }
.mf-ok { background: #e8f3ec; border-left: 3px solid #2f8f4e; padding: 4px 8px; font-size: 13px; }
.mf-palette { margin: 6px 0; font-size: 13px; }
.mf-palette input { font: inherit; width: 100%; box-sizing: border-box; margin: 4px 0; }
/* 2026-10-26 11:58 v0.20.0 — a function's nature, in its sheet. */
.mod-nature { padding: 4px 8px; border-radius: 4px; font-size: 13px; }
.mod-nature.hypothese { background: #fbf3dc; border-left: 3px dashed #c9a227; }
.mod-nature.mesuree { background: #e8f3ec; border-left: 3px solid #2f8f4e; }
/* 2026-10-27 14:26 v0.22.0 — « définition »: neutral grey, it claims nothing. */
.mod-nature.definition { background: #f1f3f4; border-left: 3px solid #9aa0a6; }

/* 2026-10-28 00:20 v0.25.0 — a block's short code (E12, B7), quotable in the circle and in the API. */
.mod-code { font-family: ui-monospace, monospace; font-size: 0.8em; background: #34406b; color: #fff; border-radius: 3px; padding: 0 4px; }

/* 2026-10-28 01:01 v0.28.0 — Rouages read at a zone: the banner, the territory picker, writes hidden while zoned. */
.zone-pick { font-size: 13px; margin: 6px 0; }
.zone-pick label { display: block; }
#zone-rouages { margin-top: 6px; }
.mod-zone { font-size: 13px; margin: 0 0 6px; }
.mod-zone select { font: inherit; max-width: 100%; }
.mod-zone-on { background: #e8eef9; border-left: 3px solid #34406b; padding: 4px 8px; margin-top: 4px; }
.mod-gap { display: inline-block; padding: 0 6px; border-radius: 4px; font-size: 12px; }
.mod-gap.regle { border: 2px dashed #c9a227; }
.mod-gap.donnee { border: 2px dotted #b33a3a; }
.mod-gap.entrees { border: 2px solid #8a8f8c; }
#panel-modele.zoned .mod-acts, #panel-modele.zoned #mod-new-state, #panel-modele.zoned #mod-new-func, #panel-modele.zoned #mod-link, #panel-modele.zoned .mod-restore { display: none; }
