select { width:100%; min-height:48px; border:1px solid #c7c9bf; border-radius:11px; padding:0 13px; background:#fff; color:var(--text); outline:none; }
select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,107,58,.12); }
.admin-workspace { max-width:1280px; }
.admin-grid { display:grid; grid-template-columns:minmax(300px,390px) minmax(500px,1fr); gap:18px; align-items:start; margin-top:24px; }
.create-panel { position:sticky; top:88px; }
.users-heading { align-items:center; }
.field-hint { color:var(--muted); font-weight:500; }
.password-notice { display:grid; gap:4px; padding:14px; border:1px solid #b9d1bd; border-radius:11px; background:#f0f7ee; }.password-notice span { color:var(--muted); font-size:13px; line-height:1.45; }
.generated-password { display:flex; align-items:center; gap:10px; margin:20px 0; padding:14px; border:1px dashed #91ab96; border-radius:12px; background:#f2f7ef; }.generated-password code { flex:1; color:var(--green-dark); font-size:20px; font-weight:850; letter-spacing:.04em; overflow-wrap:anywhere; }
.user-table { margin-top:20px; }
.user-table table { min-width:650px; }
.user-identity strong,.user-identity span { display:block; }.user-identity span { color:var(--muted); margin-top:3px; font-size:12px; }
.role-badge,.active-badge { display:inline-flex; align-items:center; min-height:28px; padding:4px 9px; border-radius:99px; font-size:12px; font-weight:800; }
.role-farm { color:#264d77; background:#e3eef8; }.role-laboratory { color:#704a11; background:#f7ecd6; }.role-admin { color:#54347e; background:#eee5f8; }
.user-table th:last-child,.user-table td:last-child { width:122px; min-width:122px; }
.row-actions { display:flex; flex-wrap:nowrap; align-items:center; gap:6px; white-space:nowrap; }
.icon-action,.icon-toolbar { display:inline-flex; align-items:center; justify-content:center; padding:0; font-size:18px; line-height:1; }
.icon-action { width:34px; min-width:34px; height:34px; }
.icon-toolbar { width:38px; min-width:38px; height:38px; }
.active-yes { color:#185d31; background:#e3f3e6; }.active-no { color:#8b2727; background:#f8e5e3; }
.table-action { min-height:36px; padding:0 11px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--green-dark); font-weight:750; }.table-action.danger { color:#9b2f2f; border-color:#ddb4af; }
.empty { padding:30px; text-align:center; color:var(--muted); }
@media (max-width:900px) { .admin-grid { grid-template-columns:1fr; }.create-panel { position:static; }.users-panel { min-width:0; } }
@media (max-width:520px) { .generated-password { align-items:stretch; flex-direction:column; }.generated-password code { text-align:center; } }
