/* « Présenter » in the client's report layout (analytics_present.js): a 1280 x 720 page, scaled to the screen, laid out as the
   PowerPoint of the same style (header, filter bar, tabs, section, body, footer). The « Alma » style keeps the rules of
   analytics_dashboards.css (one card a slide). Colours come from the style (--dp-p primary, --dp-a accent, --dp-t, --dp-s, --dp-soft). */
#indicators-host .dp-wrap{position:relative;overflow:hidden;border-radius:var(--theme-r-s);box-shadow:var(--theme-shadow-modal);background:var(--paper);animation:dp-in .32s cubic-bezier(.2,.7,.2,1)}
#indicators-host .dp-frame{width:1280px;height:720px;transform-origin:0 0;background:var(--paper)}
#indicators-host .dp-r{position:relative;width:1280px;height:720px;font-family:Calibri,Inter,system-ui,sans-serif;font-size:12px;color:var(--paper-ink);background:var(--paper);overflow:hidden;line-height:1.25}
#indicators-host .dp-r h1,#indicators-host .dp-r h2,#indicators-host .dp-r h3,#indicators-host .dp-r p,#indicators-host .dp-r ul{margin:0;padding:0}
#indicators-host .dp-r ul{list-style:none}
#indicators-host .dp-r-head{position:absolute;left:53px;right:53px;top:19px;height:89px;display:flex;align-items:flex-start;gap:35px;border-bottom:3px solid var(--dp-p);box-sizing:border-box}
#indicators-host .dp-r-head img{height:54px;width:auto;margin-top:9px}
#indicators-host .dp-r-head>div{display:flex;flex-direction:column;min-width:0}
#indicators-host .dp-r-eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--dp-p);line-height:1.2}
#indicators-host .dp-r-head h1{margin-top:4px;font-size:28px;font-weight:700;color:var(--dp-p);line-height:1.15;white-space:nowrap}
#indicators-host .dp-r-head p{margin-top:5px;font-size:12.5px;color:var(--paper-muted)}
#indicators-host .dp-r-filters{position:absolute;left:53px;right:53px;top:116px;height:48px;line-height:48px;font-size:12.5px;color:var(--paper-muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#indicators-host .dp-r-filters span{color:var(--paper-ink)}
#indicators-host .dp-r-tabs{position:absolute;left:53px;right:53px;top:171px;height:36px;display:flex;border-bottom:1px solid var(--paper-line);box-sizing:border-box}
#indicators-host .dp-r-tabs button{all:unset;box-sizing:border-box;cursor:pointer;padding:0 16px;height:36px;display:flex;align-items:center;font-size:14.5px;color:var(--paper-ink);border-bottom:3.5px solid transparent;white-space:nowrap}
#indicators-host .dp-r-tabs button:hover{background:var(--paper-tint)}
#indicators-host .dp-r-tabs button.on{font-weight:700;color:var(--dp-p);border-bottom-color:var(--dp-p)}
#indicators-host .dp-r-tabs button:focus-visible{outline:2px solid var(--dp-a);outline-offset:-2px}
#indicators-host .dp-r-section{position:absolute;left:53px;right:53px;top:215px;height:37px;font-size:18.5px;font-weight:700;color:var(--dp-p);border-bottom:1px solid var(--paper-line);box-sizing:border-box}
#indicators-host .dp-r-section small{margin-left:14px;font-size:12.5px;font-weight:400;color:var(--paper-muted)}
#indicators-host .dp-r-body{position:absolute;left:53px;right:53px;top:263px;height:404px;overflow:hidden}
#indicators-host .dp-r-foot{position:absolute;left:53px;right:53px;top:678px;display:flex;justify-content:space-between;font-size:11px;color:var(--paper-muted)}
#indicators-host .dp-r .dp-fl{display:block;font-size:var(--theme-fs-min);font-weight:700;text-transform:uppercase;color:var(--paper-muted);letter-spacing:.2px}
/* synthesis */
#indicators-host .dp-bigs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:12px}
#indicators-host .dp-big{border:1px solid var(--paper-line);border-top:4px solid var(--dp-p);padding:8px 14px 6px;height:101px;box-sizing:border-box;overflow:hidden}
#indicators-host .dp-bigs.tall .dp-big{height:134px}
#indicators-host .dp-big .dp-fl{color:var(--paper-ink);font-size:11px}
#indicators-host .dp-big strong{display:block;margin-top:2px;font-size:31px;font-weight:700;color:var(--dp-p);line-height:1.1}
#indicators-host .dp-big strong small{font-size:.42em;font-weight:600;margin-left:5px}
#indicators-host .dp-fm{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;margin-top:2px}
#indicators-host .dp-r .ki-delta{font-size:12px}
#indicators-host .dp-target{font-size:11px;color:var(--paper-muted)}
#indicators-host .dp-minis{display:grid;grid-template-columns:repeat(7,1fr);gap:11.5px;margin-bottom:13px}
#indicators-host .dp-mini{background:var(--paper-tint);border:1px solid var(--paper-line);padding:7px 10px;height:61px;box-sizing:border-box;overflow:hidden}
#indicators-host .dp-mini .dp-fl{font-size:var(--theme-fs-min);line-height:1.15}
#indicators-host .dp-mini strong{display:block;margin-top:5px;font-size:17px;font-weight:700;color:var(--dp-p)}
#indicators-host .dp-points h3{font-size:17px;font-weight:700;color:var(--dp-p);margin-bottom:6px}
#indicators-host .dp-points ul{border-left:4px solid var(--dp-p)}
#indicators-host .dp-points li{display:grid;grid-template-columns:150px 1fr;gap:10px;padding:6px 12px 5px;border:1px solid var(--paper-line);border-left:0;margin-top:-1px;font-size:12.5px;align-items:start}
#indicators-host .dp-points li b{font-size:var(--theme-fs-min);text-transform:uppercase;color:var(--dp-p);padding-top:2px}
/* charts three to a page */
#indicators-host .dp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;height:404px}
#indicators-host .dp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
#indicators-host .dp-grid.two .dp-card.s2{grid-column:span 2}
#indicators-host .dp-grid.two .dp-card.s1.figs{display:flex;align-items:center;justify-content:center}
#indicators-host .dp-grid.two .dp-card.s1.figs .dp-fig{width:100%}
#indicators-host .dp-card{display:flex;flex-direction:column;border:1px solid var(--paper-line);padding:10px 14px 8px;min-width:0;min-height:0;box-sizing:border-box;overflow:hidden}
#indicators-host .dp-card.s2{grid-column:span 2}
#indicators-host .dp-card h3{font-size:15px;font-weight:700;color:var(--dp-p);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#indicators-host .dp-card h3.long{font-size:13px}
#indicators-host .dp-sub{font-size:12px;color:var(--paper-muted);margin:2px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#indicators-host .dp-cbody{position:relative;flex:1;min-height:0}
#indicators-host .dp-r .dp-chart{position:absolute;inset:0;width:auto;height:auto;min-height:0}
#indicators-host .dp-r .dp-chart.donut{position:relative;inset:auto;height:170px;margin-top:6px}
#indicators-host .dp-legend{margin-top:8px}
#indicators-host .dp-legend li{display:grid;grid-template-columns:14px 1fr auto;gap:9px;align-items:center;padding:4px 2px;font-size:12.5px;border-top:1px solid var(--paper-line)}
#indicators-host .dp-legend li:first-child{border-top:0}
#indicators-host .dp-legend i{width:14px;height:14px;display:block}
#indicators-host .dp-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#indicators-host .dp-none{font-size:12px;color:var(--paper-muted)}
#indicators-host .dp-table{width:100%;border-collapse:collapse;font-size:12px}
#indicators-host .dp-table th,#indicators-host .dp-table td{padding:5px 8px;text-align:right;border-bottom:1px solid var(--paper-line)}
#indicators-host .dp-table thead th{background:var(--dp-p);color:var(--on-accent);font-weight:700}
#indicators-host .dp-table tbody th{text-align:left;font-weight:700}
#indicators-host .dp-table thead th:first-child{text-align:left}
#indicators-host .dp-table tbody tr:nth-child(even){background:var(--paper-tint)}
/* figures */
#indicators-host .dp-figrow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:12px}
#indicators-host .dp-fig{background:var(--paper-tint);border:1px solid var(--paper-line);padding:8px 12px;height:108px;box-sizing:border-box;overflow:hidden}
#indicators-host .dp-fig.tall{height:160px}
#indicators-host .dp-fig strong{display:block;margin-top:5px;font-size:20px;font-weight:700;color:var(--dp-p);line-height:1.15}
#indicators-host .dp-fig strong small{font-size:.5em;font-weight:600;margin-left:4px}
#indicators-host .dp-card.figs .dp-fig{margin-top:8px}
#indicators-host .dp-group h3{font-size:15px;font-weight:700;color:var(--dp-p);margin-bottom:6px}
#indicators-host .dp-group h3 small{font-size:12px;font-weight:400;color:var(--paper-muted);margin-left:10px}
#indicators-host .dp-missing{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 19px}
#indicators-host .dp-missing h3{font-size:14px;font-weight:700;color:var(--dp-p);margin-bottom:4px}
#indicators-host .dp-missing li{font-size:11.5px;padding:1px 0}
#indicators-host .dp-missing li::before{content:"· "}
#indicators-host .dp-missing li.more{color:var(--paper-muted)}
/* the comment on a KPI card; the model's carries the IA mark */
#indicators-host .dp-note{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.3;color:var(--paper-ink);margin-top:5px}
#indicators-host .dp-note.panel{background:var(--paper);border:1px solid var(--paper-line);border-left:3px solid var(--dp-a,var(--paper-accent));padding:5px 8px;margin:0 0 6px}
#indicators-host .dp-note.empty{margin-top:3px}
#indicators-host .dp-note>span{min-width:0}
#indicators-host .dp-ia{flex:none;background:var(--paper-ia-bg);color:var(--paper-ia-fg)}
#indicators-host .dp-pen{all:unset;cursor:pointer;flex:none;font-size:var(--theme-fs-min);font-weight:600;color:var(--dp-a,var(--paper-accent));border:1px dashed currentColor;border-radius:var(--theme-r-xs);padding:0 6px;margin-left:auto}
#indicators-host .dp-pen:hover,#indicators-host .dp-pen:focus-visible{background:var(--dp-a,var(--paper-accent));color:var(--on-accent)}
/* the editor of one comment */
#indicators-host .dp-editor{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:6;width:min(440px,90%);background:var(--paper);color:var(--paper-ink);border:1px solid var(--paper-edge);border-radius:var(--theme-r-l);padding:16px;box-shadow:var(--theme-shadow-modal);display:flex;flex-direction:column;gap:8px;font-family:Calibri,Inter,system-ui,sans-serif}
#indicators-host .dp-editor label{display:flex;flex-direction:column;gap:6px}
#indicators-host .dp-editor label span{font-weight:700;font-size:14px}
#indicators-host .dp-editor textarea{font:inherit;font-size:14px;border:1px solid var(--paper-edge);border-radius:var(--theme-r-s);padding:8px;resize:vertical}
#indicators-host .dp-editor .dp-count{margin:0;font-size:11px;color:var(--paper-muted);text-align:right}
#indicators-host .dp-editor .dp-err{margin:0;font-size:12px;color:var(--paper-err);font-weight:600}
#indicators-host .dp-editor div{display:flex;gap:8px;justify-content:flex-end}
#indicators-host .dp-editor button{font:inherit;font-size:13px;border:1px solid var(--paper-edge);background:var(--paper);border-radius:var(--theme-r-s);padding:6px 14px;cursor:pointer;color:var(--paper-ink)}
#indicators-host .dp-editor button.dp-save{background:var(--paper-navy);color:var(--on-accent);border-color:var(--paper-navy)}
#indicators-host .dp-editor button:disabled{opacity:.5}
/* the bar under the page */
#indicators-host .dp-bar button[aria-pressed=true]{background:var(--paper-bar-ink)!important;color:var(--paper-bar)!important}
/* in the « Alma » style the comment sits under the figure */
#indicators-host .dp-left .dp-note{font-size:clamp(12px,1vw,15px);color:var(--ki-body);margin-top:10px}
#indicators-host .dp-left .dp-note.panel{background:transparent;border:0;border-left:3px solid var(--ki-red);padding:2px 10px}
#indicators-host .dp-left .dp-ia{font-size:11px}
#indicators-host .dp-notes{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px;font-size:17px}
#indicators-host .dp-notes li{display:flex;gap:10px;align-items:baseline}
#indicators-host .dp-notes .dp-note{margin:0;font-size:16px}
@media(prefers-reduced-motion:reduce){#indicators-host .dp-wrap{animation:none}}
