:root{
  --bg:#0b0c12; --surface:#171822; --surface-2:#1e2029; --surface-hover:#242631;
  --border:rgba(255,255,255,0.08); --border-strong:rgba(255,255,255,0.16);
  --text:#eceef5; --text-soft:#9698ac; --text-faint:#5c5e70;
  --primary:#5b8def; --primary-2:#3f6fd6; --primary-soft:rgba(91,141,239,0.14);
  --ok:#22c55e; --ok-2:#16a34a; --ok-soft:rgba(34,197,94,0.14);
  --warn:#f5a623; --warn-soft:rgba(245,166,35,0.14);
  --danger:#ef4444; --danger-2:#dc2626; --danger-soft:rgba(239,68,68,0.12);
}
*{box-sizing:border-box;}
html,body{height:100%;margin:0;}
body{
  color:var(--text);
  font-family:"Inter",-apple-system,"Segoe UI",Roboto,sans-serif; font-size:14.5px;
  display:flex; flex-direction:column; min-height:100vh;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(91,141,239,0.07), transparent 60%),
    var(--bg);
  background-attachment:fixed;
}
button,input,select,textarea{font-family:inherit;}
h1,h2,h3{font-family:inherit; font-weight:700;}
::-webkit-scrollbar{width:11px;height:11px;}
::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:8px;border:2px solid transparent;background-clip:padding-box;}
::-webkit-scrollbar-track{background:transparent;}

/* ── Barre du haut ── */
.topbar{
  display:flex; align-items:center; gap:18px; padding:0 22px; height:64px;
  background:var(--surface); border-bottom:1px solid var(--border);
  box-shadow:0 4px 18px rgba(0,0,0,0.3);
  position:sticky; top:0; z-index:10;
}
.tb-brand{display:flex; align-items:center; gap:12px; flex:1; min-width:0;}
.tb-logo{width:38px; height:38px; border-radius:9px; background:var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-size:18px; flex:0 0 auto;}
.tb-brand b{font-size:15.5px; letter-spacing:.2px; color:var(--primary); display:block;}
.tb-brand small{font-size:11px; color:var(--text-soft); letter-spacing:.2px; text-transform:none;}
.tb-name{display:flex; align-items:center; gap:9px;}
.tb-name img{width:28px; height:28px; border-radius:50%; border:1px solid var(--border-strong); flex:0 0 auto;}

/* ── Layout ── */
.main{flex:1; min-width:0; display:flex; flex-direction:column; gap:16px; padding:24px 22px; max-width:1100px; width:100%; margin:0 auto;}
.page-head h2{margin:0; font-size:22px; letter-spacing:.2px; color:var(--text);}
.page-sub{color:var(--text-soft); font-size:13px; margin-top:4px;}

/* ── Dashboard : sidebar + grille ── */
.dash-layout{display:flex; flex:1; min-height:0;}
.sidebar{width:264px; flex:0 0 264px; display:flex; flex-direction:column; padding:18px 15px; margin:14px 0 14px 14px; border-radius:10px;
  background:var(--surface); border:1px solid var(--border); box-shadow:0 12px 32px rgba(0,0,0,0.35);}
.side-brand{display:flex; align-items:center; gap:12px; padding:2px 6px 16px; border-bottom:1px solid var(--border);}
.side-nav{flex:1; overflow-y:auto; margin-top:12px; display:flex; flex-direction:column; gap:3px;}
.nav-item{display:flex; align-items:center; gap:12px; padding:10px 11px; border-radius:8px; cursor:pointer; text-decoration:none;
  border:1px solid transparent; border-left:3px solid transparent; transition:background .14s, border-color .14s;}
.nav-item:hover{background:var(--surface-hover);}
.nav-item.active{background:var(--primary-soft); border-left-color:var(--primary);}
.nav-icon{width:32px; height:32px; border-radius:7px; background:var(--surface-2); display:flex; align-items:center;
  justify-content:center; font-size:15px; flex:0 0 auto; border:1px solid var(--border);}
