/* Christmas Lights Trail — scoped mobile-first design */
.ccl-app {--ccl-green:#234f3c;--ccl-green2:#173b2f;--ccl-red:#9e3735;--ccl-cream:#f8f5ed;--ccl-gold:#bb9550;--ccl-ink:#22362d;--ccl-muted:#52665b;box-sizing:border-box;max-width:1200px;margin:18px auto 48px;color:var(--ccl-ink);font-family:inherit;line-height:1.5;font-size:16px}
.ccl-app *, .ccl-app *::before, .ccl-app *::after {box-sizing:border-box}
.ccl-app button, .ccl-app input, .ccl-app select,.ccl-app textarea {font:inherit}
.ccl-app :focus-visible {outline:3px solid #b17719!important;outline-offset:3px}
.ccl-app [hidden] {display:none!important}
.ccl-head {background:linear-gradient(135deg,#173b2f,#35694a);color:#fff;padding:var(--ccl-header-mobile-top,92px) 20px 28px;border-radius:18px;text-align:center;border-top:5px solid var(--ccl-gold);position:relative}
.ccl-head h2 {color:#fff!important;font-size:clamp(1.5rem,3.8vw,2.3rem);line-height:1.2;letter-spacing:.005em;margin:8px 0 10px!important;font-weight:750}
.ccl-head p {margin:8px auto;max-width:650px;color:#fff;font-size:1rem}
.ccl-head .ccl-eyebrow {color:#f5dba9;font-weight:750;text-transform:uppercase;letter-spacing:.07em;font-size:.8rem;line-height:1.5;white-space:normal;overflow-wrap:break-word;max-width:100%;margin:0 auto 12px!important}
.ccl-head .ccl-local-note {font-size:.85rem;color:#e6f1df}
.ccl-head[data-align="left"] p {margin-left:0!important;margin-right:auto!important}
.ccl-head[data-align="right"] p {margin-right:0!important;margin-left:auto!important}
.ccl-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.ccl-btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center;white-space:normal;text-decoration:none!important;border-radius:10px;border:2px solid transparent;padding:12px 16px;min-height:48px;cursor:pointer;font-weight:750;line-height:1.25;font-size:.98rem;transition:background-color .15s ease,border-color .15s ease}
.ccl-btn:disabled {opacity:.6;cursor:wait}
.ccl-btn-primary {color:#fff!important;background:var(--ccl-green)!important;border-color:var(--ccl-green)!important}
.ccl-btn-primary:hover {background:#173b2f!important;border-color:#173b2f!important}
.ccl-btn-outline {color:var(--ccl-green)!important;background:#fff!important;border-color:var(--ccl-green)!important}
.ccl-btn-outline:hover {background:#eaf3eb!important}
.ccl-btn-text {background:none!important;border-color:transparent;color:var(--ccl-red)!important}
.ccl-map-wrap {border:1px solid #d3dfd6;border-radius:16px;overflow:hidden;margin:16px 0 12px;background:#e8efe9}
.ccl-map {width:100%;height:380px;z-index:1}
.ccl-map-error {padding:16px;background:#fff;margin:0}
.ccl-filters {display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0 12px}
.ccl-filters label {display:flex;align-items:center;gap:8px;font-weight:700}
.ccl-filters select {min-width:180px;max-width:100%;padding:9px 12px;border:1px solid #afc5b4;border-radius:9px;color:#243d2e;background:#fff}
.ccl-count {font-size:.9rem;font-weight:700;color:var(--ccl-muted)}
.ccl-list {display:grid;grid-template-columns:1fr;gap:14px}
.ccl-card {border:1px solid #dae3d9;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 2px 9px rgba(15,48,31,.07);color:var(--ccl-ink)}
.ccl-card-photo {width:100%;height:160px;object-fit:cover;display:block}
.ccl-card-content {padding:16px}
.ccl-card h3 {margin:0 0 7px!important;font-weight:750;font-size:1.15rem;color:var(--ccl-green2)!important;line-height:1.3}
.ccl-card p {font-size:.92rem;margin:5px 0;color:#42574a;overflow-wrap:anywhere}
.ccl-card .ccl-type {color:var(--ccl-green);font-weight:700}
.ccl-card-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.ccl-card-actions .ccl-btn {padding:10px 12px;font-size:.88rem;min-height:44px;white-space:nowrap}
.ccl-link-button {display:inline-block;border:0;background:none!important;color:#3d674f!important;text-decoration:underline;cursor:pointer;padding:7px 0;font-size:.84rem;font-weight:600;text-align:left}
.ccl-card .ccl-link-button {margin-top:8px}
.ccl-empty {border:1px dashed #a5c4a6;text-align:center;border-radius:14px;background:var(--ccl-cream);padding:25px 15px;color:var(--ccl-muted)}
.ccl-route,.ccl-form-panel {border:1px solid #d9e2d7;border-radius:16px;padding:22px 18px;background:var(--ccl-cream);margin:22px 0;scroll-margin-top:30px}
.ccl-route h3,.ccl-form-panel h3 {color:var(--ccl-green2)!important;font-size:1.42rem;line-height:1.25;margin:0 0 8px!important}
.ccl-route p,.ccl-form-panel p {margin:7px 0 14px}
.ccl-stops {padding-left:18px}
.ccl-stops li {border-bottom:1px solid #dce1d8;padding:10px 0}
.ccl-stops li div {overflow-wrap:anywhere}
.ccl-stops small {display:block;color:var(--ccl-muted)}
.ccl-remove-stop {margin-left:10px}
.ccl-route-links {display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.ccl-field {margin-bottom:14px;min-width:0}
.ccl-field-row {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ccl-field label,.ccl-recovery-form label {display:block;color:var(--ccl-ink);font-weight:700}
.ccl-field input:not([type='checkbox']),.ccl-field select,.ccl-field textarea,.ccl-recovery-form input {display:block;width:100%;max-width:100%;padding:11px 12px;color:#173b2f;background:#fff;border:1px solid #aabdae;border-radius:9px;font-weight:400;min-height:44px;box-shadow:none}
.ccl-field textarea {resize:vertical;min-height:90px}
.ccl-field input[type='file'] {background:transparent;padding:8px 2px}
.ccl-field small {display:block;color:var(--ccl-muted);font-size:.8rem;margin-top:4px}
.ccl-field .ccl-remove-photo {font-weight:normal;margin-top:10px}
.ccl-check {display:flex;align-items:flex-start;gap:8px;line-height:1.45;font-size:.9rem;font-weight:500;margin:13px 0}
.ccl-check input {margin:4px 0 0;flex:0 0 auto;accent-color:var(--ccl-green);width:17px;height:17px}
.ccl-privacy {color:var(--ccl-muted);font-size:.83rem}
.ccl-form-actions {display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.ccl-feedback {font-weight:700;color:#234f3c;margin:12px 0 0!important;overflow-wrap:anywhere}
.ccl-error {color:#a42b2b!important}
.ccl-bot-field {position:absolute!important;left:-99999px!important;height:0!important;overflow:hidden!important}
.ccl-recovery {margin:22px 0 12px;background:#fff;border:1px solid #d9e2d7;padding:16px;border-radius:12px}
.ccl-recovery details summary {font-weight:750;color:var(--ccl-green);cursor:pointer}
.ccl-recovery details p {font-size:.88rem}
.ccl-recovery-form {display:grid;gap:11px;margin-top:12px}
.ccl-recovery-form button {justify-self:start}
.ccl-footnote {font-size:.83rem;color:var(--ccl-muted);margin:17px 2px 0}
.ccl-footnote a,.ccl-privacy a {color:#23523d!important;text-decoration:underline}
.ccl-pin {background:transparent;border:0!important}
.ccl-pin span {display:flex;align-items:center;justify-content:center;background:#fff;border:3px solid #2b6045;box-shadow:0 2px 6px #0004;border-radius:50% 50% 50% 8px;width:39px;height:39px;font-size:22px}
.ccl-popup-card {border:none;box-shadow:none;min-width:235px}
.ccl-popup-card .ccl-card-photo {height:110px}
.ccl-popup-card .ccl-card-content {padding:9px}
.ccl-popup-card h3 {font-size:1.02rem}
.ccl-popup-card .ccl-card-actions {flex-direction:column}
.ccl-popup-card .ccl-card-actions .ccl-btn {white-space:normal}
.ccl-app .leaflet-popup-content {margin:8px 11px}
.ccl-app .leaflet-popup-content-wrapper {border-radius:13px}
@media(min-width:640px) {
 .ccl-head {padding:var(--ccl-header-mobile-top,92px) 32px 34px}
 .ccl-list {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ccl-map {height:470px}
 .ccl-form-panel,.ccl-route {padding:26px}
}
@media(min-width:1024px) {
 .ccl-head {padding-top:var(--ccl-header-desktop-top,34px)}
}
@media(max-width:460px) {
 .ccl-head {padding:var(--ccl-header-mobile-top,92px) 13px 22px;border-radius:12px}
 .ccl-head h2 {font-size:1.55rem}
 .ccl-actions {grid-template-columns:1fr 1fr;gap:7px}
 .ccl-actions .ccl-btn {font-size:.9rem;padding:11px 7px}
 .ccl-filters label {width:100%;justify-content:space-between}
 .ccl-filters select {min-width:0;width:68%;font-size:.9rem}
 .ccl-map {height:320px}
 .ccl-field-row {grid-template-columns:1fr}
 .ccl-form-actions .ccl-btn {flex:1 1 140px}
 .ccl-card-actions .ccl-btn {flex:1 1 auto}
 .ccl-popup-card .ccl-card-actions .ccl-btn {width:100%}
}
@media print {
 body.ccl-print-active * {visibility:hidden!important}
 body.ccl-print-active .ccl-route,body.ccl-print-active .ccl-route * {visibility:visible!important}
 body.ccl-print-active .ccl-route {display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;background:#fff!important;border:0!important;padding:0!important}
 body.ccl-print-active .ccl-route button,body.ccl-print-active .ccl-route .ccl-route-links,
body.ccl-print-active .ccl-route .ccl-route-status,body.ccl-print-active .ccl-route .ccl-navigation-fallback {display:none!important}
}
/* v1.1: Low-friction community additions and optional resident claims */
.ccl-role-field{border:1px solid #c9d7c9;border-radius:10px;padding:12px 14px;margin:0 0 14px;display:flex;gap:10px 18px;flex-wrap:wrap;color:#22362d}
.ccl-role-field legend{font-weight:750;padding:0 6px}
.ccl-role-field label{display:inline-flex;align-items:center;gap:6px;font-size:.93rem;cursor:pointer}
.ccl-role-field input{accent-color:#234f3c;width:17px;height:17px}
.ccl-card-credit{font-size:.73rem;color:#65796a;line-height:1.4;margin:12px 0 2px;letter-spacing:.01em}
.ccl-card-footer{display:flex;flex-wrap:wrap;gap:5px 16px;align-items:center}
.ccl-card-footer .ccl-link-button{font-size:.76rem;margin-top:4px}
.ccl-claim{border:1px solid #d9e2d7;background:#f8f5ed;padding:20px 18px;border-radius:16px;margin:18px 0;scroll-margin-top:28px}
.ccl-claim h3{margin:0 0 8px!important;color:#173b2f!important;font-size:1.4rem}
.ccl-claim-address{font-weight:750;color:#234f3c}
.ccl-claim-form button{margin:5px 8px 5px 0}
@media(max-width:500px){.ccl-role-field{display:grid;gap:10px}.ccl-claim-form button{width:100%}}

/* v1.2.0: compact, accessible Christmas lights cards and fast contributor form */
.ccl-card-photo {width:100%;height:148px;object-fit:contain;background:#edf2ed;display:block}
.ccl-photo-link {display:block;background:#edf2ed;text-decoration:none!important}
.ccl-photo-placeholder {height:96px;display:flex;align-items:center;justify-content:center;background:#f1f4ed;font-size:43px}
.ccl-card .ccl-address {font-size:1rem;font-weight:750;color:#234f3c;line-height:1.35;margin:4px 0 9px}
.ccl-card .ccl-hours {font-size:.88rem;color:#40544a;margin-top:3px}
.ccl-card-details {margin-top:13px;border-top:1px solid #e3ebe3;padding-top:10px}
.ccl-card-details summary {cursor:pointer;color:#245440;font-weight:700;font-size:.88rem;list-style-position:inside;padding:6px 0}
.ccl-card-details .ccl-card-footer {display:flex;gap:16px;flex-wrap:wrap}
.ccl-card-details p {margin-top:7px}
.ccl-card .ccl-card-credit {margin-top:8px;font-size:.73rem;color:#66786b}
.ccl-popup-card .ccl-card-photo {height:110px}
.ccl-popup-card .ccl-photo-placeholder {height:58px;font-size:26px}
.ccl-extra-details {border:1px solid #c8d8c8;border-radius:12px;background:#fff;padding:13px 14px;margin:14px 0}
.ccl-extra-details summary {font-weight:750;color:#234f3c;cursor:pointer;padding:3px 0}
.ccl-extra-details[open] summary {margin-bottom:12px}
.ccl-extra-details .ccl-small-help {color:#597061;font-size:.88rem;margin-bottom:14px}
.ccl-music-option {display:flex;gap:9px;align-items:center;margin:10px 0 15px;color:#234f3c;font-weight:600}
.ccl-music-option input {width:18px;height:18px;accent-color:#234f3c}
.ccl-route-status {min-height:1.7em;font-size:.91rem;color:#365e46;font-weight:600}
.ccl-route-links {display:flex;align-items:center;margin:20px 0 12px;gap:10px}
.ccl-start-drive-btn {min-width:min(100%,210px);font-size:1rem}
.ccl-route-secondary-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.ccl-route-status {margin:12px 0 0!important;overflow-wrap:anywhere}
.ccl-route .ccl-retry-location,.ccl-route .ccl-navigation-fallback {margin:4px 16px 8px 0}
.ccl-route [hidden] {display:none!important}
@media(max-width:480px) {
  .ccl-start-drive-btn {width:100%;min-width:0}
  .ccl-route-secondary-actions .ccl-btn {flex:1 1 auto}
}

.ccl-stops .ccl-link-button {margin-right:15px}
.ccl-form .ccl-role-field {display:grid;gap:7px;align-items:start}
.ccl-form .ccl-role-field label {display:flex;align-items:flex-start;gap:8px}
.ccl-form .ccl-role-field input {flex:0 0 18px;margin-top:4px}
@media(min-width:650px) {
 .ccl-list .ccl-card:not(.ccl-popup-card) {display:grid;grid-template-columns:180px minmax(0,1fr)}
 .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-card-photo {height:100%;min-height:150px;max-height:280px}
 .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-photo-placeholder {height:100%;min-height:145px}
}
\n/* v1.2.5 — Christmas on Chaucer shared typography and mobile layout.\n   Keep the Trail's evergreen theme; the Light Show keeps its separate blue palette.\n   This is scoped to the Trail shortcode and does not alter the WordPress theme. */
.ccl-app {
  --ccl-green:#245440;
  --ccl-green2:#183d34;
  --ccl-cream:#f7f5ee;
  --ccl-gold:#e7c47a;
  --ccl-ink:#26352c;
  width:100%;min-width:0;max-width:1180px;
  margin:16px auto 36px;
  line-height:1.55;
  container-type:inline-size;
  overflow-wrap:break-word;
}
.ccl-app .ccl-head {
  background:linear-gradient(150deg,#183d34,#28594a);
  border-top-color:var(--ccl-gold);
  padding:var(--ccl-header-mobile-top,24px) 18px 26px;
  border-radius:18px;
}
.ccl-app .ccl-head h2 {
  font-family:inherit;
  font-size:clamp(1.75rem,5cqi,2.8rem);
  line-height:1.2;
  letter-spacing:0;
  font-weight:800;
  margin:8px 0 10px!important;
}
.ccl-app .ccl-head .ccl-eyebrow {
  font-size:.79rem;letter-spacing:.1em;font-weight:750;
  line-height:1.45;color:var(--ccl-gold);
  max-width:100%;
}
.ccl-app .ccl-route h3,
.ccl-app .ccl-form-panel h3,
.ccl-app .ccl-claim h3 {
  font-family:inherit;
  color:var(--ccl-green2)!important;
  font-size:clamp(1.25rem,3cqi,1.65rem);
  font-weight:800;line-height:1.2;
}
.ccl-app .ccl-list .ccl-card h3 {
  font-family:inherit;font-size:1.2rem;
  font-weight:800;line-height:1.25;
  color:var(--ccl-green2)!important;
}
.ccl-app .ccl-btn {
  font-family:inherit;font-size:.94rem;
  font-weight:750;min-height:48px;
  border-radius:10px;
}
.ccl-app .ccl-card-actions .ccl-btn {font-size:.88rem;min-height:44px;}
.ccl-app .ccl-route,
.ccl-app .ccl-form-panel,
.ccl-app .ccl-claim {
  padding:clamp(15px,3cqi,26px);
  border-radius:16px;
  min-width:0;
}
.ccl-app .ccl-actions,
.ccl-app .ccl-map-wrap,
.ccl-app .ccl-route,
.ccl-app .ccl-form-panel,
.ccl-app .ccl-filters,
.ccl-app .ccl-list {min-width:0;max-width:100%;}
.ccl-app .ccl-card-content {padding:clamp(13px,2.5cqi,18px);min-width:0;}
.ccl-app .ccl-map-wrap {margin:16px 0 12px;}
.ccl-app .ccl-list {grid-template-columns:minmax(0,1fr);gap:14px;}
/* The former 650px horizontal-photo rule caused cramped two-column cards.
   Keep photos above text until each column is truly roomy. */
.ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) {
  display:block;min-width:0;
}
.ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-card-photo {
  height:148px;min-height:0;max-height:none;object-fit:contain;
}
.ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-photo-placeholder {
  height:96px;min-height:0;
}
.ccl-app .ccl-card-actions {min-width:0;}
.ccl-app .ccl-card-actions .ccl-btn {white-space:normal;min-width:0;overflow-wrap:anywhere;}
@container (min-width:730px) {
  .ccl-app .ccl-list {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@container (min-width:1100px) {
  .ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) {
    display:grid;grid-template-columns:150px minmax(0,1fr);
  }
  .ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-card-photo {
    height:100%;min-height:145px;max-height:280px;
  }
  .ccl-app .ccl-list .ccl-card:not(.ccl-popup-card) .ccl-photo-placeholder {
    height:100%;min-height:145px;
  }
}
@media (max-width:729px) {
  /* Do not waste 92px pushing the header down. The theme hamburger occupies
     the right of the first header row, so reserve that zone in the Eyebrow. */
  .ccl-app .ccl-head {padding:var(--ccl-header-mobile-top,24px) 18px 26px;}
  .ccl-app .ccl-head .ccl-eyebrow {
    padding-right:72px;text-align:left;min-height:40px;
    overflow-wrap:anywhere;
  }
  .ccl-app .ccl-head h2 {margin-top:3px!important;}
  .ccl-app .ccl-route,
  .ccl-app .ccl-form-panel,
  .ccl-app .ccl-claim {padding:16px;}
}
@media (max-width:370px) {
  .ccl-app .ccl-head {padding:var(--ccl-header-mobile-top,24px) 11px 22px;}
  .ccl-app .ccl-head .ccl-eyebrow {padding-right:58px;font-size:.75rem;}
  .ccl-app .ccl-route,
  .ccl-app .ccl-form-panel,
  .ccl-app .ccl-claim {padding:13px 12px;}
  .ccl-app .ccl-card-content {padding:13px 12px;}
  .ccl-app .ccl-actions {gap:8px;}
  .ccl-app .ccl-actions .ccl-btn {padding:9px 6px;font-size:.88rem;}
}
@media (min-width:730px) {
  .ccl-app .ccl-head {padding:30px 28px 33px;}
}
@media (min-width:730px) and (max-width:1023px) {
  .ccl-app .ccl-head {padding-top:var(--ccl-header-mobile-top,24px);}
}
@media (min-width:1024px) {
  .ccl-app .ccl-head {padding-top:var(--ccl-header-desktop-top,34px);}
}

/* v1.2.7 — match the Christmas on Chaucer homepage on mobile.
   The homepage's outer shortcode wrapper is flush with its parent container.
   In v1.2.6, adding a gutter to the entire Trail wrapper inset its hero,
   actions, map and cards. Remove that outer gutter and keep comfortable
   padding INSIDE the individual sections. The locations-count label alone
   receives a slight inline inset for visual alignment with card text. */
@media (max-width:729px) {
  .ccl-app {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
    padding-inline:0;
    margin-left:auto;
    margin-right:auto;
  }
  .ccl-app .ccl-filters {
    padding-inline:2px;
  }
  .ccl-app .ccl-count {
    display:block;
    max-width:100%;
    padding-inline:clamp(15px,4vw,20px);
    overflow-wrap:break-word;
  }
}

/* v1.2.8 — map-first, compact listing cards. The map itself stays unchanged.
   Address-only listings no longer reserve a fake photo area, on any device. */
.ccl-app .ccl-card.ccl-no-photo .ccl-card-content {
  padding:13px 16px 12px;
}
.ccl-app .ccl-list .ccl-card.ccl-no-photo {
  display:block;
}
.ccl-app .ccl-card.ccl-no-photo h3 {
  margin-bottom:2px!important;
  font-size:1.12rem;
  line-height:1.25;
}
.ccl-app .ccl-card.ccl-no-photo p.ccl-card-locality {
  color:#52665b;
  margin:1px 0 0;
  font-size:.88rem;
  line-height:1.35;
}
.ccl-app .ccl-card.ccl-no-photo .ccl-card-actions {
  margin-top:10px;
  gap:8px;
}
.ccl-app .ccl-card.ccl-no-photo .ccl-card-details {
  margin-top:9px;
  padding-top:5px;
}
.ccl-app .ccl-card.ccl-no-photo .ccl-card-details summary {
  padding:5px 0;
}
.ccl-app .ccl-list {gap:11px;}
/* When full-width cards go horizontal, only REAL photos get a photo column. */
@container (min-width:1100px) {
  .ccl-app .ccl-list .ccl-card.ccl-no-photo:not(.ccl-popup-card) {
    display:block;
    grid-template-columns:none;
  }
}
/* A subtle selected-state ring helps map-first visitors see chosen stops. */
.ccl-app .ccl-pin.ccl-pin-selected span {
  border-color:#b98a32;
  box-shadow:0 0 0 3px #fff,0 0 0 5px #b98a32,0 2px 6px #0003;
}
/* Leaflet popups can be as narrow as 245px. Keep their controls tappable. */
.ccl-app .ccl-popup-card.ccl-no-photo .ccl-card-content {
  padding:10px 9px;
}
.ccl-app .ccl-popup-card .ccl-card-actions .ccl-btn {
  min-height:44px;
}
@media(max-width:370px) {
  .ccl-app .ccl-list .ccl-card.ccl-no-photo .ccl-card-content {
    padding:12px;
  }
}


/* v1.3.0 — Keep map pin popups intentionally small on touch screens.
   Full listing cards remain below the map with More Information/claim/report. */
.ccl-app .ccl-compact-popup .leaflet-popup-content-wrapper {
  border-radius:12px;
  box-shadow:0 4px 18px rgba(11,42,28,.22);
}
.ccl-app .ccl-compact-popup .leaflet-popup-content {
  margin:10px 11px;
  /* Keep the Leaflet popup from shrink-wrapping to a few characters wide.
     Mobile width leaves room for the popup shell and map controls. */
  width:min(250px, calc(100vw - 92px))!important;
  max-width:calc(100vw - 92px);
}
.ccl-app .ccl-pin-popup {
  min-width:0;
  max-width:100%;
  color:var(--ccl-ink);
  line-height:1.3;
  overflow-wrap:break-word;
  word-break:normal;
}
.ccl-app .ccl-pin-popup .ccl-pin-popup-title {
  font-family:inherit;
  font-size:1rem;
  font-weight:800;
  line-height:1.24;
  color:var(--ccl-green2)!important;
  margin:0 22px 4px 0!important;
}
.ccl-app .ccl-pin-popup .ccl-pin-popup-address {
  color:var(--ccl-muted);
  font-size:.79rem;
  line-height:1.35;
  margin:0 0 9px;
}
.ccl-app .ccl-pin-popup .ccl-pin-popup-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
.ccl-app .ccl-pin-popup .ccl-pin-popup-actions .ccl-btn {
  font-size:.73rem;
  font-weight:750;
  line-height:1.15;
  min-height:42px;
  padding:7px 5px;
  border-radius:8px;
  white-space:normal;
  overflow-wrap:normal;
  min-width:0;
}
.ccl-app .ccl-compact-popup .leaflet-popup-close-button {
  top:2px;
  right:3px;
  width:28px;
  height:28px;
  line-height:28px;
  font-size:20px;
}
@media (max-width:370px) {
  .ccl-app .ccl-pin-popup .ccl-pin-popup-actions .ccl-btn {
    font-size:.68rem;
    padding-inline:3px;
  }
}

/* v1.3.2 — Contributor details in the compact pin popup.
   Hours are visible when provided. Extra dates, radio and notes are opt-in,
   with a short, keyboard-scrollable panel instead of an oversized popup. */
.ccl-app .ccl-pin-popup-hours {
  font-size:.79rem;
  line-height:1.35;
  color:#40544a;
  margin:0 0 8px;
  overflow-wrap:break-word;
}
.ccl-app .ccl-pin-popup-details {
  border-top:1px solid #e3ebe3;
  margin-top:9px;
  padding-top:5px;
  font-size:.79rem;
  line-height:1.35;
}
.ccl-app .ccl-pin-popup-details summary {
  display:list-item;
  list-style-position:inside;
  padding:6px 0;
  color:#245440;
  font-size:.83rem;
  font-weight:750;
  cursor:pointer;
  touch-action:manipulation;
}
.ccl-app .ccl-pin-popup-details summary:focus-visible,
.ccl-app .ccl-pin-popup-more:focus-visible {
  outline:2px solid #245440;
  outline-offset:2px;
}
.ccl-app .ccl-pin-popup-more {
  max-height:88px;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:3px 5px 4px 0;
  color:#40544a;
  scrollbar-width:thin;
}
.ccl-app .ccl-pin-popup-more p {
  font-size:.78rem;
  line-height:1.4;
  margin:2px 0 8px;
  overflow-wrap:break-word;
  word-break:normal;
}
.ccl-app .ccl-pin-popup-more p:last-child {margin-bottom:2px;}
.ccl-app .ccl-pin-popup-notes {white-space:pre-line;}
@media (max-width:370px) {
  .ccl-app .ccl-pin-popup-more {max-height:68px;}
}
