.spot-empty-state { display: grid; gap: 16px; }
.spot-empty-state h5 { margin: 0; font-size: 20px; }
.spot-empty-state p { margin: 0; line-height: 1.5; }
.spot-empty-state button { justify-self: start; min-height: 48px; max-width: 100%; padding: 12px 20px; border: 1px solid var(--sp-action-border); border-radius: 14px; background: var(--sp-action-background); color: var(--sp-action-ink); font: inherit; font-weight: 700; cursor: pointer; }
body.is-logged-in .me-view.spots-view > .persistent-city-map .friends-map {
  height: calc(100svh - 24px) !important;
  min-height: 0 !important;
  background: #f4f7fc !important;
}
html[data-theme="dark"] body.is-logged-in .me-view.spots-view > .persistent-city-map .friends-map {
  background: #050b14 !important;
}
body.is-logged-in .me-view.spots-view > .persistent-city-map .friends-map::after { display: none; }
body.is-logged-in .me-view.spots-view { height: calc(100svh - 24px); }
body.is-logged-in.spots-page .app-main,
body.is-logged-in.spots-page .app-home {
  background: #f4f7fc !important;
}
html[data-theme="dark"] body.is-logged-in.spots-page .app-main,
html[data-theme="dark"] body.is-logged-in.spots-page .app-home {
  background: #050b14 !important;
}
body.is-logged-in .profile-settings-panel.profile-spots-panel {
  left: max(18px, calc((100% - 1040px) / 2));
  right: max(18px, calc((100% - 1040px) / 2));
  top: 92px;
  bottom: 0;
  width: auto;
  max-height: none;
  padding: 4px clamp(18px, 3vw, 36px) calc(130px + env(safe-area-inset-bottom));
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html[data-theme="dark"] body.is-logged-in .profile-settings-panel.profile-spots-panel {
  box-shadow: none !important;
}

body.is-logged-in .profile-spots-panel .profile-detail-heading { display: none; }
body.is-logged-in .profile-spots-panel .profile-detail-intro {
  margin: 8px 0 22px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.45;
}

.spot-type-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 780px; gap: 22px; }
.spot-type-grid[hidden] { display: none; }
.spot-type-option {
  position: relative;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 16px 30px 16px 0;
  text-align: left;
  border: 0;
  border-radius: 0;
  color: #0b285b;
  background: transparent;
  cursor: pointer;
}
.spot-type-option:hover strong { color: #2167f5; }
.spot-type-option:focus-visible { outline: 2px solid #2167f5; outline-offset: 2px; }
.spot-type-option strong { font-size: clamp(17px, 1.5vw, 21px); }
.spot-type-option span { color: #52698f; font-size: clamp(13px, 1.05vw, 15px); line-height: 1.4; }
.spot-type-option b { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); color: #2167f5; font-size: 26px; }
.spot-list { display: grid; width: min(100%, 780px); gap: 12px; margin: 0 0 22px; }
.spot-list:empty, .spot-list[hidden] { display: none; }
.spot-created { position: relative; display: block; width: 100%; padding: 16px 42px 16px 16px; border: 1px solid rgba(75, 125, 197, .35); border-radius: 14px; color: #0b285b; background: rgba(255, 255, 255, .85); text-align: left; cursor: pointer; }
.spot-created:hover, .spot-created:focus-visible { border-color: #2167f5; outline: none; }
.spot-created::after { content: "›"; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: #2167f5; font-size: 28px; }
.spot-created strong { color: #0b285b; font-size: 17px; }
.spot-created span { color: #52698f; font-size: 13px; }
.spot-created-main { display: flex; gap: 14px; align-items: center; }
.spot-created-copy { display: grid; gap: 4px; }
.spot-created-description { line-height: 1.4; }
.spot-created-logo { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border: 2px solid #9b6cff; border-radius: 16px; background: #fff; }
.spot-created small { color: #52698f; font-size: 12px; }
.spot-detail { display: grid; width: min(100%, 780px); gap: 14px; }
.spot-detail[hidden] { display: none; }
.spot-detail-back { justify-self: start; min-height: 44px; padding: 0 2px; border: 0; color: #2167f5; background: transparent; font-size: 15px; font-weight: 800; cursor: pointer; }
.spot-detail-identity { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(75, 125, 197, .35); border-radius: 15px; color: #0b285b; background: rgba(255, 255, 255, .85); }
.spot-detail-identity img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border: 2px solid #9b6cff; border-radius: 14px; background: #fff; }
.spot-detail-identity > span { display: grid; gap: 4px; min-width: 0; }
.spot-detail-identity strong { font-size: 18px; }
.spot-detail-identity small, .spot-detail-identity span span { color: #52698f; font-size: 13px; line-height: 1.35; }
.spot-created .spot-keep-ups, .spot-detail-identity .spot-keep-ups { color: #8b55ef; font-size: 13px; font-weight: 800; }
.spot-post-card, .spot-post-feed { width: min(100%, 780px); }
.spot-post-card {
  display: grid; gap: 14px; padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(75, 125, 197, .4); border-radius: 18px;
  background: rgba(255, 255, 255, .9); box-shadow: 0 12px 32px rgba(28, 62, 117, .08);
}
.spot-post-heading, .spot-post-actions, .spot-post-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spot-post-heading strong { color: #0b285b; font-size: clamp(18px, 1.7vw, 23px); }
.spot-post-add {
  width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid #2167f5; border-radius: 13px;
  color: #fff; background: #2167f5; font-size: 32px; line-height: 1; cursor: pointer;
}
.spot-post-add:hover, .spot-post-add:focus-visible { background: #1757d3; }
.spot-post-preview { position: relative; display: grid; gap: 8px; color: #52698f; font-size: 13px; }
.spot-post-preview[hidden] { display: none; }
.spot-post-preview :is(img, video) { width: 100%; max-height: 340px; object-fit: contain; border-radius: 12px; background: #061328; }
.spot-post-preview :is(img, video)[hidden] { display: none; }
.spot-post-preview [data-spot-post-remove] { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #fff; background: rgba(5, 11, 20, .85); font-size: 25px; cursor: pointer; }
.spot-post-status { min-height: 20px; color: #52698f; font-size: 13px; line-height: 1.35; }
.spot-post-status:empty { display: none; }
.spot-post-add:disabled { opacity: .55; cursor: wait; }
.spot-post-actions { display: flex; justify-content: flex-end; }
.spot-post-actions[hidden] { display: none; }
.spot-post-actions button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 11px; color: #fff; background: #2167f5; font-weight: 800; cursor: pointer; }
.spot-post-actions button:disabled { opacity: .55; cursor: wait; }
.spot-post-feed { display: grid; gap: 14px; margin-top: 18px; }
.spot-post-feed:empty { display: none; }
.spot-post { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(75, 125, 197, .35); border-radius: 16px; color: #0b285b; background: rgba(255, 255, 255, .85); }
.spot-post-meta strong { font-size: 15px; }
.spot-post-meta time { color: #52698f; font-size: 13px; }
.spot-post-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spot-post-author img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: cover; border: 2px solid #9b6cff; border-radius: 11px; background: #fff; }
.spot-post p { margin: 0; white-space: pre-wrap; font-size: 16px; line-height: 1.5; }
.spot-post > :is(img, video) { display: block; width: 100%; max-height: 520px; object-fit: contain; border-radius: 12px; background: #061328; }
.spot-post-engagement { display: grid; gap: 10px; border-top: 1px solid rgba(75, 125, 197, .22); padding-top: 13px; }
.spot-post-views, .spot-post-reply-summary { color: #52698f; font-size: 13px; }
.spot-post-social { display: flex; gap: 10px; }
.spot-post-social button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(75, 125, 197, .4); border-radius: 11px; color: #2167f5; background: #f7faff; font-size: 14px; font-weight: 800; cursor: pointer; }
.spot-post-social button[aria-pressed="true"] { border-color: #9b6cff; color: #8b55ef; background: #f3edff; }
.spot-post-social button:disabled { opacity: .55; cursor: wait; }
.spot-post-replies { display: grid; gap: 10px; }
.spot-post-replies[hidden] { display: none; }
.spot-post-reply { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f2f6fc; font-size: 14px !important; }
.spot-post-reply strong { white-space: nowrap; }
.spot-post-replies form { display: flex; gap: 8px; }
.spot-post-replies input { min-width: 0; flex: 1; min-height: 44px; padding: 9px 12px; border: 1px solid rgba(75, 125, 197, .4); border-radius: 10px; color: #0b285b; background: #fff; font: inherit; font-size: 15px; }
.spot-post-replies form button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; color: #fff; background: #2167f5; font-weight: 800; cursor: pointer; }
.spot-post-replies [data-spot-reply-status] { color: #52698f; font-size: 13px; }
.spot-add-button { min-height: 48px; margin-bottom: 18px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: #2167f5; font-weight: 800; cursor: pointer; }
.spot-empty { font-size: 15px; }
.spot-setup-form { display: grid; gap: 16px; }
.spot-setup-form h4 { margin: 0; font-size: clamp(21px, 2vw, 27px); }
.spot-setup-form label { display: grid; gap: 7px; color: #0b285b; font-size: 14px; font-weight: 700; }
.spot-setup-form input, .spot-setup-form select, .spot-setup-form textarea {
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid rgba(75, 125, 197, .45);
  border-radius: 12px; color: #0b285b; background: #fff; font: inherit;
}
.spot-setup-form textarea { resize: vertical; }
.spot-setup-form input[type="file"] { padding: 10px; }
.spot-setup-form small { color: #52698f; font-weight: 400; }
.spot-upload-preview { display: block; width: 78px; height: 78px; margin-top: 4px; border: 2px solid #9b6cff; border-radius: 16px; background: #fff; overflow: hidden; }
.spot-upload-preview[hidden] { display: none; }
.spot-upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.spot-setup-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 18px; border: 1px solid rgba(75, 125, 197, .35); border-radius: 16px; }
.spot-setup-form legend { padding: 0 6px; font-size: 17px; font-weight: 800; }
.spot-form-actions { display: flex; gap: 12px; justify-content: flex-end; }
.spot-form-actions button { min-height: 48px; padding: 0 20px; border: 1px solid #2167f5; border-radius: 12px; color: #2167f5; background: transparent; font-weight: 800; cursor: pointer; }
.spot-form-actions button[type="submit"] { color: #fff; background: #2167f5; }
.spot-form-actions button:disabled { opacity: .55; cursor: wait; }
.profile-spots-panel .profile-settings-status { min-height: 22px; font-size: 14px; }
html[data-theme="dark"] body.is-logged-in .spot-type-option { color: #f5f8ff; background: transparent; }
html[data-theme="dark"] body.is-logged-in :is(.spot-created, .spot-setup-form fieldset) { border-color: rgba(145,190,255,.34); color: #f5f8ff; background: #07111f; }
html[data-theme="dark"] body.is-logged-in :is(.spot-created strong, .spot-detail-identity) { color: #f5f8ff; }
html[data-theme="dark"] body.is-logged-in .spot-detail-identity { border-color: rgba(145,190,255,.34); background: #07111f; }
html[data-theme="dark"] body.is-logged-in .spot-detail-identity :is(small, span span) { color: #9fb4d2; }
html[data-theme="dark"] body.is-logged-in :is(.spot-created, .spot-detail-identity) .spot-keep-ups { color: #a66cff; }
html[data-theme="dark"] body.is-logged-in .spot-setup-form label { color: #f5f8ff; }
html[data-theme="dark"] body.is-logged-in .spot-type-option span, html[data-theme="dark"] body.is-logged-in .spot-created span { color: #9fb4d2; }
html[data-theme="dark"] body.is-logged-in .spot-setup-form :is(input, select, textarea) { border-color: rgba(145,190,255,.34); color: #f5f8ff; background: #07111f; }
html[data-theme="dark"] body.is-logged-in :is(.spot-post-card, .spot-post) { border-color: rgba(145,190,255,.34); color: #f5f8ff; background: #07111f; box-shadow: none; }
html[data-theme="dark"] body.is-logged-in .spot-post-heading strong { color: #f5f8ff; }
html[data-theme="dark"] body.is-logged-in :is(.spot-post-status, .spot-post-meta time) { color: #9fb4d2; }
html[data-theme="dark"] body.is-logged-in :is(.spot-post-views, .spot-post-reply-summary, .spot-post-replies [data-spot-reply-status]) { color: #9fb4d2; }
html[data-theme="dark"] body.is-logged-in :is(.spot-post-social button, .spot-post-replies input, .spot-post-reply) { border-color: rgba(145,190,255,.34); color: #f5f8ff; background: #09182b; }
html[data-theme="dark"] body.is-logged-in .spot-post-social button[aria-pressed="true"] { border-color: #9b6cff; color: #a66cff; background: #211a3e; }

.spot-host-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
html body.is-logged-in[data-app-view] .spot-host-actions .vibe-action:is([data-spot-host-event], [data-spot-action]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  gap: 7px;
}
html body.is-logged-in[data-app-view] .spot-host-actions .vibe-action:is([data-spot-host-event], [data-spot-action]) i {
  width: 22px;
  height: 22px;
}
html body.is-logged-in[data-app-view] .spot-host-actions button[hidden] { display: none; }
.spot-event-form-slot .host-event-preview { width: 100%; margin: 0 0 24px; }
.spot-event-form-slot .host-event-header p { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  body.is-logged-in .profile-settings-panel.profile-spots-panel { inset: 86px 10px 0; padding: 4px 8px calc(130px + env(safe-area-inset-bottom)); }
  .spot-type-grid, .spot-setup-form fieldset { grid-template-columns: 1fr; }
  .spot-type-option { min-height: 92px; padding: 12px 30px 12px 0; }
  .spot-form-actions { flex-direction: column-reverse; }
}

/* Office Hours shares the Host Event form and compact action signatures. */
html body.is-logged-in dialog.spot-form-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
  overflow: auto; overscroll-behavior: contain; color: var(--ink);
}
.spot-form-dialog::backdrop { background: rgba(4, 12, 25, .45); }
.spot-form-dialog .host-event-header { position: sticky; top: 0; z-index: 1; background: inherit; }
.spot-form-dialog .host-event-close { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.office-hours-form .full { grid-column: 1 / -1; }
.office-hours-form .spot-host-actions { margin: 0; }
.office-hours-hint, .office-hours-status { margin: 0; font-size: 13px; line-height: 1.5; }
.office-hours-status:empty { display: none; }
.office-hours-people { margin: 0; padding: 0; border: 0; }
.office-hours-people legend { margin-bottom: 8px; font-weight: 700; }
.office-hours-results { max-height: 176px; overflow-y: auto; }
.office-hours-person { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.office-hours-person input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; padding: 0; accent-color: #8b55ef; }
.office-hours-selected { display: flex; flex-wrap: wrap; gap: 6px; }
.office-hours-selected button { min-height: 44px; padding: 6px 10px; border: 1px solid var(--sp-action-border); border-radius: 12px; color: var(--sp-action-ink); background: var(--sp-action-background); }
.office-hours-details { padding: 18px; overflow-wrap: anywhere; white-space: pre-wrap; }
.office-hours-meetings:empty { display: none; }
.office-hours-meetings { display: grid; gap: 8px; }
.office-hours-meetings button { text-align: left; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; }
html[data-theme="dark"] body.is-logged-in dialog.spot-form-dialog { color: #f5f8ff; background: #07111f; }
@media (max-width: 540px) { .office-hours-form { grid-template-columns: 1fr; } }
.spot-activity-section { border-top: 1px solid var(--sp-action-border); padding-top: 14px; }
.spot-activity-section h5 { margin: 0 0 10px; font-size: 17px; }
.spot-activity-section p { margin: 0 0 12px; font-size: 13px; }
.spot-activity-section button { display: grid; gap: 5px; width: 100%; overflow-wrap: anywhere; }
.spot-activity-section button strong { font-size: 14px; }
.spot-activity-section button span { font-size: 12px; }

.office-hours-diaries { width: min(100%, 780px); margin: 20px auto; padding: 0 18px; }
.office-hours-diaries[hidden] { display: none; }
.office-hours-diaries .spot-activity-section { margin-bottom: 24px; border: 0; }
.office-hours-diaries button { border: 0; background: transparent; color: inherit; text-align: left; min-height: 44px; padding: 10px 0; }
.live-view:has([data-live-filter="diaries"].active) .live-count::before { display: none; }
.office-hours-meetings { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.spot-activity-group h5 { font-size: 17px; margin: 0 0 12px; }
.spot-activity-group h6 { font-size: 14px; margin: 0 0 10px; }

html body.is-logged-in .spot-host-dialog > .host-event-preview {
  width: 100%; margin: 0; border: 0; border-radius: 0;
  overflow: visible; background: inherit; box-shadow: none;
}
.spot-host-dialog .host-period-choice input {
  width: 1px; height: 1px; min-width: 0; min-height: 0;
  clip-path: inset(50%); overflow: hidden;
}
.spot-form-dialog .spot-flow-navigation { margin: 0; padding: 12px 18px; gap: 8px; }
.spot-form-dialog .spot-flow-navigation [aria-pressed="true"] { outline: 1px solid var(--sp-vibe-selected-border); outline-offset: 1px; }
.spot-form-dialog .host-event-form[hidden], .spot-flow-activities[hidden] { display: none; }
.spot-flow-activities { padding: 0 18px 18px; min-height: 120px; }
.spot-flow-activities > button { display: grid; gap: 6px; width: 100%; min-height: 44px; padding: 12px 0; text-align: left; border: 0; border-bottom: 1px solid var(--sp-action-border); color: inherit; background: transparent; }
.spot-flow-activities > button span, .spot-flow-activities p { font-size: 13px; }

.spot-post-card[hidden] { display: none; }
html body.is-logged-in .spot-post-dialog .spot-post-card {
  width: 100%; margin: 0; border: 0; border-radius: 0; background: inherit; box-shadow: none;
}

/* Use the same heading-above-content layout as the other main pages. */
body.is-logged-in.spots-page .friends-preview > .map-page-header {
  position: relative; inset: auto; width: 100%; min-height: 62px;
  flex: 0 0 auto; margin: 0; padding: 0 4px 12px;
  border: 0; border-radius: 0; background: transparent;
  box-shadow: none; backdrop-filter: none;
}
body.is-logged-in.spots-page .profile-settings-panel.profile-spots-panel { top: 18px; }
@media (min-width: 1101px) {
  body.is-logged-in.spots-page .app-main { position: relative; }
  body.is-logged-in.spots-page .app-topbar {
    position: absolute; top: 0; right: 0; z-index: 50;
    width: auto; height: 64px; background: transparent;
  }
}
@media (max-width: 1100px) {
  body.is-logged-in.spots-page .friends-preview > .map-page-header {
    min-height: 52px; padding: 0 16px 9px;
  }
}
html body.is-logged-in.spots-page .me-view > .persistent-city-map {
  border: 0; border-radius: 0; background: transparent; box-shadow: none !important;
  overflow: visible;
}
html body.is-logged-in.spots-page .me-view > .persistent-city-map .friends-map {
  border: 1px solid rgba(75,125,197,.35); border-radius: 24px;
}
html[data-theme="dark"] body.is-logged-in.spots-page .me-view > .persistent-city-map .friends-map {
  border-color: rgba(151,181,226,.2);
}

body.is-logged-in.spots-page .friends-preview > .map-page-header { gap: 12px; }
body.is-logged-in.spots-page .map-page-header > :is(.spot-detail-back, [data-spot-profile-back]) {
  margin-left: auto; flex: 0 0 auto; align-self: flex-start; white-space: nowrap;
}
body.is-logged-in.spots-page .map-page-header > div:first-child { min-width: 0; }
body.is-logged-in.spots-page .map-page-header .page-heading-title { overflow-wrap: anywhere; }

body.is-logged-in.spots-page .map-page-header > [data-spot-profile-back] {
  min-height: 44px; padding: 0 2px; font-size: 15px; font-weight: 800;
}
body.is-logged-in.spots-page .map-page-header > [hidden] { display: none; }

.spot-dashboard-heading { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; color: #0b285b; }
html[data-theme="dark"] .spot-dashboard-heading { color: #f5f8ff; }
.spot-analytics-content { padding: 18px; }
.spot-analytics-content > label { max-width: 180px; margin-bottom: 18px; }
.spot-analytics-group { padding: 12px 0; border-top: 1px solid var(--sp-action-border); }
.spot-analytics-group h5 { margin: 0 0 12px; font-size: 16px; }
.spot-analytics-group dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin: 0; }
.spot-analytics-group dt { font-size: 12px; }
.spot-analytics-group dd { margin: 5px 0 0; font-size: 20px; font-weight: 700; }

.spot-analytics-group dd.spot-analytics-change { font-size: 11px; font-weight: 400; color: var(--sp-action-muted, #a9bbd0); }
.spot-profile-link { appearance: none; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-align: left; padding: 0; cursor: pointer; }
.spot-attendance-list { display: grid; gap: 12px; padding: 18px; }
.spot-attendance-list label { display: flex; gap: 10px; align-items: center; }

.spot-profile-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }

.office-hours-room-photo { display: block; width: 100%; height: auto; border-radius: 12px; }

.office-hours-rooms{border:0;padding:0;margin:0;min-width:0}
.office-hours-rooms legend{margin-bottom:10px;font:inherit}
.office-hours-room-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}
.office-hours-room-option{display:flex;flex-direction:column;overflow:hidden;cursor:pointer;border:1px solid var(--border,#38577e);border-radius:12px;background:var(--surface,#07111f)}
.office-hours-room-option:has(input:checked){border-color:#9b6cff;box-shadow:0 0 0 1px #9b6cff}
.office-hours-room-option:focus-within{outline:2px solid #9b6cff;outline-offset:3px}
.office-hours-room-option img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.office-hours-form .office-hours-room-option span{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px;font-size:14px;line-height:1.4}
.office-hours-form .office-hours-room-option input{appearance:auto;width:16px;height:16px;min-height:0;padding:0;margin:0;flex:none;accent-color:#9b6cff}

/* Office Hours follows the same two-tone heading signature as My Spot. */
#office-hours-title span, #host-event-title span { color: #2167f5; }
html[data-theme="dark"] #office-hours-title span, html[data-theme="dark"] #host-event-title span { color: #9b6cff; }

.office-hours-room-choice { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border,#38577e); border-radius: 12px; overflow: hidden; background: var(--sp-theme-surface); }
.office-hours-room-choice .office-hours-room-option { flex: 1; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.office-hours-room-choice .office-room-preview-button { align-self: flex-start; }
.office-hours-room-choice:has(input:checked) { border-color: var(--sp-color-blue); box-shadow: 0 0 0 1px var(--sp-color-blue); }
html[data-theme="dark"] .office-hours-room-choice:has(input:checked) { border-color: var(--sp-color-violet); box-shadow: 0 0 0 1px var(--sp-color-violet); }
html body.is-logged-in dialog.spot-form-dialog.office-room-preview[open] { display: flex; flex-direction: column; box-sizing: border-box; width: min(1200px, calc(100vw - 32px)); max-width: none; height: min(820px, calc(100dvh - 32px)); max-height: none; padding: 14px 16px 16px; gap: 10px; overflow: hidden; border-radius: 28px; }
html body.is-logged-in dialog.office-room-preview > .host-event-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 0 8px; background: transparent; }
html body.is-logged-in dialog.office-room-preview > .host-event-header h4 { margin: 0; font-size: 19px; }
.office-room-preview .host-event-header { flex: none; }
.office-room-preview iframe { display: block; flex: 1; min-height: 0; width: 100%; border: 0; border-radius: 22px; background: #050b14; }

.host-studio-preview-choice { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--sp-theme-border); border-radius: 16px; overflow: hidden; background: var(--sp-theme-surface); }
.host-studio-preview-choice .host-studio-option { flex: 1; border: 0; border-radius: 0; background: transparent; }

.host-studio-preview-choice:has(input:checked) { border-color: var(--sp-color-blue); }
html[data-theme="dark"] .host-studio-preview-choice:has(input:checked) { border-color: var(--sp-color-violet); }

html body.is-logged-in .room-preview-action { display: flex; margin: 0; padding: 0 10px 10px; }

html body.is-logged-in .room-preview-action .room-preview-text {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: #2167f5; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
html[data-theme="dark"] body.is-logged-in .room-preview-action .room-preview-text { color: #9b6cff; }
html body.is-logged-in .room-preview-text:hover { text-decoration: underline; }
html body.is-logged-in .room-preview-text:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* One outer frame for every My Spot state, with its heading inside the frame. */
html body.is-logged-in.spots-page .friends-preview{position:relative}
/* Keep header controls above the map content layer so pointer clicks reach them. */
html body.is-logged-in.spots-page .friends-preview>.friends-preview-header:not([hidden]){position:absolute;top:12px;left:24px;right:24px;width:auto;z-index:3;margin:0;padding:0;min-height:52px}
html body.is-logged-in.spots-page .profile-spots-panel:has([data-spot-list]:not([hidden])){top:78px}

.office-hours-person-photo { width:36px; height:36px; flex:0 0 36px; object-fit:cover; border:2px solid #9b6cff; border-radius:12px; display:grid; place-items:center; overflow:hidden; }
.office-hours-person small { display:block; color:var(--sp-theme-text-muted); }

/* Meeting invite cards must contain the full profile, without a clipped inner list. */
.office-hours-results.host-event-team-invite-list {
  max-height: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
  margin-top: 8px;
  grid-auto-rows: minmax(56px, auto);
}
.office-hours-results .host-event-team-invite-contact {
  height: auto;
  min-height: 56px;
  padding: 8px 10px;
  align-self: stretch;
  box-sizing: border-box;
}
.office-hours-results .host-event-team-invite-contact > i {
  box-sizing: border-box;
  overflow: hidden;
}

.host-event-team-invite-contact .office-invite-profile { width:36px; display:grid; place-items:center; font-size:10px; font-style:normal; background:var(--sp-profile-shell-gradient); }
.office-hours-results .host-event-team-invite-contact { min-height:66px; }
.spot-admin-form { padding:20px; display:grid; gap:14px; }
.spot-admin-form label { display:grid; gap:8px; }
.spot-admin-form input { width:100%; min-height:44px; border:1px solid var(--sp-theme-border); border-radius:14px; padding:10px; color:var(--sp-theme-text); background:var(--sp-theme-surface-soft); }
.spot-admin-form [data-send] { min-height:44px; border-radius:14px; border:1px solid var(--sp-theme-accent); background:var(--sp-theme-accent-soft); color:var(--sp-theme-text); }
.spot-admin-form .host-event-team-invite-list { min-height:0; }
.spot-admin-form [role="status"]:empty, .spot-admin-form [data-admins]:empty { display:none; }


/* Category selection starts below the existing page header, not over it. */
html body.is-logged-in.spots-page .profile-settings-panel.profile-spots-panel:has(.spot-type-grid:not([hidden])) {
  top: 92px !important;
  padding-top: 52px !important;
}
html body.is-logged-in.spots-page .profile-spots-panel:has(.spot-type-grid:not([hidden])) .spot-type-grid {
  gap: 10px;
  align-content: start;
}
html body.is-logged-in.spots-page .profile-spots-panel:has(.spot-type-grid:not([hidden])) .spot-type-option {
  min-height: 80px;
}

/* Audit fixes (Nov 2026). */
/* Whenever the "My Spot" heading shows (list, Spot type picker, Create a Spot form), the panel starts below it. */
html body.is-logged-in.spots-page .friends-preview:has(> .friends-preview-header:not([hidden])) .profile-spots-panel{top:78px}
/* Meeting and Analytics sheets: the heading keeps its full height, so its close button is never cut off. */
.spot-form-dialog:is(.office-hours-dialog,.spot-analytics-dialog) > .host-event-header{flex-shrink:0;min-height:max-content;align-items:flex-start;padding-top:18px}
.spot-form-dialog:is(.office-hours-dialog,.spot-analytics-dialog,.verified-subscription) > .host-event-header .host-event-close{width:44px;min-width:44px;height:44px;border-radius:50%;margin:0}
/* Create a Post: a text box first, then an optional photo or video. */
.spot-post-card .spot-post-text{display:block;margin:0 0 12px}
.spot-post-card .spot-post-text>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.spot-post-card .spot-post-text textarea{display:block;width:100%;min-height:118px;resize:vertical;padding:14px 16px;border:1px solid rgba(11,40,91,.14);border-radius:20px;background:#ffffff;color:#0b285b;font:500 15px/1.45 Inter,system-ui,sans-serif}
.spot-post-card .spot-post-text textarea::placeholder{color:#52698f}
.spot-post-card .spot-post-text textarea:focus-visible{outline:2px solid #9b6cff;outline-offset:2px}
html[data-theme="dark"] .spot-post-card .spot-post-text textarea{background:#08172b;border-color:rgba(145,190,255,.2);color:#f5f8ff}
html[data-theme="dark"] .spot-post-card .spot-post-text textarea::placeholder{color:#9fb4d2}
.spot-post-card .spot-post-heading{justify-content:flex-start}
.spot-post-card .spot-post-add-label{color:#52698f;font-size:14px;font-weight:600}
html[data-theme="dark"] .spot-post-card .spot-post-add-label{color:#9fb4d2}
/* Request a Shield / Ribbon: the name with a round × to close, like every other sheet. */
html:root:root body:is(.is-logged-in,:not(.is-logged-in)) dialog.verified-subscription > .host-event-header{position:static;flex-shrink:0;min-height:max-content;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px;padding:0 !important;border:0;background:none}
html:root:root body:is(.is-logged-in,:not(.is-logged-in)) dialog.verified-subscription > .host-event-header h4{margin:6px 0 0;font-size:18px;font-weight:700;color:var(--pop-ink)}
html:root:root body:is(.is-logged-in,:not(.is-logged-in)) dialog.verified-subscription > .host-event-header .host-event-close{flex:0 0 44px;padding:0 !important;font-size:22px;line-height:1;color:var(--pop-ink);background:var(--pop-field);box-shadow:inset 0 0 0 1px var(--pop-line);border:0;cursor:pointer}
html:root:root body:is(.is-logged-in,:not(.is-logged-in)) dialog.verified-subscription .verified-decision{margin:0 0 12px;padding:12px 14px;border-radius:18px;background:rgba(155,108,255,.1);color:var(--pop-ink) !important}
/* Spot profile (opened from the timeline or Live): the approved Spot frame and visitor actions. */
html body .spot-profile-dialog .spot-profile-logo{width:84px;height:84px;aspect-ratio:1/1;border:2px solid var(--sp-color-violet,#9b6cff);border-radius:26%;background:#ffffff;object-fit:cover}
html body .spot-profile-dialog .spot-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
html body .spot-profile-dialog .spot-profile-actions:empty{display:none}
html body .spot-profile-dialog .spot-profile-action{min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid rgba(33,103,245,.35);background:transparent;color:#0b285b;font:700 14px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:transform .3s var(--sp-ease-snappy)}
html body .spot-profile-dialog .spot-profile-action:hover{transform:translateY(-2px)}
html body .spot-profile-dialog .spot-profile-action.is-on{border-color:#9b6cff;color:#9b6cff}
html body .spot-profile-dialog .spot-profile-action.is-primary{border:0;color:#ffffff;background:var(--sp-brand-gradient,linear-gradient(120deg,#2167f5,#397cff 48%,#9b6cff))}
html body .spot-profile-dialog .spot-profile-action:focus-visible{outline:2px solid #9b6cff;outline-offset:2px}
html[data-theme="dark"] body .spot-profile-dialog .spot-profile-action:not(.is-primary){color:#f5f8ff;border-color:rgba(145,190,255,.4)}
html[data-theme="dark"] body .spot-profile-dialog .spot-profile-action.is-on{color:#9b6cff;border-color:#9b6cff}

/* ===== Spot screens redesign: Create a Spot, My Spot list, dashboard before renting =====
   Colours from design/tokens.json only. Motion matches web/styles/pricing.css
   (keyframes sp-tier-in, sp-badge-in, sp-save-pop live there). */
html body.is-logged-in .profile-spots-panel {
  --sp-spring: var(--sp-ease-snappy);
  --sp-ease: var(--sp-ease-glide);
  --sp-card: #ffffff;
  --sp-card-soft: #f5f8fd;
  --sp-ink: #0b285b;
  --sp-soft: #52698f;
  --sp-line: rgba(11, 40, 91, .07);
  --sp-lift: 0 18px 40px rgba(11, 40, 91, .1);
  --sp-rest: 0 14px 34px rgba(11, 40, 91, .07);
}
html[data-theme="dark"] body.is-logged-in .profile-spots-panel {
  --sp-card: #08172b;
  --sp-card-soft: #020b19;
  --sp-ink: #f5f8ff;
  --sp-soft: #9fb4d2;
  --sp-line: rgba(145, 190, 255, .16);
  --sp-lift: 0 18px 40px rgba(0, 0, 0, .45);
  --sp-rest: 0 14px 34px rgba(0, 0, 0, .35);
}
.profile-spots-panel :is(.sp-type-card, .sp-spot-card, .sp-rent-card, .sp-shield-card, .spot-detail.is-unrented .spot-host-actions > .vibe-action, .spot-detail-identity) {
  animation: sp-tier-in .7s var(--sp-ease) both; animation-delay: calc(var(--i, 0) * 80ms);
}
.profile-spots-panel :is(.sp-type-badge, .sp-chip) { animation: sp-badge-in .6s var(--sp-spring) both; animation-delay: .25s; }
.profile-spots-panel .sp-chip.is-changed { animation: sp-save-pop .5s var(--sp-spring); }

/* Shared pieces */
.profile-spots-panel .sp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9b6cff; }
.profile-spots-panel .sp-type-badge { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(155,108,255,.12); color: #9b6cff; white-space: nowrap; }
.profile-spots-panel .sp-type-badge.sp-tone-business { background: rgba(33,103,245,.1); color: #2167f5; }
.profile-spots-panel .sp-type-badge.sp-tone-creator { background: rgba(57,124,255,.12); color: #2167f5; }
.profile-spots-panel .sp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; background: rgba(33,103,245,.07); color: var(--sp-soft); font-size: 13px; font-weight: 600; }
.profile-spots-panel .sp-chip[hidden] { display: none; }
.profile-spots-panel .sp-chip-strong { color: var(--sp-ink); font-weight: 700; }
.profile-spots-panel .sp-chip em { font-style: normal; color: #9b6cff; }

/* 1. Create a Spot: choose the kind */
.profile-spots-panel .sp-type-head { display: grid; gap: 8px; margin: 0 0 22px; }
.profile-spots-panel .sp-type-head h4 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--sp-ink); }
.profile-spots-panel .sp-type-head p { margin: 0; font-size: 16px; color: var(--sp-soft); }
.profile-spots-panel .sp-type-head p[hidden] { display: none; }
html body.is-logged-in .profile-spots-panel .spot-type-grid.sp-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 20px; }
html body.is-logged-in .profile-spots-panel .spot-type-grid.sp-type-grid[hidden] { display: none; }
html body.is-logged-in .profile-spots-panel button.spot-type-option.sp-type-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 290px; padding: 28px; box-sizing: border-box;
  border: 1px solid var(--sp-line); border-radius: 30px; background: var(--sp-card); color: var(--sp-ink); text-align: left; cursor: pointer;
  box-shadow: var(--sp-rest); transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease);
}
.profile-spots-panel .sp-type-card strong { font-size: 23px; font-weight: 800; color: var(--sp-ink); }
.profile-spots-panel .sp-type-card .sp-type-desc { font-size: 15px; line-height: 1.45; color: var(--sp-soft); }
.profile-spots-panel .sp-type-card .sp-type-go { position: static; transform: none; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: #2167f5; }
.profile-spots-panel :is(.sp-type-icon, .sp-card-icon) { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: rgba(155,108,255,.12); color: #9b6cff; }
.profile-spots-panel .sp-type-icon.sp-tone-business { background: rgba(33,103,245,.1); color: #2167f5; }
.profile-spots-panel .sp-type-icon.sp-tone-creator { background: rgba(57,124,255,.12); color: #397cff; }

/* 2. My Spot list */
.profile-spots-panel .sp-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px; }
.profile-spots-panel .sp-list-head p { margin: 0; font-size: 16px; color: var(--sp-soft); }
html body.is-logged-in .profile-spots-panel .sp-create-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sp-brand-gradient); color: #ffffff; font-size: 15px; font-weight: 800; box-shadow: 0 12px 26px rgba(33,103,245,.26);
  transition: transform .3s var(--sp-spring), box-shadow .3s;
}
.profile-spots-panel .sp-spot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html body.is-logged-in .profile-spots-panel button.spot-created.sp-spot-card {
  display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 24px; border: 1px solid var(--sp-line); border-radius: 30px;
  background: var(--sp-card); color: var(--sp-ink); text-align: left; cursor: pointer; box-shadow: var(--sp-rest);
  transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease);
}
.profile-spots-panel .sp-spot-card::after { content: none !important; }
.profile-spots-panel .sp-spot-top { display: flex; align-items: center; gap: 18px; }
.profile-spots-panel .sp-spot-logo { flex: none; width: 88px; height: 88px; padding: 4px; box-sizing: border-box; border: 2.5px solid #9b6cff; border-radius: 26%; background: #ffffff; overflow: hidden; }
.profile-spots-panel .sp-spot-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.profile-spots-panel .sp-spot-logo b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 20px; background: var(--sp-brand-gradient); color: #ffffff; font-size: 26px; }
.profile-spots-panel .sp-spot-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.profile-spots-panel .sp-spot-title strong { font-size: 22px; font-weight: 800; color: var(--sp-ink); }
.profile-spots-panel .sp-spot-go { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--sp-card-soft); color: #2167f5; }
.profile-spots-panel .sp-spot-desc { font-size: 15px; line-height: 1.45; color: var(--sp-soft) !important; }
.profile-spots-panel .sp-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--sp-line); }

/* 3. A Spot's dashboard before renting */
html body.is-logged-in .profile-spots-panel .spot-detail-identity { gap: 26px; padding: 30px 32px; border: 0; border-radius: 32px; background: var(--sp-card); box-shadow: var(--sp-rest); }
html body.is-logged-in .profile-spots-panel .spot-detail-identity > img, html body.is-logged-in .profile-spots-panel .spot-detail-identity .verification-photo > img { width: 108px; height: 108px; flex: 0 0 108px; padding: 4px; border: 2.5px solid #9b6cff; border-radius: 26%; background: #ffffff; box-sizing: border-box; }
.profile-spots-panel .sp-identity-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
html body.is-logged-in .profile-spots-panel .spot-detail-identity .sp-identity-title strong { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--sp-ink); }
html body.is-logged-in .profile-spots-panel .spot-detail-identity > span > span:not(.sp-identity-title) { font-size: 16px; color: var(--sp-soft); }
html body.is-logged-in .profile-spots-panel .spot-detail-identity .spot-keep-ups { font-size: 15px; font-weight: 600; color: var(--sp-soft); }
.profile-spots-panel .spot-detail-identity .spot-keep-ups b { color: var(--sp-ink); font-size: 18px; }
.profile-spots-panel .sp-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 22px 0 10px; }
.profile-spots-panel :is(.sp-rent-card, .sp-shield-card) { display: flex; flex-direction: column; gap: 12px; min-height: 196px; padding: 28px 30px; box-sizing: border-box; border-radius: 28px; transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease); }
.profile-spots-panel .sp-rent-card[hidden] { display: none; }
.profile-spots-panel .sp-rent-card { background: var(--sp-brand-gradient); color: #ffffff; box-shadow: 0 14px 30px rgba(33,103,245,.22); }
.profile-spots-panel .sp-rent-card .sp-card-icon { width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.18); color: #ffffff; }
.profile-spots-panel .sp-rent-card .sp-eyebrow { color: #ffffff; opacity: .9; }
.profile-spots-panel :is(.sp-rent-card, .sp-shield-card) h5 { margin: 0; font-size: 23px; font-weight: 800; }
html body.is-logged-in .profile-spots-panel .sp-rent-card p { margin: 0; font-size: 15px; line-height: 1.45; color: #f5f8ff !important; max-width: 460px; }
html body.is-logged-in .profile-spots-panel .sp-rent-card :is(h5, .sp-eyebrow) { color: #ffffff !important; }
.profile-spots-panel .sp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-spots-panel .sp-rent-card .sp-card-top { justify-content: flex-start; }
.profile-spots-panel .sp-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
html body.is-logged-in .profile-spots-panel .sp-rent-cta { min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: #ffffff; color: #2167f5; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .3s var(--sp-spring); }
.profile-spots-panel .sp-shield-card { background: var(--sp-card); color: var(--sp-ink); box-shadow: var(--sp-rest); }
.profile-spots-panel .sp-shield-card .sp-card-icon { width: 48px; height: 48px; border-radius: 16px; }
.profile-spots-panel .sp-shield-card p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--sp-soft); }
html body.is-logged-in .profile-spots-panel .sp-shield-card .profile-menu-item {
  align-self: flex-start; margin-top: auto; display: inline-flex !important; flex-direction: row !important; width: auto !important; height: auto !important; aspect-ratio: auto !important;
  min-height: 46px; padding: 0 22px !important; gap: 0; border: 1.5px solid rgba(33,103,245,.35) !important; border-radius: 999px !important;
  background: transparent !important; color: var(--sp-ink); box-shadow: none !important; white-space: nowrap;
}
html body.is-logged-in .profile-spots-panel .sp-shield-card .profile-menu-item .profile-menu-copy { display: block; }
.profile-spots-panel .sp-shield-card .profile-menu-item :is(.profile-menu-icon, .profile-menu-meta) { display: none; }
.profile-spots-panel .sp-shield-card .profile-menu-item strong { font-size: 15px; font-weight: 700; }
.profile-spots-panel .sp-manage-head { display: none; margin: 26px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--sp-soft); }
.profile-spots-panel .spot-detail.is-unrented .sp-manage-head { display: block; }
.profile-spots-panel .sp-action-note { display: none; }
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr)); gap: 16px; margin: 14px 0 18px; }
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action:not([hidden]) {
  display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 12px !important;
  width: 100% !important; min-height: 148px !important; padding: 22px !important; border: 1px solid var(--sp-line) !important; border-radius: 26px !important;
  background: var(--sp-card) !important; color: var(--sp-ink) !important; font-size: 17px !important; font-weight: 800 !important; text-align: left;
  box-shadow: none !important; transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease);
}
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action i { flex: none !important; width: 44px !important; height: 44px !important; min-height: 44px !important; border-radius: 15px !important; display: grid; place-items: center; background: rgba(155,108,255,.12); color: #9b6cff; }
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action i svg { width: 22px; height: 22px; }
.profile-spots-panel .spot-detail.is-unrented .sp-action-note { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--sp-soft); }

/* Motion: hover lift, press, brand lift for gradient pieces */
@media (hover: hover) {
  html body.is-logged-in .profile-spots-panel :is(button.sp-type-card, button.sp-spot-card, .sp-shield-card):hover,
  html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action:hover { transform: translateY(-4px); box-shadow: var(--sp-lift) !important; }
  html body.is-logged-in .profile-spots-panel :is(.sp-create-pill, .sp-rent-card):hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33,103,245,.34); }
}
html body.is-logged-in .profile-spots-panel :is(button.sp-type-card, button.sp-spot-card, .sp-create-pill, .sp-rent-cta):active,
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action:active { transform: scale(.985); }
.profile-spots-panel :is(.sp-type-card, .sp-spot-card, .sp-create-pill, .sp-rent-cta, .sp-shield-card .profile-menu-item):focus-visible { outline: 2px solid #9b6cff; outline-offset: 3px; }

@media (max-width: 1100px) {
  html body.is-logged-in .profile-spots-panel .spot-type-grid.sp-type-grid, .profile-spots-panel :is(.sp-spot-grid, .sp-setup-grid) { grid-template-columns: 1fr; }
  html body.is-logged-in .profile-spots-panel button.spot-type-option.sp-type-card { min-height: 0; padding: 22px; }
  html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail.is-unrented .spot-host-actions > .vibe-action:not([hidden]) { min-height: 124px !important; padding: 18px !important; }
  html body.is-logged-in .profile-spots-panel .spot-detail-identity { flex-direction: column; text-align: center; padding: 22px; }
  .profile-spots-panel .sp-identity-title { justify-content: center; }
  .profile-spots-panel .sp-spot-logo { width: 72px; height: 72px; }
  .profile-spots-panel .sp-create-pill { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-spots-panel :is(.sp-type-card, .sp-spot-card, .sp-rent-card, .sp-shield-card, .spot-host-actions > .vibe-action, .spot-detail-identity, .sp-type-badge, .sp-chip, .sp-create-pill, .sp-rent-cta) { animation: none !important; transition: none !important; transform: none !important; }
}

/* The redesigned My Spot list and unrented dashboard use the panel's full width (up to 1120px), like the design. */
html body.is-logged-in .profile-spots-panel :is(.spot-list, .spot-detail.is-unrented) { width: min(100%, 1120px); }
/* Keep the Create a Spot pill clear of the panel's close button. */
html body.is-logged-in .profile-spots-panel .sp-list-head { padding-right: 64px; }
@media (max-width: 640px) { html body.is-logged-in .profile-spots-panel .sp-list-head { padding-right: 0; } }

/* ===== Rented Spot: the office card (room, Visit Office, Enter office, Dashboard) =====
   The Shield keeps its original look beside the Spot's name; colours from design/tokens.json; motion as the redesign above. */
html body.is-logged-in .profile-spots-panel .spot-detail:has(.sp-office-card) { width: min(100%, 1120px); }
html body.is-logged-in .profile-spots-panel .spot-detail-identity:has(.sp-identity-shield) { flex-wrap: wrap; }
.profile-spots-panel .sp-identity-shield { margin-left: auto; flex: 0 1 340px; min-width: 260px; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield .profile-menu-item {
  width: 100%; min-height: 64px; padding: 10px 16px 10px 10px; border: 1px solid rgba(155,108,255,.22) !important; border-radius: 22px !important;
  background: rgba(155,108,255,.05) !important; box-shadow: none !important; color: var(--sp-ink); transition: transform .45s var(--sp-spring);
}
.profile-spots-panel .sp-office-card {
  display: grid; gap: 18px; padding: 18px; border-radius: 32px; background: var(--sp-card); color: var(--sp-ink); box-shadow: var(--sp-rest);
  animation: sp-tier-in .7s var(--sp-ease) both; animation-delay: 80ms;
}
.profile-spots-panel .sp-office-card[hidden] { display: none; }
.profile-spots-panel .sp-office-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
html body.is-logged-in .profile-spots-panel .sp-office-room {
  position: relative; display: block; min-height: 330px; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #08172b; cursor: pointer;
  transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease);
}
.profile-spots-panel .sp-office-room iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.profile-spots-panel .sp-office-status {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(2,11,25,.62); color: #f5f8ff; font-size: 13px; font-weight: 700; animation: sp-badge-in .6s var(--sp-spring) .35s both;
}
.profile-spots-panel .sp-office-status i { width: 8px; height: 8px; border-radius: 50%; background: #9fb4d2; }
.profile-spots-panel .sp-office-status.is-open i { background: #24d58b; }
.profile-spots-panel .sp-office-info { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 12px 0; min-width: 0; }
.profile-spots-panel .sp-office-info .sp-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9b6cff; }
html body.is-logged-in .profile-spots-panel .sp-office-info h5 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--sp-ink); }
html body.is-logged-in .profile-spots-panel .sp-office-info p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--sp-soft); }
.profile-spots-panel .sp-office-visit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--sp-card-soft); }
.profile-spots-panel .sp-office-visit > span { display: grid; gap: 3px; }
.profile-spots-panel .sp-office-visit strong { font-size: 14.5px; }
.profile-spots-panel .sp-office-visit small { font-size: 13px; color: var(--sp-soft); }
/* Visit Office as a switch. */
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office] {
  position: relative; flex: none; width: 52px !important; min-width: 52px !important; height: 30px !important; min-height: 30px !important; padding: 0 !important;
  border: 0 !important; border-radius: 999px !important; background: rgba(82,105,143,.35) !important; box-shadow: none !important; font-size: 0 !important; cursor: pointer;
  transition: background .3s var(--sp-ease);
}
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office] > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office]::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #ffffff; box-shadow: 0 2px 6px rgba(11,40,91,.2);
  transition: transform .45s var(--sp-spring);
}
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office][aria-checked="true"] { background: #24d58b !important; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office][aria-checked="true"]::after { transform: translateX(22px); }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office]:focus-visible { outline: 2px solid #9b6cff; outline-offset: 3px; }
.profile-spots-panel .sp-office-actions { display: flex; gap: 12px; margin-top: auto; }
html body.is-logged-in .profile-spots-panel :is(.sp-office-enter, .sp-office-dashboard) {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .3s var(--sp-spring), box-shadow .3s var(--sp-ease);
}
html body.is-logged-in .profile-spots-panel .sp-office-enter { border: 0; background: var(--sp-brand-gradient); color: #ffffff; box-shadow: 0 12px 26px rgba(33,103,245,.26); }
html body.is-logged-in .profile-spots-panel .sp-office-dashboard { border: 1.5px solid #9b6cff; background: rgba(155,108,255,.08); color: var(--sp-ink); }
.profile-spots-panel .sp-office-dashboard svg { fill: none; stroke: #9b6cff; stroke-width: 2; }
.profile-spots-panel .sp-office-dashboard .sp-office-caret { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--sp-spring); }
.profile-spots-panel .sp-office-dashboard[aria-expanded="true"] .sp-office-caret { transform: rotate(180deg); }
/* The Dashboard tools, inside the card. */
.profile-spots-panel .sp-office-tools { padding: 18px 8px 8px; border-top: 1px solid var(--sp-line); }
.profile-spots-panel .sp-office-tools:not([hidden]) { animation: sp-tier-in .5s var(--sp-ease) both; }
.profile-spots-panel .sp-office-tools > [data-office-controls] > summary { display: none; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 0; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > :is(.vibe-action, button):not([hidden]) {
  display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important;
  width: 100% !important; min-height: 64px !important; padding: 12px 16px !important; border: 1px solid var(--sp-line) !important; border-radius: 20px !important;
  background: var(--sp-card-soft) !important; color: var(--sp-ink) !important; font-size: 15px !important; font-weight: 700 !important; text-align: left; box-shadow: none !important;
  animation: sp-tier-in .55s var(--sp-ease) both; animation-delay: calc(var(--i, 0) * 50ms); transition: transform .45s var(--sp-spring), box-shadow .35s var(--sp-ease);
}
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > .vibe-action i { flex: none !important; width: 36px !important; height: 36px !important; min-height: 36px !important; border-radius: 12px !important; display: grid; place-items: center; background: rgba(155,108,255,.12); color: #9b6cff; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > .vibe-action i svg { width: 18px; height: 18px; }
.profile-spots-panel .sp-office-tools .sp-action-note { display: none; }
@media (hover: hover) {
  html body.is-logged-in .profile-spots-panel .sp-office-room:hover { transform: translateY(-2px); box-shadow: var(--sp-lift); }
  html body.is-logged-in .profile-spots-panel .sp-office-enter:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33,103,245,.34); }
  html body.is-logged-in .profile-spots-panel :is(.sp-office-dashboard, .sp-identity-shield .profile-menu-item):hover { transform: translateY(-2px); }
  html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > .vibe-action:hover { transform: translateY(-4px); box-shadow: var(--sp-lift) !important; }
}
html body.is-logged-in .profile-spots-panel :is(.sp-office-room, .sp-office-enter, .sp-office-dashboard):active,
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > .vibe-action:active { transform: scale(.985); }
.profile-spots-panel :is(.sp-office-room, .sp-office-enter, .sp-office-dashboard):focus-visible { outline: 2px solid #9b6cff; outline-offset: 3px; }
@media (max-width: 760px) {
  .profile-spots-panel .sp-office-main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  html body.is-logged-in .profile-spots-panel .sp-office-room { min-height: 210px; }
  .profile-spots-panel .sp-office-info { padding: 0 6px; }
  html body.is-logged-in .profile-spots-panel .sp-office-info h5 { font-size: 26px; }
  .profile-spots-panel .sp-office-actions { flex-direction: column; }
  .profile-spots-panel .sp-identity-shield { margin-left: 0; flex-basis: 100%; min-width: 0; }
  html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-spots-panel :is(.sp-office-card, .sp-office-status, .sp-office-tools, .sp-office-room, .sp-office-enter, .sp-office-dashboard, .sp-office-caret, .sp-identity-shield .profile-menu-item),
  .profile-spots-panel .sp-office-tools .spot-host-actions > *,
  .profile-spots-panel .sp-office-visit [data-visit-office],
  .profile-spots-panel .sp-office-visit [data-visit-office]::after { animation: none !important; transition: none !important; transform: none !important; }
  html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office][aria-checked="true"]::after { transform: translateX(22px) !important; }
}
/* The Shield entry sits inside the Spot header: keep the header's own image and text rules off it (its art and colours stay as they are). */
html body.is-logged-in .profile-spots-panel .spot-detail-identity:has(.sp-identity-shield) > span { flex: 1 1 300px; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield { align-self: center; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield .profile-menu-item { display: flex !important; align-items: center; gap: 14px; text-align: left; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield .profile-menu-icon { position: static; flex: none; width: 48px; height: 48px; border-radius: 15px; }
html body.is-logged-in .profile-spots-panel .spot-detail-identity .sp-identity-shield img { width: 22px; height: 30px; flex: none; margin: 0; border: 0; border-radius: 0; background: none; object-fit: contain; }
html body.is-logged-in .profile-spots-panel .spot-detail-identity .sp-identity-shield :is(span, strong) { color: var(--sp-ink); }
html body.is-logged-in .profile-spots-panel .spot-detail-identity .sp-identity-shield strong { font-size: 15px; font-weight: 800; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield .profile-menu-copy { flex: 1; min-width: 0; }
html body.is-logged-in .profile-spots-panel .sp-identity-shield .profile-menu-meta { color: #2167f5; font-size: 18px; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office]:not([aria-checked="true"]) { background: #9fb4d2 !important; }
@media (min-width: 761px) { html body.is-logged-in .profile-spots-panel .spot-detail-identity:has(.sp-identity-shield) { flex-wrap: nowrap; } }
@media (max-width: 760px) {
  html body.is-logged-in .profile-spots-panel .spot-detail-identity:has(.sp-identity-shield) > span { flex: none; }
  html body.is-logged-in .profile-spots-panel .sp-identity-shield { flex: none; width: 100%; margin: 4px 0 0; }
  html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-tools .spot-host-actions > :is(.vibe-action, button):not([hidden]) { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; min-height: 92px !important; padding: 14px !important; font-size: 14px !important; }
}

/* Rental period: the pill beside the Spot's name, the plan sheet, Make a payment, and the lock after a missed payment. */
html body.is-logged-in .profile-spots-panel .sp-period-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(36,213,139,.45); background: rgba(36,213,139,.1); color: var(--sp-ink); font-size: 13px; font-weight: 700; white-space: nowrap;
  animation: sp-badge-in .6s var(--sp-spring) .25s both; transition: transform .3s var(--sp-spring);
}
.profile-spots-panel .sp-period-pill i, .sp-period-sheet .sp-period-state i { width: 8px; height: 8px; border-radius: 50%; background: #24d58b; flex: none; }
html body.is-logged-in .profile-spots-panel .sp-period-pill.is-past_due { border-color: #9b6cff; background: rgba(155,108,255,.1); }
.profile-spots-panel .sp-period-pill.is-past_due i, .sp-period-sheet .sp-period-state.is-past_due i { background: #9b6cff; }
html body.is-logged-in .profile-spots-panel .sp-period-pill.is-expired { border-color: rgba(82,105,143,.35); background: rgba(82,105,143,.08); color: var(--sp-soft); }
.profile-spots-panel .sp-period-pill.is-expired i, .sp-period-sheet .sp-period-state.is-expired i { background: #52698f; }
@media (hover: hover) { html body.is-logged-in .profile-spots-panel .sp-period-pill:hover { transform: translateY(-2px); } }
html body.is-logged-in .profile-spots-panel .sp-period-pill:active { transform: scale(.97); }
.profile-spots-panel .sp-period-pill:focus-visible { outline: 2px solid #9b6cff; outline-offset: 3px; }

/* Make a payment: outlined beside Enter and Dashboard; it leads when the office is locked. */
.profile-spots-panel .sp-office-actions { flex-wrap: wrap; }
html body.is-logged-in .profile-spots-panel .sp-office-pay {
  order: 2; flex: 1 1 100%; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(33,103,245,.35); background: transparent;
  color: var(--sp-ink); font-size: 14.5px; font-weight: 800; cursor: pointer; transition: transform .3s var(--sp-spring);
}
html body.is-logged-in .profile-spots-panel .sp-office-card.is-locked .sp-office-pay { order: -1; border: 0; background: var(--sp-brand-gradient); color: #ffffff; box-shadow: 0 12px 26px rgba(33,103,245,.26); min-height: 50px; }
html body.is-logged-in .profile-spots-panel .sp-office-card.is-locked :is(.sp-office-enter, .sp-office-room) { filter: grayscale(1); opacity: .55; box-shadow: none; }
html body.is-logged-in .profile-spots-panel .sp-office-card.is-locked .sp-office-enter { background: rgba(82,105,143,.45); }
.profile-spots-panel .sp-office-status.is-locked i { background: #9b6cff; }
html body.is-logged-in[data-app-view] .profile-spots-panel .sp-office-visit [data-visit-office]:disabled { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { html body.is-logged-in .profile-spots-panel .sp-office-pay:hover { transform: translateY(-2px); } }
html body.is-logged-in .profile-spots-panel .sp-office-pay:active { transform: scale(.985); }

/* The plan sheet. */
.sp-period-sheet { width: min(460px, calc(100vw - 32px)) !important; border-radius: 28px !important; }
.sp-period-sheet .sp-period-body { display: grid; gap: 14px; }
.sp-period-sheet .sp-period-state { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(36,213,139,.12); color: #0b285b; font-size: 13.5px; font-weight: 800; animation: sp-save-pop .5s var(--sp-ease-snappy); }
.sp-period-sheet .sp-period-state.is-past_due { background: rgba(155,108,255,.14); }
.sp-period-sheet .sp-period-state.is-expired { background: rgba(82,105,143,.12); }
.sp-period-sheet dl { display: grid; gap: 0; margin: 0; border-radius: 20px; background: #f5f8fd; overflow: hidden; }
.sp-period-sheet dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid rgba(11,40,91,.06); }
.sp-period-sheet dl > div:last-child { border-bottom: 0; }
.sp-period-sheet dt { color: #52698f; font-size: 14px; }
.sp-period-sheet dd { margin: 0; color: #0b285b; font-size: 14px; font-weight: 700; text-align: right; }
.sp-period-sheet .sp-period-note { margin: 0; color: #52698f; font-size: 13.5px; line-height: 1.45; }
.sp-period-sheet .sp-period-status:empty { display: none; }
.sp-period-sheet .sp-period-status { margin: 0; color: #0b285b; font-size: 13.5px; font-weight: 700; }
html body .sp-period-sheet .sp-period-pay { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 0; border-radius: 999px; background: var(--sp-brand-gradient); color: #ffffff; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px rgba(33,103,245,.26); }
html body .sp-period-sheet .sp-period-pay:disabled { opacity: .6; }
html[data-theme="dark"] .sp-period-sheet dl { background: #08172b; }
html[data-theme="dark"] .sp-period-sheet dl > div { border-bottom-color: rgba(145,190,255,.12); }
html[data-theme="dark"] .sp-period-sheet :is(dd, .sp-period-status, .sp-period-state) { color: #f5f8ff; }
html[data-theme="dark"] .sp-period-sheet :is(dt, .sp-period-note) { color: #9fb4d2; }
@media (prefers-reduced-motion: reduce) {
  .profile-spots-panel :is(.sp-period-pill, .sp-office-pay), .sp-period-sheet .sp-period-state { animation: none !important; transition: none !important; transform: none !important; }
}

/* The plan sheet: what the owner needs to do (shared/office-rental.js paymentAction) and Manage billing. */
html body .sp-period-sheet .sp-period-action { color: var(--sp-text-light-primary, #0b285b); font-weight: 700; }
html[data-theme="dark"] body .sp-period-sheet .sp-period-action { color: var(--sp-text-dark-primary, #f5f8ff); }
html body .sp-period-sheet .sp-period-manage { align-self: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #2167f5; font: 700 14px Inter, system-ui, sans-serif; cursor: pointer; }
html[data-theme="dark"] body .sp-period-sheet .sp-period-manage { color: #397cff; }
html body .sp-period-sheet .sp-period-manage:hover { text-decoration: underline; }
html body .sp-period-sheet .sp-period-manage:focus-visible { outline: 2px solid #9b6cff; outline-offset: 2px; }
html body .sp-period-sheet .sp-period-manage:disabled { opacity: .6; }

/* Host Event: the hosting allowance strip (free events left on the office plan, or a one-time payment). */
.host-event-form .sp-hosting-allowance { grid-column: 1 / -1; display: grid; gap: 8px; margin: 0 0 6px; padding: 14px 16px; border-radius: 20px;
  background: rgba(155, 108, 255, .08); border: 1px solid rgba(155, 108, 255, .22); color: var(--sp-text-light-primary, #0b285b);
  font-size: 14px; line-height: 1.4; animation: sp-badge-in .5s var(--sp-price-spring, var(--sp-ease-snappy)) both; }
.host-event-form .sp-hosting-allowance[hidden] { display: none; }
/* Free office events used: greyed until the office renews. */
.host-event-form .sp-hosting-allowance.is-used-up { opacity: .72; filter: grayscale(.7); }
.host-event-form .host-event-submit[aria-disabled="true"] { opacity: .5; filter: grayscale(.8); cursor: not-allowed; }
.host-event-form .sp-hosting-allowance strong { font-weight: 700; }
.host-event-form .sp-hosting-allowance.is-due { border-color: #9b6cff; background: rgba(155, 108, 255, .14); }
.host-event-form .sp-hosting-bar { display: block; height: 6px; border-radius: 999px; background: rgba(11, 40, 91, .08); overflow: hidden; }
.host-event-form .sp-hosting-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--sp-brand-gradient, linear-gradient(90deg, #2167f5, #397cff, #9b6cff)); transition: width .6s var(--sp-ease-glide); }
.host-event-form .sp-hosting-credit, .host-event-form .sp-hosting-note { color: var(--sp-text-light-secondary, #52698f); font-size: 13px; }
.host-event-form .sp-hosting-note { font-weight: 600; }
html[data-theme="dark"] .host-event-form .sp-hosting-allowance { color: var(--sp-text-dark-primary, #f5f8ff); background: rgba(155, 108, 255, .14); border-color: rgba(155, 108, 255, .32); }
html[data-theme="dark"] .host-event-form .sp-hosting-bar { background: rgba(145, 190, 255, .16); }
html[data-theme="dark"] .host-event-form :is(.sp-hosting-credit, .sp-hosting-note) { color: var(--sp-text-dark-secondary, #9fb4d2); }
@media (prefers-reduced-motion: reduce) { .host-event-form .sp-hosting-allowance, .host-event-form .sp-hosting-bar > span { animation: none; transition: none; } }

/* Office / Kendall: a sliding two-way switch at the top of the office card (the approved pricing-period motion). */
.profile-spots-panel .sp-room-toggle {
  --sp-room-track: rgba(11, 40, 91, .06); --sp-room-line: rgba(11, 40, 91, .09);
  position: relative; justify-self: start; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: var(--sp-room-track); box-shadow: inset 0 0 0 1px var(--sp-room-line); isolation: isolate;
  animation: sp-badge-in .6s var(--sp-ease-snappy) both;
}
html[data-theme="dark"] .profile-spots-panel .sp-room-toggle { --sp-room-track: rgba(145, 190, 255, .1); --sp-room-line: rgba(145, 190, 255, .16); }
.profile-spots-panel .sp-room-toggle-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--sp-brand-gradient); box-shadow: 0 6px 16px rgba(33, 103, 245, .28);
  transition: transform .5s var(--sp-ease-snappy);
}
.profile-spots-panel .sp-room-toggle[data-active="kendall"] .sp-room-toggle-thumb { transform: translateX(100%); }
html body.is-logged-in .profile-spots-panel .sp-room-toggle button {
  position: relative; z-index: 1; min-width: 128px; min-height: 44px; margin: 0; padding: 0 22px; border: 0 !important; border-radius: 999px;
  background: transparent !important; box-shadow: none !important; color: var(--sp-soft); font: 700 14px/1 Inter, system-ui, sans-serif; cursor: pointer;
  transition: color .3s var(--sp-ease-glide);
}
html body.is-logged-in .profile-spots-panel .sp-room-toggle button[aria-checked="true"] { color: var(--sp-text-on-brand, #ffffff); }
html body.is-logged-in .profile-spots-panel .sp-room-toggle button:focus-visible { outline: 2px solid var(--sp-color-violet, #9b6cff); outline-offset: 2px; }
@media (max-width: 640px) {
  .profile-spots-panel .sp-room-toggle { justify-self: stretch; }
  html body.is-logged-in .profile-spots-panel .sp-room-toggle button { min-width: 0; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-spots-panel .sp-room-toggle, .profile-spots-panel .sp-room-toggle-thumb, html body.is-logged-in .profile-spots-panel .sp-room-toggle button { animation: none !important; transition: none !important; }
}

/* Inside a room (rented, or previewed before renting), the Dashboard menu is always the office's own labelled list,
   never the tool cards of the not-yet-rented dashboard. */
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail #office-control-dashboard .spot-host-actions { display: flex !important; flex-direction: column !important; gap: 10px !important; grid-template-columns: none !important; margin: 0 !important; }
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail #office-control-dashboard .spot-host-actions > :is(.vibe-action, button):not([hidden]) {
  display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important;
  width: 100% !important; height: 52px !important; min-height: 52px !important; padding: 10px 16px !important; border-radius: 999px !important;
  font-size: 14px !important; font-weight: 700 !important; text-align: left !important; animation: none !important; transform: none !important;
}
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail #office-control-dashboard .spot-host-actions > .vibe-action i { width: 24px !important; height: 24px !important; min-height: 24px !important; border-radius: 8px !important; background: transparent !important; }
html body.is-logged-in[data-app-view] .profile-spots-panel .spot-detail #office-control-dashboard .sp-action-note { display: none !important; }

/* Currency notice above web price lists. Prices follow the account's country from sign-up. */

/* Confirmations (web/features/success/success-ui.js, rules in shared/success.js). Spossity tokens and spring motion. */
.sx-page{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:28px;padding:28px 26px 24px;background:#ffffff;color:#0b285b;box-shadow:0 30px 80px rgba(11,40,91,.28);font-family:inherit;animation:sx-rise var(--sp-dur-glide) var(--sp-ease-glide)}
.sx-page::backdrop{background:rgba(8,23,43,.42);backdrop-filter:blur(6px)}
.sx-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(11,40,91,.1);background:#f5f8fd;color:#52698f;font-size:22px;line-height:1;cursor:pointer}
.sx-head{display:flex;gap:14px;align-items:flex-start;padding-right:40px}
.sx-mark{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(33,103,245,.1);color:#2167f5}
.sx-mark.is-done{background:linear-gradient(135deg,#2167f5,#397cff 55%,#9b6cff);color:#fff;animation:sx-pop var(--sp-dur-snappy) var(--sp-ease-snappy)}
.sx-mark svg{width:24px;height:24px}
.sx-title{margin:2px 0 4px;font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.01em;outline:none}
.sx-sub{margin:0;color:#52698f;font-size:14.5px;line-height:1.45}
.sx-milestone{display:flex;gap:12px;align-items:center;margin:18px 0 0;padding:12px 14px;border-radius:18px;background:linear-gradient(120deg,rgba(33,103,245,.08),rgba(155,108,255,.12));animation:sx-rise var(--sp-dur-glide) .15s both var(--sp-ease-glide)}
.sx-milestone div{display:flex;flex-direction:column;gap:2px;font-size:14px}.sx-milestone span{color:#52698f}
.sx-trophy{flex:none;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#9b6cff;color:#fff;font-size:18px}
.sx-facts{margin:18px 0 0;padding:6px 14px;border-radius:18px;background:#f5f8fd}
.sx-facts div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(11,40,91,.07);font-size:14px}.sx-facts div:last-child{border-bottom:0}
.sx-facts dt{color:#52698f}.sx-facts dd{margin:0;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.sx-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:20px}
.sx-primary{min-height:48px;padding:0 22px;border:0;border-radius:999px;background:linear-gradient(110deg,#2167f5,#397cff 48%,#9b6cff);color:#fff;font:800 15.5px/1 inherit;cursor:pointer;box-shadow:0 12px 26px rgba(33,103,245,.26)}
.sx-back{min-height:44px;border:0;background:none;color:#2167f5;font:700 14.5px/1 inherit;cursor:pointer;padding:0 4px}
.sx-loop{margin-top:20px;padding-top:16px;border-top:1px solid rgba(11,40,91,.08)}
.sx-loop ol{display:flex;margin:0;padding:0;list-style:none}
.sx-loop li{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;position:relative;font-size:12.5px}
.sx-loop li::before{content:"";position:absolute;top:11px;left:-50%;width:100%;height:2px;background:rgba(11,40,91,.12);z-index:0}
.sx-loop li:first-child::before{display:none}.sx-loop li.is-done::before{background:#2167f5}
.sx-dot{position:relative;z-index:1;width:24px;height:24px;border-radius:50%;border:2px solid rgba(11,40,91,.18);background:#fff;display:grid;place-items:center}
.sx-loop li.is-done .sx-dot{border-color:#2167f5;background:#2167f5;color:#fff}.sx-dot svg{width:13px;height:13px}
.sx-loop small{color:#52698f}.sx-loop p{margin:12px 0 0;color:#52698f;font-size:13px;line-height:1.45}
.sx-spinner{width:22px;height:22px;border-radius:50%;border:3px solid rgba(33,103,245,.2);border-top-color:#2167f5;animation:sx-spin .9s linear infinite}
.sx-icon-dot{width:12px;height:12px;border-radius:50%;background:#9b6cff}
.sx-note{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:2147483000;transform:translateX(-50%);display:flex;align-items:center;gap:10px;min-height:48px;max-width:calc(100vw - 32px);padding:6px 8px 6px 14px;border-radius:999px;background:#0b285b;color:#f5f8ff;box-shadow:0 18px 40px rgba(8,23,43,.3);font-size:14.5px;overflow:hidden;animation:sx-note-in var(--sp-dur-glide) var(--sp-ease-glide)}
.sx-note-check{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#24d58b;color:#0b285b;flex:none}.sx-note-check svg{width:14px;height:14px}
.sx-undo{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#9fb4d2;font:800 14px/1 inherit;cursor:pointer}
.sx-note-time{position:absolute;left:0;bottom:0;height:2px;width:100%;background:#397cff;transform-origin:left;animation:sx-time var(--sx-ms) linear forwards}
html[data-theme="dark"] .sx-page{background:#08172b;color:#f5f8ff}
html[data-theme="dark"] .sx-sub,html[data-theme="dark"] .sx-facts dt,html[data-theme="dark"] .sx-loop small,html[data-theme="dark"] .sx-loop p,html[data-theme="dark"] .sx-milestone span{color:#9fb4d2}
html[data-theme="dark"] .sx-facts{background:rgba(159,180,210,.08)}html[data-theme="dark"] .sx-facts div{border-color:rgba(159,180,210,.12)}
html[data-theme="dark"] .sx-close{background:rgba(159,180,210,.1);border-color:rgba(159,180,210,.18);color:#9fb4d2}
html[data-theme="dark"] .sx-dot{background:#08172b;border-color:rgba(159,180,210,.3)}html[data-theme="dark"] .sx-back{color:#397cff}
html[data-theme="dark"] .sx-note{background:#f5f8ff;color:#0b285b}html[data-theme="dark"] .sx-undo{background:rgba(11,40,91,.08);color:#2167f5}
@keyframes sx-rise{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes sx-pop{0%{transform:scale(.4)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes sx-spin{to{transform:rotate(360deg)}}
@keyframes sx-note-in{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes sx-time{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){.sx-page,.sx-mark.is-done,.sx-milestone,.sx-note{animation:none}.sx-note-time{animation:none;display:none}.sx-spinner{animation-duration:2.4s}}
/* Notes stay above the phone bottom bar while signed in. */
@media (max-width:760px){body.is-logged-in .sx-note{bottom:calc(112px + env(safe-area-inset-bottom))}}
.sx-close:focus:not(:focus-visible){outline:none}.sx-close{border-color:rgba(11,40,91,.1)!important}
.sx-facts dd{overflow-wrap:anywhere;min-width:0}
p[data-pay-status]:empty{display:none}
