
/* Shared operations data, with separate mobile and desktop presentation. */
#dashboardView{display:none;max-width:1600px;margin-left:0;margin-right:auto}
#dashboardView.active-view{display:block}
 .md-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px}
 .md-metric{min-width:0;text-align:left;font:inherit;border:1px solid var(--sg-border-ui);border-radius:var(--sg-radius-card);background:var(--sg-card-bg);color:var(--sg-text);padding:12px;cursor:pointer;min-height:105px}
 .md-metric-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:var(--sg-radius-card);background:var(--sg-theme-surface,#e3f8f4);color:#00a99b;font-size:22px;margin-bottom:8px}
 .md-metric.checkout .md-metric-icon{background:var(--sg-theme-surface,#fff0f2);color:#f16d80}.md-metric.cleaning .md-metric-icon{background:var(--sg-theme-surface,#eaf3ff);color:#148a9d}
 .md-metric-label{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.md-metric strong{display:block;font-size:25px;line-height:1.2;margin-top:4px}
 .md-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.md-heading h2{margin:0;color:var(--sg-text);font-size:20px}.md-date{font-size:12px;color:var(--sg-text-muted);text-align:right}
 .md-properties{display:grid;gap:12px;padding-bottom:20px}.md-property{background:var(--sg-card-bg);border:1px solid var(--sg-border-ui);border-radius:var(--sg-radius-card);padding:14px;min-width:0}
 .md-property-link{display:flex;gap:12px;align-items:center;background:none;border:0;padding:0;width:100%;font:inherit;text-align:left;color:var(--sg-text);cursor:pointer;min-height:52px;margin-bottom:12px}.md-property-link strong{font-size:19px;line-height:1.35;flex:1;min-width:0;overflow-wrap:anywhere}.md-photo{width:52px;height:52px;flex:0 0 52px;position:relative;border-radius:12px;overflow:hidden;background:var(--sg-theme-surface,#edf7fa)}.md-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.md-photo .sg-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#568199}.md-photo svg{width:27px;height:27px}
 .md-booking{border:1px solid var(--sg-theme-border,#e3eaf0);border-radius:12px;padding:12px;width:100%;box-sizing:border-box;background:var(--sg-theme-surface,#f8fbfe);text-align:left;color:var(--sg-theme-text,#17243b);font:inherit;display:grid;gap:7px;cursor:pointer;min-width:0}.md-booking.current{background:var(--sg-theme-surface,#eaf9f5);border-color:var(--sg-theme-border,#d6efe6)}.md-booking.departure{background:var(--sg-theme-surface,#fff2f3);border-color:var(--sg-theme-border,#f8dfe3)}.md-booking+.md-booking{margin-top:9px}.md-booking-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}.md-booking .sg-platform-label{font-size:12px}.md-booking .sg-calendar-platform{width:20px;height:20px;flex:none}.md-guest{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:650;min-width:0;overflow-wrap:anywhere}.md-country{width:20px;height:15px;object-fit:cover;flex:none}.md-dates{font-size:13px;line-height:1.5;color:var(--sg-theme-muted,#526b80)}.md-next-label{font-size:11px;color:var(--sg-text-muted);font-weight:600}.md-status{font-size:11px;line-height:1.4;border-radius:18px;padding:5px 9px;background:#d8f2ea;color:#187365;max-width:100%}.md-status.departure{background:#ffe2e7;color:#a74457}.md-available{padding:12px;border-radius:12px;background:var(--sg-theme-surface,#edf7ff);color:#235675;display:grid;gap:4px;font-size:14px}.md-available small,.md-empty{font-size:12px;line-height:1.5;color:var(--sg-text-muted)}.md-empty{padding:10px 0}.md-operations{padding:14px;border:1px solid var(--sg-border-ui);border-radius:var(--sg-radius-card);background:var(--sg-card-bg);margin-bottom:14px}.md-operations h3{margin:0 0 10px;font-size:16px;color:var(--sg-text)}.md-operation{display:block;background:var(--sg-theme-surface,#f5fafc);border:0;border-radius:var(--sg-radius-card);width:100%;text-align:left;color:var(--sg-theme-muted,#23475d);font:inherit;font-size:12px;line-height:1.5;padding:10px;margin-top:7px;cursor:pointer}.md-metric:focus-visible,.md-property button:focus-visible,.md-operation:focus-visible{outline:3px solid #22bfc6;outline-offset:2px}

.md-property-heading{flex:1;min-width:0}.md-property-heading strong{display:block}.md-location{font-size:12px;line-height:1.5;color:var(--sg-text-muted);display:none}
.md-property-meta{display:grid;gap:8px;border-top:1px solid var(--sg-theme-border,#e4ebef);margin-top:12px;padding-top:12px}.md-cleaning-link,.md-issues-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;border-radius:var(--sg-radius-control);background:var(--sg-theme-surface,#f5fafc);color:var(--sg-theme-muted,#36566d);font:inherit;font-size:12px;line-height:1.5;padding:9px 10px;text-align:left;cursor:pointer}.md-issues-link{background:var(--sg-theme-surface,#fff7e8);color:#82632c}.md-cleaning-link>span:first-child{min-width:0;overflow-wrap:anywhere}.md-cleaning-state{flex:none;font-size:11px;border-radius:12px;padding:3px 7px;background:var(--sg-theme-surface,#e4f4ee);color:var(--sg-theme-muted,#286754)}.md-cleaning-state.in_progress{background:#e1f2fb;color:#27677e}.md-cleaning-state.scheduled{background:var(--sg-theme-surface,#edf2f7);color:var(--sg-text-muted)}
.md-metric.issue .md-metric-icon{background:#fff0cd;color:#956817}.md-note{font-size:12px;line-height:1.5;color:var(--sg-text-muted);margin:0 0 12px}
@media(min-width:761px){
 .md-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
 .md-metric{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:96px;padding:18px}
 .md-metric-icon{width:38px;height:38px;margin:0}.md-metric-label{font-size:13px}.md-metric strong{font-size:30px;margin:0}
 .md-properties{grid-template-columns:minmax(0,1fr);gap:18px}
 .md-property{padding:18px}.md-property-link strong{font-size:21px}.md-location{display:block}
 .md-booking{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px}
 .md-booking-meta{grid-column:1/-1}.md-guest{font-size:15px}.md-dates{font-size:12px;text-align:right;align-self:center}
 .md-heading h2{font-size:23px}
}
@media(min-width:761px) and (max-width:1100px){.md-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1101px){.md-properties{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1440px){.md-properties{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 #allPlannerView .planner-left{flex-basis:92px;min-width:92px}
 #allPlannerView .property-label{padding:5px 7px}
 #allPlannerView .sg-planner-reservation{padding:8px 6px!important;font-size:13px!important}

}

/* Mobile selection is colour/weight only; keep the existing five tap targets. */
@media(max-width:760px){
 #bottomNav .nav-button{background:transparent;color:var(--sg-text-muted);font-weight:400;box-shadow:none}
 #bottomNav .nav-button.active{background:transparent;color:var(--sg-accent-text);font-weight:600}
 #bottomNav .nav-button .nav-icon{color:inherit}
 #bottomNav .nav-button:focus-visible{background:transparent;outline:2px solid var(--sg-accent-text);outline-offset:-3px}
}
