/* Shared detail view: full pages, account dialogs and the map's narrow panel. */
body .portal-detail{container-type:inline-size;color:#123c3e;font-family:Manrope,system-ui,sans-serif}
body .portal-detail .detail-heading{padding:8px 0 24px}
body .portal-detail .detail-heading :is(h1,h2){font-size:clamp(28px,3vw,42px);font-weight:850;line-height:1.16;letter-spacing:-1.2px;margin:14px 0 12px;max-width:28ch}
body .portal-detail .detail-heading .eyebrow{display:inline-block;letter-spacing:.04em;font-size:11px;line-height:1.5;padding:6px 10px;border-radius:6px;background:#f7d75a;color:#083c3e;font-weight:800}
body .portal-detail .detail-heading p{color:#45685f;font-size:16px}
body .portal-detail .detail-status{background:#e2f0ec;color:#214d45;border:1px solid #bfd7cc;font-weight:700}
body .portal-detail .detail-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:24px}
body .portal-detail .detail-overview>.detail-gallery{margin:0!important}
body .portal-detail .detail-at-a-glance{padding:24px;border:1px solid #bfd7cc;border-top:5px solid #f7d75a;border-radius:16px;background:#edf6f1;min-width:0}
body .portal-detail .detail-at-a-glance :is(h3,.detail-section-title){font-size:23px;margin:6px 0 18px}
body .portal-detail .detail-section-kicker{display:block;color:#45685f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px;line-height:1.5}
body .portal-detail .detail-facts{margin:0 0 18px;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
body .portal-detail .detail-facts>div{padding:11px 0;border-bottom:1px solid #d1e1d9}
body .portal-detail .detail-facts dt{font-size:12px;color:#45685f;line-height:1.5}
body .portal-detail .detail-facts dd{margin:3px 0 0;font-size:15px;font-weight:750;line-height:1.6}
body .portal-detail .detail-fee{margin:16px 0}
body .portal-detail .detail-fee span{display:block;color:#45685f;font-size:12px}
body .portal-detail .detail-fee strong{display:block;font-size:18px;line-height:1.6;color:#083c3e;margin-top:4px}
body .portal-detail .detail-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:20px}
body .portal-detail .detail-primary-actions>:is(a,button){width:100%;justify-content:center;text-align:center}
body .portal-detail .detail-at-a-glance .travel-controls{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px;margin:16px 0 0;border-top:1px solid #c9ddd2}
body .portal-detail .detail-at-a-glance .travel-controls button{flex:1;min-height:46px;padding:10px 8px;border:1px solid #b3ccc0;border-radius:10px;font:700 13px/1.4 Manrope,system-ui,sans-serif;background:#fff;color:#123c3e}
body .portal-detail .detail-at-a-glance .travel-controls [aria-pressed=true]{background:#f7d75a;border-color:#c0a137}
body .portal-detail .place-facilities{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;padding:0;list-style:none}
body .portal-detail .place-facilities li{display:flex;align-items:center;gap:6px;margin:0;padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #c9ddd2;font-size:12px;line-height:1.4}
body .portal-detail .place-facilities svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
body .portal-detail .detail-gallery{border-radius:16px;border-color:#c5d9cf;box-shadow:0 4px 18px #083c3e08}
body .portal-detail .detail-main-photo img{height:380px;background:#e2ede7;object-fit:contain}
body .portal-detail .detail-main-photo>span{background:#083c3ef0;border-radius:8px;min-height:38px;display:flex;align-items:center;box-sizing:border-box;font-weight:750}
body .portal-detail .detail-gallery-bar{padding:12px 14px;font-size:13px;color:#345b50;min-height:52px}
body .portal-detail .detail-gallery-bar button{width:46px;height:46px;border-radius:50%;border-color:#b3ccc0;background:#f4f8f4;font-size:22px}
body .portal-detail .detail-thumbs{padding:0 14px 14px;gap:10px;scroll-snap-type:x proximity;scrollbar-width:thin}
body .portal-detail .detail-thumbs button{flex-basis:88px;scroll-snap-align:nearest;border-color:#b3ccc0;border-radius:9px}
body .portal-detail .detail-thumbs img{width:78px;height:58px}
body .portal-detail .detail-thumbs [aria-pressed=true]{background:#f7d75a;border-color:#083c3e}
body .portal-detail .detail-thumbs .has-photo-error:before{content:'Brak zdjęcia';display:block;padding:8px 2px;font-size:11px;color:#45685f}
body .portal-detail .detail-no-photo{border:1px dashed #a9c7b8;border-radius:16px;min-height:160px;justify-content:center;padding:28px;background:#edf6f1;margin:0}
body .portal-detail .detail-no-photo p{max-width:30ch;color:#45685f}
body .portal-detail .detail-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;background:#e2f0ec;border:1px solid #c3d9cd;border-radius:14px;margin:24px 0}
body .portal-detail.rental-detail .detail-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
body .portal-detail .detail-jump{font-family:inherit!important;font-weight:750!important;font-size:13px!important;line-height:1.45;min-height:48px;border-color:#b3ccc0!important;border-radius:9px;padding:11px 12px!important;white-space:normal}
body .portal-detail .detail-jump:hover{background:#f9e897!important;border-color:#b0963b!important}
body .portal-detail .detail-columns{gap:24px;margin-top:0;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
body .portal-detail .detail-card{border:1px solid #c5d9cf;border-radius:16px;padding:28px;margin:0 0 24px;background:#fff;box-shadow:0 3px 14px #083c3e05;scroll-margin-top:140px}
body .portal-detail :is(h3,.detail-section-title){font-size:24px;line-height:1.3;font-weight:800;letter-spacing:-.55px;margin:0 0 18px}
body .portal-detail p,body .portal-detail li{font-size:15px;line-height:1.85}
body .portal-detail .detail-lead{font-size:17px;line-height:1.8;font-weight:650;color:#214d45}
body .portal-detail .detail-address{font-size:18px;font-weight:800;color:#083c3e}
body .portal-detail .detail-facility-list{list-style:none;padding:0;margin:0 0 16px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
body .portal-detail .detail-facility-list li{position:relative;padding:13px 14px 13px 36px;margin:0;background:#f3f8f4;border:1px solid #deebe3;border-radius:10px;font-size:14px;line-height:1.75}
body .portal-detail .detail-facility-list li:before{content:'•';position:absolute;left:15px;color:#14645c;font-size:21px;line-height:1.1;top:16px}
body .portal-detail .detail-contact{background:#e2f0ec!important;border-top:4px solid #083c3e}
body .portal-detail .detail-contact>p{font-weight:650}
body .portal-detail .detail-contact .detail-actions{margin:18px 0}
body .portal-detail .btn{box-sizing:border-box;min-height:48px;padding:13px 16px;border-radius:10px;font-family:inherit;font-size:14px;font-weight:750;line-height:1.5;white-space:normal;text-align:center;overflow-wrap:anywhere}
body .portal-detail .btn.green{background:#083c3e;border:1px solid #083c3e;color:#fff!important}
body .portal-detail .btn.cream{background:#fff;border:1px solid #a9c6b9;color:#123c3e!important}
body .portal-detail .detail-before{background:#fcfaf0;border-color:#e3dcae;box-shadow:none}
body .portal-detail .detail-checklist{padding-left:20px;margin:0 0 16px}
body .portal-detail .detail-footnote{font-size:12px;line-height:1.75;color:#45685f}
body .portal-detail .detail-more{border-color:#c5d9cf;margin:8px 0 18px}
body .portal-detail .detail-more summary{font-size:14px;padding:14px 0;line-height:1.6}
body .rental-detail .rental-heading-price{display:none}
body .rental-detail .rental-detail-price strong{font-size:36px;color:#a63c19}
body .rental-detail .rental-quick-contact h3{font-size:19px;margin-bottom:8px}
body .rental-detail .rental-price-note{font-size:13px}
body .rental-detail .rental-contact-buttons{grid-template-columns:minmax(0,1fr)}
body .detail-lightbox{border-radius:18px;padding:18px;background:#f7faf6;color:#123c3e}
body .detail-lightbox button{font-family:inherit;font-weight:750;min-height:48px;border:1px solid #a9c6b9;border-radius:10px}
body .detail-lightbox [data-lightbox-close]{background:#083c3e;color:#fff;border-color:#083c3e}
body .detail-lightbox-image img{height:65dvh;border-radius:10px;background:#e2ede7}
body .detail-lightbox-credit{color:#45685f}
body .detail-lightbox-controls button{flex:1;max-width:200px}
body .cp-dialog:has(.portal-detail),body #dialog:has(.portal-detail){width:min(1080px,calc(100vw - 40px));max-width:1080px;padding:24px 32px;background:#f7faf6;border:1px solid #b3ccc0;border-radius:20px;overscroll-behavior:contain}
body #dialog:has(.portal-detail)>.close,body .cp-dialog:has(.portal-detail) .cp-close{box-shadow:0 3px 12px #083c3e1a;background:#083c3e;color:white;border:1px solid #083c3e}
body .place-detail:has(.portal-detail){max-width:1200px;margin-inline:auto;padding:32px 24px 56px}
body.routes-body .routes-detail .detail-overview{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
body.routes-body .routes-detail .detail-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
body.routes-body .routes-detail .rental-detail .detail-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
body .portal-detail .detail-main-photo.has-photo-error{min-height:210px;cursor:default}
body .portal-detail .detail-main-photo.has-photo-error:before{content:'Zdjęcie chwilowo niedostępne';display:block;padding:70px 20px;color:#45685f;font:600 15px/1.7 Manrope,system-ui,sans-serif}
body .portal-detail .detail-main-photo.has-photo-error>span{display:none}
body .portal-detail [hidden]{display:none!important}
@container(max-width:720px){
 body.routes-body .routes-detail .detail-overview{grid-template-columns:minmax(0,1fr)}
 body.routes-body .routes-detail .detail-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.routes-body .routes-detail .rental-detail .detail-shortcuts{grid-template-columns:minmax(0,1fr)}
 body .rental-detail .rental-heading-price{display:flex}
 body .portal-detail .detail-overview,body .portal-detail .detail-columns{grid-template-columns:minmax(0,1fr);gap:18px}
 body .portal-detail .detail-columns{gap:0}
 body .portal-detail .detail-main-photo img{height:clamp(210px,55cqi,340px)}
 body .portal-detail .detail-at-a-glance{padding:22px}
 body .portal-detail .detail-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body .portal-detail.rental-detail .detail-shortcuts{grid-template-columns:minmax(0,1fr)}
 body .portal-detail .detail-card{padding:22px;margin-bottom:18px}
 body .portal-detail .detail-heading :is(h1,h2){font-size:30px;letter-spacing:-.8px}
 body .portal-detail .detail-primary-actions,body .rental-detail .rental-contact-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .rental-detail .rental-contact-buttons>.btn:only-child{grid-column:1/-1}
}
@container(max-width:360px){
 body .portal-detail .detail-primary-actions,body .rental-detail .rental-contact-buttons{grid-template-columns:minmax(0,1fr)}
 body .portal-detail .detail-at-a-glance,body .portal-detail .detail-card{padding:20px 16px}
 body .portal-detail .detail-heading :is(h1,h2){font-size:27px}
 body .portal-detail .detail-jump{font-size:12px!important;padding:10px 8px!important}
}
@media(max-width:700px){
 body .cp-dialog:has(.portal-detail),body #dialog:has(.portal-detail){width:calc(100vw - 12px);max-height:96dvh;padding:12px;border-radius:16px}
 body .place-detail:has(.portal-detail){padding:22px 16px 40px}
 body .detail-lightbox{padding:12px;width:calc(100vw - 12px)}
 body .detail-lightbox-image img{height:54dvh}
 body .detail-lightbox-controls{gap:8px}
 body .portal-detail .detail-actions{display:grid;grid-template-columns:minmax(0,1fr)}
}
