.notification-unread{background:#f0f3ff}#backgroundMessage{color:#a33}#caseBackgroundWork{margin-top:20px}#caseBackgroundWork td p{max-width:450px;white-space:normal;font-size:12px}#caseBackgroundWork td button{margin:3px}#caTable td{white-space:normal;vertical-align:top}#caTable td:last-child{min-width:90px}#caTable th{white-space:nowrap}#caseRows{display:block}#caseRows td{vertical-align:top}main.bg-page{margin:30px auto;max-width:1400px;padding:20px}.bg-links{display:flex;gap:20px;margin-bottom:24px}.table-scroll td{overflow-wrap:anywhere}
#notificationRows table{min-width:640px}#backgroundJobs table,#caseBackgroundWork table,#caseRows table,#caTable table{min-width:850px}

/* Operational pages share a restrained white surface and compact hierarchy. */
body:has(>.page-menu){background:#f7f9fc}body:has(>.page-menu)>main{max-width:1440px;margin:0 auto;padding:32px 32px 48px}main.bg-page{margin:0 auto}
.ops-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.ops-heading h1{font-size:26px;margin:5px 0 8px;letter-spacing:-.7px}.ops-heading .eyebrow{font-size:10px;color:#7a879a;letter-spacing:1.5px}.ops-heading .muted{font-size:13px;color:#657389}.unread-summary{white-space:nowrap;border:1px solid #e2e8f1;border-radius:8px;background:#fff;padding:9px 12px;font-size:12px;color:#657389}.unread-summary strong{color:#24344d;margin-right:3px}
.ops-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 16px}.ops-toolbar label{font-size:12px;color:#657389}.ops-toolbar select{width:auto;min-width:155px;max-width:100%;background:#fff;border-color:#dce3ec;font-size:12px;min-height:36px}
#backgroundMessage:empty{display:none}#backgroundMessage:not(:empty){padding:10px 12px;margin-bottom:14px;border-radius:6px;background:#fff5ee;color:#8b461d}
#notificationRows>.table-scroll,#backgroundJobs>.table-scroll,#caTable{border:1px solid #e3e8ef;border-radius:10px;background:#fff;overflow:auto}
#notificationRows th,#backgroundJobs th,#caTable th{background:#fafbfc;color:#708096;font-size:11px;letter-spacing:.2px;font-weight:600;text-transform:none;padding:12px 16px}
#notificationRows td,#backgroundJobs td,#caTable td{padding:14px 16px;border-bottom:1px solid #edf0f5;font-size:12px;color:#44536a;vertical-align:top;line-height:1.55}
#notificationRows tr:last-child td,#backgroundJobs tr:last-child td,#caTable tr:last-child td{border-bottom:0}#notificationRows .notification-unread{background:#fff}#notificationRows .notification-unread td:first-child{box-shadow:inset 3px 0 #5274ed}#notificationRows tr:hover,#backgroundJobs tbody tr:hover{background:#fafcff}
#notificationRows th:first-child{width:190px}#notificationRows th:nth-child(2){width:165px}#notificationRows th:last-child{width:115px}#notificationRows td strong{display:block;font-size:12px;color:#26364d;font-weight:600;margin-bottom:3px}#notificationRows td p{margin:0;color:#5c6a7e;line-height:1.55}#notificationRows td:first-child{white-space:nowrap;color:#718096;font-variant-numeric:tabular-nums}#notificationRows button,#backgroundJobs button{min-height:32px;font-size:11px;padding:6px 10px;border-radius:6px;font-weight:500;margin:0 4px 4px 0}
.status-badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:600;line-height:1.5}.status-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status-badge.neutral{background:#f0f4fa;color:#526882}.status-badge.attention{background:#fff3e3;color:#966318}.status-badge.success{background:#eaf7ef;color:#28724c}
#backgroundJobs td p{max-width:520px;font-size:12px;margin-top:7px;color:#637187}#profileForm{max-width:1000px;margin-top:24px;box-shadow:none}#profileForm>label{max-width:420px}body:has(>.page-menu)>main>h1{font-size:26px}body:has(>.page-menu)>main>p{max-width:850px;color:#657389;font-size:13px}
@media(max-width:650px){body:has(>.page-menu)>main{padding:22px 16px 32px}.ops-heading{align-items:flex-start;margin-bottom:20px;gap:12px}.ops-heading h1{font-size:23px}.ops-toolbar{gap:8px;flex-wrap:wrap}.unread-summary{padding:7px 9px}#notificationRows table{min-width:620px}.table-scroll{overscroll-behavior-x:contain}}
@media(max-width:650px){#notificationRows table,#notificationRows tbody{display:block;width:100%;min-width:0}#notificationRows thead{display:none}#notificationRows tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid #edf0f5;padding:10px 0}#notificationRows td{display:block;min-width:0;padding:5px 12px;border:0;overflow-wrap:anywhere}#notificationRows td:first-child{font-size:11px}#notificationRows td:nth-child(2){text-align:right}#notificationRows td:nth-child(3),#notificationRows td:nth-child(4){grid-column:1/-1}#notificationRows tr.notification-unread{box-shadow:inset 3px 0 #5274ed}#notificationRows .notification-unread td:first-child{box-shadow:none}#notificationRows tr:last-child{border-bottom:0}}
.notification-details{margin-top:5px;font-size:11px;color:#738096}.notification-details summary{cursor:pointer}.notification-details p{margin-top:7px!important;font-size:11px}

/* Native profile dialog keeps the account list as the primary page. */
#profileDialog{width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #e1e7f0;border-radius:14px;background:white;color:var(--ink);box-shadow:0 18px 70px #14263b26;overflow:auto}#profileDialog::backdrop{background:#17263d66;backdrop-filter:blur(2px)}.profile-dialog-heading{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px;background:#fff;border-bottom:1px solid #edf0f5}.profile-dialog-heading h2{font-size:20px;margin:4px 0 0}.profile-close{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #e2e7ef;border-radius:7px;background:#fff;font-size:24px;color:#64748b}.profile-dialog-form{padding:20px 24px 0}.profile-dialog-form>.fields{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.profile-dialog-form>.fields>label:has(textarea),.profile-dialog-form>.fields>label:has([name=institute]){grid-column:1/-1}.profile-dialog-form>label{max-width:100%}.profile-dialog-form input,.profile-dialog-form select,.profile-dialog-form textarea{background:#fff;width:100%}.profile-dialog-form textarea{min-height:82px}.profile-dialog-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;padding:18px 0;background:white;border-top:1px solid #edf0f5;margin-top:18px}#profileStatus:empty{display:none}#profileStatus{color:#9c4c24;font-size:12px;margin-top:10px}.ca-master-note{margin-top:16px}#status:empty{display:none}#status:not(:empty){padding:10px 12px;margin-bottom:16px;border-radius:7px;background:#edf7f2;color:#256b4f}#caLastChecked{font-size:11px}
@media(max-width:650px){#profileDialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:10px}.profile-dialog-heading{padding:16px}.profile-dialog-form{padding:16px 16px 0}.profile-dialog-form>.fields{grid-template-columns:1fr}.profile-dialog-actions{gap:8px}.profile-dialog-actions button{flex:1;font-size:12px;padding:8px}.profile-dialog-heading h2{font-size:18px}}
#profileDialog #profileForm{margin:0;max-width:none}#profileDialog #profileForm>label{max-width:none}
#profileDialog label{margin:0}#profileDialog .fields{gap:12px 16px;margin:16px 0}#profileDialog .fields>label:has([name=institute]){grid-column:auto}#profileDialog #revision{margin-top:8px}#profileDialog .profile-dialog-heading{padding-top:16px;padding-bottom:14px}#profileDialog .profile-dialog-form{padding-top:16px}
@media(max-width:650px){#caTable table,#caTable tbody{display:block;width:100%;min-width:0}#caTable thead{display:none}#caTable tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #edf0f5;padding:10px 12px;gap:4px 12px}#caTable td{display:block;border:0;padding:4px 0;min-width:0!important;overflow-wrap:anywhere}#caTable td:first-child,#caTable td:nth-child(2),#caTable td:nth-child(3),#caTable td:nth-child(6),#caTable td:last-child{grid-column:1/-1}#caTable td:first-child{font-weight:600;color:#24344d}#caTable td:nth-child(4)::before,#caTable td:nth-child(5)::before,#caTable td:nth-child(6)::before{content:attr(data-label) ': ';font-size:11px;color:#738096}#caTable td:last-child button{width:100%;margin:4px 0}#caTable tr:last-child{border-bottom:0}}
.background-review{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #dce2ef;border-radius:12px;padding:24px;color:#1f2b42}.background-review::backdrop{background:#15233b66}.background-review h2{margin-top:0}.background-review ul{padding-left:22px}.background-review-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.background-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.background-consent input{width:auto;margin-top:3px}.background-review [role=alert]{color:#9b3025}
.background-consent{flex-direction:row}.background-consent input{flex:0 0 auto}
#caseBackgroundWork.background-options{margin-top:10px}#caseBackgroundWork.background-options>details{border:1px solid #e1e7ef;border-radius:8px;padding:10px 14px;background:#fff}#caseBackgroundWork.background-options summary{cursor:pointer;font-size:12px;color:#536882}#caseBackgroundWork.background-options details>p{font-size:12px;margin:10px 0}

#backgroundAlerts{margin:12px 0;padding:12px 16px;border:1px solid #dce2ef;border-radius:8px;background:#fff}#backgroundAlerts p{font-size:12px;margin:4px 0 10px;color:#536882}#backgroundQueueReceipt{padding:10px 14px;background:#edf8f3;border:1px solid #b9dfcd;border-radius:8px}

