.warehouse-setup-grid .location-card{grid-column:1/-1;border:2px solid #788fd1;background:#f7faff}
#warehouseLocationForm{grid-template-columns:minmax(0,1fr);gap:12px}
#warehouseLocationForm label span,#warehouseLocationForm input,#warehouseLocationForm select,#warehouseLocationForm button{font-size:.875rem}
#warehouseLocationForm>b{font-size:1rem}
#warehouseLocationForm input,#warehouseLocationForm select{height:42px}
#warehouseLocationForm button{height:42px}
#warehouseSetupPanel .warehouse-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#warehouseSetupMessage{font-size:.875rem;padding:8px}
.structure-advanced{margin:12px;padding:12px;border:1px solid #c4cedf;border-radius:10px}
.structure-advanced summary{cursor:pointer;font-size:.875rem;font-weight:700}
.structure-advanced .structure-fields,.structure-advanced p{grid-column:1/-1}
.structure-advanced label:nth-of-type(3){grid-column:auto}
.structure-fields{display:grid;grid-template-columns:2fr 1.6fr repeat(4,1fr);gap:12px;align-items:end}
.structure-fields label{min-width:0}
.structure-fields input,.structure-fields select{width:100%;min-width:0}
.structure-mode{display:flex;gap:14px;align-items:end;flex-wrap:wrap}
.structure-mode label{min-width:210px}
.structure-plan{background:#e9eefb;border-left:4px solid #4561b8;padding:12px;margin:12px 0;color:#304c87;overflow-wrap:anywhere;font-size:.875rem}
.structure-note{font-size:.875rem;color:#56677f}
.warehouse-structure-list{margin-top:18px;border:2px solid #79acb9;border-radius:12px;padding:16px;background:#f8fcfd}
.warehouse-structure-list header{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.warehouse-structure-list input{max-width:100%;padding:9px;border:1px solid #a8c5d0;border-radius:8px}
.structure-scroll{max-height:340px;overflow:auto;margin-top:12px}
.structure-scroll table{border-collapse:collapse;width:100%;font-size:.875rem}
.structure-scroll th{position:sticky;top:0;background:#dfedf2;text-align:left}
.structure-scroll th,.structure-scroll td{padding:9px;border-bottom:1px solid #c6d9e0}
.structure-scroll small{display:block;color:#586f7c}
.structure-scroll code{overflow-wrap:anywhere;white-space:normal}
.structure-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:.875rem}
.structure-pagination button{padding:6px 12px}
@media(max-width:1100px){.structure-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.structure-fields{grid-template-columns:1fr 1fr}.structure-fields label:first-child{grid-column:1/-1}.structure-scroll th:last-child,.structure-scroll td:last-child{display:none}}
@media(max-width:650px){#warehouseSetupPanel .warehouse-setup-grid{grid-template-columns:1fr}}
