#dialog.schedule-consent-dialog{width:min(1180px,calc(100vw - 32px));max-width:1180px}
#dialog.schedule-consent-confirm-dialog{width:min(620px,calc(100vw - 32px));max-width:620px}
.consent-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0}
.consent-filters>.field{flex:1 1 140px;min-width:0;margin:0}
.consent-filters>.list-page-size{flex:0 0 140px}
.consent-round-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px 18px;background:#f4f7fc;border-radius:12px;line-height:1.6}
.consent-round-summary strong{font-size:16px}.consent-round-summary>span{color:#637792}
.consent-title{border:0;background:none;color:#245da9;font:inherit;font-weight:650;text-align:left;padding:6px;line-height:1.6;white-space:normal}
.consent-title:hover{text-decoration:underline}.schedule-consent-dialog .table-wrap{width:100%;max-width:100%;overflow:auto}
.schedule-consent-dialog table{min-width:850px;width:100%}.schedule-consent-dialog th,.schedule-consent-dialog td{text-align:center;padding:14px 12px}
.schedule-consent-dialog td small{display:block;font-size:11px;line-height:1.6;margin-top:5px;white-space:normal}
.schedule-consent-dialog .consent-patterns{min-width:150px;max-width:260px;white-space:normal;line-height:1.65}
.consent-forced{color:#8a600d!important;font-weight:650}
.consent-table-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 0}
.consent-table-footer>.consent-pagination{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.consent-member-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%}
.consent-member-actions>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.consent-table-footer button{height:38px;min-height:38px;font-size:12px;padding:0 12px}.consent-table-footer [role=status]{font-size:12px;line-height:1.5}
@media(max-width:600px){.consent-filters>.field,.consent-filters>.list-page-size{flex:1 1 calc(50% - 12px);max-width:none}.consent-filters>button{height:42px}.consent-round-summary{padding:12px}.consent-table-footer>.consent-pagination{width:100%;justify-content:center}.consent-member-actions>div{width:100%;justify-content:space-between}.consent-member-actions>.review-list-actions{justify-content:flex-end}.consent-member-actions .button{padding:0 10px}.consent-table-footer [role=status]{flex:1;text-align:center}}

/* Account first, company followed by inbox. Mobile retains the compact text account. */
.topbar>.header-profile-button{flex:0 1 auto;min-width:0;max-width:220px;margin-right:12px}
.header-profile-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.topbar .header-company{order:0}.topbar .header-communication>.button{order:1}
.dashboard-approval-item{display:flex;width:100%;background:transparent;border:0;border-bottom:1px solid #edf1f6;font:inherit;color:inherit;text-align:left;gap:12px}
.dashboard-approval-item:hover{background:#f5f8fd}.dashboard-approval-item .grow{min-width:0}.dashboard-approval-item strong{line-height:1.5;overflow-wrap:anywhere}
@media(max-width:850px){.topbar>.header-profile-button{order:0;flex:0 1 76px!important;max-width:76px!important;height:38px;margin:0;padding:0 2px;gap:0;justify-content:flex-start}.topbar>.header-profile-button>.avatar{display:none}.topbar>.header-profile-button>span:last-child{max-width:100%;min-width:0;overflow:hidden}.topbar>.header-profile-button strong{font-size:11px}.topbar>.header-profile-button small{font-size:9px}.topbar>.header-profile-button strong,.topbar>.header-profile-button small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar>.header-right{order:1}.dashboard-approval-item .badge{flex-shrink:0}}

#dialog .consent-round-filters{display:grid;grid-template-columns:96px repeat(2,minmax(120px,.85fr)) minmax(100px,.9fr) repeat(2,minmax(110px,1fr)) 52px;gap:8px;align-items:end;overflow-x:auto}
#dialog .consent-detail-filters{display:grid;grid-template-columns:100px minmax(140px,1.3fr) minmax(120px,1fr) minmax(110px,.9fr) 52px;gap:8px;align-items:end;overflow-x:auto}
#dialog .consent-filters>.field{margin:0;min-width:0;font-size:11px;gap:7px}
#dialog .consent-filters :is(input,select){min-width:0;width:100%;height:40px;padding:8px;font-size:11px;text-overflow:ellipsis}
#dialog .consent-filters>[data-consent-query]{height:40px;min-width:0;width:52px;padding:0 8px}
@media(max-width:700px){#dialog .consent-round-filters,#dialog .consent-detail-filters{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}#dialog .consent-filters>[data-consent-query]{width:auto;min-width:60px}}
