.v9-server-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin-bottom:16px;max-width:1000px}
#servers.v9-server-management{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
#servers.v9-server-management>*{min-width:0;max-width:100%}
.v9-server-toolbar button{min-width:0;width:100%;height:40px;min-height:40px!important;padding:5px 8px;white-space:normal;line-height:1.25;font-size:13px}
.v9-server-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:auto;border:1px solid #343943}
.v9-server-scroll.v9-server-overflow{overflow-y:auto;max-height:398px}
.v9-server-toolbar button.danger{background:#b63d36!important;color:white!important;border-color:#bd5550!important}
.v9-server-table{font-size:13px;border-collapse:collapse;width:100%;min-width:720px;table-layout:fixed}
.v9-server-table th,.v9-server-table td{height:44px;box-sizing:border-box;padding:7px 10px;border-bottom:1px solid #343943;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.v9-server-table th{position:sticky;top:0;background:#191e25;z-index:1}
.v9-server-table th:first-child{width:48px}.v9-server-table th:nth-child(2){width:115px}.v9-server-table th:nth-child(3){width:150px}.v9-server-table tr[aria-selected=true]{background:#30345c}.v9-server-table tbody tr{cursor:pointer}
.v9-server-table input[type=radio]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:0;accent-color:#7374df}
.v9-server-table th,.v9-server-table td{padding:7px 10px!important;height:44px!important}
.v9-access-dialog input[type=checkbox]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:0}
.v9-operation-host>.server-card-summary,.v9-operation-host>.server-card-actions{display:none!important}
.v9-operation-host{border:0!important;padding:0!important;margin-top:16px}.v9-operation-host[hidden]{display:none!important}
.member-table-wrap{max-height:410px;overflow:auto;scrollbar-width:auto;scrollbar-gutter:stable}
.member-table-toolbar button{min-width:125px;min-height:40px}.v9-member-search{max-width:360px}
.v9-access-dialog{max-width:680px;width:calc(100% - 32px);max-height:90vh;overflow:auto}.v9-access-options{max-height:320px;overflow:auto}.v9-access-options label{display:flex;gap:10px;align-items:center;padding:8px}.v9-access-options input{width:auto}
.v9-collection-options label{display:flex;align-items:center;gap:8px}
.v9-collection-options input[type=radio]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;margin:0!important;align-self:center}
.v9-collection-options .actions{align-items:center}
.v9-collection-options .actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.v9-collection-terms{display:grid;gap:12px;margin:16px 0}.v9-collection-terms label{min-height:32px;margin:0}
.v9-collection-activation-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v9-collection-activation-actions button{width:100%;min-width:0;padding:10px 8px;font-size:14px}
.v9-collection-setup-dialog{width:min(760px,calc(100% - 32px));max-height:90vh;overflow:auto}.v9-collection-server-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.v9-collection-server-grid fieldset{min-width:0;padding:12px;border:1px solid #87988e;border-radius:8px}.v9-collection-server-list{height:calc(var(--v9-choice-rows)*40px);overflow:hidden}.v9-collection-server-list.has-overflow{overflow-y:auto;scrollbar-width:auto}.v9-collection-server-list::-webkit-scrollbar{width:12px}.v9-collection-server-list::-webkit-scrollbar-thumb{background:#87988e;border-radius:4px}.v9-collection-server-list label{height:40px;box-sizing:border-box;margin:0!important;padding:6px;cursor:pointer}.v9-collection-server-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.v9-collection-server-grid{grid-template-columns:1fr}}

.v9-collection-server-list{width:100%;scrollbar-gutter:auto}.v9-collection-server-list label{width:100%}.v9-collection-server-grid:has(>fieldset:only-child){grid-template-columns:minmax(0,1fr)}

.v9-collection-server-list label{display:grid;grid-template-columns:16px minmax(0,1fr) 15ch;gap:6px;font-size:12px}.v9-choice-ip{font-variant-numeric:tabular-nums;white-space:nowrap}

.v9-collection-maintenance-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v9-collection-maintenance-actions button{width:100%;min-width:0;min-height:42px;white-space:normal}

/* Subaccounts occupy only their actual rows, with an eight-row viewport. */
#member-list .member-table-wrap{max-height:none;overflow:visible;scrollbar-gutter:auto}
#member-list .member-table-wrap .vc-card-ledger-scroll{height:auto;max-height:326px;scrollbar-gutter:auto;overflow:auto}
#member-list .member-table-wrap .vc-card-ledger-scroll th,#member-list .member-table-wrap .vc-card-ledger-scroll td{height:36px;box-sizing:border-box;padding:4px 10px;vertical-align:middle}

.employee-group-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}
.employee-group-actions button{min-width:0;min-height:40px;padding:6px;font-size:12px}
.employee-compact-form input,.employee-compact-form select,.employee-group-dialog input,.employee-group-dialog select,#member-list input{font-size:13px;min-height:40px;padding:8px 10px;box-sizing:border-box}
.employee-search{display:flex;align-items:center;position:relative;margin-bottom:10px}
.employee-search input{width:100%;padding-right:48px}
.employee-search>button{position:absolute;right:2px;width:42px;min-height:40px;padding:8px;display:flex;align-items:center;justify-content:center}
#member-list .actions:has([data-bulk-group]){display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
#member-list [data-bulk-access],#member-list [data-bulk-device]{grid-column:span 3}
#member-list [data-bulk-group],#member-list [data-bulk-all],#member-list [data-bulk-clear]{grid-column:span 2}
.v9-access-dialog label:has(input[type=radio]){display:flex;align-items:center;gap:8px}
