/* V3.48 — compact public professional profiles, mobile catalogue and planning. */
:root{--sb348-forest:#174b36;--sb348-line:#e1e9e3}
.sb348-portfolio-hero{max-width:1190px;margin:20px auto 0;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;height:280px;border-radius:20px;overflow:hidden}
.sb348-portfolio-hero[hidden]{display:none}
.sb348-hero-cover{position:relative;display:block;overflow:hidden;background:#eef4ef}
.sb348-hero-cover img,.sb348-hero-thumbs img{width:100%;height:100%;object-fit:cover}
.sb348-hero-cover span{position:absolute;bottom:12px;right:12px;padding:9px 12px;background:#ffffffdf;border-radius:9px;font-weight:700;font-size:12px}
.sb348-hero-thumbs{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,1fr);gap:8px;min-width:0}
.sb348-hero-thumbs a{display:block;overflow:hidden;background:#f1f5f2}
.sb348-profile-tabs{display:flex;align-items:center;gap:22px;max-width:1180px;margin:0 auto 22px;border-bottom:1px solid #e2e9e4;padding:0 20px;overflow-x:auto;scrollbar-width:none}
.sb348-profile-tabs a{font-size:13px;font-weight:700;white-space:nowrap;padding:13px 0;color:#607469;border-bottom:3px solid transparent}
.sb348-profile-tabs a:hover,.sb348-profile-tabs a.is-current{border-color:#216d4c;color:#173b29}
.sb348-services-tools{margin:0 0 15px}
.sb348-search{display:flex;align-items:center;gap:10px;border:1px solid #dfe8e1;border-radius:13px;padding:0 14px;background:#fff;color:#60746b;max-width:100%}
.sb348-search input{width:100%;min-width:0;height:48px;border:0;background:transparent;outline:none;font:inherit;font-size:15px;color:#1c3929}
.sb348-search:focus-within{outline:2px solid #81b99b;outline-offset:1px}
.sb348-service-categories{display:grid;gap:10px}
.sb348-category{background:#fff;border:1px solid #e1e9e3;border-radius:15px;overflow:hidden}
.sb348-category[hidden],.sb348-service[hidden]{display:none!important}
.sb348-category>summary{cursor:pointer;list-style:none;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;font-weight:700;color:#20362c}
.sb348-category>summary::-webkit-details-marker{display:none}
.sb348-category>summary small{font-size:11px;color:#7d9083;background:#f1f6f2;border-radius:20px;margin-left:6px;padding:3px 7px}
.sb348-chevron{font-size:26px;font-weight:400;color:#60796b;line-height:1;transition:transform .15s}
.sb348-category[open] .sb348-chevron{transform:rotate(180deg)}
.sb348-service{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 17px;border-top:1px solid #edf1ee}
.sb348-service h3{font-family:inherit!important;font-size:15px!important;line-height:1.35!important;font-weight:650!important;margin:0!important;letter-spacing:0!important}
.sb348-service-info{flex:1;min-width:0}
.sb348-service p.sb348-desc{font-size:12px!important;line-height:1.55!important;color:#78867d;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.sb348-service-actions{display:flex;align-items:center;gap:13px;flex:0 0 auto}
.sb348-service-price{font-size:14px;font-weight:700;color:#172c20;white-space:nowrap}
.sb348-service-price small{display:block;color:#77877c;font-weight:500;font-size:11px;text-align:right;margin-top:2px}
.sb348-reserve{display:inline-flex;justify-content:center;align-items:center;min-height:38px;background:#174b36;color:#fff;border:0;border-radius:9px;padding:9px 14px;font-weight:700;font-size:12px;cursor:pointer;text-decoration:none}
.sb348-reserve:hover{background:#286c4c}
.sb348-no-results{padding:25px;color:#63796d;font-size:14px}
.sb33-section{max-width:1190px;margin:auto}
/* Calendar slot button choices are synchronized with the server-provided select. */
.sb348-slot-pills{display:flex;flex-wrap:wrap;gap:9px;min-width:0;grid-column:1/-1}
.sb348-slot-pills[hidden]{display:none}
.sb348-slot-pills button{border:1px solid #dbe7dd;background:#f7fbf8;color:#1b4a33;min-width:73px;min-height:42px;padding:10px 13px;border-radius:999px;font-size:14px;font-weight:700;cursor:pointer}
.sb348-slot-pills button[aria-pressed=true]{background:#174b36;color:white;border-color:#174b36}
@media(max-width:760px){
 .sb348-portfolio-hero{margin:8px 16px 0;grid-template-columns:1fr;height:180px;border-radius:16px}
 .sb348-hero-thumbs{display:none}
 .sb348-profile-tabs{gap:23px;margin:0 16px 17px;padding:0}
 .sb348-profile-tabs a{font-size:12px}
 .sb33-section{width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;padding:0!important;min-width:0}
 .sb33-section-head{display:flex!important;align-items:center!important;justify-content:space-between;gap:10px!important}
 .sb33-section-head h2{font-size:clamp(21px,5.6vw,27px)!important;line-height:1.23!important}
 .sb348-category>summary{padding:14px 15px;font-size:13px}
 .sb348-service{gap:12px;padding:14px 13px}
 .sb348-service h3{font-size:13px!important}
 .sb348-service p.sb348-desc{font-size:11px!important}
 .sb348-service-actions{flex-direction:column;align-items:flex-end;gap:6px}
 .sb348-service-price{font-size:13px}
 .sb348-service-price small{font-size:10px}
 .sb348-reserve{font-size:12px;min-height:35px;padding:8px 12px}
 .sb33-overlay{inset:0;overflow:hidden!important;padding:12px!important;align-items:center;justify-content:center;overscroll-behavior:contain}
 .sb33-modal{width:100%!important;min-width:0!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important;padding:24px 17px 20px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;box-sizing:border-box!important}
 .sb33-modal .sb33-fields{grid-template-columns:minmax(0,1fr)!important}
 .sb33-modal .sb33-fields label,.sb33-modal .sb33-fields input,.sb33-modal .sb33-fields select,.sb33-modal .sb33-fields textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:16px!important}
 .sb33-modal .sb33-fields label{font-size:13px!important}
 .sb33-modal .sb33-close{position:sticky!important;top:0!important;float:right;right:0!important;margin:-10px -4px 0 8px;z-index:9;width:42px;height:42px;background:#eaf5ee;box-shadow:0 2px 10px #16412a1c}
 .sb33-modal h2{font-size:23px!important;overflow-wrap:anywhere}
 .pub-catalog-section .public-dress-photo{height:330px;min-height:0;overflow:hidden}
 .pub-catalog-section .public-dress-photo img,.pub-catalog-section .public-placeholder{height:100%;width:100%;aspect-ratio:auto;object-fit:cover;object-position:center 30%}
 .pub-catalog-section .public-dress-body{gap:6px!important;padding:13px 15px!important}
 .pub-catalog-section .public-dress h3{font-size:18px!important}
 .pub-catalog-section .public-dress-bottom{margin-top:4px}
 .public-status.is-check{display:none!important}
 .pub-modal{inset:0;padding:12px!important;display:grid;place-items:center;overflow:hidden!important;overscroll-behavior:contain}
 .pub-modal-card{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;max-height:calc(100dvh - 24px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:22px 17px!important}
 .pub-modal-card .request-grid{grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0;gap:13px}
 .pub-modal-card .request-grid>*{min-width:0;max-width:100%;grid-column:1/-1!important}
 .pub-modal-card input,.pub-modal-card select,.pub-modal-card textarea{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important}
 .pub-modal-card input[type=date],.pub-modal-card input[type=time]{appearance:auto;-webkit-appearance:auto;min-height:49px;padding:10px!important}
 .pub-modal-card .pub-close{position:sticky!important;top:0!important;right:0!important;float:right;z-index:30;width:44px;height:44px;margin:0 -3px 0 4px;background:#eff6f1}
 .pub-modal-card .request-head{min-width:0;max-width:100%;padding-right:0;gap:10px}
 .pub-modal-card .request-head>div{min-width:0}
 .pub-modal-card .request-head h2{font-size:22px!important;overflow-wrap:anywhere}
}
@media(max-width:400px){.sb348-service-price small{font-size:10px}.pub-catalog-section .public-dress-photo{height:305px}}
/* App calendar: small screens show dates and event markers, not clipped event text. */
@media(max-width:760px){
 .planning-calendar-shell{overflow:visible!important;border:1px solid #e0e9e2!important;border-radius:22px!important;background:#fff!important;padding:9px 8px!important;box-shadow:0 9px 22px #153d2710}
 .planning-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;min-width:0!important;gap:4px!important;overflow:visible!important;border:0!important}
 .planning-month-grid .cal-cell{position:relative;min-width:0!important;min-height:62px!important;height:62px!important;padding:4px 0!important;border:0!important;border-radius:12px!important;background:#fff!important;display:flex;align-items:center;flex-direction:column;justify-content:flex-start}
 .planning-month-grid .cal-cell.muted-cell{background:transparent!important}
 .planning-month-grid .cal-cell.is-selected{background:#e6f3e9!important}
 .planning-month-grid .cal-cell .cal-day{width:100%;justify-content:center!important;display:flex!important;align-items:center!important}
 .planning-month-grid .cal-cell .cal-day-number{height:36px!important;width:36px!important;min-width:0!important;border-radius:50%!important;font-size:15px!important;font-weight:700!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important}
 .planning-month-grid .cal-cell.is-selected .cal-day-number{background:#174b36!important;color:#fff!important}
 .planning-month-grid .cal-cell .day-add,.planning-month-grid .cal-cell .planning-event,.planning-month-grid .cal-cell .planning-more{display:none!important}
 .planning-month-grid .cal-cell .sb348-event-dots{display:flex;gap:3px;justify-content:center;margin-top:3px;max-width:100%;height:6px}
 .sb348-event-dots i{display:block;border-radius:50%;width:6px;height:6px;background:#5b9d75}
 .sb348-event-dots i.dot-reservation{background:#ad8053}.sb348-event-dots i.dot-pickup{background:#477eae}.sb348-event-dots i.dot-return{background:#469469}.sb348-event-dots i.dot-appointment{background:#975fa9}
 .calendar-week{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;min-width:0!important;border:0!important;background:white!important;gap:0!important}
 .calendar-week strong{font-size:11px!important;text-align:center!important;min-width:0!important;padding:8px 0!important}
 .planning-nav{display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap}
 .planning-nav h2{order:-1;width:100%;font-size:19px!important;text-align:center;margin:0 0 5px}
 .planning-top .actions{display:none!important}
 .planning-day-panel .panel-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
 .planning-day-actions{width:auto;display:flex;gap:7px;flex-wrap:wrap}
 .planning-day-actions button{min-height:39px!important}
}
/* Desktop modal retains default sizes, but never wider than its viewport. */
.pub-modal-card,.sb33-modal{max-width:calc(100vw - 24px);box-sizing:border-box}
.pub-modal-card .request-grid>*{min-width:0}
/* Daily and weekly statistics */
.sb348-event-dots{display:none}
.sb348-analytics-tabs{display:flex;gap:6px;padding:5px;background:#eff6f1;border-radius:13px;margin:14px 0 20px;max-width:480px}
.sb348-analytics-tabs button{flex:1;min-height:43px;border:0;background:transparent;color:#526d5c;border-radius:10px;font:700 13px Sora,Arial,sans-serif;cursor:pointer}
.sb348-analytics-tabs button.active{background:white;color:#174b36;box-shadow:0 2px 8px #17452d18}
.sb348-daily-view[hidden],.sb348-month-view[hidden],#sb348YearView[hidden]{display:none!important}
.sb348-daily-view,.sb348-month-view{padding:24px;max-width:1200px}
.sb348-daily-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.sb348-daily-head h2{font-size:23px;line-height:1.3;margin:4px 0}
.sb348-daily-head label{display:grid;gap:6px;font-size:12px;color:#627b6a;font-weight:700}
.sb348-daily-head input,.sb348-daily-head select{width:100%;font:inherit;font-size:16px;border:1px solid #dce7df;background:#fff;padding:10px;border-radius:10px;max-width:250px}
.sb348-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 16px}
.sb348-stat-cards article{min-width:0;background:#f7fbf8;border:1px solid #e3ebe5;border-radius:13px;padding:16px}
.sb348-stat-cards span{display:block;color:#64796b;font-size:12px;margin-bottom:9px}
.sb348-stat-cards strong{display:block;color:#173929;font-size:24px;line-height:1.2;overflow-wrap:anywhere}
.sb348-week-list{margin-top:18px;display:grid;gap:6px}
.sb348-week-list>div{display:grid;grid-template-columns:1fr auto auto;gap:13px;padding:9px 4px;border-bottom:1px solid #e6eee7;font-size:12px}
.sb348-week-list span{font-weight:700}.sb348-week-list small{color:#698073}
@media(max-width:760px){.sb348-daily-head{align-items:stretch;flex-direction:column}.sb348-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sb348-stat-cards article{padding:13px}.sb348-stat-cards strong{font-size:19px}.sb348-week-list>div{gap:7px}.sb348-analytics-tabs{max-width:none;width:100%}}
body.sb348-public-modal-open{overflow:hidden!important}
.sb348-booking-calendar{border:1px solid #e0e9e2;border-radius:17px;background:#fff;padding:16px;margin:18px 0;min-width:0;max-width:100%}
.sb348-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sb348-picker-head strong{font-size:14px;color:#173c2b}
.sb348-picker-head>div{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:#536958}
.sb348-picker-head button{display:grid;place-items:center;width:35px;height:35px;padding:0;border-radius:9px;border:1px solid #d9e8dd;background:#f7faf8;font-size:22px;cursor:pointer;color:#285d43}
.sb348-picker-head button:disabled{opacity:.4;cursor:not-allowed}
.sb348-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:17px 0 10px;min-width:0}
.sb348-dow{text-align:center;padding:5px 0;font-size:12px;font-weight:700;color:#82938a}
.sb348-day{aspect-ratio:1;min-width:0;max-height:48px;border:1px solid transparent;background:#f3f7f4;border-radius:50%;color:#213d2d;font-weight:650;font-size:14px;padding:0;cursor:pointer}
.sb348-day:hover,.sb348-day:focus-visible{border-color:#82ae95;outline:0}
.sb348-day:disabled{background:transparent;color:#b3bfb6;cursor:not-allowed}
.sb348-day[aria-pressed=true]{background:#174b36;color:#fff}
.sb348-picker-note{font-size:11px;color:#687f70;margin:8px 0 0;line-height:1.5}
.sb348-native-date-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.sb348-booking-calendar{padding:13px 11px;margin:14px 0}.sb348-picker-head{align-items:flex-start;flex-direction:column;gap:6px}.sb348-picker-head>div{width:100%;justify-content:space-between}.sb348-month-grid{gap:3px}.sb348-day{font-size:13px}}
.sb348-photo-open{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:zoom-in}
.sb348-photo-open img{display:block;width:100%;height:100%;object-fit:cover}
.sb348-photo-overlay{position:fixed;inset:0;z-index:10000;background:#15291fe8;display:flex;align-items:center;justify-content:center;padding:16px;overscroll-behavior:contain}
.sb348-photo-overlay img{display:block;max-width:100%;max-height:90dvh;object-fit:contain}
.sb348-photo-close{position:absolute;z-index:1;right:16px;top:calc(14px + env(safe-area-inset-top));border:0;border-radius:50%;width:46px;height:46px;background:#fff;color:#173d2b;font-size:27px;cursor:pointer}
.sb348-business-address,.sb348-business-rating{font-size:13px;color:#65786a;line-height:1.5;margin:6px 0}
.sb348-business-rating{color:#9c6f28;font-weight:700}
.sb348-business-address[hidden],.sb348-business-rating[hidden]{display:none!important}
.sb348-native-slot-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
