
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#203342;background:#f4f6f7;font-synthesis:none;--navy:#142e40;--teal:#147c7e;--muted:#5c6e7b;--focus:#0e8086;--line:#dfe5e9;--blue:#205c9c}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:#246c9c;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.8px;margin-bottom:10px}h2{font-size:18px;letter-spacing:-.25px;font-weight:650;margin-bottom:14px}h3{font-size:17px}h4{font-size:14px}.app-layout{display:flex;min-height:100vh}.sidebar{--focus:#47b3bd;width:220px;position:fixed;top:0;bottom:0;display:flex;flex-direction:column;background:var(--navy);color:#d4e0e7;padding:30px 18px 0}.wordmark{display:block;font-size:28px;font-weight:700;letter-spacing:5px;color:#fff;line-height:1.1;padding:0 12px}.wordmark span{display:block;font-size:8px;letter-spacing:2.25px;margin-top:10px;font-weight:500;white-space:nowrap}.wordmark:hover{text-decoration:none}.workspace-name{margin:42px 12px 24px;color:#9bb4c2;font-size:10px;letter-spacing:2px}.workspace-name span{float:right;border:1px solid #587081;padding:0 4px;font-size:9px}.nav-link{display:flex;align-items:center;gap:12px;border:0;width:100%;text-align:left;background:none;color:#baceD9;padding:13px 14px;border-radius:6px;margin-bottom:6px;font-weight:500}.nav-link span{font-size:21px;line-height:1;width:23px}.nav-link.active{background:#28485b;color:#fff;box-shadow:inset 3px 0 #66cac3}.nav-link:hover{background:#223e50}.sidebar-bottom{margin-top:auto;padding:24px 12px 18px}.sidebar-bottom p{color:#90a9b7;font-size:11px;margin-top:12px}.local-indicator{font-size:11px;display:flex;align-items:center;gap:7px}.local-indicator i{background:#6cc4b8;width:6px;height:6px;border-radius:50%}.user-row{display:flex;align-items:center;gap:10px;border-top:1px solid #385162;margin-top:25px;padding-top:20px;font-size:12px}.avatar{background:#315369;color:#d7ecf4;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:14px}.user-row small{display:block;color:#92abba;font-size:10px}.icon-button{border:0;background:none;color:#bcd3df;padding:5px;margin-left:auto;font-size:22px}.main-column{margin-left:220px;width:calc(100% - 220px);min-width:0}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.slash{margin:0 12px;color:#a7b4bd}.topbar-right{display:flex;align-items:center;gap:20px}.build-tag{font-size:9px;letter-spacing:1.4px;color:#5c6e7b}.dataset-label{display:flex;align-items:center;gap:10px;font-size:11px}.dataset-label select{border:1px solid #758894;background:#fafbfc;border-radius:5px;padding:7px 9px;color:#304453;font-size:11px}.demo-banner{padding:10px 32px;background:#fcf0d7;border-bottom:1px solid #ead9b5;font-size:11px;color:#795c26}.demo-banner strong{font-size:10px;letter-spacing:.6px;margin-right:10px}main{padding:30px 32px 42px;max-width:1800px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.page-heading p{color:var(--muted);font-size:13px;margin:0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.65px;color:var(--teal);margin-bottom:10px}.eyebrow.light{color:#76c7c4}.heading-actions{flex-shrink:0}.primary,.secondary,.text-button,.back-link,.close-button{border:0;background:none;padding:10px 15px;border-radius:5px;font-weight:550;font-size:12px;white-space:nowrap}.primary{background:var(--teal);color:white;border:1px solid var(--teal)}.primary:hover{background:#0f686c}.secondary{background:white;color:#344d5d;border:1px solid #ccd8df}.secondary:hover{background:#f1f5f7}.text-button{color:var(--blue);font-size:11px;padding:6px 0}.compact{font-size:11px;padding:6px 10px}.wide{width:100%}.source-strip{display:flex;align-items:center;gap:9px;padding:12px 16px;background:#edf2f5;border:1px solid #e0e6e9;border-radius:6px;font-size:11px;margin-bottom:25px;flex-wrap:wrap}.source-strip>span:not(.status-dot){color:var(--muted);margin-left:auto}.source-strip strong{font-size:11px;font-weight:550}.source-strip .text-button{margin-left:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--teal)}.amber-dot{background:#bd8732}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:25px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px 0}.metrics div{padding:0 22px;border-right:1px solid var(--line)}.metrics div:last-child{border:0}.metrics span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.metrics strong{font-size:29px;font-weight:550;letter-spacing:-1px}.panel{background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:22px;overflow:hidden}.panel-pad{padding:22px}.tabs{display:flex;gap:22px;padding:0 20px;border-bottom:1px solid var(--line);overflow:auto}.tabs button{padding:15px 0;border:0;border-bottom:2px solid transparent;white-space:nowrap;background:none;color:var(--muted);font-size:12px}.tabs button.selected{color:var(--teal);border-color:var(--teal);font-weight:650}.filters{padding:18px 20px 12px}.filter-main{display:grid;grid-template-columns:minmax(210px,2fr) repeat(4,minmax(110px,1fr));gap:12px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:550;color:#4a606f;margin-bottom:14px}.field input,.field textarea,.field select{border:1px solid #758894;background:#fff;border-radius:5px;padding:9px 10px;font-size:12px;color:#243b4b;width:100%;min-width:0;line-height:1.4}.field textarea{resize:vertical}.field input::placeholder{color:#5c6e7b;opacity:1}.advanced summary{font-size:11px;color:var(--muted);padding-bottom:8px}details summary{cursor:pointer;font-size:12px;font-weight:600;padding:10px 0}details p{font-size:12px;color:#566a78}details pre{max-height:340px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:10px;background:#f4f6f7;padding:12px;border-radius:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.six{grid-template-columns:repeat(6,1fr);gap:10px}.table-scroll{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:.75px;background:#f8fafb;color:#72838e;font-weight:600;padding:13px 17px;border-top:1px solid #edf0f2;border-bottom:1px solid #e4eaee;white-space:nowrap}td{padding:17px;border-bottom:1px solid #eef1f3;vertical-align:top}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfd}.lead-table td:first-child{width:26%;min-width:195px}.lead-table td:nth-child(2){width:15%;min-width:120px}.lead-table td:nth-child(3){width:18%;min-width:135px}.lead-table td:last-child{min-width:145px}.facility-link{border:0;padding:0;background:none;color:#264f6c;text-align:left;font-size:12px;font-weight:650;line-height:1.5}.facility-link:hover{text-decoration:underline}.cell-sub{font-size:10px;line-height:1.55;display:block;color:#82909a;margin-top:4px;max-width:245px}.score-inline{display:flex;align-items:center;gap:7px}.score-inline strong{font-size:19px;font-weight:600}.badge{display:inline-block;border-radius:4px;padding:3px 7px;font-size:9px;line-height:1.5;font-weight:600;white-space:nowrap;vertical-align:middle}.blue{background:#e8f0fa;color:#245d9f}.teal{background:#e3f2ee;color:#217967}.amber{background:#faf0db;color:#936c29}.muted{color:#5c6e7b}.badge.muted{background:#f0f3f5;color:#71828e}.table-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:12px 18px;color:var(--muted);font-size:10px}.table-footer button{margin-left:6px}.quiet-note{font-size:11px;color:#82939e}.empty{padding:60px 25px;text-align:center;max-width:680px;margin:0 auto}.empty h3{margin:12px 0 8px;font-size:18px;font-weight:500}.empty p{font-size:12px;max-width:450px;margin:0 auto;color:var(--muted)}.empty-mark{font-size:30px;color:#90aaaF}.capitalize{text-transform:capitalize}footer{display:flex;justify-content:space-between;font-size:9px;color:#98a5ae;padding:18px 32px;border-top:1px solid var(--line);margin-top:auto}footer span{text-align:right}.notice{background:#fff4db;color:#7e6029;border:1px solid #eaddbe;border-radius:5px;padding:14px;font-size:12px;margin-bottom:18px}.notice p{margin:8px 0 0}.notice.subtle{background:#eef5f5;color:#567779;border-color:#dce9e9;font-size:11px}.error-notice{background:#fff0ec;color:#8b453c;border-color:#eed5ce}.divider{height:1px;background:var(--line);margin:22px 0}.small{font-size:11px}.back-link{padding:0;margin-bottom:17px;color:#738895;font-size:11px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.detail-intro{display:grid;grid-template-columns:1fr 1fr 1.15fr;padding:22px;gap:16px}.label{display:block;color:#84929b;font-size:10px;margin-bottom:7px}.detail-intro strong{display:block;font-size:12px}.detail-intro small{display:block;font-size:10px;color:#8a989f;line-height:1.5;margin-top:7px}.score-large{font-size:32px;font-weight:600;line-height:1.2;display:flex;align-items:center;gap:8px}.score-large>span:not(.badge){font-size:12px;color:#b1bdc6;font-weight:400}.form-section{padding:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px}.section-heading h2{margin:0;font-size:15px}.section-heading span{color:#8796a0;font-size:10px}.form-section .section-heading,.panel-pad .section-heading{padding:0 0 18px}.check{display:flex;align-items:center;gap:8px;font-size:11px;color:#4a626f;margin:10px 0 14px}.check input{accent-color:var(--teal);width:14px;height:14px}.reasons{padding:12px 14px;background:#f5f8f9;border-left:2px solid #b6cbd4;margin:12px 0 20px;font-size:11px;color:#708592}.reasons p{margin:4px 0}.source-addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:10px 0 12px}.source-addresses p{font-size:12px}.address-block{padding:12px 0}.save-bar{position:sticky;bottom:0;border:1px solid #d2e1e4;border-radius:7px;background:#edf5f5;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:14px}.save-bar span{font-size:10px;color:#63828b}fieldset{padding:0;margin:0;border:0;min-width:0}fieldset:disabled{opacity:.85}.detail-aside>.panel{padding:22px}.detail-aside h2{font-size:15px}.component{padding:9px 0 15px;border-bottom:1px solid #edf1f3;margin-bottom:10px}.component>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.component strong{font-size:11px}.component p{font-size:10px;color:#657d8d;margin:10px 0 0}.component p b{color:var(--teal)}.component small{display:block;color:#91a0aa;font-size:9px;margin-top:4px}.component progress{display:block;width:100%;height:4px;margin:9px 0;appearance:none;border:0}.component progress::-webkit-progress-bar{background:#edf2f3;border-radius:5px}.component progress::-webkit-progress-value{background:#479e9f;border-radius:5px}.rule-note{font-size:9px;color:#91a0aa}.plain-list{list-style:none;padding:0;margin:0}.plain-list li{font-size:11px;padding:9px 0;border-top:1px solid #edf0f2;color:#6e818d}.history-event{font-size:11px;border-top:1px solid #edf1f3;padding-top:12px;margin:12px 0}.history-event p{font-size:10px;line-height:1.8;margin:7px 0;color:#718591}.history-event small{font-size:10px;color:#8797a1}.planning-strip{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:18px;padding:20px;gap:20px}.planning-strip span{display:block;font-size:10px;color:#83939d;margin-bottom:6px}.planning-strip strong{font-size:14px;font-weight:550}.planning-strip small{display:block;font-size:9px;font-weight:400;color:#96a3ab}.exception-list{padding:0 20px}.exception-list>div{display:flex;justify-content:space-between;gap:25px;padding:15px 0;border-top:1px solid #edf1f3}.exception-list span{font-size:10px;color:#8b7655;max-width:55%;text-align:right}.review-item{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}.review-item p{font-size:12px;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:22px}.health-list{display:grid;grid-template-columns:1fr 1.25fr;font-size:11px;gap:13px;margin:20px 0}.health-list dt{color:#7a909c}.health-list dd{margin:0;color:#304d5c;word-break:break-word}.config-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.user-control{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.12fr 1fr;background:#fff}.login-story{background:var(--navy);padding:50px 65px;color:#ecf4f6;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story .wordmark{padding:0}.login-story h1{font-size:40px;line-height:1.2;letter-spacing:-.7px;margin:18px 0 25px}.login-story p{color:#a7c0ce;font-size:15px;max-width:390px;line-height:1.8}.story-line{color:#73beba;font-size:11px;border-top:1px solid #365566;padding-top:25px;margin-top:45px}.muted-light{font-size:10px;color:#85a1b3}.login-card{align-self:center;padding:40px 60px;max-width:550px;width:100%;margin:0 auto}.login-card h2{font-size:27px}.login-card>p{font-size:13px;color:#7a8c98;margin-bottom:25px}.login-card .field{margin:18px 0}.login-card .notice{font-size:11px}.login-card .notice p{font-size:11px}.login-card .notice code{font-size:10px}#login-error{color:#a34c40;font-size:12px;margin-top:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#234856;color:white;padding:13px 22px;border-radius:6px;box-shadow:0 6px 25px #18334030;max-width:650px;display:none;font-size:12px;z-index:1000}#toast.show{display:block}#toast.error{background:#834e41}dialog{border:1px solid #d6e2e6;border-radius:10px;padding:30px;max-width:850px;width:calc(100% - 50px);max-height:85vh;overflow:auto;color:#294453;box-shadow:0 20px 100px #0f2c3b45}dialog::backdrop{background:#152c3a70}dialog h2{font-size:24px}dialog>p{font-size:12px;color:#7a8c98}.close-button{position:absolute;right:12px;top:8px;font-size:23px;color:#7e919c}.batch-total{display:flex;justify-content:space-between;padding:20px 0;font-size:14px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.loading{padding:40px}code{background:#eaf0f2;padding:2px 4px;border-radius:3px;font-family:Consolas,monospace;font-size:11px}
@media(min-width:1600px){main{padding:40px 46px}.topbar{padding:0 46px}.lead-table td:first-child{width:30%}td{padding:20px}}
@media(max-width:1200px){.sidebar{width:185px;padding-left:12px;padding-right:12px}.wordmark{font-size:24px;letter-spacing:4px}.wordmark span{font-size:7px;letter-spacing:1.8px}.main-column{margin-left:185px;width:calc(100% - 185px)}main{padding:25px 22px}.topbar{padding:0 22px}.heading-actions{max-width:200px}.page-heading h1{font-size:27px}.detail-layout{grid-template-columns:minmax(0,1fr) 275px;gap:17px}.detail-intro{grid-template-columns:1fr 1fr;padding:18px}.detail-intro>div:last-child{grid-column:1/-1}.filter-main{grid-template-columns:minmax(175px,1.7fr) repeat(4,minmax(90px,1fr))}.metrics div{padding:0 18px}.lead-table td{padding:14px 12px}.lead-table th{padding:12px}.settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.sidebar{width:70px;padding:22px 7px}.wordmark{font-size:10px;letter-spacing:0;padding:0;text-align:center}.wordmark span,.workspace-name,.sidebar-bottom,.nav-link{font-size:0}.nav-link{padding:16px 14px;gap:0;margin-top:15px}.nav-link span{font-size:25px}.main-column{margin-left:70px;width:calc(100% - 70px)}.detail-layout,.settings-grid{grid-template-columns:1fr}.detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.metrics{grid-template-columns:repeat(2,1fr);row-gap:15px}.filter-main{grid-template-columns:repeat(2,1fr)}.form-grid.six{grid-template-columns:repeat(3,1fr)}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.planning-strip{grid-template-columns:1fr 1fr}.config-grid{grid-template-columns:1fr}.login-story{padding:40px}.login-story h1{font-size:30px}.login-card{padding:30px}footer span{display:none}.source-strip>span:not(.status-dot){margin-left:0}.tabs{gap:18px}}
@media(max-width:600px){main{padding:20px 12px}.topbar{padding:0 12px;height:60px}.build-tag,.topbar>span{display:none}.demo-banner{padding:10px;font-size:10px}.form-grid,.form-grid.three,.detail-aside{grid-template-columns:1fr}.login-wrap{grid-template-columns:1fr}.login-story{display:none}.login-card{padding:35px 25px}.detail-intro{grid-template-columns:1fr}.source-addresses{grid-template-columns:1fr}.save-bar{flex-direction:column}.form-grid.six{grid-template-columns:1fr 1fr}.metrics strong{font-size:24px}.metrics div{padding:0 14px}.tabs{padding:0 15px}.exception-list>div{display:block}.exception-list span{max-width:none;display:block;text-align:left;margin-top:8px}}
/* Desktop refinement: keep the first several prospects visible at 1366x768. */
@media(min-width:901px){.topbar{height:58px}main{padding-top:24px}.demo-banner{padding-top:8px;padding-bottom:8px}.page-heading{margin-bottom:20px}.source-strip{padding:8px 14px;margin-bottom:16px}.metrics{padding:12px 0;margin-bottom:18px}.metrics div{display:flex;align-items:center;justify-content:space-between;gap:10px}.metrics span{margin:0;max-width:130px;line-height:1.5}.metrics strong{font-size:26px}.tabs button{padding:12px 0}.filters{padding:12px 18px 6px}.filters .field{margin-bottom:10px}.filters .field input,.filters .field select{padding:8px 9px}.advanced summary{padding-top:3px;padding-bottom:5px}.cell-sub{font-size:11px;line-height:1.4}th{font-size:10px}.empty{padding-top:35px;padding-bottom:35px}}

