/* DBN OPM ADD-ON: scoped progressive enhancement; no vendor files/data modified. */
body .elementor.elementor-206 #plan-osiedla.dbn-estate-plan-intro{padding:48px 20px 0!important;gap:16px!important}
.dbn-estate-diary-intro#dziennik-budowy{padding:0!important;gap:16px!important}
.dbn-estate-plan-intro>.e-con-inner{width:100%!important;padding:0!important}
.dbn-estate-plan-intro .dbn-intro h2{line-height:1.2!important}
.dbn-estate-plan-intro .dbn-intro p:not(.dbn-intro__eyebrow){max-width:860px!important;margin-inline:auto!important;font-size:16px!important;line-height:1.6!important}
.dbn-estate-plan-intro .dbn-intro,
.dbn-estate-diary-intro .dbn-intro{margin-inline:auto!important}
.dbn-estate-diary-intro .dbn-intro{max-width:860px!important}
.dbn-estate-map-container.elementor-element-0717f09{width:100%!important;max-width:1280px!important;margin-inline:auto!important;padding:20px!important;min-width:0}
.dbn-estate-map{margin-bottom:0!important}
.dbn-estate-map .dbn-estate-viewer{border-radius:16px;cursor:auto;perspective:none}
.dbn-estate-map .opm-front-controls,.dbn-estate-map .opm-front-cursor{display:none!important}
.dbn-estate-map .opm-front-layer{transform:none!important;filter:none!important}
.dbn-estate-map .orbit-right .opm-front-layer--current,
.dbn-estate-map .orbit-left .opm-front-layer--current{animation:dbnEstateFadeOut .22s ease both!important}
.dbn-estate-map .orbit-right .opm-front-layer--next,
.dbn-estate-map .orbit-left .opm-front-layer--next{animation:dbnEstateFadeIn .22s ease both!important}
@keyframes dbnEstateFadeOut{from{opacity:1}to{opacity:0}}
@keyframes dbnEstateFadeIn{from{opacity:0}to{opacity:1}}
.dbn-estate-views{display:flex;justify-content:center;gap:12px;margin:16px 0 8px}
.dbn-estate-views button,.dbn-diary-controls button{appearance:none;background:#b9e5f8!important;color:#203748!important;border:1px solid #8bcce9!important;border-radius:12px!important;min-height:46px;font:600 15px/1.25 Arial,sans-serif;padding:12px 18px;cursor:pointer;touch-action:manipulation}
.dbn-estate-views button{display:block;width:auto;height:auto;min-width:180px;white-space:nowrap;text-shadow:none;transform:none!important}
.dbn-estate-views button::before,.dbn-estate-views button::after{display:none!important;content:none!important}
.dbn-estate-views button:hover,.dbn-diary-controls button:hover{background:#daf2fd!important}
.dbn-estate-views button:focus-visible,.dbn-diary-controls button:focus-visible,.dbn-estate-diary .opm-construction-tabs__button:focus-visible{outline:3px solid #f96b11!important;outline-offset:3px}
.dbn-estate-views button:disabled,.dbn-diary-controls button:disabled{opacity:.55;cursor:default}
.dbn-estate-view-status,.dbn-estate-view-hint{margin:6px auto!important;text-align:center;color:#203748;font:500 14px/1.5 Arial,sans-serif;max-width:680px}
.dbn-estate-view-hint{font-size:13px;font-weight:400}
.dbn-estate-diary-container.elementor-element-3301d5b{max-width:1200px!important;width:100%!important;padding:10px 20px!important;margin-inline:auto!important;min-width:0}
.dbn-estate-diary{min-width:0;--opm-image-radius:12px;--opm-layout-gap:24px}
.dbn-estate-diary .opm-construction-tabs__nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px;min-width:0}
.dbn-estate-diary .opm-construction-tabs__button{width:100%;min-width:0;min-height:66px;padding:12px;border-radius:12px;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:normal;touch-action:manipulation}
.dbn-estate-diary .opm-construction-tabs__panel.is-active{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.dbn-estate-diary .opm-construction-tabs__image{height:auto;min-height:0!important;aspect-ratio:4/3;border-radius:12px;align-self:start}
.dbn-estate-diary .opm-construction-tabs__info{gap:20px;justify-content:flex-start}
.dbn-estate-diary .opm-construction-tabs__date{font-size:clamp(22px,2.3vw,30px);margin-bottom:16px;line-height:1.2}
.dbn-estate-diary .opm-construction-tabs__description{font-size:16px;line-height:1.6;overflow-wrap:break-word}
.dbn-estate-diary .opm-construction-tabs__gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dbn-estate-diary .opm-construction-tabs__gallery img{aspect-ratio:4/3;border-radius:10px}
.dbn-diary-controls{display:none}
@media(max-width:1000px){
 .dbn-estate-diary .opm-construction-tabs__nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dbn-estate-diary .opm-construction-tabs__panel.is-active{grid-template-columns:1fr}
 .dbn-estate-diary .opm-construction-tabs__image{width:100%;max-height:430px;aspect-ratio:16/9}
 .dbn-estate-diary .opm-construction-tabs__panel.is-image-right .opm-construction-tabs__image,
 .dbn-estate-diary .opm-construction-tabs__panel.is-image-right .opm-construction-tabs__info{order:initial}
 .dbn-estate-diary .opm-construction-tabs__gallery{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:600px){
 body .elementor.elementor-206 #plan-osiedla.dbn-estate-plan-intro{padding:20px 12px 0!important}
 .dbn-estate-diary-intro#dziennik-budowy{padding:0!important}
 .dbn-estate-plan-intro .dbn-intro h2{line-height:1.2!important}
 .dbn-estate-plan-intro .dbn-intro p:not(.dbn-intro__eyebrow){font-size:15px!important;line-height:1.55!important}
 .dbn-estate-map-container.elementor-element-0717f09{padding:12px 10px 20px!important}
 .dbn-estate-map .dbn-estate-viewer{border-radius:12px}
 .dbn-estate-views{gap:8px;margin-top:12px}
 .dbn-estate-views button{flex:1;min-width:0;max-width:220px;padding:11px 8px;font-size:13px}
 .dbn-estate-view-status{font-size:13px}
 .dbn-estate-view-hint{padding:0 6px;font-size:12px}
 .dbn-estate-diary-container.elementor-element-3301d5b{padding:10px 12px!important}
 .dbn-diary-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#f1f7fb;font:500 14px/1.4 Arial,sans-serif}
 .dbn-diary-controls button{width:46px;padding:8px;font-size:22px}
 .dbn-estate-diary .opm-construction-tabs__nav{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;gap:8px;padding:3px 2px 10px;margin-bottom:18px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .dbn-estate-diary .opm-construction-tabs__button{flex:0 0 min(85%,260px);scroll-snap-align:start;min-height:66px;font-size:12px}
 .dbn-estate-diary .opm-construction-tabs__panel.is-active{gap:20px}
 .dbn-estate-diary .opm-construction-tabs__image{aspect-ratio:4/3;max-height:320px}
 .dbn-estate-diary .opm-construction-tabs__info{gap:18px}
 .dbn-estate-diary .opm-construction-tabs__gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .dbn-estate-diary .opm-construction-tabs__description{font-size:15px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){
 .dbn-estate-map .opm-front-layer{animation-duration:.001ms!important;transition:none!important}
 .dbn-estate-map .orbit-left .opm-front-layer--current,.dbn-estate-map .orbit-right .opm-front-layer--current{animation-duration:.001ms!important}
 .dbn-estate-map .orbit-left .opm-front-layer--next,.dbn-estate-map .orbit-right .opm-front-layer--next{animation-duration:.001ms!important}
 .dbn-estate-diary .opm-construction-tabs__nav{scroll-behavior:auto!important}
}

/* DBN diary stage arrows: fixed geometry; native labels/disabled/clicks unchanged. */
.dbn-estate-diary .dbn-diary-controls>button{
 display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;min-width:46px;
 padding:0;font-size:0!important;line-height:0;
}
.dbn-estate-diary .dbn-diary-controls>button::before{
 content:"";display:block;width:24px;height:24px;background:currentColor;
 --dbn-diary-stage-chevron:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m9%205%207%207-7%207%22/%3E%3C/svg%3E");
 -webkit-mask:var(--dbn-diary-stage-chevron) center/24px 24px no-repeat;
 mask:var(--dbn-diary-stage-chevron) center/24px 24px no-repeat;
}
.dbn-estate-diary .dbn-diary-controls>button:first-child::before{transform:rotate(180deg)}
.dbn-estate-diary .dbn-diary-controls>button::after{content:none;display:none}