/* Bureau 3D : conteneur, calque des étiquettes. Chaque direction redéfinit l'apparence des étiquettes. */
.b3d { position: relative; overflow: hidden; background-position: center; background-size: contain; background-repeat: no-repeat; }
.b3d[data-etat="pret"] { background-image: none !important; }
.b3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.b3d[data-etat="pret"] canvas { opacity: 1; }
.b3d-calque { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease .2s; direction: ltr; }
.b3d[data-etat="pret"] .b3d-calque { opacity: 1; }
.b3d-etiquette { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .4em; white-space: nowrap; will-change: transform;
  font: 600 12px/1 system-ui, sans-serif; color: #0d1117; background: #fff; border-radius: 8px; padding: .42em .65em;
  box-shadow: 0 1px 2px rgba(13,17,23,.08), 0 6px 16px -4px rgba(13,17,23,.18), 0 0 0 1px rgba(13,17,23,.06); }
.b3d-etiquette i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.b3d-etiquette[data-etat="travail"] { box-shadow: 0 1px 2px rgba(13,17,23,.08), 0 6px 16px -4px rgba(13,17,23,.18), 0 0 0 1.5px var(--c); }
.b3d-etiquette[data-etat="travail"] i { animation: b3d-halo 1.6s infinite; }
.b3d-detail { font-weight: 500; opacity: .62; }
.b3d-detail:empty { display: none; }
@keyframes b3d-halo { 0% { box-shadow: 0 0 0 0 var(--c); } 70%, 100% { box-shadow: 0 0 0 5px transparent; } }
@media (max-width: 640px) { .b3d-etiquette { font-size: 11px; padding: .34em .5em; } .b3d-detail { display: none; } }
@media (prefers-reduced-motion: reduce) { .b3d-etiquette i { animation: none; } }
