/* Version 1.54: compact form, headers and live-work table */

/* Complete Add/Edit Lead form: content-height rows with no reserved blank area. */
#wlcrm-tab-form{padding:8px 12px!important}#wlcrm-tab-form #wlcrm-fields{display:block!important}#wlcrm-tab-form .wlcrm-section-title{margin:5px 0 4px!important;padding:4px 9px!important;min-height:0!important;font-size:11.5px!important;line-height:1.15!important}#wlcrm-tab-form .wlcrm-grid,#wlcrm-tab-form .wlcrm-company-grid,#wlcrm-tab-form .wlcrm-section-grid{grid-auto-rows:max-content!important;align-items:start!important;align-content:start!important;row-gap:4px!important;column-gap:8px!important;min-height:0!important}#wlcrm-tab-form .wlcrm-field{align-self:start!important;height:auto!important;min-height:0!important;gap:1px!important;line-height:1.05!important}#wlcrm-tab-form .wlcrm-field>span,#wlcrm-tab-form .wlcrm-phone-caption{margin:0 0 1px!important;font-size:9.5px!important;line-height:1.05!important}#wlcrm-tab-form .wlcrm-field input,#wlcrm-tab-form .wlcrm-field select,#wlcrm-tab-form .wlcrm-contact-row input,#wlcrm-tab-form .wlcrm-contact-row select{height:29px!important;min-height:29px!important;max-height:29px!important}#wlcrm-tab-form .wlcrm-phone-control{min-height:29px!important;height:29px!important}#wlcrm-tab-form .wlcrm-phone-control input{height:27px!important;min-height:27px!important}#wlcrm-tab-form .wlcrm-field-error[hidden]{display:none!important;margin:0!important}#wlcrm-tab-form .wlcrm-contacts{gap:5px!important;align-items:start!important}#wlcrm-tab-form .wlcrm-contact-row{align-items:start!important;align-content:start!important;min-height:0!important;height:auto!important;padding:5px 7px!important;gap:6px!important}#wlcrm-tab-form .wlcrm-contact-row .wlcrm-phone-control{margin:0!important}#wlcrm-tab-form .wlcrm-field textarea{height:38px!important;min-height:38px!important;padding:5px 7px!important}#wlcrm-tab-form .wlcrm-actions{margin-top:6px!important}.wlcrm-initial-call{margin:7px 0!important;padding:9px 11px!important}.wlcrm-initial-call-head{margin-bottom:6px!important}.wlcrm-call-grid{gap:6px 9px!important}.wlcrm-lead-attachments{margin-top:6px!important;padding:7px 9px!important}.wlcrm-assignment-box{margin-top:6px!important;padding:6px 9px!important}

/* Team Follow-ups: one slim desktop line. */
.wlcrm-followup-head{display:grid!important;grid-template-columns:minmax(210px,.9fr) minmax(390px,1.25fr) minmax(230px,.8fr) 92px!important;align-items:center!important;gap:8px!important;min-height:0!important;margin-bottom:6px!important;padding:7px 10px!important}.wlcrm-followup-head>div:first-child{display:flex!important;align-items:baseline!important;gap:8px!important;white-space:nowrap}.wlcrm-followup-head h3{font-size:15px!important;line-height:1!important}.wlcrm-followup-head p{margin:0!important;font-size:7.5px!important;white-space:nowrap}.wlcrm-followup-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:4px!important}.wlcrm-followup-stats span{justify-content:center!important;min-height:30px!important;padding:3px 5px!important;font-size:7.5px!important}.wlcrm-followup-stats b{font-size:11px!important}.wlcrm-followup-head label{display:grid!important;grid-template-columns:auto minmax(130px,1fr)!important;align-items:center!important;gap:5px!important;margin:0!important;white-space:nowrap}.wlcrm-followup-head select,.wlcrm-followup-head button{height:30px!important;min-height:30px!important;margin:0!important;padding:4px 7px!important}

/* Customer Communications: slim title, search, lead selector and count in one line. */
.wlcrm-comm-header{display:grid!important;grid-template-columns:minmax(260px,.75fr) minmax(700px,1.8fr)!important;align-items:center!important;gap:12px!important;min-height:0!important;margin-bottom:7px!important;padding:7px 11px!important}.wlcrm-comm-header>div:first-child{display:flex!important;align-items:baseline!important;gap:8px!important;white-space:nowrap}.wlcrm-comm-header h3{font-size:16px!important;line-height:1!important}.wlcrm-comm-header p{margin:0!important;font-size:7.5px!important;white-space:nowrap}.wlcrm-comm-lead-picker{display:grid!important;grid-template-columns:minmax(370px,1fr) minmax(300px,.9fr) auto!important;align-items:end!important;gap:7px!important;width:100%!important}.wlcrm-comm-lead-picker label{margin:0!important;font-size:8px!important}.wlcrm-comm-lead-picker .wlcrm-search-control{grid-template-columns:minmax(180px,1fr) auto auto!important;min-width:0!important;margin-top:2px!important}.wlcrm-comm-header .wlcrm-comm-lead-picker input,.wlcrm-comm-header .wlcrm-comm-lead-picker select,.wlcrm-comm-lead-picker .wlcrm-search-control button{height:31px!important;min-height:31px!important;margin:2px 0 0!important;padding-top:4px!important;padding-bottom:4px!important}.wlcrm-comm-lead-picker small{grid-column:auto!important;align-self:center!important;margin-top:12px!important;white-space:nowrap!important;text-align:left!important;font-size:7.5px!important}