.nav-item .ni-name{font-weight:600; font-size:13.5px; color:var(--text-soft);}
.nav-item.active .ni-name{color:var(--primary);}
.side-foot{margin-top:12px; padding-top:12px; border-top:1px solid var(--border); display:flex; align-items:center; gap:10px;}
.side-foot img{width:34px; height:34px; border-radius:50%; border:1px solid var(--border-strong); flex:0 0 auto;}
.side-foot .sf-name{font-weight:600; font-size:13px; color:var(--text);}
.side-foot .sf-sub{font-size:11px; color:var(--text-soft);}
.dash-main{flex:1; min-width:0; overflow-y:auto; display:flex; flex-direction:column; gap:16px; padding:20px 22px;}

/* ── Cartes de stats ── */
.stat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.stat-card{border-radius:10px; padding:16px 16px 14px; position:relative; overflow:hidden; text-decoration:none; display:block;
  background:var(--surface); border:1px solid var(--border); box-shadow:0 6px 16px rgba(0,0,0,0.25); transition:transform .1s, box-shadow .1s, border-color .1s;}
.stat-card:hover{transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,0.35); border-color:var(--border-strong);}
.stat-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;}
.stat-label{font-size:11.5px; letter-spacing:.2px; color:var(--text-soft); font-weight:500;}
.stat-ic{width:32px; height:32px; border-radius:8px; background:var(--surface-2); color:var(--text-soft);
  display:flex; align-items:center; justify-content:center; font-size:15px; border:1px solid var(--border);}
.stat-value{font-size:26px; font-weight:800; color:var(--text); letter-spacing:.2px; font-variant-numeric:tabular-nums;}
.stat-value.ok{color:var(--ok);} .stat-value.warn{color:var(--warn);} .stat-value.danger{color:var(--danger);} .stat-value.info{color:var(--primary);}
.stat-sub{font-size:11px; color:var(--text-faint); margin-top:2px;}

/* ── Anneau de progression (CSS pur) ── */
.ring{width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  background:conic-gradient(var(--ok) calc(var(--pct,0) * 1%), var(--surface-2) 0);}
.ring span{width:48px; height:48px; border-radius:50%; background:var(--surface); display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:12px; color:var(--text);}

@media (max-width:900px){
  .stat-grid{grid-template-columns:repeat(2,1fr);}
  .sidebar{width:220px; flex-basis:220px;}
}
@media (max-width:640px){
  .dash-layout{flex-direction:column;}
  .sidebar{width:auto; margin:14px;}
}

/* ── Onglets (contenu ; le declencheur est desormais la sidebar) ── */
.tab-panel{display:none;}
.tab-panel.active{display:block;}

/* ── Cartes génériques ── */
.card{border-radius:10px; overflow:hidden; border:1px solid var(--border); box-shadow:0 8px 20px rgba(0,0,0,0.28);
  background:var(--surface);}
.card-head{display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--border);
  font-size:14px; font-weight:700; color:var(--text); letter-spacing:0;}
.card-body{padding:18px 20px 20px;}

/* ── Boutons ── */
.btn{border:1px solid transparent; background:var(--primary); color:#fff; padding:10px 17px; border-radius:8px;
  cursor:pointer; font-size:13px; font-weight:600; letter-spacing:0; transition:filter .12s, transform .08s, background .12s;}
