.floor-box-module{margin-top:1rem;padding:1rem;border:1px solid var(--border,#d5e0e3);border-radius:14px;background:var(--surface,#fff)}
.floor-box-toolbar,.floor-box-card>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.floor-box-toolbar h2,.floor-box-card h3,.floor-box-pile h4{margin:.15rem 0}.floor-box-toolbar p,.floor-box-card header p{margin:.2rem 0;color:var(--muted,#65777d)}
.floor-box-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,470px),1fr));gap:1rem;margin-top:1rem}.floor-box-card{padding:1rem;border:1px solid var(--border,#d5e0e3);border-radius:12px;background:#fbfdfd}.floor-box-state{padding:.3rem .6rem;border-radius:999px;background:#f0f1f2;color:#65777d;font-size:.75rem;font-weight:700}.floor-box-state.is-active{background:#e4f4ee;color:#126448}
.floor-box-piles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem;margin-top:.8rem}.floor-box-pile{padding:.75rem;border-radius:10px;background:#f3f7f8}.floor-box-pile h4 small{display:block;color:#65777d;font-size:.75rem;font-weight:500}.floor-box-stack{display:flex;flex-direction:column;gap:.35rem;margin:.6rem 0}.floor-box-level{display:grid;grid-template-columns:2.5rem 1fr;gap:.15rem .45rem;padding:.45rem;border:1px solid #d5e0e3;border-radius:8px;background:white;font-size:.82rem}.floor-box-level>b{grid-row:span 2;color:#006b73}.floor-box-level>small{grid-column:2;color:#65777d;overflow-wrap:anywhere}.floor-box-level.occupied{border-left:3px solid #0b7a69}.floor-box-level.free{color:#66777d;border-style:dashed}.floor-box-level.blocked{border-left-color:#d97706;background:#fffaf0}.floor-box-level button{grid-column:2;justify-self:start;margin-top:.25rem}
.floor-box-create{margin:1rem 0;padding:1rem;border:1px solid #bfd3d7;border-radius:12px;background:#f7fbfb}.floor-box-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.65rem}.floor-box-form-grid label,.floor-box-pile-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.86rem}.floor-box-form-grid input,.floor-box-form-grid select,.floor-box-pile-form input,.floor-box-pile-form select{min-height:2.35rem}.floor-box-pile-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.65rem;margin:.8rem 0;padding:.8rem;border:1px solid #d5e0e3;border-radius:10px;background:white}.floor-box-pile-form legend{padding:0 .3rem;font-weight:700;color:#005b66}.floor-box-check{display:flex!important;flex-direction:row!important;align-items:center;gap:.45rem!important}.floor-box-check input{min-height:auto}.floor-box-actions{display:flex;gap:.5rem;margin-top:.8rem}.floor-box-available{margin-top:1rem}.floor-box-available h3{margin-bottom:.5rem}
@media(max-width:680px){.floor-box-toolbar,.floor-box-card>header{align-items:flex-start;flex-direction:column}.floor-box-grid{grid-template-columns:1fr}.floor-box-piles{grid-template-columns:1fr}.floor-box-actions button{flex:1}}
