/* Rental geometry only; retain Spossity's shared glass and text treatments. */
html body.is-logged-in dialog.spot-form-dialog.office-rental-dialog {
  width:min(780px,calc(100% - 32px)); max-height:calc(100dvh - 32px);
  --rental-image-height:140px; box-sizing:border-box; padding:0; border:1px solid var(--line,#d7def0);
  border-radius:28px; overflow:hidden;
}
html body.is-logged-in dialog.office-rental-dialog[open] { display:flex; flex-direction:column; }
html body.is-logged-in dialog.office-rental-dialog > .host-event-header {
  position:relative; top:auto; flex-shrink:0; padding:16px 20px;
  background:transparent; gap:12px;
}
html body.is-logged-in dialog.office-rental-dialog > .host-event-header h4 { font-size:20px; }
html body.is-logged-in dialog.office-rental-dialog [data-rental-body] {
  padding:16px 20px 20px; overflow:auto; overscroll-behavior:contain; min-height:0;
}
.office-rental-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:14px; }
.office-rental-card { border:1px solid var(--line,#d7def0); border-radius:22px; padding:12px; min-width:0; }
/* Cards in a row are the same height and their Preview / Select buttons sit on the same line at the bottom. */
.office-rental-card:not([hidden]) { display:flex; flex-direction:column; }
html body.is-logged-in dialog.office-rental-dialog .office-rental-card > .spot-host-actions { margin-top:auto; padding-top:10px; }
.office-rental-card[hidden] { display:none; }
.office-rental-card:has([aria-pressed="true"]) { border-color:#8b3dff; }
.office-rental-card img { display:block; width:100%; height:var(--rental-image-height); object-fit:cover; border-radius:16px; }
.office-rental-card-price { width:max-content; max-width:100%; margin:8px 0 4px !important; padding:7px 11px; border-radius:999px; background:rgba(139,61,255,.12); color:#5521a8; font-weight:800; }
html[data-theme="dark"] .office-rental-card-price { color:#f5f8ff; background:rgba(136,87,255,.24); }
.office-rental-card.is-concept { border-style:dashed; }
.office-rental-card.is-concept img { opacity:.82; }
.office-rental-card.is-concept .office-rental-card-price { background:rgba(100,116,139,.12); color:inherit; }
.office-kind-picker { margin:22px 0 16px; padding:14px; border:1px solid var(--line,#d7def0); border-radius:24px; }
.office-kind-picker > h5 { margin-top:0 !important; }
.office-kind-picker > p { margin-bottom:0 !important; }
/* Market | Office: the app's gliding thumb (snappy spring), like Monthly | Annual. */
.office-kind-toggle { position:relative; isolation:isolate; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:5px; border-radius:999px; background:rgba(139,61,255,.09); }
.office-kind-thumb { position:absolute; z-index:0; top:5px; bottom:5px; left:5px; width:calc(50% - 5px); border-radius:999px; background:linear-gradient(140deg,#9b6bff,#7b4dff 45%,#4d7bff); box-shadow:0 6px 16px rgba(120,54,239,.3); transition:transform var(--sp-dur-snappy,510ms) var(--sp-ease-snappy,cubic-bezier(.34,1.4,.64,1)); }
.office-kind-toggle[data-active="office"] .office-kind-thumb { transform:translateX(100%); }
.office-kind-toggle:not([data-active]) .office-kind-thumb { opacity:0; }
.office-kind-toggle button { position:relative; z-index:1; min-height:46px; padding:8px 14px; border:0; border-radius:999px; background:transparent !important; box-shadow:none !important; color:inherit; font:inherit; font-weight:800; cursor:pointer; transition:color .3s var(--sp-ease-out,ease-out); }
.office-kind-toggle button[aria-checked="true"] { color:#fff; }
.office-kind-toggle button:active { scale:.97; }
@media (prefers-reduced-motion: reduce) { .office-kind-thumb { transition:none; } }
.office-list-heading { margin:20px 0 12px !important; font-size:19px !important; }
html body.is-logged-in dialog.office-rental-dialog h5 { font-size:16px; margin:12px 0 6px; }
html body.is-logged-in dialog.office-rental-dialog p { font-size:14px; line-height:1.5; margin:8px 0 14px; }
html body.is-logged-in dialog.office-rental-dialog .spot-host-actions { gap:8px; margin:10px 0 0; }
html body.is-logged-in[data-app-view] dialog.office-rental-dialog button.vibe-action[data-spot-action] {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  width:auto; max-width:100%; height:auto; min-height:44px; min-width:44px;
  padding:6px 12px; border-radius:22px; font-size:13px; line-height:18px;
  font-weight:600; white-space:normal; gap:6px;
}
html body.is-logged-in dialog.office-rental-dialog button:focus-visible { outline:2px solid #8b3dff; outline-offset:2px; }
html body.is-logged-in dialog.office-rental-dialog .host-event-close {
  width:44px; height:44px; min-width:44px; min-height:44px; padding:0; border-radius:50%; font-size:22px;
}
.office-rental-dialog [aria-pressed="true"] { outline:1px solid #8b3dff; outline-offset:1px; }
.office-rental-dialog label { display:flex; align-items:center; gap:10px; min-height:44px; font-size:14px; line-height:1.5; }
.office-rental-dialog input { accent-color:#8b3dff; width:20px; height:20px; flex-shrink:0; }
.office-rental-dialog [data-total] { font-weight:700; }


html body.is-logged-in[data-app-view] dialog.office-rental-dialog button.vibe-action[aria-pressed="true"] {
 background:#8b3dff !important; color:#fff !important; border-color:#8b3dff !important;
 box-shadow:none !important;
}
.office-rental-dialog .spot-host-actions { justify-content:space-between; }
.office-rental-grid > [data-kendall] { grid-column:-2 / -1; }

[data-office-dashboard-preview] { margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:26px; overflow:hidden; }
[data-office-dashboard-preview] iframe { display:block; width:100%; height:480px; max-height:65dvh; border:0; border-radius:22px; margin-top:0; }
[data-office-dashboard-preview] button { min-height:44px; border-radius:22px; padding:8px 14px; }


/* One treatment for every office dashboard action. */
html body.is-logged-in .spot-host-actions.office-dashboard-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); grid-auto-rows:1fr; gap:12px; align-items:stretch; }
html body.is-logged-in .office-dashboard-actions > .vibe-action { display:flex; width:100%; min-width:0; box-sizing:border-box; align-items:center; justify-content:center!important; gap:10px!important; min-height:64px; white-space:normal; text-align:left; padding:12px 18px; border-radius:28px; font-size:14px!important; font-weight:700; line-height:1.3; }
html body.is-logged-in .office-dashboard-actions > .vibe-action i { display:inline-flex; flex:0 0 24px; width:24px!important; height:24px!important; margin:0; color:var(--sp-color-violet); background:transparent; box-shadow:none; }
html body.is-logged-in .office-dashboard-actions > .vibe-action i svg { display:block; width:24px!important; height:24px!important; stroke-width:2; }
.availability-range { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:10px 0; }
.availability-range label { display:flex; gap:8px; align-items:center; }
html body.is-logged-in dialog.office-settings-dialog { width:min(640px,calc(100vw - 32px)); border-radius:28px; }
html body.is-logged-in .office-settings-dialog form.host-event-form { display:flex; flex-direction:column; gap:16px; padding:20px; }
html body.is-logged-in .office-settings-dialog form p { margin:0; font-size:15px; line-height:1.5; }
html body.is-logged-in .office-settings-dialog .vibe-action { width:auto; align-self:flex-start; min-height:44px; padding:10px 18px; border-radius:24px; font-size:14px; font-weight:700; }
html body.is-logged-in .office-settings-dialog .office-walk-toggle span { display:flex; align-items:center; gap:12px; font-size:16px; }
html body.is-logged-in .office-settings-dialog input[type=checkbox] { width:22px; height:22px; min-height:0; flex:0 0 22px; margin:0; accent-color:var(--sp-color-violet); }
html body.is-logged-in .office-settings-dialog fieldset { min-width:0; border:1px solid var(--line); border-radius:18px; padding:12px; }
html body.is-logged-in .office-settings-dialog .availability-date { display:flex; flex-direction:column; gap:14px; margin:0 0 16px; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:0 0 16px; }
.office-settings-dialog .availability-date-fields { display:grid; grid-template-columns:1fr 1.4fr 1fr; gap:12px; }
.office-settings-dialog .availability-time-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
html body.is-logged-in .office-settings-dialog label { display:flex; flex-direction:column; min-width:0; gap:6px; font-size:14px; font-weight:600; }
html body.is-logged-in .office-settings-dialog select { box-sizing:border-box; min-height:44px; width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:16px; background:#f8f6ff; color:#0b285b; font:inherit; accent-color:var(--sp-color-violet); }
html body.is-logged-in .office-settings-dialog select:focus-visible { outline:2px solid #8b3dff; outline-offset:2px; box-shadow:none; }
.office-settings-dialog .availability-footer { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; }
html body.is-logged-in .office-settings-dialog button[type=submit] { background:#8b3dff!important; background-image:none!important; color:white!important; }
html[data-theme=dark] body.is-logged-in .office-settings-dialog select { background:#182039; color:#f5f8ff; }
/* Keep every selector chevron inset, including the time-zone field. */
html body.is-logged-in .office-settings-dialog select {
  appearance:none;
  -webkit-appearance:none;
  min-width:0;
  max-width:100%;
  padding-right:40px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238b3dff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-position:right 14px center!important;
  background-repeat:no-repeat!important;
  background-size:16px 16px!important;
}
html body.is-logged-in .office-settings-dialog form[hidden] { display:none!important; }
.office-settings-dialog .availability-preview { padding:20px; display:flex; flex-direction:column; gap:16px; }
.office-settings-dialog .availability-preview h5 { margin:0; font-size:18px; }
.office-settings-dialog .availability-preview ul { list-style:none; padding:0; margin:0; }
.office-settings-dialog .availability-preview li { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:12px 0; border-bottom:1px solid var(--line); }
html body.is-logged-in .office-settings-dialog [data-publish] { background:#8b3dff!important; color:white!important; }
/* Override the shared pale action surface only for settings primary actions. */
html body.is-logged-in[data-app-view] dialog.office-settings-dialog button.vibe-action:is([type="submit"],[data-publish]) {
  background:#8b3dff!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #8b3dff!important;
  opacity:1;
  box-shadow:0 4px 12px rgba(91,33,182,.18)!important;
}
html body.is-logged-in[data-app-view] dialog.office-settings-dialog button.vibe-action:focus {
  outline:none!important;
}
html body.is-logged-in[data-app-view] dialog.office-settings-dialog button.vibe-action:focus-visible {
  outline:2px solid #8b3dff!important;
  outline-offset:3px;
}
.office-settings-dialog .availability-inline-previews { display:flex; flex-direction:column; gap:10px; }
.office-settings-dialog .availability-preview-entry { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
.office-settings-dialog .availability-preview-entry > div { display:flex; flex-direction:column; gap:4px; }
html body.is-logged-in .office-settings-dialog .availability-delete { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; padding:0; color:#8b3dff; align-self:center; }
html body.is-logged-in .office-dashboard-actions > button[hidden] { display:none!important; }
.office-room-switcher { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
html body.is-logged-in[data-app-view] .office-room-switcher button.vibe-action { min-width:0; width:100%; min-height:44px; padding:10px 14px; border-radius:24px; font-size:14px; font-weight:700; white-space:normal; }
html body.is-logged-in[data-app-view] .office-room-switcher button.vibe-action[aria-pressed=true] { background:#8b3dff!important; color:#fff!important; border-color:#8b3dff!important; }
.office-visit-state { border-radius:16px; padding:4px 10px; background:rgba(139,61,255,.12); color:#8b3dff; }
[role=switch][data-visit-office][aria-checked=true] .office-visit-state { background:#8b3dff; color:white; }
.office-visits{padding:20px;display:grid;gap:16px;color:var(--ink,#102f65)}
.office-visits h5,.office-visits p{margin:0}
.office-visits form{display:grid;gap:14px}
.office-visits select,.office-visits textarea{width:100%;box-sizing:border-box;min-height:48px;padding:12px;border:1px solid #bba4ef;border-radius:18px;background:#f8f7ff;color:#0b285b;font:inherit}
.office-visit-exterior{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:26px}
.office-visit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.office-visits .vibe-action{min-height:44px;padding:10px 16px;font-size:14px}
.office-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;text-align:center}
.office-calendar-grid .vibe-action{width:100%;padding:8px 0;min-width:0}
.office-calendar-grid .has-visits{background:#8b4dff;color:white}
.timeline-office-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;color:#0b285b}
.timeline-office-status button{border:2px solid white;border-radius:999px;padding:12px 20px;min-height:44px;background:#8b4dff;color:white;font:inherit;font-weight:700;cursor:pointer}
.timeline-office-status button:disabled{background:#102f65;color:white;opacity:1;cursor:default}
html[data-theme=dark] .office-visits,html[data-theme=dark] .timeline-office-status{color:#f5f8ff}
html[data-theme=dark] .office-visits select,html[data-theme=dark] .office-visits textarea{background:#20253b;color:#f5f8ff}
html body.is-logged-in dialog .office-visits button.vibe-action{
 border:2px solid #fff;border-radius:999px;background:#f8f7ff;color:#0b285b;
 box-shadow:0 4px 12px rgba(24,35,68,.12);font-weight:700;line-height:1.3;
 min-height:44px;min-width:44px;max-width:100%;padding:10px 16px;cursor:pointer;
}
html body.is-logged-in dialog .office-visits button.vibe-action:focus-visible{outline:2px solid #8b4dff;outline-offset:2px}
html body.is-logged-in dialog .office-visits button.vibe-action:disabled{opacity:.55;cursor:default}
html body.is-logged-in dialog .office-calendar-grid button.vibe-action{border-radius:16px;box-shadow:none;padding:8px 0}
html body.is-logged-in dialog .office-calendar-grid button.has-visits{background:#8b4dff;color:white}
html body.is-logged-in dialog .office-visits .office-visit-actions{justify-content:space-between}
html[data-theme=dark] body.is-logged-in dialog .office-visits button.vibe-action{background:#252a42;color:#f5f8ff;border-color:#596080}
html[data-theme=dark] body.is-logged-in dialog .office-calendar-grid button.has-visits{background:#8b4dff;color:white}
html body.is-logged-in dialog .office-calendar-grid button.has-history{background:#102f65;color:#fff}
.office-calendar-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}
.office-calendar-legend span{display:inline-flex;align-items:center;gap:7px}
.office-calendar-legend span::before{content:'';width:10px;height:10px;border-radius:50%;background:#8b4dff}
.office-calendar-legend .calendar-history-key::before{background:#102f65;border:1px solid #aebbd1}
.office-calendar-details{display:grid;gap:10px}
html body.is-logged-in dialog .office-visits .calendar-history-detail{border-left:5px solid #102f65;text-align:left}
html body.is-logged-in dialog .office-visits .calendar-upcoming-detail{border-left:5px solid #8b4dff;text-align:left}
html body.is-logged-in dialog .office-calendar-grid button[aria-pressed=true]{outline:2px solid #8b4dff;outline-offset:2px}

[data-office-controls]>summary{list-style:none;cursor:pointer;width:fit-content;min-height:44px;margin:16px 0;color:#0b285b}
[data-office-controls]>summary::-webkit-details-marker{display:none}
[data-office-controls]>summary::after{content:'⌄';color:#8b4dff;margin-left:12px}
[data-office-controls][open]>summary::after{content:'⌃'}
[data-office-controls]>summary[hidden]{display:none}
.office-studio-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin:16px 0}
.office-studio-toolbar[hidden]{display:none}
.office-studio-toolbar>button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 20px;border:2px solid #fff;border-radius:24px;background:#f8f6ff;color:#0b285b;box-shadow:0 5px 12px #102f6514;font:inherit;cursor:pointer}
.office-studio-toolbar>button span{color:#9b6cff;display:flex;align-items:center}
.office-studio-toolbar>button svg{width:24px;height:24px}
.office-studio-toolbar>button em{font-style:normal;font-weight:700}
.office-studio-toolbar>button b{display:none}
/* The shared Event Studio owns its inner layout; only its inline container changes. */
[data-office-dashboard-preview]>.event-studio-view.inline-office-studio{position:relative!important;inset:auto!important;width:100%;max-width:none;min-height:0;height:auto;margin:0}
[data-office-dashboard-preview]>.inline-office-studio .host-event-production-sidebar{display:none}
[data-office-dashboard-preview]>.inline-office-studio{grid-template-columns:minmax(0,1fr)!important}
[data-office-dashboard-preview] .host-event-stage-engine{width:100%;height:100%}

/* Fit the existing controls to the office container, preserving their design. */
[data-office-dashboard-preview]>.event-studio-view.inline-office-studio{transform:none!important;left:auto!important;box-sizing:border-box;padding:0}
.event-studio-view.inline-office-studio .host-event-production-main{width:100%;max-width:100%;box-sizing:border-box}
.event-studio-view.inline-office-studio .host-event-production-controls{flex-wrap:wrap}
.event-studio-view.inline-office-studio .host-event-production-control-list{flex-wrap:wrap;flex-basis:100%}
.event-studio-view.inline-office-studio .host-event-production-control-list button{flex:1 1 120px;min-width:0}
.event-studio-view.inline-office-studio .host-event-production-controls{display:grid;grid-template-columns:minmax(0,1fr)}
.event-studio-view.inline-office-studio .event-studio-start{justify-self:end;max-width:100%;width:auto;min-width:min(184px,100%)}
/* The Spot already supplies the office heading and return navigation. */
[data-office-dashboard-preview] .event-studio-view.inline-office-studio .event-studio-header{display:none}

.event-studio-view.inline-office-studio .office-control-dashboard{grid-column:1 / -1;min-width:0;width:100%;margin:0}
.event-studio-view.inline-office-studio .office-control-dashboard:not([open]){display:none}
.event-studio-view.inline-office-studio .office-control-dashboard>summary{display:none}

/* Dashboard opens above its control, retaining the existing individual action cards. */
.event-studio-view.inline-office-studio .host-event-production-controls{position:relative}
.event-studio-view.inline-office-studio .office-control-dashboard{position:absolute;bottom:calc(100% + 12px);left:0;right:0;z-index:30;box-sizing:border-box;max-height:70svh;overflow:auto;padding:44px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}
.event-studio-view.inline-office-studio .office-control-dashboard .spot-host-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:0}
.event-studio-view.inline-office-studio .office-dashboard-close{position:absolute;top:10px;right:12px;width:36px;min-height:36px;padding:0;border:1px solid var(--sp-theme-border-strong,#d5ddec);border-radius:50%;background:var(--sp-theme-surface,#f8f6ff);color:var(--sp-theme-text,#102f65);font-size:24px;cursor:pointer}

.event-studio-view.inline-office-studio .office-control-dashboard .spot-host-actions>button{background:var(--sp-theme-surface,#f8f6ff);backdrop-filter:none}
.event-studio-view.inline-office-studio .office-control-dashboard .spot-host-actions{display:flex;flex-direction:column;gap:10px;padding:4px 2px 12px}
.event-studio-view.inline-office-studio .office-control-dashboard .spot-host-actions>button{flex:none;min-width:0;width:100%;background:#f8f6ff!important}
html[data-theme=dark] .event-studio-view.inline-office-studio .office-control-dashboard .spot-host-actions>button{background:#20253b!important}

.event-studio-view.inline-office-studio .office-control-dashboard{left:auto;right:0;width:min(240px,100%)}

/* One consistent vertical action list, with opaque cards over the office. */
html body.is-logged-in[data-app-view] .event-studio-view.inline-office-studio #office-control-dashboard .spot-host-actions>button{height:52px!important;min-height:52px!important;padding:10px 16px!important;background:#f8f6ff!important;--sp-rich-glass:#f8f6ff}
html[data-theme=dark] body.is-logged-in[data-app-view] .event-studio-view.inline-office-studio #office-control-dashboard .spot-host-actions>button{background:#20253b!important;--sp-rich-glass:#20253b}

/* The office owns the Spot identity; avoid a duplicate dashboard summary. */
.event-studio-view.inline-office-studio .event-studio-entry-copy[hidden]{display:none!important}
.event-studio-view.inline-office-studio .office-spot-identity{margin:0 0 16px;width:100%;box-sizing:border-box}

.has-office-studio>[data-rent-office],.has-office-studio>[data-spot-verification]{display:none!important}
.has-office-studio [data-office-dashboard-preview]{margin:0;padding:0;border:0;border-radius:0;overflow:visible}
[data-office-dashboard-preview]>.event-studio-view.inline-office-studio{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.event-studio-view.inline-office-studio .event-studio-entry{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.event-studio-view.inline-office-studio .office-control-dashboard .profile-menu-meta{display:none}

/* Use the existing outer Spot curve rather than nesting office cards inside it. */
html body.is-logged-in .spot-detail.has-office-studio{width:100%;max-width:none}
html body.is-logged-in .event-studio-view.inline-office-studio .host-event-production-main{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.is-logged-in .event-studio-view.inline-office-studio .event-studio-room{border:0!important;box-shadow:none!important;background:transparent!important}
html body.is-logged-in .event-studio-view.inline-office-studio .office-spot-identity{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0 0 14px!important}
/* Keep the office aligned within the outer Spot shell with one even inset. */
html body.is-logged-in[data-app-view] .profile-settings-panel.profile-spots-panel:has(.has-office-studio){padding-left:16px!important;padding-right:16px!important}
html body.is-logged-in[data-app-view] .event-studio-view.inline-office-studio [data-spot-detail-identity].office-spot-identity{background:transparent!important;box-shadow:none!important;border:0!important;margin:0 0 12px!important;padding:0!important}
html body.is-logged-in[data-app-view] .event-studio-view.inline-office-studio .host-event-production-control-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
/* Match the Event Studio viewing-window height without enlarging its page shell. */
.event-studio-view.host-event-production-mode.inline-office-studio .event-studio-stage{height:clamp(360px,52svh,560px);min-height:clamp(360px,52svh,560px)}
.event-studio-view.host-event-production-mode.inline-office-studio .host-event-stage-engine{height:100%;max-height:none}

/* Keep Dashboard attached to its own trigger as the toolbar reflows. */
.event-studio-view.inline-office-studio .office-dashboard-anchor{position:relative;min-width:0;display:flex}
.event-studio-view.inline-office-studio .office-dashboard-anchor>[data-office-management]{width:100%}
.event-studio-view.inline-office-studio .office-dashboard-anchor>.office-control-dashboard{left:0;right:auto;bottom:calc(100% + 10px);width:240px;max-width:calc(100vw - 48px)}

html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard,
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard>.spot-host-actions{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border:0!important}
.inline-office-studio #office-control-dashboard::before,.inline-office-studio #office-control-dashboard::after{display:none!important}

/* Reuse the original verification artwork within the same rounded action card. */
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action{display:flex!important;align-items:center;justify-content:center!important;gap:10px!important;border-radius:28px!important;text-align:center}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 28px;width:28px!important;height:32px!important;margin:0!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-icon img{display:block!important;width:22px!important;height:28px!important;opacity:1!important;visibility:visible!important;object-fit:contain}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-copy{display:block!important;flex:0 1 auto!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action{display:flex!important;gap:12px!important;flex-wrap:nowrap!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-copy{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;margin:0!important;text-align:left!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-copy strong{display:block!important;white-space:nowrap!important;font-size:14px!important;line-height:20px!important;letter-spacing:normal!important}
/* The shield artwork stands alone inside its Dashboard action. */
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-icon{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-icon::before,
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard .office-shield-action .profile-menu-icon::after{content:none!important;display:none!important}
/* Text and status are content, not the Studio toolbar's fixed-size icon slots. */
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard [data-visit-office]{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:nowrap!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard [data-visit-office]>span{display:inline-block!important;position:static!important;width:auto!important;height:auto!important;min-width:0!important;flex:0 0 auto!important;white-space:nowrap!important;font-size:14px!important;line-height:20px!important;margin:0!important}
html body.is-logged-in[data-app-view] .inline-office-studio #office-control-dashboard [data-visit-office]>.office-visit-state{padding:4px 10px!important}

/* Dashboard and Start Event share one compact footer row. */
.event-studio-view.inline-office-studio .office-control-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.event-studio-view.inline-office-studio .office-control-footer>.office-dashboard-anchor{flex:0 1 150px}
.event-studio-view.inline-office-studio .office-control-footer>.event-studio-start{margin:0!important;min-width:0!important;width:auto!important;min-height:44px;height:44px;padding:8px 18px}
.event-studio-view.inline-office-studio .office-control-footer [data-office-management]{min-height:44px;height:44px}
html body.is-logged-in[data-app-view] .profile-settings-panel.profile-spots-panel:has(.has-office-studio){padding-bottom:16px!important}
.spot-detail.has-office-studio>.profile-settings-status:empty,.spot-detail.has-office-studio>p:empty{display:none}
.event-studio-view.inline-office-studio .office-control-footer [data-office-management]{display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:8px 14px;border:1px solid var(--sp-theme-border-strong);border-radius:10px;color:var(--sp-theme-text);background:var(--sp-theme-surface);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.event-studio-view.inline-office-studio .office-control-footer [data-office-management] em{font-style:normal;font-size:11px;font-weight:800}
.event-studio-view.inline-office-studio .office-control-footer [data-office-management]>span,.event-studio-view.inline-office-studio .office-control-footer [data-office-management] svg{display:block;width:20px;height:20px;flex:0 0 20px}

/* The selected Spot is one card; its existing identity supplies the only name. */
body.spots-page .friends-preview-header[hidden]{display:none!important}
html body.is-logged-in .spot-detail>[data-spot-detail-back]{display:block;justify-self:end;margin:0 0 8px;position:static}
/* Keep navigation alongside the identity, not in an empty row above it. */
html body.is-logged-in .spot-detail{position:relative}
html body.is-logged-in .spot-detail>[data-spot-detail-back]{position:absolute;top:0;right:64px;z-index:5;margin:0;min-height:44px}
html body.is-logged-in .spot-detail>[data-spot-detail-identity],
html body.is-logged-in[data-app-view] .inline-office-studio [data-spot-detail-identity].office-spot-identity{padding-right:170px!important;min-height:80px;box-sizing:border-box}
@media(max-width:600px){
 html body.is-logged-in .spot-detail>[data-spot-detail-back]{position:static;justify-self:start;margin:0}
 html body.is-logged-in .spot-detail{gap:4px}
 html body.is-logged-in .spot-detail>[data-spot-detail-identity],html body.is-logged-in[data-app-view] .inline-office-studio [data-spot-detail-identity].office-spot-identity{padding-right:0!important}
}
/* Use the unused bottom inset for the selected office and fit its viewing area. */
.event-studio-view.host-event-production-mode.inline-office-studio .event-studio-stage{height:clamp(240px,calc(100svh - 400px),560px);min-height:clamp(240px,calc(100svh - 400px),560px)}
.profile-spots-panel:has(.has-office-studio)>.profile-settings-status:empty,
.spot-detail.has-office-studio>.spot-event-form-slot:empty,
.spot-detail.has-office-studio>[data-spot-post-feed]:empty{display:none!important}

/* Office preview uses the Event Studio full-screen shell and the selected app theme. */
.office-fullscreen-preview{color:var(--sp-theme-text,#102f65);background:var(--sp-theme-surface,#f4f7fc)}
.office-fullscreen-preview .host-event-fullscreen-header{background:var(--sp-theme-surface,#f4f7fc);color:var(--sp-theme-text,#102f65);border-color:var(--sp-theme-border-strong,#d5ddec);box-shadow:none}
.office-fullscreen-preview .host-event-fullscreen-back{background:var(--sp-theme-surface,#f8f6ff);color:var(--sp-theme-text,#102f65);border-color:var(--sp-theme-border-strong,#d5ddec)}
.office-fullscreen-preview .host-event-fullscreen-copy small,.office-fullscreen-preview .host-event-fullscreen-ready{color:var(--sp-theme-text-muted,#7185a8)}
.office-fullscreen-preview .host-event-fullscreen-stage{background:var(--sp-theme-surface,#f4f7fc)}
.host-event-team-invite-tabs[hidden],[data-office-team-search-wrap][hidden]{display:none!important}
[data-office-team-search-wrap]{display:grid;gap:8px;color:var(--sp-theme-text);font-weight:700}
[data-office-team-search]{box-sizing:border-box;width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--sp-theme-border-strong);border-radius:16px;background:var(--sp-theme-surface);color:var(--sp-theme-text);font:inherit}
/* Visitor preview uses the same office engine, with admission actions below it. */
html body.is-logged-in dialog.office-visitor-preview { width:min(1200px,calc(100vw - 32px)); max-width:calc(100vw - 32px); }
.office-visitor-engine { display:block; width:100%; height:clamp(240px,56svh,640px); border:0; border-radius:26px; background:var(--sp-theme-surface-soft); }
.office-visitor-state { color:var(--sp-theme-text); font-weight:700; }
.office-visitor-state.is-open { color:var(--sp-theme-accent); }

/* Plans: Monthly/Annual switch and three plan cards, priced by the server for this owner's country. */
.office-period { display:inline-flex; gap:4px; padding:4px; margin:4px 0 14px; border-radius:999px; border:1px solid var(--line,#d7def0); background:var(--sp-theme-surface,#f8f6ff); }
html body.is-logged-in dialog.office-rental-dialog .office-period button { min-height:40px; padding:0 18px; border:0; border-radius:999px; background:transparent; color:inherit; font:inherit; font-weight:700; cursor:pointer; transition:background .2s ease,color .2s ease; }
html body.is-logged-in dialog.office-rental-dialog .office-period button[aria-pressed="true"] { background:#8b3dff; color:#fff; outline:none; }
.office-plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:12px; margin:0 0 18px; }
html body.is-logged-in dialog.office-rental-dialog .office-plan { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; padding:16px; border:1.5px solid var(--line,#d7def0); border-radius:22px; background:var(--sp-theme-surface,#fff); color:inherit; font:inherit; text-align:left; cursor:pointer; transition:border-color .2s var(--sp-ease-out),box-shadow .2s var(--sp-ease-out),transform var(--sp-dur-snappy) var(--sp-ease-snappy); }
html body.is-logged-in dialog.office-rental-dialog .office-plan:hover { transform:translateY(-1px); }
html body.is-logged-in dialog.office-rental-dialog .office-plan[aria-pressed="true"] { border-color:#8b3dff; box-shadow:0 0 0 3px rgba(139,61,255,.18); outline:none; }
.office-plan strong { font-size:16px; }
.office-plan-price { font-size:20px; font-weight:800; letter-spacing:-.01em; }
.office-plan-tax { font-size:12.5px; font-weight:700; color:#5b3bd6; }
html[data-theme=dark] .office-plan-tax { color:#c8b8ff; }
.office-plan ul { margin:8px 0 0; padding-left:18px; font-size:13.5px; line-height:1.5; }
@media (prefers-reduced-motion: reduce) { html body.is-logged-in dialog.office-rental-dialog .office-plan { transition:none; } }

@media (max-width:520px) {
 .office-kind-toggle { border-radius:22px; }
 .office-kind-toggle button, .office-kind-thumb { border-radius:18px; }
 .office-kind-toggle button { padding-inline:8px; }
}

/* Your responsibilities as an office or market holder: agreed before any rental is paid. */
.office-consent {
  margin: 18px 0 6px;
  padding: 16px 18px;
  border: 1px solid rgba(154, 107, 255, 0.28);
  border-radius: 18px;
  background: rgba(154, 107, 255, 0.07);
}
.office-consent h5 { margin: 0 0 10px; font-size: 15px; }
.office-consent ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 7px; }
.office-consent li { font-size: 13px; line-height: 1.5; }
.office-consent-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 700; line-height: 1.45; }
.office-consent-agree input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: #7836ef; }
html[data-theme="dark"] .office-consent { border-color: rgba(176, 142, 255, 0.34); background: rgba(120, 54, 239, 0.13); }

/* Executive includes Kendall: the card stays selected and its button reads "Included with Executive" (not dimmed). */
html body.is-logged-in[data-app-view] dialog.office-rental-dialog .office-rental-card.is-included button.vibe-action[data-kendall-choice]:disabled { opacity: 1; cursor: default; }