.btn:hover{filter:brightness(1.1);}
.btn:active{transform:translateY(1px);}
.btn:disabled{opacity:.45; cursor:default; filter:none;}
.btn.ok{background:var(--ok); color:#08210f;}
.btn.danger{background:var(--danger); color:#fff;}
.btn.sm{padding:7px 12px; font-size:12px; border-radius:7px;}
.btn.block{width:100%;}

/* ── Formulaire ── */
.form-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px 16px;}
.field{margin-bottom:0;}
.field.full{grid-column:1 / -1;}
.field label{display:block; font-size:12px; color:var(--text-soft); text-transform:none; letter-spacing:0; margin-bottom:6px; font-weight:600;}
.field .hint{display:block; font-size:11px; color:var(--text-faint); margin-top:4px;}
.field input, .field select, .field textarea{
  width:100%; padding:10px 13px; border-radius:8px; color:var(--text); font-size:13.5px; outline:none;
  background:var(--surface-2); border:1px solid var(--border); font-family:inherit;
}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--primary);}
.field input::placeholder, .field textarea::placeholder{color:var(--text-faint);}
.field input:read-only{opacity:.7; cursor:not-allowed;}
.field textarea{resize:vertical; min-height:110px;}
.radio-group{display:flex; gap:10px;}
.radio-opt{flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 13px; border-radius:8px;
  border:1px solid var(--border); background:var(--surface-2); cursor:pointer; font-size:13px; font-weight:600; color:var(--text-soft); transition:all .14s;}
.radio-opt input{width:auto; box-shadow:none; padding:0;}
.radio-opt.checked{border-color:var(--primary); background:var(--primary-soft); color:var(--primary);}
.form-msg{font-size:12.5px; margin-top:4px; min-height:16px;}
.form-msg.ok{color:var(--ok); font-weight:600;} .form-msg.err{color:var(--danger); font-weight:600;}

/* ── Planning / liste d'animations ── */
.day-group{margin-bottom:18px;}
.day-group:last-child{margin-bottom:0;}
.day-title{font-size:12px; font-weight:700; color:var(--text-soft); text-transform:uppercase;
  letter-spacing:.5px; margin:0 0 9px 2px;}
.anim-list{display:flex; flex-direction:column; gap:9px;}
.anim-card{display:flex; align-items:center; gap:14px; border-radius:9px; padding:13px 16px; cursor:pointer;
  background:var(--surface); border:1px solid var(--border); box-shadow:0 4px 14px rgba(0,0,0,0.2); transition:transform .1s, box-shadow .1s, border-color .1s;}
.anim-card:hover{transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,0.3); border-color:var(--border-strong);}
.anim-time{font-weight:800; font-size:15.5px; color:var(--primary); min-width:56px; text-align:center;}
.anim-main{flex:1; min-width:0;}
.anim-title{font-weight:700; font-size:14.5px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.anim-meta{font-size:12px; color:var(--text-soft); margin-top:2px;}
.anim-badges{display:flex; gap:6px; flex-wrap:wrap; align-items:center;}
.badge{font-size:10.5px; text-transform:none; letter-spacing:0; border-radius:20px;
  padding:3px 10px; font-weight:600; white-space:nowrap; border:1px solid var(--border); color:var(--text-soft); background:var(--surface-2);}
.badge.diff-Facile{color:var(--ok); border-color:rgba(34,197,94,0.35); background:var(--ok-soft);}
.badge.diff-Moyenne{color:var(--warn); border-color:rgba(245,166,35,0.35); background:var(--warn-soft);}
.badge.diff-Difficile{color:var(--danger); border-color:rgba(239,68,68,0.35); background:var(--danger-soft);}
.badge.cap{color:var(--primary); border-color:rgba(91,141,239,0.35); background:var(--primary-soft);}
.badge.cap.full{color:var(--danger); border-color:rgba(239,68,68,0.35); background:var(--danger-soft);}
.badge.type-note{color:var(--primary); border-color:rgba(91,141,239,0.35); background:var(--primary-soft);}
.badge.type-warn{color:var(--warn); border-color:rgba(245,166,35,0.35); background:var(--warn-soft);}
.badge.type-sanction{color:var(--danger); border-color:rgba(239,68,68,0.35); background:var(--danger-soft);}
.badge.on-duty{color:var(--ok); border-color:rgba(34,197,94,0.35); background:var(--ok-soft);}
.empty-hint{color:var(--text-faint); text-align:center; padding:30px 10px;}

/* ── Modale détail animation ── */
.modal-overlay{position:fixed; inset:0; z-index:50; background:rgba(4,5,9,0.7); backdrop-filter:blur(2px);
  display:flex; align-items:flex-start; justify-content:center; padding:56px 20px; overflow-y:auto;}
.modal{width:100%; max-width:560px; border-radius:10px; border:1px solid var(--border);
  background:var(--surface); box-shadow:0 26px 60px rgba(0,0,0,0.5);}
.modal-head{display:flex; align-items:center; justify-content:space-between; padding:16px 22px; border-bottom:1px solid var(--border);}
.modal-head h3{margin:0; font-size:16px; color:var(--text); letter-spacing:0;}
.modal-close{background:transparent; border:none; color:var(--text-soft); font-size:20px; cursor:pointer; line-height:1;}
.modal-close:hover{color:var(--danger);}
.modal-body{padding:16px 22px 22px; display:flex; flex-direction:column; gap:16px;}
.det-row{display:flex; gap:10px; flex-wrap:wrap;}
.det-item{font-size:13px; color:var(--text-soft);}
.det-item b{color:var(--text); font-weight:700;}
.det-desc{font-size:13.5px; line-height:1.6; color:var(--text); white-space:pre-wrap;}
.det-section-title{font-size:11px; font-weight:700; color:var(--text-soft); text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px;}
.signup-list{display:flex; flex-direction:column; gap:6px;}
.signup-row{display:flex; align-items:center; gap:10px; border-radius:8px; padding:8px 12px;
  background:var(--surface-2); border:1px solid var(--border); font-size:13px; color:var(--text);}
.signup-row .tag{font-size:10px; color:var(--primary); text-transform:none; letter-spacing:0; font-weight:700; margin-left:auto;}
.modal-empty{color:var(--text-faint); text-align:center; padding:8px;}

@media (max-width:720px){
  .form-grid{grid-template-columns:1fr;}
  .anim-card{flex-wrap:wrap;}
}

/* ── Accueil : choix du panel ── */
.panel-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:820px; margin:36px auto 0;}
.panel-card{display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; padding:36px 28px;
  border-radius:14px; background:var(--surface); border:1px solid var(--border); box-shadow:0 12px 32px rgba(0,0,0,0.32);
  text-decoration:none; transition:transform .12s, box-shadow .12s, border-color .12s;}
