/* Orbia · Système de gestion — identité : noir profond, bordeaux Orbia, ivoire */
:root {
  --bg: #f5f3ef; --card: #ffffff; --ink: #131314; --ink2: #2b2b2e; --muted: #6d6a66; --line: #e6e1d9; --soft: #f1ede6; --soft2: #faf8f4;
  --brand: #94111f; --brand-hi: #b51a2d; --brand-ink: #fff; --brand-soft: rgba(148, 17, 31, .08);
  --gold: #b08a4e; --warn: #a65a00; --bad: #b42318; --good: #1f7a4d;
  --airbnb: #d9545a; --booking: #2f5fb3; --direct: #1f8a7d; --legacy: #9aa3a8; --site: #8c7aa8; --ical: #c58b2a;
  --side: #111113; --side-2: #19191c; --side-ink: #f3f0ea; --side-muted: #8e8a84; --side-line: #26262a;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 1px rgba(20, 16, 10, .03), 0 2px 6px rgba(20, 16, 10, .04), 0 12px 32px -12px rgba(20, 16, 10, .10);
  --shadow-hi: 0 2px 4px rgba(20, 16, 10, .04), 0 20px 44px -16px rgba(20, 16, 10, .22);
  --display: "Montserrat", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sidew: 268px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f; --card: #161618; --ink: #f1eee8; --ink2: #d8d4cd; --muted: #9b968f; --line: #29282b; --soft: #1e1d20; --soft2: #19181b;
    --brand: #c4263a; --brand-hi: #d8344a; --brand-soft: rgba(196, 38, 58, .14);
    --side: #09090a; --side-2: #141416; --side-line: #222225;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-hi: 0 18px 40px -16px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 { font-size: 30px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 17px; margin: 0 0 14px; font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 15px; margin: 0 0 8px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pad { padding: 24px; }
::selection { background: var(--brand); color: #fff; }

/* ───── Barre latérale */
.side { position: fixed; inset: 0 auto 0 0; width: var(--sidew); background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; z-index: 30;
  border-right: 1px solid var(--side-line); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.side::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand) 0 50%, #e9e4dc 50%); opacity: .9; }
.side-logo { display: block; padding: 30px 26px 18px; }
.side-logo img { width: 100%; max-width: 200px; height: auto; display: block; }
.side-org { margin: 0 18px 14px; padding: 12px 14px; background: var(--side-2); border: 1px solid var(--side-line); border-radius: 12px; font-size: 13px; }
.side-org:empty { display: none; }
.side-org .lab { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--side-muted); margin-bottom: 2px; }
.side-org b { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--side-ink); }
.side-org select { margin-top: 6px; background: #0e0e10; color: var(--side-ink); border-color: var(--side-line); }
#nav { display: flex; flex-direction: column; gap: 1px; padding: 4px 12px 16px; flex: 1; }
#nav .grp { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--side-muted); padding: 16px 12px 6px; font-weight: 600; }
#nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #c9c5be; text-decoration: none; font-weight: 500; font-size: 14px; position: relative; transition: background .15s, color .15s; }
#nav a svg { width: 18px; height: 18px; flex: none; opacity: .75; }
#nav a:hover { background: var(--side-2); color: #fff; }
#nav a.on { background: linear-gradient(90deg, rgba(196, 38, 58, .22), rgba(196, 38, 58, .06)); color: #fff; }
#nav a.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-hi); }
#nav a.on svg { opacity: 1; color: #f2a0aa; }
#nav .badge { margin-left: auto; }
.who { padding: 16px 24px 22px; border-top: 1px solid var(--side-line); font-size: 12.5px; color: var(--side-muted); line-height: 1.5; word-break: break-word; }
.who a { color: #e4dfd7; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand-hi); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; margin-left: 6px; }

/* ───── Zone principale */
.shell { margin-left: var(--sidew); min-height: 100vh; }
.top { display: none; }
main { max-width: 1280px; margin: 0 auto; padding: 40px 44px 80px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.head .muted { font-size: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }

/* ───── Accueil */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 40px 44px; margin-bottom: 30px; color: #f6f2ec; background:
  radial-gradient(120% 140% at 100% 0%, rgba(181, 26, 45, .55) 0%, rgba(181, 26, 45, 0) 55%), linear-gradient(135deg, #17171a 0%, #0b0b0c 100%); box-shadow: var(--shadow-hi); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 300px; background: url(/mark-light.png) no-repeat center / contain; opacity: .07; pointer-events: none; }
.hero h1 { color: #fff; font-size: 34px; margin: 4px 0 8px; }
.hero .eyebrow { color: #c9c3ba; } .hero .eyebrow::before { background: #e0485c; }
.hero p { margin: 0; color: #cfc9c0; max-width: 640px; }
.hero-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: rgba(255, 255, 255, .08); border-radius: 14px; overflow: hidden; }
.hero-kpis div { background: rgba(14, 14, 15, .55); padding: 16px 18px; backdrop-filter: blur(4px); }
.hero-kpis b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.15; }
.hero-kpis span { font-size: 12px; color: #aaa39a; letter-spacing: .02em; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 16px; }
.sec h2 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.sec .muted { font-size: 13px; }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); border-color: transparent; }
.tile:hover::before { transform: scaleX(1); }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile .tag { position: absolute; top: 22px; right: 20px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tile h3 { font-family: var(--display); font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1; }
.tile .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.tile .foot .m { color: var(--ink); } .tile .foot .m.hot { color: var(--brand); }
.tile .arr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.tile:hover .arr { background: var(--brand); color: #fff; transform: translateX(2px); }
.tile.feature { background: linear-gradient(160deg, #1a1a1d, #0e0e10); color: #f3efe9; border-color: #222; }
.tile.feature h3 { color: #fff; } .tile.feature p { color: #b7b1a8; } .tile.feature .tag { color: #9c968e; } .tile.feature .foot { border-color: #2a2a2e; } .tile.feature .foot .m { color: #fff; }
.tile.feature .ic { background: rgba(224, 72, 92, .16); color: #f08a98; } .tile.feature .arr { background: #26262a; color: #fff; }

/* Propriétés avec photo */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }
.grid .card + .card { margin-top: 0; }
.prop { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); }
.prop.has-cover { padding: 0; overflow: hidden; gap: 0; }
.prop .cover { position: relative; height: 178px; background: #1b1b1d center / cover no-repeat; }
.prop .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72)); }
.prop .cover .ttl { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: #fff; }
.prop .cover .ttl h2 { color: #fff; margin: 0; font-size: 20px; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.prop .cover .ttl div { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.prop .cover .pill { position: absolute; top: 14px; right: 14px; z-index: 1; background: rgba(15, 15, 16, .72); color: #fff; backdrop-filter: blur(6px); }
.prop .cover .pill.on { background: rgba(31, 122, 77, .9); color: #fff; }
.prop .body { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.prop .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill.on { background: rgba(31, 122, 77, .12); color: var(--good); }
.pill.warn { background: var(--brand-soft); color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--soft2); padding: 10px 12px; }
.stat b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.2; font-weight: 700; }
.stat span { font-size: 11.5px; color: var(--muted); }
.src { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
.s-airbnb { background: var(--airbnb); } .s-booking { background: var(--booking); } .s-direct { background: var(--direct); }
.s-ancien { background: var(--legacy); } .s-site { background: var(--site); } .s-ical { background: var(--ical); }

/* ───── Tableaux, formulaires, boutons */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; background: var(--soft2); }
tbody tr { transition: background .12s; } tbody tr:hover td { background: var(--soft2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grid2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-bottom: 18px; }
.grid2 .card + .card { margin-top: 0; }
.tablewrap { overflow-x: auto; margin: 0 -4px; }
.btn { font: inherit; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 9px 15px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, background .15s, box-shadow .15s; }
.btn:hover { border-color: var(--ink); }
.btn.pri { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.pri:hover { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(148, 17, 31, .55); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btn.bad { color: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
form.f { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); align-items: end; }
form.f label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
form.f .wide, .dsg-ctl .wide, .apf .wide { grid-column: 1 / -1; }
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 84px; resize: vertical; }
input[type=checkbox] { width: auto; accent-color: var(--brand); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 11px 15px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--brand); }
.kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list > div:last-child { border-bottom: 0; }
.msg { white-space: pre-wrap; background: var(--soft2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: 14px; }
.empty { color: var(--muted); padding: 20px 0; }
.note { font-size: 13px; color: var(--muted); }
.warnbox { background: var(--brand-soft); border: 1px solid rgba(148, 17, 31, .22); border-left: 3px solid var(--brand); border-radius: 12px; padding: 13px 16px; font-size: 14px; }

/* ───── Calendrier commun */
.cal { overflow-x: auto; }
.cal table { table-layout: fixed; min-width: 900px; }
.cal th, .cal td { padding: 0; border: 0; background: none; }
.cal tbody tr:hover td { background: none; }
.cal .name { width: 170px; padding: 8px 10px 8px 0; font-weight: 600; font-size: 13px; position: sticky; left: 0; background: var(--card); z-index: 2; }
.cal .name a { color: var(--ink); text-decoration: none; }
.cal .day { font-size: 10.5px; color: var(--muted); text-align: center; padding-bottom: 6px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.cal .day.we { color: var(--ink); }
.cal .day.today { color: var(--brand); font-weight: 700; }
.cal .lane { position: relative; height: 36px; background: repeating-linear-gradient(90deg, var(--soft) 0 1px, transparent 1px calc(100% / var(--n))); border-radius: 8px; margin: 3px 0; }
.cal .bar { position: absolute; top: 5px; height: 26px; border-radius: 7px; color: #fff; font-size: 11.5px; line-height: 26px; padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.cal .bar.b-airbnb { background: var(--airbnb); } .cal .bar.b-booking { background: var(--booking); } .cal .bar.b-direct { background: var(--direct); }
.cal .bar.b-ancien { background: var(--legacy); } .cal .bar.b-site { background: var(--site); } .cal .bar.b-ical { background: var(--ical); }
.cal .now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--brand); opacity: .7; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ───── Agent */
.agent { display: flex; flex-direction: column; gap: 14px; }
.agent .chat { flex: 1; }
.chat { min-height: 180px; max-height: 62vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 80%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: var(--soft); white-space: pre-wrap; font-size: 14px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-radius: 16px 16px 4px 16px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 90vw; z-index: 95; box-shadow: var(--shadow-hi); }
#toast.on { opacity: 1; }
.postgrid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 20px; }
.postgrid canvas { width: 100%; height: auto; border-radius: 12px; background: var(--soft); display: block; }
.post + .post { margin-top: 18px; }
.cap { font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-top: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; cursor: pointer; border: 3px solid transparent; }
.thumbs img.sel { border-color: var(--brand); }
.chips { gap: 6px; }
.chips .btn { font-weight: 500; border-radius: 99px; }
#orgsel { width: 100%; padding: 6px 8px; font-size: 13px; }
.invoice hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.foot-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 56px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.foot-brand img { height: 18px; width: auto; opacity: .7; }

/* ───── Mobile et tablette */
.scrim { display: none; }
@media all {
  .side { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(0, 0, 0, .3); }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 25; }
  .shell { margin-left: 0; }
  .top { display: flex; align-items: center; gap: 14px; position: sticky; top: 0; z-index: 20; padding: 12px 16px; background: rgba(245, 243, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .top-logo img { height: 28px; width: auto; display: block; }
  .crumb { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; display: grid; place-content: center; gap: 4px; cursor: pointer; padding: 0; }
  .menu span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  main { padding: 26px 22px 60px; }
}
@media (prefers-color-scheme: dark) { .top { background: rgba(13, 13, 15, .9); } .top-logo img { content: url(/logo-light.png); } }
@media (max-width: 640px) {
  main { padding: 20px 16px 50px; }
  h1 { font-size: 24px; }
  .hero { padding: 28px 22px; border-radius: 18px; }
  .hero h1 { font-size: 26px; }
  .hero-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; }
  .postgrid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}
@media print {
  .side, .top, .scrim, .noprint, #toast, .foot-brand { display: none !important; }
  .shell { margin: 0; }
  body { background: #fff; color: #000; }
  main { padding: 0; max-width: none; }
  .card { border: 0; box-shadow: none; padding: 0; }
}

/* ───── Planificateur réseaux sociaux */
.pltool { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.pltool select { width: auto; min-width: 190px; }
.pltool .seg { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.pltool .seg .btn { border: 0; border-radius: 0; padding: 8px 13px; }
.pltool .seg .rng { padding: 0 14px; font-weight: 600; font-size: 14px; min-width: 200px; text-align: center; text-transform: capitalize; }
.pltool .views .btn.on { background: var(--ink); color: var(--bg); }
.heatsel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-left: auto; }
.heatsel select { min-width: 130px; }
.nb { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 8.5px; font-weight: 800; color: #fff; margin-right: 3px; flex: none; letter-spacing: -.02em; }
.nb-facebook { background: #1877f2; } .nb-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); } .nb-tiktok { background: #111; } .nb-youtube { background: #ff0000; } .nb-linkedin { background: #0a66c2; }
.netpick { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 6px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 500; color: var(--ink); background: var(--card); }
.netpick input { margin: 0 2px 0 0; }
.tray { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 48px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 14px; background: var(--soft2); }
.tray .pc { width: 210px; }
.tray-l { font-size: 13px; font-weight: 600; margin-right: 4px; }
.drop.over { outline: 2px solid var(--brand); outline-offset: -2px; background: var(--brand-soft) !important; }
.calcard { padding: 0; overflow: hidden; }
/* carte de publication */
.pc { position: relative; background: var(--card); border: 1px solid var(--line); border-left: 3px solid #b9b2a8; border-radius: 9px; padding: 6px 8px; font-size: 11.5px; line-height: 1.3; cursor: grab;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: box-shadow .15s, transform .15s; user-select: none; }
.pc:hover { box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .25); transform: translateY(-1px); z-index: 3; }
.pc.dragging { opacity: .35; }
.pc.st-draft { border-left-color: #b9b2a8; background: repeating-linear-gradient(135deg, var(--card) 0 8px, var(--soft2) 8px 16px); }
.pc.st-ok { border-left-color: var(--good); } .pc.st-pub { border-left-color: #2f5fb3; }
.pc-top { display: flex; align-items: center; gap: 1px; }
.pc-time { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-txt { margin: 3px 0; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { display: flex; align-items: center; gap: 6px; }
.pc-th { width: 24px; height: 24px; border-radius: 5px; background: var(--soft) center / cover; flex: none; }
.pc-th.lg { width: 46px; height: 46px; border-radius: 8px; }
.pc-prop { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.pc-ok { color: var(--good); font-weight: 800; } .pc-err { color: var(--bad); font-weight: 800; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); vertical-align: -2px; margin-right: 5px; border-left-width: 3px; }
.lg.st-draft { border-left-color: #b9b2a8; } .lg.st-ok { border-left-color: var(--good); } .lg.st-pub { border-left-color: #2f5fb3; }
/* semaine */
.wcal { --row: 58px; }
.whead, .wbody { display: grid; grid-template-columns: 64px repeat(7, minmax(120px, 1fr)); }
.whead { position: sticky; top: 0; z-index: 4; background: var(--card); border-bottom: 1px solid var(--line); }
.wcorner { padding: 10px 6px; display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.wdh { padding: 10px 8px 8px; border-left: 1px solid var(--line); font-size: 13px; text-align: center; }
.wdh b { font-family: var(--display); font-size: 16px; margin-left: 2px; }
.wdh.today { background: var(--brand-soft); } .wdh.today b { color: var(--brand); }
.sds { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.sd { display: block; font-size: 10.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: rgba(176, 138, 78, .16); color: #7a5a22; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbody { max-height: 70vh; overflow-y: auto; position: relative; }
.wtimes div { height: var(--row); font-size: 11px; color: var(--muted); text-align: right; padding: 3px 8px 0 0; font-variant-numeric: tabular-nums; }
.wcol { position: relative; border-left: 1px solid var(--line); }
.wcol.past { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0, 0, 0, .025) 6px 12px); }
.wslot { height: var(--row); border-bottom: 1px solid var(--line); background: rgba(148, 17, 31, calc(var(--heat) * .26)); position: relative; cursor: copy; }
.wslot span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; color: rgba(60, 20, 25, .45); font-style: italic; pointer-events: none; }
.wslot:hover { box-shadow: inset 0 0 0 2px var(--brand); }
.wcol.past .wslot { cursor: not-allowed; }
.wpost { position: absolute; left: 4px; right: 4px; z-index: 2; }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--brand); z-index: 3; pointer-events: none; }
.nowline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
/* mois */
.mhead, .mgrid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); }
.mhead div { padding: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--soft2); border-bottom: 1px solid var(--line); }
.mcell { min-height: 128px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.mcell:nth-child(7n) { border-right: 0; }
.mcell.out { background: var(--soft2); } .mcell.out .mday b { color: var(--muted); }
.mcell.past { opacity: .75; }
.mcell.today .mday b { background: var(--brand); color: #fff; border-radius: 99px; padding: 0 7px; }
.mday { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.mday b { align-self: flex-start; font-family: var(--display); }
.mcell .pc-txt { -webkit-line-clamp: 1; }
.mcell .pc-foot { display: none; }
.more { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mcal, .wcal { min-width: 860px; }
.calcard { overflow-x: auto; }
/* Metricool */
.mcbox { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; background: var(--card); padding: 10px 14px; margin-bottom: 14px; }
.mcbox summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.mclinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 10px 0; }
.mclinks label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
/* fenêtre */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(10, 10, 12, .55); display: grid; place-items: start center; padding: 4vh 16px; overflow-y: auto; backdrop-filter: blur(3px); }
.mbox { width: min(1040px, 100%); background: var(--card); border-radius: 18px; box-shadow: var(--shadow-hi); padding: 22px 24px 24px; }
.mtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mtop h2 { margin: 0; font-size: 19px; }
body.noscroll { overflow: hidden; }
tr.clk { cursor: pointer; }
.lrow { display: flex; gap: 10px; align-items: center; }
@media (max-width: 640px) { .heatsel { margin-left: 0; } .pltool .seg .rng { min-width: 0; } .mbox { padding: 16px; } }
@media (prefers-color-scheme: dark) { .wslot { background: rgba(196, 38, 58, calc(var(--heat) * .32)); } .wslot span { color: rgba(255, 220, 225, .4); } .sd { color: #e2c48f; } }
.btn svg { width: 16px; height: 16px; flex: none; }
form.f .netpick, .nets .netpick { flex-direction: row; display: inline-flex; color: var(--ink); font-size: 13px; }
@media all { .side { box-shadow: none; } body.nav-open .side { box-shadow: 20px 0 40px rgba(0, 0, 0, .3); } }
.tabs { overflow-y: hidden; scrollbar-width: none; }

/* ───── Volet Entreprise */
.av { border-radius: 50%; object-fit: cover; flex: none; background: var(--soft); display: inline-block; }
.av-i { display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-family: var(--display); }
.lg-img { border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; padding: 3px; }
.lg-i { display: inline-grid; place-items: center; color: #fff; font: 700 12px var(--display); letter-spacing: .04em; padding: 0; border: 0; }
.tile.spc { min-height: 0; text-decoration: none; color: inherit; }
.spc-top { display: flex; gap: 14px; align-items: center; } .spc-top h3 { margin: 0 0 2px; font-size: 16.5px; }
.spc-kpi { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.spc-kpi b { color: var(--ink); } .spc-kpi .hot, .spc-kpi .hot b, .hotx { color: var(--brand); font-weight: 600; }
.spc-kids { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; } .spc-kids span { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--ink2); }
.spc-head { display: flex; gap: 16px; align-items: center; } .spc-head h1 { margin: 2px 0; }
.chip-sp { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: 13px; background: var(--card); }
.chip-sp .lg-img { border-radius: 50%; }
.prow { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); } .prow:last-child { border-bottom: 0; }
.agents-mini { display: flex; flex-direction: column; gap: 6px; } .agm { font-size: 13.5px; color: var(--muted); } .agm b { color: var(--ink); }
.agcard { margin-bottom: 12px; }
.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 14px; }
.pcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-hi); transform: translateY(-2px); } .pcard b { font-size: 14.5px; }
.tlist { padding: 4px 16px; }
.trow { display: grid; grid-template-columns: 28px 1fr auto 76px auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; } .trow.done .tmain b { text-decoration: line-through; color: var(--muted); }
.tchk { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line); background: var(--card); color: #fff; cursor: pointer; font-weight: 700; padding: 0; }
.trow.done .tchk { background: var(--good); border-color: var(--good); } .tchk:hover { border-color: var(--brand); }
.tasg { display: inline-flex; align-items: center; gap: 6px; min-width: 70px; }
.due { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; } .due.late { color: var(--bad); } .due.soon { color: var(--warn); }
.addtask { padding: 12px; margin-top: 12px; }
.evline { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.evline:last-child { border-bottom: 0; } .evline > span:last-child { display: flex; flex-direction: column; }
.evd { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; text-transform: uppercase; flex: none; }
.evd b { font: 700 18px/1 var(--display); }
.evcard { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; } .evcard h2 { margin: 4px 0 0; font-size: 17px; }
.bar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: 6px; } .bar > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.evkpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 6px 0 20px; }
.evkpis > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; }
.evkpis b { font: 700 22px var(--display); } .evkpis span { font-size: 12.5px; color: var(--muted); }
.bin { width: 110px; text-align: right; padding: 5px 8px; }
.addline { margin-top: 10px; gap: 8px; }
.shot .shotbtn { display: block; } .shotbtn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shotbtn span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px; border: 2px dashed var(--line); border-radius: var(--r); color: var(--brand); font-weight: 600; cursor: pointer; background: var(--soft2); }
.shotbtn span svg { width: 24px; height: 24px; } .shotbtn:hover span { border-color: var(--brand); }
.xed { display: grid; gap: 18px; grid-template-columns: minmax(0, 340px) 1fr; margin-top: 18px; }
.xphoto { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--soft); min-height: 160px; }
.xphoto img { width: 100%; display: block; } .xphoto span { display: grid; place-items: center; height: 160px; }
@media (max-width: 760px) {
  .xed { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 28px 1fr auto; } .trow .tasg { display: none; } .trow [data-edit] { grid-column: 2 / -1; justify-self: start; }
  .spc-head .lg-img { width: 48px !important; height: 48px !important; }
}

/* ───── Portail Orbia : noir, rouge Orbia et blanc */
.side-switch { display: inline-block; margin-top: 8px; font-size: 12.5px; color: #e9a0aa; text-decoration: none; font-weight: 600; }
.side-switch:hover { color: #fff; }
body.portal-on .side, body.portal-on .top, body.portal-on .scrim { display: none; }
body.portal-on .shell { margin-left: 0 !important; }
body.portal-on { background: #0b0b0c; }
body.portal-on #main { max-width: none; padding: 0; }
.portal { min-height: 100vh; padding: 40px clamp(16px, 5vw, 72px) 40px; color: #f3efe9; position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 50% -18%, rgba(148, 17, 31, .55), transparent 62%), linear-gradient(180deg, #0b0b0c, #0b0b0c 60%, #120709); }
.portal::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, #94111f 20%, #e0485c 50%, #94111f 80%, transparent); }
.portal-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-top: clamp(10px, 4vh, 44px); }
.portal-logo { height: clamp(78px, 12vw, 132px); width: auto; filter: drop-shadow(0 12px 34px rgba(148, 17, 31, .4)); }
.portal-tagline { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(12px, 1.4vw, 15px); letter-spacing: .42em; text-transform: uppercase; color: #fff; font-weight: 700; }
.portal-tagline::before, .portal-tagline::after { content: ""; width: 46px; height: 2px; background: #94111f; }
.portal-welcome { display: flex; align-items: center; justify-content: center; gap: 12px; margin: clamp(26px, 5vh, 44px) auto clamp(26px, 4vh, 40px); }
.portal-welcome b { display: block; font-family: var(--display); font-size: 16px; color: #fff; font-weight: 700; }
.portal-welcome small { display: block; color: #9c968e; font-size: 12.5px; }
.portal-me:empty { display: none; }
.portal-me { width: 44px; height: 44px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #e0485c, #94111f); flex: none; }
.portal-me img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #0b0b0c; display: block; }
.portal-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1320px; margin: 0 auto; }
.pv { box-sizing: border-box; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #141415; border: 1px solid #2a1517; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; color: inherit; text-align: left; }
.pv:hover { transform: translateY(-4px); border-color: #94111f; box-shadow: 0 30px 60px -28px rgba(148, 17, 31, .75); }
.pv:focus-visible { outline: 2px solid #e0485c; outline-offset: 3px; }
.pv-art { height: 230px; flex: none; position: relative; margin: 10px 10px 0; border-radius: 14px; overflow: hidden; background: #1b1b1d; border-bottom: 3px solid #94111f; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 22px 24px; }
.pv-art::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 9px; pointer-events: none; z-index: 2; }
.pv-photo { background-size: cover; background-position: center; }
.pv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .5)); }
.pv-brand { background: radial-gradient(420px 220px at 50% 0%, rgba(224, 72, 92, .35), transparent 70%), linear-gradient(160deg, #1a0a0d, #0d0d0e 70%); }
.pv-art-title { position: relative; z-index: 3; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pv-chips { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 290px; }
.pv-chip { width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 6px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .8); transition: transform .15s, box-shadow .15s; cursor: pointer; }
.pv-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pv-chip:hover { transform: translateY(-2px) scale(1.08); box-shadow: 0 0 0 2px #e0485c, 0 8px 20px -6px rgba(0, 0, 0, .8); }
.pv-badge { position: relative; z-index: 3; background: #94111f; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.pv-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pv-tag { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #e0485c; font-weight: 700; }
.pv h2 { color: #fff; font-family: var(--display); font-size: 25px; margin: 6px 0 8px; letter-spacing: -.01em; }
.pv p { color: #aaa49b; font-size: 14.5px; margin: 0 0 18px; line-height: 1.5; }
.pv-kpis { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 16px; border-top: 1px solid #2a1517; color: #9c968e; font-size: 12.5px; }
.pv-kpis b { display: block; color: #fff; font: 700 21px var(--display); }
.pv-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: #fff; font-size: 14px; }
.pv-go svg { width: 18px; height: 18px; transition: transform .2s; color: #e0485c; } .pv:hover .pv-go svg { transform: translateX(4px); }
.pv-soon { cursor: default; } .pv-soon:hover { transform: none; border-color: #2a1517; box-shadow: none; }
.pv-go.muted { color: #6e6a64; margin-top: auto; }
.portal .foot-brand { color: #6e6a64; margin-top: 44px; }
@media (max-width: 1000px) { .portal-grid { grid-template-columns: 1fr 1fr; } .pv-soon { grid-column: 1 / -1; } }
@media (max-width: 680px) { .portal-grid { grid-template-columns: 1fr; } .pv-art { height: 210px; } .pv-chip { width: 42px; height: 42px; } .pv-chips { max-width: 260px; } }

.portal-slogan { font-family: var(--display); font-size: clamp(18px, 2.2vw, 24px); color: #e9e3da; font-weight: 600; letter-spacing: .01em; margin-top: -2px; }


/* Écran d'ordinateur dessiné (volet entreprise) */
.pv-brand { justify-content: flex-start; gap: 14px; }
.pv-monitor { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; width: min(300px, 88%); }
.pv-screen { width: 100%; aspect-ratio: 16 / 8.6; background: linear-gradient(160deg, #22070c, #120d0f 60%, #1a0a0e); border: 7px solid #2c2c30; border-bottom-width: 12px; border-radius: 10px; box-shadow: 0 0 0 1px #4a4a50, 0 18px 30px -16px rgba(0, 0, 0, .9), inset 0 0 40px rgba(148, 17, 31, .25); display: flex; flex-direction: column; overflow: hidden; }
.pv-screen-bar { display: flex; align-items: center; gap: 4px; padding: 5px 7px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pv-screen-bar i { width: 5px; height: 5px; border-radius: 50%; background: #e0485c; opacity: .8; } .pv-screen-bar i + i { background: #6e6a64; } 
.pv-screen-bar span { margin-left: auto; font: 700 8px var(--display); letter-spacing: .2em; text-transform: uppercase; color: #9c968e; }
.pv-chips-screen { flex: 1; align-content: center; gap: 7px; max-width: none; padding: 6px 10px; }
.pv-chips-screen .pv-chip { width: 34px; height: 34px; padding: 4px; }
.pv-neck { width: 34px; height: 16px; background: linear-gradient(180deg, #3a3a3f, #26262a); }
.pv-foot { width: 110px; height: 6px; border-radius: 6px 6px 2px 2px; background: #3a3a3f; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .8); }
/* Accueil plus visible */
.portal-head { gap: 12px; margin-top: clamp(4px, 2vh, 24px); }
.portal-logo { height: clamp(70px, 9vw, 108px); }
.portal-welcome { gap: 16px; margin: clamp(20px, 3.5vh, 34px) auto clamp(22px, 3.5vh, 34px); padding: 10px 22px 10px 10px; border: 1px solid #2a1517; border-radius: 99px; background: rgba(255, 255, 255, .03); width: fit-content; }
.portal-me { width: 62px; height: 62px; padding: 3px; }
.portal-welcome b { font-size: 21px; }
.portal-welcome small { font-size: 13.5px; }
@media (max-width: 680px) { .portal-welcome b { font-size: 17px; } .portal-me { width: 50px; height: 50px; } .pv-chips-screen .pv-chip { width: 30px; height: 30px; } }
.pv-brand { gap: 10px; padding-top: 24px; padding-bottom: 14px; }
.pv-monitor { width: min(272px, 86%); }
.pv-screen { aspect-ratio: 16 / 8.2; }
.pv-chips-screen { max-width: 222px; margin: 0 auto; width: 100%; }

/* Portail : tout tient dans l'écran sur ordinateur */
@media (min-width: 1001px) {
  .portal { min-height: 100vh; display: flex; flex-direction: column; padding-top: clamp(14px, 3vh, 40px); padding-bottom: clamp(12px, 2.4vh, 32px); }
  .portal-head { margin-top: 0; gap: clamp(6px, 1.1vh, 12px); }
  .portal-logo { height: clamp(52px, 9.5vh, 108px); }
  .portal-slogan { font-size: clamp(16px, 2.4vh, 24px); }
  .portal-welcome { margin: clamp(10px, 2.4vh, 30px) auto clamp(12px, 2.6vh, 30px); padding-block: 6px; }
  .portal-me { width: clamp(44px, 6.4vh, 62px); height: clamp(44px, 6.4vh, 62px); }
  .portal-grid { flex: 1; align-content: start; width: 100%; }
  .pv-art { height: clamp(150px, 24vh, 230px); padding-top: clamp(14px, 2.4vh, 24px); padding-bottom: clamp(10px, 1.6vh, 16px); }
  .pv-body { padding: clamp(12px, 2vh, 20px) 24px clamp(14px, 2.2vh, 24px); }
  .pv h2 { font-size: clamp(20px, 2.8vh, 25px); margin: 4px 0 6px; }
  .pv p { margin-bottom: clamp(8px, 1.6vh, 18px); font-size: clamp(13px, 1.7vh, 14.5px); }
  .pv-kpis { padding-top: clamp(8px, 1.4vh, 16px); } .pv-kpis b { font-size: clamp(17px, 2.4vh, 21px); }
  .pv-go { margin-top: clamp(8px, 1.6vh, 18px); }
  .pv-monitor { width: min(272px, 86%, calc((24vh - 40px) * 1.6)); }
  .portal .foot-brand { margin-top: clamp(10px, 2vh, 28px); }
}
.pv-fam .pv-go svg { color: #e0485c; }
/* Volet famille et achats */
.shot-mini { cursor: pointer; } .shot-mini svg { width: 16px; height: 16px; }
.hero .shot-mini { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.meal { display: flex; flex-direction: column; gap: 10px; padding: 0; overflow: hidden; } .meal > div { padding: 14px 16px 16px; } .meal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; } .meal h3 { margin: 8px 0 4px; font-size: 16px; }
.deal-sum { margin: 18px 0; border-left: 3px solid var(--brand); } .deal-sum p { margin: 8px 0 0; font-size: 15px; }
.deal { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s; } .deal:hover { box-shadow: var(--shadow-hi); transform: translateY(-2px); }
.deal h3 { margin: 4px 0 0; font-size: 16px; } .deal-price { font: 800 24px var(--display); color: var(--brand); } .deal.best { border: 2px solid var(--brand); }

.pv-bigicon { position: relative; z-index: 3; margin: auto 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(224, 72, 92, .16); color: #ff9aa6; box-shadow: 0 0 0 10px rgba(224, 72, 92, .06); }
.pv-bigicon svg { width: 42px; height: 42px; }
.portal-links { display: flex; gap: 22px; justify-content: center; margin-top: clamp(10px, 2vh, 22px); font-size: 13px; }
.portal-links a { color: #9c968e; text-decoration: none; } .portal-links a:hover { color: #fff; }

.agrow { grid-template-columns: 96px 1fr auto; text-decoration: none; color: inherit; } .agrow .pill { justify-self: start; } .agrow:hover b { color: var(--brand); }
@media (max-width: 760px) { .agrow { grid-template-columns: 1fr auto; } .agrow .pill { grid-column: 1 / -1; } }

.mic-round { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: 0 8px 20px -8px rgba(148, 17, 31, .7); position: relative; }
.mic-round svg { width: 24px; height: 24px; }
.mic-round.on { background: #c41f33; } .mic-round.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(196, 31, 51, .5); animation: micp 1.6s ease-out infinite; }
.mic-stop { width: 16px; height: 16px; border-radius: 3px; background: #fff; display: block; }
@keyframes micp { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mic-round.on::after { animation: none; } }

.fab { position: fixed; z-index: 25; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 99px; border: 0; background: var(--brand); color: #fff; font: 600 14px var(--sans); cursor: pointer; box-shadow: 0 14px 30px -10px rgba(148, 17, 31, .75); }
.fab svg { width: 22px; height: 22px; } .fab:hover { background: #b51a2d; }
@media (max-width: 680px) { .fab span { display: none; } .fab { padding: 14px; } }
/* Contact en un geste */
.pcq{display:flex;gap:8px;justify-content:center;margin:2px 0}
.pcqb{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;transition:.15s}
.pcqb svg{width:17px;height:17px}
.pcqb:hover{background:#d71920}
.pcqb.off{background:transparent;color:#bbb;border:1px dashed #ccc}
.pcqb.off:hover{background:transparent;color:#999}
.cbar{display:flex;gap:10px;flex-wrap:wrap}
.cbtn{display:flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;background:#111;color:#fff;font-weight:700;text-decoration:none}
.cbtn svg{width:19px;height:19px}
.cbtn:hover{background:#d71920;color:#fff}
.cbtn.off{background:#f1f1f1;color:#aaa;cursor:not-allowed}
.csheet{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.csheet .cbar{justify-content:center}
.csroles{width:100%;text-align:left;max-height:40vh;overflow:auto}
@media (max-width:560px){.cbar{gap:8px}.cbtn{padding:10px 12px;font-size:14px;gap:6px}.cbtn svg{width:17px;height:17px}}
.pcard label.small{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left}
.pcard label.small .bin{width:100%}
@media (max-width:700px){.prow{flex-wrap:wrap}.prow .pill{font-size:11px}}
.tgrp{margin-bottom:22px}
.tgh{font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin:6px 0 12px;display:flex;gap:8px;align-items:baseline}
.tgrp-low .pcard{opacity:.82}
.tgrp-low .pcard:hover{opacity:1}
.pcwrap{display:flex;flex-direction:column;gap:6px}
.pcwrap .pcard{flex:1}
.pcedit{display:flex;gap:4px;justify-content:center;align-items:center}
.pcedit select{font-size:12px;padding:4px;border-radius:8px;max-width:130px}
/* Opérations d'événement */
.opsgrid{display:grid;gap:16px}
.cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.cardhead h2{margin:0}
.apf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
@media (max-width:800px){.apf{grid-template-columns:1fr 1fr}}
.apcats input,.apcats select{width:100%;min-width:60px}.apcats td.num input{max-width:90px;text-align:right}
.sztab td,.sztab th{text-align:center}.sztab td:first-child,.sztab th:first-child{text-align:left}.sztab input{width:56px;text-align:center}
.okx{color:#127a3b;font-weight:700}
.visgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.viscard{display:flex;flex-direction:column;gap:8px;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;cursor:pointer;text-align:left;font:inherit;color:inherit}
.viscard img{width:100%;border-radius:10px;background:#fff}.viscard:hover{box-shadow:var(--shadow-hi)}
.ordline{display:flex;align-items:center;gap:12px;width:100%;padding:12px 4px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.ordline>span:nth-child(2){flex:1;display:flex;flex-direction:column}.ordline:hover{background:rgba(0,0,0,.02)}
.pill.ok{background:#e3f4e8;color:#127a3b}
.sendbox{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(0,0,0,.02);display:flex;flex-direction:column;gap:8px}
.btn.off{opacity:.4;cursor:not-allowed}
.mbox.mwide{width:min(1240px,100%)}
.dsg{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}
.dsg-prev{position:sticky;top:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px}.dsg-prev svg{width:100%;height:auto;display:block}
.dsg-ctl{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:860px){.dsg{grid-template-columns:1fr}.dsg-prev{position:static}}
.swr{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.sw{width:28px;height:28px;border-radius:50%;border:2px solid #ddd;cursor:pointer;padding:0}.sw:hover{transform:scale(1.1)}
.swr input[type=color]{width:40px;height:30px;padding:0;border:0;background:none}
.ideas{border-top:1px solid var(--line);padding-top:10px}.ideagrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
@media (max-width:860px){.ideagrid{grid-template-columns:1fr}}
.idea{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;cursor:pointer;text-align:left;font:inherit;color:inherit}.idea svg{width:100%;height:auto}.idea:hover{border-color:var(--ink)}
.apgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;margin-top:6px}
.apick{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border-radius:14px;border:2px solid var(--line);background:#fff;cursor:pointer;font:inherit;font-size:12.5px;color:inherit;text-align:center;line-height:1.2;position:relative}
.apick.on{border-color:#d71920;background:#fff5f5}.apick.on::after{content:'✓';position:absolute;top:6px;right:8px;width:20px;height:20px;border-radius:50%;background:#d71920;color:#fff;font-size:12px;display:grid;place-items:center;font-weight:800}
.apick .av{opacity:.9}.apick.on .av{opacity:1}
.aph{margin-top:12px;text-transform:uppercase;letter-spacing:.1em;font-size:11px}
.mtcard{margin-bottom:16px}.mtpeople{display:flex;flex-wrap:wrap;gap:14px}.mtp{display:flex;flex-direction:column;align-items:center;gap:6px;width:88px;text-align:center;font-size:12.5px;color:inherit;text-decoration:none}
#mcr{margin-bottom:16px}.dgt input:not([type=checkbox]),.dgt select{width:100%}
.runcard{margin-bottom:16px}
.arts{display:flex;flex-direction:column;gap:8px}
.art{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.art.off{opacity:.55}.art .artname{font-weight:700;min-width:160px;flex:1}.art input[data-f=color]{flex:1;min-width:140px}
.art label{display:flex;gap:6px;align-items:center;white-space:nowrap}.arttot{min-width:48px;text-align:right}
.arton span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.art select{width:auto;flex:0 0 auto}
.gmailcard{margin-bottom:16px}.gdot{width:10px;height:10px;border-radius:50%;background:#c9c2b8;flex:0 0 auto}.gdot.on{background:#1f9d55}
.mailbody{white-space:pre-wrap;max-height:320px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;margin:8px 0}
.srcbox{margin-top:12px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.srcbox ul{margin:6px 0 0;padding-left:18px}
.recbox{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid #f1c9cc;background:#fff7f7;border-radius:12px;margin-bottom:12px}.recbox b{color:#b3121a}
.notifcard{margin:0 0 14px}

/* ───── Volet famille complet */
.bar.over > span { background: #c0392b; }
.fx-quick { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 18px; }
.fx-quick > span { font-size: 20px; } .fx-quick input { flex: 1; min-width: 0; } .fx-quick select { width: auto; }
.fx-sub { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin: 4px 0; }
.fx-ev { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-left: 3px solid var(--c, var(--brand)); background: var(--soft2); border-radius: 8px; margin: 6px 0; color: inherit; text-decoration: none; }
.fx-ev > b { min-width: 58px; font-size: 13px; } .fx-ev > span { flex: 1; display: flex; flex-direction: column; } .fx-ev small { color: var(--muted); font-size: 12px; }
.fx-bill { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); } .fx-bill > span { flex: 1; display: flex; flex-direction: column; } .fx-bill small { color: var(--muted); font-size: 12px; } .fx-bill.late small { color: #c0392b; font-weight: 600; }
.fx-people { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fx-person { padding: 12px; border: 1px solid var(--line); border-radius: 12px; } .fx-name { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .fx-name .av { width: 30px; height: 30px; font-size: 12px; }
.fx-rings { display: flex; gap: 10px; flex-wrap: wrap; } .fx-rings.big { justify-content: space-around; }
.fx-ring { position: relative; width: 86px; text-align: center; } .fx-ring svg { display: block; }
.fx-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.fx-ring b { font-size: 17px; } .fx-ring span { font-size: 9.5px; color: var(--muted); max-width: 60px; } .fx-ring small { font-size: 9px; color: var(--muted); }
.fx-habit { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin: 6px 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.fx-habit > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .fx-habit small { color: var(--muted); font-size: 12px; } .fx-habit em { font-style: normal; font-size: 12px; color: #c26b00; }
.fx-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.fx-habit.on .fx-check { background: #2f7d4f; border-color: #2f7d4f; } .fx-habit.on { background: rgba(47, 125, 79, .06); }
.fx-calbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; } .fx-title { text-transform: capitalize; min-width: 170px; text-align: center; }
nav.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); } nav.seg a { padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; } nav.seg a.on { background: var(--ink); color: var(--card); }
.fx-people-f { margin-bottom: 14px; gap: 6px; } .fx-people-f .pill { text-decoration: none; cursor: pointer; } .fx-people-f .pill.on { background: var(--ink); color: var(--card); }
.fx-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.fx-month { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fx-dow, .fx-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .fx-dow span { padding: 8px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.fx-cell { min-height: 104px; padding: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; overflow: hidden; } .fx-cell:nth-child(7n) { border-right: 0; }
.fx-cell.out { background: var(--soft2); } .fx-cell.out .n { opacity: .45; } .fx-cell .n { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 99px; }
.fx-cell.today .n { background: var(--brand); color: #fff; } .fx-cell:hover { background: var(--brand-soft); } .fx-cell .more { font-size: 11px; color: var(--muted); padding-left: 4px; }
.fx-chip { font-size: 11.5px; line-height: 1.3; padding: 2px 6px; margin: 2px 0; border-radius: 5px; background: color-mix(in srgb, var(--c) 14%, transparent); border-left: 3px solid var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fx-chip i { font-style: normal; font-weight: 700; margin-right: 4px; } .fx-chip.tbc { border-left-style: dashed; opacity: .85; } .fx-chip.k-task { background: transparent; }
.fx-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } .fx-wcol { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-height: 260px; cursor: pointer; }
.fx-wcol.today { border-color: var(--brand); } .fx-wh { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; } .fx-wcol .fx-chip { white-space: normal; }
.fx-sublinks .card { padding: 14px; margin-top: 10px; }
.fx-opts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 12px; }
.fx-opt { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; } .fx-opt.on { border-color: #2f7d4f; box-shadow: 0 0 0 2px rgba(47, 125, 79, .2); } .fx-opt p { margin: 4px 0; }
.fx-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--soft2); border: 1px dashed var(--line); } .fx-msg p { margin: 6px 0; }
.fx-water { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.fx-glasses { display: flex; gap: 4px; } .fx-glasses span { width: 12px; height: 18px; border-radius: 0 0 4px 4px; border: 2px solid #2a6fb0; border-top: 0; opacity: .35; } .fx-glasses span.on { background: #2a6fb0; opacity: 1; }
.fx-fav { cursor: pointer; border: 0; }
.fx-chart { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 140px; margin: 12px 0 6px; padding-bottom: 16px; }
.fx-chart > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } .fx-chart > div span { width: 100%; max-width: 26px; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 2px; }
.fx-chart > div span.over { background: #c0392b; } .fx-chart small { font-size: 10px; color: var(--muted); margin-top: 3px; position: absolute; bottom: 0; } .fx-chart > div { position: relative; }
.fx-chart > i { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(47, 125, 79, .6); margin-bottom: 16px; }
.fx-pday { border-top: 1px solid var(--line); padding: 10px 0; } .fx-pday summary { cursor: pointer; } .fx-pmeal { padding: 10px 0 10px 12px; border-left: 2px solid var(--soft); margin: 8px 0; }
.fx-recipe { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; font-size: 13px; } .fx-recipe ul, .fx-recipe ol { margin: 6px 0; padding-left: 18px; }
.fx-today { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 12px 0; background: var(--soft2); } .fx-today.done { border-color: #2f7d4f; }
.fx-ex { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .fx-ex > div:first-child { display: flex; flex-direction: column; } .fx-ex small { font-size: 12px; color: var(--muted); }
.fx-sets { display: flex; flex-wrap: wrap; gap: 6px; } .fx-sets label { display: flex; align-items: center; gap: 4px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.fx-sets input[type=number] { width: 58px; padding: 5px 6px; } .fx-sets input[type=checkbox] { width: 18px; height: 18px; }
.fx-dpick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; } .fx-dpick label { display: flex; align-items: center; gap: 4px; font-weight: 400; }
.fx-hgrid { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(14, minmax(22px, 1fr)); gap: 4px; align-items: center; overflow-x: auto; }
.fx-hgrid > span { text-align: center; font-size: 11px; color: var(--muted); display: flex; flex-direction: column; } .fx-hgrid > span.today { color: var(--brand); font-weight: 700; } .fx-hgrid small { font-size: 10px; }
.fx-hname { display: flex; align-items: center; gap: 6px; } .fx-hname b { font-size: 13px; } .fx-hname small { color: var(--muted); font-size: 11px; flex: 1; } .fx-hname .btn { padding: 2px 7px; }
.fx-hcell { aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--line); background: var(--soft2); cursor: pointer; padding: 0; } .fx-hcell.on { background: #2f7d4f; border-color: #2f7d4f; }
.fx-gnum { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; } .fx-gnum b { font-size: 28px; font-family: var(--display); } .fx-gnum small { color: var(--muted); margin-left: auto; }
.fx-spark { width: 100%; height: 34px; margin-top: 6px; } .fx-mform { margin-top: 10px; } .fx-done { opacity: .6; }
.fx-billrow .fx-due { width: 54px; height: 46px; border-radius: 10px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.fx-billrow .fx-due b { font-size: 16px; color: var(--ink); } .fx-billrow.late .fx-due { background: rgba(192, 57, 43, .12); } .fx-billrow.late .fx-due b { color: #c0392b; } .fx-billrow.soon .fx-due { background: rgba(183, 121, 31, .14); }
@media (max-width: 700px) {
  .fx-cell { min-height: 64px; } .fx-chip { font-size: 0; height: 6px; padding: 0; margin: 2px 1px; border-left-width: 0; background: var(--c); } .fx-chip i { display: none; }
  .fx-week { grid-template-columns: 1fr; } .fx-wcol { min-height: 0; } .fx-ex { grid-template-columns: 1fr; } .fx-recipe { grid-template-columns: 1fr; }
  .fx-quick { flex-wrap: wrap; } .fx-quick input { flex-basis: 100%; } .fx-ring { width: 76px; } .fx-ring svg { width: 76px; height: 76px; }
}
form[hidden], .card[hidden], [hidden] { display: none !important; }
.fx-dpick label { flex-direction: row !important; display: inline-flex !important; }
.trow .pill { flex: none; }
.fx-hcell { aspect-ratio: auto; width: 100%; max-width: 30px; height: 28px; justify-self: center; }
#fx-hadd select { width: auto; flex: 1; min-width: 140px; } .fx-mform input[name=amount] { min-width: 110px; } .fx-mform input[type=date] { min-width: 0; flex: 1; }
button.pill { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
.trow.fx-billrow { display: flex; align-items: center; gap: 12px; } .fx-billrow .tmain { flex: 1; min-width: 0; } .fx-billrow > .row { flex-wrap: nowrap; gap: 6px; } .fx-billrow .fx-due { flex: none; }
.trow[data-day] { display: flex; align-items: center; gap: 12px; }
.trow:has(> .pill), .trow:has(> .fx-dot) { display: flex; align-items: center; gap: 12px; } .trow:has(> .pill) .tmain, .trow:has(> .fx-dot) .tmain { flex: 1; min-width: 0; }
.fx-gcard { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding: 14px 18px; } .fx-gcard #fx-gq input { width: auto; }
.fx-sug { margin-bottom: 14px; } .fx-sugrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .fx-sugrow .tmain { flex: 1; min-width: 0; }
.fx-sugrow .fx-due { width: 50px; height: 44px; border-radius: 10px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); flex: none; } .fx-sugrow .fx-due b { font-size: 16px; color: var(--ink); }
.ag-att { padding: 8px 10px; font-size: 16px; cursor: pointer; } .ag-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ag-img { position: relative; } .ag-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.ag-img button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: var(--card); font-size: 12px; cursor: pointer; line-height: 1; }

/* Discussion d'équipe */
.chat { display: grid; grid-template-columns: 290px 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--card, #fff); overflow: hidden; height: calc(100vh - 220px); min-height: 460px; }
.chat.chat-emb { grid-template-columns: 1fr; height: calc(100vh - 300px); }
.ch-list { border-right: 1px solid var(--line); overflow-y: auto; padding: 8px; }
.ch-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; }
.ch-item:hover { background: var(--bg, #f6f4f2); } .ch-item.on { background: var(--brand-soft, #f8e9eb); }
.ch-av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: hsl(var(--h) 45% 42%); }
.ch-av svg { width: 20px; height: 20px; } .ch-av.sm { width: 30px; height: 30px; font-size: 11px; align-self: flex-end; }
.ch-msg.grp .ch-av.sm { background: transparent; }
.ch-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; } .ch-txt b { font-size: 14.5px; } .ch-txt small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.ch-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ch-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .ch-head b { font-size: 16px; }
.ch-back { display: none; text-decoration: none; font-size: 26px; line-height: 1; color: inherit; margin-right: 4px; }
.ch-msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; background: var(--bg, #f6f4f2); }
.ch-day { text-align: center; margin: 14px 0 8px; } .ch-day span { font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: 99px; text-transform: capitalize; }
.ch-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; } .ch-msg.mine { margin-left: auto; flex-direction: row-reverse; }
.ch-msg:not(.grp) { margin-top: 6px; }
.ch-bub { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 12px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; min-width: 0; }
.ch-msg.mine .ch-bub { background: var(--brand, #94111f); color: #fff; border-color: transparent; border-radius: 16px 16px 4px 16px; }
.ch-msg.mine .ch-bub a { color: #fff; }
.ch-who { display: block; font-size: 12.5px; color: var(--brand, #94111f); margin-bottom: 2px; }
.ch-bub img { display: block; max-width: 260px; max-height: 260px; border-radius: 10px; margin: 2px 0 4px; }
.ch-meta { display: block; font-size: 11px; opacity: .65; margin-top: 2px; text-align: right; }
.ch-del { border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.ch-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ch-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 160px; padding: 10px 12px; border-radius: 12px; font: inherit; }
.ch-pic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; flex: none; color: var(--muted); } .ch-pic svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .chat { grid-template-columns: 1fr; height: calc(100vh - 170px); }
  .chat.has-sel .ch-list { display: none; } .chat:not(.has-sel) .ch-thread { display: none; }
  .ch-back { display: inline; } .ch-msg { max-width: 90%; }
}
/* Œil pour voir le mot de passe */
.pwbox { position: relative; display: inline-block; width: 100%; } .pwbox input { width: 100%; padding-right: 44px !important; }
.pweye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; padding: 0; border-radius: 8px; }
.pweye:hover { background: rgba(0,0,0,.05); } .pweye svg { width: 20px; height: 20px; }

/* Fiches de confirmation de l'assistant */
.rcs { display: grid; gap: 8px; margin: 6px 0 12px; max-width: 560px; }
.rc { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #1f8a4c; box-shadow: 0 6px 18px -12px rgba(0,0,0,.35); }
.rc-ic { width: 28px; height: 28px; border-radius: 50%; background: #e3f4ea; color: #1f8a4c; display: grid; place-items: center; font-weight: 800; }
.rc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rc-top b { color: #1f8a4c; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.rc-title { font-size: 17px; font-weight: 700; margin: 4px 0 2px; }
.rc-det { font-size: 14px; color: var(--muted); } .rc-det:first-letter { text-transform: uppercase; }
.rc-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rc-del { color: #b42318; }
.rc-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.rc-form label { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); gap: 3px; } .rc-form .row { grid-column: 1 / -1; }
.rc-gone { border-left-color: #b42318; opacity: .8; } .rc-gone .rc-ic { background: #fde8e7; color: #b42318; }

.btn.danger { color: #b42318; border-color: #f1c4c0; } .btn.danger:hover { background: #fde8e7; border-color: #b42318; }
.dangerzone { display: grid; gap: 6px; margin-top: 18px; padding: 14px; border: 1px solid #f1c4c0; border-radius: 12px; background: #fff7f6; } .dangerzone .btn { justify-self: start; }
.delchoice { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); } .delchoice .btn { justify-self: start; }
.rcs { width: 100%; align-self: stretch; } .rc-act .btn { white-space: nowrap; }

/* Panneau de l'assistant, ouvert de partout */
.asst { position: fixed; inset: 0; z-index: 60; }
.asst-scrim { position: absolute; inset: 0; background: rgba(17,17,19,.35); }
.asst-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg, #f6f4f2); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); animation: asst-in .18s ease-out; }
@keyframes asst-in { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.asst-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.asst-head b { font-size: 17px; display: block; } .asst-where { font-size: 12.5px; color: var(--brand, #94111f); font-weight: 600; }
.asst-x { width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.asst-chat { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.asst-chat .bubble { max-width: 92%; }
.asst-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.asst-chips .btn { white-space: nowrap; flex: none; } .asst-chips .btn:first-child { background: var(--brand, #94111f); color: #fff; border-color: transparent; }
.asst-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; }
.asst-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 12px; border-radius: 12px; font: inherit; font-size: 16px; }
.asst-links { flex-wrap: wrap; }
body.noscroll { overflow: hidden; }
.inst { display: flex; align-items: center; gap: 10px; margin: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px)); padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font: 600 13.5px var(--sans); cursor: pointer; }
.inst svg { width: 20px; height: 20px; flex: none; } .inst:hover { background: rgba(255,255,255,.12); }
.inst-steps { padding-left: 20px; line-height: 1.6; } .inst-steps li { margin-bottom: 8px; }
/* Lignes de liste sur téléphone : la case, le texte, puis les petits boutons sur la même ligne (le × ne s'étire plus) */
@media (max-width: 760px) {
  .trow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .trow > .tmain { flex: 1 1 0; min-width: 0; }
  .trow > :not(.tmain) { flex: none; } .trow > .btn { width: auto; }
  .trow [data-edit] { margin-left: 0; }
}
@media (max-width: 760px) { .trow.fx-billrow { flex-wrap: wrap; } .fx-billrow > .row { margin-left: auto; } }
/* Bilan du matin / récap du soir */
.bilan { border-left: 4px solid #e0a106; margin-bottom: 18px; } .bilan.soir { border-left-color: #3d4fb5; }
.bilan-head { display: flex; align-items: center; gap: 12px; } .bilan-head > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .bilan-head b { font-size: 17px; }
.bilan-ic { font-size: 26px; } .bilan-act { flex: none; }
.bilan-body { margin-top: 10px; font-size: 15px; line-height: 1.55; } .bilan-body h4 { margin: 12px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bilan-body ul { margin: 0; padding-left: 20px; } .bilan-body li { margin: 2px 0; } .bilan-body p { margin: 4px 0; } .bilan-at { margin-top: 10px !important; }

.fxh { margin: 14px 0 0 !important; font-size: 15px; color: var(--brand, #94111f); }
.bodychips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; } .bodychips span { padding: 6px 12px; border-radius: 99px; background: var(--soft, #f6f4f2); border: 1px solid var(--line); font-size: 13.5px; }

.ch-new { width: 100%; margin: 4px 0 8px; } .ch-sec { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 4px; }
.ch-pick { display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; } .ch-pick label { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; } .ch-pick label:hover { background: var(--soft, #f6f4f2); }
#side .inst + .inst { margin-top: -6px; }
.pu-prefs { display: grid; gap: 10px; } .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; } .chk input { width: auto; margin-top: 3px; }
.fx-week .fx-wrow { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.fx-week .fx-wrow:first-of-type { border-top: 0; }
.deal-watch { margin-top: 10px; align-self: flex-start; }
.card.fx-week { display: block; } .fx-week .cardhead { display: block; } .fx-week .cardhead h2 { margin: 0 0 4px; }
.fx-week .fx-wrow:first-of-type { border-top: 1px solid var(--line); margin-top: 10px; }
.fx-week .fx-wform input, .fx-week .fx-wform select { margin: 0; }
.evd.evd-p { width: auto; min-width: 92px; padding: 0 10px; text-transform: none; } .evd.evd-p b { font-size: 15px; }
/* Devis et factures, présences, inscriptions */
.qb { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--line); color: var(--ink); }
.b-ok { background: #e3f4e8; color: #14662f; } .b-bad { background: #fde2e2; color: #9b1c1c; } .b-warn { background: #fdecc8; color: #7a4a00; } .b-info { background: #e3ecfd; color: #1d3f8f; }
.qline { cursor: pointer; } .qline:hover { background: var(--brand-soft); }
.qhead, .qrow { display: grid; grid-template-columns: 1fr 70px 100px 100px 36px; gap: 8px; align-items: start; }
.qhead { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; } .qrow { margin-bottom: 8px; } .qrow textarea { resize: vertical; min-height: 42px; }
.qamt { padding-top: 11px; text-align: right; font-weight: 600; font-size: 14px; }
.qtot { display: grid; gap: 4px; align-content: start; } .qtot div { display: flex; justify-content: space-between; } .qtot .big { font-size: 18px; border-top: 2px solid var(--ink); padding-top: 6px; margin-top: 4px; }
.qacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .qhead { display: none; } .qrow { grid-template-columns: 1fr 64px 84px; } .qrow textarea { grid-column: 1 / -1; } .qamt { display: none; } }
.atk { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; } .atk span { padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 13px; background: var(--line); }
.atlist .atr { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); flex-wrap: wrap; } .atr b { min-width: 160px; } .atr .small { flex: 1; } .atr .row { gap: 4px; }
.tscroll { overflow-x: auto; } table.tbl { width: 100%; border-collapse: collapse; } .tbl th, .tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } .tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); } .tbl .n { text-align: right; }
.f label.chk { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; } .f label.chk input { width: auto; margin: 0; }
.vmsg textarea.vtxt, .vstep textarea { width: 100%; font: 14px/1.5 var(--sans); }
.vlang { gap: 6px; } .vlang .pill.on { background: var(--ink); color: var(--card); }
.onb { max-width: 640px; margin: 30px auto; } .onb-logo { height: 34px; } .onb h1 { font-size: 26px; margin: 14px 0 6px; }
.onb-dots { display: flex; gap: 6px; margin-top: 16px; } .onb-dots span { width: 34px; height: 5px; border-radius: 9px; background: var(--line); } .onb-dots span.on { background: var(--brand); }
.onb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; } .onb-chip { padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.onb-chip.on { border-color: var(--ink); background: var(--ink); color: var(--card); }
.ppas .ppstep { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.ppas .ppstep.done { color: var(--muted); text-decoration: line-through; } .ppck { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.ppstep.done .ppck { background: #1a7f37; border-color: #1a7f37; color: #fff; }
.mdslot.done b { text-decoration: line-through; color: var(--muted); } .mdslot.late .evd { background: #fde2e2; color: #9b1c1c; }
input.sc { width: 56px; text-align: center; padding: 8px 4px; }
.clock { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; } .clock.on { border-color: #1a7f37; } .btn.big { padding: 16px 26px; font-size: 17px; }
.vck { padding: 10px 0; border-top: 1px solid var(--line); } .vck summary { cursor: pointer; }
.kidpts { font: 800 20px var(--display); } .chore { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px; margin-top: 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.chore small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; } .chore.done { background: #e3f4e8; border-color: #9fd5ad; color: #14662f; }
.pgcmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; } .pgcmp figure { margin: 0; } .pgcmp img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; background: var(--soft); } .pgcmp figcaption { text-align: center; font-weight: 600; margin-top: 6px; }
.pggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; } .pgcell { position: relative; } .pgcell img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; background: var(--soft); } .pgcell button { position: absolute; top: 6px; right: 6px; }
@media print { #side, .head .row, .fab, #nav { display: none !important; } }

.asst { z-index: 80; } .fab { z-index: 75; } body.noscroll .fab { display: inline-flex; }
.here-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; } .here-w { margin-top: 6px; } .here-w b { font: 800 22px var(--display); }
.here-chips .pill.on { background: var(--ink); color: var(--card); } .wsteps li { margin: 6px 0; } .wsteps code { background: var(--soft); padding: 1px 5px; border-radius: 5px; }
/* audit 22 oct. : rien ne doit dépasser l'écran */
.prow select{max-width:100%;min-width:0}
@media (max-width:700px){.card>table{display:block;overflow-x:auto;max-width:100%}}
/* Recherche globale, journal, guide */
.navsearch{display:flex;align-items:center;gap:10px;width:calc(100% - 8px);margin:2px 4px 10px;padding:9px 12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.06);color:inherit;font:inherit;font-size:14px;cursor:pointer;text-align:left}
.navsearch:hover{background:rgba(255,255,255,.12)}.navsearch span{flex:1}.navsearch kbd{font:11px/1 inherit;opacity:.6;border:1px solid currentColor;border-radius:4px;padding:2px 4px}
.navsearch svg{width:18px;height:18px}
.topsearch{margin-left:6px;flex:none}
.srch input{width:100%;font-size:17px;padding:12px 14px}
.srres{margin-top:12px;max-height:60vh;overflow:auto}
.srgrp{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:12px 0 4px;font-weight:700}
.sritem{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border-radius:10px;color:inherit;text-decoration:none}
.sritem:hover,.sritem.on{background:var(--soft,rgba(0,0,0,.05))}
.sric{width:22px;text-align:center;flex:none}.srtx{display:flex;flex-direction:column;min-width:0}.srtx b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jlist{display:flex;flex-direction:column}.jrow{display:flex;gap:14px;padding:8px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.jrow:last-child{border-bottom:0}.jwhen{min-width:150px}
.gbtn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--muted);font:700 13px/1 inherit;cursor:pointer;vertical-align:middle;margin-left:6px}
.gbtn:hover{color:inherit;border-color:currentColor}
.glist{margin:0 0 12px 18px;line-height:1.6}
.srch input{box-sizing:border-box;max-width:100%}.sritem{min-width:0}.srtx{overflow:hidden}.srres{overflow-x:hidden}
.modal{grid-template-columns:minmax(0,1fr)}.mbox{min-width:0;max-width:100%;box-sizing:border-box}
.fkpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.fkpis .kpi{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:4px}.fkpis .kpi b{font-size:22px}
@media (max-width:700px){.fkpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fbars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;height:180px;align-items:end;margin:8px 0}
.fbar{display:flex;flex-direction:column;align-items:center;height:100%;gap:4px}.fbar small{font-size:10px;color:var(--muted)}
.fcols{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.fcols span{width:42%;border-radius:4px 4px 0 0;min-height:1px}
.fin{background:#2e7d4f}.fout{background:#b3261e}.fdot{display:inline-block;width:10px;height:10px;border-radius:2px;vertical-align:middle}
.fcat{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--line)}.fcat:last-child{border-bottom:0}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}@media (max-width:800px){.grid2{grid-template-columns:minmax(0,1fr)}}
.tplbtn{margin:6px 0}.tplist{display:flex;flex-direction:column;gap:6px}.tpl{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:inherit;font:inherit;cursor:pointer}.tpl:hover{border-color:currentColor}
.cmt textarea{width:100%;box-sizing:border-box;margin:6px 0}.cmthead{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:4px}.cmttext{margin:6px 0}.cmtpost{margin-top:2px}
.corr{border-top:1px solid var(--line);padding:10px 0;display:flex;flex-direction:column;gap:4px;align-items:flex-start}

/* Bons plans : formulaires guidés et résultats avec photos */
form.bp-f { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.bp-f select optgroup { font-weight: 700; }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 12px; }
.bp-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bp-card.best { outline: 2px solid var(--brand); }
.bp-ph { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.bp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-noimg { background: var(--soft); }
.bp-noimg::after { content: "Photo non disponible"; color: var(--muted); font-size: 12px; }
.bp-thumb.bp-noimg::after { content: ""; }
.bp-in { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bp-in h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.3; }
.bp-price { font-weight: 800; font-size: 18px; }
.bp-in .row { flex-wrap: wrap; gap: 8px; }
.bp-store h3 { margin: 0 0 6px; }
.bp-watch { display: grid; gap: 10px; }
.bp-wrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bp-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex: none; background: var(--soft); }
.bp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-wp { display: flex; flex-direction: column; align-items: flex-end; min-width: 90px; }
@media (max-width: 700px) { form.bp-f { grid-template-columns: 1fr; } .bp-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .bp-in { padding: 10px 12px 12px; } .bp-in h3 { font-size: 14px; } .bp-price { font-size: 16px; } }
@media (max-width: 420px) { .bp-grid { grid-template-columns: 1fr; } }
.bp-sg { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.3); margin-top: 4px; overflow: hidden; }
.bp-sg button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; font: inherit; cursor: pointer; }
.bp-sg button:hover, .bp-sg button.on { background: var(--brand-soft, #f6e9eb); }

/* Tâches regroupées par sujet */
details.tgrp { margin-top: 14px; }
details.tgrp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 4px; font-weight: 700; font-size: 17px; }
details.tgrp > summary::-webkit-details-marker { display: none; }
details.tgrp > summary::before { content: "▸"; color: var(--muted); transition: transform .15s; }
details.tgrp[open] > summary::before { transform: rotate(90deg); }
details.tgrp .tg-t { flex: 0 1 auto; }

/* Assistant de campagne */
.sw .sw-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sw .sw-chk { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font-weight: 600; cursor: pointer; }
.sw .sw-chk input { width: auto; margin: 0; }
.sw .sw-q { display: flex; flex-direction: column; gap: 6px; } .sw .sw-l { font-size: 13px; font-weight: 600; color: var(--muted); }

/* Agence Orbia */
.ag-hero h2 { font-size: 22px; margin: 6px 0; }
.ag-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ag-team div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; background: var(--soft2); }
.ag-team span { font-size: 13px; color: var(--muted); }
.ag-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ag-brand { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; min-height: 120px; }
.ag-brand:hover { border-color: var(--brand); }
.ag-grid .card { min-width: 0; }
details.ag-strat > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
details.ag-strat > summary::-webkit-details-marker { display: none; }
.ag-resume { font-size: 16px; line-height: 1.55; }
.ag-strat h3, .ag-rep h3 { font-size: 15px; margin: 16px 0 6px; }
.ag-piliers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ag-piliers div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ag-piliers span { font-size: 13px; } .ag-piliers small { color: var(--muted); }
.ag-phase { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; margin: 12px 0; }
.ag-ph-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ag-camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 8px; }
.ag-camp { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--card); }
.ag-camp ul { margin: 0; padding-left: 18px; } .ag-camp .btn { margin-top: auto; align-self: flex-start; }
.ag-tags { display: flex; flex-wrap: wrap; gap: 6px; } .ag-tags span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.ag-q { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); }
.ag-q ul { margin: 6px 0 0; }
details.ag-rech { margin-top: 12px; } details.ag-rech > summary { cursor: pointer; font-weight: 700; }
.ag-disc { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.ag-disc .bubble { margin: 6px 0; }
.ag-pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ag-pub { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ag-pub span { font-weight: 700; color: var(--brand); } .ag-pub small { color: var(--muted); }
@media (max-width: 900px) { .ag-team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ag-team { grid-template-columns: 1fr; } }
/* Cloche de notifications et astuces */
header.top .nb-bell { margin-left: 8px; position: relative; background: none; border: 1px solid var(--line); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); cursor: pointer; flex: none; }

.nb-badge { position: absolute; top: -6px; right: -6px; background: #e0245e; color: #fff; font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--bg, #111); }
.nb-ring svg { animation: nbring .9s ease; transform-origin: 50% 0; }
@keyframes nbring { 0%,100% { transform: rotate(0) } 20% { transform: rotate(16deg) } 40% { transform: rotate(-14deg) } 60% { transform: rotate(9deg) } 80% { transform: rotate(-5deg) } }
.nb-panel { position: fixed; top: 64px; right: 12px; width: min(380px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; background: var(--card, #1b1b1e); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.45); z-index: 80; }
.nb-h, .nb-f { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; gap: 8px; }
.nb-h { border-bottom: 1px solid var(--line); } .nb-f { border-top: 1px solid var(--line); font-size: 13px; }
.nb-it { display: flex; gap: 8px; padding: 11px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.nb-it > div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .nb-it span { font-size: 13.5px; } .nb-it small { color: var(--muted); font-size: 12px; }
.nb-it.new { background: rgba(224,36,94,.08); } .nb-it.new b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0245e; margin-right: 6px; vertical-align: middle; }
.nb-x { background: none; border: 0; color: var(--muted); cursor: pointer; align-self: flex-start; font-size: 14px; }
.tip-card { display: flex; gap: 12px; align-items: flex-start; border-color: rgba(255,196,0,.35); background: linear-gradient(135deg, rgba(255,196,0,.08), transparent); margin-bottom: 14px; }
.tip-ic { font-size: 26px; } .tip-b { display: flex; flex-direction: column; gap: 4px; flex: 1; } .tip-k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #e6b400; }
.tip-b .row { margin-top: 6px; flex-wrap: wrap; gap: 6px; }

.nb-bell.nb-desk { position: fixed; top: 16px; right: 22px; z-index: 30; background: var(--card, #fff); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
@media (min-width: 1021px) { .nb-panel { top: 66px; right: 22px; } }
/* Heures tapées au clavier */
.hr-wrap { position: relative; display: flex; gap: 8px; width: 100%; } .hr-wrap > input { flex: 1; min-width: 0; } .hr-dt > input[type=date] { flex: 1.3; }
.hr-sug { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.hr-sug button { text-align: left; background: none; border: 0; border-radius: 8px; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; } .hr-sug button small { font-weight: 400; color: var(--muted); }
.hr-sug button.on, .hr-sug button:hover { background: rgba(160, 20, 40, .1); } .hr-bad { padding: 8px 10px; font-size: 13px; color: var(--muted); }
.xdrop { margin-bottom: 14px; } .xdrop h2 { margin-top: 0; } .xdrop-b { flex-wrap: wrap; gap: 8px; } .xdrop-b .btn { cursor: pointer; }
.eq-add .row { padding: 8px 0; border-bottom: 1px solid var(--line); gap: 8px; }
.mg-hero .big-cta { font-size: 17px; padding: 14px 22px; } .mg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.mg-steps > div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; } .mg-steps b { font-size: 22px; }
.mg-k { margin: 14px 0; } .mg-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.mg-n { flex: 1; display: flex; flex-direction: column; } .mg-a { text-align: right; display: flex; flex-direction: column; font-weight: 700; } .mg-n small, .mg-a small { font-weight: 400; color: var(--muted); font-size: 12px; }
.cp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; } .cp-logo { height: 34px; width: auto; }
.cp-t { width: 100%; border-collapse: collapse; } .cp-t td, .cp-t th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; } .cp-t .num { text-align: right; white-space: nowrap; }
.cp-warn { background: rgba(230,160,0,.12); border-radius: 10px; padding: 10px 12px; } .cp-doc .kpis .kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .kpi b.bad { color: #c62828; }
@media print { body { background: #fff !important; color: #000 !important; } .side, .top, .noprint, #nb-bell, .mic-fab, .fab, .tip-card, nav.tabs, #toast, .scrim { display: none !important; } .shell { margin: 0 !important; padding: 0 !important; } main { padding: 0 !important; } .cp-doc { border: 0 !important; box-shadow: none !important; } .cp-t td, .cp-t th { color: #000; } }
.cp-doc .kpis, .mg-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.cp-doc .kpi, .mg-k .kpi { display: flex; flex-direction: column; gap: 2px; } .cp-doc .kpi b, .mg-k .kpi b { font-size: 22px; } .cp-doc .kpi span, .mg-k .kpi span { font-size: 13px; color: var(--muted); }
/* Mode Je conduis */
body.cd-on .side, body.cd-on .top, body.cd-on #nb-bell, body.cd-on .mic-fab, body.cd-on .fab { display: none !important; } body.cd-on .shell { margin-left: 0 !important; }
.cd { min-height: calc(100vh - 40px); display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: 10px 6px 30px; }
.cd-top { width: 100%; display: flex; justify-content: space-between; align-items: center; } .cd-said { font-size: 18px; color: var(--muted); min-height: 26px; }
.cd-reply { font-size: 26px; line-height: 1.35; font-weight: 600; max-width: 720px; min-height: 120px; } .cd-reply ul { text-align: left; }
.cd-mic .mic-round { width: 170px !important; height: 170px !important; border-radius: 50% !important; } .cd-mic .mic-round svg { width: 70px; height: 70px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .cd-chips .btn { font-size: 17px; padding: 12px 18px; }
.dm-card { display: flex; flex-direction: column; gap: 8px; } .dm-card textarea { width: 100%; font-size: 16px; } .dm-mic { display: flex; justify-content: center; margin-bottom: 8px; } .dm-mic .mic-round { width: 96px !important; height: 96px !important; border-radius: 50% !important; }
.dm-hero { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; border: 2px solid var(--brand, #a01428); text-decoration: none; color: inherit; } .dm-hero > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; } .dm-hero span { font-size: 14px; color: var(--muted); } .dm-hero .btn.pri { color: #fff; } .dm-hero-ic { font-size: 34px; }
@media (max-width: 600px) { .dm-hero { flex-wrap: wrap; } .dm-hero .btn { width: 100%; text-align: center; } }
.dm-steps { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 4px; } .dm-steps a { white-space: nowrap; padding: 7px 12px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; color: inherit; } .dm-steps a.on { background: var(--brand, #a01428); color: #fff; border-color: transparent; }
.dm-aide ul { padding-left: 20px; margin: 8px 0; } .dm-aide li { margin: 6px 0; }
.dm-hero-b { display: flex; flex-direction: column; gap: 6px; align-items: stretch; } .dm-hero { cursor: default; }
.dm-sug { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; } .dm-s { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; } .dm-s span { font-size: 14px; color: var(--muted); flex: 1; } .dm-s .btn { align-self: flex-start; }
.dm-done { border: 2px solid #2e7d32; }
/* Aide aux devoirs */
.dv-kids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; } .dv-kid label { display: flex; flex-direction: column; gap: 4px; }
.dv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .chip { border: 1px solid var(--line); background: none; border-radius: 16px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; color: inherit; } .chip.on { background: var(--brand, #a01428); color: #fff; border-color: transparent; }
.dv-f { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); } .dv-f a { flex: 1; font-weight: 600; } .dv-f .small { white-space: nowrap; }
.dv-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; } .dv-r { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; } .dv-r span { font-size: 13px; color: var(--muted); }
.dv-sheet { font-size: 17px; } .dv-ex { background: rgba(255,196,0,.1); border-radius: 10px; padding: 10px 12px; margin: 10px 0; } .dv-q li { margin: 14px 0; } .dv-a { margin-top: 6px; width: 100%; max-width: 360px; font-size: 16px; } .dv-ch { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.dv-fb.good { color: #2e7d32; margin-top: 4px; } .dv-fb.bad { color: #c62828; margin-top: 4px; font-size: 15px; } .dv-key { display: none; } .print-only { display: none; }
@media print { .dv-a { display: none; } .print-only { display: block; } .dv-line { border-bottom: 1px solid #999; height: 26px; width: 70%; } .dv-fb { display: none; } body.dv-withkey .dv-key { display: block; page-break-before: always; } .dv-sheet { font-size: 15pt; } }
.dob-wrap { display: flex; gap: 6px; width: 100%; } .dob-wrap select { flex: 1; min-width: 0; padding-left: 6px; padding-right: 4px; } .dob-wrap .dob-m { flex: 1.6; } .dob-wrap .dob-y { flex: 1.3; }
.dob-wrap { display: grid; grid-template-columns: minmax(58px, .8fr) 1.4fr minmax(76px, 1fr); gap: 6px; }
.pcard .dob-wrap, .dv-kid .dob-wrap { grid-template-columns: 1fr 1fr; } .pcard .dob-wrap .dob-y, .dv-kid .dob-wrap .dob-y { grid-column: 1 / -1; }
.dob-wrap select { width: 100%; font-size: 15px; padding: 9px 6px; }
/* Gestion sportive */
.sp-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; } .sp-team { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; margin: 0; } .sp-team img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; } .sp-team div { display: flex; flex-direction: column; }
.sp-team-ic { width: 54px; height: 54px; border-radius: 12px; background: #0b4ea2; display: grid; place-items: center; font-size: 26px; flex: none; } .sp-grp { margin-bottom: 14px; }
.sp-feed { margin-top: 14px; } .sp-post { border-top: 1px solid var(--line); padding: 10px 0; } .sp-post.adm b { color: #0b4ea2; } .sp-fund { border-top: 1px solid var(--line); padding: 12px 0; }
.sp-vis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } .sp-v { display: flex; flex-direction: column; gap: 6px; } .sp-v img { width: 100%; border-radius: 12px; border: 1px solid var(--line); } .sp-prev { position: sticky; top: 10px; }
.sp-grp .cardhead { flex-wrap: wrap; gap: 8px; }
.upd-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 90; background: #111; color: #fff; padding: 10px 14px; border-radius: 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 14px; }
.sp-q { font-size: 18px; margin: 18px 0 10px; } .sp-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 8px; }
.sp-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; margin: 0; transition: transform .15s; } .sp-tile:hover { transform: translateY(-2px); } .sp-tile-ic { font-size: 30px; }
.sp-surf { border-top: 1px solid var(--line); padding: 10px 0; } .sp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.sp-day { border: 1px solid var(--line); border-radius: 8px; padding: 4px; min-height: 54px; font-size: 11px; } .sp-day.has { background: rgba(11,78,162,.05); }
.sp-bk { background: #0b4ea2; color: #fff; border-radius: 6px; padding: 2px 4px; margin-top: 3px; cursor: pointer; font-size: 11px; line-height: 1.25; } .sp-bk.k-entretien { background: #8a8a8a; } .sp-bk.k-cours { background: #2e7d32; } .sp-bk.k-match { background: #c62828; }
@media (max-width: 700px) { .sp-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Gestion sportive : vitrine d'événement */
.sp-hero{padding:0;overflow:hidden}
.sp-hero-in{display:flex;gap:22px;align-items:stretch;padding:18px;background:linear-gradient(135deg,rgba(11,78,162,.08),rgba(200,16,46,.06))}
.sp-poster{width:260px;max-width:40%;border-radius:14px;object-fit:contain;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.12);align-self:flex-start}
.sp-poster-empty{height:300px;border:2px dashed var(--line,#d6d6d6);display:grid;place-content:center;gap:6px;font-size:40px;cursor:pointer;color:inherit}
.sp-poster-empty span{font-size:14px;font-weight:700}
.sp-hero-txt{flex:1;min-width:0}
.sp-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c8102e}
.sp-hero-h{font-size:28px;line-height:1.15;margin:6px 0 10px}
.sp-hero-meta{font-weight:600;line-height:1.6}
.sp-count{display:inline-flex;align-items:baseline;gap:8px;margin-top:12px;padding:8px 14px;border-radius:12px;background:#0b4ea2;color:#fff}
.sp-count b{font-size:28px}
.sp-hero-notes{white-space:pre-wrap;margin:10px 0 0}
.sp-hero>h3,.sp-hero>.sp-teams{margin-left:18px;margin-right:18px}
.sp-hero>.sp-teams{margin-bottom:18px}
.sp-evc{display:flex;gap:14px;align-items:flex-start}
.sp-evc>img{width:96px;border-radius:10px;object-fit:contain;background:#fff}
.sp-evc-ic{width:96px;height:96px;border-radius:10px;display:grid;place-items:center;font-size:40px;background:var(--soft,#f3f3f3)}
.sp-teams-sm{margin-top:8px}
.chip-ck{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line,#ddd);border-radius:999px;cursor:pointer;font-size:14px}
.chip-ck input{width:auto;margin:0}
@media (max-width:700px){.sp-hero-in{flex-direction:column}.sp-poster{width:100%;max-width:100%}.sp-hero-h{font-size:22px}.sp-evc>img,.sp-evc-ic{width:64px;height:auto}}
/* Volet entraîneur */
.sc-teams{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;margin-bottom:8px}
.sc-tool{text-align:left;cursor:pointer;font:inherit;color:inherit}
.sc-doc section{margin-top:18px}.sc-doc h2{font-size:18px;margin:0 0 8px}.sc-doc li{margin:4px 0}
.sc-res{font-size:16px;font-weight:600}
.sc-key{background:rgba(11,78,162,.06);border-radius:12px;padding:12px 16px}
@media print{.noprint,.side,.nb-desk,#fab,.fab{display:none!important}.sc-doc{box-shadow:none;border:0}}
/* Volets métiers */
.met-hero{border-radius:20px;background-size:cover;background-position:center;color:#fff;padding:34px 28px;min-height:200px;display:flex;align-items:flex-end}.met-hero h1{color:#fff;margin:4px 0 8px}.met-hero p{max-width:640px;margin:0;opacity:.95}.met-k{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.b-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.b-col h3{margin:0 0 8px}
.b-appt{display:block;width:100%;text-align:left;border:1px solid var(--line,#e5e5e5);border-left:5px solid #0b4ea2;border-radius:10px;background:#fff;padding:8px 10px;margin-bottom:8px;cursor:pointer;font:inherit;color:inherit}.b-appt span{display:block;font-size:13px;color:#555}.b-appt em{display:block;font-style:normal;font-size:12px;color:#777}
.b-termine{opacity:.75;background:#f0faf3}.b-annule,.b-absent{opacity:.5;text-decoration:line-through}.b-arrive{background:#fff8e6}
.c-job{display:block;text-decoration:none;color:inherit}.kpi.bad b{color:#b91c1c}
.dob-wrap .dob-today{grid-column:1 / -1;justify-self:start;background:none;border:0;padding:2px 0;font-size:13px;color:var(--brand,#b3122e);text-decoration:underline;cursor:pointer}
.hr-dt .dob-wrap{margin-bottom:6px}
.row .dob-wrap,.head .dob-wrap{width:auto;min-width:260px}

/* ───── Accueil Famille : Mon calendrier (7 jours / 2 semaines / mois, carreaux ou liste) */
.fxp-card { padding-bottom: 14px; }
.fxp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fxp-head h2 { margin: 0; }
.fxp-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.fxp-seg a { padding: 6px 12px; font-size: 13px; }
.fxp-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.fxp-title b { font-size: 16px; }
.fxp-title b.cap { text-transform: capitalize; }
.fxp-title #fxp-add { margin-left: auto; }
.fxp-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 6px; }
.fxp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fxp-day { border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--card); cursor: pointer; min-height: 92px; }
.fxp-day:hover { border-color: var(--brand); }
.fxp-day.today { border: 2px solid var(--brand); background: var(--brand-soft); }
.fxp-day.empty { opacity: .78; }
.fxp-dh { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 6px; }
.fxp-dh span { color: var(--muted); font-size: 12px; }
.fxp-none { font-size: 12px; color: var(--muted); }
.fxp-ev { display: flex; gap: 8px; align-items: flex-start; padding: 5px 6px; margin: 4px 0; border-radius: 8px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); font-size: 13px; line-height: 1.3; }
.fxp-ev > b { white-space: nowrap; font-size: 12px; min-width: 38px; }
.fxp-ev > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fxp-ev small { display: block; color: var(--muted); font-size: 11.5px; }
.fxp-ev .ev-join { padding: 3px 8px; font-size: 11px; }
.fxp-lday { margin-bottom: 10px; }
.fxp-lday.today .fxp-lh b { color: var(--brand); }
.fxp-lh { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; cursor: pointer; padding: 6px 0 2px; border-top: 1px solid var(--line); }
.fxp-lday:first-of-type .fxp-lh { border-top: 0; }
.fxp-month { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fxp-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--soft2); font-size: 11px; font-weight: 700; text-align: center; padding: 6px 0; text-transform: uppercase; }
.fxp-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fxp-mcell { min-height: 92px; padding: 3px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); cursor: pointer; overflow: hidden; }
.fxp-mcell:nth-child(7n) { border-right: 0; }
.fxp-mcell.out { background: var(--soft2); }
.fxp-mcell.out .n { opacity: .45; }
.fxp-mcell .n { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 99px; }
.fxp-mcell.today .n { background: var(--brand); color: #fff; }
.fxp-mcell:hover { background: var(--brand-soft); }
.fxp-mlist i { display: block; font-style: normal; font-size: 11px; line-height: 1.25; margin: 2px 0; padding: 1px 4px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxp-mlist i em { font-style: normal; font-weight: 700; }
.fxp-mlist i.more { border: 0; background: none; color: var(--muted); }
.fxp-dots { display: none; }
@media (max-width: 700px) {
  .fxp-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxp-day { min-height: 80px; padding: 7px; }
  .fxp-ev { font-size: 12.5px; flex-wrap: wrap; }
  .fxp-mcell { min-height: 54px; }
  .fxp-mlist { display: none; }
  .fxp-dots { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px 2px 0; }
  .fxp-dots s { width: 8px; height: 8px; border-radius: 99px; background: var(--c); }
  .fxp-dots s.plus { width: auto; height: auto; background: none; text-decoration: none; font-size: 10px; line-height: 8px; color: var(--muted); }
}
@media (max-width: 380px) { .fxp-days { grid-template-columns: 1fr; } }
/* Documents joints à l'assistant */
.ag-doc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 13px; max-width: 100%; }
.ag-doc b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-doc button { border: 0; background: var(--ink); color: var(--card); width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 12px; flex: none; }
.ag-docnote { flex-basis: 100%; }
.asst-att { padding: 0 14px; margin: 6px 0 0; }
.asst-att:empty { display: none; }
.asst-form .ag-att { align-self: flex-end; }
/* 24 oct. : échéance rapide + flèche de retour */
.duebox { display: flex; flex-direction: column; gap: 6px; }
.duechips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.backbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink); border-radius: 99px; padding: 6px 14px 6px 10px; font: inherit; font-size: 14px; cursor: pointer; margin: 0 0 10px; }
.backbtn span { font-size: 18px; line-height: 1; }
.backbtn:hover { border-color: var(--brand, #a01428); }
.addtask .duebox { margin-top: 8px; }
.ch-file { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card, #fff); color: var(--ink); text-decoration: none; max-width: 260px; }
.ch-file small { color: var(--brand, #a01428); }
.cobar { position: sticky; top: 0; z-index: 5; background: var(--bg, #f4f2ee); padding: 8px 0 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.cobar-l { display: block; margin-bottom: 6px; font-weight: 600; }
.cobar-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.cobar-chips .chip { white-space: nowrap; flex: none; }
.cobar .badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand, #a01428); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.cobar .chip.on .badge { background: #fff; color: var(--brand, #a01428); }
.mail-focus > *:not(#ml-out):not(#orbia-back) { display: none !important; }
.mail-focus #ml-out .card { margin-top: 0; }
.nb-mail.nb-desk { right: 72px !important; }
header.top .nb-mail { margin-left: auto; }
header.top .nb-mail + .nb-bell { margin-left: 8px; }
/* En-tête mobile : loupe + enveloppe + cloche tiennent toujours à l'écran (24 oct.) */
@media all {
  header.top { gap: 8px; padding: 10px 12px; overflow: visible; }
  header.top .top-logo { min-width: 0; flex: 0 1 auto; }
  header.top .top-logo img { height: 24px; max-width: 34vw; object-fit: contain; object-position: left center; }
  header.top .menu { flex: none; }
  header.top .crumb { min-width: 0; }
  header.top > button, header.top > a.btn { flex: none; }
  header.top .nb-bell, header.top .nb-mail { width: 38px; height: 38px; margin-left: 6px !important; }
  header.top .nb-mail { margin-left: auto !important; }
  header.top .nb-bell .nb-badge { top: -5px; right: -5px; }
}
@media (max-width: 380px) { header.top { gap: 6px; padding: 10px 8px; } header.top .top-logo img { max-width: 28vw; } header.top .nb-bell, header.top .nb-mail { width: 36px; height: 36px; margin-left: 4px !important; } }
/* Le micro flottant ne cache plus les formulaires : masqué quand une fenêtre est ouverte (24 oct.) */
body.noscroll .mic-fab, body.noscroll .fab { display: none !important; }
/* Sous-onglets des pages regroupées + entreprises repliables dans le menu (24 oct.) */
.subtabs { margin: 0 0 16px; }
.subtabs-t { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.subtabs-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.subtabs-row::-webkit-scrollbar { display: none; }
.subtabs .chip { white-space: nowrap; text-decoration: none; color: var(--ink); }
.navdet > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.navdet > summary::-webkit-details-marker { display: none; }
.navdet > summary::after { content: '▸'; margin-left: auto; transition: transform .15s; }
.navdet[open] > summary::after { transform: rotate(90deg); }
.navcount { font-size: 11px; background: var(--line); border-radius: 8px; padding: 0 6px; color: var(--muted); }
/* Portail : tuile « Ajouter un volet » (24 oct.) */
.pv.pv-add { display: grid; place-items: center; text-align: center; border: 2px dashed var(--line); background: transparent; cursor: pointer; min-height: 180px; }
.pv.pv-add .pv-addplus { font-size: 34px; line-height: 1; display: block; margin-bottom: 6px; color: var(--brand, #a01428); }
.pv.pv-add h2 { margin: 0 0 6px; }
.pv[hidden] { display: none !important; }
.pv-pick { display: flex; flex-wrap: wrap; gap: 8px; }
/* Traducteur de conversation (24 oct.) */
.tr-langs { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tr-langs label { flex: 1 1 160px; } .tr-langs .tr-fl { flex: 1 1 100%; }
.tr-wrap { display: grid; gap: 12px; }
.tr-side { margin: 0; } .tr-them { border: 2px solid var(--line); } .tr-me { border: 2px solid var(--brand, #a01428); }
.tr-rot { transform: rotate(180deg); }
.tr-out { min-height: 64px; } .tr-big { font-size: 26px; font-weight: 800; line-height: 1.25; margin-bottom: 4px; }
.tr-f { display: flex; gap: 8px; align-items: center; margin-top: 10px; } .tr-f textarea { flex: 1; min-width: 0; font-size: 17px; }
.tr-h .tr-line { border-top: 1px solid var(--line); padding: 8px 0; } .tr-h .tr-tl { font-weight: 700; } .tr-h .them { opacity: .9; }
@media (min-width: 900px) { .tr-wrap { grid-template-columns: 1fr 1fr; } .tr-rot { transform: none; } }
/* Réceptionniste IA (24 oct.) */
.rc-chat { display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto; padding: 6px 0; }
.rc-b { max-width: 85%; padding: 8px 12px; border-radius: 14px; white-space: pre-wrap; font-size: 15px; }
.rc-b.u { align-self: flex-end; background: var(--brand, #a01428); color: #fff; } .rc-b.a { align-self: flex-start; background: var(--line); }
.rc-call { border-top: 1px solid var(--line); padding: 8px 0; } .rc-call summary { cursor: pointer; }
/* Guide de destination (24 oct.) */
.tg-now { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border: 2px solid var(--brand, #a01428); margin-bottom: 14px; }
.tg-cta { border: 2px dashed var(--brand, #a01428); } .tg-jump { gap: 6px; flex-wrap: wrap; } .tg-jump .chip { text-decoration: none; color: var(--ink); }
/* Soirée : code QR (24 oct.) */
.so-qr { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-top: 14px; } .so-qr > div:last-child { flex: 1; min-width: 220px; }
.so-code { width: 180px; background: #fff; padding: 8px; border-radius: 12px; } .so-code svg { width: 100%; height: auto; display: block; }
/* Cases à cocher en pastilles dans les formulaires : la case à côté du texte (24 oct.) */
.f label.chip-ck, label.chip-ck { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; text-align: left; }
.f label.chip-ck input, label.chip-ck input { width: auto; margin: 0; flex: none; }
.f label.wide.chip-ck { display: flex; }

/* ───── La touche Orbia : en-têtes en photo et tuiles illustrées (25 oct.) ───── */
.head.head-ph { position: relative; isolation: isolate; overflow: hidden; align-items: flex-end; min-height: 200px; padding: 34px 34px 28px; margin-bottom: 26px; border: 0; border-radius: 22px; color: #fff;
  background: linear-gradient(100deg, rgba(12, 10, 12, .94) 0%, rgba(12, 10, 12, .82) 38%, rgba(30, 6, 12, .42) 70%, rgba(30, 6, 12, .18) 100%), var(--ph) center / cover no-repeat; box-shadow: 0 18px 40px -24px rgba(20, 8, 12, .55); }
.head.head-ph::after { content: ""; position: absolute; left: 34px; top: 26px; width: 34px; height: 3px; border-radius: 2px; background: var(--brand-hi); }
.head.head-ph > div:first-child { max-width: 760px; }
.head.head-ph h1 { color: #fff; font-size: 34px; margin-top: 18px; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.head.head-ph .muted, .head.head-ph .small, .head.head-ph a:not(.btn) { color: rgba(255, 255, 255, .84); }
.head.head-ph .btn:not(.pri):not(.danger) { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .32); backdrop-filter: blur(6px); }
.head.head-ph .btn:not(.pri):not(.danger):hover { background: rgba(255, 255, 255, .22); }
.head.head-ph .spc-head img { background: #fff; border-radius: 12px; padding: 4px; }
@media (max-width: 1020px) { .head.head-ph { min-height: 160px; padding: 26px 20px 20px; border-radius: 18px; } .head.head-ph h1 { font-size: 26px; } .head.head-ph::after { left: 20px; top: 20px; } }

.tile.tile-has-ph, .sp-tile.tile-has-ph { padding-top: 0; overflow: hidden; }
.tile-ph { display: block; height: 128px; margin: 0 -22px 14px; background: center / cover no-repeat var(--soft); position: relative; }
.tile-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 8, 10, .45) 100%); }
.tile.tile-has-ph .ic { position: absolute; top: 96px; left: 18px; z-index: 1; background: var(--card); border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.sp-tile.tile-has-ph .sp-tile-ic { position: absolute; top: 100px; left: 16px; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px; background: var(--card); border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.sp-tile.tile-has-ph { position: relative; } .sp-tile.tile-has-ph b { margin-top: 18px; } .tile.tile-has-ph h3 { margin-top: 22px; }
.sp-hub { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sp-tile.tile-has-ph .tile-ph { margin: 0 -22px 0; }

/* Cartes : un peu plus d'air et de finesse sur ordinateur */
@media (min-width: 1021px) {
  .card { border-radius: 18px; padding: 24px 26px; box-shadow: 0 1px 2px rgba(20, 14, 10, .04), 0 12px 32px -22px rgba(20, 14, 10, .22); }
  .cardhead h2, .card > h2:first-child { font-size: 18px; letter-spacing: -.01em; }
  main table th { font-size: 12px; letter-spacing: .02em; color: var(--muted); font-weight: 600; }
  .evline { transition: background .15s; border-radius: 10px; } .evline:hover { background: var(--soft2); }
}
.tile.tile-has-ph { padding: 0 22px 18px; } .sp-tile.tile-has-ph { padding: 0 22px 20px; }

/* Guide de destination en photos (25 oct.) */
.tg-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border-radius: 22px; background: #141012; color: #fff; margin-bottom: 22px; box-shadow: 0 18px 40px -24px rgba(20, 8, 12, .55); }
.tg-cta-ph { min-height: 260px; background: center / cover no-repeat; }
.tg-cta-b { padding: 30px 30px 26px; display: flex; flex-direction: column; justify-content: center; gap: 6px; } .tg-cta-b h2 { color: #fff; font-size: 24px; margin: 0; } .tg-cta-b p { color: rgba(255, 255, 255, .82); margin: 6px 0 12px; }
@media (max-width: 760px) { .tg-cta { grid-template-columns: 1fr; } .tg-cta-ph { min-height: 170px; } }
.tg-nav { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; margin: 0 0 18px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; }
.tg-nav .chip { text-decoration: none; color: var(--ink); } .tg-nav-sp { flex: 1; }
.tg-lead { font-size: 17px; line-height: 1.55; max-width: 760px; margin: 0 0 22px; }
.tg-sec { margin-bottom: 30px; scroll-margin-top: 80px; } .tg-sec h2 { font-size: 22px; margin: 0 0 14px; }
.tg-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tg-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); color: var(--ink); cursor: pointer; font: inherit; box-shadow: 0 12px 30px -24px rgba(20, 14, 10, .4); transition: transform .18s, box-shadow .18s; }
.tg-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(20, 14, 10, .45); } .tg-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.tg-ph { position: relative; display: block; height: 150px; background: center / cover no-repeat var(--soft); }
.tg-tag { position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(12, 10, 12, .72); color: #fff; font-size: 12px; font-weight: 700; }
.tg-b { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; } .tg-b b { font-size: 16px; } .tg-meta { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.tg-why { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-info-grid .card { margin: 0; scroll-margin-top: 80px; } .tg-info-grid { gap: 16px; margin-bottom: 14px; }
.tg-row { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .tg-row:first-of-type { border-top: 0; } .tg-row > span:last-child { display: flex; flex-direction: column; gap: 2px; } .tg-ic { font-size: 20px; width: 28px; flex: none; } .tg-d { color: var(--muted); }
.tg-det-ph { height: 240px; border-radius: 14px; background: center / cover no-repeat var(--soft); }
.head.head-trip { min-height: 260px; }
.sp-hub .card + .card, .tg-grid .card + .card { margin-top: 0; }
/* Mes voyages : cartes en photo (25 oct.) */
.trip-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 18px; }
.trip-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px -26px rgba(20, 14, 10, .45); display: flex; flex-direction: column; }
.trip-ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 190px; padding: 18px; color: #fff; text-decoration: none; background: center / cover no-repeat var(--soft); }
.trip-ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(10, 8, 10, .78) 100%); }
.trip-ph > * { position: relative; } .trip-ph b { font-family: var(--display); font-size: 20px; line-height: 1.2; } .trip-when { font-size: 12.5px; font-weight: 600; opacity: .9; }
.trip-g { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #14662f; font-size: 12px; font-weight: 700; }
.trip-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; } .trip-b p { margin: 0; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tg-now { background: linear-gradient(100deg, rgba(148, 17, 31, .08), transparent); }
.trip-add { margin-top: 22px; } .trip-add > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; } .trip-add > summary::-webkit-details-marker { display: none; } .trip-add > summary b { font-size: 17px; }
.trip-grid + .trip-add, .tg-now + .trip-grid { margin-top: 18px; }
.lg-div td { background: var(--brand-soft); border-top: 2px solid var(--brand); padding-top: 10px !important; }
/* Événements : cartes avec photo et logo de l'entreprise (25 oct.) */
.ev-ph-card { padding-top: 0 !important; overflow: hidden; }
.ev-ph { position: relative; display: block; height: 118px; margin: 0 -26px 14px; background: center / cover no-repeat var(--soft); }
.ev-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 8, 10, .5) 100%); }
.ev-ph img { position: absolute; left: 16px; bottom: -18px; z-index: 1; width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 14px; padding: 5px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.ev-ph-card .ev-ph + .row { margin-top: 10px; }
.grid .evcard + .evcard { margin-top: 0; }
@media (max-width: 1020px) { .ev-ph { margin: 0 -22px 14px; } }
.ev-ph:has(img) + .row { padding-left: 62px; min-height: 30px; }
.head.head-ph .btn.pri { background: var(--brand-hi); border-color: var(--brand-hi); color: #fff; }
.head.head-ph .btn.pri:hover { background: var(--brand); }
/* Barre du guide : deux rangées propres (sections, puis outils) ; défilement horizontal sur téléphone */
.tg-nav { justify-content: space-between; gap: 8px; }
.tg-row1, .tg-row2 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) {
  .tg-nav { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .tg-row1, .tg-row2 { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tg-row1::-webkit-scrollbar, .tg-row2::-webkit-scrollbar { display: none; }
  .tg-row1 .chip, .tg-row2 .chip, .tg-row2 .btn { flex: none; white-space: nowrap; }
}

.here-ask{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:rgba(128,20,40,.07);border:1px solid rgba(128,20,40,.18);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.here-ask .btn{margin-left:auto}

.pv-here{max-width:1100px;margin:0 auto 18px}
.pv-here .card.here{margin:0}
.pv-here .card.here{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#fff;box-shadow:none}
.pv-here .card.here h2,.pv-here .card.here b{color:#fff}
.pv-here .card.here .muted,.pv-here .card.here .eyebrow,.pv-here .card.here .small{color:rgba(255,255,255,.7)}
.pv-here .card.here .btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25);color:#fff}
.pv-here .card.here .btn.pri{background:#8c1c2c;border-color:#8c1c2c}
.pv-here .card.here .pill{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.15)}
.pv-here .card.here .pill.on{background:#8c1c2c}
.pv-here .card.here .evline{border-color:rgba(255,255,255,.12)}
.pv-here .card.here input{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.25)}
.pv-here .here-ask{background:rgba(140,28,44,.25);border-color:rgba(255,255,255,.15)}

.volet-intro{border-left:4px solid #8c1c2c}
.volet-intro p{margin:6px 0 0;line-height:1.5}
.card.prop.add-prop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;min-height:180px;border:2px dashed rgba(140,28,44,.35);background:transparent;text-decoration:none}
.add-prop .add-ic{font-size:34px;color:#8c1c2c;line-height:1}
.pv-loc .pv-chips-1{position:absolute;left:20px;bottom:20px;top:auto;justify-content:flex-start;max-width:calc(100% - 24px);gap:8px}
.pv-loc .pv-chips-1 .pv-chip{width:40px;height:40px}

.tip-car{padding:14px 16px;display:block}
.tip-car .tip-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.tip-car .tip-k{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c9a227;font-weight:700}
.tip-car .tip-x{background:none;border:0;color:inherit;opacity:.55;font-size:16px;cursor:pointer}
.tip-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:0}
.tip-track::-webkit-scrollbar{display:none}
.tip-slide{flex:0 0 100%;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding-right:4px;box-sizing:border-box}
.tip-slide b{font-size:17px}
.tip-slide .btn{margin-top:4px}
.tip-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px}
.tip-arr{background:none;border:1px solid rgba(128,128,128,.35);border-radius:50%;width:28px;height:28px;color:inherit;cursor:pointer;line-height:1}
.tip-dots{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;max-width:70%}
.tip-dots i{width:7px;height:7px;border-radius:50%;background:rgba(128,128,128,.4);cursor:pointer}
.tip-dots i.on{background:#c9a227;width:18px;border-radius:4px}
.pv-loc #pv-villas{display:none}
.hero .intro-row{margin-top:14px}

.tabs.tabs-wrap{flex-wrap:wrap;overflow:visible;row-gap:4px}
.soc-acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:12px}
.soc-act{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:14px;border:1px solid rgba(128,128,128,.25);text-decoration:none;color:inherit}
.soc-act:hover{border-color:#8c1c2c}
.soc-act span{font-size:13px;opacity:.75}
.ev-poster{width:84px;height:110px;object-fit:cover;border-radius:10px;flex:none;box-shadow:0 6px 18px -8px rgba(0,0,0,.6)}
.ev-ph{background-position:center top}
body.nav-lock #main{pointer-events:none}
.pv-guest{display:block;max-width:1100px;margin:0 auto 14px;width:100%;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#fff;text-align:left;font:inherit;cursor:pointer}
.ch-head{display:flex;align-items:center;gap:8px}.ch-head .ch-new2{margin-left:auto;flex:none}
.ch-meta .ch-del{font-size:12px;padding:2px 4px}

/* Messagerie lisible : bulles reçues foncées sur blanc, grande zone d'écriture */
.ch-msg:not(.mine) .ch-bub{background:#fff;color:#1b1b1d;border-color:#e3e0dc}
.ch-msg:not(.mine) .ch-bub .ch-meta,.ch-msg:not(.mine) .ch-bub .ch-meta *{color:#6b6766}
.ch-msg:not(.mine) .ch-bub a{color:#94111f}
.ch-form{background:var(--card,#fff)}
.ch-form textarea{background:#fff;color:#1b1b1d;border:1px solid #cfcac4;font-size:16px;min-width:0}
.ch-form textarea::placeholder{color:#8a8580}
@media (max-width:680px){.ch-form{flex-wrap:wrap}.ch-form textarea{flex:1 1 100%;order:-1;min-height:52px}.ch-form .btn.pri{margin-left:auto}}
.ch-pick label{display:flex;align-items:center;gap:10px;padding:8px 6px;border-radius:10px;cursor:pointer}
.ch-pick label:hover{background:rgba(128,128,128,.12)}
.ch-pn{display:flex;flex-direction:column;line-height:1.2}.ch-pn small{opacity:.65}
.ch-pick-go{position:sticky;bottom:0;padding-top:8px;background:inherit}

.pv-acts{margin-left:auto;display:flex;gap:8px}
.pv-act{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff;font-size:19px;cursor:pointer;display:grid;place-items:center}
.pv-act i{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e0485c;color:#fff;font:700 11px/20px system-ui;font-style:normal}
.pv-news{max-width:1100px;margin:-6px auto 16px;display:flex;gap:8px;flex-wrap:wrap}
.pv-news button{padding:10px 14px;border-radius:12px;border:1px solid rgba(224,72,92,.45);background:rgba(224,72,92,.14);color:#fff;font:inherit;cursor:pointer}
body.portal-on .nb-panel{z-index:2000}

/* Conversations (comme Messenger) */
.cv-wrap{max-width:760px;margin:0 auto}
.cv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 12px}
.cv-head h1{margin:0}
.cv-q{width:100%;border-radius:22px;padding:11px 16px;margin-bottom:8px;font-size:16px}
.cv-row{display:flex;align-items:center;gap:14px;padding:11px 6px;border-radius:14px;text-decoration:none;color:inherit}
.cv-row:hover{background:rgba(128,128,128,.1)}
.cv-av{position:relative;flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:19px;color:#fff;background:hsl(var(--h) 45% 42%)}
.cv-av>img:first-child{width:100%;height:100%;border-radius:50%;object-fit:cover}
.cv-badge{position:absolute;right:-3px;bottom:-3px;width:24px;height:24px;border-radius:50%;background:#fff;object-fit:contain;padding:2px;border:2px solid var(--bg,#111);font-size:12px;display:grid;place-items:center}
.cv-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cv-mid b{font-weight:600;font-size:16.5px}
.cv-mid small{font-size:14.5px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-mid em{font-style:normal;font-size:12px;opacity:.55}
.cv-row.new .cv-mid b,.cv-row.new .cv-mid small{font-weight:800;opacity:1}
.cv-end{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.cv-end small{opacity:.6;font-size:12.5px}
.cv-dot{width:11px;height:11px;border-radius:50%;background:#2d7ff9}

/* Menu de gauche seulement quand on touche les 3 lignes, à toutes les tailles d'écran */
@media (min-width: 1021px) { main { max-width: none; width: 100%; margin: 0; padding: 30px clamp(28px, 3vw, 56px) 70px; box-sizing: border-box; } body.portal-on main { padding: 0; } .hero p { max-width: 900px; } }
.tip-car.tip-wait{min-height:178px;opacity:.35}
.tip-car{transition:opacity .2s}

.ff-it{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;padding:10px 12px;margin-bottom:6px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:inherit;font:inherit;cursor:pointer}
.ff-it:hover{border-color:#94111f}
.fx-burn{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:rgba(224,120,40,.12)}
.fx-week{margin-top:18px}

/* Ordinateur : photo de bienvenue plus grande */
@media (min-width: 900px) { .portal-me { width: 112px !important; height: 112px !important; padding: 4px; } .portal-welcome b { font-size: 26px; } .portal-welcome { padding: 12px 30px 12px 12px; } }

/* ───── Barre du haut sur ordinateur : grande, sombre et classe (comme le portail) */
.topsearch .ts-t, .topsearch .ts-k { display: none; }
@media (min-width: 900px) {
  header.top { height: 80px; padding: 0 clamp(20px, 3vw, 48px) !important; gap: 18px !important; background: linear-gradient(180deg, #121214, #0b0b0c) !important; border-bottom: 0 !important; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6); backdrop-filter: none; }
  header.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #94111f, #e0485c 40%, transparent 85%); }
  header.top .menu { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
  header.top .menu span { background: #fff; width: 20px; }
  header.top .top-logo img { content: url(/logo-light.png); height: 44px !important; max-width: none !important; width: auto; }
  header.top .crumb { margin: 0 auto 0 6px !important; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); color: #fff !important; font-size: 18px !important; font-weight: 600; letter-spacing: .01em; flex: 0 1 auto; }
  header.top .topsearch { display: inline-flex; align-items: center; gap: 10px; height: 46px; min-width: clamp(220px, 22vw, 360px); padding: 0 14px; border-radius: 23px; background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.16) !important; color: rgba(255,255,255,.75) !important; font-size: 14px; justify-content: flex-start; }
  header.top .topsearch:hover { border-color: rgba(224,72,92,.7) !important; color: #fff !important; }
  header.top .topsearch .ts-t { display: inline; flex: 1; text-align: left; }
  header.top .topsearch .ts-k { display: inline; font: 600 11px/1 system-ui; padding: 5px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.7); background: transparent; }
  header.top .nb-bell, header.top .nb-mail { width: 48px !important; height: 48px !important; border-radius: 50% !important; background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; margin-left: 10px !important; }
  header.top .nb-mail { margin-left: 4px !important; }
  header.top .nb-bell:hover, header.top .nb-mail:hover { border-color: #e0485c !important; }
  header.top .nb-bell svg, header.top .nb-mail svg { width: 24px; height: 24px; }
  header.top .nb-badge { min-width: 22px; height: 22px; font-size: 12px; line-height: 22px; top: -4px !important; right: -4px !important; background: #e0485c; box-shadow: 0 0 0 2px #0b0b0c; }
}

/* Bouton principal « Parler à mon assistant » */
.btn.talk-big, a.talk-big { display: inline-flex !important; align-items: center; gap: 14px; padding: 12px 26px 12px 12px !important; min-height: 64px; border-radius: 40px !important; background: linear-gradient(135deg, #c21d34, #8c1c2c) !important; color: #fff !important; border: 0 !important; box-shadow: 0 10px 28px -10px rgba(194,29,52,.75), 0 0 0 1px rgba(255,255,255,.08) inset; text-decoration: none; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.talk-big:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(194,29,52,.9); }
.talk-big .tb-mic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; animation: tbPulse 2.4s ease-in-out infinite; }
.talk-big .tb-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.talk-big .tb-t b { font-size: 18px; font-weight: 700; }
.talk-big .tb-t small { font-size: 12.5px; opacity: .85; font-weight: 400; }
@keyframes tbPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
.hero .row:has(.talk-big) { flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 520px) { .talk-big .tb-t small { display: none; } .btn.talk-big, a.talk-big { min-height: 56px; width: 100%; } }

/* Changer de volet, dans la barre du haut */
.top-switch { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px; border-radius: 18px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; }
.top-switch .tsw-t { display: none; }
@media (min-width: 900px) {
  .top-switch { margin-right: auto; height: 36px; padding: 0 14px; border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.85) !important; background: rgba(255,255,255,.05); }
  .top-switch:hover { border-color: #e0485c; color: #fff !important; }
  .top-switch .tsw-t { display: inline; }
  header.top .crumb { margin-right: 4px !important; }
}
@media (max-width: 520px) { header.top .crumb { display: none; } .top-switch { margin-left: auto; } }
.talk-big .tb-mic svg { width: 24px; height: 24px; }

/* Gestion sportive : organisations cliquables et page d'organisation */
.sp-grp2 .sp-org-open { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; padding: 4px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sp-grp2 a.sp-org-open:hover b { color: #94111f; }
.sp-org-logos { display: flex; gap: 8px; align-items: center; flex: none; }
.sp-org-logos img { height: 56px; width: auto; max-width: 120px; object-fit: contain; }
.sp-org-ic { font-size: 34px; }
.sp-org-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sp-org-txt b { font-size: 20px; }
.sp-org-txt small { opacity: .7; }
.sp-org-go { flex: none; }
.sp-org-hero { display: flex; gap: 24px; align-items: center; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, #141416, #2a0d12); color: #fff; margin: 10px 0 22px; flex-wrap: wrap; }
.sp-org-logos.big img { height: 110px; max-width: 200px; background: #fff; border-radius: 16px; padding: 8px; }
.sp-org-htxt { flex: 1; min-width: 260px; }
.sp-org-htxt h1 { margin: 0 0 6px; color: #fff; }
.sp-org-htxt p { margin: 0 0 14px; opacity: .85; max-width: 820px; }
.sp-org-acts { gap: 8px; flex-wrap: wrap; }
.sp-org-hero .btn:not(.pri) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 600px) { .sp-grp2 .sp-org-open { flex-wrap: wrap; } .sp-org-go { width: 100%; text-align: center; } }
.sp-org-hero .btn.pri { background: linear-gradient(135deg,#c21d34,#8c1c2c) !important; border: 0 !important; color: #fff !important; }

/* Accueil Gestion sportive : une belle case par organisation */
.sp-org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sp-org-grid .sp-grp2 { margin: 0; padding: 0; overflow: hidden; }
.sp-org-grid .sp-grp2 .sp-org-open { flex-direction: column; text-align: center; gap: 12px; padding: 26px 20px 22px; border: 0; margin: 0; height: 100%; box-sizing: border-box; background: linear-gradient(160deg, rgba(148,17,31,.06), transparent 60%); }
.sp-org-grid .sp-org-logos img { height: 96px; max-width: 180px; }
.sp-org-grid .sp-org-txt { align-items: center; }
.sp-org-grid .sp-org-txt small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-org-grid .sp-org-go { width: auto; padding: 10px 26px; }
.sp-org-grid a.sp-org-open:hover { background: linear-gradient(160deg, rgba(148,17,31,.12), transparent 70%); }
.ev-teams { margin: 14px 0 16px; } .ev-teams .sp-teams { margin-top: 8px; }

/* Repas en photo : confirmation du plat et questions */
.mc h3{font-size:14px;margin:14px 0 6px}
.mc-img{width:100%;max-height:220px;object-fit:cover;border-radius:12px;display:block}
.mc-ch,.mc-sides{display:flex;flex-wrap:wrap;gap:6px}
.mc-ch+.mc-ch{margin-top:6px}
.mc .pill{cursor:pointer;font-size:14px;padding:8px 12px}
.mc .pill.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.mc input#mc-other{width:100%;margin-top:8px}
.mc-range{margin-top:4px;color:var(--ink,#222)}

/* Agent du portail */
.pv-line{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;margin:0 0 14px}
.pv-line .pv-news{margin:0}
.pv-agent{display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;flex:1 1 280px;padding:14px 18px;border-radius:16px;border:1px solid rgba(200,30,60,.55);background:linear-gradient(135deg,#8f1d2c,#c8283f);color:#fff;font:inherit;box-shadow:0 6px 18px rgba(200,40,63,.25)}
.pv-agent b{display:block;font-size:17px}.pv-agent small{display:block;opacity:.85;font-size:13px;margin-top:2px}
.pv-agent-ic{font-size:26px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:none}
.pva-in{position:relative}.pva-in textarea{width:100%;font-size:16px;padding-right:56px}.pva-in .mic-round{position:absolute;right:8px;bottom:10px}
.pva-msg{font-weight:600;margin:0 0 10px}
.pva-task{border:1px solid var(--line,#333);border-radius:14px;padding:12px 14px;margin:0 0 10px;background:var(--card,#1a1a1d)}
.pva-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pva-v{margin-left:auto;font-size:12px;opacity:.7}
.pva-r{margin:8px 0;font-size:14px;line-height:1.45}.pva-r.clip{max-height:9.5em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent)}
.pva-r p,.pva-r ul{margin:4px 0}
.pva-spin{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pvaspin .8s linear infinite;vertical-align:-2px}
@keyframes pvaspin{to{transform:rotate(360deg)}}

.em-card{margin:0 0 18px}.em-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.em-grid figure{margin:0}.em-grid img{width:100%;border-radius:12px;display:block;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.em-grid figcaption{font-size:13px;margin-top:6px;display:flex;justify-content:space-between;align-items:center;gap:6px}

/* Vendre un objet */
.vt-list{display:grid;gap:12px}.vt-row{display:flex;gap:12px;align-items:flex-start}.vt-row img,.vt-noph{width:84px;height:84px;object-fit:cover;border-radius:12px;flex:none;background:#222;display:grid;place-items:center;font-size:32px}
.vt-price{font-size:20px;font-weight:800;margin:4px 0}.vt-acts{margin-top:10px;gap:6px;flex-wrap:wrap}.vt-st{font-size:13px;padding:6px 8px;border-radius:10px}
.vt-thumbs{display:flex;gap:8px;overflow-x:auto}.vt-thumbs img{width:96px;height:96px;object-fit:cover;border-radius:10px;flex:none}
.vt-prix{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 4px}.vt-prix div{border:1px solid var(--line,#333);border-radius:12px;padding:8px;text-align:center}.vt-prix div.on{border-color:var(--brand,#c8283f);box-shadow:0 0 0 2px rgba(200,40,63,.25)}
.vt-prix small{display:block;font-size:12px;opacity:.75}.vt-prix b{font-size:20px}

.vt-extcard{margin:0 0 14px;border-color:rgba(200,40,63,.5)}.vt-steps li{margin:0 0 10px}

/* ───────── Conversation simple, comme Messenger (26 oct.) */
.ch-head{align-items:center;flex-wrap:nowrap}.ch-hav{align-self:center!important;width:36px!important;height:36px!important;font-size:13px!important}
.ch-ht{display:flex;flex-direction:column;min-width:0;line-height:1.2}.ch-ht b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ch-ht .small{font-size:12px}
.ch-form{flex-wrap:nowrap!important;align-items:flex-end;gap:6px;padding:8px 10px}
.ch-form .ch-pic{width:38px;height:42px;border:0;font-size:20px}
.ch-in{flex:1;min-width:0;position:relative;display:flex}
.ch-in textarea{flex:1;width:100%;min-height:42px!important;border-radius:22px!important;padding:10px 46px 10px 14px!important;order:0!important}
.ch-in #chmic{position:absolute;right:4px;bottom:3px}
.mic-round.mic-sm{width:36px;height:36px;box-shadow:none;background:transparent;color:var(--brand,#94111f)}
.mic-round.mic-sm svg{width:20px;height:20px}.mic-round.mic-sm.on{background:#c41f33;color:#fff}
.ch-send{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:var(--brand,#94111f);color:#fff;display:grid;place-items:center;cursor:pointer}
.ch-send svg{width:20px;height:20px}
.ch-acts{display:none;gap:6px;justify-content:flex-end;margin-top:4px}.ch-msg.act .ch-acts{display:flex}
.ch-acts .ch-del{font-size:12px;text-decoration:none;background:rgba(255,255,255,.18);border-radius:8px;padding:3px 8px}
.ch-msg.mine .ch-bub{cursor:pointer}
@media (max-width:900px){
  body.chat-solo .chat{position:fixed;inset:0;z-index:55;height:100dvh!important;max-height:none!important;min-height:0;border:0;border-radius:0;grid-template-columns:1fr}
  body.chat-solo .ch-head{padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top,0px))}
  body.chat-solo .ch-back{display:inline;font-size:32px;padding:0 6px}
  body.chat-solo .ch-form{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
  body.chat-solo #toast{z-index:95}
  body.chat-solo .fab,body.chat-solo .mic-fab{display:none!important}
}
/* Messages sur l'accueil : les dernières conversations, un toucher pour ouvrir */
.pv-convs{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 10px;scrollbar-width:none}.pv-convs::-webkit-scrollbar{display:none}
.pv-cv{flex:none;width:68px;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:none;color:inherit;cursor:pointer;font:inherit;padding:0}
.pv-cv .cv-av{width:56px;height:56px;font-size:17px;position:relative}
.pv-cv small{font-size:12px;max-width:68px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-cv.new small{font-weight:700}.pv-cv .cv-dot{position:absolute;top:0;right:0}
/* Fiche de la conversation : photo de profil, appel, photos / fichiers / liens */
.ch-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.ch-who-btn{display:flex;align-items:center;gap:10px;min-width:0;flex:1;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}
.ch-call{width:42px;height:42px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--brand,#94111f);margin-left:auto}.ch-call svg{width:22px;height:22px}
.ch-call:hover{background:rgba(148,17,31,.1)}
.chm-top{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:14px;text-align:center}.chm-top .cv-av{width:84px;height:84px;font-size:26px}.chm-top b{font-size:18px}
.chm-tabs{display:flex;gap:6px;margin-bottom:12px}.chm-tabs button{flex:1;border:1px solid var(--line);background:none;color:inherit;border-radius:10px;padding:8px;font:600 14px var(--sans);cursor:pointer}.chm-tabs button.on{background:var(--brand,#94111f);border-color:transparent;color:#fff}
.chm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.chm-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;display:block}
.chm-row{display:flex;gap:10px;align-items:center;padding:10px 6px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.chm-row b{display:block;overflow-wrap:anywhere;font-size:14px}.chm-row small{opacity:.65}
/* ───────── Bulles façon messagerie instantanée (inspiré de Messenger, couleurs Orbia) */
.chat{--chm-other:#eceaeb;--chm-other-ink:#111;--chm-bg:#fff;--chm-muted:#8a8d91}
@media (prefers-color-scheme: dark){.chat{--chm-other:#2f2f33;--chm-other-ink:#eceef1;--chm-bg:#0f0f11;--chm-muted:#9aa0a6}}
.chat .ch-msgs{background:var(--chm-bg);gap:2px;padding:12px 12px 8px}
.chat .ch-head{background:var(--chm-bg);border-bottom:1px solid rgba(128,128,128,.18)}
.chat .ch-form{background:var(--chm-bg);border-top:0}
.chat .ch-day{margin:16px 0 8px}.chat .ch-day span{background:none;border:0;padding:0;font-size:12px;color:var(--chm-muted);text-transform:none;font-weight:600}
.chat .ch-msg{max-width:78%;gap:8px;align-items:flex-end;margin-top:0!important}
.chat .ch-msg.first,.chat .ch-msg.solo{margin-top:8px!important}
.chat .ch-col{display:flex;flex-direction:column;min-width:0}.chat .ch-msg.mine .ch-col{align-items:flex-end}.chat .ch-msg:not(.mine) .ch-col{align-items:flex-start}
.chat .ch-who{color:var(--chm-muted);font-size:12px;font-weight:600;margin:0 0 2px 12px}
.chat .ch-av.sm{width:28px;height:28px;font-size:11px;align-self:flex-end}.chat .ch-av.ghost{background:transparent!important}
.chat .ch-bub{border:0!important;padding:8px 13px;font-size:15.5px;line-height:1.35;border-radius:20px;background:var(--chm-other)!important;color:var(--chm-other-ink)!important}
.chat .ch-msg.mine .ch-bub{background:var(--brand,#94111f)!important;color:#fff!important}
.chat .ch-bub .ch-meta,.chat .ch-bub>.ch-meta{display:none}
.chat .ch-msg:not(.mine).first .ch-bub{border-bottom-left-radius:5px}.chat .ch-msg:not(.mine).mid .ch-bub{border-top-left-radius:5px;border-bottom-left-radius:5px}.chat .ch-msg:not(.mine).last .ch-bub{border-top-left-radius:5px}
.chat .ch-msg.mine.first .ch-bub{border-bottom-right-radius:5px}.chat .ch-msg.mine.mid .ch-bub{border-top-right-radius:5px;border-bottom-right-radius:5px}.chat .ch-msg.mine.last .ch-bub{border-top-right-radius:5px}
.chat .ch-msg.img .ch-bub{background:none!important;padding:0}.chat .ch-msg.img .ch-bub img{max-width:min(240px,62vw);max-height:300px;border-radius:18px;margin:0}
.chat .ch-msg.emo .ch-bub{background:none!important;padding:0 2px;font-size:38px;line-height:1.15}
.chat .ch-bub i{opacity:.75}
.chat .ch-col>.ch-meta{display:none;font-size:11px;color:var(--chm-muted);margin:3px 6px 0;opacity:1;text-align:inherit}
.chat .ch-msg.act .ch-col>.ch-meta{display:block}
.chat .ch-acts .ch-del{background:rgba(128,128,128,.18);color:inherit}
.chat .ch-seen img{width:15px;height:15px;border-radius:50%;object-fit:cover;display:block;margin:3px 2px 0}.chat .ch-seen{font-size:11px;color:var(--chm-muted)}
.chat .ch-sent{font-size:11px;color:var(--chm-muted);margin:3px 4px 0}
.chat .ch-bub{cursor:pointer}
/* barre d'écriture : icônes à gauche qui se cachent quand on écrit */
.chat .ch-form .ch-pic{color:var(--brand,#94111f);width:36px;height:40px}.chat .ch-form .ch-pic svg{width:22px;height:22px}
.chat .ch-micw{flex:none;display:flex;align-items:center;height:40px}
.chat .ch-micw .mic-round.mic-sm{width:36px;height:40px;border-radius:10px}
.chat .ch-in textarea{padding:9px 14px!important;border:0!important;background:var(--chm-other)!important;color:var(--chm-other-ink)!important;min-height:40px!important;border-radius:20px!important}
.chat .ch-in textarea::placeholder{color:var(--chm-muted)}
.chat .ch-send{background:none;color:var(--brand,#94111f);width:40px;height:40px}.chat .ch-send svg{width:24px;height:24px}
.chat .ch-form.typing .ch-pic,.chat .ch-form.typing .ch-micw{display:none}
.chat .ch-call{color:var(--brand,#94111f)}
.chat .ch-head .ch-ht .small{color:var(--chm-muted)}
.chat .ch-head .ch-call{border:0;background:none;box-shadow:none;padding:0;cursor:pointer}.chat .ch-info{margin-left:0}
.chat .ch-msg.del .ch-bub{background:none!important;border:1px solid rgba(128,128,128,.35)!important;color:var(--chm-muted)!important;font-size:14px}
/* ───────── Appels audio et vidéo */
.chat .ch-head .ch-call svg{width:23px;height:23px}
.chm-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ch-calllog{align-self:center;display:flex;align-items:center;gap:8px;margin:10px 0;padding:8px 12px;border-radius:16px;background:var(--chm-other,#eee);color:var(--chm-other-ink,#111);font-size:14px}
.ch-calllog span svg{width:18px;height:18px;display:block}.ch-calllog small{color:var(--chm-muted,#888)}.ch-calllog.miss span{color:#e0364b}
.ch-calllog button{border:0;background:none;color:var(--brand,#94111f);font:600 13px var(--sans);cursor:pointer;padding:2px 4px}
.rtc{position:fixed;inset:0;z-index:90;background:radial-gradient(circle at 50% 30%,#3a1b20,#0b0b0d 70%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:calc(48px + env(safe-area-inset-top,0px)) 20px calc(36px + env(safe-area-inset-bottom,0px));font-family:var(--sans)}
.rtc-who{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;z-index:2}
.rtc-av{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;font-size:40px;font-weight:700;background:hsl(var(--h) 45% 42%);overflow:hidden;box-shadow:0 0 0 6px rgba(255,255,255,.08)}
.rtc-av img{width:100%;height:100%;object-fit:cover}
.rtc-who b{font-size:26px;font-weight:700}.rtc-who small{font-size:15px;opacity:.8;font-variant-numeric:tabular-nums}
.rtc-in .rtc-av{animation:rtcp 1.6s ease-out infinite}@keyframes rtcp{0%{box-shadow:0 0 0 0 rgba(255,255,255,.35)}100%{box-shadow:0 0 0 26px rgba(255,255,255,0)}}
.rtc-bar{display:flex;gap:22px;z-index:2;transition:opacity .25s}
.rtc-b{width:62px;height:62px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;display:grid;place-items:center;cursor:pointer;position:relative;backdrop-filter:blur(8px)}
.rtc-b svg{width:27px;height:27px}.rtc-b.off{background:#fff;color:#111}
.rtc-b.red{background:#e0364b}.rtc-b.green{background:#1fae5b}.rtc-in .rtc-b{width:72px;height:72px}.rtc-in .rtc-bar{gap:90px}
.rtc-b small{position:absolute;top:100%;margin-top:8px;font-size:13px;white-space:nowrap;left:50%;transform:translateX(-50%)}
.rtc-video #rtc-rv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.rtc-video.live .rtc-who{opacity:0;pointer-events:none}.rtc-video.live .rtc-who small{opacity:1}
.rtc-video.live.calm .rtc-bar{opacity:0}
#rtc-lv{position:absolute;right:14px;top:calc(14px + env(safe-area-inset-top,0px));width:104px;height:150px;object-fit:cover;border-radius:14px;background:#222;z-index:3;transform:scaleX(-1);box-shadow:0 6px 20px rgba(0,0,0,.5)}
.rtc.back #rtc-lv{transform:none}.rtc.nocam #rtc-lv{visibility:hidden}
.rtc-video:not(.live) #rtc-lv{inset:0;width:100%;height:100%;border-radius:0;z-index:0;top:0;right:0;opacity:.55}
body.rtc-on{overflow:hidden}
/* Accueil : barre de l'agent plus mince, même largeur que la carte « Votre position » (rien ne dépasse) */
.portal .pv-line,.portal .pv-convs{max-width:808px;margin-left:auto;margin-right:auto}
.portal .pv-line{flex-wrap:nowrap;gap:8px}
.portal .pv-agent{flex:1 1 auto;min-width:0;padding:9px 14px;border-radius:14px;gap:10px;box-shadow:0 4px 12px rgba(200,40,63,.2)}
.portal .pv-agent b{font-size:15px}.portal .pv-agent small{font-size:12px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal .pv-agent>span:last-child{min-width:0}
.portal .pv-agent-ic{width:34px;height:34px;font-size:18px}
.portal .pv-line .pv-news{flex:none}.portal .pv-line .pv-news button{padding:8px 12px;font-size:13px;white-space:nowrap}
@media (max-width:680px){
  .portal .pv-line{flex-wrap:wrap}
  .portal .pv-agent{padding:8px 12px}
  .portal .pv-agent small{display:none}
  .portal .pv-agent-ic{width:30px;height:30px;font-size:16px}
}
.portal .pv-line,.portal .pv-convs{width:100%;box-sizing:border-box}
/* Mon calendrier (7 jours / 2 semaines) : petites cases égales, texte lisible, jamais de colonne géante */
.fxp-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;align-items:stretch}
@media (max-width:900px){.fxp-days{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
.fxp-day{min-height:96px;max-height:190px;overflow:hidden;padding:7px;display:flex;flex-direction:column;position:relative}
.fxp-day:not(.empty)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:18px;background:linear-gradient(transparent,var(--card));pointer-events:none}
.fxp-day.today::after{background:linear-gradient(transparent,var(--brand-soft))}
.fxp-dh{font-size:12px;gap:4px}.fxp-dh b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fxp-dh span{white-space:nowrap;font-size:11px}
.fxp-day .fxp-ev{display:block;padding:4px 6px;margin:3px 0;font-size:12px;line-height:1.25}
.fxp-day .fxp-evt{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:1px}
.fxp-day .fxp-evt b{font-size:11px;white-space:nowrap}
.fxp-day .fxp-ev>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:auto}
.fxp-day .fxp-ev small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10.5px}
.fxp-join{flex:none;font-size:10.5px;font-weight:700;text-decoration:none;color:#fff;background:var(--brand,#94111f);border-radius:99px;padding:1px 7px;white-space:nowrap}
.fxp-day .fxp-join{font-size:0;padding:2px 5px}.fxp-day .fxp-join::before{content:"🎥";font-size:12px}
.fxp-none{font-size:11px}
/* liste */
.fxp-lday .fxp-ev{display:block}.fxp-lday .fxp-evt{display:flex;gap:8px;align-items:center}.fxp-lday .fxp-ev>span{display:block}
.fxp-day{max-height:none}.fxp-day::after{display:none}
.fxp-more{font-size:11.5px;font-weight:700;color:var(--brand,#94111f);padding:2px 6px}
/* Portefeuille de voyage : modèles à ajouter */
.wl-ex{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.wl-exb{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:14px;border-radius:14px;border:1.5px dashed var(--line,#ddd);background:var(--card,#fff);color:inherit;font:inherit;cursor:pointer;transition:border-color .15s,transform .15s}
.wl-exb:hover{border-color:var(--brand,#94111f);transform:translateY(-1px)}
.wl-exb span{font-size:28px;line-height:1}.wl-exb b{font-size:14.5px;margin-top:6px}.wl-exb small{color:var(--muted);font-size:12.5px}
.wl-exb i{font-style:normal;font-size:12.5px;font-weight:700;color:var(--brand,#94111f);margin-top:6px}
/* Ordinateur : le contenu reste centré dans une largeur confortable (plus de grand vide d'un côté) ;
   les pages de calendrier et de tableaux gardent plus de largeur */
@media (min-width: 1021px) {
  body:not(.portal-on) main { max-width: none; margin: 0; }
  body[data-page="agenda"] main, body[data-page="calendrier"] main, body[data-page="social"] main, body[data-page="sport"] main, body[data-page="horaire"] main, body[data-page="menage"] main, body[data-page="prix"] main { max-width: none; }
  body:not(.portal-on) main .head > div:first-child { max-width: 980px; }
  main .f input:not([type=checkbox]):not([type=radio]), main .f select { max-width: 100%; }
}
.rtc-snd{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);z-index:5;border:0;border-radius:99px;padding:14px 22px;background:#fff;color:#111;font:700 16px var(--sans);box-shadow:0 10px 30px rgba(0,0,0,.4);cursor:pointer}
/* Bulle verte « en ligne » */
[data-presence]{position:relative}
.av-wrap{display:inline-block;line-height:0}
[data-presence].pres-on::after{content:"";position:absolute;right:2%;bottom:2%;width:26%;height:26%;min-width:10px;min-height:10px;max-width:18px;max-height:18px;border-radius:50%;background:#31c45d;border:2px solid var(--card,#fff);box-sizing:border-box;z-index:2}
.portal [data-presence].pres-on::after{border-color:#141416}
@media (prefers-color-scheme: dark){[data-presence].pres-on::after{border-color:#141416}}
.chat .ch-head .ch-ht .small.ch-online{color:#2fb457;font-weight:600}
.perm-g{background:var(--soft,#f6f4f2);border-radius:12px;padding:12px 14px}.perm-g ol{margin:8px 0 4px 20px;padding:0}.perm-g li{margin:5px 0}
@media (prefers-color-scheme: dark){.perm-g{background:rgba(255,255,255,.06)}}
/* Bandeau Marketplace (volet Achats) et guide d'installation de l'extension */
.ext-banner:empty{display:none}
.ext-banner{display:flex;align-items:center;gap:16px;margin:0 0 18px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#1b2a4a,#24407a);color:#fff;box-shadow:0 10px 26px -14px rgba(20,40,90,.7)}
.ext-banner.on{background:linear-gradient(135deg,#173b26,#1f6b3f)}
.ext-banner .eb-ic{font-size:34px;line-height:1;flex:none}
.ext-banner>div{flex:1;min-width:0}.ext-banner b{display:block;font-size:18px}.ext-banner small{display:block;opacity:.88;font-size:13.5px;margin-top:3px;line-height:1.4}
.ext-banner .btn.pri{background:#fff;color:#1b2a4a;border-color:#fff;white-space:nowrap;font-weight:700}
@media (max-width:680px){.ext-banner{flex-wrap:wrap}.ext-banner .btn{width:100%}}
.xs-lead{margin-top:0}
.xs-status{padding:9px 12px;border-radius:10px;background:rgba(183,121,31,.12);font-weight:600;margin:6px 0 14px}.xs-status.ok{background:rgba(47,180,87,.15)}
.xs-step{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.xs-n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--brand,#94111f);color:#fff;display:grid;place-items:center;font-weight:700}
.xs-step b{font-size:15.5px}.xs-step p{margin:4px 0 8px}
.xs-mock{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border-radius:10px;background:var(--soft,#f2f0ed);font-size:12.5px}
.xs-mock span{padding:5px 9px;border-radius:7px;background:var(--card,#fff);border:1px solid var(--line)}.xs-mock .hl{border:2px solid var(--brand,#94111f);font-weight:700}
.xs-right{justify-content:flex-end;align-items:center}.xs-tog{display:inline-block;width:34px;height:18px;border-radius:99px;background:#1a73e8;position:relative}.xs-tog::after{content:"";position:absolute;right:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff}
.xs-copy{display:flex;gap:8px;align-items:center}.xs-copy code{padding:7px 10px;border-radius:8px;background:var(--soft,#f2f0ed);font-size:14px}
.ext-banner.big{padding:22px 24px}.ext-banner.big b{font-size:20px}
.eb-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.ext-banner .btn.eb-sec{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7);font-weight:700}
/* Scanner de code-barres */
.bc-cam{position:relative;border-radius:14px;overflow:hidden;background:#111;aspect-ratio:4/3;max-height:52vh;margin:0 auto}
.bc-cam video{width:100%;height:100%;object-fit:cover;display:block}
.bc-cam .bc-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.bc-cam .bc-frame i{width:78%;height:34%;border:3px solid rgba(255,255,255,.9);border-radius:12px;box-shadow:0 0 0 999px rgba(0,0,0,.35)}
.bc-cam .bc-tip{position:absolute;left:0;right:0;bottom:8px;margin:0;text-align:center;color:#fff;font-weight:600;text-shadow:0 1px 3px #000}
.bc-cam.off{aspect-ratio:auto;min-height:90px}.bc-cam.off video,.bc-cam.off .bc-frame{display:none}.bc-cam.off .bc-tip{position:static;padding:30px 12px}
.pill.uwg-st{font-size:11px;padding:1px 8px}.pill.uwg-st.ok{background:#dcfce7;color:#166534}.pill.uwg-st.warn{background:#fef3c7;color:#92400e}.pill.uwg-st.off{background:#e5e7eb;color:#4b5563;text-decoration:line-through}
.spm-v{width:100%;max-height:70vh;border-radius:12px;margin-top:6px;background:#000}
.spm-f{display:flex;gap:10px;align-items:center;margin-top:6px;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:12px;text-decoration:none;color:inherit}
.sp-cms{margin-top:8px;display:grid;gap:6px}.sp-cm{background:var(--soft,#f2f4f7);border-radius:12px;padding:8px 10px;font-size:14px}
.sig-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px;align-items:start}@media(max-width:900px){.sig-grid{grid-template-columns:1fr}}
.sig-promo{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit;margin-top:14px}.sig-promo:hover{border-color:var(--brand)}
.gs-ok{background:#e7f6ec;color:#14532d;border:1px solid #b7e2c4;border-radius:12px;padding:12px 14px;margin-top:8px;font-size:15px}.gs-ok .small{color:#2f6b45;margin-top:2px}
#pva-f textarea{min-height:96px;resize:vertical;transition:height .1s}

/* Bienvenue : parcours d'accueil */
.bv-step { display: flex; gap: 14px; align-items: flex-start; }
.bv-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent, #c4213a); color: #fff; }
.bv-step.done .bv-n { background: #2e7d32; }
.bv-b { display: grid; gap: 6px; min-width: 0; flex: 1; } .bv-b > .btn { justify-self: start; }
.bv-try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } .bv-try .btn { white-space: normal; text-align: left; }
.bv-slots { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 240px; overflow-y: auto; } .bv-slots .onb-chip { width: auto; padding: 8px 10px; font-size: 13px; margin: 0; }
.bv-ok { margin: 6px 0; color: #2e7d32; font-weight: 600; }
.bv-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bv-g summary { display: flex; gap: 10px; align-items: center; cursor: pointer; list-style: none; } .bv-g summary::-webkit-details-marker { display: none; }
.bv-g summary::after { content: '›'; margin-left: auto; font-size: 20px; opacity: .5; transition: transform .2s; } .bv-g[open] summary::after { transform: rotate(90deg); }
.bv-ic { font-size: 22px; } .bv-g ol { margin: 10px 0 12px 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; }

/* Analyse et propositions d'Orbia */
.ep-card { border: 1px solid rgba(196,33,58,.35); }
.ep-list { display: grid; gap: 2px; margin-top: 10px; }
.ep-doc { line-height: 1.55; } .ep-doc h2 { margin: 20px 0 8px; font-size: 18px; } .ep-doc h3 { margin: 16px 0 6px; font-size: 15px; }
.ep-doc table { font-size: 13.5px; } .ep-doc ul, .ep-doc ol { padding-left: 20px; } .ep-doc li { margin: 4px 0; } .ep-doc ul:has(.ep-ck) { list-style: none; padding-left: 4px; }
.ep-ck { font-size: 15px; }
@media print { header.top, nav, .head .row, #asst-fab, .nb-bell { display: none !important; } .ep-doc { border: 0; box-shadow: none; } }

/* Bandeau « Installer Orbia » */
.instbar { display: flex; align-items: center; gap: 12px; margin: 12px auto 0; max-width: 1100px; width: calc(100% - 32px); box-sizing: border-box; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #94111f, #5e0a14); color: #fff; box-shadow: 0 6px 20px rgba(148,17,31,.25); }
.instbar .ib-ico { font-size: 26px; flex: none; }
.instbar .ib-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.instbar .ib-t span { font-size: 12.5px; opacity: .85; }
.instbar #ib-go { background: #fff; color: #94111f; border-color: #fff; flex: none; justify-content: center; text-align: center; }
.instbar .ib-x { background: none; border: 0; color: #fff; opacity: .75; font: 500 12px var(--sans); cursor: pointer; flex: none; padding: 4px; }
@media (max-width: 520px) { .instbar { flex-wrap: wrap; } .instbar .ib-t { flex: 1 1 calc(100% - 60px); } .instbar #ib-go { flex: 1; } }

.cauto-st { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(127,127,127,.12); color: var(--muted, #777); white-space: nowrap; flex: none; transition: background .3s; }
.cauto-st.on { background: rgba(34,160,90,.14); color: #1b8a4c; } .cauto-st.flash { box-shadow: 0 0 0 3px rgba(34,160,90,.25); } .cauto-st.err { background: rgba(200,40,40,.12); color: #b3261e; white-space: normal; } .cauto-st.wait { opacity: .7; }

.rtc-hidden-v { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pv-intro { max-width: 640px; margin: -6px auto 22px; padding: 16px 20px; border-radius: 18px; text-align: center; background: linear-gradient(135deg, rgba(224,72,92,.22), rgba(148,17,31,.30)); border: 1px solid rgba(224,72,92,.45); box-shadow: 0 8px 28px rgba(148,17,31,.25); }
.pv-intro b { display: block; font-family: var(--display); font-size: clamp(20px, 4.6vw, 26px); color: #fff; margin-bottom: 6px; }
.pv-intro span { display: block; color: #f3e9e6; font-size: clamp(15px, 3.8vw, 17px); line-height: 1.45; font-weight: 500; }

/* Traducteur : deux cases côte à côte */
.tr-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.tr-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border-radius: 18px; border: 2px solid var(--line); background: var(--card, #fff); transition: box-shadow .3s, border-color .3s; }
.tr-col#tr-A { border-color: var(--brand, #a01428); }
.tr-col.tr-new { box-shadow: 0 0 0 4px rgba(160,20,40,.25); }
.tr-sel { width: 100%; font-size: 16px; font-weight: 700; }
.tr-box { flex: 1; min-height: 190px; padding: 12px; border-radius: 12px; background: rgba(127,127,127,.08); overflow-wrap: anywhere; }
.tr-txt { font-size: clamp(17px, 4.6vw, 24px); font-weight: 700; line-height: 1.3; } .tr-txt.live { opacity: .65; }
.tr-ph { color: var(--muted, #888); font-size: 15px; }
.tr-btns { display: flex; justify-content: space-around; gap: 8px; align-items: flex-start; }
.tr-micw, .tr-say { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tr-micw small, .tr-say small { font-size: 12.5px; font-weight: 600; }
.tr-micw .mic-round { width: 58px; height: 58px; }
.tr-say { border: 0; background: none; cursor: pointer; color: inherit; padding: 0; }
.tr-say span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 24px; background: rgba(127,127,127,.15); }
.tr-swap { align-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card, #fff); color: inherit; font-size: 16px; cursor: pointer; padding: 0; }
.tr-hid { display: none; } .tr-col form:not(.tr-hid) textarea { width: 100%; font-size: 16px; }
@media (max-width: 700px) {
  .tr-grid { grid-template-columns: 1fr; gap: 8px; }
  .tr-swap { justify-self: center; transform: rotate(90deg); }
  .tr-col { flex-direction: row; flex-wrap: wrap; align-items: stretch; padding: 10px; gap: 8px; }
  .tr-sel { flex: 1 1 100%; }
  .tr-box { flex: 1 1 0; min-height: 120px; padding: 10px; }
  .tr-btns { flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 10px; }
  .tr-micw .mic-round, .tr-say span { width: 52px; height: 52px; }
  .tr-txt { font-size: 20px; }
}
@media (max-width: 700px) { body[data-page="traducteur"] .head .muted { display: none; } body[data-page="traducteur"] .head { min-height: 0; padding-top: 18px; padding-bottom: 18px; margin-bottom: 12px; } body[data-page="traducteur"] .head h1 { font-size: 26px; margin: 0; } }

/* Accueil : le menu ☰ comme partout ailleurs */
body.portal-on.nav-open .side { display: flex; z-index: 2100; }
body.portal-on.nav-open .scrim { display: block; z-index: 2050; }
.pv-burger { position: absolute; top: 16px; left: 16px; z-index: 5; width: 46px; height: 46px; border-radius: 14px; border: 1px solid #2a2a2e; background: rgba(255,255,255,.06); display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.pv-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; }
.portal { position: relative; }

/* Épicerie intelligente */
.epi { border: 2px solid var(--brand, #a01428); }
.epi-h { display: flex; gap: 12px; align-items: center; } .epi-h b { display: block; font-size: 17px; } .epi-ic { font-size: 30px; }
.epi-acts { margin-top: 12px; flex-wrap: wrap; gap: 8px; }
.epi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; grid-column: 1 / -1; }
.epi-rec summary { cursor: pointer; } .epi-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-top: 10px; }
@media (max-width: 700px) { .epi-cols { grid-template-columns: 1fr; } .epi-acts .btn { flex: 1 1 100%; } }

.inv { border: 2px solid var(--brand, #a01428); } .inv-t { line-height: 1.5; } .inv-t .small { display: block; margin-top: 4px; }
.inv-acts { margin-top: 10px; gap: 8px; }
.inv-ban { max-width: 640px; margin: 0 auto 14px; } .inv-ban .inv { background: #fff; color: #111; }

.epi-step { margin: 16px 0 8px; } .epi-gen { width: 100%; padding: 14px; font-size: 16px; }
.epi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.epi-card { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card, #fff); }
.epi-card.ok { border-color: #2f9e5b; }
.epi-ph { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #f3e3df, #e9d3cc); display: grid; place-items: center; }
.epi-ph span { font-size: 40px; } .epi-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.epi-badge { position: absolute; top: 8px; left: 8px; background: #2f9e5b; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.epi-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; } .epi-body b { font-size: 15.5px; } .epi-body ul, .epi-body ol { padding-left: 18px; font-size: 13.5px; }
.epi-cbtn { padding: 0 12px 12px; gap: 6px; } .epi-cbtn .btn { flex: 1; }
.epi-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; vertical-align: middle; margin-right: 8px; }
@media (max-width: 700px) { .epi-grid { grid-template-columns: 1fr; } .epi-ph { aspect-ratio: 2 / 1; } }

.epi-aisle { margin: 10px 0; } .epi-shop { list-style: none; padding: 0; margin: 6px 0 0; }
.epi-shop li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.epi-q { font-weight: 800; min-width: 92px; } .epi-n { flex: 1; font-weight: 600; } .epi-deal { font-size: 12.5px; color: #b42318; font-weight: 600; }
.aisle-bar { position: sticky; top: 64px; z-index: 6; display: flex; gap: 6px; overflow-x: auto; padding: 8px 2px; margin: 6px 0 10px; background: var(--bg, #f4f2ee); align-items: center; scrollbar-width: none; }
.aisle-bar .chip { white-space: nowrap; flex: none; } .aisle-bar > span { flex: none; }
.aisle-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.aisle-it { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.aisle-it span { flex: 1; } .aisle-it.on { opacity: .6; } .aisle-it small { font-size: 11px; } .aisle-q { width: 64px; padding: 4px 6px; font-size: 14px; }
@media (max-width: 700px) { .aisle-bar { top: 58px; } .aisle-pick { grid-template-columns: 1fr; } }

.epi-q { margin: 14px 0 8px; font-size: 16px; }
.epi-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.epi-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--card, #fff); cursor: pointer; color: inherit; font: inherit; }
.epi-mode:hover { border-color: var(--brand, #a01428); } .epi-mode span { font-size: 26px; } .epi-mode b { font-size: 16px; } .epi-mode small { color: var(--muted, #777); line-height: 1.4; }
.epi-combo { margin: 10px 0 0; } .epi-over { border-left-color: #b42318 !important; } .epi-ok { border-left-color: #2f9e5b !important; }
.aisle-bar.pulse { box-shadow: 0 0 0 3px var(--brand, #a01428); border-radius: 12px; transition: box-shadow .3s; }
@media (max-width: 700px) { .epi-modes { grid-template-columns: 1fr; } }

.ev-tasks { margin-top: 18px; } .ev-tline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; color: inherit; margin-bottom: 8px; }
.ev-tn { flex: 1; min-width: 180px; display: flex; flex-direction: column; } .ev-go { font-weight: 700; color: var(--brand, #a01428); }
/* Disponibilités des villas (calendrier commun) */
.avail .f{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.avail .f label{flex:1 1 150px}
.av-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}
.av{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;border:1px solid var(--line,#ddd)}
.av.ok{background:rgba(31,143,78,.08);border-color:rgba(31,143,78,.35)}
.av.no{background:rgba(148,17,31,.05)}
.av-i{font-size:20px;line-height:1}
/* Calendrier commun : vue par mois */
.cal-tabs{margin:4px 0 10px;gap:8px}
.mcal-t{margin:0 0 10px;text-transform:none}
.mcal-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.mcal .mh{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;opacity:.6;text-align:center;padding:2px 0}
.mc{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;min-height:92px;padding:6px;border-radius:10px;border:1px solid var(--line,#e2ddd5);background:var(--card,#fff)}
.mc:hover{border-color:var(--ink,#111)}
.mc.out{opacity:.38}
.mc.past{opacity:.6}
.mc.today{box-shadow:inset 0 0 0 2px #94111f}
.mc.sel{background:rgba(148,17,31,.09);border-color:#94111f}
.mc-n{font-weight:700;font-size:.95rem}
.mc-v{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.mc-v i{font-style:normal;font-size:.7rem;font-weight:700;text-align:center;border-radius:5px;padding:2px 0;color:#fff;line-height:1.25}
.mc-v i.free{background:transparent;color:#1f8f4e;box-shadow:inset 0 0 0 1.5px rgba(31,143,78,.55)}
.mc-v i.b-airbnb{background:var(--airbnb)} .mc-v i.b-booking{background:var(--booking)} .mc-v i.b-direct{background:var(--direct)}
.mc-v i.b-ancien{background:var(--legacy)} .mc-v i.b-site{background:var(--site)} .mc-v i.b-ical{background:var(--ical)}
.lg.free{display:inline-block;width:12px;height:12px;border-radius:3px;box-shadow:inset 0 0 0 1.5px rgba(31,143,78,.7);vertical-align:-2px;margin-right:4px}
.mcal-leg{margin-top:10px}
@media (max-width:700px){.mcal{padding:10px}.mcal-g{gap:2px}.mc{min-height:66px;padding:3px;border-radius:7px;gap:2px}.mc-n{font-size:.78rem}.mc-v{gap:2px}.mc-v i{font-size:.56rem;border-radius:3px;padding:1px 0}}
.mcal{overflow:hidden}.mc{min-width:0;overflow:hidden}.mc-v{min-width:0}.mc-v i{min-width:0;overflow:hidden}
.mcal{min-width:0;max-width:100%;box-sizing:border-box}.mcal-g{width:100%}
/* Sosúa Ocean Village : deux boutons par arrivée */
.sovl{display:flex;flex-direction:column;gap:14px}
.sovr+.sovr{border-top:1px solid var(--line,#e2ddd5);padding-top:14px}
.sovh{line-height:1.45}
/* Musique des vidéos */
.mus-pick{margin:8px 0;padding:10px;border-radius:12px;background:rgba(148,17,31,.05);border:1px solid var(--line,#e2ddd5)}
.mus-list{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.mus{all:unset;cursor:pointer;padding:7px 11px;border-radius:999px;border:1px solid var(--line,#d9d3c9);font-size:.85rem;background:var(--card,#fff)}
.mus.on{background:#94111f;color:#fff;border-color:#94111f}
/* Assistant de campagne (classe swz : « .sw » est déjà la pastille de couleur ronde) */
.swz .sw-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.swz .sw-chk { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font-weight: 600; cursor: pointer; }
.swz .sw-chk input { width: auto; margin: 0; }
.swz .sw-q { display: flex; flex-direction: column; gap: 6px; } .swz .sw-l { font-size: 13px; font-weight: 600; color: var(--muted); }
.swz .sw-chk{flex-direction:row}
/* Engagement communautaire */
.eng .eng-c{width:100%;margin-top:8px;box-sizing:border-box}
.eng.eng-done{opacity:.6}
/* Date et heure : l'heure passe sous la date quand la place manque (elle était écrasée) */
.hr-dt{flex-wrap:wrap}
.hr-dt .dob-wrap{flex:1 1 100%}
.hr-dt > .hr-in{flex:1 1 140px;min-width:140px}
/* Onglet Campagnes d'une propriété */
.camp-new{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-left:4px solid var(--brand,#94111f)}
.camp-new > div:first-child{flex:1 1 320px;min-width:0}
.camp-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line,#e8e3dc);color:inherit;text-decoration:none}
.camp-row:first-of-type{border-top:0}.camp-row:hover b{text-decoration:underline}
/* Banque de vidéos */
.vthumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.vthumbs video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:10px;background:#000;display:block;cursor:pointer}
.wa-list{display:flex;flex-direction:column;gap:8px}.wa-p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 0;border-bottom:1px solid var(--line,#e5e7eb)}.wa-p:last-child{border-bottom:0}.wa-n{flex:1 1 110px;min-width:0;display:flex;flex-direction:column}.wa-b{display:flex;gap:6px;align-items:center}
.bud-add{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding:10px;border:1px dashed var(--line,#d6d3d1);border-radius:12px}.bud-add input,.bud-add select{width:100%}
.langsel{width:auto;padding:2px 6px;font-size:13px;margin:4px 0;border-radius:8px}
.bud-name{cursor:pointer}.bud-name:hover b{text-decoration:underline}.bud-pen{font-size:12px;opacity:.55}
#pv-bilan{margin:12px 0}#pv-bilan .bilan{background:#fff;color:#1c1917}#pv-bilan .bilan b,#pv-bilan .bilan li,#pv-bilan .bilan p,#pv-bilan .bilan h3,#pv-bilan .bilan strong{color:#1c1917}#pv-bilan .bilan .muted{color:#57534e}
.steps-dem{background:#fff7e6;border:1px solid #f5c26b;border-radius:12px;padding:10px 12px;line-height:1.5;color:#1c1917}.inv-msg.msg-first{border:2px solid var(--accent,#c8102e)}.big-send{font-size:1.05rem;padding:12px 18px}
.inv-msg{scroll-margin-top:90px}

/* Images créées par l'agent */
.vis-list{display:flex;flex-direction:column;gap:10px;margin:6px 0 10px}
.vis-card{background:var(--card,#fff);border:1px solid var(--line,#e5e5e5);border-radius:14px;padding:8px;width:100%;max-width:420px;box-sizing:border-box;min-width:0}
.vis-list{min-width:0;max-width:100%}
.chat:has(.vis-list),#ia-out{grid-template-columns:minmax(0,1fr)}
.vis-img img{display:block;width:100%;height:auto;border-radius:10px}
.vis-wait{padding:40px 10px;text-align:center}
.vis-btns{margin-top:8px;gap:10px;align-items:center;flex-wrap:wrap}

/* Sujets de l'agent (historique des conversations) */
.conv-bar{gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.conv-cur{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.asst-topic{padding:6px 16px;font-weight:600;border-bottom:1px solid var(--line,#e5e5e5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conv-pane{position:absolute;left:0;right:0;top:56px;bottom:0;background:var(--bg,#f6f4f2);z-index:5;overflow-y:auto;padding:12px 14px;box-sizing:border-box}
.conv-pick .conv-top{justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.conv-q{width:100%;box-sizing:border-box;margin-bottom:10px}
.conv-list{display:flex;flex-direction:column;gap:8px}
.conv-it{position:relative;background:var(--card,#fff);border:1px solid var(--line,#e5e5e5);border-radius:12px;padding:10px 12px;cursor:pointer;min-width:0}
.conv-it.on{border-color:var(--accent,#bd535f);box-shadow:0 0 0 1px var(--accent,#bd535f) inset}
.conv-it:hover{border-color:#bbb}
.conv-tt{font-weight:600;padding-right:110px;overflow-wrap:anywhere}
.conv-pv{margin-top:4px;opacity:.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.conv-acts{position:absolute;top:6px;right:6px;display:flex;gap:4px}
.conv-acts .btn{padding:2px 7px;min-height:0}

.upd-bar{position:fixed;left:16px;right:16px;margin:0 auto;width:auto;transform:none;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:120;background:#111;color:#fff;border-radius:14px;padding:10px 12px 10px 16px;display:flex;gap:12px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.3);max-width:440px;box-sizing:border-box;font-size:.92rem}
.upd-bar span{flex:1;min-width:0}
.upd-bar .btn{white-space:nowrap;flex:none}

/* Historique complet de l'assistant (chronologique) */
.jr-day{position:sticky;top:0;z-index:1;background:var(--card,#fff);font-weight:700;padding:10px 0 6px;margin-top:6px;border-bottom:1px solid var(--line,#e5e5e5);font-size:.92rem}
.jr-it{padding:10px 12px;border-radius:12px;margin:8px 0;background:var(--bg,#f6f4f2);cursor:pointer;min-width:0}
.jr-it.me{background:#fff;border:1px solid var(--line,#e5e5e5);margin-left:12%}
.jr-it:not(.me){margin-right:6%}
.jr-it:hover{outline:1px solid #bbb}
.jr-who{margin-bottom:4px;font-weight:600}
.jr-txt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.jr-more{text-align:center;margin:6px 0 10px}

/* Assistant façon messagerie IA : sujets sur le côté, conversation au centre, zone d'écriture en bas */
.gpt{display:grid;grid-template-columns:minmax(0,1fr);gap:0;position:relative;min-height:calc(100dvh - 150px)}
.gpt-main{display:flex;flex-direction:column;min-width:0;max-width:860px;width:100%;margin:0 auto}
.gpt-top{display:flex;align-items:center;gap:10px;padding:4px 0 10px;border-bottom:1px solid var(--line,#e5e5e5);margin-bottom:10px;position:sticky;top:0;z-index:3;background:var(--bg,#f6f4f2)}
.gpt-title{flex:1;min-width:0;font-weight:700;font-size:1.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.gpt-burger{width:42px;height:42px;border-radius:50%;border:1px solid var(--line,#ddd);background:var(--card,#fff);font-size:1.15rem;cursor:pointer;flex:none}
.gpt .gpt-chat{flex:1;min-height:40vh;height:auto;max-height:none;overflow:visible;display:flex;flex-direction:column;gap:12px;background:transparent;border:0;border-radius:0;padding:4px 0 12px}
.gpt-chips{margin:6px 0 10px;flex-wrap:wrap}
.gpt-form{display:flex;align-items:flex-end;gap:8px;background:var(--card,#fff);border:1px solid var(--line,#ddd);border-radius:26px;padding:6px 8px;position:sticky;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:3;box-shadow:0 6px 24px -10px rgba(0,0,0,.25)}
.gpt-form textarea{flex:1;min-width:0;border:0;outline:0;resize:none;background:transparent;font:inherit;font-size:1rem;padding:10px 4px;max-height:180px}
.gpt-form .ag-att{border-radius:50%;width:40px;height:40px;padding:0;display:grid;place-items:center;font-size:1.3rem;flex:none}
.gpt-send{border-radius:50%;width:42px;height:42px;padding:0;font-size:1.2rem;flex:none}
.gpt-form #mic{flex:none}
.gpt-opts{gap:14px;margin:8px 4px 12px;flex-wrap:wrap}
.gpt-acts{margin-top:4px}.gpt-acts summary,.gpt-ia summary{cursor:pointer}
.gpt-ia{margin-bottom:10px}
.gpt-side{position:fixed;top:0;bottom:0;left:0;width:min(300px,86vw);background:#171717;color:#eee;z-index:90;transform:translateX(-105%);transition:transform .2s ease;display:flex;flex-direction:column;padding:calc(14px + env(safe-area-inset-top,0px)) 12px 14px;box-sizing:border-box;overflow:hidden}
.gpt-side.open{transform:none}
.gpt-scrim{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:89;display:none}.gpt-scrim.on{display:block}
.gpt-side-top{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.gpt-newbtn{flex:1;border-radius:22px}
.gpt-x{background:transparent;border:0;color:#bbb;font-size:1.6rem;cursor:pointer;width:36px}
.gpt-search{width:100%;box-sizing:border-box;border-radius:12px;border:1px solid #333;background:#262626;color:#eee;padding:9px 12px;margin-bottom:8px}
.gpt-link{color:#ddd;text-decoration:none;padding:8px 10px;border-radius:10px;display:block;font-size:.92rem;margin-bottom:6px}.gpt-link:hover{background:#262626}
.gpt-list{overflow-y:auto;flex:1;min-height:0;margin:0 -4px;padding:0 4px}
.gpt-grp{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#8a8a8a;margin:14px 8px 4px}
.gpt-it{position:relative;display:flex;align-items:center;gap:6px;padding:9px 10px;border-radius:10px;cursor:pointer;color:#e8e8e8}
.gpt-it:hover,.gpt-it.on{background:#2a2a2a}
.gpt-it-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gpt-dots{background:transparent;border:0;color:#aaa;font-size:1.1rem;cursor:pointer;padding:0 4px;flex:none}
.gpt-menu{position:absolute;right:6px;top:100%;z-index:4;background:#2f2f2f;border-radius:10px;padding:4px;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.gpt-menu[hidden]{display:none}
.gpt-menu button{background:transparent;border:0;color:#eee;text-align:left;padding:8px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}.gpt-menu button:hover{background:#3a3a3a}
.gpt-it .gpt-menu{top:auto}
@media (min-width:1100px){
  .gpt{grid-template-columns:270px minmax(0,1fr);gap:18px}
  .gpt-side{position:sticky;top:12px;height:calc(100dvh - 120px);transform:none;border-radius:16px;z-index:2;width:auto}
  .gpt-scrim,.gpt-x,#gpt-open{display:none !important}
}

/* Assistant : version épurée */
.gpt-hello{text-align:center;font-size:1.6rem;font-weight:700;margin:14vh 0 22px;line-height:1.3}
.gpt-hello span{display:block;font-size:1.05rem;font-weight:400;opacity:.65;margin-top:6px}
.gpt-chips{display:flex;flex-direction:column;gap:4px;margin:0 0 12px}
.gpt-sug{background:transparent;border:0;text-align:left;padding:10px 6px;font:inherit;font-size:.98rem;cursor:pointer;border-radius:10px;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gpt-sug:hover{background:rgba(0,0,0,.05)}
.gpt-bell{position:relative;font-size:1rem}.gpt-bell span{position:absolute;top:-4px;right:-4px;background:#c0392b;color:#fff;border-radius:10px;font-size:.7rem;padding:1px 5px}
.gpt-set{margin-top:8px;border-top:1px solid #333;padding-top:8px;color:#ddd;font-size:.9rem}.gpt-set summary{cursor:pointer;padding:6px 4px}
.gpt-set .gpt-opts{display:flex;flex-direction:column;gap:8px;margin:6px 4px}
.gpt-set .card{background:#222;color:#eee;border-color:#333;padding:10px;margin-top:8px}
.gpt-acts{margin-bottom:10px}
.gpt .gpt-chat[hidden],.gpt-hello[hidden],.gpt-chips[hidden]{display:none}
/* Assistant épuré : zone d'écriture d'un seul bloc */
.gpt-form textarea,.gpt-form textarea:focus{border:0 !important;outline:0 !important;box-shadow:none !important;min-height:0 !important;background:transparent !important;padding:10px 4px !important}
.gpt-form:focus-within{border-color:#999}
.gpt-form .mic-round{position:static !important;width:40px !important;height:40px !important;box-shadow:none !important;background:transparent !important;color:inherit !important;border:1px solid var(--line,#ddd) !important}
.gpt-form .mic-round.on,.gpt-form .mic-round[aria-pressed="true"]{background:var(--brand) !important;color:#fff !important}
.gpt-form .ag-att{background:transparent;border:1px solid var(--line,#ddd)}
.gpt-send{background:#111;border-color:#111}
.gpt-sug{max-width:100%}
.gpt-newbtn{background:#2a2a2a !important;border:1px solid #3a3a3a !important;color:#fff !important}
#vm-all .cardhead h2{display:none}

.vm-ai{margin-top:6px;padding:8px 10px;border-radius:10px;background:rgba(29,143,153,.07)}
.vm-ai:empty{display:none}
.agp-ack{margin:0 0 10px;padding:10px 14px;border-radius:14px;background:color-mix(in srgb,var(--accent,#c0392b) 10%,transparent);border:1px solid color-mix(in srgb,var(--accent,#c0392b) 25%,transparent);font-size:.95rem;line-height:1.4}
.pva-ack:empty{display:none}.pva-ack{margin-top:12px}
.agp-f{gap:10px}.agp-f .agp-chk{display:flex;gap:8px;align-items:center}
@keyframes agpPulse{0%,100%{box-shadow:0 0 0 0 rgba(192,57,43,.45)}50%{box-shadow:0 0 0 8px rgba(192,57,43,0)}}
.agp-pulse{animation:agpPulse 1.4s ease-in-out infinite}
.bilan-head{flex-wrap:wrap}.bilan-head > div:nth-child(2){min-width:150px}
@media (max-width:560px){.bilan-act{flex-basis:100%;justify-content:flex-start;gap:6px}}
.nb-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.nb-h > span.row{flex-wrap:wrap;gap:6px}
@media (max-width:560px){.nb-h > span.row{flex-basis:100%}}
.agp-l{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.agp-seg{display:flex;gap:6px;flex-wrap:wrap}.agp-seg button{flex:1;min-width:120px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:var(--card,#fff);font:inherit;cursor:pointer}
.agp-seg button.on{border-color:var(--accent,#c0392b);background:color-mix(in srgb,var(--accent,#c0392b) 12%,transparent);font-weight:700}
.agp-voix{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.agp-v{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden}.agp-v.on{border-color:var(--accent,#c0392b);background:color-mix(in srgb,var(--accent,#c0392b) 10%,transparent)}
.agp-v button{border:0;background:none;font:inherit;cursor:pointer;padding:9px 10px}.agp-pick{flex:1;text-align:left}.agp-play{border-left:1px solid var(--line)!important;font-size:15px}
.agp-pick{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.agp-voix{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}
.agp-f label.agp-chk{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:10px;text-align:left;font-weight:600}
.agp-f label.agp-chk input{width:20px;height:20px;flex:none;margin:0}
.agp-v.on .agp-pick{font-weight:700}
/* Agent de l'accueil façon ChatGPT */
.mbox.pva-box{width:min(1100px,100%);max-width:1100px;height:min(88vh,900px);display:flex;flex-direction:column;padding-bottom:0}
.mbox.pva-box .mcontent{flex:1;min-height:0;display:flex;padding:0;overflow:hidden}
.pva-wrap{position:relative;display:flex;flex:1;min-width:0;min-height:0}
.pva-side{display:none;flex-direction:column;gap:8px;width:270px;flex:none;padding:10px;border-right:1px solid var(--line);overflow:auto;background:var(--bg2,rgba(0,0,0,.03))}
.pva-wrap.side-on .pva-side{display:flex}
.pva-side-top{display:flex;gap:6px;align-items:center}.pva-side-top .btn{flex:1}
.pva-x{display:none;border:0;background:none;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px}
.pva-q{width:100%;padding:8px 12px;border-radius:12px;border:1px solid var(--line);font:inherit;background:var(--card,#fff)}
.pva-list{flex:1;min-height:80px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.pva-g{font-size:12px;font-weight:700;opacity:.6;margin:10px 4px 2px}
.pva-it{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;border:0;background:none;border-radius:10px;padding:8px 10px;cursor:pointer;font:inherit;width:100%}
.pva-it b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pva-it small{font-size:12px;opacity:.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pva-it:hover,.pva-it.on{background:color-mix(in srgb,var(--accent,#c0392b) 10%,transparent)}
.pva-set summary{font-size:13px;cursor:pointer;opacity:.8}
.pva-scrim{display:none}
.pva-main{flex:1;min-width:0;display:flex;flex-direction:column}
.pva-top{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line)}
.pva-top b{flex:1;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pva-burger{border:1px solid var(--line);background:var(--card,#fff);border-radius:12px;width:40px;height:40px;font-size:20px;cursor:pointer;flex:none}
.pva-chat{flex:1;min-height:0;overflow:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.pva-u{display:flex;justify-content:flex-end}.pva-u .bubble{max-width:85%}
.pva-a{max-width:100%}
.pva-hello{margin:auto 0;text-align:center;padding:20px 8px}.pva-hello h3{font-size:22px;margin:0 0 8px}
.pva-form{padding:8px 12px 12px;border-top:1px solid var(--line)}
.pva-in{display:flex;align-items:flex-end;gap:6px;border:1px solid var(--line);border-radius:26px;padding:6px 6px 6px 8px;background:var(--card,#fff)}
.pva-in textarea{flex:1;min-width:0;border:0;outline:0;resize:none;font:inherit;font-size:16px;background:transparent;padding:9px 4px;max-height:35vh}
.pva-plus{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;flex:none;border:1px solid var(--line)}
.pva-mic .mic-round{position:static}
.pva-send{width:40px;height:40px;border-radius:50%;border:0;background:#111;color:#fff;font-size:20px;font-weight:700;cursor:pointer;flex:none}
.pva-send:disabled{opacity:.4}
@media (max-width:899px){
  .mbox.pva-box{height:100dvh;max-height:100dvh;border-radius:0;width:100%}
  .pva-side{position:absolute;inset:0 auto 0 0;width:min(84%,320px);z-index:5;background:var(--card,#fff);box-shadow:4px 0 24px rgba(0,0,0,.25)}
  .pva-wrap.side-on .pva-scrim{display:block;position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:4}
  .pva-x{display:block}
}
.pva-in textarea{min-height:0!important;height:42px;border:0!important;box-shadow:none!important;outline:0!important;border-radius:0!important;padding:10px 4px!important;line-height:1.35;background:transparent!important}
.pva-in textarea:focus{box-shadow:none!important}
.pva-in{align-items:center}
@media (max-width:899px){.modal:has(.pva-box){padding:0!important;align-items:stretch!important;justify-content:stretch!important}.mbox.pva-box{margin:0!important;max-width:100%!important;height:100dvh!important}.mbox.pva-box .mtop{padding:10px 12px}}
.agp-voix{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
/* Mobile / thème sombre : icônes et boutons lisibles, panneau de gauche qui défile jusqu'en bas */
.gpt-burger,.pva-burger,.pva-x{color:inherit}
.gpt-side{overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))!important}
.gpt-side > *{flex-shrink:0}
.pva-side{overscroll-behavior:contain;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
.agp-seg button,.agp-v button{color:inherit}
.agp-f input[type=text],.agp-f input:not([type]){color:inherit}
.gpt-side .agp-seg button,.gpt-side .agp-v{background:#262626;border-color:#3a3a3a;color:#eee}
.gpt-side .agp-seg button.on,.gpt-side .agp-v.on{background:color-mix(in srgb,var(--accent,#c0392b) 30%,#262626);border-color:var(--accent,#c0392b);color:#fff}
.gpt-side .agp-l,.gpt-side .agp-chk{color:#eee}
.gpt textarea::placeholder,.pva-in textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sej .card h2{font-size:1.1rem}.sej-m{padding:6px 0}.sej hr{border:0;border-top:1px solid var(--line);margin:8px 0}
.ag-stop{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:9999;display:flex;align-items:center;gap:10px;padding:12px 20px;border-radius:999px;border:0;background:#c0392b;color:#fff;font:inherit;font-weight:700;font-size:15px;box-shadow:0 6px 24px rgba(0,0,0,.35);cursor:pointer;animation:agpPulse 1.4s ease-in-out infinite}
.ag-stop-ic{width:12px;height:12px;background:#fff;border-radius:2px;display:inline-block}
.ag-pick{position:fixed;z-index:10000;display:flex;flex-direction:column;min-width:240px;padding:6px;border-radius:16px;background:var(--card,#1c1c1c);color:inherit;border:1px solid var(--line,#333);box-shadow:0 12px 40px rgba(0,0,0,.4)}
.ag-pick button{border:0;background:none;color:inherit;font:inherit;font-size:16px;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer}
.ag-pick button:hover,.ag-pick button:focus{background:color-mix(in srgb,var(--accent,#c0392b) 14%,transparent)}
/* Liste des sujets (☰) lisible en thème sombre */
.pva-side,.pva-it,.pva-it b,.pva-g,.pva-set summary,.pva-q{color:inherit}
.pva-it small{color:inherit;opacity:.65}
.pva-q::placeholder{color:inherit;opacity:.55}
.pva-main .pva-top b{color:inherit}
.pva-row{display:flex;align-items:stretch;gap:2px;border-radius:10px}
.pva-row .pva-it{flex:1;min-width:0}
.pva-del{flex:none;border:0;background:none;color:inherit;opacity:.55;font-size:16px;padding:0 10px;border-radius:10px;cursor:pointer}
.pva-del:hover,.pva-del:focus{opacity:1;background:color-mix(in srgb,#c0392b 18%,transparent)}
.jr-del{border:0;background:none;color:inherit;opacity:.55;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:8px;margin-left:4px}
.jr-del:hover{opacity:1;background:color-mix(in srgb,#c0392b 18%,transparent)}
/* Barre verte d'avancement de l'agent (5 étapes) */
.agp-prog{margin:6px 0 2px;max-width:420px}
.agp-bar{display:flex;gap:4px}
.agp-bar i{flex:1;height:9px;border-radius:5px;background:rgba(127,127,127,.22);position:relative;overflow:hidden}
.agp-bar i.on{background:#16a34a}
.agp-bar i.cur::after{content:"";position:absolute;inset:0 auto 0 0;width:0;background:#22c55e;border-radius:5px;animation:agpfill 28s cubic-bezier(.15,.7,.3,1) forwards}
.agp-bar i.cur::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:translateX(-100%);animation:agpshine 1.4s linear infinite;z-index:1}
@keyframes agpfill{to{width:92%}}
@keyframes agpshine{to{transform:translateX(100%)}}
.agp-lbl{font-size:.82rem;opacity:.75;margin-top:5px}
@media (prefers-reduced-motion:reduce){.agp-bar i.cur::after{animation:none;width:50%}.agp-bar i.cur::before{animation:none;display:none}}
/* Accueil : choisir quand l'agent parle (🔊 / 🔇) */
.pv-voix{flex:0 0 56px;border-radius:16px;border:1px solid var(--line,rgba(127,127,127,.3));background:var(--card,#fff);color:inherit;font-size:1.5rem;cursor:pointer}
.pv-voix.off{opacity:.75}
.agv-menu{position:fixed;z-index:9999;width:min(320px,calc(100vw - 16px));background:var(--card,#fff);color:var(--ink,#111);border:1px solid var(--line,rgba(127,127,127,.3));border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.25);padding:10px;display:flex;flex-direction:column;gap:4px}
.agv-menu>b{font-size:.9rem;padding:4px 6px 6px}
.agv-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:1px solid transparent;border-radius:10px;padding:8px 10px;background:none;color:inherit;cursor:pointer}
.agv-menu button small{opacity:.7}
.agv-menu button.on{border-color:#16a34a;background:rgba(22,163,74,.1)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .agv-menu{background:#1f2026;color:#f2f2f2}}
:root[data-theme="dark"] .agv-menu{background:#1f2026;color:#f2f2f2}
/* ═══ Chat de l'agent : tout noir et simple — images pleine largeur, texte dessous, la conversation descend ═══ */
.mbox.pva-box{background:#0b0b0c!important;color:#ececec;border:0}
.mbox.pva-box>.mtop{display:none}
.mbox.pva-box .pva-wrap,.mbox.pva-box .pva-main{background:#0b0b0c;color:#ececec}
.mbox.pva-box .pva-top{border:0;padding:10px 12px;gap:8px;background:linear-gradient(#0b0b0c 70%,transparent);position:relative;z-index:2}
.mbox.pva-box .pva-top b{font-size:15px;font-weight:600;opacity:.85}
.mbox.pva-box .pva-burger{width:44px;height:44px;border-radius:50%;border:0;background:#1f1f22;color:#ececec;font-size:18px;display:flex;align-items:center;justify-content:center}
.mbox.pva-box .pva-chat{padding:8px 16px 24px;gap:18px;scroll-behavior:auto}
.mbox.pva-box .pva-chat>*{width:100%;max-width:760px;margin-left:auto;margin-right:auto}
.mbox.pva-box .pva-u .bubble{background:#2a2a2d!important;color:#f4f4f5!important;border:0!important;border-radius:22px;padding:12px 16px;font-size:16px;line-height:1.45;max-width:82%;box-shadow:none}
.mbox.pva-box .pva-a{color:#ececec}
.mbox.pva-box .pva-task{border:0;background:none;padding:0;margin:0 0 6px;border-radius:0}
.mbox.pva-box .pva-h{font-size:12px;opacity:.55;gap:6px}
.mbox.pva-box .pva-h b{font-weight:600}
.mbox.pva-box .pva-r{font-size:16.5px;line-height:1.6;margin:10px 0;color:#ececec}
.mbox.pva-box .pva-r strong,.mbox.pva-box .pva-r b{color:#fff}
.mbox.pva-box .pva-msg{font-weight:500;font-size:16px;color:#ececec}
.mbox.pva-box .agp-ack{font-size:13.5px;opacity:.6;margin:0 0 8px}
.mbox.pva-box .vis-list{display:flex;flex-direction:column;gap:14px;margin:6px 0 4px}
.mbox.pva-box .vis-card{border:0;background:none;padding:0;box-shadow:none}
.mbox.pva-box .vis-img img{width:100%;height:auto;display:block;border-radius:18px;background:#151517}
.mbox.pva-box .vis-btns{margin-top:8px;gap:10px;align-items:center}
.mbox.pva-box .vis-btns .btn{background:#1f1f22;color:#ececec;border:0;border-radius:999px}
.mbox.pva-box .vis-btns .small{color:#9a9aa0}
.mbox.pva-box .pva-go{background:none!important;color:#9ecbff!important;border:0!important;padding:4px 0!important;box-shadow:none!important}
.mbox.pva-box .pva-hello{color:#ececec}
.mbox.pva-box .pva-form{border:0;padding:6px 12px calc(12px + env(safe-area-inset-bottom,0px));background:transparent}
.mbox.pva-box .pva-form>*{max-width:760px;margin-left:auto;margin-right:auto}
.mbox.pva-box .pva-in{background:#232326;border:0;border-radius:30px;padding:6px 6px 6px 8px;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.mbox.pva-box .pva-in textarea{color:#f4f4f5!important;background:transparent!important}
.mbox.pva-box .pva-in textarea::placeholder{color:#9a9aa0}
.mbox.pva-box .pva-plus{border:0;background:none;color:#ececec;font-size:26px}
.mbox.pva-box .pva-send{background:#fff;color:#000;width:42px;height:42px}
.mbox.pva-box .pva-side{background:#111113!important;color:#ececec;border-color:#222}
.mbox.pva-box .pva-q{background:#1f1f22;color:#ececec;border-color:#2a2a2d}
.mbox.pva-box .pva-down{position:absolute;left:50%;transform:translateX(-50%);bottom:96px;width:42px;height:42px;border-radius:50%;border:1px solid #333;background:#1f1f22;color:#fff;font-size:20px;z-index:3;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.5)}
.mbox.pva-box .pva-main{position:relative}
.mbox.pva-box .agp-bar i{background:rgba(255,255,255,.14)}
.mbox.pva-box .agp-lbl{color:#9a9aa0}
@media (min-width:900px){.mbox.pva-box .pva-close{display:flex}}
.mbox.pva-box .agp-ack{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;color:#a1a1a6}
.mbox.pva-box .pva-in textarea{resize:none!important;min-height:44px!important;max-height:30vh}
.mbox.pva-box .pva-hello h3,.mbox.pva-box h3{color:#f4f4f5}.mbox.pva-box .pva-hello p{color:#a1a1a6}
/* 💳 Relevés et abonnements */
.rel-drop{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.rel-drop #rel-wait{flex-basis:100%}
.rel-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 12px}
.rel-kpi{display:flex;flex-direction:column;gap:4px;margin:0}.rel-kpi small{opacity:.7}.rel-kpi b{font-size:22px}
.rel-list{display:flex;flex-direction:column}.rel-row{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 4px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}.rel-row .small{grid-column:1}.rel-row .rel-amt{grid-row:1/3;grid-column:2;align-self:center}
.rel-amt{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.rel-abos{display:flex;flex-direction:column;gap:10px}
.rel-abo{border:1px solid var(--line);border-radius:12px;padding:10px 12px;border-left:4px solid var(--line)}
.rel-abo.on{border-left-color:#16a34a}.rel-abo.no{border-left-color:#dc2626}.rel-abo.mid{border-left-color:#d97706}.rel-abo.done{opacity:.6}
.rel-abo-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.rel-btns{gap:6px;margin-top:8px;flex-wrap:wrap}
.rel-annul{margin-top:10px;padding:10px;border-radius:10px;background:color-mix(in srgb,#dc2626 8%,transparent)}.rel-annul ol{margin:6px 0 6px 18px;padding:0}
.rel-mail{white-space:pre-wrap;font:inherit;font-size:13px;background:var(--card,#fff);border:1px solid var(--line);border-radius:8px;padding:8px;max-height:240px;overflow:auto}
.rel-alerts ul{margin:0;padding-left:18px}.rel-alerts li{margin:4px 0}
.rel-bars{display:flex;flex-direction:column;gap:8px}
.rel-bar{display:grid;grid-template-columns:minmax(110px,190px) 1fr auto;gap:10px;align-items:center;font-size:14px}
.rel-bar i{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#c0392b var(--w),rgba(127,127,127,.15) var(--w))}
.rel-h3{font-size:15px;margin:16px 0 6px}
.rel-cmp{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.rel-cmp li{display:grid;grid-template-columns:1fr auto;gap:0 10px}.rel-cmp small{grid-column:1/3}
.okx{color:#16a34a}
.rel-tx{display:flex;flex-direction:column}
.rel-l{display:grid;grid-template-columns:44px 1fr auto;gap:8px;padding:8px 2px;border-bottom:1px solid var(--line);align-items:center}
.rel-l small{display:block;font-size:12px}.rel-l.cr .rel-amt{color:#16a34a}.rel-l.pay{opacity:.6}
@media (max-width:600px){.rel-bar{grid-template-columns:1fr auto}.rel-bar i{grid-column:1/3;grid-row:2}}
.mbox.pva-box .agp-bar i.on{background:#16a34a}
.mbox.pva-box .pva-in textarea{height:44px}

/* Aperçu de l'image pendant sa création */
.agp-prev{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:6px 0 8px}
.agp-prev img{width:min(220px,60vw);border-radius:12px;filter:blur(1.5px) saturate(.9);opacity:.92;box-shadow:0 2px 10px rgba(0,0,0,.25);animation:agpPrev 1.6s ease-in-out infinite alternate}
.agp-prev span{font-size:12px;opacity:.75}
@keyframes agpPrev{from{opacity:.75}to{opacity:1}}

/* Clavier ouvert dans le chat de Lisa (téléphone) : on garde la barre du haut et une phrase courte, centrée */
@media (max-width:899px){
  .mbox.pva-box.pva-kb{max-height:none!important}
  .mbox.pva-box.pva-kb .pva-hello{margin:auto 0;padding:8px}
  .mbox.pva-box.pva-kb .pva-hello h3{font-size:20px}
  .mbox.pva-box.pva-kb .pva-hello p{display:none}
}
/* ═══ Sprint Monday × Lisa : fiche de tâche, Kanban, récurrentes, projets, tableau d'équipe, automatisations ═══ */
.t-acts{gap:6px;flex-wrap:wrap}
.tt{color:inherit;text-decoration:none}.tt:hover b{text-decoration:underline}
.pltool .seg{display:inline-flex;gap:4px}
.mbox.tsheet{width:min(760px,100%)}
.ts-head{display:flex;gap:10px;align-items:center;margin:4px 0 2px}
.ts-title{flex:1;font-size:19px;font-weight:700;border:1px solid transparent;border-radius:var(--r-sm);padding:6px 8px;background:transparent;min-width:0;margin:0}
input.ts-title:hover,input.ts-title:focus{border-color:var(--line);background:var(--soft2)}
.ts-st{border-radius:99px;padding:6px 10px;font-weight:600;border:1px solid var(--line);background:var(--soft)}
.ts-st.st-fait{background:rgba(31,122,77,.12);color:var(--good)}.ts-st.st-bloque{background:var(--brand-soft);color:var(--brand)}.ts-st.st-en_cours{background:#fff4e0;color:var(--warn)}
.ts-f{margin-top:10px}
.ts-people{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px 4px 4px;border:1px solid var(--line);border-radius:99px;font-size:13px;cursor:pointer;background:var(--card)}
.chip input{position:absolute;opacity:0;width:1px;height:1px}.chip.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}
.chip:focus-within{outline:2px solid var(--brand);outline-offset:1px}
.lbl{font-size:12.5px;font-weight:600;color:var(--muted)}
.ts-sec{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}
.ts-sec h4{margin:0 0 8px;display:flex;gap:8px;align-items:center}
.ts-sub{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px dashed var(--line)}.ts-sub a{flex:1;color:inherit}.ts-sub.done a{text-decoration:line-through;color:var(--muted)}
.ts-addsub{margin-top:8px}.ts-addsub input{flex:1;min-width:0}
.ts-thread{display:flex;flex-direction:column;gap:10px;max-height:46vh;overflow:auto;padding-right:2px}
.ts-c{background:var(--soft2);border:1px solid var(--line);border-radius:12px;padding:8px 12px}.ts-c.mine{background:var(--brand-soft);border-color:transparent}
.ts-ch{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.ts-ch .lnk{margin-left:auto;background:none;border:0;color:var(--muted);cursor:pointer;text-decoration:underline}
.ts-cb{margin-top:4px;line-height:1.45;overflow-wrap:anywhere}.ment{color:var(--brand)}
.ts-img{max-width:220px;max-height:180px;border-radius:10px;margin-top:6px;display:block}.ts-file{display:inline-block;margin-top:6px}
.ts-compose{margin-top:10px;position:relative}.ts-compose textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;resize:vertical}
.ts-compose .row{margin-top:6px;align-items:center;gap:8px}
.ts-mlist{position:absolute;bottom:100%;left:0;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-hi);padding:4px;display:flex;flex-direction:column;z-index:5;min-width:220px}
.ts-mlist button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:8px;border-radius:8px;cursor:pointer;text-align:left;font:inherit}.ts-mlist button:hover,.ts-mlist button:focus{background:var(--soft)}
.ts-hist{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:4px;font-size:13px}
.btn.danger{color:var(--bad)}
/* Kanban */
.kb-tool{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0}
.kb{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x proximity;align-items:flex-start}
.kb-col{flex:0 0 280px;background:var(--soft);border-radius:var(--r);padding:10px;scroll-snap-align:start;min-height:120px;border:2px solid transparent;transition:border-color .12s,background .12s}
.kb-col.kb-over{border-color:var(--brand);background:var(--brand-soft)}
.kb-col header{display:flex;justify-content:space-between;align-items:center;margin:2px 4px 10px}
.kb-list{display:flex;flex-direction:column;gap:8px}
.kb-card{position:relative;background:var(--card);border-radius:12px;box-shadow:var(--shadow);padding:10px 12px 10px 26px;cursor:grab;user-select:none;border:1px solid var(--line)}
.kb-card:focus-visible{outline:2px solid var(--brand)}.kb-card.done .kb-t{text-decoration:line-through;color:var(--muted)}
.kb-grip{position:absolute;left:4px;top:8px;width:20px;height:28px;display:flex;align-items:center;justify-content:center;color:var(--muted);touch-action:none;cursor:grab;font-size:15px}
.kb-t{display:block;line-height:1.3;margin-bottom:3px}
.kb-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.kb-meta .av{margin-right:-6px;border:2px solid var(--card)}
.kb-mv{margin-left:auto;padding:2px 8px}
.kb-src{opacity:.35}.kb-ghost{position:fixed;z-index:1000;pointer-events:none;transform:rotate(2deg);box-shadow:var(--shadow-hi);opacity:.95}
.kb-empty{text-align:center;padding:14px 0}
.kb-menu{display:flex;flex-direction:column;gap:8px}
@media (max-width:640px){.kb-col{flex-basis:82vw}.mbox.tsheet{border-radius:0;min-height:100vh}.ts-head{flex-wrap:wrap}.ts-st{order:2}}
/* Récurrentes, import */
.rc,.au{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;flex-wrap:wrap}.rc.off,.au.off{opacity:.6}
.rc-days{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.im-p{justify-content:space-between;margin-bottom:6px}
.tblwrap{overflow-x:auto}.tbl{width:100%;border-collapse:collapse}.tbl th,.tbl td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.tbl th{font-size:12.5px;color:var(--muted);font-weight:600}
/* Projets et tableau d'équipe */
.pj-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.pj{text-decoration:none;color:inherit;display:block}.pj:hover{box-shadow:var(--shadow-hi)}
.bar>i{display:block;height:100%;background:var(--brand);border-radius:99px}
.kpis.te-k{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.kpi{padding:14px 16px}.kpi b{display:block;font-size:26px;font-family:var(--display)}.kpi span{color:var(--muted);font-size:13px}
.kpi.late b{color:var(--bad)}.kpi.warn b{color:var(--warn)}.kpi.ok b{color:var(--good)}
.te-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:14px}.te-grid h3{margin-top:0}
.te-p{display:grid;grid-template-columns:1fr 100px auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.te-p .bar{margin:0}
.te-c td.warm{background:#fff4e0}.te-c td.hot{background:var(--brand-soft);color:var(--brand);font-weight:700}.te-c small{display:block}
.te-l{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
@media (max-width:640px){.te-grid{grid-template-columns:1fr}.te-p{grid-template-columns:1fr 70px}}
.kb-meta .av,.ts-people .av,.tasg .av{line-height:1;vertical-align:middle}.kb-meta .av-i{line-height:1}
.f .chip{display:inline-flex;flex-direction:row;width:auto;margin:0;gap:5px;font-size:13px;font-weight:500}
.f .chip.on{font-weight:600}
/* Avatars : la règle .av de la liste des disponibilités (div.av) déformait les initiales partout ; on rétablit les avatars ronds */
span.av.av-i,img.av{display:inline-grid;place-items:center;padding:0;border:0;gap:0;border-radius:50%}
.kb-meta span.av,.kb-meta img.av{border:2px solid var(--card)}

/* ── Sprint 2 : minuterie, planification, chronologie, corbeille, rôles, formulaires */
.ts2-time .row{flex-wrap:wrap;gap:8px;align-items:center}
.ts2-add{gap:6px;margin-left:auto}.ts2-add input{width:80px}
.ts2-tl{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:4px}.ts2-tl li{display:flex;gap:10px;align-items:center;font-size:13px}.ts2-tl li b{margin-left:auto}
.ts2-run{color:var(--accent,#94111f);font-weight:600}
.ts2-deps{display:grid;gap:6px;margin:8px 0}.ts2-dep{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:14px}
#ts2-dep{gap:6px;flex-wrap:nowrap}#ts2-dep select{flex:1;min-width:0}
.f label.ck{flex-direction:row;align-items:center;gap:8px}
.tm-pill{position:fixed;right:14px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:60;display:flex;gap:6px;align-items:center;max-width:calc(100vw - 28px);padding:9px 14px;border-radius:999px;border:0;background:#111;color:#fff;font:inherit;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer}
.tm-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}
.cb-l{list-style:none;margin:0;padding:0}.cb-l li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line,#eee)}.cb-l li:last-child{border-bottom:0}.cb-l li>div{min-width:0}
.cb-l select{max-width:46%}
.ro-help{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.ro-help>div{display:grid;gap:2px}
.fo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.fo{display:grid;gap:8px}.fo .row{flex-wrap:wrap;gap:6px;align-items:center}.fo-link{width:100%;font-size:12px}
.fo-q{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--line,#e5e5e5)}.fo-q>input[data-k=label]{flex:1 1 180px}.fo-q .wide{flex:1 1 100%}
.gt-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.gt-in{position:relative;min-width:calc(170px + var(--n) * 22px)}
.gt-head,.gt-row{display:grid;grid-template-columns:170px 1fr;align-items:center}
.gt-head{height:28px;border-bottom:1px solid var(--line,#eee)}
.gt-row{min-height:34px;border-bottom:1px solid var(--line,#f2f2f2)}
.gt-lbl{display:flex;flex-direction:column;padding-right:8px;font-size:13px;overflow:hidden}.gt-lbl a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-track{position:relative;height:100%;min-height:28px}
.gt-wk{position:absolute;top:6px;font-size:11px;color:var(--muted,#777);white-space:nowrap;border-left:1px solid var(--line,#e5e5e5);padding-left:3px}
.gt-today{position:absolute;top:0;bottom:-2000px;width:2px;background:var(--accent,#94111f);opacity:.5;z-index:1}
.gt-bar{position:absolute;top:8px;height:18px;border-radius:6px;border:0;padding:0;cursor:pointer;background:#9aa3ad;min-width:8px}
.gt-ms{position:absolute;top:4px;transform:translateX(-50%);border:0;background:none;font-size:18px;line-height:24px;padding:0;cursor:pointer;color:#111}
.gt-bar.st-en_cours,.gt-leg .st-en_cours{background:#2f6fd6}.gt-bar.st-fait,.gt-leg .st-fait{background:#2e9d5b}.gt-bar.st-bloque{background:#d68a2f}.gt-leg .st-a_faire{background:#9aa3ad}
.gt-bar.late,.gt-leg .late{background:#c62828}.gt-ms.late{color:#c62828}.gt-ms.st-fait{color:#2e9d5b}
.gt-arrows{position:absolute;left:0;top:0;pointer-events:none;color:#555;overflow:visible}.gt-arrows .bad{color:#c62828}
.gt-leg{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.gt-leg i{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-2px;margin-right:4px}
.gt-und{margin-top:10px}
@media (max-width:600px){.gt-head,.gt-row{grid-template-columns:110px 1fr}.gt-in{min-width:calc(110px + var(--n) * 18px)}.cb-l li{flex-wrap:wrap}.cb-l select{max-width:100%}}
body:has(.mbox) .tm-pill{display:none}

/* ── Sprint 3 : Mon travail, invités, sécurité */
.mt-g h3{display:flex;gap:8px;align-items:center;margin-top:0}.mt-g h3.late{color:#c62828}
.mt-l{list-style:none;margin:0;padding:0}.mt-r{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line,#eee)}.mt-r:last-child{border-bottom:0}.mt-t{flex:1;min-width:0}.mt-t a{display:block;overflow:hidden;text-overflow:ellipsis}
.gl{display:grid;gap:8px}.gl input{width:100%;font-size:13px}
.ts-gv{display:flex;align-items:center;gap:5px;cursor:pointer}
.sec-steps{padding-left:20px;line-height:1.6}.sec-qr{width:200px;max-width:70vw;margin:14px 0;background:#fff;padding:6px;border-radius:12px}.sec-qr svg{width:100%;height:auto;display:block}
.sec-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.sec-codes code{background:#f3efe9;padding:8px;border-radius:8px;text-align:center;font-size:15px;letter-spacing:1px}
.s2fa{display:block}.s2fa>*{max-width:100%}
/* ── Sprint 4 : clés d'accès */
.ak-f{gap:8px;flex-wrap:nowrap;margin-bottom:8px}.ak-f input{flex:1;min-width:0}
.ak-how details{border-top:1px solid var(--line,#eee);padding:10px 0}.ak-how summary{cursor:pointer}.ak-how ol{padding-left:20px;line-height:1.6}
.ak-pre{white-space:pre-wrap;word-break:break-all;background:#f3efe9;padding:10px;border-radius:10px;font-size:12px}
/* ── Sprint 5 : Monday, rapport de temps */
.mo-steps{padding-left:20px;line-height:1.6}.mo-l{display:grid;gap:8px;max-height:280px;overflow:auto;margin:8px 0 12px}.mo-l label{display:flex;gap:10px;align-items:flex-start}
.rt-f .row{flex-wrap:wrap;gap:8px}.rt-k{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.rt-k .kpi{display:grid;gap:2px}.rt-k b{font-size:22px}
.rt-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rt-b{list-style:none;margin:0;padding:0;display:grid;gap:8px}.rt-b li{display:grid;grid-template-columns:minmax(0,38%) 1fr auto;gap:10px;align-items:center;font-size:14px}
.rt-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rt-bar{height:10px;background:#eee;border-radius:9px;overflow:hidden}.rt-bar i{display:block;height:100%;background:var(--accent,#94111f)}
.tbl-w{overflow-x:auto}
@media (max-width:700px){.rt-g{grid-template-columns:1fr}.rt-k{grid-template-columns:1fr 1fr 1fr}.rt-k b{font-size:17px}}
.al-d{margin-top:14px}.al-d textarea{width:100%;box-sizing:border-box;font-family:monospace;font-size:12px;margin:6px 0}
.rt-ch[hidden]{display:none!important}.rt-ch{gap:8px;flex-wrap:wrap}
/* ── Sprint 6 : vue Tableau, Calendrier, actions en lot, résumé du matin */
.gb-g{margin:10px 0;background:var(--card,#fff);border-radius:14px;box-shadow:0 1px 0 var(--line,#eee)}.gb-g>summary{padding:10px 14px;cursor:pointer;display:flex;gap:8px;align-items:center}
.gb-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.gb{border-collapse:separate;border-spacing:0;width:100%;min-width:760px;font-size:14px}
.gb th{position:sticky;top:0;background:#faf8f6;text-align:left;font-size:12px;font-weight:600;color:var(--muted,#6b645c);padding:8px;border-bottom:1px solid var(--line,#eee);white-space:nowrap}
.gb td{padding:4px 6px;border-bottom:1px solid var(--line,#f0ece8);vertical-align:middle}
.gb td select,.gb td input[type=date],.gb td input[type=text],.gb td input[type=number],.gb td input[type=url]{width:100%;min-width:110px;border:1px solid transparent;background:transparent;padding:6px;border-radius:8px;font:inherit;font-size:13px}
.gb td select:hover,.gb td input:hover,.gb td select:focus,.gb td input:focus{border-color:var(--line,#d9d2c9);background:#fff}
.gb .gb-c{width:34px;text-align:center;position:sticky;left:0;background:inherit;z-index:1}
.gb .gb-t{min-width:200px;max-width:340px;position:sticky;left:34px;background:#fff;z-index:1;box-shadow:1px 0 0 var(--line,#eee)}.gb thead .gb-t{background:#faf8f6}
.gb .gb-t a{font-weight:600}
.gb-st select{font-weight:600;text-align:center;border-radius:8px}.gb-st.st-fait select{background:#dff3e6;color:#1d6b3c}.gb-st.st-en_cours select{background:#e1ebfb;color:#1f4f9e}.gb-st.st-bloque select{background:#fbecd9;color:#8a5413}.gb-st.st-a_faire select{background:#f1efec}
.gb-pr.pr-urgente select{color:#c62828;font-weight:700}.gb-pr.pr-haute select{color:#b4531f;font-weight:600}
.gb-late input{color:#c62828;font-weight:600}
.gb .gb-ok{outline:2px solid #2e9d5b;outline-offset:-2px;transition:outline-color .6s}
.gb-bar{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:30;display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#111;color:#fff;padding:10px 12px;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.25);margin-top:12px}
.gb-bar select,.gb-bar input{width:auto;max-width:170px;padding:6px 8px;border-radius:8px;border:0;font:inherit;font-size:13px}.gb-bar .btn{background:#fff;color:#111}.gb-bar .btn.danger{color:#c62828}
.cal-h{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}.cal-h b{text-transform:capitalize;min-width:140px;text-align:center}.cal-tip{margin-left:auto}
.cal-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.cal-wd{font-size:12px;color:var(--muted,#6b645c);text-align:center;padding:4px 0;text-transform:capitalize}
.cal-d{min-height:104px;background:#fff;border-radius:10px;padding:4px;position:relative;cursor:pointer;border:1px solid transparent;overflow:hidden}
.cal-d.out{opacity:.45}.cal-d.today{border-color:var(--accent,#94111f)}.cal-d.today .cal-n{background:var(--accent,#94111f);color:#fff}.cal-d.pick{box-shadow:inset 0 0 0 2px #111}.cal-d.over{background:#fff4e5;border-color:#d68a2f}
.cal-n{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:12px;font-weight:600}
.cal-l{display:grid;gap:3px;margin-top:2px}.cal-t{font-size:12px;padding:3px 6px;border-radius:6px;background:#f1efec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab}
.cal-t.st-en_cours{background:#e1ebfb}.cal-t.st-fait{background:#dff3e6;text-decoration:line-through;opacity:.7}.cal-t.st-bloque{background:#fbecd9}.cal-t.late{background:#fde2e2;color:#a01616}
.cal-dot{display:none}
.cal-dl{margin-top:12px}.cal-r{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line,#eee)}.cal-r a{font-weight:600;flex:1 1 180px}
.cal-nd{margin-top:12px}.cal-ndl{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.cal-ndl .cal-t{max-width:240px}
.mt-am label{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mt-am input[type=time]{width:auto;padding:6px 8px;border:1px solid var(--line,#d9d2c9);border-radius:8px;font:inherit}
@media (max-width:700px){.cal-d{min-height:52px;padding:3px}.cal-l{display:none}.cal-dot{display:inline-grid;place-items:center;position:absolute;right:4px;bottom:4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--accent,#94111f);color:#fff;font-size:11px;font-weight:700}.cal-tip{display:none}.gb-bar select,.gb-bar input{max-width:44vw}}
/* ── Sprint 7 : charge, modèles, tableaux de bord */
.te-cap{width:70px;padding:4px 6px;border:1px solid var(--line,#d9d2c9);border-radius:8px;font:inherit}
.te-ld{min-width:96px}.te-bar{height:8px;background:#eee;border-radius:9px;overflow:hidden;margin-bottom:3px}.te-bar i{display:block;height:100%;background:#2e9d5b}.te-ld.warm .te-bar i{background:#d68a2f}.te-ld.hot .te-bar i{background:#c62828}
.db-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.db-w{display:flex;flex-direction:column;gap:6px;min-width:0}.db-m{grid-column:span 2}.db-l{grid-column:span 4}
.db-h{display:flex;justify-content:space-between;align-items:center;gap:6px}.db-h h3{margin:0;font-size:15px}.db-k{font-size:34px;line-height:1.1}
.db-add{display:grid;gap:10px}.db-cat{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:900px){.db-g{grid-template-columns:repeat(2,minmax(0,1fr))}.db-m,.db-l{grid-column:span 2}}
#te-charge{grid-column:1/-1}
.ts2-fol{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0 10px}
.pu-q{margin-top:14px;padding-top:12px;border-top:1px solid var(--line,#eee);display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}.pu-q input[type=time]{width:auto;padding:5px 8px;border:1px solid var(--line,#d9d2c9);border-radius:8px}.pu-q .small{flex-basis:100%}
.tf-more{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;align-items:center}.tf-more input[type=search]{flex:1 1 220px;min-width:0}.tf-more select{width:auto;max-width:200px}@media (max-width:600px){.tf-more select{max-width:48%}}
.gt-bar,.gt-ms{cursor:grab}.gt-drag{cursor:grabbing;opacity:.8;outline:2px dashed #111;z-index:3}
.ts2-ai{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}.ts2-ai #ts2-ai-o{flex-basis:100%}.ts2-aibox{background:#f6f1fb;border-radius:12px;padding:10px 12px;display:grid;gap:6px;font-size:14px}.rh-lisa p{line-height:1.55}.rh-k{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:600px){.rh-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nt-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}.nt-t{width:100%;box-sizing:border-box;min-height:46vh;padding:14px;border:1px solid var(--line,#d9d2c9);border-radius:12px;font:15px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}
/* ── Sprint 14 : objectifs */
.go-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.go{display:grid;gap:8px}.go-h{justify-content:space-between;gap:8px;align-items:flex-start}
.go-bar{position:relative;height:12px;background:#eee;border-radius:9px;overflow:visible}.go-bar i{display:block;height:100%;border-radius:9px;background:var(--accent,#94111f)}.go-bar s{position:absolute;top:-4px;bottom:-4px;width:2px;background:#111;text-decoration:none}
.go-v{justify-content:space-between;align-items:baseline}.go-cur{width:110px;padding:6px 8px;border:1px solid var(--line,#d9d2c9);border-radius:8px;font:inherit}
.pill.go-ok{background:#dff3e6;color:#1d6b3c}.pill.go-warn{background:#fbecd9;color:#8a5413}.pill.go-bad{background:#fde2e2;color:#a01616}
.ap-r{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line,#eee);font-size:14px}.ap-note{width:160px;padding:5px 8px;border:1px solid var(--line,#d9d2c9);border-radius:8px;font:inherit}.ap-f{gap:6px;margin-top:6px;flex-wrap:wrap}.ap-f select,.ap-f input{flex:1 1 140px;min-width:0}
.fs-h{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.fs-tot{font-size:22px}.fs-t td,.fs-t th{text-align:center;white-space:nowrap}.fs-t td:first-child,.fs-t th:first-child{text-align:left}
.fp-t td,.fp-t th{white-space:nowrap}.fp-u{min-width:180px}
.oq-ban{position:fixed;left:50%;transform:translateX(-50%);top:calc(10px + env(safe-area-inset-top));z-index:70;background:#111;color:#fff;padding:9px 16px;border-radius:999px;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.25);max-width:calc(100vw - 24px);text-align:center}

/* Sprint 21 : réactions, réponses, épingles */
.ts-cr{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.ts-re{border:1px solid var(--line);background:var(--card,#fff);border-radius:999px;padding:2px 8px;font-size:13px;line-height:1.5;cursor:pointer;min-height:28px}
.ts-re.on{border-color:var(--brand);background:var(--brand-soft)}
.ts-re.add{opacity:.75}
.ts-emo{display:inline-flex;align-items:center;gap:4px;position:relative}
.ts-pick{display:inline-flex;gap:2px;background:var(--card,#fff);border:1px solid var(--line);border-radius:999px;padding:2px 4px}
.ts-pick[hidden]{display:none}
.ts-pick button{border:0;background:none;font-size:18px;min-width:32px;min-height:32px;cursor:pointer;border-radius:8px}
.ts-pick button:hover,.ts-pick button:focus-visible{background:var(--soft2)}
.ts-reps{margin:6px 0 0 18px;padding-left:10px;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:6px}
.ts-c.pinned{box-shadow:inset 3px 0 0 var(--brand)}
.ts-c.flash{outline:2px solid var(--brand);outline-offset:2px}
.ts-pins{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.ts-pin{text-align:left;border:1px dashed var(--brand);background:var(--brand-soft);border-radius:10px;padding:6px 10px;cursor:pointer;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ts-rep{background:var(--soft2);border-radius:8px;padding:4px 8px;margin-bottom:4px}
.ts-cr .lnk{background:none;border:0;color:var(--muted);cursor:pointer;text-decoration:underline;padding:4px 2px;min-height:28px}
.fo-code{width:100%;box-sizing:border-box;font:12px/1.4 ui-monospace,Menlo,monospace;margin:8px 0}.fo-si{font-size:13px}

/* Sprint 23 : charge de travail */
.wl-nav{gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.wl-nav select{max-width:220px}
.wl-board{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px;align-items:flex-start}
.wl-col{flex:0 0 270px;background:var(--soft2);border:1px solid var(--line);border-radius:14px;padding:10px;min-height:160px}
.wl-col.kb-over{outline:2px dashed var(--brand);outline-offset:-2px}
.wl-h{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px}.wl-h>div{flex:1;min-width:0}
.wl-none{width:26px;height:26px;border-radius:50%;background:var(--line);display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.wl-bar{height:6px;background:var(--line);border-radius:4px;overflow:hidden;margin:4px 0}.wl-bar i{display:block;height:100%;background:#2e7d32}.wl-bar.warm i{background:#e0a100}.wl-bar.hot i{background:var(--brand)}
.wl-list{display:flex;flex-direction:column;gap:8px}
.wl-card{background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;padding:8px 10px;cursor:grab;position:relative;touch-action:pan-y}
.wl-card.late{border-left:3px solid var(--brand)}.wl-card b{display:block;padding-right:18px;overflow-wrap:anywhere}
.wl-card .kb-grip{position:absolute;left:auto;right:4px;top:4px}.wl-m{gap:6px;align-items:center;margin-top:4px;flex-wrap:wrap}.wl-mv{margin-left:auto}
.wl-pick{display:flex;flex-direction:column;gap:6px}.wl-pick .btn{justify-content:space-between;display:flex}
@media (max-width:600px){.wl-board{flex-direction:column}.wl-col{flex:1 1 auto;width:100%;box-sizing:border-box}}
@media (max-width:600px){.jrow{gap:4px 10px}.jrow .jwhen{min-width:0;flex:1 1 100%}.jfil label{flex:1 1 40%}.jfil label input{width:100%}}

/* Sprint 25 : à surveiller */
.ta-box{margin:12px 0}.ta-box.warn{border-left:4px solid var(--brand)}
.ta-h{justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.ta-h h3{margin:0}
.ta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:8px}

/* Case « faite » plus claire + avis avec Annuler */
.trow:not(.done) .tchk:hover::after, .trow:not(.done) .tchk:focus-visible::after { content: '✓'; color: var(--good); opacity: .55; }
#toast.act { pointer-events: auto; min-width: min(340px, 90vw); justify-content: space-between; display: flex; align-items: center; gap: 12px; }
.toast-btn { background: none; border: 1px solid currentColor; color: inherit; border-radius: 8px; padding: 4px 10px; font-weight: 700; cursor: pointer; }

/* Sprint 27 : automatisations faciles */
.au-say{border-left:4px solid var(--brand)}.au-say h3{margin:0 0 4px}
.au-pv{margin-top:10px;background:var(--soft2);border-radius:12px;padding:10px 12px}.au-pv p{margin:6px 0}.au-pv.warn{background:#fff4e5}
.au-rec{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}
.au-r{display:flex;gap:10px;align-items:flex-start}.au-r.on{border-color:var(--good);box-shadow:inset 3px 0 0 var(--good)}
.au-ri{font-size:24px;line-height:1}.au-rp{margin-top:6px;max-width:100%}

/* Simplicité : les outils moins courants des Tâches sont rangés sous « ⋯ Plus » */
.t-more{position:relative;display:inline-block}.t-more>summary{list-style:none;cursor:pointer}.t-more>summary::-webkit-details-marker{display:none}
.t-menu{position:fixed;z-index:60;background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-hi);padding:6px;display:flex;flex-direction:column;gap:4px;min-width:230px}
.t-menu .btn{justify-content:flex-start;text-align:left;width:100%;color:var(--ink) !important;background:transparent !important;border:0 !important;box-shadow:none !important;min-height:40px}.t-menu .btn:hover,.t-menu .btn:focus-visible{background:var(--soft2) !important}

/* Sprint 28 : agenda */
.ag-btns{display:flex;flex-direction:column;gap:8px;margin:12px 0}.ag-btns .btn{justify-content:center;min-height:48px;font-size:16px}

/* Sprint 29 : journal de Lisa, essai */
.jl-list{list-style:none;margin:0;padding:0}.jl-i{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.jl-i:last-child{border-bottom:0}.jl-ic{font-size:20px;line-height:1.3}
.au-try{margin-top:10px;padding:8px 10px;border:1px dashed var(--line);border-radius:10px;background:var(--card,#fff)}.au-try ul{margin:6px 0 0 18px;padding:0}

/* Sprint 31 : avertir d'autres outils */
.hk-f{display:flex;flex-direction:column;gap:10px;margin-top:10px}.hk-k{display:flex;gap:8px;flex-wrap:wrap}
.hk-o{white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:8px 14px;cursor:pointer;display:inline-flex;gap:6px;align-items:center}.hk-o:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.hk-ev{gap:12px;flex-wrap:wrap}.hk-help{margin:0}

/* Sprint 32 : plusieurs tâches d'un coup */
.ta-hint{margin:6px 0 0;color:var(--brand)}.ta-sp{margin-top:10px;background:var(--soft2);border-radius:12px;padding:10px 12px}.ta-sp ul{margin:6px 0 10px 18px;padding:0}

/* Sprint 34 : graphiques */
.gr-wrap{margin:12px 0}.gr h3{margin:0 0 4px}.gr-svg{width:100%;height:auto;display:block;margin-top:6px}
.gr-l{font-size:13px;fill:var(--muted)}.gr-v{font-size:13px;font-weight:700;fill:var(--ink)}
.gr-b{fill:var(--brand);background:var(--brand)}.gr-w{fill:#c2410c;background:#c2410c}.gr-o{fill:none;stroke:var(--muted);stroke-width:1.5}
.gr-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin-top:12px}
.gr-key{white-space:nowrap}.gr-key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin:0 3px 0 8px;vertical-align:-1px}.gr-ko{border:1.5px solid var(--muted)}.gr-kb{background:var(--brand)}
@media (max-width:600px){.gr-l,.gr-v{font-size:22px}}
.gr-svg.wk{max-width:620px;margin:6px auto 0}
.hb{display:flex;flex-direction:column;gap:8px;margin-top:8px}.hb-r{display:grid;grid-template-columns:minmax(80px,38%) 1fr auto;gap:8px;align-items:center}
.hb-l{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb-t{background:var(--soft2);border-radius:4px;height:14px;overflow:hidden}.hb-t i{display:block;height:100%;border-radius:4px}.hb-v{font-size:13px;white-space:nowrap}

/* Sprint 35 : carte */
.ca-box{padding:0;overflow:hidden}.ca-map{height:60vh;min-height:320px;max-height:560px;border-radius:inherit}
.ca-l{list-style:none;margin:0;padding:0}.ca-l li{padding:8px 0;border-bottom:1px solid var(--line)}.ca-l li:last-child{border:0}

/* Sprint 36 : notes à plusieurs */
.nt-who{margin:6px 0 0;color:var(--brand)}.nt-t.nt-flash{outline:2px solid var(--brand);outline-offset:1px;transition:outline .3s}

/* Sprints 37-38 : agents */
.agcard .ag-top{font-size:15px}
.agcard .ag-mis{margin:4px 0 8px}
.agcard .ag-rt{padding:8px 10px;border-radius:8px;background:rgba(127,127,127,.08);margin:6px 0;font-size:13px;line-height:1.4}
.agcard .ag-rt.on{background:rgba(46,160,67,.10)}
.agcard .ag-btns{gap:8px;flex-wrap:wrap;align-items:center}
.agcard .ag-edit{margin-top:8px}
.agcard .ag-edit summary{cursor:pointer;color:var(--muted,#888)}
.ag-plan{margin:6px 0 0 18px;padding:0}
.ag-plan li{margin:4px 0}
.ag-res{margin-top:10px}
.agcard .ag-btns{display:flex;flex-direction:row;justify-content:flex-start}
.agcard .ag-btns .btn{width:auto;flex:0 0 auto}
.agcard .lnk{background:none;border:0;color:var(--muted,#888);cursor:pointer;text-decoration:underline;padding:4px 2px;min-height:28px}
/* Sprints 38-39 : avatars, veille concurrence, prospection commanditaires */
.agav{flex:0 0 auto;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.15);display:block}
.agcard .ag-head{display:flex;gap:12px;align-items:flex-start}
.agcard .ag-head>div{min-width:0;flex:1}
.agcard .ag-pause{font-size:11px;background:#fff3cd;color:#7a5b00;border-radius:10px;padding:1px 8px;margin-left:4px}
.agcard .ag-avrow{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0}
.agcard .ag-avrow .btn{width:auto}
.vl-back{display:inline-block;margin:0 0 10px;font-size:14px}
.vl-hero{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}
.vl-hero h2{margin:0 0 4px}
.vl-acts{gap:8px;flex-wrap:wrap;margin:6px 0 14px}
.vl-acts .btn{width:auto}
.vl-h3{font-weight:700;font-size:16px;margin:18px 0 8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.vl-h4{font-weight:700;font-size:14px;margin:10px 0 4px}
.vl-badge{background:var(--accent,#94111f);color:#fff;border-radius:10px;padding:1px 8px;font-size:12px;font-weight:600}
.vl-al{border:1px solid rgba(127,127,127,.2);border-radius:10px;padding:10px 12px;margin:0 0 8px;background:var(--card,#fff)}
.vl-al.new{border-left:4px solid var(--accent,#94111f)}
.vl-alh{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:13px}
.vl-alh .muted{margin-left:auto}
.vl-k{font-size:12px;background:rgba(127,127,127,.1);border-radius:8px;padding:1px 6px;white-space:nowrap}
.vl-at{font-weight:600;margin:4px 0 2px;overflow-wrap:anywhere}
.vl-src{display:inline-block;font-size:13px;margin-top:4px;overflow-wrap:anywhere}
.vl-rep p{margin:6px 0}
.vl-ul{margin:4px 0 6px 18px;padding:0}
.vl-ul li{margin:3px 0;overflow-wrap:anywhere}
.vl-idea{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid rgba(127,127,127,.15)}
.vl-idea .btn{width:auto;flex:0 0 auto}
.vl-dep{margin:10px 0}
.vl-dep summary{cursor:pointer;color:var(--muted,#777);font-size:14px;margin-bottom:8px}
.vl-comps{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}
.vl-comp{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0}
.vl-comp .btn{width:auto}
.vl-links{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin-top:3px}
.vl-empty{border-style:dashed}
.vl-choices{display:grid;gap:10px}
.vl-choice{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:12px;border:1px solid rgba(127,127,127,.25);border-radius:12px;background:var(--card,#fff);cursor:pointer;font:inherit;color:inherit}
.vl-choice:hover:not(:disabled){border-color:var(--accent,#94111f)}
.vl-choice:disabled{opacity:.55;cursor:default}
.vl-choice>span:last-child{display:flex;flex-direction:column;gap:2px}
.vl-ci{font-size:26px;line-height:1}
.px-pills{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin:8px 0 10px;-webkit-overflow-scrolling:touch}
.px-pill{flex:0 0 auto;border:1px solid rgba(127,127,127,.3);border-radius:18px;padding:6px 12px;background:var(--card,#fff);font:inherit;font-size:13px;cursor:pointer;color:inherit}
.px-pill.on{background:var(--ink,#111);color:#fff;border-color:transparent}
.px-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.px-card{display:block;text-align:left;font:inherit;color:inherit;cursor:pointer;margin:0;width:100%}
.px-top{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.px-val{font-weight:700;color:#2e7d4f;white-space:nowrap}
.px-why{margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.px-due{margin-top:6px;font-size:12px;font-weight:600;color:#b4531f}
.px-sec{margin:8px 0}
.px-sec p{margin:4px 0}
.px-mail{border:1px solid rgba(127,127,127,.2);border-radius:10px;padding:8px 10px;margin:8px 0}
.px-mail .px-obj,.px-mail .px-body{width:100%;box-sizing:border-box;margin:4px 0;font:inherit}
.px-mbtn{gap:6px;flex-wrap:wrap}
.px-mbtn .btn{width:auto}
.px-ok{color:#2e7d4f;font-size:12px;font-weight:600}
.agph{object-fit:cover;background:#eee}
.ag-ph-cta{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px dashed rgba(127,127,127,.4);border-radius:10px;padding:8px 12px;margin:0 0 10px}
.ag-ph-cta .btn{width:auto}
/* Volet famille F1-F4 */
.fh-src{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(127,127,127,.15)}
.fh-src>div{flex:1;min-width:0}
.fh-src .btn{width:auto}
.fh-items{display:grid;gap:6px;margin-top:10px}
.fh-it{display:flex;gap:10px;align-items:center;border:1px solid rgba(127,127,127,.2);border-radius:10px;padding:8px 10px;flex-wrap:wrap}
.fh-it>span{flex:1;min-width:160px;display:flex;flex-direction:column}
.fh-it select{max-width:150px}
.fh-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.fh-n{display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--brand,#94111f);color:#fff;align-items:center;justify-content:center;font-weight:700;margin-right:6px}
.fh-url{font-family:ui-monospace,monospace;font-size:15px;background:rgba(127,127,127,.1);border-radius:8px;padding:6px 8px;margin-top:6px;overflow-wrap:anywhere}
.fh-ck{display:inline-flex;gap:6px;align-items:center;margin:4px 12px 0 0;font-weight:400}
.fh-hub .btn{width:auto}
.fh-col{width:44px;height:30px;padding:0;border:0;background:none}
.fx-more{position:relative;display:inline-block}
.fh-sport{border:1px solid rgba(46,158,91,.35);background:rgba(46,158,91,.06);border-radius:10px;padding:8px 10px;margin-bottom:10px}
.eq-team{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.eq-m{display:flex;gap:12px;align-items:flex-start}
.eq-m .lnk{background:none;border:0;padding:2px 0;color:var(--muted,#888);text-decoration:underline;cursor:pointer}
/* H1-H3 : contacts, ventes, rendez-vous (cx-, vx-, rv-) */
.cx-acts{gap:8px;flex-wrap:wrap;margin-top:12px}.cx-acts .btn,.cx-acts select{width:auto}
.cx-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.cx-filters input{flex:1;min-width:200px}.cx-filters select{max-width:240px}
.cx-list{display:grid;gap:6px}.cx-row{display:flex;gap:12px;align-items:center;margin:0;color:inherit;text-decoration:none}
.cx-av{flex:0 0 auto;width:38px;height:38px;border-radius:50%;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.cx-av.big{width:60px;height:60px;font-size:24px}
.cx-main{flex:1;min-width:0;display:flex;flex-direction:column}.cx-main small{color:var(--muted,#777);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx-side{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:12px;flex:0 0 auto}
.cx-chip{font-size:12px;border-radius:10px;padding:2px 8px;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c);font-weight:600;white-space:nowrap}
.cx-tag{display:inline-block;font-size:11px;background:rgba(127,127,127,.12);border-radius:8px;padding:1px 7px;margin:2px 4px 0 0}
.cx-head{display:flex;gap:14px;align-items:flex-start}.cx-contact{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px;font-size:14px;overflow-wrap:anywhere}
.cx-deal{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid rgba(127,127,127,.15);font-size:14px}
.cx-tl{margin-top:8px}.cx-ev{display:flex;gap:10px;padding:8px 0;border-top:1px solid rgba(127,127,127,.12);overflow-wrap:anywhere}.cx-ic{flex:0 0 auto;width:22px}
.cx-more{position:relative;display:inline-block}
.vx-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:12px}.vx-kpis .card{margin:0;display:flex;flex-direction:column;gap:2px}.vx-kpis b{font-size:22px}
.vx-board{display:flex;gap:10px;overflow-x:auto;padding-bottom:10px;align-items:flex-start;-webkit-overflow-scrolling:touch}
.vx-col{flex:0 0 250px;background:rgba(127,127,127,.07);border-radius:12px;padding:8px;min-height:120px}.vx-col.over{outline:2px dashed var(--accent,#94111f)}
.vx-ch{display:flex;flex-direction:column;padding:2px 4px 8px}
.vx-card{background:var(--card,#fff);border-radius:10px;padding:10px;margin-bottom:8px;box-shadow:0 1px 2px rgba(0,0,0,.08);cursor:pointer;display:flex;flex-direction:column;gap:3px}
.vx-card small{color:var(--muted,#777);font-size:12px}.vx-meta{display:flex;justify-content:space-between;align-items:center;font-weight:700}.vx-meta .late{color:#d6336c}
.vx-mv{margin-top:4px;font-size:12px;padding:4px}
@media (min-width:900px){.vx-mv{display:none}}
.rv-card .btn{width:auto}.rv-b{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.rv-b.off{opacity:.55}.rv-b .btn{width:auto}
.cx-list{grid-template-columns:minmax(0,1fr)}.cx-list>*{min-width:0}.cx-row{overflow:hidden}
.vx-col{flex:1 0 190px}

/* H4-H6 : séquences, clavardage, soutien (sq-, ch-, tk-) */
.sq-list{display:grid;gap:8px;grid-template-columns:minmax(0,1fr)}.sq-list .card{margin:0;min-width:0}
.sq-subj{font-weight:700;margin-top:8px;overflow-wrap:anywhere}.sq-body{white-space:pre-wrap;color:var(--muted,#666);font-size:14px;max-height:7.5em;overflow:hidden;margin-top:4px;overflow-wrap:anywhere}
.sq-acts{gap:6px;margin-top:10px}.sq-acts .btn,.sq-card .btn{width:auto}.sq-recs{display:grid;gap:8px}.sq-recs .btn{text-align:left;justify-content:flex-start}
.sq-step{margin:0;padding:12px}.sq-step input,.sq-step textarea{width:100%}.sq-pick{max-height:52vh;overflow-y:auto;margin-top:8px;display:grid;gap:2px}
.sq-pr{display:flex;gap:10px;align-items:center;padding:8px 4px;border-bottom:1px solid rgba(127,127,127,.12);cursor:pointer;min-width:0}.sq-pr span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-w .fh-url{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:12px}.cl-badge{background:#d9480f;color:#fff;border-radius:10px;padding:0 7px;font-size:12px}
.cl-thread{display:flex;flex-direction:column;gap:8px;max-height:60vh;overflow-y:auto}.cl-b{max-width:85%;padding:8px 12px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}
.cl-b small{display:block;font-size:11px;opacity:.7;margin-bottom:2px}.cl-b.them{align-self:flex-start;background:rgba(127,127,127,.1)}.cl-b.me{align-self:flex-end;background:color-mix(in srgb,var(--accent,#94111f) 12%,transparent)}.cl-b.lisa{background:rgba(47,111,219,.1)}
#cl-r textarea,#tk-r textarea{width:100%}#cl-r .btn,#tk-r .btn{width:auto}
.tk-thread{display:grid;gap:10px}.tk-m{padding:10px 12px;border-radius:12px;overflow-wrap:anywhere}.tk-m div{white-space:pre-wrap}.tk-m small{display:block;color:var(--muted,#777);font-size:12px;margin-bottom:3px}
.tk-m.client{background:rgba(127,127,127,.1)}.tk-m.equipe{border:1px solid rgba(127,127,127,.2)}.tk-m.note{background:#fff7d6;color:#3d3200}.tk-m .btn{width:auto;margin-top:6px}
.fq-row{text-align:left;font:inherit;border:0;width:100%;cursor:pointer}

/* H7-H9 : sondages, infolettres, HubSpot (sv-, nl-) */
.sv-card{display:flex;gap:14px;align-items:center;color:inherit;text-decoration:none}.sv-nps{flex:0 0 auto;width:56px;height:56px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:20px;background:rgba(127,127,127,.12)}
.sv-nps.good,.sv-sc.good{background:#e3f5ea;color:#1d7a43}.sv-nps.mid,.sv-sc.mid{background:#fff3d6;color:#8a5a00}.sv-nps.bad,.sv-sc.bad{background:#fde5e5;color:#b3261e}.sv-big.good{color:#1d7a43}.sv-big.mid{color:#8a5a00}.sv-big.bad{color:#b3261e}
.sv-bars{display:grid;grid-template-columns:repeat(11,1fr);gap:4px;align-items:end;height:120px;margin-top:10px}.sv-bar{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.sv-bar span{width:100%;min-height:2px;border-radius:4px 4px 0 0;background:#bbb}.sv-bar span.good{background:#2e9e5b}.sv-bar span.mid{background:#e0a100}.sv-bar span.bad{background:#d6336c}.sv-bar small{font-size:11px;color:var(--muted,#777)}
.sv-sc{flex:0 0 auto;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-weight:700;font-size:13px}
.nl-aud{border:1px solid rgba(127,127,127,.25);border-radius:10px;padding:10px;display:grid;gap:6px;min-width:0}.nl-aud legend{font-weight:600;padding:0 4px}
.nl-prog{height:8px;background:rgba(127,127,127,.15);border-radius:4px;overflow:hidden;margin-top:10px}.nl-prog span{display:block;height:100%;background:var(--accent,#94111f)}
#nl-f .btn,#hs-f .btn{width:auto}.fh-url{overflow-wrap:anywhere}
.nl-aud .fh-ck{display:flex!important;flex-direction:row!important;gap:8px;align-items:center;justify-content:flex-start;text-align:left;margin:0;font-weight:500}.nl-aud .fh-ck input{width:auto!important;margin:0;flex:0 0 auto}

/* A1-A4 : épicerie, bon prix, achats protégés (ep-, ac-, ap-) */
.ep-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.ep-chips .pill{display:inline-flex;align-items:center;gap:4px}.ep-x{border:0;background:none;cursor:pointer;padding:0 2px;color:inherit;opacity:.6}
.ep-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:10px 0}.ep-plan{margin:0;display:flex;flex-direction:column;gap:3px;min-width:0}.ep-plan.best{border:2px solid var(--accent,#94111f)}
.ep-tot{font-size:28px;font-weight:800}.ep-tbl{display:grid;gap:6px;margin-top:8px}.ep-row{display:grid;grid-template-columns:minmax(0,160px) minmax(0,1fr);gap:8px;align-items:start;border-bottom:1px solid rgba(127,127,127,.12);padding-bottom:6px}
.ep-row>span{display:flex;flex-wrap:wrap;gap:4px}.ep-p{font-size:13px;padding:2px 8px;border-radius:99px;background:rgba(127,127,127,.1)}.ep-p.best{background:#e3f5ea;color:#1d7a43;font-weight:700}
@media(max-width:520px){.ep-row{grid-template-columns:1fr}}
.ac-spark{width:100%;max-width:240px;height:44px;color:var(--accent,#94111f);display:block;margin-top:8px}
.ac-verd{display:flex;gap:12px;align-items:center;padding:12px;border-radius:12px;margin-bottom:8px}.ac-verd span{font-size:30px}.ac-verd.ok{background:#e3f5ea}.ac-verd.mid{background:#fff3d6}.ac-verd.warn{background:#fde5e5}.ac-warn{color:#b3261e;font-weight:600}
.ap-list{display:grid;gap:10px}.ap-card{margin:0}.ap-card.hot{border:2px solid #2e9e5b}.ap-claim{background:#e3f5ea;color:#1d4d2e;border-radius:10px;padding:8px 10px;margin-top:8px}.ap-claim .btn{margin-left:6px}
.ap-dates{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px}.ap-dates .warn{color:#b3261e;font-weight:700}.ap-card .btn{width:auto}

/* A5-A8 : reçu d'épicerie, factures, cartes de fidélité, économies (re-, bf-, cf-) */
.re-flag{border-top:1px solid rgba(127,127,127,.15);padding:10px 0}.re-flag .btn{width:auto}.bf-off{margin-top:8px}.bf-off .btn{width:auto}
.cf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.cf-card{margin:0;display:flex;flex-direction:column;gap:4px;text-align:left;font:inherit;cursor:pointer;border:1px solid rgba(127,127,127,.2);min-width:0}
.ac-bar{width:100%;height:60px;display:block;margin-top:6px}.cf-big{background:#fff;border-radius:12px;padding:16px;text-align:center}.cf-big .ac-bar{height:110px}.cf-num{font-family:ui-monospace,monospace;font-size:20px;letter-spacing:2px;color:#000;margin-top:8px;overflow-wrap:anywhere}
.ach-save{display:block;margin:10px 0;text-decoration:none;color:inherit;background:#e3f5ea;border:1px solid #bfe5cc}
/* Téléphone : les grilles du tableau d'équipe et de la signature ne dépassent plus l'écran (les tableaux défilent dans leur carte) */
.te-grid>*,.sig-grid>*{min-width:0}@media (max-width:640px){.te-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.sig-grid{grid-template-columns:minmax(0,1fr)}}
.sig-grid .f{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.sig-grid .f input,.sig-grid .f select{min-width:0;max-width:100%}
/* Construction : bons de travail, soumissions à options, modifications, portail (C1 à C4) */
.kt-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:12px;align-items:start}
.kt-col{min-height:120px;min-width:0}.kt-col h3{margin:0 0 8px;display:flex;align-items:center;gap:6px;font-size:15px}.kt-col.kt-over{outline:2px dashed var(--accent,#7a1f2b);outline-offset:2px}
.kt-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.kt-card{display:flex;flex-direction:column;gap:3px;padding:9px 10px;margin-bottom:8px;border:1px solid var(--line);border-left:4px solid #9a948c;border-radius:10px;background:var(--card,#fff);color:inherit;text-decoration:none;cursor:grab;min-width:0}
.kt-card:hover{box-shadow:0 2px 10px rgba(0,0,0,.08)}.kt-ch{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.kt-ct{font-weight:700;overflow-wrap:anywhere}.kt-c-termine,.kt-c-facture{opacity:.7}
.kt-st.kt-en_route,.kt-st.kt-sur_place,.kt-st.kt-envoye,.kt-st.kt-vue{background:#fdecc8;color:#7a4a00}.kt-st.kt-termine,.kt-st.kt-facture,.kt-st.kt-acceptee,.kt-st.kt-accepte{background:#e3f4e8;color:#14662f}.kt-st.kt-refusee,.kt-st.kt-refuse,.kt-st.kt-annule{background:#fde2e2;color:#9b1c1c}
.kt-day{margin-top:6px}.kt-hint{margin-top:8px}
.kt-more{position:relative}.kt-more>summary{list-style:none}.kt-more>summary::-webkit-details-marker{display:none}.kt-more>.card{position:absolute;right:0;z-index:20;display:flex;flex-direction:column;gap:6px;min-width:220px;margin-top:4px;padding:10px;box-shadow:0 8px 28px rgba(0,0,0,.16)}
.kt-lines{display:flex;flex-direction:column;gap:6px}.kt-line{display:grid;grid-template-columns:minmax(0,1fr) 64px 92px 92px auto;gap:6px;align-items:center}.kt-line input{min-width:0;width:100%}.kt-lt{text-align:right;white-space:nowrap}
.kt-pick{flex:1;min-width:0}.kt-tot{display:flex;gap:14px;justify-content:flex-end;flex-wrap:wrap;margin-top:8px}
@media(max-width:640px){.kt-line{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;padding-bottom:6px;border-bottom:1px solid var(--line)}.kt-line .kt-d{grid-column:1/-1}.kt-lt{display:none}.kt-board{grid-template-columns:minmax(0,1fr)}}
.kt-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.kt-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block}
.kt-pad{width:100%;height:170px;border:1.5px dashed var(--line);border-radius:12px;background:#fff;touch-action:none;display:block;margin:6px 0}
.kt-sigimg{max-width:280px;width:100%;background:#fff;border:1px solid var(--line);border-radius:10px}
.kt-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.kt-opt{min-width:0;display:flex;flex-direction:column;gap:6px}.kt-opt textarea,.kt-on{width:100%}.kt-on{font-weight:800;font-size:16px}.kt-chosen{outline:2px solid #14662f}
.kt-sum{display:flex;gap:18px;flex-wrap:wrap}.kt-sum span{display:flex;flex-direction:column;font-size:12.5px;color:var(--muted)}.kt-sum b{font-size:17px;color:var(--ink,inherit)}
.kt-msg{padding:8px 11px;margin:8px 0;border-radius:12px;background:#eef4ff}.kt-msg.kt-cli{background:var(--bg2,#f6f3ef)}
.kt-qrow{color:inherit;text-decoration:none}
/* Construction C5 à C8 */
.kt-eq{width:100%;background:none;border:0;border-bottom:1px solid var(--line);cursor:pointer;font:inherit;color:inherit}.kt-eq:hover{background:var(--bg2,#f6f3ef)}
.kt-rd{display:flex;flex-direction:column;gap:6px;margin:8px 0}.kt-rp{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}.kt-rp input{width:100%;font-size:16px}
.kt-wet{background:#fde2e2;font-weight:700}.kt-dry{background:#e3f4e8}.kt-thumb{width:42px;height:42px;object-fit:cover;border-radius:8px;float:left;margin-right:8px}
.kt-ppl{border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-wrap:wrap;gap:6px 14px}.kt-tip{background:var(--bg2,#f6f3ef);padding:8px 10px;border-radius:10px;margin:0}
.kt-pr{flex-wrap:wrap;gap:6px}.kt-pr>span:first-child{flex:1 1 240px!important}.kt-pr select{width:auto;max-width:100%}
/* Construction C9 à C14 */
.kt-punch{text-align:center}.kt-punch h2{margin:6px 0 10px}.kt-big{font-size:40px;font-weight:800;margin:4px 0 10px}.kt-huge{display:block;width:100%;max-width:420px;margin:12px auto;padding:20px;font-size:20px;border-radius:16px}.kt-sel{width:100%;max-width:420px;font-size:16px;padding:12px}.kt-punch label{max-width:420px;margin:0 auto;display:block;text-align:left}.kt-punch label input{width:100%}
.kt-gantt{display:flex;flex-direction:column;gap:6px;margin-top:6px}.kt-grow{display:grid;grid-template-columns:minmax(90px,170px) minmax(0,1fr);gap:8px;align-items:center}.kt-glab{font-size:13px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}.kt-glab small{display:block;font-weight:400;color:var(--muted)}
.kt-track{position:relative;height:26px;background:var(--bg2,#f6f3ef);border-radius:7px}.kt-ghead .kt-track{background:none;height:18px}.kt-ghead i{position:absolute;font-style:normal;font-size:11px;color:var(--muted);white-space:nowrap;transform:translateX(-2px)}
.kt-bar{position:absolute;top:3px;bottom:3px;border:0;border-radius:6px;background:var(--accent,#7a1f2b);cursor:pointer;padding:0}.kt-bar.kt-done{background:#2f8a4a}.kt-bar.kt-late{background:#c27b00}.kt-today{position:absolute;top:-2px;bottom:-2px;width:2px;background:#d02b2b;z-index:1}
@media(max-width:640px){.kt-grow{grid-template-columns:minmax(0,90px) minmax(0,1fr)}.kt-ghead i:nth-child(even){display:none}}
/* Voyages L1 à L4 */
.vg-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.vg-t{display:flex;flex-direction:column;gap:2px;color:inherit;text-decoration:none;min-width:0}.vg-t span{font-size:24px}.vg-t small{color:var(--muted);overflow-wrap:anywhere}
@media(max-width:640px){.vg-strip{grid-template-columns:minmax(0,1fr)}.vg-t{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}.vg-t small{flex-basis:100%;margin-left:34px;margin-top:-4px}}
.vg-bk{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.vg-bk-ic{font-size:26px;line-height:1}.vg-bk-r{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.vg-ref{cursor:pointer;border-bottom:1px dashed currentColor}
@media(max-width:640px){.vg-bk-r{flex-direction:row;align-items:center;width:100%;justify-content:space-between}}
.vg-conv{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.vg-conv input{width:110px}
.vg-cat{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:4px 0}.vg-bar{height:10px;background:var(--bg2,#f1ece6);border-radius:6px;overflow:hidden}.vg-bar i{display:block;height:100%;background:#2f8a4a}.vg-bar i.over{background:#c0392b}
.vg-prog{height:12px;background:var(--bg2,#f1ece6);border-radius:8px;overflow:hidden}.vg-prog i{display:block;height:100%;background:#2f8a4a}
.vg-packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px}.vg-pc{margin:10px 0 2px;text-transform:uppercase;letter-spacing:.05em}
.vg-it{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line);cursor:pointer}.vg-it input{width:20px;height:20px;flex:none}.vg-it span{flex:1;min-width:0}.vg-it.on span{text-decoration:line-through;color:var(--muted)}.vg-it .btn{opacity:.5}
.vg-add input{flex:1;min-width:0}.vg-w{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.vg-spark{width:120px;height:30px;color:#2f6fdb;flex:none}.vg-imp{margin-bottom:12px}
.vg-tr{margin:0;padding:8px 0;border-bottom:1px solid var(--line)}
/* Voyages L5 à L8 */
.vh-dep{border:2px solid var(--accent,#7a1f2b)}.vh-dep-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:baseline}.vh-dep-h b{font-size:18px}
.vh-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin-top:10px}.vh-steps>div{display:grid;grid-template-columns:30px 1fr;gap:0 6px;align-items:start;background:var(--bg2,#f6f3ef);border-radius:12px;padding:10px}.vh-steps span{font-size:20px;grid-row:span 2}.vh-steps small{color:var(--muted)}
.vh-past{opacity:.55}.vh-day textarea,.vh-pl{width:100%;margin-top:6px}.vh-ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;margin-top:8px}.vh-ph span{position:relative}.vh-ph img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block;background:var(--bg2,#eee)}.vh-ph .btn{position:absolute;top:4px;right:4px;padding:2px 7px}
/* Guide d'utilisation (manuel.js, préfixe gd-) */
.gd-q { width: 100%; margin: 4px 0 14px; padding: 12px 14px; font-size: 16px; border-radius: 12px; }
.gd-sec { margin: 0 0 22px; } .gd-sec > h2 { margin: 18px 0 10px; }
.gd-bases { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.gd-b p { margin: 6px 0; line-height: 1.45; } .gd-lisa { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.gd-lisa .btn { white-space: normal; text-align: left; height: auto; padding: 7px 10px; }
.gd-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.gd-f { margin: 0 0 10px; padding: 0; overflow: hidden; }
.gd-f > summary { cursor: pointer; list-style: none; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.gd-f > summary::-webkit-details-marker { display: none; }
.gd-f > summary b::after { content: ' ▸'; color: var(--muted, #888); } .gd-f[open] > summary b::after { content: ' ▾'; }
.gd-body { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 18px; padding: 0 16px 16px; }
.gd-imgs { display: flex; flex-direction: column; gap: 10px; }
.gd-imgs img { width: 100%; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.gd-txt h4 { margin: 12px 0 4px; font-size: 14px; } .gd-txt h4:first-child { margin-top: 0; }
.gd-txt p, .gd-txt li { line-height: 1.5; } .gd-txt ul, .gd-txt ol { margin: 4px 0; padding-left: 22px; } .gd-txt li { margin: 3px 0; }
.gd-tip { background: rgba(212, 175, 55, .12); border-radius: 10px; padding: 8px 12px; }
.gd-help { margin-top: 10px; }
@media (max-width: 720px) { .gd-body { grid-template-columns: 1fr; } .gd-imgs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; } .gd-imgs img { width: 78%; flex: none; scroll-snap-align: start; } }
@media print { #side, header.top, .gd-q, .gd-toc, #gd-print, .gd-lisa, .gd-f .btn.pri, #assist-fab, .instbar { display: none !important; } .gd-f { break-inside: avoid; box-shadow: none; } .gd-body { grid-template-columns: 220px 1fr; } }
.gd-f[hidden], .gd-sec[hidden], #gd-none[hidden] { display: none !important; }
.gd-crm { border: 2px solid rgba(148, 17, 31, .35); background: linear-gradient(180deg, rgba(148, 17, 31, .05), transparent); margin: 0 0 12px; }
.gd-crm-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.gd-crm-i { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .1); background: var(--card, #fff); color: inherit; text-decoration: none; }
.gd-crm-i:hover { border-color: rgba(148, 17, 31, .5); }
.wl-pick { display: flex; flex-direction: column; gap: 8px; } .wl-pickb { display: flex; flex-wrap: wrap; gap: 8px; } .wl-pickb .btn { flex: 1 1 200px; min-height: 48px; }
.wl-prev { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .wl-prev img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(127, 127, 127, .3); } .wl-pdf { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(127, 127, 127, .3); }
.mt-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mt-mo { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; margin-top: 8px; } .mt-m { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.mt-sea > summary { cursor: pointer; padding: 4px 0; }
.vh-pts { display: grid; gap: 12px; margin: 0 0 14px; }
.vh-pc { display: flex; flex-direction: column; gap: 10px; }
.vh-pc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.vh-pc-n { font-size: 18px; } .vh-pc-b { text-align: right; } .vh-pc-b > b { font-size: 22px; }
.vh-pc-m { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.vh-av > summary { cursor: pointer; font-weight: 600; } .vh-av ul { margin: 8px 0 4px; padding-left: 20px; } .vh-av li { margin: 3px 0; line-height: 1.45; }
@media (max-width: 520px) { .vh-pc-b { text-align: left; } }
.eq-real { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.eq-real .eq-m { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.eq-ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.eq-wait { display: flex; align-items: center; justify-content: center; font-size: 28px; background: rgba(127, 127, 127, .15); animation: eqp 1.4s ease-in-out infinite; }
@keyframes eqp { 50% { opacity: .5; } }
.eq-hero { display: flex; gap: 16px; align-items: center; } .eq-hero .agav { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.s-gestion, .cal .bar.b-gestion, .mc-v i.b-gestion { background: #6b5bd6; }
/* Idées du 23 nov. : vidéo souvenir, argent de poche, quiz du guide */
.sv-hint{display:flex;gap:12px;align-items:center;margin:0 0 12px;border:1.5px solid var(--brand)}
.pk-w{margin-top:10px}.pk-w .bar{height:8px}
.qz-box{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.qz-q{border:1px solid var(--line);border-radius:12px;padding:8px 10px;margin:12px 0}.qz-q legend{display:flex;gap:8px;align-items:center;font-weight:700;padding:0 4px}
.qz-q>input,.qz-c input[data-c]{width:100%;box-sizing:border-box}.qz-c{display:flex;gap:8px;align-items:center;margin-top:6px}.qz-c input[type=radio]{width:20px;height:20px;flex:none}
/* Bilan d'un événement */
.bil-bar{gap:8px;flex-wrap:wrap;margin-bottom:12px}
.bil-list{max-height:55vh;overflow:auto;border:1px solid var(--line);border-radius:12px}
.bil-it{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-bottom:1px solid var(--line);cursor:pointer}.bil-it:last-child{border-bottom:0}.bil-it input{width:20px;height:20px;flex:none;margin-top:2px}
.bil-plus{color:#1d7a46}.bil-tab select{max-width:150px}.bil-off td{opacity:.45}
.bl-fx{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}.bl-fx h3{margin:0 0 6px;font-size:15px}.bl-fx select{max-width:170px}
/* Budget simple d'un événement */
.bs-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.bs-kpi>div{background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:12px 14px}.bs-kpi span{display:block;font-size:13px;color:var(--muted)}.bs-kpi b{display:block;font-size:22px;margin-top:4px;white-space:nowrap}
.bs-kpi .pos{background:#eaf7ef;border-color:#b9e2c8;color:#1b1b1f}.bs-kpi .neg{background:#fdecec;border-color:#f3c0c0;color:#1b1b1f}.bs-kpi .pos span,.bs-kpi .neg span{color:#4a4a4f}
.bs-pend{color:#1b1b1f;display:flex;gap:10px;align-items:center;justify-content:space-between;background:#fff6e5;border:1px solid #f1d9a6;border-radius:14px;padding:10px 14px;margin-bottom:12px}
.bs-head,.bs-row{display:grid;grid-template-columns:1fr 92px 104px 44px;gap:8px;align-items:center}.bs-head{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:0 0 6px;border-bottom:1px solid var(--line)}
.bs-row{padding:8px 0;border-bottom:1px solid var(--line)}.bs-row .n,.bs-head .n{text-align:right;white-space:nowrap;font-size:14px}.bs-tot{border-bottom:0;font-weight:700}
.bs-name{all:unset;cursor:pointer;display:flex;flex-direction:column;min-width:0}.bs-name b{overflow-wrap:break-word;hyphens:auto}.bs-pv{display:none}.bs-name small{color:var(--muted);font-size:12px}.bs-name:focus-visible{outline:2px solid var(--brand);border-radius:6px}
.bs-plus{width:40px;height:36px;padding:0;font-size:20px;justify-self:end}.bs-sec>.btn{margin-top:10px}.bs-foot{gap:8px;margin-top:14px;flex-wrap:wrap}
.bs-choices{display:grid;gap:8px}.bs-ch{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px}.bs-ch:hover,.bs-ch:focus-visible{border-color:var(--brand)}
.bs-ch span{grid-row:span 2;font-size:24px;text-align:center}.bs-ch small{color:var(--muted)}.bil-it.bs-pick{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:flex;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}.bil-it.bs-pick:hover,.bil-it.bs-pick:focus-visible{background:var(--soft)}
@media (max-width:560px){.bs-kpi{grid-template-columns:1fr 1fr}.bs-kpi>div:last-child{grid-column:span 2}.bs-kpi b{font-size:19px}.bs-head,.bs-row{grid-template-columns:1fr 100px 40px;gap:8px}.bs-head>:nth-child(2),.bs-row>.n.muted{display:none}.bs-pv{display:block}.bs-row .n,.bs-head .n{font-size:14px}}
.bs-fx-act{display:flex;flex-direction:column;gap:6px;align-items:stretch;max-width:180px}.bs-img{display:block;max-width:100%;max-height:70vh;margin:0 auto;border-radius:10px;background:#fff}.bs-pdf{width:100%;height:70vh;border:0;border-radius:10px;background:#fff}
.bs-cur{display:flex;gap:6px}.bs-cur input{flex:1;min-width:0}.bs-cur select{width:84px;flex:none}.bs-opt{display:grid;gap:8px;border:1px dashed var(--line);border-radius:12px;padding:10px}
.bs-th{width:46px;height:46px;border-radius:8px;object-fit:cover;flex:none;background:var(--soft)}.bs-th0{display:grid;place-items:center;font-size:20px}.bs-amt{white-space:nowrap}.bs-lh{font-size:14px;margin:14px 0 6px}
.bs-prev{display:block;font-size:11px;font-weight:400;color:var(--muted)}.bs-prev.bad{color:#c0392b}.bs-cmpc{margin-top:12px}.okx{color:#1d7a46}
/* Idées 26-27 nov. : réinscription, sondage, reçus par courriel, repas des Fêtes */
.rv-card,.sd-card{margin-top:14px}.sd-k{display:flex;gap:10px;margin-bottom:10px}.sd-k>div{border:1px solid var(--line);border-radius:12px;padding:8px 12px}.sd-k b{display:block;font-size:20px}.sd-k span{font-size:12px;color:var(--muted)}
.sd-res{background:var(--soft);border-radius:12px;padding:10px 12px;margin-top:10px}.sd-it{border-top:1px solid var(--line);padding:8px 0;display:grid;gap:4px}.sd-st{color:#c9a227;letter-spacing:1px}
.fx-card{margin-top:12px}.fx-card .bs-cur input{font-size:14px}
.rf-list{margin-top:10px;border-top:1px solid var(--line)}.rf-it{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.rf-it.ok b{text-decoration:none}.rf-x{padding:4px 8px}
.rf-add{display:flex;gap:8px;margin-top:10px}.rf-add input{flex:1;min-width:0}
/* Idées 29 nov. : dépôts, cartes de joueur, objectifs */
.dp-it{flex-wrap:wrap;gap:8px}.pc-card{margin-top:14px}
.ob-card{display:grid;gap:8px}.ob-big b{font-size:24px}.ob-big span{color:var(--muted)}
.ob-bar{position:relative;height:12px;border-radius:99px;background:var(--soft);overflow:visible}.ob-bar span{display:block;height:100%;border-radius:99px;background:var(--brand)}.ob-bar i{position:absolute;top:-4px;width:2px;height:20px;background:var(--text);border-radius:2px}
.ob-m{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;height:56px;align-items:end}.ob-m span{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}.ob-m i{display:block;width:100%;background:var(--brand);opacity:.55;border-radius:3px 3px 0 0;min-height:1px}.ob-m small{font-size:10px;color:var(--muted)}
/* Idées du 2 déc. : résumé du soir, joueur du match */
.rs-ul{margin:4px 0 0;padding-left:20px}.rs-ul li{margin:4px 0;line-height:1.45}
.potm-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.potm-img{min-height:200px;background:var(--soft);border-radius:12px;display:grid;place-items:center}
@media(max-width:700px){.potm-grid{grid-template-columns:1fr}}
