/* XLEVELX: navy navigation, silver work surfaces, purposeful cobalt. */
:root{--xl-navy:#10243a;--xl-canvas:#cbd3dd;--xl-row:#e4e9ef;--xl-row-alt:#dae2eb;--xl-ink:#172c46;--xl-muted:#465b73;--xl-blue:#1f5fd1;--xl-line:#b3bfcd;--directory-bg:var(--xl-canvas);--directory-panel:var(--xl-row);--directory-ink:var(--xl-ink);--directory-muted:var(--xl-muted);--directory-blue:var(--xl-blue)}
body.directory-workspace{background:var(--xl-canvas)!important;color:var(--xl-ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.directory-workspace .app-shell{background:var(--xl-canvas)}.directory-workspace .sidebar{background:var(--xl-navy)!important;border-color:#1c354f;color:#dce7f4}.directory-workspace .brand{background:#e4e9ef;border-radius:10px;padding:8px 10px;margin-bottom:24px;box-sizing:border-box}.directory-workspace .brand-logo{display:block;width:100%;height:auto}.directory-workspace .nav-label{color:#aabbd0!important}.directory-workspace #main-nav a{color:#c9d7e8;border-radius:7px;min-height:42px;font-weight:500}.directory-workspace #main-nav a.active{background:#213e64;color:#fff;border:1px solid #355d90;box-shadow:inset 3px 0 var(--xl-blue)}.directory-workspace #main-nav a:hover{background:#1c3553;color:#fff}.directory-workspace .nav-tools{border-color:#30465f;color:#b9c9db}.directory-workspace .nav-tools a{color:#bdcee2}.directory-sidebar-foot{color:#9eafc4}.directory-sidebar-foot b{color:#d1ddec}.directory-workspace .topbar{background:#c5cfdb!important;border-bottom-color:#adbacb}.directory-workspace .topbar .breadcrumb,.directory-workspace .region-chip{color:#465b73}.directory-workspace .avatar{background:#b7c8e0;color:#214e89}.directory-workspace .directory-header h1{color:var(--xl-ink)!important;font-weight:650;letter-spacing:-.65px}.directory-header h1 span{color:var(--xl-blue)}
.directory-workspace .button{background:#dbe4ef;color:#28496f;border-color:#a5b6cb;box-shadow:none;font-weight:550}.directory-workspace .button.primary{background:var(--xl-blue)!important;border-color:var(--xl-blue)!important;color:white!important}.directory-workspace .button:hover{filter:brightness(.97)}.directory-summary,.directory-footnote{color:var(--xl-muted)}.directory-summary strong{color:var(--xl-ink)}
.directory-table-scroll{border-color:#a5b5c9;border-radius:8px;background:var(--xl-row);box-shadow:0 1px 5px #10243a0a}.directory-table.directory-compact{background:var(--xl-row);min-width:1100px;color:var(--xl-ink)}.directory-table.directory-compact thead th{background:#c9d5e4!important;color:#354f70!important;border-bottom-color:#9eafc5}.directory-table.directory-compact th button{font-size:12px;min-height:35px;color:#354f70}.directory-table.directory-compact td{font-size:13px;line-height:18px;height:56px;padding:6px 10px;border-bottom-color:#bdc9d7!important}.directory-table.directory-compact tbody tr:nth-child(even){background:var(--xl-row-alt)}.directory-table.directory-compact tbody tr:hover td{background:#d1def0!important}.directory-table.directory-compact tbody tr.is-selected td{background:#c7d9f1!important}.directory-table.directory-compact tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 var(--xl-blue)}.directory-table.directory-compact .directory-title{font-size:13px;line-height:19px;color:#183e72;font-weight:600}.compact-subline,.compact-value-basis{display:block;color:var(--xl-muted);font-size:11px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-value-basis{font-size:10px;font-weight:550;color:#405c7c}.directory-compact .col-value strong{font-size:14px;color:#133d74;font-variant-numeric:tabular-nums}.directory-compact .col-value{text-align:right}.directory-compact th.col-value button{text-align:right}.directory-compact th.col-value{width:15%}.directory-compact th.col-crm{width:78px}.directory-compact th.col-distance{width:96px}.directory-compact .col-distance{font-size:12px;font-variant-numeric:tabular-nums;color:#264d80}.directory-table.directory-compact tbody tr.needs-attention .col-due{color:#805c1e;font-weight:650}.directory-table.directory-compact tbody tr.is-confirmed .col-status{color:#24654b;font-weight:600}.compact-crm{color:#214e88;background:#d6e3f4;border-color:#a3b9d8;min-height:32px;font-size:11px}.directory-compact .compact-contact{color:#293f5b}.directory-compact a{color:#1f5ab7}
.directory-group-tabs.directory-group-icons{background:#b8c6d9;border-color:#a1b3cc;box-shadow:none}.directory-group-icons a{color:#415d80;position:relative;border:1px solid transparent}.directory-group-icons a[aria-current=page]{background:#e4eaf3;color:#1a55b6;box-shadow:none;border-color:#9cb5dd}.directory-group-icons a[aria-current=page]:after{content:'';position:absolute;width:22px;height:2px;bottom:1px;left:calc(50% - 11px);border-radius:2px;background:var(--xl-blue)}.lead-screen .directory-filter-panel{background:#c0cddd;border-color:#9eafc6;box-shadow:0 1px 4px #1a345017}.lead-screen .directory-filter-popup{background:#e0e7f0;border-color:#a2b4cb;box-shadow:0 8px 30px #10243a30}.directory-workspace .directory-filter select{background:#edf1f6!important;color:#233f61!important;border-color:#a5b6cd!important}.directory-location-note{font-size:11px;color:#4a607a;line-height:1.5;margin:0 14px 12px}.directory-workspace .directory-popup-actions{border-color:#b1bfd1}.lead-screen .directory-search input{color:#193955}.lead-screen .directory-sort select{background:#e2e9f2!important;border-color:#9eafc8}.lead-screen .directory-advanced>summary{background:#d5e1f0;border-color:#9eb4d2;color:#264d80}.lead-screen .directory-advanced[open]>summary{background:var(--xl-blue);color:white}.nearby-switch{display:flex;gap:7px;align-items:center;flex:0 0 auto;font-size:12px;font-weight:550;color:#28466a;cursor:pointer;position:relative;white-space:nowrap;min-height:32px}.nearby-switch input{position:absolute;opacity:0;width:34px;height:22px;margin:0}.nearby-track{width:32px;height:18px;display:inline-block;flex-shrink:0;border-radius:20px;background:#a3b3c8;border:1px solid #8fa3bc;position:relative;transition:background .15s}.nearby-track:before{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#f3f6fb;box-shadow:0 1px 2px #10243a30;transition:transform .15s}.nearby-switch input:checked+.nearby-track{background:var(--xl-blue);border-color:var(--xl-blue)}.nearby-switch input:checked+.nearby-track:before{transform:translateX(14px)}.nearby-switch input:focus-visible+.nearby-track{outline:2px solid var(--xl-blue);outline-offset:3px}.nearby-switch input:disabled~span{opacity:.55}.directory-workspace #detail{background:#e0e7ef;color:var(--xl-ink);border:1px solid #a5b7cf;box-shadow:0 12px 55px #10243a40;border-radius:12px;max-height:calc(100dvh - 30px)}.directory-workspace #detail::backdrop{background:#10243a55;backdrop-filter:blur(2px)}.directory-workspace .dialog-top{background:#cbd7e6;border-bottom-color:#adbed2}.directory-workspace .dialog-top h2{color:#193c68}.directory-workspace #close-detail{min-width:40px;min-height:40px;border-radius:8px}.directory-workspace .detail-section{border-color:#b3c2d5}.directory-workspace .directory-contact-list>div{background:#d3deec;border-color:#a9bdd5}.directory-workspace .feed-library-row{background:#e0e7ef;border-color:#adbed2}.directory-workspace .feed-status.is-live{background:#d0e1d8;color:#24654b}.directory-workspace .directory-gap{color:#596d85}.directory-workspace .lead-value-band{background:#d3deed;border-color:#aebfd5;color:#213d61}.directory-workspace .lead-value-band strong{color:#183d72}.distance-detail{color:#315887;font-size:12px}
@media(max-width:760px){.directory-workspace .sidebar{background:var(--xl-navy)!important}.directory-workspace.lead-screen .brand{width:88px;padding:3px 6px;margin:0;border-radius:5px}.directory-workspace.lead-screen .brand-logo{width:100%}.directory-workspace .workspace-menu{background:#234368;color:#d9e6f5;border-color:#476386}.lead-screen.navigation-open #main-nav{background:#142d49;border-color:#355476}.directory-workspace .mobile-tabbar{background:#c6d3e4!important}.directory-table.directory-compact{min-width:0}.directory-table.directory-compact td{height:64px;font-size:12px;padding:6px}.directory-table.directory-compact .directory-title{font-size:13px;line-height:19px}.directory-table.directory-compact th button{font-size:11px}.directory-table.directory-compact .col-value strong{font-size:12px}.compact-subline{font-size:10px;line-height:14px}.compact-value-basis{font-size:10px;line-height:13px}.compact-mobile-actions button,.compact-mobile-actions a{min-height:22px;font-size:10px}.directory-compact th.col-value{width:29%}.directory-table.directory-compact.has-distance .col-due{display:none}.directory-table.directory-compact.has-distance .col-distance{display:table-cell;width:22%;font-size:11px}.directory-table.directory-compact.has-distance th.col-project{width:49%}.directory-table.directory-compact.has-distance th.col-value{width:29%}.lead-screen .directory-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:3px 7px;padding:4px 7px}.lead-screen .directory-search{grid-column:1;grid-row:1;min-height:28px}.lead-screen .directory-advanced{grid-column:2;grid-row:1}.lead-screen .directory-advanced>summary{text-align:center;min-height:28px;padding:4px}.nearby-switch{grid-column:1;grid-row:2;font-size:11px;min-height:29px}.lead-screen .directory-toolbar{grid-column:2;grid-row:2}.lead-screen .directory-sort select{width:112px}.directory-location-note{font-size:11px;margin:0 12px 10px}.directory-workspace #detail{width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);margin:auto;border-radius:9px}.directory-workspace .dialog-top h2{font-size:18px}.directory-group-icons a{font-size:10px}.lead-screen .directory-header h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.nearby-track,.nearby-track:before{transition:none}}

.directory-table.directory-compact tr.is-past-bid .col-status,.directory-table.directory-compact tr.is-past-bid .col-due{color:#805c1e;font-weight:600}.directory-table.directory-compact tr.is-stale-record .col-status{color:#805c1e}.directory-table.directory-compact tr.is-past-bid .directory-title{color:#4a5f79}.directory-workspace .directory-filter-popup{overscroll-behavior:contain}

/* A quiet signal identity, tactile controls and a search drawer instead of a permanent form. */
.directory-workspace .app-shell{background:radial-gradient(ellipse at 100% 0,#c7d8ee55,transparent 50%),var(--xl-canvas)}.directory-workspace .sidebar{background:radial-gradient(ellipse at 0 0,#28508975,transparent 48%),#10243a!important}.directory-workspace .brand{box-shadow:0 4px 18px #07142630,inset 0 1px 0 #fff5}.signal-mark{display:inline-flex;align-items:flex-end;gap:3px;height:24px;margin-left:12px;vertical-align:middle;opacity:.8}.signal-mark i{display:block;width:3px;background:#7998bd;border-radius:2px}.signal-mark i:nth-child(5){background:#1f5fd1}.directory-workspace .directory-table-scroll{border-radius:10px;box-shadow:0 3px 14px #10243a0d,0 0 0 1px #eaf0f422}.directory-workspace .directory-group-icons{background:linear-gradient(180deg,#d2deed,#bbcbdfe6);box-shadow:inset 0 1px #f7faff7a,0 2px 5px #10243a10;border-color:#a4b7ce}.directory-group-icons a{transition:background .16s,box-shadow .16s,color .16s}.directory-group-icons a[aria-current=page]{background:linear-gradient(160deg,#eef3fa,#d9e6f9);box-shadow:0 2px 5px #264c8114}.directory-workspace .directory-pagination{font-variant-numeric:tabular-nums}.lead-screen .directory-filter-panel{background:linear-gradient(180deg,#d3dfed,#c1cfe1);box-shadow:inset 0 1px #edf4fc70,0 3px 12px #10243a13;gap:10px;justify-content:space-between;padding:5px 9px;min-width:0}.directory-search-toggle{flex:0 0 auto;position:static;min-width:0}.directory-search-toggle>summary{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;cursor:pointer;font-size:12px;font-weight:600;color:#31547f;border:1px solid #a2b6cf;background:#dce6f3;border-radius:7px;min-height:32px;padding:5px 10px;white-space:nowrap}.directory-search-toggle>summary::-webkit-details-marker{display:none}.directory-search-toggle>summary .icon{width:16px;height:16px;flex-shrink:0}.directory-search-toggle[open]>summary{background:#1f5fd1;border-color:#1f5fd1;color:white}.directory-search-popover{position:absolute;left:0;bottom:calc(100% + 8px);width:min(540px,100%);max-height:calc(100dvh - 120px);overflow:auto;background:#e4ebf4;border:1px solid #9bb3d0;border-radius:12px;padding:12px;box-shadow:0 10px 35px #132f5330;z-index:46}.search-popover-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:12px}.search-popover-heading strong{font-size:14px;color:#21436f}.search-popover-heading button{border:0;background:#cbd8e9;color:#31547d;border-radius:6px;min-width:30px;min-height:30px;font-size:14px;cursor:pointer}.lead-screen .directory-search-popover .directory-search{display:flex;align-items:center;gap:8px;border:1px solid #a9bdd6;border-radius:8px;background:#eff3f8;padding:6px 9px;width:100%;min-width:0}.lead-screen .directory-search-popover input{font-size:16px!important;min-width:0;flex:1;width:100%;border:0!important;box-shadow:none;background:transparent!important;color:#1a385f}.directory-search-popover button#dir-search-clear{background:none;border:0;color:#24599f;cursor:pointer;min-height:32px;font-size:12px}.directory-search-popover>small{display:block;font-size:11px;line-height:1.5;color:#4c6482;margin-top:8px}.lead-screen .nearby-switch{margin-left:auto}.lead-screen .directory-toolbar{min-width:0}.lead-screen .directory-sort select{max-width:195px}.directory-workspace .directory-filter-popup{box-shadow:0 10px 35px #132f5330;background:#e4ebf4}
/* Containment and readable detail pages. */
.directory-workspace .app-shell,.directory-workspace #app,.directory-workspace .page-heading>div,.directory-workspace .heading-actions,.directory-workspace .panel,.directory-workspace .crm-lead-row>div,.directory-workspace .feed-library-row>div,.directory-workspace .detail-section,.directory-workspace .form-grid>*{min-width:0}.directory-workspace .page-heading,.directory-workspace .heading-actions,.directory-workspace .form-actions{flex-wrap:wrap}.directory-workspace .table-wrap,.directory-workspace .table-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain}.directory-workspace #detail{box-sizing:border-box;width:min(980px,calc(100vw - 32px));max-width:calc(100vw - 32px);overflow:auto;overscroll-behavior:contain}.directory-workspace #detail-body{min-width:0;overflow-wrap:anywhere}.directory-workspace #detail .dialog-top{position:sticky;top:0;z-index:3;align-items:center;gap:12px;padding:12px;margin-bottom:16px;border-radius:8px}.directory-workspace #detail .dialog-top h2{font-size:20px;line-height:1.3;overflow-wrap:anywhere;min-width:0}.directory-workspace #close-detail{flex-shrink:0}.directory-workspace #detail input,.directory-workspace #detail select,.directory-workspace #detail textarea{max-width:100%;min-width:0;font-size:14px!important}.directory-workspace #detail p,.directory-workspace #detail li{font-size:13px;line-height:1.6}.directory-workspace .crm-contact-grid,.directory-workspace .crm-brief-facts{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px}.directory-workspace .crm-lead-row{padding:14px 16px;gap:14px;border-radius:10px}.directory-workspace .crm-lead-row strong,.directory-workspace .crm-lead-row h3{overflow-wrap:anywhere}.directory-workspace .feed-library-row{border-radius:10px}.directory-workspace .feed-library-row p,.directory-workspace .feed-library-row a{overflow-wrap:anywhere}.directory-workspace :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #1f5fd1;outline-offset:2px}
@media(max-width:760px){.signal-mark{gap:2px;margin-left:8px;transform:scale(.8);transform-origin:left center;width:34px}.lead-screen .directory-header h1{font-size:20px;letter-spacing:-.5px;white-space:normal}.lead-screen .directory-header>div:first-child{min-width:0}.lead-screen .directory-header .heading-actions{flex-shrink:0}.lead-screen .directory-header .button{font-size:10px}.lead-screen .directory-filter-panel{grid-template-columns:28px minmax(0,1fr) 48px 94px;gap:5px;padding:5px 6px;align-items:center}.lead-screen .directory-search-toggle{grid-column:1;grid-row:1}.directory-search-toggle>summary{padding:4px;min-height:30px;width:28px}.directory-search-toggle>summary>span{display:none}.lead-screen .nearby-switch{grid-column:2;grid-row:1;font-size:10.5px;gap:4px;min-width:0;margin:0;justify-content:center}.lead-screen .nearby-track{width:28px;height:18px}.lead-screen .nearby-switch input:checked+.nearby-track:before{transform:translateX(10px)}.lead-screen .directory-advanced{grid-column:3;grid-row:1;min-width:0}.lead-screen .directory-advanced>summary{font-size:10px;padding:5px 3px;min-height:30px}.lead-screen .directory-toolbar{grid-column:4;grid-row:1}.lead-screen .directory-sort select{width:94px;max-width:94px;font-size:11px!important;padding:3px}.directory-search-popover{width:100%;max-height:calc(100dvh - 95px);padding:10px;bottom:calc(100% + 6px)}.directory-search-popover>small{font-size:11px}.directory-workspace #detail{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:10px}.directory-workspace #detail .dialog-top{padding:9px;margin-bottom:12px}.directory-workspace #detail .dialog-top h2{font-size:17px}.directory-workspace #detail input,.directory-workspace #detail select,.directory-workspace #detail textarea{font-size:16px!important}.directory-workspace .crm-contact-grid,.directory-workspace .crm-brief-facts,.directory-workspace #detail .form-grid{grid-template-columns:1fr}.directory-workspace .crm-lead-row{padding:12px;gap:10px}.directory-workspace .feed-library-row{padding:15px}.directory-workspace .page-heading h1{font-size:27px}.directory-workspace .heading-actions .button{max-width:100%}.directory-workspace .form-actions .button{white-space:normal}.directory-workspace .directory-group-icons a{font-size:10px}}
@media(prefers-reduced-motion:reduce){.directory-group-icons a{transition:none}}

.directory-search-toggle.has-query>summary{position:relative;border-color:#6e99d8;color:#194f9d}.directory-search-toggle.has-query>summary:after{content:'';position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:#1f5fd1;box-shadow:0 0 0 2px #dce6f3}
/* Comfortable targets: give each bottom action its own finger-sized space. */
.lead-screen .directory-group-tabs.directory-group-icons{gap:10px;padding:6px;margin:10px 0 8px;border-radius:12px;max-width:540px}.lead-screen .directory-group-icons a{min-height:50px;padding:7px 8px!important;gap:5px;border-radius:8px;font-size:11px}.lead-screen .directory-group-icons .icon{width:20px;height:20px}.lead-screen .directory-pagination{gap:16px;min-height:44px;margin:0 0 10px}.lead-screen .directory-pagination .button{min-height:44px;min-width:88px;padding:8px 14px;font-size:12px}.lead-screen .directory-filter-panel{gap:14px;padding:9px 12px;border-radius:10px;min-height:60px}.directory-search-toggle>summary,.lead-screen .directory-advanced>summary{min-height:44px;padding:9px 14px;font-size:12px}.nearby-switch{min-height:44px;padding:3px 8px;border-radius:7px}.lead-screen .directory-toolbar .directory-sort select{height:44px;font-size:13px!important}.lead-screen .directory-search-popover .directory-search{padding:5px 9px;min-height:48px}.directory-search-popover button#dir-search-clear,.search-popover-heading button{min-width:44px;min-height:44px}.lead-screen .directory-filter-popup .directory-filter select{min-height:44px}.directory-popup-actions{gap:12px;padding:12px 14px}.directory-popup-actions .button,.directory-popup-actions .directory-check{min-height:44px}.directory-popup-actions .directory-check{display:flex;align-items:center;gap:9px}.directory-popup-actions .directory-check input{flex-shrink:0}.directory-search-popover,.lead-screen .directory-filter-popup{bottom:calc(100% + 12px)}
@media(max-width:760px){.directory-workspace.lead-screen main{padding:7px 10px calc(12px + env(safe-area-inset-bottom));gap:0}.lead-screen .directory-group-tabs.directory-group-icons{gap:8px;padding:6px;margin:10px 0 8px;max-width:none}.lead-screen .directory-group-icons a{min-height:54px;padding:7px 3px!important;gap:5px;font-size:11px;line-height:14px;letter-spacing:-.2px}.lead-screen .directory-group-icons .icon{width:20px;height:20px}.lead-screen .directory-pagination{display:grid;grid-template-columns:minmax(66px,1fr) minmax(0,1.25fr) minmax(66px,1fr);gap:12px;min-height:44px;margin-bottom:10px}.lead-screen .directory-pagination .button{width:100%;min-width:0;min-height:44px;padding:8px 6px;font-size:11px;border-radius:8px}.lead-screen .directory-pagination>span{text-align:center;font-size:10px;line-height:1.4}.lead-screen .directory-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px;min-height:108px;border-radius:12px}.lead-screen .directory-search-toggle{grid-column:1;grid-row:1;width:100%;min-width:0}.directory-search-toggle>summary{width:100%;min-height:44px;padding:10px 8px;gap:8px;font-size:13px;border-radius:8px}.directory-search-toggle>summary>span{display:inline}.directory-search-toggle>summary .icon{width:18px;height:18px}.lead-screen .directory-advanced{grid-column:2;grid-row:1;width:100%;min-width:0}.lead-screen .directory-advanced>summary{width:100%;min-height:44px;padding:10px 8px;font-size:13px;border-radius:8px}.lead-screen .nearby-switch{grid-column:1;grid-row:2;min-height:44px;width:100%;min-width:0;justify-content:center;margin:0;padding:5px;gap:6px;font-size:11px;border:1px solid #a8bad1;background:#d4e0ef;border-radius:8px;white-space:normal;line-height:1.25}.nearby-switch input{width:44px;height:44px;top:0;left:0}.lead-screen .nearby-track{width:30px;height:20px}.lead-screen .nearby-track:before{width:14px;height:14px}.lead-screen .nearby-switch input:checked+.nearby-track:before{transform:translateX(10px)}.lead-screen .directory-toolbar{grid-column:2;grid-row:2;width:100%;min-width:0}.lead-screen .directory-sort{display:block;width:100%}.lead-screen .directory-toolbar .directory-sort select{width:100%;max-width:100%;height:44px;min-height:44px;font-size:16px!important;padding:6px;border-radius:8px}.lead-screen .directory-search-popover,.lead-screen .directory-filter-popup{width:100%;max-height:calc(100dvh - 135px);bottom:calc(100% + 12px);right:0;left:auto}.lead-screen .directory-filter-popup .directory-filter-grid{gap:14px;padding:14px}.lead-screen .directory-filter-popup .directory-filter select{min-height:44px;height:44px}.lead-screen .directory-filter-popup .directory-filter span{font-size:12px;line-height:1.35}.directory-popup-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.directory-popup-actions .directory-check{grid-column:1/-1;min-height:44px;padding:5px 4px;margin:0;font-size:12px}.directory-popup-actions .directory-check input{width:20px;height:20px}.directory-popup-actions .button{min-height:44px;width:100%;font-size:13px;padding:9px}.directory-search-popover{padding:12px}.directory-search-popover .search-popover-heading{margin-bottom:10px}.directory-search-popover button#dir-search-clear,.search-popover-heading button{min-width:44px;min-height:44px;font-size:13px}.lead-screen .directory-search-popover .directory-search{gap:6px}.directory-workspace #close-detail{min-width:44px;min-height:44px}.lead-screen .directory-table-scroll{min-height:0}}
@media(max-width:360px){.lead-screen .directory-group-icons a{font-size:10px;letter-spacing:0}.lead-screen .nearby-switch{font-size:10.5px;gap:5px}.lead-screen .directory-pagination>span{font-size:9px}}
@media(max-height:520px) and (min-width:560px){.lead-screen .topbar{display:none}.directory-workspace.lead-screen main{padding-top:5px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.lead-screen .directory-header h1{font-size:20px}.lead-screen .directory-group-tabs.directory-group-icons{margin:5px 0;padding:4px}.lead-screen .directory-group-icons a{flex-direction:row;min-height:44px;gap:7px;padding:5px!important}.lead-screen .directory-pagination{margin-bottom:6px}.lead-screen .directory-filter-panel{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;min-height:60px;padding:7px;gap:10px}.lead-screen .directory-search-toggle{grid-column:1;grid-row:1;width:100%}.lead-screen .directory-search-toggle>summary{width:100%;min-height:44px}.lead-screen .directory-advanced{grid-column:3;grid-row:1;width:100%}.lead-screen .directory-advanced>summary{min-height:44px}.lead-screen .nearby-switch{grid-column:2;grid-row:1;margin:0;min-height:44px}.lead-screen .directory-toolbar{grid-column:4;grid-row:1}.lead-screen .directory-sort{width:100%}.lead-screen .directory-sort select{width:100%;max-width:100%;height:44px}.lead-screen .directory-filter-popup,.lead-screen .directory-search-popover{max-height:calc(100dvh - 90px)}}
