.terminal-settings-grid {align-items:start}
.terminal-settings-grid>.field {align-content:start}
.terminal-warehouses {min-width:0;margin:0;padding:0;border:0;font-size:13px;color:var(--text)}
.terminal-warehouses legend {padding:0;margin-bottom:7px;font-weight:600;color:#334967}
.terminal-warehouse-options {display:grid;gap:3px;max-height:176px;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.terminal-warehouse-option {display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;min-height:44px;padding:6px 8px;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}
.terminal-warehouse-option:hover {background:var(--surface-soft)}
.terminal-warehouse-option:has(input:checked) {background:var(--surface-strong,#eaf2fd)}
.terminal-warehouse-option input[type="checkbox"] {width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--primary)}
.terminal-warehouse-option input:focus-visible {outline:2px solid var(--primary);outline-offset:3px}
.terminal-warehouse-option small {display:block;font-size:12px;font-weight:400;color:var(--muted)}
.terminal-warehouses>small {display:block;margin-top:6px;line-height:1.4;color:var(--muted);font-size:12px}
.terminal-create-form {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.terminal-create-form>.terminal-warehouses {grid-column:1/-1}
.terminal-create-form .terminal-warehouse-options {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
@media(max-width:700px){.terminal-create-form {grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px) {.terminal-create-form>.terminal-warehouses {width:100%}}
