.sm-shell{--sm-green:#165b43;--sm-muted:#617469;--sm-line:#dce7df;background:#f5f8f5;padding:32px 0 56px;color:#163c2d;min-height:60vh}.sm-shell *{box-sizing:border-box}.sm-shell .container{max-width:1200px}.sm-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 25px}.sm-heading h1{font-size:clamp(27px,4vw,40px);line-height:1.15;margin:10px 0}.sm-heading p,.sm-panel p,.sm-unit-card p{color:var(--sm-muted);line-height:1.6}.sm-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.13em;font-weight:800;color:var(--sm-green)}.sm-back{display:block;color:var(--sm-green);font-size:14px;margin-bottom:20px}.sm-panel{background:#fff;border:1px solid var(--sm-line);border-radius:16px;padding:24px;min-width:0;margin-bottom:20px}.sm-panel h2{font-size:22px;margin:0 0 18px}.sm-panel h3{font-size:17px;margin:0 0 12px}.sm-shell fieldset{min-width:0}.sm-shell legend{font-size:19px;font-weight:800;padding:0 6px}.sm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sm-shell label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;min-width:0}.sm-shell input:not([type=checkbox]),.sm-shell select,.sm-shell textarea{width:100%;min-width:0;max-width:100%;border:1px solid #cddbd2;background:#fff;border-radius:9px;padding:12px;color:#173f2d;font:inherit}.sm-shell input:focus,.sm-shell textarea:focus,.sm-shell select:focus{outline:3px solid #bed9c9;outline-offset:1px}.sm-shell input[type=checkbox]{accent-color:var(--sm-green);width:18px;height:18px;flex-shrink:0}.sm-shell .sm-check{flex-direction:row;align-items:center;font-weight:500;line-height:1.5}.sm-wide{grid-column:1/-1}.sm-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.sm-actions .btn{white-space:normal;text-align:center}.sm-shell .btn{max-width:100%}.sm-note{color:var(--sm-muted);font-size:13px;line-height:1.6}.sm-error,.sm-success{padding:15px 18px;border-radius:10px;margin:0 0 20px;line-height:1.5;overflow-wrap:anywhere}.sm-error{background:#fff0ed;color:#923a26;border:1px solid #edc5b9}.sm-success{background:#e8f4eb;color:#195b36;border:1px solid #bfdfc8}.sm-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:24px;align-items:start}.sm-sidebar{position:sticky;top:95px}.sm-search{display:grid;grid-template-columns:minmax(150px,2fr) repeat(2,minmax(120px,1fr)) minmax(80px,.6fr) auto;gap:12px;align-items:end}.sm-search .btn{min-height:46px}.sm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sm-unit-card{border:1px solid var(--sm-line);background:#fff;border-radius:15px;overflow:hidden;min-width:0}.sm-card-image{display:block;aspect-ratio:1.55;overflow:hidden;background:#e9eee9}.sm-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.sm-card-image:hover img{transform:scale(1.035)}.sm-card-body{padding:20px}.sm-card-body h3{margin:7px 0 8px;font-size:20px;line-height:1.3}.sm-card-body>small{color:var(--sm-muted)}.sm-card-body p{margin:8px 0}.sm-price{font-size:23px;font-weight:800;color:var(--sm-green)!important}.sm-price small{font-size:13px;font-weight:500}.sm-total{font-size:14px;font-weight:600}.sm-tags{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.sm-tags span,.sm-badge{background:#edf4ef;padding:6px 9px;border-radius:7px;font-size:12px;color:#34624c}.sm-badge{display:inline-block;white-space:nowrap}.sm-badge-review{background:#fff0dc;color:#8b5515}.sm-badge-archived,.sm-badge-draft{background:#f0f1f0;color:#6d766f}.sm-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,70%);overflow:auto;scroll-snap-type:x mandatory;gap:10px;border-radius:15px;margin-bottom:25px}.sm-gallery button{border:0;background:#e2eae4;padding:0;aspect-ratio:1.65;cursor:zoom-in;scroll-snap-align:start}.sm-gallery img{width:100%;height:100%;object-fit:cover}.sm-no-photo{display:grid;place-items:center;min-height:180px;background:#e5eee7;border-radius:14px;color:#657d6c;margin-bottom:20px}.sm-photo-dialog{width:min(1000px,94vw);max-height:92vh;padding:18px;border:0;border-radius:14px;background:#fff;color:#183f2d}.sm-photo-dialog::backdrop{background:#10281fce}.sm-photo-dialog>img{display:block;width:100%;height:65vh;object-fit:contain;background:#f1f5f2;margin:18px 0}.sm-photo-dialog>[data-sm-close]{display:block;margin-left:auto;background:#edf3ee;border:0;border-radius:50%;font-size:27px;width:38px;height:38px;cursor:pointer}.sm-photo-dialog .sm-actions{justify-content:center}.sm-photo-edit{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;margin:20px 0}.sm-photo-edit img{width:100%;height:110px;object-fit:cover;border-radius:8px}.sm-photo-edit span{display:flex;align-items:center;gap:5px;font-size:12px}.sm-quote{margin:18px 0}.sm-quote>div{display:flex;justify-content:space-between;gap:15px;font-size:14px;padding:9px 0}.sm-quote-total{border-top:1px solid var(--sm-line);font-size:17px!important;margin-top:6px}.sm-booking-form{display:grid;gap:16px}.sm-booking-form fieldset{border:0;padding:0;margin:0}.sm-booking-form fieldset>label{margin-top:12px}.sm-booking-form .btn{width:100%}.sm-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sm-month h3{text-transform:capitalize}.sm-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.sm-days>b{font-size:12px;padding:7px 0;color:var(--sm-muted)}.sm-day{display:flex;min-height:34px;flex-direction:column;justify-content:center;border-radius:6px;background:#edf5ef;font-size:13px;padding:5px 1px;color:#245e3c}.sm-day small{font-size:9px}.sm-day-blocked{background:#f2e5de;color:#925737}.sm-day-reserved{background:#dee7f3;color:#365b84}.sm-past{opacity:.5}.sm-legend{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;margin-top:16px}.sm-legend span:before{content:'';display:inline-block;width:10px;height:10px;border-radius:3px;background:#edf5ef;margin-right:5px}.sm-legend .reserved:before{background:#dee7f3}.sm-legend .blocked:before{background:#f2e5de}.sm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.sm-kpis>div{border:1px solid var(--sm-line);border-radius:12px;background:#fff;padding:18px}.sm-kpis span{display:block;color:var(--sm-muted);font-size:13px}.sm-kpis strong{display:block;font-size:29px;margin-top:7px}.sm-property-head,.sm-unit-row,.sm-booking-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.sm-unit-row,.sm-booking-row{padding:20px 0;border-top:1px solid var(--sm-line)}.sm-unit-row>div,.sm-booking-row>div{min-width:0}.sm-unit-row h3,.sm-booking-row h3{margin:0 0 6px}.sm-unit-row p,.sm-booking-row p{margin:6px 0;font-size:14px;overflow-wrap:anywhere}.sm-booking-row .sm-actions{max-width:290px}.sm-booking-row .sm-actions form{display:contents}.sm-empty{padding:36px;text-align:center;border:1px dashed #becfc3;border-radius:14px;color:var(--sm-muted)}.sm-pagination{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;margin:26px 0}.sm-location{position:relative}.sm-suggestions{position:absolute;top:100%;left:0;right:0;z-index:20;border:1px solid #c7d7cb;background:#fff;border-radius:10px;box-shadow:0 8px 30px #173f2d20;max-height:250px;overflow:auto}.sm-suggestions button{display:block;text-align:left;width:100%;padding:11px;border:0;border-bottom:1px solid #eee;background:#fff;color:#173f2d;cursor:pointer}.sm-suggestions button:focus,.sm-suggestions button:hover{background:#eaf2ec}.sm-prose{white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}.sm-shell [hidden]{display:none!important}
@media(max-width:1000px){.sm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-layout{grid-template-columns:minmax(0,1fr) 320px}.sm-search{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-search label:first-child{grid-column:1/-1}}
@media(max-width:760px){.sm-shell{padding-top:24px}.sm-heading{flex-direction:column;gap:12px}.sm-layout{display:flex;flex-direction:column}.sm-layout>div,.sm-sidebar{width:100%;position:static}.sm-panel{padding:20px}.sm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-property-head,.sm-unit-row,.sm-booking-row{flex-direction:column;gap:12px}.sm-booking-row .sm-actions{max-width:100%}.sm-months{gap:16px}.sm-heading h1{overflow-wrap:anywhere}}
@media(max-width:480px){.sm-grid,.sm-form-grid,.sm-months{grid-template-columns:minmax(0,1fr)}.sm-wide{grid-column:auto}.sm-panel{padding:17px;border-radius:12px}.sm-gallery{grid-auto-columns:90%}.sm-card-body{padding:17px}.sm-search{gap:10px}.sm-search .btn{grid-column:1/-1}.sm-search input{padding:10px!important;font-size:14px!important}.sm-actions{gap:8px}.sm-actions .btn{font-size:13px;padding:10px 14px}.sm-kpis>div{padding:14px}.sm-photo-dialog{padding:12px}.sm-photo-dialog>img{height:57vh}}
.sm-shell .advertiser-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding:12px;background:#fff;border:1px solid var(--sm-line);border-radius:12px;width:100%;position:static}.sm-shell .advertiser-nav a{display:block;padding:9px 12px;border-radius:8px;font-size:13px;color:#2e6148}.sm-shell .advertiser-nav a.active,.sm-shell .advertiser-nav a.primary{background:#e5f1e9;font-weight:700}.sm-shell .sm-unit-row .sm-actions form{display:flex;flex-wrap:wrap;gap:8px}.sm-shell .sm-unit-row .sm-actions{max-width:100%}

.sm-shell button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.sm-unit-list{margin-top:20px}.sm-unit-list>summary{padding:12px 0;cursor:pointer;font-weight:700;color:#246149}.sm-mobile-booking{display:none}.sm-shell #rezervacija{scroll-margin-top:90px}@media(max-width:760px){.sm-mobile-booking{display:inline-block;margin:8px 0 4px;font-weight:700;color:#1d694c;text-decoration:underline;text-underline-offset:4px}}

.sm-search>.sm-extra-filters{grid-column:1/-1}.sm-extra-filters>summary{cursor:pointer;font-size:14px;font-weight:700;padding:8px 0;color:#285d43}.sm-extra-filters .sm-form-grid{margin-top:14px}

/* v23: compact public arrival/departure choices; host calendar unchanged. */
.zkd-property-page #jedinice .sm-search{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
@media(max-width:760px){
 .zkd-property-page #jedinice{padding:14px}
 .zkd-property-page #jedinice h2{font-size:18px;margin-bottom:12px}
 .zkd-property-page #jedinice .sm-search,.zkd-unit-page #rezervacija [data-sm-booking]>.sm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .zkd-property-page #jedinice .sm-search label,.zkd-unit-page #rezervacija [data-sm-booking]>.sm-form-grid label{gap:5px;font-size:13px}
 .zkd-property-page #jedinice .sm-search input,.zkd-unit-page #rezervacija [data-sm-booking]>.sm-form-grid input{height:44px;min-height:44px;padding:9px 7px!important;font-size:16px!important}
 .zkd-property-page #jedinice .sm-search .btn{grid-column:auto;min-height:44px;margin:0;padding:9px;font-size:13px}
 .zkd-unit-page #rezervacija [data-sm-booking]>.sm-form-grid .sm-wide{grid-column:1/-1}
}

/* Optional calendar: one compact month inside the browser's modal top layer. */
.sm-shell.sm-calendar-dialog{width:min(440px,calc(100vw - 24px));min-height:0;max-height:calc(100dvh - 32px);margin:auto;padding:16px;border:1px solid #d9e5eb;border-radius:18px;background:#fff;color:#303b43;box-shadow:0 18px 70px #17374640;overflow:auto;overscroll-behavior:contain}
.sm-calendar-dialog::backdrop{background:#17374688;backdrop-filter:blur(3px)}
.sm-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.sm-calendar-heading h2{font-size:18px;line-height:1.3;margin:0}.sm-calendar-heading button,.sm-calendar-pager button{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid #d8e5eb;border-radius:10px;background:#f3f8fa;color:#176d81;font:inherit;font-size:24px;cursor:pointer}.sm-calendar-heading button:focus-visible,.sm-calendar-pager button:focus-visible{outline:3px solid #80c6d5;outline-offset:2px}
.sm-calendar-pager{display:grid;grid-template-columns:40px 1fr 40px;gap:8px;align-items:center;margin-bottom:10px}.sm-calendar-pager strong{text-align:center;text-transform:capitalize;font-size:15px}.sm-calendar-pager button:disabled{opacity:.4;cursor:default}
.sm-calendar-dialog .sm-months{display:block}.sm-calendar-dialog .sm-month>h3{display:none}.sm-calendar-dialog .sm-days{gap:3px}.sm-calendar-dialog .sm-days>b{padding:5px 0;font-size:11px}.sm-calendar-dialog .sm-day{height:38px;min-height:38px;padding:3px 0;font-size:14px}.sm-calendar-dialog .sm-legend{font-size:11px;gap:12px;margin-top:12px}.sm-calendar-dialog .sm-calendar-note{font-size:12px;line-height:1.45;color:#536976;margin:10px 0}.sm-calendar-dialog [data-sm-calendar-apply]{width:100%;min-height:44px;font-size:14px;padding:10px}
@media(max-width:380px){.sm-shell.sm-calendar-dialog{padding:12px}.sm-calendar-heading h2{font-size:16px}.sm-calendar-dialog .sm-legend{gap:8px}}

.sm-calendar-dialog .sm-calendar-feedback{font-size:12px;line-height:1.5;padding:9px;border-radius:8px;background:#fff0ed;color:#923a26;margin:10px 0}
/* Keep the optional calendar action visible and the whole action bar centered. */
.zkd-unit-actions:has([data-sm-calendar-open]){display:flex;left:50%;right:auto;transform:translateX(-50%);width:min(680px,calc(100% - 24px));bottom:18px}
@media(max-width:760px){.zkd-unit-actions:has([data-sm-calendar-open]){width:calc(100% - 16px);bottom:calc(65px + env(safe-area-inset-bottom,0px))}}

.sm-shell .sm-delete-link{color:#a72a30;border-color:#e5c1c2}
.sm-shell .sm-delete-link:hover,.sm-shell .sm-delete-link:focus-visible{background:#fff2f2;color:#8f1b25}
.sm-shell .sm-delete-submit{background:#a72a30;border:1px solid #a72a30;color:#fff}
.sm-shell .sm-delete-submit:hover,.sm-shell .sm-delete-submit:focus-visible{background:#8b1f28;color:#fff}
.sm-delete-panel{max-width:660px;margin:0 auto;overflow-wrap:anywhere}
.sm-delete-panel h1{margin:0 0 14px}.sm-delete-panel h2{margin:0 0 8px}
.sm-delete-panel .sm-check{margin:0 0 16px}
.sm-delete-panel form>.btn{margin:0 6px 6px 0}
.sm-manage-anchor{scroll-margin-top:170px}
.sm-manage-tabs,.sm-manage-filter{margin-bottom:14px}
.sm-manage-filter{align-items:end}
.sm-manage-row .sm-actions{justify-content:flex-start}
@media(max-width:760px){
 .sm-manage-row .sm-actions.admin-mobile-card-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}
 .sm-manage-row .sm-actions.admin-mobile-card-actions .btn{flex:0 1 auto;min-height:44px;padding:8px 11px;white-space:normal}
 .sm-manage-row .sm-actions.admin-mobile-card-actions form{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin:0}
}
