/* Boss Pour Moi — interface TÉLÉPHONE (≤ 760 px), refonte du 04/11/2026.
   Tout est dans des requêtes ≤ 760 px : l'ordinateur ne change pas.
   Principes : fond calme et uni, cartes pleines sans ombre, une seule famille de caractères
   (Public Sans, chiffres alignés), une seule action orange par écran, pas de texte d'explication
   permanent (il reste dans le « ? »), l'urgent en haut, cibles de 44 px. */

@media (max-width:760px){

/* ---- 1. Jetons ---- */
body.verre{
  --t-page:#F5F2EC; --t-carte:#FFFFFF; --t-creux:#F1EDE6; --t-trait:rgba(23,25,27,.08); --t-trait-fort:rgba(23,25,27,.16);
  --t-txt:#17191B; --t-txt2:#4D545B; --t-orange:#F5820F; --t-orange-txt:#A84A08; --t-orange-doux:rgba(245,130,15,.13);
  --surface:var(--t-carte); --surface-2:var(--t-carte); --surface-3:var(--t-creux);
  --line:var(--t-trait); --line-soft:var(--t-trait);
  --ink:var(--t-txt); --ink-2:var(--t-txt2); --ink-3:var(--t-txt2);
  --accent-text:var(--t-orange-txt);
  --radius:18px; --radius-lg:20px; --shadow:none; --shadow-lift:none;
  --verre-opaque:var(--t-carte); --verre-opaque-2:var(--t-creux); --verre-opaque-3:var(--t-creux); --verre-bord:var(--t-trait);
}
:root[data-theme="dark"] body.verre{
  --t-page:#101213; --t-carte:#1A1D1F; --t-creux:#24272A; --t-trait:rgba(255,255,255,.08); --t-trait-fort:rgba(255,255,255,.18);
  --t-txt:#F4F1EC; --t-txt2:#AAAEB2; --t-orange:#FF9130; --t-orange-txt:#FFA85C; --t-orange-doux:rgba(255,145,48,.16);
  --surface:var(--t-carte); --surface-2:var(--t-carte); --surface-3:var(--t-creux);
  --line:var(--t-trait); --line-soft:var(--t-trait);
  --ink:var(--t-txt); --ink-2:var(--t-txt2); --ink-3:var(--t-txt2);
  --accent-text:var(--t-orange-txt);
  --verre-opaque:var(--t-carte); --verre-opaque-2:var(--t-creux); --verre-opaque-3:var(--t-creux); --verre-bord:var(--t-trait);
}

/* ---- 2. Réflexes d'une appli installée ---- */
html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior-y:contain}
html,body.verre{background:var(--t-page)!important}
body.verre::before,body.verre::after{display:none!important}
body.verre{font-family:"Public Sans",system-ui,sans-serif;font-size:16px;color:var(--t-txt);-webkit-font-smoothing:antialiased}
body.verre :is(button,a,[role="button"],summary,label){touch-action:manipulation}
body.verre :is(button,[role="button"],.filter-btn,.ux-tab,summary){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.verre .shell,body.verre .main,body.verre .main .panel{background:transparent!important}
body.verre .main{padding:0 16px calc(96px + env(safe-area-inset-bottom))!important}

/* ---- 3. Haut d'écran : une seule ligne fine ---- */
body.verre .side{
  background:var(--t-page)!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  padding:calc(4px + env(safe-area-inset-top)) 16px 0!important;gap:0!important;
}
body.verre .brand-row{min-height:44px!important;gap:4px!important;justify-content:flex-start!important}
body.verre .side .brand{flex:1 1 auto;min-width:0}
body.verre .side .brand-eyebrow{display:none!important}
body.verre .side .brand-name{font-family:"Public Sans",sans-serif!important;font-size:15px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;color:var(--t-txt)!important}
body.verre .side .brand-name em{color:var(--t-orange-txt)!important;font-style:normal}
body.verre .side #themeBtn{display:none!important}
body.verre .side .icon-badge{position:relative;margin-right:-10px}
body.verre .side .bell-btn{width:44px!important;height:44px!important;min-height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--t-txt)!important;display:grid;place-items:center}
body.verre .side .bell-btn svg{width:22px;height:22px}
body.verre .side .badge-dot{top:3px!important;right:3px!important;left:auto!important;bottom:auto!important;min-width:16px!important;height:16px!important;padding:0 3px!important;font-size:10.5px!important;font-weight:700;line-height:16px!important;border-radius:99px;border:2px solid var(--t-page);box-sizing:content-box;background:#C4321F!important;color:#fff!important}

/* Bandeau démo : une ligne, sans cadre */
body.verre .side .demo-bar{background:transparent!important;border:0!important;border-radius:0!important;padding:2px 0 8px!important;margin:0!important;gap:8px!important;box-shadow:none!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;overflow:visible!important}
body.verre .side .demo-bar > span:first-child{display:none!important}
body.verre .side .demo-bar .demo-profil{flex:1 1 0!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:0 28px 0 12px!important;border-radius:12px!important;background-color:var(--t-carte)!important;border:1px solid var(--t-trait)!important;color:var(--t-txt)!important;font-size:16px!important;font-weight:500}
body.verre .side .demo-bar .demo-acces{flex:none!important;height:40px!important;min-height:40px!important;padding:0 14px!important;border-radius:12px!important;font-size:14px!important;font-weight:700!important;background:var(--t-txt)!important;color:var(--t-page)!important;border:0!important;box-shadow:none!important}

/* ---- 4. Barre du bas : pleine, calme, l'onglet actif en orange ---- */
body.verre .ux-tabbar{
  background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important;
  padding:6px 4px calc(4px + env(safe-area-inset-bottom))!important;gap:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.verre .ux-tab{gap:2px!important;padding:0 2px!important;min-height:52px!important;justify-content:center;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:var(--t-txt2)!important;font-size:11.5px!important;font-weight:600!important;letter-spacing:0!important}
body.verre .ux-tab svg{width:22px!important;height:22px!important;padding:4px 16px;box-sizing:content-box;border-radius:99px;transition:background .16s ease}
body.verre .ux-tab.on{color:var(--t-orange-txt)!important;background:transparent!important;font-weight:700!important}
body.verre .ux-tab.on svg{background:var(--t-orange-doux)}
body.verre .ux-tab:active svg{background:var(--t-creux)}

/* ---- 5. Titres de rubrique ---- */
body.verre .main .panel > .topbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0 4px!important;margin:8px 0 14px!important;min-height:44px}
body.verre .main .panel > .topbar > div:first-child{flex:1 1 0;min-width:0}
body.verre .main .topbar h1{
  font-family:"Public Sans",sans-serif!important;font-size:27px!important;line-height:1.15!important;font-weight:700!important;text-transform:none!important;
  letter-spacing:-.015em!important;padding:0!important;margin:0!important;color:var(--t-txt)!important;
}
body.verre .main .topbar h1::before{display:none!important}
/* Les phrases d'introduction restent dans le « ? » */
body.verre .main .panel:not([data-section="home"]) > .topbar p{display:none!important}
/* « ? » et réglages : icônes nues */
body.verre .main .ux-top-actions{order:1;margin-left:auto;flex-wrap:nowrap!important;gap:8px!important;margin-right:-10px}
body.verre .main :is(.ux-gear,.ux-help){width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--t-txt2)!important;border-radius:99px!important;display:inline-grid;place-items:center}
body.verre .main :is(.ux-gear,.ux-help):active{background:var(--t-creux)!important}
body.verre .main .ux-help{font-size:17px!important;font-weight:600}
body.verre .main .ux-gear svg{width:21px;height:21px}
/* Quand le + flottant est là, le grand bouton orange du haut est un doublon */


/* ---- 6. Bouton d'ajout flottant, avec son nom ---- */
body.verre #mbPlus{
  width:auto!important;height:52px!important;right:16px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;padding:0 20px 0 15px!important;border-radius:99px!important;
  grid-auto-flow:column;gap:7px;align-items:center;background:var(--t-orange)!important;color:#17191B!important;box-shadow:0 8px 20px -8px rgba(120,60,0,.55)!important;font:700 15px/1 "Public Sans",sans-serif;
}
body.verre #mbPlus::after{content:attr(aria-label)}
body.verre #mbPlus svg{width:21px!important;height:21px!important}
:root[data-theme="dark"] body.verre #mbPlus{box-shadow:0 8px 20px -8px rgba(0,0,0,.8)!important}

/* ---- 7. Cartes, chiffres, listes ---- */
body.verre .main :is(.stat,.activity,.bento-card,.tools-panel,.table-wrap,.list-card,.card,.rg-card,.ux-kpi,.nt-today,.hm-chip,.set-card,.chart-card,.hero-card,.fa-card){
  background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:18px!important;box-shadow:none!important;
}
body.verre .main :is(.mono,td.mono,.stat-val,.hero-num,.ux-kpi .v,.chart-total,.stat-val *){font-family:"Public Sans",sans-serif!important;font-variant-numeric:tabular-nums;letter-spacing:-.01em!important}
body.verre .main :is(.stat-lab,.hero-lab,.ux-kpi .l,.chart-total small,.section-lab h2){text-transform:none!important;letter-spacing:0!important;font-family:"Public Sans",sans-serif!important}
body.verre .main .section-lab{margin:22px 0 8px!important}
body.verre .main .section-lab h2{font-size:15px!important;font-weight:700!important;color:var(--t-txt)!important}

/* Chiffres d'en-tête : deux par ligne, compacts */
body.verre .main .ux-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important}
body.verre .main .panel[data-section="avis"] .ux-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.verre .main .ux-kpi{padding:11px 13px!important;min-height:0!important;display:flex!important;flex-direction:column-reverse;justify-content:flex-end;gap:2px;text-align:left}
body.verre .main .panel:not([data-section="avis"]) .ux-kpis .ux-kpi:nth-child(n+3){display:none!important}
body.verre .main .ux-kpi .v{font-size:clamp(15px,5vw,19px)!important;white-space:nowrap;overflow:visible!important;text-overflow:clip!important;font-weight:700!important;color:var(--t-txt)!important;line-height:1.2}
body.verre .main .ux-kpi .l{font-size:13px!important;font-weight:500!important;color:var(--t-txt2)!important;line-height:1.25}

/* Recherche + tri + filtres */
body.verre .main .filters{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important;margin:0 0 12px!important;align-items:center}
body.verre .main .filters .dv-search{grid-column:1;grid-row:1}
body.verre .main .filters :is(.sort-toggle,.fa-sort){grid-column:2;grid-row:1}
body.verre .main .filters .filter-status{grid-column:1/-1;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important}
body.verre .main .filters:not(:has(.dv-search)) .filter-status{grid-row:2}
body.verre .main .filters:not(:has(.dv-search)) :is(.sort-toggle,.fa-sort){grid-column:1/-1;grid-row:1;justify-self:end}
body.verre .main :is(.filter-btn,.nt-filter){
  height:38px!important;min-height:38px!important;padding:0 13px!important;border-radius:99px!important;font-size:14px!important;font-weight:600!important;
  background:transparent!important;border:1px solid var(--t-trait-fort)!important;box-shadow:none!important;color:var(--t-txt2)!important;position:relative;
}
body.verre .main :is(.filter-btn,.nt-filter)::after{content:"";position:absolute;inset:-4px 0}
body.verre .main :is(.filter-btn.active,.filter-btn[aria-pressed="true"],.nt-filter.on){background:var(--t-txt)!important;border-color:var(--t-txt)!important;color:var(--t-page)!important}

/* ---- 8. Champs ---- */
body.verre .main :is(.val-input,input[type="text"],input[type="search"],input[type="email"],input[type="tel"],input[type="number"],input[type="date"],input[type="time"],input[type="url"],input:not([type]),select,textarea){
  font-size:16px!important;background-color:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;border-radius:12px!important;box-shadow:none!important;color:var(--t-txt)!important;
}
body.verre .main :is(.val-input,input[type="text"],input[type="search"],input[type="email"],input[type="tel"],input[type="number"],input[type="date"],input[type="time"],input[type="url"],input:not([type]),select){min-height:46px;padding-left:13px;padding-right:13px}
body.verre .main :is(input,select,textarea):focus{outline:2px solid var(--t-orange)!important;outline-offset:0;border-color:transparent!important}
body.verre .main ::placeholder{color:color-mix(in srgb,var(--t-txt2) 72%,transparent)!important;opacity:1}

