/* ===== Stockage des scellés (maquette d09) ===== */
.stk-resume { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.stk-resume strong { color: var(--texte); font-weight: 600; }
.stk-orange, .stk-orange strong { color: #B45309; }
.stk-actions { align-items: center; }
.stk-recherche .inp { width: 240px; max-width: 100%; }
.stk-corps { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.stk-plan { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.stk-aucun {
    display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 40px; border-radius: 8px;
    border: 1px solid #F3D9A4; background: #FFF8EB; color: #7C4A03; text-decoration: none; font-size: 14px;
}
.stk-aucun:hover { color: #7C4A03; }
.stk-aucun.on { outline: 2px solid var(--vert); outline-offset: 2px; }
.stk-voir { margin-left: auto; font-size: 13px; }
.stk-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; }
.stk-zone { display: flex; flex-direction: column; gap: 12px; }
.stk-zone-tete { display: flex; align-items: center; gap: 8px; padding: 0 2px; font-size: 14px; }
.stk-zone-tete .pt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.stk-zone-tete .fort { font-weight: 600; }
.stk-temp { font-size: 12px; color: var(--texte-3); }
.stk-total { margin-left: auto; font-size: 12px; color: #A1A1AA; }
.stk-meuble { display: flex; flex-direction: column; gap: 4px; }
.stk-meuble-nom { font-size: 12px; font-weight: 500; color: var(--texte-3); padding: 0 2px 2px; }
.stk-niv {
    display: flex; align-items: center; gap: 8px; width: 100%; height: 36px; padding: 0 12px; border-radius: 8px;
    box-sizing: border-box; border: 1px solid #EDEDED; background: #fff; color: var(--texte); text-decoration: none;
}
.stk-niv:hover { color: var(--texte); border-color: #D4D4D8; }
.stk-niv.plein { border-color: #EEF6F3; background: #EEF6F3; }
.stk-niv.on { outline: 2px solid var(--vert); outline-offset: 2px; }
.stk-niv.trouve { outline: 2px solid #D97706; outline-offset: 2px; }
.stk-niv.estompe { opacity: .4; }
.stk-niv-lib { flex: 1; font-size: 13px; }
.stk-pt-alerte { width: 6px; height: 6px; border-radius: 50%; background: #D97706; flex: none; }
.stk-niv-n { font-size: 12px; color: #C4C4C8; }
.stk-niv.plein .stk-niv-n { color: var(--vert-encre); font-weight: 600; }

.stk-detail { flex: 1 1 320px; min-width: 0; }
.stk-detail-tete { padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.stk-sous { font-size: 12px; color: #A1A1AA; }
.stk-titre { font-size: 16px; font-weight: 600; }
.stk-code { padding: 0 16px 12px; display: flex; align-items: center; gap: 12px; }
.stk-code-cb { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stk-code-cb .mono { font-size: 11px; color: var(--texte-3); }
.stk-code-cb .cb { max-width: 100%; }
.lien { font: inherit; font-size: 13px; padding: 0; border: none; background: none; color: var(--vert); cursor: pointer; white-space: nowrap; }
.lien:hover { color: var(--vert-encre); }
.stk-compte { border-top: 1px solid #F0F0F0; padding: 10px 16px; font-size: 12px; color: var(--texte-3); }
.stk-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--fond-doux); }
.stk-item.trouve { background: #FFF8EB; }
.stk-item input[type=checkbox] { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--vert); flex: none; }
.stk-item-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
a.stk-item-corps:hover { color: inherit; }
a.stk-item-corps:hover .stk-item-l1 .mono { text-decoration: underline; }
.stk-item-l1 { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.stk-item-l1 .mono { font-weight: 500; font-size: 13px; }
.stk-warn { font-size: 12px; font-weight: 500; color: #B45309; }
.stk-pos { margin-left: auto; font-size: 12px; color: #A1A1AA; }
.stk-item-l2 { font-size: 12px; color: var(--texte-3); }
.stk-vide { font-size: 13px; }
.stk-ranger { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid #F0F0F0; }
.stk-ranger-titre { font-size: 14px; font-weight: 600; }
.stk-ranger select.inp { width: 100%; }
.stk-conseil { margin: 0; font-size: 12px; color: var(--texte-3); }

/* ===== Lieux de stockage (maquette d15) ===== */
.lx-inline { display: inline-flex; margin: 0; }
.lx-onglets { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-onglet {
    font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
    border-radius: 999px; background: #fff; border: 1px solid var(--bord); color: #3F3F46; text-decoration: none;
}
.lx-onglet:hover { color: var(--texte); border-color: #D4D4D8; }
.lx-onglet.on { background: var(--vert); border-color: var(--vert); color: #fff; box-shadow: 0 1px 2px rgba(20, 83, 63, .25); }
.lx-n { font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: var(--fond-doux); color: var(--texte-2); }
.lx-onglet.on .lx-n { background: rgba(255, 255, 255, .2); color: #fff; }
.lx-code-col { width: 70px; }
.lx-gris { color: var(--texte-3); }
.lx-nom-frigo { max-width: 220px; }
.lx-consigne { max-width: 160px; }
.lx-nb { font-size: 13px; font-weight: 600; min-width: 28px; display: flex; align-items: center; justify-content: center; }
.seg form button { font: inherit; font-size: 13px; font-weight: 500; height: 30px; min-width: 30px; padding: 0 10px; border: none; border-radius: 6px; background: transparent; color: var(--texte-2); cursor: pointer; }
.seg form button:hover:not(:disabled) { color: var(--texte); background: #fff; }
.seg form button:disabled { color: #C4C4C8; cursor: default; }
.lx-acts { display: inline-flex; gap: 6px; }
.lx-btn32 { height: 32px; }
.lx-btn28 { height: 28px; }
.lx-carre { width: 32px; }
.lx-btn28.lx-carre { width: 28px; }
.btn.dang { color: #B42318; }
.btn.dang:hover:not(:disabled) { background: #FEF3F2; border-color: #FECDCA; }
.btn:disabled { color: #A1A1AA; background: #fff; border-color: #EFEFEF; box-shadow: none; cursor: default; }
.lx-nu { border: none; box-shadow: none; background: transparent; }
.lx-pied { padding: 12px 16px; border-top: 1px solid #F0F0F0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lx-aide { margin: 0; font-size: 13px; color: #A1A1AA; }

.lx-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; align-items: start; }
.lx-zones > .panel { position: relative; }
.lx-zone-tete { display: flex; align-items: center; gap: 8px; padding: 12px 52px 12px 16px; border-bottom: 1px solid #F0F0F0; }
.lx-zone-suppr { position: absolute; top: 12px; right: 12px; }
.lx-pt { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lx-champ {
    font: inherit; font-size: 13px; height: 32px; border: 1px solid transparent; border-radius: 6px; padding: 0 8px;
    background: transparent; color: var(--texte); min-width: 0; box-sizing: border-box;
}
.lx-champ:hover { border-color: var(--bord); }
.lx-champ:focus { outline: none; border-color: var(--vert); background: #fff; box-shadow: 0 0 0 3px rgba(31, 111, 92, .14); }
.lx-zone-nom { flex: 1; font-size: 15px; font-weight: 600; }
.lx-zone-temp { width: 96px; color: var(--texte-3); }
.lx-meuble { padding: 12px 16px; border-bottom: 1px solid var(--fond-doux); display: flex; flex-direction: column; gap: 10px; }
.lx-meuble-tete { display: flex; align-items: center; gap: 8px; }
.lx-meuble-code { font-size: 12px; color: #A1A1AA; width: 28px; flex: none; }
.lx-grandit { flex: 1; display: flex; min-width: 0; }
.lx-meuble-nom { flex: 1; font-weight: 500; }
.lx-utilise { font-size: 12px; color: #A1A1AA; white-space: nowrap; }
.lx-niveaux { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 36px; }
.lx-niv { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px 0 2px; border-radius: 8px; background: #FAFAFA; border: 1px solid #EDEDED; }
.lx-niv form { display: flex; }
.lx-niv-nom { height: 26px; width: 88px; font-size: 12px; }
.lx-niv-n { font-size: 11px; font-weight: 600; color: var(--vert-encre); padding: 0 4px; }
.lx-niv-x { width: 22px; height: 22px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #A1A1AA; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lx-niv-x:hover { color: #B42318; background: #FEF3F2; }
.lx-plus-emp { font: inherit; font-size: 12px; font-weight: 500; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px dashed #D4D4D8; background: #fff; color: var(--vert); cursor: pointer; }
.lx-ajout-meuble { padding: 10px 16px; }
.lx-ajout-meuble .lien { font-weight: 500; padding: 4px 0; }
.lx-ajout-zone { font: inherit; font-size: 14px; font-weight: 500; min-height: 120px; width: 100%; border-radius: 12px; border: 1px dashed #D4D4D8; background: #FAFAFA; color: var(--vert); cursor: pointer; }
.lx-zones > form.lx-inline { display: flex; }
.lx-ph-aide { font-weight: 400; color: var(--texte-3); font-size: 13px; }
.lx-centre { text-align: center !important; }
.lx-th-temp { font-weight: 400; color: #A1A1AA; }
.lx-type-code { margin-right: 8px; }
.lx-case { width: 17px; height: 17px; accent-color: var(--vert); cursor: pointer; }
@media (max-width: 520px) {
    .lx-zones { grid-template-columns: 1fr; }
    .lx-niveaux { padding-left: 0; }
}
