/* Composants D0 : toutes les classes publiques commencent par hc-. */
.hc-design { color: var(--hc-encre); font-family: var(--hc-police-texte); }
.hc-design *, .hc-design *::before, .hc-design *::after { box-sizing: border-box; }
.hc-titre { margin: 0; font: 500 clamp(1.9rem, 3vw, 2.5rem)/1.15 var(--hc-police-titre); letter-spacing: -.02em; }
.hc-sous-titre { margin: 0; font: 500 1.4rem/1.25 var(--hc-police-titre); }
.hc-legende { color: var(--hc-texte-secondaire); font-size: .78rem; font-weight: 700; }
.hc-actions, .hc-ligne-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hc-bouton { min-height: 44px; padding: 9px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; background: var(--hc-nuit); color: white; font: 700 14px var(--hc-police-texte); text-decoration: none; cursor: pointer; }
.hc-bouton:hover { color: white; background: #22344C; }
.hc-bouton--secondaire { background: white; border-color: var(--hc-nuit); color: var(--hc-nuit); }
.hc-bouton--secondaire:hover { background: var(--hc-ivoire); color: var(--hc-nuit); }
.hc-bouton--petit { min-height: 34px; padding: 6px 13px; border-radius: 10px; font-size: 12px; }
.hc-lien-annuler { border: 0; padding: 4px 0; background: transparent; color: var(--hc-texte-secondaire); font: 700 14px var(--hc-police-texte); text-decoration: none; cursor: pointer; }
.hc-lien-annuler:hover { color: var(--hc-encre); text-decoration: underline; }
.hc-bouton:disabled, .hc-lien-annuler:disabled { opacity: .55; cursor: not-allowed; }
.hc-pastille { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 3px 9px; border-radius: 999px; background: var(--hc-ivoire); color: var(--hc-encre); font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.hc-pastille--livraison, .hc-pastille--info { background: var(--hc-livraison-fond); color: var(--hc-livraison); }
.hc-pastille--livraison-restitution { background: var(--hc-livraison-restitution-fond); color: var(--hc-livraison-restitution); }
.hc-pastille--aller-retour { background: var(--hc-aller-retour-fond); color: var(--hc-aller-retour); }
.hc-pastille--attente { background: var(--hc-etat-attente-fond); color: var(--hc-etat-attente); }
.hc-pastille--succes { background: var(--hc-etat-succes-fond); color: var(--hc-etat-succes); }
.hc-pastille--erreur { background: var(--hc-etat-erreur-fond); color: var(--hc-etat-erreur); }
.hc-carte { background: white; border: 1px solid var(--hc-trait); border-radius: var(--hc-rayon); }
.hc-carte--contenu { padding: 20px; }
.hc-carte-entete { padding: 16px 20px; border-bottom: 1px solid var(--hc-trait); font-weight: 800; }
.hc-carte-corps { padding: 18px 20px; }
.hc-onglets { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--hc-trait); }
.hc-onglet { display: inline-flex; align-items: center; gap: 6px; padding: 10px 2px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--hc-texte-secondaire); font: 700 14px var(--hc-police-texte); text-decoration: none; white-space: nowrap; cursor: pointer; }
.hc-onglet:hover { color: var(--hc-encre); }
.hc-onglet[aria-current='page'], .hc-onglet[aria-selected='true'], .hc-onglet--actif { border-bottom-color: var(--hc-cuivre); color: var(--hc-encre); }
.hc-liste { overflow: hidden; }
.hc-liste-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--hc-trait); color: var(--hc-encre); font-size: 13px; text-decoration: none; }
.hc-liste-ligne:first-child { border-top: 0; }
.hc-liste-ligne:is(a,button):hover { background: var(--hc-ivoire); color: var(--hc-encre); }
.hc-tableau-defilement { overflow-x: auto; }
.hc-tableau { width: 100%; border-collapse: collapse; background: white; font-size: 13px; }
.hc-tableau th, .hc-tableau td { padding: 13px 16px; border-bottom: 1px solid var(--hc-trait); text-align: left; vertical-align: middle; }
.hc-tableau th { color: var(--hc-texte-secondaire); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hc-champ { display: flex; flex-direction: column; gap: 6px; }
.hc-champ label, .hc-champ .hc-champ-libelle { font-size: 12px; font-weight: 800; }
.hc-saisie { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--hc-trait); border-radius: 12px; background: white; color: var(--hc-encre); font: 600 14px var(--hc-police-texte); }
textarea.hc-saisie { min-height: 96px; resize: vertical; }
.hc-saisie:focus-visible, .hc-bouton:focus-visible, .hc-lien-annuler:focus-visible, .hc-onglet:focus-visible, .hc-info:focus-visible { outline: 2px solid var(--hc-cuivre); outline-offset: 2px; }
.hc-aide { color: var(--hc-texte-secondaire); font-size: 12px; }
.hc-fenetre-fond { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; overflow-y: auto; padding: 60px 16px; background: rgba(14,26,43,.55); }
.hc-fenetre { width: min(100%, 640px); overflow: hidden; border-radius: var(--hc-rayon); background: white; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.hc-fenetre-entete, .hc-fenetre-pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; }
.hc-fenetre-entete { border-bottom: 1px solid var(--hc-trait); }
.hc-fenetre-corps { padding: 20px 26px; }
.hc-fenetre-pied { justify-content: flex-end; border-top: 1px solid var(--hc-trait); background: var(--hc-ivoire); }
.hc-alerte { padding: 12px 14px; border: 1px solid currentColor; border-radius: 12px; font-size: 13px; font-weight: 700; }
.hc-alerte--info { background: var(--hc-bleu-fond); color: var(--hc-bleu); }
.hc-alerte--attente { background: var(--hc-ambre-fond); color: var(--hc-ambre); }
.hc-alerte--succes { background: var(--hc-vert-fond); color: var(--hc-vert); }
.hc-alerte--erreur { background: var(--hc-rouge-fond); color: var(--hc-rouge); }
.hc-info { display: inline-grid; width: 22px; height: 22px; place-items: center; border: 1px solid #C9C3B6; border-radius: 50%; background: transparent; color: var(--hc-texte-secondaire); font: italic 700 11px var(--hc-police-titre); cursor: help; }
.hc-a-traiter { overflow: hidden; }
.hc-a-traiter-entete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; color: white; font-size: 14px; font-weight: 800; }
.hc-a-traiter--ambre .hc-a-traiter-entete { background: var(--hc-ambre); }
.hc-a-traiter--bleu .hc-a-traiter-entete { background: var(--hc-bleu); }
.hc-a-traiter--rouge .hc-a-traiter-entete { background: var(--hc-rouge); }
.hc-a-traiter-nombre { padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.18); color: white; font-size: 12px; }
.hc-design [hidden] { display: none !important; }
.hc-design[hidden] { display: none !important; }
