/* Dedicated roster layout; output geometry is unaffected. */
dialog.bulk-people1016{width:min(1280px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;height:min(720px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;box-sizing:border-box}
.bulk-people1016>.dialog-body58{display:flex!important;flex-direction:column;min-height:0;flex:1;overflow:hidden!important;gap:10px;padding:16px!important}
.bulk-people1016>header{flex:none}.bulk-people1016 .bulk-count64,.bulk-people1016 .bulk-help1016,.bulk-people1016 footer{flex:none;margin:0}
.bulk-people1016 .bulk-table64{flex:1;min-height:0;max-height:none;overflow:auto;scroll-padding-top:76px}
.bulk-people1016 .bulk-message64{height:48px;min-height:48px;overflow:auto;margin:0;font-size:14px;color:var(--muted78)}
.bulk-people1016 .bulk-table64 table{table-layout:fixed;min-width:1120px}
.bulk-people1016 th{vertical-align:top;background:var(--panel78);z-index:1}.bulk-people1016 th:nth-child(1){width:24%}.bulk-people1016 th:nth-child(2){width:12%}.bulk-people1016 th:nth-child(3){width:16%}.bulk-people1016 th:nth-child(4),.bulk-people1016 th:nth-child(5){width:7%}.bulk-people1016 th:nth-child(6){width:24%}.bulk-people1016 th:nth-child(7){width:10%}
.bulk-people1016 th small{display:block;font-size:13px;font-weight:400;white-space:normal;color:var(--muted78);line-height:1.4}
.bulk-people1016 .bulk-table64 textarea{box-sizing:border-box;width:100%;min-width:0;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px!important;min-height:36px;padding:6px 8px}
.bulk-people1016 footer{display:flex;justify-content:flex-end;gap:10px}
#roster-window71 .roster-grid71 :is(th,td)[data-roster-column1016]:not([data-roster-column1016="7"]){text-align:center;vertical-align:middle}
#roster-window71 .roster-grid71 :is(input[data-field71],textarea[data-field71]){text-align:center;vertical-align:middle}
#roster-window71 .roster-grid71 textarea[data-field71]{width:100%;min-width:0;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;background:transparent;color:inherit;border:1px solid transparent;box-sizing:border-box;font:inherit;line-height:1.5;padding:4px}
#roster-window71 .roster-grid71 textarea[data-field71]:focus{outline:2px solid var(--ui-accent);background:var(--control78)}
#roster-window71 [data-check-person1016],#roster-window71 [data-check-all1016]{width:16px;height:16px;padding:0;vertical-align:middle;margin:0 2px 0 0}
#roster-window71 input[data-field71=rank]{width:100%;padding:4px}
#roster-window71 .roster-grid71 .person-actions1016 .btn{display:inline-flex;align-items:center;justify-content:center;margin:0!important;padding:4px 6px;font-size:13px;white-space:nowrap}
#roster-window71 .checked-person1016{background:var(--accent-soft)!important}
.danger-text1016{color:var(--seat-warning92)!important}
#roster-window71 .roster-grid71 [data-roster-column1016="7"]{text-align:left}

.bulk-people1016[open]{display:flex!important;flex-direction:column}
.workspace-dialog58[aria-label="刪除人員"] .danger{background:var(--seat-warning92)!important;border-color:var(--seat-warning92)!important;color:var(--button-primary-ink-b)!important}

#roster-window71 .roster-grid71 [data-check-column1016]{width:32px!important;min-width:32px;max-width:32px;text-align:center;vertical-align:middle;box-sizing:border-box;padding:4px}
#roster-window71 .roster-grid71 .person-actions1016{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px;white-space:nowrap}

/* Content-sized controls are centered as a whole, including multiline values. */
#roster-window71 .roster-grid71 textarea[data-field71],#roster-window71 .roster-grid71 [data-roster-column1016="7"] textarea{display:block;margin:0 auto;min-height:36px;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;padding:6px 4px}