/* ---- 9. Boutons ---- */
body.verre .main .act-btn{min-height:46px;border-radius:13px!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;background:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;color:var(--t-txt)!important}
body.verre .main .act-btn.primary{background:var(--t-orange)!important;border-color:var(--t-orange)!important;color:#17191B!important;background-image:none!important}
body.verre .main :is(.act-btn,.filter-btn,.nt-filter,.ux-kpi,.fa-card):active{transform:scale(.98);transition:transform .1s ease-out}

/* ---- 10. Listes : une seule carte, des lignes séparées par un trait fin ---- */
body.verre .main :is(.tbl-wrap,.table-wrap){background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:18px!important;box-shadow:none!important;overflow:hidden!important;padding:0!important}
body.verre .main :is(table.devis,table.chantiers){display:block!important;min-width:0!important;width:100%!important}
body.verre .main :is(table.devis,table.chantiers) thead{display:none!important}
body.verre .main :is(table.devis,table.chantiers) tbody{display:block!important}
body.verre .main :is(table.devis,table.chantiers) tbody tr{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 12px!important;padding:13px 15px!important;margin:0!important;
  background:transparent!important;border:0!important;border-bottom:1px solid var(--t-trait)!important;border-radius:0!important;box-shadow:none!important;align-items:center;
}
body.verre .main :is(table.devis,table.chantiers) tbody tr:last-child{border-bottom:0!important}
body.verre .main :is(table.devis,table.chantiers) tbody tr:active{background:var(--t-creux)!important}
body.verre .main :is(table.devis,table.chantiers) td{display:block!important;padding:0!important;margin:0!important;border:0!important;background:none!important;min-width:0;text-align:left!important;font-family:"Public Sans",sans-serif!important;font-variant-numeric:tabular-nums}
body.verre .main :is(table.devis,table.chantiers) td.client{font-size:16px!important;font-weight:650!important;color:var(--t-txt)!important}
/* Devis : client | montant / objet / état | date */
body.verre .main table.devis tbody tr{grid-template-areas:"c m" "o o" "s d"!important}
body.verre .main table.devis td:nth-child(1){display:none!important}
body.verre .main table.devis td:nth-child(2){grid-area:c}
body.verre .main table.devis td:nth-child(3){grid-area:o;font-size:14px!important;color:var(--t-txt2)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.verre .main table.devis td:nth-child(4){grid-area:m;font-size:16px!important;font-weight:700!important;color:var(--t-txt)!important;text-align:right!important;margin:0!important;align-self:start}
body.verre .main table.devis td:nth-child(5){display:block!important;grid-area:d;font-size:13px!important;color:var(--t-txt2)!important;width:10.4ch;overflow:hidden;white-space:nowrap;justify-self:end;align-self:center}
body.verre .main table.devis td:nth-child(6){grid-area:s;justify-self:start;margin-top:5px!important}
/* Avis : client | état / chantier | date */
body.verre .main table.chantiers tbody tr{grid-template-areas:"c s" "o d"!important}
body.verre .main table.chantiers td:nth-child(1){grid-area:c}
body.verre .main table.chantiers td:nth-child(2){grid-area:s;justify-self:end}
body.verre .main table.chantiers td:nth-child(3){grid-area:o;font-size:14px!important;color:var(--t-txt2)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.verre .main table.chantiers td:nth-child(4){grid-area:d;font-size:13px!important;color:var(--t-txt2)!important;justify-self:end}
body.verre .main :is(table.devis,table.chantiers) tbody td[colspan]{grid-column:1/-1;grid-area:auto!important;text-align:center!important;display:block!important;width:auto!important;white-space:normal!important}
/* Pastilles d'état */
body.verre .main .chip{font-size:13px!important;font-weight:600!important;padding:3px 9px!important;border-radius:99px!important;line-height:1.35;font-family:"Public Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap}

/* Factures : même liste */
body.verre .main .fa-cards{gap:0!important;background:var(--t-carte);border:1px solid var(--t-trait);border-radius:18px;overflow:hidden}
body.verre .main .fa-card{background:transparent!important;border:0!important;border-bottom:1px solid var(--t-trait)!important;border-radius:0!important;padding:13px 15px!important;margin:0!important}
body.verre .main .fa-card:last-child{border-bottom:0!important}
body.verre .main .fa-card:active{background:var(--t-creux)!important;transform:none}
body.verre .main .fa-card-top{font-size:16px!important;font-weight:650!important}
body.verre .main .fa-card-top :is(b,strong,.mono){font-family:"Public Sans",sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums}
body.verre .main .fa-card-sub{font-size:14px!important;color:var(--t-txt2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
body.verre .main #cpExport{min-height:44px;padding:0 14px;background:transparent!important;border:0!important;color:var(--t-orange-txt)!important;font-size:14px!important;font-weight:600!important;margin:6px auto 0;display:block;width:auto}

/* ---- 11. Aujourd'hui ---- */
body.verre .main .panel[data-section="home"][data-panel="accueil"] > .topbar{margin:6px 0 0!important;display:block!important}
body.verre .main .panel[data-section="home"] .topbar h1.hi-name{font-size:24px!important;line-height:1.2!important;max-width:none}
body.verre .main .hi-name em,body.verre .main .hi-accent{color:var(--t-txt)!important;font-style:normal}
body.verre .main .panel[data-section="home"] .topbar p{font-size:0!important;margin:3px 0 12px!important}
body.verre .main .panel[data-section="home"] .topbar p .tag{font:500 14px/1.3 "Public Sans",sans-serif!important;background:none!important;border:0!important;padding:0!important;color:var(--t-txt2)!important;margin:0!important}
body.verre .main .gs-wrap{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:14px!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:46px;display:flex;align-items:center}
body.verre .main .gs-wrap .gs-input{background:transparent!important;border:0!important;min-height:46px;height:46px;padding-left:40px!important}
body.verre .main .gs-wrap .gs-input:focus{outline:0!important}
body.verre .main .gs-wrap:focus-within{outline:2px solid var(--t-orange)}
body.verre .main .hm-strip{gap:8px!important;margin:12px 0 0!important}
body.verre .main .hm-chip{padding:10px 11px!important;display:flex;flex-direction:column;gap:2px;align-items:flex-start;text-align:left;min-height:64px;justify-content:center}
body.verre .main .hm-chip b{font:700 15px/1.2 "Public Sans",sans-serif!important;font-variant-numeric:tabular-nums;color:var(--t-txt)!important;letter-spacing:-.01em;white-space:nowrap}
body.verre .main .hm-chip.crit b{color:#B3271A!important}
:root[data-theme="dark"] body.verre .main .hm-chip.crit b{color:#F08F82!important}
body.verre .main .hm-chip span{font-size:13px!important;line-height:1.25;color:var(--t-txt2)!important}
/* Lignes d'action */
body.verre .main .activity{padding:0!important;overflow:hidden}
body.verre .main .act-row{padding:13px 14px!important;gap:12px!important;border-bottom:1px solid var(--t-trait)!important;background:transparent!important;align-items:flex-start!important}
body.verre .main .act-row:last-child{border-bottom:0!important}
body.verre .main .act-ico{width:34px!important;height:34px!important;border-radius:11px!important;flex:none;background:var(--t-creux)!important;color:var(--t-txt2)!important;display:grid;place-items:center;border:0!important}
body.verre .main .act-ico svg{width:17px;height:17px}
body.verre .main .act-txt{font-size:16px!important;line-height:1.35!important;color:var(--t-txt)!important}
body.verre .main .act-time{font-size:14px!important;line-height:1.35!important;color:var(--t-txt2)!important;margin-top:2px}
body.verre .main .panel[data-section="home"] .act-row .act-acts{padding-left:46px!important;margin-top:4px!important;gap:8px!important}
body.verre .main .act-act{height:44px!important;min-height:44px!important;padding:0 15px!important;border-radius:12px!important;border:0!important;background:var(--t-creux)!important;color:var(--t-txt)!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important}

/* ---- 12. Aujourd'hui, suite : un seul chiffre fort, le reste en retrait ---- */
:root body.verre .panel[data-section="home"] .topbar h1.hi-name .hi-accent,:root:not([data-theme="dark"]) body.verre .panel[data-section="home"] .topbar h1.hi-name .hi-accent{color:inherit!important;-webkit-text-fill-color:currentColor!important}
:root body.verre .main .act-btn.ux-gear{background:transparent!important;border:0!important;box-shadow:none!important;min-height:44px}
:root body.verre .panel[data-section="home"] .nt-today{border-left:1px solid var(--t-trait)!important;border-radius:18px!important;padding:12px 14px 6px!important;gap:0!important;margin:12px 0 0!important}
:root body.verre .panel[data-section="home"] .nt-today-lab{font-size:15px!important;font-weight:700!important;color:var(--t-txt)!important;padding:0 0 6px;width:100%}
:root body.verre .panel[data-section="home"] .nt-today-item{background:transparent!important;border:0!important;border-top:1px solid var(--t-trait)!important;border-radius:0!important;padding:10px 0!important;max-width:none!important;width:100%;height:auto!important;min-height:44px!important;flex:1 1 100%!important;white-space:normal;display:flex;gap:11px;align-items:flex-start}
:root body.verre .panel[data-section="home"] .nt-today-item span{white-space:normal!important;font-size:16px;line-height:1.35}
:root body.verre .panel[data-section="home"] .nt-today-more{margin:0!important;min-height:44px;font-size:14px!important;font-weight:600;color:var(--t-orange-txt)!important;background:none!important;border:0!important;padding:0!important}
body.verre .main .panel[data-section="home"] .act-row{flex-wrap:wrap!important}
body.verre .main .panel[data-section="home"] .act-main{flex:1 1 calc(100% - 46px)!important;min-width:0}
body.verre .main .panel[data-section="home"] .act-row .act-acts{flex:1 1 auto!important;margin-top:0!important}
body.verre .main .panel[data-section="home"] .act-act svg{width:18px;height:18px}
body.verre .main .panel[data-section="home"] .stat-row{gap:0!important;margin-top:18px!important;display:block!important}
body.verre .main .panel[data-section="home"] .stat-row > .stat-go{display:none!important}
body.verre .main .ca-card{background:var(--t-carte)!important;background-image:none!important;color:var(--t-txt)!important;padding:14px 15px!important;--verre-ca-txt:var(--t-txt);--verre-ca-courbe:var(--t-orange);border:1px solid var(--t-trait)!important}
body.verre .main .ca-card *{color:inherit}
body.verre .main .ca-card .stat-lab{font-size:14px!important;font-weight:500!important;color:var(--t-txt2)!important}
body.verre .main .ca-card :is(.ca-val,.stat-val){font-size:30px!important;font-weight:700!important;color:var(--t-txt)!important}
body.verre .main .panel[data-section="home"] .bento{margin-top:10px!important;display:block!important}
body.verre .main .panel[data-section="home"] .bento-lite-side{display:block!important}
body.verre .main .panel[data-section="home"] .badge-combo{display:none!important}
body.verre .main .hm-goal{padding:14px 15px!important;background:var(--t-carte)!important}
body.verre .main .temps-strip{background:transparent!important;border:0!important;box-shadow:none!important;padding:12px 2px 0!important;margin:0!important;display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap!important}
body.verre .main .temps-strip .temps-label{font-size:14px!important;color:var(--t-txt2)!important;font-weight:500;flex:1 1 auto}
body.verre .main .temps-strip .temps-num{font-family:"Public Sans",sans-serif!important;font-size:15px!important;font-weight:700!important;color:var(--t-txt)!important}
body.verre .main .temps-strip .temps-ico,body.verre .main .temps-strip .temps-detail{display:none!important}
body.verre .main .hm-reussite{background:transparent!important;border:0!important;box-shadow:none!important;padding:10px 2px 0!important;margin:0!important;gap:8px}
body.verre .main .hm-reussite p{font-size:14px!important;color:var(--t-txt2)!important}

/* ---- 13. Un seul bouton d'ajout : les rubriques qui ont le + flottant perdent leur grande barre ---- */

body:has(.panel[data-section="relance"]:not([hidden])) #mbPlus{display:none!important}

/* Tri seul (Avis) : petit bouton à droite des filtres */
body.verre .main .filters:not(:has(.dv-search)){grid-template-columns:minmax(0,1fr) 44px!important;align-items:start}
body.verre .main .filters:not(:has(.dv-search)) .filter-status{grid-column:1!important;grid-row:1!important}
body.verre .main .filters:not(:has(.dv-search)) .sort-toggle{grid-column:2!important;grid-row:1!important;justify-self:end;width:44px!important;min-width:44px;height:44px;min-height:44px;padding:0!important;margin:-3px 0 0!important;font-size:0!important;border-radius:12px;background:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;box-shadow:none!important;display:grid;place-items:center}
body.verre .main .filters:not(:has(.dv-search)) .sort-toggle::before{content:"⇅";font-size:20px;color:var(--t-txt2)}
body.verre .main .filters:has(.dv-search) .sort-toggle,body.verre .main .filters .fa-sort{border-radius:12px!important;border:1px solid var(--t-trait-fort)!important;background-color:var(--t-carte)!important;box-shadow:none!important}

/* ---- 14. Textes : plus aucune capitale de titre, une seule famille ---- */
body.verre :is(.main,.chat-overlay,.section-switch) :is(h1,h2,h3,h4,label,legend,.lab,.stat-lab,.field-lab,.set-card-title,.rg-title){text-transform:none!important;letter-spacing:0!important;font-family:"Public Sans",sans-serif!important}
body.verre :is(.main,.chat-overlay) .field label,body.verre :is(.main,.chat-overlay) .field > span:first-child,body.verre .chat-overlay label{font-size:14px!important;font-weight:600!important;color:var(--t-txt2)!important;margin-bottom:5px}
body.verre .main :is(.set-card,.card,.side-panel > *,.detail-left > *) h2,body.verre .main :is(.set-card,.card,.side-panel > *,.detail-left > *) h3{font-size:16px!important;font-weight:700!important;color:var(--t-txt)!important}
body.verre .main .set-card{padding:15px!important}
body.verre .main :is(.mono,.val-input.mono){font-family:"Public Sans",sans-serif!important;font-variant-numeric:tabular-nums}
body.verre .main .dv-req{font-weight:500!important;color:var(--t-txt2)!important;font-size:13px!important;letter-spacing:0!important}

/* Le bouton de retour : un simple lien en haut à gauche */
body.verre .main .back-link{min-height:44px!important;padding:0 8px 0 0!important;font-size:15px!important;font-weight:600!important;color:var(--t-orange-txt)!important;background:none!important;border:0!important;box-shadow:none!important;margin:0 0 2px!important;display:inline-flex;align-items:center}

/* ---- 15. Fiche (devis, facture, rendez-vous) ---- */
body.verre .main .detail-head{display:block!important;margin:0 0 14px!important;padding:0!important;background:none!important;border:0!important}
body.verre .main .detail-title h1,body.verre .main .detail-title h2{font-size:24px!important;line-height:1.2!important;font-weight:700!important;color:var(--t-txt)!important;margin:0 0 2px!important}
body.verre .main .detail-title :is(p,.sub,span){font-size:14px!important;color:var(--t-txt2)!important}
body.verre .main :is(.detail-amount,.fa-dt-amount){font-size:28px!important;font-weight:700!important;color:var(--t-txt)!important;margin-top:8px!important;text-align:left!important}
body.verre .main :is(.detail-amount,.fa-dt-amount) *{font-family:"Public Sans",sans-serif!important;font-variant-numeric:tabular-nums}
body.verre .main .detail-grid{display:flex!important;flex-direction:column;gap:10px!important}
body.verre .main .detail-left,body.verre .main .side-panel{display:flex!important;flex-direction:column;gap:10px!important;margin:0!important}
body.verre .main :is(.detail-left,.side-panel) > *{margin:0!important}
body.verre .main .side-panel > *{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:18px!important;padding:15px!important;box-shadow:none!important}
body.verre .main .fa-actbar{background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.verre .main .fa-actbar button{font-size:14px!important;font-weight:600!important;border-radius:10px!important;background:transparent!important;border:0!important;color:var(--t-txt2)!important}
body.verre .main .fa-actbar button.on{color:var(--t-orange-txt)!important;background:var(--t-orange-doux)!important}

/* ---- 16. Fenêtres : elles montent du bas, sur toute la largeur ---- */
body.verre .chat-overlay{align-items:flex-end!important;padding:0!important;background:rgba(15,17,18,.42)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.verre .chat-overlay .chat-modal{
  --surface:var(--t-carte);--surface-2:var(--t-carte);--surface-3:var(--t-creux);
  max-width:none!important;width:100%!important;height:auto!important;max-height:calc(100dvh - 40px - env(safe-area-inset-top))!important;border-radius:22px 22px 0 0!important;border:0!important;box-shadow:none!important;padding-bottom:env(safe-area-inset-bottom);
}
body.verre #chatOverlay .chat-modal{height:calc(100dvh - 40px - env(safe-area-inset-top))!important}
body.verre #plFormOverlay .chat-modal{height:calc(100dvh - 24px - env(safe-area-inset-top))!important}
body.verre .chat-overlay .chat-head{padding:14px 12px 12px 18px!important;border-bottom:1px solid var(--t-trait)!important;background:transparent!important}
body.verre .chat-overlay .chat-head-title{font-size:17px!important;font-weight:700!important;font-family:"Public Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important}
body.verre .chat-overlay :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;background-color:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;border-radius:12px!important;box-shadow:none!important;color:var(--t-txt)!important;min-height:46px}
body.verre .chat-overlay .act-btn{min-height:46px;border-radius:13px!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;background:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;color:var(--t-txt)!important;background-image:none!important}
body.verre .chat-overlay .act-btn.primary{background:var(--t-orange)!important;border-color:var(--t-orange)!important;color:#17191B!important}

/* ---- 17. Menu : une feuille simple ---- */
body.verre .section-switch.open{border-radius:22px 22px 0 0!important;box-shadow:none!important;border:0!important;background:var(--t-carte)!important;padding:10px 8px calc(6px + env(safe-area-inset-bottom))!important;left:0!important;right:0!important;bottom:calc(62px + env(safe-area-inset-bottom))!important;width:auto!important;margin:0!important}
body.verre .section-switch .sec-btn{min-height:46px!important;padding:0 10px!important;border-radius:12px!important;font-family:"Public Sans",sans-serif!important;font-size:16px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:var(--t-txt)!important}
body.verre .section-switch .sec-btn.active{background:var(--t-orange-doux)!important;color:var(--t-orange-txt)!important}
body.verre .section-switch .sec-btn .sec-ico{background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important}
body.verre .section-switch .sec-btn .sec-ico svg{width:20px;height:20px}
body.verre .section-switch .demo-bar,body.verre .section-switch button{font-family:"Public Sans",sans-serif!important}

/* ---- 18. Aujourd'hui : la carte du chiffre ---- */
:root body.verre .main .panel[data-section="home"] .ca-card,:root:not([data-theme="dark"]) body.verre .main .panel[data-section="home"] .ca-card{background:var(--t-carte)!important;background-image:none!important;border:1px solid var(--t-trait)!important}
:root body.verre .main .ca-card .ca-seg{background:var(--t-creux)!important;border:0!important;box-shadow:none!important;padding:2px!important;border-radius:11px!important}
:root body.verre .main .ca-card .ca-seg-btn{min-height:40px;padding:0 14px!important;font-size:14px!important;font-weight:600!important;border-radius:9px!important;background:transparent!important;color:var(--t-txt2)!important;box-shadow:none!important;border:0!important}
:root body.verre .main .ca-card .ca-seg-btn:is(.on,.active,[aria-pressed="true"]){background:var(--t-carte)!important;color:var(--t-txt)!important}
:root body.verre .main .ca-card button{background:var(--t-creux)!important;color:var(--t-txt)!important;border:0!important;box-shadow:none!important}
:root body.verre .main .panel[data-section="home"] .hm-reussite-acts .act-btn{min-height:44px;background:transparent!important;border:0!important;color:var(--t-orange-txt)!important;padding:0 8px!important;font-size:14px!important}
:root body.verre .main .panel[data-section="home"] .hm-reussite{display:flex;align-items:center}

/* ---- 19. Relances et tableau de bord des factures : chiffres serrés, pas de pavés ---- */
body.verre .main .hero-row{margin:0 0 8px!important}
body.verre .main .hero-card{padding:15px!important;background:var(--t-carte)!important;background-image:none!important}
body.verre .main .hero-lab{font-size:14px!important;font-weight:500!important;color:var(--t-txt2)!important}
body.verre .main .hero-num{font-size:32px!important;font-weight:700!important;color:var(--t-txt)!important;margin:3px 0!important}
body.verre .main .hero-sub{font-size:14px!important;color:var(--t-txt2)!important;margin:0!important}
body.verre .main .panel:not([data-section="home"]) .stat-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 8px!important}
body.verre .main .panel:not([data-section="home"]) .stat{padding:11px 13px!important;display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:2px}
body.verre .main .panel:not([data-section="home"]) .stat .stat-lab{font-size:13px!important;font-weight:500!important;color:var(--t-txt2)!important;line-height:1.25}
body.verre .main .panel:not([data-section="home"]) .stat .stat-val{font-size:19px!important;font-weight:700!important;color:var(--t-txt)!important}
body.verre .main .chart-card{padding:14px 15px!important}
body.verre .main .chart-head{display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
body.verre .main .chart-head > div:first-child{font-size:0}
body.verre .main .chart-head > div:first-child :is(b,strong,h3,.chart-title){font-size:15px!important;font-weight:700;color:var(--t-txt)}
body.verre .main .chart-head :is(p,small){display:none!important}
body.verre .main .chart-total{font-size:16px!important;font-weight:700!important;color:var(--t-txt)!important;text-align:right}
body.verre .main .chart-total small,body.verre .main .chart-total span{font-size:13px!important;font-weight:500;color:var(--t-txt2)!important;display:block}

/* ---- 20. Planning ---- */
body.verre .main .panel[data-section="planning"][data-panel="rdv"] > .topbar h1{display:block!important}
body.verre .main .panel[data-section="planning"] > .topbar{min-height:44px}
body.mb-plus-on .main #dvBrouillonsNew,body.mb-plus-on .main #plBtnNouveau,body.mb-plus-on .main .ec-add-btn,body.mb-plus-on .main #rpNouveauDevis,body.mb-plus-on .main .fa-new-btn,body.mb-plus-on .main #avBtnNouveau{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%);opacity:0;display:block!important}
body.verre .main .pl-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important;margin:0 0 10px!important;align-items:center}
body.verre .main .pl-bar .ca-seg{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:4px;display:flex!important}
body.verre .main .pl-bar .ca-seg button{min-height:40px;height:40px;border-radius:10px!important;font-size:14px!important;font-weight:600!important;padding:0 12px!important;background:transparent!important;border:1px solid var(--t-trait-fort)!important;box-shadow:none!important;color:var(--t-txt2)!important}
body.verre .main .pl-bar .ca-seg button:is(.on,.active,[aria-pressed="true"]){background:var(--t-txt)!important;border-color:var(--t-txt)!important;color:var(--t-page)!important}
body.verre .main .pl-bar .pl-qui{grid-column:1/-1}
body.verre .main .pl-week{display:flex!important;flex-direction:column;gap:8px!important}
body.verre .main .pl-day{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:16px!important;box-shadow:none!important;padding:0!important;overflow:hidden}
body.verre .main .pl-ev{border-radius:12px!important;box-shadow:none!important}
body.verre .main .pl-ev :is(.pl-ev-time,.pl-ev-time *){font-family:"Public Sans",sans-serif!important;font-variant-numeric:tabular-nums;font-size:14px!important}

/* ---- 21. Échéances : une ligne, une action claire ---- */
body.verre .main .ec-tbl .act-btn{min-height:44px;font-size:14px!important;background:transparent!important;border:0!important;color:var(--t-txt2)!important;padding:0 10px!important}
body.verre .main .ec-tbl .act-btn.primary{color:var(--t-orange-txt)!important;background:var(--t-orange-doux)!important;border-radius:11px!important}
body.verre .main table.ec-tbl tbody tr{border-left:0!important}
body.verre .main .ec-notes{background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 2px 0!important;font-size:14px;color:var(--t-txt2)}
body.verre .main .ec-top-btn:not(.primary){min-height:44px!important;background:transparent!important;border:0!important;color:var(--t-orange-txt)!important;padding:0!important;font-size:15px!important;justify-content:flex-start;width:auto!important}

/* ---- 22. Notes & contacts ---- */
body.verre .main #ntCapFull{padding:12px!important}
body.verre .main .nt-cap textarea{min-height:76px!important}
body.verre .main .na-aide{display:none!important}
body.verre .main .nt-group{text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:700!important;color:var(--t-txt)!important;font-family:"Public Sans",sans-serif!important;margin:14px 0 6px!important}
body.verre .main .nt-list{gap:0!important}
body.verre .main .nt-item{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-left:1px solid var(--t-trait)!important;border-radius:16px!important;box-shadow:none!important;padding:12px 13px!important;margin:0 0 8px!important}
body.verre .main .nt-meta{display:flex!important;flex-wrap:wrap!important;gap:2px 12px!important;margin-top:4px!important}
body.verre .main .nt-tag{background:none!important;border:0!important;padding:0!important;min-height:0!important;height:auto!important;font-size:14px!important;font-weight:500!important;color:var(--t-txt2)!important;text-decoration:none!important;position:relative}
body.verre .main button.nt-tag{color:var(--t-orange-txt)!important;min-height:30px!important}
body.verre .main .nt-tag.when.today{color:var(--t-orange-txt)!important;font-weight:600!important}
body.verre .main .nt-acts{display:flex!important;justify-content:flex-end;gap:4px!important;margin-top:2px!important;grid-column:1/-1}
body.verre .main .nt-acts button{min-height:44px!important;padding:0 10px!important;font-size:14px!important;font-weight:600!important;text-decoration:none!important;color:var(--t-txt2)!important;background:none!important;border:0!important}
body.verre .main .nt-acts button.danger{color:#B3271A!important}
:root[data-theme="dark"] body.verre .main .nt-acts button.danger{color:#F08F82!important}
body.verre .main .ct-carnet{border-top:0!important;margin-top:18px!important;padding-top:0!important}
body.verre .main .ct-carnet-head p{display:none!important}
body.verre .main .ct-carnet-head h2{font-size:20px!important;font-weight:700!important}
body.verre .main .ct-carnet-head .act-btn{min-height:44px;background:transparent!important;border:0!important;color:var(--t-orange-txt)!important;padding:0!important;font-size:15px!important;width:auto!important}
body.verre .main .ct-card{background:transparent!important;border:0!important;border-bottom:1px solid var(--t-trait)!important;border-radius:0!important;padding:10px 0!important}

/* ---- 23. Réglages : des lignes, pas de discours ---- */
body.verre .main .rg-support > p,body.verre .main .ux-hub > .ux-hub-chat p{display:none!important}
body.verre .main .ux-hub-row,body.verre .main .ux-hub a,body.verre .main .ux-hub button{min-height:48px}

/* ---- 24. Mon entreprise et FAQ ---- */
body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions{order:-1;flex:1 0 100%!important;justify-content:space-between;margin:0 -10px 2px 0!important}
body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions .act-btn{width:auto!important;min-height:44px;padding:0!important;background:none!important;border:0!important;color:var(--t-orange-txt)!important;font-size:15px!important;white-space:nowrap}
body.verre .main .panel[data-section="aide"] > .topbar h1{display:block!important}
body.verre .main .panel[data-section="aide"] > .topbar{flex-wrap:wrap!important}
body.verre .main .ai-top-actions{order:2!important;flex:1 0 100%!important;display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin:8px 0 0!important}
body.verre .main .ai-top-actions .act-btn{width:100%!important;min-height:46px;padding:0 8px!important;font-size:14px!important;justify-content:center;white-space:normal;line-height:1.2}
body.verre .main .ai-search{position:relative;display:block}
body.verre .main .ai-search input{padding-left:40px!important;width:100%}
body.verre .main .ai-pastrouve{display:none!important}
body.verre .main .ai-chips{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:10px -16px 10px!important;padding:0 16px!important;gap:8px!important}
body.verre .main .ai-chips::-webkit-scrollbar{display:none}
body.verre .main .ai-chips > *{flex:none}
body.verre .main .faq-list{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:18px!important;overflow:hidden;gap:0!important}
body.verre .main .faq-item{background:transparent!important;border:0!important;border-bottom:1px solid var(--t-trait)!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
body.verre .main .faq-item:last-child{border-bottom:0!important}
body.verre .main .faq-item summary{min-height:48px;padding:12px 14px!important;font-size:16px!important;font-weight:600!important}

/* ---- 25. Échéances : ligne de papier ---- */
body.verre .main table.chantiers.ec-tbl tbody tr{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"d s" "t t" "a a"!important;gap:2px 10px!important;padding:13px 15px 8px!important;align-items:start}
body.verre .main table.chantiers.ec-tbl td:nth-child(1){grid-area:d;font-size:16px!important;font-weight:650!important;line-height:1.3;white-space:normal;overflow:visible}
body.verre .main table.chantiers.ec-tbl .ec-sub-fichier{display:none!important}
/* 22/11 (Échéances n° 5) : la ligne grise (assureur, n°, prochain rappel) reste lisible au téléphone, sur une ligne */
body.verre .main table.chantiers.ec-tbl .ec-sub{font-size:13px!important;font-weight:400!important;color:var(--t-txt2)!important;white-space:normal!important;overflow:hidden;max-width:100%!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-height:1.35;margin-top:3px}
body.verre .main table.chantiers.ec-tbl td:nth-child(2){grid-area:t;justify-self:start;font-size:14px!important;color:var(--t-txt2)!important;white-space:normal;overflow:visible}
body.verre .main table.chantiers.ec-tbl td:nth-child(3){grid-area:s;justify-self:end;font-size:13px!important;white-space:normal;overflow:visible;text-align:right!important;max-width:150px}
body.verre .main table.chantiers.ec-tbl td:nth-child(4){grid-area:a;display:flex!important;gap:2px;margin:4px 0 0 -10px!important;white-space:normal;overflow:visible;font-size:14px!important}
body.verre .main table.chantiers.ec-tbl .ec-mini{flex:none;width:auto!important;min-height:44px!important;padding:0 10px!important;margin:0!important;font-size:14px!important;font-weight:600!important;background:transparent!important;border:0!important;color:var(--t-txt2)!important;border-radius:10px!important}
body.verre .main table.chantiers.ec-tbl .ec-mini.primary{color:var(--t-orange-txt)!important;background:transparent!important}
body.verre .main table.chantiers.ec-tbl .ec-mini.danger{color:#B3271A!important;margin-left:auto!important}
:root[data-theme="dark"] body.verre .main table.chantiers.ec-tbl .ec-mini.danger{color:#F08F82!important}
body.verre .main .panel[data-section="echeances"] .section-lab{margin:8px 0 8px!important}
body.verre .main .panel[data-section="echeances"] > .topbar > div:first-child{flex:1 1 0}
body.verre .main #ecBtnPack{order:3;flex:1 0 100%;text-align:left}
body.verre .main .panel[data-section="echeances"] .ec-rappel{background:transparent!important;border:0!important;padding:0!important;font-size:14px!important}

/* ---- 26. Planning : barre et jours ---- */
body.verre .main .pl-top > div:first-child{display:block!important}
body.verre .main .pl-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;gap:8px!important;align-items:center}
body.verre .main .pl-bar > .ca-seg{order:0!important;grid-column:2;grid-row:1;background:var(--t-creux)!important;padding:2px!important;border-radius:12px!important;gap:0!important}
body.verre .main .pl-bar > .ca-seg .ca-seg-btn{border:0!important;background:transparent!important;color:var(--t-txt2)!important;height:40px;min-height:40px;padding:0 11px!important;border-radius:10px!important}
body.verre .main .pl-bar > .ca-seg .ca-seg-btn.on{background:var(--t-carte)!important;color:var(--t-txt)!important}
body.verre .main .pl-bar > .pl-nav{grid-column:1;grid-row:1;display:flex!important;align-items:center;gap:8px!important;flex-wrap:nowrap!important;min-width:0}
body.verre .main .pl-bar .ca-nav-btn{width:40px!important;height:44px!important;min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important;font-size:22px!important;color:var(--t-txt)!important;padding:0!important}
body.verre .main .pl-bar .pl-today-btn{min-height:44px;height:44px;padding:0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:15px!important;font-weight:600!important;color:var(--t-txt)!important}
body.verre .main .pl-bar .pl-period{position:absolute;left:-9999px}
body.verre .main .pl-bar > .pl-qui{order:0!important;grid-column:1/-1;grid-row:2}
body.verre .main .pl-day-head{display:flex!important;align-items:center;justify-content:space-between;padding:2px 4px 2px 14px!important;min-height:46px;border:0!important;background:transparent!important}
body.verre .main .pl-day-name{font-size:16px!important;font-weight:600!important;color:var(--t-txt)!important;font-family:"Public Sans",sans-serif!important;text-transform:none!important}
body.verre .main .pl-day-add{width:44px!important;height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:22px!important;font-weight:400;color:var(--t-txt2)!important}
body.verre .main .pl-day{position:relative}
body.verre .main .pl-free{font-size:14px!important;color:var(--t-txt2)!important;padding:0!important}
body.verre .main .pl-day-body{padding:0 8px 8px!important;display:flex;flex-direction:column;gap:6px}
body.verre .main .pl-ev{padding:10px 12px!important;border:0!important;border-left:0!important;background:var(--t-creux)!important}

/* ---- 27. Fiches : boutons rangés, textes secondaires discrets ---- */
body.verre .main .mini-card{background:var(--t-carte)!important;border:1px solid var(--t-trait)!important;border-radius:18px!important;padding:15px!important;box-shadow:none!important}
body.verre .main .mini-card h4{font-size:16px!important;font-weight:700!important;color:var(--t-txt)!important;text-transform:none!important;letter-spacing:0!important;font-family:"Public Sans",sans-serif!important;margin:0 0 10px!important}
body.verre .main .rp-doc-btns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
body.verre .main .rp-doc-btns > :is(.act-btn,details){width:100%!important;min-width:0}
body.verre .main .rp-doc-btns .act-btn{justify-content:center;text-align:center;font-size:14px!important;padding:0 6px!important;white-space:normal;line-height:1.2;display:flex;align-items:center}
body.verre .main .rp-doc-btns #rpBtnEnvoyer{grid-column:1/-1}
body.verre .main .ux-more summary{list-style:none}
body.verre .main .mini-card p{font-size:14px!important;line-height:1.4!important;color:var(--t-txt2)!important}
body.verre .main .fa-dt-btns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
body.verre .main .fa-dt-btns .act-btn{width:100%;font-size:14px!important;padding:0 6px!important}

/* ---- 28. Tableaux de bord : trois chiffres sur une ligne, sans mode d'emploi ---- */
body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)) .stat{padding:10px 11px!important}
body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)) .stat .stat-val{font-size:clamp(14px,4.2vw,16px)!important;white-space:nowrap}
body.verre .main .chart-sub{display:none!important}
body.verre .main .chart-title{font:700 15px/1.3 "Public Sans",sans-serif!important;color:var(--t-txt)!important;text-transform:none!important;letter-spacing:0!important}
body.verre .main .chart-total{font-family:"Public Sans",sans-serif!important;color:var(--t-txt)!important;text-transform:none!important;letter-spacing:0!important}
body.verre .main .chart-total *{font-family:"Public Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important}

/* ---- 29. Mon entreprise ---- */
body.verre .main .panel[data-section="entreprise"] > .topbar{flex-direction:column!important;align-items:stretch!important;gap:0!important}
body.verre .main .panel[data-section="entreprise"] > .topbar > div:first-child{order:2;flex:none}
body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions{order:1;flex:none!important;display:flex!important;justify-content:space-between;align-items:center;margin:0 -10px 0 0!important}
:root body.verre .main .hm-reussite{background:transparent!important;border:0!important;padding:10px 2px 0!important}
:root body.verre .main .ux-hub :is(.ux-hub-ico,.ux-ico,[class*="ico"]){background:var(--t-creux)!important;color:var(--t-txt2)!important}

/* ---- 30. Cibles de 44 px restantes ---- */
body.verre .side .demo-bar .demo-profil,body.verre .side .demo-bar .demo-acces{height:44px!important;min-height:44px!important}
:root body.verre .main .ca-card .ca-seg-btn{min-height:44px!important}
body.verre .main .faq-go{min-height:44px;display:inline-flex;align-items:center}
body.verre #sectionSwitch .side-links{display:flex!important;flex-wrap:wrap;gap:0 14px;padding:6px 10px 0;border-top:1px solid var(--t-trait);margin-top:6px}
body.verre #sectionSwitch .side-links :is(a,button){min-height:44px;display:inline-flex;align-items:center;font-size:14px!important;font-weight:600;color:var(--t-txt2)!important;background:none!important;border:0!important;padding:0!important;text-decoration:none!important}

/* ---- 31. Retouches après contrôle ---- */
body.verre .main .mecha-card{display:none!important}
body.verre .main .pl-day:has(.pl-free) .pl-day-body{display:none!important}
body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions .act-btn{margin-right:auto;justify-content:flex-start;text-align:left}
body.verre .main table.chantiers.ec-tbl td:nth-child(3){max-width:none}

/* ---- 32. Une seule voix partout : pas de capitales décoratives, pas de police technique ---- */
body.verre :is(.main,.chat-overlay) *:not([class*="dp-"]):not(code):not(kbd):not(.sr-only){text-transform:none!important;letter-spacing:0!important}
body.verre :is(.main,.chat-overlay) :is(h1,h2,h3,h4,b,strong,span,div,p,td,th,label,button,input,select,textarea,a):not([class*="dp-"]):not(code){font-family:"Public Sans",system-ui,sans-serif!important}
body.verre .main :is(.mono,.ux-total,.dv-total-val,.mt-bar b){font-variant-numeric:tabular-nums}

/* ---- 33. En-tête des sous-pages de réglages : retour au-dessus du titre ---- */
body.verre .main .panel[data-panel="reglages"] > .topbar{flex-direction:column!important;align-items:stretch!important;gap:0!important}
body.verre .main .panel[data-panel="reglages"] > .topbar > div:first-child{order:2;flex:none}
body.verre .main .panel[data-panel="reglages"] > .topbar .ux-top-actions{order:1;flex:none!important;display:flex!important;justify-content:space-between;align-items:center;margin:0 -10px 0 0!important}
body.verre .main .panel[data-panel="reglages"] > .topbar .ux-top-actions .act-btn{margin-right:auto;width:auto!important;min-height:44px;padding:0!important;background:none!important;border:0!important;color:var(--t-orange-txt)!important;font-size:15px!important;white-space:nowrap;justify-content:flex-start}

/* ---- 34. Créer un devis ---- */
body.verre .main .dvw-fil{gap:6px!important;margin:0 0 14px!important}
body.verre .main .dvw-fil button{min-height:44px!important;padding:0 10px!important;border-radius:12px!important;background:var(--t-creux)!important;border:0!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;color:var(--t-txt2)!important;justify-content:center}
body.verre .main .dvw-fil li.on button{background:var(--t-orange-doux)!important;color:var(--t-orange-txt)!important;box-shadow:none!important}
body.verre .main .dvw-fil .dvw-num{background:transparent!important;color:inherit!important;width:auto!important;height:auto!important;flex:none!important;font-size:14px!important}
body.verre .main .dvw-fil li.on .dvw-num{background:transparent!important;color:inherit!important}
body.verre .main .dvw-fil li.done button{color:var(--t-txt)!important}
body.verre .main .panel[data-panel="creer"] .field{margin-bottom:12px!important}
body.verre .main .panel[data-panel="creer"] .dvw-nav [data-dvw-prev]{display:none!important}
body.verre .main .panel[data-panel="creer"] .dvw-nav{border-top:0!important;padding:4px 0 0!important;margin-top:4px!important;background:transparent!important}
body.verre .main .panel[data-panel="creer"] .dvw-nav a,body.verre .main .panel[data-panel="creer"] .dvw-nav .fa-link-btn{min-height:44px;display:inline-flex;align-items:center;font-size:14px!important;color:var(--t-txt2)!important;text-decoration:none!important}
body.verre .main .panel[data-panel="creer"] .dv-actions-row{background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important;margin-left:-16px!important;margin-right:-16px!important;padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.verre .main .panel[data-panel="creer"] .ux-total{font-size:13px!important;color:var(--t-txt2)!important;line-height:1.2}
body.verre .main .panel[data-panel="creer"] .ux-total :is(b,strong,span:last-child){font-size:17px!important;font-weight:700!important;color:var(--t-txt)!important;display:block}

/* ---- 35. Métré ---- */
body.verre .main .mt-panel > .topbar{flex-wrap:wrap!important}
body.verre .main .mt-panel > .topbar > div:first-child{flex:1 1 calc(100% - 54px)}
body.verre .main .mt-panel > .topbar > :is(.act-btn,.mt-top-btn):not(.ux-gear){order:3;background:transparent!important;border:0!important;padding:0!important;color:var(--t-orange-txt)!important;font-size:15px!important;min-height:44px;width:auto!important;justify-content:flex-start}
body.verre .main .mt-bar{background:var(--t-txt)!important;color:var(--t-page)!important;border-radius:14px!important;box-shadow:none!important;left:16px!important;right:16px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;padding:8px 8px 8px 14px!important;border:0!important;min-height:56px}
body.verre .main .mt-bar:empty{display:none!important}
body.verre .main .mt-bar b{font-size:16px!important;font-weight:700}
body.verre .main .mt-bar button{background:var(--t-orange)!important;color:#17191B!important;border-radius:10px!important;min-height:44px}
body.verre .main .mt-panel .card:empty,body.verre .main .mt-panel .set-card:empty{display:none!important}

/* ---- 36. Relances dans les fiches ---- */
body.verre .main .rp-rl-plan{gap:0!important;font-size:14px!important}
body.verre .main .rp-rl-step{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto;gap:0 8px!important;align-items:center;padding:6px 0!important;border-top:1px solid var(--t-trait);min-height:44px}
body.verre .main .rp-rl-step .d{min-width:0!important;font-size:13px!important;font-weight:600;color:var(--t-txt2)!important}
body.verre .main .rp-rl-step button{font-size:14px!important;font-weight:600!important;text-decoration:none!important;color:var(--t-orange-txt)!important;min-height:44px;padding:0 0 0 6px!important;white-space:nowrap}
body.verre .main .rp-rl-step.done{color:var(--t-txt2)!important}

/* ---- 37. Détail du chiffre (Aujourd'hui) ---- */
body.verre .main .panel[data-panel="chiffre"] > .topbar{flex-direction:column!important;align-items:stretch!important;gap:8px!important}
body.verre .main .panel[data-panel="chiffre"] > .topbar h1{font-size:24px!important}
body.verre .main .panel[data-panel="chiffre"] .stat-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.verre .main .panel[data-panel="chiffre"] .stat{padding:11px 13px!important}
body.verre .main .stat::after,body.verre .main .stat::before{display:none!important}
body.verre .main .ca-seg{background:var(--t-creux)!important;border:0!important;box-shadow:none!important;padding:2px!important;border-radius:12px!important}
body.verre .main .ca-seg .ca-seg-btn{min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:10px!important;color:var(--t-txt2)!important;font-size:14px!important;font-weight:600!important}
body.verre .main .ca-seg .ca-seg-btn.on{background:var(--t-carte)!important;color:var(--t-txt)!important}

/* ---- 38. Facture : le formulaire remplace la barre du bas ---- */
body:has(.panel[data-section="compte"][data-panel="nouvelle"]:not([hidden])) .ux-tabbar{display:none!important}
body.verre .main .panel[data-section="compte"][data-panel="nouvelle"] .fa-form-actions,body.verre .main .panel[data-section="compte"][data-panel="nouvelle"] .fa-actions{background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important}
body.verre .main details > summary:not(.act-btn){min-height:44px}
body.verre .main .act-btn a,body.verre .main a.act-btn,body.verre .main .act-btn{text-decoration:none!important}

/* ---- 39. Connexion et pages du client (signature, réservation) : mêmes lignes, sans l'appli autour ---- */
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot){background:#F5F2EC!important;font-family:"Public Sans",system-ui,sans-serif}
:root[data-theme="dark"] :is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot){background:#101213!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot) :is(h1,h2,h3,h4,label,.brand-name,.brand-eyebrow,.sign-header h1){font-family:"Public Sans",system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot) :is(input:not([type=checkbox]),select){font-size:16px!important;min-height:48px;border-radius:12px!important}
:is(#signRoot,#bookRoot) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-height:48px;border-radius:12px!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot) .act-btn{min-height:48px;border-radius:13px!important;box-shadow:none!important;font-size:15px!important;font-weight:600!important}
:is(#signRoot,#bookRoot) .sign-card{border-top:0!important;border-radius:18px!important;box-shadow:none!important;padding:18px 15px!important}
#signRoot .sign-header h1,#bookRoot .sign-header h1{font-size:24px!important;font-weight:700!important}

/* ---- 40. Retouches ---- */
body.verre .main .panel[data-panel="reglages"] > .topbar .ux-top-actions,body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions{width:calc(100% + 10px)!important;align-self:stretch!important;margin-left:0!important}
body.verre .dv-sticky-total{background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;min-height:60px;padding:6px 16px calc(6px + env(safe-area-inset-bottom))!important}
body.verre .dv-sticky-total span{font:500 13px/1.2 "Public Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:var(--t-txt2)!important}
body.verre .dv-sticky-total b{font:700 17px/1.2 "Public Sans",sans-serif!important;font-variant-numeric:tabular-nums;color:var(--t-txt)!important}
body.verre .dv-sticky-total :is(button,.act-btn){min-height:46px!important;border-radius:13px!important;background-image:none!important;box-shadow:none!important;font-family:"Public Sans",sans-serif!important;font-size:15px!important;font-weight:700!important}
body.verre .main .dvw-fil li{flex:0 0 auto!important;min-width:44px}
body.verre .main .dvw-fil li.on{flex:1 1 0!important;min-width:0}
body.verre .main .dvw-fil .dvw-lab{overflow:visible}
body.verre .main .fa-form .fa-form-btns{bottom:0!important;padding:8px 16px calc(8px + env(safe-area-inset-bottom))!important;background:var(--t-carte)!important;border-top:1px solid var(--t-trait)!important;box-shadow:none!important}

/* ---- 41. Dernières cibles au doigt ---- */
body.verre .main button.nt-tag::after{content:"";position:absolute;inset:-7px 0}
body.verre .main .dv-ic{width:44px!important;height:44px!important;min-height:44px!important}
body.verre .main .pl-bar > .ca-seg .ca-seg-btn{height:44px!important;min-height:44px!important}
body.verre .main #rpRlEditLink,body.verre .main #dvRgRegimeLien{min-height:44px;display:inline-flex;align-items:center}
body.verre .main .panel[data-section="avis"][data-panel="reglages"] button:not(.act-btn):not(.ux-help){min-height:44px}
body.verre .main .fa-sort{font-size:16px!important}

/* ---- 42. Lignes du devis et petits écrans ---- */
body.verre .main .panel[data-panel="creer"] .dv-line{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"d d" "q u" "p t"!important;padding:12px!important;border:1px solid var(--t-trait)!important;border-radius:16px!important;background:var(--t-carte)!important}
body.verre .main .panel[data-panel="creer"] .dv-l-tot{grid-area:auto!important;grid-column:1/-1;grid-row:4;align-self:center}
body.verre .main .panel[data-panel="creer"] .dv-l-acts{grid-area:auto!important;grid-column:1/-1;grid-row:4;justify-self:end;gap:0!important}
body.verre .main .panel[data-panel="creer"] .dv-l-acts .dv-ic{background:transparent!important;border:0!important;box-shadow:none!important}
body.verre .dv-sticky-total :is(button,.act-btn):last-child{background-color:var(--t-orange)!important;border-color:var(--t-orange)!important;color:#17191B!important}
body.verre .main .nt-cap textarea{min-height:88px!important}
@media (max-width:359px){
  body.verre #mbPlus{width:56px!important;height:56px!important;padding:0!important;justify-content:center;grid-auto-flow:row;place-items:center}
  body.verre #mbPlus::after{display:none}
  body.verre #mbPlus svg{width:24px!important;height:24px!important}
  body.verre .main .dvw-fil{flex-wrap:wrap}
  body.verre .main .dvw-fil li.on{flex:1 1 auto!important}
  body.verre .main .dvw-fil li.on .dvw-lab{white-space:nowrap}
  body.verre .main .pl-bar{grid-template-columns:minmax(0,1fr) auto!important}
  body.verre .main .pl-bar > .pl-nav{grid-column:1/-1;grid-row:1;justify-content:space-between}
  body.verre .main .pl-bar > .ca-seg{grid-column:2;grid-row:2}
  body.verre .main .pl-bar > .pl-qui{grid-column:1;grid-row:2;min-width:0;padding-left:10px!important;padding-right:20px!important}
  body.verre .main .pl-bar > .ca-seg .ca-seg-btn{padding:0 8px!important}
  body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)) > :nth-child(3){grid-column:1/-1}
  body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)) .stat .stat-val{font-size:16px!important}
  body.verre .side .demo-bar .demo-acces{font-size:13px!important;padding:0 10px!important}
}

/* ---- 43. Contrôle responsivité du 04/11 ---- */
/* Le + flottant ne couvre plus la dernière ligne, même tout en bas de la liste */
body.verre.mb-plus-on .main{padding-bottom:calc(140px + env(safe-area-inset-bottom))!important}
/* Aujourd'hui : montant sur la ligne des boutons quand ça tient */
body.verre .main .panel[data-section="home"] .act-row .act-montant{margin-left:auto;align-self:center;white-space:nowrap}
/* Étiquettes de la barre du bas */
body.verre .ux-tab span{font-size:12px!important}
/* Créer un devis : l'étape en cours peut tenir sur 2 lignes sur petit écran */
body.verre .main .dvw-fil li.on button{min-width:0;width:100%}
body.verre .main .dvw-fil li.on .dvw-lab{white-space:normal;line-height:1.15;text-align:left;min-width:0}
/* Réglages du planning : jours et cases au doigt */
body.verre .main #plJoursCheckboxes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body.verre .main #plJoursCheckboxes .book-slot-btn{min-height:44px!important;margin:0!important;font-size:15px!important;font-weight:600!important;border-radius:12px!important;background:var(--t-carte)!important;border:1px solid var(--t-trait-fort)!important;color:var(--t-txt)!important}
body.verre .main #plJoursCheckboxes .book-slot-btn:has(input:checked){background:var(--t-txt)!important;border-color:var(--t-txt)!important;color:var(--t-page)!important}
body.verre .main .pl-switch{min-height:44px;align-items:center!important;gap:10px!important;font-size:15px!important;font-weight:500!important;color:var(--t-txt)!important}
body.verre .main .pl-switch input{width:22px;height:22px;margin:0}
/* Onglets des modèles de relance : même bascule que les autres, une ligne */
body.verre .main .rl-tpl-tabs{display:flex!important;width:100%;gap:2px!important;padding:2px!important;border-radius:12px!important;background:var(--t-creux)!important;border:0!important;box-shadow:none!important}
body.verre .main .rl-tpl-tabs .ca-seg-btn{flex:1 1 auto;min-width:44px;min-height:44px;padding:0 8px!important;border:0!important;border-radius:10px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--t-txt2)!important;font-size:14px!important;font-weight:600!important;white-space:nowrap}
body.verre .main .rl-tpl-tabs .ca-seg-btn:not(:last-child){flex-shrink:0}
body.verre .main .rl-tpl-tabs .ca-seg-btn:last-child{min-width:0;white-space:normal;line-height:1.15}
body.verre .main .rl-tpl-tabs .ca-seg-btn.on{background:var(--t-carte)!important;color:var(--t-txt)!important}
/* Chantiers en cours (Contacts) : le reste à encaisser à droite du nom, plus de ligne pour un tiret */
body.verre .main .ct-encours tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0!important;border-bottom:1px solid var(--t-trait)!important}
body.verre .main .ct-encours tbody tr:last-child{border-bottom:0!important}
body.verre .main .ct-encours td{padding:0!important;font-size:14px;color:var(--t-txt2)}
body.verre .main .ct-encours td:first-child{font-size:16px;color:var(--t-txt)}
body.verre .main .ct-encours td:nth-child(2),body.verre .main .ct-encours td:nth-child(3){grid-column:1/-1}
body.verre .main .ct-encours td.r{grid-column:2;grid-row:1;font-size:15px;font-weight:700;color:var(--t-txt)}
/* Notes : « Noter » ne devient orange qu'avec du texte ; le + s'efface alors */
body.verre .main .nt-cap:has(textarea:placeholder-shown) .nt-cap-ok{background:var(--t-creux)!important;border-color:transparent!important;color:var(--t-txt)!important}
body.verre:has(.nt-cap textarea:not(:placeholder-shown)) #mbPlus{display:none!important}
/* Chat : une seule action orange, textes lisibles */
body.verre #chatOverlay .chat-input-row button:not(#chatSendBtn){background:var(--t-creux)!important;color:var(--t-txt)!important}
body.verre #chatOverlay #chatSendBtn{font-size:15px!important}
body.verre #chatOverlay .chat-bubble-msg{font-size:16px!important;line-height:1.4}
body.verre .chat-overlay :is(.chat-head-sub,.chat-day-divider,.chat-bubble-foot){font-size:13px!important}
body.verre .chat-overlay .notif-time{font-size:13px!important}
body.verre #chatOverlay .chat-quick button{font-size:14px!important;min-height:44px}
/* Recherche : pas de capitales, pas de raccourcis clavier au téléphone */
body.verre #bpmPalette .pal-grp{text-transform:none;letter-spacing:0;font-size:13px}
body.verre #bpmPalette .pal-kbd{display:none}
body.verre #bpmPalette .pal-champ input{min-height:44px;font-size:16px}
body.verre #bpmPalette .pal-item{min-height:44px;font-size:16px}
body.verre #bpmPalette .pal-item span{font-size:13px}
body.verre #bpmPalette .pal-boite{box-shadow:none}
/* Bienvenue : même fond que l'appli */
body.verre .bpm-cgu.bpm-accueil{background:var(--t-page)!important}
/* Connexion et pages du client : mêmes cartes pleines */
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot) .set-card{box-shadow:none!important;border-radius:18px!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot) .set-card::before{display:none!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot) .act-btn.primary{background:#F5820F!important;background-image:none!important;border-color:#F5820F!important;color:#17191B!important}
:root[data-theme="dark"] :is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot) .act-btn.primary{background:#FF9130!important;border-color:#FF9130!important}
#signRoot .devis-paper{box-shadow:none!important}
#loginRoot form p:has(#goToContactLink) a{font-size:13px!important}
#bookRoot .devis-paper{border-top-width:1px!important;border-top-color:var(--line)!important;box-shadow:none!important;border-radius:18px!important}
:is(#loginRoot,#forgotRoot,#resetConfirmRoot,#changePasswordRoot,#signRoot,#bookRoot) .brand-eyebrow{font-size:13px!important}
#loginRoot p:has(#goToForgotLink){font-size:0!important;display:flex;flex-wrap:wrap;justify-content:center;gap:0 18px}
#loginRoot form p a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
:is(#loginRoot,#forgotRoot) .login-wrap > p,:is(#loginRoot,#forgotRoot) .login-wrap > p a,#forgotRoot form p,#signRoot .sign-card p,#signRoot .sign-card p a,#bookRoot .form-rgpd,#bookRoot .form-rgpd a{font-size:13px!important}
/* Aujourd'hui à 360 px et moins : la ligne garde tout son texte (le script la coupait à une ligne) */
body.verre .main .panel[data-section="home"] .act-row :is(.act-txt,.act-time){white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
/* Détail du chiffre : la carte « Total signé » n'est plus orange, son texte suit le thème */
body.verre .main .ca-sum-main,body.verre .main .ca-sum-main :is(.stat-val,.stat-foot){color:var(--t-txt)!important}
body.verre .main .ca-sum-main .stat-lab{color:var(--t-txt2)!important}
/* Plancher de 13 px pour les aides et les petites mentions */
body.verre :is(.main,.chat-overlay) :is(.tl-date,.rp-rl-note,.dv-card-hint,.ux-fold-sum,.rg-sub,.stat-lab,.ca-note,.dv-lab-link,.dv-regime-note,.dv-gen-note,.mt-step,.mt-hint,.mt-chip,.mt-chip b,.mt-empty,.mt-how summary,.mt-pv .l,.mt-pv .s,.mt-pv .s b,.mt-kpi .l,.fa-dt-amount-lab,.fa-muted,.fa-link-btn,.fa-subtitle,.fa-niv-hint,.fa-rib-status,.pl-ev-warn,.av-hint,.av-hint b,.av-tokens,.av-tokens button,.av-tokens span,.demo-lock-note,.demo-lock-note b,.ent-req-note,.ent-sub-hint,.ent-apercu summary,.fa-rythme label,code,.rl-tpl-card > p,.dv-presta-list p,.dv-mic span,.dv-tva-detail span,.chart-xlabels span,.push-banner span,.dv-br-card div,.fa-card small,span.stat-lab){font-size:13px!important}
body.verre .main .panel[data-section="devis"][data-panel="reglages"] .set-card > p,body.verre #accesOverlay p{font-size:13px!important}
body.verre #pushEnableBtn{font-size:14px!important}
body.verre .main .fa-x{font-size:16px!important}
/* Fiche facture : montant et croix sur la même ligne */
body.verre .main .fa-sum-row > span:last-child:has(.fa-x){white-space:nowrap}
/* Métré : le titre garde sa ligne */
body.verre .main .mt-block-head{flex-wrap:wrap}
body.verre .main .mt-block-head h2{white-space:nowrap}
/* Brouillons : une seule action orange, le + */
body.verre .main .dv-br-card .act-btn.primary{background:var(--t-carte)!important;border-color:var(--t-trait-fort)!important;color:var(--t-txt)!important}
/* Aujourd'hui : rien d'utile coupé sur petit écran */
body.verre .main .ca-card .stat-foot{flex-wrap:wrap;gap:2px 10px}
body.verre .main .ca-card .stat-trend{white-space:normal;min-width:0;flex:0 1 auto}
body.verre .main .ca-card #hmCaSub,body.verre .main #hmGoalMsg{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
:root body.verre .panel[data-section="home"] .nt-today-item span{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;text-overflow:clip!important}
body.verre .main .hm-reussite p{overflow:visible!important;-webkit-line-clamp:unset!important;display:block!important;max-height:none!important;flex:1 1 180px;min-width:0}
:root body.verre .main .panel[data-section="home"] .hm-reussite{flex-wrap:wrap}
/* Devis : la proposition de métier reste discrète, l'orange est pour « Suivant » */
body.verre .main #dvPackOk{background:var(--t-carte)!important;border-color:var(--t-trait-fort)!important;color:var(--t-txt)!important}
:root body.verre .main .panel[data-section="home"] span.stat-lab,body.verre .main .panel[data-section="planning"] small{font-size:13px!important}
/* Fiche rendez-vous : le téléphone se touche au doigt */
body.verre .main .fa-inline-link{display:inline-flex;align-items:center;min-height:44px}
body.verre .chat-overlay label.sign-checkbox{min-height:44px}
@media (min-width:390px){
  body.verre .ux-tab span{font-size:13px!important}
}
/* Lignes serrées sous 400 px : le titre garde toute la largeur */
@media (max-width:399px){
  body.verre .main table.chantiers.ec-tbl tbody tr{grid-template-areas:"d d" "s s" "t t" "a a"!important}
  body.verre .main table.chantiers.ec-tbl td:nth-child(3){justify-self:start;text-align:left!important}
  body.verre .main .rp-rl-step{grid-template-columns:40px minmax(0,1fr)!important}
  body.verre .main .rp-rl-step button{grid-column:2;justify-self:start;padding:0!important}
  body.verre .main .fa-card-bot{flex-wrap:wrap;gap:0 10px}
}
@media (max-width:300px){
  body.verre{overflow-wrap:break-word}
  body.verre .side{padding-left:10px!important;padding-right:10px!important}
  body.verre .main{padding-left:10px!important;padding-right:10px!important}
  body.verre .side .demo-bar{flex-wrap:wrap!important}
  body.verre .side .demo-bar :is(.demo-profil,.demo-acces){flex:1 1 100%!important}
  body.verre .ux-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  body.verre .ux-tab svg{padding:4px 5px}
  body.verre .main .topbar h1{font-size:22px!important}
  body.verre .main :is(.ux-kpis,.stat-row,.hm-strip,.settings-grid,.fa-grid,.fa-row2,.ct-grid,.mt-dims,.rp-doc-btns,.fa-dt-btns,.ai-top-actions,.filters,.pl-bar){grid-template-columns:minmax(0,1fr)!important}
  body.verre .main .panel:not([data-section="home"]) .stat-row:has(> :nth-child(3)){grid-template-columns:minmax(0,1fr)!important}
  body.verre .main .panel[data-section="avis"] .ux-kpis{grid-template-columns:minmax(0,1fr)!important}
  body.verre .main .filters > *,body.verre .main .pl-bar > *{grid-column:1!important;grid-row:auto!important}
  body.verre .main :is(.fa-rythme label,.nt-acts,.dvw-fil,.ca-controls,.ca-val-row,.stat-foot,.chart-head,.ct-sec-head,.rg-seg,.tr-l){flex-wrap:wrap!important}
  body.verre .main table.chantiers.ec-tbl td:nth-child(4){flex-wrap:wrap}
  body.verre .main .dvw-fil li.on{flex:1 1 100%!important}
  body.verre .main .panel > .topbar .ux-top-actions{margin-right:-10px!important}
  body.verre .dv-sticky-total{flex-wrap:wrap}
  body.verre .dv-sticky-total :is(button,.act-btn):last-child{flex:1 1 100%;white-space:normal}
  body.verre .chat-overlay .chat-quick{flex-wrap:wrap}
  body.verre .main *:not(svg):not(svg *){min-width:0!important;max-width:100%}
  body.verre .main .mt-pieces{grid-template-columns:minmax(0,1fr)!important}
  body.verre .main :is(.mt-chips,.dv-l-acts,.mt-frais-row,.rl-tpl-tabs){flex-wrap:wrap!important}
  body.verre .main .chip{white-space:normal}
  body.verre #chatOverlay .chat-quick button{white-space:normal;max-width:100%}
  body.verre .main .panel > .topbar > div:first-child{flex:1 1 100%!important}
  body.verre .main .fa-sum-row{flex-wrap:wrap}
  body.verre .main .fa-sum-row > span:last-child:has(.fa-x){white-space:normal}
  body.verre .chat-overlay .fa-form-btns{flex-wrap:wrap!important}
  body.verre .chat-overlay .fa-form-btns .act-btn{flex:1 1 100%!important}
  body.verre .main :is(.ent-inline,.tr-l,.mt-dims){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  body.verre .main :is(.ca-seg,.ca-nav,.ca-val-row,.dv-lines-actions,.fa-type-row,.dv-rg-regime,.mt-piece-head,.ux-more-list,.fa-form-btns,.dv-actions-row,.ai-chips){flex-wrap:wrap!important}
  body.verre .main .ai-chips{margin-left:0!important;margin-right:0!important;padding:0!important;overflow:visible}
  body.verre .main .panel[data-panel="creer"] .dv-actions-row{margin-left:-10px!important;margin-right:-10px!important;max-width:none}
  body.verre .main .panel[data-panel="creer"] .dv-line{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"d" "q" "u" "p" "t"!important}
  body.verre .main table.chantiers.ec-tbl tbody tr{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"d" "s" "t" "a"!important}
  body.verre .main .panel[data-panel="reglages"] > .topbar .ux-top-actions,body.verre .main .panel[data-section="entreprise"] > .topbar .ux-top-actions{width:100%!important;margin-right:0!important;max-width:100%}
}


/* ---- 43. Visite guidée : mêmes boutons que le reste ---- */
body.verre .tour-card{border-top:0!important;border-radius:18px!important;background:var(--t-carte)!important;box-shadow:none!important;font-family:"Public Sans",system-ui,sans-serif}
body.verre .tour-card h3{font:700 18px/1.3 "Public Sans",system-ui,sans-serif!important;letter-spacing:0!important}
body.verre .tour-card .tour-text{font-size:16px!important;line-height:1.45!important;color:var(--t-txt2)!important}
body.verre .tour-card :is(.tour-skip,.tour-prev,.tour-next){min-height:44px!important;min-width:44px;font-family:"Public Sans",system-ui,sans-serif!important;font-size:15px!important;border-radius:13px!important}
body.verre .tour-card .tour-next{background-image:none!important;background-color:var(--t-orange)!important;box-shadow:none!important}

/* ==== 44. Finition « l'œil d'abord » (05/11/2026) ====
   Règles reprises des grands produits (Apple, Stripe, Linear, Revolut) : une information par ligne, deux lignes au plus
   (le reste se déplie au toucher), les actions rares rangées derrière la ligne, les filtres sur une seule rangée qui glisse,
   la cloche dans la ligne du titre (44 px rendus à chaque écran), des tailles de texte entières (13, 14, 15, 16, 20, 24, 27, 30). */

/* a. La cloche rejoint la ligne du titre : plus de ligne « Mon espace » */
body.verre .side .brand-row{min-height:0!important;height:0!important;position:relative;z-index:6}
body.verre .side .brand-row .brand{display:none!important}
body.verre .side .icon-badge{position:absolute!important;right:-10px;top:8px;margin:0!important}
body.verre .main .panel:not(#tel) > .topbar .ux-top-actions{gap:0!important;margin-right:34px!important}
body.verre .main .panel:not(#tel) > .topbar > .ux-help{margin-right:34px!important}
body.verre .main .panel:not(#tel):is([data-panel="reglages"],[data-section="entreprise"]) > .topbar .ux-top-actions{width:calc(100% - 34px)!important;max-width:calc(100% - 34px)!important}
body.verre .main .panel > .topbar:not(:has(.ux-top-actions,.ux-help)) > div:first-child{padding-right:40px}

/* b. Aujourd'hui : la date en petit au-dessus, le nom dessous, deux lignes au plus */
body.verre .main .panel[data-section="home"] > .topbar > div:first-child{display:flex;flex-direction:column;justify-content:center;min-height:50px;padding-right:40px}
body.verre .main .panel[data-section="home"] .topbar p{order:-1;margin:0 0 2px!important}
body.verre .main .panel[data-section="home"] .topbar p .tag{font-size:13px!important;font-weight:600!important}
body.verre .main .panel[data-section="home"] .topbar h1.hi-name{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;margin:0 0 12px!important}

/* c. Lignes d'action : deux lignes de titre, deux de détail ; la fiche dit le reste */
body.verre .main .panel[data-section="home"] .act-row :is(.act-txt,.act-time){display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
body.verre .main .panel[data-section="home"] .act-row{gap:3px 12px!important}
body.verre .main .panel[data-section="home"] .act-row .act-main{display:contents!important}
body.verre .main .panel[data-section="home"] .act-row .act-txt{order:1;flex:1 1 0;min-width:0;-webkit-line-clamp:3;align-self:center}
body.verre .main .panel[data-section="home"] .act-row .act-time{order:3;flex:1 1 100%;padding-left:46px;margin-top:0!important}
body.verre .main .panel[data-section="home"] .act-row .act-montant{order:2;flex:none;margin-left:4px!important;align-self:flex-start!important;font-size:16px!important;font-weight:700!important;line-height:1.35}
body.verre .main .panel[data-section="home"] .act-row .act-acts{order:4;flex:1 1 100%!important;margin-top:7px!important}
body.verre .main .panel[data-section="home"] .act-row .act-acts:has(> :nth-child(4)){padding-left:0!important}
body.verre .main .panel[data-section="home"] .act-row .act-done{background:transparent!important;color:var(--t-txt2)!important;padding:0 8px!important;margin-left:auto}
body.verre .main .ca-card .stat-trend{background:none!important;border:0!important;padding:0!important;border-radius:0!important;font-size:13px!important;font-weight:600!important;color:var(--t-txt2)!important}
body.verre .main .ca-card .stat-trend.up{color:#1F7A4D!important}
body.verre .main .ca-card .stat-trend.down{color:#B3271A!important}
:root[data-theme="dark"] body.verre .main .ca-card .stat-trend.up{color:#6FD6A0!important}
:root[data-theme="dark"] body.verre .main .ca-card .stat-trend.down{color:#F08F82!important}
body.verre .main #hmGoalMsg{font-size:14px!important;font-weight:500!important;color:var(--t-txt2)!important;line-height:1.35!important}

/* d. Filtres : une seule rangée, qui glisse du doigt jusqu'au bord de l'écran */
body.verre .main .filters .filter-status{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:-2px -16px!important;padding:5px 16px;scroll-padding:0 16px}
body.verre .main .filters .filter-status::-webkit-scrollbar{display:none}
body.verre .main .filters .filter-status > *{flex:none!important;white-space:nowrap}
body.verre .main .filters:not(:has(.dv-search)){align-items:center!important}
body.verre .main .filters:not(:has(.dv-search)) .filter-status{margin:-2px 0 -2px -16px!important;padding:5px 14px 5px 16px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent)}
body.verre .main .filters:not(:has(.dv-search)) .sort-toggle{margin:0!important}

/* e. Échéances et notes : la ligne d'abord, les actions au toucher (un papier expiré garde « Renouveler » sous les yeux) */
body.verre .main table.chantiers.ec-tbl tbody tr:has(.ec-c-act){grid-template-areas:"d s" "t c" "a a"!important;padding-bottom:13px!important;cursor:pointer}
body.verre .main table.chantiers.ec-tbl tbody tr:has(.ec-c-act)::after{content:"";grid-area:c;justify-self:end;align-self:center;width:8px;height:8px;margin:0 5px 3px 0;border-right:2px solid var(--t-txt2);border-bottom:2px solid var(--t-txt2);transform:rotate(45deg);opacity:.7;transition:transform .18s ease}
body.verre .main table.chantiers.ec-tbl tbody tr.tel-ouvert::after{transform:rotate(-135deg);margin-bottom:-3px}
body.verre .main table.chantiers.ec-tbl tbody tr:not(.tel-ouvert):not(:has(.chip.lost)) td.ec-c-act{display:none!important}
body.verre .main table.chantiers.ec-tbl tbody tr:not(.tel-ouvert) td.ec-c-act .ec-mini:not(.primary){display:none!important}
body.verre .main table.chantiers.ec-tbl tbody tr:has(.chip.lost) .ec-mini.primary{background:var(--t-orange-doux)!important;padding:0 14px!important;margin-left:10px!important}
body.verre .main .nt-item{position:relative;cursor:pointer}
body.verre .main .nt-item:not(.tel-ouvert) .nt-acts{display:none!important}
body.verre .main button.nt-tag::after{content:"";position:absolute;inset:-7px -4px}

/* f. Réglages : une ligne par outil */
body.verre .main .ux-hub-btn .ux-hub-txt{min-width:0}
body.verre .main .ux-hub-btn .ux-hub-txt small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* g. Textes d'aide : deux lignes, « plus » pour lire la suite (telephone.js pose les classes) */
body.verre .tel-pli:not([hidden],[style*="display: none"],[style*="display:none"]){display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;position:relative}
body.verre .tel-pli.tel-pli-plus{cursor:pointer;min-height:44px}
body.verre .tel-pli.tel-pli-plus::after{content:"plus";position:absolute;right:0;bottom:0;padding-left:36px;background:linear-gradient(90deg,transparent,var(--pli-fond,var(--t-carte)) 28px);color:var(--t-orange-txt);font-weight:600}
body.verre .tel-pli.tel-ouvert:not([hidden],[style*="display: none"],[style*="display:none"]){display:block!important;-webkit-line-clamp:unset;overflow:visible!important}
body.verre .tel-pli.tel-ouvert::after{display:none}

/* h. Détails : bouton principal centré, liens de la FAQ au doigt */
body.verre .main .panel > .topbar .act-btn.primary{justify-content:center!important;text-align:center!important}
body.verre .main .panel > .topbar > .act-btn.primary{order:2;flex:1 0 100%!important;margin-top:6px}
body.verre .main .panel:not(#tel)[data-section="home"] .topbar p .tag{background:none!important;background-color:transparent!important}
body.verre .main .panel:not(#tel)[data-section="planning"] > .topbar .ux-top-actions{order:1!important;flex:none!important;width:auto!important;margin-left:auto!important}
body.verre .main .panel:not(#tel)[data-section="planning"] > .topbar > div:first-child{flex:1 1 0!important;min-width:0}
@media (max-width:360px){
  body.verre .main .panel[data-section="home"] .act-row .act-txt{flex:1 1 calc(100% - 46px)}
  body.verre .main .panel[data-section="home"] .act-row .act-montant{order:6;align-self:center!important;margin:7px 0 0 auto!important}
  body.verre .main .panel[data-section="home"] .act-row .act-acts{flex:1 1 auto!important}
  /* les boutons deviennent des éléments de la ligne : « Relire · plus tard · montant » sur une seule rangée, sinon l'horloge et le montant partagent la suivante */
  body.verre .main .panel[data-section="home"] .act-row:has(.act-montant) .act-acts{display:contents!important}
  body.verre .main .panel[data-section="home"] .act-row:has(.act-montant) .act-acts > *{order:4;margin-top:7px!important}
  body.verre .main .panel[data-section="home"] .act-row:has(.act-montant) .act-acts > .act-done{order:5;margin-left:0!important}
}
body.verre .main .faq-body a{display:inline-block;padding:11px 7px;margin:-7px}

/* ---- 45. Contrôle responsivité du 05/11 ---- */
/* Le titre s'arrête avant les icônes posées sur sa ligne (roue, « ? », cloche) : il passe à la ligne au lieu de glisser dessous */
body.verre .main .panel:not(:is([data-section="devis"]:is([data-panel="devis"],[data-panel="brouillons"]),[data-panel="reglages"],[data-section="entreprise"],[data-section="aide"],[data-section="planning"])) > .topbar:has(> .ux-help) > div:first-child > h1{padding-right:64px!important}
body.verre .main .panel:not(:is([data-section="devis"]:is([data-panel="devis"],[data-panel="brouillons"]),[data-panel="reglages"],[data-section="entreprise"],[data-section="aide"],[data-section="planning"])) > .topbar:has(> .ux-top-actions > .ux-gear) > div:first-child > h1{padding-right:112px!important}
/* FAQ & Guide : la ligne du titre fait la hauteur de la cloche, les deux boutons passent dessous sans la toucher */
body.verre .main .panel[data-section="aide"] > .topbar > div:first-child{min-height:44px;padding-right:40px;display:flex;flex-direction:column;justify-content:center}
/* Catégories de la FAQ : la place de l'anneau de focus (4 px) */
body.verre .main .ai-chips{margin-top:5px!important;margin-bottom:5px!important;padding-top:5px!important;padding-bottom:5px!important}
/* Lignes dépliables atteignables au clavier (telephone.js) : anneau à l'intérieur de la carte */
body.verre .main :is(table.chantiers.ec-tbl tbody tr,.nt-item):focus-visible{outline-offset:-2px}
/* Bandeau d'abonnement d'un vrai compte (essai terminé, paiement en retard) : il fait 99 à 137 px au téléphone et recouvrait la cloche et le titre.
   Il se pose en haut de la page et défile avec elle ; la page commence dessous (hauteur mesurée par telephone.js, 56 px en attendant). */
body.verre .offre-bandeau{position:absolute!important;z-index:40!important}
body.verre:has(#bpmAboBandeau:not([hidden])){padding-top:var(--tel-bandeau,56px)!important}
/* Petits téléphones : titre de rubrique un cran plus petit, il tient à côté de la roue, du « ? » et de la cloche */
@media (min-width:301px) and (max-width:359px){
  body.verre .main .topbar h1{font-size:24px!important}
}
/* Zoom 200 % sur un téléphone (≤ 300 px) : « ← Retour » s'arrête avant la cloche, la rangée de filtres suit la marge de 10 px */
@media (max-width:300px){
  body.verre .main .panel > .back-link{max-width:calc(100% - 40px);white-space:normal;text-align:left}
  body.verre .main .filters .filter-status{margin-left:-10px!important;margin-right:-10px!important;padding-left:10px;padding-right:10px}
  body.verre .main .filters:not(:has(.dv-search)) .filter-status{margin-left:-10px!important;margin-right:0!important}
}
/* 361 à 389 px : à côté du montant, le titre de la ligne n'a que 155 px ; une ligne de plus pour ne pas couper l'action */
@media (min-width:361px) and (max-width:389px){
  body.verre .main .panel[data-section="home"] .act-row:has(.act-montant) .act-txt{-webkit-line-clamp:4}
}

/* ==== 45. Anthracite + orange, en relief (05/11/2026, demande de Sabri : le style de l'ordinateur au téléphone) ====
   Même duo que sur ordinateur (gris anthracite + orange) et même profondeur : fond avec sol en perspective, lumière en haut,
   bords assombris, cartes soulevées par une ombre en deux couches, barre du bas flottante. 0 image, 0 script. */

/* a. Jetons : gris anthracite à la place des bruns, ombres d'élévation */
body.verre{
  --t-anthracite:#2E3236; --t-sur-anthracite:#FFFFFF;
  --t-page:#EFEDE9; --t-creux:#ECE9E4; --t-txt2:#565C63;
  --t-ombre:0 1px 0 rgba(255,255,255,.85) inset,0 1px 2px rgba(28,30,33,.07),0 16px 30px -18px rgba(28,30,33,.42);
  --t-ombre-haute:0 1px 0 rgba(255,255,255,.85) inset,0 2px 6px -2px rgba(28,30,33,.14),0 22px 44px -18px rgba(28,30,33,.5);
  --t-sol-ligne:rgba(28,30,33,.2); --t-vignette:rgba(28,30,33,.2); --t-lumiere:rgba(255,255,255,.85); --t-halo:rgba(245,130,15,.16);
}
:root[data-theme="dark"] body.verre{
  --t-anthracite:#D5D8DC; --t-sur-anthracite:#1C1E21;
  --t-page:#15171A; --t-carte:#24272B; --t-creux:#30343A; --t-trait:rgba(255,255,255,.09); --t-trait-fort:rgba(255,255,255,.2);
  --t-txt:#F4F2EE; --t-txt2:#B5BAC1;
  --t-ombre:0 1px 0 rgba(255,255,255,.07) inset,0 2px 4px rgba(0,0,0,.3),0 18px 34px -18px rgba(0,0,0,.85);
  --t-ombre-haute:0 1px 0 rgba(255,255,255,.09) inset,0 2px 6px -2px rgba(0,0,0,.4),0 24px 48px -18px rgba(0,0,0,.9);
  --t-sol-ligne:rgba(255,255,255,.17); --t-vignette:rgba(0,0,0,.5); --t-lumiere:rgba(255,255,255,.06); --t-halo:rgba(255,145,48,.14);
}

/* b. La scène : sol en perspective qui fuit vers l'horizon, lumière en haut, bords qui reculent */
body.verre::before,body.verre::after{display:block!important;content:""!important;position:fixed!important;z-index:-1!important;pointer-events:none;filter:none!important;height:auto!important}
body.verre::before{
  inset:52% 0 0 0!important;transform:none!important;
  background:repeating-conic-gradient(from 0deg at 50% 0%,var(--t-sol-ligne) 0deg .2deg,transparent .2deg 7.5deg),linear-gradient(to bottom,transparent calc(100% - 2px),var(--t-sol-ligne) calc(100% - 2px),var(--t-sol-ligne) 100%,transparent 100%),linear-gradient(to bottom,transparent calc(64% - 2px),var(--t-sol-ligne) calc(64% - 2px),var(--t-sol-ligne) 64%,transparent 64%),linear-gradient(to bottom,transparent calc(42% - 1.5px),var(--t-sol-ligne) calc(42% - 1.5px),var(--t-sol-ligne) 42%,transparent 42%),linear-gradient(to bottom,transparent calc(28.5% - 1.5px),var(--t-sol-ligne) calc(28.5% - 1.5px),var(--t-sol-ligne) 28.5%,transparent 28.5%),linear-gradient(to bottom,transparent calc(19.5% - 1px),var(--t-sol-ligne) calc(19.5% - 1px),var(--t-sol-ligne) 19.5%,transparent 19.5%),linear-gradient(to bottom,transparent calc(13.5% - 1px),var(--t-sol-ligne) calc(13.5% - 1px),var(--t-sol-ligne) 13.5%,transparent 13.5%),linear-gradient(to bottom,transparent calc(9.3% - 1px),var(--t-sol-ligne) calc(9.3% - 1px),var(--t-sol-ligne) 9.3%,transparent 9.3%),linear-gradient(to bottom,transparent calc(6.3% - 1px),var(--t-sol-ligne) calc(6.3% - 1px),var(--t-sol-ligne) 6.3%,transparent 6.3%),linear-gradient(to bottom,transparent calc(4.2% - 1px),var(--t-sol-ligne) calc(4.2% - 1px),var(--t-sol-ligne) 4.2%,transparent 4.2%)!important;
  -webkit-mask-image:linear-gradient(to top,#000 0,rgba(0,0,0,.7) 40%,transparent 97%);mask-image:linear-gradient(to top,#000 0,rgba(0,0,0,.7) 40%,transparent 97%);
}
body.verre::after{
  inset:0!important;
  background:radial-gradient(120% 78% at 50% 40%,transparent 55%,var(--t-vignette) 100%),radial-gradient(90% 34% at 50% -6%,var(--t-lumiere) 0,transparent 72%),radial-gradient(70% 38% at 105% -4%,var(--t-halo) 0,transparent 70%)!important;
}
@media (prefers-contrast:more){body.verre::before,body.verre::after{display:none!important}}

/* c. Les cartes sortent de l'écran : ombre de contact + ombre d'ambiance, liseré clair en haut */
body.verre .main :is(.stat,.activity,.bento-card,.tools-panel,.table-wrap,.list-card,.card,.rg-card,.ux-kpi,.nt-today,.hm-chip,.set-card,.chart-card,.hero-card,.fa-card,.nt-item,.gs-wrap,.hm-goal,.pl-day,.faq-list,.ux-hub,#ntCapFull,.dv-type-card){box-shadow:var(--t-ombre)!important}
body.verre .main :is(.filter-btn,.nt-filter):not(.active):not(.on):not([aria-pressed="true"]){background:var(--t-carte)!important;border-color:var(--t-trait)!important;box-shadow:0 1px 2px rgba(28,30,33,.08),0 6px 12px -8px rgba(28,30,33,.3)!important}

/* d. Anthracite : ce qui est « choisi » (filtre actif, onglet actif, bouton plein) */
body.verre .main :is(.filter-btn.active,.filter-btn[aria-pressed="true"],.nt-filter.on){background:var(--t-anthracite)!important;border-color:var(--t-anthracite)!important;color:var(--t-sur-anthracite)!important;box-shadow:0 8px 16px -10px rgba(28,30,33,.7)!important}
body.verre .side .demo-bar .demo-acces{background:var(--t-anthracite)!important;color:var(--t-sur-anthracite)!important;box-shadow:0 10px 18px -12px rgba(28,30,33,.8)!important}
body.verre .side .demo-bar .demo-profil{box-shadow:var(--t-ombre)!important}

/* e. Barre du bas flottante : une pièce posée au-dessus de la page */
body.verre .ux-tabbar{left:10px!important;right:10px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;border:1px solid var(--t-trait)!important;border-radius:26px!important;padding:5px 4px!important;box-shadow:var(--t-ombre-haute)!important}
body.verre .ux-tab.on{color:var(--t-txt)!important}
body.verre .ux-tab.on svg{background:var(--t-anthracite)!important;color:var(--t-sur-anthracite)!important;box-shadow:0 8px 14px -8px rgba(28,30,33,.75)}
body.verre .main{padding-bottom:calc(108px + env(safe-area-inset-bottom))!important}
body.verre.mb-plus-on .main{padding-bottom:calc(152px + env(safe-area-inset-bottom))!important}
body.verre #mbPlus{bottom:calc(86px + env(safe-area-inset-bottom))!important;box-shadow:0 1px 0 rgba(255,255,255,.45) inset,0 14px 26px -10px rgba(190,90,0,.75)!important}

/* f. La carte du chiffre redevient la pièce orange, comme sur ordinateur */
body.verre .main .panel:not(#tel) .ca-card{background:linear-gradient(140deg,#FF9A2E 0%,#F5820F 46%,#E26F06 100%)!important;border-color:transparent!important;color:#1C1E21!important;--verre-ca-txt:#1C1E21;--verre-ca-courbe:#1C1E21;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 2px 6px -2px rgba(150,70,0,.35),0 22px 40px -18px rgba(200,95,0,.7)!important}
body.verre .main .panel:not(#tel) .ca-card .stat-lab,body.verre .main .panel:not(#tel) .ca-card :is(.ca-val,.stat-val),body.verre .main .panel:not(#tel) .ca-card .stat-trend,body.verre .main .panel:not(#tel) .ca-card .stat-trend.up,body.verre .main .panel:not(#tel) .ca-card .stat-trend.down{color:#1C1E21!important}
body.verre .main .panel:not(#tel) .ca-card .stat-lab{opacity:.86}
body.verre .main .panel:not(#tel) .ca-card .ca-seg{background:rgba(28,30,33,.14)!important;border-color:transparent!important}
body.verre .main .panel:not(#tel) .ca-card .ca-seg-btn{color:#1C1E21!important;background:transparent!important}
body.verre .main .panel:not(#tel) .ca-card .ca-seg-btn.on{background:#1C1E21!important;color:#fff!important}
body.verre .main .panel:not(#tel) .ca-card .ca-nav-btn{background:rgba(28,30,33,.14)!important;color:#1C1E21!important;border-color:transparent!important}

/* g. Boutons : un léger relief, l'orange garde la vedette */
body.verre .main .act-btn.primary:not(.ec-mini){box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 12px 22px -12px rgba(190,90,0,.8)!important}
body.verre .main .act-act:not(.act-done){box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 1px 2px rgba(28,30,33,.1)}
:root[data-theme="dark"] body.verre .main .act-act:not(.act-done){box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 1px 2px rgba(0,0,0,.4)}

/* h. Menu : la feuille flotte au-dessus de la barre, mêmes couleurs (plus de vert ni de prune) */
body.verre .section-switch.open{left:10px!important;right:10px!important;bottom:calc(79px + env(safe-area-inset-bottom))!important;border-radius:24px!important;border:1px solid var(--t-trait)!important;box-shadow:var(--t-ombre-haute)!important;max-height:calc(100dvh - 104px - env(safe-area-inset-bottom) - env(safe-area-inset-top))!important}
body.verre .section-switch .sec-btn.active{background:var(--t-anthracite)!important;color:var(--t-sur-anthracite)!important}
body.verre .section-switch .sec-btn.active :is(svg,span,i){color:inherit!important}
body.verre .section-switch .sec-subnav-inner{border-left-color:var(--t-trait-fort)!important}
body.verre .section-switch .nav-item:is(.active,.on,[aria-current]){background:var(--t-creux)!important;color:var(--t-txt)!important}
body.verre .section-switch .nav-item:is(.active,.on,[aria-current]) svg{color:var(--t-txt)!important}
/* i. Aujourd'hui : « + 5 autres à traiter — tout afficher » sur une ligne (la mention du suivi automatique reste sur ordinateur) */
body.verre .tel-non{display:none!important}
body.verre .main .act-more{font-size:15px!important;line-height:1.3!important;padding:0 12px!important;min-height:48px}

/* ---- 46. Contrôle responsivité du 05/11 après le relief (barre flottante, +, messages, contrastes) ---- */
/* a. Un champ ou un bouton qui prend le focus (clavier du téléphone, touche Tab) s'arrête au-dessus de la barre flottante,
      des barres d'action collantes et du +, au lieu de se loger dessous */
html{scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}
html:has(body.mb-plus-on){scroll-padding-bottom:calc(156px + env(safe-area-inset-bottom))}
body.verre .chat-overlay :has(> .fa-form-btns){scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}   /* fenêtre du rendez-vous : le dernier champ ne se loge plus sous « Enregistrer » */
/* b. Avec le + : 26 px libres au-dessus de lui en fin de page (la zone de 44 px d'un lien de dernière ligne passait dessous à 320 – 390 px) */
body.verre.mb-plus-on .main{padding-bottom:calc(168px + env(safe-area-inset-bottom))!important}
/* c. Message de confirmation (« Fait ! », « Annuler ») : il était blanc sur blanc, limité à la moitié de l'écran (5 lignes) et posé sur le +.
      Anthracite comme ce qui est « choisi », toute la largeur utile, au-dessus de la barre et du +, « Annuler » de 44 px.
      (#bpmToast : verre.css impose un fond clair aux « toast » avec plus de force qu'une simple classe) */
body.verre #bpmToast{left:16px!important;right:16px!important;width:fit-content;max-width:calc(100% - 32px)!important;margin-inline:auto;bottom:calc(84px + env(safe-area-inset-bottom))!important;transform:translateY(20px)!important;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--t-anthracite)!important;color:var(--t-sur-anthracite)!important;border:0!important;border-radius:16px!important;padding:12px 16px!important;font:600 15px/1.35 "Public Sans",system-ui,sans-serif!important;text-align:left!important;box-shadow:0 14px 28px -12px rgba(28,30,33,.6)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.verre #bpmToast.on{transform:none!important}
body.verre.mb-plus-on #bpmToast{bottom:calc(152px + env(safe-area-inset-bottom))!important}
body.verre #bpmToast:has(button){padding:6px 6px 6px 16px!important}
body.verre #bpmToast button{flex:none;min-height:44px!important;margin-left:0!important;padding:0 14px!important;font:700 15px/1 "Public Sans",system-ui,sans-serif!important}
/* d. Carte orange : « TTC » était à 3,8:1 en clair ; en sombre le blanc sur l'orange clair tombait à 2,6 – 4,1:1.
      Orange plus profond en sombre, libellés sans transparence (≥ 4,5:1 partout) */
body.verre .main .panel:not(#tel) .ca-card .stat-lab span{opacity:1!important}
/* e. Texte orange posé directement sur la page (liens, libellés) : 4,2 – 4,4:1 près des bords assombris, un ton plus foncé (≥ 4,5:1) */
body.verre{--t-orange-txt:#9C4407}
/* f. Pastille « Expiré » en sombre : 4,2:1 sur la carte #24272B */
:root[data-theme="dark"] body.verre .main .chip.lost{color:#EE9288!important}
/* g. Sol quadrillé : pleine force derrière la barre ; plus haut, là où un texte posé sur la page peut s'arrêter, les traits s'effacent plus vite
      (16 % → 12 % d'opacité au-dessus de la barre) pour ne pas barrer les mots */
body.verre::before{-webkit-mask-image:linear-gradient(to top,#000 0,#000 17%,rgba(0,0,0,.6) 27%,rgba(0,0,0,.52) 40%,transparent 97%);mask-image:linear-gradient(to top,#000 0,#000 17%,rgba(0,0,0,.6) 27%,rgba(0,0,0,.52) 40%,transparent 97%)}
/* j. Bouton d'offre : une ligne fine tout en haut à droite, au-dessus du titre (elle n'existe que s'il y a une offre au-dessus) */
body.verre .side .brand-row:has(.abo-up:not([hidden])){height:34px!important;min-height:34px!important;justify-content:flex-end!important;align-items:center!important}
body.verre .side .brand-row:has(.abo-up:not([hidden])) .icon-badge{top:42px}
body.verre .side .abo-up{height:30px;background:var(--t-carte);border-color:var(--t-trait-fort);color:var(--t-orange-txt);box-shadow:0 1px 2px rgba(28,30,33,.08),0 6px 12px -8px rgba(28,30,33,.3)}
body.verre .side .abo-up::after{content:"";position:absolute;inset:-8px -6px}   /* zone de toucher : 28 px (intérieur de la bordure) + 2 × 8 = 44 px, mesuré 42 px avec -7 */

/* ---- Barre du bas : raccourcis au choix (06/11) ---- */
/* Fine touche d'orange sur les deux raccourcis fixes */
body.verre .ux-tab:is([data-sec="home"],[data-sec="menu"]) svg{box-shadow:inset 0 0 0 1.5px var(--t-orange)}
body.verre .ux-tab:is([data-sec="home"],[data-sec="menu"]).on svg{box-shadow:inset 0 0 0 1.5px var(--t-orange),0 8px 14px -8px rgba(28,30,33,.75)}
body.verre .ux-tab{touch-action:manipulation}
body.verre .ux-tab svg{transition:background .16s ease,transform .3s cubic-bezier(.3,.7,.3,1)}
body.verre .ux-tab.tel-presse svg{transform:scale(.88)}
body.verre .ux-tab.tel-cible svg{background:var(--t-orange-doux);box-shadow:inset 0 0 0 1.5px var(--t-orange)}
body.verre .ux-tab.tel-cible.on svg{background:var(--t-anthracite)}
body.verre .ux-tab.tel-change svg{animation:telRubIcone .28s cubic-bezier(.2,.9,.3,1.2)}
body.verre .ux-tab.tel-change span{animation:telRubNom .22s ease}
@keyframes telRubIcone{from{transform:scale(.6);opacity:0}}
@keyframes telRubNom{from{opacity:0;transform:translateY(3px)}}
body.tel-rub-ouvert .ux-tabbar{z-index:81!important}
.tel-rub-voile{position:fixed;inset:0;z-index:80;background:rgba(23,25,27,.38);animation:telRubVoile .18s ease}
:root[data-theme="dark"] .tel-rub-voile{background:rgba(0,0,0,.55)}
.tel-rub{position:fixed;left:10px;right:10px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:81;padding:14px 12px 12px;border:1px solid var(--t-trait);border-radius:24px;background:var(--t-carte);color:var(--t-txt);box-shadow:var(--t-ombre-haute);font-family:"Public Sans",system-ui,sans-serif;transform-origin:var(--bec,50%) 100%;animation:telRubEntre .2s cubic-bezier(.2,.9,.3,1.08)}
.tel-rub::after{content:"";position:absolute;left:var(--bec,50%);bottom:-7px;width:14px;height:14px;margin-left:-7px;background:var(--t-carte);border-right:1px solid var(--t-trait);border-bottom:1px solid var(--t-trait);border-bottom-right-radius:4px;transform:rotate(45deg)}
.tel-rub-titre{margin:0 4px 10px;font-size:14px;font-weight:600;color:var(--t-txt2)}
.tel-rub{display:flex;flex-direction:column;max-height:calc(100vh - 96px - env(safe-area-inset-bottom));max-height:calc(100dvh - 96px - env(safe-area-inset-bottom))}
.tel-rub-grille{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:2px;margin:-2px}
@media (max-height:480px){.tel-rub-choix{min-height:60px!important}}
@media (max-height:480px) and (min-width:480px){.tel-rub-grille{grid-template-columns:repeat(5,minmax(0,1fr))}}
.tel-rub-choix{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:74px;padding:8px 2px;border:0;border-radius:16px;background:var(--t-creux);color:var(--t-txt);font:600 13px/1.15 "Public Sans",system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .14s ease,background .14s ease}
.tel-rub-choix svg{width:24px;height:24px;flex:none}
.tel-rub-choix span{max-width:100%;overflow-wrap:anywhere}
.tel-rub-choix:active{transform:scale(.95)}
.tel-rub-choix:focus-visible{outline:2px solid var(--t-orange);outline-offset:2px}
.tel-rub-choix.on{background:var(--t-anthracite);color:var(--t-sur-anthracite)}
.tel-rub-choix.ailleurs::after{content:"";position:absolute;top:9px;right:9px;width:6px;height:6px;border-radius:50%;background:var(--t-orange)}
.tel-rub.tel-sort{animation:telRubSort .14s ease forwards}
.tel-rub-voile.tel-sort{animation:telRubVoile .14s ease reverse forwards}
/* Très peu de hauteur (zoom sur un téléphone couché) : la feuille passe sur la barre pour garder au moins une rangée entière */
@media (max-height:240px){
  .tel-rub{bottom:calc(8px + env(safe-area-inset-bottom));max-height:calc(100vh - 16px - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));padding-top:8px;padding-bottom:8px}
  .tel-rub::after{display:none}
  .tel-rub-titre{margin-bottom:6px}
}
/* Sous 360 px : chaque onglet prend la largeur de son libellé, pour que deux longs libellés voisins ne se chevauchent pas */
@media (min-width:301px) and (max-width:359px){
  body.verre .ux-tabbar{padding-left:2px!important;padding-right:2px!important}
  body.verre .ux-tab{flex:1 1 auto;padding:0!important}
  body.verre .ux-tab.on{font-weight:600!important}
  body.verre .ux-tab svg{padding:4px clamp(5px,calc((100vw - 300px)/2),10px)}
}
@keyframes telRubEntre{from{opacity:0;transform:translateY(10px) scale(.94)}}
@keyframes telRubSort{to{opacity:0;transform:translateY(6px) scale(.97)}}
@keyframes telRubVoile{from{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .tel-rub,.tel-rub-voile,.tel-rub.tel-sort,.tel-rub-voile.tel-sort,body.verre .ux-tab.tel-change svg,body.verre .ux-tab.tel-change span{animation:none}
  body.verre .ux-tab.tel-presse svg{transform:none}
}

/* « Le bureau » sur Aujourd'hui (20/11) : saisie d'une ligne qui grandit avec le texte, « À faire » à plat dans le bloc */
body.verre .main .hm-bureau .nt-cap textarea{min-height:48px!important}
:root body.verre .panel[data-section="home"] #hmBureau .nt-today{background:transparent!important;border:0!important;border-top:1px solid var(--t-trait)!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;margin:2px 0 0!important;padding:8px 0 0!important}
body.verre .main .hm-bureau{box-shadow:var(--t-ombre)!important}
/* 23/11 (agent responsivité) : « M. et Mme Rousseau… » coupé à 320 px — le nom passe à la ligne, le montant ne se coupe pas */
body.verre .main .fa-card-top .fa-card-client{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;min-width:0}
body.verre .main .fa-card-top>:not(.fa-card-client){flex:none;white-space:nowrap}
}
