/* Chargement volontaire (src/skeleton.php), mêmes mesures que les pages réelles.
   Page d’ouverture de la démo (.dl-body, silhouette de l’accueil du back-office .dd-*) et voile de la première page après connexion
   dans l’administration (.dl-overlay, silhouette de la liste .dl-*). */
.dl-shell,.dl-shell *,.dd-shell,.dd-shell *{box-sizing:border-box}
.dl-body{margin:0;min-height:100vh;background:#f2f3f5;color:#1f2533;font:14px/1.4 var(--fox-font);overflow:hidden}
.dl-shell{display:grid;grid-template-columns:272px minmax(0,1fr);grid-template-rows:72px 1fr;min-height:100vh;color:#202329;font:15px/1.4 var(--fox-font,sans-serif)}
/* Voile : couvre la page qui se charge dessous, puis s’efface à 2 s */
.dl-overlay{position:fixed;inset:0;z-index:10060;overflow:hidden;background:#f8f9fa;animation:dl-out .3s ease 2s forwards}
@keyframes dl-out{to{opacity:0;visibility:hidden}}
html.bo-sidebar-collapsed .dl-overlay .dl-shell{grid-template-columns:minmax(0,1fr)}
html.bo-sidebar-collapsed .dl-overlay .dl-sidebar{display:none}
.dl-sidebar{grid-row:1/3;padding:18px 16px;border-right:1px solid #e4e6e9;background:#f8f9fa}
.dl-brand{display:flex;align-items:center;gap:10px;height:36px;margin-bottom:22px;padding:0 6px}
.dl-label{display:block;width:56px;height:9px;margin:20px 8px 10px}
.dl-nav{display:flex;align-items:center;gap:12px;height:38px;padding:0 10px}
.dl-ico{width:16px;height:16px;border-radius:4px}
.dl-header{display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;border-bottom:1px solid #e7e8ec}
.dl-account{display:flex;align-items:center;gap:10px}
.dl-avatar{width:32px;height:32px;border-radius:50%}
.dl-main{padding:32px clamp(20px,6vw,98px);min-width:0}
.dl-title{display:block;width:230px;height:30px;border-radius:4px}
.dl-filters{display:flex;justify-content:flex-end;gap:12px;margin-top:-4px}
.dl-field{width:150px;height:34px;border-radius:4px}
.dl-cta{display:block;width:74px;height:34px;margin-top:40px;border-radius:4px;--sk:#f6c7a3;--sk-hi:#fbe0cb}
.dl-tabs{display:flex;gap:28px;margin:36px 0 18px;padding-bottom:14px;border-bottom:1px solid #e7e8ec}
.dl-table{overflow:hidden;background:#fff;border:1px solid #e7e8ec;border-radius:4px}
.dl-row{display:grid;grid-template-columns:.9fr .6fr 1fr 1.6fr .8fr;align-items:center;gap:24px;min-height:74px;padding:0 20px;border-top:1px solid #f0f1f3}
.dl-row .sk{animation-delay:var(--d,0ms)}
.dl-head{min-height:48px;border-top:0;background:#fafbfc}
.dl-head .sk{width:60%;height:10px}
.dl-pill{width:62px;height:22px;border-radius:999px;--sk:#dff3e7;--sk-hi:#eefaf3}
.dl-stack{display:grid;gap:8px}
.dl-short{width:55%}
.dl-form{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);margin:0}
.dl-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.dl-form button{height:40px;padding:0 18px;border:0;border-radius:4px;background:#ed7c36;color:#fff;font:600 15px var(--fox-font);cursor:pointer}

/* Accueil du back-office (/dashboard) : templates/temp/back_office_page/pages/fcp2020_accueil/index.tpl, bloc « Accueil » de boot/css/fox-sobre.css */
.dd-shell{min-height:100vh}
/* Bandeau rouge de la démo (src/demo.php, fox_demo_bar_html) : 40 px au-dessus de l’en-tête */
.dd-demo-bar{position:fixed;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:center;height:40px;background:#c62828;--sk:rgba(255,255,255,.28);--sk-hi:rgba(255,255,255,.45)}
.dd-sidebar{position:fixed;top:100px;bottom:0;left:0;z-index:3;display:flex;flex-direction:column;width:240px;overflow:hidden;background:#fff;border-right:1px solid #dfe2e8}
/* Logo dans l’en-tête, comme la vraie page (header .logo, 240 px) : pas de trait entre le logo et le reste de l’en-tête */
.dd-logo{flex:none;width:240px;height:60px;padding:14px 18px}
.dd-logo img{display:block}
/* Nom du cabinet en tête du menu (.fox-entete-org : 64 px, bleu nuit) */
.dd-org-nom{flex:none;display:flex;align-items:center;height:64px;padding:12px 18px;background:#0f1f36;--sk:rgba(255,255,255,.14);--sk-hi:rgba(255,255,255,.26)}
.dd-section{flex:none;padding-bottom:6px}
.dd-section+.dd-section{margin-top:4px;border-top:1px solid #eceef2}
.dd-shell .dd-group{height:8px;margin:16px 18px 10px}
.dd-item{display:flex;align-items:center;gap:9px;height:38px;margin:2px 8px 0;padding-left:13px;border-radius:2px}
.dd-item.dd-sub{height:40px}
.dd-first .dd-item{height:38px;margin-top:2px}
.dd-on{padding-left:12px;background:#fdf0e6;border-left:3px solid #ed7c36;--sk:#f7d9c2;--sk-hi:#fbe9dc}
.dd-shell .dd-ico{flex:none;width:16px;height:16px;border-radius:4px}
.dd-shell .dd-chev{width:8px;height:8px;margin:0 14px 0 auto;border-radius:2px}
.dd-foot{position:absolute;right:0;bottom:0;left:0;padding:8px;background:#fff;border-top:1px solid #dfe2e8}
.dd-foot .dd-item{height:37px;margin:0;padding-left:12px}
.dd-top{position:fixed;top:40px;left:0;right:0;z-index:2;display:flex;align-items:center;height:60px;padding-right:31px;background:#0f1f36;--sk:rgba(255,255,255,.14);--sk-hi:rgba(255,255,255,.26)}
.dd-shell .dd-burger{flex:none;width:20px;height:14px;margin-left:17px;border-radius:4px}
.dd-org{display:flex;align-items:center;height:36px;margin-left:19px;padding:0 16px 0 10px;border-right:1px solid rgba(255,255,255,.16)}
.dd-crumb{display:flex;align-items:center;gap:8px;margin-left:17px}
.dd-btns{display:flex;gap:22px;margin-left:auto}
.dd-btn{display:flex;align-items:center;gap:10px;width:102px;height:34px;padding:0 13px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.35);border-radius:2px}
.dd-btn.dd-account{width:168px}
.dd-main{margin-left:240px;padding:124px 24px 24px;overflow:hidden;display:flex;flex-direction:column;gap:18px}
.dd-raccs{display:flex;gap:6px}.dd-raccs .sk{flex:1 1 0;height:40px;border-radius:4px}
/* Une : bonjour sur fond crème (gauche) et liste « À traiter aujourd’hui » (droite) */
.dd-une{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:341px;background:#fff;border:1px solid #f0dccb;border-radius:2px;overflow:hidden}
.dd-une-accueil{display:flex;flex-direction:column;gap:10px;padding:26px 28px 24px;background:#fdf0e6;--sk:#f6e1d0;--sk-hi:#fbeee3}
.dd-une-actions{display:flex;align-items:center;gap:18px;margin-top:auto}
.dd-shell .dd-cta{width:170px;height:38px;border-radius:2px;--sk:#efb58b;--sk-hi:#f6cdb0}
.dd-une-jour{padding:22px 26px 10px;border-left:1px solid #f0dccb}
.dd-jour-ligne{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:14px;min-height:64px;padding:12px 0}
.dd-jour-ligne+.dd-jour-ligne{border-top:1px solid #eceef2}
.dd-shell .dd-jour-nombre{justify-self:end;width:52px;height:30px;border-radius:4px}
.dd-jour-texte{display:grid;gap:7px}
/* Ruban des chiffres */
.dd-ruban{background:#fff;border:1px solid #eceef2;border-radius:2px}
.dd-ruban-tete{display:flex;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #eceef2}
.dd-ruban-titre{display:grid;gap:9px;flex:1}
.dd-periode{display:flex;gap:8px}
.dd-periode .sk{border-radius:2px}
.dd-cellules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.dd-cellule{display:grid;gap:8px;align-content:start;min-height:150px;padding:16px 20px 18px}
.dd-cellule+.dd-cellule{border-left:1px solid #eceef2}
.dd-mini{opacity:.6;margin-top:2px}
/* Priorités | état et remplissage */
.dd-grille{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px;align-items:start}
.dd-colonne{display:grid;gap:14px}
.dd-avancement{margin-bottom:14px}.dd-puces.dd-puces-larges .sk{width:210px;height:32px;border-radius:16px}
.dd-parcours{display:grid;grid-template-columns:repeat(9,minmax(0,1fr))}.dd-parcours>span{display:grid;justify-items:center;gap:6px;padding:4px 6px}.dd-parcours>span+span{border-left:1px solid #eceef2}.dd-parcours>span .dd-parcours-barre{width:60%;max-width:46px;height:56px}
@media(max-width:900px){.dd-parcours{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:10px}}
.dd-carte{display:flex;flex-direction:column;gap:14px;padding:18px 20px;background:#fff;border:1px solid #eceef2;border-radius:2px}
.dd-carte-tete{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid #eceef2}
.dd-puces{display:flex;gap:6px}
.dd-puces .sk{width:96px;height:30px;border-radius:15px}
.dd-legende .sk{width:84px;height:14px;border-radius:4px}
.dd-ligne{display:flex;align-items:center;gap:12px;min-height:73px;padding:11px 0;border-bottom:1px solid #eceef2}
.dd-repere{display:grid;gap:5px;align-self:stretch;align-content:center;width:84px;padding-right:10px;border-right:2px solid #f2f3f5}
.dd-ligne-texte{display:grid;gap:7px;flex:1;min-width:0}
.dd-shell .dd-bouton{width:110px;height:32px;border-radius:2px}
.dd-barre{display:grid;gap:5px}
.dd-jauge{display:grid;grid-template-columns:96px repeat(3,minmax(0,1fr));align-items:center;gap:12px}
.dd-jauge .sk{height:44px;border-radius:2px}
.dd-jauge .dd-rond{width:96px;height:96px;border-radius:50%}
@media(max-width:991px){.dd-org{display:none}}
@media(max-width:1280px){.dd-cellules{grid-template-columns:repeat(3,minmax(0,1fr))}.dd-cellule:nth-child(4){border-left:0}.dd-cellule:nth-child(n+4){border-top:1px solid #eceef2}}
@media(max-width:1024px){.dd-une,.dd-grille{grid-template-columns:minmax(0,1fr)}.dd-une-jour{border-left:0;border-top:1px solid #f0dccb}}
@media(max-width:768px){
  .dd-logo{width:auto}
  .dd-crumb,.dd-btns{display:none}
  .dd-main{margin-left:0}
  .dd-cellules{grid-template-columns:minmax(0,1fr)}
  .dd-cellule+.dd-cellule{border-left:0;border-top:1px solid #eceef2}
}

/* Barres : reflet qui glisse, décalé par ligne */
.sk{display:block;height:12px;border-radius:4px;background:linear-gradient(90deg,var(--sk,#e9ebef) 0%,var(--sk-hi,#f5f6f8) 45%,var(--sk,#e9ebef) 90%) 0 0/300% 100%;animation:sk-shine 1.3s ease-in-out infinite}
@keyframes sk-shine{from{background-position:100% 0}to{background-position:-50% 0}}

@media(max-width:860px){
  .dl-shell{grid-template-columns:minmax(0,1fr)}
  .dl-sidebar{display:none}
  .dl-header{padding:0 20px}
  .dl-header>.sk{width:120px!important}
  .dl-account>.sk:not(.dl-avatar){display:none}
  .dl-title{max-width:70%}
  .dl-filters{justify-content:flex-start;margin-top:18px}
  .dl-field{flex:1;min-width:0}
  .dl-row{grid-template-columns:1fr 1fr;gap:12px 20px;padding:14px 20px}
  .dl-row>:nth-child(n+3){display:none}
}
@media(prefers-reduced-motion:reduce){.sk{animation:none}.dl-overlay{animation-duration:1ms}}
