/* PERSONAL_ASSISTANT — installable app, mobile first.
   Ecosystem tokens come from ak-tokens.css (copy of SHARED/DESIGN/tokens, loaded before this sheet);
   only the tokens of PA itself are declared here ([1939_PA-A] T17). */
:root {
  --line: #e3e6ea;        /* PA's border (ecosystem --border is #e5e5ea; the simulator draws #e3e6ea) */
  --accent-ink: #ffffff;  /* ink on an --accent fill */
  /* [1946_PA-C] E1-T6 (BTN 2, Alain 2026-11-08, note 1946_PA pt 52; D-PA-9 withdrawn): the flat fill of the main buttons is the
     bright blue of the registry BUTTON (--link-action #0071e3). [1236_PA-F] T15 (Alain 2026-11-19): one blue for the links — every
     ink of a link or of a choice is --link-action; the navy --accent is a fill (button or chip chosen, switch, box), a line, and the
     ink of the signs, pictograms and numbers that are not touched (sign « liste », pin, count of a theme) */
  --btn-principal: var(--link-action);
  --danger: #b3261e;      /* destructive action and error ink (Supprimer, refusals) — same hue as --loss, other role */
  /* shell (navigation bar): AK shell tokens, the only dark zone (AK_PRESENTATION_RULES §12.2.T) */
  --shell: #1d1d1f; --shell-ink: #d6d6db; --shell-on: #ffffff;
  /* v49 b [1226_PA-B] T3 (Alain 2026-11-12, note [1226_PA] pt 5): the block « Échéances », amber very pale, and the pastilles
     of a date set on it (tints made stronger than the tag tokens, which vanish on this amber); off the block, the tag tokens */
  --due-bg: #fdf8f1; --due-border: #f3e6d3;
  --due-late-bg: #fbd5d2; --due-late-ink: #9a1f18;
  --due-tod-bg: #fbe0b4; --due-tod-ink: #7a4504;
  --due-fut-bg: #efe7da; --due-fut-ink: #5f5a52;
  --ink-faint: #c2c7ce;   /* v49 d: « ⋯ » of a line, light grey */
  /* v50 [1226_PA-C] T2 (note [1226_PA] pts 17, 20): the cases of a task — the family of a theme in light grey, an empty case */
  --case-fam: #7b8794; --ink-vide: #9aa2ad; --case-vide-bord: #e9ecf0;
  /* [1236_PA-F] T3: the size of a field on a touch screen — at 16 px Safari of the iPhone does not zoom when it takes the cursor */
  --champ-tactile: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--canvas); color: var(--ink); }
body {
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(61px + max(6px, calc(env(safe-area-inset-bottom) - 20px)));   /* tab bar 58 px ([1522_PA-C] T15) + 16 px */
}
.wrap { max-width: 640px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 16px 24px; }
header { position: relative; margin-bottom: 14px; }
h1 { font-size: 28px; line-height: 1.15; margin: 2px 0 0; letter-spacing: -0.01em; }
h2 { font-size: 15px; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.date { margin: 0; color: var(--ink-soft); font-size: 13px; text-transform: none; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 14px; margin: 0 0 12px;
}
.card.warn { border-left: 4px solid var(--warn); }
.card.center { text-align: center; }
.card ul { list-style: none; margin: 0; padding: 0; }
.tot { color: var(--ink-soft); font-weight: 500; font-size: 13px; }
.row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 2px; }
.row form { margin: 0; }
.txt { flex: 1; min-width: 0; }
.label { overflow-wrap: anywhere; }
.meta { color: var(--ink-soft); font-size: 13px; }
/* the text of an element opens « Modifier » (theme, slot, duration, due date, text) */
a.edit { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a.edit .label, a.edit .meta { display: block; }
a.edit:hover .label, a.edit:focus-visible .label { text-decoration: underline; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--accent-ink); }
a.edit.off, .chip.off { pointer-events: none; }
.chip.off { opacity: 0.5; }
.chip .n { color: var(--ink-soft); font-size: 12px; }
.chip.on .n { color: var(--shell-ink); }
.form .actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.form .actions .primary { flex: 1; }
.back { color: var(--ink-soft); text-decoration: none; font-size: 15px; padding: 8px 4px; }
button, .link { font: inherit; cursor: pointer; }
.ok, .drop {
  border-radius: var(--radius-ctl); padding: 6px 9px; font-size: 13px; min-height: 36px; white-space: nowrap;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
}
.ok { color: var(--gain); border-color: color-mix(in srgb, var(--gain) 40%, var(--line)); }
.drop { color: var(--ink-soft); }
.primary {
  display: inline-block; width: 100%; margin-top: 14px; padding: 13px 16px; min-height: 48px;
  border: 0; border-radius: var(--radius-ctl); background: var(--btn-principal); color: var(--accent-ink);
  font-weight: 600; text-align: center; text-decoration: none;
}
.primary:disabled { opacity: 0.6; }
.primary.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }
.card.center .primary { width: auto; min-width: 200px; }
.flash {
  background: color-mix(in srgb, var(--gain) 12%, var(--surface)); color: var(--ink);
  border-radius: var(--radius-ctl); padding: 10px 12px; margin: 0 0 12px; font-size: 14px;
}
.flash.err, .msg.err { color: var(--danger); }
.flash.err { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }
.msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.hint { color: var(--ink-soft); font-size: 13px; margin: 6px 0 0; }
.hint a { color: var(--link-action); }
.form label, .card label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
.form > label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas);
  border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 10px 12px; min-height: 44px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.quick { display: flex; gap: 8px; align-items: stretch; }
