/* APP-only default prices and platform settings. */
#calendarView .sg-default-price-row{position:relative}
#calendarView .sg-default-all-prices{position:absolute;left:0;right:0;bottom:0;height:27px;pointer-events:none;z-index:3}
#calendarView .sg-default-night{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;height:25px;font-size:11px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;color:#073763;overflow:hidden;letter-spacing:-.3px}
#calendarView .sg-default-all-prices>.sg-default-night{position:absolute;top:1px}
#calendarView .sg-default-night.is-past,#calendarView .sg-default-night.is-booked{color:#94a3b4;font-weight:450}
#calendarView .sg-default-night.is-booked{color:rgb(148 163 180 / .7)}
#calendarView .sg-default-night.is-unavailable{color:#a8b4c1;font-weight:450}
#calendarView .sg-default-property-caption{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%;white-space:normal;line-height:1.35}
#calendarView .sg-default-property-caption>strong{font-size:12px;font-weight:650;overflow-wrap:anywhere}
#calendarView .sg-default-property-caption>small{font-size:9px;color:var(--sg-text-muted,#8498aa);font-weight:400}
.sg-default-property-platform,.sg-default-single-platform{display:inline-flex;align-items:center;gap:5px;color:var(--sg-text-muted,#7890a4);font-size:10px;font-weight:450;max-width:100%;min-width:0}
.sg-default-platform-logo{display:inline-block;text-align:center;vertical-align:middle;width:21px;height:21px;flex:none;overflow:hidden;line-height:1;background:transparent;color:var(--sg-text-muted,var(--sg-theme-muted,#647e94))}
.sg-default-platform-logo img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.sg-default-property-platform .sg-default-platform-logo,.sg-default-single-platform .sg-default-platform-logo{width:15px;height:15px}
.sg-default-platform-logo:has(img[src^="data:"]){border-radius:4px}
.sg-default-logo-airbnb img{width:166%;max-width:none;height:124.5%;transform:translate(-19.9%,-9.8%)}
.sg-default-logo-booking{border-radius:24% 24% 24% 0;background:#19447d}
.sg-default-logo-booking img{width:125%;max-width:none;height:125%;transform:translate(-10%,-10%)}
#calendarView .sg-default-week{grid-template-rows:28px repeat(var(--sg-week-lanes,1),32px) 25px!important;min-height:calc(53px + var(--sg-week-lanes,1)*32px)!important}
#calendarView .sg-default-week-prices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-column:1/-1;min-width:0;z-index:3;pointer-events:none}
#calendarView .sg-default-week-prices>.sg-default-night{border-right:1px solid var(--sg-border-ui,var(--sg-theme-border,#dfe7ee))}
#calendarView .sg-default-week-prices>.sg-default-night:last-child{border-right:0}
.sg-default-single-platform{margin:4px 0 8px}
.sg-default-pricing-dialog{box-sizing:border-box;position:fixed;inset:0 0 0 auto;width:450px;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-left:1px solid var(--sg-border-ui,var(--sg-theme-border,#dce5ed));border-radius:0;background:var(--sg-card-bg,var(--sg-theme-surface,#fff));color:var(--sg-text,var(--sg-theme-text,#17243b));box-shadow:-15px 0 60px #0b173522;overflow:hidden;font-family:inherit}
.sg-default-pricing-dialog[open]{display:flex;flex-direction:column}
.sg-default-pricing-dialog::backdrop{background:#0b1f3640;backdrop-filter:blur(1.5px)}
.sg-default-pricing-dialog button,.sg-default-pricing-dialog input,.sg-default-pricing-dialog select,.sg-default-pricing-dialog textarea{font:inherit;box-sizing:border-box}
.sg-default-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:26px 24px 22px;border-bottom:1px solid var(--sg-border-ui,var(--sg-theme-border,#dce5ed));flex:none}
.sg-default-dialog-brand{display:flex;align-items:center;gap:12px;min-width:0}
.sg-default-dialog-brand>.sg-default-platform-logo{width:43px;height:43px;padding:7px;border:1px solid var(--sg-border-ui,var(--sg-theme-border,#dce5ed));border-radius:11px;background:var(--sg-surface-soft,var(--sg-theme-surface,#f7fbfc))}
.sg-default-eyebrow{display:block;color:var(--sg-accent-text,#129aa3);font-size:9px;letter-spacing:1.3px;font-weight:650;text-transform:uppercase;line-height:1.5}
.sg-default-dialog-header h2{font-size:22px;line-height:1.3;letter-spacing:-.6px;margin:5px 0 0;overflow-wrap:anywhere}
.sg-default-dialog-header p{font-size:11px;margin:5px 0 0;color:var(--sg-text-muted,#7c93a6);line-height:1.5;overflow-wrap:anywhere}
.sg-default-close{width:38px;min-width:38px;min-height:38px;border:0;background:var(--sg-surface-soft,var(--sg-theme-surface,#f3f7fa));color:var(--sg-text-muted,#7691a3);border-radius:9px;font-size:24px!important;line-height:1;padding:4px;cursor:pointer}
.sg-default-dialog-body{padding:21px 24px;min-height:0;overflow-y:auto;overflow-x:hidden;flex:1;overscroll-behavior:contain}
.sg-default-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0 0 15px}
.sg-default-field>span{font-size:11px;font-weight:550;line-height:1.5;color:var(--sg-text-muted,var(--sg-theme-muted,#607e94))}
.sg-default-field>input,.sg-default-field>select,.sg-default-field>textarea{width:100%;min-width:0;min-height:44px;border:1px solid var(--sg-control-border,var(--sg-theme-border,#dce5ed));border-radius:8px;background:var(--sg-card-bg,var(--sg-theme-surface,#fff));color:var(--sg-text,var(--sg-theme-text,#17243b));padding:10px 12px;font-size:13px;line-height:1.5;outline-offset:2px}
.sg-default-field>textarea{resize:vertical;min-height:83px;max-height:250px}
.sg-default-field>textarea::placeholder{color:var(--sg-text-muted,#93a7b6);opacity:.75}
.sg-default-field>input[readonly],.sg-default-field>textarea[readonly],.sg-default-field>select:disabled{background:var(--sg-surface-soft,var(--sg-theme-surface,#f5f8fa));opacity:1}
.sg-default-platform-tabs{display:flex;gap:4px;margin:19px 0 18px;padding:4px;background:var(--sg-surface-soft,var(--sg-theme-surface,#f2f6f8));border-radius:9px;overflow-x:auto;max-width:100%}
.sg-default-platform-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1 0 auto;min-width:90px;min-height:42px;padding:7px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--sg-text-muted,#8296a5);font-size:10px;cursor:pointer}
.sg-default-platform-tabs button.active{border-color:var(--sg-control-border,var(--sg-theme-border,#dce5ed));background:var(--sg-card-bg,var(--sg-theme-surface,#fff));color:var(--sg-text,#123b5a);font-weight:600;box-shadow:0 1px 4px #173b5110}
.sg-default-platform-tabs .sg-default-platform-logo{width:16px;height:16px}
.sg-default-price-editor{padding:17px;border:1px solid var(--sg-border-ui,var(--sg-theme-border,#dce5ed));border-radius:11px;margin-top:18px;background:var(--sg-card-bg,var(--sg-theme-surface,#fff))}
.sg-default-price-editor .sg-default-field{margin-bottom:12px}
.sg-default-price-editor .sg-default-field>input{font-size:29px;font-weight:650;letter-spacing:-.6px;color:#073763;min-height:63px;border-color:#9bd9df;box-shadow:0 0 0 3px #25b1bc0b}
.sg-default-price-editor>p{color:var(--sg-text-muted,#7e96a8);font-size:10px;line-height:1.75;margin:0}
.sg-default-detail-section{padding:23px 0 18px;border-bottom:1px solid var(--sg-border-ui,var(--sg-theme-border,#e5edf2))}
.sg-default-detail-section h3{font-size:13px;line-height:1.5;margin:0 0 15px}
.sg-default-stay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sg-default-stay-grid input{font-size:18px;font-weight:600;color:#073763}
.sg-default-unlimited{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--sg-text-muted,var(--sg-theme-muted,#6f8799));line-height:1.5}
.sg-default-unlimited input{width:16px;height:16px;flex:none;accent-color:var(--sg-accent,#21bac3);margin:0}
.sg-default-hint{font-size:9px;line-height:1.75;color:var(--sg-text-muted,#94a5b2);margin:10px 0 0}
.sg-default-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:15px 20px 19px;border-top:1px solid var(--sg-border-ui,var(--sg-theme-border,#dce5ed));flex:none;background:var(--sg-card-bg,var(--sg-theme-surface,#fff))}
.sg-default-dialog-footer>small{font-size:9px;line-height:1.6;color:var(--sg-text-muted,#92a4b2);margin-right:auto;max-width:180px}
.sg-default-primary,.sg-default-secondary,.sg-default-configure{min-height:42px;border:1px solid var(--sg-control-border,var(--sg-theme-border,#dce5ed));border-radius:8px;background:var(--sg-card-bg,var(--sg-theme-surface,#fff));color:var(--sg-text,var(--sg-theme-text,#1c3850));font-size:12px;padding:9px 13px;cursor:pointer;line-height:1.4}
.sg-default-primary{border-color:var(--sg-accent,#45c8ce);background:var(--sg-accent,#45c8ce);color:var(--sg-theme-text,#073a44);font-weight:600}
.sg-default-primary:disabled,.sg-default-secondary:disabled,.sg-default-configure:disabled{opacity:.5;cursor:default}
.sg-default-form-status{font-size:11px;line-height:1.7;color:var(--sg-accent-text,#0a8e96);margin:15px 0}
.sg-default-form-status[role=alert]{color:#b34848}
.sg-default-empty{padding:28px 17px;border:1px dashed var(--sg-border-ui,var(--sg-theme-border,#dce5ed));background:var(--sg-surface-soft,var(--sg-theme-surface,#f7fafc));border-radius:11px;margin:20px 0;text-align:center;line-height:1.75}
.sg-default-empty>strong{font-size:13px;font-weight:550;display:block}
.sg-default-empty>p,.sg-default-readonly{font-size:11px;color:var(--sg-text-muted,#7e96a8);line-height:1.75}
.sg-default-empty .sg-default-configure{margin-top:12px}
.sg-default-pricing-dialog button:focus-visible,.sg-default-pricing-dialog input:focus-visible,.sg-default-pricing-dialog select:focus-visible,.sg-default-pricing-dialog textarea:focus-visible{outline:2px solid var(--sg-selection-text,#17a5b2);outline-offset:2px}
html[data-sg-theme=midnight] #calendarView .sg-default-night.is-available,html[data-sg-theme=midnight] .sg-default-price-editor input,html[data-sg-theme=midnight] .sg-default-stay-grid input{color:#a3d8f3}
/* Desktop month fitting hides overflow reservations behind its existing More
   action. Price rows follow the visible tracks, and dense months remain scrollable. */
@media(min-width:1101px) and (pointer:fine){
 body.sg-app-platform-calendar.sg-desktop-month-calendar #app #calendarView.active-view{display:flex!important;flex-direction:column;min-height:0}
 body.sg-app-platform-calendar.sg-desktop-month-calendar:not(.sg-month-page-scroll) #app #calendarView .calendar-card{flex:1 1 0;min-height:0;overflow:hidden}
 body.sg-app-platform-calendar.sg-desktop-month-calendar:not(.sg-month-page-scroll) #app #calendarView #sgIndividualCalendarBody{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}
 body.sg-app-platform-calendar.sg-desktop-month-calendar:not(.sg-month-page-scroll) #app #calendarView .sg-workspace-scroll{overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-height:0;flex:1 1 0}
 body.sg-app-platform-calendar.sg-desktop-month-calendar #calendarView .sg-workspace-month--individual{height:auto;flex:none}
 #calendarView .sg-default-week.sg-date-fit-week{height:auto!important;grid-template-rows:28px repeat(var(--sg-date-price-lanes,1),32px) var(--sg-date-more-height,0px) 25px!important;min-height:calc(53px + var(--sg-date-price-lanes,1)*32px + var(--sg-date-more-height,0px))!important}
}
@media(max-width:760px){
 #calendarView .sg-default-property-caption{gap:6px}
 #calendarView .sg-default-property-caption>strong{font-size:11px}
 #calendarView .sg-default-property-caption>small{font-size:8px;line-height:1.4}
 .sg-default-property-platform{font-size:8px;gap:4px}
 .sg-default-property-platform .sg-default-platform-logo{width:12px;height:12px}
 #calendarView .sg-default-night{font-size:11px;height:25px}
 #calendarView .sg-default-week .month-reservation-bar{margin-block:1px}
 .sg-default-pricing-dialog{inset:auto 0 var(--sg-pricing-keyboard-inset,0px);width:100%;height:auto;max-height:min(88dvh,var(--sg-pricing-visual-height,88dvh));min-height:min(280px,var(--sg-pricing-visual-height,280px));border:0;border-radius:19px 19px 0 0;box-shadow:0 -15px 50px #0c233330}
 .sg-default-dialog-header{padding:19px 18px 17px}
 .sg-default-dialog-brand{gap:10px}
 .sg-default-dialog-brand>.sg-default-platform-logo{width:40px;height:40px}
 .sg-default-dialog-header h2{font-size:20px}
 .sg-default-dialog-header p{font-size:10px}
 .sg-default-dialog-body{padding:18px}
 .sg-default-close{min-width:42px;min-height:42px;width:42px}
 .sg-default-field>span{font-size:11px}
 .sg-default-field>input,.sg-default-field>select,.sg-default-field>textarea{font-size:14px;min-height:44px}
 .sg-default-price-editor .sg-default-field>input{font-size:30px}
 .sg-default-dialog-footer{padding:13px 16px calc(15px + env(safe-area-inset-bottom));gap:7px}
 .sg-default-dialog-footer>small{font-size:8px;max-width:160px}
 .sg-default-primary,.sg-default-secondary,.sg-default-configure{font-size:11px;min-height:44px;padding:10px 11px}
 .sg-default-platform-tabs button{min-height:44px;font-size:10px}
}
/* Default per-stay fee and check-in notice; each optional field is saved only when edited. */
.sg-default-stay-extras>.sg-default-field{margin-bottom:8px}
.sg-default-stay-extras>.sg-default-hint{margin:0 0 18px}
.sg-default-stay-extras>.sg-default-hint:last-child{margin-bottom:0}
.sg-default-stay-extras input{font-variant-numeric:tabular-nums}
.sg-default-fee-mismatch{font-size:11px;line-height:1.75;color:#a45d2f;border-left:2px solid #d7ad78;padding-left:10px;margin:0 0 18px;overflow-wrap:anywhere}
html[data-sg-theme=midnight] .sg-default-fee-mismatch{color:#e5bc8b;border-color:#9b794e}

/* The fixed calendar workspace has its own scroller. Keep the document within
   the viewport so a refresh cannot remeasure a scrolled-away page header. */
body.sg-workspace-mode:has(#calendarView.active-view) {
 padding-bottom: 0;
}
