.nomenclature-tabs{display:flex;gap:8px;margin:0 0 16px}.nomenclature-tabs button{border:1px solid var(--border);background:#fff;color:var(--text);border-radius:10px;padding:9px 14px;font-weight:700}.nomenclature-tabs button.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-dark)}
.nomenclature-panel{display:grid;gap:16px}.nomenclature-create-form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(110px,.5fr) minmax(200px,1fr) auto auto;gap:14px;align-items:end;padding:18px}.nomenclature-create-form h2{margin:0 0 4px}.nomenclature-create-form p{margin:0}.nomenclature-create-form label{display:grid;gap:6px}.nomenclature-create-form .switch-row{display:flex;align-items:center;padding-bottom:10px}.nomenclature-cell-input{min-width:130px;width:100%}.nomenclature-code-input{min-width:90px;max-width:130px;text-transform:uppercase}.nomenclature-order-input{min-width:90px;max-width:120px}.nomenclature-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.nomenclature-status input{width:auto}.nomenclature-usage{display:grid;gap:2px}.nomenclature-usage strong{font-size:14px}.nomenclature-usage small{color:var(--muted)}.nomenclature-save{white-space:nowrap}.nomenclature-locked{color:var(--muted);font-size:12px;display:block;margin-top:4px}
.nomenclature-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:1050px){.nomenclature-create-form{grid-template-columns:1fr 1fr}.nomenclature-create-form>div{grid-column:1/-1}}
@media(max-width:640px){.nomenclature-tabs{display:grid;grid-template-columns:1fr 1fr}.nomenclature-create-form{grid-template-columns:1fr}.nomenclature-create-form>div{grid-column:auto}.nomenclature-create-form button{width:100%}}
