/* Compact results, map toggle, and desktop split. Map stays closed until opened. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

body.dc-near-compact .city-crumb{font-size:12px}
body.dc-near-compact .city-crumb .hv-wrap{padding-top:12px;padding-bottom:10px}
body.dc-near-compact .dc-near-intro{padding:8px 0 0}
body.dc-near-compact .dc-near-intro h1{max-width:none;font-size:30px;line-height:1.15;margin:0 0 14px;font-family:Archivo,var(--display),sans-serif;font-weight:800;letter-spacing:-.03em}
body.dc-near-compact .dc-near-body{padding-top:16px}

.compact-search{display:flex;align-items:stretch;height:48px;max-width:720px;background:#fff;border:1px solid #c4d0c4;border-radius:8px;padding:4px;gap:8px}
.compact-search input{flex:1;min-width:0;padding:7px 12px;border:0;background:transparent;font:inherit;font-size:14px;color:#17392c}
.compact-search button{border:0;border-radius:5px;background:#1A6B4A;color:#fff;font:inherit;font-size:14px;font-weight:700;padding:0 24px;cursor:pointer}

.dc-results-compact .dc-filter{border-radius:10px;padding:12px 14px;margin-bottom:14px}
.dc-results-compact .compact-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:12px}
.dc-results-compact .dc-filter-clear{font-size:12px;min-height:24px}
.dc-results-compact .compact-filter-controls{display:flex;align-items:center;gap:12px}
.dc-results-compact .dc-chips{flex-wrap:nowrap;gap:6px;flex:1;min-width:0;overflow-x:auto}
.dc-results-compact .dc-chip{flex-shrink:0}
.dc-results-compact .dc-chip span{flex-direction:row;align-items:center;gap:5px;padding:10px 9px;min-width:0;font-size:12px;white-space:nowrap;border-radius:6px;min-height:38px}
.dc-results-compact .dc-chip small{font-size:11px;white-space:nowrap}
.dc-waste-dropdown{position:relative;flex-shrink:0}
.dc-waste-toggle{border:1px solid #becdbe;border-radius:6px;min-height:40px;background:#fff;padding:9px 12px;font:inherit;font-size:12px;color:#17392c;cursor:pointer;white-space:nowrap}
.dc-waste-menu{position:absolute;right:0;top:46px;z-index:30;width:300px;max-width:calc(100vw - 50px);background:#fff;border:1px solid #cbd8cb;border-radius:9px;padding:16px;box-shadow:0 12px 30px rgba(20,43,35,.13)}
.dc-waste-menu[hidden]{display:none!important}
.dc-waste-menu .dc-wastes{display:flex;flex-direction:column;gap:0}
.dc-waste-menu .dc-waste{min-height:40px;font-size:13px}
.dc-waste-menu small{font-size:11px;color:#68756b}
.compact-mobile-toggle{display:none}
.dc-results-compact .dc-result-head{margin:0 0 6px;align-items:center}
.dc-results-compact .dc-result-head h2{font-size:22px}
.dc-results-compact .dc-result-clear{font-size:14px;min-height:32px}
.dc-results-compact .dc-result-head.is-filtered h2{line-height:1.2}
.dc-results-compact .result-actions{display:flex;align-items:center;gap:18px}
.dc-results-compact .sort-label{font-size:12px;color:#6B6B64}
.dc-results-compact .dc-result-daily{font-size:12px;margin-bottom:12px}
.dc-results-compact .dc-result{border-radius:10px;padding:14px 16px}
.dc-results-compact .dc-result h3{font-size:20px}
.dc-results-compact .dc-result-spec{font-size:13px}
.dc-results-compact .dc-result-view{font-size:12px}
.dc-results-compact button:focus-visible,.dc-results-compact input:focus-visible,.compact-search input:focus-visible,.compact-search button:focus-visible{outline:3px solid #e2b45b;outline-offset:2px}

.dc-results-map-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;background:#fff;border:1px solid #1C5C3E;border-radius:7px;color:#1C5C3E;font:inherit;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.dc-results-map-toggle:hover,.dc-results-map-toggle[aria-expanded="true"]{background:#e8f2e9}
.dc-results-map-toggle span,.dc-results-map-toggle svg{color:inherit}
.results-map-panel{margin:0 0 16px;border:1px solid #c8d5c8;border-radius:10px;overflow:hidden;background:#fff;position:relative}
.results-map-panel[hidden]{display:none!important}
#results-map{height:320px;z-index:1}
.map-caption{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;padding:10px 13px;color:#425b4b;font-size:11px;line-height:1.4}
.map-fallback{margin:0;padding:16px;color:#425b4b;font-size:14px}
.map-tip{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:500;background:rgba(255,255,255,.95);border-radius:5px;padding:5px 8px;font:10px 'DM Sans',sans-serif;color:#244734;white-space:nowrap;pointer-events:none;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis}
.bin-map-pin{border:2px solid #fff;border-radius:7px;box-shadow:0 2px 5px rgba(20,43,35,.25);font:700 11px 'DM Sans',sans-serif;display:grid;place-items:center;cursor:pointer;transition:box-shadow .12s,background .12s}
.bin-map-pin span{font-size:11px!important;line-height:1}
.bin-map-pin.is-far{background:#8A938C!important;color:#fff!important}
.bin-map-pin.is-far span{color:#fff!important}
.bin-map-pin.is-active{background:#173f29!important;outline:3px solid #7bc397;box-shadow:0 0 0 6px rgba(26,107,74,.2);z-index:9999!important}
.dc-further{width:100%;margin:8px 0 2px;padding-top:16px;border-top:1px solid #d7e0d8}
.dc-further[hidden]{display:none!important}
.dc-further h2{margin:0 0 4px;color:#1A6B4A;font-size:22px;line-height:1.2;letter-spacing:-.02em;font-weight:800}
.dc-further p{margin:0;color:#6b6b64;font-size:14px;line-height:1.4}
.dc-further-note{margin-top:6px!important;max-width:68ch;font-size:12px!important;line-height:1.45!important}
.bin-map-pin.is-active span{color:#fff!important}
.leaflet-container{font-family:'DM Sans',sans-serif}
.leaflet-control-attribution{font-size:10px!important}
.dc-result.is-selected{border-color:#1C5C3E!important;background:#edf6ee!important;box-shadow:inset 0 0 0 1px #1C5C3E}
.dc-result:focus-visible{outline:2px solid #1C5C3E;outline-offset:2px}

.city-companies.dc-results-compact{padding-top:28px;padding-bottom:28px}
.dc-radius{display:flex;flex-direction:column;justify-content:center;margin:0 0 14px}
.dc-radius-label{margin:0;font-size:15px;line-height:20px;color:#17392c}
.dc-radius-label b{color:#1A6B4A;font-weight:700}
.dc-radius-meta{margin:0;font-size:12px;line-height:16px;color:#6b6b64}
.dc-radius input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0;background:transparent;cursor:pointer}
.dc-radius input[type=range]:focus{outline:none}
.dc-radius input[type=range]:focus-visible{outline:3px solid #e2b45b;outline-offset:2px}
.dc-radius input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:linear-gradient(to right,#1A6B4A var(--fill,43%),#d7e0d4 var(--fill,43%))}
.dc-radius input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:44px;height:44px;margin-top:-20px;border:0;border-radius:50%;background:radial-gradient(circle,#1A6B4A 0 10px,#fff 10px 12px,transparent 12px);box-shadow:none}
.dc-radius input[type=range]::-moz-range-track{height:4px;border:0;border-radius:99px;background:#d7e0d4}
.dc-radius input[type=range]::-moz-range-progress{height:4px;background:#1A6B4A;border-radius:99px}
.dc-radius input[type=range]::-moz-range-thumb{width:44px;height:44px;border:0;border-radius:50%;background:radial-gradient(circle,#1A6B4A 0 10px,#fff 10px 12px,transparent 12px)}
.dc-result-where.is-off{display:none!important}
.dc-glance-counts{display:flex;flex-direction:column;justify-content:center;gap:8px}
.dc-glance-line{margin:0;font-size:15px;line-height:1.3;color:var(--ink)}
.dc-glance-line b{color:var(--forest);font-weight:800;font-size:22px;letter-spacing:-.02em}
@media(max-width:700px){
  .dc-radius{height:74px;min-height:74px;margin-bottom:8px;overflow:visible}
  .dc-radius-label{font-size:14px;line-height:15px}
  .dc-radius-meta{font-size:12px;line-height:15px}
  .dc-radius input[type=range]{height:44px;min-height:44px;flex:0 0 44px}
  .dc-glance-line{font-size:14px}
  .dc-glance-line b{font-size:18px}
}

@media (min-width:1024px){
  body.map-open .results-workspace{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:18px;align-items:start;height:max(320px,calc(100dvh - var(--workspace-top,460px) - 18px));min-height:320px}
  body.map-open .dc-results{overflow-y:auto;height:100%;padding:2px 6px 2px 2px;scrollbar-width:thin;gap:8px;overscroll-behavior:contain}
  body.map-open .results-map-panel{position:sticky;top:16px;height:100%;margin:0;min-width:0}
  body.map-open #results-map{height:100%;min-height:320px}
  body.map-open .dc-result{grid-template-columns:36px minmax(0,1fr);column-gap:10px;row-gap:5px;padding:11px 12px;min-height:100px;align-items:start;border-radius:8px;flex-shrink:0}
  body.map-open .dc-result-logo{grid-column:1;grid-row:1/3;width:32px;height:32px;border-radius:7px;font-size:11px!important;margin-top:1px}
  body.map-open .dc-result-main{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column}
  body.map-open .dc-result h3{order:0;font-size:15px;line-height:1.15;margin:0 0 4px}
  body.map-open .dc-result-where{order:1;font-size:9px;letter-spacing:0;line-height:1.4}
  body.map-open .dc-result-spec{display:none}
  body.map-open .sizes-line{display:block;order:2;font-size:10px;margin:4px 0 0;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.map-open .sizes-line b{display:none}
  body.map-open .dc-result-view{grid-column:2;grid-row:2;padding:0;border:0;border-radius:0;font-size:10px;justify-self:start;min-height:16px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;color:#1C5C3E}
  body.map-open .dc-near-body{padding-bottom:18px}
  body.map-open .dc-filter-empty{margin-top:10px}
}
@media (max-width:1023px){
  body.map-open .results-workspace{display:flex;flex-direction:column}
  body.map-open .results-map-panel{order:0;width:100%;margin-bottom:12px}
  body.map-open .dc-results{order:1;width:100%}
  .dc-results-compact #results-map{height:260px}
  .map-tip{font-size:9px}
}
@media (max-width:700px){
  body.dc-near-compact .hv-wrap{padding-left:18px;padding-right:18px}
  body.dc-near-compact .city-crumb .hv-wrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;padding-top:10px;padding-bottom:8px}
  body.dc-near-compact .dc-near-intro{padding-top:6px}
  body.dc-near-compact .dc-near-intro h1{font-size:22px;line-height:1.18;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .compact-search{height:46px;gap:4px}
  .compact-search input{font-size:12px;padding:6px}
  .compact-search button{font-size:12px;padding:0 14px}
  body.dc-near-compact .dc-near-body{padding-top:12px}
  .dc-results-compact .dc-filter{padding:0;border:0;background:transparent;margin-bottom:14px}
  .dc-results-compact .compact-filter-head{display:none}
  .compact-mobile-toggle{display:flex;align-items:center;gap:0;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c7d3c7;border-radius:7px;background:#f1f6f0;color:#17392c;font:inherit;font-size:13px;font-weight:700}
  .compact-mobile-toggle>span:last-child{margin-left:auto}
  .dc-results-compact .compact-filter-controls{display:none;padding:12px 0 0;flex-direction:column;align-items:stretch;gap:10px}
  .dc-results-compact .dc-filter.is-panel-open .compact-filter-controls{display:flex}
  .dc-results-compact .dc-filter.is-panel-open .compact-filter-head{display:flex;margin-top:12px}
  .dc-results-compact .dc-chips{overflow-x:auto;width:100%;padding:2px 2px 6px}
  .dc-results-compact .dc-chip span{min-height:40px}
  .dc-waste-dropdown{align-self:flex-start}
  .dc-waste-menu{left:0;right:auto}
  .dc-results-compact .dc-result-head{flex-direction:row;align-items:center;flex-wrap:wrap}
  .dc-results-compact .dc-result-head h2{font-size:20px}
  .dc-results-compact .dc-result-head.is-filtered h2{font-size:18px}
  .dc-results-compact .dc-result-title{flex:1 1 auto}
  .dc-results-compact .result-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}
  .dc-results-compact .dc-result-daily{font-size:11px;line-height:1.5;margin-bottom:12px}
  .dc-results-compact .dc-result{grid-template-columns:40px 1fr;gap:10px;padding:14px 12px}
  .dc-results-compact .dc-result-logo{width:36px;height:36px;border-radius:7px;font-size:12px!important}
  .dc-results-compact .dc-result h3{font-size:18px;line-height:1.18}
  .dc-results-compact .dc-result-where{font-size:9px;letter-spacing:.02em}
  .dc-results-compact .dc-result-spec{font-size:12px;line-height:1.4;margin-top:6px}
  .dc-results-compact .dc-result-spec b{display:block}
  .dc-results-compact .dc-result-view{min-height:40px;padding:10px 12px}
  .dc-results,
  .dc-results-compact .dc-results{gap:8px}
  .dc-result,
  .dc-results-compact .dc-result,
  body.map-open .dc-result{
    position:relative;display:grid;grid-template-columns:80px minmax(0,1fr);
    align-items:center;gap:10px;padding:10px;border-radius:10px;overflow:hidden;cursor:pointer
  }
  .dc-result-logo,
  .dc-results-compact .dc-result-logo,
  body.map-open .dc-result-logo{
    width:80px;height:80px;aspect-ratio:1;align-self:center;border-radius:8px;
    font-size:22px!important;grid-column:1;grid-row:1;margin:0
  }
  .dc-result-logo.has-img,
  .dc-results-compact .dc-result-logo.has-img{padding:5px;background:#fff!important;border:1px solid var(--rule)}
  .dc-result-logo img,
  .dc-results-compact .dc-result-logo img{width:100%;height:100%;object-fit:contain}
  .dc-result-main,
  .dc-results-compact .dc-result-main,
  body.map-open .dc-result-main{
    min-width:0;grid-column:2;grid-row:1;padding:0;align-self:center;min-height:80px;
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center
  }
  .dc-result h3,
  .dc-results-compact .dc-result h3,
  body.map-open .dc-result h3{
    grid-column:1;grid-row:1;order:0;min-height:0;max-width:none;margin:0 0 3px;font-size:16px;line-height:1.15;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
  }
  .dc-result h3 a,
  .dc-results-compact .dc-result h3 a{color:#1A6B4A;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
  .dc-result h3 a::after{display:none;content:none}
  .dc-result-where,
  .dc-results-compact .dc-result-where,
  body.map-open .dc-result-where{
    position:static;grid-column:2;grid-row:1;align-self:start;justify-self:end;
    top:auto;right:auto;max-width:none;min-height:0;margin:1px 0 0 8px;padding:0;
    font-size:11px;line-height:17px;font-weight:500;letter-spacing:0;text-transform:none;
    color:#6B6B64;white-space:nowrap
  }
  .dc-result-where-full{display:none}
  .dc-result-where-short{display:inline}
  .dc-result-where:not(:has(.dc-result-where-short)),
  .dc-results-compact .dc-result-where:not(:has(.dc-result-where-short)){display:none}
  .dc-result-spec,
  .dc-results-compact .dc-result-spec,
  body.map-open .dc-result-spec{
    font-size:11px;line-height:1.25;margin-top:3px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
  }
  .dc-result-spec b,
  .dc-results-compact .dc-result-spec b,
  body.map-open .sizes-line b{display:inline;margin-right:3px}
  .sizes-line,
  .dc-results-compact .sizes-line,
  body.map-open .sizes-line{
    grid-column:1 / -1;grid-row:2;order:1;display:block;margin-top:0;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  .dc-result-spec:not(.sizes-line),
  .dc-results-compact .dc-result-spec:not(.sizes-line){
    grid-column:1 / -1;grid-row:3;order:2;min-height:32px;padding-right:74px;margin-top:3px;line-height:1.25;-webkit-line-clamp:3
  }
  .dc-result-spec:not(.sizes-line):has(.is-unknown) b{display:none}
  .dc-result-spec .is-unknown{font-style:italic}
  .dc-result-view,
  .dc-results-compact .dc-result-view,
  body.map-open .dc-result-view{
    position:absolute;top:auto;bottom:10px;right:10px;pointer-events:auto;z-index:3;
    display:flex;align-items:center;justify-content:center;
    min-height:32px;min-width:64px;padding:4px 8px;line-height:20px;font-size:12px;
    border:1px solid #1A6B4A;border-radius:8px;background:#e8f5ef;color:#164e36;text-decoration:none
  }
  .dc-result-view:hover,
  .dc-results-compact .dc-result-view:hover{border-color:#1A6B4A;background:#e8f5ef;color:#164e36}
  .dc-result-view-full{display:none}
  .dc-result-view-short{display:inline}
  body.dc-near-compact .dc-saved-size-inner{gap:8px}
  body.dc-near-compact .dc-saved-size-text{font-size:11px}
  body.dc-near-compact .dc-saved-size-edit{font-size:12px;padding:6px 10px}
}
