/* Calm staff typography and register layout. Never style document/email content or print copies. */
:root{--ds-page-size:22px;--ds-section-size:17px;--ds-subtitle-size:15px;--ds-body-size:14px;--ds-control-size:13px;--ds-meta-size:12px}
#workspace .sidebar-content :is(h1,h2,h3){font-weight:500;letter-spacing:normal}
#workspace .sidebar-content :is(button,summary,label,legend,.register-record-link,.mw-document-link,.personnel-identity strong,.sp-identity strong){font-weight:400}
#workspace .sidebar-group-title{font-weight:500}
#workspace .sidebar .sidebar-link{font-size:13px;font-weight:400}
#workspace .sidebar .sidebar-link.active{font-weight:500}
#workspace :is(#register-table,.mw-table,.rw-table,.personnel-table) :is(td,th){font-size:14px;font-weight:400}
#workspace :is(#register-table,.mw-table,.rw-table,.personnel-table) th{font-size:12px;color:#657787}
#workspace .sidebar-content :is(.register-record-link,.mw-document-link){font-size:14px;font-weight:400}
body> :is(.rw-dialog,.ab-dialog,.personnel-manage-dialog,.document-preview,.mw-dialog) :is(h2,h3){font-weight:500}
body> :is(.rw-dialog,.ab-dialog,.personnel-manage-dialog,.mw-dialog) :is(label,legend,button){font-weight:400}
body.quiet-register .qw-legacy-title{display:none!important}
body.quiet-register #workspace #welcome{position:static!important;float:none!important;text-align:right;margin:0 0 8px!important;font-size:12px;line-height:1.4}
#workspace .qw-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 18px}
#workspace .qw-identity{display:flex;align-items:center;gap:12px;min-width:0}
#workspace .qw-heading h1{margin:0;font-size:22px;line-height:1.4;min-width:0}
#workspace .qw-heading #register-results{margin:0;padding:0;border:0;background:transparent;font-size:12px;color:#657787;min-height:0}
#workspace .qw-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#workspace .qw-heading-actions button{margin:0;font-size:13px;min-height:36px;padding:7px 12px;font-weight:400}
#workspace .qw-register :is(.register-heading,.rw-register-heading,.dh-register-heading,.cp-register-actions){display:none!important}
#workspace .qw-register .register-toolbar{padding:14px 16px;gap:10px}
#workspace .qw-register .register-search-field{flex:1;min-width:180px}
#workspace .qw-register .register-toolbar>.register-field:not(.register-search-field){width:170px;flex:0 0 170px}
#workspace .qw-register .register-toolbar>.register-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#workspace .qw-register .register-toolbar :is(input,select){margin:0;min-height:36px;font-weight:400;font-size:14px}
#workspace .qw-register .register-toolbar button{font-weight:400}
#workspace .qw-register #register-table td{padding:9px 14px;line-height:20px}
#workspace .qw-register #register-table .register-record-link{font-size:14px;line-height:20px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;min-height:0}
#workspace .qw-register #register-table .register-reference{font-size:12px;line-height:18px;color:#687b8b}
#workspace .qw-register .register-status{background:transparent;border:0;padding:0;color:#657787;font-size:12px;font-weight:400}
#workspace .qw-register .register-status:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:7px;vertical-align:middle}
#workspace .qw-views{display:flex;grid-column:1/-1;justify-self:start;width:max-content;max-width:100%;border:1px solid #d5dfe9;border-radius:5px;overflow:hidden}
#workspace .qw-views button{border:0;border-radius:0;margin:0;min-height:36px;padding:7px 10px;background:white;color:#526b7e;font-size:13px;white-space:nowrap}
#workspace .qw-views button[aria-pressed=true]{background:#eaf0f6;color:#285579}
#workspace .qw-grouped #register-table :is(thead tr,tbody tr:not(.qw-group))>:nth-child(2){display:none}
#workspace .qw-grouped #register-table .register-reference{display:none}
#workspace .qw-grouped #register-table tr.qw-group>th{padding:0;background:#f8fafc;border-top:1px solid #e1e8ef}
#workspace .qw-group button{display:flex;align-items:center;gap:10px;width:100%;margin:0;border:0;border-radius:0;background:transparent;color:#304c63;min-height:44px;padding:10px 14px;text-align:left;font-size:14px;font-weight:500}
#workspace .qw-group button:before{content:'›';width:12px;color:#718595;font-size:18px;flex-shrink:0}
#workspace .qw-group button[aria-expanded=true]:before{transform:rotate(90deg)}
#workspace .qw-group button small{font-size:12px;font-weight:400;color:#657787}
#workspace .qw-group-count{margin-left:auto;font-size:12px;font-weight:400;color:#657787}
@media(max-width:1100px),(any-pointer:coarse){#workspace .qw-heading-actions button,#workspace .qw-register .register-toolbar :is(button,input,select),#workspace .qw-views button{min-height:44px}#workspace .qw-register .register-toolbar :is(input,select){font-size:16px}}
@media(max-width:1100px){#workspace .qw-grouped #register-table .qw-group{display:block;grid-template-columns:none;padding:0;border:0}#workspace .qw-grouped #register-table .qw-group th{display:block;width:100%;padding:0}#workspace .qw-grouped #register-table .qw-group th:before{display:none}#workspace .qw-group button{flex-wrap:wrap;gap:6px 10px}#workspace .qw-register #register-table .register-record-link{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:600px){#workspace .qw-heading{flex-wrap:wrap;gap:12px;margin:8px 0 16px}#workspace .qw-heading h1{font-size:21px}#workspace .qw-heading-actions{width:100%;display:flex;justify-content:stretch}#workspace .qw-heading-actions button{flex:1;white-space:normal}#workspace .qw-register .register-search-field{flex-basis:100%;min-width:0}#workspace .qw-register .register-toolbar>.register-field:not(.register-search-field){width:auto;flex:1;min-width:0}#workspace .qw-views{width:100%}#workspace .qw-views button{flex:1}}
@media(max-width:1100px){
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group){display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:2px 8px;padding:8px 0;margin:0;border:0;border-bottom:1px solid #e5ebf1;border-radius:0}
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group)>td{display:block;position:static;width:auto;padding:0;border:0;min-width:0}
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group)>td:first-child{grid-column:1;grid-row:1}
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group)>td:nth-child(4){grid-column:1;grid-row:2}
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group)>td:is(:nth-child(2),:nth-child(3),:nth-child(5)){display:none}
 #workspace .qw-grouped #register-table tbody tr:not(.qw-group)>td:last-child{grid-column:2;grid-row:1/3;align-self:center}
 #workspace .qw-grouped #register-table td:before{display:none}
 #workspace .qw-grouped #register-table .register-record-link{min-height:44px;display:flex;align-items:center}
}