.quick input { flex: 1; min-width: 0; }
.quick .quick-btn { width: auto; margin-top: 0; min-height: 44px; padding: 0 16px; flex: none; }
.more { margin-top: 10px; }
.more summary { cursor: pointer; color: var(--link-action); font-size: 14px; padding: 6px 0; }
.pending-list { list-style: none; margin: 0 0 12px; padding: 10px 12px; border: 1px dashed #cfd5dc; border-radius: var(--radius-ctl); background: var(--surface); }
.pending-list li { padding: 4px 0; font-size: 14px; }
.pending-list .meta { display: block; }
/* bottom bar of the iPhone (simulator v26, [1522_PA-C] T15): an icon above each label, the active tab in
   PA blue; 58 px on an iPhone with a home bar of 34 px (4 + 40 + 14). v27 « barre B » ([1522_PA-D], Alain
   2026-11-03): grey-blue, a little darker than the page, apart from the white cards and from the page,
   with or without frames; no shadow */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around; gap: 0;
  background: #e9edf2; border-top: 1px solid #cfd5dc; box-shadow: none;
  padding: 4px 4px max(6px, calc(env(safe-area-inset-bottom) - 20px));
}
.tab {
  flex: 0 1 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px;
  color: var(--ink-soft); text-decoration: none; font-size: 10px; -webkit-tap-highlight-color: transparent;
}
.tab svg { width: 22px; height: 22px; }
.tab i { font-style: normal; font-size: 10px; font-weight: 550; line-height: 1.1; margin-top: 1px; }
.tab.on { color: var(--link-action); }
.offline {
  margin: 0; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: #fff4e5; color: var(--ink);
  border-bottom: 1px solid #f3d7b0; font-size: 13px; text-align: center;
}
.offline:not([hidden]) ~ .wrap { padding-top: 12px; }   /* « Réseau lent » ([2242_PA-A]) comes before « Hors réseau » */
.pending p { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.pending p.err { color: var(--danger); }
.diag { list-style: none; margin: 0 0 4px; padding: 0; font-size: 14px; }
.diag li { padding: 4px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.diag li:first-child { border-top: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--link-action); font-weight: 600; text-decoration: none; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }   /* [1946_PA-A] T2 c: registry LINK_ACTION (ink --link-action, 600, no underline at rest) */
button:disabled { opacity: 0.45; }
@media (max-width: 360px) { .two { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- wide screens (maquette v2)
   < 600 px: phone, one column, tabs at the bottom (derogation D-PA-1, phone only).
   600–1023 px: AK shell top bar with the tabs; « Aujourd'hui » + a Noter panel side by side.
   >= 1024 px: AK shell (top bar + left band); quick capture on top; one column per slot.
   The shell is the only dark zone (AK §12.2.T). */
.shell-top, .side { display: none; }
.inline { display: inline; margin: 0; }
.soldes summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.soldes ul { margin-top: 8px; }

@media (min-width: 600px) {
  body.shell { padding-bottom: 0; }
  body.shell .tabs { display: none; }
  .shell-top {
    display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 20px;
    background: var(--shell); color: var(--shell-ink); position: sticky; top: 0; z-index: 5;
  }
  .brand { display: flex; align-items: center; flex: none; }
  .brand img { height: 38px; width: auto; display: block; }
  .shell-date { font-size: 13px; color: var(--shell-ink); white-space: nowrap; }
  .spacer { flex: 1; }
  .wrap { max-width: 1100px; padding-top: 20px; }
}

@media (min-width: 600px) {
  html.pc body.shell .wrap { max-width: none; padding: 20px 28px 32px; }
  html.pc .groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: start; }
  html.pc .groups .card { margin: 0; container-type: inline-size; }
}
/* buttons under the text only when the column itself is narrow — not because the screen is wide
   (a single slot fills the whole width: buttons stay on the right; found 2026-10-22 on PC) */
@container (max-width: 420px) {
  .row:not(.el) { flex-wrap: wrap; }
  .row:not(.el) .txt { flex-basis: 100%; }
}

/* ---------------------------------------------------------------- themes (maquette v4, [1248_PA])
   Left band (>= 1024 px): the themes with their counts under the screen links; families
   (« Projet · … ») under their own subheading. Overview screen « Thèmes »: one card per theme. */
.sub { color: var(--ink-soft); font-size: 14px; margin: 4px 0 0; }
.theme-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.theme-card { margin: 0; }
.theme-card.default { background: #fff8ef; border-color: #f3d7b0; }
.theme-card h2 .pre { color: var(--ink-soft); font-weight: 500; }
.theme-card li { padding: 7px 0; border-top: 1px solid var(--chip-bg); }
.theme-card li:first-child { border-top: 0; padding-top: 0; }
.theme-card .label { font-size: 14px; }
.theme-card .meta { font-size: 12px; }
.nat-note { background: var(--accent-fill); color: #3b4654; border-radius: 5px; padding: 0 6px; }
.more-link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--link-action); }
h2.fam { font-size: 13px; color: var(--ink-soft); margin: 16px 2px 8px; }
.notes-hint { margin: 0 0 12px; }
/* overview: one column on the phone and the iPad ([1522_PA-A] T7), two then three on a PC */
@media (min-width: 700px) { html.pc .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  html.pc .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- « Référentiels »
   (maquette administration 2026-10-23, [1248_PA-C]): themes management, no script. */
.ref-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 14px; overflow-x: auto; }
.ref-tabs a, .ref-tabs .soon { padding: 9px 12px; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ref-tabs a { color: var(--ink); text-decoration: none; }
.ref-tabs a.on { border-color: var(--warn); font-weight: 600; }
.ref-tabs .n { color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.ref-tabs .soon { color: var(--ink-vide); }
.ref-new { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ref-new input, .ref-new select, .ref-edit input, .ref-edit select {
  min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 0 10px;
  font: inherit; font-size: 15px; background: var(--canvas); color: var(--ink); min-width: 0;
}
.ref-new .primary { margin-top: 0; }
.ref-new .nlr input { min-height: 0; width: 16px; height: 16px; padding: 0; flex: none; }
.ref-scroll { overflow-x: auto; }
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ref-table th { text-align: left; font-size: 12px; color: var(--ink-soft); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ref-table td { padding: 7px 8px; border-bottom: 1px solid var(--chip-bg); vertical-align: middle; }
.ref-table td a { color: var(--ink); text-decoration: none; }
.ref-table td.ind { padding-left: 24px; }
.ref-table td.num { color: var(--ink-soft); width: 60px; }
.ref-table .act { text-align: right; }
.ref-table td.act { white-space: nowrap; }
.ref-table tr.fam td { background: var(--canvas); font-weight: 700; font-size: 13px; }
.ref-table tr.def td { background: #fff8ef; }
.b { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; margin-left: 4px; border-radius: 7px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; font: inherit; font-size: 13px;
  text-decoration: none; cursor: pointer; }
.b.del { color: var(--danger) !important; border-color: #f0c9c9; }
.b.arm { background: var(--danger); border-color: var(--danger); color: var(--accent-ink) !important; }
.b.on { background: var(--btn-principal); border-color: var(--btn-principal); color: var(--accent-ink) !important; }
.ref-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ref-edit input { width: 240px; }
.ref-warn { flex-basis: 100%; font-size: 12.5px; color: #8a4a06; }
.b { font-weight: 400; }
.ref-table .narrow { display: none; }
.ref-table tr.gerer td { text-align: right; background: #fff8ef; }
.ref-table tr.gerer .b { margin: 2px 0 2px 4px; }
@media (max-width: 599px) {
  /* phone (maquette, écran 5): one « Gérer » per theme opens its three actions */
  .ref-table .wide { display: none; }
  .ref-table .narrow { display: inline-flex; }
  .ref-table th.act { font-size: 0; }
}
@media (min-width: 600px) {
  /* [1714_PA-E] T9 (F2c-13): one row when there is room; else the name keeps its width and the rest goes under it.
     Before, four fixed columns: on the iPad (portrait, band shown) the name was crushed to a few pixels, and a long
     theme widened the list over it. */
  .ref-new { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .ref-new input[name="nom"] { flex: 1 1 260px; min-width: 220px; }
  .ref-new select { flex: 0 1 220px; min-width: 140px; max-width: 100%; }
  .ref-new .nlr { flex: none; }
  .ref-new .primary { flex: none; width: auto; }
}

/* ---------------------------------------------------------------- « Réglages »
   (maquette administration 2026-10-23, écran 2 ; [1248_PA-E]) */
.reg-list { list-style: none; margin: 0; padding: 0; }
.reg-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0;
  border-top: 1px solid var(--chip-bg); font-size: 14px; }
.reg-list .reg-row:first-child { border-top: 0; }
.reg-row > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.reg-row .meta { flex-basis: 100%; font-size: 12.5px; }
.reg-row .act { white-space: nowrap; }
.reg-row a { color: var(--link-action); }
.pill { min-height: 0; line-height: 1.5; border: 0; }
.pill { font-size: 12px; border-radius: 999px; padding: 1px 8px; background: var(--accent-fill); color: #3b4654; white-space: nowrap; }
.pill.pill-ok { background: #e6f4ea; color: var(--gain); }
.pill.pill-todo { background: #fff4e5; color: #8a4a06; }
.reg-cols { display: grid; grid-template-columns: 1fr; gap: 0 16px; align-items: start; }
@media (max-width: 599px) {
  .tabs .tab { font-size: 14px; }
  .reg-row { flex-wrap: wrap; }
  .reg-row .act { margin-left: auto; }
}
@media (min-width: 1024px) { .reg-cols { grid-template-columns: 1fr 1fr; } .reg-cols > div { min-width: 0; } }
/* ---------------------------------------------------------------- find and navigate ([0942_PA-A])
   Search field at the top of the band (>= 1024 px) or of « Aujourd'hui » (below); « Rechercher »
   screen; band folded by « Bandeau »; « Par créneau / Par thème » (classes on <html>, prefs.js). */
.search { margin: 0 0 10px; }
.srchw { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 0 10px; height: 40px; color: var(--ink-soft); margin: 0; font-weight: 400 !important; }
.srchw:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.srchw svg { flex: none; }
.srchw input[type="search"] { border: 0; outline: 0; flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; background: none; font-size: 16px; }
.srchw input[type="search"]:focus { outline: 0; }
.srchw input[type="search"]:disabled { opacity: 0.6; }
.srchw .kbd { display: none; }
.search-page { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.search-page .srchw { flex: 1 1 auto; }
mark { background: #ffe6a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.xn { display: block; font-style: italic; color: #3b4654; margin-top: 2px; }
.row.done .label { color: var(--ink-soft); }
.trow { display: flex; align-items: center; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--chip-bg); color: var(--ink); text-decoration: none; }
.card li:first-child .trow { border-top: 0; }
.trow .nm { flex: 1; min-width: 0; }
.trow .n { color: var(--ink-soft); font-size: 13px; }
.soir { color: #8a4a06; font-weight: 600; }
/* « Créneau · Thème · Titres » ([1939_PA-B] T3, simulator v19): pressed look from the classes on <html>
   (prefs.js), so the device's choice shows from the first frame */
.segc { display: inline-grid; grid-auto-flow: column; background: #e9ebee; border-radius: var(--radius-ctl); padding: 2px; gap: 2px; }
.segc button { font: inherit; font-size: 13.5px; padding: 6px 12px; min-height: 32px; border: 0; border-radius: 7px; background: none; color: #3b4654; white-space: nowrap; }
.segc:not(.g3) button[aria-pressed="true"],
html:not(.groupe-theme) .g3 [data-pa-g3="creneau"], html.groupe-theme:not(.groupe-titres) .g3 [data-pa-g3="theme"],
html.groupe-titres .g3 [data-pa-g3="titres"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
/* phone and iPad: the compact selector of the date line */
@media (max-width: 599px) {
  .segc.g3 { padding: 1px; border-radius: 7px; gap: 1px; }
  .segc.g3 button { padding: 1px 8px; min-height: 0; font-size: 12px; border-radius: 6px; }
}
html.tactile .segc.g3 { padding: 1px; border-radius: 7px; gap: 1px; }
html.tactile .segc.g3 button { padding: 1px 8px; min-height: 0; font-size: 12px; border-radius: 6px; }
html:not(.groupe-theme) .vue-theme { display: none; }
html.groupe-titres .stk-body { display: none; }
html.groupe-titres .stk h2 { margin: 0; }
.stk h2 a { color: var(--ink); text-decoration: none; }
.stk h2 .pre { color: var(--ink-soft); font-weight: 500; display: none; }
.tfam { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 8px 2px 6px; }
@media (min-width: 600px) {
  html.pc .search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  html.pc .search-results > .flash, html.pc .search-results > .hint { grid-column: 1 / -1; }
  html.pc .search-results .card { margin: 0; container-type: inline-size; }
  /* by theme on PC: three columns, the family in the heading (« Projet · Album ») */
  html.pc .stkcols { columns: 3; column-gap: 14px; }
  html.pc .stkcols > * { break-inside: avoid; }
  html.pc .stkcols .card { container-type: inline-size; }
  html.pc .stkcols .tfam { display: none; }
  html.pc .stk h2 .pre { display: inline; }
}
@media (min-width: 600px) and (max-width: 1023px) { html.pc .stkcols { columns: 2; } }

/* administrator mode ([2213_PA-A]): « Supprimer » gesture and its confirmation page */
.row .erase { margin-left: 0; min-height: 36px; }
.card > .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.card > .actions .b { margin-left: 0; }
.admin-erase .b { margin-left: 0; margin-top: 6px; }

/* ---------------------------------------------------------------- [1939_PA-A] aligned on the simulator v18
   Breakpoints: phone < 600 px · iPad 600–1023 px · PC >= 1024 px; the band is docked from 1100 px
   (folded by ☰), and slides over the content below (BT 152 §6.9, PA-072). Theme display on the phone
   and the iPad (PA-075): html.th-etroit (iPhone) / html.th-bandeau (iPad), default « Masqués » on the iPhone (prefs.js). */

/* page head (simulator v19, [1939_PA-B] T3–T4): the date line (date; on « Aujourd'hui » the selector on
   the right), then ☰ (phone) · title … « Plus » (phone), centred on one line */
.page-head { margin-bottom: 14px; }
.dtrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.phead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.phead .pdt, .phtb, .t-nph { display: none; }
/* iPhone head (simulator v26, « variante 1 », [1522_PA-C] T15): a thin line ☰ · ⋯, then the big title with
   the date on its right, on one line; a long title sends the date to the next line, still on the right */
.phtb { justify-content: space-between; align-items: center; height: 36px; color: var(--link-action); }
.pburger, .plus { display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; padding: 4px;
  margin: 0 -4px; color: var(--link-action); cursor: pointer; min-height: 0; }
.phback { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; color: var(--link-action); font-size: 16px; text-decoration: none; }
@media (max-width: 599px) {
  .phtb { display: flex; }
  .page-head > .dtrow { display: none; }
  .phead { flex-wrap: wrap; align-items: baseline; justify-content: flex-start; column-gap: 10px; row-gap: 0; }
  .phead h1 { flex: none; font-size: 32px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; margin: 0; min-width: 0; overflow-wrap: anywhere; }
  .phead .pdt { display: block; flex: 1 0 auto; white-space: nowrap; text-align: right; font-size: 14px; color: #7a8089; line-height: 1.25; }
  /* ☰ with « Masqués » (Bandeau glissant); not with « Bandeau étroit »: an empty place keeps ⋯ on the right */
  html.th-etroit .phtb .pburger { visibility: hidden; }
  /* one theme alone (T16): no lone chip, the theme is the title */
  .page-head.one-theme .filtre { display: none; }
}
@media (min-width: 600px) { .t-nph { display: inline; } .page-head.one-theme .t-ph { display: none; } }
.page-head .filtre { margin: 8px 0 0; }
/* the theme filter: accent blue and croix « Tout afficher »; amber stays for due dates ([1522_PA-A] T3) */
.flt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; background: var(--accent-fill); border: 1px solid #c9d6e6;
  color: var(--link-action); border-radius: 999px; padding: 4px 6px 4px 12px; }
.flt a.fx { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; color: var(--link-action); }
.flt a.fx:hover { background: rgba(31, 78, 121, 0.12); }
@media (min-width: 600px) { html.pc .page-head .date { display: none; } }

/* [1236_PA-A] T3: the search row of the iPhone (`psrow`, « Créneau · Thème · Titres » as icons) is gone; [1236_PA-G] T4: « Annuler » of
   Rechercher is gone too (the common cross in the field, the link of return at the top) */

/* « Plus » (phone, PA-068): compact sheet, iOS style, « Annuler » apart */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.30); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 8px calc(16px + env(safe-area-inset-bottom)); }
.sheet-bg[hidden] { display: none; }
.sheet { display: flex; flex-direction: column; gap: 8px; max-width: 520px; width: 100%; margin: 0 auto; }
.sg { background: var(--surface); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.bb { display: flex; align-items: center; justify-content: center; height: 50px; border: 0; border-bottom: 0.5px solid #d9dce1;
  background: none; font: inherit; font-size: 17px; color: var(--link-action); text-decoration: none; cursor: pointer; }
.bb:last-child { border-bottom: 0; }
.bb.c { font-weight: 600; }

/* top bar: ☰ · logo · date … icons (PA-070) */
.burger { display: none; width: 40px; height: 36px; flex: none; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: var(--radius-ctl); background: none; color: var(--shell-ink); cursor: pointer; }
.burger:hover, .burger[aria-expanded="true"] { background: rgba(255, 255, 255, 0.10); color: var(--shell-on); }
.hicons { display: flex; gap: 6px; align-items: center; }
.rm { position: relative; }
.rm > summary { list-style: none; }
.rm > summary::-webkit-details-marker { display: none; }
.hicon { width: 32px; height: 32px; border-radius: var(--radius-ctl); color: var(--shell-ink); display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; }
.hicon:hover, .hicon.cur, .rm[open] > .hicon { background: rgba(255, 255, 255, 0.12); color: var(--shell-on); }
.rm-pop { position: absolute; right: 0; top: 40px; z-index: 30; background: #2c2c2e; border: 1px solid #3a3a3d; border-radius: var(--radius-card);
  padding: 6px; min-width: 200px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.rm-pop a, .rm-pop .soon { padding: 8px 12px; border-radius: 7px; font-size: 14px; white-space: nowrap; text-decoration: none; }
.rm-pop a { color: var(--border); }
.rm-pop a:hover, .rm-pop a.cur { background: rgba(255, 255, 255, 0.10); }
.rm-pop .soon { color: #7c7c80; cursor: default; }
@media (min-width: 600px) {
  .shell-top { gap: 14px; height: 56px; padding: 0 14px; }
  html:not(.th-etroit):not(.th-bandeau) .burger { display: inline-flex; }   /* « Masqués » (tiroir) */
  .shell-date { display: none; font-size: 14px; color: var(--shell-ink); }
}
@media (min-width: 600px) {
  html.pc .shell-top { gap: 20px; padding: 0 20px; }
  html.pc .burger { display: inline-flex; }
  html.pc .shell-date { display: inline; }
}

/* the band: same content everywhere (search, Aujourd'hui, Noter, themes); docked from 1100 px,
   drawer over the content below */
.side { display: none; flex-direction: column; gap: 2px; background: var(--shell); padding: 16px 12px; box-sizing: border-box; overflow-y: auto; }
.side-link { display: block; padding: 9px 12px; border-radius: var(--radius-ctl); color: var(--shell-ink); text-decoration: none; font-size: 14px; }
.side-link.on { background: rgba(255, 255, 255, 0.12); color: var(--shell-on); font-weight: 500; }
.side-themes { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.side-head, .side-theme { display: flex; justify-content: space-between; gap: 8px; border-radius: var(--radius-ctl);
  color: var(--shell-ink); text-decoration: none; }
.side-head { font-size: 12px; font-weight: 600; color: var(--tip-muted); padding: 8px 12px 4px; }
.side-head.on { color: var(--shell-on); background: rgba(255, 255, 255, 0.12); }
/* T12 (Remarques Affichage P1): tighter lines, sub-themes tighter still, as the simulator */
.side-theme { padding: 5px 12px; font-size: 13.5px; }
.side-theme.sub { padding: 3px 12px 3px 24px; }
.side-theme .n, .side-head .n { color: var(--tip-muted); font-size: 12px; }
.side-theme.on { background: rgba(232, 112, 10, 0.22); color: var(--shell-on); }
.side-theme.on .n { color: #ffcf9e; }
.side-fam { font-size: 12px; font-weight: 600; color: var(--tip-muted); padding: 12px 12px 4px; }
.nav-bg { position: fixed; inset: 0; z-index: 25; background: rgba(0, 0, 0, 0.30); }
.nav-bg[hidden] { display: none; }
html.nav-open .side { display: flex; position: fixed; left: 0; top: 0; bottom: 0; width: calc(280px + var(--side-ph, 0px)); z-index: 30;
  padding-top: calc(16px + env(safe-area-inset-top)); box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35); }
@media (min-width: 600px) { html.nav-open .side { top: calc(56px + env(safe-area-inset-top)); padding-top: 16px; } .nav-bg { top: calc(56px + env(safe-area-inset-top)); } }
@media (min-width: 600px) { html.pc.nav-open .side { width: calc(220px + var(--side-add, 0px)); } }
/* the band is docked on a PC from 1100 px; an iPad in landscape (layout of the PC, [1522_PA-C] T9) from
   1 024 px; an iPad in portrait with « Bandeau » (T8, the default) keeps it shown, 210 px, without ☰ */
@media (min-width: 1100px) {
  html.pc .side { display: flex; position: fixed; top: calc(56px + env(safe-area-inset-top)); bottom: 0; left: 0; width: calc(220px + var(--side-add, 0px)); border-top: 1px solid #2f2f31; }
  html.pc.nav-open .side { box-shadow: none; }
  html.pc.bandeau-replie .side { display: none; }
  html.pc body.shell .wrap { margin-left: calc(220px + var(--side-add, 0px)); }
  html.pc.bandeau-replie body.shell .wrap { margin-left: 0; }
  html.pc .nav-bg { display: none; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  html.ipad.pc .side { display: flex; position: fixed; top: calc(50px + env(safe-area-inset-top)); bottom: 0; left: 0; width: calc(220px + var(--side-add, 0px)); border-top: 1px solid #2f2f31; box-shadow: none; }
  html.ipad.pc.bandeau-replie .side { display: none; }
  html.ipad.pc body.shell .wrap { margin-left: calc(220px + var(--side-add, 0px)); }
  html.ipad.pc.bandeau-replie body.shell .wrap { margin-left: 0; }
  html.ipad.pc .nav-bg { display: none; }
}
@media (min-width: 600px) {
  html.tactile.th-bandeau .side { display: flex; position: fixed; top: calc(50px + env(safe-area-inset-top)); bottom: 0; left: 0; width: calc(210px + var(--side-add, 0px)); border-top: 1px solid #2f2f31; box-shadow: none; }
  html.tactile.th-bandeau body.shell .wrap { margin-left: calc(210px + var(--side-add, 0px)); }
  html.tactile.th-bandeau .nav-bg { display: none; }
}

/* themes on the phone and the iPad (PA-075): « Bandeau étroit »: a column of themes on « Aujourd'hui »; the chosen theme as a chip with
   « tout afficher ». [1350_PA-G] D [arbitrage Alain 2026-11-17 22:25]: no more « Pastilles » (the row of chips at the top of Aujourd'hui) */
.nb { display: none; }
.nb a { display: block; color: var(--shell-ink); font-size: 12.5px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; text-decoration: none; }
.nb a.on { background: rgba(232, 112, 10, 0.25); color: var(--accent-ink); }
.nb .f { font-size: 10.5px; color: var(--tip-muted); padding: 8px 8px 2px; text-transform: uppercase; letter-spacing: 0.04em; }

/* « Aujourd'hui »: phone one column; iPad list + « Noter » on the right; PC « Noter » on top */
.jour { display: block; }
@media (max-width: 599px) {
  html.th-etroit .jour { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 10px; margin-left: -16px; align-items: start; }
  html.th-etroit .jour > * { grid-column: 2; min-width: 0; }
  html.th-etroit .jour > .nb { display: flex; flex-direction: column; gap: 1px; grid-column: 1; grid-row: 1 / span 60;
    background: var(--shell); padding: 8px 4px; border-radius: 0 12px 12px 0; position: sticky; top: 8px; }
}
/* [1236_PA-A] T6 (Noter pt 13): no bar « Noter » on top of « Aujourd'hui », of a theme or of the overview any more */
.jour > .pending { margin-bottom: 12px; }

/* « Noter » (PA-073, T14): PC a field and « Noter » on one line, « Préciser » below, fields in a row;
   iPad panel always open (« Quoi ? » on four lines); phone the field, « Préciser », then the button */
.pa-noter textarea[name="texte"] { resize: none; min-height: 48px; height: 48px; padding: 12px 14px; line-height: 1.4; overflow: hidden; }
.pa-noter .quick-btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.panel-h, .qlab { display: none; }
.pfields { display: grid; grid-template-columns: 1fr; gap: 0; }
.pf > label { margin-top: 12px; }
.pf-ic { padding-top: 12px; }
@media (max-width: 599px) {
  .pa-noter { display: flex; flex-direction: column; }
  .pa-noter .quick { display: contents; }
  .pa-noter .more { order: 5; margin-top: 8px; }
  .pa-noter .quick-btn { order: 10; width: 100%; min-height: 50px; margin-top: 12px; font-size: 17px; }
}

@media (min-width: 600px) {
  .pfields { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
  .pfields .pf { flex: 1 1 180px; min-width: 0; }
  .pfields .pf-ic { flex: 0 0 auto; }
}

/* due date and duration icons and their quick choice (PA-073) */
.icrow { position: relative; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ib { height: 38px; min-width: 38px; padding: 0 10px; border-radius: var(--radius-ctl); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; }
.ib.on, .ib[aria-expanded="true"] { border-color: var(--accent); color: var(--link-action); }
.ib .v { color: var(--link-action); font-weight: 600; }
.ib .v:empty { display: none; }
.ib .xx { display: inline-flex; color: var(--ink-vide); }
.ib .xx[hidden] { display: none; }
.pop { position: absolute; top: 44px; left: 0; z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14); padding: 12px; width: 284px; display: flex; flex-direction: column; gap: 8px; }
.pop .q { display: flex; flex-direction: column; gap: 2px; }
.pop button { font: inherit; background: none; border: 0; cursor: pointer; color: var(--ink); }
.pop .q button { padding: 7px 8px; border-radius: 7px; font-size: 14px; display: flex; justify-content: space-between; }
.pop .q button span { color: var(--ink-vide); font-size: 12.5px; }
.pop .q button:hover, .pop .cal button:hover { background: #f0f3f7; }
.pop .mh { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: #3b4654; padding: 4px 4px 0; }
.pop .mh button { width: 28px; height: 28px; border-radius: 6px; font-size: 16px; color: #3b4654; }
.pop .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 12.5px; text-align: center; }
.pop .cal b { color: var(--ink-vide); font-weight: 500; padding: 3px 0; }
.pop .cal button { padding: 5px 0; border-radius: 6px; font-size: 12.5px; }
.pop .cal button.td { background: var(--accent); color: var(--accent-ink); }
.pop .cal button.sel { outline: 2px solid var(--accent); }
.pop .chs { display: flex; flex-wrap: wrap; gap: 6px; }
.pop .chs button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.pop.dur { width: 236px; left: 46px; }
.m-ic { margin-top: 14px; }

/* message after Fait / Abandonner / Supprimer: a toast at the bottom, « Annuler » inside (simulator v18) */
.flash.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(55px + max(6px, calc(env(safe-area-inset-bottom) - 20px))); z-index: 20;
  max-width: calc(100% - 24px); width: max-content; margin: 0; background: var(--shell); color: var(--tip-ink); border-radius: var(--radius-card);
  padding: 10px 16px; display: flex; gap: 14px; align-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.flash.toast .tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.flash.toast .link-btn { color: #8fc1ff; font-weight: 600; text-decoration: none; }
@media (min-width: 600px) { .flash.toast { bottom: 28px; } }
/* coming back to the element's place (T13): the anchored row clears the sticky top bar */
.row, .card, .soldes { scroll-margin-top: 16px; }
@media (min-width: 600px) { .row, .card, .soldes { scroll-margin-top: 72px; } }
.stk h2 .tot { white-space: nowrap; }

/* « Référentiels » tabs; phone: segmented control with short labels */
.ref-tabs .short { display: none; }
@media (max-width: 599px) {
  .ref-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));   /* [0007_PA-B]: six tabs, two rows of three */ gap: 2px; background: #e9ebee; border: 0; border-radius: var(--radius-ctl); padding: 2px; overflow: visible; }
  .ref-tabs a, .ref-tabs .soon { text-align: center; padding: 6px 2px; font-size: 13px; border: 0; margin: 0; border-radius: 7px; }
  .ref-tabs a.on { background: var(--surface); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
  .ref-tabs .long, .ref-tabs a .n { display: none; }
  .ref-tabs .short { display: inline; }
}

/* « Réglages » in three titled parts (PA-074); « État du système » (PA-071); import / export (PA-056) */
.rpart { display: flex; flex-direction: column; }
.rpart h3 { margin: 6px 2px 8px; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.reserved { border: 1px dashed #c7ccd3; background: #fafbfc; }
.reserved h2 { color: #3b4654; justify-content: flex-start; }
.mf { font-size: 12px; font-weight: 600; color: var(--ink-soft); border: 1px dashed #b0b5bd; border-radius: 6px; padding: 1px 7px; }
.tog-wrap { display: inline-flex; align-items: center; gap: 8px; }
.tog { width: 44px; height: 26px; min-height: 0; border-radius: 13px; background: #c7ccd3; border: 0; position: relative; cursor: pointer; padding: 0; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--surface); transition: left 0.15s; }
.tog.on { background: var(--danger); }
.tog.on::after { left: 21px; }
.pill.pill-wait { background: var(--tag-attente-bg); color: var(--tag-attente-ink); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--chip-bg); font-size: 14px; }
.card h2 + .kv { border-top: 0; }
.kv > span:last-child { color: #3b4654; text-align: right; }
.bar2 { display: block; width: 100%; height: 6px; border: 0; background: var(--surface-group); border-radius: 6px; overflow: hidden; margin: 0 0 4px;
  -webkit-appearance: none; appearance: none; }
.bar2::-webkit-progress-bar { background: var(--surface-group); }
.bar2::-webkit-progress-value { background: var(--accent); }
.bar2::-moz-progress-bar { background: var(--accent); }
.tech { margin-top: 10px; font-size: 13px; }
.tech summary { cursor: pointer; color: var(--ink-soft); }
#appareil .b { margin: 8px 0 0; }
.frow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.frow .b { margin-left: 0; }
.b.file { position: relative; overflow: hidden; }
.b.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; padding: 0; }
.res-sum { background: var(--canvas); border-radius: var(--radius-ctl); padding: 10px 12px; font-size: 14px; margin-top: 10px; }
.res-sum b { display: block; font-size: 13px; color: #3b4654; margin-bottom: 2px; }
.res-sum ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: #3b4654; }
.io .b.on { margin-top: 10px; }
.ic-inline svg { vertical-align: -3px; }

/* alignment pass on the renders against the simulator v18 */
@media (min-width: 600px) {
  .shell-top { height: 50px; }                         /* --shell-topbar-h of the ecosystem: 50 px */
  html.nav-open .side { top: calc(50px + env(safe-area-inset-top)); }
  .nav-bg { top: calc(50px + env(safe-area-inset-top)); }
  .row, .card, .soldes { scroll-margin-top: 66px; }
}
@media (min-width: 1100px) { html.pc .side { top: calc(50px + env(safe-area-inset-top)); } }
.burger[aria-expanded="true"] { background: none; color: var(--shell-ink); }
.burger:hover { background: rgba(255, 255, 255, 0.10); color: var(--shell-on); }
.pa-noter .qlab, .pa-noter .panel-h { display: none; }
/* title row: PC « Aujourd'hui · chip · what the screen holds » on one line; no subtitle below 1024 px */
.page-head > .sub { display: none; }
@media (min-width: 600px) {
  html.pc .page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  html.pc .page-head > .sub { display: block; order: 2; margin: 0; }
  html.pc .page-head > .filtre { order: 1; margin: 0; }
  html.pc .page-head > .dtrow { order: 3; margin-left: auto; align-self: center; min-height: 0; }   /* PC: selector right of the title line */
}
/* due dates: the orange band of the simulator */
.card.warn { background: #fff4e5; border-color: #f3d7b0; border-left-width: 1px; }
.card.warn h2 { color: #8a4a06; font-size: 14px; }
.card.warn .row { border-top-color: #f3d7b0; }
/* iPad top bar: the glyph alone, the full lockup from 1024 px */
.brand .glyph { display: none; }
@media (min-width: 600px) {
  html.tactile .brand .lockup { display: none; }
  html.tactile .brand .glyph { display: block; height: 26px; width: 26px; }
}
.b[hidden], .res-sum[hidden] { display: none !important; }
.card label.b.file { display: inline-flex; margin: 0; font-size: 13px; font-weight: 400; }
@media (max-width: 599px) {
  form.pa-noter { background: none; border: 0; padding: 0; }
  form.pa-noter textarea[name="texte"] { background: var(--surface); }
}
@media (min-width: 600px) { .pfields .pf { flex: 0 1 240px; } }
.pop.flip { left: auto; right: 0; }
@media (max-width: 599px) { html.th-etroit .jour .card { container-type: inline-size; } }

/* ---------------------------------------------------------------- F1 « gestion des notes » ([1522_PA-A], simulator v24) */
/* line of an element: the sign of its nature on the left (variante C), the text over the whole width,
   « ⋯ » on the right */
.row.el { gap: 4px; align-items: flex-start; padding: 6px 0; }
.row.el:first-child { padding-top: 0; }
.row.el .txt { padding-top: 5px; }
.ckf { margin: 0; flex: none; }
.ck, .dots { flex: none; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; min-height: 0; }
.ck { width: 30px; height: 30px; color: #9aa3ad; }
.ck:focus-visible { color: var(--gain); }
@media (hover: hover) and (pointer: fine) { .ck:hover { color: var(--gain); } }
.dots { width: 32px; height: 32px; color: var(--ink-soft); border-radius: var(--radius-ctl); }
.dots:hover, .dots[aria-expanded="true"] { background: rgba(0, 0, 0, 0.05); }
.nsg { width: 30px; height: 30px; flex: none; display: flex; justify-content: center; align-items: center; color: #8a93a0; }
.pinic { color: var(--accent); display: inline-flex; vertical-align: -3px; }
.row.el .xn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; color: #3b4654; font-size: 13px; }
.row.el[hidden] { display: none; }
.row.done .ck { display: none; }
/* « Épinglés » at the top of « Aujourd'hui » (blue rule on the left), two columns on a PC */
.pinbox { border-left: 3px solid var(--accent); }
.pinbox h2 { font-size: 13px; color: #3b4654; }
.pinbox h2 .ph2 { display: inline-flex; align-items: center; gap: 6px; }
.pinbox .tot { font-weight: 500; }
@media (min-width: 600px) {
  html.pc .pinbox .pins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  html.pc .pinbox .pins > li:nth-child(2) { border-top: 0; padding-top: 0; }
}
/* « Notes & idées » under the tasks (« Aujourd'hui » filtered, overview) */
.card.notes h2 { color: #3b4654; }
.card.notes .meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-card .nb2 { font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; padding-top: 8px; border-top: 1px dashed #dfe3e8; display: flex; gap: 6px; }
.theme-card .nb2 span { font-weight: 500; color: var(--ink-vide); }
.theme-card li.row.el { padding: 4px 0; }
.theme-card .row.el .txt { padding-top: 4px; }
.theme-card .ck, .theme-card .nsg { width: 24px; height: 26px; }
.theme-card .dots { width: 28px; height: 28px; }
/* title of the overview: « Thèmes » (PC), « Thèmes — vue d'ensemble » (iPad), « Vue d'ensemble » (phone) */
.t-pc, .t-ipad { display: none; }
@media (min-width: 600px) { .t-ph { display: none; } html.pc .t-pc, html.tactile .t-ipad { display: inline; } }
/* band: « Thèmes » a subheading, « Vue d'ensemble » a line with the registry's icon ([1522_PA-A] T7) */
.side-sec { font-size: 12px; font-weight: 600; color: var(--tip-muted); padding: 12px 12px 4px; }
.side-ovw { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 12px; margin: 2px 0 6px; font-size: 13.5px;
  color: var(--accent-ink); text-decoration: none; background: rgba(255, 255, 255, 0.06); border: 1px solid #3a3a3d; border-radius: var(--radius-ctl); }
.side-ovw:hover, .side-ovw.on { background: rgba(255, 255, 255, 0.12); }
.side-ovw .ol { display: inline-flex; align-items: center; gap: 8px; }
.side-ovw .n { color: var(--tip-muted); font-size: 12px; }

/* menu « ⋯ » (iPad, PC) and the action sheet of iOS (phone) */
.pm { position: fixed; z-index: 50; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); padding: 4px; display: flex; flex-direction: column; }
.pm .pi { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; min-height: 0; }
.pm .pi:hover, .pm .pi:focus-visible { background: var(--accent-fill); }
.pm .pi.red, .bb.red { color: var(--danger); }
.pm .pi:disabled, .bb:disabled { color: var(--ink-vide); cursor: default; background: none; }
.sheet .st { font-size: 12.5px; color: #8a8f98; text-align: center; padding: 11px 12px 9px; border-bottom: 0.5px solid #d9dce1; }
.sgl { max-height: 60vh; overflow-y: auto; }
.sheet-bg { z-index: 60; }

/* selection mode ([1522_PA-A] T10): the rounds become boxes, « ⋯ » goes, a bar of actions comes */
.selck { display: none; }
html.sel-mode li.row.el .ckf, html.sel-mode li.row.el .nsg, html.sel-mode li.row.el .dots { display: none; }
html.sel-mode li.row.el .selck { display: flex; width: 30px; height: 30px; flex: none; align-items: center; justify-content: center; color: #9aa3ad; cursor: pointer; }
html.sel-mode li.row.el .selck.on { color: var(--link-action); }
html.sel-mode li.row.el { cursor: pointer; -webkit-user-select: none; user-select: none; }
html.sel-mode li.row.el a.edit { pointer-events: none; }
li.row.el.selrow { background: var(--accent-fill); border-radius: var(--radius-ctl); }
html.touch li.row.el, html.touch li.row.el button { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.selbar { position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 22px; z-index: 45; background: var(--shell); color: var(--tip-ink); border-radius: 12px;
  padding: 8px 10px; display: flex; align-items: center; gap: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); white-space: nowrap; max-width: calc(100% - 24px); flex-wrap: wrap; justify-content: center; }
.selbar .cnt { font-size: 14px; padding: 0 10px 0 6px; }
.selbar button { height: 34px; min-height: 0; padding: 0 11px; border: 0; border-radius: 8px; background: none; color: var(--tip-ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.selbar button:hover { background: rgba(255, 255, 255, 0.12); }
.selbar button.ok { color: #9be3b5; } .selbar button.red { color: #ff9b94; } .selbar button.end { color: #8fc1ff; font-weight: 600; }
.selbar button:disabled { color: var(--marker); background: none; cursor: default; opacity: 1; }
.selbar .sp2 { width: 1px; height: 20px; background: #48484d; margin: 0 4px; }
.selbar.ph { left: 0; right: 0; bottom: 0; width: auto; margin: 0; border-radius: 0; box-shadow: none; max-width: none; display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 5px 4px max(6px, calc(env(safe-area-inset-bottom) - 20px)); }
.selbar.ph button { padding: 0 2px; font-size: 13px; height: 40px; }
/* [2232_PA-A] T4 : « Fermer » au bout gauche, séparé des gestes qui modifient les tâches */
.selbar.ph button.end { border-right: 1px solid #48484d; border-radius: 0; }
html.sel-mode .tabs { display: none; }
/* [1133_PA-A] T4: the last row of the list can come above the bar of the selection (--selbar-h set by app.js selMarge) */
html.sel-mode body, html.sel-mode body.shell { padding-bottom: calc(var(--selbar-h, 72px) + 16px); }
html.sel-mode .flash.toast { display: none; }
.selhead { display: flex; justify-content: space-between; align-items: center; font-size: 15px; padding: 2px 0 8px; }
.selpop { position: fixed; z-index: 55; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); padding: 4px; min-width: 220px; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; }
.selpop button { text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 7px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; min-height: 0; }
.selpop button:hover { background: var(--accent-fill); }

/* « Modifier » ([1522_PA-A] T9): back « ‹ <origin> » top left; phone: « ‹ · Modifier · Enregistrer » */
.backbtn { display: inline-flex; align-items: center; gap: 2px; color: var(--link-action); font-size: 15px; text-decoration: none; padding: 6px 8px 6px 2px; border-radius: var(--radius-ctl); }
.backbtn:hover { background: var(--accent-fill); }
.phnb { display: none; }
.ed-head { margin: -4px 0 12px; }
.edform { max-width: 760px; }
.edform .g3 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.edform .g3 > div[hidden], .edic > div[hidden] { display: none; }
.edic { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ib.pinb .v { color: var(--ink-soft); font-weight: 500; }
.ib.pinb.on, .ib.pinb.on .v { color: var(--link-action); font-weight: 600; border-color: var(--accent); }
.edform .actions .b { margin-left: 0; min-height: 44px; padding: 0 16px; font-size: 14px; }
.edform .actions .primary { flex: none; width: auto; min-width: 160px; margin-top: 0; }
.edform .kill2 { margin-left: auto !important; color: var(--danger) !important; border-color: #f0c7c3; }
.ph-act { display: none !important; }
@media (min-width: 600px) { html.pc .edform .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  /* [2232_PA-A] T1 (Anomalies iPhone pt 1, capture PA-745): the line « ‹ · Modifier · Enregistrer » was blurred on the iPhone — iOS
     (26 and later) blurs the content that scrolls under the clock, not the fixed or sticky elements (the line « menu » · loupe · ⋯ of the
     other screens stays sharp): the line is sticky under the zone of the clock, on the page's background, as `.phtb` */
  .phnb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: -8px -8px 10px;
    position: sticky; top: env(safe-area-inset-top); z-index: 7; background: var(--canvas); padding-top: 4px; }
  /* [2232_PA-B] R2 (Anomalies iPhone pt 1, capture of 2026-11-20 19:47: still blurred after [2232_PA-A]): exactly the construction of the
     sharp line ☰ · loupe · ⋯ (`.wrap > .phtb`) — sticky, from one edge of the screen to the other (the line of [2232_PA-A] stopped 8 px
     short of each edge: Safari treats only a bar across the whole width as a bar of the top, and blurs the rest under its edge effect),
     40 px high, the same margins and inner spacing */
  .wrap > .phnb { margin: -12px -16px 10px; padding: 4px 8px 0; height: 40px; box-sizing: border-box; }
  html.scrolled .phnb { box-shadow: 0 1px 0 #dfe2e6; }
  html.vv-decale .phnb { top: calc(env(safe-area-inset-top) + var(--pa-vvh, 0px)); }
  .phnb .backbtn { justify-self: start; font-size: 16px; }
  .phnb b { font-size: 16px; }
  .phnb .sv { justify-self: end; border: 0; background: none; color: var(--link-action); font: inherit; font-weight: 600; font-size: 16px; padding: 6px; cursor: pointer; }
  .backrow, .ed-head { display: none; }
  .edform .actions:not(.ph-act) { display: none; }
  .ph-act { display: flex !important; }
  .ph-act .kill2 { margin-left: 0 !important; }
}

/* [1714_PA-D] « Modifier » v40 (simulator v40b, `.m4*`): only the useful fields; title on several lines; Thème · Nature ·
   Créneau as one row of buttons; date · durée · épingle on one line; the card « contenu » of an element with a link */
.edform.m4 { display: flex; flex-direction: column; gap: 12px; }
.edform.m4 [hidden] { display: none !important; }
.m4tt { width: 100%; box-sizing: border-box; font-size: 17px; font-weight: 600; line-height: 1.35; padding: 8px 10px; resize: none;
  font-family: inherit; min-height: 0; field-sizing: content; }
.m4cls, .m4row, .m4plusr { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.m4cls .pvf.enh > label, .m4cls .pvf.enh > input, .m4cls .pvf.enh > select, .m4cls .pvf.enh > datalist { display: none; }
.m4cls .pvf.enh.typing > input { display: block; height: 38px; }
.m4cls .pvf.enh.typing > .pvw { display: none; }
.m4cls .pvp { height: 36px; font-size: 14px; }
.m4row > div { display: contents; }
.m4row .icrow { margin: 0; }
.m4card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fafbfc; display: flex; flex-direction: column; gap: 8px; }
.m4ch { display: flex; gap: 8px; align-items: center; font-size: 14px; } .m4ch .lgl { height: auto; }
.m4et { font-size: 13px; color: #3b4654; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.m4btn { display: flex; gap: 8px; flex-wrap: wrap; }
.m4btn .b, .m4btn .primary { min-height: 36px; padding: 0 14px; margin: 0; font-size: 14px; width: auto; flex: none; display: inline-flex; align-items: center; }
.m4av { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.m4av .m4l { font-size: 13px; font-weight: 600; color: #3b4654; width: 100%; }
.m4av .nlr { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.m4av .nlr input { width: 16px; height: 16px; min-height: 0; padding: 0; flex: none; }
.m4av .m4in { flex: 1; min-width: 120px; height: 36px; }
.m4av .link-btn { font-size: 14px; }
.m4note { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px; }
.m4note.big, .edform.m4[data-nat="note"] .m4note, .edform.m4[data-nat="idee"] .m4note,
.edform.m4[data-nat="specification"] .m4note { min-height: 14em; }
.m4det { border-top: 1px solid var(--line); padding-top: 8px; }
.m4det > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #3b4654; padding: 6px 0; }
.m4det > summary .dim { font-weight: 400; }
.m4det textarea, .m4det input[type="url"] { width: 100%; box-sizing: border-box; margin-top: 8px; }
.m4det label { margin-top: 10px; }
.m4plusr { margin-top: 6px; gap: 16px; }
.m4plusr .link-btn { text-decoration: none; font-weight: 600; font-size: 14px; }
@media (max-width: 599px) { .edform.m4 { gap: 10px; } .m4note.big, .edform.m4[data-nat="note"] .m4note { min-height: 11em; } }

/* « Noter »: croix in the field clears it (and Échap); fields hidden for a note, an idea, a specification */
.qfield { position: relative; flex: 1; min-width: 0; display: flex; }
.qfield textarea { flex: 1; padding-right: 44px !important; }
/* [1236_PA-G] T4: THE cross that clears a field (web.croix, app.js lierCroix / croixPour) — one look everywhere; the native cross of a
   search field (WebKit) is hidden: one cross only */
.pa-x { flex: none; width: 34px; height: 34px; min-height: 0; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 999px; background: none;
  color: var(--ink-vide); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pa-x[hidden] { display: none; }
.pa-x:hover { background: var(--line); color: var(--ink-soft); }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.pa-xbox { position: relative; display: block; }
.pa-xbox > input { width: 100%; padding-right: 40px !important; }
.pa-xbox > .pa-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); margin: 0; }
.qfield .clr { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin: 0; }
.pfields [data-pa-plan][hidden] { display: none; }
@media (max-width: 599px) { .pa-noter .qfield { order: 1; } }

/* search limited to a theme ([1522_PA-A] T13) */
/* « Titres » on a PC: only with the band folded or slid away (Divers V2 P3); a « Titres » kept on the
   device reads « Thème » while the band is open */
@media (min-width: 1100px) {
  html.pc:not(.bandeau-replie) .g3 [data-pa-g3="titres"] { display: none; }
  html.pc.groupe-titres:not(.bandeau-replie) .stk-body { display: block; }
  html.pc.groupe-titres:not(.bandeau-replie) .stk h2 { margin: 0 0 8px; }
  html.pc.groupe-titres:not(.bandeau-replie) .g3 [data-pa-g3="theme"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
}

/* Fusionner: the title kept, the result */
.merge .mgh { margin: 12px 0 6px; font-size: 14px; color: #3b4654; }
.mgl { display: flex; flex-direction: column; gap: 8px; }
.mgl label { display: flex !important; gap: 10px; align-items: flex-start; font-size: 15px !important; font-weight: 400 !important; background: var(--canvas); border-radius: var(--radius-ctl);
  padding: 10px 12px; margin: 0 !important; cursor: pointer; }
.mgl input { width: auto; min-height: 0; margin-top: 3px; }
.mgres { border: 1px dashed #c9d6e6; border-radius: var(--radius-ctl); padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.mgres[hidden] { display: none; }
.mgnote { margin-top: 6px; }
.merge .actions { justify-content: flex-end; }
.erase-list { list-style: none; margin: 0 0 8px; padding: 0; }
.erase-list li { padding: 6px 0; border-top: 1px solid var(--chip-bg); }

/* offline: the band counts the gestures waiting; a note waiting can be opened or deleted */
.offline b { font-weight: 600; }
.page-head .sub a { color: var(--link-action); text-decoration: none; }
.pending-list .prow { display: flex; align-items: flex-start; gap: 6px; }
.pending-list .prow .x { flex: 1; min-width: 0; }
.pend-edit { margin-bottom: 12px; }
.pend-edit .offl { background: #fff4e5; border: 1px solid #f3d7b0; color: #8a4a06; border-radius: var(--radius-ctl); padding: 9px 12px; font-size: 13.5px; margin: 0 0 6px; }
.pend-edit .actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pend-edit .actions .b { margin-left: 0; }
.pend-edit select[hidden], .pend-edit label[hidden] { display: none; }
.selhead .link-btn { font-weight: 600; text-decoration: none; font-size: 15px; }

/* ---------------------------------------------------------------- v26 ([1522_PA-C], simulator v26) */
/* signs without a round (T3): one sign per nature; the sign is the button that settles (« Fait »,
   « Retiré »); on a PC, hovered, it turns green, ringed with a thin round */
.ck.sg { color: #8a93a0; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  .ck.sg:hover { color: var(--gain); box-shadow: 0 0 0 1.5px var(--gain); }
}
.ck.sg:focus-visible { color: var(--gain); }
.durc { display: none; }
/* « Titres » only when no band is shown: an iPad in portrait with « Bandeau » shows it (T10) */
@media (min-width: 600px) {
  html.tactile.th-bandeau .g3 [data-pa-g3="titres"] { display: none; }
  html.tactile.th-bandeau.groupe-titres .stk-body { display: block; }
  html.tactile.th-bandeau.groupe-titres .stk h2 { margin: 0 0 8px; }
  html.tactile.th-bandeau.groupe-titres .g3 [data-pa-g3="theme"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
}
/* density (T5, Réglages › Affichage des listes): « Resserré » title and detail on one line each;
   « Compact » one line, the duration on the right, « ⋯ » on hover (PC) or by a long press (touch) */
html.dens-serre .row.el .label, html.dens-serre .row.el .meta,
html.dens-compact .row.el .label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dens-serre .row.el { padding-top: 3px; padding-bottom: 3px; }
html.dens-serre .row.el .txt { padding-top: 4px; }
html.dens-compact .row.el { padding-top: 2px; padding-bottom: 2px; align-items: center; }
html.dens-compact .row.el .txt { padding-top: 0; }
html.dens-compact .row.el .label { font-size: calc(14.5px + var(--tz, 0px)); }
html.dens-compact .row.el .meta, html.dens-compact .row.el .xn { display: none; }
html.dens-compact .row.el .durc { display: block; flex: none; font-size: 12px; color: #8a93a0; margin-left: 6px; }
html.dens-compact .row.el .dots { visibility: hidden; }
html.dens-compact .row.el:hover .dots, html.dens-compact .row.el .dots:focus-visible, html.dens-compact .row.el .dots[aria-expanded="true"] { visibility: visible; }
html.touch.dens-compact .row.el .dots { display: none; }
/* frames (T5): « Sans » — the lists part by a rule under their title, due dates included */
html.nocad :is(.jour, .theme-grid, .search-results) :is(section.card, details.card):not(.form):not(.center) {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding-left: 2px; padding-right: 2px; }
html.nocad :is(.jour, .theme-grid, .search-results) :is(section.card, details.card):not(.form):not(.center) > h2 {
  border-bottom: 1px solid #d9dce1; padding-bottom: 4px; margin-bottom: 4px; }
html.nocad .jour .card.warn > h2 { border-bottom-color: #f0c98f; }
html.nocad .jour .soldes > summary { border-bottom: 1px solid #d9dce1; padding-bottom: 4px; }
html.nocad .pinbox { border-left: 0; }
/* the nature chosen with its sign (T6): a button and a menu (PC, iPad), a sheet (iPhone) */
.natw { position: relative; display: block; }
.natbtn { width: 100%; height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl);
  background: var(--canvas); padding: 0 10px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; text-align: left; min-height: 0; }
.natbtn .nl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.natbtn .car { margin-left: auto; color: #8a93a0; font-size: 11px; }
.npi { width: 22px; display: inline-flex; justify-content: center; color: var(--ink-soft); flex: none; }
.npi svg { width: 18px; height: 18px; }
.natpop { position: absolute; top: calc(100% + 4px); left: 0; z-index: 30; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); padding: 4px; display: flex; flex-direction: column; }
.natpop button { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 0; background: none; border-radius: 7px; font: inherit; font-size: 14px;
  color: var(--ink); cursor: pointer; text-align: left; min-height: 0; }
.natpop button:hover, .natpop button:focus-visible, .natpop button.cur { background: var(--accent-fill); }
.natpop button.cur { font-weight: 600; }
.sheet .bb.nsb { justify-content: flex-start; gap: 12px; padding: 0 18px; color: var(--ink); }
.sheet .bb.nsb.cur { font-weight: 600; color: var(--link-action); }
.sheet .bb.nsb .npi svg { width: 20px; height: 20px; }
.mgnat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.mgnat .mgh { margin: 0 !important; font-weight: 400 !important; font-size: 14px !important; color: #3b4654; }
.mgnat .natw { flex: 0 1 260px; }
/* « Réglages » › Affichage: the choice of the device (iPhone « Bandeau étroit », iPad « Bandeau ») */
.ipad-only { display: none; }
html.ipad .ipad-only { display: inline; }
html.ipad .no-ipad { display: none; }
html.ipad .segc button.ipad-only { display: inline-block; }
.lrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.lrow:first-of-type { margin-top: 0; }
.lrow .lk { font-size: 13px; color: #3b4654; width: 70px; }

/* ---------------------------------------------------------------- v27 ([1522_PA-D], simulator v27b) */
/* T9 — fixed head of the iPhone, every screen, no setting (« je valide V27 »): the line ☰ · ⋯ and the search
   row stay at the top; the big title scrolls away and comes back small in the middle of the line once
   scrolled past 44 px (app.js: html.scrolled). The zone of the clock has the page's background (a band
   as high as env(safe-area-inset-top), installed app or Safari): no text passes behind the clock. */
.ptmini { display: none; }
@media (max-width: 599px) {
  body.shell::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: env(safe-area-inset-top); z-index: 39;
    background: var(--canvas); pointer-events: none; }
  .wrap > .phtb, .jour > .phtb { position: sticky; top: env(safe-area-inset-top); z-index: 7; height: 40px;
    margin: -12px -16px 0; padding: 4px 16px 0; background: var(--canvas); }
  html.scrolled .wrap > .phtb, html.scrolled .jour > .phtb { box-shadow: 0 1px 0 #dfe2e6; }
  /* [1236_PA-F] T16: after « ‹ <écran d'appel> » the bar does not climb 12 px over it (it cut the bottom of « ‹ Objets ») */
  .wrap > .callback ~ .phtb { margin-top: 0; }
  .phtb .ptmini { display: block; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); max-width: 60%;
    font-weight: 650; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transition: opacity .15s; pointer-events: none; }
  .phtb .ptmini .t-pc, .phtb .ptmini .t-ipad { display: none; }
  html.scrolled .phtb .ptmini { opacity: 1; }
  /* the field of Rechercher under the line */
  .wrap > .search-page > .rfield { position: sticky; top: calc(env(safe-area-inset-top) + 40px); z-index: 6;
    background: var(--canvas); margin: -6px -16px 4px; padding: 6px 16px 6px; }   /* [1236_PA-F] pt 24: 6 + 4 = 10 px to « Chercher dans », as the iPad and the PC (RECH-G ④) */
  /* « Bandeau étroit »: the line over both columns, the column of themes under the fixed head */
  html.th-etroit .jour > .phtb { grid-column: 1 / -1; grid-row: 1; margin: -12px -16px 0 0; padding-left: 16px; }
  html.th-etroit .jour > .nb { grid-row: 2 / span 60; top: calc(env(safe-area-inset-top) + 92px); }
}

/* T6 — « Sans cadre » keeps the amber of the due dates (it says the urgency), without a border; the
   background spills into the margin so that the text stays aligned on the other lists (Alain 2026-11-03) */
html.nocad .jour section.card.warn:not(.form) { background: #fff4e5; border: 0; border-radius: 10px;
  margin-left: -10px; margin-right: -10px; padding: 10px 12px; }
html.nocad .jour section.card.warn:not(.form) > h2 { border-bottom: 0; padding-bottom: 0; }

/* T4 — an icon the nature does not admit: `hidden` wins over the display of `.ib` */
.icrow .ib[hidden] { display: none; }

/* T7 — the setting of the themes: none on the PC (a touch device only: iPhone, iPad) */
html:not(.touch) .thdisp { display: none; }
/* [1714_PA-D] decision 35 (« B »): « Barre du bas de l'iPhone » in the Réglages of the iPhone only */
html:not(.iphone) #barre { display: none; }


/* ---------------------------------------------------------------- [1122_PA-A] F2 (simulator v28 to v30b) */
/* v28 — one date field: « Avant le » · « Le » at the top of the calendar, two dates possible (decisions D2, D4) */
.pop .dseg { display: flex; background: #eef1f5; border-radius: var(--radius-ctl); padding: 3px; margin-bottom: 6px; }
.pop .dseg button { flex: 1; text-align: center; padding: 6px 0; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); }
.pop .dseg button.cur { background: var(--surface); color: var(--link-action); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.pop .d2 { display: flex; gap: 6px; margin-bottom: 6px; }
.pop .d2 button { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 12px; color: var(--ink-soft); line-height: 1.3; text-align: left; }
.pop .d2 button b { display: block; font-size: 13px; color: var(--ink); }
.pop .d2 button.cur { border: 2px solid var(--accent); padding: 4px 7px; }
.pop .cal button.rg { background: #e8edf3; border-radius: 0; }
.pop .cal button.sel { background: var(--accent); color: var(--accent-ink); outline: 0; }
.pop .plk { font-size: 13px; color: var(--link-action); padding: 6px 8px 2px; align-self: flex-start; }
.pop .plk.rm { color: #b42318; }
/* v28 — the dates of a line: a date « le » to come in grey; come or passed, in « Échéances » */
.dfx { color: var(--ink-vide); font-style: italic; white-space: nowrap; }
.dj { color: #8a4a06; font-weight: 700; }
/* v28 — iPhone: lines of the lists closer by 2 px above and below in the density « Confortable », as the
   simulator went from 8 to 6 px (Remarques Affichage P1, « à tester »): 6 → 4 px here */
@media (max-width: 599px) {
  html:not(.dens-serre):not(.dens-compact) .row.el { padding-bottom: 4px; }
  html:not(.dens-serre):not(.dens-compact) .row.el:not(:first-child) { padding-top: 4px; }
}

/* v30b — the list of a task (F2, PA-054): a note above, the elements, the settings */
.lbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; margin: 8px 0 4px; }
.lhead { display: flex; align-items: center; gap: 10px; padding: 2px 0 6px; font-size: 14px; flex-wrap: wrap; }
.lhead b { font-size: 15px; }
.lhead .c { color: var(--ink-soft); font-size: 13px; }
.lhead .c[hidden] { display: none; }
.lhead .sp { flex: 1; }
.lhead .segc { display: inline-grid; grid-auto-flow: column; background: #e9ebee; border-radius: 8px; padding: 2px; gap: 2px; }
.lhead .segc a { font-size: 13.5px; padding: 6px 14px; border-radius: 7px; color: #3b4654; text-decoration: none; white-space: nowrap; }
.lhead .segc a.cur { background: var(--surface); color: var(--link-action); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.lsec { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; padding: 10px 0 2px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* [1122_PA-C] T7 (simulator v38e): the grip of a heading moves the aisle and its articles */
.lsec .grip { padding: 2px; }
.lsec.drag { background: #f5f8fc; border-radius: 6px; position: relative; z-index: 2; }
.lrow.drag + .lrow.drag { box-shadow: none; }
/* T6 (simulator v37, `lied`): the editor of an article, on its line */
.lrow .lt[data-pa-led] { cursor: pointer; }
.lrow.led { background: #f8f9fb; }
.lrow.led .buy, .lrow.led .grip, .lrow.led .lck { display: none; }
.lied { flex: 1; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-width: 0; }
.lied input { flex: 1 1 140px; min-width: 120px; height: 32px; border: 1px solid var(--accent); border-radius: 7px; padding: 0 8px; font: inherit; font-size: 14px; }
.lied select { height: 32px; border: 1px solid var(--line); border-radius: 7px; padding: 0 6px; font: inherit; font-size: 13.5px; background: var(--canvas); width: auto; }
.liok { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--link-action); cursor: pointer; padding: 0 4px; }
.lirm { border: 0; background: none; color: var(--ink-vide); cursor: pointer; display: inline-flex; padding: 4px; }
.lirm:hover { color: #b42318; }
/* T8 (simulator v38): « Nouvelle liste », its box « Réutilisable », the green band once created */
.card label.nlr, .nlr { font-size: 13.5px; color: #3b4654; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; font-weight: 400; margin: 0; }
.nlok { background: #e8f3ec; border: 1px solid #b9dcc6; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: #1d3b2a; line-height: 1.45; margin-bottom: 4px; }
.lsec[hidden], .lrow[hidden], [data-pane][hidden], .lempty[hidden] { display: none; }
.lrow { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid #f0f2f5; font-size: 15px; }
.lrow .lt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lrow.lok .lt { color: var(--ink-vide); text-decoration: line-through; }
.lrow.pend { opacity: .6; }
.lrow.drag { background: #f5f8fc; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); border-radius: 6px; position: relative; z-index: 2; }
.lck { border: 0; background: none; padding: 0; width: 26px; height: 26px; color: var(--ink-vide); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.lrow.lok .lck { color: var(--link-action); }
.grip { color: #b8bfc8; cursor: grab; display: inline-flex; flex: none; touch-action: none; padding: 4px 2px; }
/* [1714_PA-E] T8 (F2c-11): on the iPhone and the iPad a long press on a grip starts the drag — never a selection of
   text nor the system bubble (they cancel the touch); while a line or an aisle is held, nothing of the page selects */
.grip { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
html.ldragging, html.ldragging * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lrow.drag .grip { cursor: grabbing; }
.lrm { border: 0; background: none; padding: 4px; color: #b8bfc8; cursor: pointer; display: inline-flex; flex: none; }
.lrm:hover { color: #b42318; }
html.tactile .lrm { padding: 6px; }
.buy { flex: none; font: inherit; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; cursor: pointer; border: 1px solid #c9d6e6; color: var(--link-action); background: var(--surface); white-space: nowrap; }
.buy.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ladd { display: flex; align-items: center; gap: 8px; padding: 6px 0 2px 36px; border-top: 1px solid #f0f2f5; }
.ladd input[data-pa-ladd] { flex: 1; min-width: 0; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: var(--ink); }
.ladd input[data-pa-ladd]::placeholder { color: var(--link-action); }
.ladd input[data-pa-ladd]:focus { outline: 0; border-bottom: 1px solid var(--accent); }
.ladd .lrub { width: 110px; flex: none; height: 30px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font: inherit; font-size: 13px; }
.ladd input[data-pa-ladd]:placeholder-shown ~ .lrub, .ladd input[data-pa-ladd]:placeholder-shown ~ .lgo { display: none; }
.ladd .lgo { height: 30px; }
.lopts { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #3b4654; padding-top: 8px; border-top: 1px solid #f0f2f5; margin-top: 4px; }
.lopts label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 0; }
.lopts small { color: var(--ink-soft); }
.lopts .lout { align-self: flex-start; color: #b42318; }
.lfin { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 10px; }
.lfin .hint { flex: 1; min-width: 180px; }
.ladd2 { align-self: flex-start; color: var(--link-action); font-size: 14px; padding: 6px 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; }
@media (max-width: 599px) {
  .lhead .segc a { padding: 5px 8px; font-size: 13px; }
  .ladd { padding-left: 0; }
}

/* v30b — « Référentiels › Listes réutilisables »: a table from 600 px, a list of rows on the iPhone */
.lnarrow { display: none; }
.lrw { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f2f5; }
.lrw:first-child { border-top: 0; }
.lrw .nm { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.lrw .meta { font-size: 12.5px; color: var(--ink-soft); }
.lus { flex-wrap: wrap; }
.lus .ou { color: var(--ink-soft); font-size: 13px; }
@media (max-width: 599px) { .lwide { display: none; } .lnarrow { display: block; } }

/* v29 — PC and iPad: the title line of « Aujourd'hui » (title, count, Créneau · Thème; iPad: date, title,
   Créneau · Thème) stays at the top while the page scrolls, like the fixed head of the iPhone */
@media (min-width: 600px) {
  .jour > .page-head { position: sticky; top: calc(50px + env(safe-area-inset-top)); z-index: 4; background: var(--canvas);
    margin: -10px -4px 14px; padding: 10px 4px 10px; box-shadow: 0 1px 0 var(--line); }
}

/* [1122_PA-A] T6 — the band of the themes (PC, iPad) at the spacing of the simulator (Remarques Affichage
   V1 P1): its lines took the line height of the page (1.45, 19.6 px for 13.5 px), the simulator's is the
   browser's « normal » — a theme was 30 px high instead of 26, a sub-theme 26 instead of 22 */
.side-theme, .side-fam, .side-sec, .side-ovw { line-height: normal; }
.side-sec { padding-top: 8px; }

.lopts input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; flex: none; margin: 2px 0 0; padding: 0; }
/* v28b — PC: « Échéances », the title above, each line on one line (title, then its details), as the simulator */
html.pc #g-echeances .row.el .txt { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
html.pc #g-echeances .row.el .meta { font-size: 13px; }
.lbox .b { margin-left: 0; }
.ref-table td.lnb { white-space: nowrap; }
.ib .v { white-space: nowrap; }

/* ---------------------------------------------------------------- F2b « Saisie V2 » ([1122_PA-B], simulator v31–v36d) */
/* Noter: one row of buttons under « Quoi ? » (v35b) — without the script, the fields themselves, in a row */
.pv1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.pvf { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pvf > label { margin: 0; font-size: 13px; color: var(--ink-soft); }
.pvf[hidden] { display: none; }
.pa-noter.v2 .pvf.enh > label, .pa-noter.v2 .pvf.enh > input, .pa-noter.v2 .pvf.enh > select, .pa-noter.v2 .pvf.enh > datalist { display: none; }
.pa-noter.v2 .pvf.enh.typing > input { display: block; height: 38px; }
.pa-noter.v2 .pvf.enh.typing > .pvw { display: none; }
.pv1 .icrow { display: inline-flex; flex-wrap: nowrap; }   /* defect (d): the two icons stay on the row while there is room */
.pv1 .pf-ic { flex: none; padding-top: 0; }
.pvw { position: relative; display: inline-flex; min-width: 0; }
.pvp { height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-ctl);
  background: var(--surface); font: inherit; font-size: 13.5px; color: #3b4654; cursor: pointer; white-space: nowrap; max-width: 100%; }
.pvp svg { color: var(--ink-soft); flex: none; width: 15px; height: 15px; }
.pvp .npi { width: 16px; } .pvp .npi svg { width: 16px; height: 16px; }
.pvp .nl { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pvp .car { color: #8a93a0; font-size: 11px; }
.pvp.on, .pvp[aria-expanded="true"] { border-color: var(--accent); color: var(--link-action); }
.pvp[hidden] { display: none; }
.pop.pvpop { top: 42px; width: 260px; max-height: 320px; overflow-y: auto; padding: 8px; gap: 4px; }
.pop.pvpop .q button { justify-content: flex-start; gap: 8px; align-items: center; text-align: left; color: var(--ink); }
.pop.pvpop .q button .ol { color: var(--ink); font-size: 14px; }
.pop.pvpop .q button.cur { background: var(--accent-fill); font-weight: 600; }
.pop.pvpop .q button.sub { padding-left: 22px; }
.pop.pvpop .q button:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.pop.pvpop .q button[hidden], .pvfam[hidden] { display: none; }
.pop.pvpop .npi { width: 18px; } .pop.pvpop .npi svg { width: 16px; height: 16px; }
.pvfam { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; padding: 8px 8px 2px; }
.pvq { height: 34px; border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 0 10px; font: inherit; font-size: 14px; }
/* the note (v34–v35b): a large zone under the row, open from « Note »; without the script it is always there */
.nzone { margin-top: 10px; border: 1px solid #c9d6e6; border-radius: 10px; background: var(--surface); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.pa-noter.v2:not(.nopen) .nzone { display: none; }
.nhead { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: #3b4654; }
.nhead label { margin: 0; font-size: 12.5px; }
.nclr.pa-x { width: 28px; height: 28px; margin: 0; }
/* [2232_PA-A] T7: the micro of the zone « Note » of Noter, beside its cross; the micro beside « Ajouter une note » of a fiche */
.nhd2 { display: inline-flex; align-items: center; gap: 2px; }
.nmic, .m4addmic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 0; padding: 0;
  border: 0; background: none; color: var(--link-action); border-radius: 8px; cursor: pointer; }
.nmic svg, .m4addmic svg { width: 18px; height: 18px; }
.nmic.on { background: var(--link-action); color: var(--accent-ink); }
.m4addw { display: inline-flex; align-items: center; gap: 6px; }
.m4addw[hidden] { display: none; }
.nzone textarea { border: 0; padding: 2px 0; resize: vertical; font: inherit; font-size: 15px; line-height: 1.45; color: var(--ink); outline: none; min-height: 90px; background: none; }
.nhint { font-size: 12px; color: #8a93a0; }
.nhint .hk-ph { display: none; }
/* [1122_PA-B] T9.2 — the images of the note (v33f–v35b): thumbnails, then a dashed band to paste, drop or choose */
.nimgs { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.nimg { position: relative; width: 150px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); display: inline-block; background: #f4f6f9; }
.nimg img { width: 150px; height: 96px; object-fit: cover; display: block; }
.nimg a { display: block; }
/* [2232_PA-A] T6: an image added, waiting for « Enregistrer » */
.nimg.pend { outline: 2px dashed var(--accent); outline-offset: -2px; }
.nimgl { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; color: #3b4654; background: rgba(255,255,255,.85); padding: 2px 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nimgx { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
  background: rgba(29,37,48,.7); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nimgx svg { width: 12px; height: 12px; }
.nimgx.arm { background: var(--danger); width: 28px; height: 28px; }
.ndrop { position: relative; flex: 1; min-width: 180px; min-height: 52px; border: 1.5px dashed #c9d6e6; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-soft); padding: 8px; margin: 0; font-weight: 400; cursor: pointer; text-align: center; }
.nimgs .ndrop { font-weight: 400; font-size: 13px; }
.ndrop.over { border-color: var(--accent); background: #eef3f9; color: var(--link-action); }
.ndrop[hidden] { display: none; }
.ndrop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ndrop .hk-ph { display: none; }
.edimgs { margin-top: 8px; }
.imsg { margin: 4px 0 0; } .imsg.err { color: var(--danger); } .imsg[hidden] { display: none; }
.noted.undo { margin-top: 10px; background: #e6f0e8; border-radius: 10px; padding: 10px 14px; font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.noted.undo[hidden] { display: none; }
.noted.undo .link-btn { font-weight: 600; }
@media (max-width: 599px) {
  .pa-noter.v2 .pv1 { order: 6; }
  .pa-noter.v2 .nzone { order: 7; }
  .pa-noter.v2 .noted.undo { order: 11; }
  .pv1 .pvp { height: 40px; font-size: 14px; }
  .nzone textarea { min-height: 110px; }
  .nhint .hk-ph { display: inline; } .nhint .hk-pc { display: none; }
  .ndrop .hk-ph { display: inline; } .ndrop .hk-pc { display: none; }
  .nimg, .nimg img { width: 120px; height: 84px; }
}
/* « Notés récemment » (v36–v36c), under the capture of Noter */
.recents .row.rec { gap: 8px; align-items: flex-start; }
.recents .row.rec[hidden] { display: none; }
.recents .nsg { color: #8a93a0; display: inline-flex; flex: none; padding-top: 2px; }
.recents .nsg svg { width: 18px; height: 18px; }
.recents .row.rec.done .label { color: var(--ink-soft); }
.recents .more-link { background: none; border: 0; padding: 4px 0; cursor: pointer; font: inherit; font-size: 13.5px; min-height: 0; }
.recents .more-link[hidden] { display: none; }
/* the icon « a une note » (v31b–v32): grey dark by default, set in Réglages; the note in a bubble, three lines at most */
.hasw { position: relative; display: inline-flex; vertical-align: -2px; margin-left: 4px; color: #4f5b69; cursor: default; }
html.ncol-clair .hasw, .ncs-clair { color: var(--ink-vide); }
.ncs-fonce { color: #4f5b69; }
html.ncol-bleu .hasw, .ncs-bleu { color: var(--link-action); }
.ncs { display: inline-flex; vertical-align: -2px; }
.hasw.on { color: var(--link-action); }
.ntip { display: none; position: absolute; left: -8px; top: 22px; z-index: 18; width: 260px; background: var(--tip-bg); color: var(--tip-ink); font-size: 13px; font-weight: 400;
  line-height: 1.4; padding: 8px 10px; border-radius: var(--radius-card); box-shadow: var(--tip-shadow); white-space: pre-line; overflow: hidden;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-align: left; }
.hasw.on .ntip { display: -webkit-box; }
@media (hover: hover) and (pointer: fine) { .hasw:hover .ntip { display: -webkit-box; } .hasw:hover { color: var(--link-action); } }
/* defect (c): « spécifications » in full, « spéc. » where room is short (iPhone) */
.w-short { display: none; }
@media (max-width: 599px) { .w-short { display: inline; } .w-long { display: none; } }
/* Référentiels › Thèmes: the default nature (v36b) — a column on PC and iPad, under the name on the iPhone */
.ref-table td.tnd { white-space: nowrap; }
.ref-table .pvp.tnd { height: 32px; font-size: 13px; }
.ref-table .pvp.tnd .dim, .tndl.dim { color: var(--ink-soft); }
.tndl { display: none; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.tndl svg { width: 13px; height: 13px; }
.tndf select { height: 32px; font-size: 13px; }
.gnat { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 13px; color: var(--ink-soft); float: left; }
@media (max-width: 599px) {
  .ref-table th.tnd, .ref-table td.tnd { display: none; }   /* [1714_PA-E]: the cells only — `.tnd` also hid the button of « Gérer » */
  .ref-table td .tndl { display: flex; }
  .ref-table tr.gerer .gnat .pvp.tnd { height: 36px; }
}
/* « Soldés récemment » (defect e): the second touch confirms in place */
.soldes a.erase.arm { color: var(--accent-ink) !important; background: var(--danger); border-color: var(--danger); }
/* the iPhone sheet of the themes (v36d): a search field, families as headings, sub-themes set in */
.sheet .thsheet { max-height: 70vh; overflow-y: auto; }
.thq { padding: 8px 12px; border-bottom: 0.5px solid #d9dce1; }
.thq input { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 0 10px; font: inherit; font-size: 15px; background: var(--canvas); }
.thfam { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; padding: 12px 18px 4px; background: #f7f8fa; border-bottom: 0.5px solid #d9dce1; }
.thfam[hidden], .sheet .bb[hidden] { display: none; }
.sheet .bb.nsb.thsub { padding-left: 36px; }
.pop.pvpop.fixed { position: fixed; z-index: 45; }
/* defect (b): « N soldés récemment » under the title where the subtitle line is not drawn (iPhone, iPad portrait) */
.solk { display: none; margin: 4px 0 0; font-size: 13px; }
html:not(.pc) .solk { display: block; }

/* [1122_PA-C] decision 1 (simulator v37, `.sid`): the number of the screen, small, after its title */
.sid { font-size: 12px; font-weight: 500; color: var(--ink-vide); margin-left: 10px; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.phnb b .sid { font-size: 10.5px; margin-left: 6px; }

/* ---------------------------------------------------------------- [1714_PA-A] T11 — interligne iPhone « 2a »
   (decision 10 of Alain, 2026-11-04; Remarques Affichage V1 P1, v28/v29): density « Confortable » aligned on the
   simulator — title 15 px, line height « normal », lines of about 45 px */
@media (max-width: 599px) {
  html:not(.dens-serre):not(.dens-compact) .row.el .label { font-size: calc(15px + var(--tz, 0px)); line-height: normal; }
  html:not(.dens-serre):not(.dens-compact) .row.el .meta { line-height: normal; }
  html:not(.dens-serre):not(.dens-compact) .row.el .txt { padding-top: 5px; }
}

/* ---------------------------------------------------------------- [1714_PA-A] F3 « Liste de lecture » (simulator v39–v39d) */
.lecw { display: flex; flex-direction: column; gap: 14px; max-width: 980px; }
.lecw > .page-head { margin-bottom: 0; }
.lecadd { display: flex; gap: 8px; margin: 0; }
.lecin { flex: 1; min-width: 0; height: 38px; min-height: 38px; border: 1px solid #c7ccd3; border-radius: 8px; padding: 0 12px; font-size: 15px; box-sizing: border-box; background: var(--surface); }
.lhint { margin: -6px 0 0; }
.lsegs { align-self: flex-start; display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; }
.lsegs a { font-size: 13.5px; padding: 6px 12px; min-height: 32px; display: inline-flex; align-items: center; border-radius: 7px; color: #3b4654; text-decoration: none; white-space: nowrap; }
.lsegs a.cur { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.lsegs a .c { margin-left: 6px; font-size: 12px; color: #8a93a0; }
.lsegs a.cur .c { color: inherit; opacity: .8; }
.lecs .row.el { align-items: flex-start; }
.lgl { flex: none; width: 22px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.row.lu .lgl { height: auto; }
.lsv { font-weight: 600; }
.sv-yt, .sv-arte { color: #c4302b; } .sv-pod, .sv-rf { color: #8e44ad; } .sv-music { color: #d6336c; }
.sv-spot { color: #1d8a4e; } .sv-bf { color: #1f6f8b; } .sv-books { color: #e8700a; } .sv-kindle { color: #3b4654; }
.sv-web, .sv-sub { color: var(--link-action); }
.ltxa { color: #a15c00; }
.ltxo { display: inline-flex; vertical-align: -3px; color: var(--gain); }
.lpr { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 12.5px; color: var(--ink-soft); }
.lpr span { white-space: nowrap; }
progress.lbar { width: 120px; height: 5px; border: 0; border-radius: 3px; background: var(--line); overflow: hidden; -webkit-appearance: none; appearance: none; }
progress.lbar::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
progress.lbar::-webkit-progress-value { background: var(--gain); border-radius: 3px; }
progress.lbar::-moz-progress-bar { background: var(--gain); }
.ldur { flex: none; font-size: 13px; color: var(--ink-soft); margin: 6px 0 0 6px; white-space: nowrap; }
.ph-only { display: none; }
.lmore { position: relative; flex: none; }
.lmore > summary { list-style: none; }
.lmore > summary::-webkit-details-marker { display: none; }
.lmore[open] > summary { background: rgba(0, 0, 0, 0.05); }
.lmore > .pm { position: absolute; right: 0; top: 34px; display: flex; flex-direction: column; }
.lmore .pm form { margin: 0; display: flex; }
.lmore .pm .pi { display: block; width: 100%; text-decoration: none; }
.lavs h2 { font-size: 15px; }
.lecus .row { gap: 10px; }
.lecus .row .txt { flex: 1; min-width: 0; opacity: .8; }
.side-link { display: flex; justify-content: space-between; }
.side-link .n { font-size: 12px; opacity: .7; }
/* the reading screen (decision 4) */
.lrd { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lrdh { display: flex; align-items: center; gap: 12px; }
.lrdh .spacer { flex: 1; }
.lklien { color: var(--link-action); font-size: 14px; }
.lrdb { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.lrdb h1.lrt { font-size: 24px; line-height: 1.3; margin: 6px 0 12px; font-weight: 700; }
.lrdb .m { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: var(--ink-soft); }
.lrdb p { margin: 0 0 14px; }
.lrdb .lpart, .lrdb .lrfin { font-family: -apple-system, system-ui, sans-serif; font-size: 13.5px; color: #8a4a06; background: #fff4e5;
  border: 1px solid #f3d7b0; border-radius: 8px; padding: 8px 12px; }
.lrdb .lrfin { color: var(--ink-soft); background: none; border: 0; padding: 8px 0 0; }
.lrdb .sid { font-family: -apple-system, system-ui, sans-serif; }
/* Modifier: the link and the progress (decision 6) */
.lfrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lfrow input[type="url"], .lfrow input[type="text"] { flex: 1; min-width: 140px; }
.lfrow .nlr { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.lfrow .nlr input { width: 16px; height: 16px; min-height: 0; padding: 0; flex: none; }
/* Noter: a link is recognised (decision 6) */
.lnkh { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #3b4654; background: #eef4fb; border: 1px solid #cfe0f2;
  border-radius: 8px; padding: 8px 12px; margin-top: 8px; line-height: 1.45; }
.lnkh svg { flex: none; margin-top: 1px; }
.lnkh a { color: var(--link-action); text-decoration: underline; }
/* Réglages: the bottom bar of the iPhone (decision 8) */
.phbset { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; gap: 6px; align-items: center; }
.phbset select { min-width: 0; height: 34px; min-height: 34px; font-size: 13px; }
.phbplus { font-size: 13px; font-weight: 600; color: var(--link-action); padding: 0 4px; white-space: nowrap; }
.sheet .st { text-align: left; }
.sheet .bb.dim { color: var(--ink-vide); font-size: 13px; cursor: default; }
@media (max-width: 599px) {
  .lhint { display: none; }
  .ph-no, .ldur { display: none; }
  .ph-only { display: inline; }
  .lecs .lgl { width: 18px; }
  progress.lbar { width: 90px; }
  .lsegs a { padding: 6px 8px; font-size: 13px; }
  .lrdb { padding: 14px 16px; font-size: 17px; }
  .phbset { grid-template-columns: 1fr 1fr; }
  .phbset .phbplus { grid-column: 1 / -1; text-align: center; }
  .lmore > .pm { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(70px + env(safe-area-inset-bottom)); }
}
.lecadd .lecin { width: auto; }
.lecadd .primary { flex: none; width: auto; min-height: 38px; padding: 0 18px; }
.lecs a.edit .lpr { display: flex; }
.lecadd .primary { margin-top: 0; padding-top: 0; padding-bottom: 0; }
.lrdh .primary { width: auto; margin-top: 0; min-height: 34px; padding: 0 16px; }
.lavs .actions .primary { margin-top: 0; }
@media (max-width: 599px) { .pa-noter .lnkh { order: 2; } }
.phbset select { padding: 0 8px; line-height: normal; }
#barre .actions .primary { flex: none; width: auto; min-height: 36px; padding: 0 18px; margin-top: 8px; }

/* ================================================================ F4 [1227_PA-A] (simulator v41g)
   T2 a (PA-077, d.1): columns after the useful width of the content (the window, less the band when shown, less the
   margins) — by slot 270 px at least per column, 2 to 5; by theme and overview 340 px at least, 2 to 4; never one
   column on a PC; the iPad in landscape (layout of the PC) follows the same rule. Thresholds: (w + 14) / 284 and
   (w + 14) / 354, w the content width of `.wrap` (container query, no script). */
html.pc body.shell .wrap { container: pamain / inline-size; }
html.pc .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.pc .stkcols { columns: 2; }
html.pc .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container pamain (min-width: 838px) { html.pc .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container pamain (min-width: 1122px) { html.pc .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container pamain (min-width: 1406px) { html.pc .groups { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@container pamain (min-width: 1048px) { html.pc .stkcols { columns: 3; } html.pc .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container pamain (min-width: 1402px) { html.pc .stkcols { columns: 4; } html.pc .theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* T2 c: « Par thème : montrer » 3 · 5 · 8 · Tous — the tasks of a theme beyond the setting are hidden, and « Voir les N »
   shows only when some are (classes m3 m5 m8 set by the server) */
html.thn-3 .stk-body > ul > li:nth-child(n+4), html.thn-3 .theme-card > ul:not(.notes) > li:nth-child(n+4),
html.thn-5 .stk-body > ul > li:nth-child(n+6), html.thn-5 .theme-card > ul:not(.notes) > li:nth-child(n+6),
html.thn-8 .stk-body > ul > li:nth-child(n+9), html.thn-8 .theme-card > ul:not(.notes) > li:nth-child(n+9) { display: none; }
.stk-body > .more-link { display: none; }
html.thn-3 .stk-body > .more-link.m3, html.thn-5 .stk-body > .more-link.m5, html.thn-8 .stk-body > .more-link.m8 { display: inline-block; }

/* T2 e (P3): the links of the screens in the band, tighter — 31 px from one line to the next (37 before), PC and iPad */
.side > .side-link { padding-top: 6px; padding-bottom: 6px; }

/* T2 b (P1): the sign of waiting — only when a screen or a gesture takes more than 0.3 s (app.js `setupWait`) */
.pa-waitbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; overflow: hidden; background: rgba(232, 112, 10, 0.18); pointer-events: none; }
@media (min-width: 600px) { body.shell .pa-waitbar { top: 56px; } }
.pa-waitbar::before { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; background: #e8700a; border-radius: 2px; animation: pawait 1s ease-in-out infinite; }
@keyframes pawait { 0% { left: -35%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .pa-waitbar::before { animation: none; left: 0; width: 100%; opacity: 0.6; } }
.pa-waitlink { background: rgba(232, 112, 10, 0.16) !important; border-radius: var(--radius-ctl); }

/* T4 b (d.4, d.25): « n° 288 » after the title, discreet (written by the server only when « Numéros des tâches » is on) */
.tnum { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--ink-vide); white-space: nowrap; font-variant-numeric: tabular-nums; }
h1 .tnum, .phnb .tnum { font-size: 13px; vertical-align: middle; }

/* T4 a (d.25, simulator v41f): the card « Administration », two settings, each with its switch */
.arow { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #eceef1; }
.arow:first-of-type { border-top: 0; }
.arow .ak { flex: 1; font-weight: 600; font-size: 14px; display: flex; align-items: center; min-width: 0; }
.arow .aw { font-size: 13px; color: var(--ink-soft); }

/* T4 c (d.24, simulator v41e): the explanation behind « ⓘ » — hover on the PC, a touch on the iPhone and the iPad */
.infow { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px;
  font-size: 16px; font-weight: 400; color: var(--marker); cursor: help; vertical-align: middle; flex: none; }
.infow .itip { display: none; position: absolute; top: 24px; left: -10px; z-index: 40; width: 300px; max-width: 78vw; background: var(--tip-bg);
  color: var(--tip-ink); font-size: 12.5px; font-weight: 400; line-height: 1.45; padding: 7px 11px; border-radius: var(--radius-card);
  box-shadow: var(--tip-shadow); text-transform: none; letter-spacing: 0; white-space: normal; text-align: left; }
html:not(.touch) .infow:hover .itip, html:not(.touch) .infow:focus .itip, .infow.on .itip { display: block; }
.infow:hover, .infow.on { color: var(--tip-mark-hover); }   /* [1946_PA-A] T2 c: registry TOOLTIP */
.infow .itip .ic-inline svg { width: 14px; height: 14px; vertical-align: -2px; }
html.touch .infow { position: static; }
html.touch .reg-cols .card { position: relative; }
html.touch .infow .itip { left: 12px; right: 12px; top: 44px; width: auto; max-width: none; }

/* T6 (d.3, d.22, simulator v41b, v41c): the choice of a theme, tighter — normal size of text of iOS, lines of 40 px, ✓ of
   the theme chosen, families as plain headings, sub-themes set in; « Récents » first. The same list under the button
   (PC, iPad) in Noter and Modifier. */
.sheet .bb.nsb.ths { height: 40px; min-height: 40px; font-size: 15.5px; padding: 0 16px; gap: 6px; border-bottom: 0.5px solid #eceef1; }
.sheet .bb.nsb.ths.thsub { padding-left: 30px; }
.ck2 { width: 18px; height: 14px; flex: none; color: var(--link-action); display: inline-flex; align-items: center; justify-content: center; }
/* the tick is drawn (two borders), never a glyph of text (charter §10.5.7) */
.ck2.on::after { content: ""; width: 5px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sheet .bb.nsb.ths.cur { color: var(--link-action); font-weight: 600; }
.thfam { font-size: 12.5px; font-weight: 600; color: #8a93a0; text-transform: none; letter-spacing: 0; padding: 12px 16px 2px; background: none; border-bottom: 0; text-align: left; }
.pvfam { font-size: 11.5px; font-weight: 600; color: #8a93a0; text-transform: none; letter-spacing: 0; padding: 10px 8px 2px; }
.pop.pvpop .q button .ck2 { width: 14px; }
.pop.pvpop .q button.sub { padding-left: 22px; }

/* T5 (d.14, Saisie V2 P10, simulator v41b): Noter on the iPhone — centred under the thumb, the big key of dictation,
   « ‹ <screen of origin> », « Notés récemment · en attente d'envoi » folded. PC and iPad: Noter as before. */
.nback, .mic-zone, .cap-lab, .nmore { display: none; }
@media (max-width: 599px) {
  .nback { display: inline-flex; align-items: center; gap: 4px; color: var(--link-action); font-size: 15px; text-decoration: none; margin: 0 0 4px -4px; }
  .ncenter { min-height: calc(100dvh - 200px - env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
  .ncenter .pa-noter { margin: 0; }
  .ncenter .pa-noter > h2.panel-h, .ncenter .pa-noter > .qlab { display: none; }
  .mic-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 2px; }
  .mic { width: 96px; height: 96px; min-height: 96px; border-radius: 48px; border: 0; cursor: pointer; background: var(--btn-principal); color: var(--accent-ink);
    font-size: 17px; font-weight: 600; box-shadow: 0 6px 18px rgba(31, 78, 121, 0.28); }
  .mic.on { background: var(--danger); box-shadow: 0 0 0 8px rgba(179, 38, 30, 0.16); }
  .msub { font-size: 14px; color: var(--ink-soft); text-align: center; }
  .cap-lab { display: block; font-size: 12px; font-weight: 600; color: var(--section-label); text-transform: uppercase; letter-spacing: 0.6px; }
  .nmore { display: block; margin: 10px auto 0; font-size: 14px; color: var(--link-action); }
  html.iphone .nmw:not(.open) .nmore-b { display: none; }
  /* T5 e (d.5 to d.7, variant b): no slot chosen — « Créneau » in grey, narrower, without ▾, on the line of the theme
     and the nature (Noter and Modifier) */
  .pvp.dim[data-pa-pvb="cr"], .pvp.dim { padding: 0 8px; gap: 4px; color: var(--ink-vide); }
  .pvp.dim .car { display: none; }
  .pvp.dim svg { opacity: 0.6; }
}

/* T7 a, b (d.9, d.10): « + Ajouter un article » first; « Retirés récemment » folded at the bottom, « Remettre » */
.lcore > .ladd, div[data-pane="cat"] > .ladd { margin: 2px 0 6px; }
.lret { margin-top: 8px; border-top: 1px solid #f0f2f5; padding-top: 6px; font-size: 13.5px; }
.lret > summary { cursor: pointer; color: var(--ink-soft); font-weight: 600; }
.lret .lrrow { display: flex; align-items: center; gap: 8px; }
.lret .lrrow .lt { color: var(--ink-soft); }
.lret .hint { margin: 4px 0 0; }

/* T7 c (d.23, simulator v41d): no frame in the frame — the list of a task in Modifier has no frame of its own, a rule
   sets it apart; « Cadres : Sans » takes the frame of Modifier away too.
   T14 (ADDENDUM-1, constat d'Alain 2026-11-06): « Cadres : Sans » holds for every list — the reading list, the lists
   of a task (shopping and checklists, in Modifier and in Référentiels › Listes): no card, each block parted by a rule
   under its title. */
.edform .lbox { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 0 0; background: none; }
html.nocad .edform { background: none; border: 0; border-radius: 0; padding: 4px 2px; box-shadow: none; }
html.nocad :is(.lecs, .lecus, .ref-listes) {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding-left: 2px; padding-right: 2px; }
html.nocad :is(.lecs, .ref-listes) > h2 { border-bottom: 1px solid #d9dce1; padding-bottom: 4px; margin-bottom: 4px; }
html.nocad .lecus > summary { border-bottom: 1px solid #d9dce1; padding-bottom: 4px; }
html.nocad .lbox { background: none; border: 0; border-top: 1px solid #d9dce1; border-radius: 0; padding: 10px 0 0; }

/* ================================================================== [1956_PA-A] F9 and the remarks of the 6 and 7 Nov.
   (simulator v42 to v42g, validated by Alain 2026-11-07) */

/* T2 c, f: the type « Liens » — services, the row « Favoris » (one touch opens), no « Lu » on a link */
.sv-gdoc { color: var(--link-action); } .sv-gsheet { color: #1d8a4e; } .sv-gslides { color: #e8700a; }
.sv-gdrive, .sv-gpt, .sv-claude, .sv-lnk { color: #3b4654; }
.favh { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin: 8px 0 4px; }
.favs { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 8px; min-height: 44px; -webkit-overflow-scrolling: touch; }
.fav { flex: none; box-sizing: border-box; height: 36px; display: flex; align-items: center; gap: 6px; padding: 7px 11px; max-width: 170px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; color: var(--ink); text-decoration: none; }
.fav .lgl { display: inline-flex; } .fav .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck.ckvide { visibility: hidden; }
.m4typ { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.m4typ label { color: var(--ink-soft); margin: 0; } .m4typ select { width: auto; }

/* T3: Réglages › Onglets de Lecture — grip, glyph, name, « Masquer / Afficher » */
.tabord .to { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--chip-bg); font-size: 14px; }
.tabord .to:first-child { border-top: 0; }
.tabord .to .g { color: var(--ink-vide); cursor: grab; display: inline-flex; touch-action: none; min-width: 32px; min-height: 32px; align-items: center; justify-content: center; }
.tabord .to .lgl { color: var(--ink-soft); display: inline-flex; } .tabord .to .nm { flex: 1; }
.tabord .to.off .nm, .tabord .to.off .lgl { color: var(--ink-vide); }
.tabord .to.dragging, .ref-table tr.dragging { background: #eef3f8; }

/* T5 (simulator v42b): Noter on the iPhone — the microphone of the registry on the big key, « Écrire au clavier plutôt »
   while it listens, the small microphone at the end of « Quoi ? » when the keyboard is the mode; the copy of Noter opened
   by « + » over the page (iPhone only) */
.mic svg { display: block; margin: auto; color: var(--accent-ink); }
.capmic { display: none; }
.nov[hidden] { display: none !important; }
@media (max-width: 599px) {
  .nkb { display: block; margin: 2px auto 0; font-size: 14.5px; color: var(--link-action); text-decoration: underline; }
  .nkb[hidden] { display: none; }
  .ncenter .qfield { position: relative; }
  .nkbd .capmic { display: inline-flex; position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 17px; border: 0;
    background: var(--btn-principal); color: var(--accent-ink); align-items: center; justify-content: center; padding: 0; cursor: pointer; }
  .nkbd .qfield textarea { padding-right: 84px !important; }
  .nkbd .qfield .clr { right: 44px; }
  .nkbd .mic-zone, .nkbd .cap-lab { display: none; }
  .nkbd.ncenter { justify-content: flex-start; min-height: 0; }
  .nov { position: fixed; inset: 0; z-index: 45; background: var(--bg, var(--canvas)); overflow-y: auto;
    padding: calc(12px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom)); }
  .nov .nback { border: 0; background: none; padding: 4px 0; min-height: 0; cursor: pointer; font: inherit; font-size: 15px; }
  .nov .ncenter { min-height: calc(100dvh - 120px); }
  html.nov-on body { overflow: hidden; }
  /* T5 g (d.2): the link of Noter never sits over the veil of a sheet */
  .nmw { position: relative; z-index: 0; }
}
/* [1236_PA-A] T5 (Noter pt 11 [Alain 2026-11-18 ≈ 14:05, 14:01]): on the iPad and the PC too, « + Noter » shows this copy of Noter over the
   screen (app.js places it right of the left bar, under the top bar), in the mode of the last note — the big key already listening after a
   note dictated (iOS lets the microphone start only inside the touch), the cursor in « Quoi ? » after a note written */
html:not(.iphone):not(.nov-on) .nov { display: none !important; }
@media (min-width: 600px) {
  .nov { position: fixed; z-index: 35; background: var(--canvas); overflow-y: auto; padding: 14px 24px 24px; }
  .nov > * { max-width: 640px; margin-left: auto; margin-right: auto; }
  .nov .nback { display: flex; align-items: center; justify-content: flex-start; gap: 4px; width: 100%; border: 0; background: none; padding: 4px 0;
    color: var(--link-action); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
  /* [1236_PA-B] « menu » opens the band over the copy of Noter when the band is folded (it used to open under it, so nothing seemed to happen) */
  html.nov-on.nav-open .side { z-index: 40; }
  html.nov-on .nav-bg { z-index: 38; }
  .nov .nmore { display: block; text-align: center; text-decoration: none; margin-top: 10px; font-size: 14px; color: var(--link-action); }
  html.nov-on body { overflow: hidden; }
}
/* [1236_PA-A] T5: the screen Noter and its copy on the iPad and the PC get the big key and the small microphone of the iPhone (they had
   only the form): the same layout, in a column of 640 px */
@media (min-width: 600px) {
  .ncenter { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
  .ncenter .pa-noter { margin: 0; }
  .ncenter .pa-noter > h2.panel-h, .ncenter .pa-noter > .qlab { display: none; }
  .mic-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 6px; }
  .mic { width: 96px; height: 96px; min-height: 96px; border-radius: 48px; border: 0; cursor: pointer; background: var(--btn-principal);
    color: var(--accent-ink); box-shadow: 0 6px 18px rgba(31, 78, 121, 0.28); }
  .mic.on { background: var(--danger); box-shadow: 0 0 0 8px rgba(179, 38, 30, 0.16); }
  .msub { font-size: 14px; color: var(--ink-soft); text-align: center; }
  .cap-lab { display: block; font-size: 12px; font-weight: 600; color: var(--section-label); text-transform: uppercase; letter-spacing: 0.6px; }
  .nkb { display: block; margin: 2px auto 0; font-size: 14.5px; color: var(--link-action); text-decoration: underline; background: none; border: 0; cursor: pointer; }
  .nkb[hidden] { display: none; }
  .ncenter .qfield { position: relative; }
  .nkbd .capmic { display: inline-flex; position: absolute; right: 6px; top: 7px; width: 34px; height: 34px; border-radius: 17px; border: 0;
    background: var(--btn-principal); color: var(--accent-ink); align-items: center; justify-content: center; padding: 0; cursor: pointer; }
  .nkbd .qfield textarea { padding-right: 84px !important; }
  .nkbd .qfield .clr { right: 44px; }
  .nkbd .mic-zone, .nkbd .cap-lab { display: none; }
}

/* T6 (d.1): the sheet and the menus of themes — lines of about 35 px, the size of the text unchanged, family headings unchanged */
.sheet .bb.nsb.ths { height: 35px; min-height: 35px; }
.pop.pvpop .q button { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }

/* T7 (d.5, d.6, d.32, d.33; Courses V1 P1 to P3; simulator v42, v42f, v42g): Modifier of a task with a list */
.lttl { display: flex; align-items: center; gap: 6px; }
.lttl input { flex: 1; font-size: 17px; font-weight: 600; border: 0 !important; background: none !important; padding: 4px 0 !important; box-shadow: none !important; }
.lnic { border: 0; background: none; color: #8a93a0; cursor: pointer; padding: 6px; display: inline-flex; min-height: 0; }
.lnic.on { color: var(--accent); }
button.lnote1 { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; min-height: 0; margin: -4px 0 2px;
  font: inherit; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.lcore > .ladd, div[data-pane="cat"] > .ladd { margin: 0 !important; padding-top: 0; padding-bottom: 0; border-top: 0; }
.lcore > .ladd input[data-pa-ladd], div[data-pane="cat"] > .ladd input[data-pa-ladd] { min-height: 36px; height: 36px; padding: 0; }
/* [1350_PA-B] no two greys in turn in any list: a block is white (see the end of this file, COURSES-B v2) */
.lrow.press, .lsec.press { background: #dbe7f3 !important; }
html.touch .grip { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; margin: -10px -8px; }
@media (max-width: 599px) {
  .lhead .ltabs a[data-pa-ltab="mag"] { order: -1; }
  .lhead .segc { display: inline-flex; }
  .lstf .g3.lstg3 { display: flex !important; gap: 6px; flex-wrap: nowrap; }
  .lstf .g3.lstg3 > div { flex: 0 1 auto; min-width: 0; }
  .lstf .g3.lstg3 label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lstf .g3.lstg3 select, .lstf .g3.lstg3 .natbtn { height: 34px; font-size: 13.5px; max-width: 120px; }
}

/* T8 (d.7 to d.13, d.20 to d.22, d.30, d.31; simulator v42, v42c, v42d): Réglages */
.rrow { display: flex; align-items: center; gap: 8px; } .rrow + .rrow { margin-top: 10px; }
.rrow .lk2 { font-size: 13px; color: #3b4654; width: 74px; flex: none; white-space: nowrap; }
.rrow .segc button, .rrow .segc a { font-size: 12.5px; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.rsub { font-size: 12px; font-weight: 600; color: #8a93a0; margin: 16px 0 6px; padding-top: 10px; border-top: 1px solid var(--chip-bg); }
.rsub + .rrow { margin-top: 0; }
.reg-cols .card h2, .card h2:has(.infow) { justify-content: flex-start; }
.reg-cols .card h2 .tot, .reg-cols .card h2 .mf, .card h2:has(.infow) .tot { margin-left: auto; }
.reg-cols .card h2, .reserved h2 { gap: 0; }
.reg-cols .card h2 .infow, .reserved h2 .infow { margin-left: 3px; }   /* the circle sits ≈ 6 px after the title */
.reg-cols .card h2 .tot, .reg-cols .card h2 .mf { padding-left: 8px; }
.reg-row.dev-row { display: flex; align-items: center; gap: 10px; }
.dev-row .x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dev-row .tt { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dev-row .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-row .act .b { height: 30px; min-height: 30px; padding: 0 10px; }
#session .reg-row .act { display: inline-flex; align-items: center; }
/* interrupters: the blue of the brand; red only for « Supprimer définitivement » (a gesture without return) */
.tog.on { background: var(--accent, var(--accent)); }
.tog.on.dng { background: var(--danger); }
/* « Cadres : Sans » holds for the screens of settings: no frame nor background, a rule parts the blocks */
html.nocad body.ecr-reg .card { background: none; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid #d9dce1; padding: 12px 2px; }
/* T8 j: the subtitle on the iPad in portrait too, where the simulator has it */
@media (min-width: 600px) { html.ipad .page-head > .sub.ipsub { display: block; } }

/* T9 (simulator v42g): Référentiels › Thèmes — « Ordre », grips in « Manuel » */
.rrow.thord { margin: 0 0 10px; flex-wrap: wrap; }
.rrow.thord .segc { display: inline-flex; } .rrow.thord .segc form { display: inline; }
.rrow.thord .segc button.cur { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.thgrip { color: var(--ink-vide); cursor: grab; display: inline-flex; vertical-align: middle; margin-right: 6px; touch-action: none; padding: 4px; }

/* T10 (Vues P2, n° 333): the iPad in portrait with « Bandeau » — ☰ folds and unfolds the band, as on the PC */
@media (min-width: 600px) {
  html.ipad.tactile.th-bandeau .burger { display: inline-flex; }
  html.ipad.tactile.th-bandeau.bandeau-replie .side { display: none; }
  html.ipad.tactile.th-bandeau.bandeau-replie body.shell .wrap { margin-left: 0; }
}

/* T11 (AK_FORM_FOOTER_REGISTRY, rule 2): « Enregistrer » inactive while nothing has changed — outline, grey text */
#pa-edit .actions button.primary:disabled, button.sv[form="pa-edit"]:disabled {
  opacity: 1; background: var(--surface); color: var(--ink-vide); border: 1px solid #d9dce1; box-shadow: none; cursor: default; }
button.sv[form="pa-edit"]:disabled { background: none; border: 0; }
/* rule 3: the line just saved, lit ≈ 2 s */
li.row.hl { background: #fff4d6 !important; transition: background 0.6s; }

/* [1946_PA-A] T2 c — registry SETTING_RESET, canonical form: (revenir au défaut) before the control of a line whose value is not the default */
.reset-btn { border: none; background: none; color: var(--ink-soft); cursor: pointer; font-size: 13px; padding: 2px 4px;
  border-radius: 5px; line-height: 1; min-height: 0; margin-left: auto; margin-right: 6px; }
.reset-btn:hover { color: var(--ink); background: var(--chip-bg); }
.reset-btn[hidden] { display: none; }
/* [1946_PA-A] T2 c — registry BUSY: the pressed button works (a form sent, until the next screen) */
button[aria-busy="true"] { cursor: progress; opacity: .6; }

/* ---------------------------------------------------------------- [1946_PA-A] T3 — Référentiels : ligne cliquable
   (simulator v42m-v42o `refThemes`, `refListes`; registry AK_ENTRY_LIST). A line = grip · name · [nature] · count · ›, the
   whole line a link; the actions in a sheet (iPhone) or a drawer on the right (PC, iPad); « Renommer » in a window. */
.b.light { background: #f0f6ff; border-color: #cfe3fb; color: var(--link-action) !important; font-weight: 600; }   /* registry BUTTON, light form */
.rxbox { padding-top: 10px; }
.rxsrch { margin: 0 0 4px; max-width: 420px; }
.rxsrch .srchw { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-soft); }
.rxsrch input { border: 0; background: none; min-height: 0; padding: 0; flex: 1; min-width: 0; }
.rxsrch input:focus { outline: none; }
.rxq { margin: 2px 0 6px; font-size: 13px; color: var(--ink-soft); }
.rxq[hidden] { display: none; }
.rxttl { display: flex; align-items: center; gap: 6px; margin: 8px 0 6px; max-width: 680px; }
.rxttl h2 { margin: 0; font-size: 15px; }
.rxttl .sp { flex: 1; }
.rxttl .segc form { display: contents; }
.rxttl .segc button.cur { background: var(--surface); color: var(--link-action); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.rxwrap { display: flex; gap: 16px; align-items: flex-start; }
.rxl { flex: 1; min-width: 0; max-width: 680px; border: 1px solid var(--line); border-radius: 12px; padding: 2px 12px; background: var(--surface); }
.rxr { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--chip-bg);
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.rxr:first-child { border-top: 0; }
.rxr.sub { padding-left: 14px; }
.rxr.sel { background: #f0f6ff; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.rxr.sub.sel { padding-left: 26px; }
.rxr .gp { color: #a3abb6; width: 22px; flex: none; display: flex; justify-content: center; cursor: grab; touch-action: none; position: relative; z-index: 2; }
.rxr .gp svg { width: 18px; height: 18px; }
.rxr .rxa { position: static; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.rxr .rxa::after { content: ""; position: absolute; inset: 0; }   /* the whole line is the link (the grip sits above it) */
.rxr .nm { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rxr .infow { position: relative; z-index: 2; margin-left: -4px; }
.rxr .na { display: flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 13px; flex: none; }
.rxr .na svg { width: 16px; height: 16px; }
.rxr .rxn { min-width: 28px; text-align: right; color: var(--ink-soft); flex: none; font-variant-numeric: tabular-nums; }
.rxr .mt { color: var(--ink-soft); font-size: 13px; flex: none; white-space: nowrap; }
.rxr .ch { color: #b4bbc5; flex: none; width: 10px; }
.rxr.fam { min-height: 38px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #59626e; }
.rxr.dragging { background: var(--surface); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); z-index: 5; position: relative; }
.rxr.dropfam { background: #f0f6ff; }
.rxl:not(.thman) .rxr .gp { color: #c7ccd3; }
/* the drawer (PC, iPad) */
.rxdr { flex: none; width: 320px; position: sticky; top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: -6px 6px 20px rgba(0, 0, 0, .06); padding: 18px; }
.rxdr h3 { margin: 0 0 2px; font-size: 17px; overflow-wrap: anywhere; }
.rxdr .m, .rxmod .m { color: var(--ink-soft); font-size: 13px; margin: 0 0 8px; }
.rxdr .m a { color: var(--link-action); font-weight: 600; text-decoration: none; }
.rxdr label { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 400; margin: 12px 0 4px; }
.rxdr label.nlr { display: flex; gap: 6px; align-items: center; color: var(--ink); font-size: 14px; }
.rxdr label.nlr input { width: 16px; height: 16px; min-height: 0; padding: 0; }
.rxdr input:not([type=checkbox]), .rxdr select { width: 100%; }
.rxdr .bt, .rxmod .bt { display: flex; gap: 8px; margin-top: 16px; align-items: center; }
.rxdr .bt.col { flex-direction: column; align-items: stretch; margin-top: 8px; }
.rxdr .bt.col .b { margin: 0; justify-content: center; min-height: 38px; }
.rxdr .bt .primary, .rxmod .bt .primary { width: auto; margin: 0; min-height: 38px; padding: 8px 14px; }
.rxdr .bt .b, .rxmod .bt .b { margin: 0; min-height: 38px; }
.rxdr .del { display: block; color: var(--danger); font-size: 14px; margin-top: 22px; border-top: 1px solid var(--chip-bg); padding-top: 12px; text-decoration: none; }
.rxnat { position: relative; display: block; }
.rxnat .rxnsg:empty { display: none; }
.rxnat .rxnsg svg { width: 18px; height: 18px; }
/* [1946_PA-C] E1-T7 b: the default nature in the drawer — a button « <sign> Spécification ▾ », the natures under it */
.rxnat > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; border: 1px solid var(--line);
  border-radius: var(--radius-ctl); padding: 6px 10px; background: var(--surface); font-size: 14px; }
.rxnat > summary::-webkit-details-marker { display: none; }
.rxnat .car { font-size: 11px; color: var(--ink-2, #6b7280); }
.rxnpop { position: absolute; z-index: 20; margin-top: 4px; min-width: 240px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); padding: 4px; }
.rxno { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.rxno:hover, .rxno.on { background: var(--accent-fill); }
.rxno input { position: absolute; opacity: 0; pointer-events: none; }
[data-pa-newfam] { margin-top: 6px; }
/* the sheet (iPhone) and the window */
.rxsh-bg, .rxmod-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .32); display: flex; }
.rxsh-bg { flex-direction: column; justify-content: flex-end; padding: 8px 8px max(8px, env(safe-area-inset-bottom)); }
.rxsh-x { position: absolute; inset: 0; }
.rxsh { position: relative; background: #f6f6f8; border-radius: 14px; overflow: hidden; margin-bottom: 8px; max-height: 70vh; overflow-y: auto; }
.rxsh .h { padding: 12px 16px; text-align: center; color: var(--ink-soft); font-size: 13px; border-bottom: 1px solid #e1e3e7; overflow-wrap: anywhere; }
.rxsh a, .rxsh button { display: flex; width: 100%; justify-content: center; align-items: center; gap: 6px; padding: 14px 16px; color: var(--link-action);
  font: inherit; font-size: 17px; border: 0; border-top: 1px solid #e1e3e7; background: none; text-decoration: none; cursor: pointer; min-height: 0; }
.rxsh > :nth-child(2), .rxsh > form:nth-child(2) button { border-top: 0; }
.rxsh form { margin: 0; }
.rxsh a.red { color: #d70015; }
.rxsh .s { color: var(--ink-soft); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.rxsh .s svg, .rxsh button svg { width: 16px; height: 16px; }
.rxsh button.on { font-weight: 600; }
.rxsh .tog { width: 40px; height: 24px; margin-left: 8px; display: inline-block; }
.rxsh .tog::after { width: 18px; height: 18px; }
.rxsh-c { position: relative; display: block; background: var(--surface); border-radius: 14px; text-align: center; padding: 14px; font-weight: 600;
  color: var(--link-action); font-size: 17px; text-decoration: none; }
.rxmod-bg { align-items: center; justify-content: center; padding: 16px; }
.rxmod { position: relative; background: var(--surface); border-radius: 14px; padding: 18px; width: 100%; max-width: 380px; }
.rxmod h3 { margin: 0 0 4px; font-size: 16px; overflow-wrap: anywhere; }
.rxmod input:not([type=checkbox]), .rxmod select { width: 100%; }
.rxmod .w { color: #8a5a00; background: #fff6e0; border: 1px solid #f1dfb0; border-radius: 8px; padding: 8px 10px; font-size: 13px; margin-top: 10px; }
.rxmod .w[hidden] { display: none; }
.rxmod .bt { justify-content: flex-end; }
.rxmod .lus { display: flex; flex-direction: column; gap: 8px; }
.rxmod .ou { color: var(--ink-soft); font-size: 13px; }
/* « Nouveau thème », « Nouvelle liste » */
.rxnew { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rxnew input[name="nom"] { flex: 1 1 220px; min-width: 0; }
.rxnf { display: contents; }
.rxnew select { flex: 0 1 220px; min-width: 140px; }
.rxnew .nlr { flex: none; display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
.rxnew .nlr input { width: 16px; height: 16px; min-height: 0; padding: 0; }
.rxcr { margin: 0; min-height: 40px; padding: 0 14px; }
.rxcr .rxcrp { display: none; font-size: 20px; line-height: 1; }
.rxnewl { margin-bottom: 8px; max-width: 680px; }
/* PC and iPad: the drawer, never the sheet of a line; the theme of a list beside its count */
html:not(.iphone) .rxsh-bg.tir { display: none; }
/* iPhone: the sheet, not the drawer; « Nouveau thème » on one line with « + »; the nature by its sign only */
html.iphone .rxdr, html.iphone .rxnewc h2, html.iphone .rxnf, html.iphone .rxr .nal, html.iphone .rxr .mth { display: none; }
html.iphone .rxnewc { background: none; border: 0; padding: 0; margin-bottom: 6px; }
html.iphone .rxcr { width: 44px; padding: 0; justify-content: center; }
html.iphone .rxcr .rxcrw { display: none; }
html.iphone .rxcr .rxcrp { display: inline; }
html.iphone .rxl { padding: 2px 10px; }
html.iphone .rxr.sel { margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
html.iphone .rxttl .segc button { padding: 4px 9px; font-size: 13px; }
.rxr[hidden] { display: none; }
.rxr.dragging { pointer-events: none; }
/* [1946_PA-A] T5 a: the icon of the type takes the place of the round « Lu » (at the height of the first line) */
.lecrow .ck { height: 30px; align-self: flex-start; }
.lecrow .ck .lgl { width: 22px; height: 22px; }
.ck.cklien { cursor: default; }
@media (hover: hover) and (pointer: fine) { .ck.cklien:hover { box-shadow: none; } }
/* T5 d: « Ouvrir » on the right of the card of a link; a favourite: « Nom », no nature, slot, date, duration, pin */
.m4ch .m4cs { flex: 1; min-width: 0; }
.m4open { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line);
  border-radius: var(--radius-ctl); padding: 6px 12px; background: var(--surface); font-size: 14px; white-space: nowrap;
  color: var(--link-action); text-decoration: none; }
.m4cls [data-pa-favh] { display: none !important; }
label.m4nom { display: block; font-size: 13px; font-weight: 600; margin: 4px 0 4px; }

/* [1946_PA-A] T4 — a list in its three places: the row of the classification without the nature; « En magasin » first on
   the iPhone; the link to the structure; the image folded under « Plus… » in « Préparer » */
.lcls [data-pa-pvf="nat"] { display: none !important; }
.lcls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 4px; }
.lcls .icrow { display: inline-flex; }
html.iphone .ltabs a[data-pa-ltab="mag"] { order: -1; }
.lstruct { display: block; margin: 12px 0 2px; color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.lplus { margin-top: 10px; }
.lfin .infow { margin-left: 8px; }
.lopts .lopt { display: inline-flex; align-items: center; }
/* [1946_PA-A] T6 a (d.68, simulator v42l `lastn`): « Dernières notes » under Noter on the iPhone — 2 lines, the hour on the right */
.lastn { display: none; }
@media (max-width: 599px) {
  html.iphone .lastn { display: block; margin: 10px 0 2px; }
  .lastn .lnh { font-size: 12px; font-weight: 600; color: var(--section-label); margin-bottom: 2px; }
  .lastn .lnr { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--hairline); color: var(--ink);
    text-decoration: none; font-size: 14.5px; -webkit-tap-highlight-color: transparent; }
  .lastn .lnr .nsg { flex: none; display: inline-flex; color: var(--ink-soft); }
  .lastn .lnr .nsg svg { width: 16px; height: 16px; }
  .lastn .lnt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lastn .lnw { flex: none; font-size: 12.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
  .nov .nmore { text-align: center; text-decoration: none; }
  /* the two last notes and « Toutes les notes récentes » stay in sight under « Noter » (the centring gives them its room) */
  .ncenter:has(+ .lastn) { min-height: calc(100dvh - 360px - env(safe-area-inset-bottom)); }
  .nov .ncenter:has(+ .lastn) { min-height: calc(100dvh - 280px); }
}

/* [1946_PA-A] T7 a (Divers V3 P26, d.71, d.83): on the iPhone and the iPad a long press on a line, a grip, a button, a bar or
   the band of the themes is a gesture of PA (the grip drags), never the selection of iOS nor its menu « Copier · Chercher ·
   Traduire »; the text stays selectable in the fields (the note is one), and in the reading screen */
html.touch body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.touch :is(input, textarea, select, [contenteditable="true"], .lrdb, .lrdb *) { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

/* [1946_PA-A] T7 c (d.73): the zone of the clock and the battery is kept for iOS — the installed app of the iPhone and of the iPad
   (env(safe-area-inset-top), 0 in Safari and on the PC). iPhone: the band of the page's colour above everything that scrolls
   (z-index 39: under the sheets and Noter, which carry their own margin). iPad: the dark top bar and the bands under it start
   below the zone, which takes the page's colour (the clock of iOS writes dark). */
@media (min-width: 600px) {
  body.shell { padding-top: env(safe-area-inset-top); }
  body.shell::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: env(safe-area-inset-top); z-index: 39;
    background: var(--canvas); pointer-events: none; }
  .shell-top { top: env(safe-area-inset-top); }
}
/* [1946_PA-A] T3: below 1 200 px (iPad in portrait with its band, a narrow PC window) the drawer floats over the right
   edge instead of squeezing the list (rendering bench, iPad 744: names cut to three letters) */
@media (max-width: 1199px) {
  html:not(.iphone) .rxdr { position: fixed; right: 16px; top: 66px; z-index: 50; max-height: calc(100vh - 86px); overflow-y: auto;
    box-shadow: -8px 8px 28px rgba(0, 0, 0, .18); }
}

/* ---------------------------------------------------------------- [1946_PA-C] étape 1 (simulator v42r–v42w) */
/* E1-T3 a: « Lieux » then « Thèmes » in the band */
.side > .side-sec:first-of-type { padding-top: 4px; }
/* E1-T3 c: the page of a theme — its family beside the title, the sentence under it (PC); no chip of filter */
.thfam { color: var(--ink-2, #6b7280); }
.thhint { margin: 6px 0 0; font-size: 13px; color: var(--ink-2, #6b7280); }
.thhint { margin: -4px 0 12px; }
@media (max-width: 1023px) { .thhint { display: none; } }
.jour.filtre .page-head .filtre { display: none !important; }
/* E1-T3 d: the tasks without a slot, first, in a block without a title */
.card.nocre > ul { margin-top: 0; }
/* E1-T3 f: « Faire le tri · N » at the top of the overview */
.card.tri { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #eef3fa; border-color: #d6dee9;
  padding: 10px 14px; }
.card.tri p { margin: 0; font-size: 14px; }
.card.tri b { color: var(--accent); }
.card.tri .tri-b { width: auto; min-width: 0; min-height: 34px; padding: 0 14px; margin: 0; font-size: 13.5px; flex: none; display: inline-flex; align-items: center; text-decoration: none; }
/* E1-T4 c, d (pts 46-49): « Demain, <jour> » — the section on #eaeff6, its slots on #f4f7fb, the cards of the tasks white */
details.card.demain { background: #eaeff6; border: 1px solid #d6dee9; padding: 10px 14px; }
details.card.demain > summary { cursor: pointer; display: flex; align-items: baseline; gap: 10px; list-style: none; }
details.card.demain > summary::-webkit-details-marker { display: none; }
details.card.demain > summary::before { content: "▸"; font-size: 11px; color: var(--ink-2, #6b7280); }
details.card.demain[open] > summary::before { content: "▾"; }
.dem-t { font-weight: 600; font-size: 16px; }
.dem-r { font-size: 13px; color: var(--ink-2, #6b7280); }
.dem-ech { font-size: 13px; color: var(--warn-ink); font-weight: 600; text-decoration: none; }   /* [1700_PA-D] T5 */
.dem-rien { margin: 10px 0 2px; font-size: 14px; }
.demain .dem-groups { margin-top: 10px; }
.demain .dem-groups > .card { background: #f4f7fb; border-color: #dde4ee; }
.demain .dem-groups .row.el { background: var(--surface); }
/* E1-T7 b: « Courses terminées », the main button of « En magasin » */
.lfin .primary.lfinb { width: auto; min-width: 200px; margin-top: 0; }
/* E1-T5 (FAV 2): the favourites of a theme, at the top of its page */
.thfavs { margin: 0 0 12px; }
/* ---------------------------------------------------------------- [1946_PA-C] étape 2 (simulator v42p, v42q, v42w) */
.reg-row .act .primary { width: auto; min-width: 0; min-height: 34px; margin: 0; padding: 0 14px; font-size: 14px; }
.reg-row .act form.inline { display: inline-flex; align-items: center; gap: 6px; }
.dbxkey { width: 170px; min-height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); font: inherit; font-size: 13.5px; }
.cbdet { margin-top: 4px; }
.cbdet summary { cursor: pointer; color: var(--link-action); font-size: 13px; }
.cbdet ul { margin: 4px 0 0 16px; padding: 0; font-size: 13px; color: var(--ink-2, #6b7280); }
.dbxf { display: flex; gap: 8px; width: 100%; }
.dbxf .dbxkey { flex: 1; width: auto; }
.dbxf .primary { width: auto; min-height: 34px; margin: 0; padding: 0 14px; font-size: 14px; flex: none; }
/* the lines of the bin and of the backups: the text wraps, the button stays in view (iPhone) */
#corbeille .dev-row .x, #sauvegardes .dev-row .x, #notifications .dev-row .x { min-width: 0; flex: 1 1 auto; }
#corbeille .dev-row .meta, #sauvegardes .dev-row .meta, #notifications .dev-row .meta { white-space: normal; overflow-wrap: anywhere; }
#corbeille .dev-row .act, #sauvegardes .dev-row .act, #notifications .dev-row .act { flex: none; }
@media (max-width: 599px) { .dbxf { flex-wrap: wrap; } .dbxf .primary { width: 100%; } }

/* [1946_PA-F] F1 b — Noter, nature « Liste »: the zone « Articles » (simulator v42z7) */
.azone { margin-top: 10px; border: 1px solid #c9d6e6; border-radius: 10px; background: var(--surface); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.azone[hidden] { display: none; }
.azone > label { margin: 0; font-size: 12.5px; font-weight: 600; color: #3b4654; }
.azone textarea { border: 0; padding: 2px 0; resize: vertical; font: inherit; font-size: 15px; line-height: 1.45; color: var(--ink); outline: none; min-height: 80px; background: none; }
/* F3 — the note of a fiche in reading (simulator v42z5): a grey box, ✎ top right, links at their place; folded at --nl lines */
.m4nb { position: relative; display: flex; flex-direction: column; gap: 4px; }
.m4rd { position: relative; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f9; padding: 10px 44px 10px 12px; cursor: text; }
.m4rd[hidden], .m4nb textarea[hidden], .m4fold[hidden], .m4hash[hidden], .m4hp[hidden], .m4lec[hidden], .m4gs[hidden], .m4imgs[hidden] { display: none; }
.m4rt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; color: var(--ink); }
.m4rd.fold .m4rt { max-height: calc(var(--nl) * 1.5em); overflow: hidden; }
.m4rt a.nlk, .m4rt a.nref { color: var(--link-action); text-decoration: underline; text-underline-offset: 2px; }
.m4edb { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; min-height: 0; padding: 0; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); color: #3b4654; font-size: 15px; line-height: 1; cursor: pointer; }
.m4fold { align-self: center; font-weight: 500; font-size: 14px; margin: 4px 0; }
.m4hp { margin: 2px 0 0; }
/* F3 c — `#` and a few letters: the tasks proposed under the field */
.m4hash { position: relative; z-index: 5; max-width: 520px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  box-shadow: 0 6px 20px rgba(20, 30, 45, .12); overflow: hidden; }
.m4hh, .m4hv { font-size: 12.5px; color: var(--ink-soft); padding: 7px 12px; border-bottom: 1px solid #f0f2f5; }
.m4hr { display: flex; gap: 12px; align-items: baseline; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-bottom: 1px solid #f0f2f5;
  background: none; text-align: left; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.m4hr.on, .m4hr:hover { background: #eef3fa; }
.m4hn { color: var(--ink-soft); flex: none; }
.m4ht { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m4hth { flex: none; font-size: 12.5px; color: var(--ink-soft); }
/* F4 — in reading, the thumbnails only; the zone to paste or choose an image while the note is written */
.edform.m4lect .ndrop { display: none !important; }
/* F2 — « En faire une liste » · « En faire une lecture », on one line under the note (simulator v42z8); F5 d */
.m4gs { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.m4g { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.m4g svg { flex: none; }
.lstf .m4gs { border-top: 0; padding-top: 2px; }
.m4lec { display: flex; flex-direction: column; gap: 6px; }
.m4lec input { width: 100%; box-sizing: border-box; }
/* F6 — the fiche of a list that serves again says it (variante A) */
.lperm { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
/* F7 a — replaced by [1350_PA-F] D: the panel of the iPhone has a block « Lieux » again, with the places that are not in the bottom bar
   (`lbar` hidden there). [1350_PA-G] B: « Favoris » is a place of the left bar on the iPad and the PC too (it left the wheel) */
html.iphone .side-lieux .lbar { display: none; }
.m4rt a.nlk svg { vertical-align: -1px; margin-left: 2px; }
.m4edb svg { display: block; margin: auto; }
/* F1 b — iPhone: the zone « Articles » under the row of buttons, as the note (simulator v42z7) */
@media (max-width: 599px) { .pa-noter.v2 .azone { order: 7; } }
/* F5 c — used from its task, the article edited on the spot keeps its round; the cross in a red frame (simulator v42z9) */
.lbox[data-mode="usage"] .lrow.led .lck { display: inline-flex; }
.lbox[data-mode="usage"] .lirm { width: 30px; height: 30px; justify-content: center; align-items: center; border: 1px solid #f0c4c0;
  border-radius: 7px; color: #b42318; }

/* [1946_PA-G] G3 — Répéter et Rappel dans la fenêtre de la date (simulateur v45, proposition B) : deux lignes sous le
   calendrier, libellé à gauche, valeur à droite (grise sans choix, bleue choisie) ; les choix se déplient sur place */
.pop .prr { border-top: 1px solid #e6e9ef; margin-top: 8px; padding-top: 4px; display: flex; flex-direction: column; }
.pop .prl { display: flex; align-items: center; gap: 8px; padding: 8px 2px; width: 100%; font-size: 14px; text-align: left; }
.pop .prl + .prl, .pop .prq + .prl { border-top: 1px solid #eef0f4; }
.pop .prl svg { flex: none; color: var(--link-action); }
.pop .prl .prn { flex: none; }
.pop .prl .prv { flex: 1; text-align: right; color: #8a93a3; }
.pop .prl .prv.on { color: var(--link-action); font-weight: 600; }
.pop .prq { padding: 0 0 6px 24px; }
.pop .prq button.cur { background: var(--surface-group); font-weight: 600; }
.pop .prq .prh { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 6px 8px 2px; }
.pop .prq .prr1 { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: 14px; flex-wrap: wrap; }
.pop .prq .prx { display: inline-flex; align-items: center; gap: 4px; }
.pop .prq .prn1 { width: 4.2em; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.pop .prq .prdt { padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.pop .prq .prd { color: var(--ink-soft); font-size: 12.5px; margin-left: 6px; }
.pop .prq .chs { padding: 2px 8px 4px; }
.pop .prq .chs button.cur { border-color: var(--accent); color: var(--link-action); }
.ib .v .rs { white-space: nowrap; }
.ib .v .rs svg, .meta .rsm svg { vertical-align: -1px; margin-right: 1px; }
.meta .rsm { white-space: nowrap; }
.m4serie { margin: 2px 0 8px; }
.pop .prq input[type="radio"] { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--accent); }
.pop .prq input[type="number"], .pop .prq input[type="date"] { width: auto; height: 32px; min-height: 0; padding: 2px 6px; font-size: 16px; }   /* 16 px : iOS ne zoome pas */
.pop .prq input[type="number"] { width: 4.2em; }

/* [1946_PA-I] I2, I3 — the meeting (micro-maquette v46a): three tabs, the headings of the tab Avant, the actions of Après, the field
   « Avec », the filter « Réunions » */
.rseg { display: flex; background: var(--surface-group, #f3f5f8); border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 3px; margin: 14px 0 10px; }
.rseg a { flex: 1; text-align: center; padding: 6px 4px; border-radius: 7px; color: var(--ink-soft); font-size: 13.5px; text-decoration: none; }
.rseg a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px #0002; }
.rseg a i { font-style: normal; font-size: 11.5px; color: var(--ink-soft); font-weight: 400; }
.rseg a .rn { display: none; font-weight: inherit; }
@media (max-width: 599px) { .rseg a i { display: none; } .rseg a .rn { display: inline; } }   /* iPhone: « Après · 2 » (v46a ④) */
.rpane[hidden] { display: none !important; }
.rh { font-size: 12px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; margin: 14px 0 6px; }
.rpane > .rh:first-child { margin-top: 4px; }
.rlist { margin-top: 0; }
.ract { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ract:first-child { border-top: 0; }
.ract .rt { flex: 1; min-width: 0; }
.ract .rdone { color: var(--ink-soft); font-size: 12.5px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ract .rdone svg { color: var(--gain); }
.ract .rmk { white-space: nowrap; font-size: 13px; color: var(--link-action); padding: 0; min-height: 0; }
.ract .rx { border: 0; background: none; color: #8a93a3; padding: 4px; min-height: 0; display: inline-flex; }
.radd { margin-top: 6px; }
.ravec { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; position: relative; }
.ravec label, .azone[data-pa-pour="reunion"] label { font-size: 13px; color: var(--ink-soft); }
.ravec input[data-pa-avec] { flex: 1; min-width: 140px; min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; }
.azone[data-pa-pour="reunion"] input[data-pa-avec] { width: 100%; }
.avsug { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; width: 100%; }
.avsug[hidden] { display: none; }
.avsug .chip { min-height: 28px; font-size: 13px; }
.rflt { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.rflt .chip svg { margin-right: 2px; }
.rflt-f { margin: 0; }
.rflt-f select { min-height: 32px; border: 1px solid var(--line); border-radius: 16px; padding: 0 10px; font: inherit; font-size: 13.5px; background: var(--surface); }
.edform.reunion .m4note.big { min-height: 5em; }
/* [1946_PA-I] I9: the diagnostic of the dictation (temporary, /app/noter?diag=dictee) */
.ddiag { font: 11.5px/1.35 ui-monospace, Menlo, monospace; color: var(--ink-soft); text-align: left; margin: 6px auto 0; max-width: 320px; }
/* [1946_PA-I] I6 a: a main button hidden stays hidden (`.primary` sets display: « Activer » showed on a device already activated) */
.primary[hidden] { display: none !important; }
/* [1946_PA-I] I12 a: « Noter » pale and inactive while « Quoi ? » is empty */
.pa-noter .quick-btn:disabled { opacity: 0.4; cursor: default; }
/* [1946_PA-I] I13: « Tous les [N] mois » in the window of the date */
.pop .prq .prfq { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.pop .prq .prfq.cur { background: var(--surface-group); font-weight: 600; }
.pop .prq .prfq input[type="number"] { width: 3.4em; height: 30px; min-height: 0; padding: 2px 4px; font-size: 16px; text-align: center; }
.fdlg .sth { font-weight: 600; color: var(--ink); font-size: 14.5px; }
/* [1946_PA-I] I10 (tâche PA n° 470): Référentiels › Thèmes — the ⓘ of « À classer » right after the word, as the other tips (the link
   keeps the whole line by its ::after; the space goes after the tip) */
.rxr.def .rxa { flex: none; }
.rxr.def .infow { margin-left: 4px; margin-right: auto; }

/* ================================================================ [0925_PA-A] v47 (simulateur v47 révision 8, validé le 2026-11-12) */
/* T16 — barre du bas de l'iPhone « A bis » (micro-maquette v48b) : opaque, collée en bas (zone du trait d'accueil comprise), la liste
   s'arrête au-dessus ; quatre lieux et « + » rond bleu vif 56 px au centre, sans déborder sur la liste ; réaction immédiate au toucher */
body { padding-bottom: calc(70px + max(6px, calc(env(safe-area-inset-bottom) - 18px))); }
.tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; gap: 0;
  height: auto; min-height: 62px; padding: 3px 6px max(6px, calc(env(safe-area-inset-bottom) - 18px));
  background: linear-gradient(var(--surface), #f3f5f8); border-top: 1px solid #dfe3e9; box-shadow: 0 -4px 14px rgba(16, 24, 40, .06);
}
.tabs .tab { width: 100%; max-width: 86px; height: 50px; min-height: 0; border-radius: 14px; touch-action: manipulation; }
.tabs .tab.on:not(.pfab) { background: rgba(31, 78, 121, .09); }
.tabs .tab:active:not(.pfab) { background: rgba(31, 78, 121, .14); }
.tabs .tab.pfab { width: 56px; height: 56px; max-width: none; border-radius: 50%; background: var(--link-action); color: var(--accent-ink);
  box-shadow: 0 4px 12px rgba(0, 113, 227, .35); transition: transform .06s; }
.tabs .tab.pfab svg { width: 28px; height: 28px; }
.tabs .tab.pfab:active, .tabs .tab.pfab.press { transform: scale(.92); background: #0062c4; }
/* T17 — les lieux de la barre de gauche portent les icônes de la barre du bas (16 px) */
.side-link .ol { display: inline-flex; align-items: center; gap: 8px; }
.side-link .ol svg { flex: none; }
/* T4 — « ‹ écran d'appel » en haut à gauche */
.callback { display: inline-flex; align-items: center; gap: 2px; color: var(--link-action); font-size: 15px; text-decoration: none; margin: 0 0 6px -4px; }
.callback svg { width: 20px; height: 20px; }
@media (max-width: 599px) { .callback { margin-top: 4px; } }
/* T5 — Référentiels sans onglets sur PC et iPad : on y va par le menu de l'icône Référentiels ; l'iPhone garde ses onglets */
@media (min-width: 600px) { .ref-tabs { display: none; } }
/* T2 — À venir */
.avw { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.avw > .card { margin: 0; }
.avhint { font-size: 13px; color: var(--ink-soft); margin: 0 0 2px; }
.lst.av h2 b { font-weight: 600; }
.lst.av h2 > span:first-child { color: var(--ink); font-size: 15px; font-weight: 400; }
.lst.av.vide { padding: 10px 14px; }
.lst.av.vide h2 { margin: 0; color: var(--ink-soft); font-weight: 500; }
.lst.av.vide h2 > span:first-child { color: var(--ink-soft); }
.avs { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 2px; }
.lst.av ul + .avs, .lst.av .avs:first-of-type { margin-top: 6px; }
.lst.av ul { margin: 0; }
.meta .dl { color: #b45309; font-weight: 600; }
.avlat { padding: 0; background: #eaeff6; border-color: #d6dee9; }
.avlat > summary { padding: 12px 14px; font-weight: 600; font-size: 15px; cursor: pointer; }
.avlat > summary span { font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.avlatb { display: flex; flex-direction: column; gap: 10px; padding: 0 10px 10px; }
.avlatb .lst { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px; }
/* T3 — Notées récemment */
.rcpage { max-width: 860px; }
.rcday { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; margin: 12px 0 2px; }
.rcday:first-child { margin-top: 0; }
.rcpage ul { margin: 0; }
.rcmore { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 14px; margin: 12px 0 2px; }
.rcmore span { color: var(--ink-soft); }
.rcmore i { color: #c0c6cf; font-style: normal; }
.rcmore a { color: var(--link-action); text-decoration: none; font-weight: 600; }
/* T6, T22 — Favoris */
.favth { font-size: 13px; font-weight: 600; color: var(--accent); margin: 14px 0 4px; }
.favs.wrapf { flex-wrap: wrap; overflow: visible; }
.favw { display: inline-flex; align-items: center; gap: 2px; }
.favw .fav { max-width: 240px; }
.favm { display: inline-flex; color: #8a93a0; padding: 4px; }
/* T15 — Aide */
.aidel { padding: 4px 14px; max-width: 760px; }
.aidel a { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid #eceef1; color: var(--ink); text-decoration: none; font-size: 15px; }
.aidel a:first-child { border-top: 0; }
.aidel a span { color: #8a93a0; }
.aidep { max-width: 760px; }
.aidep h2 { font-size: 16px; margin: 2px 0 6px; }
.aidep p { margin: 4px 0; line-height: 1.5; font-size: 14.5px; }
/* T7, T23 — Lecture : les types en pastilles arrondies avec l'icône du type, chacune dans la couleur de son type (jetons --lt-*,
   charte de PA) : fond teinté et bord de la couleur, fond plein et texte blanc quand elle est choisie */
.lsegs.pills { display: flex; gap: 6px; flex-wrap: wrap; background: none; border: 0; padding: 0; overflow: visible; }
.lsegs.pills a { --c: var(--accent); display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 12px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 25%, var(--surface));
  font-size: 13.5px; font-weight: 500; box-shadow: none; }
.lsegs.pills a svg { width: 15px; height: 15px; flex: none; }
.lsegs.pills a .c { color: inherit; opacity: .75; margin-left: 2px; }
.lsegs.pills a.cur { background: var(--c); border-color: var(--c); color: var(--accent-ink); font-weight: 600; }
/* the colours of the types: declared in the charter of PA (SPEC/UI/PRESENTATION_CHARTER.md, « Couleurs des types de Lecture ») */
.lsegs.pills a.lt-article { --c: #2563eb; } .lsegs.pills a.lt-video { --c: #c4302b; }
.lsegs.pills a.lt-podcast { --c: #8e44ad; } .lsegs.pills a.lt-musique { --c: #d6336c; }
.lsegs.pills a.lt-livre { --c: #1d7f8c; }
/* T24 — Noter : « Note » et « Sans créneau » gris clair (texte et icône) tant qu'ils sont vides ; couleur normale dès qu'il y a une
   note ou un créneau (tâche PA n° 585, Saisie V3 pt 27) */
.pa-noter .pvp.dim, .pa-noter .pvp.dim .nl, .pa-noter .pvp.dim svg, .pa-noter .pvp.dim .car { color: #a8b0bb; }
.m4fav { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
/* T10 — mise en forme légère de la note, à l'affichage seulement */
.m4rt .nh { font-weight: 700; font-size: 1.06em; }
.m4rt .npu { display: inline-block; width: 1.1em; color: var(--ink-soft); }
.m4rt .nck { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-right: 6px;
  border: 1.5px solid var(--ink-vide); border-radius: 4px; font-size: 11px; line-height: 1; vertical-align: -2px; color: var(--accent-ink); }
.m4rt .nck.on { background: var(--accent); border-color: var(--accent); }
/* T9, T11, T12 — la fiche : dates, « Citée dans », micro de la note */
.tdates { font-size: 12.5px; color: #8a93a0; margin: 10px 0 2px; }
.cited { font-size: 13px; color: var(--ink-soft); margin: 6px 0 2px; }
.cited a { color: var(--link-action); text-decoration: underline; text-underline-offset: 2px; }
.m4nb { position: relative; }
.m4mic { position: absolute; top: 2px; right: 36px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  min-height: 0; padding: 0; border: 0; background: none; color: var(--link-action); border-radius: 8px; }
.m4mic.on { background: var(--link-action); color: var(--accent-ink); }
.m4mic[hidden] { display: none; }
.m4nb:not(:has(.m4rd:not([hidden]))) .m4mic { right: 4px; }
.m4dict { display: inline-flex; align-items: center; gap: 4px; color: var(--link-action); text-decoration: none; }
.m4dict svg { width: 15px; height: 15px; }
.threpris { margin: 6px 0 0; font-size: 12.5px; }
.m4rt .nck.on::after { content: ""; width: 4px; height: 8px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
/* T19 (tâche PA n° 649) — une ligne de réglage cachée par le script reste cachée : `.reg-row { display: flex }` l'emportait sur
   l'attribut `hidden`, et l'appareil courant apparaissait deux fois dans la carte Notifications (« Cet iPhone » et « iPhone ») */
.reg-row[hidden] { display: none; }
/* T8 — la note d'un article de liste : repère discret, ouverte sous l'article, crayon pour la modifier */
.lrow .anm { flex: none; display: inline-flex; align-items: center; border: 0; background: none; padding: 2px 4px; min-height: 0; color: #8a93a0; }
.lrow .anm.on { color: var(--link-action); }
.anl { display: flex; align-items: flex-start; gap: 6px; margin: -2px 0 6px 34px; padding: 6px 10px; background: var(--surface-group, #f3f5f8);
  border-radius: 8px; font-size: 13.5px; color: var(--ink-soft); white-space: pre-wrap; }
.anl[hidden] { display: none; }
.anl .ant { flex: 1; min-width: 0; }
.anl .anled { flex: none; border: 0; background: none; padding: 0 2px; min-height: 0; color: var(--link-action); display: inline-flex; }
.anl .anta { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.lied .lino { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 2px 8px; font-size: 13px; min-height: 30px; }
.side-ovw .ol { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.side-ovw .n { flex: none; white-space: nowrap; }

/* ================================================================ [1226_PA-A] */
/* T1 — barre du bas au défilement (iPhone, iPad) : sur iOS, le rebond en bout de liste emporte les éléments fixes avec la page
   (mesuré au simulateur iOS 27.2 : barre du bas décalée de 405 pt pendant un rebond en haut) ; vu sur l'iPhone d'Alain, barre au
   milieu de l'écran et ligne du haut disparue. La page ne rebondit plus : barre et en-tête restent en place, l'élan s'arrête au bout */
html.touch { overscroll-behavior-y: none; }
/* T2 — « Cadres : Sans vaut pour toutes les listes » (charte § 3 sexies) : À venir et Notées récemment suivent le réglage comme
   Aujourd'hui (filet sous le titre, sans fond ni bord) ; Favoris n'a pas de cadre */
html.nocad .avw > :is(section.card, details.card), html.nocad section.card.rcpage {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding-left: 2px; padding-right: 2px; }
html.nocad .avw > section.card > h2 { border-bottom: 1px solid #d9dce1; padding-bottom: 4px; margin-bottom: 4px; }
html.nocad .avw > .lst.av.vide > h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
html.nocad .avlat > summary { padding-left: 2px; padding-right: 2px; border-bottom: 1px solid #d9dce1; }
html.nocad .avlatb { padding: 4px 0 0; }
html.nocad .avlatb .lst { background: none; border: 0; border-radius: 0; padding: 8px 2px 0; }


/* ================================================================ v49 [1226_PA-B] — look validé par Alain le 2026-11-12
   (simulator v49 révision 2, note de décisions [1226_PA] pts 3 à 14, 26 ; charte § 3 duodecies) */

/* a (pts 8, 9) — « Cadres : Avec » lightened: no grey rule round a block, a light shadow, corners of 14 px; the rule between two
   tasks starts at the text, not at the edge; in the columns of the PC, a task is not a card in the card */
html:not(.nocad) :is(.jour, .theme-grid, .search-results, .avw, .stkcols) :is(section.card, details.card):not(.form):not(.center),
html:not(.nocad) section.card.rcpage, html:not(.nocad) .avw > :is(section.card, details.card), html:not(.nocad) .avlatb .lst {
  border-color: transparent; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .05); }
html:not(.nocad) .card .row.el { border-top: 0; position: relative; }
html:not(.nocad) .card .row.el + .row.el::before { content: ""; position: absolute; top: 0; left: 38px; right: 0; border-top: 1px solid var(--chip-bg); }
html:not(.nocad) .card .row.el[hidden] + .row.el::before { display: none; }
@media (min-width: 600px) { html.pc .pinbox .pins > li:nth-child(2)::before { display: none; } }

/* b (pts 5, 6, 10) — colour for meaning */
.jour section.card.warn, html.nocad .jour section.card.warn:not(.form) { background: var(--due-bg); border: 1px solid var(--due-border); border-left: 1px solid var(--due-border); }
html:not(.nocad) .jour section.card.warn:not(.form):not(.center) { border-color: var(--due-border); }
html.nocad .jour section.card.warn:not(.form) { border: 0; }
.dueh { display: inline-flex; align-items: center; gap: 6px; }
.dueh svg { width: 16px; height: 16px; color: var(--warn-ink); flex: none; }
/* the date in a pastille, the same on every screen: red = passed, amber = today, grey = to come */
.dj, .due, .soir { display: inline-block; border-radius: 6px; padding: 0 6px; font-size: 12px; font-weight: 600; line-height: 18px;
  white-space: nowrap; font-style: normal; background: var(--tag-attente-bg); color: var(--tag-attente-ink); }
.dj.late, .due.late { background: var(--tag-panne-bg); color: var(--tag-panne-ink); }
.due.fut { background: var(--tag-neutre-bg); color: var(--tag-neutre-ink); font-weight: 500; }
.warn .dj, .warn .due.tod, .warn .soir { background: var(--due-tod-bg); color: var(--due-tod-ink); }
.warn .dj.late, .warn .due.late { background: var(--due-late-bg); color: var(--due-late-ink); }
.warn .due.fut { background: var(--due-fut-bg); color: var(--due-fut-ink); }
/* « À classer » (Vue d'ensemble): white, its count in a blue pastille, a blue edge of 3 px on the left — this edge says nothing else */
.theme-card.default { background: var(--surface); border-left: 3px solid var(--accent) !important; }
.theme-card.default h2 .tot { background: var(--accent-fill); color: var(--accent); border-radius: 10px; padding: 1px 9px; font-weight: 600; }
html.nocad .theme-card.default { padding-left: 10px !important; border-radius: 0 !important; }
/* « Épinglés »: no blue bar on the left any more, the pin in blue */
.pinbox, html.nocad .pinbox { border-left-width: 1px; }
html:not(.nocad) .pinbox { border-left-color: transparent; }
html.nocad .pinbox { border-left: 0; }
.pinbox h2 .pinic { color: var(--accent); }

/* c (pt 10) — one scale of titles: block title 17 px bold black, the information on its right 13 px grey; subtitles 13 px grey,
   no capitals */
:is(.jour, .theme-grid, .avw, .stkcols, .search-results) .card > h2, .pinbox h2, .soldes > summary, .lst.av h2 > span:first-child {
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
:is(.jour, .theme-grid, .avw, .stkcols, .search-results) .card > h2 .tot, .pinbox h2 .tot, .soldes > summary .tot { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.theme-card.default h2 .tot { font-weight: 600; color: var(--accent); }
.avs, .rcday, .favh { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }

/* d (pt 11) — the line of a task: round of 24 px (touch zone 34 px), title 16 px in the lists (15 px in the columns of the PC),
   « ⋯ » light grey; the tick animated (app.js `setupCocheAnimee`) */
.row.el .ck.sg { width: 34px; height: 34px; margin: -2px 0; }
.row.el .ck.sg svg { width: 24px; height: 24px; }
.row.el .nsg { width: 34px; }
.row.el .label { font-size: calc(16px + var(--tz, 0px)); line-height: 1.3; }
@media (min-width: 600px) { html.pc .groups .row.el .label { font-size: calc(15px + var(--tz, 0px)); } }
.theme-card .row.el .label { font-size: calc(15px + var(--tz, 0px)); }
.row.el .dots { color: var(--ink-faint); }
.row.el.v49done { transition: opacity .3s ease .3s; opacity: 0; }
.row.el.v49done .label { color: var(--ink-soft); text-decoration: line-through; }
.row.el.v49done .ck.sg { color: var(--gain); }
.row.el.v49done .ck.sg svg { animation: v49pop .28s ease; }
@keyframes v49pop { 0% { transform: scale(.6); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .row.el.v49done { transition: none; } .row.el.v49done .ck.sg svg { animation: none; } }

/* e (pts 12, 27) — the compact head of the iPhone: the date above the title (« Aujourd'hui » only), a magnifier in the top line,
   left of ⋯ (it opens « Rechercher »); no search row, no buttons of display; one fixed line once scrolled. iPad, PC: unchanged */
.pdtop, .phs { display: none; }
@media (max-width: 599px) {
  .pdtop { display: block; margin: 0 0 1px; font-size: 13px; color: var(--ink-soft); }
  .phead .pdt:empty { display: none; }
  .phtb .phs { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; margin-right: 14px; padding: 4px;
    color: var(--link-action); }
  html:not(.pc) .solk { display: none; }
}
/* [1350_PA-F]: the group of the screen shows on the three devices now (sheet of the iPhone, floating menu of the iPad and the PC) */

/* g (pt 14) — the band on the left (PC, iPad, drawer): « Notées récemment » and « Vue d'ensemble » are plain lines (icon, name,
   count), no frame; the screen in use has an orange stroke (the colour of the brand) on its left */
.side-ovw { border: 0 !important; background: none; margin: 0; padding: 7px 12px; border-radius: var(--radius-ctl); }
.side-ovw .n { font-variant-numeric: tabular-nums; }
.side-link.on, .side-ovw.on, .side-theme.on { background: rgba(255, 255, 255, .12); box-shadow: inset 3px 0 0 #e8700a; }

/* h (pt 14) — Réglages › Barre du bas de l'iPhone: the bar drawn, four places round « + »; a touch on a place opens the list of
   the system to choose its screen */
.phbset.v49bar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 0; background: var(--surface-sub);
  border: 1px solid var(--line); border-radius: 16px; padding: 6px; }
.v49bar .bslot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--link-action);
  font-size: 10.5px; font-weight: 600; padding: 6px 0 5px; border-radius: 12px; border: 1px dashed #b9c6d6; margin: 0 3px;
  background: var(--surface); cursor: pointer; min-width: 0; text-align: center; }
.v49bar .bslot svg { width: 21px; height: 21px; }
.v49bar .bslot small { color: var(--ink-soft); font-size: 9px; font-weight: 500; }
.v49bar .bslot select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; padding: 0; }
.v49bar .pl { justify-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--btn-principal); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 300; }

/* T11 (constat d'Alain 2026-11-12, addendum 1) — Réglages: a line keeps its place whether at its default or not — the label on the
   left, the choices right after it; « revenir au défaut » comes after them, at the end of the line (app.js puts it after the bar);
   a long label goes on two lines, never cut */
.rrow .lk2 { white-space: normal; line-height: 1.2; }
.rrow .reset-btn { margin-left: auto; margin-right: 0; }

/* ═════ [1226_PA-C] v50 — Aujourd'hui strict, cases, horizon des échéances ═════ */
/* T6: « N tâches sans créneau · Vue d'ensemble › », one line at the bottom of « Aujourd'hui », before « Demain » */
.restl { display: block; font-size: 14px; color: var(--link-action); padding: 10px 4px 12px; text-decoration: none; }
.restl b { font-weight: 600; }
/* T2, T3 (v50, note [1226_PA] pts 17, 19, 20): the settings of a task in cases — « + », the bar of capture, the fiche */
form[data-pa-cases] .pv1, form[data-pa-cases] .cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: stretch; margin-top: 8px; }
form[data-pa-cases] .pv1 > .pvf, form[data-pa-cases] .cgrid > .pvf { display: block; grid-column: span 6; min-width: 0; }
form[data-pa-cases] .pv1 > .pvf[hidden], form[data-pa-cases] .cgrid > .pvf[hidden], form[data-pa-cases] .cgrid > .cplan[hidden] { display: none; }
form[data-pa-cases] .pv1 > .pf-ic, form[data-pa-cases] .cgrid > .cplan, form[data-pa-cases] .pv1 .icrow, form[data-pa-cases] .cgrid .icrow { display: contents; }
form[data-pa-cases] .pvf.enh > label, form[data-pa-cases] .pvf.enh > input, form[data-pa-cases] .pvf.enh > select, form[data-pa-cases] .pvf.enh > datalist { display: none; }
form[data-pa-cases] .pvf.enh.typing > input { display: block; height: 50px; width: 100%; }
form[data-pa-cases] .pvf.enh.typing > .pvw { display: none; }
form[data-pa-cases] .pvw { display: block; width: 100%; }
form[data-pa-cases] .c-full { grid-column: span 12 !important; }
form[data-pa-cases] :is(.pv1, .cgrid) > .pvf.c-n { grid-column: span 5; }
form[data-pa-cases] :is(.pv1, .cgrid) > .pvf.c-c { grid-column: span 7; }
form[data-pa-cases] .ib.tl { grid-column: span 6; min-width: 0; }
form[data-pa-cases] .ib.tl[hidden] { display: none; }
form[data-pa-cases] .tl { position: relative; width: 100%; height: 50px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; cursor: pointer;
  text-align: left; font: inherit; white-space: normal; color: var(--ink); }
form[data-pa-cases] .tl .tl-l { font-size: 11.5px; color: var(--ink-soft); display: flex; gap: 5px; align-items: center; white-space: nowrap; font-weight: 400; }
form[data-pa-cases] .tl .tl-l svg { width: 13px; height: 13px; flex: none; color: var(--ink-soft); opacity: 1; }
form[data-pa-cases] .tl .tl-l .npi { width: 13px; display: inline-flex; } form[data-pa-cases] .tl .tl-l .npi svg { width: 13px; height: 13px; }
form[data-pa-cases] .tl .tl-v { font-size: 14.5px; font-weight: 600; color: var(--link-action); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
form[data-pa-cases] .tl .tl-v .fam { color: var(--case-fam); font-weight: 400; }
form[data-pa-cases] .tl .tl-v .rs { font-weight: 500; }
form[data-pa-cases] .tl.empty { border-color: var(--case-vide-bord); }
form[data-pa-cases] .tl.empty .tl-v, form[data-pa-cases] .tl.empty .tl-l, form[data-pa-cases] .tl.empty .tl-l svg { color: var(--ink-vide); font-weight: 400; }
form[data-pa-cases] .tl.on, form[data-pa-cases] .tl[aria-expanded="true"] { border-color: var(--line); color: var(--ink); }
form[data-pa-cases] .tl[aria-expanded="true"] { border-color: var(--accent); }
form[data-pa-cases] .ib.tl .xx { position: absolute; top: 6px; right: 6px; }
/* « Ajouter une note » / « Note · 3 lignes »: a discreet link under the cases */
form[data-pa-cases] .pvnote { grid-column: span 12; justify-self: start; height: auto; border: 0; background: none; padding: 2px 4px; color: var(--link-action);
  font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
form[data-pa-cases] .pvnote .car { display: none; }
form[data-pa-cases] .pvnote.dim, form[data-pa-cases] .pvnote.dim .nl, form[data-pa-cases] .pvnote.dim svg { color: var(--link-action); }
form[data-pa-cases] .pvnote svg { width: 15px; height: 15px; color: var(--link-action); }
/* T3: the fiche of a task — title in large (22 px, bold), without frame; the pin on the right of the title */
form.m4[data-pa-cases] { background: none; border: 0; box-shadow: none; padding: 0; }
.m4trow { display: flex; align-items: flex-start; gap: 10px; }
.m4trow > .m4tt { flex: 1; }
form.m4[data-pa-cases] .m4tt { border: 0; background: none; box-shadow: none; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; padding: 2px; }
form.m4[data-pa-cases] .ib.tpin { flex: none; width: 36px; height: 36px; min-width: 36px; padding: 0; border-radius: 10px; display: inline-flex; align-items: center;
  justify-content: center; color: var(--ink-vide); border-color: var(--line); background: var(--surface); }
form.m4[data-pa-cases] .ib.tpin[hidden] { display: none; }
form.m4[data-pa-cases] .ib.tpin .v { display: none; }
form.m4[data-pa-cases] .ib.tpin svg { width: 18px; height: 18px; }
form.m4[data-pa-cases] .ib.tpin.on { color: var(--link-action); border-color: var(--accent); background: var(--accent-fill); }
.m4nh { display: none; }
/* the note: a white block titled « Note », the micro and the pencil on the line of its title */
form.m4[data-pa-cases] .m4nb { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05); padding: 12px 14px; }
form.m4[data-pa-cases] .m4nb[hidden] { display: none; }
form.m4[data-pa-cases] .m4nh { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); min-height: 24px; line-height: 24px; }
form.m4[data-pa-cases] .m4rd { position: static; background: none; border: 0; padding: 0; }
form.m4[data-pa-cases] .m4edb { top: 9px; right: 10px; border: 0; background: none; color: var(--link-action); }
form.m4[data-pa-cases] .m4mic { top: 9px; right: 42px; border: 0; background: none; color: var(--link-action); }
form.m4[data-pa-cases] .m4nb:not(:has(.m4rd:not([hidden]))) .m4mic { right: 10px; }
form.m4[data-pa-cases] .m4mic.on { background: var(--link-action); color: var(--accent-ink); }
form.m4[data-pa-cases] .m4rt { font-size: 15.5px; }
.m4add[hidden] { display: none; }
form.m4[data-pa-cases] .m4add { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--link-action); padding: 2px 4px; }
form.m4[data-pa-cases] .m4add svg { width: 15px; height: 15px; }
form.m4[data-pa-cases] .cgrid { margin-top: 0; }
/* T14 (constat du 2026-11-12 et 13): the sign of waiting comes at once (app.js `navStart`) — the bar above an open sheet */
.pa-waitbar { z-index: 9999; }
/* T10 (RETOUR [1226_PA-B] pt 1): on the iPad the left bar is narrow — the icon of « Notées récemment » shrank with its long
   name (flex item); the icons of the two lines keep their 16 px, the name is cut instead */
.side-ovw .ol svg { flex: none; width: 16px; height: 16px; }
.side-ovw .olt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== [1226_PA-D] fiche d'une liste et d'une lecture en cases (simulator v51 rév. 3, note [1226_PA] pts 36, 39, 40) ===== */
/* T6 b (RETOUR [1226_PA-C], écart 2): « Notées récemment » entire beside a number of two digits in the left bar (220 px) */
.side-ovw { padding-left: 10px; padding-right: 10px; gap: 6px; }
.side-ovw .ol { gap: 6px; }
.side-ovw .olt { font-size: 13px; }
/* T5: the link under the title of « Notées récemment » */
.solrec { display: inline-block; padding: 2px 4px 10px; font-size: 14px; color: var(--link-action); text-decoration: none; }
.solrec b { font-weight: 600; }
/* T2: the fiche of a list — the title large and without a frame, the articles in a white block, the cases under them */
form.lstf[data-pa-cases] { display: flex; flex-direction: column; gap: 12px; }
form.lstf[data-pa-cases] .lbox { background: var(--surface); border: 0; border-radius: 14px; margin: 0; padding: 8px 14px 10px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05); }
html.nocad form.lstf[data-pa-cases] .lbox { background: none; box-shadow: none; padding: 8px 0 10px; border-top: 1px solid #d9dce1; border-radius: 0; }
form.lstf[data-pa-cases] .m4gs { padding-top: 0; }
/* T3: « Réglages de la liste » — a white block under the articles */
.lreg { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.lreg .lregh { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.lreg .lrr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; margin: 0; font-weight: 400; }
.lreg .lrh { margin: 0 0 4px; padding: 0 0 8px; font-size: 13px; color: var(--ink-soft); line-height: 1.35; border-bottom: 1px solid var(--chip-bg); }
.lreg .lseg { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border-radius: calc(var(--radius-ctl) - 2px);
  font-size: 14px; font-weight: 500; cursor: pointer; margin: 0; color: #3b4654; }
.lreg .lseg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lreg .lseg.cur, .lreg .lseg:has(input:checked) { background: var(--surface); color: var(--link-action); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.lreg .lsw { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; min-height: 0; border-radius: 13px; background: #c7ccd3; border: 0;
  position: relative; cursor: pointer; padding: 0; margin: 0; flex: none; }
.lreg .lsw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--surface); transition: left .15s; }
.lreg .lsw:checked { background: var(--accent); }
.lreg .lsw:checked::after { left: 21px; }
.lreg .lout { align-self: flex-start; color: #b42318; }
.lreg .m4g { align-self: flex-start; }
html.nocad .lreg { background: none; box-shadow: none; padding: 10px 0; border-top: 1px solid #d9dce1; border-radius: 0; }
/* « Supprimer la liste… » : a red link at the bottom of the fiche */
.ldel { align-self: flex-start; font-size: 14px; color: var(--danger) !important; padding: 4px; text-decoration: none; cursor: pointer; }
/* T4: a reading in cases — the progress in a white block, the link a case on the whole row */
form.lect .m4av { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05); padding: 12px 14px; }
form.lect .m4av .m4l { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
html.nocad form.lect .m4av { background: none; box-shadow: none; padding: 8px 0; }
form.lect details.v51hid > summary { display: none; }
form.lect details.v51hid:not([open]) { display: none; }
form.lect .m4fav { grid-column: span 12; }

/* ================================================================ [1700_PA-B] */
/* T2 — the bottom bar in the middle of the screen (iPhone, installed app; capture of Alain 2026-11-13 19:02): iOS can leave the
   visible window lower than the page's window once the keyboard is closed; app.js (`setupVueVisible`) then puts html.vv-decale
   and the two gaps, and the fixed elements follow the visible window. Their drawing does not change */
html.vv-decale .tabs { transform: translateY(var(--pa-vvb, 0px)); }
html.vv-decale body.shell::before { transform: translateY(var(--pa-vvh, 0px)); }
@media (max-width: 599px) {
  html.vv-decale .wrap > .phtb, html.vv-decale .jour > .phtb { top: calc(env(safe-area-inset-top) + var(--pa-vvh, 0px)); }
  html.vv-decale .wrap > .search-page > .rfield { top: calc(env(safe-area-inset-top) + 40px + var(--pa-vvh, 0px)); }
}
/* T5 (pts 44-46, 52; micro-maquette v52b) — the line of a task, every list (Lecture too):
   a. the round or the icon in the middle of the line's height while the title holds on 4 lines (app.js puts li.long beyond:
      then at the height of the first line, as before);
   b. the « ⋯ » takes the right margin of the first line only: out of the flow, at its old place (top right), and a float as
      wide as it at the start of the title keeps the first line clear; from the second line on, the title, the number and the
      line of the theme go to the edge. The touch of « ⋯ » does not change */
li.row.el, li.row.sol { position: relative; }
li.row.el:not(.long) > :is(form.ckf, .nsg, span.ck) { align-self: center; }
li.row.el > .dots, li.row.el > details.lmore, li.row.sol > .dots { position: absolute; right: 0; }
li.row.el:has(> .dots, > details.lmore) .label::before, li.row.sol .label::before {
  content: ""; float: right; width: 34px; height: 1.2em; }
html.dens-compact li.row.el .label::before { display: none; }
li.row.el > details.lmore > .pm { right: 0; }
/* T6 (micro-maquette v52a, option 2 retenue, pt 53) — « Soldés récemment »: the title over the whole width, a « ⋯ » on the right */
li.row.sol { display: block; padding: 8px 0; }
li.row.sol .txt { display: block; }
li.row.sol .label { display: inline; }
li.row.sol .meta { display: block; margin-top: 2px; }
li.row.sol > .dots { top: 2px; }
/* T3 (simulator v52, micro-maquette v52c; charte § 3 terdecies: the cases of [1226_PA-C], [1226_PA-D]) — the fiche of a meeting in cases:
   the tabs as a segment, the blocks white, the case « Avec » with « N réunions passées › » on its right */
form.m4.reunion[data-pa-cases] { display: flex; flex-direction: column; gap: 12px; }
form.m4.reunion[data-pa-cases] .rseg { margin: 2px 0 0; background: #e9ebee; border: 0; border-radius: 10px; padding: 3px; gap: 2px; }
form.m4.reunion[data-pa-cases] .rseg a { font-size: 14px; padding: 7px 4px; border-radius: 8px; color: var(--ink-soft); }
form.m4.reunion[data-pa-cases] .rseg a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.12); }
form.m4.reunion[data-pa-cases] .rseg a i { display: none; }
form.m4.reunion[data-pa-cases] .rseg a .rn { display: inline; }
form.m4.reunion[data-pa-cases] .rpane:not([hidden]) { display: flex; flex-direction: column; gap: 12px; }
form.m4.reunion[data-pa-cases] .rbloc { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05);
  padding: 12px 14px; }
form.m4.reunion[data-pa-cases] .rbloc .lbox { border: 0; background: none; padding: 0; margin: 0; }
form.m4.reunion[data-pa-cases] .rbh { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
form.m4.reunion[data-pa-cases] .rpane > .hint { margin: 0 4px; }
form.m4.reunion[data-pa-cases] .cited { margin: -4px 4px 0; }
html.nocad form.m4.reunion[data-pa-cases] :is(.rbloc, .m4nb) { background: none; box-shadow: none; padding: 10px 0; border-top: 1px solid #d9dce1; border-radius: 0; }
/* the case « Avec »: drawn as a case (label above, the names below), the field kept for writing; the link on the right */
form[data-pa-cases] .cgrid > .ravec.rcase { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px 6px; min-height: 50px; }
form[data-pa-cases] .ravec.rcase > label { grid-column: 1; font-size: 11.5px; color: var(--ink-soft); }
form[data-pa-cases] .ravec.rcase > input[data-pa-avec] { grid-column: 1; border: 0; padding: 0; min-height: 22px; font-size: 14.5px; font-weight: 600;
  color: var(--link-action); background: none; min-width: 0; }
form[data-pa-cases] .ravec.rcase > .rpass { grid-column: 2; grid-row: 1 / span 2; font-size: 13.5px; color: var(--link-action); white-space: nowrap; padding: 4px 0; min-height: 0; }
form[data-pa-cases] .ravec.rcase > .avsug { grid-column: 1 / -1; }
/* « Partager » on the line of the title of the report, left of the micro (« Copier » on the PC) */
form.m4[data-pa-cases] .rnb .rshare { position: absolute; top: 9px; right: 76px; font-size: 13.5px; color: var(--link-action); padding: 2px 4px; min-height: 0; }
form.m4[data-pa-cases] .rnb { position: relative; }
.rshare .rsh-c { display: none; }
html:not(.touch) .rshare .rsh-t { display: none; }
html:not(.touch) .rshare .rsh-c { display: inline; }
/* the sheet « Réunions avec … » (v52c ②) */
.rpass-bg[hidden] { display: none; }
.rpass-bg .rpl { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-top: 1px solid var(--chip-bg); color: var(--ink); text-decoration: none; text-align: left; }
.rpass-bg .rpl svg { flex: none; color: var(--ink-soft); }
.rpass-bg .rpt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rpass-bg .rpt b { font-weight: 500; font-size: 15px; }
.rpass-bg .go { color: var(--ink-faint); }
.rpass-bg .hint { padding: 6px 4px 2px; margin: 0; }
/* T9 c (micro-maquette v52d ①) — « Directs » in « Aujourd'hui », just after Échéances; the colours are the tokens of the danger
   (EN DIRECT, the dot of the title), no new colour */
.card.dirs h2 { display: flex; align-items: baseline; justify-content: space-between; }
.dirt { display: inline-flex; align-items: center; gap: 8px; }
.dirdot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex: none; }
li.row.dir { position: relative; align-items: center; gap: 4px; padding: 6px 0; }
li.row.dir > .dirpl { flex: none; width: 34px; display: inline-flex; justify-content: center; color: var(--ink-soft); }
li.row.dir > .dirpl svg { width: 20px; height: 20px; }
li.row.dir > .txt { text-decoration: none; color: var(--ink); padding-top: 0; }
li.row.dir .label { font-size: 16px; line-height: 1.3; }
li.row.dir .meta { display: block; }
li.row.dir > .dots { position: absolute; right: 0; top: 2px; }
li.row.dir .label::before { content: ""; float: right; width: 34px; height: 1.2em; }
.dh { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dlive { font-weight: 700; font-size: 11.5px; letter-spacing: .03em; color: var(--accent-ink); background: var(--danger); border-radius: 5px; padding: 1px 6px; }
html:not(.nocad) .card.dirs li.row.dir + li.row.dir::before { content: ""; position: absolute; top: 0; left: 38px; right: 0; border-top: 1px solid var(--chip-bg); }
html:not(.nocad) .card.dirs li.row.dir { border-top: 0; }
/* T9 e (v52d ③): the sheet « Rattacher à une tâche » */
.dirsh .dirsub { font-size: 13px; color: var(--ink-soft); padding: 0 12px 8px; }
.dirsh .dirq { margin: 4px 12px 8px; width: calc(100% - 24px); min-height: 40px; font-size: 16px; }
.dirsh .dirres { display: flex; flex-direction: column; max-height: 50vh; overflow-y: auto; }
.dirsh .dirt-r { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 0; border-top: 1px solid var(--chip-bg);
  background: none; padding: 10px 12px; min-height: 0; cursor: pointer; color: var(--ink); }
.dirsh .dirt-r.best { background: var(--accent-fill); }
.dirsh .dirt-r .t { font-size: 15px; } .dirsh .dirt-r .m { font-size: 12.5px; color: var(--ink-soft); }
.dirsh .hint { padding: 8px 12px; margin: 0; }
/* T9 g (v52d ⑤): Référentiels › Sources suivies — a card per source */
.srcbox .srcc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; display: flex;
  flex-direction: column; gap: 8px; }
.srcn { display: flex; align-items: baseline; gap: 8px; }
.srcn b { font-size: 16px; } .srcn .h { font-size: 13px; color: var(--ink-soft); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srcx { color: var(--ink-soft); display: inline-flex; padding: 4px; }
.srcseg .lsegs { display: inline-flex; background: var(--surface-group, #f3f5f8); border-radius: var(--radius-ctl); padding: 3px; gap: 2px; }
.srcseg .lseg { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: calc(var(--radius-ctl) - 2px); font-size: 14px; cursor: pointer; color: #3b4654; position: relative; }
.srcseg .lseg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.srcseg .lseg.cur, .srcseg .lseg:has(input:checked) { background: var(--surface); color: var(--link-action); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.srcc .kws { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.srcc .kwf { display: inline; margin: 0; }
.srcc .kw { border: 1px solid var(--line); background: var(--accent-fill); color: var(--link-action); border-radius: 14px; padding: 3px 10px; font-size: 13.5px; min-height: 0; }
.srcc .kwadd { display: inline-flex; gap: 6px; } .srcc .kwadd input { width: 130px; min-height: 32px; font-size: 14px; }
.srcsw .lrr { display: flex; align-items: center; gap: 10px; font-size: 15px; justify-content: space-between; }
.srcsw .lrr .hint { flex: 1; font-size: 12.5px; }
.srcsw .lsw { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; min-height: 0; border-radius: 13px; background: #c7ccd3; border: 0;
  position: relative; cursor: pointer; padding: 0; margin: 0; flex: none; }
.srcsw .lsw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--surface); transition: left .15s; }
.srcsw .lsw:checked { background: var(--accent); } .srcsw .lsw:checked::after { left: 21px; }
.srcerr { color: var(--danger); font-size: 13px; margin: 0; }
.srcdel { border: 1px solid var(--danger); border-radius: 10px; padding: 8px 10px; } .srcdel p { margin: 0 0 8px; font-size: 14px; }
.srcadd { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; } .srcadd label { color: var(--link-action); font-weight: 600; font-size: 15px; }
.srcaddr { display: flex; gap: 8px; } .srcaddr input { flex: 1; min-width: 0; }
.srclast { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; }
/* the tabs of Référentiels on the iPhone: five places in one row since « Sources » [1700_PA-B] T9 g */
@media (max-width: 599px) { .ref-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ref-tabs a, .ref-tabs .soon { font-size: 12.5px; } }
.srcsw .lrr { font-weight: 400; flex-wrap: wrap; }
.srcsw .lrr .hint { flex: 1 1 100%; order: 3; margin: 0; }
/* T7 (RETOUR [1226_PA-D] pt 2): « ⓘ » on a touch device — iOS sends the touch to the page only on an element it takes for clickable
   (cursor: pointer), and the bubble lives in the window (app.js `infoPlacer` sets its top), never against a far ancestor */
html.touch .infow { cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.touch .infow .itip { position: fixed; left: 12px; right: 12px; top: auto; width: auto; max-width: none; z-index: 70; }

/* ================================================================ [1700_PA-C] T2 (micro-maquette v52f, pt 68)
   Page of a theme on a PC (and the iPad in landscape): the block of the tasks without a slot, when it is alone on its row
   (the theme has no slot), takes the whole width, like Échéances; with slots, the columns do not change. */
html.pc .groups > .card.nocre:only-child { grid-column: 1 / -1; }

/* [1700_PA-C] T3 (micro-maquette v52g, variante B, pt 69): on a touch device « Partager » is the icon `share`, a button of 30 px
   like the micro and the pencil, left of the micro; « Copier » on the PC unchanged (the word) */
html.touch form.m4[data-pa-cases] .rnb .rshare { top: 9px; right: 74px; width: 30px; height: 30px; padding: 0; display: inline-flex;
  align-items: center; justify-content: center; }
html.touch form.m4[data-pa-cases] .m4nb:not(:has(.m4rd:not([hidden]))) .rshare { right: 42px; }
.rshare .rsh-t svg { display: block; }

/* [1700_PA-C] T1 (micro-maquette v52e): « Raccourcis de l'iPhone » in Réglages — on the iPhone and the iPad in portrait a line
   per shortcut (name, what it does, « Installer »); on the PC (and the iPad in landscape) a QR code per shortcut, that the camera
   of the iPhone opens; the iPad in landscape keeps « Installer » too (it installs on itself) */
.racc .racc-row { display: flex; align-items: center; gap: 12px; }
.racc .racc-row .x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.racc .racc-row .tt { font-weight: 600; }
.racc .rinst { white-space: nowrap; }
/* [1700_PA-D] v52h: « Dernier envoi » (green) / « Jamais utilisé » (amber); « Réinstaller » discreet, « Installer » primary.
   T3 (pt 76): the card on the iPhone and the iPad only (portrait and landscape: `touch` is the device, `pc` only a layout);
   on a PC a line that sends to the iPhone, no QR code. */
.racc .rq-ok { color: var(--id-vert-ink); font-weight: 600; }
.racc .rq-no { color: var(--warn-ink); font-weight: 600; }
.racc .rinst.primary { width: auto; margin: 0 0 0 4px; min-height: 36px; padding: 0 14px; border: 0; background: var(--btn-principal); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.racc-pc { margin: 4px 2px 14px; }
.racc .rinst.sec { background: var(--surface); color: var(--link-action); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-weight: 500; text-decoration: none; }
html:not(.touch) .racc { display: none; }
html.touch .racc-pc { display: none; }
.racc-inst .primary { display: inline-block; margin: 8px 0; text-decoration: none; }
.racc-dl { margin: 6px 0 0; padding-left: 18px; line-height: 1.9; }

/* ---------------------------------------------------------------- [0007_PA-A] Office 365, agenda, ménage, créneaux, natures
   (micro-maquettes COM-A, COM-B, COM-C, validated by Alain 2026-11-14). No new colour: the tokens of the ecosystem. */
/* the card Office 365 and its screens (COM-A ① ⑥) */
#office365 .o3row .tt { font-weight: 500; }
#office365 .o3err { color: var(--loss); }
#office365 .o3org select { min-height: 34px; max-width: 220px; }
#office365 .o3org input[type="time"] { min-height: 34px; width: 110px; }
.o3page .o3back { margin: 0 0 8px; font-size: 14px; } .o3page .o3back a { color: var(--link-action); text-decoration: none; }
.o3b .o3us { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.o3b .o3us form { display: inline; margin: 0; }
.o3b .o3us .chip { min-height: 30px; font-size: 13px; padding: 3px 10px; }
.o3b .o3us .chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.o3b .meta { margin: 6px 0 0; font-size: 13px; }
.o3doss { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; }
.card label.o3dos, .o3dos { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 0; font-size: 15px; font-weight: 400; }
/* the shift of a subfolder: classes, never a style attribute (the CSP refuses inline styles) */
.card label.o3p1 { padding-left: 18px; } .card label.o3p2 { padding-left: 36px; } .card label.o3p3 { padding-left: 54px; }
.card label.o3p4 { padding-left: 72px; } .card label.o3p5 { padding-left: 90px; } .card label.o3p6 { padding-left: 108px; }
.o3dos input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 0; padding: 0; }  /* the folders of a box: a small case before the name, subfolders shifted (the rules of .card label and input won before) */
.o3dos .meta { font-size: 12.5px; }
.o3add .o3f, .agnew .o3f { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.o3add .o3f > *, .agnew .o3f > span { min-width: 0; }
.o3add .o3f input { flex: 1 1 200px; }
.o3x svg { display: block; }
/* the block « Agenda » of Aujourd'hui (COM-A ②): the hour on the left, struck when cancelled, grey when past */
.card.agenda h2 { display: flex; align-items: baseline; justify-content: space-between; }
.card.agenda .agt { display: inline-flex; align-items: center; gap: 6px; }
.card.agenda li.row.agev { display: flex; align-items: flex-start; gap: 10px; }
.card.agenda .agh { flex: 0 0 46px; display: flex; flex-direction: column; font-size: 13px; color: var(--link-action); font-variant-numeric: tabular-nums; padding-top: 2px; }
.card.agenda .agh span + span { color: var(--ink-soft); font-size: 12px; }
.card.agenda .agev .txt .label, .card.agenda .agev .txt .meta { display: block; }  /* the place under the title, never stuck to it */
.card.agenda .agev a.txt { color: var(--ink); text-decoration: none; }  /* a line of the agenda reads like a line of tasks, not a raw link */
.card.agenda .agev a.txt .meta { color: var(--ink-soft); }
.card.agenda li.agx .label, .card.agenda li.agx .agh { text-decoration: line-through; color: var(--ink-soft); }
.card.agenda li.agpast { opacity: .55; }
.agprep { color: var(--link-action); font-weight: 600; }
.agann { color: var(--loss); }
.agnr { color: var(--warn-ink); }
/* the sheet of an event (COM-A ③), « Ajouter à l'agenda » (⑤) */
.agsheet .agq { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.agsheet .aggest { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.agsheet .aggest .bb, .agsheet .aggest form.agf .bb { display: block; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); padding: 11px 12px; font-size: 15.5px; color: var(--link-action); text-decoration: none; }
.agsheet .aggest .bb .meta { display: block; font-size: 12.5px; color: var(--ink-soft); }
.agsheet .aggest .bb.dng { color: var(--loss); }
.agsheet form.agf { margin: 0; }
.agsheet .agrep { display: flex; gap: 8px; } .agsheet .agrep form { flex: 1; } .agsheet .agrep .b { width: 100%; }
.agsheet .agdep summary { list-style: none; cursor: pointer; } .agsheet .agdep summary::-webkit-details-marker { display: none; }
.agsheet .agdep .o3f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.agnew label { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.agnew input[name="titre"], .agnew input[name="lieu"], .agnew input[name="autres"] { width: 100%; }
.agnew .agfs { border: 0; padding: 0; margin: 12px 0 0; } .agnew .agfs legend { font-size: 13px; color: var(--ink-soft); padding: 0; }
.agnew .agsans { color: var(--warn-ink); }
.agnew .agbt { display: flex; flex-wrap: wrap; gap: 8px; }
/* the case « Événement Office 365 » of a meeting (COM-A ④) */
.agcase { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.agcase .agcl { font-size: 12px; color: var(--ink-soft); flex-basis: 100%; }
.agcase a { color: var(--link-action); text-decoration: none; font-size: 15px; }
.agcase.agvide a { color: var(--ink-soft); }
/* the ménage of the day (COM-B ③) */
.restl.menl { padding-top: 4px; }
.menl-f .menl-g { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--chip-bg); }
.menl-f .menl-g:first-of-type { border-top: 0; }
.menl-f .menl-g input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 20px; }
.menl-f .menl-g .x { display: flex; flex-direction: column; min-width: 0; } .menl-f .menl-g .meta { font-size: 12.5px; }
.menl-f details.menl-plus summary { color: var(--link-action); cursor: pointer; padding: 9px 0; }
.mlrg a { color: var(--link-action); }
/* Référentiels › Créneaux (COM-C) */
.crbox .rxlist { list-style: none; margin: 0; padding: 0; }
.crbox .crrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--chip-bg); }
.crbox .crrow:first-child { border-top: 0; }
.crbox .crrow .g { color: #c7ccd3; flex: 0 0 auto; }
.crbox .crrow .rxn { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.crbox .crrow .rxn b { font-weight: 500; font-size: 15.5px; } .crbox .crrow .rxn .meta { font-size: 12.5px; }
.crbox .crrow .ch { color: var(--ink-soft); }
.crbox .crlock { font-size: 11.5px; font-weight: 400; color: var(--ink-soft); background: var(--chip-bg); border-radius: 8px; padding: 1px 7px; margin-left: 6px; }
.crbox .crmvs { display: inline-flex; gap: 2px; } .crbox .crmvs form { margin: 0; }
.crbox .crmv { min-height: 30px; min-width: 30px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--ink-soft); font-size: 12px; }
.crbox .cradd { margin-top: 10px; display: inline-block; }
.crsheet .crform label { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.crsheet .crform input[name="nom"] { width: 100%; }
.crsheet .crjs { border: 0; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crsheet .crjs legend { font-size: 13px; color: var(--ink-soft); padding: 0; margin-bottom: 4px; }
.crsheet .crj { display: inline-flex; align-items: center; justify-content: center; position: relative; }
.crsheet .crj input { position: absolute; opacity: 0; }
.crsheet .crj span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 17px;
  border: 1px solid var(--line); font-size: 14px; }
.crsheet .crj input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.crsheet .crtous span { padding: 0 12px; }
/* natures « Déplacement » and « Téléphone » (COM-B ⑤) */
.comc { margin-top: 8px; }
.resas { display: flex !important; flex-direction: column; gap: 4px; }
.resas .agcl { font-size: 12px; color: var(--ink-soft); }
.resa.ok { color: var(--link-action); text-decoration: none; } .resa.ko { color: var(--warn-ink); }
.resa svg, .resp svg { vertical-align: -2px; }
.resp { color: var(--warn-ink); } .resp.ok { color: var(--link-action); }
li.row .telk { align-self: center; font-size: 13.5px; color: var(--link-action); text-decoration: none; white-space: nowrap; padding: 4px 6px;
  font-variant-numeric: tabular-nums; }
/* the source « mails » (COM-B ④) and the type « Mails » of Lecture (COM-B ①) */
.srcm .srcdl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0; font-size: 14px; }
.srcm .srcdl dt { color: var(--ink-soft); } .srcm .srcdl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sv-mail { color: var(--link-action); }
.lsegs.pills a.lt-mail { --c: var(--accent); }   /* no colour of its own in the simulator: the accent */
/* corrections after the bench (2026-11-14): a zone hidden by its nature stays hidden in a grid; the case « Événement » framed */
form .azone.azcom { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; align-items: start; min-height: 0; }
form .azone.azcom > .pvf { display: flex; flex-direction: column; gap: 4px; height: auto; min-height: 0; border: 0; padding: 0; }
form .azone.azcom > .pvf label { font-size: 12px; color: var(--ink-soft); }
form .azone.azcom > .pvf input { width: 100%; min-height: 40px; }
form .azone.azcom .nhint { grid-column: 1 / -1; }
form .azone.azcom[hidden] { display: none; }
form[data-pa-cases] .cgrid.comc[hidden], .comc[hidden] { display: none; }
form[data-pa-cases] .cgrid > .agcase, form[data-pa-cases] .cgrid > .resas { grid-column: span 12; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); padding: 8px 12px; align-items: flex-start; text-align: left; }
.o3note { margin: 8px 0 0; font-size: 13px; }
.menl-f .menl-g .meta { font-weight: 400; }
.agnew label.o3dos { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; color: var(--ink); }
.agnew label.o3dos input { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 0; }
.agnew .lsegs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.agnew .lseg { display: inline-flex; align-items: center; gap: 6px; margin: 0; border: 1px solid var(--line); border-radius: 16px;
  padding: 6px 12px; font-size: 14.5px; color: var(--ink); background: var(--surface); }
.agnew .lseg input { width: 16px; height: 16px; min-height: 0; margin: 0; }
/* [0007_PA-B] COM-D — « Lettres du jour » (line of Aujourd'hui, cards, suggestion), Référentiels › Lettres d'information and
   › Messagerie; « partir à » (COM-A ②③) */
.restl.lettl { padding-top: 0; }
.restl.lettl .lettl-s { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.card.lettc { padding-bottom: 12px; }
.lettc .lettc-h { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.lettc .lettc-h .meta { font-size: 12.5px; }
.lettc .lettc-o { margin: 4px 0 6px; font-weight: 600; }
.lettc .lettc-t { list-style: disc; margin: 0 0 4px; padding-left: 18px; font-size: 14px; color: var(--ink-soft); }
.lettc .lettc-t li { margin: 2px 0; }
.lettc .bt, .lsug .bt { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lettc .bt form, .lsug .bt form { margin: 0; }
.lettc .bt .primary, .lettc .bt .b, .lsug .bt .primary, .lsug .bt .b { width: auto; margin: 0; min-height: 38px; padding: 8px 14px; }
.card.lsug { border-color: var(--accent); }
.lsug .lsug-n { margin: 0 0 4px; }
.lsug p { margin: 0; }
.lettall { margin: 12px 0 4px; }
.lettall .b { width: auto; }
.lexp { flex-wrap: wrap; }
.lexp .lexp-s { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lexp .lexp-s form { display: inline; margin: 0; }
.lexp .lexp-s .chip { min-height: 30px; font-size: 13px; padding: 3px 10px; }
.lexp .lexp-s .chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lexp .lexp-a { color: var(--warn-ink); }
.lexp details.lexp-m { position: relative; }
.lexp details.lexp-m summary { list-style: none; cursor: pointer; }
.lexp details.lexp-m summary::-webkit-details-marker { display: none; }
.lexp .lexp-pop { position: absolute; right: 0; z-index: 5; min-width: 240px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); padding: 6px; }
.lexp .lexp-pop form { margin: 0; }
.lexp .lexp-pop .bb { display: block; width: 100%; text-align: left; }
.lexp .lexp-pop .bb .meta { display: block; font-size: 12px; }
.msgr a.x { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-width: 0; flex: 1; }
.msgr .ch { color: var(--ink-soft); }
#office365 .o3dep input { min-height: 34px; width: 220px; max-width: 100%; }
/* [1437_PA] « Rythme des lectures »: one field per rhythm, label left, minutes right */
#office365 .o3rythmes { display: grid; gap: 6px; margin-top: 6px; }
#office365 .o3ry { display: flex; align-items: center; gap: 6px; font-size: 14px; }
#office365 .o3ry span { flex: 1; min-width: 0; }
#office365 .o3ry input { min-height: 34px; width: 72px; text-align: right; }
#office365 .o3rythmes .b { justify-self: start; }
.agpart { color: var(--link-action); font-weight: 600; }
p.agpart { margin: 4px 0 0; }

/* [1031_PA-A] (micro-maquette IA-A) — Réglages › IA, the « ⋯ » of a fiche, the proposal « Proposée | Original », Résumé du matin */
.iapage .iarow .act select { max-width: 12rem; }
.iapage .iakey { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.iapage .iacle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.iapage .iacle input[type=password] { flex: 1 1 14rem; min-width: 0; }
.iapage .iaacts { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 8px; }
.iapage .iarep { display: inline; }
.iapage .iarep[open] { display: block; width: 100%; }
.iapage .iahelp { margin: 12px 4px; }
.iapage .iaetat { margin: 4px 4px 12px; }
.link-btn.dng { color: var(--loss); }
.fmrow { display: flex; justify-content: flex-end; margin: 0 0 6px; }
.fmore { position: relative; }
.fmore > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px; border-radius: 10px; }
.fmore > summary::-webkit-details-marker { display: none; }
.fmore .fsheet { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; width: min(20rem, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.fmore .fsi { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px; border-radius: 8px;
  font: inherit; color: inherit; cursor: pointer; }
.fmore .fsi:hover:not(:disabled) { background: var(--surface-sub); }
.fmore .fsi:disabled { opacity: .45; cursor: default; }
.fmore .fsi b { display: block; font-weight: 600; }
.fmore .fsi .meta { display: block; }
.fmore .fsi.c { text-align: center; color: var(--link-action); border-top: 1px solid var(--border); border-radius: 0; }
.fmore .fsoff { margin: 4px 10px; }
.iaprop .iatitre { font-weight: 600; margin: 0 0 8px; }
.iatabs { display: flex; flex-wrap: wrap; gap: 0; }
.iatabs > input { position: absolute; opacity: 0; pointer-events: none; }
.iatabs > label { flex: 1 1 0; text-align: center; padding: 6px 10px; border: 1px solid var(--border); cursor: pointer; }
.iatabs > label:first-of-type { border-radius: 8px 0 0 8px; }
.iatabs > label:last-of-type { border-radius: 0 8px 8px 0; border-left: 0; }
.iatabs > input:checked + label { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.iatabs > input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.iatabs .iav { display: none; flex: 1 0 100%; margin-top: 10px; }
#iav-p:checked ~ .iav-p, #iav-o:checked ~ .iav-o { display: block; }
.iatxt { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.iaprop .iameta { margin: 10px 0 0; }
.iaref { display: block; }
.iapage .iarep > summary { list-style: none; display: inline; cursor: pointer; }
.iapage .iarep > summary::-webkit-details-marker { display: none; }
.iapage .iaech { list-style: none; margin: 0; padding: 0; }
.iapage .iaech li { padding: 6px 0; border-bottom: 0.5px solid var(--hairline); }
.iapage .iaech li:last-child { border-bottom: 0; }

/* [1031_PA-B] (micro-maquette IA-B v2) — Traces de l'IA, a trace (sent | came back side by side), Contexte envoyé */
.iapage .iaseg { display: flex; background: var(--surface-sub); border-radius: var(--radius-ctl); padding: 2px; margin: 0 0 10px; }
.iapage .iaseg a { flex: 1; text-align: center; padding: 6px 0; color: var(--ink-soft); border-radius: 7px; text-decoration: none; }
.iapage .iaseg a.cur { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.iapage .iatrs { list-style: none; margin: 0; padding: 0; }
.iapage .iatrs li { border-top: 0.5px solid var(--hairline); }
.iapage .iatrs li:first-child { border-top: 0; }
.iapage a.iatr, .iapage a.iatrl, .iapage a.iactxl { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; color: var(--ink);
  text-decoration: none; }
.iapage a.iactxl { padding: 0; }
.iapage a.iatr .x, .iapage a.iactxl, .iapage a.iatrl > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.iapage a.iatr .tt { line-height: 1.3; }
.iapage .ch { color: var(--ink-faint, #b9b9be); }
#ia-traces a.iatrl { display: flex; color: var(--ink); text-decoration: none; }
#ia-traces a.iatrl .meta { display: block; }
.iapage .iamore { margin: 10px 0 0; text-align: center; }
.iapage .iacmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.iapage .iacmp .card { margin: 0 0 10px; }
.iapage .iacmp h3 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.iapage .iacmp .iatxt { font-size: 14px; }
.iapage .iarouv { margin: 4px 0; }
.iapage .iarouv .b { width: 100%; justify-content: center; text-align: center; }
.iapage .kv a { color: var(--link-action); text-decoration: none; }
.iapage pre.iactx { white-space: pre-wrap; overflow-wrap: anywhere; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 6px 0 0; color: var(--ink); }

/* [1100_PA-A] T3 — the objects (maquette OBJ-A v2, validated by Alain 2026-11-15): ① Objets, ② ③ the fiche, ④ Référentiels ›
   Catégories d'objets. Lines of a white card, a 44 px thumbnail, the blocks of the template folded (<details>, the first open). */
.side-objets { margin: 0; }   /* [2008_PA-A] T6: right under « Sorties », as one more place (Anomalies iPad pt 4) */
html.iphone .side-objets { margin: 4px 0 2px; }
.ob-wrap { max-width: 760px; }
/* [2008_PA-A] T4 (maquette OBJ-E v2, validated 2026-11-16 21:43): badges of status — À vendre blue, Envisagé blue-green (⛔ no violet:
   it is kept for the functions of AI, Alain 2026-11-16 21:42), Sorti and Prêté grey; the filter « Possédés ▾ » and its sheet; « Nouvel
   objet » (status in segments, the lines Famille › and Catégorie ›); Référentiels › Objets (families, categories, grips) */
.ob-pill.bl { background: var(--accent-soft, #e3edfb); color: var(--accent, #1f5fbf); }
.ob-pill.tq { background: #dff1f1; color: #0e6b70; }
.ob-filtres { margin: 0 0 6px; }
.ob-stf { position: relative; display: inline-block; }
.ob-stf > summary { list-style: none; cursor: pointer; }
.ob-stf > summary::-webkit-details-marker { display: none; }
.ob-stpop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--surface); border-radius: var(--radius-card, 12px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .18); padding: 8px 0; }
.ob-stpop .h { font-weight: 600; padding: 4px 14px 0; }
.ob-stpop .hint { padding: 0 14px 4px; margin: 0; }
.ob-stl { display: flex; justify-content: space-between; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.ob-stl.on { color: var(--link-action); font-weight: 600; }
.ob-stl .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ob-neuf .ob-ph1 { width: 88px; height: 88px; display: inline-flex; align-items: center; justify-content: center; margin: 0 0 10px;
  font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.ob-neuf .ob-ph1 img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ob-ch { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; background: none; border: 0; color: var(--ink); font: inherit; padding: 6px 0; cursor: pointer; }
.ob-ch .vide { color: var(--ink-vide); }
.ob-ch .ch { color: var(--ink-vide); }
.ob-segs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.ob-seg { display: inline-flex; }
.ob-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ob-seg span { padding: 5px 10px; border-radius: 999px; background: var(--surface-2, #eef1f4); font-size: 14px; cursor: pointer; }
.ob-seg input:checked + span { background: var(--accent); color: var(--surface); }
.ob-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.obfams { margin: 6px 0 0; }
.obf { margin: 0 0 14px; background: var(--surface); }
.obf-h { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0; padding: 8px 0 6px; }
.obf-h .n { margin-left: auto; color: var(--ink-soft); font-weight: 400; font-size: 13px; }
.obf-c { display: flex; align-items: center; gap: 4px; padding-left: 14px; }
.obf-c .ob-li { flex: 1; min-width: 0; }
.obf .gp, .obf-c .gp { color: #a3abb6; display: inline-flex; flex: none; padding: 4px; }
.obf .gp svg { width: 18px; height: 18px; }
html.touch .obf .gp { min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
.obf .ob-add { margin-left: 14px; }
.ob-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.ob-top .callback { position: static; margin: 0; }
.ob-mod { color: var(--link-action); text-decoration: none; font-size: 16px; }
.ob-head h1 { font-size: 24px; }
.ob-head .ob-sub { color: var(--ink-soft); font-size: 13px; margin: 4px 0 0; }
.ob-head .ob-sub a { color: var(--link-action); }
.page-head .ob-plus { position: absolute; right: 0; top: 0; font-size: 26px; line-height: 1; color: var(--link-action); text-decoration: none; padding: 2px 4px; }
.ob-srch { margin: 0 0 8px; }
.ob-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.ob-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 10px; font-size: 13px; color: var(--ink-soft);
  text-decoration: none; }
.ob-chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ob-aide { margin: 0 0 4px; }
.ob-grp { margin: 0 0 10px; }
.ob-gr { font-size: 13px; color: var(--ink-soft); font-weight: 600; padding: 8px 4px 6px; margin: 0; display: flex; justify-content: flex-start;
  align-items: baseline; gap: 6px; }
.ob-gr .n { font-weight: 400; }
.ob-gr .r { margin-left: auto; font-weight: 400; color: var(--link-action); text-decoration: none; }
.ob-list { background: var(--surface); border-radius: var(--radius-card); overflow: hidden; }
.ob-list > .meta, .ob-list > p { padding: 10px 12px; margin: 0; }
.ob-li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none;
  min-height: 52px; }
.ob-list > .ob-li:first-child { border-top: 0; }
.ob-li .ob-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; color: var(--ink); text-decoration: none; }
.ob-li .t { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-li .m { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-li .r { margin-left: auto; font-size: 12px; text-align: right; flex: 0 0 auto; }
.ob-li .ch { color: var(--ink-faint); font-size: 18px; }
.ob-li .rxn { color: var(--ink-soft); font-size: 13px; }
.ob-ph { width: 44px; height: 44px; border-radius: var(--radius-ctl); background: var(--chip-bg); flex: 0 0 44px; overflow: hidden; display: flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.ob-ph img { width: 100%; height: 100%; object-fit: cover; }
.ob-pill { white-space: nowrap; background: var(--tag-neutre-bg); color: var(--tag-neutre-ink); border-radius: var(--radius-badge); padding: 1px 6px;
  font-weight: 600; font-size: 12px; }
.ob-pill.ok { background: var(--gain-bg); color: var(--gain); }
.ob-pill.am { background: var(--warn-bg); color: var(--warn-ink); }
.ob-pill.gr { background: var(--chip-bg); color: var(--ink-soft); }
/* [1437_PA-A] EMPL-A ⑦ (validated by Alain 2026-11-19): Remisé grey-mauve, Loué green, Suspendu orange-brown, the owner pink —
   ⛔ no violet: it is kept for the functions of AI [Alain 2026-11-16] */
.ob-pill.mv { background: #ece6ea; color: #6e5a66; }
.ob-pill.vt { background: #e1f3e4; color: #23733a; }
.ob-pill.ob { background: #f7e8d8; color: #8a4d17; }
.ob-pill.rs { background: #fbe4ef; color: #b23c74; }
.ob-li .r .ob-pill + .ob-pill { margin-left: 4px; }
.ob-proph { margin-top: 10px; }
/* [1437_PA-A] EMPL-A ②④: the lines of the tree (indented by depth), the sheet « Emplacement », a choice is a button */
.lieu-ic { width: 22px; text-align: center; color: var(--ink-soft); flex: none; }
.ob-li.lieu-p2 { padding-left: 28px; } .ob-li.lieu-p3 { padding-left: 44px; }
.lieu-ch { margin: 0; } .lieu-ch button.ob-li { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.lieu-ch button.ob-li.on { background: var(--accent-soft, #e3edfb); }
.ob-kl { color: inherit; text-decoration: none; }
.ent-prop .inline { margin-left: 6px; }
.ent-prive h2::before { content: ""; }
.ent-nouv { margin: 12px 0; }
.ent-nouv a, .ob-gr a:not(.r) { color: var(--link-action); text-decoration: none; font-weight: 600; }
.ob-bas { margin: 6px 4px 14px; font-size: 14px; }
.ob-bas a { color: var(--link-action); text-decoration: none; }
.ob-vide { padding: 8px 4px; }
.ob-photos { display: flex; gap: 8px; margin: 0 0 10px; overflow-x: auto; }
.ob-photo { width: 110px; height: 80px; flex: 0 0 110px; border-radius: 12px; background: var(--chip-bg); overflow: hidden; display: flex;
  align-items: center; justify-content: center; color: var(--link-action); font-size: 26px; text-decoration: none; }
.ob-photo img { width: 100%; height: 100%; object-fit: cover; }
.ob-photo.add { cursor: pointer; position: relative; }
.ob-photo.add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ob-ph-msg.err { color: var(--danger); }
.ob-phret { margin: -4px 0 10px; font-size: 13px; color: var(--ink-soft); }
.ob-phret form { display: inline-block; margin: 4px 6px 0 0; }
.ob-card { background: var(--surface); border-radius: var(--radius-card); padding: 8px 14px; margin: 0 0 10px; }
.ob-card h2 { margin: 4px 0; }
.ob-kv { display: flex; gap: 8px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.ob-card > .ob-kv:first-child, .ob-bloc .body > .ob-kv:first-child { border-top: 0; }
.ob-kv .k { color: var(--ink-soft); width: 140px; flex: 0 0 140px; }
.ob-kv .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ob-kv .v a, .ob-kv .v.lk { color: var(--link-action); }
.ob-chemin { color: var(--link-action); }
.ob-serie { display: inline; }
.ob-serie summary { list-style: none; cursor: pointer; color: var(--ink-soft); display: inline; }
.ob-serie summary::-webkit-details-marker { display: none; }
.ob-serie[open] summary { display: none; }
.ob-bloc { background: var(--surface); border-radius: var(--radius-card); padding: 0 14px; margin: 0 0 10px; }
.ob-bloc > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; font-size: 15.5px; font-weight: 600; }
.ob-bloc > summary::-webkit-details-marker { display: none; }
.ob-bloc > summary .r { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--ink-soft); text-align: right; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ob-bloc > summary .bt { flex: 0 0 auto; }
.ob-bloc > summary .car::after { content: "▸"; color: var(--ink-soft); font-size: 13px; font-weight: 400; }
.ob-bloc[open] > summary .car::after { content: "▾"; }
.ob-bloc[open] > summary .r { display: none; }
.ob-bloc .body { padding: 0 0 10px; }
.ob-note .nlue { white-space: pre-wrap; font-size: 14px; padding: 0 0 8px; }
.ob-li.tl .ob-tx { flex: 1; }
.ob-x { background: none; border: 0; color: var(--ink-soft); cursor: pointer; padding: 4px; }
.ob-lier { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 4px 0; font-size: 14px; color: var(--ink-soft); }
.ob-lier input { width: 90px; font: inherit; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); }
.ob-fin { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.ob-sup { background: var(--surface); border-radius: var(--radius-card); padding: 12px 14px; margin: 10px 0 20px; }
.ob-saisie .ob-f { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ob-saisie .ob-f:first-child { border-top: 0; }
.ob-saisie .ob-f .k { color: var(--ink-soft); width: 150px; flex: 0 0 150px; }
.ob-saisie .ob-f input, .ob-saisie .ob-f select, .ob-saisie .ob-f textarea { flex: 1; min-width: 0; font: inherit; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: var(--radius-ctl); background: var(--surface); color: var(--ink); }
.ob-saisie .ob-f.col { flex-direction: column; align-items: stretch; }
.ob-saisie .ob-f.col .k { width: auto; }
.ob-saisie .ob-f.nouv input:first-child { flex: 0 0 150px; }
.ob-bt { margin: 12px 0 24px; }
.ob-gab { border-top: 1px solid var(--line); }
.ob-bloc .body > .ob-gab:first-child { border-top: 0; }
.ob-gab > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 14px; cursor: pointer; }
.ob-gab > summary::-webkit-details-marker { display: none; }
.ob-gab .h { color: var(--ink-faint); }
.ob-gab .ty { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
.ob-gest { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 0 8px; }
.ob-gest form { margin: 0; }
.ob-add { background: var(--surface); border-radius: var(--radius-card); padding: 0 14px; margin: 0 0 10px; }
.ob-add > summary { padding: 12px 0; color: var(--link-action); cursor: pointer; list-style: none; }
.ob-add > summary::-webkit-details-marker { display: none; }
.ob-ref .ob-grp { margin: 6px 0 12px; }
.ob-ref .ob-list { border: 1px solid var(--line); }
@media (max-width: 599px) {
  .ob-kv .k, .ob-saisie .ob-f .k { width: 120px; flex-basis: 120px; }
}

/* ───────── [2242_PA-B] RG-A (simulator v53 r2): Réglages en rubriques ─────────
   iPhone (html.iphone): the list of the rubriques, as the Réglages of iOS; iPad in portrait (html.ipad.tactile): the list on the
   left (280 px), the rubrique on the right; PC and iPad in landscape (html.pc): the hub of tiles, a tile opens its rubrique with
   « Tous les réglages ». The cards do not change: they are sorted. */
.rg [hidden] { display: none !important; }
.rg .rgsrch { background: #e4e6ea; border-radius: 10px; padding: 0 12px; margin: 0 0 12px; max-width: 520px; display: flex; align-items: center; gap: 8px; }
.rg .rgq { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 9px 0; color: var(--ink); outline: none; }
.rg .rgq-ex { color: var(--ink-soft); font-size: 13px; display: none; white-space: nowrap; }
html.pc .rg .rgq-ex { display: inline; }
.rggrp { background: var(--surface); border-radius: 14px; margin: 0 0 14px; overflow: hidden; border: 1px solid var(--line); }
.rgrow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--chip-bg); color: var(--ink); text-decoration: none; }
.rgrow:first-child { border-top: 0; }
.rgrow.on { background: #e6effc; }
.rgic { color: var(--accent-ink); flex: 0 0 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.rgic svg { width: 18px; height: 18px; }
/* [2232_PA-A] T11 (Réglages V3 pt 7, Alain 2026-11-20 15:06): the squares of the rubriques are neutral (grey) — the colour stays for
   the uses that mean something in PA (the places of the bar, the types of Lecture, the violet of the AI) */
.rgic { background: #8a93a0; }
.rgtx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rgt { font-size: 16px; }
.rgm { font-size: 13px; color: var(--ink-soft); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rgch { color: #b9bec6; font-size: 20px; margin-left: auto; }
.rgtiles { display: none; }
.rgback { display: none; }
.rg-side { display: none; }
.rg-sec { margin: 0 0 6px; }
.rgsh { margin: 14px 2px 8px; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.rg-none { margin: 10px 2px; }
.rg.searching .rg-main { display: none; }
/* « Raccourcis de l'iPhone » exists on the iPhone and the iPad only (the PC has its line of reference in « Appareils et connexions ») */
html:not(.touch) .rg-touch { display: none !important; }
/* the cards of a rubrique, in the order of the rubrique */
.rg-det > .card, .rg-cards > .card { margin: 0 0 12px; }
.rg-det .reserved { margin: 0 0 12px; }
.itip ol.rgsteps { margin: 6px 0 8px; padding-left: 20px; } .itip ol.rgsteps li { margin: 3px 0; }
.racc h2 .itip { width: 300px; white-space: normal; }
.racc .rq-sub { margin: -2px 0 4px; color: var(--ink-soft); }
/* iPad in portrait: the list on the left (icons, no summary), the rubrique on the right */
html.ipad.tactile .rg-rub .rg-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
html.ipad.tactile .rg-side { display: block; }
html.ipad.tactile .rg-side .rgm { display: none; }
html.ipad.tactile .rg-side .rglt { font-size: 22px; margin: 0 0 10px; display: block; }
/* PC and iPad in landscape: the hub, then the rubrique */
html.pc .rg-index .rglist { display: none; }
html.pc .rg-index .rgtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1100px; }
html.pc .rgtile { background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06); min-height: 96px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); }
html.pc .rgtile:hover { border-color: #b9c8de; }
.rgth { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
/* [2242_PA-C] T3: « N modifiés » replaces the number of cards (simulator v53 r5 `.rgmod`) */
.rgmod { font-size: 11.5px; font-weight: 600; color: var(--link-action); background: #e6effc; border-radius: 8px; padding: 1px 7px; margin-left: 6px; white-space: nowrap; }
.rgmod[hidden] { display: none; }
/* [2242_PA-C] T4: the glyph on the tiles of the PC, the list of the iPad, the title of a rubrique (not on the iPhone) */
html.pc .rgtile .rgic { flex: 0 0 26px; height: 26px; border-radius: 7px; } html.pc .rgtile .rgic svg { width: 16px; height: 16px; }
.rgh1 { display: flex; align-items: center; gap: 10px; } .rgh1 .rgic { flex: 0 0 30px; display: none; }
html.ipad .rgh1 .rgic, html.pc .rgh1 .rgic { display: flex; }
.rg-side .rgic { flex: 0 0 26px; height: 26px; border-radius: 7px; } .rg-side .rgic svg { width: 16px; height: 16px; }
.rgsm { font-size: 12.5px; color: #44505e; line-height: 1.45; }
.rgpill { align-self: flex-start; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 1px 6px; background: #fbecc9; color: #8a5a00; }
.rgpill.ko { background: #f6dcd8; color: #a3261c; }
html.pc .rg-rub .rg-side { display: none; }
html.pc .rg-rub .rgback { display: inline-flex; align-items: center; margin: 0 0 10px; color: var(--link-action); text-decoration: none; }
html.pc .rg-rub .rg-det { columns: 2; column-gap: 16px; max-width: 1100px; }
html.pc .rg-rub .rg-det > .card, html.pc .rg-rub .rg-det > .racc-pc { break-inside: avoid; }
html.pc .rg-rub .rg-det.rg-un { columns: 1; max-width: 760px; }
html.pc .rg-all .rg-cards { columns: 2; column-gap: 16px; max-width: 1100px; }
html.pc .rg-all .rg-cards > .card { break-inside: avoid; }

/* [1133_PA-B] T1 (maquette OBJ-B) — poignée des blocs d'une catégorie d'objets, trait bleu de dépôt */
.ob-bloc > summary .gp { color: #a3abb6; flex: none; display: inline-flex; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ob-bloc > summary .gp svg { width: 18px; height: 18px; }
html.touch .ob-bloc > summary .gp { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; margin: -10px -8px -10px -14px; }
/* [2008_PA-A] B1 — the ONE drag of PA (SHARED/DESIGN/AK_DRAG_GESTURE_REGISTRY.html): the element held follows the finger (fixed, above
   everything, no pointer events: what is under the finger can be read), a dotted slot stands in its place; a container hovered is lit */
.dg-held { position: fixed !important; z-index: 40; margin: 0 !important; box-sizing: border-box; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); pointer-events: none; background: var(--surface); }
.dg-slot { border: 2px dashed #9dbbef; background: rgba(46, 111, 220, .05); box-sizing: border-box; border-radius: 8px; list-style: none; }
.dg-slot.off { opacity: .35; }
.ob-wrap > .dg-slot, .obfams > .dg-slot { border-radius: var(--radius-card); margin: 0 0 10px; }
.dropfam { background: #f0f6ff !important; box-shadow: inset 3px 0 0 #2e6fdc; }
[data-pa-grip], [data-pa-sgrip], [data-pa-thgrip], [data-pa-tograb], [data-pa-obgrip], [data-pa-obfgrip] { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab; }

/* [1350_PA-A] Courses : « En magasin » et « Préparer » (micro-maquette COURSES-A v4, Alain 2026-11-16) — a bar of two tabs on the full
   width (the drawing of « Avant · Pendant · Après » of a meeting), a white block per aisle with its pictogram, an article taken stays
   in its place, struck, with a grey tick, the quantity of an article, the sheet of an aisle. The colours of the pictograms are classes
   (the CSP allows no inline style); the twelve are those of `pa_server/rayons.py` and of the glyph registry. */
.ltabs { display: flex; flex: 1 1 100%; background: #e9ebee; border-radius: 10px; padding: 3px; gap: 2px; }
.ltabs a { flex: 1; text-align: center; font-size: 14px; padding: 7px 4px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.ltabs a.cur { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.pic { flex: none; width: 30px; height: 30px; border-radius: calc(var(--radius-ctl) + 1px); display: inline-grid; place-items: center; }
.pic svg { width: 17px; height: 17px; }
.pic-feuille { color: var(--gain); background: #e3f2e8; }
.pic-bouteille { color: #a15c00; background: #fbf0dc; }
.pic-bocal { color: #b3401e; background: #fbe9e2; }
.pic-verre { color: var(--accent); background: #e4edf7; }
.pic-goutte { color: #0e6b70; background: #dff1f1; }
.pic-pain { color: #8a5a1c; background: #f6ecd9; }
.pic-poisson { color: #2b6a8f; background: #e1eef5; }
.pic-flocon { color: #3a6fb0; background: #e6eefa; }
.pic-patte { color: #6b5a3c; background: #f0ebe1; }
.pic-croix { color: var(--danger); background: #fbe5e3; }
.pic-maison { color: #4a5a6d; background: #e8ecf1; }
.pic-panier { color: var(--ink-soft); background: #eceff3; }
.ray[hidden], .qc[hidden], .prog[hidden] { display: none; }
.ray, .lsec.rb, .lrow.rb { background: var(--surface); }
.ray { border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .05); margin: 0 0 10px; overflow: hidden; break-inside: avoid; }
.ray .lsec, .lsec.rb { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px 14px 6px; margin: 0;
  font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); }
.ray .lsec .lst, .lsec.rb .lst { flex: 1; min-width: 0; }
.ray .lsec .lsn { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.lsec.fini .pic { background: var(--gain); color: var(--accent-ink); }
.lsec.fini .lst, .lsec.fini .lsn { color: var(--gain); }
.lsec.fini .lsn::before { content: ""; display: inline-block; width: 9px; height: 5px; margin: 0 6px 3px 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
/* [1350_PA-D] (TAILLES-A v1) « Tailles › Lignes des listes »: three sizes for every list of articles, per device (prefs.js sets `lsz-compactes` /
   `lsz-grandes` on <html>; none = Moyennes, the 40 px of COURSES-B v2). --lz-row = the height of a one-line article, border included */
:root { --lz-fs: 17px; --lz-lh: 22px; --lz-ck: 26px; --lz-bh: 30px; --lz-row: 40px; }
html.lsz-compactes { --lz-fs: 15px; --lz-lh: 20px; --lz-ck: 20px; --lz-bh: 26px; --lz-row: 31px; }
html.lsz-grandes { --lz-row: 48px; }
.ray .lrow, .lrow.rb { box-sizing: border-box; min-height: var(--lz-row); padding: calc((var(--lz-row) - var(--lz-ck) - 1px) / 2) 14px; margin: 0; font-size: var(--lz-fs); border-top: 1px solid #f0f2f5; }
.ray .lrow .lt { flex: 0 1 auto; }
/* [1350_PA-C] a long article: its text stays beside the round and wraps in its own column (the row no longer wraps its items, which put
   the whole text under the round); the round stays at the top, level with the first line; one line = 40 px, several = the height of the text */
.ray .lrow, .lrow.rb { flex-wrap: nowrap; align-items: flex-start; }
.ray .lrow .lt, .lrow.rb .lt { line-height: var(--lz-lh); padding: calc((var(--lz-ck) - var(--lz-lh)) / 2) 0; }
.ray .lrow .qn, .lrow.rb .grip, .lrow.rb .rm, .ray .lrow .rm, .ray .lrow .grip, .ray .lrow .anm { align-self: center; }
/* [1350_PA-D] the button and « × N » of « Préparer » float (`.grp`, end of this file); no `margin-left: auto`, and no `.qc + .buy`: that sibling
   rule also matched an article not marked (its hidden « × N » stays its sibling) and pulled its button off the right edge */
.lrow.rb .lt { flex: 0 1 auto; }
.lrow.rb .grip { margin-left: auto; }
.lsec.rb { margin-top: 10px; border-radius: 14px 14px 0 0; box-shadow: 0 -1px 2px rgba(16, 24, 40, .05), -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); }
.lrow.rb { box-shadow: -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); }
.lrow.rb.rb-f { margin-top: 10px; border-radius: 14px 14px 0 0; border-top: 0; }
.lrow.rb.rb-l { border-radius: 0 0 14px 14px; box-shadow: 0 2px 6px rgba(16, 24, 40, .07), -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); }
.lrow.rb.rb-f.rb-l { border-radius: 14px; }
.lsec.rb .lst[data-pa-rayon] { cursor: pointer; }
.ray .lck { width: var(--lz-ck); height: var(--lz-ck); color: #aab3bf; }
.ray .lck svg { width: var(--lz-ck); height: var(--lz-ck); }
.ray .lrow.lok .lt { color: var(--ink-vide); }
.ray .lrow.lok .lck { color: #eef1f5; }
.ray .lrow.lok .lck svg circle { stroke: #d3d9e1; stroke-width: 1.4; }
.ray .lrow.lok .lck svg path { stroke: #8a94a1; }
.qn { flex: none; color: var(--link-action); font-weight: 700; font-size: 16px; white-space: nowrap; }
.lrow.lok .qn { color: var(--ink-vide); }
.qc { flex: none; font: inherit; font-size: 13px; color: var(--ink-vide); background: none; border: 0; padding: 5px 6px; border-radius: 8px; cursor: pointer; }
.qc.on { color: var(--link-action); font-weight: 700; background: #e4edf7; }
.qrow { display: flex; align-items: center; gap: 14px; padding: 8px 14px 10px; background: #f7f8fa; font-size: 14px; color: var(--ink-soft); }
.qrow span { flex: 1; }
.qrow button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9d6e6; background: var(--surface); color: var(--link-action); font: inherit; font-size: 20px; cursor: pointer; padding: 0; }
.qrow b { font-size: 17px; color: var(--ink); min-width: 18px; text-align: center; }
.prog { position: sticky; top: 0; z-index: 3; background: var(--canvas); padding: 10px 0 12px; }
.prog .pl { display: flex; align-items: baseline; gap: 8px; }
.prog .big { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.prog .sm { color: var(--ink-soft); font-size: 14px; }
.pbar { display: block; width: 100%; height: 6px; margin-top: 7px; border: 0; border-radius: 3px; background: #dfe3e8; overflow: hidden; appearance: none; -webkit-appearance: none; }
.pbar::-webkit-progress-bar { background: #dfe3e8; border-radius: 3px; }
.pbar::-webkit-progress-value { background: var(--accent); border-radius: 3px; transition: width .25s; }
.pbar::-moz-progress-bar { background: var(--accent); border-radius: 3px; }
.prog.done .big { color: var(--gain); }
.prog.done .pbar::-webkit-progress-value { background: var(--gain); }
.prog.done .pbar::-moz-progress-bar { background: var(--gain); }
.lfin:not(.done) .lfinb { background: var(--surface); color: var(--link-action); border: 1px solid #c9d6e6; }
.lfin.done { flex-wrap: nowrap; }
.lfin.done .lfinb { flex: 1; width: auto; padding: 13px 16px; font-size: 16px; }
@media (min-width: 600px) { .rays { column-count: 2; column-gap: 12px; } }
/* the sheet of an aisle (Référentiels › Listes) */
.rsg { padding: 4px 4px 0; }
.rsl { font-size: 12px; color: var(--ink-soft); margin: 10px 0 4px; display: block; }
.rsin { width: 100%; box-sizing: border-box; border: 1px solid #d5dae1; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 16px; }
.pg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 4px 0 8px; }
.pgi { border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.pgi .pic { width: 46px; height: 46px; border-radius: 12px; }
.pgi .pic svg { width: 24px; height: 24px; }
.pgi.cur .pic { outline: 2.5px solid var(--accent); outline-offset: 2px; }

/* [1350_PA-B] Listes ordinaires en blocs blancs, lignes de 40 px dans toutes les listes (micro-maquette COURSES-B v2, Alain 2026-11-16 :
   22:29 blocs blancs, 22:42 « 40 px et y compris pour les courses »). The box of a list is no white card any more: its blocks (one per
   heading, `.ray`, or the flat lines of the structure, `.rb`) stand on the grey of the screen. A list without heading is one block; the
   blocks go in two columns on a wide screen, as the aisles of a shopping list. */
.lbox[data-pa-liste], .edform .lbox[data-pa-liste], form.lstf[data-pa-cases] .lbox[data-pa-liste], html.nocad .lbox[data-pa-liste],
html.nocad form.lstf[data-pa-cases] .lbox[data-pa-liste] { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.lbox[data-pa-liste] .lhead { padding: 2px 2px 10px; }
.lbox[data-pa-liste] .lcore > .ladd { padding-left: 4px; padding-right: 4px; }
.rays.rays-un { column-count: 1; }
.lsec.rb.rb-l { border-radius: 14px; box-shadow: 0 2px 6px rgba(16, 24, 40, .07), -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); }
.ray .anl { margin: 0 14px 8px 52px; }
.lcore > .anl { margin: 0; border-radius: 0; background: var(--surface); box-shadow: -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); padding: 2px 14px 8px 52px; }
.lcore > .anl.rb-l { border-radius: 0 0 14px 14px; box-shadow: 0 2px 6px rgba(16, 24, 40, .07), -1px 0 0 rgba(16, 24, 40, .05), 1px 0 0 rgba(16, 24, 40, .05); }
/* the structure of an ordinary list (Référentiels › Listes): the same tick, grey once ticked */
.lrow.rb .lck { width: var(--lz-ck); height: var(--lz-ck); color: #aab3bf; }
.lrow.rb .lck svg { width: var(--lz-ck); height: var(--lz-ck); }
.lrow.rb.lok .lt { color: var(--ink-vide); }
.lrow.rb.lok .lck { color: #eef1f5; }
.lrow.rb.lok .lck svg circle { stroke: #d3d9e1; stroke-width: 1.4; }
.lrow.rb.lok .lck svg path { stroke: #8a94a1; }
.lsec.rb .lsn { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.lsec.rb.fini .lsn { color: var(--gain); }

/* [1350_PA-D] « Préparer » (TAILLES-A v1, option B; replaces the centred button of [1350_PA-C]): « × N » and the button (`.grp`) float at the right
   edge, level with the first line of the text; a long text wraps beside the group, then runs under it to the right edge. The row is a block (no flex). */
div[data-pane="cat"] .ray .lrow { display: flow-root; padding: calc((var(--lz-row) - var(--lz-bh) - 1px) / 2 + (var(--lz-bh) - var(--lz-lh)) / 2) 14px calc((var(--lz-row) - var(--lz-bh) - 1px) / 2); line-height: var(--lz-lh); }
div[data-pane="cat"] .ray .lrow .grp { float: right; display: inline-flex; align-items: center; gap: 10px; height: var(--lz-bh); margin: calc((var(--lz-bh) - var(--lz-lh)) / -2) 0 0 12px; }
div[data-pane="cat"] .ray .lrow .lt { padding: 0; }
div[data-pane="cat"] .ray .lrow .buy { margin: 0; line-height: 18px; padding: calc((var(--lz-bh) - 20px) / 2) 12px; }
div[data-pane="cat"] .ray .lrow .qc { margin: 0; padding: 2px 6px; line-height: 18px; }
.card .lsub { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-soft); margin-top: 1px; }
.card .hint-dev { font-weight: 400; font-size: 13px; color: var(--ink-soft); }
/* [1350_PA-D] the card « Tailles » (TAILLES-A v1 screen 1): label and sub-title above, the three choices on the full width under them */
#tailles .rrow { display: block; }
#tailles .lk2 { display: block; margin-bottom: 8px; width: auto; max-width: none; flex: none; }
#tailles .segc { display: flex; width: 100%; }
#tailles .segc button { flex: 1; text-align: center; }

/* ===== [1350_PA-E] Tailles des tâches et de la barre, lieux mis en avant et colorés, signe des listes permanentes
   (maquettes TAILLES-B v2, TAILLES-C v1, TAILLES-D v2, TAILLES-E v1, LISTE-P v1; décisions d'Alain du 2026-11-17) ===== */
/* B — « Lignes des tâches › Moyennes » (prefs.js sets `tsz-moyennes`; none = Petites, the display before): the title +2 px through --tz
   (the five rules of the title above read it), the sign 24 → 26 px in its box 34 → 36, the detail line 13 → 14, the duration of Compact 12 → 13 */
html.tsz-moyennes { --tz: 2px; }
html.tsz-moyennes .row.el .ck.sg, html.tsz-moyennes .row.el .nsg { width: 36px; }
html.tsz-moyennes .row.el .ck.sg { height: 36px; }
html.tsz-moyennes .row.el .ck.sg svg, html.tsz-moyennes .row.el .nsg svg { width: 26px; height: 26px; }
html.tsz-moyennes .row.el .meta, html.tsz-moyennes .row.el .xn { font-size: 14px; }
html.tsz-moyennes .theme-card .row.el .meta { font-size: 13px; }
html.tsz-moyennes.dens-compact .row.el .durc { font-size: 13px; }
html.tsz-moyennes:not(.nocad) .card .row.el + .row.el::before { left: 40px; }
/* D — the sign of a permanent list: the sign « liste » in blue on a very light blue, it opens the list (never settles the task) */
.row.el .nsg.lsig { width: 34px; height: 34px; margin: -2px 0; color: var(--accent); background: #e4edf7; border-radius: 8px; text-decoration: none; }
.row.el .nsg.lsig svg { width: 24px; height: 24px; }
html.tsz-moyennes .row.el .nsg.lsig { width: 36px; height: 36px; }
html.tsz-moyennes .row.el .nsg.lsig svg { width: 26px; height: 26px; }
/* C — « Barre de navigation »: iPad and PC, Moyenne = 250 px (+40, `--side-add` in the widths above), larger type, taller lines;
   iPhone (the panel of ☰), Petite = 250 px (−30, `--side-ph`), smaller type, lower lines. Content, order, colours: unchanged */
html.bsz-moyenne:not(.iphone) { --side-add: 40px; }
html.bsz-petite.iphone { --side-ph: -30px; }
html.bsz-moyenne:not(.iphone) .side > .side-link { font-size: 16px; padding: 9px 12px; }
html.bsz-moyenne:not(.iphone) .side-theme { font-size: 15px; padding: 7px 12px; }
html.bsz-moyenne:not(.iphone) .side-theme.sub { padding: 5px 12px 5px 26px; }
html.bsz-moyenne:not(.iphone) :is(.side-head, .side-sec, .side-fam) { font-size: 13px; }
html.bsz-moyenne:not(.iphone) .side-fam { padding: 12px 12px 5px; }
html.bsz-moyenne:not(.iphone) :is(.side-theme, .side-head, .side-link, .side-ovw) .n { font-size: 13px; }
html.bsz-moyenne:not(.iphone) .side-ovw { padding-top: 9px; padding-bottom: 9px; }
html.bsz-moyenne:not(.iphone) .side-ovw .olt { font-size: 15px; }
html.bsz-petite.iphone .side > .side-link, html.bsz-petite.iphone .side-objets .side-link { font-size: 13px; padding-top: 5px; padding-bottom: 5px; }
html.bsz-petite.iphone .side-theme { font-size: 12.5px; padding: 4px 12px; }
html.bsz-petite.iphone .side-theme.sub { padding: 2px 12px 2px 22px; }
html.bsz-petite.iphone :is(.side-head, .side-sec, .side-fam) { font-size: 11px; }
html.bsz-petite.iphone :is(.side-theme, .side-head, .side-link, .side-ovw) .n { font-size: 11px; }
html.bsz-petite.iphone .side-ovw { padding-top: 5px; padding-bottom: 5px; }
html.bsz-petite.iphone .side-ovw .olt { font-size: 12px; }
html.iphone .bsub-pc, html:not(.iphone) .bsub-ph { display: none; }
/* E — the places of the left bar (iPad, PC) stand out from the themes: 15.5 px (Petite) or 17.5 px (Moyenne), weight 500, icons 19 / 21 px,
   a thin line under the last one */
html:not(.iphone) :is(.side-lieux, .side-objets) .side-link { font-size: 15.5px; font-weight: 500; padding: 9px 12px; line-height: normal; }
html:not(.iphone) :is(.side-lieux, .side-objets) .side-link .ol { gap: 10px; }
html:not(.iphone) :is(.side-lieux, .side-objets) .side-link .ol svg { width: 19px; height: 19px; }
html.bsz-moyenne:not(.iphone) :is(.side-lieux, .side-objets) .side-link { font-size: 17.5px; padding: 11px 12px; }
html.bsz-moyenne:not(.iphone) :is(.side-lieux, .side-objets) .side-link .ol svg { width: 21px; height: 21px; }
html:not(.iphone) .side-objets { border-bottom: 1px solid #2f2f31; padding-bottom: 6px; margin-bottom: 2px; }
/* E — a fixed colour per place, on the icon only (the ten tints of TAILLES-E v1, declared here once): --lc on the dark bar (iPad, PC, panel
   of ☰), --lcl on the light bar at the bottom of the iPhone. « Tous » (default): every icon has its colour; « Lieu actif » (`lcol-actif`):
   the icons are grey at rest and only the place where one is takes its colour. A place not listed keeps its icon without colour. */
[data-lieu="jour"] { --lc: #f2c14e; --lcl: #c98a00; }
[data-lieu="creneaux"] { --lc: #7fb2f0; --lcl: #2f6fd0; }
[data-lieu="lecture"] { --lc: #c79bf2; --lcl: #8a4fd0; }
[data-lieu="sorties"] { --lc: #f08a7f; --lcl: #d8573f; }
[data-lieu="objets"] { --lc: #6fd0b0; --lcl: #1f9d78; }
/* [1350_PA-G] A [arbitrage Alain 2026-11-17 21:32 « rose », 23:29 these two values; maquette NAV-A v5 partie 5]: « Favoris », sixth place */
[data-lieu="favoris"] { --lc: #f09ac0; --lcl: #d0508a; }
/* [1437_PA-A] [Alain 2026-11-19 ≈ 15:50, EMPL-A v2 ⑫ « terracotta »]: « Entourage », under Objets — #f5a55c on the dark bar (the value of the
   maquette), a deeper terracotta on the light bar (same rule as the other places: the darker tint keeps the contrast on white) */
[data-lieu="entourage"] { --lc: #f5a55c; --lcl: #c2622a; }
.side [data-lieu] .ol svg { color: var(--lc, inherit); }
html.lcol-actif .side [data-lieu]:not(.on) .ol svg { color: inherit; }
.tabs .tab[data-lieu] svg { color: var(--lcl, inherit); }
html.lcol-actif .tabs .tab[data-lieu]:not(.on) svg { color: inherit; }
.tabs .tab.on[data-lieu] { color: var(--ink); }

/* [1350_PA-F] — the menu « ⋯ » of the screen (MENUS-A v3, MENUS-B v2; arbitrages Alain 2026-11-17 16:55 to 18:29). A — the sheet of the
   iPhone: the group of the screen (its name, its functions — the name on the left, a value or « › » on the right — then « Réglages de cet
   écran · N », folded at each opening, unfolded in place), then « Application », then « Annuler ». */
.sheet .sg-ecran .st, .sheet .sg-app .st { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft);
  border-bottom: 0; padding: 10px 16px 4px; }
.sheet .bb.emf { justify-content: space-between; gap: 12px; padding: 0 16px; height: 46px; font-size: 16px; text-align: left; }
.sheet .bb.emf .ml { flex: none; white-space: nowrap; }
.sheet .bb.emf .bv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); font-size: 14.5px; }
.sheet .bb.emf .ch { display: inline-block; margin-left: 6px; font-weight: 400; color: var(--ink-vide); transition: transform .15s; }
.sheet details.dep { border-bottom: 0; }
.sheet details.dep > summary { list-style: none; color: var(--ink); border-bottom: 0; }
.sheet details.dep > summary::-webkit-details-marker { display: none; }
.sheet details.dep > summary .bv { color: var(--link-action); }
.sheet details.dep[open] > summary .ch { transform: rotate(90deg); }
.sheet details.dep[open] > summary { border-bottom: 0.5px solid #d9dce1; }
.sheet .sg-ecran > .bb.emf:last-child { border-bottom: 0; }
.sheet .sg-ecran > .bb.emf + details.dep { border-top: 0; }
.sheet .zone { background: var(--canvas); padding: 10px 16px 12px; max-height: 52vh; overflow-y: auto; }
.sheet .zone .rrow { flex-direction: column; align-items: stretch; gap: 6px; }
.sheet .zone .rrow + .rrow { margin-top: 12px; }
.sheet .zone .rrow .lk2 { width: auto; font-size: 14px; font-weight: 500; color: var(--ink); white-space: normal; }
.sheet .zone .rrow .segc { display: flex; }
.sheet .zone .rrow .segc button { flex: 1; }
.sheet .zone .rrow .reset-btn { display: none; }
.sheet .zone .tabord { margin-top: 4px; }
/* E — iPad and PC: the button « ⋯ » right of the title (none on the iPhone: ⋯ of the top line opens the sheet); the same group as a
   floating menu under the button, aligned on its right (app.js puts it there), « Application » and « Annuler » left out */
.emb { display: none; }
@media (min-width: 600px) {
  .phead .emb { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
    margin-right: auto; border: 1px solid #d5dae1; border-radius: var(--radius-ctl); background: var(--surface); color: var(--link-action); cursor: pointer; align-self: center; }
  .phead .emb svg { width: 20px; height: 20px; }
  .phead .emb[aria-expanded="true"] { background: #e6eef7; border-color: var(--accent); }
  .phead:has(.emb) { justify-content: flex-start; }
  #pa-plus.emp { background: transparent; padding: 0; display: block; }
  #pa-plus.emp[hidden] { display: none; }
  #pa-plus.emp .sheet { position: fixed; width: 320px; max-width: calc(100vw - 16px); margin: 0; gap: 0; border-radius: 12px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(16, 24, 40, .25); }
  #pa-plus.emp .sg { border-radius: 0; }
  #pa-plus.emp :is(.sg-app, .sg-ann) { display: none; }
  #pa-plus.emp .zone { max-height: 60vh; }
}
/* D — the panel of the iPhone: the block « Lieux » (places not in the bottom bar, Objets, Favoris) stands out from the themes as on the
   iPad and the PC ([1350_PA-E] « lieux mis en avant »), a thin line under it, then the themes */
.side-lieux { border-bottom: 1px solid #2f2f31; padding-bottom: 6px; margin-bottom: 2px; }
html.iphone .side-lieux .side-link { font-size: 15.5px; font-weight: 500; padding: 9px 12px; line-height: normal; }
html.iphone .side-lieux .side-link .ol { gap: 10px; }
html.iphone .side-lieux .side-link .ol svg { width: 19px; height: 19px; }
html.bsz-petite.iphone .side-lieux .side-link { font-size: 14px; padding: 7px 12px; }
html.bsz-petite.iphone .side-lieux .side-link .ol svg { width: 17px; height: 17px; }
/* [2008_PA-C] T4: the photo in large (object or task): a layer with a visible croix, closed by a swipe down or a tap beside it */
html.pa-zoom-on { overflow: hidden; }
.pa-zoom { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); touch-action: none; }
.pa-zoom-img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .15s; }
.pa-zoom-x { position: absolute; top: calc(env(safe-area-inset-top) + 12px); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #111; cursor: pointer; }
.pa-zoom-x::before, .pa-zoom-x::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: #111; transform: rotate(45deg); }
.pa-zoom-x::after { transform: rotate(-45deg); }
/* [1350_PA-G] C [arbitrage Alain 2026-11-17 23:18; maquette NAV-A v5 « fixe » / « défile »]: in the left bar (iPad, PC) and the panel of « menu »
   (iPhone, iPad « Masqués »), the search and the block « Lieux » stay in place; only the themes scroll below them, a thin line between
   (the border of `.side-lieux`). No safety of height: the fixed part never scrolls, whatever the height of the screen (in the backlog). */
.side { overflow: hidden; }
.side-fixe { flex: none; display: flex; flex-direction: column; gap: 2px; }
.side-defile { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -12px -16px; padding: 0 12px 16px; }
.side-defile > .side-themes { margin-top: 0; }
.side-defile > .side-themes > .side-sec:first-child { padding-top: 8px; }

/* ---------------------------------------------------------------- [1236_PA-A] barres de navigation (iPad, PC) */
/* T7 (Interface et navigation pt 17): ☰ of the top bar, an icon of 22 px in a button of 40 × 36 px (`.burger` above); the iPhone keeps
   its own (`.pburger`) */
.burger svg { width: 22px; height: 22px; }
/* T4, T5 (SPEC/RECHERCHE.md § 1; Noter pt 11 [Alain 2026-11-18 ≈ 14:05]): « + Noter » · loupe · Référentiels · Réglages — one blue
   button « + Noter », no microphone beside it */
.hnoter { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; margin-right: 6px; border-radius: 16px;
  background: var(--btn-principal); color: var(--accent-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hnoter:hover { filter: brightness(1.08); }
.hnoter:active { transform: scale(.97); }
.hsrch { text-decoration: none; }
/* T7 (pt 14): the « ⋯ » of the screen at the right edge of the line of the title; its menu does not change */
@media (min-width: 600px) {
  .phead .emb { margin-right: 0; margin-left: auto; order: 9; }
  /* PC: the line of the title holds the title, what the screen holds and the selector — the button goes after them, at the right edge */
  html.pc .page-head:has(.emb) > .phead { display: contents; }
  html.pc .page-head .emb { order: 9; margin-left: auto; align-self: center; }
  html.pc .page-head:has(> .dtrow) .emb { margin-left: 0; }
  /* Objets: « ＋ Nouvel objet » holds the top right corner — the button stands just left of it */
  .page-head:has(.ob-plus) .emb { margin-right: 40px; }
}

/* ---------------------------------------------------------------- [1236_PA-A] T8 — Rechercher (RECH-A v3, SPEC/RECHERCHE.md § 2 à 6) */
.rform { display: block; }
html.pc .rres.search-results { display: block; }   /* one column of groups (the options take the right) */
.rfield { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; }
.rfield > .srchw { flex: 1; min-width: 0; height: 40px; border-radius: 10px; }
.rfield input[type="search"] { font-size: 16px; }
.rgrid .pp { display: flex; flex-wrap: wrap; gap: 6px; }
.p54 { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 15px;
  background: var(--surface); color: var(--ink); font-size: 13.5px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.p54.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.p54 i { font-style: normal; font-size: 12px; color: var(--ink-soft); }
.p54.on i { color: rgba(255, 255, 255, .8); }
.p54.zero { color: var(--ink-vide); background: none; border-style: dashed; cursor: default; }
.p54.zero i { color: var(--ink-vide); }
.rsc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
.rsc .raf { display: none; }
.rsc .raf svg { width: 15px; height: 15px; }
.rsc .raf b { min-width: 18px; height: 18px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 5px; }
.rsel { margin: 0 0 10px; }
.ro { margin: 0 0 12px; }
.ro .l { font-size: 12px; font-weight: 700; color: var(--section-label); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.rck { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14.5px; color: var(--ink); text-decoration: none; cursor: pointer; }
.rck .bx { flex: none; width: 18px; height: 18px; border: 1.5px solid #9aa4b2; border-radius: 4px; display: inline-flex; align-items: center;
  justify-content: center; background: var(--surface); color: var(--accent-ink); }
.rck.on .bx { background: var(--accent); border-color: var(--accent); }
.rck .bx svg { width: 12px; height: 12px; }
.rper { align-items: center; margin: 2px 0 6px 26px; }
.rper > span { font-size: 13px; color: var(--ink-soft); margin-right: 2px; }
.rafh { display: none; }
.rres > .rtot { font-size: 13.5px; color: var(--ink-soft); margin: 4px 2px 8px; }
.rres > .rtot b { color: var(--ink); }
.rgrp h2 .f { font-weight: 500; color: var(--ink-soft); }
.rres .card { margin: 0 0 12px; }
.rplus { text-align: center; margin: 4px 0 16px; }
.rnum { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin: 0 0 12px; border-radius: 12px; background: var(--accent-fill);
  border: 1px solid #c9d6e6; color: var(--ink); text-decoration: none; }
.rnum .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rnum b { color: var(--accent); font-size: 15.5px; }
.rnum small { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rnum .ch, .rrl .ch { color: var(--ink-vide); font-size: 18px; flex: none; }
.ria { display: flex; align-items: center; gap: 10px; opacity: .75; }
.ria .lbl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ria .t { text-decoration: line-through; color: var(--ink-soft); }
.ria .rrem { margin: 0; flex: none; }
.robj .trow, .rth .trow { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; color: var(--ink); text-decoration: none; }
.robj .n { color: var(--ink-soft); font-size: 13px; text-align: right; }
/* before typing (§ 4) */
.rblk { margin: 0 0 14px; }
.rh { display: flex; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 700; color: var(--section-label); text-transform: uppercase;
  letter-spacing: .05em; margin: 0 0 6px; }
.rh i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: 12.5px; }
.rh .rxall { margin: 0 0 0 auto; }
.rh .rxall button { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.rblk ul { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
.rblk li { display: flex; align-items: center; border-top: 1px solid var(--chip-bg); }
.rblk li:first-child { border-top: 0; }
.rrl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--ink); text-decoration: none; }
.rrl svg { flex: none; color: var(--ink-soft); }
.rrl .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrl .m { flex: none; font-size: 12.5px; color: var(--ink-soft); }
.rx { margin: 0; }
.rx button { border: 0; background: none; color: var(--ink-vide); font-size: 14px; padding: 8px 12px; min-height: 0; cursor: pointer; }
.rafb { margin: 4px 0 14px; }
/* iPhone: the chip of scope stays, the rest is in the sheet « Affiner » (§ 5, tenue) */
@media (max-width: 599px) {
  .rsc .raf { display: inline-flex; margin-left: auto; }
  .ropts { display: none; }
  .ropts.af-on { display: flex; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .3); align-items: flex-end; }
  .ropts-in { width: 100%; max-height: 82dvh; overflow-y: auto; background: var(--canvas); border-radius: 14px 14px 0 0;
    padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); }
  .rafh { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
  .rafh b { flex: 1; font-size: 17px; }
  .rafh a { color: var(--link-action); text-decoration: none; font-size: 15px; }
  .rafh .rok { font-weight: 600; }
}
/* iPad: everything in sight above the results — once there are results (before typing: the recents and « Affiner », as the simulator) */
@media (min-width: 600px) { html:not(.pc) .rgrid.r-avant .ropts:not(.af-on) { display: none; } }
@media (min-width: 600px) {
  html:not(.pc) .ropts { margin: 0 0 6px; padding: 10px 12px 2px; background: var(--surface); border-radius: 12px; }
  html:not(.pc) .ropts-in { display: flex; flex-wrap: wrap; gap: 0 24px; }
  html:not(.pc) .ropts .ro { flex: 1 1 260px; }
}
/* PC: the options in a column « Affiner » on the right */
@media (min-width: 600px) {
  html.pc .rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 22px; align-items: start; }
  html.pc .rgrid > * { grid-column: 1; }
  html.pc .rgrid > .ropts { grid-column: 2; grid-row: 1 / span 30; position: sticky; top: 64px; background: var(--surface); border-radius: 12px;
    padding: 12px 14px 4px; }
  html.pc .rgrid > .ropts .rafh { display: block; margin: 0 0 10px; }
  html.pc .rgrid > .ropts .rafh a { display: none; }
}
/* [1236_PA-C] (RECH-C v3, RECH-D v1) — the scope as a text or two joined segments, the button « Natures », the states of a nature,
   « where the word was found », « Affiner » by the title on the iPhone */
.rafh b { flex: 1; text-align: center; }
.rsco { font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.rsco > b { color: var(--ink); font-weight: 600; }
.rseg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.rseg a { padding: 5px 11px; font-size: 13.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.rseg a + a { border-left: 1px solid var(--line); }
.rseg a.on { background: var(--ink); color: var(--surface); }
/* [1236_PA-F] T17: no vertical line on the edge of the chosen button (the left border of its neighbour) */
.rseg a.on + a, .rseg a + a.on { border-left-color: transparent; }
.rvs { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.rnat { position: relative; display: inline-flex; }
.rnb { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px; border: 1px solid #c9d6e6; border-radius: 10px;
  background: var(--surface); color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.rnb .k { color: var(--ink-soft); }
.rnb .chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
  margin: -3px 2px 0 2px; opacity: .6; }
.rnat.ouv .rnb .chev { transform: rotate(-135deg); margin-top: 3px; }
.rnb.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); border-radius: 10px 0 0 10px; }
.rnb.on .k { color: inherit; opacity: .8; }
.rnx { display: inline-flex; align-items: center; padding: 0 9px 0 8px; background: var(--accent); color: var(--accent-ink);
  border-left: 1px solid rgba(255, 255, 255, .35); border-radius: 0 10px 10px 0; }
.rnl { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 300px; max-width: calc(100vw - 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); overflow: hidden; }
.rnl .ddh { padding: 10px 12px 6px; font-size: 13px; color: var(--ink-soft); }
.rnl .ddh i { font-style: normal; color: var(--ink-vide); }
.rno { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14.5px; color: var(--ink); text-decoration: none; cursor: pointer; }
.rno .bx { flex: none; width: 20px; height: 20px; border: 2px solid #9aa4b2; border-radius: 5px; display: inline-flex; align-items: center;
  justify-content: center; color: var(--accent-ink); }
.rno.on .bx { background: var(--accent); border-color: var(--accent); }
.rno .bx svg { width: 12px; height: 12px; }
.rno i { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink-soft); }
.rno.zero { opacity: .4; cursor: default; }
.rnf { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--canvas); }
.rnf a:first-child { color: var(--link-action); text-decoration: none; font-size: 14px; }
.rnf .rok { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.rnlh, .rnv, .rnrow, .rpt { display: none; }
.rst { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; padding: 8px 10px; background: var(--surface); border: 1px dashed #c9d6e6;
  border-radius: 10px; }
.rstl { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: 13.5px; }
.rstl .t { color: var(--ink-soft); min-width: 140px; }
.rstl .rck { padding: 2px 0; font-size: 13.5px; }
.rstl .pp { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.rou { color: var(--ink-soft); }
.phead .pdt .raf { display: none; }
@media (max-width: 599px) {
  .rsc .rvs, .rsc .rnb, .rsc .rnx { display: none; }
  .phead .pdt .raf { display: inline-flex; align-items: center; gap: 4px; color: var(--link-action); font-size: 16px; text-decoration: none; }
  .phead .pdt .raf b { min-width: 18px; height: 18px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 12px;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
  .ropts-in .rnrow { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; margin: 0 0 8px; color: var(--ink);
    text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); }
  .rnrow .v { color: var(--ink-soft); font-size: 14px; }
  .rnrow .v.on { color: var(--link-action); font-weight: 600; }
  .ropts-in .rpt { display: block; font-size: 12px; font-weight: 700; color: var(--section-label); text-transform: uppercase; letter-spacing: .05em;
    margin: 10px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); }
  .ropts-in .rst { background: none; border: 0; padding: 0; gap: 10px; }
  .ropts-in .rstl { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ropts-in .rstl .t { font-size: 12px; font-weight: 700; color: var(--link-action); text-transform: uppercase; letter-spacing: .05em; }
  .ropts-in .rstl .rck { padding: 5px 0; font-size: 14.5px; }
  /* the list « Natures »: a step of the sheet « Affiner », over it */
  .rnat .rnv { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(0, 0, 0, .3); }
  .rnat .rnl { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; z-index: 45; max-height: 88dvh; overflow-y: auto;
    border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .rnl .rnlh { display: flex; align-items: center; gap: 14px; padding: 12px 16px 8px; }
  .rnlh b { flex: 1; text-align: center; font-size: 17px; }
  .rnlh a { color: var(--link-action); text-decoration: none; font-size: 15px; }
  .rnlh .rok { font-weight: 600; }
  .rnf .rok { display: none; }
}
/* iPad: the states, a framed line under the options (the whole width of the panel) */
@media (min-width: 600px) {
  html:not(.pc) .ropts .rst { order: 9; flex: 1 1 100%; }
  html.pc .rgrid > .ropts .ropts-in { display: flex; flex-direction: column; }
  html.pc .rgrid > .ropts .rst { order: 9; margin-top: 4px; }
  html.pc .rgrid > .ropts .rstl { flex-direction: column; align-items: flex-start; gap: 4px; }
  html.pc .rnl { width: 280px; }
}

/* [1236_PA-D] Rechercher — « Chercher dans » (bold) + « i » + the buttons (« Partout » in blue text when not chosen: a choice of RECH-E, not of Alain, [1236_PA-E]), the choices and the reminder in orange
   (tokens `--warn-*`: RECH-E v3, décisions 4 et 5 d'Alain, 2026-11-19) */
.rsco > b { font-weight: 700; color: var(--ink); }
.rseg a.plus { color: var(--link-action); }
.rseg a.plus.on { background: var(--accent); color: var(--accent-ink); }
.rsco { position: relative; }
.rinfo { flex: none; width: 22px; height: 22px; padding: 0; border: 1px solid #94a3b8; border-radius: 50%; background: var(--surface); color: #475569;
  font: italic 700 13px/1 Georgia, serif; display: inline-grid; place-items: center; cursor: pointer; margin-left: -2px; }
.rinfo[aria-expanded="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.rbub { position: absolute; top: calc(100% + 6px); left: 0; z-index: 35; width: 440px; max-width: calc(100vw - 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 12px 36px 12px 14px; font-size: 13.5px;
  color: var(--ink); font-weight: 400; }
.rbub[hidden] { display: none; }
.rbub h4 { margin: 0 0 6px; font-size: 14px; }
.rbub ul { margin: 4px 0 6px 18px; padding: 0; }
.rbub li { margin: 2px 0; }
.rbub .m { color: var(--ink-soft); font-size: 12.5px; margin-top: 6px; }
.rbub .rbx { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--ink-soft);
  display: inline-grid; place-items: center; cursor: pointer; min-height: 0; }
.rsc { position: relative; }
.rres > .hint.raide a { color: var(--link-action); font-weight: 600; }
/* the reminder: one orange frame, « ✕ Tout retirer » inside at the right */
.raff { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 6px 6px 12px; background: var(--warn-bg);
  border: 1px solid var(--warn-border); border-radius: 10px; color: var(--warn-ink); font-size: 13.5px; }
.raff .t { flex: 1; min-width: 0; }
.raff b { font-weight: 700; }
.raff .x { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: var(--warn-fill);
  color: var(--warn-ink); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.raff .x svg { width: 11px; height: 11px; }
/* the options chosen */
.rnb.on, .rnx { background: var(--warn-ink); border-color: var(--warn-ink); color: var(--accent-ink); }
.rno.on .bx, .rck.on .bx { background: var(--warn-ink); border-color: var(--warn-ink); }
.ropts .p54.on:not([data-def]), .rst .p54.on, .rsel .p54.on { background: var(--warn-ink); border-color: var(--warn-ink); color: var(--accent-ink); }
.rsc .raf b, .phead .pdt .raf b { background: var(--warn-ink); color: var(--accent-ink); }
.rnb.on .k { color: #ffedd5; }
/* [1236_PA-E] T3, T4 (maquette OBJ-F v2, validated by Alain on 2026-11-19 ≈ 16:20): the button « Familles » and its list — iPhone: a
   sheet that rises from the bottom; iPad and PC: a window under the button. A choice turns the button orange, with a ✕. The line of
   chips under the buttons scrolls; its « Toutes » is full, dark grey, white text when nothing in it is chosen (charter § « Pastille
   Toutes »), a family or a category chosen is orange. */
.ob-filtres { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fsw { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.fsw.ch { background: var(--warn-bg); border-color: var(--warn-border); }
.fsel { display: inline-block; }
.fsel > summary { list-style: none; cursor: pointer; }
.fsel > summary::-webkit-details-marker { display: none; }
.fsb { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.fsw.ch .fsb, summary.fsb.ch { color: var(--warn-ink); font-weight: 600; }
.ob-stf > summary.fsb { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }   /* the status of Rechercher */
.ob-stf > summary.fsb.ch { background: var(--warn-bg); border-color: var(--warn-border); }
.fsx { display: inline-flex; align-items: center; padding: 6px 10px 6px 2px; color: var(--warn-ink); }
.fsx svg { width: 12px; height: 12px; }
.fs-v { display: none; }
.fs-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 380px; max-height: 540px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 26px rgba(0, 0, 0, .18); }
.fs-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--surface);
  border-bottom: 1px solid var(--line); }
.fs-h b { flex: 1; font-size: 16px; text-align: center; }
.fs-h b:first-child { text-align: left; }
.fs-h a { color: var(--link-action); text-decoration: none; font-size: 15px; white-space: nowrap; }
.fs-lab { padding: 10px 14px 4px; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.fs-it { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.fs-it .nm { flex: 1; min-width: 0; }
.fs-it.all .nm { font-weight: 600; }
.fs-it .aussi { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 400; }
.fs-it .nb { color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.fs-it .go { color: var(--ink-vide); font-size: 18px; }
.fs-it.sel .nm { color: var(--warn-ink); font-weight: 600; }
.fs-ok { color: var(--warn-ink); }
.fscs { display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; padding: 6px 0 8px; margin: 0 0 4px; scrollbar-width: none; }
.fscs::-webkit-scrollbar { display: none; }
.fsc { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 4px 10px; font-size: 13px;
  color: var(--ink-soft); text-decoration: none; }
.fsc.on { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-ink); font-weight: 600; }
.fsc.all.on { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 600; }
@media (max-width: 599px) {
  .fsel[open] > .fs-v { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(0, 0, 0, .25); }
  .fs-pop { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 82vh; border-radius: 16px 16px 0 0;
    border: 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom); }
}
.rfo { margin: 0 0 4px; }
/* [1236_PA-E] T6 (maquette RECH-G v1, validated 2026-11-19 ≈ 16:20; capture of Alain of 16:10): « Tâches », « Objets », « Entourage »
   are the biggest titles of the list (20 px, bold, a rule above); a theme is a small grey subtitle on one line (13 px, no number); a
   line of object is drawn as a line of task (thumbnail, number by the name, « famille · catégorie » under it) */
.rres > .rblt { display: flex; align-items: baseline; gap: 6px; justify-content: flex-start; margin: 18px 2px 2px; padding-top: 10px;
  border-top: 2px solid var(--line); font-size: 20px; font-weight: 800; color: var(--ink); }
.rres > .rblt:first-child { margin-top: 4px; }
.rres > .rblt span { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.rres .rgrp .rgth { margin: 10px 2px 2px; font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; display: block; }
.rres .robj .trow { justify-content: flex-start; align-items: flex-start; gap: 10px; }
.rres .robj .ob-ph { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; font-size: 12px; }
.rres .robj .lbl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rres .robj .lbl .t { font-size: 16px; }
.rres .robj .lbl .meta { color: var(--ink-soft); font-size: 14px; }
.rform .rfield { margin-bottom: 10px; }
/* [1236_PA-E] T2: Référentiels › Objets — the ensembles of a family, the list of the ensembles */
.ob-rang { margin: 0 0 4px 14px; }
.ob-rang > summary { color: var(--ink-soft); font-size: 13px; }
.ob-cb { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14.5px; }
.ob-cb input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; flex: none; margin: 0; padding: 0; }
.ob-ensf { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.ob-ensf legend { padding: 0; margin: 0 0 4px; font-size: 14px; color: var(--ink-soft); }
.ob-cbs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 6px; }
.obe { padding: 8px 0; border-top: 1px solid var(--line); }
.obe-h { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; }
.obe-h > :not(.gp) { grid-column: 2; }
/* [1236_PA-G] T8 (PA-192): the common grip ⋮⋮ of an ensemble, as the one of a family */
.obe-h .gp { grid-row: 1 / span 2; color: var(--ink-vide); display: inline-flex; padding: 4px; cursor: grab; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.obe-h .gp svg { width: 18px; height: 18px; }
html.touch .obe-h .gp { min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
.obe-h .t { font-weight: 600; }
.obe-h .m { color: var(--ink-soft); font-size: 13px; }
.obe .ob-add { display: inline-block; margin: 4px 12px 0 0; }

/* ───────── [1236_PA-F] fiche d'un objet (OBJ-G v2, OBJ-H v1, NOTES-A v1) ───────── */
/* T3: every field of a fiche and of a form is at least 16 px on a phone — no zoom when it takes the cursor */
@media (max-width: 767px) {
  html .ob-wrap :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  html .ob-saisie :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  html form :is(input[type="text"], input[type="search"], input[type="url"], input[type="date"], input:not([type]), select, textarea) {
    font-size: var(--champ-tactile); }
}
/* T6: the dates of every form at the left (WebKit centres the value of a date field) */
input[type="date"] { text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.ob-saisie .ob-f input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 34px; }
/* T8: the name wraps and its field grows with the text */
.ob-saisie .ob-f textarea.ob-nom { resize: none; overflow: hidden; line-height: 1.35; min-height: 34px; }
/* T12: « Choisir un emplacement » in grey */
.ob-saisie .ob-f select.vide { color: var(--ink-vide); }
.ob-saisie .ob-f select.vide option { color: var(--ink); }
/* the title of a field over its text area (Liens, Note, À savoir): in a column, the width 150 / 120 px of a title was its height */
.ob-saisie .ob-f.col .k { flex: 0 0 auto; }
/* T13: the box at the left, the text over the whole width, inside the card
   (the class « ck » of the boxes of the tasks made the line 30 × 30 px: the text went out of the card) */
.ob-saisie .ob-f.ob-ck { display: flex; align-items: flex-start; gap: 10px; }
.ob-saisie .ob-f.ob-ck input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; }
.ob-saisie .ob-f.ob-ck span { flex: 1; min-width: 0; color: var(--ink); }
/* T10, T14, T22: a case shown only for some statuses */
.ob-si[hidden] { display: none; }
.ob-si > .ob-f { border-top: 1px solid var(--line); }
/* T18: H × L × P, « + précision », the weight */
.ob-dim { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.ob-saisie .ob-dim input { flex: 1 1 0; min-width: 0; width: 0; text-align: center; font: inherit; padding: 6px 4px;
  border: 1px solid var(--line); border-radius: var(--radius-ctl); background: var(--surface); color: var(--ink); }
.ob-dim .x { color: var(--ink-soft); }
.ob-precd { padding: 0 0 6px 158px; }
.ob-precd > summary { list-style: none; color: var(--link-action); cursor: pointer; font-size: 14px; padding: 2px 0; }
.ob-precd > summary::-webkit-details-marker { display: none; }
.ob-precd[open] > summary { display: none; }
.ob-precd input { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); background: var(--surface); color: var(--ink); }
.ob-hq { margin: -2px 0 4px 158px; font-size: 12px; }
@media (max-width: 599px) { .ob-precd { padding-left: 128px; } .ob-hq { margin-left: 128px; } }
/* T4: « Ouvrir le dossier › » on one line */
.ob-kv .v a.ob-dos { white-space: nowrap; }
.ob-prec { display: block; color: var(--ink-soft); font-size: 13px; }
/* [1236_PA-G] T1 (OBJ-J v1): the price of an addition — under the price on the fiche; folded in « Modifier » */
.ob-ajl { font-size: 14px; margin-top: 2px; }
.ob-ajd[open] { padding-left: 0; }
.ob-ajf { display: flex; gap: 6px; flex: 1; min-width: 0; }
.ob-ajf select { flex: 1.3; min-width: 0; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); background: var(--surface); color: var(--ink); }
.ob-ajf input { flex: 1; min-width: 0; }
.ob-ajd [data-pa-ajtitre] { display: block; width: auto; margin: 0 0 6px 158px; }
@media (max-width: 599px) { .ob-ajd [data-pa-ajtitre] { margin-left: 128px; } }
.ob-ajd [hidden] { display: none; }
.ob-qte { color: var(--ink-soft); font-weight: 400; }
/* T2: the « i » at the end of the row of the buttons, centred on their height */
.ob-filtres .ob-aide { display: inline-flex; align-items: center; margin: 0; align-self: center; }
/* T3: « ＋ Relier une tâche » folded */
/* [1236_PA-G] T3 (OBJ-I v1): a linked list of a fiche — ONE card « Titre · n » with its « ＋ » as the last line; empty: the « ＋ » alone */
.ob-liee .ob-lt { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; padding: 12px 12px 6px; }
.ob-liee .ob-lt .n { display: inline; float: none; margin: 0; font-weight: 400; color: var(--ink-soft); }
.ob-liee .ob-list > .ob-li:nth-child(2) { border-top: 0; }
.ob-liee-add { border-top: 1px solid var(--line); }
.ob-liee-add .ob-add, .ob-seul .ob-add { background: none; border-radius: 0; margin: 0; }
.ob-liee-add .ob-lier, .ob-liee-add .ob-addl { padding: 0 12px; }
.ob-addl { display: block; padding: 10px 0; color: var(--link-action); text-decoration: none; }
.ob-seul { margin: 2px 0 14px; }
.ob-seul .ob-lier { padding: 0 4px; }
.ob-seul .ob-addl { padding: 10px 4px; }
.ob-lier { margin: 8px 0 0; padding: 0 12px; }
.ob-lier > summary { padding: 10px 0; }
.ob-lier-f { display: flex; align-items: center; gap: 8px; padding: 0 0 10px; }
.ob-lier-f input { width: 110px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); }
/* T21: the parts of the note */
.ob-note .ob-rub { font-size: 14px; font-weight: 600; margin: 10px 0 2px; }
.ob-rubsug { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 8px; }
.ob-rubsug .ob-chip { cursor: pointer; font: inherit; font-size: 13px; }
.ob-notef .ob-f.col { border-top: 1px solid var(--line); }
.ob-notef > .ob-f.col:first-child { border-top: 0; }
.ob-rubadd { padding: 0; margin: 0; }
/* T19 (OBJ-H v1): Référentiels › Objets › Ordre de la fiche — the lines and their grips ⋮⋮ (the common drag) */
.ob-ord { list-style: none; margin: 8px 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.ob-ord > li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 15px; background: var(--surface); }
.ob-ord > li:first-child { border-top: 0; }
.ob-ord .gp { color: var(--ink-faint); display: inline-flex; flex: none; padding: 4px; }
.ob-ord .gp svg { width: 18px; height: 18px; }
html.touch .ob-ord .gp { min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
.ob-ord .nm { flex: 1; min-width: 0; }
.ob-ord.off { color: var(--ink-soft); background: var(--surface-sub); }
.ob-ord.off .gp { visibility: hidden; }
.ob-ordg { margin-left: auto; }
.ob-ordg > summary { list-style: none; cursor: pointer; color: var(--ink-faint); padding: 0 6px; }
.ob-ordg > summary::-webkit-details-marker { display: none; }
.ob-ordg .ob-gest { padding: 0; }
.ob-ordsw { margin: 6px 0; }
.ob-sw { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 8px 0;
  font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.ob-sw .tg { width: 44px; height: 26px; border-radius: 13px; background: var(--decor); position: relative; flex: none; }
.ob-sw .tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.ob-sw .tg.on { background: var(--gain); }
.ob-sw .tg.on::after { left: 21px; }
.ob-ref .lnk { background: none; border: 0; padding: 4px 0; color: var(--link-action); font: inherit; cursor: pointer; }

/* [1236_PA-G] T7 (PA-191): the names of « Avec » that are a fiche of the Entourage, as links under the field */
.ravfi { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.ravfi a { color: var(--link-action); text-decoration: none; }

/* [2232_PA-A] T10 (Réglages V3 pt 6): « Afficher la date : non » (per device; the default of the iPad) — no date of PA on any screen */
html.nodate .shell-date, html.nodate .page-head .date, html.nodate .pdtop { display: none !important; }
/* [2232_PA-A] T9 (Noter pt 12): « Ville » and « Retour » of a trip are cases — the name with its icon, the value below, in the frame */
form .pvf.ccase, form .azone.azcom > .pvf.ccase, form[data-pa-cases] .cgrid > .pvf.ccase { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; height: 50px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; overflow: hidden; }
form .pvf.ccase > label { display: flex; align-items: center; justify-content: flex-start; text-align: left; width: 100%; gap: 5px; margin: 0; font-size: 11.5px; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
form .pvf.ccase > label svg { width: 13px; height: 13px; flex: none; }
form .pvf.ccase > input, form .azone.azcom > .pvf.ccase input { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 0; height: 22px;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--link-action); text-align: left; -webkit-appearance: none; appearance: none; }
form .pvf.ccase > input::placeholder { color: var(--ink-vide); font-weight: 400; }
form .pvf.ccase > input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
form .pvf.ccase > input:focus { outline: none; }
form .pvf.ccase:focus-within { border-color: var(--accent); }
@media (max-width: 599px) { form .pvf.ccase > input { font-size: 16px; } }
/* [2232_PA-A] T13: the marker of a sender of mails, its words per kind (as « Avec ces mots » of a channel) */
.repere { margin: 8px 0; } .repere .rph { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.repere .rpk { display: grid; grid-template-columns: 120px 1fr; gap: 6px 10px; align-items: start; padding: 4px 0; }
.repere .rpl { font-size: 13px; color: var(--ink-soft); padding-top: 6px; }
@media (max-width: 599px) { .repere .rpk { grid-template-columns: 1fr; gap: 2px; } .repere .rpl { padding-top: 0; } }
/* [2232_PA-A] T17 (Interface et navigation pt 15; maquette v53 r9 rév. 4 `.r54*`): « Récents et épinglés » — a full orange dot = pinned,
   an empty circle = recent; 3 places on the iPad, 5 on the PC (4 under 1 240 px) in the top bar; 3 at the head of the panel « menu » of the iPhone */
.r54 { display: none; gap: 6px; align-items: center; margin-left: 12px; min-width: 0; overflow: visible; }
.shell-top .r54 { display: inline-flex; flex: 0 1 auto; flex-wrap: wrap; height: 28px; overflow: hidden; padding-top: 1px; }   /* a pill that does not fit goes out whole */
.r54w { position: relative; display: inline-flex; flex: none; }
.r54p { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid #4a4a4d;
  color: #e8e8ed; font-size: 12.5px; white-space: nowrap; cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.r54p i { width: 7px; height: 7px; border-radius: 50%; border: 1.3px solid #c9c9ce; box-sizing: border-box; flex: none; }
.r54p.pin i { background: #e8700a; border-color: #e8700a; }
.r54p:hover { background: rgba(255, 255, 255, .08); } .r54p.cur { background: rgba(255, 255, 255, .16); color: var(--surface); }
html.ipad .shell-top .r54 .r54w:nth-child(n+4) { display: none; }
@media (max-width: 1239px) { html.pc .shell-top .r54 .r54w:nth-child(n+5) { display: none; } }
@media (max-width: 599px) { .shell-top .r54 { display: none; } }
.r54pop { position: fixed; z-index: 60; background: var(--surface); border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); padding: 4px; min-width: 140px; }
.r54pop button { display: block; width: 100%; text-align: left; padding: 8px 12px; border: 0; background: none; color: var(--ink); font: inherit;
  font-size: 14px; border-radius: 7px; cursor: pointer; min-height: 0; }
.r54pop button:hover { background: var(--accent-fill); }
.side-r54 { display: none; }
html.iphone .side-r54 { display: block; }
.r54.r54ph { display: flex; margin: 0 4px 4px; flex-wrap: wrap; gap: 6px; }
.r54.r54ph .r54p { height: 28px; font-size: 13.5px; }

/* [1236_PA-H] T8 (n° 1618; OBJ-L v3, Alain 2026-11-20 ≈ 15:12 « on fait comme pour une tâche »): the input of an object, of a place, of a
   fiche of the Entourage — « Annuler · Modifier · Enregistrer » at the top, in sight while the page scrolls, on the three devices; the
   iPhone takes the sticky line of `.phnb` ([2232_PA-A] T1: sharp under the clock); no buttons at the bottom any more */
.phnb.obnb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: sticky; z-index: 7;
  background: var(--canvas); margin: -8px -8px 10px; padding: 4px 0; }
.phnb.obnb .backbtn { justify-self: start; font-size: 16px; }
.phnb.obnb b { font-size: 16px; }
.phnb.obnb .sv { justify-self: end; border: 0; background: none; color: var(--link-action); font: inherit; font-weight: 600;
  font-size: 16px; padding: 6px 8px; cursor: pointer; }
.phnb.obnb .sv:disabled { color: var(--ink-soft); cursor: default; }
@media (min-width: 600px) { .phnb.obnb { top: calc(50px + env(safe-area-inset-top)); max-width: 760px; }   /* under the band of the top (50 px) */ html.scrolled .phnb.obnb { box-shadow: 0 1px 0 #dfe2e6; } }

/* [1236_PA-H] the home of Objets (OBJ-L v3 variant A, PROD-A v2): the field with its microphone, ONE button « Filtres ▾ » and the orange chips of
   the filters on its line, the grey line « N objets · V € (k sans prix) », « Ouverts récemment », « PARCOURIR · N objets » (the total in
   normal grey, PROD-A v2), the tabs and the tiles; the list by family then by category; the sheets (iPhone: from the bottom; iPad, PC:
   a window). The orange marks a filter set [charte]; ⛔ no violet (AI only). */
.obacc .ob-srch .srchw { position: relative; }
.obmic { flex: none; border: 0; background: none; color: var(--ink-soft); padding: 4px; margin-left: 2px; cursor: pointer; display: inline-flex; }
.obmic.on, .obmic[aria-pressed="true"] { color: var(--danger); }
.obfl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; }
.obfb { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 6px 12px; font-size: 14px; color: var(--ink);
  text-decoration: none; white-space: nowrap; }
.obfb.on { border-color: var(--ink-soft); }
.obpill { display: inline-flex; align-items: center; gap: 6px; background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-ink);
  border-radius: 18px; padding: 6px 10px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.obpx { display: inline-flex; } .obpx svg { width: 12px; height: 12px; }
.obfl .ob-aide { margin-left: 2px; }
.obfam .fsel > summary, .obfam .fsx { display: none; }
.obfam .fsw { border: 0; background: none; }
.obsum { margin: 2px 2px 6px; font-size: 13px; color: var(--ink-soft); }
.obsum span { color: var(--ink-vide); }
.obfh { display: flex; align-items: baseline; gap: 8px; margin: 16px 2px 2px; font-size: 17px; font-weight: 800; color: var(--ink); }
.obfh .n { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.obacc h3.ob-gr { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 8px 2px 4px; }
.obsec { display: flex; align-items: center; margin: 16px 2px 6px; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.obsec > span { flex: 1; }
.obsec .obtot { text-transform: none; letter-spacing: 0; font-weight: 400; }
.obsec .lnk { text-transform: none; letter-spacing: 0; color: var(--link-action); background: none; border: 0; font: inherit; font-size: 14px; cursor: pointer; padding: 2px 4px; }
.obrec { display: flex; gap: 10px; overflow-x: auto; padding: 0 2px 4px; scrollbar-width: none; }
.obrec::-webkit-scrollbar { display: none; }
.obrc { flex: none; width: 96px; background: var(--surface); border-radius: 12px; padding: 8px; font-size: 12px; color: var(--ink); text-decoration: none; }
.obrc .ob-ph.big { width: 80px; height: 56px; flex: none; margin-bottom: 6px; border-radius: 8px; }
.obrc .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.obongs { display: flex; gap: 6px; margin: 0 2px 8px; }
.obong { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 6px 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
.obong.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.obgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.obtile { background: var(--surface); border-radius: 12px; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.obtile b { display: block; font-weight: 600; }
.obtile span { color: var(--ink-soft); font-size: 13px; }
.obsh-w { position: fixed; inset: 0; z-index: 60; }
.obsh-v { position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.obsh { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: var(--surface); border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 600px) {
  .obsh { left: 50%; right: auto; bottom: auto; top: 12vh; width: 420px; transform: translateX(-50%); border-radius: 14px; max-height: 76vh;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18); }
}
.obsh-h { position: sticky; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 14px; background: var(--surface);
  border-bottom: 1px solid var(--line); }
.obsh-h b { text-align: center; font-size: 16px; }
.obsh-h a { color: var(--link-action); text-decoration: none; font-size: 15px; }
.obsh-h > :last-child { justify-self: end; }
.obsh-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink);
  text-decoration: none; background: var(--surface); }
.obsh-it > span:first-child { flex: 1; }
.obsh-it .v { color: var(--ink-soft); font-size: 14px; }
.obsh-it .v.o, .obsh-it.sel > span:first-child { color: var(--warn-ink); font-weight: 600; }
.obsh-it.p1 { padding-left: 30px; } .obsh-it.p2 { padding-left: 46px; } .obsh-it.p3 { padding-left: 62px; } .obsh-it.p4 { padding-left: 78px; }
.obsh-lab { padding: 10px 14px 4px; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; }
.obsh-p { padding: 8px 14px 12px; }
.obsh-p input { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.obsh-bt { padding: 12px 14px; }
.obsh-bt .primary { display: block; width: 100%; text-align: center; text-decoration: none; }
/* the menu ⋯ of a fiche (OBJ-K v2 ②): a window under the button (iPad, PC), a sheet from the bottom (iPhone) */
.obmenu { position: relative; }
.obmenu > summary { list-style: none; cursor: pointer; color: var(--link-action); padding: 4px 6px; display: inline-flex; }
.obmenu > summary::-webkit-details-marker { display: none; }
.obm-v { display: none; }
.obm-p { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; width: 300px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 8px 26px rgba(0, 0, 0, .18); overflow: hidden; }
.obm-h { padding: 12px 14px; font-weight: 700; border-bottom: 1px solid var(--line); }
.obm-it { display: block; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.obm-it .s { display: block; color: var(--ink-soft); font-size: 13px; }
.obm-it.red { color: var(--danger); }
.obm-f { margin: 0; }
@media (max-width: 599px) {
  .obmenu[open] > .obm-v { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(0, 0, 0, .25); }
  .obm-p { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 16px 16px 0 0; border: 0;
    padding-bottom: env(safe-area-inset-bottom); max-height: 82vh; overflow-y: auto; }
}
/* the badges of a repair (OBJ-K v1 of [2232_PA], point 2): pale orange, pale blue — not a status, ⛔ no violet */
.ob-pill.rep { background: #fdebd8; color: #9a4a0c; }
.ob-pill.sav { background: #e1edfb; color: #1f4f8f; }
/* the block « Interventions » */
.obiv { padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.obiv .m { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.obiv .m a { color: var(--link-action); }
/* the sheet « Remettre en marche ou réparer… » and « C'est fait — que garder ? » */
.obsegs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.obseg { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 6px 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
.obseg.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.obchips { display: flex; flex-wrap: wrap; gap: 6px; }
.obchip { display: inline-flex; align-items: center; gap: 6px; background: var(--chip-bg); border-radius: 14px; padding: 4px 10px; font-size: 13px; }
.obchip a { display: inline-flex; color: var(--ink-soft); } .obchip svg { width: 12px; height: 12px; }
.obplus { display: flex; gap: 8px; align-items: center; padding: 4px 0 8px; }
.obplus input { font: inherit; font-size: 16px; width: 140px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.obgar { padding: 8px 10px; margin: 6px 0; border-radius: 10px; background: var(--chip-bg); color: var(--ink-soft); font-size: 14px; }
.obgar.ok { background: #e3f4e8; color: #1e6b37; }
.obgar a { color: var(--link-action); }
.obrep .obsh-bt, .ob-saisie .obsh-bt { padding: 12px 0; }
.phnb.obnb .obpass { justify-self: start; color: var(--link-action); font-weight: 400; }
/* « Retrouver par photo » */
.obphoto .ob-ph1 img { display: block; max-width: 100%; max-height: 220px; border-radius: 12px; margin-bottom: 6px; }
.obnear { flex: none; font-size: 12px; border-radius: 8px; padding: 2px 8px; }
.obnear.a { background: #dcfce7; color: #166534; } .obnear.b { background: #fef9c3; color: #854d0e; } .obnear.c { background: var(--chip-bg); color: var(--ink-soft); }
.obneuf { color: var(--link-action); }
.sg-ecran .emh { padding: 8px 14px 2px; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; }
/* [1236_PA-H] T11: a reminder of an object in « Échéances » (badge « objet », the registered glyph of Objets) */
.obrap { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.obrap-i { flex: none; color: var(--ink-soft); padding-top: 2px; }
.obrap-t a { color: var(--ink); text-decoration: none; font-weight: 500; }
.obrap-t .ob-pill { margin-left: 6px; font-size: 11px; }
.obrap-t .meta { display: block; }
.obrap-t .meta a { color: var(--link-action); font-weight: 400; }
.obphoto .ob-photo.ob-ph1 { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 120px;
  padding: 14px; font-size: 15px; color: var(--link-action); text-align: center; }
/* [2232_PA-B] R5 (OBJ-L v3 ④): the camera button right of the search field of Objets, outside the field (the 🎤 is inside) */
.ob-srch[data-pa-obsrch] { display: flex; gap: 8px; align-items: stretch; }
.ob-srch[data-pa-obsrch] .srchw { flex: 1; min-width: 0; }
.obcam { flex: none; width: 44px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.obcam svg { width: 22px; height: 22px; }
/* [2232_PA-B] R4 (Noter pt 12; Alain 2026-11-20 ≈ 19:51): no more frame around Ville, Retour and the sentence — the cases sit on the grid of
   Nature and Date (two columns, same gap, same edges); the sentence below, grey, without frame. The date of iOS lies over its case, out of the flow */
form .azone.azcom { border: 0; background: none; padding: 0; border-radius: 0; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
form .azone.azcom .nhint { color: var(--ink-soft); }
form .pvf.ccase.cdate { position: relative; }
form .pvf.ccase.cdate > .cval { display: block; width: 100%; align-self: stretch; text-align: left; font-size: 14.5px; font-weight: 600; color: var(--link-action); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 22px; }
form .pvf.ccase.cdate.vide > .cval { color: var(--ink-vide); font-weight: 400; }
form .pvf.ccase.cdate > input[type="date"], form .azone.azcom > .pvf.ccase.cdate input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; opacity: 0; cursor: pointer; z-index: 1; }
@media (max-width: 599px) { form .pvf.ccase.cdate > .cval { font-size: 16px; } }
/* [2232_PA-B] R1 (b): the dictation paused by iOS — the microphone stays lit, a line under the field invites a touch to go on */
.dpause { display: block; width: 100%; margin: 6px 0 0; padding: 8px 10px; border: 1px dashed var(--accent); border-radius: 10px; background: var(--surface);
  color: var(--link-action); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.dpause[hidden] { display: none; }
[data-pa-mic].pause, [data-pa-capmic].pause { animation: none; opacity: .85; }
/* [2232_PA-B] (OBJ-M v5): the labels with a QR code — Référentiels › Objets › Étiquettes, « À quoi l'associer ? », the line of a fiche */
.etq-tabs { display: flex; gap: 6px; margin: 0 0 12px; }
.ob-tab { padding: 6px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; }
.ob-tab.on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.etq-seg { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; flex-wrap: wrap; }
.etq-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .etq-cols { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; } }
.etq-fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.etq-fs legend { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.etq-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.etq-opt input { grid-row: span 2; }
.etq-opt .t { font-weight: 600; }
.etq-opt .m { grid-column: 2; font-size: 13px; color: var(--ink-soft); }
.etq-opt:has(input:checked) { border-color: var(--accent); }
.etq-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; margin-top: 10px; }
.etq-feuille { margin: 0 0 8px; font-size: 14px; }
.etq-qs { display: flex; flex-direction: column; gap: 6px; }
.etq-q { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 6px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.etq-q select { min-width: 0; width: 100%; font-size: 14px; }
.etq-qn { font-size: 13px; color: var(--ink-soft); }
.etq-qc { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.etq-bt { margin-top: 12px; }
.etq-bt .primary { width: 100%; }
.etq-ap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.etq-ap .etq-tot { margin: 0 0 6px; font-size: 14px; }
.etq-apercu { max-width: 100%; height: auto; }
.etq-apercu .pg { fill: var(--surface); stroke: #c7cbd1; stroke-width: .6; }
.etq-apercu .qt { stroke: #9aa1aa; stroke-width: .4; stroke-dasharray: 2 2; fill: none; }
.etq-apercu .ss { fill: #f1f3f5; stroke: #9aa1aa; stroke-width: .25; }
.etq-apercu .av { fill: #dbe9fb; stroke: #6b9be0; stroke-width: .25; }
.etq-apercu .cq { fill: #1f2937; }   /* [0941_PA-A] T6: the code in each label of a sheet, at the left with or without the number */
.etq-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.etq-id { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; letter-spacing: .02em; }
.etq-list .ob-li { min-height: 44px; }
.etq-vide { padding: 12px; margin: 0; }
.etq-adr, .etq-neuve { margin-top: 14px; }
.etq-sh { max-width: 640px; }
.etq-sht h1 { font-size: 24px; margin: 6px 0 12px; }
.etq-lab { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 12px 4px 6px; }
.etq-tag { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: 13px; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.etq-ch-f { margin: 0; }
button.ob-li.etq-cible { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.etq-autres { margin-top: 12px; }
.etq-autres .ob-li svg, .etq-ic { width: 22px; flex: none; display: inline-flex; justify-content: center; color: var(--link-action); font-size: 18px; }
.etq-q-f { margin: 0 0 8px; }
.etq-conf p { margin: 0 0 10px; }
.etq-bts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.etq-bts .b, .etq-bts .primary { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; }
.etq-kv .v { display: flex; flex-direction: column; }
.etq-gestes { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 2px 12px 8px; }
.etq-gestes .etq-lk { color: var(--link-action); text-decoration: none; font-size: 14px; }
.etq-gestes .etq-lk .s { display: none; }
@media (max-width: 599px) { .etq-q { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr) 34px; } .etq-q select { font-size: 16px; } }
/* [2232_PA-B] R4 (control « largeur de page = largeur d'écran », Modifier of an idea, a meeting, a note, a specification on the iPhone: the
   page was 482 px wide): the hidden file field of « Coller une image… » kept the width of its button of WebKit outside its 1 px box — it is
   held in the corner of the zone, clipped */
.ndrop { overflow: hidden; }
.ndrop input { left: 0; top: 0; overflow: hidden; clip-path: inset(50%); }
.etq-bts .b, .etq-bts .primary { flex: 1 1 0; width: auto; margin: 0; justify-content: center; }
/* [2232_PA-B] R2 (Anomalies iPhone pt 1; constat d'Alain du 2026-11-20 22:55: « ‹ Annuler » flou en haut de « Remettre en marche », page non
   défilée — toutes les barres du haut des saisies): on the iPhone the bars of the inputs of objects, places and Entourage take the same
   construction as the line ☰ · loupe · ⋯ — sticky under the zone of the clock, from one edge of the screen to the other, 40 px */
@media (max-width: 599px) {
  .wrap > .phnb.obnb { position: sticky; top: env(safe-area-inset-top); margin: -12px -16px 10px; padding: 4px 8px 0; height: 40px;
    box-sizing: border-box; background: var(--canvas); }
  html.vv-decale .wrap > .phnb.obnb { top: calc(env(safe-area-inset-top) + var(--pa-vvh, 0px)); }
}
@media (max-width: 599px) {
  /* the same for the line « ‹ <retour> … ⋯ » of the fiches and sheets of the objects, places, labels (« ‹ Annuler » of « Remettre en
     marche », capture of 2026-11-20 22:55): iOS blurs what lies under the zone of the clock, not a bar sticky across the whole width */
  .wrap > .ob-top { position: sticky; top: env(safe-area-inset-top); z-index: 7; margin-left: -16px; margin-right: -16px; padding-left: 16px;
    padding-right: 16px; min-height: 40px; box-sizing: border-box; background: var(--canvas); }
  html.vv-decale .wrap > .ob-top { top: calc(env(safe-area-inset-top) + var(--pa-vvh, 0px)); }
}
@media (max-width: 599px) {
  /* a page that has its own line ☰ · loupe · ⋯ under « ‹ <retour> »: that line is the sticky bar; « ‹ <retour> » scrolls away as before */
  .wrap > .ob-top:has(~ .phtb) { position: static; min-height: 0; }
}

/* [1236_PA-I] THE two choosers (PERS-A v2, validated by Alain on 2026-11-20 23:04 and 23:14; ecrans/choisir.py): a sheet on the iPhone,
   a window on the iPad and the PC (the sheet of Objets, .obsh); the search is the only field; « Prénom <b>Nom</b> », the link in grey;
   letters at the right. ⛔ No violet (AI only). */
.pch .pch-s { display: flex; flex-direction: column; overflow: hidden; height: 82vh; max-height: 82vh; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 700px) { .pch .pch-s { height: 76vh; max-height: 640px; width: 460px; } }
.pch-q { margin: 10px 14px 4px; display: flex; align-items: center; gap: 8px; background: var(--chip-bg); border-radius: 10px; padding: 7px 10px; }
.pch-q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; outline: none; color: var(--ink); }
.pch-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px; }
.pch-chips:empty { display: none; }
.pch-chip { display: inline-flex; align-items: center; gap: 4px; background: color-mix(in srgb, var(--link-action) 12%, var(--surface));
  color: var(--ink); border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 14px; }
.pch-chx { border: 0; background: transparent; padding: 2px; display: inline-flex; color: var(--ink-soft); cursor: pointer; }
.pch-chx svg { width: 12px; height: 12px; }
.pch-b { flex: 1; overflow-y: auto; position: relative; -webkit-overflow-scrolling: touch; padding-right: 18px; }
.pch-b .obsh-lab { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.pch-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.pch-it[hidden] { display: none; }
.pch-it:active, .pch-it.on { background: color-mix(in srgb, var(--link-action) 6%, var(--surface)); }
.pch-av { width: 34px; height: 34px; border-radius: 50%; background: var(--chip-bg); color: var(--ink-soft); font-size: 13px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center; }
.pch-tx { flex: 1; min-width: 0; }
.pch-tx b { font-weight: 600; }
.pch-tx .m { display: block; font-size: 13px; color: var(--ink-soft); }
.pch-o .ob-ph { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; font-size: 12px; }
.pch-o .pch-tx .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pch-ck { color: var(--link-action); font-weight: 700; width: 18px; flex: 0 0 18px; text-align: center; }
.pch-new { display: block; width: 100%; padding: 12px 14px; border: 0; background: transparent; color: var(--link-action); font: inherit;
  font-size: 16px; text-align: left; cursor: pointer; }
.pch-new[hidden], .pch-cree[hidden], .pch-n[hidden], .pch-rien[hidden], .pch-idx[hidden], .pch-sec[hidden], .pch-b .obsh-lab[hidden] { display: none; }
.pch-rien { padding: 10px 14px; }
.pch-cree { padding: 0 14px 12px; }
.pch-cree .ob-f input { font-size: 16px; }
.pch-cbt { display: flex; gap: 8px; justify-content: flex-end; padding-top: 8px; }
.pch-idx { position: absolute; right: 2px; top: 132px; bottom: 60px; display: flex; flex-direction: column; justify-content: center; gap: 4px; z-index: 2; }
.pch-idx a { font-size: 11px; font-weight: 600; color: var(--link-action); text-decoration: none; padding: 0 4px; }
.pch-pied { padding: 8px 14px; margin: 0; border-top: 1px solid var(--line); }
.pch-foot { border-top: 1px solid var(--line); padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.pch-foot span { flex: 1; color: var(--ink-soft); white-space: nowrap; }
.pch-foot input { flex: none; width: auto; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.pch-ok { border: 0; background: transparent; color: var(--link-action); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
/* the field of a form that opens a chooser */
.pch-f { display: flex; flex: 1; min-width: 0; }
.pch-champ { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px;
  color: var(--ink); text-align: left; padding: 4px 0; cursor: pointer; }
.pch-champ span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pch-champ.vide span:first-child { color: var(--ink-soft); }
.pch-champ .ch { color: var(--ink-soft); }
.pch-chs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; min-width: 0; }
.pch-add { border: 0; background: transparent; color: var(--link-action); font: inherit; font-size: 15px; padding: 4px 0; cursor: pointer; }
/* [1236_PA-I] task 7: the name of an object in the sheet of a repair, whole, on two lines if needed (no « … (pour l · 1279 ») */
.obobjs .obchips { flex: 1; min-width: 0; }
.obchip0, .obobjs .pch-chip { white-space: normal; overflow-wrap: anywhere; max-width: 100%; line-height: 1.3; }
/* [1236_PA-I] task 9: « Photo à améliorer » — a discreet mark on the thumbnail (orange, the colour of « à reprendre »; ⛔ no violet)
   and the form under the photo opened */
.ob-ph, .ob-photo { position: relative; }
.ob-pam { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fdebd8; color: #9a4a0c;
  border: 1px solid #f3b27a; font-size: 11px; font-weight: 700; line-height: 14px; text-align: center; pointer-events: none; }
.pa-zoom-amel { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(420px, calc(100% - 24px));
  background: var(--surface); color: var(--ink); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ob-pamc { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ob-pamc input { width: 20px; height: 20px; }
.ob-pamms { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-pamm { display: inline-flex; }
.ob-pamm input { position: absolute; opacity: 0; pointer-events: none; }
.ob-pamm span { border: 1px solid var(--line); border-radius: 14px; padding: 4px 10px; font-size: 14px; cursor: pointer; }
.ob-pamm input:checked + span { background: #fdebd8; border-color: #f3b27a; color: #9a4a0c; font-weight: 600; }
.ent-nm b { font-weight: 600; }
.ent-lieo { display: block; }
