/* REGEN SITE MANAGER · manager.css
   Account 3, RESPONSABLE DE ZONE: light, printable pages (paper background, white tiles, silver hairlines, ink text).
   Everything is scoped under .acc-responsable (app.js sets <html data-theme="light" data-account="responsable">).
   The page flows and scrolls normally (no scaled stage).
   Brand rules kept here: square corners, hairlines, no shadow, no gradient. Green is a fill or a keyline with ink text,
   never text on this light surface. Amber marks attention and limits. Red marks faults.
   Sections: shell and shared pieces · tableau de bord · traçabilité and discharge sheet · rapports (builder and A4 pages)
   · optimiseur · abonnement · comptes · print (the report prints alone, as A4 pages). */

.acc-responsable{min-height:100vh;background:var(--paper);color:var(--ink)}
.acc-responsable .mono{font-size:11px}
.acc-responsable .dim{color:var(--steel)}

/* ------------------------------------------------------------------ shell */
.acc-responsable .m-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:20px;height:58px;padding:0 28px;background:var(--white);border-bottom:1px solid var(--silver)}
.acc-responsable .m-brand{display:flex;align-items:center;gap:14px;flex:none}
.acc-responsable .m-acc{font-family:var(--display);font-size:21px;line-height:1;text-transform:uppercase;letter-spacing:.02em;padding-left:14px;border-left:1px solid var(--silver);white-space:nowrap}
.acc-responsable .m-nav{display:flex;align-self:stretch;gap:2px;margin-left:8px;min-width:0}
.acc-responsable .m-nav a{display:flex;align-items:center;padding:3px 13px 0;font-size:14.5px;font-weight:500;color:var(--steel);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}
.acc-responsable .m-nav a:hover{color:var(--ink)}
.acc-responsable .m-nav a.on{color:var(--ink);border-bottom-color:var(--ink)}
.acc-responsable .roles{margin-left:auto}
.acc-responsable .m-main{max-width:1480px;margin:0 auto;padding:22px 28px 64px}
.acc-responsable .m-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}
.acc-responsable .m-meta{display:flex;align-items:center;gap:14px}
.acc-responsable .m-meta .mono{letter-spacing:.08em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .m-meta .illus{font-size:10px;padding:2px 7px}
.acc-responsable h1{font-family:var(--display);font-weight:400;font-size:44px;line-height:1;text-transform:uppercase;letter-spacing:.01em;margin:10px 0 0}
.acc-responsable h1 .id{color:var(--steel);margin-left:10px}
.acc-responsable .m-sub{margin:8px 0 0;font-size:15px;color:var(--steel)}
.acc-responsable .m-ctl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;padding-bottom:3px}
.acc-responsable .m-ctl .grp{display:inline-flex;gap:4px}
.acc-responsable .m-plabel{font-size:14.5px;font-weight:500;white-space:nowrap}
.acc-responsable .m-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);padding:10px 18px;background:var(--ink);color:var(--paper);font-weight:600;font-size:14px;z-index:10;white-space:nowrap}
.acc-responsable .m-toast .mono{font-weight:400;color:var(--silver)}

/* ------------------------------------------------------------------ shared pieces */
.acc-responsable .m-tile{background:var(--white);border:1px solid var(--silver);padding:16px 18px 18px;min-width:0}
.acc-responsable .m-main > .m-tile{margin-top:14px}
.acc-responsable .m-page[data-sec="tracabilite"] .m-main{max-width:1800px}
.acc-responsable .t-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-height:22px}
.acc-responsable .t-h h2{font-family:var(--display);font-weight:400;font-size:20px;line-height:1.05;text-transform:uppercase;letter-spacing:.03em;margin:0}
.acc-responsable .t-sub{margin:-4px 0 12px;letter-spacing:.03em;color:var(--steel)}
.acc-responsable .m-grid{display:grid;gap:14px;margin-top:14px}
.acc-responsable .m-grid.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.acc-responsable .m-grid.g12{grid-template-columns:repeat(12,minmax(0,1fr))}
.acc-responsable .c3{grid-column:span 3}
.acc-responsable .c4{grid-column:span 4}
.acc-responsable .m-grid.top{align-items:start}
.acc-responsable .c5{grid-column:span 5}
.acc-responsable .c6{grid-column:span 6}
.acc-responsable .c7{grid-column:span 7}
.acc-responsable .c8{grid-column:span 8}
.acc-responsable .m-stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.acc-responsable .m-note{margin:12px 0 0;font-size:12.5px;line-height:1.45;color:var(--steel)}
.acc-responsable .m-note.amber{color:var(--ink);border-left:3px solid var(--amber);padding-left:10px}
.acc-responsable .lbl{display:block;letter-spacing:.05em;text-transform:uppercase;color:var(--steel);margin-bottom:6px}
.acc-responsable .tier{background:var(--white)}

.acc-responsable .m-seg{display:inline-flex;border:1px solid var(--ink);flex:none}
.acc-responsable .m-seg a,.acc-responsable .m-seg button{display:flex;align-items:center;height:34px;padding:0 16px;font-family:var(--body);font-size:14px;font-weight:600;color:var(--ink);background:var(--white);
  border:0;border-right:1px solid var(--ink);text-decoration:none;white-space:nowrap}
.acc-responsable .m-seg a:last-child,.acc-responsable .m-seg button:last-child{border-right:0}
.acc-responsable .m-seg .on{background:var(--ink);color:var(--paper)}

.acc-responsable .m-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;background:var(--white);border:1px solid var(--ink);
  color:var(--ink);font-family:var(--body);font-weight:600;font-size:14px;white-space:nowrap;text-decoration:none}
