/* Production layout and employee workspace. */
/* Keep legal copy in one wrapping item beside the independent checkbox. */
.inline-checkbox .consent-copy{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#263321}
.consent-copy a{text-decoration:underline;text-underline-offset:2px}
#registryTable{max-height:68vh;overflow:auto;position:relative;overscroll-behavior:contain}
.workspace-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:0}
.workspace-table th,.workspace-table td{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;font-size:14px;padding:14px 16px;background:#fff;color:#000;border-right:1px solid #edf0e8}
.workspace-table th{position:sticky;top:0;z-index:4;background:#edf0e7;color:#000;height:52px;overflow:visible;cursor:default}
.workspace-table .workspace-select{position:sticky;left:0;z-index:2;width:44px;padding:14px 15px}
.workspace-table .workspace-name{position:sticky;left:44px;z-index:2;box-shadow:3px 0 6px #28351e0a}
.workspace-table th.workspace-select,.workspace-table th.workspace-name{z-index:6;background:#edf0e7}
.workspace-table tbody tr:hover td{background:#f7f9f2}
.workspace-table .candidate-cell b{font-size:15px;line-height:1.5}
.workspace-table .candidate-cell small{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.workspace-sort{background:transparent;border:0;padding:0;color:inherit;font:inherit;font-weight:600;text-align:left;width:100%;cursor:pointer;display:flex;justify-content:space-between;gap:8px}
.workspace-sort:focus-visible,.workspace-resize:focus-visible{outline:2px solid #526b39;outline-offset:3px}
.workspace-resize{position:absolute;right:-4px;top:0;width:9px;height:100%;padding:0;border:0;background:transparent;cursor:col-resize;touch-action:none;z-index:8}
.workspace-resize:hover,.workspace-resize:focus-visible{background:#71885a66}
.workspace-hint{font-size:14px;line-height:1.7;color:#000}
.workspace-column-list{margin:20px 0;max-height:52vh;overflow:auto;border-block:1px solid #e1e6d8}
.workspace-column-option{display:grid;grid-template-columns:minmax(130px,1fr) 90px 60px;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid #edf0e8;font-size:14px}
.workspace-column-option>label:first-child{display:flex;align-items:center;gap:9px}
.workspace-column-option input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:#000}
.workspace-width{display:grid;gap:3px;font-size:14px;color:#000}
.workspace-width input{width:88px;min-height:32px;padding:6px;font-size:14px}
.workspace-column-move{display:flex;gap:12px}
.workspace-column-move button{font-size:19px}
.workspace-column-move button:disabled{opacity:.25;cursor:default}
.workspace-modal-actions{display:flex;justify-content:space-between;gap:12px}
.workspace-audit .audit-entry{grid-template-columns:140px minmax(0,1fr);gap:22px;padding:22px 0}
.workspace-audit .audit-entry time{display:block;font-size:14px;line-height:1.6;color:#000}
.workspace-audit .audit-entry small{display:block;font-size:14px;color:#000;margin-top:5px}
.workspace-audit .audit-entry b{font-size:14px}
.workspace-audit .audit-entry p{font-size:14px;line-height:1.6}
.workspace-entity{overflow-wrap:anywhere;color:#000}
.workspace-audit details{margin-top:12px}
.workspace-audit summary{font-size:14px;color:#000;cursor:pointer}
.workspace-audit-scroll{overflow:auto;margin-top:12px}
.workspace-changes{border-collapse:collapse;table-layout:fixed;width:100%;min-width:450px;font-size:14px}
.workspace-changes th,.workspace-changes td{padding:10px;text-align:left;vertical-align:top;border:1px solid #e1e6d8;overflow-wrap:anywhere;white-space:pre-wrap}
.workspace-changes th{background:#f0f3eb;width:30%;font-weight:500}
@media(max-width:650px){.workspace-audit .audit-entry{grid-template-columns:1fr;gap:8px}.workspace-column-option{gap:8px;grid-template-columns:minmax(100px,1fr) 75px 50px}.workspace-width input{width:72px}#registryTable{max-height:65vh}}
/* Reflow enlarged text instead of hiding it beyond the viewport. */
html{scroll-padding-top:calc(var(--bars-header-height,78px) + 12px)}
.site-header{height:auto;min-height:78px}
.header-inner{height:auto;min-height:78px;flex-wrap:wrap;padding-block:12px;row-gap:10px}
.brand{min-width:0;max-width:100%}
.brand span{white-space:normal;overflow-wrap:anywhere}
.header-login{flex-shrink:0;max-width:100%}
#productionUser{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;max-width:100%}
.button,.pill{white-space:normal;max-width:100%;overflow-wrap:anywhere}
.page-top,.modal-footer,.record-actions,.workspace-modal-actions{flex-wrap:wrap}
.page-top>div,.field-grid>*,.photo-block>div,.intake-photo>div,.staff-person>div{min-width:0;max-width:100%}
.page-shell,dialog{overflow-wrap:anywhere}
.table-tools>*,.date-tools>*{min-width:0;max-width:100%}
.intro-title{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:780px){.site-header,.header-inner{min-height:74px}}
