.ap-roster{min-width:0}.ap-roster>h2{margin-top:0}.ap-roster-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;margin:18px 0 8px}.ap-roster-filters label{font-size:12px;margin:0;min-width:0}.ap-roster-filters input,.ap-roster-filters select{margin:5px 0 0;width:100%;min-width:0;font-size:13px;min-height:40px;padding:8px}.ap-roster-filter-actions{display:flex;align-items:flex-end;gap:6px;flex-wrap:wrap}.ap-roster-filter-actions button{min-height:40px;font-size:12px;padding:8px}.ap-roster-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.ap-roster-toolbar button{min-height:40px;font-size:13px}.ap-roster-toolbar label{font-size:12px;margin:0 0 0 auto;display:flex;gap:8px;align-items:center}.ap-roster-toolbar select{width:auto;margin:0;padding:7px;min-height:40px}.ap-roster-toolbar [role=status]{font-size:13px}#ap-roster-list{min-width:0}.ap-roster .roster-table{width:100%;table-layout:fixed;border-collapse:collapse;min-width:0;font-size:12px}.roster-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.roster-table col.roster-check{width:4%}.roster-table col.roster-name{width:18%}.roster-table col.roster-hotel{width:15%}.roster-table col.roster-date{width:10%}.roster-table col.roster-contact{width:18%}.roster-table col.roster-state{width:17%}.roster-table col.roster-action{width:8%}.ap-roster .roster-table th,.ap-roster .roster-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e0e6e9;padding:10px 7px;overflow-wrap:anywhere}.ap-roster .roster-table th{background:#f5f1f5;color:#543153;font-size:12px;font-weight:600}.roster-table th button{display:block;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px;font-weight:600;padding:0;min-height:36px;text-align:left;width:100%}.roster-table th[aria-sort=ascending],.roster-table th[aria-sort=descending]{background:#e9dfeb}.ap-roster .roster-table td small{display:block;color:#5d6e77;font-size:11px;line-height:1.5;margin-top:4px}.ap-roster .roster-table td strong{font-size:13px}.roster-table td>button{padding:6px 8px;min-height:36px;font-size:12px;max-width:100%}.roster-table input[type=checkbox]{margin:7px 0;width:17px;height:17px;min-height:0;accent-color:#6e2c6a}.roster-table tbody tr:nth-child(even){background:#fafbfc}.roster-table tbody tr:hover{background:#f7f2f7}.roster-status{font-weight:600;color:#543153}.ap-roster-pagination{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:16px;font-size:13px}.ap-roster-pagination button{font-size:13px;min-height:40px}.roster-detail details{margin:18px 0}.roster-detail dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px 14px;font-size:13px}.roster-detail dd{margin:0;overflow-wrap:anywhere}.roster-detail dt{color:#65757b}.ap-modal:has(.roster-detail){width:min(760px,calc(100vw - 28px))}
@media(min-width:901px){.ap-roster .roster-table.responsive-table{display:table}.ap-roster .roster-table.responsive-table thead{display:table-header-group}.ap-roster .roster-table.responsive-table tbody{display:table-row-group}.ap-roster .roster-table.responsive-table tr,.ap-roster .roster-table.responsive-table tr:has(th){display:table-row}.ap-roster .roster-table.responsive-table td{display:table-cell;padding:10px 7px!important;font-size:12px;border-bottom:1px solid #e0e6e9}.ap-roster .roster-table.responsive-table td::before{display:none}}
@media(max-width:900px){.ap-roster-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-roster .roster-table,.ap-roster .roster-table tbody{display:block}.ap-roster .roster-table thead,.ap-roster .roster-table tr:has(th){display:none}.ap-roster .roster-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 10px;border:1px solid #e0e6e9;border-radius:8px;margin:10px 0;position:relative}.ap-roster .roster-table td{display:block;border:0;padding:0!important;font-size:13px}.ap-roster .roster-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:#65757b;margin-bottom:5px}.ap-roster .roster-table td:first-child{position:absolute;top:10px;right:10px}.ap-roster .roster-table td:first-child::before{display:none}.ap-roster .roster-table td:nth-child(2){grid-column:1/-1;padding-right:28px!important}.ap-roster .roster-table td:last-child{align-self:end}.ap-roster .roster-table .roster-empty{display:block}.ap-roster .roster-table .roster-empty td{position:static}.roster-table colgroup{display:none}.ap-roster-toolbar label{margin-left:0}.roster-detail dl{grid-template-columns:minmax(70px,1fr) minmax(0,2fr)}}
@media(max-width:450px){.ap-roster-filters{gap:9px}.ap-roster-toolbar{gap:8px}.ap-roster-toolbar [role=status]{width:100%}.ap-roster-pagination{gap:8px}.ap-roster-pagination button{font-size:12px;padding:8px}}

/* Compact filter dimensions: the rows remain visible below the controls. */
.ap-planner .ap-roster{padding:16px}.ap-roster .roster-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.ap-roster .roster-heading h2{font-size:22px;margin:0;white-space:nowrap}.roster-search{margin:0;width:min(360px,50%)}.roster-search input{width:100%;min-height:36px;margin:0;padding:8px 13px;font-size:13px;border-radius:20px}.roster-sr-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.ap-roster .ap-roster-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;margin:0 0 10px;align-items:start}.ap-roster .roster-pill-select{margin:0;display:block;min-width:0}.ap-roster .roster-pill-select select,.ap-roster .roster-pill{width:100%;height:36px;min-height:36px;margin:0;border:1px solid #b6b8bc;border-radius:22px;background:#f0f0f1;color:#293942;font-size:13px;padding:7px 14px;box-sizing:border-box;cursor:pointer}.ap-roster .roster-pill-select select{padding-right:28px;text-overflow:ellipsis}.ap-roster .roster-pill{display:flex;align-items:center;justify-content:space-between;gap:7px;list-style:none;user-select:none}.roster-pill::-webkit-details-marker{display:none}.roster-pill::after{content:'⌄';font:16px Arial;flex:none}.roster-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-roster .roster-filter-active{background:#f0e5ef!important;border-color:#9b719a!important;color:#62275e!important}.ap-roster .roster-filter-popover{position:relative;margin:0;min-width:0}.roster-filter-popover[open]{z-index:8}.roster-filter-popover[open]>.roster-pill{outline:2px solid #6e2c6a33}.ap-roster .roster-more>.roster-pill{background:#fff;justify-content:center}.ap-roster .roster-filter-panel{position:absolute;top:43px;left:0;z-index:10;width:min(350px,calc(100vw - 52px));padding:16px;background:white;border:1px solid #d4c4d3;border-radius:12px;box-shadow:0 10px 28px #1b29312b;box-sizing:border-box}.roster-filter-popover:nth-child(4n)>.roster-filter-panel{right:0;left:auto}.roster-filter-panel strong{display:block;font-size:14px;margin-bottom:12px}.ap-roster .roster-filter-panel label{display:block;font-size:12px}.ap-roster .roster-filter-panel input,.ap-roster .roster-filter-panel select{min-height:38px;height:auto;border-radius:6px;background:#fff;margin:5px 0 10px;width:100%;padding:8px;font-size:13px}.roster-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.roster-popover-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:5px}.roster-popover-actions button{min-height:36px;padding:7px 10px;font-size:12px}.roster-popover-actions [data-filter-done]{background:#6e2c6a;color:#fff}.ap-roster #ap-roster-filter-error:empty{display:none}.ap-roster .ap-roster-toolbar{margin:8px 0 10px;gap:8px 12px}.roster-sort-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-left:auto}.ap-roster-toolbar .roster-sort-controls label{margin:0;font-size:12px;gap:5px}.roster-sort-controls select{border:0;background:transparent;min-height:34px;padding:5px;max-width:170px}.roster-sort-controls button{border:0;background:transparent;padding:5px 7px;min-height:34px;font-size:12px}.roster-selection-controls{display:flex;width:100%;align-items:center;gap:8px}.roster-selection-controls button{min-height:34px;padding:7px 10px;font-size:12px}.roster-selection-controls>label{margin-left:auto}.roster-selection-controls select{min-height:34px;padding:5px}.ap-roster .roster-table td strong{font-size:14px}.ap-roster .roster-table th button{font-size:12px;min-height:32px}.ap-roster .roster-table th{padding-top:6px;padding-bottom:6px}
@media(max-width:900px){.ap-roster .ap-roster-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.roster-filter-popover:nth-child(2n)>.roster-filter-panel{right:0;left:auto}.roster-sort-controls{margin-left:0}.ap-roster .roster-heading{gap:8px}.ap-roster .roster-heading h2{font-size:20px}.roster-search{width:55%}.ap-roster .roster-pill-select select,.ap-roster .roster-pill{font-size:12px;padding-left:11px}.ap-roster .roster-filter-panel{padding:13px}.ap-roster .ap-roster-toolbar [role=status]{font-size:12px}.roster-sort-controls{width:100%}.roster-selection-controls{flex-wrap:wrap}.ap-roster .roster-table td>button{min-height:42px}}

@media(max-width:650px){.roster-selection-controls #ap-roster-manual{font-size:0;min-width:30px;width:30px;padding:4px}.roster-selection-controls #ap-roster-manual::before{content:'+';font-size:20px}}
.roster-link-row {margin-block:8px}
.roster-link-row button {margin-inline-start:6px}
#roster-permit form[hidden] {display:none}