.hidden{display:none!important}

/* Build 02: compact worklist controls within the existing desktop layout. */
button,input,select,textarea{font-family:inherit}
.heading-actions{display:flex;gap:8px;flex-wrap:wrap}
.worklist-panel{overflow:visible}
.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#eff6f6;position:sticky;top:0;z-index:3;border-radius:0}
.selection-bar>strong{font-size:12px;line-height:1.6}.selection-bar>strong>span{font-weight:400;color:#526d79}.selection-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.worklist-table{table-layout:fixed}.worklist-table th,.worklist-table td{padding:12px 10px;overflow-wrap:anywhere;font-size:11px}.worklist-table th{font-size:9px;letter-spacing:.45px;white-space:normal}.worklist-table th:first-child{width:4%}.worklist-table th:nth-child(2){width:21%}.worklist-table th:nth-child(3){width:18%}.worklist-table th:nth-child(4){width:16%}.worklist-table th:nth-child(5),.worklist-table th:nth-child(6){width:14%}.worklist-table th:last-child{width:13%}
.worklist-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--teal)}.worklist-table .facility-link{font-size:12px}.worklist-table .cell-sub{font-size:10px;color:#627885;line-height:1.5;margin-top:6px}.worklist-table .text-button{font-size:10px;white-space:normal;text-align:left}.worklist-table .row-selected{background:#edf8f5}.worklist-table .badge{white-space:normal;font-size:9px}.ranking-number{font-size:18px;font-weight:650;display:block;margin-top:5px}.ranking-number small{font-size:10px;color:#748a96;font-weight:400}
.export-options{display:flex;gap:20px;background:#f2f6f7;padding:14px;border-radius:6px;font-size:13px}.export-options input{accent-color:var(--teal)}.export-counts{display:flex;gap:36px;padding:20px 0;font-size:13px}.export-counts strong{font-size:27px;font-weight:600;display:block}.export-exceptions>div{max-height:210px;overflow:auto;background:#faf7f0;padding:0 14px;border-radius:5px}.export-exceptions p{font-size:11px;line-height:1.6;border-bottom:1px solid #e9e4d7;padding-bottom:10px}.export-exceptions summary{padding:8px 0}
dialog.drawer{position:fixed;inset:16px 16px 16px auto;margin:0;width:580px;height:calc(100vh - 32px);max-height:calc(100vh - 32px);max-width:calc(100vw - 32px);border-radius:8px}.drawer h3{font-size:15px;margin-top:24px}.drawer-score{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.drawer-score strong{font-size:27px}.drawer-score>span:last-child{font-size:12px;color:#637c89}
.target-categories{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:5px}.target-categories th{position:sticky;top:0;z-index:1}.target-categories td{padding:8px 12px;font-size:11px;vertical-align:middle}.target-categories .field{margin:0}.target-categories select{padding:6px 8px;font-size:11px}.target-categories .cell-sub{font-size:9px}.settings-grid h3{font-size:15px;margin:24px 0 14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.worklist-table{min-width:950px}.selection-bar{flex-wrap:wrap}.selection-actions{gap:12px}.selection-bar>strong{font-size:11px}}

/* Build 03: concise rows; evidence and complete holds remain in the accessible review drawer. */
@media(min-width:1101px){
 main:has(.worklist-panel){padding:16px 24px 24px}
 main:has(.worklist-panel) .page-heading{margin-bottom:10px}
 main:has(.worklist-panel) h1{font-size:27px;margin-bottom:0}
 main:has(.worklist-panel) .source-strip{margin-bottom:10px;padding:3px 12px}
 .worklist-panel .tabs{gap:20px}
 .worklist-panel .tabs button{padding:6px 0}
 .worklist-panel .filters{padding:8px 14px 4px}
 .worklist-panel .field{gap:3px;margin-bottom:3px}
 .worklist-panel .field input,.worklist-panel .field select{padding:6px 8px}
 .worklist-panel .selection-bar{padding:6px 14px}
 .worklist-table th{padding:7px 8px;font-size:10px}
 .worklist-table td{padding:8px;font-size:12px;vertical-align:middle}
 .worklist-table th:nth-child(2){width:27%}
 .worklist-table th:nth-child(3){width:21%}
 .worklist-table th:nth-child(4){width:17%}
 .worklist-table th:nth-child(5),.worklist-table th:nth-child(6){width:9%}
 .worklist-table th:last-child{width:13%}
 .worklist-table .cell-sub{font-size:11px;line-height:1.4;margin-top:3px;max-width:none}
 .worklist-table .text-button{font-size:11px;padding:0;line-height:1.4}
 .worklist-table .badge{font-size:10px;padding:2px 5px}
 .rank-line{display:flex;gap:7px;align-items:center}
.rank-line strong{font-size:19px;line-height:1.2}
}

/* Build 04: source context and recipient units stay inside the existing compact worklist. */
.source-view-control{display:inline-flex;gap:2px;padding:3px;border:1px solid #d3dfe3;background:#edf3f4;border-radius:6px;margin:0 0 14px;flex-shrink:0}
.source-view-control button{padding:7px 13px;font-size:12px;color:#536e7c;border-radius:4px;background:transparent;white-space:nowrap}
.source-view-control button.selected{background:#fff;color:#176f75;box-shadow:0 1px 4px #234d5c18;font-weight:650}
.worklist-source-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.worklist-source-row .source-view-control{margin:0}.source-context-note{font-size:10px;color:#6a808c;display:flex;align-items:center;gap:12px;text-align:right}
.beverage-filters{display:grid;grid-template-columns:1fr 1fr 2fr 1.3fr 1.3fr;gap:12px;margin:6px 0 2px}
.import-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:14px 0}.import-counts>div{padding:9px 12px;background:#f0f5f6;border-radius:5px}.import-counts strong{font-size:22px;display:block}.import-counts span{display:block;font-size:10px;color:#627d89}
.import-progress{display:flex;gap:10px;align-items:center;padding:14px 0;font-size:12px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #c6dedf;border-top-color:var(--teal);border-radius:50%;animation:import-spin .8s linear infinite}.fingerprint{display:block;overflow-wrap:anywhere}
.recipient-card{border:1px solid var(--line);border-radius:5px;padding:12px;margin:10px 0;font-size:12px}.recipient-card p{font-size:11px;line-height:1.6;margin:8px 0}.recipient-card details pre{max-height:230px}.recipient-card .notice{padding:9px;margin:8px 0}.recipient-evidence .badge{font-size:9px}
.worklist-table .account-label,.worklist-table .theme-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@keyframes import-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-top-color:var(--teal)}}
@media(min-width:1101px){
 .worklist-source-row .source-view-control button{padding:5px 12px}
 .worklist-panel .beverage-filters .field select{padding:4px 7px}
 .worklist-panel .beverage-filters .field{gap:2px}
 .worklist-table td{padding-top:7px;padding-bottom:7px}
 .worklist-table .account-label,.worklist-table .theme-label{font-size:10px;line-height:1.35}
 .worklist-table .facility-link{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .worklist-table .cell-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .worklist-table th:nth-child(2){width:25%}.worklist-table th:nth-child(3){width:20%}.worklist-table th:nth-child(4){width:21%}.worklist-table th:last-child{width:12%}
}
@media(max-width:900px){.worklist-source-row{align-items:flex-start;flex-direction:column}.beverage-filters{grid-template-columns:repeat(2,1fr)}.source-context-note{text-align:left}.import-counts{grid-template-columns:repeat(2,1fr)}}

/* Build 05: neutral absence and compact operational status, with the same row density. */
.worklist-table .badge.email-absent{font-size:9px;line-height:1.25;white-space:nowrap;padding-left:3px;padding-right:3px}
.worklist-table .recipient-hold-link{display:inline;font-size:9px;margin-left:3px;color:#8d6421;white-space:nowrap;font-weight:600}
.held-label{color:#8d6421}.channel-held-details{margin:0 0 12px}.channel-held-details summary{font-size:12px}.channel-readiness p{font-size:12px}
.operations-summary{margin:10px 0 18px;padding:12px;background:#f3f7f7;border-radius:5px}.operations-summary dt,.operations-summary dd{font-size:11px;line-height:1.5}
.import-history{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.import-history>summary{font-size:13px;font-weight:600}.settings-grid .import-progress{padding:6px 0;align-items:flex-start}.settings-grid .import-progress .spinner{flex-shrink:0;margin-top:2px}
/* Facility profiles preserve the compact worklist and use ordinary readable forms. */
.profile-heading{margin-bottom:14px}.profile-heading h1{font-size:28px;overflow-wrap:anywhere}.profile-heading p{margin:5px 0 8px}.profile-badges{display:flex;gap:7px;flex-wrap:wrap}.profile-badges .badge{font-size:11px}.profile-save-status{font-size:12px;color:#217967;min-height:20px;margin-bottom:8px}.profile-save-status.error-text,.profile-form-status{color:#8b453c}.profile-body{max-width:1160px;min-width:0}.profile-section{padding:20px 24px;margin-bottom:18px;min-width:0}.profile-section>.section-heading{padding:0 0 12px}.profile-section>.section-heading h2{font-size:18px}.profile-section>.section-heading>button{font-size:12px;flex-shrink:0}.profile-section h3{font-size:14px;margin:0 0 5px}.profile-section p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.profile-section .small{font-size:12px}.profile-section .muted{color:#6b808b}.profile-count{font-size:13px!important;font-weight:400;margin-left:4px}.profile-addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-addresses p{margin:6px 0 5px}.profile-source-values{margin-top:14px}.profile-source-values summary,.profile-inactive summary,.profile-technical summary,#profile-history summary{font-size:12px}.profile-contact{display:flex;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid var(--line)}.profile-contact:first-child{border-top:0;padding-top:2px}.profile-contact-main{min-width:0;flex:1}.profile-contact h3{font-size:15px;overflow-wrap:anywhere}.profile-contact-role{margin:3px 0;color:#385565}.profile-contact-methods{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.profile-contact-context{font-size:12px!important;margin:6px 0;color:#69818e}.profile-contact-actions{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;max-width:230px;justify-content:flex-end}.profile-contact-actions button{font-size:12px;text-align:right}.profile-provenance summary{font-size:11px;color:#70858f;padding:2px 0}.profile-provenance p{font-size:11px}.profile-restriction{font-size:12px!important;color:#8d6421;margin:6px 0!important}.profile-inactive{margin-top:12px}.profile-inactive .profile-contact{opacity:.8}.profile-followup{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;font-size:13px}.profile-followup .label{font-size:11px}.profile-notes-text{white-space:pre-wrap}.profile-mailer{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:15px 0;border-top:1px solid var(--line)}.profile-mailer>div{min-width:0}.profile-mailer>button{flex-shrink:0;font-size:12px}.profile-mailer p{margin:6px 0}.profile-technical>summary{font-size:15px;font-weight:600}.profile-technical-body{margin-top:18px}.profile-technical-body>details,.profile-technical-body>form{margin:18px 0}.profile-technical .field,.profile-editor .field{font-size:12px}.profile-technical .field input,.profile-technical .field select,.profile-technical .field textarea,.profile-editor .field input,.profile-editor .field select,.profile-editor .field textarea{font-size:13px}.profile-technical-body pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;max-height:340px;overflow:auto}.profile-technical-body .button-row{margin:16px 0}.profile-editor{width:720px;max-width:calc(100vw - 40px);padding:24px 28px}.profile-editor-heading{padding-right:25px}.profile-editor h2{font-size:23px;margin:0 0 18px}.profile-editor h3{font-size:15px;margin:18px 0 12px}.profile-editor p{font-size:13px;line-height:1.55}.profile-editor .small,.profile-editor .check{font-size:12px}.profile-editor .form-grid.three{grid-template-columns:1.3fr .8fr 1fr}.profile-editor-footer{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.profile-form-status{font-size:12px;line-height:1.6;margin:10px 0;white-space:pre-wrap}.profile-candidate{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:12px 0;font-size:12px}.profile-candidate>div{min-width:0;overflow-wrap:anywhere}.facility-link:focus-visible,.profile-section button:focus-visible{outline:2px solid #0e8086;outline-offset:4px}.profile-section .notice{font-size:12px}
@media(max-width:900px){.profile-contact-actions{max-width:160px}.profile-heading h1{font-size:25px}.profile-section{padding:18px}.profile-addresses{gap:14px}}
@media(max-width:600px){.profile-addresses,.profile-followup{grid-template-columns:1fr}.profile-contact{display:block}.profile-contact-actions{max-width:none;justify-content:flex-start;margin-top:10px}.profile-contact-actions button{text-align:left}.profile-mailer{display:block}.profile-mailer>button{margin-top:10px}.profile-editor{padding:20px}.profile-editor .form-grid.three{grid-template-columns:1fr}.profile-section .section-heading{align-items:flex-start}}
/* Named mailing folders keep the existing compact workspace. */
.batch-workspace{min-width:0}.batch-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px}.batch-filters .field,.batch-bulk .field{margin:0;font-size:12px}.batch-filters input,.batch-filters select,.batch-recipient-table select,.batch-bulk select{font-size:13px;min-width:0;width:100%}.batch-bulk{display:flex;gap:10px;flex-wrap:wrap;align-items:end;padding:12px 16px;border-block:1px solid var(--line)}.batch-bulk>.small{flex-basis:100%}.batch-bulk>.field{max-width:280px}.batch-status{min-height:28px;font-size:13px;color:#217967;padding:5px 0}.batch-status.error-text,.form-error{color:#953c31;white-space:pre-wrap}.batch-busy .batch-recipient-table,.batch-busy .batch-bulk{pointer-events:none;opacity:.7}.batch-recipient-table{table-layout:fixed;width:100%;font-size:13px}.batch-recipient-table th,.batch-recipient-table td{white-space:normal;overflow-wrap:anywhere;padding:11px 10px;vertical-align:top}.batch-recipient-table th:nth-child(1){width:6%}.batch-recipient-table th:nth-child(2){width:18%}.batch-recipient-table th:nth-child(3){width:17%}.batch-recipient-table th:nth-child(4){width:24%}.batch-recipient-table th:nth-child(5){width:15%}.batch-recipient-table th:nth-child(6){width:20%}.batch-recipient-table .field{margin:0 0 7px}.batch-recipient-table .cell-sub{white-space:normal;line-height:1.5}.batch-address{display:block;font-size:12px;line-height:1.5}.batch-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.batch-context-grid>div{overflow-wrap:anywhere}.batch-revision{display:flex;gap:10px 22px;flex-wrap:wrap;border-top:1px solid var(--line);padding:15px 0;font-size:13px}.batch-revision>div{flex-basis:100%;display:flex;flex-wrap:wrap;gap:9px}.lead-incident{padding:4px 0 9px;font-size:12px}.lead-incident strong,.lead-incident small{display:block;white-space:normal}.lead-incident .compact{margin-top:6px}.main-column,main,#mailing-workspace{min-width:0}.profile-address-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.incident-review{padding:14px 18px;margin-bottom:14px;border:1px solid var(--line);border-radius:8px}.profile-section .button-row{flex-wrap:wrap}
@media(max-width:1100px){.batch-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.batch-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.batch-filters,.batch-context-grid,.profile-address-list{grid-template-columns:1fr}.batch-recipient-table{min-width:900px}}
.batch-recipient-table td .text-button{display:block;text-align:left;margin:3px 0}.batch-recipient-table th:first-child{white-space:nowrap;overflow-wrap:normal;letter-spacing:.02em}

/* Contact Queue corrections keep action feedback in its working context. */
.release-notice{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:18px;background:#fff4db;border-bottom:1px solid #dac89f;padding:12px 24px;font-size:13px;color:#604f2b}.release-notice span{max-width:950px}.release-notice button{flex-shrink:0}.queue-exceptions{margin-top:18px}.queue-exceptions>summary{width:fit-content;padding:0;font-size:14px}.queue-exception-list>article{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-top:1px solid var(--line);padding:13px 0;font-size:13px}.queue-exception-list article>div{min-width:0;overflow-wrap:anywhere}.queue-exception-list p{margin:4px 0}.queue-exception-list button{flex-shrink:0}.profile-address-card{display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line);border-radius:6px;padding:16px;min-width:0}.profile-address-card p{margin:9px 0;overflow-wrap:anywhere}.profile-address-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:10px;padding-top:8px}.profile-address-actions .text-button{white-space:normal;text-align:left}.profile-default-status{display:flex;flex-wrap:wrap;gap:6px 24px;margin-bottom:14px}.profile-default-status p{margin:0;font-size:12px}.profile-physical-location{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:flex-start}.profile-physical-location span{font-size:13px}.profile-physical-location small{flex-basis:100%;color:var(--muted)}.profile-contact-filter{max-width:235px}.profile-type-routing-preview{background:#f3f7f8;padding:12px;border-radius:5px;margin-bottom:16px;font-size:12px;line-height:1.6}.batch-type-totals{font-size:12px!important;margin-top:7px!important;max-width:700px}.batch-type-totals strong{font-weight:550}.batch-bulk-status,.recipient-action-feedback{font-size:12px;white-space:pre-wrap;color:#217967}.batch-bulk-status.error-text,.recipient-action-feedback.error-text,[data-action-feedback].error-text{color:#953c31}.batch-bulk-status{flex-basis:100%}.form-error:empty,.batch-bulk-status:empty,.recipient-action-feedback:empty{display:none}dialog .form-error,dialog [data-action-feedback]{margin:14px 0;font-size:13px;line-height:1.6}.batch-recipient-table .badge{white-space:normal}.batch-recipient-table td{padding:11px 8px}.batch-filters{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.batch-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.release-notice{align-items:flex-start;flex-direction:column}.batch-filters{grid-template-columns:1fr}.queue-exception-list>article{display:block}}
/* Contact identities, location corrections, and recipient editors share the existing workspace. */
.contact-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:20px;align-items:start}.contact-profile-grid>section{min-width:0;margin:0}.contact-locations{grid-column:1/-1}.contact-location-row,.duplicate-review-group article{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid var(--line);padding:15px 0}.contact-location-row>div,.duplicate-review-group article>div{min-width:0}.contact-location-row .button-row{justify-content:flex-end}.address-preview{white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}.contact-name-link{font-weight:650;font-size:inherit;text-align:left;white-space:normal}.profile-editor .address-preview{background:#f4f7f8;padding:12px;border-radius:6px;margin:12px 0}.duplicate-review{max-width:850px}.duplicate-review-group{border-top:1px solid var(--line);margin:20px 0;padding-top:10px}.duplicate-review-group h3{font-size:16px}.duplicate-review-group article{font-size:13px}.duplicate-review-group article>button{flex-shrink:0}.batch-recipient-table .button-row{flex-wrap:wrap;gap:4px 8px}.batch-recipient-table .button-row button{white-space:normal;text-align:left}.batch-recipient-table td{vertical-align:top}.contact-profile-grid .section-heading{flex-wrap:wrap;gap:8px}.contact-profile-grid fieldset{min-width:0;border:0;padding:0;margin:0}.contact-profile-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-profile-grid .form-grid .field{min-width:0}.contact-profile-grid input,.contact-profile-grid select{max-width:100%}.duplicate-check-status{align-self:center;max-width:420px}.contact-profile-grid .profile-section{padding:22px}@media(max-width:1000px){.contact-profile-grid{grid-template-columns:1fr}.contact-location-row{flex-wrap:wrap}.contact-location-row .button-row{justify-content:flex-start}}@media(max-width:650px){.contact-profile-grid .form-grid{grid-template-columns:1fr}.duplicate-review-group article{display:block}}
.user-row{flex-wrap:wrap}.user-row .logout-button{margin-left:auto;white-space:nowrap;color:inherit;border:1px solid #6d8b98;border-radius:4px;background:transparent;padding:7px 9px;font-size:12px}.user-row .logout-button:hover{background:#ffffff18}.danger-text{color:#9a3e35}.contact-history{grid-column:1/-1}.contact-history-entry{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid var(--line)}.contact-history-entry>div{min-width:0}.contact-history-entry p{margin:7px 0;overflow-wrap:anywhere}.contact-history-entry .button-row{align-self:flex-start;flex-shrink:0}.history-entry-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.history-deleted{margin-top:18px}.contact-history-entry details{margin-top:8px}.batch-status[role=status]{min-height:1.4em}@media(max-width:900px){.user-row{gap:8px;justify-content:center}.user-row .avatar,.user-row>div,.sidebar-bottom>p,.sidebar-bottom>.local-indicator{display:none}.user-row .logout-button{margin:0;padding:7px 3px;font-size:10px}.contact-history-entry{flex-wrap:wrap}.contact-history-entry .button-row{flex-shrink:1}}

/* Shared company/site/address selection. */
.stored-picker-results{display:grid;gap:6px;margin:8px 0;max-height:250px;overflow:auto}.stored-picker-results select,select[data-stored-results]{width:100%;min-height:10rem}.stored-picker-results button{text-align:left;white-space:normal;padding:10px}.picker-status{font-size:13px;margin:8px 0;min-height:1.3em}.address-preview{white-space:pre-line;overflow-wrap:anywhere}.company-sites,.company-people{display:grid;gap:12px}.company-site-card{padding:16px;border:1px solid var(--line,#dfe6e8);border-radius:8px}.company-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.profile-technical>form>fieldset{border:0;padding:0}.profile-technical details{margin:14px 0}.profile-technical summary{cursor:pointer}.profile-editor select[size]{width:100%;min-height:130px;max-width:100%}.profile-editor .stored-picker{min-width:0}.profile-editor{max-height:90vh;overflow:auto}

.batch-recipient-table th:nth-child(1){width:5%}.batch-recipient-table th:nth-child(2){width:15%}.batch-recipient-table th:nth-child(3){width:14%}.batch-recipient-table th:nth-child(4){width:16%}.batch-recipient-table th:nth-child(5){width:23%}.batch-recipient-table th:nth-child(6){width:13%}.batch-recipient-table th:nth-child(7){width:14%}

/* Contact research stays in compact dialogs beside the existing work. */
.contact-research-dialog{width:min(760px,calc(100vw - 36px));max-width:760px}.contact-research-dialog .section-heading{gap:14px;align-items:start}.contact-research-dialog h2{margin-top:0}.contact-research-dialog fieldset{border:0;padding:0;margin:15px 0}.contact-research-dialog legend{font-weight:600;margin-bottom:6px}.research-selection{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:6px}.research-selection-list{max-height:190px;overflow:auto}.research-selection-list>.check{align-items:start;padding:6px 0}.research-selection-list small{display:block;color:var(--muted,#62727c);margin-top:2px}.research-roles{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px}.research-roles legend{grid-column:1/-1}.research-request,.research-result{border-top:1px solid var(--line);padding:16px 0}.research-result h4{margin:0}.research-result p{overflow-wrap:anywhere}.research-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f4f7f8;padding:12px;border-radius:6px}.research-comparison p,.research-value{white-space:pre-line;font-size:13px;line-height:1.5}.research-budget{margin:12px 0}.research-budget form{display:flex;align-items:end;gap:12px;margin-top:10px}.research-budget .field{margin:0;max-width:250px}.research-feedback{margin:12px 0}.research-batch-actions{padding:12px 18px;border-bottom:1px solid var(--line)}.contact-research-dialog .button-row{flex-wrap:wrap}@media(max-width:650px){.research-comparison,.research-roles{grid-template-columns:1fr}.research-budget form{display:block}}

.directory-multi{position:relative;min-width:130px;max-width:260px;align-self:end;padding:10px;border:1px solid #cbd5db;border-radius:6px;background:white}.directory-multi summary{cursor:pointer;font-size:.85rem}.directory-multi>div{position:absolute;z-index:20;top:100%;left:0;min-width:240px;max-height:300px;overflow:auto;padding:12px;background:white;box-shadow:0 6px 18px #0002;border:1px solid #cbd5db}.directory-multi .check{display:flex;margin:6px 0}
.people-workspace{--control-height:36px}.people-workspace button,.people-workspace input,.people-workspace select{font-size:14px}.people-workspace .secondary,.people-workspace .primary{padding:6px 10px;min-height:36px}.people-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.people-heading h1{font-size:26px;margin:0}.people-heading>div{display:flex;gap:8px}.people-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:8px}.people-search{flex:1;max-width:520px}.people-search input,.people-sort select,.people-list-setup select{height:36px;border:1px solid #758894;border-radius:5px;padding:6px 10px;background:white;width:100%}.people-sort{margin-left:auto;display:flex;gap:8px;align-items:center}.people-sort select{width:auto}.people-chips{display:flex;flex-wrap:wrap;gap:6px}.people-chips:empty{display:none}.people-chip{background:#e8f1f3;border:1px solid #c6dce1;color:#294f5c;border-radius:20px;padding:4px 9px;max-width:100%;overflow-wrap:anywhere}.people-feedback{min-height:22px;color:#49606f}.people-layout{display:flex;gap:16px;align-items:flex-start;min-width:0}.people-results{flex:1;min-width:0;border:1px solid var(--line);border-radius:6px;background:white;overflow:hidden}.people-selection{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;padding:6px 10px;min-height:44px;border-bottom:1px solid var(--line);font-size:14px}.people-selection-actions{display:flex;flex-wrap:wrap;gap:6px}.people-selection .secondary{font-size:13px;min-height:30px;padding:3px 7px}.people-selection small{flex-basis:100%;font-size:13px}.people-table-scroll{overflow:auto;max-width:100%}.people-table{table-layout:fixed;min-width:980px;font-size:14px}.people-table th{height:36px;padding:7px 10px;font-size:12px;text-transform:none;letter-spacing:0;color:#4c6574}.people-table td{height:44px;padding:8px 10px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:0}.people-table th:first-child{width:38px}.people-table th:nth-child(2){width:155px}.people-table th:nth-child(3){width:155px}.people-table th:nth-child(4){width:145px}.people-table th:nth-child(5){width:145px}.people-table th:nth-child(6){width:135px}.people-table th:nth-child(7){width:210px}.people-table th:last-child{width:150px}.people-table input[type=checkbox]{width:17px;height:17px;accent-color:var(--teal);vertical-align:middle}.people-table tr.selected{background:#eaf5f5}.people-table tr:hover{background:#f0f6f8}.people-link{color:#21678d;background:transparent;border:0;padding:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;text-align:left}.people-link:hover{text-decoration:underline}.people-link.extra-locations{margin-left:5px;font-weight:600}.people-status{color:#765723}.people-status.ready{color:#176d60}.people-pagination{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:14px}.people-pagination>div{display:flex;gap:6px}.people-filters{position:relative;margin:0;padding:14px;border:1px solid var(--line);border-radius:6px;width:270px;min-width:270px;max-height:70vh;overflow:auto;color:inherit;background:#fff}.people-filters:not([open]){display:none}.people-filters .section-heading{margin-bottom:8px;gap:8px}.people-filters h2{margin:0;font-size:18px}.people-filters .field{font-size:14px;margin:6px 0}.people-filters input[type=search]{height:36px;font-size:14px}.people-filter-group{border-bottom:1px solid #e5ebef}.people-filter-group summary,.people-filters>details>summary{font-size:14px;padding:10px 0}.people-options{max-height:240px;overflow:auto;padding:4px}.people-check{display:flex;align-items:flex-start;gap:8px;line-height:1.4;padding:7px 3px;font-size:14px}.people-check input{margin-top:3px;accent-color:var(--teal);flex-shrink:0}.people-option-pages{display:flex;flex-wrap:wrap;gap:4px;font-size:13px;align-items:center;padding-top:8px}.people-option-pages span{width:100%}.people-dialog{max-width:min(94vw,560px);max-height:85vh;overflow:auto;padding:22px;border:1px solid var(--line);border-radius:8px;color:inherit}.people-dialog::backdrop,.people-filters::backdrop{background:#142e4055}.people-dialog>.secondary{margin:5px}.people-list-setup{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:6px}.people-list-setup label{min-width:250px;display:grid;gap:4px;font-size:14px}.people-list-setup>span{align-self:center;font-size:14px}.people-list-notes{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;font-size:14px}.people-list-notes details{max-width:100%}.people-list-notes summary,.people-list-notes p{font-size:14px}.people-list-notes label{margin-left:auto}.people-list-notes select{font-size:14px;border:1px solid #758894;border-radius:5px;margin-left:6px;padding:5px}.people-list-notes details[open]{flex-basis:100%;order:2}.main-column:has(.people-workspace) main{padding:16px 20px 24px}.main-column:has(.people-workspace) .topbar{height:56px}.main-column:has(.people-workspace) footer{margin-top:12px}@media(max-width:900px){.people-toolbar{flex-wrap:wrap}.people-search{min-width:180px}.people-sort{margin-left:0}.people-filters{position:fixed;inset:0;margin:auto;width:min(92vw,360px);min-width:0;max-height:88vh;z-index:20}.people-table-scroll{max-width:100%}.people-selection-actions{width:100%}.people-heading{align-items:flex-start}.people-list-setup label{min-width:0;width:100%}.people-list-notes label{margin-left:0}.main-column:has(.people-workspace) main{padding:12px}.people-heading h1{overflow-wrap:anywhere}}
.people-feedback:empty{min-height:4px}.people-heading{margin-bottom:8px}.people-toolbar{margin-bottom:4px}.people-list-setup{align-items:center}.people-list-setup label{display:flex;align-items:center;gap:8px}.people-list-setup select{width:auto;max-width:300px}.people-list-notes{margin-bottom:6px}.people-list-notes select{padding:3px 6px}.people-filters .section-heading{padding:0 0 10px}@media(max-width:900px){.people-list-setup label{display:grid}.people-list-setup select{width:100%}.sidebar:has(+.main-column .people-workspace){width:92px}.sidebar:has(+.main-column .people-workspace) .nav-link{font-size:11px;flex-direction:column;padding:9px 3px;gap:4px}.sidebar:has(+.main-column .people-workspace) .nav-link span{font-size:20px}.main-column:has(.people-workspace){margin-left:92px;width:calc(100% - 92px)}}
.people-workspace:has([data-flyer]) .people-list-setup{margin-bottom:0}.people-workspace:has([data-flyer]) .people-list-notes{margin-bottom:0}.people-workspace:has([data-flyer]) .people-heading{margin-bottom:6px}
.operator-filter-group{min-width:0;margin:12px 0;padding:0 0 12px;border:0;border-bottom:1px solid var(--line)}.operator-filter-group legend{font-size:14px;font-weight:650;margin:0;padding:0;color:var(--navy)}.operator-filter-group .field{margin:6px 0}.operator-filter-group input[type=search]{width:100%;min-width:0}.operator-filter-group .people-options{max-height:240px}.people-enrichment{margin-top:20px;border-top:1px solid var(--line);padding:12px 0}.people-enrichment summary{font-weight:600;font-size:14px;cursor:pointer}.people-enrichment p{font-size:13px;line-height:1.5}.people-enrichment button{margin:4px 4px 4px 0}.sites-workspace .people-filters form{display:block}.sites-workspace .people-filters .field{display:grid}.sites-workspace .people-selection .selection-actions{display:flex;gap:6px;flex-wrap:wrap}.sites-table{min-width:950px}.sites-table th:nth-child(2){width:235px}.sites-table th:nth-child(3){width:170px}.sites-table th:nth-child(4){width:170px}.sites-table th:nth-child(5){width:165px}.sites-table td{white-space:normal;overflow-wrap:anywhere}.sites-table th:last-child{width:170px}.sites-table [hidden]{display:none}.sites-workspace .table-footer{font-size:14px;padding:8px 12px}.sites-workspace .people-toolbar>#apply-filters{white-space:nowrap}.sites-workspace .people-chip{font-size:13px;min-height:28px;padding:3px 8px}.settings-mailing-rules{border-top:1px solid var(--line);margin:18px 0;padding-top:8px}#settings-tags{padding:8px 0;color:var(--navy)}.batch-workspace:has(#batch-filters){display:grid;grid-template-columns:250px minmax(0,1fr);gap:0 14px;padding:14px}.batch-workspace #batch-filters{grid-column:1;grid-row:1 / span 3;display:flex;flex-direction:column;align-items:stretch;gap:6px;border:1px solid var(--line);border-radius:6px;max-height:70vh;overflow:auto;padding:12px}.batch-workspace #batch-filters .field{width:100%;min-width:0;margin:4px 0}.batch-workspace #batch-rows,.batch-workspace .batch-bulk{grid-column:2;min-width:0}.batch-workspace .batch-bulk{padding:6px 0;flex-wrap:wrap}.button-link{display:inline-flex;align-items:center;text-decoration:none}#mailers-workspace .workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}#mailers-workspace .table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px}#mailers-workspace .compact-table{font-size:14px}#mailers-workspace .compact-table td{padding:12px}#mailers-workspace .button-row{gap:6px;flex-wrap:wrap}#mailers-workspace .workspace-heading h1{font-size:26px}.person-tags{margin-top:12px}@media(max-width:900px){.batch-workspace:has(#batch-filters){grid-template-columns:minmax(0,1fr)}.batch-workspace #batch-filters,.batch-workspace #batch-rows,.batch-workspace .batch-bulk{grid-column:1;grid-row:auto}.batch-workspace #batch-filters{max-height:50vh}.sites-workspace .people-sort{margin-left:0}#mailers-workspace .workspace-heading{align-items:flex-start}}
.person-enrichment{grid-column:1/-1;border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.person-tag-chips,.person-tag-options{display:flex;flex-wrap:wrap;gap:6px}.person-tag-chips .filter-chip{border:1px solid #c6dce1;background:#e8f1f3;border-radius:18px;padding:4px 10px}.person-tag-options{max-height:200px;overflow:auto}.person-tag-options label{padding:6px}
:root{--operator-filter-width:270px;--operator-column-gap:16px}
.people-workspace>.people-toolbar{display:flex;align-items:start;gap:var(--operator-column-gap);margin-bottom:8px}
.people-toolbar-left,.people-toolbar-main{display:flex;align-items:center;gap:8px;min-width:0}
.people-toolbar-left{flex:none;flex-wrap:wrap}
.people-toolbar-main{flex:1;flex-wrap:wrap}
.people-toolbar-main>.people-search{flex:1 1 200px;max-width:none;min-width:160px}
.people-toolbar-main>.people-sort{margin-left:0;flex:none}
.people-workspace>.people-layout{display:block;min-width:0}
.people-workspace.filters-open>.people-toolbar,.people-workspace.filters-open>.people-layout{display:grid;grid-template-columns:var(--operator-filter-width) minmax(0,1fr);column-gap:var(--operator-column-gap);align-items:start}
.people-workspace.filters-open>.people-toolbar>.people-toolbar-left{grid-column:1}
.people-workspace.filters-open>.people-toolbar>.people-toolbar-main{grid-column:2}
.people-workspace.filters-open>.people-layout>.people-filters{grid-column:1;width:100%;min-width:0;box-sizing:border-box}
.people-workspace.filters-open>.people-layout>.people-results{grid-column:2}
.people-filters details.operator-filter-group{margin:0;padding:0;border:0;border-bottom:1px solid var(--line);min-width:0}
.operator-filter-group>summary{display:flex;align-items:center;gap:7px;padding:10px 2px;list-style:none;font-size:14px;font-weight:650;cursor:pointer;line-height:1.4}
.operator-filter-group>summary::-webkit-details-marker{display:none}
.operator-filter-group>summary::before{content:'›';font-size:20px;font-weight:500;width:12px;flex:none;line-height:1;transform-origin:center}
.operator-filter-group[open]>summary::before{transform:rotate(90deg)}
.operator-filter-group>summary:focus-visible{outline:2px solid var(--teal);outline-offset:1px;border-radius:3px}
.filter-active-summary{margin-left:auto;font-size:12px;font-weight:500;color:#365663;white-space:nowrap}
.filter-active-summary:empty{display:none}
.filter-section-controls{padding:0 2px 10px;min-width:0}
.filter-section-controls>.field{margin:2px 0 6px}
.people-filters .operator-filter-group .people-options{max-height:210px}
.people-filters .people-enrichment{margin-top:10px;padding-top:10px}
.batch-filters details.operator-filter-group{margin:0;padding:0;border:0;border-bottom:1px solid var(--line)}
@media(max-width:900px){
 .people-workspace.filters-open>.people-toolbar,.people-workspace>.people-toolbar{display:flex;flex-wrap:wrap;gap:8px}
 .people-toolbar-main{flex:1 1 100%;min-width:0}
 .people-workspace.filters-open>.people-layout,.people-workspace>.people-layout{display:block}
 .people-workspace.filters-open>.people-layout>.people-filters{width:min(92vw,360px);min-width:0;max-height:88vh}
 .people-toolbar-main>.people-search{min-width:140px;flex-basis:200px}
}

/* Personal table widths: fixed colgroups preserve header/body alignment and overflow. */
table[data-resizable-table]{table-layout:fixed;border-collapse:collapse;max-width:none}
table[data-resizable-table] th{position:relative;box-sizing:border-box;width:auto!important;min-width:0;max-width:none;padding-right:16px;white-space:normal;overflow-wrap:anywhere}
table[data-resizable-table] td{box-sizing:border-box;min-width:0;max-width:none;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
table[data-resizable-table] td .people-link{max-width:100%;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
table[data-resizable-table] td .text-button,table[data-resizable-table] td .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
table[data-resizable-table] td select,table[data-resizable-table] td input:not([type=checkbox]){max-width:100%;min-width:0}
table[data-resizable-table] th[data-column-id=select],table[data-resizable-table] td:first-child:has(input[type=checkbox]){padding-left:10px;padding-right:10px}
.table-width-scroll{overflow-x:auto;max-width:100%;min-width:0}
.table-column-resizer{position:absolute;right:0;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;user-select:none;z-index:3;outline-offset:-2px}
.table-column-resizer::after{content:"";position:absolute;top:20%;bottom:20%;right:3px;width:2px;border-radius:2px;background:#a7bbc0}
.table-column-resizer:hover::after,.table-column-resizer:focus-visible::after,.table-column-resizer.is-resizing::after{background:#0d777d;width:3px}
.table-column-resizer:focus-visible{outline:2px solid #0d777d}
.table-width-menu{margin:4px 0 8px;position:relative;width:max-content;max-width:100%;font-size:13px}
.table-width-menu>summary{cursor:pointer;padding:5px 8px;border:1px solid #cbd8da;border-radius:5px;color:#27525b;list-style-position:inside}
.table-width-menu>summary:focus-visible{outline:2px solid #0d777d;outline-offset:2px}
.table-width-menu[open]{width:min(100%,520px)}
.table-column-width-controls{padding:10px 0 4px;border-top:1px solid #d8e3e6;margin-top:8px}
.table-column-width-controls>strong{display:block;font-size:13px;margin-bottom:6px}
.table-column-width-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:6px 12px;margin-bottom:8px}
.table-column-width-fields label{display:grid;grid-template-columns:minmax(0,1fr) 78px;align-items:center;gap:8px;font-size:13px;line-height:1.25;margin:0;overflow-wrap:anywhere}
.table-column-width-fields input{width:78px;min-width:0;padding:5px 6px;font-size:13px;min-height:32px}

/* The existing person fields stay in their original forms; disclosures only change presentation. */
.contact-profile-grid.compact-person-stack{display:flex;flex-direction:column;gap:0;align-items:stretch;border-top:1px solid var(--line);width:100%;min-width:0}
.compact-person-stack>.compact-person-section{width:100%;min-width:0;margin:0;padding:0;border-bottom:1px solid var(--line)}
.person-disclosure{width:100%;margin:0;padding:0}
.person-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 2px;font-weight:650;line-height:1.4;min-height:44px}
.person-disclosure>summary::-webkit-details-marker{display:none}
.person-disclosure>summary::before{content:'›';display:inline-block;font-size:22px;line-height:1;transition:transform .12s;transform-origin:center;width:14px;text-align:center;flex:none}
.person-disclosure[open]>summary::before{transform:rotate(90deg)}
.person-disclosure>summary:focus-visible{outline:2px solid #0e8086;outline-offset:2px;border-radius:3px}
.person-disclosure .section-change-indicator{font-size:13px;font-weight:500;color:#5c6e7b;margin-left:auto}
.person-disclosure[data-error=true] .section-change-indicator{color:#953c31}
.person-disclosure .profile-disclosure-body{padding:2px 24px 14px;min-width:0}
.compact-person-stack .profile-disclosure-body>.section-heading{margin:0 0 8px}
.compact-person-stack .profile-disclosure-body>.section-heading:empty{display:none}
.compact-person-stack .profile-disclosure-body p{margin:6px 0;line-height:1.5}
.compact-person-stack .profile-disclosure-body .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px}
.compact-person-stack .field{margin:0 0 10px;min-width:0}
.compact-person-stack .field input,.compact-person-stack .field select,.compact-person-stack .field textarea{margin-top:4px;min-width:0;width:100%}
.compact-person-stack textarea{resize:vertical}
.compact-person-stack .contact-additional-details{margin-top:4px}
.compact-person-stack .compact-contact-actions{padding:0 24px 12px;display:flex;gap:8px}
.compact-person-stack .compact-contact-actions[hidden]{display:none}
.compact-person-stack .contact-history-entry{padding:10px 0;gap:12px}
.compact-person-stack .person-tag-options{margin-top:8px}
.compact-person-stack .form-error:empty{display:none}
.compact-person-stack [aria-invalid=true]{border-color:#953c31}
@media(max-width:850px){.compact-person-stack .profile-disclosure-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.compact-person-stack .profile-disclosure-body{padding-left:8px;padding-right:8px}.compact-person-stack .profile-disclosure-body .form-grid{grid-template-columns:minmax(0,1fr)}.compact-person-stack .compact-contact-actions{padding-left:8px}.person-disclosure>summary{gap:6px}.person-disclosure .section-change-indicator{max-width:44%;text-align:right}}
@media(prefers-reduced-motion:reduce){.person-disclosure>summary::before{transition:none}}

.manual-entry-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto;padding:18px;color:var(--navy);border:1px solid var(--line);border-radius:8px}
.manual-entry-dialog::backdrop{background:#142e4055}
.manual-entry-dialog h2{font-size:21px;margin-bottom:12px}
.manual-entry-dialog .field{font-size:14px;margin:0 0 9px;min-width:0}
.manual-entry-dialog .field input,.manual-entry-dialog .field select,.manual-entry-dialog .field textarea{width:100%;font-size:14px;min-height:36px;padding:7px 9px}
.manual-entry-dialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
.manual-entry-dialog details{border-top:1px solid var(--line);padding:8px 0}
.manual-entry-dialog summary{font-size:14px;font-weight:600;cursor:pointer;padding:3px 0}
.manual-entry-dialog details[open]>summary{margin-bottom:10px}
.manual-entry-dialog .stored-picker-results{width:100%;height:90px;font-size:13px;overflow:auto;border:1px solid var(--line)}
.manual-entry-dialog .picker-status{font-size:12px;margin-bottom:4px;min-height:18px}
.manual-entry-dialog .manual-entry-actions{position:sticky;bottom:-18px;background:#fff;padding:12px 0;gap:8px;margin-top:8px;border-top:1px solid var(--line)}
.manual-entry-dialog [data-association]{margin:6px 0 10px;line-height:1.5}
.manual-entry-dialog .manual-field-error{color:#a83225;font-size:12px;display:block}
.manual-entry-dialog [aria-invalid=true]{border-color:#a83225}
.manual-entry-dialog [data-tag-list]{max-height:180px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px}
.manual-entry-dialog .manual-duplicates article{padding:8px;border:1px solid var(--line);margin:8px 0;border-radius:4px}
.manual-entry-dialog .manual-duplicates article p{margin:4px 0}
.manual-entry-dialog .manual-status:empty,.manual-entry-dialog [data-recovery]:empty,.manual-entry-dialog [data-manual-duplicates]:empty,.manual-entry-dialog .form-error:empty{display:none}
.manual-entry-dialog [hidden]{display:none!important}
.manual-entry-dialog .address-preview{white-space:pre-line;overflow-wrap:anywhere;font-size:14px}
@media(max-width:600px){.manual-entry-dialog{width:96vw;padding:14px}.manual-entry-dialog .form-grid,.manual-entry-dialog [data-tag-list]{grid-template-columns:minmax(0,1fr)}.manual-entry-dialog .manual-entry-actions{bottom:-14px}.manual-entry-dialog .button-row{flex-wrap:wrap}}

