/* ==========================================================================
   ZAMBROKLAS V9 — habillage « dégradés vivants »
   Cadre marine animé (taches de couleur floues + grain), panneau clair arrondi,
   tuiles pastel, carte « en cours » en dégradé animé, carte « demain » sombre.
   Toutes les couleurs sont celles de la charte Zambroklas.
   ========================================================================== */
:root{
  --z-nuit:#0F2340; --z-marine:#152F52; --z-turquoise:#2BA7A0; --z-vert:#7BC96F;
  --z-safran:#F5B335; --z-corail:#FF7C6B; --z-violet:#8E7CC3;
  --z-panneau:#F6F8FB; --z-carte:#FFFFFF; --z-trait:#E5ECF2;
  --z-grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  --z-ressort:cubic-bezier(.34,1.56,.64,1); --z-doux:cubic-bezier(.22,.9,.24,1);
}
@keyframes z-derive1{ 0%,100%{ transform:translate(0,0) scale(1); } 33%{ transform:translate(30vw,18vh) scale(1.25); } 66%{ transform:translate(10vw,45vh) scale(.85); } }
@keyframes z-derive2{ 0%,100%{ transform:translate(0,0) scale(1.1); } 50%{ transform:translate(-35vw,-35vh) scale(.85); } }
@keyframes z-derive3{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(40vw,-40vh) scale(1.3); } }
@keyframes z-degrade{ 0%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }
@keyframes z-entree{ from{ opacity:0; transform:translateY(18px) scale(.985); filter:blur(6px); } to{ opacity:1; transform:none; filter:none; } }
@keyframes z-balaye{ from{ transform:translateX(-120%) skewX(-18deg); } to{ transform:translateX(320%) skewX(-18deg); } }
@keyframes z-halo{ 0%,100%{ opacity:.55; } 50%{ opacity:1; } }

