/* Bulle commune aux deux présentations. La surface du classeur reste indépendante. */
.navigation-bulle{
 position:fixed;z-index:8;top:max(7px,env(safe-area-inset-top));
 right:max(12px,env(safe-area-inset-right));font:500 14px/1.25 system-ui;color:#183d4d;
}
#bulle-navigation{
 position:relative;display:grid;place-items:center;width:48px;height:44px;padding:6px;
 border:1px solid #c5e1e8;border-radius:50%;
 background:radial-gradient(ellipse at 32% 16%,#fff 0%,#ffffff5c 16%,transparent 40%),
  radial-gradient(ellipse at 54% 39%,#f1f8f3c9 24%,#bed4d5a8 62%,#698a999c 83%,#edfcff 100%);
 box-shadow:inset 1px 2px 2px #ffffffed,inset -2px -3px 3px #42637570,
  inset 0 -1px 0 #eefbff,0 2px 4px #2038434d;
 backdrop-filter:blur(3px);
}
#bulle-navigation img{width:auto;height:27px;display:block;filter:drop-shadow(0 1px 0 #fff9)}
#bulle-navigation:hover,#bulle-navigation[aria-expanded=true]{border-color:#f7ffff;box-shadow:inset 0 1px 3px white,inset -2px -3px 4px #65899885,0 0 0 1px #668b99,0 2px 5px #24465250}
#panneau-navigation{
 position:absolute;right:0;top:calc(100% + 7px);width:min(218px,calc(100vw - 24px));
 display:grid;gap:2px;padding:8px;border:1px solid #f6ffffde;border-radius:18px 8px 18px 18px;
 background:linear-gradient(137deg,#fcfffbea,#e1eff0ec 66%,#cbdfe6f2);
 box-shadow:inset 0 -1px 2px #6e98a794,0 0 0 1px #7397a477,0 6px 18px #213f5140;
 backdrop-filter:blur(10px);
}
#panneau-navigation[hidden]{display:none}
#panneau-navigation button{position:static;margin:0;border:0;background:transparent;color:#203f50;font:inherit;cursor:pointer}
#panneau-navigation>button{display:flex;align-items:center;gap:11px;padding:9px 10px;min-height:37px;text-align:left;border-radius:9px;text-shadow:0 1px #fff}
#panneau-navigation>button:hover{background:#fff9}
.navigation-bulle svg,.reglette-verre svg{
 display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
.selecteur-vue{display:grid;grid-template-columns:1fr 1.18fr;gap:1px;padding:3px;margin-top:4px;border:1px solid #8da8b4;border-radius:20px;background:#c7d7da9c;box-shadow:inset 0 1px 2px #42647738}
#panneau-navigation .selecteur-vue button{border-radius:16px;min-height:30px;padding:4px;font-size:12px;font-weight:620}
#panneau-navigation .selecteur-vue [aria-pressed=true]{background:linear-gradient(#3b6470,#264858);color:white;box-shadow:inset 0 1px 0 #b4d2db7a}
.navigation-bulle :focus-visible,.reglette-verre :focus-visible{outline:2px solid #0f526c;outline-offset:2px;box-shadow:0 0 0 4px #f5ffff}
body[data-presentation=classique] .surface{inset:0!important}

.navigation-bulle{display:flex;align-items:center;gap:6px}
#connexion-directe{
 display:none;padding:7px 13px;border:1px solid #d5eef0;border-radius:50% / 100%;
 background:linear-gradient(172deg,#ffffffed,#e8f4f2da 44%,#bfd6d9d9 76%,#effaffef);
 color:#193e4a;font:620 13px/1.3 system-ui;text-shadow:0 1px white;
 box-shadow:inset 0 1px 1px white,inset 0 -2px 3px #6b949f80,0 1px 3px #27475460;
}
body:is([data-etape=accueil],[data-etape=profil]) #connexion-directe{display:block}

/* Les commandes restent sur le chant, à l'écart de la feuille de réponse. */
.reglette-verre{display:none;--largeur-outils:clamp(58px,4.8vw,72px);--depart-outils:clamp(52px,12dvh,112px)}
body[data-etape=classeur]:not([data-presentation=classique]) .reglette-verre{display:block}
body[data-etape=classeur]:not([data-presentation=classique]) .surface{left:calc(var(--livres) + clamp(58px,4.8vw,72px) + 9px)}
.reglette-verre #commandes-table{
 position:fixed;z-index:4;left:calc(var(--livres) + 3px);top:var(--depart-outils);
 width:var(--largeur-outils);max-height:calc(100dvh - var(--depart-outils) - 91px);
 overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;
 display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;gap:1px;
 padding:8px 3px 7px;border:1px solid #d1edf1d4;border-radius:45% 45% 33% 33% / 9px 9px 13px 13px;
 background:linear-gradient(94deg,#426e7e57,#e5ffff9e 7%,#a1c7ca42 16%,#eef9f653 58%,#a5c3c775 85%,#f0ffffbc 95%,#5d86937d);
 box-shadow:inset 1px 0 2px #fff,inset -1px -2px 2px #668c99ab,1px 3px 5px #203f4e54;
}
.reglette-verre:has(.instruments[hidden]) #commandes-table{display:none}
.reglette-verre .instruments>button[data-mode]:not(.lentille-lumiere){
 position:relative;display:grid;place-items:center;width:100%;min-width:0;height:var(--objet);
 border:0;border-radius:45%;background:none;box-shadow:none;padding:1px;isolation:isolate;
}
.reglette-verre .instruments [data-mode=stylo]{--objet:clamp(78px,15.2dvh,136px);--inclinaison:8deg;order:1}
.reglette-verre .instruments [data-mode=fluo]{--objet:clamp(56px,10.3dvh,91px);--inclinaison:-7deg;order:2}
.reglette-verre .instruments [data-mode=gomme]{--objet:clamp(37px,5.3dvh,50px);--inclinaison:3deg;order:4}
.reglette-verre .instruments>button[data-mode]:not(.lentille-lumiere) i{
 width:90%;height:100%;transform:rotate(var(--inclinaison));filter:drop-shadow(1px 2px 1px #1938458c);
 transition:transform .15s;
}
.reglette-verre .instruments>button:not(.lentille-lumiere):is(:hover,[aria-pressed=true]) i{transform:translateY(-2px) rotate(0deg) scale(1.035)}
.reglette-verre .instruments>button[data-mode]:not(.lentille-lumiere)::after{
 content:"";position:absolute;z-index:-1;bottom:7%;left:14%;right:14%;height:5px;border-radius:50%;
 background:linear-gradient(#fcffffbc,#688e9688);box-shadow:0 1px 1px #2c4f5f50;
}
.reglette-verre .instruments>button[data-mode][aria-pressed=true]:not(.lentille-lumiere)::after{
 background:var(--encre-active);box-shadow:0 0 0 1px #f5ffff,0 1px 3px #254a59;
}
.palette-outils{
 order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:1px;
 margin:3px 0 2px;padding:2px 0;border-block:1px solid #9bbfc375;
}
.palette-outils [data-couleur],.reglette-verre #commandes-table .choix-encre{
 order:0;position:relative;display:grid;place-items:center;width:100%;height:25px!important;
 border:0;background:transparent;border-radius:50%;padding:0;margin:0;cursor:pointer;
}
.palette-outils [data-couleur]::before,.palette-outils .choix-encre::before{
 content:"";width:15px;height:15px;border-radius:50%;border:1px solid #486672aa;
 background:radial-gradient(ellipse at 35% 24%,#fff9,transparent 45%),var(--pastille);
 box-shadow:inset 0 -1px 1px #0003,0 1px 0 #ffffffd6;
}
.palette-outils .choix-encre::before{
 background:radial-gradient(circle,var(--encre-active) 38%,#fff 40% 47%,transparent 49%),conic-gradient(#eb6982,#f9d579,#56bfa3,#619adb,#aa80cb,#eb6982);
}
.palette-outils [aria-pressed=true]::before,.palette-outils .libre-active::before{outline:2px solid #224956;outline-offset:1px}
.palette-outils .choix-encre:focus-within{outline:2px solid #134c61}
.palette-outils #couleur-encre{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer}
.reglette-verre .commandes-gravees{order:6;display:flex;align-items:center;justify-content:center;width:100%}
.reglette-verre #commandes-table .commandes-gravees button,.reglette-verre #commandes-table #poignee-outils{
 display:grid;place-items:center;order:0;width:50%;height:32px!important;padding:0;border:0;border-radius:45%;
 color:#1d4050;background:transparent;box-shadow:none;
}
.reglette-verre #commandes-table .commandes-gravees svg,.reglette-verre #poignee-outils svg{width:19px;height:19px;filter:drop-shadow(0 1px 0 #fff)}
.reglette-verre #commandes-table .commandes-gravees [aria-pressed=true]{background:#daf7f7a8;color:#133b49;box-shadow:inset 0 -2px #527f8b}
.reglette-verre #commandes-table #poignee-outils{display:none;order:5}
.reglette-verre #commandes-table .lentille-lumiere{
 position:fixed;z-index:5;left:calc(var(--livres) + 4px);bottom:max(8px,calc(var(--pied-vitre) - 17px));
 display:flex;align-items:center;justify-content:center;gap:8px;width:99px;height:43px!important;padding:5px 9px;
 border:1px solid #ceebee;border-radius:48% / 84%;font:650 13px/1 system-ui;text-align:left;color:#234553;
 background:linear-gradient(160deg,#f5ffffef,#cbdedee6 56%,#93b5bde6);
 box-shadow:inset 1px 2px 2px white,inset -1px -2px 3px #73969eb3,0 2px 3px #29445166;text-shadow:0 1px #fffd;
}
.lentille-lumiere small{display:block;margin-top:3px;font:600 10px/1 system-ui}
.lentille-lumiere .voyant{width:13px;height:13px;border-radius:50%;border:1px solid #57717b;background:#7e9298;box-shadow:inset 0 1px 2px #24435166}
.reglette-verre #commandes-table .lentille-lumiere[aria-pressed=true]{color:#3d371c;background:linear-gradient(160deg,#fffff2f7,#f1eed7ef 54%,#acbdbaef);border-color:#f3f0cc}
.lentille-lumiere[aria-pressed=true] .voyant{background:#ffed7e;border-color:#af9236;box-shadow:inset 0 1px 1px #fff,0 0 6px #faca51}
.reglette-verre #commandes-table button:focus-visible{outline:2px solid #174d60;outline-offset:-2px}
@media(max-width:700px),(max-height:520px){
 .reglette-verre{--largeur-outils:59px;--depart-outils:clamp(42px,8dvh,66px)}
 body[data-etape=classeur]:not([data-presentation=classique]) .surface{left:calc(var(--livres) + 66px)}
 .reglette-verre #commandes-table #poignee-outils{display:grid;width:100%}
 .reglette-verre:not(.fourreau-ouvert) #commandes-table .commandes-gravees{display:none}
 .reglette-verre #commandes-table .lentille-lumiere{left:max(6px,calc(var(--livres) - 20px));width:93px}
}
@media(max-height:480px){
 .reglette-verre{--depart-outils:5px}
 .reglette-verre #commandes-table{max-height:calc(100dvh - 57px);padding-block:4px}
 .reglette-verre .instruments [data-mode=stylo]{--objet:53px}
 .reglette-verre .instruments [data-mode=fluo]{--objet:39px}
 .reglette-verre .instruments [data-mode=gomme]{--objet:30px}
 .reglette-verre #commandes-table .lentille-lumiere{bottom:4px}
}
@media(prefers-reduced-motion:reduce){.reglette-verre .instruments i{transition:none}}

/* Navigation suspendue au-dessus du verre, dans le décor. */
body[data-etape=classeur]:not([data-presentation=classique]) #connexion-directe{display:block}
body[data-etape=classeur]:not([data-presentation=classique]) .navigation-bulle{top:max(8px,1.1vh);right:max(18px,2.5vw)}
body[data-etape=classeur]:not([data-presentation=classique]) #connexion-directe,body[data-etape=classeur]:not([data-presentation=classique]) #bulle-navigation{background:linear-gradient(155deg,#eafcffeb,#9cc6d2d9 48%,#315f73e8);color:#102e40;border:1px solid #e4fbff;box-shadow:inset 0 1px 2px #fff,0 4px 9px #14314366,0 0 12px #c8f8ff50}
body[data-etape=classeur]:not([data-presentation=classique]) .rayon{top:18vh;bottom:17vh;justify-content:center;left:4px}

/* Menu suspendu dans le paysage : commandes regroupées en pastilles de verre. */
#panneau-navigation{background:linear-gradient(145deg,#eafbf9ed,#b8d9d9ed 52%,#729faeea);border:1px solid #d8fbf3;box-shadow:inset 0 1px 3px white,0 10px 25px #173b4b70,0 0 16px #bbfff042}
#panneau-navigation>button{border-radius:28px!important;background:#f5fffb3d!important;margin:2px 0!important;color:#133d42!important}
#panneau-navigation>button:hover{background:#f2fffbbb!important}
.nav-orbe{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;color:#eafff6;background:radial-gradient(circle at 32% 22%,#c8fff5,#4d9c8c 56%,#1f5b60);border:1px solid #c9fff2;box-shadow:inset 0 1px 3px #fff9,0 2px 5px #154b4c77}

#panneau-navigation > button[hidden]{display:none!important}

/* Zone de lecture contenue dans la courbure visible du verre. */
body[data-etape=classeur]:not([data-presentation=classique]) .surface{top:max(10.2dvh,70px);bottom:max(10.5dvh,70px);overflow:hidden;contain:paint;border-radius:10px}
body[data-etape=accueil]:not([data-presentation=classique]) .surface{top:max(10.2dvh,70px);bottom:max(10.5dvh,70px);overflow:hidden;contain:paint;border-radius:10px}
/* L'ampoule est une vraie entrée de menu, avec un texte lisible. */
#bulle-navigation{display:flex;width:auto;height:auto;min-height:46px;gap:9px;padding:5px 12px 5px 7px;border-radius:26px;background:linear-gradient(145deg,#effffbf2,#c4e6e4dc 54%,#88b7b9e6);color:#163e46}
#bulle-navigation img{height:30px;width:auto}
.menu-libelle{display:grid;text-align:left;gap:1px;line-height:1.05}
.menu-libelle b{font:700 15px/1.05 Georgia,serif;letter-spacing:-.02em}
.menu-libelle small{font:600 11px/1.1 system-ui;color:#295760}
.menu-chevron{font:700 15px/1 system-ui;color:#23545d;transition:transform .2s}
#bulle-navigation[aria-expanded=true] .menu-chevron{transform:rotate(180deg)}
#connexion-directe{display:none!important}
@media(max-width:700px){#bulle-navigation{min-height:40px;padding:4px 9px 4px 5px;gap:5px}.menu-libelle b{font-size:13px}.menu-libelle small{font-size:10px}#bulle-navigation img{height:24px}body[data-etape=classeur]:not([data-presentation=classique]) .surface{top:max(10.2dvh,54px);bottom:max(10.5dvh,54px)}}
/* Transition douce aux limites du défilement, dans la vitre. */
body[data-etape=classeur]:not([data-presentation=classique]) .surface iframe,
body[data-etape=accueil]:not([data-presentation=classique]) .surface iframe{
 -webkit-mask-image:linear-gradient(to bottom,transparent,#000 14px,#000 calc(100% - 14px),transparent);
 mask-image:linear-gradient(to bottom,transparent,#000 14px,#000 calc(100% - 14px),transparent)
}

/* Identité gravée sur la vitre, séparée du menu de réglages. */
.identite-verre{position:fixed;z-index:4;top:clamp(14px,2.8vh,31px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;pointer-events:none;color:#f5ffff;font:700 clamp(19px,1.9vw,31px)/1 Georgia,serif;letter-spacing:-.035em;text-shadow:0 1px 2px #153d49,0 0 6px #b5edff,0 0 15px #6ed6e87a}
.identite-verre img{height:clamp(31px,4.4vh,47px);width:auto;filter:drop-shadow(0 0 5px #fff4bf) drop-shadow(0 1px 2px #315461)}
.identite-verre span span{color:#fff5c9}
body[data-presentation=classique] .identite-verre{display:none}
body[data-etape=profil] .identite-verre{top:clamp(20px,6vh,60px)}
body:has(.carnet-chapitre:not([hidden])) .identite-verre{left:calc(var(--livres) + 85px);top:clamp(8px,1.4vh,16px);transform:none;font-size:15px;opacity:.78}
body:has(.carnet-chapitre:not([hidden])) .identite-verre img{height:23px}
#bulle-navigation{min-height:42px;padding:6px 12px;gap:7px}
#bulle-navigation svg{width:20px;height:20px}
.reglages-libelle{font:650 13px/1.1 system-ui;color:#153f48}
@media(max-width:700px){.identite-verre{font-size:16px;left:43%;top:10px}.identite-verre img{height:27px}body:has(.carnet-chapitre:not([hidden])) .identite-verre{left:100px;font-size:12px;top:8px}body:has(.carnet-chapitre:not([hidden])) .identite-verre img{height:18px}.reglages-libelle{font-size:12px}}
/* L'accueil laisse respirer la vitre et centre l'étagère des niveaux. */
body[data-etape=accueil]:not([data-presentation=classique]) .surface{
 left:calc(var(--livres) + clamp(25px,3vw,60px));right:clamp(35px,4vw,84px);
 top:max(12dvh,78px);bottom:max(12dvh,78px)
}
body[data-etape=accueil]:not([data-presentation=classique]) .rayon{
 top:12dvh;bottom:12dvh;left:3px;justify-content:safe center;padding-bottom:4px
}
body[data-etape=accueil]:not([data-presentation=classique]) .rayon .livre{
 height:clamp(39px,7dvh,74px);font-size:clamp(12px,1.05vw,17px)
}
@media(max-width:700px){
 body[data-etape=accueil]:not([data-presentation=classique]) .surface{left:calc(var(--livres) + 12px);right:20px;top:max(11dvh,55px);bottom:max(11dvh,55px)}
 body[data-etape=accueil]:not([data-presentation=classique]) .rayon{top:12dvh;bottom:12dvh}
}
/* Identifier clairement la palette liée à l'outil actif. */
.palette-outils::before{content:attr(aria-label);grid-column:1 / -1;text-align:center;color:#092d36;font:700 9px/1.1 system-ui;overflow-wrap:anywhere}

/* Épaisseurs indépendantes et commandes de clavier lisibles. */
.reglette-verre .epaisseurs{order:4;display:grid;gap:3px;width:100%;padding:4px 1px;border-top:1px solid #a4c9c8}
.reglette-verre .epaisseurs[hidden]{display:none!important}
.epaisseurs>span{text-align:center;color:#123940;font:700 10px/1.1 system-ui}
.epaisseurs>div{display:flex;flex-direction:column;gap:2px}
.reglette-verre .epaisseurs button{width:100%;min-height:23px;border:1px solid #a9ced0;border-radius:7px;background:#eefbf5cf;color:#12343e;font:600 10px/1 system-ui}
.reglette-verre .epaisseurs button[aria-pressed=true]{background:#214f5b;color:white;border-color:#e3fffc}
.reglette-verre #commandes-table .commandes-gravees{gap:3px;flex-direction:column}
.reglette-verre #commandes-table .commandes-gravees button{width:100%;height:auto!important;min-height:34px;padding:3px 2px;border:1px solid #b6d4d6;border-radius:8px;background:#e8f7f3cc;display:flex;flex-direction:column;gap:1px;color:#11343d}
.reglette-verre #commandes-table .commandes-gravees button span{font:650 10px/1 system-ui}
.reglette-verre #commandes-table .commandes-gravees svg{width:18px;height:18px}

/* Essai clair : plus d'espace en hauteur, à l'intérieur des chants. */
body[data-etape=classeur]:not([data-presentation=classique]) .surface{top:max(8.5dvh,55px);bottom:max(8.8dvh,55px)}
body[data-etape=classeur]:not([data-presentation=classique]) #bulle-navigation{background:linear-gradient(145deg,#fffef8f5,#e0f4f2ee 55%,#c2dedee8);color:#142d32;box-shadow:inset 0 1px 2px white,0 3px 9px #456a6b50}

/* Essai : le décor couvre aussi la bordure droite et l'identité reste lisible. */
body:not([data-presentation=classique]) .decor{right:0}
body:has(.carnet-chapitre:not([hidden])) .identite-verre{left:50%;top:clamp(10px,1.8vh,20px);transform:translateX(-50%);font-size:clamp(18px,1.5vw,25px);opacity:1;color:#faffff;text-shadow:0 1px 3px #102f3a,0 0 8px #173e4baa}
body:has(.carnet-chapitre:not([hidden])) .identite-verre img{height:clamp(32px,4.3vh,44px);filter:drop-shadow(0 1px 3px #17343c) drop-shadow(0 0 5px #fff8)}
@media(max-width:700px){body:has(.carnet-chapitre:not([hidden])) .identite-verre{left:43%;font-size:16px}body:has(.carnet-chapitre:not([hidden])) .identite-verre img{height:29px}}

/* Accès clair à la navigation et aux réglages, sans effet lumineux. */
body:not([data-presentation=classique]) #bulle-navigation{min-height:44px;padding:7px 14px;gap:9px;border:1px solid #b2cac7;background:linear-gradient(145deg,#f8fcfbea,#dcebe7e8);color:#152e2a;box-shadow:inset 0 1px #fff9,0 2px 5px #193a342e}
#bulle-navigation svg{width:21px;height:21px;fill:#f4fbf8;stroke:#173d35;stroke-width:1.8;stroke-linecap:round}
#bulle-navigation .reglages-libelle{font:700 13px/1.1 system-ui;color:#17342e}

/* Marque lisible sur le paysage lumineux, sans halo flou. */
body:not([data-presentation=classique]) .identite-verre,body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre{left:50%;top:clamp(8px,1.5dvh,18px);transform:translateX(-50%);font-size:clamp(21px,1.8vw,30px);opacity:1;color:#fff;letter-spacing:-.025em;text-shadow:0 1px 2px #153036,0 2px 5px #153036}
body:not([data-presentation=classique]) .identite-verre img,body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre img{height:clamp(37px,5dvh,52px);width:auto;filter:drop-shadow(0 1px 2px #264c50)}
@media(max-width:700px){body:not([data-presentation=classique]) .identite-verre,body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre{left:45%;font-size:16px}body:not([data-presentation=classique]) .identite-verre img,body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre img{height:30px}}
body[data-presentation=verre] .carnet-chapitre{left:clamp(8px,1vw,20px);bottom:max(10px,env(safe-area-inset-bottom));width:auto;min-width:136px;height:38px;padding:0 15px;border:1px solid #b8d6cd;border-radius:19px;background:linear-gradient(145deg,#f5fffbf0,#cae5dfeb);box-shadow:inset 0 1px 1px #fff,0 3px 7px #28231e55;color:#163a32}
body[data-presentation=verre] .carnet-chapitre span{position:static;display:block;transform:none;font:700 12px/1.2 system-ui;text-shadow:none}
body[data-presentation=verre] .menu-carnet{bottom:55px;left:10px}
body:not([data-presentation=classique]) .identite-verre,body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre{padding:4px 13px;border-radius:24px;background:linear-gradient(125deg,#f6fffbe8,#dcefe9d6);border:1px solid #ffffffc7;color:#173831;text-shadow:0 1px #ffffffb0;box-shadow:0 3px 10px #294b3933,inset 0 1px #fff9}
body:not([data-presentation=classique]) .identite-verre span span{color:#94631c}
@media(max-width:700px){body[data-presentation=verre] .carnet-chapitre{min-width:120px;height:34px;padding:0 10px}body:not([data-presentation=classique]) .identite-verre{padding:3px 8px}}

/* Nom et ampoule lisibles devant les sommets enneigés. */
body:not([data-presentation=classique]) .identite-verre,
body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre {
  gap:9px; color:#102a25; text-shadow:none;
  background:linear-gradient(140deg,#fbfffded,#e0f4edf2);
  border:1px solid #fff; box-shadow:0 3px 12px #183c3650,inset 0 1px #fff;
}
body:not([data-presentation=classique]) .identite-verre img,
body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre img {
  height:clamp(42px,6dvh,55px); filter:none; object-fit:contain;
}
@media(max-width:700px){
  body:not([data-presentation=classique]) .identite-verre img,
  body:not([data-presentation=classique]):has(.carnet-chapitre:not([hidden])) .identite-verre img {height:32px}
}