.acc-responsable .m-btn:hover{background:var(--paper)}
.acc-responsable .m-btn.go{background:var(--green)}
.acc-responsable .m-btn.go:hover{background:var(--ink);color:var(--paper)}
.acc-responsable .m-btn.ink{background:var(--ink);color:var(--paper)}
.acc-responsable .m-btn.ink:hover{background:var(--graphite)}
.acc-responsable .m-btn.sm{height:30px;padding:0 10px;font-size:12.5px}
.acc-responsable .rp-row{display:inline-flex;align-items:center;gap:6px}
.acc-responsable .m-btn.ico{width:30px;padding:0}
.acc-responsable .m-btn.wide{width:100%;height:46px;font-size:15.5px}
.acc-responsable .m-btn:disabled{background:var(--paper);border-color:var(--silver);color:var(--steel);cursor:default}
.acc-responsable .m-lnk{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.acc-responsable .m-lnk.back{text-decoration:none;margin-right:6px}

.acc-responsable select,.acc-responsable input[type="search"]{height:36px;width:100%;min-width:0;padding:0 10px;background:var(--white);border:1px solid var(--steel);color:var(--ink);
  font-family:var(--body);font-size:14px;outline:0;-webkit-appearance:none;appearance:none}
.acc-responsable select:focus,.acc-responsable input[type="search"]:focus{border-color:var(--ink);outline:1px solid var(--ink)}
.acc-responsable select{padding-right:30px;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h2v2H0zM2 2h2v2H2zM4 4h2v2H4zM6 4h2v2H6zM8 2h2v2H8zM10 0h2v2h-2z' fill='%23171717'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center}
.acc-responsable input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.acc-responsable .fld{display:flex;flex-direction:column;gap:5px;margin-top:12px;min-width:0}
.acc-responsable .fld > .mono{letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable input[type="range"]{-webkit-appearance:none;appearance:none;display:block;width:100%;height:24px;margin:1px 0 0;padding:0;background:transparent;border:0;cursor:pointer}
/* the filled part of the track is two flat colours with a hard stop at --fill (not a visual gradient) */
.acc-responsable input[type="range"]::-webkit-slider-runnable-track{height:6px;background:linear-gradient(to right,var(--ink) 0,var(--ink) var(--fill,0%),var(--silver) var(--fill,0%),var(--silver) 100%)}
.acc-responsable input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:22px;margin-top:-8px;background:var(--ink);border:0;border-radius:0}
.acc-responsable input[type="range"]::-moz-range-track{height:6px;background:var(--silver)}
.acc-responsable input[type="range"]::-moz-range-progress{height:6px;background:var(--ink)}
.acc-responsable input[type="range"]::-moz-range-thumb{width:12px;height:22px;background:var(--ink);border:0;border-radius:0}
.acc-responsable .chk{display:flex;align-items:center;gap:9px;padding:4px 0;font-size:13.5px;cursor:pointer;position:relative}
.acc-responsable .chk input{position:absolute;opacity:0;width:0;height:0}
.acc-responsable .chk i{position:relative;flex:none;width:16px;height:16px;border:1px solid var(--ink);background:var(--white)}
.acc-responsable .chk input:checked + i{background:var(--ink)}
.acc-responsable .chk input:checked + i::after{content:"";position:absolute;left:4px;top:4px;width:6px;height:6px;background:var(--green)}
.acc-responsable .chk input:focus-visible + i{outline:2px solid var(--ink);outline-offset:2px}
.acc-responsable .chk em{margin-left:auto;font-style:normal;font-weight:600;font-size:10px;color:var(--ink);border:1px solid var(--amber);padding:1px 6px;white-space:nowrap}

.acc-responsable .m-table{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums}
.acc-responsable .m-table th{font-family:var(--mono);font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--steel);text-align:left;
  padding:8px 10px;background:var(--paper);border-bottom:1px solid var(--silver);white-space:nowrap}
.acc-responsable .m-table td{padding:8px 10px;border-bottom:1px solid var(--silver);vertical-align:middle}
.acc-responsable .m-table tbody tr:last-child td{border-bottom:0}
.acc-responsable .m-table .num{text-align:right;white-space:nowrap}
.acc-responsable .m-table td.num,.acc-responsable .m-table td.mono{font-family:var(--mono);font-size:12.5px}
.acc-responsable .m-table td.who{white-space:nowrap}
.acc-responsable .m-table td.who b{font-weight:600;margin-right:8px}
.acc-responsable .m-table td.who .mono{color:var(--steel)}
.acc-responsable .m-table td.bar{width:180px}
.acc-responsable .m-table tr.total td{border-top:2px solid var(--ink);background:var(--paper);font-weight:600}
.acc-responsable .m-table.slim th,.acc-responsable .m-table.slim td{padding:6px 8px}
.acc-responsable .m-table.slim{font-size:13px}

.acc-responsable .sg-idle{background:var(--silver)}
.acc-responsable .sg-maint{background:var(--steel)}
.acc-responsable .m-shares{display:flex;height:22px;background:var(--silver)}
.acc-responsable .m-shares u{display:block;height:100%;text-decoration:none}
.acc-responsable .m-table .m-shares{height:12px}
.acc-responsable .m-legend > div{display:grid;grid-template-columns:14px minmax(0,1fr) auto 54px;align-items:center;column-gap:10px;padding:7px 0;border-bottom:1px solid var(--silver);font-size:14px}
.acc-responsable .m-legend > div:last-child{border-bottom:0;padding-bottom:0}
.acc-responsable .m-legend .key{display:block;width:14px;height:14px}
.acc-responsable .m-legend .mono{color:var(--steel)}
.acc-responsable .m-legend b{font-family:var(--display);font-weight:400;font-size:21px;line-height:1;text-align:right}
.acc-responsable .m-legend{margin-top:12px}
.acc-responsable .m-legend.inline{display:flex;gap:16px;margin:0}
.acc-responsable .m-legend.inline > div{display:flex;align-items:center;gap:6px;border:0;padding:0;font-size:12px;color:var(--steel);white-space:nowrap}
.acc-responsable .m-legend.inline .key{width:10px;height:10px}
.acc-responsable .ln{display:inline-block;width:22px;height:0;border-top:2px solid var(--ink)}
.acc-responsable .ln.sec{border-top:2px dashed var(--steel)}
.acc-responsable .ln.lim{border-top:2px dashed var(--amber)}

/* vertical bars (dashboard) */
.acc-responsable .m-bars{position:relative;display:flex;align-items:stretch;gap:8px;height:197px}
.acc-responsable .m-bars .c{flex:1;min-width:0;display:flex;flex-direction:column}
.acc-responsable .m-bars .a{position:relative;flex:1;border-bottom:1px solid var(--ink)}
.acc-responsable .m-bars .a i{position:absolute;left:0;right:0;bottom:0;background:var(--ink)}
.acc-responsable .m-bars .c.cur .a i{background:var(--steel)}
.acc-responsable .m-bars .a b{position:absolute;left:-6px;right:-6px;text-align:center;font-family:var(--mono);font-size:11px;font-weight:600;padding-bottom:3px;white-space:nowrap;z-index:1}
.acc-responsable .m-bars .a b em{font-style:normal;background:var(--white);padding:0 3px}
.acc-responsable .m-bars .c > .mono{height:22px;line-height:24px;text-align:center;color:var(--steel);white-space:nowrap;overflow:hidden}
.acc-responsable .m-bars .c.cur > .mono{color:var(--ink);font-weight:700}
.acc-responsable .m-bars.dense{gap:3px}
.acc-responsable .m-bars.dense .c > .mono{font-size:9.5px}
.acc-responsable .m-bars .plan{position:absolute;left:0;right:0;height:0;border-top:2px dashed var(--amber)}
.acc-responsable .m-bars .plan .mono{position:absolute;right:0;bottom:4px;font-size:10px;font-weight:600;letter-spacing:.03em;color:var(--ink);background:var(--white);padding:0 0 0 4px}

/* line charts (the SVG comes from RSM.ui.chart; light colours here) */
.acc-responsable .chart-svg .grid{stroke:var(--silver)}
.acc-responsable .chart-svg .mark{stroke:var(--steel)}
.acc-responsable .chart-svg .limit{stroke:var(--amber);stroke-width:2}
.acc-responsable .chart-svg .line{stroke:var(--ink)}
.acc-responsable .chart-svg .dot{fill:var(--ink)}
.acc-responsable .chart-svg.sec .line{stroke:var(--steel);stroke-width:2;stroke-dasharray:6 4}
.acc-responsable .chart-svg.top .grid{display:none}
.acc-responsable .m-charts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.acc-responsable .m-charts.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.acc-responsable .m-chart{min-width:0}
.acc-responsable .m-chart .h{display:flex;justify-content:space-between;margin-bottom:5px}
.acc-responsable .m-chart .h .mono{letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .m-chart .b{position:relative;height:168px;border-left:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.acc-responsable .m-charts.low .m-chart .b{height:124px}
.acc-responsable .m-chart .y1,.acc-responsable .m-chart .y0{position:absolute;left:5px;font-size:10px;line-height:1;color:var(--steel)}
.acc-responsable .m-chart .y1{top:3px}
.acc-responsable .m-chart .y0{bottom:3px}
.acc-responsable .m-chart .yl{position:absolute;right:4px;font-size:10px;line-height:1;font-weight:600;color:var(--ink);background:var(--white);padding:0 3px;margin-bottom:5px}
.acc-responsable .m-chart .x{display:flex;justify-content:space-between;margin-top:4px;font-size:10px;color:var(--steel)}

.acc-responsable .m-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
.acc-responsable .m-facts.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.acc-responsable .m-facts.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.acc-responsable .m-facts > div{padding:8px 0 9px;border-top:1px solid var(--silver);min-width:0}
.acc-responsable .m-facts > .wide{grid-column:1 / -1}
.acc-responsable .m-facts .mono{display:block;letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .m-facts b{display:block;font-size:14.5px;font-weight:600;margin-top:2px;overflow-wrap:anywhere}
.acc-responsable .m-facts.big b{font-family:var(--display);font-weight:400;font-size:25px;line-height:1.15;letter-spacing:.01em;white-space:nowrap}
.acc-responsable .m-facts b small{display:block;font-family:var(--body);font-size:12px;line-height:1.3;font-weight:400;color:var(--steel);white-space:normal}
.acc-responsable .m-end{font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;border:1px solid var(--ink);padding:3px 9px;white-space:nowrap}
.acc-responsable .m-end.warn{border-color:var(--amber);border-width:2px}

/* ------------------------------------------------------------------ tableau de bord */
.acc-responsable .m-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--white);border:1px solid var(--silver)}
.acc-responsable .m-kpi{padding:14px 16px 13px;border-left:1px solid var(--silver);min-width:0}
.acc-responsable .m-kpi:first-child{border-left:0}
.acc-responsable .m-kpi .lbl{min-height:30px;line-height:1.35;margin:0}
.acc-responsable .m-kpi .fig{font-family:var(--display);font-size:54px;line-height:1.05;margin-top:6px;white-space:nowrap}
.acc-responsable .m-kpi .fig small{font-size:21px;color:var(--steel);margin-left:6px}
.acc-responsable .m-kpi .sub{margin:6px 0 0;font-size:12.5px;line-height:1.35;color:var(--steel);min-height:34px}
.acc-responsable .m-kpi .cmp{margin:8px 0 0;padding-top:8px;border-top:1px solid var(--silver);letter-spacing:.01em;line-height:1.4}
.acc-responsable .m-strip{display:flex;align-items:center;gap:20px;padding:12px 18px;border-left:6px solid var(--green)}
.acc-responsable .m-strip .st-h{display:flex;align-items:center;gap:9px;white-space:nowrap}
.acc-responsable .m-strip .st-h b{font-family:var(--display);font-weight:400;font-size:19px;text-transform:uppercase;letter-spacing:.03em}
.acc-responsable .m-strip p{flex:1;margin:0;font-size:14.5px;line-height:1.45}

/* ------------------------------------------------------------------ traçabilité */
.acc-responsable .tr-filters{display:grid;grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(0,1fr)) minmax(0,1.3fr);gap:10px}
.acc-responsable .search{position:relative;display:block}
.acc-responsable .search svg{position:absolute;left:10px;top:10px;color:var(--steel)}
.acc-responsable .search input{padding-left:34px}
.acc-responsable .tr-bar{display:flex;align-items:center;gap:14px;margin:14px 0 10px}
.acc-responsable .tr-bar b{font-size:15.5px;white-space:nowrap}
.acc-responsable .tr-bar .sp{flex:1}
.acc-responsable .tr-bar .mono{white-space:nowrap}
.acc-responsable #tr-res{overflow-x:auto}
.acc-responsable .tr-table td{white-space:nowrap}
.acc-responsable .tr-table th,.acc-responsable .tr-table td{padding-left:7px;padding-right:7px}
.acc-responsable .tr-table th{letter-spacing:.02em}
.acc-responsable .tr-table tr.rw{cursor:pointer}
.acc-responsable .tr-table tr.rw:hover td{background:var(--paper)}
.acc-responsable .tr-table th.srt{cursor:pointer}
.acc-responsable .tr-table th.srt:hover,.acc-responsable .tr-table th.srt.on{color:var(--ink)}
.acc-responsable .tr-table th .ar{display:inline-block;height:10px;margin-left:3px;vertical-align:1px}
.acc-responsable .tr-table th .ar svg{vertical-align:-4px}
.acc-responsable .tr-table td.pn{font-family:var(--display);font-size:17px;text-align:center}
.acc-responsable .tr-table th:nth-child(2){text-align:center}
.acc-responsable .m-sq{display:inline-block;width:8px;height:8px;margin-right:7px;background:var(--amber)}
.acc-responsable .tr-table .soc{background:var(--paper)}
.acc-responsable .tr-table th.soc{white-space:normal;max-width:92px;line-height:1.25;vertical-align:bottom}
.acc-responsable .tr-table td.soc b{font-weight:600}
.acc-responsable .sh-seq tr.pass td{border-top:1px solid var(--ink);padding-top:9px}
.acc-responsable .sh-seq tr.st td:first-child{padding-left:22px;color:var(--steel)}
.acc-responsable .sh-seq tr.wait td{color:var(--steel);font-style:italic}
.acc-responsable .tr-table tr.none td{padding:30px;text-align:center;color:var(--steel)}
.acc-responsable .tr-pager{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:12px}
.acc-responsable .tr-pager .note{margin-right:auto;letter-spacing:0;white-space:normal;max-width:70%}
.acc-responsable .sh-par td:first-child{color:var(--steel)}
.acc-responsable .sh-par td.num{font-weight:600;color:var(--ink)}

/* ------------------------------------------------------------------ rapports: builder and A4 pages */
.acc-responsable .rp-wrap{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start}
.acc-responsable .rp-side{position:sticky;top:72px}
.acc-responsable .rp-side .fld:first-of-type{margin-top:0}
.acc-responsable .rp-lv{position:relative}
.acc-responsable .rp-lv b{position:absolute;right:0;top:-2px;font-size:14px}
.acc-responsable .rp-lv .ticks{display:flex;justify-content:space-between;font-size:10px;color:var(--steel)}
.acc-responsable .rp-checks{display:flex;flex-direction:column}
.acc-responsable .rp-checks .ax{margin-top:5px;padding-top:9px;border-top:1px solid var(--silver)}
.acc-responsable .rp-act{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.acc-responsable .rp-act .m-btn{height:42px;padding:0 6px;gap:6px;font-size:13.5px;min-width:0}
.acc-responsable .rp-stage{min-width:0;overflow-x:auto}
.acc-responsable .rp-bar{width:210mm;max-width:100%;margin:0 auto 8px;letter-spacing:.06em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-pages{display:flex;flex-direction:column;align-items:center;gap:18px}

.acc-responsable .rp-page{display:flex;flex-direction:column;flex:none;width:210mm;height:297mm;padding:12mm 15mm 9mm;background:var(--white);border:1px solid var(--silver);
  font-size:10.5px;line-height:1.45;color:var(--ink);overflow:hidden}
.acc-responsable .rp-page .mono{font-size:7.5px}
.acc-responsable .rp-ph{flex:none;display:flex;justify-content:space-between;gap:10mm;padding-bottom:2.5mm;border-bottom:1px solid var(--ink)}
.acc-responsable .rp-ph .mono{font-size:8px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.acc-responsable .rp-body{flex:1;min-height:0;overflow:hidden;padding-top:7mm}
.acc-responsable .rp-block + .rp-block{margin-top:7mm}
.acc-responsable .rp-pf{flex:none;display:flex;align-items:center;gap:3mm;padding-top:2.5mm;border-top:1px solid var(--silver)}
.acc-responsable .rp-pf .mono{letter-spacing:.03em;color:var(--steel);white-space:nowrap}
.acc-responsable .rp-pf .illus{margin-left:auto;font-size:7px;padding:1px 5px;letter-spacing:.06em}
.acc-responsable .rp-pf .pg{color:var(--ink);font-weight:600;min-width:15mm;text-align:right}
.acc-responsable .rp-hero .eyebrow{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-page h1{font-size:46px;line-height:.95;margin:2mm 0 6mm}
.acc-responsable .rp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:6mm;border-top:1px solid var(--ink)}
.acc-responsable .rp-facts > div{padding:2.2mm 0;border-bottom:1px solid var(--silver);min-width:0}
.acc-responsable .rp-facts .mono{display:block;letter-spacing:.06em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-facts b{display:block;font-size:10.5px;font-weight:600;margin-top:.5mm}
.acc-responsable .rp-block h2{display:flex;align-items:baseline;gap:3mm;font-family:var(--display);font-weight:400;font-size:19px;line-height:1;text-transform:uppercase;letter-spacing:.02em;margin:0 0 3.2mm}
.acc-responsable .rp-block h2 .mono{font-size:8.5px;letter-spacing:.08em;color:var(--steel)}
.acc-responsable .rp-block h2 .cont{font-family:var(--body);font-size:9.5px;text-transform:none;letter-spacing:0;color:var(--steel)}
.acc-responsable .rp-lede{margin:0 0 4mm;font-size:11.5px;line-height:1.5}
.acc-responsable .rp-note{margin:2.5mm 0 0;font-size:9px;line-height:1.45;color:var(--steel)}
.acc-responsable .rp-kf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--silver);border-left:1px solid var(--silver)}
.acc-responsable .rp-kf > div{padding:2.4mm 3mm 2.6mm;border-right:1px solid var(--silver);border-bottom:1px solid var(--silver);min-width:0}
.acc-responsable .rp-kf .mono,.acc-responsable .rp-sk .mono{display:block;letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-kf b,.acc-responsable .rp-sk b{display:block;font-family:var(--display);font-weight:400;font-size:24px;line-height:1.1;margin-top:1mm;white-space:nowrap}
.acc-responsable .rp-kf b small,.acc-responsable .rp-sk b small{font-size:11px;color:var(--steel);margin-left:1.5mm}
.acc-responsable .rp-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.acc-responsable .rp-table th{font-family:var(--mono);font-size:7.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--steel);background:var(--paper);text-align:left;
  padding:1.6mm 2mm;border-bottom:1px solid var(--silver);white-space:nowrap}
.acc-responsable .rp-table td{padding:1.5mm 2mm;border-bottom:1px solid var(--silver);font-size:10px;white-space:nowrap}
.acc-responsable .rp-table .num{text-align:right}
.acc-responsable .rp-table td.num,.acc-responsable .rp-table td.mono{font-family:var(--mono);font-size:9px}
.acc-responsable .rp-table.mma td.avg{font-weight:700}
.acc-responsable .rp-table.ses th{font-size:6.6px;padding:1.3mm 1.1mm;letter-spacing:.02em}
.acc-responsable .rp-table.ses td{font-family:var(--mono);font-size:7.5px;padding:1.05mm 1.1mm}
.acc-responsable .rp-table.lots th{white-space:normal;vertical-align:bottom;line-height:1.3}
.acc-responsable .rp-table.lots th:first-child{width:24mm}
.acc-responsable .rp-table.lots.wide th{font-size:6.4px;padding:1.4mm 1.1mm;letter-spacing:.01em}
.acc-responsable .rp-table.lots.wide th:first-child{width:21mm}
.acc-responsable .rp-table.lots.wide td{font-size:8.6px;padding:1.3mm 1.1mm}
.acc-responsable .rp-table.lots.wide td.num,.acc-responsable .rp-table.lots.wide td.mono{font-size:8px}
.acc-responsable .rp-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9mm}
.acc-responsable .rp-hist .ttl{display:block;letter-spacing:.05em;text-transform:uppercase;color:var(--steel);margin-bottom:2mm}
.acc-responsable .rp-hist .hb{display:flex;height:36mm;gap:2px;padding:0 4mm}
.acc-responsable .rp-hist .c{flex:1;min-width:0;display:flex;flex-direction:column}
.acc-responsable .rp-hist .c.endc{flex:0 0 0}
.acc-responsable .rp-hist .a{position:relative;flex:1;border-bottom:1px solid var(--ink)}
.acc-responsable .rp-hist .a i{position:absolute;left:0;right:0;bottom:0;background:var(--ink)}
.acc-responsable .rp-hist .a b{position:absolute;left:-3px;right:-3px;text-align:center;font-family:var(--mono);font-size:7px;font-weight:600;line-height:1.5}
.acc-responsable .rp-hist .c > .mono{display:flex;justify-content:center;width:0;height:4.4mm;line-height:4.6mm;font-size:6.6px;color:var(--steel);white-space:nowrap}
.acc-responsable .rp-hist .ax{display:block;text-align:right;font-size:6.6px;color:var(--steel)}
.acc-responsable .rp-soc{display:grid;grid-template-columns:88mm minmax(0,1fr);gap:9mm;align-items:start}
.acc-responsable .rp-sc{padding-left:7mm}
.acc-responsable .rp-sc .ay,.acc-responsable .rp-sc .axl{display:block;font-size:7px;letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-sc .ay{margin:0 0 2mm -7mm}
.acc-responsable .rp-sc .axl{margin-top:5.5mm;text-align:right}
.acc-responsable .rp-sc .smp{display:block;margin-top:1mm;font-size:6.6px;color:var(--steel);text-align:right}
.acc-responsable .rp-sc .plot{position:relative;height:60mm;border-left:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.acc-responsable .rp-sc .plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.acc-responsable .rp-sc .plot svg line{stroke:var(--amber);stroke-width:1.5;vector-effect:non-scaling-stroke}
.acc-responsable .rp-sc .plot u{position:absolute;width:3px;height:3px;margin:0 0 -1.5px -1.5px;background:var(--ink)}
.acc-responsable .rp-sc .gx{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--silver)}
.acc-responsable .rp-sc .gy{position:absolute;left:0;right:0;height:0;border-top:1px solid var(--silver)}
.acc-responsable .rp-sc .lx{position:absolute;top:100%;margin-top:1.2mm;transform:translateX(-50%);font-size:6.6px;color:var(--steel)}
.acc-responsable .rp-sc .ly{position:absolute;right:100%;margin-right:1.4mm;transform:translateY(50%);font-size:6.6px;color:var(--steel)}
.acc-responsable .rp-sk > div{padding:2.4mm 0 2.6mm;border-top:1px solid var(--silver)}
.acc-responsable .rp-sk > div:first-child{border-top-color:var(--ink)}
.acc-responsable .rp-sk .rp-note:first-of-type{padding-top:2.5mm;border-top:1px solid var(--silver);margin-top:0}
.acc-responsable .rp-beyond{display:flex;flex-wrap:wrap;align-items:baseline;gap:1mm 4mm;margin-top:4mm;padding:2.6mm 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--silver);font-size:10px}
.acc-responsable .rp-beyond b{font-weight:600}
.acc-responsable .rp-beyond .mono{font-size:9.5px}
.acc-responsable .rp-beyond em{margin-left:auto;font-style:normal;font-size:8px;letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .rp-meth{margin:0;padding:0;list-style:none}
.acc-responsable .rp-meth li{position:relative;padding:1.7mm 0 1.7mm 5mm;border-top:1px solid var(--silver);font-size:10px}
.acc-responsable .rp-meth li::before{content:"";position:absolute;left:0;top:3.2mm;width:1.8mm;height:1.8mm;background:var(--ink)}
.acc-responsable .rp-ax .h{display:flex;justify-content:space-between;align-items:baseline;gap:3mm;margin-bottom:1mm}
.acc-responsable .rp-ax .h b{font-family:var(--mono);font-size:9px}
.acc-responsable .rp-ax .h .mono{font-size:7px;color:var(--steel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-responsable .rp-ax .b{position:relative;height:30mm;border-left:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.acc-responsable .rp-ax .y1,.acc-responsable .rp-ax .y1r{position:absolute;top:.6mm;font-size:6.5px;color:var(--steel);background:var(--white);padding:0 1px}
.acc-responsable .rp-ax .y1{left:1mm}
.acc-responsable .rp-ax .y1r{right:1mm}
.acc-responsable .rp-ax .x{display:flex;justify-content:space-between;margin-top:1mm;font-size:6.8px;color:var(--steel)}
.acc-responsable .rp-ax .chart-svg .line{stroke-width:1.5}
.acc-responsable .rp-ax .chart-svg.sec .line{stroke-dasharray:4 3;stroke-width:1.2}
.acc-responsable .rp-note .lg i{display:inline-block;width:5mm;height:0;margin:0 1.2mm 0 3mm;vertical-align:middle;border-top:1.5px solid var(--ink)}
.acc-responsable .rp-note .lg .l2{border-top:1.2px dashed var(--steel)}
.acc-responsable .rp-note .lg .l3{border-top:1.5px dashed var(--amber)}

/* ------------------------------------------------------------------ optimiseur */
.acc-responsable .op-wrap{display:grid;grid-template-columns:380px minmax(0,1fr);gap:14px;align-items:start}
.acc-responsable .op-main .m-chart .b{height:100px}
.acc-responsable .op-res{padding-bottom:12px}
.acc-responsable .op-main .op-obs + .m-note{padding-top:12px;border-top:1px solid var(--silver)}
.acc-responsable .op-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.acc-responsable .op-main .m-grid{margin-top:0}
.acc-responsable .op-side .fld:first-of-type{margin-top:0}
.acc-responsable .op-side .ref{margin-top:10px}
.acc-responsable .op-side .t-h.sub{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--silver)}
.acc-responsable .m-sl{margin-top:11px}
.acc-responsable .m-sl .sh{display:flex;align-items:baseline;justify-content:space-between}
.acc-responsable .m-sl .nm{font-size:14.5px;font-weight:500}
.acc-responsable .m-sl .sh b{font-family:var(--display);font-weight:400;font-size:30px;line-height:1;white-space:nowrap}
.acc-responsable .m-sl .sh b small{font-size:14px;color:var(--steel);margin-left:4px}
.acc-responsable .m-sl .sf{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;color:var(--steel);white-space:nowrap}
.acc-responsable .m-sl .sf .cur{color:var(--ink)}
.acc-responsable .op-create{margin-top:18px;padding-top:16px;border-top:1px solid var(--silver)}
.acc-responsable .op-done{display:flex;align-items:flex-start;gap:8px;margin:0 0 8px;font-size:14px;line-height:1.4}
.acc-responsable .op-done svg{margin-top:2px;background:var(--green)}
.acc-responsable .op-done b{white-space:nowrap}
.acc-responsable .op-figs{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,.9fr);column-gap:14px}
.acc-responsable .op-figs > div{padding:10px 0 0;border-top:5px solid var(--silver);min-width:0}
.acc-responsable .op-figs > .good{border-top-color:var(--green)}
.acc-responsable .op-figs > .over{border-top-color:var(--amber)}
.acc-responsable .op-figs .mono{display:block;letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .op-figs b{display:block;font-family:var(--display);font-weight:400;font-size:64px;line-height:1;margin-top:6px;white-space:nowrap}
.acc-responsable .op-figs b small{font-size:24px;color:var(--steel);margin-left:6px}
.acc-responsable .op-figs b em{font-style:normal;font-size:24px;color:var(--steel);margin-left:12px}
.acc-responsable .op-figs .over b{color:var(--amber)}
.acc-responsable .op-figs.is-over > div:nth-child(-n+2) b{color:var(--steel)}
.acc-responsable .op-figs p{margin:8px 0 0;font-size:13.5px;line-height:1.4;color:var(--steel)}
.acc-responsable .op-figs p strong{color:var(--ink)}
.acc-responsable .op-sug{margin:0;padding:0;list-style:none;counter-reset:sug}
.acc-responsable .op-sug li{position:relative;counter-increment:sug;padding:9px 0 10px 42px;border-top:1px solid var(--silver)}
.acc-responsable .op-sug li::before{content:counter(sug);position:absolute;left:2px;top:8px;font-family:var(--display);font-size:30px;line-height:1}
.acc-responsable .op-sug .sg-t{display:flex;align-items:center;justify-content:space-between;gap:12px}
.acc-responsable .op-sug .sg-t b{font-size:15.5px}
.acc-responsable .op-sug p{margin:3px 0 6px;font-size:13.5px;line-height:1.45}
.acc-responsable .op-sug .eff{font-weight:600;letter-spacing:.02em}
.acc-responsable .op-obs,.acc-responsable .cp-rules ul{margin:0;padding:0;list-style:none}
.acc-responsable .op-obs li,.acc-responsable .cp-rules li{position:relative;padding:9px 0 9px 18px;border-top:1px solid var(--silver);font-size:13.5px;line-height:1.45}
.acc-responsable .op-obs li::before,.acc-responsable .cp-rules li::before{content:"";position:absolute;left:0;top:15px;width:7px;height:7px;background:var(--ink)}

/* ------------------------------------------------------------------ abonnement et usage */
.acc-responsable .ab-fig{display:flex;align-items:flex-end;gap:30px}
.acc-responsable .ab-fig .big{font-family:var(--display);font-size:88px;line-height:.95;white-space:nowrap}
.acc-responsable .ab-fig .big small{font-size:24px;color:var(--steel);margin-left:10px}
.acc-responsable .ab-fig .big.sec{font-size:56px;padding-bottom:3px}
.acc-responsable .ab-fig .side{padding-bottom:7px}
.acc-responsable .ab-fig .side b{display:block;font-size:18px}
.acc-responsable .ab-fig .side span{font-size:14px;color:var(--steel)}
.acc-responsable .m-meter{position:relative;margin:16px 0 30px}
.acc-responsable .m-meter i{display:block;height:18px;background:var(--silver)}
.acc-responsable .m-meter u{display:block;height:100%;background:var(--ink);text-decoration:none}
.acc-responsable .m-meter .mk{position:absolute;top:-6px;bottom:-6px;width:0;border-left:2px dashed var(--amber)}
.acc-responsable .m-meter .mk em{position:absolute;top:100%;left:0;transform:translateX(-50%);margin-top:3px;font-style:normal;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--steel);white-space:nowrap}
.acc-responsable .m-meter .mk.r em{transform:translateX(-100%);padding-right:4px}
/* abonnement: the month's kWh against the included kWh (pricing v4); the kWh above in amber */
.acc-responsable .ab-meter{margin:18px 0 26px}
.acc-responsable .ab-meter i{display:flex}
.acc-responsable .ab-meter u.over{background:var(--amber)}
.acc-responsable .ab-meter-note{margin:0 0 12px;font-size:12px;color:var(--steel)}
.acc-responsable .ab-proj{margin:0;font-size:14.5px;line-height:1.5}
.acc-responsable .ab-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:30px;margin-top:18px;padding-top:14px;border-top:1px solid var(--silver)}
.acc-responsable .m-mini{display:block;height:10px;background:var(--silver)}
.acc-responsable .m-mini u{display:block;height:100%;background:var(--ink);text-decoration:none}
.acc-responsable .ab-postes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-template-rows:repeat(5,auto);gap:5px 22px}
.acc-responsable .ab-postes > div{display:grid;grid-template-columns:18px minmax(0,1fr) 42px;align-items:center;column-gap:8px}
.acc-responsable .ab-postes .mono{font-weight:700}
.acc-responsable .ab-postes b{font-family:var(--mono);font-size:12px;font-weight:600;text-align:right}
.acc-responsable .plan-n{font-family:var(--display);font-size:58px;line-height:1;text-transform:uppercase;letter-spacing:.01em}
.acc-responsable .plan-n small{margin-left:8px}
.acc-responsable .plan-s{margin:6px 0 18px;font-size:14.5px;color:var(--steel)}
.acc-responsable .plan-p{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.acc-responsable .plan-p > div{padding:6px 8px 7px;border:1px solid var(--silver);min-width:0}
.acc-responsable .plan-p b{display:block;font-family:var(--display);font-weight:400;font-size:24px;line-height:1.1}
.acc-responsable .plan-p .mono{font-size:9.5px;color:var(--steel)}
.acc-responsable .plan-p em{display:block;font-style:normal;font-size:9.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink)}
.acc-responsable .plan-p > div.cab{background:var(--paper)}
.acc-responsable .ab-unl,.acc-responsable .ab-inv{display:flex;flex-direction:column}
.acc-responsable .unl{display:flex;flex-direction:column}
.acc-responsable .unl > div{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:14px;align-items:start;padding:14px 0;border-top:1px solid var(--silver)}
.acc-responsable .unl > div svg{grid-row:1 / span 2;margin-top:2px}
.acc-responsable .unl b{display:block;font-size:17px;line-height:1.25}
.acc-responsable .unl p{margin:3px 0 0;font-size:14px;line-height:1.45;color:var(--steel)}
.acc-responsable .ab-data{margin:auto 0 0;padding-top:14px;border-top:1px solid var(--ink);font-size:14.5px;line-height:1.5}

/* ------------------------------------------------------------------ comptes et accès */
.acc-responsable .cp-role{display:flex;flex-direction:column;border-top:6px solid var(--silver)}
.acc-responsable .cp-role.me{border-top-color:var(--ink)}
.acc-responsable .cp-role .rl-h{display:flex;align-items:center;justify-content:space-between}
.acc-responsable .cp-role .key{display:grid;place-items:center;width:30px;height:30px;background:var(--green);color:var(--ink);font-family:var(--mono);font-weight:700;font-size:15px}
.acc-responsable .cp-role h2{font-family:var(--display);font-weight:400;font-size:32px;line-height:1;text-transform:uppercase;letter-spacing:.01em;margin:16px 0 8px}
.acc-responsable .cp-role p{margin:0 0 16px;font-size:14.5px;line-height:1.45}
.acc-responsable .cp-role .rl-f{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--silver)}
.acc-responsable .cp-role .rl-f .mono{letter-spacing:.05em;text-transform:uppercase;color:var(--steel)}
.acc-responsable .cp-rights th.mk,.acc-responsable .cp-rights td.mk{width:150px;text-align:center}
.acc-responsable .cp-rights td.mk i{display:inline-block;width:12px;height:12px;vertical-align:-1px}
.acc-responsable .cp-rights td.mk i.y{background:var(--ink)}
.acc-responsable .cp-rights td.mk i.n{border:1px solid var(--silver)}
.acc-responsable .cp-acc td:nth-child(n+2){white-space:nowrap}
.acc-responsable .cp-acc .em{display:block;font-size:12px;letter-spacing:0;text-transform:none;color:var(--steel);overflow-wrap:anywhere}
.acc-responsable .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.acc-responsable .cp-rights tr.never td{border-top:2px solid var(--ink);background:var(--paper);font-weight:600}
.acc-responsable .cp-rights td.nv{text-align:center}
.acc-responsable .cp-rights td.nv svg{margin-right:8px;vertical-align:-3px}
.acc-responsable .cp-rules li:first-child{border-top:0;padding-top:2px}
.acc-responsable .cp-rules li:first-child::before{top:8px}

/* ------------------------------------------------------------------ narrower windows (13 inch laptop) */
@media (max-width:1620px){
  .acc-responsable .roles .rs span{display:none}
}
@media (max-width:1500px){
  .acc-responsable .m-top{gap:12px;padding:0 18px}
  .acc-responsable .m-nav{margin-left:0}
  .acc-responsable .m-nav a{padding:3px 9px 0;font-size:13.5px}
  .acc-responsable .m-acc{font-size:18px;padding-left:10px}
  .acc-responsable .m-brand{gap:10px}
  .acc-responsable .m-main{padding:18px 18px 48px}
  .acc-responsable .m-kpi{padding:12px 12px 11px}
  .acc-responsable .m-kpi .fig{font-size:44px}
  .acc-responsable .m-kpi .lbl{min-height:44px}
  .acc-responsable .m-kpi .sub{min-height:50px}
  .acc-responsable .m-charts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acc-responsable .m-charts.three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acc-responsable .op-wrap{grid-template-columns:330px minmax(0,1fr)}
  .acc-responsable .op-figs b{font-size:50px}
  .acc-responsable .op-figs b small,.acc-responsable .op-figs b em{font-size:20px}
  .acc-responsable .rp-wrap{grid-template-columns:300px minmax(0,1fr);gap:16px}
  .acc-responsable .rp-act{grid-template-columns:1fr}
  .acc-responsable .m-table{font-size:12.5px}
  .acc-responsable .m-table th,.acc-responsable .m-table td{padding:7px 7px}
  .acc-responsable .m-table td.bar{width:120px}
  .acc-responsable .tr-bar .dim{display:none}
  .acc-responsable .tr-pager .note{font-size:10px}
  .acc-responsable .tr-table th,.acc-responsable .tr-table td{padding:7px 5px}
  .acc-responsable .tr-table th{font-size:10px;letter-spacing:.02em}
  .acc-responsable .tr-table td.num,.acc-responsable .tr-table td.mono{font-size:11.5px}
}

/* ------------------------------------------------------------------ print
   Every page of the manager space prints as a document. On #responsable/rapports only the A4 report pages print. */
@page{size:A4;margin:11mm 10mm}
@page rsmreport{size:A4;margin:0}
@media print{
  html,body{height:auto !important;background:var(--white) !important}
  .acc-responsable{min-height:0;background:var(--white)}
  .acc-responsable .m-top,.acc-responsable .m-ctl,.acc-responsable .m-toast,.acc-responsable .tr-filters,.acc-responsable .tr-pager,.acc-responsable .tr-bar .m-btn,.acc-responsable .tr-bar .mono{display:none !important}
  .acc-responsable .m-main{max-width:none;padding:0}
  .acc-responsable .m-tile{break-inside:avoid}
  /* the other pages are laid out for a wide screen: printed at a reduced scale so that the same layout fits the width of an A4 sheet */
  .acc-responsable .m-page:not([data-sec="rapports"]) .m-main{zoom:.56}
  .acc-responsable .m-page[data-sec="rapports"] .m-head,.acc-responsable .rp-side,.acc-responsable .rp-bar{display:none !important}
  .acc-responsable .rp-wrap,.acc-responsable .rp-pages{display:block}
  .acc-responsable .rp-pages{zoom:1 !important}
  .acc-responsable .rp-stage{overflow:visible}
  .acc-responsable .rp-page{page:rsmreport;height:296.6mm;margin:0;border:0;break-after:page;break-inside:avoid}
  .acc-responsable .rp-page:last-child{break-after:auto}
}

/* ------------------------------------------------------------------ maintenance: contactor wear (manager-maint.js)
   The bar is a fill (green, amber at the planning line, red at replacement) with a dashed keyline at the 80 % line. */
.acc-responsable .m-kpis.k4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* the Maintenance item makes eight links: tighten them on laptop widths so the last one stays clear of the role switch */
@media (max-width:1600px){.acc-responsable .m-nav a{padding:3px 9px 0;font-size:14px}}
/* Thermique makes nine: below the width that fits them all, the link row scrolls sideways instead of running under the role switch */
.acc-responsable .m-nav{flex:1 1 auto;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
@media (max-width:1250px){.acc-responsable .m-acc{display:none}}
.acc-responsable .mt-list tr.rw{cursor:pointer}
.acc-responsable .mt-list tr.rw:hover td,.acc-responsable .mt-list tr.on td{background:var(--paper)}
.acc-responsable .mt-ix{display:flex;align-items:center;gap:10px;min-width:170px}
.acc-responsable .mt-ix .mono{min-width:64px;text-align:right}
.acc-responsable .mt-bar{position:relative;display:block;flex:1;height:8px;min-width:90px;background:var(--white);border:1px solid var(--silver)}
.acc-responsable .mt-bar i{position:absolute;left:0;top:0;bottom:0;background:var(--green)}
.acc-responsable .mt-bar.plan i{background:var(--amber)}
.acc-responsable .mt-bar.replace i{background:var(--red)}
.acc-responsable .mt-bar b{position:absolute;top:-4px;bottom:-4px;width:0;border-left:1px dashed var(--ink)}
.acc-responsable .mt-todo{font-weight:600;border-left:3px solid var(--amber);padding-left:7px}
.acc-responsable .mt-detail{margin-top:14px}
.acc-responsable .mt-boards{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:14px 28px}
.acc-responsable .mt-board h3,.acc-responsable .mt-h3{font-family:var(--display);font-weight:400;font-size:17px;line-height:1.1;text-transform:uppercase;letter-spacing:.03em;margin:4px 0 8px}
.acc-responsable .mt-h3{margin-top:22px}
.acc-responsable .mt-c{padding:12px 0 4px;border-top:1px solid var(--silver)}
.acc-responsable .mt-ch{display:flex;align-items:center;justify-content:space-between;gap:12px}
.acc-responsable .mt-ch .lbl{margin:0}
.acc-responsable .mt-st{font-size:13.5px;font-weight:500}
.acc-responsable .mt-cf{display:flex;align-items:center;gap:16px;margin:8px 0 10px}
.acc-responsable .mt-cf .fig{font-family:var(--display);font-size:34px;line-height:1;white-space:nowrap}
.acc-responsable .mt-cat{margin-top:4px}
.acc-responsable .mt-conn{max-width:640px}
@media (max-width:760px){
  .acc-responsable .m-kpis.k4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acc-responsable .mt-boards{grid-template-columns:1fr}
  .acc-responsable .mt-list{display:block;overflow-x:auto}
}
/* thermique: night-shift view of the FLIR cameras (manager-thermal.js) */
.acc-responsable .th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:14px}
.acc-responsable .th-card{display:block;background:var(--white);border:1px solid var(--silver);color:var(--ink);text-decoration:none;min-width:0}
.acc-responsable .th-card:hover,.acc-responsable .th-card.on{border-color:var(--ink)}
.acc-responsable .th-card.hot{border:2px solid var(--red)}
.acc-responsable .th-card.quiet{border:2px solid var(--amber)}
.acc-responsable .th-img,.acc-responsable .th-bigimg,.acc-responsable .th-mini{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--ink)}
.acc-responsable .th-none{display:flex;align-items:center;justify-content:center;color:var(--silver);font-size:11px;letter-spacing:.06em}
.acc-responsable .th-cap{display:flex;align-items:baseline;gap:8px;padding:10px 12px 0}
.acc-responsable .th-cap .mono{color:var(--steel);font-size:11px}
.acc-responsable .th-t{margin-left:auto;font-family:var(--display);font-size:24px;line-height:1}
.acc-responsable .th-sub{padding:4px 12px 10px;color:var(--steel);font-size:11px}
.acc-responsable .th-tags{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}
.acc-responsable .th-detail{margin-top:14px}
.acc-responsable .th-big{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;align-items:start}
.acc-responsable .th-facts p{margin:0 0 12px;font-size:15px}
.acc-responsable .th-facts .lbl{display:block;color:var(--steel);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px}
.acc-responsable .th-h3{margin:18px 0 8px;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.acc-responsable .th-thumb{width:96px}
.acc-responsable .th-mini{width:88px}
@media (max-width:760px){
  .acc-responsable .th-big{grid-template-columns:1fr}
  .acc-responsable .th-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
}