/* ---------- Cadre : fond marine vivant ---------- */
#application:not([hidden]){ position:relative; background:var(--z-nuit); padding:14px 14px 14px 0; isolation:isolate; }
.zk-fond{ position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.zk-fond i{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.62; will-change:transform; }
.zk-fond .b1{ width:46vw; height:46vw; max-width:620px; max-height:620px; left:-12vw; top:-18vw; background:var(--z-turquoise); animation:z-derive1 16s ease-in-out infinite; }
.zk-fond .b2{ width:40vw; height:40vw; max-width:560px; max-height:560px; right:-10vw; bottom:-16vw; background:var(--z-violet); animation:z-derive2 19s ease-in-out infinite; }
.zk-fond .b3{ width:30vw; height:30vw; max-width:420px; max-height:420px; left:-6vw; bottom:-8vw; background:var(--z-safran); opacity:.45; animation:z-derive3 22s ease-in-out infinite; }
.zk-grain{ position:absolute; inset:0; background-image:var(--z-grain); opacity:.14; mix-blend-mode:overlay; }

/* ---------- Colonne de navigation, posée sur le fond ---------- */
.zk-lateral{ background:transparent; flex-basis:232px; padding:16px 12px 6px 14px; }
.zk-symbole{ background:#FFFFFF; border-radius:14px; padding:4px; box-shadow:0 0 0 1px rgba(255,255,255,.5), 0 12px 30px rgba(0,0,0,.28); }
.zk-groupe-titre{ color:rgba(255,255,255,.45); }
.zk-lateral .ui-onglets button{ position:relative; color:rgba(255,255,255,.72); overflow:hidden; }
.zk-lateral .ui-onglets button svg{ color:rgba(255,255,255,.6); }
.zk-lateral .ui-onglets button:hover{ background:rgba(255,255,255,.08); color:#fff; }
.zk-lateral .ui-onglets button[aria-selected="true"]{ background:rgba(255,255,255,.14) !important; color:#fff !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.zk-lateral .ui-onglets button[aria-selected="true"] svg{ color:var(--z-safran) !important; }
.zk-lateral .ui-onglets button[aria-selected="true"]::before{ content:''; position:absolute; left:0; top:22%; bottom:22%; width:3px; border-radius:0 3px 3px 0;
  background:linear-gradient(180deg, var(--z-turquoise), var(--z-safran)); animation:z-halo 2.6s ease-in-out infinite; }
.zk-lateral .ui-switch{ background:rgba(255,255,255,.07); }
.zk-avatar{ background:linear-gradient(135deg, var(--z-turquoise), var(--z-vert)); color:#fff; }

/* ---------- Panneau principal clair, arrondi ---------- */
.zk-principal{ position:relative; height:calc(100vh - 28px); border-radius:26px; overflow:hidden; background:var(--z-panneau);
  box-shadow:0 30px 80px rgba(3,10,22,.45), 0 0 0 1px rgba(255,255,255,.06); }
body .zk-principal{ background-image:none; }
.zk-principal .ui-barre{ background:rgba(246,248,251,.78); border-bottom:1px solid var(--z-trait); box-shadow:none; }
.zk-principal .ui-barre::before{ display:none; }
.zk-principal > section.entree{ animation:z-entree .55s var(--z-doux) both; }

/* Boutons principaux : dégradé de la charte + reflet qui balaie au survol */
.btn-principal, #btn-creer{ position:relative; overflow:hidden; border:0 !important; color:#fff !important;
  background:linear-gradient(120deg, var(--z-marine), #1F4C78 45%, var(--z-turquoise)) !important; background-size:200% 100% !important;
  transition:background-position .6s var(--z-doux), transform .25s var(--z-ressort), box-shadow .3s !important; }
.btn-principal:hover, #btn-creer:hover{ background-position:100% 0 !important; box-shadow:0 10px 26px rgba(43,167,160,.35); transform:translateY(-1px); }
.btn-principal::after, #btn-creer::after{ content:''; position:absolute; top:0; bottom:0; left:0; width:40%; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform:translateX(-120%) skewX(-18deg); }
.btn-principal:hover::after, #btn-creer:hover::after{ animation:z-balaye .8s var(--z-doux); }
#btn-creer{ border-radius:999px !important; padding-inline:16px; }

/* Cartes : plus rondes, ombre légère, reflet qui suit la souris */
.zk-principal .ui-carte{ border-radius:20px; border-color:var(--z-trait); box-shadow:0 1px 2px rgba(21,47,82,.04), 0 12px 32px rgba(21,47,82,.06); background:var(--z-carte); }
.zk-lumiere{ background-image:radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(43,167,160,.12), transparent 65%); }
.zk-revele{ animation:z-entree .6s var(--z-doux) both; animation-delay:calc(var(--r, 0) * 60ms); }

/* ---------- Aujourd'hui ---------- */
.zk-titre{ letter-spacing:-.02em; }
.zk-tuiles{ gap:14px; }
.zk-tuile{ border-radius:22px !important; border:0 !important; overflow:hidden; transform-style:preserve-3d; transition:transform .35s var(--z-doux), box-shadow .35s; }
.zk-tuiles > .zk-tuile:nth-child(1){ color:#fff; background:linear-gradient(120deg, var(--z-turquoise), var(--z-vert) 40%, #1E8E88 70%, var(--z-marine)) !important; background-size:300% 300% !important;
  animation:z-degrade 12s ease infinite; box-shadow:0 18px 40px rgba(43,167,160,.32); }
.zk-tuiles > .zk-tuile:nth-child(1)::before{ content:''; position:absolute; inset:0; background-image:var(--z-grain); opacity:.22; mix-blend-mode:overlay; pointer-events:none; }
.zk-tuiles > .zk-tuile:nth-child(1) .zk-tuile-titre, .zk-tuiles > .zk-tuile:nth-child(1) .zk-tuile-texte,
.zk-tuiles > .zk-tuile:nth-child(1) .zk-etiquette-live{ color:#fff !important; position:relative; }
.zk-tuiles > .zk-tuile:nth-child(1) .zk-tuile-titre{ font-size:24px; }
.zk-tuiles > .zk-tuile:nth-child(1) .zk-jauge{ background:rgba(255,255,255,.28); position:relative; }
.zk-tuiles > .zk-tuile:nth-child(1) .zk-jauge > span{ background:#fff !important; }
.zk-tuiles > .zk-tuile:nth-child(1) .zk-pouls{ background:#fff; }
.zk-tuiles > .zk-tuile:nth-child(2){ background:#E4F5E1 !important; }
.zk-tuiles > .zk-tuile:nth-child(3){ background:#FDF1D8 !important; }
.zk-tuiles > .zk-tuile:nth-child(2) .zk-chiffre{ color:#2F5E2A; } .zk-tuiles > .zk-tuile:nth-child(2) .zk-tuile-texte{ color:#3E6339; }
.zk-tuiles > .zk-tuile:nth-child(3) .zk-chiffre{ color:#6E4E0C; } .zk-tuiles > .zk-tuile:nth-child(3) .zk-tuile-texte{ color:#7A5A12; }
.zk-tuiles > .zk-tuile:nth-child(2) .zk-anneau .fond, .zk-tuiles > .zk-tuile:nth-child(3) .zk-anneau .fond{ stroke:rgba(255,255,255,.85); }
.zk-tuiles > .zk-tuile:nth-child(2) .zk-lien{ color:#2F5E2A; }
.zk-chiffre{ font-size:32px !important; font-weight:900; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }

/* Frise : pastilles de matière */
.zk-creneau{ grid-template-columns:40px 50px minmax(0,1fr) auto !important; border-radius:16px; border-color:transparent !important; background:transparent !important; padding:8px 12px 8px 8px; }
.zk-creneau:hover{ background:#fff !important; box-shadow:0 12px 30px rgba(21,47,82,.09) !important; transform:translateX(4px); }
.zk-creneau + .zk-creneau{ position:relative; }
.zk-creneau + .zk-creneau::before{ content:''; position:absolute; left:58px; right:12px; top:-4px; height:1px; background:var(--z-trait); }
.zk-sigle{ width:40px; height:40px; border-radius:13px; display:grid; place-items:center; background:var(--c); color:#fff; font-family:var(--titres); font-weight:800; font-size:13px;
  box-shadow:0 6px 16px color-mix(in srgb, var(--c) 40%, transparent); transition:transform .35s var(--z-ressort); }
.zk-creneau:hover .zk-sigle{ transform:rotate(-6deg) scale(1.08); }
.zk-creneau.vie .zk-sigle{ background:#E6ECF2; color:#7A8794; box-shadow:none; }
.zk-creneau.courant{ background:#fff !important; box-shadow:0 0 0 2px var(--z-corail), 0 14px 34px rgba(255,124,107,.18) !important; }
.zk-chip.live{ background:var(--z-corail); color:#fff; }

/* Colonne de droite : carte « demain » + matériel */
.zk-colonne-droite{ flex:1 1 300px; display:flex; flex-direction:column; gap:20px; min-width:0; }
.zk-colonne-droite .zk-materiel{ flex:0 0 auto; }
.zk-demain{ position:relative; overflow:hidden; isolation:isolate; border-radius:24px; padding:22px; color:#fff; background:var(--z-marine);
  box-shadow:0 20px 50px rgba(15,35,64,.35); }
.zk-demain::after{ content:''; position:absolute; inset:0; z-index:-1; background-image:var(--z-grain); opacity:.2; mix-blend-mode:overlay; }
.zk-demain-lueur{ position:absolute; z-index:-2; border-radius:50%; filter:blur(36px); }
.zk-demain-lueur.a{ width:190px; height:190px; right:-60px; top:-70px; background:var(--z-violet); animation:z-derive2 14s ease-in-out infinite; }
.zk-demain-lueur.b{ width:160px; height:160px; left:-60px; bottom:-70px; background:var(--z-turquoise); animation:z-derive1 18s ease-in-out infinite; }
.zk-demain-jour{ margin:0; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.65); font-weight:600; }
.zk-demain h2{ margin:6px 0 8px; font-family:var(--titres); font-weight:900; font-size:24px; line-height:1.25; color:#fff; }
.zk-demain-n{ display:inline-block; padding:0 10px; border:2px solid var(--z-safran); border-radius:999px; color:var(--z-safran); }
.zk-demain-txt{ margin:0 0 16px; font-size:13px; color:rgba(255,255,255,.78); }
.zk-demain-btn{ border:0; border-radius:999px; padding:10px 18px; background:#fff; color:var(--z-marine); font:inherit; font-weight:700; font-size:13px; cursor:pointer;
  transition:transform .3s var(--z-ressort), box-shadow .3s; }
.zk-demain-btn span{ display:inline-block; transition:transform .3s var(--z-ressort); }
.zk-demain-btn:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.25); }
.zk-demain-btn:hover span{ transform:translateX(4px); }

/* Cahier journal : champ matériel « un par ligne » */
.zk-mat-lignes{ width:100%; min-height:64px; resize:vertical; line-height:1.6; font:inherit; border-radius:12px; padding:9px 12px; }

/* Classeur : cartes de séquence */
.zk-carte-seq{ border-radius:20px !important; border-color:transparent !important; box-shadow:0 12px 30px rgba(21,47,82,.07); transform-style:preserve-3d; }

/* ---------- Écran de connexion ---------- */
.auth{ position:relative; overflow:hidden; isolation:isolate; background:var(--z-nuit) !important; }
.auth::before, .auth::after{ content:''; position:absolute; z-index:-1; border-radius:50%; filter:blur(80px); opacity:.7; }
.auth::before{ width:60vw; height:60vw; left:-20vw; top:-25vw; background:var(--z-turquoise); animation:z-derive1 24s ease-in-out infinite; }
.auth::after{ width:50vw; height:50vw; right:-18vw; bottom:-22vw; background:var(--z-violet); animation:z-derive2 30s ease-in-out infinite; }
.auth-carte{ animation:z-entree .8s var(--z-doux) both; box-shadow:0 40px 90px rgba(3,10,22,.5) !important; border:0 !important; border-radius:26px !important; }

/* ---------- Mode sombre ---------- */
body.sombre{ --z-panneau:#0E1B29; --z-carte:#13243A; --z-trait:#22374F; }
body.sombre .zk-principal .ui-barre{ background:rgba(14,27,41,.8); }
body.sombre .zk-principal .ui-carte{ background:var(--z-carte); box-shadow:0 12px 32px rgba(0,0,0,.25); }
body.sombre .zk-tuiles > .zk-tuile:nth-child(2){ background:#1D3A2B !important; }
body.sombre .zk-tuiles > .zk-tuile:nth-child(3){ background:#3A2F14 !important; }
body.sombre .zk-tuiles > .zk-tuile:nth-child(2) .zk-chiffre, body.sombre .zk-tuiles > .zk-tuile:nth-child(2) .zk-tuile-texte, body.sombre .zk-tuiles > .zk-tuile:nth-child(2) .zk-lien{ color:#BFE8B6; }
body.sombre .zk-tuiles > .zk-tuile:nth-child(3) .zk-chiffre, body.sombre .zk-tuiles > .zk-tuile:nth-child(3) .zk-tuile-texte{ color:#F7D58B; }
body.sombre .zk-tuiles > .zk-tuile:nth-child(2) .zk-anneau .fond, body.sombre .zk-tuiles > .zk-tuile:nth-child(3) .zk-anneau .fond{ stroke:rgba(255,255,255,.12); }
body.sombre .zk-creneau:hover, body.sombre .zk-creneau.courant{ background:#13243A !important; }
body.sombre .zk-creneau.vie .zk-sigle{ background:#22374F; color:#9FB3C8; }
body.sombre .zk-lumiere{ background-image:radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(43,167,160,.16), transparent 65%); }

/* ---------- Téléphone ---------- */
@media (max-width: 900px){
  #application:not([hidden]){ padding:0; }
  .zk-lateral{ padding:8px 10px; flex-basis:auto; }
  .zk-principal{ height:auto; border-radius:22px 22px 0 0; }
}

/* ---------- Moins de mouvement ---------- */
@media (prefers-reduced-motion: reduce){
  .zk-demain-lueur, .zk-tuiles > .zk-tuile:nth-child(1){ animation:none !important; }
  /* Le fond reste vivant, mais plus lentement */
  #application .zk-fond i.b1{ animation:z-derive1 40s ease-in-out infinite !important; }
  #application .zk-fond i.b2{ animation:z-derive2 46s ease-in-out infinite !important; }
  #application .zk-fond i.b3{ animation:z-derive3 52s ease-in-out infinite !important; }
}
body.sombre .zk-lateral{ background:transparent; }
body.sombre .zk-lateral .ui-onglets button[aria-selected="true"]{ background:rgba(255,255,255,.12) !important; color:#fff !important; }
body.sombre .zk-lateral .ui-onglets button[aria-selected="true"] svg{ color:var(--z-safran) !important; }
body.sombre .btn-principal, body.sombre #btn-creer{ background:linear-gradient(120deg, #1F4C78, var(--z-turquoise) 55%, var(--z-vert)) !important; background-size:200% 100% !important; color:#fff !important; }
body.sombre .btn-principal:hover{ background-position:100% 0 !important; }
.auth-carte{ background:rgba(255,255,255,.96) !important; }

/* ---------- Calendrier : jours sans classe ---------- */
.zk-jour.off:not(.actif){ opacity:.55; background:repeating-linear-gradient(135deg, transparent 0 6px, rgba(142,124,195,.14) 6px 12px) !important; }
.zk-etat.off{ background:#8E7CC3 !important; }
.zk-sans-classe{ border-radius:20px; padding:18px 20px; background:linear-gradient(135deg, rgba(142,124,195,.14), rgba(43,167,160,.10)); border:1px solid rgba(142,124,195,.25); }
.zk-sans-classe-titre{ margin:0 0 4px; font-family:var(--titres); font-weight:800; font-size:17px; color:var(--marine); }
.zk-repos{ flex:999 1 420px; position:relative; overflow:hidden; padding:28px !important; }
.zk-repos h2{ margin:10px 0 6px; font-family:var(--titres); font-weight:900; font-size:28px; color:var(--marine); }
.zk-repos p{ margin:0 0 6px; font-size:15px; }
.zk-repos-icone{ width:58px; height:58px; border-radius:18px; display:grid; place-items:center; color:#fff;
  background:linear-gradient(135deg, var(--z-safran), var(--z-corail)); box-shadow:0 14px 30px rgba(245,179,53,.35); animation:zk-flotte 5s ease-in-out infinite; }
.zk-repos.inspe .zk-repos-icone{ background:linear-gradient(135deg, var(--z-violet), var(--z-turquoise)); box-shadow:0 14px 30px rgba(142,124,195,.35); }
.zk-repos-icone svg{ width:30px; height:30px; }
body.sombre .zk-repos h2, body.sombre .zk-sans-classe-titre{ color:#EDF3F8; }

/* ---------- Réglages : vacances et semaines ---------- */
.zk-vac-liste{ display:flex; flex-direction:column; gap:8px; margin:10px 0; }
.zk-vac{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) 28px; gap:10px; align-items:end; }
.zk-vac label{ display:flex; flex-direction:column; gap:3px; font-size:11.5px; color:var(--doux); font-weight:600; }
@media (max-width: 700px){ .zk-vac{ grid-template-columns:1fr 1fr; } .zk-vac > input[type="text"]{ grid-column:1 / -1; } }
.zk-sem-legende{ display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 12px; }
.zk-sem-legende .zk-sem{ width:auto; padding:0 10px; cursor:default; }
.zk-sem-annee{ display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:14px 18px; }
.zk-sem-mois p{ margin:0 0 6px; font-size:12px; font-weight:700; color:var(--doux); text-transform:capitalize; }
.zk-sem-mois > div{ display:flex; gap:6px; flex-wrap:wrap; }
.zk-sem{ position:relative; width:34px; height:30px; border-radius:9px; border:0; display:inline-grid; place-items:center; font:inherit; font-size:12px; font-weight:700; cursor:pointer;
  transition:transform .25s var(--z-ressort), box-shadow .25s; }
.zk-sem:hover:not(:disabled){ transform:translateY(-2px) scale(1.06); }
.zk-sem.classe{ background:#2BA7A0; color:#fff; }
.zk-sem.inspe{ background:#E9E4F7; color:#4E3F86; }
.zk-sem.vacances{ background:repeating-linear-gradient(135deg, #FDF1D8 0 5px, #FBE6B8 5px 10px); color:#7A5A12; cursor:default; }
.zk-sem.force::after{ content:''; position:absolute; top:-3px; right:-3px; width:9px; height:9px; border-radius:50%; background:#FF7C6B; border:2px solid var(--surface, #fff); }
.zk-sem.actuelle{ box-shadow:0 0 0 2px var(--z-marine); }
body.sombre .zk-sem.inspe{ background:#2E2A4A; color:#D6CEF5; }
body.sombre .zk-sem.vacances{ background:repeating-linear-gradient(135deg, #3A2F14 0 5px, #46391A 5px 10px); color:#F7D58B; }
body.sombre .zk-sem.actuelle{ box-shadow:0 0 0 2px #EDF3F8; }

/* ---------- Fiche : objectifs langagiers dans le formulaire ---------- */
.zk-langagiers{ margin-top:6px; padding:10px 12px; border-left:2px dashed var(--z-turquoise); border-radius:0; background:rgba(43,167,160,.05); }

/* ---------- Cahier journal : exception et reprise de la veille ---------- */
.zk-exception{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:0 0 12px; padding:8px 14px; border-radius:14px;
  background:rgba(142,124,195,.12); border:1px dashed rgba(142,124,195,.5); font-size:13px; font-weight:600; color:#4E3F86; }
body.sombre .zk-exception{ color:#D6CEF5; }
.zk-sans-classe p{ margin:0 0 8px; }
.zk-sans-classe .ui-ajouts{ margin-top:10px; }
.zk-veille{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; margin:4px 0 10px; }
.zk-veille .btn{ display:inline-flex; align-items:center; gap:6px; }
.zk-veille svg{ width:15px; height:15px; }
.zk-pinceau{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 14px; }
.zk-pinceau .zk-sem{ width:auto; height:34px; padding:0 14px; opacity:.55; }
.zk-pinceau .zk-sem[aria-checked="true"]{ opacity:1; box-shadow:0 0 0 2px var(--z-marine); }
.zk-pinceau span.zk-sem{ opacity:1; cursor:default; }
body.sombre .zk-pinceau .zk-sem[aria-checked="true"]{ box-shadow:0 0 0 2px #EDF3F8; }
.zk-statut-sem{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:0 0 12px; padding:7px 14px; border-radius:14px;
  background:rgba(43,167,160,.08); font-size:13px; font-weight:600; color:var(--marine); }
.zk-point{ display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:8px; vertical-align:1px; background:#2BA7A0; }
body.sombre .zk-statut-sem{ color:#EDF3F8; }

/* ---------- Cahier journal : contenu d'un créneau ---------- */
.zk-cjd{ margin:4px 0 12px; border:1px solid var(--z-trait); border-radius:14px; background:rgba(21,47,82,.02); }
.zk-cjd > summary{ cursor:pointer; padding:10px 14px; font-weight:700; color:var(--marine); list-style:none; display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; }
.zk-cjd > summary::-webkit-details-marker{ display:none; }
.zk-cjd > summary::before{ content:'▸'; color:var(--z-turquoise); transition:transform .2s; }
.zk-cjd[open] > summary::before{ transform:rotate(90deg); }
.zk-cjd-corps{ padding:0 14px 12px; display:flex; flex-direction:column; gap:10px; }
.zk-cjd-corps textarea + textarea{ margin-top:6px; }
.zk-cjd-ligne{ display:flex; gap:8px; margin-top:6px; }
.zk-cjd-ligne select, .zk-cjd-ligne input{ flex:1 1 0; min-width:0; }
.zk-cjd-ligne select[data-cjd="matiere"]{ flex:0 0 32%; }
.zk-cjd-obj{ list-style:none; margin:4px 0 0; padding:0; display:flex; flex-direction:column; gap:4px; }
.zk-cjd-obj li{ display:grid; grid-template-columns:1fr 28px; gap:8px; align-items:center; padding:6px 10px; border-radius:10px; background:rgba(43,167,160,.08); font-size:13px; }
.zk-cjd-deroule .zk-cjd-corps{ gap:8px; }
.zk-cjd-etape{ border-left:3px solid var(--marine); padding:6px 0 6px 10px; border-radius:0 10px 10px 0; background:rgba(21,47,82,.03); }
.zk-cjd-etape.t-consigne{ border-left-width:5px; background:#FFF6DC; }
.zk-cjd-etape.t-eleves{ border-left:3px dashed #1E7F79; background:#E8F6F5; margin-left:22px; }
.zk-cjd-etape-tete{ display:flex; align-items:center; gap:6px; margin-bottom:4px; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--marine); }
.zk-cjd-etape.t-eleves .zk-cjd-etape-tete{ color:#1E7F79; }
.zk-cjd-etape-tete .btn-icone{ width:24px; height:24px; font-size:12px; }
body.sombre .zk-cjd{ background:rgba(255,255,255,.03); }
body.sombre .zk-cjd > summary, body.sombre .zk-cjd-etape-tete{ color:#EDF3F8; }
body.sombre .zk-cjd-etape.t-consigne{ background:#3A3115; }
body.sombre .zk-cjd-etape.t-eleves{ background:#123532; }
body.sombre .zk-cjd-etape.t-eleves .zk-cjd-etape-tete{ color:#9FE1D8; }

/* ==========================================================================
   V9.7 — PETITS ÉCRANS (portables 13-15 pouces)
   ========================================================================== */
/* L'aperçu A4 se réduit à la largeur de la colonne : l'animation d'apparition ne doit plus écraser cette réduction */
.ui-feuille{ animation:zk-fondu-in .3s ease both !important; }
.zk-court{ display:none; }

@media (max-width: 1500px) and (min-width: 901px){
  #application:not([hidden]){ padding:8px 8px 8px 0; }
  .zk-principal{ height:calc(100vh - 16px); border-radius:20px; }
  /* Menu en colonne d'icônes, avec un libellé court sous chaque icône */
  .zk-lateral{ flex:0 0 86px; padding:12px 6px 8px; gap:8px; }
  .zk-marque{ justify-content:center; padding:0; }
  .zk-marque > div{ display:none; }
  .zk-symbole{ width:42px; height:42px; }
  .zk-groupe-titre{ margin:8px 10px 2px; font-size:0; height:1px; background:rgba(255,255,255,.14); }
  .zk-groupe-titre:first-child{ margin-top:4px; }
  .zk-lateral .ui-onglets{ gap:2px; }
  .zk-lateral .ui-onglets button{ flex-direction:column; justify-content:center; gap:4px; min-height:56px; padding:6px 2px; border-radius:12px;
    font-size:10.5px; font-weight:700; line-height:1.15; text-align:center; }
  .zk-lateral .ui-onglets button:hover{ transform:none; }
  .zk-lateral .ui-onglets button svg{ width:21px; height:21px; }
  .zk-lateral .ui-onglets button .zk-long{ display:none; }
  .zk-lateral .ui-onglets button .zk-court{ display:block; }
  .zk-lateral .ui-onglets button[aria-selected="true"]::before{ top:auto; bottom:4px; left:30%; right:30%; width:auto; height:3px; border-radius:3px; }
  .zk-lateral-pied{ align-items:center; gap:8px; }
  .zk-lateral .ui-switch{ width:auto; padding:0 10px; justify-content:center; }
  .zk-lateral .ui-switch .zk-long, .zk-compte .ui-compte-courant, .zk-lateral .ui-deconnexion span{ display:none; }
  .zk-compte{ justify-content:center; padding:0; }
  .zk-lateral .ui-deconnexion{ width:44px; padding:0; }
  /* Barre du haut et bandeau de sauvegarde plus fins */
  .zk-principal .ui-barre{ padding:8px 14px; gap:8px; }
  .zk-recherche{ max-width:340px; min-height:38px; }
  .zk-principal .ui-barre .btn{ font-size:12.5px; padding:6px 11px; }
  .zk-principal .ui-etat{ font-size:11px; }
  #bandeau-sauvegarde{ padding:7px 14px; gap:10px; }
  #bandeau-sauvegarde > span{ font-size:0; }
  #bandeau-sauvegarde > span b{ font-size:12.5px; }
  #bandeau-sauvegarde > span::after{ content:' Télécharge régulièrement une sauvegarde de tes données.'; font-size:12.5px; }
  /* Titres et espacements */
  .zk-auj{ padding:16px 20px 40px; gap:16px; }
  .zk-titre{ font-size:clamp(22px, 2.4vw, 30px) !important; }
  .zk-tuile{ padding:14px !important; }
  .zk-tuiles > .zk-tuile:nth-child(1) .zk-tuile-titre{ font-size:20px; }
  .zk-chiffre{ font-size:26px !important; }
  .zk-anneau{ width:54px; height:54px; flex-basis:54px; }
  .zk-demain{ padding:18px; } .zk-demain h2{ font-size:20px; }
  .ui-form{ padding:12px 14px 50px; }
  .ui-corps{ grid-template-columns:minmax(360px, 1.1fr) minmax(300px, 1fr); }
}
@media (max-width: 1500px) and (max-height: 860px){
  .zk-principal .ui-barre{ padding-top:6px; padding-bottom:6px; }
  .zk-lateral .ui-onglets button{ min-height:50px; }
  .zk-lateral .ui-switch{ display:none; }
}
/* Éditeurs : une longue suite de points se coupe au bout de la ligne au lieu de passer à la ligne suivante */
.ui-riche-zone, .zk-cjd textarea, .zk-mat-lignes{ overflow-wrap:anywhere; }
/* Sélecteur de séance : Matière · Période, puis Séquence · Séance */
#selecteur-seance .zk-sel-ligne{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px){ #selecteur-seance .zk-sel-ligne{ grid-template-columns:1fr; } }

/* ---------- Fenêtres de dialogue (V10) ---------- */
.zk-dialogue-voile{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:16px;
  background:rgba(13,28,48,.45); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); animation:zk-dlg-voile .18s ease both; }
.zk-dialogue-voile.sort{ animation:zk-dlg-voile-sort .18s ease both; }
.zk-dialogue{ width:min(440px, 100%); max-height:calc(100vh - 32px); overflow:auto; background:#fff; color:var(--texte);
  border-radius:18px; padding:22px 22px 18px; box-shadow:0 24px 60px rgba(10,20,35,.35); border-top:5px solid var(--turquoise);
  animation:zk-dlg-boite .24s var(--ressort, cubic-bezier(.2,.9,.3,1.2)) both; }
.zk-dialogue.danger{ border-top-color:var(--corail); }
.zk-dialogue-titre{ margin:0 0 8px; font-family:var(--titres); font-weight:800; font-size:17px; color:var(--marine); }
.zk-dialogue-texte{ margin:0; font-size:14.5px; line-height:1.5; white-space:pre-line; }
.zk-dialogue-champ{ display:block; width:100%; box-sizing:border-box; margin-top:14px; padding:9px 12px; font:inherit; font-size:14px;
  border:1.5px solid var(--sep); border-radius:10px; background:#fff; color:var(--texte); resize:vertical; }
.zk-dialogue-champ:focus{ outline:none; border-color:var(--turquoise); box-shadow:0 0 0 3px rgba(43,167,160,.2); }
.zk-dialogue-erreur{ margin:8px 0 0; color:#B4453A; font-size:13px; font-weight:600; }
.zk-dialogue-boutons{ display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:20px; }
.zk-dialogue-boutons .btn{ padding:9px 16px; font-size:14px; }
.zk-dialogue .btn-danger{ background:#D9584A; border-color:#D9584A; color:#fff; }
.zk-dialogue .btn-danger:hover{ background:#B4453A; border-color:#B4453A; color:#fff; }
body.sombre .zk-dialogue{ background:#13243A; color:#E4ECF5; }
body.sombre .zk-dialogue-champ{ background:#0E1B29; color:#E4ECF5; border-color:#2B4058; }
body.sombre .zk-dialogue .btn-danger{ background:#D9584A; color:#fff; border-color:#D9584A; }
@keyframes zk-dlg-voile{ from{ opacity:0; } to{ opacity:1; } }
@keyframes zk-dlg-voile-sort{ to{ opacity:0; } }
@keyframes zk-dlg-boite{ from{ opacity:0; transform:translateY(10px) scale(.97); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .zk-dialogue, .zk-dialogue-voile{ animation:none; } }

/* Notification avec bouton (« Annuler ») */
.zk-toast-action{ display:flex; align-items:center; gap:14px; }
.zk-toast-bouton{ flex:none; border:0; border-radius:8px; padding:5px 11px; background:var(--safran); color:#152F52; font:inherit; font-weight:800; cursor:pointer; }
.zk-toast-bouton:hover{ background:#FFC85A; }

/* Bandeau hors connexion (V10.1) */
.zk-hors-ligne{ position:fixed; left:50%; top:12px; transform:translateX(-50%); z-index:150; max-width:min(640px, calc(100% - 32px));
  background:#FFF4DC; color:#5A3B00; border:1.5px solid var(--safran); border-radius:12px; padding:9px 14px; font-size:13.5px;
  box-shadow:0 10px 28px rgba(10,20,35,.18); }
body.sombre .zk-hors-ligne{ background:#3A2C0A; color:#FBE3A8; }
.zk-cjd-compte{ font-size:11.5px; font-weight:800; color:#fff; background:var(--turquoise); border-radius:999px; padding:1px 8px; }
.zk-cjd-bilan > summary::before{ color:var(--safran); }
.zk-cjd-bilan .zk-cjd-compte{ background:var(--safran); color:#152F52; }
.zk-dialogue-liste{ display:flex; flex-direction:column; gap:6px; margin-top:14px; max-height:min(52vh, 420px); overflow:auto; padding:2px; }
.zk-dialogue-option{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; border:1.5px solid var(--sep); border-radius:12px;
  background:#fff; padding:9px 12px; font:inherit; color:var(--texte); cursor:pointer; }
.zk-dialogue-option b{ font-size:14px; color:var(--marine); }
.zk-dialogue-option span{ font-size:12.5px; color:var(--doux); }
.zk-dialogue-option:hover, .zk-dialogue-option:focus{ outline:none; border-color:var(--turquoise); background:rgba(43,167,160,.07); }
.zk-dialogue-vide{ margin:0; color:var(--doux); font-size:13.5px; }
body.sombre .zk-dialogue-option{ background:#0E1B29; border-color:#2B4058; color:#E4ECF5; }
.zk-dialogue-liste{ display:flex; flex-direction:column; gap:6px; margin-top:14px; max-height:min(52vh, 420px); overflow:auto; padding:2px; }
.zk-dialogue-option{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; border:1.5px solid var(--sep); border-radius:12px;
  background:#fff; padding:9px 12px; font:inherit; color:var(--texte); cursor:pointer; }
.zk-dialogue-option b{ font-size:14px; color:var(--marine); }
.zk-dialogue-option span{ font-size:12.5px; color:var(--doux); }
.zk-dialogue-option:hover, .zk-dialogue-option:focus{ outline:none; border-color:var(--turquoise); background:rgba(43,167,160,.07); }
.zk-dialogue-vide{ margin:0; color:var(--doux); font-size:13.5px; }
body.sombre .zk-dialogue-option{ background:#0E1B29; border-color:#2B4058; color:#E4ECF5; }
.zk-aide-inter{ margin:-4px 0 8px 46px; }
/* Fil d'Ariane de la fiche (V10.1) */
.zk-ariane{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font-size:13.5px; font-weight:700; color:var(--marine); }
.zk-ariane-mat{ display:inline-flex; align-items:center; gap:6px; }
.zk-ariane-mat::before{ content:''; width:9px; height:9px; border-radius:3px; background:var(--c); }
.zk-ariane-lien{ border:0; background:none; padding:0; font:inherit; color:var(--turquoise); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.zk-ariane-sep{ color:var(--doux); font-weight:400; }
.zk-ariane-doux{ color:var(--doux); font-weight:600; }
.ui-panneau-titre:has(.zk-ariane)::before{ display:none; }
/* Cahier journal : choix de la séance liée (V10.3) */
.zk-selecteur-cj{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px 10px; margin:4px 0 8px; padding:10px 12px; border-radius:12px; background:rgba(43,167,160,.06); border:1px solid var(--z-trait, #DDE7EA); }
.zk-selecteur-cj .zk-sel > span{ font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--doux); }
.zk-selecteur-cj .zk-sel > span em{ font-style:normal; margin-left:4px; padding:0 6px; border-radius:999px; background:var(--marine); color:#fff; }
.zk-selecteur-cj select{ width:100%; }
@media (max-width: 760px){ .zk-selecteur-cj{ grid-template-columns:1fr; } }
/* Onglet Séquence : matière et période, puis la séquence sur toute la largeur (V10.4) */
#selecteur-sequence .zk-sel-ligne{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
#selecteur-sequence .zk-sel-principal{ grid-column:1 / -1; }
@media (max-width: 760px){ #selecteur-sequence .zk-sel-ligne{ grid-template-columns:1fr; } }
/* Bloc du déroulé qui vient d'être déplacé (V10.5) */
.ui-etape.zk-deplace{ animation:zk-deplace 1.4s ease; }
@keyframes zk-deplace{ 0%,30%{ box-shadow:0 0 0 3px rgba(245,179,53,.75); } 100%{ box-shadow:0 0 0 3px rgba(245,179,53,0); } }
/* Cahier journal : blocs intervention orale, différenciation, texte libre (V10.6) */
.zk-cjd-etape.t-oral{ border-left:5px solid var(--marine); background:#EEF2F7; }
.zk-cjd-etape.t-diff{ border-left:3px dotted #C98A12; background:#FFFBF1; }
.zk-cjd-etape.t-diff .zk-cjd-etape-tete{ color:#8A5A00; }
.zk-cjd-etape.t-libre{ border-left:3px solid #B8C4CE; background:#fff; }
.zk-cjd-etape.t-libre .zk-cjd-etape-tete{ color:var(--doux); }
.zk-cjd-sous{ margin:2px 0 3px; font-size:12px; font-weight:700; color:var(--marine); }
.zk-cjd-sous.eleves{ color:#1E7F79; margin-top:8px; }
body.sombre .zk-cjd-etape.t-oral{ background:#16263A; }
body.sombre .zk-cjd-etape.t-diff{ background:#2A2210; }
body.sombre .zk-cjd-etape.t-libre{ background:#0E1B29; }
/* Classeur : bouton Dupliquer sur les fiches de séance */
.ui-cl-element.seance{ grid-template-columns:24px 1fr auto auto 220px; }
@media (max-width: 900px){ .ui-cl-element.seance{ grid-template-columns:24px 1fr; } .ui-cl-element.seance [data-cl="dupliquer"]{ grid-column:2; justify-self:start; } }
/* Lignes à compléter (…… ou ____) affichées hors document imprimé (V10.8) */
.pointilles{ display:inline-block; min-width:20mm; width:calc(100% - 2em); max-width:100%; height:1em; border-bottom:1.3px dotted #5B6B7C; vertical-align:baseline; }

/* ==========================================================================
   Éditeur visuel de l'emploi du temps (V11)
   ========================================================================== */
.ze-cadre{ display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:16px; align-items:start; }
@media (max-width: 1100px){ .ze-cadre{ grid-template-columns:1fr; } .ze-panneau{ position:static !important; } }
.ze-grille{ min-width:0; overflow-x:auto; }
.ze{ --ze-col:minmax(120px, 1fr); min-width:calc(var(--ze-jours) * 120px + 52px); user-select:none; -webkit-user-select:none; }
.ze-tete, .ze-corps{ display:grid; grid-template-columns:52px repeat(var(--ze-jours), var(--ze-col)); gap:6px; }
.ze-tete{ position:sticky; top:0; z-index:3; padding-bottom:6px; }
.ze-jour-tete{ display:flex; align-items:center; gap:6px; padding:7px 10px; border-radius:12px; background:var(--marine); color:#fff; }
.ze-jour-tete b{ font-family:var(--titres); font-size:13px; letter-spacing:.04em; text-transform:uppercase; }
.ze-jour-actions{ margin-left:auto; display:flex; gap:4px; opacity:.85; }
.ze-mini{ border:0; border-radius:7px; padding:2px 7px; background:rgba(255,255,255,.14); color:#fff; font:700 11.5px var(--corps); cursor:pointer; }
.ze-mini:hover{ background:rgba(255,255,255,.28); }
.ze-mini.ze-coller{ background:var(--safran); color:#152F52; }
.ze-corps{ height:var(--ze-h); }
.ze-heures{ position:relative; }
.ze-heures span{ position:absolute; right:6px; transform:translateY(-50%); font:700 11.5px var(--corps); color:var(--doux); }
.ze-col{ position:relative; border-radius:12px; background:rgba(21,47,82,.035); cursor:copy; }
.ze-ligne{ position:absolute; left:0; right:0; border-top:1px solid rgba(21,47,82,.09); pointer-events:none; }
.ze-ligne.demi{ border-top-style:dashed; border-top-color:rgba(21,47,82,.06); }
.ze-bloc{ position:absolute; left:3px; right:3px; box-sizing:border-box; display:flex; flex-wrap:wrap; align-content:flex-start; align-items:baseline; gap:2px 6px;
  padding:5px 8px 8px; border-radius:10px; background:var(--c); color:var(--encre); cursor:grab; overflow:hidden;
  box-shadow:0 1px 0 rgba(0,0,0,.06), 0 6px 14px -8px rgba(21,47,82,.45); transition:box-shadow .2s, filter .2s, outline-color .2s; outline:2px solid transparent; outline-offset:1px; z-index:1; }
.ze-bloc:hover{ filter:brightness(1.04); box-shadow:0 10px 22px -10px rgba(21,47,82,.55); }
.ze-bloc:focus-visible{ outline-color:var(--turquoise); }
.ze-bloc.choisi{ outline-color:var(--marine); box-shadow:0 0 0 4px rgba(43,167,160,.35), 0 14px 26px -12px rgba(21,47,82,.6); z-index:2; }
.ze-bloc.saisi{ cursor:grabbing; z-index:5; box-shadow:0 22px 40px -14px rgba(21,47,82,.7); transition:none; opacity:.95; }
.ze-bloc.conflit{ outline:2px dashed #D9584A; }
.ze-bloc.vide{ background:repeating-linear-gradient(135deg, #fff, #fff 6px, #F1F4F7 6px, #F1F4F7 12px); color:#5B6B7C; border:1.5px dashed #B8C4CE; }
.ze-bloc.vie{ color:#5B6B7C; box-shadow:none; }
.ze-heure{ font:800 11px var(--corps); padding:0 5px; border-radius:6px; background:rgba(255,255,255,.3); }
.ze-bloc.vie .ze-heure, .ze-bloc.vide .ze-heure{ background:rgba(21,47,82,.08); }
.ze-titre{ font:800 12.5px/1.25 var(--titres); }
.ze-duree{ font:600 11px var(--corps); opacity:.85; }
.ze-bloc.court{ flex-wrap:nowrap; padding-top:2px; padding-bottom:2px; align-items:center; }
.ze-bloc.court .ze-titre{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; flex:1; font-size:11.5px; }
.ze-poignee{ position:absolute; left:0; right:0; bottom:0; height:8px; cursor:ns-resize; }
.ze-poignee::after{ content:''; position:absolute; left:50%; bottom:2px; width:26px; height:3px; margin-left:-13px; border-radius:3px; background:currentColor; opacity:0; transition:opacity .2s; }
.ze-bloc:hover .ze-poignee::after, .ze-bloc.choisi .ze-poignee::after{ opacity:.45; }
body.ze-glisse, body.ze-glisse *{ cursor:grabbing !important; }

.ze-panneau{ position:sticky; top:12px; }
.ze-insp{ background:#fff; border:1px solid #E2EAEE; border-top:5px solid var(--c, var(--turquoise)); border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:10px;
  box-shadow:0 14px 30px -18px rgba(21,47,82,.35); animation:ze-entre .28s cubic-bezier(.22,1,.36,1); }
.ze-insp.vide{ border-top-color:#E2EAEE; }
@keyframes ze-entre{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.ze-insp-tete{ display:flex; align-items:center; gap:8px; }
.ze-pastille{ width:12px; height:12px; border-radius:4px; background:var(--c); flex:none; }
.ze-insp-titre{ margin:0; font:800 15px var(--titres); color:var(--marine); flex:1; }
.ze-insp-astuce{ margin:0; font-size:13px; color:var(--doux); line-height:1.5; }
.ze-alerte{ margin:0; padding:7px 10px; border-radius:10px; background:#FDECEA; color:#A8382C; font-size:12.5px; font-weight:600; }
.ze-champ{ display:flex; flex-direction:column; gap:4px; font-size:13px; }
.ze-champ > span:first-child{ font:800 11px var(--corps); letter-spacing:.05em; text-transform:uppercase; color:var(--doux); }
.ze-champ select, .ze-champ input[type="text"], .ze-champ input[type="time"]{ width:100%; box-sizing:border-box; }
.ze-horaires{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
.ze-duree-champ{ display:flex; align-items:center; gap:4px; }
.ze-duree-champ input{ width:84px; text-align:center; -moz-appearance:textfield; appearance:textfield; }
.ze-duree-champ input::-webkit-inner-spin-button, .ze-duree-champ input::-webkit-outer-spin-button{ -webkit-appearance:none; margin:0; }
.ze-champ input, .ze-champ select{ min-width:0; }
.ze-duree-champ em{ font-style:normal; font-size:12px; color:var(--doux); }
.ze-ligne-champ{ display:flex; gap:6px; }
.ze-ligne-champ select{ flex:1; }
.ze-pas{ display:flex; flex-wrap:wrap; gap:6px; }
.ze-insp-actions{ display:flex; flex-wrap:wrap; gap:6px; padding-top:8px; border-top:1px solid #E2EAEE; }
body.sombre .ze-insp{ background:#13243A; border-color:#2B4058; }
body.sombre .ze-col{ background:rgba(255,255,255,.04); }
body.sombre .ze-insp-titre{ color:#EDF3F8; }

/* Éditeur : le texte reste dans son bloc */
.ze-bloc:not(.court) .ze-titre{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--l, 2); overflow:hidden; flex-basis:100%; }
.ze-bloc:not(.court) .ze-heure{ order:-1; }
/* Cahier journal en paysage (V11.1) */
.ui-feuille.paysage{ width:297mm; }
.zk-orientation{ display:inline-flex; gap:0; margin-left:6px; }
.zk-orientation .btn{ border-radius:0; }
.zk-orientation .btn:first-child{ border-radius:9px 0 0 9px; }
.zk-orientation .btn:last-child{ border-radius:0 9px 9px 0; margin-left:-1px; }
.zk-orientation .btn.actif{ background:var(--marine); color:#fff; border-color:var(--marine); }
