.c2p-map-shell{position:relative;width:100%;max-width:1600px;margin:0 auto}.c2p-map-stage{position:relative;width:100%;height:var(--c2p-map-height,72vh);min-height:460px;background:#e8ece9;overflow:hidden;border-radius:18px;border:1px solid #dfe5e1}.c2p-public-map{width:100%;height:100%;z-index:1}.c2p-locate-button{position:absolute;z-index:700;left:14px;bottom:18px;display:flex;align-items:center;gap:7px;border:1px solid #d7ded9;background:#fff;color:#17231c;border-radius:999px;padding:10px 14px;font:700 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 3px 14px rgba(20,40,28,.16);cursor:pointer}.c2p-locate-button:hover{background:#f7faf8}.c2p-map-message{position:absolute;z-index:750;left:50%;top:14px;transform:translateX(-50%);max-width:calc(100% - 28px);padding:10px 14px;border-radius:10px;background:#fff;color:#27322b;box-shadow:0 3px 14px rgba(20,40,28,.16);font:600 14px/1.35 system-ui,sans-serif}.c2p-map-marker{background:transparent!important;border:0!important}.c2p-pin{position:relative;width:36px;height:46px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}.c2p-pin-shape{position:absolute;left:2px;top:0;width:32px;height:32px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#176b46;border:2px solid #fff}.c2p-pin-icon{position:absolute;left:7px;top:5px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:#fff;z-index:2}.c2p-pin-icon svg{width:21px;height:21px;display:block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.c2p-pin--camping .c2p-pin-shape{background:#2d6f9f}.c2p-pin--service .c2p-pin-shape{background:#6b5a9e}.c2p-pin--lpg .c2p-pin-shape{background:#b05b26}.c2p-pin--fuel .c2p-pin-shape{background:#575f66}.c2p-pin--dealer .c2p-pin-shape{background:#76502f}.c2p-pin--free .c2p-pin-shape{background:#3f7f49}.c2p-pin--ferry .c2p-pin-shape{background:#e31b23}.c2p-pin--attraction .c2p-pin-shape{background:#a34e74}.c2p-popup{min-width:190px}.c2p-popup strong{display:block;font-size:15px;line-height:1.25;margin-bottom:5px}.c2p-popup-types{font-size:12px;color:#657169;margin-bottom:8px}.c2p-popup a{font-weight:700;text-decoration:none}.c2p-user-dot{width:18px;height:18px;border-radius:50%;background:#2879d0;border:3px solid #fff;box-shadow:0 0 0 2px rgba(40,121,208,.25),0 2px 5px rgba(0,0,0,.25)}.marker-cluster div{font-family:system-ui,sans-serif;font-weight:800}@media(max-width:600px){.c2p-map-shell{width:100%;max-width:100%;margin-left:0;margin-right:0}.c2p-map-stage{height:calc(100dvh - 150px);min-height:0;border-radius:0;border-left:0;border-right:0}.c2p-locate-button{left:10px;bottom:14px}.c2p-locate-button span{display:none}}

.c2p-map-toolbar{display:grid;grid-template-columns:auto minmax(160px,1fr) auto auto;gap:10px;align-items:center;margin:0 0 10px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.c2p-tool-button,.c2p-search-box{height:46px;border:1px solid #d8dfda;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(20,40,28,.08)}
.c2p-tool-button{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;color:#17231c;font-weight:750;font-size:14px;cursor:pointer}
.c2p-search-box{display:flex;align-items:center;gap:8px;padding:0 13px}
.c2p-search-icon{font-size:22px;line-height:1;color:#536159}
.c2p-search-box input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font:500 15px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17231c}
.c2p-reset-filter{margin:0 0 10px;border:0;background:#eef4f0;color:#23573e;border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer}
.c2p-location-list{position:absolute;inset:0;z-index:4;overflow:auto;background:#f6f8f6;padding:12px}
.c2p-location-list[hidden]{display:none!important}
.c2p-list-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;min-height:96px;margin-bottom:10px;padding:10px;background:#fff;border:1px solid #e0e5e1;border-radius:14px;text-decoration:none!important;color:#17231c!important;box-shadow:0 2px 7px rgba(20,40,28,.06)}
.c2p-list-image{height:86px;border-radius:10px;overflow:hidden;background:#e8eeea}
.c2p-list-image img{width:100%;height:100%;display:block;object-fit:cover}
.c2p-list-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#536159}
.c2p-list-placeholder svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.8}
.c2p-list-info{display:flex;align-items:center;min-width:0}
.c2p-list-info strong{font-size:16px;line-height:1.3}
.c2p-list-empty{padding:28px 18px;text-align:center;color:#657169}
@media(max-width:600px){
 .c2p-map-toolbar{grid-template-columns:auto minmax(0,1fr) auto auto;gap:6px;padding:0 8px}
 .c2p-tool-button{padding:0 10px;height:44px}
 .c2p-tool-button span{font-size:13px}
 .c2p-search-box{height:44px;padding:0 9px}
 .c2p-search-box input{font-size:14px}
 .c2p-list-card{grid-template-columns:96px minmax(0,1fr)}
 .c2p-list-image{height:78px}
}

/* v0.2.3 UI cleanup */
.c2p-map-shell [hidden]{display:none!important}
@media(min-width:769px){
 .c2p-location-list{padding:10px}
 .c2p-list-card{grid-template-columns:92px minmax(0,1fr);min-height:76px;padding:8px 10px;margin-bottom:8px}
 .c2p-list-image{height:68px}
 .c2p-list-info strong{font-size:15px}
}

/* v0.2.5 list metadata */
.c2p-list-info{flex-direction:column;align-items:flex-start;justify-content:center}
.c2p-list-meta{margin-top:7px;font:600 13px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#657169}

/* v0.2.8 location type filter */
.c2p-filter-backdrop{position:fixed;inset:0;z-index:99997;background:rgba(12,24,17,.36)}
.c2p-filter-panel{position:fixed;z-index:99998;top:0;right:0;width:min(440px,100vw);height:100dvh;background:#fff;box-shadow:-10px 0 35px rgba(20,40,28,.18);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;flex-direction:column}
.c2p-filter-panel[hidden],.c2p-filter-backdrop[hidden]{display:none!important}
.c2p-filter-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #e2e7e3;font-size:20px}
.c2p-filter-close{width:42px;height:42px;border:0!important;background:transparent!important;color:#17231c!important;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;box-shadow:none!important}
.c2p-filter-body{flex:1;overflow:auto;padding:18px}
.c2p-filter-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.c2p-filter-section-head>strong{font-size:16px}
.c2p-filter-clear-types{border:0!important;background:transparent!important;color:#176b46!important;padding:6px!important;font-weight:700;cursor:pointer;box-shadow:none!important}
.c2p-filter-section label{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid #edf0ee;cursor:pointer;font-size:15px}
.c2p-filter-section input{width:21px;height:21px;accent-color:#176b46}

.c2p-filter-subsection{margin-top:20px;padding-top:18px;border-top:1px solid #dfe5e1}
.c2p-filter-subsection[hidden]{display:none!important}
.c2p-filter-subhelp{margin-top:9px;color:#68736d;font-size:13px;line-height:1.4}
.c2p-filter-footer{padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e2e7e3;background:#fff}
.c2p-filter-apply{width:100%;min-height:48px;border:0!important;border-radius:12px;background:#176b46!important;color:#fff!important;font-weight:800;font-size:15px;cursor:pointer}
body.c2p-filter-open{overflow:hidden}
@media(max-width:600px){
 .c2p-filter-panel{left:0;right:0;width:auto;max-width:100%;box-sizing:border-box}
 .c2p-filter-backdrop{display:none}
 .c2p-filter-head{height:58px}
 .c2p-filter-body{padding:12px 16px}
}

/* v0.2.9 geographic place search */
.c2p-search-wrap{position:relative;min-width:0}
.c2p-search-wrap .c2p-search-box{width:100%;box-sizing:border-box}
.c2p-search-results{position:absolute;z-index:10020;top:calc(100% + 6px);left:0;right:0;max-height:min(360px,55vh);overflow:auto;background:#fff;border:1px solid #d8dfda;border-radius:12px;box-shadow:0 12px 30px rgba(20,40,28,.16)}
.c2p-search-result{display:block;width:100%;min-height:48px;padding:11px 13px;border:0!important;border-bottom:1px solid #edf0ee!important;border-radius:0!important;background:#fff!important;color:#17231c!important;text-align:left;font:600 14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:none!important}
.c2p-search-result:hover,.c2p-search-result:focus{background:#f3f7f4!important;outline:none}
.c2p-search-status{padding:15px;color:#657169;font:600 14px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.c2p-search-credit{padding:7px 12px;color:#7a857e;font:500 10px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:right}
@media(max-width:600px){
 .c2p-search-results{position:fixed;top:66px;left:8px;right:8px;max-height:55vh}
 .c2p-search-result{min-height:54px;font-size:15px}
}

/* v0.3.0 intuitive dual live search */
.c2p-search-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border-bottom:1px solid #e4e9e5;background:#f7f9f7;position:sticky;top:0;z-index:2}
.c2p-search-mode{min-height:40px;border:1px solid #d8dfda!important;border-radius:9px!important;background:#fff!important;color:#536159!important;font-weight:750!important;cursor:pointer;box-shadow:none!important}
.c2p-search-mode.is-active{background:#176b46!important;border-color:#176b46!important;color:#fff!important}
.c2p-search-result strong,.c2p-search-result small{display:block}
.c2p-search-result strong{font-size:14px;line-height:1.3}
.c2p-search-result small{margin-top:4px;color:#6c7770;font-size:12px;line-height:1.3;font-weight:550}
@media(max-width:600px){
 .c2p-search-modes{padding:8px}
 .c2p-search-mode{min-height:44px;font-size:14px}
 .c2p-search-result strong{font-size:15px}
 .c2p-search-result small{font-size:13px}
}

/* v0.3.1 unified live search */
.c2p-search-result{display:grid!important;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center}
.c2p-search-result-icon,.c2p-search-type-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:22px}
/* v0.6.87: legacy outline SVG styling applies only to generic search-result icons.
   Location search results use the shared Camper2Park map pin unchanged. */
.c2p-search-result-icon svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.8}
.c2p-search-type-icon .c2p-map-pin{flex:0 0 30px}
.c2p-search-result>span:last-child{min-width:0}
.c2p-search-result strong{white-space:normal}

/* v0.3.2 mobile search UX cleanup */
.c2p-search-results{
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.c2p-search-result{
    font-weight:400!important;
}
.c2p-search-result strong{
    font-weight:600!important;
}
.c2p-search-result small{
    font-weight:400!important;
}
.c2p-search-box input{
    font-weight:400!important;
}
@media(max-width:600px){
    .c2p-search-results{
        /* top/left/right/max-height are calculated from the real search field by JS */
        border-radius:12px;
        box-shadow:0 10px 26px rgba(20,40,28,.16);
    }
    .c2p-search-result{
        min-height:50px;
        padding:10px 12px;
    }
    .c2p-search-result strong{
        font-size:14px;
    }
    .c2p-search-result small{
        font-size:12px;
    }
}

/* v0.3.3 mobile search containment and clear behaviour */
.c2p-map-shell,
.c2p-map-toolbar,
.c2p-search-wrap,
.c2p-search-box,
.c2p-search-results{
    box-sizing:border-box;
    max-width:100%;
}
.c2p-map-shell{overflow-x:hidden}
.c2p-search-wrap{min-width:0;width:100%}
.c2p-search-box{position:relative;overflow:hidden}
.c2p-search-box input{
    min-width:0!important;
    width:100%!important;
    font-weight:400!important;
    padding-right:34px!important;
}
.c2p-search-clear{
    flex:0 0 30px;
    width:30px;
    height:30px;
    align-items:center;
    justify-content:center;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#657169!important;
    font-size:23px!important;
    line-height:1!important;
    font-weight:400!important;
    padding:0!important;
    margin:0!important;
    box-shadow:none!important;
    cursor:pointer;
}
.c2p-search-clear[hidden]{display:none!important}
.c2p-search-results{
    overflow-x:hidden!important;
}
.c2p-search-result{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden;
}
.c2p-search-result>span:last-child{
    min-width:0;
    overflow:hidden;
}
.c2p-search-result strong,
.c2p-search-result small{
    overflow-wrap:anywhere;
    word-break:normal;
}
@media(max-width:600px){
    html,body{max-width:100%;overflow-x:hidden}
    .c2p-search-results{
        margin:0!important;
        transform:none!important;
    }
}

/* v0.3.4 selected location preview */
.c2p-map-stage{position:relative}
.c2p-location-preview{position:absolute;z-index:10010;left:12px;bottom:12px;width:min(420px,calc(100% - 24px));display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px;box-sizing:border-box;border:1px solid rgba(30,55,40,.12);border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(20,40,28,.20);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.c2p-location-preview[hidden]{display:none!important}
/* v0.6.33 desktop selected-location UX: anchor the card to the clicked map pin. */
.c2p-location-preview--anchored{left:0;right:auto;top:0;bottom:auto}
.c2p-location-preview--anchored::before{content:"";position:absolute;z-index:1;top:-7px;left:var(--c2p-preview-arrow-x,50%);width:14px;height:14px;transform:translateX(-50%) rotate(45deg);background:#fff;border-left:1px solid rgba(30,55,40,.12);border-top:1px solid rgba(30,55,40,.12)}
.c2p-preview-close{position:absolute;z-index:2;top:5px;right:5px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#27342c!important;box-shadow:0 1px 6px rgba(0,0,0,.12)!important;font-size:23px!important;font-weight:400!important;line-height:1!important;cursor:pointer}
.c2p-preview-image{height:88px;overflow:hidden;border-radius:11px;background:#eef3ef}
.c2p-preview-image img{display:block;width:100%;height:100%;object-fit:cover}
.c2p-preview-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.c2p-preview-placeholder svg{width:38px;height:38px}
.c2p-preview-content{min-width:0;padding:3px 30px 1px 0}
.c2p-preview-title{font-size:16px;line-height:1.25;font-weight:700;color:#17231c}
.c2p-preview-meta{margin-top:6px;color:#667169;font-size:14px;line-height:1.4;font-weight:500}
.c2p-preview-link{display:inline-block;position:relative;z-index:4;margin-top:9px;color:#176b46!important;font-size:14px;line-height:1.2;font-weight:750;text-decoration:none!important;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:rgba(23,107,70,.12)}
@media(max-width:600px){
 .c2p-location-preview{left:8px;right:8px;bottom:8px;width:auto;max-width:none;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:9px;border-radius:15px}
 .c2p-location-preview--anchored::before{display:none}
 .c2p-preview-image{height:78px}.c2p-preview-content{padding-right:28px}.c2p-preview-title{font-size:16px}.c2p-preview-meta{font-size:14px;line-height:1.4}.c2p-preview-link{margin-top:7px;font-size:14px}
}

/* v0.3.5 mobile preview visibility fix */
@media(max-width:600px){
    .c2p-location-preview{
        position:fixed!important;
        z-index:10050!important;
        left:8px!important;
        right:8px!important;
        bottom:calc(8px + env(safe-area-inset-bottom))!important;
        top:auto!important;
        width:auto!important;
        max-width:calc(100vw - 16px)!important;
        max-height:40vh;
        overflow:hidden;
        box-sizing:border-box!important;
        margin:0!important;
        transform:none!important;
    }
}


/* v0.6.2 dedicated fullscreen map page ---------------------------------- */
body.c2p-fullscreen-map-page{
    overflow:hidden!important;
    overscroll-behavior:none;
}
body.c2p-fullscreen-map-page .c2p-fullscreen-map-main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen{
    position:fixed!important;
    z-index:9000;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:var(--c2p-fullscreen-top,0px)!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    padding:8px 10px 10px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#fff;
    display:flex;
    flex-direction:column;
}
body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen .c2p-map-toolbar{
    flex:0 0 auto;
}
body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen .c2p-reset-filter{
    flex:0 0 auto;
}
body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen .c2p-map-stage{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    width:100%!important;
    max-width:100%!important;
    border-radius:14px;
}
body.c2p-fullscreen-map-page footer,
body.c2p-fullscreen-map-page #colophon{
    display:none!important;
}
@media(max-width:600px){
    body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen{
        padding:6px 0 0!important;
    }
    body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen .c2p-map-toolbar{
        margin-bottom:6px;
    }
    body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen .c2p-map-stage{
        border-radius:0!important;
        border-left:0!important;
        border-right:0!important;
        border-bottom:0!important;
    }
}


/* v0.6.3 mobile search containment */
.c2p-search-results,
.c2p-search-result,
.c2p-search-result > span {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.c2p-search-result strong,
.c2p-search-result small {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width:600px) {
  .c2p-search-results {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .c2p-map-shell,
  .c2p-map-toolbar,
  .c2p-search-wrap,
  #c2p-public-map,
  #c2p-location-list {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* v0.6.4 iPhone search focus / Safari auto-zoom fix --------------------- */
/*
 * iOS Safari automatically zooms the page when a focused text input has a
 * font-size below 16px. The previous mobile map search used 14px, which made
 * the whole map/search UI appear to grow beyond the left/right viewport when
 * the user tapped Search. Keep the real input at >=16px on touch-size screens.
 */
@media (max-width:600px) {
  .c2p-search-box input,
  body.c2p-fullscreen-map-page .c2p-search-box input {
    font-size:16px !important;
    line-height:1.2 !important;
  }

  /* Extra containment for the fullscreen map toolbar itself. */
  body.c2p-fullscreen-map-page .c2p-map-toolbar {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    overflow:visible;
  }
  body.c2p-fullscreen-map-page .c2p-search-wrap,
  body.c2p-fullscreen-map-page .c2p-search-box {
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
}


/* v0.6.5 filter panel containment */
@media (max-width:600px) {
  .c2p-filter-panel {
    left:0 !important;
    right:0 !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  .c2p-filter-body,
  .c2p-filter-head,
  .c2p-filter-footer {
    max-width:100%;
    box-sizing:border-box;
  }
}

/* v0.6.6 search grouping */
.c2p-search-group-label{padding:8px 12px 5px;font-size:12px;line-height:1.2;font-weight:700;letter-spacing:.02em;text-transform:uppercase;opacity:.68;box-sizing:border-box;max-width:100%}
.c2p-search-group-label + .c2p-search-result{border-top:0}


/* v0.6.9 Add missing location */
.c2p-add-location-button{position:absolute;z-index:700;right:14px;bottom:18px;display:flex;align-items:center;gap:7px;border:1px solid #176b46;background:#176b46;color:#fff;border-radius:999px;padding:10px 14px;font:750 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 3px 14px rgba(20,40,28,.18);cursor:pointer}
.c2p-add-location-button:hover{background:#125b3b}
.c2p-pick-location{position:absolute;z-index:820;left:50%;top:68px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:10px 12px;background:#17231c;color:#fff;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.22);font:650 13px/1.3 system-ui,sans-serif}
.c2p-pick-location[hidden]{display:none!important}.c2p-pick-location button{border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff;border-radius:7px;padding:6px 9px;font-weight:700;cursor:pointer}
/* v0.7.143: submission UI must sit above the EN fullscreen map (z-index 9000)
   and above the filter drawer (99998). The NO fullscreen map had already been
   lowered to z-index 1, which is why this regression was visible mainly on EN. */
.c2p-submit-backdrop{position:fixed;inset:0;z-index:100100;background:rgba(12,24,17,.52)}.c2p-submit-backdrop[hidden]{display:none!important}
.c2p-submit-panel{position:fixed;z-index:100110;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 28px));max-height:min(760px,calc(100dvh - 28px));display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 16px 48px rgba(0,0,0,.28);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden;box-sizing:border-box}.c2p-submit-panel[hidden]{display:none!important}
.c2p-submit-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px 17px 13px;border-bottom:1px solid #e4e9e6}.c2p-submit-head strong{display:block;font-size:18px;color:#17231c}.c2p-submit-head small{display:block;margin-top:3px;color:#647169;font-size:12px;line-height:1.35}.c2p-submit-close{border:0;background:#eef2ef;color:#27332c;border-radius:50%;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer;flex:0 0 34px}
.c2p-submit-body{padding:15px 17px 18px;overflow:auto}.c2p-submit-field{margin-bottom:13px}.c2p-submit-field>label{display:block;margin-bottom:5px;color:#253129;font-weight:750;font-size:13px}.c2p-submit-field>label>span{color:#a3342a}.c2p-submit-field>label small{font-weight:500;color:#718077}
.c2p-submit-field input[type=text],.c2p-submit-field input[type=url],.c2p-submit-field textarea{width:100%;box-sizing:border-box;border:1px solid #ccd6d0;border-radius:9px;background:#fff;color:#17231c;padding:10px 11px;font:500 16px/1.3 system-ui,sans-serif;outline:none}.c2p-submit-field textarea{resize:vertical}.c2p-submit-field input:focus,.c2p-submit-field textarea:focus{border-color:#448c6b;box-shadow:0 0 0 3px rgba(23,107,70,.1)}
.c2p-submit-types{display:grid;grid-template-columns:1fr 1fr;gap:6px}.c2p-submit-type{display:flex;gap:7px;align-items:flex-start;border:1px solid #e0e6e2;border-radius:8px;padding:8px 9px;background:#fafcfb;font-size:13px;line-height:1.25;cursor:pointer}.c2p-submit-type input{margin:2px 0 0;flex:0 0 auto}.c2p-submit-type:has(input:checked){border-color:#72ad8e;background:#eef8f2}
.c2p-submit-position{padding:9px 10px;border-radius:8px;background:#f1f6f3;color:#31463a;font-size:13px;margin-bottom:7px}.c2p-submit-secondary{border:1px solid #bdcbc2;background:#fff;color:#25563e;border-radius:8px;padding:8px 10px;font-weight:700;cursor:pointer}.c2p-submit-primary{width:100%;min-height:46px;border:0;border-radius:9px;background:#176b46;color:#fff;padding:11px 16px;font-size:15px;font-weight:800;cursor:pointer}.c2p-submit-primary:disabled{opacity:.6;cursor:wait}
.c2p-submit-help{font-size:12px;line-height:1.4;color:#6b786f;margin-top:5px}.c2p-submit-notice{padding:12px 13px;border-radius:9px;margin-bottom:13px;font-size:13px;line-height:1.4}.c2p-submit-notice.success{background:#eaf7ef;border:1px solid #b8dfc7;color:#174f38}.c2p-submit-notice.error{background:#fff1ef;border:1px solid #efcbc6;color:#8a342b}.c2p-submit-success-head{font-size:17px;font-weight:850;margin-bottom:4px}.c2p-submit-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.c2p-submit-open{overflow:hidden!important}
@media(max-width:600px){.c2p-add-location-button{right:10px;bottom:14px}.c2p-submit-panel{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-width:100%;max-height:88dvh;border-radius:16px 16px 0 0}.c2p-submit-types{grid-template-columns:1fr}.c2p-pick-location{top:64px;width:calc(100% - 20px);box-sizing:border-box;justify-content:space-between}.c2p-submit-head{padding-top:14px}}


/* v0.6.10 two-step location placement */
.c2p-pick-location{align-items:center;justify-content:space-between;width:min(620px,calc(100% - 24px));box-sizing:border-box}
.c2p-pick-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.c2p-pick-copy strong{font-size:14px}
.c2p-pick-copy span{font-size:12px;font-weight:500;color:rgba(255,255,255,.82);white-space:normal}
.c2p-pick-actions{display:flex;gap:7px;align-items:center;flex:0 0 auto}
.c2p-pick-location .c2p-pick-confirm{border:0;background:#fff;color:#176b46;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}
.c2p-pick-location .c2p-pick-confirm[hidden]{display:none!important}
.c2p-pick-location .c2p-pick-cancel{border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff}
.c2p-submit-position-actions{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:600px){
  .c2p-pick-location{top:auto;bottom:72px;left:10px;right:10px;transform:none;width:auto;flex-direction:column;align-items:stretch;gap:9px}
  .c2p-pick-actions{width:100%}
  .c2p-pick-location .c2p-pick-confirm{flex:1;min-height:42px}
  .c2p-pick-location .c2p-pick-cancel{min-height:42px}
  .c2p-submit-position-actions{display:grid;grid-template-columns:1fr}
}

/* v0.6.12 - optional photo with new-location submission */
.c2p-submit-photo-preview{margin-top:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.c2p-submit-photo-preview[hidden]{display:none}
.c2p-submit-photo-preview img{width:110px;height:82px;object-fit:cover;border-radius:7px;border:1px solid #d7ddd9;background:#f3f5f4}
#c2p-submit-image{display:block;width:100%;box-sizing:border-box}


/* v0.6.34: List placeholders reuse the exact shared map-marker artwork. */
.c2p-list-placeholder .c2p-map-pin{flex:0 0 auto}
.c2p-list-placeholder .c2p-map-pin__symbol svg{width:100%;height:100%;stroke:initial;fill:initial}


/* v0.6.64: optional Camping not allowed warning in map preview/List. */
.c2p-camping-warning{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;margin-top:5px;padding:3px 7px;border:1px solid #ef9b9b;border-radius:999px;background:#fff1f1;color:#a51616;font:800 11px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.c2p-camping-warning>span{font-size:13px;line-height:1}
.c2p-preview-warning{margin-top:4px}
.c2p-preview-warning .c2p-camping-warning{margin-top:0}
.c2p-list-info .c2p-camping-warning{margin-top:5px}
@media(max-width:600px){.c2p-camping-warning{font-size:10.5px;padding:3px 6px}}


/* v0.6.75: empty filtered viewport + explicit nearest-results action */
.c2p-filter-empty{position:absolute;z-index:760;left:50%;top:18px;transform:translateX(-50%);width:min(430px,calc(100% - 28px));box-sizing:border-box;padding:13px 14px;border:1px solid #d6dfd9;border-radius:12px;background:#fff;color:#27322b;box-shadow:0 4px 18px rgba(20,40,28,.18);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
.c2p-filter-empty[hidden]{display:none!important}
.c2p-filter-empty strong{display:block;font-size:14px;line-height:1.3;margin-bottom:4px}
.c2p-filter-empty span{display:block;font-size:12.5px;line-height:1.4;color:#627068;margin-bottom:9px}
.c2p-filter-empty button{border:0;border-radius:8px;background:#176b46;color:#fff;padding:9px 12px;font:800 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.c2p-filter-empty button:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){.c2p-filter-empty{top:10px;width:calc(100% - 20px);padding:12px}.c2p-filter-empty button{width:100%;min-height:42px}}

/* v0.6.81: subtle timed Offer/Event/Campaign indicator on map markers only. */
.c2p-promo-marker-wrap{position:relative;width:36px;height:46px;overflow:visible}.c2p-promo-marker-badge{position:absolute;z-index:5;top:-6px;right:-9px;width:20px;height:20px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#f5b82e;color:#362600;border:2px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.28);font:800 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:none}
/* v0.6.83: compact active campaign line in the marker preview. */
.c2p-preview-promotion{display:inline-block;margin-top:6px;padding:4px 7px;border-radius:7px;background:#fff4cf;color:#6a4a00;border:1px solid #efd27a;font-size:12px;line-height:1.25;font-weight:750}
.c2p-preview-promotion[hidden]{display:none!important}
@media(max-width:600px){.c2p-preview-promotion{margin-top:5px;padding:3px 6px;font-size:11px}}

/* v0.6.88: compact map-language selector (EN/NO/DE). */
.c2p-language-wrap{display:block;margin:0}
.c2p-language-select{height:46px;min-width:62px;border:1px solid #d8dfda;background:#fff;color:#17231c;border-radius:12px;box-shadow:0 2px 8px rgba(20,40,28,.08);padding:0 8px;font:750 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
@media(max-width:600px){.c2p-language-select{height:44px;min-width:54px;padding:0 5px;font-size:12px}}


/* v0.7.4 responsive Map + List ----------------------------------------- */
.c2p-list-summary{position:sticky;top:-12px;z-index:2;margin:-12px -12px 10px;padding:12px 14px 10px;background:#f6f8f6;border-bottom:1px solid #e0e5e1;color:#536159;font:650 13px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.c2p-list-summary strong{color:#17231c;font-size:15px}
.c2p-list-distance{margin-top:5px;color:#176b46;font:750 13px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.c2p-list-card:focus-visible{outline:3px solid rgba(23,107,70,.28);outline-offset:2px}
.c2p-list-card:hover{border-color:#cbd8d0;box-shadow:0 4px 12px rgba(20,40,28,.10)}
@media (min-width:901px){
  .c2p-map-toolbar{grid-template-columns:auto minmax(160px,1fr) auto}
  #c2p-view-toggle{display:none!important}
  .c2p-map-stage{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr);align-items:stretch}
  .c2p-public-map{grid-column:1;grid-row:1;min-width:0;width:100%;height:100%}
  .c2p-map-shell #c2p-location-list,
  .c2p-map-shell #c2p-location-list[hidden]{grid-column:2;grid-row:1;position:relative;inset:auto;display:block!important;min-width:0;height:100%;max-height:100%;border-left:1px solid #dfe5e1;padding:12px;background:#f6f8f6;overflow:auto;box-sizing:border-box}
  .c2p-list-summary{top:-12px}
}
@media (min-width:901px) and (max-width:1150px){
  .c2p-map-stage{grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr)}
  .c2p-list-card{grid-template-columns:78px minmax(0,1fr);gap:10px}
  .c2p-list-image{height:66px}
}
@media (max-width:900px){
  .c2p-list-summary{top:-10px;margin:-10px -10px 8px;padding:10px 12px 9px}
}


/* v0.7.21: compact route-specific ferry information in location preview. */
.c2p-preview-ferries{margin-top:7px;padding-top:7px;border-top:1px solid rgba(32,64,45,.12);font-size:12px;line-height:1.35}
.c2p-preview-ferries[hidden]{display:none!important}
.c2p-preview-ferry-title{font-weight:800;margin-bottom:3px}
.c2p-preview-ferry-row{display:flex;justify-content:space-between;gap:10px;padding:2px 0}
.c2p-preview-ferry-destination{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c2p-preview-ferry-status{font-weight:800;white-space:nowrap}
.c2p-preview-ferry-more{margin-top:2px;color:#5e6d64;font-size:11px}


/* v0.7.32: compact webcam block in map location preview. */
.c2p-preview-camera{margin-top:7px;padding-top:7px;border-top:1px solid rgba(32,64,45,.12);font-size:12px;line-height:1.3}
.c2p-preview-camera[hidden]{display:none!important}
.c2p-preview-camera-title{font-weight:800;margin-bottom:5px}
.c2p-preview-camera-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;align-items:start}
.c2p-preview-camera-image{display:block;width:86px;height:52px;overflow:hidden;border-radius:7px;background:#eef3ef}
.c2p-preview-camera-image img{display:block;width:100%;height:100%;object-fit:cover}
.c2p-preview-camera-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.c2p-preview-camera-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#17231c}
.c2p-preview-camera-info span{font-size:10px;color:#667169}
.c2p-preview-camera-info a{font-size:11px;font-weight:750;color:#176b46!important;text-decoration:none!important}
@media(max-width:600px){.c2p-preview-camera-row{grid-template-columns:78px minmax(0,1fr)}.c2p-preview-camera-image{width:78px;height:48px}}

/* v0.7.35: map preview is a teaser. Hide webcam details, but keep ferry connection overview visible. */
.c2p-preview-camera{display:none!important}
.c2p-preview-image img{display:block;width:100%;height:100%;object-fit:cover}


/* v0.7.39 webcam marker + image lightbox ------------------------------- */
.c2p-traffic-camera-icon-wrap{
    background:transparent!important;
    border:0!important;
}
.c2p-traffic-camera-dot{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    border:2px solid #fff;
    border-radius:50%;
    background:#c76700;
    color:#fff;
    box-shadow:0 2px 7px rgba(0,0,0,.24);
}
.c2p-camera-popup-image-link{
    display:block;
    width:100%;
    padding:0;
    border:0;
    background:transparent;
    cursor:zoom-in;
}
.c2p-camera-popup-image-link:focus-visible{
    outline:2px solid #c76700;
    outline-offset:2px;
    border-radius:8px;
}
.c2p-camera-lightbox[hidden]{display:none!important}
.c2p-camera-lightbox{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.c2p-camera-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.78);
}
.c2p-camera-lightbox-dialog{
    position:relative;
    z-index:1;
    width:min(1100px,94vw);
    max-height:92vh;
    background:#fff;
    border-radius:12px;
    box-shadow:0 18px 55px rgba(0,0,0,.35);
    overflow:hidden;
}
.c2p-camera-lightbox-image{
    display:block;
    width:100%;
    max-height:82vh;
    object-fit:contain;
    background:#111;
}
.c2p-camera-lightbox-caption{
    padding:10px 14px;
    font-weight:600;
    color:#17231c;
}
.c2p-camera-lightbox-close{
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#111;
    font-size:26px;
    line-height:1;
    cursor:pointer;
}
body.c2p-camera-lightbox-open{
    overflow:hidden;
}


/* v0.7.40 webcam distinction + reliable enlarged image ----------------- */
.c2p-camera-popup-image-link{
    position:relative;
    overflow:hidden;
    border-radius:8px;
}
.c2p-camera-popup-zoom{
    position:absolute;
    right:7px;
    bottom:7px;
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#17231c;
    box-shadow:0 1px 5px rgba(0,0,0,.25);
    font-size:16px;
    font-weight:700;
    pointer-events:none;
}
@media (max-width: 700px){
    .c2p-camera-lightbox{
        padding:8px;
    }
    .c2p-camera-lightbox-dialog{
        width:calc(100vw - 16px);
        max-height:96vh;
        border-radius:10px;
    }
    .c2p-camera-lightbox-image{
        width:100%;
        max-height:84vh;
        object-fit:contain;
    }
}


/* v0.7.41 reliable webcam enlargement ---------------------------------- */
.c2p-camera-popup-image-link{
    position:relative;
    display:block;
    width:100%;
    padding:0;
    border:0;
    background:transparent;
    cursor:zoom-in;
    text-decoration:none!important;
    overflow:hidden;
    border-radius:8px;
}


/* v0.7.42: prominent webcam quick mode -------------------------------- */
.c2p-webcam-quick-toggle{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-color:#c76700!important;
    color:#9f4f00!important;
    background:#fff!important;
}
.c2p-webcam-quick-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#c76700;
}
.c2p-webcam-quick-toggle:hover{
    background:#fff5e8!important;
}
.c2p-webcam-quick-toggle.is-active{
    background:#c76700!important;
    border-color:#c76700!important;
    color:#fff!important;
}
.c2p-webcam-quick-toggle.is-active .c2p-webcam-quick-icon{
    color:#fff;
}
@media (max-width:700px){
    .c2p-webcam-quick-toggle{
        min-height:42px;
        padding-left:10px!important;
        padding-right:10px!important;
    }
    .c2p-webcam-quick-label{
        font-size:13px;
    }
}


/* v0.7.43: webcam quick access in its own map position ----------------- */
.c2p-map-stage{
    position:relative;
}
.c2p-webcam-quick-row{
    position:absolute;
    top:12px;
    left:50%;
    transform:translateX(-50%);
    z-index:650;
    pointer-events:none;
}
.c2p-webcam-quick-row .c2p-webcam-quick-toggle{
    pointer-events:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    min-height:38px;
    padding:8px 12px!important;
    border:1px solid #c76700!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#9f4f00!important;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    font:600 13px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    white-space:nowrap;
    cursor:pointer;
}
.c2p-webcam-quick-row .c2p-webcam-quick-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#c76700!important;
    flex:0 0 auto;
}
.c2p-webcam-quick-row .c2p-webcam-quick-toggle:hover{
    background:#fff5e8!important;
}
.c2p-webcam-quick-row .c2p-webcam-quick-toggle.is-active{
    background:#c76700!important;
    border-color:#c76700!important;
    color:#fff!important;
}
.c2p-webcam-quick-row .c2p-webcam-quick-toggle.is-active .c2p-webcam-quick-icon{
    color:#fff!important;
}

@media (max-width:700px){
    .c2p-webcam-quick-row{
        top:10px;
        left:auto;
        right:10px;
        transform:none;
    }
    .c2p-webcam-quick-row .c2p-webcam-quick-toggle{
        min-height:36px;
        padding:7px 10px!important;
        font-size:12px!important;
    }
}

/* Standalone webcam marker/popup */
.c2p-traffic-camera-icon-wrap{
    background:transparent!important;
    border:0!important;
}
.c2p-camera-popup{
    display:grid;
    gap:6px;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.c2p-camera-popup-image{
    width:100%;
    max-height:150px;
    object-fit:cover;
    border-radius:8px;
    background:#eef3ef;
}
.c2p-camera-popup strong{
    font-size:14px;
    line-height:1.25;
    color:#17231c;
}
.c2p-camera-popup small{
    color:#68736d;
    font-size:11px;
}
.c2p-camera-leaflet-popup .leaflet-popup-content{
    margin:10px;
}


/* v0.7.60: viewport campaign quick access ------------------------------ */
.c2p-map-quick-row{display:flex;align-items:center;justify-content:center;gap:7px}
.c2p-campaign-quick-toggle{
    pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;
    min-height:38px;padding:8px 12px;border:1px solid #c99700!important;border-radius:9px!important;
    background:#fff!important;color:#7d6200!important;box-shadow:0 2px 8px rgba(0,0,0,.18);
    font:700 13px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    white-space:nowrap;cursor:pointer
}
.c2p-campaign-quick-toggle:hover{background:#fff9df!important}
.c2p-campaign-quick-icon{font-size:16px;line-height:1;color:#d6a900}
.c2p-campaign-panel{
    position:absolute;z-index:820;left:50%;top:58px;transform:translateX(-50%);
    width:min(430px,calc(100% - 24px));max-height:min(62%,520px);overflow:hidden;
    background:#fff;border:1px solid #e3dfca;border-radius:14px;box-shadow:0 10px 30px rgba(20,40,28,.22);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.c2p-campaign-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #ece8d8}
.c2p-campaign-panel-head>div{min-width:0}.c2p-campaign-panel-head strong{display:block;font-size:17px;color:#17231c}.c2p-campaign-panel-head small{display:block;margin-top:3px;color:#6b746f;font-size:12px}
.c2p-campaign-panel-close{flex:0 0 38px;width:38px;height:38px;border:0!important;border-radius:50%!important;background:transparent!important;color:#17231c!important;font-size:27px;line-height:1;cursor:pointer;box-shadow:none!important}
.c2p-campaign-panel-body{max-height:390px;overflow:auto;padding:10px}
.c2p-campaign-card{padding:12px;border:1px solid #eee9d6;border-radius:12px;background:#fffdf6;margin-bottom:9px}
.c2p-campaign-card:last-child{margin-bottom:0}.c2p-campaign-card-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#876c00}.c2p-campaign-card-partner{margin-top:4px;font-size:13px;font-weight:700;color:#59635d}.c2p-campaign-card-title{display:block;margin-top:4px;font-size:16px;line-height:1.3;color:#17231c}.c2p-campaign-card p{margin:7px 0 0;font-size:13px;line-height:1.4;color:#455149}.c2p-campaign-card-valid{margin-top:7px;font-size:12px;color:#6d756f}.c2p-campaign-card-cta{display:inline-flex;margin-top:10px;padding:9px 12px;border-radius:9px;background:#176b46;color:#fff!important;text-decoration:none!important;font-weight:750;font-size:13px}
@media(max-width:700px){
    .c2p-map-quick-row{left:10px;right:10px;transform:none;justify-content:flex-end;gap:6px}
    .c2p-campaign-quick-toggle{min-height:36px;padding:7px 9px!important;font-size:12px!important}
    .c2p-campaign-panel{top:56px;width:calc(100% - 20px);max-height:58%}
    .c2p-campaign-panel-body{max-height:calc(58dvh - 80px)}
}


/* v0.7.67: clean mobile toolbar reset -----------------------------------
 * Built directly on stable v0.7.62 (not on the v0.7.63-0.7.66 experiments).
 * Goal: no element may enlarge the document width when iOS focuses Search.
 */
@media (max-width:600px){

  html,
  body.c2p-fullscreen-map-page{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }

  body.c2p-fullscreen-map-page .c2p-map-shell--fullscreen,
  body.c2p-fullscreen-map-page .c2p-map-toolbar,
  body.c2p-fullscreen-map-page .c2p-map-toolbar > *,
  body.c2p-fullscreen-map-page .c2p-search-wrap,
  body.c2p-fullscreen-map-page .c2p-search-box{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Stable four-column toolbar. Nothing changes on focus. */
  body.c2p-fullscreen-map-page .c2p-map-toolbar{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 34px 42px!important;
    gap:4px!important;
    width:100%!important;
    padding:0 4px!important;
    overflow:hidden!important;
  }

  body.c2p-fullscreen-map-page .c2p-tool-button{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:40px!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  body.c2p-fullscreen-map-page .c2p-tool-button span{
    display:none!important;
  }

  body.c2p-fullscreen-map-page .c2p-language-wrap{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    overflow:hidden!important;
  }

  body.c2p-fullscreen-map-page .c2p-language-select{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:40px!important;
    padding:0 3px!important;
    font-size:11px!important;
    box-sizing:border-box!important;
  }

  body.c2p-fullscreen-map-page .c2p-search-wrap,
  body.c2p-fullscreen-map-page .c2p-search-box,
  body.c2p-fullscreen-map-page .c2p-search-box input{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body.c2p-fullscreen-map-page .c2p-search-box{
    height:40px!important;
    padding:0 7px!important;
    gap:5px!important;
    overflow:hidden!important;
  }

  /* >=16 px prevents iOS Safari's automatic form-field zoom. */
  body.c2p-fullscreen-map-page .c2p-search-box input{
    font-size:16px!important;
    line-height:1.2!important;
  }

  /* Search-results geometry is calculated by positionSearchResults() from
     the actual search field. Do not hard-code top/width here. */
  body.c2p-fullscreen-map-page .c2p-search-results{
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  body.c2p-fullscreen-map-page .c2p-search-result,
  body.c2p-fullscreen-map-page .c2p-search-result > span:last-child{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body.c2p-fullscreen-map-page .c2p-search-result strong,
  body.c2p-fullscreen-map-page .c2p-search-result small{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }

  /* Camera + Offers: compact icon controls only on mobile.
     IMPORTANT: do not force display:flex with !important, because the
     native [hidden] state must continue to hide Offers when this viewport
     has no eligible campaigns. */
  body.c2p-fullscreen-map-page .c2p-webcam-quick-row{
    top:10px!important;
    left:auto!important;
    right:8px!important;
    width:auto!important;
    max-width:calc(100% - 58px)!important;
    transform:none!important;
    justify-content:flex-end!important;
    gap:6px!important;
  }

  body.c2p-fullscreen-map-page .c2p-webcam-quick-toggle,
  body.c2p-fullscreen-map-page .c2p-campaign-quick-toggle{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:10px!important;
  }

  body.c2p-fullscreen-map-page .c2p-webcam-quick-label,
  body.c2p-fullscreen-map-page .c2p-campaign-quick-label{
    display:none!important;
  }

  body.c2p-fullscreen-map-page .c2p-webcam-quick-icon,
  body.c2p-fullscreen-map-page .c2p-campaign-quick-icon{
    margin:0!important;
    font-size:18px!important;
    line-height:1!important;
  }

  body.c2p-fullscreen-map-page .c2p-webcam-quick-icon svg{
    width:18px!important;
    height:18px!important;
  }

  /* Preserve application-controlled hidden state even with mobile styling. */
  body.c2p-fullscreen-map-page .c2p-campaign-quick-toggle[hidden],
  body.c2p-fullscreen-map-page .c2p-webcam-quick-toggle[hidden]{
    display:none!important;
  }
}

/* v0.7.110: SEO hub map uses the shared map engine but avoids a duplicate
   desktop list because the crawlable/server-rendered location overview
   already follows the map on the page. Mobile keeps the normal Map/List UI. */
@media (min-width:901px){
  .c2p-map-shell--no-desktop-list .c2p-map-stage{
    display:block;
  }
  .c2p-map-shell--no-desktop-list #c2p-location-list,
  .c2p-map-shell--no-desktop-list #c2p-location-list[hidden]{
    display:none!important;
  }
}


/* v0.7.116: common shell for ordinary Norwegian WordPress pages. */
body.c2p-norwegian-content-page .c2p-no-page-main{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:32px 0 56px;
  box-sizing:border-box;
}
body.c2p-norwegian-content-page .c2p-no-page-title{
  margin:0 0 24px;
}
body.c2p-norwegian-content-page .c2p-no-page-content{
  min-width:0;
}
@media(max-width:600px){
  body.c2p-norwegian-content-page .c2p-no-page-main{
    width:calc(100% - 32px);
    padding:22px 0 40px;
  }
}

/* v0.7.116: keep Header Norsk navigation/dropdowns above the fullscreen map.
   The map itself remains isolated below it. */
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .wp-block-template-part,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page header{
  position:relative;
  z-index:10050;
  overflow:visible!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .wp-block-navigation,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .wp-block-navigation__responsive-container,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .wp-block-navigation__submenu-container{
  z-index:10060!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .wp-block-navigation__submenu-container{
  overflow:visible!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-map-main{
  position:relative;
  z-index:1;
}


/* v0.7.117: fullscreen Norwegian map dropdown fix.
   The map shell is fixed at z-index 9000, so give the entire rendered
   Header Norsk its own higher stacking context rather than relying on
   theme-internal header/template-part markup. */
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header{
  position:relative!important;
  z-index:20000!important;
  overflow:visible!important;
  isolation:isolate;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header *{
  overflow:visible;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation__responsive-container,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation__submenu-container{
  position:relative;
  z-index:20010!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation__submenu-container{
  position:absolute;
}


/* v0.7.118: definitive stacking order for /no/kart/.
   The fullscreen map must stay below Header Norsk so its dropdown can extend
   over the map and remain hover/clickable. This is scoped only to the
   Norwegian fullscreen map page. */
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-map-shell--fullscreen{
  z-index:1!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header{
  position:relative!important;
  z-index:1000!important;
  overflow:visible!important;
}
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation-item,
body.c2p-fullscreen-map-page.c2p-norwegian-map-page .c2p-fullscreen-site-header .wp-block-navigation__submenu-container{
  z-index:1100!important;
  overflow:visible!important;
}


/* v0.7.125: manual mobile SEO ad, aligned with the verified Single Location ad sizing. */
.c2p-seo-mobile-ad{display:none}
@media (max-width:600px){
  body.c2p-seo-landing-page .c2p-seo-mobile-ad{
    display:block;
    width:calc(100% - 20px);
    max-width:340px;
    box-sizing:border-box;
    margin:4px auto 8px;
    padding:5px 0 2px;
    text-align:center;
    overflow:hidden;
  }
  body.c2p-seo-landing-page .c2p-seo-mobile-ad-label{
    margin:0 0 4px;
    color:#7a827d;
    font-size:9px;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.06em;
  }
  body.c2p-seo-landing-page .c2p-seo-mobile-ad-unit{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0 auto;
  }
  body.c2p-seo-landing-page .c2p-seo-mobile-ad-unit[data-ad-status="unfilled"]{
    display:none!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
  }
}

/* v0.7.138: Compact, partner-independent online-booking badge on map preview. */
.c2p-preview-booking{display:inline-flex;align-items:center;margin-top:7px;padding:5px 8px;border:1px solid #9ccfb1;border-radius:7px;background:#eaf7ee;color:#12653d;font-size:14px;line-height:1.35;font-weight:750}
.c2p-preview-booking::before{content:"✓";margin-right:5px;font-weight:800}
.c2p-preview-booking[hidden]{display:none!important}


/* v0.7.142 map location-card readability and explicit navigation CTA */
.c2p-preview-meta{font-size:15px;line-height:1.45;font-weight:550}
.c2p-preview-link{
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
  width:100%;min-height:44px;margin-top:10px;padding:10px 14px;
  border-radius:10px;background:#176b46;color:#fff!important;
  font-size:15px;line-height:1.25;font-weight:750;text-align:center;
  text-decoration:none!important;box-shadow:0 1px 3px rgba(20,40,28,.14);
}
.c2p-preview-link:hover,.c2p-preview-link:focus-visible{background:#12583a;color:#fff!important;text-decoration:none!important}
.c2p-preview-link:focus-visible{outline:3px solid rgba(23,107,70,.25);outline-offset:2px}
@media(max-width:600px){
  .c2p-preview-meta{font-size:16px;line-height:1.45}
  .c2p-preview-link{min-height:48px;margin-top:9px;padding:11px 12px;font-size:16px}
}


/* v0.7.144: strict Add location containment on narrow screens.
 * Prevent WordPress/theme form styles, long translations and iOS sizing from
 * making the bottom sheet wider than the viewport. */
@media(max-width:600px){
  body .c2p-submit-panel{
    left:0!important;
    right:0!important;
    width:auto!important;
    min-width:0!important;
    max-width:100vw!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body .c2p-submit-head,
  body .c2p-submit-body,
  body .c2p-submit-body form,
  body .c2p-submit-field,
  body .c2p-submit-types,
  body .c2p-submit-type,
  body .c2p-submit-position,
  body .c2p-submit-position-actions,
  body .c2p-submit-notice{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body .c2p-submit-head>div{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body .c2p-submit-head strong,
  body .c2p-submit-head small,
  body .c2p-submit-field label,
  body .c2p-submit-help,
  body .c2p-submit-position,
  body .c2p-submit-notice,
  body .c2p-submit-success-head{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body .c2p-submit-field input[type=text],
  body .c2p-submit-field input[type=url],
  body .c2p-submit-field input[type=file],
  body .c2p-submit-field textarea,
  body .c2p-submit-primary,
  body .c2p-submit-secondary{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body .c2p-submit-body{overflow-x:hidden!important;}
}


/* v0.7.145: mobile Add location readability + prevent iOS focus zoom.
 * iOS Safari zooms the page when focusing form controls rendered below 16px.
 * Keep the working v0.7.143/v0.7.144 modal flow unchanged; this block only
 * strengthens mobile typography and form-control sizing. */
@media(max-width:600px){
  body .c2p-pick-location{
    font-size:15px!important;
    line-height:1.35!important;
  }
  body .c2p-pick-copy strong{
    font-size:16px!important;
    line-height:1.3!important;
  }
  body .c2p-pick-copy span{
    font-size:14px!important;
    line-height:1.4!important;
  }
  body .c2p-pick-location button,
  body .c2p-pick-location .c2p-pick-confirm,
  body .c2p-pick-location .c2p-pick-cancel{
    font-size:15px!important;
    line-height:1.2!important;
  }

  body .c2p-submit-head strong{
    font-size:19px!important;
    line-height:1.25!important;
  }
  body .c2p-submit-head small{
    font-size:14px!important;
    line-height:1.4!important;
  }
  body .c2p-submit-field>label{
    font-size:14px!important;
    line-height:1.35!important;
  }
  body .c2p-submit-type{
    font-size:15px!important;
    line-height:1.35!important;
    padding:9px 10px!important;
  }
  body .c2p-submit-help,
  body .c2p-submit-position,
  body .c2p-submit-notice{
    font-size:14px!important;
    line-height:1.4!important;
  }
  body .c2p-submit-secondary{
    font-size:15px!important;
    line-height:1.25!important;
  }
  body .c2p-submit-primary{
    font-size:16px!important;
    line-height:1.25!important;
  }

  /* Critical iPhone/iPad rule: never render editable controls below 16px. */
  body .c2p-submit-field input[type=text],
  body .c2p-submit-field input[type=url],
  body .c2p-submit-field input[type=email],
  body .c2p-submit-field input[type=tel],
  body .c2p-submit-field input[type=number],
  body .c2p-submit-field select,
  body .c2p-submit-field textarea{
    font-size:16px!important;
    line-height:1.35!important;
    -webkit-text-size-adjust:100%;
  }
}

/* v0.7.147: reuse the verified iOS/mobile containment pattern from the
 * search UI (Public v0.6.3/v0.6.4). Do not derive the sheet width from
 * 100vw/100dvw: pin it to fixed viewport insets instead. */
@media(max-width:600px){
  html,
  body{
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body .c2p-submit-panel{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box!important;
    transform:none!important;
    overflow-x:hidden!important;
  }
  body .c2p-submit-head,
  body .c2p-submit-body,
  body .c2p-submit-body form,
  body .c2p-submit-field,
  body .c2p-submit-types,
  body .c2p-submit-type,
  body .c2p-submit-position,
  body .c2p-submit-position-actions{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body .c2p-submit-field input[type=text],
  body .c2p-submit-field input[type=url],
  body .c2p-submit-field input[type=email],
  body .c2p-submit-field input[type=tel],
  body .c2p-submit-field input[type=number],
  body .c2p-submit-field select,
  body .c2p-submit-field textarea{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    font-size:17px!important;
    line-height:1.35!important;
    box-sizing:border-box!important;
  }
}

/* v0.7.159: Keep the translated Add location label visible on phones.
   The prior <=600px rule hid the span, leaving an ambiguous plus sign. */
@media (max-width:600px){
  .c2p-add-location-button{
    display:flex;align-items:center;justify-content:center;gap:8px;
    min-height:44px;min-width:44px;max-width:calc(100% - 20px);
    box-sizing:border-box;padding:11px 15px;
    font-size:14px;line-height:1.2;white-space:nowrap;
    bottom:max(14px,env(safe-area-inset-bottom));
  }
  .c2p-add-location-button span{display:inline!important;white-space:nowrap;}
}