/* Live Employee Work toolbar and full-width non-scrolling desktop table. */
.wlcrm-live-section{margin-top:8px!important;padding-top:7px!important}.wlcrm-live-heading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:0!important;margin-bottom:5px!important;padding:5px 8px!important}.wlcrm-live-heading>div{display:flex!important;align-items:baseline!important;gap:8px!important}.wlcrm-live-heading h3{font-size:11.5px!important;white-space:nowrap}.wlcrm-live-heading p{margin:0!important;font-size:7.5px!important;white-space:nowrap}.wlcrm-live-heading button{margin-left:auto!important;height:29px!important;min-height:29px!important;padding:4px 8px!important}.wlcrm-live-section .wlcrm-table-wrap{overflow-x:hidden!important}.wlcrm-live-section table{width:100%!important;min-width:0!important;table-layout:fixed!important}.wlcrm-live-section th,.wlcrm-live-section td{height:auto!important;padding:5px 4px!important;font-size:8px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important}.wlcrm-live-section th{white-space:normal!important;font-size:7.2px!important}.wlcrm-live-section th:nth-child(1){width:8%}.wlcrm-live-section th:nth-child(2){width:8%}.wlcrm-live-section th:nth-child(3){width:11%}.wlcrm-live-section th:nth-child(4){width:14%}.wlcrm-live-section th:nth-child(5){width:11%}.wlcrm-live-section th:nth-child(6){width:7%}.wlcrm-live-section th:nth-child(7),.wlcrm-live-section th:nth-child(8){width:5%}.wlcrm-live-section th:nth-child(9){width:8%}.wlcrm-live-section th:nth-child(10){width:7%}.wlcrm-live-section th:nth-child(11){width:6%}.wlcrm-live-section th:nth-child(12){width:7%}.wlcrm-live-section th:nth-child(13){width:8%}.wlcrm-live-section .wlcrm-live-status{padding:3px 6px!important;font-size:7px!important}

/* Data Review and Duplicate Finder: two slim single-line bars. */
#wlcrm-tab-data-review .wlcrm-page-hero{min-height:0!important;margin:0 0 6px!important;padding:7px 11px!important}#wlcrm-tab-data-review .wlcrm-page-hero>div{display:flex!important;align-items:baseline!important;gap:9px!important}#wlcrm-tab-data-review .wlcrm-page-hero span{font-size:7px!important;white-space:nowrap}#wlcrm-tab-data-review .wlcrm-page-hero h3{margin:0!important;font-size:15px!important;line-height:1!important;white-space:nowrap}#wlcrm-tab-data-review .wlcrm-page-hero p{margin:0!important;font-size:7.5px!important;white-space:nowrap}.wlcrm-review-block{padding:7px!important}.wlcrm-duplicate-head{grid-template-columns:minmax(420px,1fr) auto auto!important;gap:8px!important;min-height:0!important;margin-bottom:5px!important;padding:6px 9px!important}.wlcrm-duplicate-head>div:first-child{display:flex!important;align-items:baseline!important;gap:8px!important}.wlcrm-duplicate-head h3{font-size:12px!important;white-space:nowrap}.wlcrm-duplicate-head p{margin:0!important;font-size:7.5px!important;white-space:nowrap}.wlcrm-duplicate-summary{min-height:28px!important;padding:3px 7px!important}.wlcrm-duplicate-head button{height:29px!important;min-height:29px!important;padding:4px 8px!important}

@media(max-width:1100px){.wlcrm-followup-head,.wlcrm-comm-header{grid-template-columns:1fr!important}.wlcrm-followup-head>div:first-child,.wlcrm-comm-header>div:first-child{white-space:normal}.wlcrm-comm-lead-picker{grid-template-columns:1fr 1fr!important}.wlcrm-comm-lead-picker small{grid-column:1/-1!important;margin:0!important}.wlcrm-live-section .wlcrm-table-wrap{overflow-x:auto!important}.wlcrm-live-section table{min-width:1050px!important}.wlcrm-duplicate-head{grid-template-columns:1fr auto auto!important}}@media(max-width:700px){.wlcrm-followup-stats{grid-template-columns:1fr 1fr!important}.wlcrm-comm-lead-picker{grid-template-columns:1fr!important}.wlcrm-comm-lead-picker small{grid-column:auto!important}.wlcrm-live-heading,.wlcrm-live-heading>div,#wlcrm-tab-data-review .wlcrm-page-hero>div,.wlcrm-duplicate-head>div:first-child{align-items:flex-start!important;flex-direction:column!important}.wlcrm-live-heading button{margin-left:0!important}.wlcrm-duplicate-head{grid-template-columns:1fr!important}}
