.lp-filter-reset{padding:11px 20px;border:0;border-radius:4px;background:#A90000;color:#fff;font-weight:700;cursor:pointer}.lp-work-card__image{position:relative}.lp-work-card__number{position:absolute;left:10px;top:10px;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#A90000;color:#fff;border:2px solid #fff;font-weight:900;box-shadow:0 2px 7px rgba(0,0,0,.2)}.lp-work-card.is-filtered-out{display:none}.lp-work-detail{max-width:900px;margin:auto}.lp-work-detail__image{width:100%;max-height:520px;object-fit:cover;border-radius:8px}.lp-work-detail dl{display:grid;grid-template-columns:150px 1fr;border-top:2px solid #A90000}.lp-work-detail dt,.lp-work-detail dd{margin:0;padding:13px 15px;border-bottom:1px solid #e5e5e5}.lp-work-detail dt{background:#f7f7f7;font-weight:700}.lp-work-detail__content{margin-top:35px}.lp-number-pin{background:transparent!important;border:0!important}.lp-pin-svg{filter:drop-shadow(0 3px 4px rgba(0,0,0,.22))}.lp-map-popup-shell .leaflet-popup-content-wrapper{padding:0;border-radius:9px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.18)}.lp-map-popup-shell .leaflet-popup-content{margin:0;width:330px!important}.lp-map-popup img{display:block;width:100%;height:150px;object-fit:cover}.lp-map-popup__body{padding:14px 16px 16px}.lp-map-popup h3{margin:0 0 8px;font-size:18px}.lp-map-popup dl{display:grid;grid-template-columns:75px 1fr;margin:12px 0 0;border-top:1px solid #eee}.lp-map-popup dt,.lp-map-popup dd{margin:0;padding:6px 0;border-bottom:1px solid #eee;font-size:12px}.lp-map-popup dt{font-weight:700}.lp-map-flags{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.lp-map-flags span{font-size:12px}.lp-map-flags b{color:#A90000;font-size:16px}@media(max-width:640px){.lp-work-detail dl{grid-template-columns:1fr}.lp-work-detail dt{padding-bottom:4px;border-bottom:0}.lp-work-detail dd{padding-top:4px}.lp-map-popup-shell .leaflet-popup-content{width:270px!important}}
.lp-filter-submit{padding:11px 20px;border:0;border-radius:3px;background:#A90000;color:#fff;font-weight:700;cursor:pointer}.lp-filter-submit:hover{background:#760000}.lp-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin:30px 0 0}.lp-pagination a{display:inline-flex;min-width:36px;height:36px;padding:0 10px;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:3px;background:#fff;color:#444;font-weight:700;text-decoration:none}.lp-pagination a:hover,.lp-pagination a.is-current{border-color:#A90000;background:#A90000;color:#fff}.lp-pagination__prev,.lp-pagination__next{font-size:20px}

/* v6.2 works search readability */
.lp-works-tool{gap:8px!important;padding:12px!important;margin-bottom:16px!important}
.lp-works-tool select,.lp-works-tool .lp-filter-submit,.lp-works-tool .lp-filter-reset{
  min-height:48px!important;height:48px!important;margin:0!important;padding:0 20px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:4px!important;font-size:16px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;
}
.lp-works-tool select{min-width:220px!important;padding-right:42px!important;font-weight:600!important}
.lp-works-tool .lp-filter-submit,.lp-works-tool .lp-filter-reset{min-width:112px!important}
@media(max-width:640px){
  .lp-works-tool{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px!important}
  .lp-works-tool select{grid-column:1/-1;width:100%!important;min-width:0!important}
  .lp-works-tool .lp-filter-submit,.lp-works-tool .lp-filter-reset{width:100%!important;min-width:0!important}
}

/* ========================================================
 * v6.5 mobile works refinements
 * ====================================================== */
@media(max-width:640px){
  .lp-works-tool{
    row-gap:4px!important;
    column-gap:8px!important;
    padding:8px!important;
    margin-bottom:8px!important;
  }
  .lp-works-tool select,
  .lp-works-tool .lp-filter-submit,
  .lp-works-tool .lp-filter-reset{
    margin:0!important;
  }
  .lp-works-map{margin-top:0!important}

  /* Keep all popup information accessible inside the map on small screens. */
  .lp-map-popup-shell{max-width:calc(100vw - 34px)!important}
  .lp-map-popup-shell .leaflet-popup-content-wrapper{
    max-height:292px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .lp-map-popup-shell .leaflet-popup-content{
    width:min(270px,calc(100vw - 62px))!important;
    max-width:none!important;
  }
  .lp-map-popup img{height:92px!important}
  .lp-map-popup__body{padding:10px 12px 12px!important}
  .lp-map-popup h3{font-size:16px!important;margin-bottom:6px!important}
  .lp-map-popup dl{margin-top:8px!important}
  .lp-map-popup dt,.lp-map-popup dd{padding:4px 0!important;font-size:11.5px!important;line-height:1.5!important}
  .lp-map-flags{margin-top:8px!important;gap:6px!important}
  .lp-map-flags span{font-size:11.5px!important}
}


/* ========================================================
 * v6.6 mobile works: compact filters + one-screen popup
 * ====================================================== */
@media(max-width:640px){
  .lp-works-tool{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    align-content:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:8px!important;
    margin:0 0 8px!important;
  }
  .lp-works-tool select{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  .lp-works-tool .lp-filter-submit,
  .lp-works-tool .lp-filter-reset{
    flex:1 1 calc(50% - 4px)!important;
    width:calc(50% - 4px)!important;
    min-width:0!important;
    margin:0!important;
  }
  .lp-works-map{margin-top:0!important;height:390px!important}

  /* Compact horizontal popup: no internal vertical scrolling. */
  .lp-map-popup-shell{
    max-width:calc(100vw - 28px)!important;
  }
  .lp-map-popup-shell .leaflet-popup-content-wrapper{
    max-height:none!important;
    overflow:hidden!important;
  }
  .lp-map-popup-shell .leaflet-popup-content{
    width:min(318px,calc(100vw - 52px))!important;
    max-width:none!important;
    margin:0!important;
  }
  .lp-map-popup{
    display:grid!important;
    grid-template-columns:88px minmax(0,1fr)!important;
    align-items:start!important;
    min-width:0!important;
  }
  .lp-map-popup>img{
    grid-column:1!important;
    grid-row:1!important;
    width:76px!important;
    height:68px!important;
    margin:10px 0 0 10px!important;
    border-radius:5px!important;
    object-fit:cover!important;
  }
  .lp-map-popup__body{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    padding:9px 10px 10px!important;
  }
  .lp-map-popup h3{
    margin:0 0 4px!important;
    font-size:14px!important;
    line-height:1.3!important;
  }
  .lp-map-popup .lp-label{
    display:inline-flex!important;
    margin:0 0 4px!important;
    padding:2px 6px!important;
    font-size:9px!important;
    line-height:1.25!important;
  }
  .lp-map-popup dl{
    grid-template-columns:50px minmax(0,1fr)!important;
    margin:4px 0 0!important;
    border-top:1px solid #eee!important;
  }
  .lp-map-popup dt,
  .lp-map-popup dd{
    min-width:0!important;
    margin:0!important;
    padding:2px 0!important;
    font-size:9.5px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  .lp-map-popup dt{font-weight:700!important}
  .lp-map-flags{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
    margin-top:5px!important;
  }
  .lp-map-flags span{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:2px!important;
    font-size:8.8px!important;
    white-space:nowrap!important;
  }
  .lp-map-flags b{font-size:11px!important}
}

/* ========================================================
 * v6.6.1 works mobile filter spacing hotfix
 * Markup is split into field/action groups so browser flex/grid
 * calculations cannot create an oversized blank row.
 * ====================================================== */
.lp-works-tool{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.lp-works-tool__fields,
.lp-works-tool__actions{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.lp-works-tool__fields{flex:1 1 auto}
.lp-works-tool__actions{flex:0 0 auto}
.lp-works-tool__fields select{
  box-sizing:border-box!important;
  flex:1 1 220px!important;
  width:auto!important;
  min-width:180px!important;
  margin:0!important;
}
.lp-works-tool__actions .lp-filter-submit,
.lp-works-tool__actions .lp-filter-reset{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}

@media(max-width:640px){
  .lp-works-tool{
    display:block!important;
    padding:8px!important;
    margin:0 0 8px!important;
  }
  .lp-works-tool__fields{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    width:100%!important;
    margin:0 0 8px!important;
  }
  .lp-works-tool__fields select{
    display:block!important;
    flex:none!important;
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    margin:0!important;
  }
  .lp-works-tool__actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
  }
  .lp-works-tool__actions .lp-filter-submit,
  .lp-works-tool__actions .lp-filter-reset{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    margin:0!important;
    padding:0 10px!important;
  }
  .lp-works-map{margin-top:0!important}
}

/* ========================================================
 * v6.6.2 definitive mobile filter layout
 * The archive markup itself also includes the same high-specificity
 * rules so this stays stable even when an older theme CSS is cached.
 * ====================================================== */
form.lp-works-tool.lp-works-tool--v662{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;
  grid-template-areas:"industry property search reset";
  align-items:stretch!important;
  gap:8px!important;
  padding:12px!important;
  margin:0 0 16px!important;
}
form.lp-works-tool.lp-works-tool--v662>*{box-sizing:border-box!important;margin:0!important;min-width:0!important}
form.lp-works-tool.lp-works-tool--v662 #lp-filter-industry{grid-area:industry!important}
form.lp-works-tool.lp-works-tool--v662 #lp-filter-property{grid-area:property!important}
form.lp-works-tool.lp-works-tool--v662 .lp-filter-submit{grid-area:search!important}
form.lp-works-tool.lp-works-tool--v662 .lp-filter-reset{grid-area:reset!important}
form.lp-works-tool.lp-works-tool--v662 select,
form.lp-works-tool.lp-works-tool--v662 .lp-filter-submit,
form.lp-works-tool.lp-works-tool--v662 .lp-filter-reset{
  width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important;
  margin:0!important;padding:0 16px!important;border-radius:4px!important;
  font-size:16px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important;
}
@media(max-width:640px){
  form.lp-works-tool.lp-works-tool--v662{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"industry" "property" "search" "reset"!important;
    gap:8px!important;padding:8px!important;margin:0 0 8px!important;
  }
  form.lp-works-tool.lp-works-tool--v662 select,
  form.lp-works-tool.lp-works-tool--v662 .lp-filter-submit,
  form.lp-works-tool.lp-works-tool--v662 .lp-filter-reset{
    width:100%!important;min-width:0!important;max-width:none!important;
    height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;
  }
}


/* ========================================================
 * v6.6.4: Works filter must size strictly to its controls.
 * This supersedes all historical grid/flex experiments.
 * ====================================================== */
form.lp-works-tool.lp-works-tool--v664{
  box-sizing:border-box!important;display:flex!important;flex-flow:row wrap!important;
  align-items:center!important;align-content:flex-start!important;justify-content:flex-start!important;
  gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:12px!important;margin:0 0 16px!important;overflow:visible!important;
}
form.lp-works-tool.lp-works-tool--v664>*{box-sizing:border-box!important;margin:0!important;min-width:0!important}
form.lp-works-tool.lp-works-tool--v664 select{
  flex:1 1 220px!important;width:auto!important;min-width:180px!important;height:48px!important;min-height:48px!important;max-height:48px!important;
}
form.lp-works-tool.lp-works-tool--v664 .lp-filter-submit,
form.lp-works-tool.lp-works-tool--v664 .lp-filter-reset{
  flex:0 0 auto!important;width:auto!important;min-width:126px!important;height:48px!important;min-height:48px!important;max-height:48px!important;
}
@media(max-width:640px){
  form.lp-works-tool.lp-works-tool--v664{
    flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;
    gap:8px!important;height:auto!important;min-height:0!important;max-height:none!important;padding:8px!important;margin:0 0 8px!important;
  }
  form.lp-works-tool.lp-works-tool--v664 select,
  form.lp-works-tool.lp-works-tool--v664 .lp-filter-submit,
  form.lp-works-tool.lp-works-tool--v664 .lp-filter-reset{
    flex:0 0 48px!important;width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;
  }
}

/* v6.6.5: compact works filter rhythm (about one-third of previous 8px gap). */
form.lp-works-tool.lp-works-tool--v664{
  gap:3px!important;
  padding:4px!important;
  margin-bottom:6px!important;
}
@media(max-width:640px){
  form.lp-works-tool.lp-works-tool--v664{
    gap:3px!important;
    padding:3px!important;
    margin-bottom:3px!important;
  }
}

/* ========================================================
 * v6.6.6 mobile popup flags: keep each mark next to its label.
 * Desktop layout is intentionally unchanged.
 * ====================================================== */
@media(max-width:640px){
  .lp-map-flags span{
    justify-content:flex-start!important;
    gap:3px!important;
  }
  .lp-map-flags b{
    display:inline-block!important;
    flex:0 0 auto!important;
    margin-left:1px!important;
  }
}

/* ========================================================
 * v6.6.8 Works filter BR removal / stable spacing
 * The requested reduction applies to spaces BETWEEN controls.
 * Outer form padding is intentionally kept at a normal size.
 * ====================================================== */
form.lp-works-tool.lp-works-tool--v668{
  box-sizing:border-box!important;
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:12px!important;
  margin:0 0 10px!important;
}
form.lp-works-tool.lp-works-tool--v668>*{box-sizing:border-box!important;margin:0!important;min-width:0!important}
form.lp-works-tool.lp-works-tool--v668 select{
  flex:1 1 220px!important;width:auto!important;min-width:180px!important;
  height:48px!important;min-height:48px!important;max-height:48px!important;
}
form.lp-works-tool.lp-works-tool--v668 .lp-filter-submit,
form.lp-works-tool.lp-works-tool--v668 .lp-filter-reset{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:126px!important;
  height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;
}
@media(max-width:640px){
  form.lp-works-tool.lp-works-tool--v668{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:10px!important;margin:0!important;
  }
  form.lp-works-tool.lp-works-tool--v668 select,
  form.lp-works-tool.lp-works-tool--v668 .lp-filter-submit,
  form.lp-works-tool.lp-works-tool--v668 .lp-filter-reset{
    box-sizing:border-box!important;flex:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;
  }
  form.lp-works-tool.lp-works-tool--v668 select{display:block!important}
  form.lp-works-tool.lp-works-tool--v668 .lp-filter-submit,
  form.lp-works-tool.lp-works-tool--v668 .lp-filter-reset{display:flex!important;align-items:center!important;justify-content:center!important}
  form.lp-works-tool.lp-works-tool--v668 br{display:none!important}
  form.lp-works-tool.lp-works-tool--v668 + .lp-works-map{margin-top:12px!important}
}


/* v6.6.8 final override: no BR spacing; add deliberate form-to-map gap. */
form.lp-works-tool.lp-works-tool--v668 br{display:none!important}
form.lp-works-tool.lp-works-tool--v668 + .lp-works-map{margin-top:12px!important}

/* ========================================================
 * v6.7.0 Works fixed-page / fields / modal
 * ====================================================== */
.lp-archive-section-heading--works{padding-right:150px;min-height:48px}
.lp-works-list-button{position:absolute;right:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:118px;height:42px;padding:0 18px;border:1px solid #A90000;border-radius:4px;background:#fff;color:#A90000;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:.2s ease}
.lp-works-list-button:hover,.lp-works-list-button:focus-visible{background:#A90000;color:#fff}
.lp-work-card__tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:24px}
.lp-work-card__tags .lp-label{margin:0}

form.lp-works-tool.lp-works-tool--v670{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;align-items:stretch!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;padding:12px!important;margin:0 0 12px!important;overflow:visible!important}
form.lp-works-tool.lp-works-tool--v670>*{box-sizing:border-box!important;margin:0!important;min-width:0!important}
form.lp-works-tool.lp-works-tool--v670 select,form.lp-works-tool.lp-works-tool--v670 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v670 .lp-filter-reset{height:48px!important;min-height:48px!important;max-height:48px!important;border-radius:4px!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important}
form.lp-works-tool.lp-works-tool--v670 select{width:100%!important;padding:0 42px 0 16px!important}
form.lp-works-tool.lp-works-tool--v670 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v670 .lp-filter-reset{display:flex!important;align-items:center!important;justify-content:center!important;min-width:126px!important;padding:0 18px!important;white-space:nowrap!important}
form.lp-works-tool.lp-works-tool--v670 br{display:none!important}
form.lp-works-tool.lp-works-tool--v670 + .lp-works-map{margin-top:0!important}

.lp-works-list-modal[hidden]{display:none!important}.lp-modal-open{overflow:hidden}
.lp-works-list-modal{position:fixed;z-index:100000;inset:0;display:flex;align-items:center;justify-content:center;padding:28px}
.lp-works-list-modal__backdrop{position:absolute;inset:0;background:rgba(20,20,20,.58);backdrop-filter:blur(2px)}
.lp-works-list-modal__dialog{position:relative;z-index:1;width:min(1180px,96vw);max-height:min(760px,90vh);display:flex;flex-direction:column;background:#fff;border-radius:8px;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden}
.lp-works-list-modal__close{position:absolute;right:16px;top:14px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#f2f2f2;color:#333;font-size:25px;line-height:1;cursor:pointer}.lp-works-list-modal__close:hover{background:#A90000;color:#fff}
.lp-works-list-modal__head{padding:26px 64px 18px 28px;border-bottom:1px solid #e5e5e5}.lp-works-list-modal__head span{display:block;color:#A90000;font-size:10px;font-weight:800;letter-spacing:.14em}.lp-works-list-modal__head h2{margin:3px 0 6px;font-size:25px}.lp-works-list-modal__head p{margin:0;color:#666;font-size:13px}
.lp-works-list-table-wrap{overflow:auto;padding:0 24px 24px}.lp-works-list-table{width:100%;min-width:980px;border-collapse:collapse;font-size:13px}.lp-works-list-table th,.lp-works-list-table td{padding:12px 11px;border-bottom:1px solid #e7e7e7;text-align:left;vertical-align:middle}.lp-works-list-table th{position:sticky;top:0;z-index:1;background:#f5f5f5;color:#333;font-weight:700}.lp-works-list-table tbody tr:hover{background:#fff8f8}.lp-works-list-status{display:inline-flex;padding:2px 7px;border-radius:99px;background:#eef7ef;color:#28723b;font-size:11px;font-weight:700}.lp-works-list-status.is-excluded{background:#f2f2f2;color:#777}

/* Updated map-popup fields and flags. */
.lp-map-popup__body .lp-map-flags--primary{margin-top:10px;padding-top:7px;border-top:1px solid #eee}.lp-map-popup__body .lp-map-flags--primary+ .lp-map-flags{margin-top:5px}
.lp-map-popup__body .lp-map-flags--primary span{font-weight:700}

@media(max-width:640px){
  .lp-archive-section-heading--works{padding-right:0;padding-bottom:52px}.lp-works-list-button{top:auto;right:auto;left:15px;bottom:0;transform:none;min-width:112px;height:40px}
  form.lp-works-tool.lp-works-tool--v670{display:flex!important;flex-direction:column!important;gap:8px!important;padding:10px!important;margin:0 0 10px!important}
  form.lp-works-tool.lp-works-tool--v670 select,form.lp-works-tool.lp-works-tool--v670 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v670 .lp-filter-reset{width:100%!important;min-width:0!important;height:48px!important;margin:0!important}
  .lp-works-list-modal{padding:12px}.lp-works-list-modal__dialog{width:100%;max-height:92vh;border-radius:7px}.lp-works-list-modal__head{padding:20px 50px 14px 18px}.lp-works-list-modal__head h2{font-size:21px}.lp-works-list-modal__head p{font-size:12px;line-height:1.6}.lp-works-list-table-wrap{padding:0 14px 16px}.lp-works-list-table{font-size:12px}.lp-works-list-table th,.lp-works-list-table td{padding:9px 8px}

  /* Keep the map popup in one compact panel without inner scrolling. */
  .lp-map-popup-shell{max-width:calc(100vw - 24px)!important}.lp-map-popup-shell .leaflet-popup-content-wrapper{max-height:none!important;overflow:hidden!important}.lp-map-popup-shell .leaflet-popup-content{width:min(326px,calc(100vw - 44px))!important;max-width:none!important;margin:0!important}
  .lp-map-popup{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:start!important}.lp-map-popup>img{grid-column:1!important;grid-row:1!important;width:66px!important;height:60px!important;margin:9px 0 0 9px!important;border-radius:5px!important;object-fit:cover!important}.lp-map-popup__body{grid-column:2!important;grid-row:1!important;min-width:0!important;padding:8px 9px 9px!important}.lp-map-popup h3{margin:0 0 3px!important;font-size:13px!important;line-height:1.25!important}.lp-map-popup dl{grid-template-columns:50px minmax(0,1fr)!important;margin:3px 0 0!important}.lp-map-popup dt,.lp-map-popup dd{padding:1px 0!important;font-size:8.7px!important;line-height:1.32!important;overflow-wrap:anywhere!important}.lp-map-flags{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important;margin-top:3px!important}.lp-map-flags--primary{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-top:3px!important;margin-top:4px!important}.lp-map-flags span{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important;font-size:8px!important;white-space:nowrap!important}.lp-map-flags b{font-size:10px!important}
}


/* ========================================================
 * v6.7.1 Works refinement
 * ====================================================== */
form.lp-works-tool.lp-works-tool--v671{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;align-items:stretch!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;padding:12px!important;margin:0 0 12px!important;overflow:visible!important}
form.lp-works-tool.lp-works-tool--v671>*{box-sizing:border-box!important;margin:0!important;min-width:0!important}
form.lp-works-tool.lp-works-tool--v671 select,form.lp-works-tool.lp-works-tool--v671 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v671 .lp-filter-reset{height:48px!important;min-height:48px!important;max-height:48px!important;border-radius:4px!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important}
form.lp-works-tool.lp-works-tool--v671 select{width:100%!important;padding:0 42px 0 16px!important}
form.lp-works-tool.lp-works-tool--v671 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v671 .lp-filter-reset{display:flex!important;align-items:center!important;justify-content:center!important;min-width:126px!important;padding:0 18px!important;white-space:nowrap!important}
form.lp-works-tool.lp-works-tool--v671 br{display:none!important}
form.lp-works-tool.lp-works-tool--v671 + .lp-works-map{margin-top:0!important}

/* Second works-card tag uses the site's charcoal neutral so it is clearly distinct from the brand-red first tag. */
.lp-work-card__tags .lp-label--secondary{background:#555!important;color:#fff!important}

/* Popup divider now belongs above the transaction flags, not above the primary business flags. */
.lp-map-popup__body .lp-map-flags--primary{border-top:0!important;padding-top:0!important;margin-top:8px!important}
.lp-map-popup__body .lp-map-flags--transaction{margin-top:6px!important;padding-top:7px!important;border-top:1px solid #eee!important}
.lp-map-popup__body .lp-map-flags--transaction span{font-weight:700!important}

.lp-works-scale-note{margin:8px 0 18px!important;color:#666;font-size:12px;line-height:1.7}
.lp-works-list-table{min-width:1120px}

@media(max-width:640px){
  form.lp-works-tool.lp-works-tool--v671{display:flex!important;flex-direction:column!important;gap:8px!important;padding:10px!important;margin:0 0 10px!important}
  form.lp-works-tool.lp-works-tool--v671 select,form.lp-works-tool.lp-works-tool--v671 .lp-filter-submit,form.lp-works-tool.lp-works-tool--v671 .lp-filter-reset{width:100%!important;min-width:0!important;height:48px!important;margin:0!important}
  .lp-map-popup__body .lp-map-flags--primary{padding-top:0!important;margin-top:4px!important;border-top:0!important}
  .lp-map-popup__body .lp-map-flags--transaction{padding-top:4px!important;margin-top:4px!important;border-top:1px solid #eee!important}
  .lp-works-scale-note{margin:7px 0 14px!important;font-size:11px}
}

/* Exact divider rule requested for map flag groups. */
.lp-map-popup__body .lp-map-flags{border-top:1px solid #eee}
.lp-map-popup__body .lp-map-flags--primary{border-top:0!important}


/* ========================================================
 * v6.7.2 Works display refinement
 * ====================================================== */
/* Keep the map flush with the scale note. */
.lp-works-map{margin-bottom:0!important}
.lp-works-scale-note{margin-top:3px!important}

/* Property-type tag: deep blue, distinct from the brand-red industry tag. */
.lp-work-card__tags .lp-label--secondary{background:#2F5D73!important;color:#fff!important}

/* Empty search result. */
.lp-works-empty{grid-column:1/-1;margin:18px 0 8px;padding:24px 18px;border:1px solid #e5e5e5;background:#fafafa;color:#555;text-align:center;font-size:14px;line-height:1.8}

@media(max-width:640px){
  .lp-works-scale-note{margin-top:3px!important}
  .lp-works-empty{margin:12px 0 4px;padding:20px 14px;font-size:13px}
}

/* ========================================================
 * v6.7.6 definitive Works mobile controls
 * - stable iPhone Chrome/Safari filter layout
 * - perfectly circular modal close control
 * ====================================================== */
form.lp-works-tool.lp-works-tool--v676{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:12px!important;
  margin:0 0 12px!important;
  overflow:visible!important;
}
form.lp-works-tool.lp-works-tool--v676>*{
  box-sizing:border-box!important;
  margin:0!important;
  min-width:0!important;
}
form.lp-works-tool.lp-works-tool--v676 select,
form.lp-works-tool.lp-works-tool--v676 .lp-filter-submit,
form.lp-works-tool.lp-works-tool--v676 .lp-filter-reset{
  box-sizing:border-box!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  margin:0!important;
  border-radius:4px!important;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
form.lp-works-tool.lp-works-tool--v676 select{
  display:block!important;
  padding:0 42px 0 16px!important;
  border:1px solid #d8d8d8!important;
  background-color:#fff!important;
  color:#333!important;
}
form.lp-works-tool.lp-works-tool--v676 .lp-filter-submit,
form.lp-works-tool.lp-works-tool--v676 .lp-filter-reset{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:126px!important;
  padding:0 18px!important;
  white-space:nowrap!important;
}
form.lp-works-tool.lp-works-tool--v676 br{display:none!important}
form.lp-works-tool.lp-works-tool--v676 + .lp-works-map{margin-top:0!important}

.lp-works-list-modal__close{
  box-sizing:border-box!important;
  inline-size:42px!important;
  block-size:42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  aspect-ratio:1 / 1!important;
  padding:0!important;
  border-radius:50%!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  font-size:0!important;
}
.lp-works-list-modal__close::before{
  content:"×";
  display:block;
  width:100%;
  line-height:1;
  text-align:center;
  font-family:Arial,sans-serif;
  font-size:28px;
  font-weight:400;
  transform:translateY(-1px);
}

@media(max-width:760px){
  form.lp-works-tool.lp-works-tool--v676{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    padding:10px!important;
    margin:0 0 10px!important;
  }
  form.lp-works-tool.lp-works-tool--v676 select,
  form.lp-works-tool.lp-works-tool--v676 .lp-filter-submit,
  form.lp-works-tool.lp-works-tool--v676 .lp-filter-reset{
    display:flex!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    margin:0!important;
  }
  form.lp-works-tool.lp-works-tool--v676 select{
    display:block!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    padding-left:14px!important;
    padding-right:42px!important;
    background-color:#fff!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25l5-5' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:right 14px center!important;
    background-size:12px 8px!important;
  }
  .lp-works-list-modal__close{
    right:14px!important;
    top:14px!important;
    inline-size:42px!important;
    block-size:42px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    max-height:42px!important;
  }
}


/* ========================================================
 * v6.7.7 Works list modal mobile viewport / close alignment
 * ====================================================== */
.lp-works-list-table-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch;
}
.lp-works-list-modal__close{
  display:block!important;
  position:absolute!important;
}
.lp-works-list-modal__close::before,
.lp-works-list-modal__close::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:17px!important;
  height:2px!important;
  margin:0!important;
  padding:0!important;
  background:currentColor!important;
  border:0!important;
  transform-origin:center!important;
}
.lp-works-list-modal__close::before{transform:translate(-50%,-50%) rotate(45deg)!important}
.lp-works-list-modal__close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}

@media(max-width:760px){
  .lp-works-list-modal{
    box-sizing:border-box!important;
    height:100dvh!important;
    min-height:100dvh!important;
    padding:36px 12px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .lp-works-list-modal__dialog{
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    max-height:calc(100dvh - 72px)!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:8px!important;
  }
  .lp-works-list-modal__head{
    flex:0 0 auto!important;
  }
  .lp-works-list-table-wrap{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    padding-bottom:18px!important;
  }
  .lp-works-list-modal__close{
    top:14px!important;
    right:14px!important;
  }
}

@supports(padding:max(0px)){
  @media(max-width:760px){
    .lp-works-list-modal{
      padding-top:max(36px,env(safe-area-inset-top))!important;
      padding-bottom:max(36px,env(safe-area-inset-bottom))!important;
    }
  }
}
