:root {
  /* charte Monceau Invest : _Outils/python/charte_mi.py */
  --marine: #254C83; --marine-clair: #5B82B8; --marine-pale: #A8C0DC; --ocre: #B0873B;
  --ink: #1C2833; --ink-2: #3a4757; --muted: #6B7785; --line: #E1E6EB; --bg: #F3F5F7; --card: #fff;
  --accent: #254C83; --accent-2: #254C83; --ok: #1d7a46; --warn: #8a6420; --danger: #b42318;
  --r: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 "Open Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
h1 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 12px; color: var(--ink-2); }
h2.mt { margin-top: 22px; }
code { background: #eef1f5; padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.muted { color: var(--muted); } .small { font-size: 13px; } .nowrap { white-space: nowrap; }

.top { background: var(--marine); color: #fff; display: flex; align-items: center; gap: 24px; padding: 0 20px 0 0; flex-wrap: wrap; min-height: 62px; border-bottom: 3px solid var(--ocre); }
.top a { color: #dfe7f1; }
.top nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.top nav a { padding: 6px 10px; border-radius: 6px; font-size: 14px; }
.top nav a.on, .top nav a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.top .who { font-size: 13px; color: #d3deec; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 62px; width: auto; }
.brand .app { font-size: 15px; font-weight: 500; letter-spacing: .02em; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); line-height: 22px; }
.login-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: -20px -20px 22px; padding: 26px 20px 18px; background: var(--marine); border-radius: var(--r) var(--r) 0 0; border-bottom: 3px solid var(--ocre); color: #fff; }
.login-head img { height: 80px; width: auto; display: block; }
.login-head span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #d3deec; }

.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 16px 22px; border-top: 1px solid var(--line); line-height: 1.6; }
body.centre main { display: grid; place-items: center; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.card.flush { padding: 0; overflow-x: auto; }
.card.empty { text-align: center; padding: 40px 20px; }
.login { width: 100%; max-width: 380px; }
.msg { max-width: 520px; text-align: center; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.head.small { margin-bottom: 10px; } .head.small h2 { margin: 0; }

label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #cfd5dd; border-radius: 7px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b7d0ee; border-color: var(--accent-2); }
input.num { display: inline-block; width: 76px; margin: 0 4px; }
label.chk { display: flex; align-items: baseline; gap: 8px; font-weight: 400; color: var(--ink); }
label.chk input { width: auto; margin: 0; display: inline; }
.tree label.chk { padding: 5px 0; margin: 0; border-bottom: 1px dashed var(--line); }
.tree label.folder { padding-top: 10px; }
.tree label.indent { padding-left: 24px; }
.tree input:disabled + * , .tree label:has(input:disabled) { color: var(--muted); }

.btn { display: inline-block; padding: 8px 14px; border-radius: 7px; border: 1px solid #cfd5dd; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f1f4f8; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #1c3b66; }
.btn.danger { color: var(--danger); border-color: #f1c4c0; }
.btn.danger:hover { background: #fdf0ef; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent-2); }
.btn.small { padding: 3px 8px; font-size: 12px; }
.login .btn { width: 100%; margin-top: 6px; padding: 10px; }

.err { color: var(--danger); font-size: 14px; }
.flash { background: #eaf3ec; border: 1px solid #c4e1cc; color: var(--ok); padding: 10px 14px; border-radius: 8px; }
.linkbox { border-color: #b7d0ee; background: #f4f8fd; }
.copy { display: flex; gap: 8px; margin: 12px 0; } .copy input { margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cols .card { margin-bottom: 0; }
.cols .actions { grid-column: 1 / -1; }
.cols + .cols, form.cols + .cols, .cols + .card { margin-top: 18px; }
form.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 8px; }
form.inline input:not([type=checkbox]):not(.num) { flex: 1; min-width: 160px; margin: 0; }
form.inline label { margin: 0; }
.filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.filters label { margin: 0; min-width: 180px; flex: 1; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl.small td, .tbl.small th { padding: 6px 8px; }
.tbl tr.dim td { color: var(--muted); }
.ua { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: var(--ink-2); margin: 1px 2px 1px 0; }
.tag.ok { background: #e6f4ea; color: var(--ok); } .tag.off { background: #fdecea; color: var(--danger); } .tag.dark { background: var(--ink); color: #fff; }
.ev { font-size: 12px; padding: 1px 7px; border-radius: 5px; background: #eef1f5; }
.ev-vue { background: #e7f0fb; color: var(--accent); } .ev-echec, .ev-refus, .ev-quota { background: #fdecea; color: var(--danger); }
.ev-connexion, .ev-lien { background: #e6f4ea; color: var(--ok); } .ev-admin { background: #fff4e0; color: var(--warn); }

.group { margin-bottom: 26px; }
.group h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--marine); border-bottom: 2px solid var(--marine-pale); padding-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.tile .ico { color: var(--ocre); }
.tile .t { font-weight: 600; line-height: 1.3; }
.tile .meta { font-size: 12px; color: var(--muted); }

@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .top { gap: 8px 12px; padding: 10px 14px; }
  .top .who { margin-left: auto; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .top nav a { white-space: nowrap; }
  .brand .app { display: none; }
  .brand img { height: 48px; }
}

/* v3 : formulaire identité, invitations */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.tag.wait { background: #fbf3e4; color: var(--warn); }
.ev-activation { background: #e6f4ea; color: var(--ok); }
.right { text-align: right; }
form.mt, .mt { margin-top: 12px; }
.h-form { font-size: 19px; margin: 0 0 6px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.top .who a { color: #fff; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
fieldset.role { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 2px; margin: 4px 0 14px; }
fieldset.role legend { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 0 4px; }
fieldset.role label.chk { margin-bottom: 8px; }
.center { text-align: center; }
.pw-wrap { position: relative; display: block; margin-top: 4px; }
.pw-wrap input { margin-top: 0; padding-right: 42px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); padding: 6px; cursor: pointer; line-height: 0; border-radius: 6px; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--marine); background: #eef2f7; outline: none; }
form.inline .pw-wrap { flex: 1; min-width: 160px; margin: 0; }
.tbl th a { color: var(--muted); text-decoration: underline dotted; }
.tbl th a:hover { color: var(--marine); }
h2.section { font-size: 17px; color: var(--marine); margin: 26px 0 2px; display: flex; align-items: center; gap: 8px; }
h2.section:first-of-type { margin-top: 6px; }
h2.section .count { font-size: 12px; font-weight: 600; background: var(--marine-pale); color: var(--marine); border-radius: 999px; padding: 1px 8px; }
p.sub { margin: 0 0 10px; }
/* liste des utilisateurs : mêmes largeurs de colonnes dans les deux tableaux */
.tbl-users { table-layout: fixed; min-width: 980px; }
.tbl-users col.c-nom { width: 21%; } .tbl-users col.c-mail { width: 21%; } .tbl-users col.c-cartes { width: 11%; }  /* 02/12/2026 : colonne « Accès » détaillée */
.tbl-users col.c-fin { width: 10%; } .tbl-users col.c-vue { width: 15%; } .tbl-users col.c-statut { width: 12%; }
.tbl-users col.c-ajout { width: 10%; }
.tbl-users td { overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.tbl-users td.small { word-break: break-all; }
.tbl-users th.right, .tbl-users td.right { text-align: right; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 26px; }
.section-head h2.section { margin: 0 0 2px; }
.section-head:first-of-type { margin-top: 6px; }

/* surlignage au survol */
.tbl tbody tr { transition: background-color .12s; }
.tbl tbody tr:hover td { background: #eef3fa; }
.tbl-users tbody tr[data-href] { cursor: pointer; }
.tbl-users tbody tr[data-href]:hover td:first-child { box-shadow: inset 3px 0 0 var(--marine); }
.tree label.chk { border-radius: 6px; padding-left: 6px; padding-right: 6px; transition: background-color .12s; cursor: pointer; }
.tree label.chk:hover { background: #eef3fa; }
.tree label.indent { padding-left: 30px; }
fieldset.role label.chk { border-radius: 6px; padding: 4px 6px; cursor: pointer; transition: background-color .12s; }
fieldset.role label.chk:hover { background: #eef3fa; }
.btn { transition: background-color .12s, border-color .12s, color .12s; }
.btn:not(.primary):not(.danger):not(.ghost):hover { border-color: var(--marine-clair); color: var(--marine); background: #f2f6fb; }
.btn.danger:hover { background: #fdecea; border-color: var(--danger); }
.tile:hover { box-shadow: 0 4px 14px rgba(37,76,131,.14); }
.top nav a { transition: background-color .12s; }

/* bouton principal : liseré coloré au survol, comme les cases d'étage du site domotique */
.btn.primary { transition: box-shadow .12s, background-color .12s; }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent), 0 4px 10px rgba(29, 42, 54, .25); text-decoration: none; }
/* 25/10/2026 : menu déroulant « Administration » (Utilisateurs, Accès aux cartes, Journal) */
.top nav .menu { position: relative; }
.top nav .menu > a { display: block; }
.top nav .menu.on > a { background: rgba(255,255,255,.12); color: #fff; }
.top nav .menu .sous { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 190px; padding: 8px 6px 6px;
  background: #254C83; border-bottom: 3px solid #B0873B; border-radius: 0 0 6px 6px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.top nav .menu:hover .sous, .top nav .menu:focus-within .sous { display: block; }
.top nav .menu .sous a { display: block; padding: 7px 10px; white-space: nowrap; }
@media (max-width: 760px) {
  .top nav .menu .sous { position: static; display: flex; padding: 0; background: none; border: 0; box-shadow: none; min-width: 0; }
  .top nav .menu > a { display: none; }
}
/* 25/10/2026 : page Accès — intertitres Application / Cartes */
h2.sect { font-size: 15px; margin: 22px 0 8px; color: #254C83; } h2.sect .small { font-weight: 400; margin-left: 6px; }
/* 26/11/2026 : espace documents */
.fil { margin-top: 4px; color: var(--muted); } .fil a { color: var(--marine); }
.err-box { background: #fdecea; border-color: #f1c4c0; color: var(--danger); }
.depot .zone { border: 2px dashed var(--marine-pale); border-radius: var(--r); padding: 22px 16px; text-align: center; color: var(--marine);
  background: #f7f9fc; transition: background-color .12s, border-color .12s; }
.depot .zone p { margin: 6px 0; color: var(--ink); }
.depot .zone.survol { background: #e7f0fb; border-color: var(--marine); }
.lien-fichier { display: inline; margin: 0; font-size: inherit; font-weight: 400; color: var(--marine); text-decoration: underline; cursor: pointer; }
.envois-tete { display: flex; gap: 10px; align-items: center; margin: 14px 0 6px; flex-wrap: wrap; }
ul.envois { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
ul.envois li { display: grid; grid-template-columns: minmax(0, 1fr) 80px 160px; gap: 4px 12px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
ul.envois .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
ul.envois .t { text-align: right; }
ul.envois .barre { height: 6px; background: #eef1f5; border-radius: 3px; overflow: hidden; }
ul.envois .barre span { display: block; height: 100%; width: 0; background: var(--marine-clair); transition: width .2s; }
ul.envois li.ok .barre span { background: var(--ok); } ul.envois li.ko .barre span { background: var(--danger); }
ul.envois .e { grid-column: 1 / -1; color: var(--muted); } ul.envois li.ok .e { color: var(--ok); } ul.envois li.ko .e { color: var(--danger); }
ul.envois .e:empty { display: none; }
.tbl.docs td { vertical-align: middle; }
a.doc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); word-break: break-word; }
a.doc svg { flex: none; color: var(--marine-clair); } a.doc.dossier svg { color: var(--ocre); }
a.doc:hover span { text-decoration: underline; }
.nouveau-dossier { margin-top: 18px; } .nouveau-dossier label { font-weight: 500; }
dialog.card { max-width: 480px; width: calc(100% - 32px); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(28, 40, 51, .35); }
.card.partage { max-width: 900px; margin: 0 auto; }
.ev-telechargement { background: #e7f0fb; color: var(--accent); }
@media (max-width: 760px) { ul.envois li { grid-template-columns: minmax(0, 1fr) 70px; } ul.envois .barre { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .tbl.docs th:nth-child(3), .tbl.docs td:nth-child(3) { display: none; }
  .tbl.docs td, .tbl.docs th { padding: 10px 8px; }
  a.doc { word-break: normal; overflow-wrap: anywhere; }
}
/* 26/11/2026 (2) : arborescence, envoi à un groupe, journal des documents */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.docs-main { min-width: 0; }
.arbre { padding: 10px 0; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.arbre a { display: block; padding: 5px 12px; color: var(--ink); font-size: 14px; border-left: 3px solid transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arbre a:hover { background: #eef3fa; text-decoration: none; }
.arbre a.racine { font-weight: 600; color: var(--marine); }
.arbre a.chemin { color: var(--marine); font-weight: 500; }
.arbre a.on { background: #e7f0fb; border-left-color: var(--marine); color: var(--marine); font-weight: 600; }
dialog.card.large { max-width: 640px; }
.groupe-choix { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .groupe-choix select { margin: 0; flex: 1; }
.dest-liste { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }
.dest-liste label.chk { margin: 0; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.ev-consultation { background: #eef1f5; color: var(--ink-2); }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .arbre { position: static; max-height: 220px; } }
.ev-fichiers { background: #fff4e0; color: var(--warn); }
/* 26/11/2026 (3) : projets et personnes sans compte dans « Envoyer à… » */
.projets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.btn.projet.pris { background: #e7f0fb; border-color: var(--marine-clair); color: var(--marine); }
.strong-label { font-weight: 500; color: var(--ink-2); margin: 0 0 6px; }
.duree { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: -4px 0 12px; }
.duree label { margin: 0; } .inline-l { display: inline-block; }
/* 26/11/2026 (4) : groupes décochables, durée grisée */
.btn.projet[aria-pressed=true]::before { content: "✓ "; }
.autres-groupes { margin: 0 0 10px; } .autres-groupes summary { cursor: pointer; color: var(--marine); margin-bottom: 6px; }
label.grise { color: var(--muted); } label.grise input { background: #f1f3f6; }
/* ===== 26/11/2026 (5) : mise en page de l'espace Documents (en-tête, barre d'outils, dépôt, liste, survols) ===== */
.page-docs .btn, .doc-actions .btn, .outils .btn, .partage .btn { display: inline-flex; align-items: center; gap: 7px; }
.doc-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.fil { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.fil a { color: var(--marine); padding: 2px 6px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px; transition: background-color .12s; }
.fil a:hover { background: #e7f0fb; text-decoration: none; }
.fil a svg { width: 15px; height: 15px; }
.fil .sep { color: #b3bcc6; padding: 0 1px; }
.fil .ici { color: var(--ink); font-weight: 500; padding: 2px 6px; }
.doc-titre h1 { display: flex; align-items: center; gap: 10px; font-size: 26px; line-height: 1.2; }
.retour { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--marine); transition: background-color .12s, border-color .12s, transform .12s; }
.retour:hover { background: #e7f0fb; border-color: var(--marine-clair); transform: translateX(-2px); text-decoration: none; }
.doc-resume { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.doc-actions, .outils-g, .outils-d { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.outils { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding: 6px; margin-bottom: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.outils .btn { border-color: transparent; background: transparent; color: var(--ink-2); padding: 7px 12px; }
.outils .btn svg { color: var(--marine-clair); transition: color .12s; }
.outils .btn:not(.primary):not(.danger):not(.ghost):hover, .outils .btn.ghost:hover { background: #eef3fa; border-color: transparent; color: var(--marine); text-decoration: none; }
.outils .btn:hover svg { color: var(--marine); }
.pill { display: inline-block; background: var(--marine-pale); color: var(--marine); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 600; margin-left: 2px; }
.depot { margin-bottom: 14px; }
.depot .zone { display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-align: left; font-size: 13.5px; color: var(--ink);
  border: 1.5px dashed var(--marine-pale); border-radius: var(--r); background: #f7f9fc; transition: background-color .15s, border-color .15s; }
.depot .zone svg { flex: none; width: 26px; height: 26px; color: var(--marine); }
.depot .zone .muted { display: block; font-size: 12.5px; margin-top: 2px; }
.depot .zone.survol { background: #e7f0fb; border-color: var(--marine); }
#envois.card { margin: 10px 0 0; padding: 12px 16px; }
#envois .envois-tete { margin-top: 0; }
.voile { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; pointer-events: none; background: rgba(37, 76, 131, .16); backdrop-filter: blur(1px); }
.voile > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 54px; background: #fff; color: var(--marine);
  border: 2px dashed var(--marine); border-radius: 16px; box-shadow: 0 24px 60px rgba(16, 24, 40, .25); }
.voile svg { width: 42px; height: 42px; } .voile strong { font-size: 18px; } .voile span { color: var(--muted); font-size: 13px; }
/* liste */
.liste-docs { overflow: visible; }
.tbl.docs td { padding: 9px 14px; vertical-align: middle; }
.tbl.docs th.col-act { width: 1%; }
.tbl.docs tr.ligne { cursor: pointer; }
.tbl.docs tbody tr.ligne:hover td { background: #f2f6fb; }
.tbl.docs tbody tr.ligne:hover td:first-child { box-shadow: inset 3px 0 0 var(--marine); }
.tbl.docs tbody tr:last-child td:first-child { border-bottom-left-radius: var(--r); }
a.doc { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
a.doc:hover { text-decoration: none; }
a.doc .n { overflow-wrap: anywhere; transition: color .12s; }
.tbl.docs tr.ligne:hover a.doc .n { color: var(--marine); }
.ico-dossier { flex: none; color: #C99A45; }
.pastille { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 22px; border-radius: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; background: #8a96a3; }
.p-pdf { background: #c0392b; } .p-doc { background: #2b5797; } .p-xls { background: #1d7a46; } .p-ppt { background: #c55a11; }
.p-img { background: #2f8f83; } .p-zip { background: #B0873B; } .p-vid { background: #6b4fa0; } .p-plan { background: #5B82B8; } .p-txt { background: #6B7785; }
td.act { text-align: right; white-space: nowrap; }
.ib { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 2px; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; position: relative;
  transition: background-color .12s, border-color .12s, color .12s, opacity .12s, box-shadow .12s; }
.ib:hover, .ib:focus-visible { background: #fff; border-color: var(--marine-clair); color: var(--marine); box-shadow: var(--shadow); outline: none; text-decoration: none; }
.ib.danger:hover, .ib.danger:focus-visible { color: var(--danger); border-color: #f1c4c0; background: #fdf0ef; }
@media (hover: hover) {
  .tbl.docs td.act .ib { opacity: 0; }
  .tbl.docs tr:hover td.act .ib, .tbl.docs tr:focus-within td.act .ib { opacity: 1; }
}
.compteur { display: inline-block; min-width: 28px; text-align: center; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: var(--ink-2); position: relative;
  transition: background-color .12s, color .12s; }
.compteur:hover { background: var(--marine); color: #fff; text-decoration: none; }
td.vide { text-align: center; padding: 46px 16px; color: var(--muted); }
td.vide svg { width: 30px; height: 30px; color: var(--marine-pale); }
/* infobulles */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  z-index: 40; padding: 4px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4;
  white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(16, 24, 40, .2); }
td.act [data-tip]:hover::after, td.act [data-tip]:focus-visible::after { left: auto; right: 0; transform: none; }
/* arborescence */
.arbre { padding: 8px; }
.arbre a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin: 1px 0; border-left: 0; border-radius: 7px; font-size: 14px; color: var(--ink);
  transition: background-color .12s, color .12s; }
.arbre a svg { flex: none; width: 17px; height: 17px; }
.arbre a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arbre a.racine { color: var(--marine); font-weight: 600; } .arbre a.racine svg { color: var(--marine); }
.arbre a:hover { background: #eef3fa; color: var(--marine); }
.arbre a.chemin { color: var(--marine); font-weight: 500; }
.arbre a.on, .arbre a.on:hover { background: var(--marine); color: #fff; font-weight: 600; }
.arbre a.on svg { color: #fff; }
.cols.bas { margin-top: 18px; }
/* fenêtres */
dialog.card { padding: 22px 24px; border-radius: 12px; box-shadow: 0 24px 60px rgba(16, 24, 40, .25); }
dialog.card h2 { font-size: 17px; color: var(--marine); }
.dest-liste label.chk { border-radius: 6px; padding: 5px 6px; cursor: pointer; transition: background-color .12s; }
.dest-liste label.chk:hover { background: #eef3fa; }
.btn.projet { transition: background-color .12s, border-color .12s, color .12s; }
.btn.projet:hover { border-color: var(--marine-clair); color: var(--marine); }
@media (max-width: 760px) {
  .doc-tete { align-items: flex-start; }
  .outils .btn span { display: none; } .outils .btn { padding: 8px 10px; }
  .tbl.docs th.col-date, .tbl.docs td.col-date, .tbl.docs th.col-dl, .tbl.docs td.col-dl { display: none; }
  .depot .zone .muted { display: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.outils label.btn { margin: 0; font-weight: 400; font-size: 14px; cursor: pointer; }
.cols.bas { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.cols.bas h2 { font-size: 15px; color: var(--marine); }
@media (max-width: 900px) {
  .docs-layout { display: flex; flex-direction: column; }
  .arbre { order: 2; width: 100%; }
  .docs-main { width: 100%; }
  .cols.bas { grid-template-columns: 1fr; }
}

/* 26/11/2026 : en-tête homogène avec le site monceauinvest.fr
   (fond blanc, pavé logo bleu, menu en capitales grasses gris foncé, bleu au survol,
    barre bleue au-dessus de la rubrique en cours, sous-menu blanc, liens secondaires gris à droite) */
.top { display: block; background: #fff; color: #505461; padding: 0; min-height: 0; border-bottom: 1px solid #e4e4e4; }
.top-in { max-width: 1180px; margin: 0 auto; padding: 12px 16px 10px; display: flex; align-items: flex-end; gap: 6px 22px; flex-wrap: wrap; }
.top a { color: #505461; }
.brand { gap: 14px; color: #505461; align-items: flex-end; }
.brand img { height: 64px; }
.brand .app { font: 700 12px/1 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em;
  color: #848790; border-left: 1px solid #d5d8dd; padding: 2px 0 2px 14px; margin-bottom: 4px; }
.top nav { gap: 0 4px; align-items: flex-end; }
.top nav a, .top nav .menu > a { position: relative; padding: 16px 8px 2px; border-radius: 0; background: none;
  font: 700 15px/1.6 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #505461; transition: color .2s; }
.top nav a:hover, .top nav a.on, .top nav .menu.on > a, .top nav .menu:hover > a { background: none; text-decoration: none; }
.top nav a.on, .top nav .menu.on > a { color: #505461; }
.top nav a:hover, .top nav .menu:hover > a { color: #4875b0; }
.top nav > a.on::before, .top nav .menu.on > a::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 0; height: 6px; background: var(--marine); }
.top nav .menu .sous { background: #fff; border: 0; border-radius: 0; padding: 0; min-width: 230px; box-shadow: 0 6px 16px rgba(0,0,0,.12); top: calc(100% + 4px); }
.top nav .menu .sous::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; } /* pont : le menu reste ouvert en descendant */
.top nav .menu .sous a { padding: 7px 18px; font: 700 12px/1.6 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase;
  color: #404040; border-top: 1px solid rgba(0,0,0,.05); }
.top nav .menu .sous a:first-child { border-top-color: transparent; }
.top nav .menu .sous a:hover, .top nav .menu .sous a.on { color: #4875b0; background: none; }
.top .who { margin-left: auto; margin-bottom: 3px; font: 700 12px/1.6 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #848790; }
.top .who a { color: #848790; transition: color .2s; }
.top .who a:hover { color: #4875b0; text-decoration: none; }
@media (max-width: 760px) {
  .top { padding: 0; }
  .top-in { padding: 10px 14px 6px; gap: 6px 12px; align-items: center; }
  .brand img { height: 48px; }
  .top .who { margin-bottom: 0; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .top nav a { padding: 10px 8px 4px; font-size: 13px; white-space: nowrap; }
  .top nav > a.on::before { top: auto; bottom: 0; left: 8px; right: 8px; height: 3px; }
  .top nav a { padding-bottom: 6px; }
  .top nav .menu .sous { position: static; display: flex; box-shadow: none; min-width: 0; background: none; }
  .top nav .menu .sous::before { display: none; }
  .top nav .menu .sous a { padding: 10px 8px 6px; font-size: 13px; color: #505461; border: 0; }
}
/* 26/11/2026 : logo cliquable vers monceauinvest.fr */
.brand .logo { display: block; transition: opacity .2s; }
.brand .logo:hover { opacity: .88; }
.brand a.app { color: #848790; transition: color .2s; }
.brand a.app:hover { color: #4875b0; text-decoration: none; }
/* 27/11/2026 : liens du pied de page et retour au site */
.foot a { color: var(--muted); }
.foot a:hover { color: #4875b0; }
.retour-site { margin-top: 14px; }

/* ===== 27/11/2026 : alignement complet sur monceauinvest.fr (mesuré sur le site, page Recrutement, 1 270 px de large) =====
   largeur 1 170 px ; barre du haut ; logo 141 × 75 ; menu 15 px gras gris #505461 ; bandeau gris du fil d'Ariane (dégradé, voir (8)) ;
   panneau de contenu #f1f6fa (fondpage.jpg) ; titres 25 px gras en capitales #404040 ; cartes et boutons à angles droits sans ombre ;
   pied de page : liens 10 px en capitales à gauche, copyright à droite. Images reprises du thème du site : static/site/. */
:root { --r: 0; --shadow: none; --bg: #fff; }
body { background: #fff; font-size: 14px; color: #333; }
.top { border-bottom: 0; }
.top .barre-haut, .top-in, .fil-site, main, .foot { max-width: 1170px; width: 100%; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.top .barre-haut { text-align: right; padding: 13px 0 0; height: 36px; font: 700 10px/20px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; }
.top .barre-haut a { color: #444; }
.top .barre-haut a:hover { color: #4875b0; text-decoration: none; }
.top-in { padding: 0 0 10px; align-items: flex-end; min-height: 85px; }
.brand img { height: 75px; width: auto; }
.brand { gap: 14px; }
.top nav a, .top nav .menu > a { font-size: 15px; font-weight: 700; color: #505461; }
.top nav, .top .who { margin-bottom: 8px; }
.top .who { font-size: 12px; color: #3c3f48; }
.top .who a { color: #3c3f48; }
.fil-site { margin-top: 5px; margin-bottom: 0; color: #fff; font: 700 13px/20px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; padding: 4px 10px; }
.fil-site a, .fil-site a:hover { color: #fff; text-decoration: none; }
main { background: #f1f6fa; padding: 12px 20px 40px; min-height: 500px; margin-top: 0; }
/* fond uni : le dégradé à droite du site (fondpage.jpg) y marque la colonne latérale, que l'extranet n'a pas */
main * { border-radius: 0 !important; }
h1 { font: 700 25px/36px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #404040; letter-spacing: 0; }
h1.h-form { font-size: 20px; line-height: 28px; }
.head { margin-bottom: 14px; }
.group h2 { color: #404040; font-size: 14px; border-bottom: 1px solid #c9d1dc; }
.card, .tile, .btn, input, select, textarea, code, .flash, fieldset.role, .tag, .ev, .pw-eye { border-radius: 0; }
.card, .tile { box-shadow: none; border-color: #dfe4ea; }
.tile:hover { transform: none; border-color: #4875b0; }
.tile .t { color: #2f3338; }
body.centre main { display: block; }
.login { margin: 30px auto 0; }
.titre-login { font-size: 20px; line-height: 28px; margin: 0 0 16px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; text-align: left; border-top: 0; padding: 14px 0 30px; font: 400 10px/20px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #333; }
.foot a { color: #333; margin-right: 20px; }
.foot a:hover { color: #4875b0; text-decoration: none; }
.foot-id { flex-basis: 100%; text-transform: none; color: #6b7785; font-size: 11px; }
@media (max-width: 1202px) { .top .barre-haut, .top-in, .fil-site, .foot { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 760px) {
  .top .barre-haut { height: auto; padding-top: 8px; }
  .top-in { min-height: 0; padding-bottom: 6px; }
  .brand img { height: 52px; }
  .top nav a, .top nav .menu > a { font-size: 13px; }
  main { padding: 12px 14px 30px; min-height: 0; }
  h1 { font-size: 20px; line-height: 28px; }
  .foot-l a { display: inline-block; padding: 6px 0; }
}
/* pages sans menu (mot de passe oublié, nouveau mot de passe, partage) : le logo est déjà dans l'en-tête commun */
.login-head { display: none; }

/* ===== 27/11/2026 (2) : audit comparatif avec le site (fil d'Ariane, rubrique, liens, formulaires, boutons) ===== */
.fil-site .sep { margin: 0 8px; }
.fil-site a:hover { text-decoration: underline; }
main { padding-top: 4px; }
.rangee { margin: 5px 0 10px; font-size: 14px; line-height: 20px; text-transform: uppercase; color: #444; }
.rangee a { color: #444; padding: 6px 3px 6px 5px; display: inline-block; }
.rangee a.on { color: #254d83; font-weight: 700; }
.rangee a:hover { color: #4875b0; text-decoration: none; }
:root { --accent-2: #4875b0; }
a:hover { color: #254d83; }
label { font-size: 14px; font-weight: 700; color: #333; }
label.chk { font-weight: 400; }
main input:not([type=checkbox]):not([type=radio]), main select, main textarea { border: 1px solid #8a8f99; border-radius: 2px !important; padding: 8px 10px; color: #333; }
.btn.primary { font-weight: 700; background: #254d83; border-color: #254d83; }
.btn.primary:hover { background: #1c3b66; }
.foot { padding-bottom: 30px; }
main h2.section { font-size: 16px; color: #333; }
main h2.section .count { background: #dfe4ea; color: #333; }

/* ===== 27/11/2026 (3) : en-tête resserré comme le site (correction 54 du site : barre du haut descendue au niveau du logo,
   en-tête de 121 à 105 px) ; « Extranet » dans la barre du haut, en bleu comme la langue en cours ===== */
.top .barre-haut { height: 20px; padding-top: 7px; overflow: visible; position: relative; z-index: 2; }
.top .barre-haut a { margin-left: 14px; }
.top .barre-haut a.ici { color: #254d83; }
.top .barre-haut a.ici:hover { color: #4875b0; }
.top-in { min-height: 0; gap: 6px 0; }
.brand img { width: 141px; height: 75px; }
.top nav { margin-left: 0; }
.top .who { margin-left: auto; }
@media (max-width: 760px) { .top .barre-haut { height: auto; padding-top: 8px; } }

/* 27/11/2026 (4) : titre en double avec le fil d'Ariane : gardé pour les lecteurs d'écran, masqué à l'écran */
main h1.titre-doublon { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main > .head:has(> h1.titre-doublon:only-child) { margin-bottom: 0; }
main { padding-top: 14px; }
main h2.sect { font-size: 16px; color: #333; }

/* ===== 27/11/2026 (5) : téléphone, bouton « Menu » et panneau repris de monceauinvest.fr (mi-mobile.css) ===== */
#mi-burger, #mi-panneau { display: none; }
@media (max-width: 760px) {
  .top nav, .top .who { display: none !important; }
  .top-in { align-items: center; flex-wrap: nowrap; padding-bottom: 8px; }
  #mi-burger { display: flex; margin-left: auto; align-items: center; gap: 8px; background: #254d83; color: #fff; border: 0; border-radius: 4px;
    padding: 10px 14px; font: 700 14px/1 "Open Sans", Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
  #mi-burger .mi-ic { display: inline-block; width: 18px; height: 2px; background: #fff; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; margin: 6px 0; }
  #mi-panneau.ouvert { display: block; border-top: 1px solid #dde2ea; background: #fff; padding: 6px 0 14px; }
  #mi-panneau ul { list-style: none; margin: 0; padding: 0; }
  #mi-panneau li { border-bottom: 1px solid #edf0f4; }
  #mi-panneau a { display: block; padding: 14px 16px; color: #3c3f48; font: 700 15px/1.2 "Open Sans", Arial, sans-serif; text-transform: uppercase; text-decoration: none; }
  #mi-panneau ul ul { background: #f6f7f9; }
  #mi-panneau ul ul li { border-bottom: 0; border-top: 1px solid #edf0f4; }
  #mi-panneau ul ul a { padding: 12px 16px 12px 30px; font-weight: 600; text-transform: none; color: #444; }
  #mi-panneau .mi-courant > a { color: #254d83; }
  #mi-panneau .mi-second a { font-size: 13px; color: #555; }
}

/* ===== 27/11/2026 (6) : alignement fin sur le site (mesures sur Nos références) ===== */
/* indicateur de connexion : comme « .mi-connecte » du site (10 px gras capitales bleu #254d83, icône 11 px), dans la barre du haut */
.top .barre-haut .mi-connecte { margin-left: 18px; }
.top .barre-haut .mi-connecte a { color: #254d83; margin-left: 0; }
.top .barre-haut .mi-connecte a:hover { color: #4875b0; }
.top .barre-haut .mi-connecte svg { vertical-align: -1px; margin-right: 5px; }
.top .barre-haut .mi-connecte a.sortie { color: #444; margin-left: 14px; }
.top .barre-haut .mi-connecte a.sortie:hover { color: #4875b0; }
/* menu : lien actif à la même hauteur que sur le site (bloc de 48 px, texte à 22 px du haut, trait bleu en tête) */
.top nav a, .top nav .menu > a { padding-top: 22px; }
.top nav { margin-bottom: 5px; }
/* pied de page : liens décalés de 18 px comme sur le site */
.foot-l { padding-left: 18px; }
@media (max-width: 760px) {
  .top .barre-haut .mi-connecte { display: none; }
  .foot-l { padding-left: 0; }
}

/* ===== 27/11/2026 (7) : lien vers l'autre site au même endroit que « Mon extranet » sur monceauinvest.fr (à droite du menu, 12 px gras capitales #3c3f48) ===== */
.top nav.second { margin-left: auto; margin-bottom: 11px; flex: none; }
.top nav.second a { padding: 0 5px 0 0; margin-left: 4px; font: 700 12px/18px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #3c3f48; }
.top nav.second a:hover { color: #4875b0; text-decoration: none; }
.top nav.second a::before { display: none !important; }
@media (max-width: 760px) { .top nav.second { display: none !important; } }
.top nav.second { gap: 0; }

/* ===== 27/11/2026 (8) : fil d'Ariane et fond en dégradés CSS, mêmes couleurs que le site (correction 62 de Site_web_MI) ;
   fond du contenu = celui des pages sans colonne latérale du site (mentions légales, références : fondpage3) ===== */
.fil-site { background: #576475 linear-gradient(to right,#8794a5 0%,#8592a3 24.04%,#7a8798 38.41%,#657283 60.91%,#596677 76.39%,#576475 100%); }
main { background: #f4f5f7 linear-gradient(to right,#f0f1f3 0%,#f4f5f7 100%); }
/* 27/11/2026 : page Nous contacter ; lien de droite en cours en bleu, comme sur le site */
.top nav.second a.on { color: #254d83; }
.cols.contact { grid-template-columns: 1fr 2fr; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .cols.contact { grid-template-columns: 1fr; } }
/* texte saisi en normal (les libellés sont en gras depuis l'alignement sur le site, les champs en héritaient) */
label input, label select, label textarea { font-weight: 400; }

/* 27/11/2026 : English · Français dans la barre du haut, séparés du reste */
.barre-haut .langues{display:inline-flex;gap:14px;margin-right:12px}
.barre-haut .langues a{margin:0}

/* 27/11/2026 : « Se déconnecter » / « Log out » occupent la même largeur : rien ne bouge au changement de langue */
.top .barre-haut .mi-connecte a.sortie{display:inline-grid;justify-items:end}
.top .barre-haut .mi-connecte a.sortie::after{content:attr(data-alt);visibility:hidden;height:0;overflow:hidden}

/* 27/11/2026 (9) : fond à deux dégradés comme « Nous contacter » du site (CSS, sans image) : gris clair à gauche,
   bande bleutée à droite (31,7 %), où l'on pourra caler un visuel. Connexion, mot de passe, Mon compte et Nous contacter
   rangent leur contenu comme le site : l'essentiel à gauche, l'accessoire (coordonnées, informations) dans la bande.
   Écrans de 768 px et plus seulement. */
@media (min-width: 768px) {
  /* 19 h 10 : seulement là où le contenu laisse la bande libre ; ailleurs (Mes applis, Mes cartes, Mes documents,
     Administration : pleine largeur), un seul dégradé comme avant */
  body.centre main, body.page-contact main, body.page-compte main { background-image: linear-gradient(to right,#f0f1f3 0%,#f4f5f7 68.3%,#e0e5eb 68.4%,#e1e6ea 71.9%,#e4e9ef 76.1%,#e8edf3 81.3%,#edf0f7 89.8%,#f1f6fa 100%) !important; }
  body.centre main { padding-right: calc(31.7% + 20px); }
  body.page-contact main, body.page-compte main { padding-right: 0; }
  body.page-contact main > .cols.contact, body.page-compte main > .cols { grid-template-columns: calc(68.3% - 26px) 1fr; column-gap: 20px; }
  body.page-contact .cols.contact > #formulaire, body.page-compte main > .cols > section:nth-child(2) { grid-column: 1; grid-row: 1; }
  body.page-contact .cols.contact > section:first-child, body.page-compte main > .cols > section:first-child {
    grid-column: 2; grid-row: 1; background: transparent; border: 0; box-shadow: none; padding: 20px 20px 0 14px; }
}

/* 27/11/2026 (10) : menu de niveau 2 (Administration : Utilisateurs | Accès | …) calé sur celui du site (Notre société :
   Valeurs | En quoi… | Management) : 5 px sous le bandeau gris (il était 14 px plus bas), 4 px de retrait à gauche,
   séparateurs en filet gris de 19 px (et non le caractère « | »), 4 px de part et d'autre */
.rangee { display: flex; flex-wrap: wrap; align-items: center; margin: -9px 0 10px; padding-left: 4px; }
.rangee .sep { display: inline-block; width: 0; height: 19px; overflow: hidden; font-size: 0; border-left: 1px solid #404040; margin: 0 4px 0 7px; }

/* 27/11/2026 (11) : bouton principal comme celui du site (« Envoyer ma candidature », « Envoyer ») : bleu #254d83, gras,
   22 px de part et d'autre, angles droits ; survol et focus : bleu clair #4875b0 (couleur de survol des liens du site),
   au lieu du bleu foncé avec halo ; contour visible au clavier. Hauteur inchangée (alignée sur les autres boutons). */
.btn.primary { padding: 8px 22px; border: 1px solid #254d83; background: #254d83; color: #fff; font-weight: 700; }
.btn.primary:hover, .btn.primary:focus-visible { background: #4875b0; border-color: #4875b0; box-shadow: none; color: #fff; }
.btn.primary:focus-visible { outline: 2px solid #254d83; outline-offset: 2px; }
.btn.primary.small { padding: 3px 8px; }
.login .btn.primary { padding: 10px; }

/* 27/11/2026 20 h : « Extranet » en haut : simple repère (plus un lien), même place et même bleu */
.top .barre-haut span.ici { color: #254d83; margin-left: 14px; }

/* 27/11/2026 20 h 05 : « Extranet » en haut ressemblait à un lien : étiquette grise avec un cadenas, sans effet au survol */
.top .barre-haut .mi-espace { display: inline-flex; align-items: center; gap: 5px; margin-left: 14px; padding: 1px 8px; background: #e9ecf1; color: #5b6270; font-weight: 600; cursor: default; }

/* 27/11/2026 20 h 10 : lien « monceauinvest.fr » du menu : flèche de sortie (on quitte l'espace privé pour le site public) */
/* 20 h 10, revu : flèche dessinée (le caractère ↗ était trop fin) */
nav.second a[href^="https://monceauinvest.fr"]::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 9.5 9.5 2.5M4 2.5h5.5V8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center/contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 9.5 9.5 2.5M4 2.5h5.5V8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center/contain; }

/* 27/11/2026 20 h 15 : Mes documents sur téléphone : le nom prend toute la largeur (il s'écrivait une lettre par ligne),
   taille et date en petit dessous, les actions sur une ligne à droite ; l'arborescence (redondante avec le fil d'Ariane
   et la liste) est masquée ; en-têtes de colonnes masqués */
@media (max-width: 760px) {
  .tbl.docs thead { display: none; }
  .tbl.docs, .tbl.docs tbody { display: block; width: 100%; }
  .tbl.docs tr.ligne { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 10px 12px; border-bottom: 1px solid #e6e9ee; }
  .tbl.docs tr.ligne > td { display: block; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
  .tbl.docs tr.ligne > td:first-child { flex: 1 1 100%; min-width: 0; }
  .tbl.docs tr.ligne a.doc { display: flex; align-items: center; gap: 8px; }
  .tbl.docs tr.ligne a.doc .n { white-space: normal; overflow-wrap: anywhere; word-break: normal; }
  .tbl.docs tr.ligne > td.col-taille, .tbl.docs tr.ligne > td.col-date { display: block !important; font-size: 12px; color: var(--muted); margin-top: 4px; text-align: left; }
  .tbl.docs tr.ligne > td.col-taille { padding-left: 32px !important; }
  .tbl.docs tr.ligne > td.col-dl { display: none !important; }
  .tbl.docs tr.ligne > td.act { margin-left: auto; margin-top: 4px; }
  .tbl.docs td.act .ib { opacity: 1 !important; width: 36px; height: 36px; }
  .tbl.docs tr:not(.ligne) td { display: block; }
  .docs-layout .arbre { display: none; }
}


/* ======================================================================================================
   28/11/2026, 11 h (gérant : « la mise en page est à revoir, il faut faire un vrai travail » ; « des raccourcis vers les pages
   intéressantes, pas le footer ») : sur téléphone, l'extranet est une appli, construite comme l'appli de l'Hôtel Jonquière
   (barre d'appli marine liserée d'ocre, fond gris clair, cartes blanches arrondies, onglets en bas). L'ordinateur ne change pas.
   ====================================================================================================== */
@font-face { font-family: "Yanone"; src: url(/_static/polices/yanone-regular.woff) format("woff"); font-weight: 400; font-display: swap; }
.tel-espace, .tel-langues, .raccourcis, .tel-logo { display: none; }
@media (max-width: 767px) {
  :root { --a-marine: #254C83; --a-ocre: #B0873B; --a-ink: #1C2833; --a-muted: #6B7785; --a-line: #E1E6EB; --a-bg: #F3F5F7;
    --a-haut: calc(56px + env(safe-area-inset-top)); --a-bas: calc(60px + env(safe-area-inset-bottom)); }
  html { -webkit-text-size-adjust: 100%; }
  body { background: var(--a-bg) !important; color: var(--a-ink); -webkit-tap-highlight-color: transparent; }
  body.menu-ouvert { overflow: hidden; }
  /* ---- barre d'appli ---- */
  .top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: var(--a-marine); border: 0; border-bottom: 3px solid var(--a-ocre); box-shadow: none; }
  .top .barre-haut, .top nav, .top nav.second { display: none !important; }
  .top-in { height: var(--a-haut); padding: env(safe-area-inset-top) 6px 0 14px !important; margin: 0; display: flex; align-items: center; gap: 6px; max-width: none; }
  .top .brand { margin: 0; }
  .top .brand .logo img { height: 38px; width: auto; display: block; }
  .tel-espace { display: inline-flex; align-items: center; margin: 0 auto 0 2px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.3); height: 26px;
    font: 400 20px/1 Yanone, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
  .tel-langues { display: flex; align-items: center; font: 700 12px/1 "Open Sans", Arial, sans-serif; letter-spacing: .05em; }
  /* 29/11/2026, 22 h 25 : logo vers monceauinvest.fr, « Extranet » vers l'accueil de l'extranet */
  .top .brand { display: none !important; }
  .top a.tel-logo { display: block; margin: 0; }
  .top a.tel-logo img { height: 38px; width: auto; display: block; }
  .top a.tel-espace { color: #fff; text-decoration: none; }
  .tel-langues a { padding: 8px 6px; color: rgba(255,255,255,.78); text-decoration: none; }   /* 29/11/2026 22 h 15 : .55 -> .78 (contraste) */
  .tel-langues a + a { border-left: 1px solid rgba(255,255,255,.25); }
  .tel-langues a[aria-current] { color: #fff; }
  #mi-burger { display: grid !important; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; background: none !important; border: 0; border-radius: 10px; box-shadow: none; }
  #mi-burger .lib { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #mi-burger .mi-ic { display: block; width: 22px; height: 2px; margin: 0; background: #fff; border-radius: 2px; box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff; }
  #mi-burger[aria-expanded=true] { background: rgba(255,255,255,.14) !important; }
  /* ---- menu : feuille blanche, rangées groupées comme les réglages d'un téléphone ---- */
  #mi-panneau { display: none; }
  #mi-panneau.ouvert { display: block; position: fixed; top: calc(var(--a-haut) + 3px); left: 0; right: 0; bottom: 0; z-index: 29; overflow-y: auto;
    background: var(--a-bg); border: 0; padding: 14px 12px 24px; }
  body:has(.raccourcis) #mi-panneau.ouvert { bottom: var(--a-bas); }
  #mi-panneau ul { list-style: none; margin: 0 0 14px; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  #mi-panneau li { border: 0; }
  #mi-panneau li + li { border-top: 1px solid var(--a-line); }
  #mi-panneau a { position: relative; display: block; padding: 15px 40px 15px 16px; color: var(--a-ink); text-decoration: none; font: 600 15.5px/1.2 "Open Sans", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
  #mi-panneau a::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border: solid #b3bcc6; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
  #mi-panneau ul ul { margin: 0; border-radius: 0; box-shadow: none; background: #f8f9fb; }
  #mi-panneau ul ul li { border-top: 1px solid var(--a-line); }
  #mi-panneau ul ul a { padding-left: 30px; font-weight: 400; font-size: 15px; color: var(--a-ink); }
  #mi-panneau .mi-courant > a { color: var(--a-marine); box-shadow: inset 3px 0 0 var(--a-marine); }
  #mi-panneau .mi-second a { font-weight: 400; color: var(--a-ink); opacity: 1; font-size: 15px; }
  #mi-panneau .mi-legal a { font-size: 13px; color: var(--a-muted); }
  #mi-panneau .mi-legal a::after { display: none; }
  /* ---- titre de la page (le bandeau du site devient un grand titre d'appli) ---- */
  .fil-site { display: flex; flex-wrap: wrap; align-items: baseline; max-width: none; margin: calc(var(--a-haut) + 3px) 0 0 !important; padding: 18px 16px 6px !important;
    background: none !important; color: var(--a-muted); font: 600 12.5px/1.4 "Open Sans", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
  .fil-site a { color: var(--a-marine); }
  .fil-site .sep { margin: 0 5px; color: #b3bcc6; }
  .fil-site > :last-child { flex-basis: 100%; margin-top: 2px; color: var(--a-ink); font: 700 26px/1.15 "Open Sans", Arial, sans-serif; letter-spacing: -.01em; }
  .fil-site > :only-child { margin-top: 0; }
  /* ---- contenu ---- */
  main { padding: 6px 12px calc(var(--a-bas) + 18px) !important; background: none !important; max-width: none; }
  main h1:not(.titre-doublon) { font: 700 22px/1.2 "Open Sans", Arial, sans-serif; color: var(--a-ink); text-transform: none; }
  .head { margin: 6px 0 10px; }
  a { color: var(--a-marine); }
  .card { background: #fff !important; border: 0 !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.06) !important; padding: 16px; margin: 0 0 12px; }
  .card h2, .card h3 { margin: 0 0 12px; font: 600 12.5px/1.3 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--a-muted); }
  .cols { display: block; }
  .cols .card + .card, .cols + .cols { margin-top: 12px; }
  label { font-size: 14px; }
  input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=search], select, textarea {
    width: 100%; min-height: 48px; font-size: 16px !important; background: #fff; border: 1px solid #cfd6de; border-radius: 10px !important; padding: 10px 12px; }
  textarea { min-height: 120px; }
  input:focus, select:focus, textarea:focus { outline: 2px solid var(--a-marine); outline-offset: 0; border-color: var(--a-marine); }
  .pw-eye { border-radius: 10px; }
  .btn { border-radius: 10px !important; min-height: 44px; white-space: normal; max-width: 100%; }
  .btn.primary, button.primary { background: var(--a-marine) !important; border-color: var(--a-marine) !important; color: #fff !important;
    font: 600 15px/1 "Open Sans", Arial, sans-serif; text-transform: none; letter-spacing: 0; padding: 15px 18px; }
  form .btn.primary, form button.primary, .head .btn.primary { width: 100%; text-align: center; }
  .flash, .err { border-radius: 10px; }
  /* ---- Mes applis : icônes d'appli ---- */
  .grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 0; border: 0; }
  .tile { position: relative; display: flex !important; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 128px; padding: 16px 14px 14px;
    background: #fff !important; border: 0 !important; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06); color: var(--a-ink); }
  .tile:hover { transform: none; }
  .tile .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--a-marine); color: #fff; }
  .tile .ico svg { width: 24px; height: 24px; }
  .tile .ico-appli { background: none; overflow: hidden; }
  .tile .ico-appli img { width: 46px; height: 46px; border-radius: 12px; display: block; }
  .tile .t { font: 700 15px/1.25 "Open Sans", Arial, sans-serif; color: var(--a-ink) !important; text-transform: none; letter-spacing: 0; }
  .tile .meta { font-size: 12px; color: var(--a-muted); margin-top: -6px; word-break: break-word; }
  .grid > .tile .meta { display: none; }
  .group .grid > .tile .meta { display: block; }
  /* ---- Mes cartes : liste groupée ---- */
  .group { margin: 14px 0 6px; }
  .group h2 { margin: 0 4px 8px !important; padding: 0 !important; border: 0 !important; font: 600 12.5px/1.3 "Open Sans", Arial, sans-serif !important;
    text-transform: uppercase; letter-spacing: .06em; color: var(--a-muted) !important; }
  .group .grid { display: block !important; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  .group .tile { display: grid !important; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; min-height: 0; padding: 12px 40px 12px 12px; border-radius: 0; box-shadow: none; }
  .group .tile .ico { grid-row: 1 / span 2; }
  .group .tile + .tile { border-top: 1px solid var(--a-line) !important; }
  .group .tile .ico { width: 40px; height: 40px; border-radius: 10px; background: #e8eef7; color: var(--a-marine); flex: none; }
  .group .tile .t { font-size: 15px; }
  .group .tile .meta { margin-top: 0; }
  .group .tile > span:not(.ico) { display: block; }
  .group .tile::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid #b3bcc6; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
  /* ---- Mes documents ---- */
  .docs-layout { display: block; }
  .arbre { display: none; }
  table.tbl { border-radius: 14px; overflow: hidden; }
  /* ---- administration ---- */
  nav.rangee { display: flex; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; margin: 4px -12px 12px !important; padding: 2px 12px 4px; white-space: nowrap; scrollbar-width: none; }
  nav.rangee::-webkit-scrollbar { display: none; }
  nav.rangee .sep { display: none; }
  nav.rangee a { flex: none; padding: 8px 14px; border-radius: 18px !important; background: #fff; color: var(--a-ink); font: 600 13.5px/1 "Open Sans", Arial, sans-serif; text-transform: none; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  nav.rangee a.on { background: var(--a-marine); color: #fff; box-shadow: none; }
  main > p, main > .sub { margin-left: 4px !important; margin-right: 4px !important; }
  .section-head h2 { font: 700 17px/1.3 "Open Sans", Arial, sans-serif; color: var(--a-ink); }
  /* ---- tableaux de l'administration : une fiche par ligne, plus de défilement horizontal ---- */
  main .card.flush { overflow: visible; }
  main table.fiches-tel, main table.fiches-tel tbody, main table.fiches-tel tr, main table.fiches-tel td { display: block; width: auto !important; min-width: 0 !important; }
  main table.fiches-tel thead, main table.fiches-tel colgroup { display: none; }
  main table.fiches-tel tr { padding: 12px 14px; border-top: 1px solid var(--a-line); background: #fff; }
  main table.fiches-tel tbody tr:first-child { border-top: 0; }
  main table.fiches-tel td { padding: 2px 0 !important; border: 0 !important; text-align: left !important; white-space: normal !important; word-break: break-word; font-size: 13.5px; }
  main table.fiches-tel td:first-child { font-size: 15px; padding-bottom: 5px !important; }
  main table.fiches-tel td[data-label]:not(:first-child)::before { content: attr(data-label); display: inline-block; min-width: 128px; margin-right: 8px;
    color: var(--a-muted); font-size: 12px; font-weight: 600; vertical-align: top; }
  main table.fiches-tel td:empty { display: none; }
  main table.fiches-tel .right { text-align: left !important; }
  /* ---- connexion : écran d'accueil de l'appli ---- */
  body:not(:has(#mi-burger)) .fil-site > :last-child { font-size: 24px; }
  .card.login { margin: 6px 0 0 !important; max-width: none !important; width: auto !important; padding: 18px 16px 8px; }
  .titre-login { display: none; }
  /* ---- pas de pied de page dans l'appli (mentions légales et accessibilité dans le menu) ---- */
  .foot { display: none !important; }
  /* ---- angles arrondis de l'appli (le site impose des angles droits dans main : règle « main * ») ---- */
  main .card, main .tile, main .group .grid, main table.tbl, main .flash, main .err { border-radius: 14px !important; }
  main .group .grid > .tile { border-radius: 0 !important; }
  main .tile .ico, main .group .tile .ico { border-radius: 10px !important; }
  main input[type=text], main input[type=email], main input[type=password], main input[type=number], main input[type=date], main input[type=tel],
  main input[type=search], main select, main textarea, main .btn, main button.primary, main .pw-eye { border-radius: 10px !important; }
  main nav.rangee a { border-radius: 18px !important; }
  /* ---- onglets en bas : Applis, Cartes, Documents, Admin ---- */
  .raccourcis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: flex; height: var(--a-bas); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.96); border-top: 1px solid var(--a-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .raccourcis a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0;
    color: var(--a-muted); text-decoration: none; font: 600 11px/1 "Open Sans", Arial, sans-serif; }
  .raccourcis a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .raccourcis a.on { color: var(--a-marine); }
  .raccourcis a.on svg { stroke-width: 2.2; }
}

/* ======================================================================================================
   28/11/2026 — appli mobile, « gros passage » (gérant : « on fait tout ») : Face ID / empreinte, nouveautés et récents,
   aperçu et partage des documents, photo, notifications, recherche, gestes rapides de l'administration.
   ====================================================================================================== */
.tel-rech, .tel-seul { display: none !important; }
b.nv { display: inline-block; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: #B0873B; color: #fff;
  font: 700 11px/18px "Open Sans", Arial, sans-serif; text-align: center; vertical-align: 2px; letter-spacing: 0; }
.nouveau { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 9px; background: #fbf3e4; color: #8a6420;
  font: 700 10.5px/1.3 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; white-space: nowrap; }
.tile .meta .nouveau { margin: 0 4px 0 0; }
nav.second a.rech { display: inline-flex; align-items: center; padding-left: 0; padding-right: 0; }
nav.second a.rech svg { width: 16px; height: 16px; }
/* récemment ouverts */
.recents { margin: 0 0 18px; }
.recents h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: #254C83; }
.recents-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.recent, .res-l .r { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 12px; background: #fff; border: 1px solid #e1e6eb; text-decoration: none; color: #1C2833; min-width: 0; }
.recent:hover, .res-l .r:hover { border-color: #254C83; }
.recent > :first-child, .res-l .r > :first-child { grid-row: 1 / span 2; display: grid; place-items: center; color: #254C83; }
.r-t { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.r-l { font-size: 12px; color: #6B7785; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* recherche */
form.recherche { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 6px 6px 14px; background: #fff; border: 1px solid #c9d1da; max-width: 720px; }
form.recherche svg { color: #6B7785; flex: none; }
form.recherche input { flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; font-size: 16px; padding: 8px 4px; background: transparent; min-width: 0; }
.res { margin: 0 0 18px; }
.res h2 { font-size: 15px; margin: 0 0 8px; color: #254C83; }
.res-l { display: grid; gap: 6px; max-width: 720px; }
/* Face ID / empreinte */
.ou { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: #6B7785; font-size: 13px; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: #e1e6eb; }
.btn-cle { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.appareils { list-style: none; margin: 0 0 12px; padding: 0; }
.appareils li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e1e6eb; }
.bandeau-cle { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; margin-bottom: 16px; padding: 14px 16px;
  background: #fff; border-left: 4px solid #254C83; }
.bandeau-cle .bc-ic svg { width: 34px; height: 34px; fill: none; stroke: #254C83; stroke-width: 1.7; stroke-linecap: round; }
.bandeau-cle .bc-t strong { display: block; font-size: 15px; }
.bandeau-cle .bc-t span { font-size: 13px; color: #6B7785; }
.bandeau-cle .bc-b { grid-column: 1 / -1; display: flex; gap: 8px; }
/* gestes rapides (fiche utilisateur) */
.gestes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.gestes .g-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.gestes .g-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gestes form { margin: 0; }
.gestes .btn { display: inline-flex; align-items: center; gap: 7px; }
.gestes .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* partage d'un document : attente du fichier */
.ib.attente { opacity: .45; pointer-events: none; }
/* message bref en bas */
#mi-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: min(92vw, 460px); padding: 11px 16px; border-radius: 12px;
  background: #1C2833; color: #fff; font-size: 14px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#mi-toast.ouvert { opacity: 1; transform: translate(-50%, 0); }
.hors-ligne { text-align: center; }
.hors-ligne .titre-login { display: block !important; }
@media (max-width: 767px) {
  .top .tel-rech { display: grid !important; place-items: center; width: 40px; height: 44px; color: #fff !important; }
  .tel-seul { display: inline-flex !important; }
  .raccourcis a { position: relative; }
  .raccourcis b.nv { position: absolute; top: 6px; left: calc(50% + 4px); margin: 0; min-width: 17px; height: 17px; line-height: 17px; font-size: 10.5px;
    box-shadow: 0 0 0 2px #fff; }
  #mi-panneau b.nv { margin-left: 8px; vertical-align: 1px; }
  body:has(.raccourcis) #mi-toast { bottom: calc(var(--a-bas) + 12px); }
  .recents-l { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; }
  .recents-l::-webkit-scrollbar { display: none; }
  .recent { scroll-snap-align: start; border-radius: 14px !important; border: 0; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  .res-l .r { border-radius: 12px !important; border: 0; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  form.recherche { border-radius: 14px !important; border: 0; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
  .bandeau-cle { border-radius: 14px !important; }
  .gestes { flex-direction: column; align-items: stretch; }
  .gestes .g-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .gestes .g-btns form:only-child, .gestes .g-btns form:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gestes .btn { width: 100%; justify-content: center; }
  .card.login .btn-cle { margin-bottom: 10px; }
}
form.recherche input[type=search] { flex: 1 1 auto !important; width: auto !important; min-width: 0; margin: 0 !important; }
form.recherche .btn { flex: none !important; width: auto !important; margin: 0 !important; padding-left: 18px; padding-right: 18px; }

/* 28/11/2026 : recherche dans le texte des documents — passage trouvé, mot surligné */
.res-l .r .r-x { grid-column: 2; font-size: 12.5px; line-height: 1.45; color: #3d4a57; white-space: normal; margin-top: 3px; }
.res-l .r .r-x mark { background: #fbf3e4; color: #1C2833; font-weight: 700; padding: 0 1px; }
.res-l .r .r-ocr { display: inline-block; margin-left: 4px; font-size: 10.5px; color: #8a6420; text-transform: uppercase; letter-spacing: .04em; }
.idx-etat { margin-top: 18px; }

/* ======================================================================================================
   29/11/2026 — « Mes applis » avec une ou deux applis : grande fiche (gérant : « cela pourrait prendre un peu plus de place »)
   ====================================================================================================== */
.appli-vedette { margin: 0 0 22px; }
.av-tete { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 26px 28px;
  background: linear-gradient(120deg, #254C83 0%, #2f5d9b 100%); color: #fff !important; text-decoration: none !important;
  border-bottom: 3px solid #B0873B; }
.av-tete:hover .av-btn { background: #fff; color: #254C83; }
.av-ic { display: block; width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.25); background: #fff; }
.av-ic-svg { display: grid; place-items: center; color: #254C83; }
.av-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.av-t { font: 400 34px/1.05 "Yanone Kaffeesatz", "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.av-d { font-size: 13px; color: rgba(255,255,255,.78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-btn { background: #B0873B; color: #fff; border: 0; padding: 12px 20px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
@media (max-width: 767px) {
  .appli-vedette { border: 0; border-radius: 16px !important; overflow: hidden; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
  .av-tete { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 20px 18px; }
  .av-ic { width: 68px; height: 68px; border-radius: 16px; }
  .av-t { font-size: 28px; }
  .av-btn { grid-column: 1 / -1; text-align: center; padding: 14px; border-radius: 12px !important; font-size: 16px; }
}

/* ======================================================================================================
   29/11/2026 — présentation (gérant : « tout ») : connexion avec photo, fiches de cartes, Mon compte en trois blocs,
   fond qui s'arrête avec le contenu, liste des utilisateurs avec initiales et états
   ====================================================================================================== */
/* 1. connexion */
.connexion { display: block; }
.cx-photo { display: none; }
@media (min-width: 768px) {
  body.centre main:has(.connexion) { display: block !important; padding: 18px 20px 40px !important; background: #f4f5f7 !important; }
  .connexion { width: 100%; }
  body.page-compte main:has(.compte) { background: #f4f5f7 !important; }
  .connexion { display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); max-width: 1130px; margin: 0 auto;
    background: #fff; border: 1px solid #dfe4ea; min-height: 540px; }
  .connexion .card.login { border: 0; margin: 0; padding: 40px 44px; width: 100%; max-width: none; align-self: center; box-shadow: none; }
  .cx-photo { display: block; position: relative; background: #254C83 url(/_static/connexion.jpg) 66% center / cover no-repeat; border-left: 3px solid #B0873B; }
  .cx-photo span { position: absolute; left: 18px; bottom: 16px; padding: 5px 10px; background: rgba(15,30,55,.55); color: #fff; font-size: 12px; letter-spacing: .02em; }
}
/* 2. fiches de cartes */
.grid:has(> .fiche-carte) { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.tile.fiche-carte { padding: 0; gap: 0; overflow: hidden; }
.fc-vign { display: block; height: 118px; border-bottom: 1px solid #e4e9ef; }
.fc-vign svg { display: block; width: 100%; height: 100%; }
.fc-v0 { background: #e7eef6; } .fc-v1 { background: #edf1e8; } .fc-v2 { background: #f3eee5; } .fc-v3 { background: #eaedf3; }
.fc-eau { fill: none; stroke: #a9cbe8; stroke-width: 16; stroke-linecap: round; }
.fc-rue { fill: none; stroke: #fff; stroke-width: 7; }
.fc-rue2 { fill: none; stroke: #fff; stroke-width: 3.5; }
.fc-pts circle { fill: #B0873B; stroke: #fff; stroke-width: 2.5; }
.fiche-carte .t { padding: 12px 14px 0; font-size: 16px; }
.fiche-carte .meta { padding: 4px 14px 14px; }
.fiche-carte:hover .fc-pts circle { fill: #254C83; }
/* 3. Mon compte */
.compte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.compte .card { margin: 0; }
.compte .c-infos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; }
.c-id { display: flex; align-items: center; gap: 14px; }
.c-av { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50% !important; background: #254C83; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.c-faits { list-style: none; margin: 0; padding: 0; color: #5b6672; font-size: 14px; }
.c-ligne { padding: 16px 0 4px; }
.c-ligne + .c-ligne { border-top: 1px solid #e1e6eb; margin-top: 12px; }
.c-tete { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.c-ic { flex: none; color: #B0873B; margin-top: 1px; }
details.c-pw > summary { display: inline-flex; cursor: pointer; list-style: none; }
details.c-pw > summary::-webkit-details-marker { display: none; }
details.c-pw[open] > summary { margin-bottom: 14px; }
.tag.soon { background: #fbf3e4; color: #8a6420; }
/* 4. le fond s'arrête avec le contenu (plus de grand aplat gris sous une page courte) */
/* 29/11/2026, 15 h 40 — retiré à la demande de Guillaume : la page garde sa hauteur minimale, le pied de page reste en bas
@media (min-width: 768px) { main { flex: 0 0 auto; min-height: 0; } } */
/* 5. utilisateurs : initiales */
.u-nom { display: inline-flex; align-items: center; gap: 10px; }
.u-av { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50% !important; background: #dfe6ef; color: #254C83; font-size: 11.5px; font-weight: 700; }
.u-av.adm { background: #254C83; color: #fff; }
@media (max-width: 767px) {
  .compte { display: block; }
  .compte .card + .card { margin-top: 12px; }
  .group .tile.fiche-carte { display: flex !important; flex-direction: column; align-items: stretch; padding: 0 !important; border-radius: 14px !important; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
  .group .tile.fiche-carte::after { display: none !important; }
  .fc-vign { height: 92px; }
  .grid:has(> .fiche-carte) { grid-template-columns: 1fr; gap: 10px; }
}

/* 29/11/2026 — miniature réelle de la carte (zone et points), posée sur le dessin qui reste en secours */
.fc-vign { position: relative; overflow: hidden; }
.fc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; display: block; transition: transform .35s ease; }
.fiche-carte:hover .fc-img { transform: scale(1.04); }
@media (max-width:767px) { .fc-vign { height: 140px !important; } }

/* 29/11/2026, 15 h 50 — menu : l'entrée choisie prend la couleur du survol (#4875b0), trait et intitulé
   (Guillaume : le trait marine se confondait avec le gris). */
.top nav a.on, .top nav .menu.on > a { color: #4875b0 !important; }
.top nav > a.on::before, .top nav .menu.on > a::before { background: #4875b0 !important; }

/* 29/11/2026 (Guillaume : « fait le même menu en haut que pour le site internet ; la mise en forme du menu principal
   n'est pas la même ») : en-tête comme monceauinvest.fr (correction 103 du site)
   - barre du haut : étiquette Extranet, nom et Se déconnecter, retour au site, l'autre langue seule, loupe qui déplie la recherche ;
   - bouton bleu « Nous contacter » au bout du menu (remplace « Nous contacter · monceauinvest.fr ») ;
   - menu principal : rubrique en cours en gris comme les autres, trait marine au-dessus (comme le site) ; bleu clair au survol */
.top .barre-haut { display: flex; justify-content: flex-end; align-items: center; text-align: right; }
.top .barre-haut > * { margin: 0 !important; }
.top .barre-haut .mi-espace { margin-right: 14px !important; }
.top .barre-haut .mi-connecte, .top .barre-haut a.mi-site, .top .barre-haut a.mi-langue { padding-right: 14px; margin-right: 14px !important; border-right: 1px solid #c9ced6; line-height: 20px; }
.top .barre-haut a.mi-site, .top .barre-haut a.mi-langue { color: #505461; font: 700 11px/20px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; }
.top .barre-haut a.mi-site:hover, .top .barre-haut a.mi-langue:hover { color: #4875b0; text-decoration: none; }
.top .barre-haut a.mi-site::after { content: "↗"; margin-left: 4px; font-weight: 400; }
.top .barre-haut .mi-rech { display: flex; align-items: center; }
.top .barre-haut .mi-rech input { width: 0; min-width: 0; padding: 0; border: 0; opacity: 0; height: 26px; box-sizing: border-box; font: 400 13px "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: none; transition: width .25s, opacity .2s; border-radius: 0; }
.top .barre-haut .mi-rech.ouvert input { width: 170px; padding: 3px 8px; border: 1px solid #c9ced6; opacity: 1; margin-right: 4px; }
.top .barre-haut .mi-rech button { width: 26px; height: 26px; border: 0; padding: 0; background: none; color: #505461; cursor: pointer; display: grid; place-items: center; }
.top .barre-haut .mi-rech button:hover { color: #4875b0; }
.top a.mi-btn-contact { flex: none; align-self: flex-end; margin: 0 0 8px auto; background: #254d83; color: #fff; font: 700 13px/1 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; padding: 11px 18px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.top a.mi-btn-contact:hover, .top a.mi-btn-contact:focus-visible, .top a.mi-btn-contact[aria-current] { background: #4875b0; text-decoration: none; color: #fff; }
.top nav a.on, .top nav .menu.on > a { color: #505461 !important; }
.top nav a:hover, .top nav .menu:hover > a, .top nav a.on:hover { color: #4875b0 !important; }
.top nav > a.on::before, .top nav .menu.on > a::before { background: #254d83 !important; left: 12.5%; right: 12.5%; height: 8px; }
@media (max-width: 760px) { .top a.mi-btn-contact, .top .barre-haut .mi-rech, .top .barre-haut a.mi-site { display: none !important; } }
/* 29/11/2026, 18 h (Guillaume : « le fil d'Ariane de l'extranet est décalé par rapport à celui du site ») : bandeau collé
   sous l'en-tête comme sur le site (5 px sous le logo), texte à 10 px du bord du bandeau, bandeau aligné sur le logo */
.top-in { padding-bottom: 5px !important; }
.fil-site { margin-top: 0 !important; padding-left: 10px !important; padding-right: 10px !important; }
@media (min-width: 761px) and (max-width: 1202px) { .fil-site { margin-left: 16px !important; margin-right: 16px !important; width: auto !important; } }
/* 29/11/2026, 18 h 05 (Guillaume : logo et bouton pas symétriques avec le site ; couleur du pied de page) :
   - fenêtre d'ordinateur de 768 à 1 189 px : page réduite à la largeur comme sur le site (mêmes paliers, correction 92 du site),
     sans les marges de 16 px qui décalaient logo, bouton et bandeau ;
   - bouton « Nous contacter » à la même hauteur que sur le site (bas du bouton 3 px au-dessus du bas du menu) ;
   - pied de page comme le site : Nous contacter et Recrutement en tête (même couleur que les autres liens, 18 h 05), Crédits, Plan de site, LinkedIn et Facebook */
/* repris du site, 92 (28/11/2026) : ordinateur, fenêtre de 768 à 1 189 px : la page (1 170 px de large) est réduite à la largeur de la fenêtre au lieu de déborder
   (barre de défilement horizontale) ; paliers de 30 px. Écrans tactiles (tablettes) : version téléphone (mi-mobile.js), pas de réduction. */
@media (pointer:fine) and (min-width:768px) and (max-width:797px){html{zoom:0.638}}
@media (pointer:fine) and (min-width:798px) and (max-width:827px){html{zoom:0.664}}
@media (pointer:fine) and (min-width:828px) and (max-width:857px){html{zoom:0.689}}
@media (pointer:fine) and (min-width:858px) and (max-width:887px){html{zoom:0.715}}
@media (pointer:fine) and (min-width:888px) and (max-width:917px){html{zoom:0.740}}
@media (pointer:fine) and (min-width:918px) and (max-width:947px){html{zoom:0.766}}
@media (pointer:fine) and (min-width:948px) and (max-width:977px){html{zoom:0.791}}
@media (pointer:fine) and (min-width:978px) and (max-width:1007px){html{zoom:0.817}}
@media (pointer:fine) and (min-width:1008px) and (max-width:1037px){html{zoom:0.843}}
@media (pointer:fine) and (min-width:1038px) and (max-width:1067px){html{zoom:0.868}}
@media (pointer:fine) and (min-width:1068px) and (max-width:1097px){html{zoom:0.894}}
@media (pointer:fine) and (min-width:1098px) and (max-width:1127px){html{zoom:0.919}}
@media (pointer:fine) and (min-width:1128px) and (max-width:1157px){html{zoom:0.945}}
@media (pointer:fine) and (min-width:1158px) and (max-width:1187px){html{zoom:0.970}}
@media (pointer:fine) and (min-width:1188px) and (max-width:1189px){html{zoom:0.996}}

@media (pointer:fine) and (min-width:768px) and (max-width:1202px) {
  .top .barre-haut, .top-in, .foot { padding-left: 0 !important; padding-right: 0 !important; }
  .fil-site { margin-left: auto !important; margin-right: auto !important; width: 100% !important; }
  main { padding-left: 0; padding-right: 0; }
}
.top a.mi-btn-contact { margin-bottom: 3px; }
.foot-l { padding-left: 18px; }
.foot-r { display: flex; align-items: center; }
.foot .reseaux { display: inline-flex; margin-right: 16px; }
.foot .reseaux a { display: inline-block; width: 18px; height: 18px; margin: 0 10px 0 0; background: #254d83; transition: background .2s; }
.foot .reseaux a:hover { background: #4875b0; }
.foot .reseaux a.li {-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9h4v12H3zM9 9h3.8v1.7h.05c.53-1 1.83-2.05 3.77-2.05C20.6 8.65 21 11.3 21 14.7V21h-4v-5.6c0-1.33-.03-3.05-1.86-3.05-1.86 0-2.14 1.45-2.14 2.95V21H9z'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9h4v12H3zM9 9h3.8v1.7h.05c.53-1 1.83-2.05 3.77-2.05C20.6 8.65 21 11.3 21 14.7V21h-4v-5.6c0-1.33-.03-3.05-1.86-3.05-1.86 0-2.14 1.45-2.14 2.95V21H9z'/%3E%3C/svg%3E") no-repeat center/contain}
.foot .reseaux a.fb {-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.8c0-.8.2-1.3 1.4-1.3H17V2.2c-.3 0-1.3-.2-2.5-.2-2.5 0-4.2 1.5-4.2 4.3v2.2H7.5V12h2.8v10H14V12h2.8l.4-3.5z'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.8c0-.8.2-1.3 1.4-1.3H17V2.2c-.3 0-1.3-.2-2.5-.2-2.5 0-4.2 1.5-4.2 4.3v2.2H7.5V12h2.8v10H14V12h2.8l.4-3.5z'/%3E%3C/svg%3E") no-repeat center/contain}
/* 29/11/2026, 18 h 10 (Guillaume : « mesure l'espace entre le bord de page et le logo ») : sur une page courte (Mes applis), pas de
   barre de défilement, donc page plus large de 15 px et contenu centré décalé d'environ 8 px vers la droite par rapport au site,
   dont les pages sont longues. Place de la barre de défilement toujours réservée, comme sur le site (scrollbar-gutter). */
html { scrollbar-gutter: stable; }
/* 29/11/2026, 18 h 20 (Guillaume : marge à gauche et à droite inutile pour l'appli Hôtel Jonquière) : sur ordinateur, la grande fiche
   d'appli va d'un bord à l'autre de la page, comme le bandeau du fil d'Ariane */
@media (min-width: 768px) { main > .appli-vedette, .appli-vedette { margin-left: -20px; margin-right: -20px; } }

/* 29/11/2026, 18 h 25 : plan de l'extranet (/plan), même présentation que le plan du site (colonnes, titres en capitales) */
.plan-extranet { column-count: 3; column-gap: 48px; padding: 24px 4px 8px; }
.plan-extranet section { break-inside: avoid; margin: 0 0 26px; }
.plan-extranet h2 { font: 700 16px/1.3 "Open Sans", "Segoe UI", Arial, sans-serif; text-transform: uppercase; color: #505461; margin: 0 0 10px; }
.plan-extranet ul { list-style: none; margin: 0; padding: 0; }
.plan-extranet li a { display: block; padding: 3px 0; font-size: 14px; line-height: 1.45; color: #505461; text-decoration: none; }
.plan-extranet li a:hover { color: #4875b0; }
@media (max-width: 900px) { .plan-extranet { column-count: 1; } }
/* 29/11/2026, 18 h 30 (Guillaume : « la loupe est décalée entre extranet et site ») : barre du haut à 10 px du bord droit et 2 px plus haut,
   comme sur le site (mesuré à 1 484 px : loupe 1 283,5 / -1,5 et EN 1 239,4 sur les deux) */
.top .barre-haut { padding-right: 10px !important; }
.top .barre-haut > * { position: relative; top: -2px; }
/* 29/11/2026, 18 h 50 : fiche de l'appli Hôtel Jonquière : logo officiel de l'hôtel dans une case crème, phrase d'explication */
.av-logo { display: grid; place-items: center; width: 240px; height: 120px; background: #f6efe9; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.av-logo img { display: block; width: 210px; height: auto; }
.av-p { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.92); max-width: 560px; margin-top: 4px; }
@media (max-width: 767px) { .av-logo { width: 100%; height: 96px; } .av-logo img { width: 180px; } .av-p { font-size: 14px; } }
/* 29/11/2026, 18 h 55 (Guillaume : « ce fond bleu bof pour cette appli ») : fiche de l'appli Hôtel Jonquière aux couleurs de l'hôtel
   (fond crème du logo, texte bleu nuit, filet et bouton vert-gris), logo posé directement sur le fond */
.av-hotel .av-tete { background: #f6efe9; color: #263244 !important; border-bottom: 3px solid #70786b; }
.av-hotel .av-logo { background: none; box-shadow: none; width: 230px; }
.av-hotel .av-t { color: #263244; }
.av-hotel .av-p { color: #3b4657; }
.av-hotel .av-d { color: #70786b; }
.av-hotel .av-btn { background: #263244; color: #fff; }
.av-hotel .av-tete:hover .av-btn { background: #70786b; color: #fff; }

/* 29/11/2026, 19 h 25 : carte Hôtel Jonquière (Guillaume : « la mise en page est à revoir pour l'appli hôtel ») :
   sans le trait gris du bas ; logo calé à gauche et séparé du texte par un filet ;
   sur téléphone, logo au-dessus du texte sur toute la largeur (le texte n'est plus écrasé en colonne étroite) */
.av-hotel .av-tete { border-bottom: 0; }
.av-hotel .av-logo { width: auto; height: auto; place-items: center start; padding-right: 28px; border-right: 1px solid #ddd2c6; }
.av-hotel .av-logo img { width: 200px; }
@media (max-width: 767px) {
  .av-hotel .av-tete { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 18px 20px; }
  .av-hotel .av-logo { width: 100%; place-items: center; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid #ddd2c6; }
  .av-hotel .av-logo img { width: 190px; }
  .av-hotel .av-d { white-space: normal; }
}

/* 29/11/2026, 19 h 30 : titre « Hôtel Jonquière » masqué sur la carte (Guillaume : « pas la peine de répéter hôtel Jonquière sous le logo ») ;
   gardé pour les lecteurs d'écran */
.av-hotel .av-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 29/11/2026, 22 h 05 : formulaire de contact comme sur monceauinvest.fr (Guillaume : « on pourrait ne laisser du blanc que sur
   les champs ») : plus de cadre blanc, formulaire posé sur le fond dégradé ; Nom et E-mail côte à côte, Téléphone en demi-largeur */
@media (min-width: 768px) {
  body.page-contact .cols.contact > #formulaire { background: transparent; border: 0; box-shadow: none; padding: 20px 0 0; }
  body.page-contact #form-contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  body.page-contact #form-contact > * { grid-column: 1 / -1; }
  body.page-contact #form-contact > label:has(input[name=nom]), body.page-contact #form-contact > label:has(input[name=courriel]),
  body.page-contact #form-contact > label:has(input[name=telephone]) { grid-column: auto; }
  body.page-contact #form-contact > button { justify-self: start; }
}
body.page-contact #form-contact input, body.page-contact #form-contact textarea { background: #fff; }

/* 29/11/2026, 22 h 15 : boutons de la page Nous contacter comme ceux du site (« Envoyer », « Contacter notre management ») :
   majuscules, Open Sans gras 13 px, angles droits, bleu #254d83 ; survol #4875b0 */
body.page-contact .btn.primary { background: #254d83; color: #fff; border: 0; border-radius: 0; box-shadow: none;
  font: 700 13px/1 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; padding: 11px 18px; text-decoration: none; }
body.page-contact .btn.primary:hover, body.page-contact .btn.primary:focus-visible { background: #4875b0; color: #fff; text-decoration: none; }

/* 30/11/2026, 0 h 40 (Guillaume : « ok pour mettre le même style ») : boutons principaux de tout l'extranet comme ceux du site
   (majuscules, Open Sans gras 13 px, léger espacement), dont « Ouvrir l'appli » ; tailles et couleurs de chaque bouton inchangées */
.btn.primary:not(.small), .av-btn { font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 767px) { .av-btn { font-size: 15px; } }   /* grand bouton de l'appli sur téléphone */

/* 30/11/2026, 9 h 35 (audit 2, Guillaume : « Mes cartes : 4 par ligne ») : sur ordinateur, les dossiers de Mes cartes
   ne prennent plus chacun une ligne entière ; ils se rangent côte à côte sur 4 colonnes, chacun sur autant de colonnes
   qu'il a de cartes (4 au plus, au-delà les cartes passent à la ligne dans le dossier). Largeur d'une fiche inchangée. */
@media (min-width: 768px) {
  .groupes-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; align-items: start; }
  .groupes-cartes > .group { grid-column: span 1; min-width: 0; }
  .groupes-cartes > .g-n2 { grid-column: span 2; }
  .groupes-cartes > .g-n3 { grid-column: span 3; }
  .groupes-cartes > .g-n4 { grid-column: span 4; }
  .groupes-cartes > .g-n1 > .grid { grid-template-columns: minmax(0, 1fr); }
  .groupes-cartes > .g-n2 > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groupes-cartes > .g-n3 > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groupes-cartes > .g-n4 > .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .groupes-cartes > .group h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}



/* 03/12/2026, 20 h 20 puis 21 h (gérant : journaux peu lisibles sur téléphone ; « tu peux simplifier », puis « compresser encore », « tel quel ») :
   journal du site et détail du journal des fichiers sur téléphone — un intertitre par jour, puis deux lignes par événement :
   heure, nom, événement / détail ; sans étiquettes, adresse IP ni navigateur. L'ordinateur ne change pas (intertitres masqués). */
table.tbl.journal tr.jour { display: none; }
@media (max-width: 767px) {
  table.tbl.journal, table.tbl.journal tbody { display: block !important; width: 100%; }
  table.tbl.journal thead { display: none !important; }
  table.tbl.journal tbody tr { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 1px; align-items: baseline;
    padding: 6px 12px !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--a-line, #E1E6EB) !important; border-radius: 0 !important; box-shadow: none !important; }
  table.tbl.journal tbody tr.jour { display: block !important; padding: 10px 12px 4px !important; background: var(--a-bg, #F3F5F7); border-bottom: 0 !important;
    font: 700 12px/1.2 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--a-marine, #254C83); }
  table.tbl.journal tbody td { display: block !important; padding: 0 !important; margin: 0 !important; border: 0 !important; text-align: left !important; min-height: 0 !important; background: none !important; }
  table.tbl.journal tbody td::before { content: none !important; display: none !important; }
  table.tbl.journal .j-date { display: none; }
  table.tbl.journal tbody td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: 12.5px; color: var(--a-muted, #6B7785); }
  table.tbl.journal tbody td:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  table.tbl.journal tbody td:nth-child(3) { grid-column: 3; grid-row: 1; justify-self: end; }
  table.tbl.journal tbody td:nth-child(4) { grid-column: 2 / -1; grid-row: 2; font-size: 13px; overflow-wrap: anywhere; }
  table.tbl.journal tbody td:nth-child(5), table.tbl.journal tbody td:nth-child(6) { display: none !important; }
  table.tbl.journal tbody tr:not(.jour) td[colspan] { grid-column: 1 / -1; grid-row: 1; }
}


/* 05/12/2026 (gérant : « mettre un peu mieux en forme, notamment au mouse over », modèle : Nos actualités de monceauinvest.fr ;
   logo et bouton « Ouvrir l'appli » gardés) : fiche de l'Hôtel Jonquière sur ordinateur — ligne grise, photo de l'immeuble à droite,
   au survol la ligne fonce (#e6e7e9 comme les actualités), le bouton passe au bleu Monceau Invest et la photo grossit légèrement.
   Téléphone inchangé (photo masquée). */
.av-photo { display: none; }
@media (min-width: 768px) {
  .av-hotel .av-tete { grid-template-columns: minmax(0, 1fr) 370px; grid-template-rows: auto auto 1fr; gap: 0; padding: 0; background: #f1f2f4;
    border: 0; border-top: 1px solid #e6e7e9; border-bottom: 1px solid #e6e7e9; transition: background .15s; text-decoration: none; }
  .av-hotel .av-tete:hover { background: #e6e7e9; }
  .av-hotel .av-logo { grid-column: 1; grid-row: 1; justify-self: start; width: auto; height: auto; margin: 30px 30px 0; padding: 8px 14px; border-right: 0; background: #f6efe9; }
  .av-hotel .av-logo img { width: 150px; }
  .av-hotel .av-txt { grid-column: 1; grid-row: 2; padding: 16px 30px 0; }
  .av-hotel .av-p { color: #404040; font-size: 14.5px; line-height: 1.5; }
  .av-hotel .av-d { color: #919191; font-size: 12px; }
  .av-hotel .av-btn { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin: 18px 30px 30px; }
  .av-hotel .av-tete:hover .av-btn { background: #254C83; color: #fff; }
  .av-hotel .av-photo { display: block; position: relative; grid-column: 2; grid-row: 1 / 4; align-self: stretch; overflow: hidden; }
  .av-hotel .av-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
  .av-hotel .av-tete:hover .av-photo img { transform: scale(1.04); }
}

/* 05/12/2026, 12 h (gérant) : à droite le logo (visuel de l'accueil du site) au lieu de la photo de l'immeuble, donc plus de logo à gauche
   (le nom de l'appli s'affiche en titre, comme les actualités) ; au survol, même effet que les photos des cases de l'accueil du site
   (image à 80 % d'opacité, 0,3 s) au lieu du léger agrandissement ; bouton comme « Nous contacter » du site (#254d83, survol #4875b0). */
@media (min-width: 768px) {
  .av-hotel .av-tete { grid-template-rows: auto 1fr; }
  .av-hotel .av-logo { display: none; }
  .av-hotel .av-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    font: 700 19px/1.2 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0; color: #404040; }
  .av-hotel .av-t::after { content: " >"; font-weight: 800; font-size: 17px; color: #919191; }
  .av-hotel .av-txt { grid-row: 1; padding: 32px 30px 0; gap: 6px; }
  .av-hotel .av-btn { grid-row: 2; margin: 20px 30px 32px; background: #254d83; color: #fff; font: 700 13px/1 "Open Sans", Arial, sans-serif;
    text-transform: uppercase; letter-spacing: .02em; padding: 11px 18px; border-radius: 0; transition: background .2s; }
  .av-hotel .av-tete:hover .av-btn { background: #4875b0; color: #fff; }
  .av-hotel .av-photo { grid-row: 1 / 3; background: #f6efe9; }
  .av-hotel .av-photo img { transition: opacity .3s linear; }
  .av-hotel .av-tete:hover .av-photo img { transform: none; opacity: .8; }
}

/* 05/12/2026, 12 h 35 (gérant : survol du pied de page pas homogène avec le site) : comme monceauinvest.fr, les liens du pied
   restent gris foncé et se soulignent au survol (au lieu de passer en bleu) ; icônes LinkedIn / Facebook inchangées (déjà comme le site) */
.foot .foot-l a:hover, .foot .foot-l a:focus-visible { color: #333; text-decoration: underline; }
