/* Century Gothic is used throughout the workbook. Where it is not installed, TeX Gyre Adventor (same metrics, free GUST licence) stands in. */
@font-face{font-family:"Century Gothic";font-weight:400;font-style:normal;src:local("Century Gothic"),local("CenturyGothic"),url(../fonts/texgyreadventor-regular.otf) format("opentype")}
@font-face{font-family:"Century Gothic";font-weight:700;font-style:normal;src:local("Century Gothic Bold"),local("CenturyGothic-Bold"),url(../fonts/texgyreadventor-bold.otf) format("opentype")}
@font-face{font-family:"Century Gothic";font-weight:400;font-style:italic;src:local("Century Gothic Italic"),local("CenturyGothic-Italic"),url(../fonts/texgyreadventor-italic.otf) format("opentype")}
@font-face{font-family:"Century Gothic";font-weight:700;font-style:italic;src:local("Century Gothic Bold Italic"),local("CenturyGothic-BoldItalic"),url(../fonts/texgyreadventor-bolditalic.otf) format("opentype")}
@font-face{font-family:"Digital-7";src:local("Digital-7"),local("Digital-7 Regular")}
/* Segment-display font for the figure rectangles: Digital-7 when installed, otherwise DSEG14 (SIL Open Font Licence, fonts/DSEG-LICENSE.txt) */
@font-face{font-family:"DSEG14";font-weight:400;src:url(../fonts/DSEG14Classic-Regular.woff2) format("woff2")}
@font-face{font-family:"DSEG14";font-weight:700;src:url(../fonts/DSEG14Classic-Bold.woff2) format("woff2")}
/* Site chrome around the workbook stage. The stage itself uses only colours read from the workbook. */
:root{--page-bg:#04081a;--bg:var(--page-bg);--bar:#0b1230;--line:#3d4788;--fg:#e9ecf8;--muted:#9aa3c7;--accent:#f0a030;--font:"Century Gothic","Avenir Next","Questrial","Segoe UI",system-ui,sans-serif;color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--fg);font:14px/1.4 var(--font)}
.bar{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:8px 16px;background:var(--bar);border-bottom:1px solid var(--line)}
.bar a.home{color:var(--fg);text-decoration:none;font-weight:700;letter-spacing:.06em;padding:5px 10px;border:1px solid var(--line);border-radius:6px}
.bar a.home:hover{border-color:var(--accent)}
.bar b{font-size:15px;letter-spacing:.05em}
.bar select,.bar button{font:inherit;color:var(--fg);background:#121a3e;border:1px solid var(--line);border-radius:6px;padding:5px 9px;cursor:pointer}
.bar button:hover,.bar select:hover{border-color:var(--accent)}
.bar .sp{flex:1}
.bar .snap{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.bar .z{display:flex;gap:4px;align-items:center}.bar .z span{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#viewport{overflow:auto;padding:0 16px 24px}
#sizer{position:relative;margin:12px auto 0}
#stage{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;font-family:"Aptos Narrow","Arial Narrow","Liberation Sans Narrow","Century Gothic",var(--font)}
.cells,.shapes{position:absolute;inset:0}
.cells{isolation:isolate}
.cell{position:absolute;display:flex;align-items:flex-end;overflow:hidden;white-space:nowrap;font-size:14.67px;color:#000;padding:0 2px;line-height:1.15}
#stage.grid .cell{outline:.5px solid rgba(128,128,128,.18)}
.o{position:absolute}
.o-p img{position:absolute;left:0;top:0;width:100%;height:100%;display:block;user-select:none}
.tx{position:absolute;inset:0;display:flex;flex-direction:column;white-space:pre-wrap;overflow-wrap:break-word;line-height:1.2;pointer-events:none}
.tx.nowrap{white-space:pre}
.tx.v270{writing-mode:vertical-rl;transform:rotate(180deg)}.tx.v90{writing-mode:vertical-rl}
.ctl{cursor:pointer}.ctl.off{cursor:help}
.ctl.nav:hover{filter:brightness(1.35)}
.o-c{overflow:visible}
#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#101736;border:1px solid var(--accent);color:var(--fg);padding:9px 16px;border-radius:8px;z-index:99;max-width:90vw}
.err{padding:40px 16px;color:var(--muted)}
[hidden]{display:none!important}
/* home and data pages */
.wrap{max-width:1180px;margin:0 auto;padding:24px 20px 60px;display:flex;flex-direction:column;gap:22px}
h1{font-size:26px;margin:0;letter-spacing:.03em}h2{font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:10px 0 0;font-weight:600}
.lead{color:var(--muted);max-width:75ch;margin:0}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--bar);color:var(--fg);text-decoration:none;min-width:0}
.card:hover{border-color:var(--accent)}
.card b{letter-spacing:.06em}.card span{font-size:13px;color:var(--muted)}.card small{font-size:12px;color:var(--accent)}
.tw{overflow:auto;border:1px solid var(--line);border-radius:8px;max-height:72vh;background:var(--bar)}
table{border-collapse:collapse;width:100%;font-size:12.5px}
th{position:sticky;top:0;background:#141c44;text-align:left;padding:7px 9px;white-space:nowrap;cursor:pointer;border-bottom:1px solid var(--line);user-select:none}
td{padding:5px 9px;border-bottom:1px solid #1a2248;white-space:nowrap;max-width:420px;overflow:hidden;text-overflow:ellipsis}
td.n{text-align:right;font-variant-numeric:tabular-nums}
.tools{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.tools input,.tools select,.tools button{font:inherit;color:var(--fg);background:#121a3e;border:1px solid var(--line);border-radius:6px;padding:6px 10px}
.tools input{min-width:220px}
.meta{font-size:13px;color:var(--muted)}
@media print{
  .bar,#toast{display:none!important}
  html,body{background:#fff}
  #viewport{overflow:visible;padding:0}
  @page{size:A4 landscape;margin:8mm}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media (max-width:700px){.bar{padding:8px 10px}.bar .snap{display:none}#viewport{padding:0 8px 16px}}
/* verification page */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.tile{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bar);display:flex;flex-direction:column;gap:4px;min-width:0}
.tile b{font-size:22px;font-variant-numeric:tabular-nums}.tile span{font-size:12.5px;color:var(--muted)}
.ok{color:#5fd38a}.warn{color:#f0c060}.bad{color:#ff7a7a}
.tile.ok b{color:#5fd38a}.tile.warn b{color:#f0c060}.tile.bad b{color:#ff7a7a}
.shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.shots figure{margin:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bar)}
.shots img{display:block;width:100%;height:auto}.shots figcaption{padding:10px 12px;font-size:12.5px;color:var(--muted)}.shots figcaption b{color:var(--fg)}
#ver section{display:flex;flex-direction:column;gap:10px;min-width:0}

/* ---- menu (3 rows) ---- */
.bar{padding:6px 12px;gap:8px 10px}
.bar .logo{display:flex;height:34px;width:30px;border-radius:5px;overflow:hidden;flex:none;border:1px solid transparent}
.bar .logo img{width:100%;height:100%;object-fit:cover;display:block}
.bar .logo:hover{border-color:var(--accent)}
.bar .pn{font-size:14px;letter-spacing:.08em}
.bar .ic{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:var(--muted);border:1px solid transparent}
.bar .ic:hover,.bar .ic.on{color:var(--fg);border-color:var(--line);background:#121a3e}
.bar #vtoggle{font-weight:700}
.v-dash .z{display:none}
.v-dash .bar{position:static}
#tabs{display:flex;gap:2px;overflow-x:auto;padding:5px 12px;border-bottom:1px solid var(--line);background:#070c22;scrollbar-width:thin;align-items:center}
#tabs a{white-space:nowrap;color:var(--muted);text-decoration:none;padding:5px 11px;border-radius:999px;border:1px solid transparent;font-size:13px;flex:none}
#tabs a:hover{color:var(--fg)}
#tabs a.on{color:var(--fg);border-color:var(--line);background:#121a3e}
#tabs .plants{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;margin-right:8px;flex:none}
#tabs .plants a{border-radius:0;border:0;font-weight:700}
#tabs .plants a.on{background:var(--accent);color:#141414}
#row3{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:5px 12px;min-height:46px;border-bottom:1px solid var(--line)}
#row3 .sp{flex:1}
#dates{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.v-excel #row3{position:sticky;top:47px;z-index:45;background:rgba(4,8,26,.96)}
.v-excel #kpi,.v-excel #stat{display:none}
.stepper{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:10px;padding:2px 4px;max-width:100%}
.stepper .sl{font:inherit;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;padding:0 6px;background:transparent;border:0;height:30px;cursor:default;min-width:0}
.stepper.moved .sl{cursor:pointer;color:var(--accent)}
.stepper b{min-width:9.5em;text-align:center;font-variant-numeric:tabular-nums;font-size:13.5px}
.stepper button:not(.sl){font:inherit;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:7px;min-width:34px;height:30px;cursor:pointer}
.stepper button:disabled{opacity:.35;cursor:default}
.stepper button:not(.sl):hover:not(:disabled){border-color:var(--accent)}
.stepper input{font:inherit;font-size:12.5px;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:7px;height:30px;padding:0 6px;color-scheme:dark;max-width:150px}
#kpi{display:flex;gap:8px;align-items:center}
#kpi .bn{position:relative;height:36px;aspect-ratio:var(--ar);flex:none}
#kpi .bn.tall{height:52px}
.dt.wm{color:rgba(202,205,236,.2)!important;text-shadow:none}
.dt.wr{white-space:normal}
@media(min-width:1200px){#row3{flex-wrap:nowrap}#dates{flex-wrap:nowrap;flex:none}#stat{min-width:0;overflow:hidden}}
#stat a{display:flex;gap:10px;align-items:baseline;font-size:11.5px;color:#00c35a;text-shadow:0 0 7px currentColor;text-decoration:none;white-space:nowrap;letter-spacing:.02em}
#stat a span+span::before{content:"·";margin-right:10px;opacity:.6}
#stat a:hover{color:rgba(0,220,100,.9)}
/* ---- tableau de bord : tiles ---- */
.v-dash #viewport{overflow:visible;padding:6px 6px 0}
.dash{position:relative;width:100%}
.panel{position:absolute;padding:3px}
.pin{position:relative;width:100%;height:100%;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.panel.full{position:static;padding:3px}
.panel.full .pin{height:auto;overflow:visible}
.grp{position:absolute;display:flex;flex-direction:column;min-width:0;min-height:0}
.lg{display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px;padding:3px 6px 0;flex:none;position:relative;z-index:3}
.li{font:inherit;font-size:9.5px;line-height:1.6;color:var(--fg);background:transparent;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.li.off{opacity:.38;text-decoration:line-through}
.li i{display:inline-block;flex:none;position:relative}
.li i.ln{width:16px;height:0;border-top:2px solid currentColor;box-shadow:0 0 5px currentColor}
.li i.ln.ds{border-top-style:dotted}
.li i.ln u{position:absolute;left:5px;top:-4px;width:6px;height:6px;border-radius:50%}
.li i.bx{width:11px;height:8px;border-radius:2px}
.plot{position:relative;flex:1;min-height:0}
.pc{position:absolute}
.dt{position:absolute;display:flex;white-space:pre;line-height:1.12;font-size:max(9px,calc(var(--k,1)*var(--s)*1px));color:var(--fg);pointer-events:none;z-index:2;text-shadow:0 0 6px rgba(4,8,26,.9)}
.dt.v270{writing-mode:vertical-rl;transform:rotate(180deg)}.dt.v90{writing-mode:vertical-rl}
.dig{font-family:"Digital-7","DSEG14","Century Gothic",sans-serif}
.dt.dig{font-size:max(9px,calc(var(--k,1)*var(--s)*.74px));word-spacing:.25em}
body.d7 .dt.dig{font-size:max(9px,calc(var(--k,1)*var(--s)*1px))}body.d7 .bp.dig{font-size:calc(var(--s)*1cqh)}
.bn{position:absolute;border-radius:7px;container-type:size;overflow:hidden;z-index:2}
.bp{position:absolute;display:flex;white-space:nowrap;line-height:1;color:#000;font-size:calc(var(--s)*1cqh);font-family:"Century Gothic",sans-serif}
.bp.dig{font-family:"Digital-7","DSEG14","Century Gothic",sans-serif;font-size:calc(var(--s)*.74cqh);word-spacing:.3em}
.bp span{display:block}
.tbw{position:absolute;overflow:auto;scrollbar-width:thin;z-index:2}
.panel.full .tbw{position:static}
table.tb{border-collapse:collapse;width:100%;font-size:12px;background:transparent}
.tb th{position:sticky;top:0;background:var(--bg);text-align:left;padding:6px 10px;white-space:nowrap;border-bottom:1px solid var(--line);color:var(--muted);font-weight:700;letter-spacing:.06em;font-size:11.5px;cursor:default}
.tb td{padding:var(--pad,5px) 10px;border-bottom:1px solid #161d42;white-space:normal;max-width:none;overflow:visible;vertical-align:top}
.tb td.nw,.tb th.nw{white-space:nowrap}
.tb tr.cap th{position:static;text-align:left;color:var(--fg);font-size:12px;border-bottom:0;padding-bottom:2px}
.tb tr.sub td{font-weight:700;color:var(--muted)}
.dt.nav,.bp.nav{pointer-events:auto;cursor:pointer}.dt.nav:hover,.dt.nav:focus-visible{color:var(--accent)!important}
.tb td.r,.tb th.r{text-align:right;font-variant-numeric:tabular-nums}.tb td.c,.tb th.c{text-align:center}
.tb tbody tr:hover td{border-bottom-color:var(--accent)}
.panel.full .tb{font-size:13px}.panel.full .tb td{padding:9px 12px;white-space:normal}.panel.full .tb td:not(:last-child){white-space:nowrap}
body.phone .dash{display:flex;flex-direction:column}
body.phone .panel{position:relative!important;left:auto!important;top:auto!important;width:100%!important}
body.phone .panel .pin{overflow:hidden}
body.phone .panel{overflow:hidden}
.tbw{overflow-x:hidden}
html,body{overflow-x:hidden}
/* ---- configurations ---- */
.cfg{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,2.2fr);gap:8px;padding:2px;align-items:start}
.ccol{display:flex;flex-direction:column;gap:8px;min-width:0}
.ccard{border:1px solid var(--line);border-radius:12px;padding:18px 22px;min-width:0}
.ccard h2{margin:6px 0 0;font-size:clamp(18px,1.7vw,26px);text-align:center;letter-spacing:.02em}.ccard h2.l{text-align:left}
.ccard h3{margin:0;font-size:clamp(15px,1.3vw,20px);text-align:center;letter-spacing:.02em}
.rule{height:3px;border-radius:2px;margin:8px 0 10px;background:linear-gradient(90deg,#3F3B95,#B9B7E3)}
.role{text-align:center;font-weight:700;font-size:13px;margin-bottom:8px}
.prof .last{display:flex;flex-direction:column;align-items:flex-end;font-size:11px;color:var(--muted)}.prof .last b{font-weight:400}
.av{width:min(46%,190px);aspect-ratio:1;border-radius:50%;border:3px solid #D2D2EE;margin:0 auto 8px;background:#0a133e center/cover}
.kv{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #161d42;font-size:13px}
.kv span{color:var(--muted);flex:none}.kv b{font-weight:400;text-align:right;min-width:0;overflow-wrap:anywhere}
.kv.path b{font-size:11.5px;color:#c9cdea}
.cg{margin-top:14px}.gh{display:flex;justify-content:space-between;font-weight:700;font-size:15px;color:#d2d2ee;letter-spacing:.03em;padding-bottom:4px}
.cfg blockquote{margin:22px 0 0;text-align:center;font-style:italic;color:var(--muted);font-size:14px}
.vlink{text-align:right;margin:14px 0 0;font-size:11.5px}.vlink a{color:var(--muted)}
@media(max-width:820px){.cfg{grid-template-columns:1fr}.kv.path{flex-direction:column;gap:2px}.kv.path b{text-align:left}#row3 .sp{display:none}#tabs,#row3{padding:5px 8px}.bar{padding:6px 8px}.stepper b{min-width:8em}#stat a{white-space:normal;flex-wrap:wrap;gap:2px 10px}}
/* ---- sommaire + splash ---- */
.som{max-width:1080px;margin:0 auto;padding:34px 20px 40px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.som .slogo{width:74px;height:auto;border-radius:8px;box-shadow:0 0 28px rgba(60,90,255,.35)}
.som h1{font-size:clamp(24px,3.4vw,38px);letter-spacing:.04em;font-weight:700}
.som .lead{max-width:78ch;font-size:14.5px;line-height:1.6}
.som section{width:100%;display:flex;flex-direction:column;gap:10px;align-items:center}
.som h2{margin:6px 0 0}
.som .cards{width:100%;display:flex;flex-wrap:wrap;justify-content:center;text-align:left}
.som .cards .pick{flex:0 1 248px}
.pick{padding:0;min-height:96px;position:relative;background:transparent}
.pick .cb{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;padding:14px 16px;width:100%;height:100%;cursor:pointer;border-radius:10px}
.pick .cb:focus-visible{outline:2px solid var(--accent)}
.pick .cb b{letter-spacing:.06em;font-size:15px}.pick .cb span{font-size:12.5px;color:var(--muted)}
.pick .choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px;align-content:center;height:100%}
.pick .choice[hidden]{display:none}
.pick .choice b{grid-column:1/-1;letter-spacing:.06em;font-size:13px;color:var(--muted)}
.pick .choice a{display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 6px;border:1px solid var(--line);border-radius:8px;color:var(--fg);text-decoration:none;font-size:12.5px;font-weight:700}
.pick .choice a:hover,.pick .choice a:focus-visible{background:var(--accent);color:#141414;border-color:var(--accent)}
.pick.open{border-color:var(--accent)}
.catch{margin:18px 0 0;max-width:80ch;font-style:italic;color:var(--muted);font-size:14px;line-height:1.6}
.catch cite{display:block;margin-top:4px;font-style:normal;font-size:12.5px}
#splash{position:fixed;inset:0;z-index:999;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;animation:splash 4.2s ease both}
.nosplash #splash{display:none}
#splash .sbox{width:112px;border-radius:12px;overflow:hidden;box-shadow:0 0 44px rgba(60,90,255,.45)}
#splash .sbox img{display:block;width:100%}
#splash .sname{font-family:"Century Gothic",var(--font);font-size:clamp(18px,2.6vw,30px);letter-spacing:.22em;font-weight:700;text-align:center;padding:0 16px}
#splash .spin{width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.18);border-top-color:#fff;animation:spin .9s linear infinite}
@keyframes splash{0%{opacity:0}14%{opacity:1}86%{opacity:1}100%{opacity:0;visibility:hidden}}
@keyframes spin{to{transform:rotate(360deg)}}

@keyframes somin{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#splash .spin{animation-duration:2.4s}}
.ctl.step{cursor:pointer}
.ctl.step:hover{filter:brightness(1.5)}
@media print{#tabs,#row3,.bar .z,#vtoggle,.bar .ic{display:none}.panel{break-inside:avoid}}
.tb tbody tr.sel td{color:var(--accent)}
.hdet{position:absolute;inset:0;padding:8px 14px;display:flex;flex-direction:column;gap:6px;overflow:auto}
.hrow{display:flex;align-items:center;gap:8px}.hrow .hl{font-weight:700;letter-spacing:.08em;font-size:12px;color:var(--muted)}.hrow b{min-width:3.6em;text-align:center;font-size:15px}
.hrow button{font:inherit;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:7px;min-width:32px;height:28px;cursor:pointer}.hrow button:hover:not(:disabled){border-color:var(--accent)}.hrow button:disabled{opacity:.35}
.hrow .hm{margin-left:auto;font-size:11px;letter-spacing:.08em;color:var(--muted)}.hdet p{margin:0;font-size:13px;line-height:1.4}
.som h1{text-transform:uppercase}.som .lead b{display:block;color:var(--fg);font-size:16px;margin-bottom:4px}.som .lead span{display:block}
.home-tile{display:flex;align-items:center;justify-content:center;text-align:center;gap:14px;padding:14px 22px;border:1px solid var(--line);border-radius:10px;color:var(--fg);text-decoration:none;min-width:248px}
.home-tile:hover,.home-tile:focus-visible{border-color:var(--accent)}.home-tile b{letter-spacing:.06em;font-size:15px;display:block}.home-tile span{font-size:12.5px;color:var(--muted)}
.stats{position:absolute;inset:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;align-items:center}
.stc{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 8px;min-width:0;text-align:center}
.stc+.stc{border-left:1px solid rgba(120,130,190,.22)}
.sl2{font-size:10.5px;letter-spacing:.07em;color:var(--muted)}.sv b{font-size:clamp(18px,1.7vw,28px)}.sv small{font-size:12px;color:var(--muted)}.sr{font-size:11.5px}
.panel.gt .pin{border-color:transparent}
#kpi .bn.tall{display:flex;flex-direction:column;justify-content:center;padding:3px 10px;gap:1px;aspect-ratio:auto;min-width:230px}
.brow{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.bp.st{word-spacing:normal;position:static;display:block;font-size:15px!important;font-family:"Century Gothic",var(--font)!important;white-space:nowrap}.bp.st span{transform:none!important}
.brow+.brow{border-top:1px solid rgba(4,8,26,.25)}.brow+.brow .bp.st{font-size:12.5px!important}
#kpi .bn.tall>.pc{display:none}
.bar #stat{margin-right:6px}.bar #stat a{font-size:11px}
@media(max-width:1100px){.bar #stat{display:none}}
.som .lead span{font-size:12.5px}
.pcont{position:absolute;inset:7px 9px}
.panel.full .pcont{position:static}.panel.gt .pcont{inset:0}
.hdet{inset:-2px}
.li{color:var(--line)!important;text-shadow:none!important}
.bar a.brand{color:var(--fg);text-decoration:none;font-weight:700;letter-spacing:.14em;font-size:14px;white-space:nowrap}
#tabs .plants{border:0;border-radius:0;overflow:visible;gap:2px;margin-right:4px}
#tabs .plants a{border-radius:999px;border:1px solid transparent;min-width:52px;text-align:center;font-weight:700}
#tabs .plants a.on{background:#121a3e;color:var(--fg);border-color:var(--line)}
#tabs a.menu{display:inline-flex;align-items:center;justify-content:center;width:36px;height:30px;padding:0;border:1px solid var(--line);border-radius:8px;margin-right:8px;color:var(--fg)}
#tabs a.menu:hover{border-color:var(--accent)}
@media(max-width:700px){.bar a.brand{font-size:11px;letter-spacing:.08em}}
.home-tile{flex-direction:column;gap:0;padding:0;border:0;min-width:0}
.home-tile .globe{color:var(--line);border:1px solid var(--line);border-radius:50%;padding:7px;box-sizing:content-box;transition:color .15s,border-color .15s}
.home-tile .globe+.ht::before{content:"";display:block;width:1px;height:12px;background:var(--line);margin:0 auto}
.home-tile .ht{display:block}.home-tile .ht>span{display:block;border:1px solid var(--line);border-radius:10px;padding:12px 26px;min-width:248px;transition:border-color .15s}
.home-tile:hover .globe,.home-tile:focus-visible .globe{color:var(--accent);border-color:var(--accent)}
.home-tile:hover .ht>span,.home-tile:focus-visible .ht>span{border-color:var(--accent)}
.home-tile:hover .globe+.ht::before{background:var(--accent)}
.dig,.bp.dig,.dt.dig{font-family:"Century Gothic",var(--font)!important;word-spacing:normal!important;font-weight:700}
.bp.dig{font-size:calc(var(--s)*.62cqh)!important}.dt.dig{font-size:max(9px,calc(var(--k,1)*var(--s)*.62px))!important}
.li{color:rgba(150,160,230,.55)!important}
.ucard{position:absolute;inset:0;display:flex;align-items:center;gap:14px;padding:0 8px}
.uav{height:78%;aspect-ratio:1;border-radius:50%;border:2px solid #D2D2EE;background:#0a133e center/cover;flex:none}
.ud,.ul{display:flex;flex-direction:column;gap:5px;min-width:0}.ul{margin-left:auto;text-align:right}
.ud b{font-size:clamp(12px,1vw,17px);font-style:italic}.ud span,.ul b{font-size:clamp(9.5px,.7vw,12px);color:var(--muted);font-weight:400}.ul span{font-size:clamp(9px,.62vw,11px);font-weight:700;color:var(--muted);letter-spacing:.05em}
.icard{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:0 10px}
.i1{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:clamp(10px,.72vw,12.5px);font-weight:700}.i1 span:last-child{margin-left:auto}
.i2{font-size:clamp(9.5px,.68vw,12px);color:var(--muted)}
body.phone .dash{flex-direction:row;flex-wrap:wrap}
body.phone .panel.gt{width:36%!important}body.phone .panel.usr{width:64%!important}
body.phone .ucard{gap:8px}body.phone .ul{display:none}body.phone .ud b{font-size:11px}body.phone .ud span{font-size:9px}
/* figure rectangles: one harmonised style, sized to their text */
.bn{display:flex;flex-direction:column;justify-content:center;container-type:normal;border-radius:8px;color:#04081A;font-family:"Century Gothic",var(--font);font-weight:700}
.bn.ink{position:relative!important;height:34px!important;aspect-ratio:auto!important;width:auto;min-width:0!important;padding:0 14px!important;flex:none}
.bn.ink.two{height:46px!important}
.brow{display:flex;align-items:center;justify-content:flex-end;gap:.4em;white-space:nowrap;border:0!important;font-size:17px;line-height:1.15;min-width:0}
.bn.two .brow{justify-content:space-between;gap:14px}.bn.two .brow+.brow{border-top:1px solid rgba(4,8,26,.28)!important;font-size:13px}
.bt.sm{font-size:.55em;letter-spacing:.04em;opacity:.85}.bcol{display:inline-flex;flex-direction:column;line-height:1.05}.bcol .bt.sm{font-size:.5em}
.bn.int{container-type:size;padding:0 4%}.bn.int .brow{font-size:30cqh;flex:1}.bn.int.two .brow+.brow{font-size:22cqh}
.bn.int:not(.two) .brow{font-size:46cqh}
.bc{position:relative!important;width:30%;height:80%;flex:none;display:block!important}
.bn.ink .bc{display:none!important}
.som .cards .pick{flex:0 0 248px;min-height:104px}.pick .cb{align-items:center;justify-content:center;text-align:center}
.pick .choice{text-align:center}
body.phone .panel.full,body.phone .tbw{overflow:auto!important}body.phone .panel.full .tb td{white-space:nowrap!important}
body.phone .panel.full .pin{overflow:auto}
.pager{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:10px;padding:2px 6px}
.pager .sl{font-size:11px;color:var(--muted);letter-spacing:.08em;padding:0 4px}
.pager button{font:inherit;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:7px;min-width:32px;height:30px;cursor:pointer}
.pager button.on{background:#121a3e;border-color:var(--accent)}.pager button:disabled{opacity:.35;cursor:default}
.blk{position:absolute;inset:0;display:flex;flex-direction:column}
.bkt{text-align:center;font-weight:700;font-size:clamp(11px,.82vw,14px);letter-spacing:.03em;padding-bottom:3px;flex:none}
.bkr{flex:1;min-height:0;display:flex;flex-direction:column;border-top:1px solid rgba(120,130,190,.22);padding:2px 0}
.bk1{display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;gap:6px;font-size:clamp(9px,.62vw,11.5px);flex:none}
.bkn{color:var(--fg);white-space:nowrap}.bkm{color:var(--muted);font-style:italic;text-align:center}.bkv{text-align:right;white-space:nowrap}.bkv b{font-weight:400;color:var(--fg)}.bkv small{color:var(--muted);font-size:1em}
.bk2{flex:1;min-height:0;display:grid;grid-template-columns:62% 1fr}
.bkc,.bks{position:relative;min-height:0}.spk{inset:0}.sdl{left:0;right:0;top:0;height:60%}
.bk3{position:absolute;right:0;bottom:0;color:var(--muted);font-style:italic;font-size:clamp(9px,.6vw,11px)}
.gate{position:fixed;inset:0;z-index:998;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:20px}
.gate .sbox{width:84px;border-radius:10px;overflow:hidden}.gate .sbox img{display:block;width:100%}
.gate h2{margin:0;font-size:18px;letter-spacing:.2em;color:var(--fg);font-weight:700}
.gate form{display:flex;flex-direction:column;gap:10px;width:min(320px,100%)}
.gate input{font:inherit;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:8px;padding:10px 12px}
.gate button{font:inherit;font-weight:700;color:#141414;background:var(--accent);border:0;border-radius:8px;padding:10px;cursor:pointer}
.gate .msg{min-height:1.3em;font-size:12.5px;color:#ff8a8a;text-align:center}
#splash.load{animation:none;opacity:1}
.bk1{grid-template-columns:auto 1fr auto}
.bkm{position:absolute;left:6px;top:0;text-align:left;font-size:clamp(9px,.6vw,11px)}
.sdl{left:38%;right:0;top:0;height:55%}
.dt.pu sub{font-size:.6em}
.brow.sig{justify-content:center;gap:.28em}.sig .sg{font-size:1.25em;line-height:1}.sig .eq{margin:0 .2em}
.sig .ss{display:inline-flex;flex-direction:column;justify-content:space-between;font-size:.42em;line-height:1.15;letter-spacing:.04em;align-self:stretch;padding:.25em 0}
.tctl{display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding-bottom:6px}
.pcont.hasctl{display:flex;flex-direction:column}.pcont.hasctl .tbw{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;flex:1;min-height:0}
.butc{position:absolute;z-index:4;display:inline-flex;gap:3px;transform:translateY(2px)}.butc button{font:inherit;font-size:11px;line-height:1;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:5px;width:20px;height:16px;padding:0;cursor:pointer}.butc button:hover{border-color:var(--accent)}
.gate .lform{display:flex;flex-direction:column;gap:10px;width:min(320px,100%)}
.gate .pwrap{position:relative}.gate .pwrap input{width:100%;padding-right:44px}
.gate button.eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:36px;height:36px;background:transparent;border:0;color:var(--muted);padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:6px}
.gate button.eye .sl{display:none}.gate button.eye.on .sl{display:block}.gate button.eye:hover{color:var(--fg)}
.gate .msg{color:var(--muted)}
.bkq{position:absolute;left:6px;top:0;display:flex;gap:8px;align-items:baseline;white-space:nowrap}.bkq .bkm{position:static}.pctv{font-size:clamp(8.5px,.56vw,10.5px)}
.bar .z{display:none}.v-excel .bar .z{display:flex}
#viewport{min-height:60vh}
.bk1{position:relative;display:flex;justify-content:space-between}
.bk1 .bkm{position:absolute;left:calc(62% + 6px);top:0;text-align:left}
.bkq{left:auto;right:0;top:auto;bottom:1.35em}
.bk1{display:grid;grid-template-columns:54% auto 1fr;gap:0 4px;align-items:baseline}
.bk1 .bkm{position:static;font-size:clamp(8px,.52vw,10px);padding-left:5px}
.bk1 .bkv{font-size:clamp(8.5px,.58vw,11px)}.bk1 .bkv small{font-size:.85em}
.bk2{grid-template-columns:54% 1fr}
.gctr{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(9px,.62vw,12px);color:var(--fg);pointer-events:none}
.dt.axt{color:rgba(150,160,230,.55)!important;font-weight:400!important;font-size:clamp(8.5px,.52vw,10px)!important;text-shadow:none}
.bkt,.bkn,.bkv b{color:rgba(150,160,230,.7)!important}.bkv small{color:rgba(150,160,230,.5)}
.bk3,.pctv{font-size:clamp(7.5px,.46vw,9px)!important}.bkq{bottom:1.05em}.bkm{color:rgba(150,160,230,.5)}
.sv b{font-size:clamp(14px,1.15vw,20px)}.sv small{font-size:10px}.sl2{font-size:9.5px}.sr{font-size:10.5px;line-height:1}.stc{gap:2px;padding:2px 6px}
.pcont.hasctl .tb{table-layout:fixed}.pcont.hasctl .tb th:first-child,.pcont.hasctl .tb td:first-child{width:36%;white-space:normal}.pcont.hasctl .tb td{white-space:normal;overflow-wrap:anywhere}
.pcont.hasctl .tb tr.cap th{width:auto}
body.phone .panel.wide{overflow-x:auto!important}body.phone .panel.wide .pin{width:980px;overflow:visible}
.pcont.hasctl .tb th{white-space:normal!important}
.sv{display:flex;align-items:baseline;justify-content:center;gap:5px}.sv .sr{font-size:10.5px}
.gctr{color:rgba(150,160,230,.75)}
.tctl{align-items:stretch}.tctl .stepper{display:grid;grid-template-columns:3.6em 34px 1fr 34px;width:100%}.tctl .stepper .sl{text-align:left}.tctl .stepper b{min-width:0}
.pcont.hasctl .tb td,.pcont.hasctl .tb th{color:rgba(150,160,230,.7)!important;font-weight:400!important}.tctl .stepper b{color:rgba(190,196,240,.9);font-weight:400}
.lg{flex-wrap:nowrap;overflow:hidden;gap:0 9px}
.lg{flex-wrap:wrap;overflow:visible}
.tb td,.tb th,.tb tr.cap th{color:rgba(150,160,230,.7)!important}.tb tbody tr.sel td{color:var(--accent)!important}.hdet p,.hrow b{color:rgba(150,160,230,.8)}
.tb tr.pmd td:last-child{text-align:center!important;font-weight:700!important;font-size:2.4em;line-height:1;vertical-align:middle;color:rgba(190,196,240,.95)!important}.tb tr.pmd td:first-child{vertical-align:middle}
.tb tr.pmd td:last-child{text-align:right!important}
.li em.lv{font-style:normal;color:var(--fg);margin-left:5px;font-size:1.1em}.lg{gap:0 22px}
.pcont.hasctl .tb th{white-space:nowrap!important}.pcont.hasctl .tb th:first-child,.pcont.hasctl .tb td:first-child{width:30%}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body{max-width:100%;overflow-x:hidden}@media(max-width:819px){.bar,#tabs,#row3,#viewport,.dash,.som,.cfg{max-width:100vw}#row3{flex-wrap:wrap}.bar{flex-wrap:nowrap}.bar .brand{overflow:hidden;text-overflow:ellipsis;min-width:0}.stepper{flex-wrap:wrap}.stepper input{max-width:120px}}
#chatb{position:fixed;right:16px;bottom:16px;z-index:90;width:46px;height:46px;border-radius:999px;border:1px solid var(--line);background:#121a3e;color:var(--fg);display:flex;align-items:center;justify-content:center;cursor:pointer}
#chatb:hover{border-color:var(--accent)}
#chatw{position:fixed;right:16px;bottom:70px;z-index:91;width:min(360px,calc(100vw - 24px));height:min(460px,calc(100vh - 110px));display:flex;flex-direction:column;background:var(--bar);border:1px solid var(--line);border-radius:12px;overflow:hidden}
#chatw header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.14em}
#chatw header button{background:transparent;border:0;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
#chatw .cl{flex:1;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px}
.cm{max-width:88%;padding:7px 10px;border-radius:10px;font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.cm.u{align-self:flex-end;background:#121a3e;border:1px solid var(--line)}.cm.a{align-self:flex-start;color:var(--fg);border:1px solid #161d42}
#chatw .cf{display:flex;gap:6px;padding:8px;border-top:1px solid var(--line)}
#chatw .cf input{flex:1;min-width:0;font:inherit;font-size:13px;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:8px;padding:8px 10px}
#chatw .cf button{font:inherit;color:var(--fg);background:#121a3e;border:1px solid var(--line);border-radius:8px;width:38px;cursor:pointer}
.ud{gap:8px}.ud b{font-size:clamp(15px,1.45vw,26px)}.ud span{font-size:clamp(11px,.95vw,16px)}
@media print{#chatb,#chatw{display:none}}
.gate .sbox{transition:width .9s ease,box-shadow .9s ease}.gate h2{transition:font-size .9s ease,letter-spacing .9s ease}
.gate .lform{max-height:260px;opacity:1;overflow:hidden;transition:max-height .9s ease,opacity .6s ease .35s}
.gate.intro{animation:gin .7s ease both}.gate.intro .sbox{width:112px;border-radius:12px;box-shadow:0 0 44px rgba(60,90,255,.45)}
.gate.intro h2{font-size:clamp(18px,2.6vw,30px);letter-spacing:.22em}.gate.intro .lform{max-height:0;opacity:0;transition:none}
.gate{gap:0}.gate .sbox{margin-bottom:22px}.gate h2{margin-bottom:16px}
@keyframes gin{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.gate .sbox,.gate h2,.gate .lform{transition:none}}
#chatb{width:52px;height:52px;padding:0;overflow:hidden;box-shadow:0 0 14px rgba(0,176,240,.35)}#chatb svg{display:block}
#chatw header .vh{display:flex;align-items:center;gap:9px;letter-spacing:0}#chatw header .vh b{display:block;letter-spacing:.16em;font-size:12.5px}#chatw header .vh small{display:block;color:var(--muted);font-size:10.5px}#chatw{bottom:78px;border-color:#00B0F0}

.li em.lv.sub{font-size:.85em;margin-left:6px;opacity:.85}

@media (max-width:820px){input,select,textarea{font-size:16px!important}}

/* Vue Excel: only the buttons and the charts take clicks, so a decoration lying over a menu button no longer blocks it */
#stage .o{pointer-events:none}#stage .o.ctl,#stage .o.ctl *,#stage .o-c,#stage .o-c *{pointer-events:auto}

/* Iris at her desk behind the chat messages */
#chatw .cwrap{flex:1;min-height:0;position:relative;display:flex}#chatw .cwrap .cl{position:relative;z-index:1;min-width:0}
#chatw .cscene{position:absolute;left:0;bottom:0;width:50%;height:50%;z-index:0;pointer-events:none;opacity:.95}#chatw .cscene svg{display:block;width:100%;height:100%}
#chatw .cm.a{background:rgba(11,18,48,.86)}
.iris-desk .i-legs-t,.iris-desk .i-arm-pen{display:none}
#chatw.think .iris-desk .i-legs-t,#chatw.think .iris-desk .i-arm-pen{display:inline}#chatw.think .iris-desk .i-legs-x,#chatw.think .iris-desk .i-arm-rest{display:none}
.iris-desk .i-arm-type{animation:irisType .32s ease-in-out infinite alternate}
.iris-desk .i-swing{transform-origin:108px 144px;animation:irisSwing 2.6s ease-in-out infinite alternate}
.iris-desk .i-head{transform-origin:100px 64px}
#chatw.think .iris-desk .i-head{animation:irisNod 1.8s ease-in-out infinite alternate}
#chatw.think .iris-desk .i-foot{animation:irisTap .45s ease-in-out infinite alternate}
#chatw.think .iris-desk .i-arm-type{animation:none}
@keyframes irisType{from{transform:translateY(0)}to{transform:translateY(1.2px)}}
@keyframes irisSwing{from{transform:rotate(-3deg)}to{transform:rotate(5deg)}}
@keyframes irisNod{from{transform:rotate(2deg)}to{transform:rotate(-8deg)}}
@keyframes irisTap{from{transform:translateY(0)}to{transform:translateY(-3.5px)}}
@media (prefers-reduced-motion:reduce){.iris-desk *{animation:none!important}}

/* sign-up ("Ajouter nouvel utilisateur"), on the login page only: same fields, captions and buttons as the workbook's form */
.gate .lform .au{font:inherit;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:8px;padding:10px;cursor:pointer}
.gate .lform .au:hover{border-color:var(--accent)}
.su{position:fixed;inset:0;z-index:1000;background:rgba(4,8,26,.82);display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto}
.su[hidden]{display:none}
.su .sub{width:min(520px,100%);background:var(--bar);border:1px solid var(--line);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.su h3{margin:0 0 4px;font-size:13px;letter-spacing:.16em;text-align:center;color:var(--fg)}
.su .sug{display:grid;grid-template-columns:max-content 1fr;gap:7px 12px;align-items:center}
.su .sug>label,.su .sul{font-size:11.5px;font-weight:700;letter-spacing:.04em;color:var(--fg);white-space:nowrap}
.su .sug>label[hidden],.su input[hidden]{display:none}
.su input:not([type=radio]):not([type=file]){width:100%;min-width:0;max-width:none;height:auto;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--line);border-radius:8px;padding:7px 10px}
.su .sut{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--fg)}.su .sut label{display:flex;align-items:center;gap:5px;cursor:pointer}.su .sut input{padding:0;border:0;height:auto}
.su input[type=file]{font-size:12px;color:var(--muted);border:0;padding:0;height:auto;max-width:100%;min-width:0}
.su .sua{display:flex;gap:8px;justify-content:center;margin-top:2px}.su .sua button{font:inherit;font-weight:700;border-radius:8px;padding:9px 18px;cursor:pointer;width:auto}
.su .sx{background:transparent;color:var(--fg);border:1px solid var(--line)}.su .go{background:var(--accent);color:#141414;border:0}
.su .msg{min-height:1.3em;font-size:12.5px;color:#ff8a8a;text-align:center}
@media (max-width:480px){.su .sug{grid-template-columns:1fr;gap:3px}.su .sug>label,.su .sul{margin-top:5px}}

/* user menu (top right), logout and Vue Excel buttons of the settings page */
.bar .um{position:relative;display:flex;align-items:center;margin-left:4px}
.bar #umb{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 8px 0 3px;border-radius:999px;border:1px solid var(--line);background:#121a3e;color:var(--fg);cursor:pointer;font:inherit}
.bar #umb:hover,.bar #umb[aria-expanded=true]{border-color:var(--accent)}
.bar .uav{width:28px;height:28px;border-radius:50%;background:#0a133e center/cover;border:1px solid #D2D2EE;display:inline-flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:700;letter-spacing:.02em;color:var(--fg);overflow:hidden}
html[data-page=acceuil] .bar .uav,html[data-page=configurations] .bar .uav{display:none}html[data-page=acceuil] .bar #umb,html[data-page=configurations] .bar #umb{padding:0 10px}
.bar .umm{position:absolute;right:0;top:calc(100% + 6px);z-index:120;min-width:170px;display:flex;flex-direction:column;gap:2px;padding:6px;background:#0b1230;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.bar .umm[hidden]{display:none}
.bar .umm a,.bar .umm button{display:block;width:100%;text-align:left;font:inherit;font-size:13px;color:var(--fg);background:transparent;border:1px solid transparent;border-radius:999px;padding:7px 12px;text-decoration:none;cursor:pointer}
.bar .umm button[hidden]{display:none}
.bar .umm a:hover,.bar .umm button:hover,.bar .umm a:focus-visible,.bar .umm button:focus-visible,.bar .umm a.on{background:#121a3e;border-color:var(--line)}
@media print{.bar .um{display:none}}
.ccard.prof{position:relative}
.lout,.vx{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;font-weight:700;color:var(--fg);background:#121a3e;border:1px solid var(--line);border-radius:999px;padding:6px 12px;cursor:pointer;white-space:nowrap}
.lout:hover,.vx:hover{border-color:var(--accent)}
.ccard.prof .lout{position:absolute;left:14px;top:14px}
.ccard .ttl{display:flex;align-items:center;justify-content:space-between;gap:12px}.ccard .ttl h2{margin:6px 0 0}

/* notification icon left of the green status line; user menu on the Sommaire */
.bar #ic-info+#stat{margin-left:2px}.bar #stat{margin-right:14px}.bar .um{margin-left:6px}
.bar.somum{position:fixed;top:10px;right:14px;left:auto;z-index:60;background:none;border:0;padding:0;display:block}

/* Iris's face in outline behind the chat messages (replaces the desk scene) */
#chatw .cscene{left:0;top:0;right:0;bottom:0;width:auto;height:auto;display:flex;align-items:center;justify-content:center;opacity:1;color:rgba(150,160,230,.22)}
#chatw .cscene svg.iris-face{width:min(72%,260px);height:auto;max-height:86%}
.iris-face .f-think{display:none}#chatw.think .iris-face .f-think{display:inline}#chatw.think .iris-face .f-idle{display:none}
.iris-face .f-brow-l,.iris-face .f-brow-r{transition:transform .35s ease}
#chatw.think .iris-face .f-brow-r{transform:translate(1px,-4.5px) rotate(-9deg);transform-origin:70px 53px}
#chatw.think .iris-face .f-brow-l{transform:translateY(-1px)}
#chatw.think .iris-face .f-iris{animation:irisLook 2.4s ease-in-out infinite alternate}
@keyframes irisLook{from{transform:translate(-1.2px,0)}to{transform:translate(1.4px,-.4px)}}
@media (prefers-reduced-motion:reduce){.iris-face *{animation:none!important;transition:none!important}}

/* notification icon + green notification line in one rounded enclosure, like the user photo and its arrow */
.bar #ic-info:has(+ #stat){width:auto;height:34px;padding:0 6px 0 9px;border:1px solid var(--line);border-right:0;border-radius:999px 0 0 999px;background:#121a3e}
.bar #ic-info:has(+ #stat)+#stat{display:flex;align-items:center;height:34px;margin-left:-10px;padding:0 14px 0 4px;border:1px solid var(--line);border-left:0;border-radius:0 999px 999px 0;background:#121a3e}
.bar #ic-info:has(+ #stat):hover{border-color:var(--line)}
.v-excel .bar #ic-info:has(+ #stat){padding:0 8px;border-right:1px solid var(--line);border-radius:999px}
@media(max-width:1100px){.bar #ic-info:has(+ #stat){padding:0 8px;border-right:1px solid var(--line);border-radius:999px}.bar #ic-info:has(+ #stat)+#stat{display:none}}

/* language choice in the user menu; round info button; tighter spacing between the info enclosure and the user enclosure */
.bar .umm .uml{display:flex;align-items:center;gap:6px;padding:5px 12px;font-size:13px;color:var(--fg)}.bar .umm .uml span{flex:1}
.bar .umm .uml button{width:auto;padding:4px 10px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-align:center;border:1px solid var(--line);border-radius:999px;color:var(--muted)}
.bar .umm .uml button.on{background:#121a3e;color:var(--fg);border-color:var(--accent)}
.bar #ic-info{width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:50%;background:#121a3e}
.bar #stat{margin-right:0}.bar .um{margin-left:-2px}
.v-excel .bar #ic-info:has(+ #stat){width:34px;padding:0;border-radius:50%}
@media(max-width:1100px){.bar #ic-info:has(+ #stat){width:34px;padding:0;border-radius:50%}}
.bar #stat:empty{display:none}.bar #ic-info:has(+ #stat:empty){width:34px;padding:0;border:1px solid var(--line);border-radius:50%}
.bar #ic-info:has(+ #stat:empty)+#stat{display:none}
/* language switch on the sign-in screen */
.gate .glang{position:absolute;top:14px;right:16px;display:flex;align-items:center;gap:4px;height:34px;padding:0 5px 0 10px;border:1px solid var(--line);border-radius:999px;background:#121a3e;color:var(--muted)}
.gate .glang button{font:inherit;font-size:11.5px;font-weight:700;letter-spacing:.06em;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:999px;padding:4px 9px;cursor:pointer;width:auto}
.gate .glang button.on{color:var(--fg);border-color:var(--accent)}
.gate.intro .glang{opacity:0;pointer-events:none}

/* chat window as liquid glass: semi-transparent, blurred backdrop, bubbles that stretch and catch the light while scrolling */
#chatw{background:linear-gradient(160deg,rgba(18,26,62,.52),rgba(7,12,36,.46));-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border-color:rgba(0,176,240,.55);box-shadow:0 18px 50px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.04)}
#chatw header,#chatw .cf{background:rgba(11,18,48,.28);border-color:rgba(150,160,230,.22)}
#chatw .cf input{background:rgba(255,255,255,.05)}
#chatw .cm{position:relative;overflow:hidden;-webkit-backdrop-filter:blur(10px) saturate(1.6);backdrop-filter:blur(10px) saturate(1.6);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -8px 14px rgba(255,255,255,.03),0 6px 18px rgba(0,0,0,.25);transform-origin:50% 50%;transition:transform .5s cubic-bezier(.2,1.6,.35,1),box-shadow .3s ease;animation:glassIn .45s cubic-bezier(.2,1.5,.4,1) both}
#chatw .cm.a{background:rgba(255,255,255,.07)}#chatw .cm.u{background:rgba(0,176,240,.13);border-color:rgba(0,176,240,.35)}
#chatw .cm::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.20) 46%,rgba(255,255,255,.04) 54%,transparent 70%);background-size:100% 320%;background-position:0 calc(var(--sy,0)*-.9px);opacity:.35;transition:opacity .35s ease;mix-blend-mode:screen}
#chatw .cl.scr .cm{transform:translateY(calc(var(--v,0)*-.35px)) scale(calc(1 + max(var(--v,0),var(--v,0)*-1)*.0022),calc(1 - max(var(--v,0),var(--v,0)*-1)*.003));transition:transform .08s linear;box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -8px 14px rgba(255,255,255,.05),0 10px 24px rgba(0,0,0,.3)}
#chatw .cl.scr .cm::before{opacity:.9}
@keyframes glassIn{from{opacity:0;transform:translateY(10px) scale(.92,.86);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){#chatw .cm{animation:none;transition:none}#chatw .cl.scr .cm{transform:none}}
#chatw .cm{flex:none}

/* date controls: the calendar opens from the date between the arrows; its own box is hidden (kept only as the calendar's anchor) */
.stepper{position:relative}.stepper input.pick{position:absolute;left:50%;bottom:0;width:1px;height:1px;min-width:0;max-width:none;padding:0;margin:0;border:0;opacity:0;pointer-events:none}
.stepper b.cal{cursor:pointer;border-radius:6px}.stepper b.cal:hover,.stepper b.cal:focus-visible{color:var(--accent);outline:none}

/* phone: the top bar and the page list stay on screen while the tiles scroll; LP / MVL stay in place while the page list scrolls sideways */
@media(max-width:819px){
 .v-dash .bar,.bar{position:sticky;top:0;z-index:60}
 #tabs{position:sticky;top:var(--barh,47px);z-index:55}
 #tabs .plants{position:sticky;left:0;z-index:2;background:#070c22;padding-right:4px;margin-right:2px;box-shadow:8px 0 8px -4px #070c22}
}
@media(max-width:819px){html,body{overflow-x:clip}}
/* settings page: both columns end on the same bottom line */
@media(min-width:820px){.cfg{align-items:stretch}.cfg .ccol>.ccard:last-child{flex:1}}

/* phone held upright: no coloured figure box in the third row; the date control fills that row and stays on screen; nothing of the page list shows left of LP / MVL */
@media(max-width:819px) and (orientation:portrait){
 #kpi{display:none!important}
 #row3{position:sticky;top:calc(var(--barh,47px) + var(--tabh,41px));z-index:54;background:var(--bg);flex-wrap:nowrap}
 #row3 .sp{display:none}
 #dates{flex:1 1 100%;width:100%;min-width:0}
 #dates .stepper{flex:1 1 100%;width:100%;display:grid;grid-template-columns:auto 36px 1fr 36px;align-items:center}
 #dates .stepper b{min-width:0;text-align:center}
}
@media(max-width:819px){#tabs{padding-left:0}#tabs .plants{padding-left:8px;margin-left:0}}

/* chat icon flies to the header portrait when the window opens, and back when it closes */
#chatb.fly{transition:transform .42s cubic-bezier(.3,.9,.3,1),box-shadow .42s ease;z-index:92}
#chatb.gone{visibility:hidden;pointer-events:none}
#chatw{opacity:0;transform:translateY(14px) scale(.96);transform-origin:100% 100%;transition:opacity .32s ease,transform .42s cubic-bezier(.3,.9,.3,1)}
#chatw.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){#chatb.fly,#chatw{transition:none}}
/* site name in the same enclosure as the other items of the menu bar */
.bar a.brand{display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#121a3e;box-sizing:border-box}
.bar a.brand:hover{border-color:var(--accent)}
@media(max-width:700px){.bar a.brand{padding:0 9px;display:inline-block;line-height:32px}}
/* phone portrait: chart pop-ups pass behind the three frozen bars */
@media(max-width:819px) and (orientation:portrait){#viewport{position:relative;z-index:0;isolation:isolate}}

/* Accueil figure boxes: date above the percentage, at the start of the horizontal line */
.bn.two .brow.bl{position:relative}.bn.two .brow.bl .bt.sm{position:absolute;left:0;top:2px;line-height:1}

/* site name and Sommaire icon share one enclosure */
.bar .brandp{display:inline-flex;align-items:center;height:34px;padding:0 14px 0 6px;gap:4px;border:1px solid var(--line);border-radius:999px;background:#121a3e;box-sizing:border-box;min-width:0}
.bar .brandp:hover{border-color:var(--accent)}
.bar .brandp a.brand{display:inline;height:auto;padding:0;border:0;border-radius:0;background:transparent;line-height:32px}
.bar .brandp a.bmenu{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:var(--fg);flex:none}
.bar .brandp a.bmenu:hover{background:rgba(150,160,230,.16)}
@media(max-width:700px){.bar .brandp{padding:0 9px 0 3px;gap:2px}.bar .brandp a.brand{display:block;overflow:hidden;text-overflow:ellipsis}}
/* Accueil greeting starts at the left edge */
html[data-page=acceuil] .greet{justify-content:flex-start!important}
/* Accueil: tile text in the light purple of the axis labels; user card name and e-mail sized to the card (desktop) */
html[data-page=acceuil] .panel{--fg:rgba(150,160,230,.6);color:rgba(150,160,230,.6)}
html[data-page=acceuil] .panel .ud span,html[data-page=acceuil] .panel .ul b,html[data-page=acceuil] .panel .ul span,html[data-page=acceuil] .panel .i2{color:rgba(150,160,230,.6)}
@media(min-width:820px){html[data-page=acceuil] .ud{gap:3px;justify-content:center}html[data-page=acceuil] .ud b{font-size:clamp(12px,1.05vw,19px);line-height:1.2}html[data-page=acceuil] .ud span{font-size:clamp(10px,.78vw,14px);line-height:1.2}}
html[data-page=acceuil] .panel .dt,html[data-page=acceuil] .panel .dt span{color:rgba(150,160,230,.6)!important}
/* chat window sits on the same bottom line as the closed chat icon */
#chatw{bottom:16px}

/* expand button of the tiles, and the enlarged tile */
.zbtn{position:absolute;top:3px;right:3px;z-index:6;width:20px;height:20px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;background:transparent;color:rgba(150,160,230,.9);opacity:.3;cursor:pointer;transition:opacity .2s,border-color .2s}
.zbtn:hover,.zbtn:focus-visible{opacity:1;border-color:var(--line);background:rgba(11,18,48,.8)}
.zback{position:fixed;inset:0;z-index:94;background:rgba(4,8,26,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
html.zooming{overflow:hidden}html.zooming #viewport{z-index:95!important;position:relative;isolation:auto}
body .dash .panel.zoomed{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(96vw,calc(92vh*var(--ar,1.6)))!important;height:auto!important;aspect-ratio:var(--ar,1.6);z-index:95;overflow:visible!important}
body .dash .panel.zoomed .pin{width:100%!important;height:100%;background:var(--bg);overflow:hidden!important}
.panel.zoomed .zbtn{opacity:.8;width:26px;height:26px;top:5px;right:5px}
@media print{.zbtn,.zback{display:none}}
body .dash .panel.zoomed{box-shadow:0 0 0 200vmax rgba(4,8,26,.9)}
#chatw .cf input::placeholder{font-size:13px}

/* Volume / Cote Amont / Hauteur de chute tile: the chart on top lets the pointer through, so one pop-up lists every curve */
html[data-page=journaliere-lp] .pc[data-chart="C42"],html[data-page=dispo-lp] .pc[data-chart="C09"]{pointer-events:none}
/* enlarged tile: as large as the screen on desktop; on phones it covers the screen and is scrolled sideways or up and down */
body .dash .panel.zoomed{width:min(98vw,calc(96vh*var(--ar,1.6)))!important}
@media(max-width:819px){
 body .dash .panel.zoomed{left:4px!important;top:4px!important;right:4px;bottom:4px;transform:none;width:auto!important;height:auto!important;aspect-ratio:auto;overflow:auto!important;padding:0;border-radius:10px;background:var(--bg);-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
 body .dash .panel.zoomed .pin{width:max(100%,calc((100vh - 10px)*var(--ar,1.6)))!important;height:auto!important;aspect-ratio:var(--ar,1.6);box-sizing:border-box}
 .panel.zoomed .zbtn{position:fixed;top:12px;right:12px;width:34px;height:34px;opacity:1;border-color:var(--line);background:rgba(11,18,48,.9);border-radius:50%;z-index:97}
}
@media(max-width:819px){
 body .dash .panel.zoomed{display:grid;align-content:safe center}
 body .dash .panel.zoomed .pin{width:max(100%,min(calc((100vh - 10px)*var(--ar,1.6)),250vw))!important}
}
@media(max-width:819px){body .dash .panel.zoomed .pin{width:max(100%,min(calc((100vh - 10px)*var(--ar,1.6)),max(250vw,calc(55vh*var(--ar,1.6)))))!important}}

/* Énergie du mois: minus on the left and plus on the right of the BUT value */
.butc{justify-content:center;align-items:center;gap:30px;transform:none}.butc button{width:18px}

/* sign-up window: EDC logo and site name on top, as on the sign-in screen */
.su .suhd{display:flex;flex-direction:column;align-items:center;gap:14px;margin:4px 0 6px}
.su .suhd .sbox{width:84px;border-radius:10px;overflow:hidden}.su .suhd .sbox img{display:block;width:100%}
.su .suhd h2{margin:0;font-size:18px;letter-spacing:.2em;color:var(--fg);font-weight:700;text-align:center}

/* formatting inside Iris's messages */
#chatw .cm.rich{white-space:normal}#chatw .cm.rich .sp{height:.5em}#chatw .cm.rich ul,#chatw .cm.rich ol{margin:.2em 0;padding-left:1.3em}#chatw .cm.rich li{margin:.1em 0}
#chatw .cm.rich .h{font-weight:700;margin:.15em 0}#chatw .cm.rich .h1{font-size:1.2em}#chatw .cm.rich .h2{font-size:1.1em}#chatw .cm.rich code{font-family:ui-monospace,Consolas,monospace;font-size:.92em;background:rgba(255,255,255,.1);border-radius:4px;padding:0 4px}
/* sign-up window taller than the screen: scroll from the very top (logo included) */
.su{align-items:flex-start;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.su .sub{margin:auto}

/* sign-in: square sign-up icon button on the left of a shorter login button */
.gate .lform .lrow{display:flex;gap:10px;align-items:stretch}.gate .lform .lrow .go{flex:1;min-width:0}
.gate .lform .lrow .au{flex:none;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}

/* phone portrait: tiles ordered by theme (set by the script), sizes untouched */
@media(max-width:819px) and (orientation:portrait){body.phone .dash .panel{order:var(--ord,0)}}

.zbtn.low{top:auto;bottom:3px}.panel.zoomed .zbtn.low{top:5px;bottom:auto}
@media(max-width:819px){.panel.zoomed .zbtn.low{top:12px}}

/* Accueil figure boxes: larger XAF values filling the box */
.bn.int.two:has(.brow.bl) .brow{font-size:37cqh}
.bn.two .brow.bl .bc{width:23%}
.bn.int.two:has(.brow.bl) .brow+.brow{font-size:31cqh}
.bn.two .brow.bl .bt.sm{font-size:11.5cqh;letter-spacing:.02em}
/* assistant window sits on the bottom edge of the page; on phones it follows the on-screen keyboard (js/chat.js) */
#chatw{bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0;height:min(460px,calc(100vh - 70px));height:min(460px,calc(100dvh - 70px))}
#chatw .cl{min-height:0;overscroll-behavior:contain}
#chatw header,#chatw .cf{flex:none}
#chatw .cf{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
@media(max-width:819px){#chatw{right:0;left:0;width:auto;border-left:0;border-right:0}#chatw .cf input,#chatw .cf input::placeholder{font-size:16px}}

/* ================= Shared tokens and components (v15) ================= */
:root{
 /* liquid glass: hue (r,g,b) and the AA-checked ink used on it */
 --glass-purple:185,185,229;--glass-purple-deep:63,59,149;--glass-blue:0,176,240;--glass-pink:233,120,170;
 --glass-alpha:.25;--glass-blur:16px;--glass-sat:160%;
 --glass-ink:#ECECFA;          /* 9.0–15.5:1 on the glass over --page-bg; page-bg text measured 1.4–1.9:1 (fails AA) */
 --glass-border:rgba(255,255,255,.32);--glass-sheen:rgba(255,255,255,.16)
}
/* Task 1: pickers keep the width of their longest possible value (set by js/app.js sizePicks into --pick-w); ch values are the first-paint fallback */
.stepper b.picker-date,.stepper b.picker-month,.stepper b.picker-year{box-sizing:content-box;flex:none;white-space:nowrap;overflow:visible;text-overflow:clip;font-variant-numeric:tabular-nums;font-size:var(--pick-fs,13.5px)}
.stepper b.picker-date{width:var(--pick-w,26ch);min-width:var(--pick-w,26ch)}
.stepper b.picker-month{width:var(--pick-w,15ch);min-width:var(--pick-w,15ch)}
.stepper b.picker-year{width:var(--pick-w,4.5ch);min-width:var(--pick-w,4.5ch)}
.stepper input[type=date],.stepper input[type=month]{font-variant-numeric:tabular-nums}
.tctl .stepper b.picker-date{width:auto;min-width:0}
/* Task 3: phones — the picker takes the whole row and shows the full date; the font is reduced once (for all values) only if needed */
@media(max-width:819px){
 #dates .stepper b.picker-date,#dates .stepper b.picker-month,#dates .stepper b.picker-year{width:auto;min-width:0;overflow:visible}
}
@media(max-width:480px){
 #row3{padding-left:8px;padding-right:8px}
 #dates .stepper{grid-template-columns:auto 32px 1fr 32px;gap:3px;padding:2px 3px}
 #dates .stepper .sl{padding:0 3px;font-size:10px;letter-spacing:.04em}
 #dates .stepper button:not(.sl){min-width:32px}
}
/* Task 2: liquid-glass summary boxes */
.glass-card{
 color:var(--glass-ink);
 background:
  linear-gradient(165deg,var(--glass-sheen) 0%,rgba(255,255,255,0) 42%),
  linear-gradient(90deg,rgba(var(--glass-purple),var(--glass-alpha)) 0%,rgba(var(--glass-purple-deep),calc(var(--glass-alpha) + .08)) 100%);
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-sat));backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-sat));
 border:1px solid var(--glass-border);border-radius:12px;
 box-shadow:0 8px 26px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(255,255,255,.06)
}
.glass-card[data-glass=blue]{background:linear-gradient(165deg,var(--glass-sheen) 0%,rgba(255,255,255,0) 42%),rgba(var(--glass-blue),var(--glass-alpha))}
.glass-card[data-glass=pink]{background:linear-gradient(165deg,var(--glass-sheen) 0%,rgba(255,255,255,0) 42%),rgba(var(--glass-pink),var(--glass-alpha))}
.bn.glass-card,.bn.glass-card .bp,.bn.glass-card .bt{color:var(--glass-ink)}
.bn.glass-card .bt.sm{opacity:.8}
.bn.glass-card.two .brow+.brow{border-top-color:rgba(255,255,255,.28)!important}
.bn.glass-card{text-shadow:0 1px 2px rgba(4,8,26,.35)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
 .glass-card{background:linear-gradient(165deg,var(--glass-sheen) 0%,rgba(255,255,255,0) 42%),linear-gradient(90deg,rgba(var(--glass-purple-deep),.78) 0%,rgba(var(--glass-purple-deep),.92) 100%)}
}

/* latest notification: fixed width so the header does not move from one notification to the next */
#stat a{gap:0}
#stat a span{flex:none;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#stat a span+span::before{margin:0 8px}
#stat a span:nth-child(1){width:7.2em}#stat a span:nth-child(2){width:5em}#stat a span:nth-child(3){width:4.8em}
#stat a span:nth-child(4){width:18.5em}#stat a span:nth-child(5){width:6.4em}
@media(max-width:820px){#stat a{flex-wrap:nowrap}}
