/* Shared staff UI type scale. No document, email body, print or access rules change. */
:root{--ds-page-size:24px;--ds-section-size:18px;--ds-subtitle-size:16px;--ds-body-size:15px;--ds-control-size:14px;--ds-meta-size:13px}
#workspace{font-family:"Segoe UI",Arial,sans-serif;font-size:var(--ds-body-size);line-height:1.5}
#workspace .sidebar-content h1{font-size:var(--ds-page-size);font-weight:600;line-height:1.3;letter-spacing:-.25px;overflow-wrap:anywhere}
#workspace .sidebar-content h2{font-size:var(--ds-section-size);font-weight:600;line-height:1.4;letter-spacing:normal}
#workspace .sidebar-content h3{font-size:var(--ds-subtitle-size);font-weight:600;line-height:1.4;letter-spacing:normal}
#workspace .sidebar-content :is(.rw-officers,.rw-requests)>h3{font-size:var(--ds-section-size)}
#workspace .sidebar-group-title{font-size:var(--ds-meta-size);line-height:1.45;font-weight:600}
#workspace .sidebar .sidebar-link{font-size:var(--ds-control-size);line-height:1.4}
#workspace .sidebar-content :is(label,legend){font-size:var(--ds-control-size);font-weight:500;line-height:1.5}
#workspace .sidebar-content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-family:inherit;font-size:var(--ds-body-size);line-height:1.5}
#workspace .sidebar-content :is(button,summary){font-size:var(--ds-control-size);line-height:1.4}
#workspace .sidebar-content :is(.resource-action-list,.mail-account-actions,.mail-message-menu,.personnel-action-options,.rw-action-options)>button{font-family:inherit;font-size:var(--ds-control-size)!important;line-height:1.45}
#workspace .sidebar-content :is(.register-record-link,.mw-document-link,.sp-identity strong,.personnel-identity strong){font-size:var(--ds-body-size);font-weight:600;line-height:1.45}
#workspace :is(#register-table,.mw-table,.rw-table,.personnel-table,.personnel-matrix-scroll table){font-size:var(--ds-control-size);line-height:1.5}
#workspace :is(#register-table,.mw-table,.rw-table,.personnel-table,.personnel-matrix-scroll table) td{font-size:var(--ds-control-size);line-height:1.5}
#workspace :is(#register-table,.mw-table,.rw-table,.personnel-table,.personnel-matrix-scroll table) th:not(:empty){font-size:var(--ds-meta-size);font-weight:600;line-height:1.45}
/* Empty action headers remain visually empty. */
#workspace .personnel-table th:last-child,#workspace .register-dossier #register-table th:last-child{font-size:0}
#workspace :is(.register-reference,.register-status,.mw-status,.register-results,.register-pagination,.dh-register-heading,.mw-doc-count,.mw-meta,.dh-meta,.personnel-identity small,.personnel-status,.sp-reference,.sp-count,.sp-pagination,.mail-save-status,.mail-compose-caption,.mail-compose-draft-badge,.mail-folders small,.mail-compose-attach){font-size:var(--ds-meta-size)!important;line-height:1.5}
#workspace :is(.rw-facts,.dh-facts,.account-details){font-size:var(--ds-body-size);line-height:1.5}
#workspace :is(.rw-facts,.dh-facts,.account-details) dt{font-size:var(--ds-control-size);font-weight:500}
#workspace :is(.rw-facts,.dh-facts,.account-details) dd{font-size:var(--ds-body-size)}
#workspace .mail-workspace button{font-family:inherit;font-size:var(--ds-control-size)}
#workspace form.mail-compose-refined :is(input:not([type=file]),textarea){font-size:var(--ds-body-size)!important}
#workspace form.mail-compose-refined .mail-compose-footer button{font-size:var(--ds-control-size)!important}
body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.document-preview,.mw-dialog){font-family:"Segoe UI",Arial,sans-serif;font-size:var(--ds-body-size);line-height:1.5}
body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.document-preview,.mw-dialog) :is(h2,h3){font-size:var(--ds-section-size);font-weight:600;line-height:1.4;letter-spacing:normal}
body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.mw-dialog) :is(label,legend){font-size:var(--ds-control-size);font-weight:500;line-height:1.5}
body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.mw-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:inherit;font-size:var(--ds-body-size);line-height:1.5}
body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.document-preview,.mw-dialog) :is(.muted,.rw-contact-context,.dp-help,.dp-readonly){font-size:var(--ds-meta-size);line-height:1.5}
/* Font size 16 prevents automatic input zoom on iPhone; touch targets remain 44px. */
@media(max-width:1100px),(any-pointer:coarse){
 #workspace .sidebar-content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),#workspace form.mail-compose-refined :is(input:not([type=file]),textarea),body> :is(.rw-dialog,.ab-dialog,.resource-action-dialog,.personnel-manage-dialog,.personnel-permissions-dialog,.mw-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
}
@media(max-width:600px){#workspace .sidebar-content h1{font-size:22px}#workspace .sidebar-content h2{font-size:18px}}

/* Remaining secondary text found in the live mailbox and dashboard audit. */
#workspace :is(.mail-row small,.mail-archive-empty,.mail-reading>.muted,.dh-record-text>.muted,.dh-count,.dh-updated){font-size:var(--ds-meta-size)!important;line-height:1.5}
