@import url('/workspace/density.css?v=20260910-1');

/* Final Admin Studio polish. Keep category metadata quiet and controls usable in either color mode. */
.connector-badge{
  background:color-mix(in srgb,var(--panel,#fff) 88%,var(--red,#e53935) 12%)!important;
  color:color-mix(in srgb,var(--text,#202633) 68%,var(--muted,#6b7280) 32%)!important;
  border:1px solid color-mix(in srgb,var(--line,#dfe3ea) 82%,var(--red,#e53935) 18%)!important;
  box-shadow:none!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-transform:none!important;
  padding:5px 8px!important;
}
.connector-card .capabilities span{
  background:transparent!important;
  color:var(--muted,#6b7280)!important;
  border-color:var(--line,#dfe3ea)!important;
}

/* Admin inputs must remain visibly editable even when a tenant theme makes the surrounding
   workspace light. The previous near-black controls looked disabled and failed contrast in
   several demo tenants. Keep destructive/action buttons branded, but use a neutral field surface. */
.studio-shell input:not([type="color"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
.studio-shell textarea,
.studio-shell select,
.wizard-card input:not([type="color"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
.wizard-card textarea,
.wizard-card select{
  background:#f8fafc!important;
  color:#172033!important;
  border:1px solid #cbd5e1!important;
  box-shadow:inset 0 1px 1px rgba(15,23,42,.03)!important;
}
.studio-shell input::placeholder,.studio-shell textarea::placeholder,.wizard-card input::placeholder,.wizard-card textarea::placeholder{color:#667085!important;opacity:1}
.studio-shell input:focus,.studio-shell textarea:focus,.studio-shell select:focus,.wizard-card input:focus,.wizard-card textarea:focus,.wizard-card select:focus{
  border-color:#6b7fa8!important;
  box-shadow:0 0 0 3px rgba(49,84,112,.14)!important;
  outline:none!important;
}
.studio-shell select option,.wizard-card select option{background:#fff;color:#172033}
.studio-shell input[type="color"]{background:transparent!important;border:1px solid #cbd5e1!important}

.users-admin-card{max-width:980px!important}.users-admin-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.users-admin-head h2{margin:2px 0 5px;font-size:16px}.users-admin-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.users-add-form{display:grid;grid-template-columns:1.1fr 1.4fr .8fr auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--panel) 88%,white 12%);margin-bottom:16px}.users-add-form label{margin:0!important}.users-add-form select,.member-row select{width:100%;margin-top:7px;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#172033!important;border-radius:9px;padding:9px 10px;font-size:11px}.users-member-list{display:grid;gap:8px}.member-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(135px,.7fr) minmax(125px,.6fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--panel) 94%,white 6%)}.member-identity{min-width:0}.member-identity strong,.member-identity span{display:block}.member-identity strong{font-size:11px}.member-identity span{font-size:9px;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-row select{margin:0}.member-status{font-size:9px;font-weight:800;border-radius:999px;padding:5px 8px;border:1px solid var(--line);text-align:center}.member-status.active{color:var(--green)}.member-status.inactive{color:var(--amber)}.permission-matrix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.permission-card{border:1px solid var(--line);border-radius:10px;padding:11px;background:color-mix(in srgb,var(--panel) 94%,white 6%)}.permission-card strong{display:block;font-size:10px;margin-bottom:7px}.permission-card span{display:block;color:var(--muted);font-size:8px;line-height:1.55;margin-top:3px}.users-status{min-height:18px;margin-top:10px;color:var(--muted);font-size:10px}
@media(max-width:900px){.users-add-form{grid-template-columns:1fr 1fr}.member-row{grid-template-columns:1fr 1fr}.permission-matrix{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.users-add-form,.member-row,.permission-matrix{grid-template-columns:1fr}}
