.roster{max-height:70vh}.roster table{min-width:1550px}.roster th{position:sticky;top:0;z-index:1}.roster td,.roster th,#previewRows td{border:1px solid #d9e3ef;vertical-align:top}.roster td{min-width:80px;max-width:280px}.roster .pid{font-family:ui-monospace,monospace;min-width:190px;white-space:pre-wrap}.roster a{color:#175db8}#importPreview{margin-top:20px;padding:16px;background:#f4f8fd}
.matched-email{margin-top:8px;color:#175db8;font-weight:600}.roster td,#previewRows td{white-space:pre-wrap}#pendingPanel select,#pendingPanel input{min-width:245px}#pendingPanel td button{margin-top:8px}
#mailboxes td,#team td{vertical-align:top;white-space:pre-line;min-width:135px}#mailboxes td:last-child{min-width:330px}#mailboxes td button,#team td button{margin:4px 5px 8px 0}#team td label{margin-bottom:10px}#team input[type=number]{width:145px}#team td:last-child{min-width:220px}.roster td details{font-size:12px;padding:4px;margin:6px 0}.roster td details summary{margin:0}
.password-control{display:flex;gap:6px;align-items:center;min-width:0}.password-control input{min-width:0;flex:1;width:190px}.password-control button{flex:none;white-space:nowrap;margin:0!important}.password-control+small{font-size:13px;color:#51647c}.roster .pid,#previewRows td:nth-child(4){min-width:210px;white-space:nowrap;font-family:ui-monospace,monospace}#previewRows td:nth-child(2){min-width:270px;word-break:normal;overflow-wrap:normal}
.member-create{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.5fr) minmax(100px,.5fr) auto;gap:18px;align-items:start;margin:24px 0;padding:22px;background:#f5f8fd;border:1px solid #d9e3ef;border-radius:10px}
.member-create>label{margin:0;min-width:0}.member-create input,.member-create select,.member-create .password-control{min-height:44px}.member-create>button{margin-top:27px;min-height:44px;white-space:nowrap}.member-create small{min-height:20px}.member-create .password-control input{width:100%}
.member-create>label{line-height:1.25rem}
.directory-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:14px;margin-top:20px}.directory-filters label{margin:0;min-width:0}.directory-filters input,.directory-filters select{width:100%;min-height:42px}.directory-filters label:first-child{grid-column:span 2}.directory-hint{font-size:14px;margin:14px 0}.selection-actions{padding:14px;background:#f3f7fc;border-radius:8px;align-items:center}.selection-actions button{min-height:42px}.assignment-bar{display:flex;align-items:end;gap:12px;padding:14px 0;margin-bottom:12px}.assignment-bar label{margin:0;min-width:230px}.group-row td{background:#dceafa;color:#123860;font-weight:700;border-bottom:2px solid #aac5e6}.roster td:first-child{min-width:48px}.roster input[type=checkbox]{cursor:pointer;width:20px;height:20px;accent-color:#1660ce}
.recipient-panel{border:1px solid #c8d9ee;background:#f4f8fe;border-radius:10px;padding:18px;margin:20px 0}.recipient-panel .toolbar{margin:0;align-items:center}.recipient-panel h2{margin:0 auto 0 0}.recipient-panel p{margin-bottom:0}.recipient-panel details{background:white}.picked-list{max-height:260px;overflow:auto}.picked-list>div{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid #e1e9f3;overflow-wrap:anywhere}.picked-list button{flex:none}#senderHelp{display:flex;gap:12px;align-items:center;font-size:14px;margin-top:-8px}
#recipientPicker{width:min(96vw,1520px);max-width:96vw;max-height:92vh;border:1px solid #c3d6ed;border-radius:12px;padding:22px;color:inherit;overflow:auto}#recipientPicker::backdrop{background:rgb(13 31 55 / .55)}#recipientPicker>.heading{position:sticky;top:-22px;z-index:3;background:white;padding:12px 0;gap:14px}#recipientPicker h2{margin:0}#recipientPicker .roster{max-height:46vh}#recipientPicker .directory-filters{margin-top:8px}#recipientPicker .selection-actions{margin:12px 0}
.source-section{margin-top:30px;border-top:1px solid #d9e3ef;padding-top:24px}.source-section .table{max-height:65vh;margin-top:16px}.source-section td{white-space:pre-wrap;vertical-align:top;min-width:120px}.source-section td:nth-child(4),.source-section td:nth-child(5){min-width:280px}.source-section th{position:sticky;top:0}.source-section input{max-width:520px}#imports>p{font-size:14px}
@media(max-width:1100px){.member-create{grid-template-columns:minmax(180px,1fr) minmax(280px,1.5fr)}.member-create>button{align-self:start}.directory-filters{grid-template-columns:repeat(3,minmax(130px,1fr))}}
@media(max-width:700px){.member-create{grid-template-columns:1fr;padding:16px}.member-create>button{margin-top:0}.directory-filters{grid-template-columns:repeat(2,minmax(110px,1fr))}.assignment-bar{flex-wrap:wrap}.assignment-bar label{min-width:0;width:100%}.recipient-panel .toolbar{align-items:stretch}.recipient-panel h2{width:100%}#senderHelp{flex-wrap:wrap}#recipientPicker{padding:12px}#recipientPicker>.heading{top:-12px}.source-section .heading{flex-wrap:wrap}}
