/* Protection contre les captures d'écran (activée dans Administration › Sécurité) */
html.yc-nocopy body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.yc-nocopy input, html.yc-nocopy textarea, html.yc-nocopy select, html.yc-nocopy [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html.yc-guard img, html.yc-guard video { -webkit-user-drag: none; user-drag: none; }
#yc-shield { position: fixed; inset: 0; z-index: 2147483647; background: #019c4a; color: #fff; display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; font: 700 18px/1.4 system-ui, sans-serif; }
#yc-shield.on { display: flex; }
#yc-shield .yc-sh-box { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 440px; }
#yc-shield img { width: 96px; height: 96px; border-radius: 24px; border: 3px solid #fff; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
#yc-shield .yc-sh-name { font-size: 24px; font-weight: 900; letter-spacing: .5px; }
#yc-shield .yc-sh-msg { font-size: 16px; font-weight: 700; color: #fff; margin-top: 18px; background: rgba(0,0,0,.28); padding: 10px 16px; border-radius: 12px; }
#yc-wm { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: .07; background-repeat: repeat; }
@media print {
  html.yc-guard body > * { display: none !important; }
  html.yc-guard body::after { content: "Impression désactivée sur YOCOLO CI"; display: block; padding: 40px; font: 700 20px sans-serif; }
}
#yc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483646; background: #111827; color: #fff; padding: 10px 16px; border-radius: 12px; font: 700 14px/1.3 system-ui, sans-serif; display: none; max-width: 90vw; text-align: center; }
#yc-toast.on { display: block; }