.panel-card:hover{transform:translateY(-3px); box-shadow:0 18px 40px rgba(0,0,0,0.42); border-color:var(--border-strong);}
.panel-icon{width:64px; height:64px; border-radius:16px; background:var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-size:30px;}
.panel-card h3{margin:0; font-size:18px; color:var(--text); letter-spacing:.2px;}
.panel-card p{margin:0; font-size:13px; color:var(--text-soft); line-height:1.55;}
@media (max-width:640px){
  .panel-grid{grid-template-columns:1fr;}
}

/* ── Administration : liste de comptes (chips de role) ── */
.users-toolbar{display:flex; gap:10px; margin-bottom:14px;}
.users-toolbar input{flex:1; padding:10px 13px; border-radius:8px; border:1px solid var(--border); background:var(--surface-2);
  color:var(--text); font-family:inherit; font-size:13.5px; outline:none;}
.users-toolbar input:focus{border-color:var(--primary);}
.user-row{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  border-radius:9px; padding:12px 14px; background:var(--surface-2); border:1px solid var(--border);}
.user-identity{display:flex; align-items:center; gap:10px; min-width:0;}
.user-identity img{width:30px; height:30px; border-radius:50%; flex:0 0 auto;}
.user-identity b{font-size:13.5px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.user-actions{display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:flex-end;}
.role-chip{display:inline-flex; align-items:center; gap:5px; padding:6px 12px; border-radius:20px; border:1px solid var(--border);
  background:var(--surface); color:var(--text-faint); font-size:11.5px; font-weight:700; letter-spacing:.2px;
  cursor:pointer; transition:all .14s; white-space:nowrap;}
.role-chip:hover{border-color:var(--border-strong); color:var(--text-soft);}
.role-chip:disabled{opacity:.4; cursor:default;}
.role-chip .dot{width:7px; height:7px; border-radius:50%; background:currentColor; opacity:.5;}
.role-chip.on{color:var(--text);}
.role-chip.on .dot{opacity:1;}
.role-chip.on.role-wl{background:var(--primary-soft); border-color:rgba(91,141,239,.4); color:var(--primary);}
.role-chip.on.role-anim{background:var(--ok-soft); border-color:rgba(34,197,94,.4); color:var(--ok);}
.role-chip.on.role-mod{background:var(--warn-soft); border-color:rgba(245,166,35,.4); color:var(--warn);}
.role-chip.on.role-admin{background:var(--danger-soft); border-color:rgba(239,68,68,.4); color:var(--danger);}
.badge.new-locker{color:var(--danger); border-color:rgba(239,68,68,.4); background:var(--danger-soft); font-weight:800; animation:new-locker-pulse 2s ease-in-out infinite;}
@keyframes new-locker-pulse{0%,100%{opacity:1;}50%{opacity:.55;}}

/* ── Rendu du Règlement Interne (formatage façon Discord) ── */
.rich-text{font-size:13.5px; line-height:1.65; color:var(--text);}
.rich-text .rt-h1{font-size:19px; font-weight:800; margin:16px 0 8px; color:var(--text);}
.rich-text .rt-h2{font-size:16px; font-weight:700; margin:14px 0 6px; color:var(--text);}
.rich-text .rt-h3{font-size:13px; font-weight:700; margin:12px 0 5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.4px;}
.rich-text .rt-h1:first-child, .rich-text .rt-h2:first-child, .rich-text .rt-h3:first-child{margin-top:0;}
.rich-text .rt-p{margin:0 0 4px;}
.rich-text .rt-gap{height:10px;}
.rich-text .rt-quote{border-left:3px solid var(--border-strong); padding:5px 12px; margin:6px 0; color:var(--text-soft); background:var(--surface-2); border-radius:0 6px 6px 0;}
.rich-text .rt-list{margin:4px 0 8px; padding-left:22px;}
.rich-text .rt-list li{margin-bottom:3px;}
.rich-text code{background:var(--surface-2); border:1px solid var(--border); border-radius:5px; padding:1px 6px; font-family:"Courier New",monospace; font-size:12.5px; color:var(--warn);}
.rich-text .rt-pre{background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:10px 14px; margin:8px 0; overflow-x:auto;}
.rich-text .rt-pre code{background:none; border:none; padding:0; color:var(--text);}
.rich-text u{text-decoration:underline;}
.rich-text s{text-decoration:line-through; opacity:.75;}

/* ── Selecteur d'images (formulaires de casier) ── */
.image-picker-input{display:block; font-size:12.5px; color:var(--text-soft);}
.image-picker{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px;}
.image-picker:empty{margin-top:0;}
.img-pick{position:relative; width:64px; height:64px; border-radius:8px; overflow:hidden; border:1px solid var(--border); flex:0 0 auto;}
.img-pick img{width:100%; height:100%; object-fit:cover; display:block;}
.img-pick button{position:absolute; top:2px; right:2px; width:18px; height:18px; border-radius:50%; border:none;
  background:rgba(4,5,9,0.75); color:#fff; font-size:10px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.img-pick button:hover{background:var(--danger);}
.img-pick.uploading{opacity:.5;}

/* ── Galerie d'images (lecture d'une entree de casier) ── */
.locker-images{display:flex; gap:8px; flex-wrap:wrap; margin-top:4px;}
.locker-images a{display:block; width:88px; height:88px; border-radius:8px; overflow:hidden; border:1px solid var(--border); flex:0 0 auto;}
.locker-images img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .15s;}
.locker-images a:hover img{transform:scale(1.07);}

/* ── Page dediee : lecture des casiers cote staff ── */
.reader-sidebar{width:300px; flex:0 0 300px; display:flex; flex-direction:column; padding:18px 15px; margin:14px 0 14px 14px; border-radius:10px;
  background:var(--surface); border:1px solid var(--border); box-shadow:0 12px 32px rgba(0,0,0,0.35);}
.reader-search{padding:10px 13px; border-radius:8px; border:1px solid var(--border); background:var(--surface-2); color:var(--text);
  font-family:inherit; font-size:13px; width:100%; outline:none;}
.reader-search:focus{border-color:var(--primary);}
.reader-item{display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px; cursor:pointer; border:1px solid transparent;
  border-left:3px solid transparent; transition:background .14s, border-color .14s;}
.reader-item:hover{background:var(--surface-hover);}
.reader-item.active{background:var(--primary-soft); border-left-color:var(--primary);}
.reader-item img{width:28px; height:28px; border-radius:50%; flex:0 0 auto; border:1px solid var(--border-strong);}
.reader-item .ri-name{font-weight:600; font-size:13px; color:var(--text-soft); flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.reader-item.active .ri-name{color:var(--primary);}
.reader-main{flex:1; min-width:0; overflow-y:auto; display:flex; flex-direction:column; gap:16px; padding:20px 22px;}
.reader-main > .card{flex-shrink:0;}
.reader-feed{display:flex; flex-direction:column; gap:14px; flex-shrink:0;}
@media (max-width:900px){ .reader-sidebar{width:240px; flex-basis:240px;} }
@media (max-width:640px){ .reader-sidebar{width:auto; margin:14px;} }
.user-link{font-size:12px; color:var(--primary); text-decoration:none; font-weight:600; white-space:nowrap;}
.user-link:hover{text-decoration:underline;}

/* ── Planning (horaires recurrents des moderateurs) ── */
.sched-editor{display:flex; flex-direction:column; gap:12px;}
.sched-day-editor{border:1px solid var(--border); border-radius:9px; padding:12px 14px; background:var(--surface-2);}
.sched-day-editor-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:8px;}
.sched-day-editor-head b{font-size:13px; text-transform:capitalize; color:var(--text);}
.sched-slots{display:flex; flex-direction:column; gap:6px;}
.sched-slot-row{display:flex; align-items:center; gap:8px;}
.sched-slot-row input[type="time"]{padding:8px 10px; border-radius:7px; border:1px solid var(--border); background:var(--surface); color:var(--text); font-family:inherit; font-size:13px;}
.sched-slot-row span{color:var(--text-faint); font-size:12px;}

.sched-legend{font-size:11.5px; color:var(--text-faint); margin-bottom:12px; letter-spacing:.3px;}
.sched-grid{display:flex; flex-direction:column; gap:6px; overflow-x:auto; padding-bottom:4px;}
.sched-grid-head, .sched-grid-row{display:grid; grid-template-columns:170px repeat(6, 1fr); gap:8px; align-items:center; min-width:720px;}
.sched-grid-head{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--text-soft); padding-bottom:8px; border-bottom:1px solid var(--border); margin-bottom:2px;}
.sched-grid-head > div:not(:first-child){text-align:center;}
.sched-row-name{display:flex; align-items:center; gap:8px; min-width:0;}
.sched-row-name img{width:24px; height:24px; border-radius:50%; flex:0 0 auto; border:1px solid var(--border-strong);}
.sched-row-name span{font-size:12.5px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.sched-track{position:relative; height:22px; border-radius:5px; border:1px solid var(--border); background-color:var(--surface-2);
  background-image:
    repeating-linear-gradient(90deg, var(--border-strong) 0, var(--border-strong) 1px, transparent 1px, transparent 20%),
    repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 5%);}
.sched-bar{position:absolute; top:2px; bottom:2px; border-radius:4px; opacity:.88; min-width:3px;}
@media (max-width:640px){ .sched-slot-row{flex-wrap:wrap;} }

/* ── Horloge en direct (carte "Normalement disponible") ── */
.live-clock{font-size:12.5px; color:var(--text-soft); display:flex; align-items:baseline; gap:6px;}
.live-clock #live-clock{font-variant-numeric:tabular-nums; font-weight:700; color:var(--primary); font-size:14px;}
.live-clock #live-clock-day{text-transform:capitalize;}
