.ms-sort-btn{font:inherit;font-weight:700;border:0;background:none;color:inherit;cursor:pointer;padding:10px 4px;width:100%;text-align:inherit}.ms-sort-btn:focus-visible{outline:2px solid #2563eb;border-radius:6px}th[aria-sort]{color:#2457b5}.priority-critical{background:#7f1d1d;color:#fff;border:1px solid #b91c1c}.ms-task-overdue{background:rgba(239,68,68,.21)!important}.ms-task-overdue td{background:transparent!important}.ms-task-overdue td:nth-child(5){color:#a51c2c;font-weight:700}.ms-notify-popup{position:fixed!important;z-index:100000!important;right:auto!important;bottom:auto!important;background:#fff!important;opacity:1;box-shadow:0 18px 55px #172b4d40;border:1px solid #d8e1ec;backdrop-filter:none!important;overflow:auto;isolation:isolate;box-sizing:border-box}.ms-notify-popup .notify-item{background:#f5f8fc;border:1px solid #e4eaf1}.ms-notify-popup .notify-item b{color:#193653}.ms-notify-popup .notify-item span{color:#52677d}.ms-notify-popup #notifyList{overflow:visible;max-height:none}.ms-notification-settings summary,.ms-additional summary,#msCashDetails details summary{cursor:pointer;font-weight:700;padding:4px 0}.ms-checks{display:flex;flex-wrap:wrap;gap:18px;padding:18px 0}.ms-checks label,.ms-task-mute{display:flex;align-items:center;gap:8px}.ms-task-mute{font-size:13px;margin-top:14px}.ms-checks input,.ms-task-mute input{width:18px;height:18px}.ms-finance-tabs{display:flex;gap:10px;margin:16px 0;flex-wrap:wrap}.ms-finance-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1fr);gap:16px}.ms-finance-filters label,.ms-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.ms-finance-filters input,.ms-finance-filters select,.ms-form-grid input,.ms-form-grid select{width:100%;box-sizing:border-box;min-width:0}.ms-cash-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ms-cash-summary .card{display:flex;flex-direction:column;gap:8px}.ms-cash-summary strong{font-size:25px;overflow-wrap:anywhere}.ms-negative{color:#b91c1c}.ms-table-scroll{overflow:auto;width:100%;max-width:100%}.ms-table-scroll table{min-width:850px;width:100%;border-collapse:collapse}.ms-table-scroll td{vertical-align:top}.ms-table-scroll td b{overflow-wrap:anywhere}.ms-table-scroll td:nth-child(2){min-width:170px}.ms-opening{background:#e9f1fa}.ms-rejected{opacity:.6;text-decoration:line-through}.ms-file{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin:3px;overflow-wrap:anywhere}.ms-file a{color:#1d4ed8;text-decoration:underline;font-size:13px}.ms-text-btn{border:0;background:none;color:#355c88;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px;padding:5px}.ms-funding-request{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #dfe6ef}.ms-funding-request .mini{display:block}.ms-cash-dialog{border:1px solid #d7e2ee;border-radius:22px;padding:24px;width:min(650px,calc(100% - 30px));box-sizing:border-box;max-height:90vh;overflow:auto;background:#f8fbff;color:#172c44}.ms-cash-dialog::backdrop{background:#10203885;backdrop-filter:blur(3px)}.ms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.ms-form-grid .ms-additional,.ms-form-grid .ms-files-field,.ms-form-grid #msRequirements{grid-column:1/-1}.ms-additional>label{margin-top:12px}.ms-requirement{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,1fr) auto;gap:8px;margin-bottom:9px}#msCashFormMessage{padding:8px 0;color:#854d0e}#msCashMonth{min-height:48px}html[data-theme="dark"] .ms-notify-popup,body.dark .ms-notify-popup{background:#132237!important;color:#e5edf8}html[data-theme="dark"] .ms-notify-popup .notify-item{background:#1a304a;border-color:#2f4760}html[data-theme="dark"] .ms-notify-popup .notify-item b{color:#e5edf8}html[data-theme="dark"] .ms-notify-popup .notify-item span{color:#c1cfdf}html[data-theme="dark"] .ms-cash-dialog{background:#16283d;color:#e8eff8}html[data-theme="dark"] .ms-opening{background:#203d57}html[data-theme="dark"] .ms-task-overdue td:nth-child(5){color:#ffc2c2}@media(max-width:700px){.ms-cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-finance-filters,.ms-form-grid{grid-template-columns:1fr}.ms-cash-dialog{padding:16px}.ms-funding-request{align-items:flex-start;flex-direction:column}.ms-cash-summary strong{font-size:22px}}
.ms-cash-dialog{overflow:hidden!important}.ms-cash-dialog form{display:flex;flex-direction:column;max-height:calc(90vh - 48px)}#msCashFields{overflow:auto;min-height:0;padding:0 2px}.ms-cash-dialog .actions{flex-shrink:0;padding-top:12px}@media(max-width:700px){.ms-cash-dialog form{max-height:calc(90vh - 32px)}}

.ms-notify-popup .notify-item{background:#f5f8fc!important}html[data-theme="dark"] .ms-notify-popup .notify-item{background:#1a304a!important}

/* Breathing room between the account, balances, ledger and funding sections. */
#msCashArea,#msCashDetails{display:grid;gap:20px;min-width:0}
#msCashArea>.card,#msCashDetails>.card,#msCashSummary>.card{margin:0!important}
.ms-cash-summary{gap:16px}
#msCashWarning:not(:empty){margin:10px 0}
.ms-table-scroll td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.ms-notify-link{display:block;width:100%;text-align:start;font:inherit;cursor:pointer;color:inherit}
.ms-notify-link:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
.ms-mentioned-comment{outline:3px solid #2563eb;outline-offset:-3px}
#tasks>.card>.form-row{grid-template-columns:repeat(3,minmax(140px,1fr)) auto auto}
#msRescheduleDialog{width:min(460px,calc(100% - 30px))}
#msRescheduleForm{gap:12px}#msRescheduleForm h2,#msRescheduleForm p{margin:0}
#msRescheduleDate{display:block;width:100%;box-sizing:border-box;margin-top:8px}
#msRescheduleMessage{color:#a52837}
.dept.dept-clickable{padding-inline:18px 62px}
.dept-clickable::after{content:'←';display:flex;align-items:center;justify-content:center;line-height:1;font-family:Arial,sans-serif;font-size:18px}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] .priority-badge,html[data-theme="dark"] .badge{background:#263f50!important;color:#e1edf5!important;border-color:#587184!important}
html[data-theme="dark"] .priority-badge.priority-high,html[data-theme="dark"] .badge.red{background:#572b34!important;color:#ffe1e4!important}
html[data-theme="dark"] .priority-badge.priority-medium,html[data-theme="dark"] .badge.orange{background:#493b24!important;color:#ffe6ac!important}
html[data-theme="dark"] .priority-badge.priority-low,html[data-theme="dark"] .badge.green{background:#193f36!important;color:#ccfbe4!important}
html[data-theme="dark"] .priority-badge.priority-critical{background:#712238!important;color:#fff0f4!important}
html[data-theme="dark"] .badge.hold{background:#3d315d!important;color:#eee4ff!important}
html[data-theme="dark"] .badge.blue{background:#203e5c!important;color:#d5eaff!important}
html[data-theme="dark"] #taskTable .task-status-select,html[data-theme="dark"] #v161TaskStatus{background:#1c3141!important;color:#f1f6fa!important;border-color:#587184!important;color-scheme:dark}
.task-status-select{padding-block:8px;padding-inline:12px 32px;line-height:1.5;min-height:42px;text-align:start}
html[data-theme="dark"] .dept.dept-clickable{background:#1b303d!important;border-color:#527080!important;box-shadow:none}
html[data-theme="dark"] .dept.dept-clickable h3{color:#f0f6fa!important}
html[data-theme="dark"] .dept.dept-clickable .meta{color:#bfd0dd!important}
html[data-theme="dark"] .dept-clickable::after{background:#294557!important;border-color:#6d8b9d!important;color:#edf6ff!important}
html[data-theme="dark"] #msRescheduleMessage{color:#ffbec7}
html[data-theme="dark"] th[aria-sort]{color:#b9d5ff!important}
html[data-theme="dark"] .btn:not(.primary){background:#243e50!important;color:#edf6ff!important;border-color:#5e7b8f!important}
html[data-theme="dark"] .btn:not(.primary):hover{background:#304f64!important}
@media(max-width:1000px){#tasks>.card>.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#tasks>.card>.form-row{grid-template-columns:1fr}#msCashArea,#msCashDetails{gap:16px}.ms-cash-summary{gap:12px}}
