:root {
  --wr-ink: #132033;
  --wr-navy: #183153;
  --wr-blue: #2563eb;
  --wr-cream: #f6f0e6;
  --wr-page: #f5f7fa;
  --wr-surface: #ffffff;
  --wr-surface-subtle: #f8fafc;
  --wr-border: #d8dee8;
  --wr-border-strong: #c7d0dd;
  --wr-card-border: var(--wr-border);
  --wr-radius-sm: 0.5rem;
  --wr-radius-md: 0.75rem;
  --wr-radius-lg: 1rem;
  --wr-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --wr-shadow-md: 0 12px 32px rgba(24, 49, 83, 0.08);
  --wr-floating-control-clearance: 50px;
}
body {
  background: var(--wr-page);
  color: var(--wr-ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}
.navbar {
  box-shadow: 0 10px 28px rgba(19, 32, 51, 0.16);
}
.navbar .nav-link {
  border-radius: 0.55rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.navbar .dropdown-menu {
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  padding: 0.5rem;
}
.navbar .dropdown-item {
  border-radius: 0.45rem;
  padding: 0.55rem 0.75rem;
}
.navbar .dropdown-item.active {
  background: #eaf2fb;
  color: var(--wr-navy);
  font-weight: 750;
}
.navbar .dropdown-header {
  color: #7a8699;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem 0.25rem;
  text-transform: uppercase;
}
.navbar-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0;
}
.navbar-brand-icon {
  display: inline-block;
  flex: 0 0 auto;
  height: 2rem;
  width: 2rem;
}
.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--wr-card-border);
  border-radius: 5px;
  box-shadow: 0 16px 40px rgba(24, 49, 83, 0.09);
  margin-bottom: 1.25rem;
  padding: 1.35rem;
}
.page-header {
  align-items: flex-start;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0.5rem 0 1.5rem;
  padding: 0.5rem 0;
}
.entity-page-header {
  align-items: flex-start;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0.5rem 0 1.5rem;
  padding: 0.5rem 0;
}
.page-header-copy {
  min-width: 0;
}
.page-header h1,
.entity-page-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
}
.page-header .subhead,
.entity-page-copy .subhead {
  color: #5f6c7e;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0.45rem 0 0;
  max-width: 44rem;
}
.page-header-description {
  color: #5f6c7e;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0.55rem 0 0;
  max-width: 44rem;
}
.page-header .subhead a,
.entity-page-copy .subhead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.page-header-actions {
  flex: 0 0 auto;
}
.page-header-actions,
.entity-page-actions,
.bd-hero-actions,
.dashboard-hero-actions,
.schedule-actions,
.room-action-toolbar,
.link-row {
  align-items: center;
  align-self: flex-start;
  background: #f8fafc;
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-left: auto;
  padding: 0.45rem;
}
.page-header-actions .btn,
.page-header-actions button,
.entity-page-actions .btn,
.entity-page-actions button,
.bd-hero-actions .btn,
.bd-hero-actions button,
.dashboard-hero-actions .btn,
.dashboard-hero-actions button,
.schedule-actions .btn,
.schedule-actions button,
.room-action-toolbar .btn,
.room-action-toolbar button,
.link-row a,
.link-row button,
.section-heading > .btn,
.section-heading > button,
.detail-section-heading > .btn,
.detail-section-heading > button {
  min-height: 2.25rem;
  padding: 0.52rem 0.7rem;
}
.calendar-page-header {
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}
.calendar-page-header.has-request-mode {
  padding-right: 4.6rem;
}
.calendar-page-request-mode {
  position: absolute;
  right: 0;
  top: 0.5rem;
}
.calendar-page-header .page-header-actions {
  align-self: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 0;
  justify-content: flex-start;
  margin-left: 0;
  padding: 0;
}
.calendar-page-header .page-header-actions .btn,
.calendar-page-header .page-header-actions button {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--wr-navy);
  display: inline;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.35;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  transform: none;
  white-space: normal;
}
.calendar-page-header .page-header-actions .btn:hover,
.calendar-page-header .page-header-actions .btn:active,
.calendar-page-header .page-header-actions button:hover,
.calendar-page-header .page-header-actions button:active {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--wr-navy);
  transform: none;
}
.calendar-page-header .page-header-actions .btn:focus-visible,
.calendar-page-header .page-header-actions button:focus-visible {
  background: transparent;
  color: var(--wr-navy);
  outline: 2px solid #94a3b8;
  outline-offset: 0.18rem;
}
.calendar-page-header .page-header-actions .btn + .btn::before,
.calendar-page-header .page-header-actions .btn + button::before,
.calendar-page-header .page-header-actions button + .btn::before,
.calendar-page-header .page-header-actions button + button::before {
  color: #667085;
  content: "|";
  display: inline-block;
  margin: 0 0.55rem;
  text-decoration: none;
}
.calendar-flash {
  margin: -0.35rem 0 1rem;
}
.section-heading > .btn,
.section-heading > button,
.detail-section-heading > .btn,
.detail-section-heading > button {
  align-self: flex-start;
  flex: 0 0 auto;
  margin-left: auto;
}
.card:has(> p.link-row) {
  align-items: start;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}
.card:has(> p.link-row) > * {
  grid-column: 1 / -1;
}
.card:has(> p.link-row) > h1:first-child,
.card:has(> p.link-row) > h2:first-child,
.card:has(> p.link-row) > .calendar-header-badges:first-child {
  grid-column: 1;
}
.card:has(> p.link-row) > p.link-row {
  grid-column: 2;
  grid-row: 1;
}
.content-section,
.bookings-results-content {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-lg);
  box-shadow: var(--wr-shadow-md);
  padding: 1.5rem;
}
.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-description {
  color: #778397;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}
.calendar-login-results-section {
  margin-top: 1.5rem;
}
.calendar-room-selector {
  align-items: start;
  display: grid;
  gap: 0.75rem 0;
  grid-template-columns: minmax(0, 1fr) 2.1rem;
}
.month-sidebar-panel:has(> .calendar-room-selector) {
  padding: 1rem 0.2rem 1rem 1rem;
}
.calendar-room-selector h2 {
  grid-column: 1;
  margin-bottom: 0;
}
.calendar-room-selector-list {
  display: grid;
  gap: 0.55rem;
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.calendar-room-selector .month-room-legend li {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 2.1rem;
}
.calendar-room-legend-main {
  align-items: center;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 0.9rem minmax(0, 1fr);
  justify-content: flex-start;
  justify-items: start;
  min-width: 0;
  padding-right: 0.35rem;
  text-align: left;
  width: 100%;
}
.calendar-room-selector .month-color-dot {
  border-radius: 0.35rem;
  display: inline-block;
  height: 0.9rem;
  width: 0.9rem;
}
.calendar-room-selector .has-no-room-color .calendar-room-legend-main {
  grid-template-columns: minmax(0, 1fr);
}
.calendar-room-selector .room-badge {
  justify-self: start;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.calendar-room-visibility-cell {
  align-items: center;
  align-self: stretch;
  border-left: 1px solid #d8e0eb;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  justify-self: end;
  width: 2.1rem;
}
.calendar-room-visibility-icon {
  align-items: center;
  align-self: center;
  border-left: 1px solid #d8e0eb;
  box-sizing: border-box;
  color: #5b6472;
  display: inline-flex;
  grid-column: 2;
  height: 1.45rem;
  justify-content: center;
  justify-self: end;
  width: 2.1rem;
}
.calendar-room-visibility-icon svg {
  fill: none;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.15rem;
}
.calendar-room-visibility-toggle {
  align-items: center;
  background: #ecfdf3;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #15803d;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.55rem;
}
.calendar-room-visibility-toggle:hover {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.calendar-room-visibility-toggle.is-hidden {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}
.calendar-room-visibility-toggle.is-hidden:hover {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.calendar-room-hidden-mark,
.calendar-room-visibility-toggle.is-hidden .calendar-room-visible-mark {
  display: none;
}
.calendar-room-visibility-toggle.is-hidden .calendar-room-hidden-mark {
  display: inline;
}
.month-room-legend li.is-room-hidden {
  opacity: 0.46;
}
.calendar-room-filtered {
  display: none !important;
}
.calendar-tag-filtered {
  display: none !important;
}
.calendar-tag-filter-panel:has([data-calendar-tag-filter][hidden]) {
  display: none;
}
.month-day-summary.is-room-filtered {
  display: none;
}
.month-room-legend.calendar-tag-filter-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}
.month-room-legend.calendar-tag-filter-list li {
  width: auto;
}
.calendar-tag-filter-option {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  width: auto;
}
.calendar-tag-filter-option input {
  margin: 0;
  width: auto;
}
.building-calendar-list {
  display: grid;
  gap: 1rem;
}
.entity-list {
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  overflow: hidden;
}
.entity-list-item {
  align-items: center;
  background: var(--wr-surface);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1.15rem;
  transition: background-color 150ms ease;
}
.entity-list-item + .entity-list-item {
  border-top: 1px solid var(--wr-border);
}
.entity-list-item:hover {
  background: var(--wr-surface-subtle);
}
.entity-list-main {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}
.entity-list-details {
  min-width: 0;
}
.entity-list-meta,
.entity-list-description {
  color: #667085;
  line-height: 1.45;
  margin: 0.45rem 0 0;
}
.entity-list-meta {
  color: #475467;
  font-size: 0.9rem;
  font-weight: 650;
}
.entity-list-meta span {
  color: #7a8699;
  font-weight: 500;
}
.entity-list-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.building-action-list {
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  display: grid;
  flex: 0 1 18rem;
  overflow: hidden;
}
.building-action-line {
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  color: var(--wr-ink);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 2.1rem 1fr auto;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
}
.building-action-line:first-child {
  border-top: 0;
}
.building-action-line:hover {
  background: #f8fafc;
  color: var(--wr-ink);
}
.building-action-icon {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #c7d7fe;
  border-radius: 5px;
  color: var(--wr-blue);
  display: inline-flex;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}
.building-action-icon svg {
  display: block;
  height: 1.1rem;
  width: 1.1rem;
}
.building-action-copy strong,
.building-action-copy span {
  display: block;
}
.building-action-copy strong {
  font-size: 0.94rem;
  line-height: 1.2;
}
.building-action-copy span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 450;
  margin-top: 0.15rem;
}
.building-action-chevron {
  color: #98a2b3;
  font-weight: 900;
}
.role-pill {
  background: #eaf2ff;
  border: 1px solid #c5d9fb;
  border-radius: 999px;
  color: var(--wr-navy);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
  padding: 0.42rem 0.65rem;
}
.empty-state {
  align-items: center;
  background: var(--wr-surface-subtle);
  border: 1px dashed var(--wr-border-strong);
  border-radius: var(--wr-radius-md);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.empty-state-icon {
  align-items: center;
  background: #eaf2ff;
  border-radius: var(--wr-radius-md);
  color: var(--wr-navy);
  display: flex;
  height: 3.75rem;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  width: 3.75rem;
}
.empty-state-icon svg {
  height: 100%;
  width: 100%;
}
.empty-state h3 {
  margin-bottom: 0.4rem;
}
.empty-state p {
  color: #667085;
  margin-bottom: 1.15rem;
  max-width: 32rem;
}
.card .card {
  background: #fff;
  box-shadow: none;
}
h1, h2, h3 {
  letter-spacing: -0.03em;
}
h1 {
  font-weight: 800;
}
h2 {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.08rem;
  font-weight: 700;
}
.muted {
  color: #667085;
}
.account-building-contact {
  border-top: 1px solid var(--wr-border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.account-building-contact:first-of-type {
  border-top: 0;
  margin-top: 1rem;
  padding-top: 0;
}
.account-building-contact-heading {
  margin-bottom: 1rem;
}
.account-building-contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.account-building-contact-panel h4 {
  margin-bottom: 0.85rem;
}
.account-contact-input-stack {
  display: grid;
  gap: 0.9rem;
}
.account-contact-slot {
  display: grid;
  gap: 0.35rem;
}
.account-contact-slot-heading,
.account-contact-current-list li,
.contact-status-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.account-contact-slot-heading label,
.account-contact-slot > label {
  margin: 0;
}
.account-contact-slot-heading form,
.account-contact-current-list form {
  margin-left: auto;
}
.account-contact-current-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.account-admin-privilege-list {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-active-check {
  align-items: center;
  background: #16a34a;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 1.1rem;
  height: 1.1rem;
  justify-content: center;
  width: 1.1rem;
}
.contact-active-check::before {
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: "";
  height: 0.55rem;
  transform: rotate(45deg) translate(-0.05rem, -0.05rem);
  width: 0.28rem;
}
.building-contact-form-actions {
  margin-top: 1rem;
}
@media (max-width: 767.98px) {
  .account-building-contact-grid {
    grid-template-columns: 1fr;
  }
}
.team-page-access-note {
  color: #667085;
  margin: 0.45rem 0 0;
}
.team-person-card {
  border-color: #d8dee8;
}
.team-person-card-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.team-person-card-header h3 {
  margin-bottom: 0;
}
.team-self-indicator {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #166534;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.45rem 0.7rem;
  white-space: nowrap;
}
.person-role-text {
  color: #5f6c7e;
  font-size: 0.9rem;
  font-weight: 700;
}
.entity-page-identity {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  min-width: 0;
}
.entity-page-copy {
  min-width: 0;
}
.entity-page-copy p {
  color: #667085;
  line-height: 1.45;
  margin: 0.45rem 0 0;
  max-width: 42rem;
}
.entity-page-copy .subhead {
  color: #5f6c7e;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
  max-width: 42rem;
}
.entity-page-copy .page-header-description {
  color: #5f6c7e;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0.55rem 0 0;
  max-width: 44rem;
}
.calendar-setup-header .entity-page-identity {
  justify-content: space-between;
  width: 100%;
}
.calendar-setup-header .entity-badge {
  flex: 0 1 auto;
}
.entity-page-actions {
  flex: 0 0 auto;
}
.detail-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.room-info-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-section,
.form-section {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-lg);
  box-shadow: var(--wr-shadow-sm);
  margin-bottom: 1rem;
  min-width: 0;
  padding: 1.25rem;
}
.detail-page-grid .detail-section {
  margin-bottom: 0;
}
.detail-section-wide {
  grid-column: 1 / -1;
}
.detail-section-heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.detail-section-heading h2 {
  margin: 0;
}
.detail-section-heading p {
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}
.detail-empty {
  color: #7a8699;
  margin: 0;
}
.detail-address {
  color: #344054;
  font-style: normal;
  line-height: 1.7;
  margin: 0;
}
.contact-detail-list,
.person-contact-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 0;
  row-gap: 0.45rem;
}
.contact-detail-list {
  column-gap: 1rem;
}
.contact-detail-list dt,
.person-contact-list dt {
  color: #7a8699;
  font-size: 0.85rem;
  font-weight: 650;
}
.contact-detail-list dd,
.person-contact-list dd {
  color: #344054;
  margin: 0;
  overflow-wrap: anywhere;
}
.person-contact-email {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.person-contact-email span {
  min-width: 0;
  overflow-wrap: anywhere;
}
a.btn.team-contact-change-link {
  border-radius: 0.5rem;
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.32rem 0.55rem;
  text-transform: lowercase;
}
.prose-detail-list {
  margin: 0;
}
.prose-detail-list dt {
  color: #344054;
  font-size: 0.88rem;
  font-weight: 800;
  margin-top: 1rem;
}
.prose-detail-list dt:first-child {
  margin-top: 0;
}
.prose-detail-list dd {
  color: #475467;
  line-height: 1.6;
  margin: 0.25rem 0 0;
  white-space: pre-wrap;
}
.detail-link-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.detail-link-list li {
  align-items: center;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.detail-link-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.detail-link-list li:last-child {
  padding-bottom: 0;
}
.detail-link-list span {
  color: #7a8699;
  display: block;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}
.admin-page-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
}
.calendar-setup-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-page-main,
.admin-page-aside,
.calendar-setup-aside {
  min-width: 0;
}
.admin-page-aside {
  position: sticky;
  top: 1rem;
}
@media (min-width: 961px) {
  .team-detail-layout {
    grid-template-columns: 1fr;
  }
  .team-detail-layout .admin-page-aside {
    position: static;
  }
  .team-detail-layout .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.form-fieldset + .form-fieldset {
  border-top: 1px solid #e5e7eb;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.form-fieldset legend {
  color: var(--wr-ink);
  float: none;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  width: auto;
}
.form-section-help {
  color: #667085;
  font-size: 0.9rem;
  margin: -0.45rem 0 1rem;
}
.optional-label {
  color: #98a2b3;
  font-size: 0.76rem;
  font-weight: 600;
  margin-left: 0.4rem;
}
.form-action-bar {
  align-items: center;
  background: var(--wr-surface-subtle);
  border-radius: var(--wr-radius-md);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.85rem;
}
.form-action-bar p {
  color: #7a8699;
  font-size: 0.82rem;
  margin: 0;
}
.stacked-action-list {
  display: flex;
  flex-direction: column;
}
.stacked-action-list a {
  border-top: 1px solid #e5e7eb;
  padding: 0.8rem 0;
  text-decoration: none;
}
.stacked-action-list a:first-child {
  border-top: 0;
  padding-top: 0;
}
.stacked-action-list a:last-child {
  padding-bottom: 0;
}
.stacked-action-list strong,
.stacked-action-list span {
  display: block;
}
.stacked-action-list span {
  color: #667085;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.15rem;
}
.setup-action-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.room-image-actions {
  margin-bottom: 1rem;
}
.setup-action-tile {
  background: #fff;
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-sm);
  color: var(--wr-ink);
  display: block;
  min-height: 5rem;
  padding: 0.85rem;
  text-decoration: none;
}
.setup-action-tile:hover {
  background: #f8fafc;
  border-color: #9bb2cf;
  box-shadow: 0 10px 24px rgba(24, 49, 83, 0.09);
  color: var(--wr-ink);
}
.setup-action-tile strong,
.setup-action-tile span {
  display: block;
}
.setup-action-tile strong {
  font-size: 0.95rem;
  line-height: 1.2;
}
.calendar-tag-admin-list {
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-sm);
  overflow: hidden;
}
.calendar-tag-admin-row {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--wr-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}
.calendar-tag-admin-row:first-child {
  border-top: 0;
}
.calendar-tag-admin-row form {
  margin: 0;
}
.setup-action-tile span {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 0.2rem;
}
.people-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.person-panel {
  background: var(--wr-surface-subtle);
  border: 1px solid #e1e6ed;
  border-radius: var(--wr-radius-md);
  padding: 1rem;
}
.person-panel .entity-badge {
  font-size: 1rem;
  min-height: 2.75rem;
}
.team-invite-status-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.team-invite-status-item {
  align-items: center;
  background: var(--wr-surface-subtle);
  border: 1px solid #e1e6ed;
  border-radius: var(--wr-radius-sm);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.75rem;
}
.team-invite-status-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.team-invite-status-main strong {
  overflow-wrap: anywhere;
}
.team-invite-status-main span {
  color: #667085;
  font-size: 0.85rem;
}
.team-invite-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.35rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  white-space: nowrap;
}
.team-invite-status-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.95rem;
  height: 1rem;
  justify-content: center;
  line-height: 1;
  width: 1rem;
}
.team-invite-status-sent {
  background: #fef3c7;
  color: #92400e;
}
.team-invite-status-failed {
  background: #fee2e2;
  color: #991b1b;
}
.team-invite-status-accepted {
  background: #dcfce7;
  color: #166534;
}
.calendar-team-access-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.calendar-team-access-item {
  align-items: flex-start;
  border: 1px solid #d8e0eb;
  border-radius: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}
.calendar-team-access-main {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
.calendar-team-access-main h4 {
  margin: 0;
}
.calendar-team-access-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
}
.calendar-team-access-summary div {
  min-width: 7rem;
}
.calendar-team-access-summary dt {
  color: #5f6f84;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
}
.calendar-team-access-summary dd {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}
.calendar-team-access-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.calendar-team-access-actions form {
  margin: 0;
}
.person-contact-list {
  column-gap: 0.75rem;
  margin-top: 0.8rem;
}
.person-actions {
  align-items: center;
  border-top: 1px solid #e1e6ed;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}
.person-actions form {
  margin: 0;
}
.person-actions button {
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
}
.section-count {
  background: #f2f4f7;
  border-radius: 999px;
  color: #475467;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.4rem 0.65rem;
  white-space: nowrap;
}
.settings-group + .settings-group {
  border-top: 1px solid #e5e7eb;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.settings-group h3 {
  margin-bottom: 0.7rem;
}
.settings-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-grid label {
  margin: 0;
}
.settings-grid label span,
.settings-grid label strong,
.settings-grid label small {
  display: block;
}
.settings-grid label small {
  color: #7a8699;
  font-weight: 400;
  margin-top: 0.15rem;
}
.danger-zone {
  align-items: center;
  background: #fff7f6;
  border: 1px solid #f6c7c2;
  border-radius: var(--wr-radius-lg);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}
.danger-zone h2 {
  color: #912018;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.danger-zone p {
  color: #b42318;
  font-size: 0.85rem;
  margin: 0;
}
.danger-zone form {
  flex: 0 0 auto;
  margin: 0;
}
a {
  color: #1d4ed8;
  font-weight: 600;
}

.pagination-shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pagination {
  --bs-pagination-active-bg: var(--wr-blue);
  --bs-pagination-active-border-color: var(--wr-blue);
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-border-color: #d9dde3;
  --bs-pagination-color: #0f8793;
  --bs-pagination-disabled-bg: #e7e9ed;
  --bs-pagination-disabled-border-color: #d9dde3;
  --bs-pagination-disabled-color: #667085;
  --bs-pagination-hover-bg: #eef9fb;
  --bs-pagination-hover-border-color: #c5d8dd;
  --bs-pagination-hover-color: #0b7280;
  border-radius: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.pagination .page-link {
  align-items: center;
  border-color: var(--bs-pagination-border-color);
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 500;
  justify-content: center;
  min-height: 3rem;
  min-width: 3.8rem;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  min-width: 6.5rem;
}

.pagination .page-item:first-child .page-link {
  border-bottom-left-radius: 0.75rem;
  border-top-left-radius: 0.75rem;
}

.pagination .page-item:last-child .page-link {
  border-bottom-right-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.pagination .page-item.active .page-link {
  color: #ffffff;
  font-weight: 700;
}

.pagination .page-item.disabled .page-link {
  pointer-events: none;
}

.pagination-summary {
  color: #5b616b;
  font-size: 1.1rem;
  margin: 0;
  text-align: center;
}

label {
  color: #344054;
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  display: block;
  margin-bottom: 1rem;
  padding: 0.72rem 0.9rem;
  width: 100%;
}
textarea {
  min-height: 8rem;
}
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.14);
  outline: 0;
}
.password-field {
  margin-bottom: 1rem;
  position: relative;
}
.password-field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  margin-bottom: 0;
  padding-right: 3.2rem;
}
.password-reveal-button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  color: #52637a;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
}
.password-reveal-button:hover,
.password-reveal-button:focus-visible {
  background: #eef4fb;
  color: var(--wr-navy);
}
.password-reveal-icon {
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
}
.password-reveal-icon svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 100%;
}
.password-reveal-icon-hide {
  display: none;
}
.password-reveal-button[aria-pressed="true"] .password-reveal-icon-show {
  display: none;
}
.password-reveal-button[aria-pressed="true"] .password-reveal-icon-hide {
  display: inline-flex;
}
a:focus-visible,
button:focus-visible,
[draggable="true"]:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.45rem;
}
.account-display-value {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #344054;
  margin-bottom: 1rem;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
}
button,
a.btn {
  background: var(--wr-navy);
  border: 0;
  border-radius: 0.75rem;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: normal;
  padding: 0.68rem 1rem;
  text-decoration: none;
}
button:hover,
a.btn:hover {
  background: #10243f;
  color: #fff;
}
button.btn-close,
button.btn-close:hover,
button.btn-close:focus {
  background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
  border: 0;
  color: #000;
  opacity: var(--bs-btn-close-opacity);
}
button.btn-close:hover {
  opacity: var(--bs-btn-close-hover-opacity);
}
a.btn.btn-primary,
button.btn.btn-primary {
  background: var(--wr-navy);
  border: 1px solid var(--wr-navy);
  box-shadow: var(--wr-shadow-sm);
}
a.btn.btn-primary:hover,
button.btn.btn-primary:hover {
  background: #10243f;
  border-color: #10243f;
}
a.btn.btn-secondary,
button.btn.btn-secondary {
  background: #ffffff;
  border: 1px solid #aebaca;
  color: var(--wr-navy);
}
a.btn.btn-secondary:hover,
button.btn.btn-secondary:hover {
  background: #edf3fa;
  border-color: #8394aa;
  color: #10243f;
}
a.btn.btn-tertiary,
button.btn.btn-tertiary {
  background: transparent;
  border: 1px solid transparent;
  color: #31547d;
}
a.btn.btn-tertiary:hover,
button.btn.btn-tertiary:hover {
  background: #eaf2fb;
  border-color: #d4e1ef;
  color: #183153;
}
a.btn.btn-danger,
button.btn.btn-danger {
  background: #b42318;
  border: 1px solid #b42318;
  color: #fff;
}
a.btn.btn-danger:hover,
button.btn.btn-danger:hover {
  background: #912018;
  border-color: #912018;
  color: #fff;
}
form[action*="retire"] button,
form[action*="cancel"] button,
form[action*="delete"] button,
form[action*="remove"] button,
form[action*="suspension"] button {
  background: #b42318;
}
form[action*="retire"] button:hover,
form[action*="cancel"] button:hover,
form[action*="delete"] button:hover,
form[action*="remove"] button:hover,
form[action*="suspension"] button:hover {
  background: #912018;
}
.logout-form button,
.logout-form button:hover {
  background: rgba(255,255,255,0.12);
}
form + form {
  margin-top: 0.75rem;
}
.form-check-label,
label:has(input[type="checkbox"]) {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.7rem 0.85rem;
}
.form-grid {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.form-grid .full-width {
  grid-column: 1 / -1;
}
.form-display-field {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--wr-radius-sm);
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.85rem;
}
.form-display-label {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.form-display-value {
  color: var(--wr-ink);
  font-weight: 700;
}
.form-subsection-title {
  color: var(--wr-ink);
  font-size: 1rem;
  font-weight: 800;
  margin: 0.25rem 0 0.2rem;
}
.form-subsection-subhead {
  color: #667085;
  font-size: 0.9rem;
  margin: 0 0 0.45rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  grid-column: 1 / -1;
}
.bookings-filter-form {
  display: grid;
  gap: 1rem;
}
.page-eyebrow {
  color: #31547d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}
.bookings-page-message {
  flex-basis: 100%;
  margin: 0;
}
.bookings-filter-section {
  margin-bottom: 1.25rem;
}

.bookings-results-content {
  overflow: hidden;
  padding: 0;
}

.bookings-results-content .bookings-table-wrap {
  border: 0;
  border-radius: 0;
}

.bookings-results-content .empty-state {
  margin: 1.5rem;
}

.bookings-results-content .pagination-shell {
  border-top: 1px solid var(--wr-border);
  margin-top: 0;
  padding: 1.5rem;
}

.bookings-filter-grid {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.bookings-filter-field {
  max-width: 18rem;
}

.bookings-filter-field-narrow {
  max-width: 9rem;
}

.bookings-filter-field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.bookings-filter-field select {
  margin-bottom: 0;
}
.bookings-filter-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.bookings-filter-actions {
  border-top: 1px solid var(--wr-border);
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}
.bookings-filter-actions .btn {
  min-width: 10rem;
}
.bookings-table-wrap {
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  overflow-x: auto;
}
.bookings-table {
  border-radius: 0;
  margin: 0;
}
.bookings-table tbody tr {
  transition: background-color 150ms ease;
}
.bookings-table tbody tr:hover {
  background: #f8fafc;
}
.bookings-table tbody tr:last-child td {
  border-bottom: 0;
}
.bookings-sort-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.4rem;
  text-decoration: none;
}
.bookings-sort-link:hover,
.bookings-sort-link:focus {
  color: var(--wr-navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.bookings-sort-pyramid {
  border-left: 0.34rem solid transparent;
  border-right: 0.34rem solid transparent;
  display: inline-block;
  height: 0;
  width: 0;
}
.bookings-sort-pyramid.is-asc {
  border-bottom: 0.58rem solid currentColor;
}
.bookings-sort-pyramid.is-desc {
  border-top: 0.58rem solid currentColor;
}
.booking-date-label,
.booking-time-label {
  display: block;
  white-space: nowrap;
}
.booking-date-label {
  color: #344054;
  font-size: 0.9rem;
}
.booking-time-label {
  color: #7a8699;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}
.booking-title-link {
  color: var(--wr-navy);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.booking-status-pill {
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #475467;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}
.booking-status-pill.is-confirmed {
  background: #ecfdf3;
  border-color: #86efac;
  color: #166534;
}
.booking-status-pill.is-canceled {
  background: #fef3f2;
  border-color: #fda29b;
  color: #b42318;
}
.booking-status-pill.is-requested {
  background: #fffaeb;
  border-color: #fedf89;
  color: #b54708;
}
.booking-calendar-link {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}
.booking-calendar-link svg {
  flex: 0 0 auto;
  height: 1.05rem;
  width: 1.05rem;
}
.bd-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bd-manage-card .detail-section-heading,
.bd-timeline-card .detail-section-heading {
  align-items: flex-start;
}
.bd-form-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}
.bd-owner-warning {
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: var(--wr-radius-md);
  color: #7a2e0e;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
}
.bd-owner-warning p,
.bd-danger-actions p {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.2rem 0 0;
}
.bd-danger-actions {
  align-items: center;
  border-top: 1px solid #fda29b;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.bd-danger-actions p {
  color: #667085;
}
.bd-danger-actions form {
  flex: 0 0 auto;
  margin: 0;
}
@media (max-width: 760px) {
  .bookings-page-header {
    align-items: flex-start;
  }
  .bookings-filter-section .section-heading,
  .bookings-results-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .bookings-filter-field,
  .bookings-filter-field-narrow {
    max-width: none;
  }
  .bookings-filter-actions,
  .bookings-filter-actions .btn {
    width: 100%;
  }
  .bookings-table-wrap {
    border: 0;
    overflow: visible;
  }
  .bookings-table,
  .bookings-table tbody,
  .bookings-table tr,
  .bookings-table td {
    display: block;
    width: 100%;
  }
  .bookings-table thead {
    display: none;
  }
  .bookings-table tbody {
    display: grid;
    gap: 0.85rem;
  }
  .bookings-table tbody tr {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-md);
    box-shadow: var(--wr-shadow-sm);
    padding: 0.35rem 0.85rem;
  }
  .bookings-table td {
    align-items: flex-start;
    border-bottom: 1px solid #edf0f4;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    padding: 0.7rem 0;
  }
  .bookings-table td::before {
    color: #7a8699;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding-top: 0.15rem;
    text-transform: uppercase;
  }
  .bookings-table td:last-child {
    border-bottom: 0;
  }
  .bd-danger-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .bd-form-actions .btn,
  .bd-danger-actions .btn {
    text-align: center;
    width: 100%;
  }
  .bd-danger-actions form {
    width: 100%;
  }
  .bd-timeline-table,
  .bd-timeline-table tbody,
  .bd-timeline-table tr,
  .bd-timeline-table td {
    display: block;
    width: 100%;
  }
  .bd-timeline-table thead {
    display: none;
  }
  .bd-timeline-table tr {
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-md);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
  .bd-timeline-table td {
    border-bottom: 1px solid #edf0f4;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 5rem minmax(0, 1fr);
    padding: 0.65rem 0;
  }
  .bd-timeline-table td::before {
    color: #7a8699;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .bd-timeline-table td:last-child {
    border-bottom: 0;
  }
}

.bookings-filter-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.checkbox-filter-group {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  margin: 0;
  padding: 0.9rem;
}

.checkbox-filter-group legend {
  color: #344054;
  float: none;
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 0.65rem;
  width: auto;
}

.checkbox-filter-options {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

label.checkbox-filter-option {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
}

label.checkbox-filter-option input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}

.auth-card {
  margin: 2.25rem auto;
  max-width: 34rem;
}
.google-login-button {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}
.auth-divider {
  align-items: center;
  color: #667085;
  display: flex;
  font-size: 0.9rem;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.auth-divider::before,
.auth-divider::after {
  background: #d0d7e2;
  content: "";
  flex: 1;
  height: 1px;
}
.turnstile-widget {
  margin: 0 0 1rem;
}
.success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 0.75rem;
  color: #166534;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}
.link-row a {
  align-items: center;
  background: #ffffff;
  border: 1px solid #aebaca;
  border-radius: 0.75rem;
  color: var(--wr-navy);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
}
.link-row a:hover {
  background: #edf3fa;
  border-color: #8394aa;
  color: #10243f;
}
.rrp-repeat-section {
  border: 1px solid #d8e0eb;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
  padding: 1rem;
}
.rrp-repeat-section fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.rrp-repeat-section legend {
  color: #344054;
  font-weight: 750;
  margin-bottom: 0.55rem;
}
.rrp-patterns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.rrp-pattern-option,
label.rrp-pattern-option,
.rrp-repeat-section .rrp-choice-chip,
.card form .rrp-repeat-section label.rrp-choice-chip {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.52rem 0.72rem;
  width: auto;
}
.rrp-pattern-option:has(input:checked),
.rrp-choice-chip:has(input:checked) {
  background: #eff6ff;
  border-color: #2563eb;
}
.rrp-repeat-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.rrp-repeat-line.is-disabled {
  color: #667085;
  opacity: 0.68;
}
.rrp-repeat-line label {
  margin: 0;
}
.rrp-repeat-section input.rrp-small-control.rrp-small-control,
.rrp-repeat-section .rrp-medium-control {
  margin: 0;
  width: auto;
}
.rrp-repeat-section input.rrp-small-control.rrp-small-control {
  max-width: 5.5rem;
}
.rrp-repeat-section .rrp-medium-control {
  max-width: 9.5rem;
}
.rrp-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rrp-months-block {
  margin-top: 1rem;
}
.rrp-months-block h3 {
  margin-bottom: 0.35rem;
}
.rrp-page-message {
  margin-bottom: 1rem;
}
.rrp-card-grid {
  display: grid;
  gap: 1rem;
}
.rrp-card {
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  box-shadow: var(--wr-shadow-sm);
  padding: 1.15rem;
}
.rrp-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.rrp-card-header h3 {
  margin: 0;
}
.rrp-card-header h3 a {
  color: var(--wr-navy);
}
.rrp-card-location {
  color: #667085;
  margin: 0.25rem 0 0;
}
.rrp-card-statuses,
.rrp-detail-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.rrp-card-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0;
}
.rrp-card-dates div {
  min-width: 9rem;
}
.rrp-card-dates dt {
  color: #7a8699;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rrp-card-dates dd {
  color: #344054;
  font-weight: 700;
  margin: 0.15rem 0 0;
}
.rrp-card-preferences {
  background: var(--wr-surface-subtle);
  border-radius: var(--wr-radius-md);
  padding: 0.85rem 1rem;
}
.rrp-card-preferences ol {
  margin: 0.45rem 0 0;
  padding-left: 1.25rem;
}
.rrp-card-actions {
  align-items: center;
  border-top: 1px solid var(--wr-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
}
.rrp-card-actions form {
  margin: 0;
}
.rrp-detail-statuses {
  margin-bottom: 1rem;
}
.rrp-rule-text {
  background: var(--wr-surface-subtle);
  border-left: 3px solid #9db9d8;
  color: #344054;
  line-height: 1.6;
  margin: 0;
  padding: 0.8rem 1rem;
}
.rrp-preference-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rrp-preference-list li {
  align-items: center;
  background: var(--wr-surface-subtle);
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}
.rrp-preference-list strong,
.rrp-preference-list span {
  display: block;
}
.rrp-preference-list span {
  color: #667085;
  font-size: 0.85rem;
}
.rrp-preference-number,
.rrp-preference-index {
  align-items: center;
  background: #eaf2ff;
  border-radius: 999px;
  color: var(--wr-navy) !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  font-size: 0.78rem !important;
  font-weight: 800;
  height: 1.8rem;
  justify-content: center;
  width: 1.8rem;
}
.rrp-event-table-wrap {
  overflow-x: auto;
}
.rrp-empty-compact {
  padding: 1.5rem;
}
.rrp-form {
  margin: 0 auto;
  max-width: 64rem;
}
.rrp-form .form-section {
  box-shadow: var(--wr-shadow-md);
}
.rrp-form .form-check-label span {
  display: grid;
}
.rrp-form .form-check-label small {
  color: #667085;
  font-weight: 400;
}
.rrp-preference-fields {
  display: grid;
  gap: 0.75rem;
}
.rrp-preference-field {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(9rem, 0.3fr) minmax(0, 1fr);
}
.rrp-preference-field label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.rrp-preference-field select {
  margin-bottom: 0;
}
.request-digest-banner {
  align-items: center;
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: var(--wr-radius-lg);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
}
.request-digest-banner p {
  color: #7a2e0e;
  margin: 0.2rem 0 0;
}
.request-filter-section {
  margin-bottom: 1rem;
}
.request-filter-form {
  align-items: end;
  display: flex;
  gap: 0.75rem;
}
.request-filter-form > div {
  flex: 1 1 20rem;
  max-width: 28rem;
}
.request-filter-form select {
  margin-bottom: 0;
}
.request-filter-form select.is-filter-selected {
  background-color: var(--wr-navy);
  border-color: var(--wr-navy);
  color: #fff;
}
.request-group-list {
  display: grid;
  gap: 0.75rem;
}
.request-group-card {
  align-items: center;
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-md);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(18rem, 1.2fr) auto;
  padding: 1rem;
}
.request-group-summary {
  display: flex;
  gap: 1.5rem;
}
.request-group-date,
.request-group-location {
  display: grid;
  gap: 0.15rem;
}
.request-group-date span,
.request-group-location span {
  color: #667085;
  font-size: 0.85rem;
}
.request-group-teams > strong {
  color: #475467;
  font-size: 0.8rem;
}
.request-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.request-list li {
  display: flex;
  gap: 0.4rem;
  line-height: 1.45;
}
.request-list li span {
  color: #667085;
}
.request-blocked-note {
  color: #9a3412;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}
@media (max-width: 800px) {
  .rrp-card-header,
  .request-digest-banner,
  .request-filter-form {
    align-items: stretch;
    flex-direction: column;
  }
  .rrp-card-statuses {
    justify-content: flex-start;
  }
  .rrp-card-actions .btn,
  .rrp-card-actions form,
  .rrp-card-actions form .btn,
  .request-digest-banner .btn,
  .request-filter-form .btn {
    text-align: center;
    width: 100%;
  }
  .rrp-preference-field {
    grid-template-columns: 1fr;
  }
  .request-filter-form > div {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }
  .request-group-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .request-group-summary {
    justify-content: space-between;
  }
  .request-group-action .btn {
    width: 100%;
  }
  .request-list li {
    display: grid;
    gap: 0.1rem;
    grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1fr);
  }
  .rrp-event-table,
  .rrp-event-table tbody,
  .rrp-event-table tr,
  .rrp-event-table td {
    display: block;
    width: 100%;
  }
  .rrp-event-table thead {
    display: none;
  }
  .rrp-event-table tr {
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-md);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
  .rrp-event-table td {
    border-bottom: 1px solid #edf0f4;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    padding: 0.65rem 0;
  }
  .rrp-event-table td::before {
    color: #7a8699;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .rrp-event-table td:last-child {
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.link-row a.danger-link {
  background: #b42318;
  border-color: #912018;
  color: #fff;
}
.link-row a.danger-link:hover {
  background: #912018;
}
.link-row a.active-filter {
  background: var(--wr-navy);
  border-color: var(--wr-navy);
  color: #fff;
}
.text-link-row {
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.text-link-row a {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-decoration: underline;
}
.text-link-row .separator {
  color: #98a2b3;
}
.entity-badge,
.team-badge {
  --entity-badge-height: 3.35rem;
  --entity-badge-y-padding: 0.45rem;
  --entity-badge-icon-size: calc(var(--entity-badge-height) - (var(--entity-badge-y-padding) * 2) - 2px);
  --team-bg: #ffffff;
  --team-text: #000000;
  --team-border: #808080;
  align-items: center;
  align-self: flex-start;
  background: var(--team-bg);
  border: 1px solid var(--wr-border);
  border-radius: 5px;
  color: var(--team-text);
  display: inline-flex;
  flex: 0 1 auto;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  gap: 0.65rem;
  justify-self: start;
  line-height: 1.1;
  max-width: 100%;
  min-height: var(--entity-badge-height);
  padding: var(--entity-badge-y-padding) 1rem var(--entity-badge-y-padding) var(--entity-badge-y-padding);
  text-decoration: none;
  vertical-align: middle;
  width: fit-content;
  word-break: break-word;
}
a.entity-badge:hover,
a.team-badge:hover {
  color: var(--team-text);
  text-decoration: none;
}
.entity-badge-icon,
.team-badge-icon {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 5px;
  display: inline-flex;
  flex: 0 0 var(--entity-badge-icon-size);
  height: var(--entity-badge-icon-size);
  justify-content: center;
  overflow: hidden;
  width: var(--entity-badge-icon-size);
}
.entity-badge-icon img,
.team-badge-icon img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.entity-badge-name,
.team-badge-name {
  min-width: 0;
}
.calendar-header-badges {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}
.calendar-header-content {
  width: 100%;
}
button.calendar-request-mode-button:not(.btn):not(:disabled) {
  align-items: center;
  align-self: center;
  background: transparent;
  border: 0;
  cursor: help;
  display: inline-flex;
  justify-content: center;
  line-height: 0;
  margin-left: auto;
  padding: 0;
}
.calendar-request-mode-button:not(.btn) img {
  display: block;
  height: 3.35rem;
  object-fit: contain;
  width: auto;
}
.calendar-request-mode-icon {
  display: inline-block;
  height: 3.35rem;
  object-fit: contain;
  vertical-align: middle;
  width: auto;
}
.team-badge-small {
  --entity-badge-height: 2.4rem;
  --entity-badge-y-padding: 0.32rem;
  font-size: 0.95rem;
  min-height: var(--entity-badge-height);
  padding: var(--entity-badge-y-padding) 0.75rem var(--entity-badge-y-padding) var(--entity-badge-y-padding);
}
.user-badge {
  max-width: 100%;
}
.team-badge-preview {
  align-items: center;
  display: flex;
  min-height: 5.5rem;
}
.team-branding-field input[type="file"],
.team-branding-field input[type="color"] {
  height: 5.25rem;
}
.team-branding-field input[type="file"] {
  align-content: center;
}
.team-branding-field input[type="color"] {
  cursor: pointer;
  padding: 0.45rem;
}
.image-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  margin-bottom: 1rem;
}
.image-gallery-item {
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  margin: 0;
  padding: 0.65rem;
  width: min(100%, 320px);
}
.user-uploaded-image {
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  cursor: zoom-in;
  display: block;
  height: auto;
  max-height: 250px;
  max-width: 300px;
  object-fit: contain;
  width: auto;
}
.user-uploaded-image:focus {
  outline: 3px solid #1d70b8;
  outline-offset: 3px;
}
.image-gallery-item img {
  border: 0;
  margin-bottom: 0;
}
.image-gallery-item figcaption,
.branding-image-item figcaption {
  color: #667085;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  max-width: 300px;
  min-height: 1.4rem;
}
.editable-image-description {
  cursor: text;
  white-space: pre-wrap;
}
.editable-image-description:empty::before {
  color: #98a2b3;
  content: "Add image description";
}
.image-description-editor {
  font-size: 0.9rem;
  margin-top: 0.35rem;
  min-height: 5rem;
  resize: vertical;
  width: 100%;
}
.toast-message {
  border-radius: 0.75rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  font-weight: 850;
  left: 50%;
  line-height: 1.35;
  max-width: min(44rem, calc(100vw - 2rem));
  padding: 1.25rem 1.75rem;
  position: fixed;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 1080;
}
.toast-message.success {
  margin-bottom: 0;
}
.toast-message.error {
  margin-bottom: 0;
}
.toast-message.warning {
  margin-bottom: 0;
}
.branding-image-list {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 320px));
  margin-bottom: 1rem;
}
.branding-image-item {
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  padding: 0.65rem;
  position: relative;
  width: min(100%, 320px);
}
.branding-image-list img {
  border: 0;
  margin-bottom: 0;
  max-width: 100%;
}
.branding-image-upload {
  margin-bottom: 1rem;
}
.branding-image-delete-form {
  margin: 0;
}
.branding-image-delete-button {
  align-items: center;
  background: #d92d20;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.24);
  color: #ffffff;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  width: 2rem;
}
.branding-image-delete-button:hover,
.branding-image-delete-button:focus {
  background: #b42318;
}
.uploaded-image-lightbox[hidden] {
  display: none;
}
.uploaded-image-lightbox {
  align-items: center;
  background: rgba(15, 23, 42, 0.76);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 1200;
}
.uploaded-image-lightbox-panel {
  position: relative;
  width: min(100%, 1320px);
}
.uploaded-image-lightbox-image {
  background: #ffffff;
  border-radius: 5px;
  display: block;
  height: calc(100dvh - 5rem);
  object-fit: contain;
  width: 100%;
}
.uploaded-image-lightbox-close {
  align-items: center;
  background: #111827;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.32);
  color: #ffffff;
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 800;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  width: 2.25rem;
  z-index: 1;
}
.uploaded-image-lightbox-close:hover,
.uploaded-image-lightbox-close:focus {
  background: #d92d20;
}
@media (max-width: 720px) {
  .uploaded-image-lightbox {
    padding: 0;
  }
  .uploaded-image-lightbox-panel {
    width: 100vw;
  }
  .uploaded-image-lightbox-image {
    border-radius: 0;
    height: 100dvh;
  }
  .uploaded-image-lightbox-close {
    right: 0.75rem;
    top: 0.75rem;
  }
}
.schedule-page-card {
  display: grid;
  gap: 1rem;
}
.schedule-page-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.schedule-building-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.schedule-actions form {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  margin: 0;
}
.schedule-actions label {
  margin: 0;
}
.schedule-actions select {
  margin-bottom: 0;
  min-width: 5.5rem;
}
.schedule-list {
  display: grid;
  gap: 0.45rem;
  list-style-position: inside;
  margin: 0;
  padding: 0;
}
.schedule-list-item {
  border-bottom: 1px solid #e4e7ec;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.5;
  padding: 0.45rem 0;
}
.schedule-list-item a {
  overflow-wrap: anywhere;
}
.schedule-soon-badge {
  background: #fff4d6;
  border: 1px solid #f2c94c;
  border-radius: 0.35rem;
  color: #7a4b00;
  display: inline-block;
  font-family: inherit;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.2;
  margin-right: 0.45rem;
  padding: 0.08rem 0.28rem;
}
.schedule-entry-note {
  color: #888;
  margin: 0.2rem 0 0 0;
  overflow-wrap: anywhere;
}
.print-only {
  display: none;
}
@media (max-width: 720px) {
  .schedule-page-header {
    display: grid;
  }
  .schedule-actions {
    justify-content: flex-end;
  }
}
@media print {
  .navbar,
  .no-print,
  .site-footer,
  .env-badge,
  .ai-chat {
    display: none !important;
  }
  body {
    background: #ffffff;
  }
  main.container {
    margin: 0;
    max-width: none;
    padding: 0 !important;
    width: 100%;
  }
  .card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .calendar-page-header {
    gap: 0.8mm;
    margin: 0 0 2mm;
    padding: 0;
  }
  .calendar-page-header.has-request-mode {
    padding-right: 0;
  }
  .calendar-page-header h1 {
    font-size: 14pt;
    line-height: 1.1;
  }
  .calendar-page-header .subhead,
  .calendar-page-header .page-header-description {
    font-size: 7.5pt;
    line-height: 1.2;
    margin-top: 0.6mm;
    max-width: none;
  }
  .calendar-page-header .page-header-actions,
  .calendar-page-request-mode,
  .calendar-request-mode-modal,
  .month-sidebar,
  .month-nav,
  .month-view-toggle,
  .month-utility-links,
  .calendar-drag-drop-notice,
  .calendar-request-legend {
    display: none !important;
  }
  .month-shell {
    padding: 0 !important;
  }
  .month-board-layout {
    display: block !important;
    width: 100%;
  }
  .month-board {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100%;
  }
  .month-board-toolbar {
    display: block !important;
    margin-bottom: 1.5mm !important;
  }
  .month-board-title {
    font-size: 13pt !important;
    line-height: 1.1 !important;
  }
  .month-grid-weekdays,
  .month-grid-weeks,
  .week-board-grid,
  .day-schedule-grid {
    min-width: 0 !important;
    width: 100% !important;
  }
  .month-grid-weekdays,
  .month-grid-weeks {
    break-inside: avoid;
  }
  .month-grid-weeks {
    grid-auto-rows: minmax(0, 1fr) !important;
    height: 136mm !important;
    overflow: hidden !important;
  }
  .month-grid-cell {
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.7mm !important;
  }
  .month-grid-day,
  .month-grid-weekdays div,
  .week-board-day,
  .week-board-header,
  .day-schedule-room-header,
  .day-schedule-time-label {
    font-size: 8pt !important;
  }
  .month-grid-event,
  .week-board-event,
  .day-schedule-block,
  .day-schedule-slot {
    font-size: 5.5pt !important;
    line-height: 1.05 !important;
    padding: 0.6mm 0.8mm !important;
  }
  .month-grid-events {
    gap: 0.2mm !important;
  }
  .month-grid-event {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 4.7pt !important;
    line-height: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overflow-wrap: break-word !important;
    padding: 0 0.35mm !important;
    white-space: normal !important;
  }
  .month-grid-event.is-multi-room-combo {
    padding-right: 0.35mm !important;
  }
  .month-grid-event .booking-status-dot,
  .month-grid-event .multi-room-combo-marker {
    display: none !important;
  }
  .month-grid-event.is-requested .grid-event-line {
    display: inline !important;
    line-height: 1 !important;
  }
  .month-grid-event.is-requested .grid-event-line + .grid-event-line::before {
    content: ", ";
  }
  .month-day-summary {
    display: none !important;
  }
  .week-board-grid {
    min-height: 150mm !important;
  }
  .day-schedule-grid {
    grid-template-rows: auto minmax(150mm, 1fr) !important;
  }
  .schedule-list-item {
    break-inside: avoid;
  }
  .print-only {
    display: block;
  }
}
.messages-link.has-unseen {
  color: #fecaca !important;
  font-weight: 800;
}
.nav-notification-count {
  align-items: center;
  background: #dc2626;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 1.25rem;
  justify-content: center;
  margin-left: 0.2rem;
  min-width: 1.25rem;
  padding: 0 0.3rem;
}
.message-unseen {
  border-left: 0.35rem solid #dc2626;
}
.messages-bulk-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.messages-select-all,
.message-select-box {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}
.messages-select-all,
.message-select-box,
label.messages-select-all:has(input[type="checkbox"]),
label.message-select-box:has(input[type="checkbox"]) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  margin-bottom: 0;
  padding: 0;
}
.messages-select-all {
  align-items: center;
  color: #334155;
  font-weight: 700;
  transform: translateY(5px);
}
.message-list-item-shell {
  align-items: flex-start;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1rem minmax(0, 1fr);
}
.message-select-box {
  align-items: center;
  height: 1.4rem;
  justify-content: center;
  transform: translateY(5px);
  width: 1rem;
}
.message-select-box input[type="checkbox"],
.messages-select-all input[type="checkbox"] {
  margin: 0;
}
.message-list-item-main {
  min-width: 0;
}
.message-list-item-row {
  min-width: 0;
}
.message-list-item-content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.message-list-item-date {
  flex: 0 0 auto;
}
.request-bookings-link {
  position: relative;
}
.request-badge {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 1.1rem;
  padding: 0 0.3rem;
  border-radius: 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
}
.request-badge-none {
  background-color: #198754;
}
.request-badge-amber {
  background-color: #f59e0b;
  color: #1f2937;
}
.request-badge-red {
  background-color: #dc2626;
}
.dashboard-hero {
  align-items: center;
  background: linear-gradient(135deg, #183153 0%, #244d7a 68%, #3268a1 100%);
  border-radius: var(--wr-radius-lg);
  box-shadow: var(--wr-shadow-md);
  color: #fff;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}
.dashboard-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  height: 18rem;
  position: absolute;
  right: -7rem;
  top: -10rem;
  width: 18rem;
}
.dashboard-hero-copy {
  position: relative;
  z-index: 1;
}
.dashboard-eyebrow {
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.dashboard-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.dashboard-hero p:last-child {
  color: #dbeafe;
  font-size: 1.05rem;
  margin: 0;
}
.dashboard-hero .dashboard-hero-actions a.btn.btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--wr-navy);
  white-space: nowrap;
}
.dashboard-hero .dashboard-hero-actions a.btn.btn-primary:hover {
  background: #eaf2fb;
  border-color: #eaf2fb;
  color: #10243f;
}
.dashboard-hero-actions {
  position: relative;
  z-index: 1;
}
.dashboard-overview {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0 0.25rem;
}
.dashboard-overview span {
  align-items: baseline;
  display: inline-flex;
  gap: 0.3rem;
}
.dashboard-overview strong {
  color: var(--wr-ink);
  font-size: 1.25rem;
}
.dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-panel {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-lg);
  box-shadow: var(--wr-shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
}
.dashboard-panel-schedule,
.dashboard-panel-summary {
  background: #f8fbff;
}
.dashboard-panel-heading {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.dashboard-panel-heading h2 {
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}
.dashboard-panel-heading p {
  color: #667085;
  font-size: 0.88rem;
  margin: 0;
}
.dashboard-section-icon {
  align-items: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  color: var(--wr-navy);
  display: flex;
  height: 3.35rem;
  justify-content: center;
  padding: 0.55rem;
  width: 3.35rem;
}
.dashboard-section-icon svg {
  height: 100%;
  width: 100%;
}
.dashboard-entity-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.dashboard-entity-list li {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dashboard-entity-list .entity-badge {
  font-size: 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
}
.dashboard-entity-list .entity-badge-icon {
  flex-basis: 2rem;
  width: 2rem;
}
.dashboard-team-role-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  color: var(--wr-navy);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}
.dashboard-section-empty {
  color: #667085;
  margin: auto 0;
}
.dashboard-panel-link {
  align-items: center;
  color: var(--wr-navy);
  display: flex;
  font-size: 1.05rem;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.75rem 0 0;
  text-decoration: none;
}
.dashboard-panel-footer-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
}
@media (max-width: 760px) {
  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-hero-actions {
    align-self: flex-end;
  }
  .dashboard-hero .btn {
    text-align: center;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
.summary-hero {
  background: #f8fafc;
}
.summary-stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}
.summary-stat {
  margin-bottom: 0;
}
.summary-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.summary-stat span {
  color: #475467;
  display: block;
  font-weight: 650;
  margin-top: 0.45rem;
}
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.summary-list-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.9rem;
}
.summary-list-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.summary-list-main {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}
.summary-action-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0;
}
.summary-link-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .summary-stat-grid,
  .summary-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .summary-stat-grid,
  .summary-link-grid {
    grid-template-columns: 1fr;
  }
}
.calendar-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  margin-top: 0.75rem;
  padding: 0;
}
.calendar-summary-list li {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.calendar-summary-name {
  font-weight: 600;
}
.calendar-summary-meta {
  color: #6b7280;
  font-size: 0.875rem;
}
.room-summary-table {
  border-collapse: collapse;
  width: 100%;
}
.room-summary-table tr {
  border-bottom: 1px solid #e5e7eb;
}
.room-summary-table tr:last-child {
  border-bottom: none;
}
.room-summary-badge {
  padding: 0.6rem 1rem 0.6rem 0;
  vertical-align: middle;
  white-space: nowrap;
  width: 1%;
}
.room-summary-config {
  padding: 0.6rem 0;
  vertical-align: middle;
}
.room-config-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.room-config-list li {
  color: #374151;
  font-size: 0.85rem;
}
.config-missing {
  color: #9ca3af;
}
.details-grid {
  column-gap: 1.5rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  margin: 0;
  row-gap: 0.35rem;
}
.details-grid dt {
  color: #6b7280;
  font-weight: 600;
}
.details-grid dd {
  margin: 0;
  word-break: break-word;
}
.assigned-room {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
}
.assigned-room:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.assigned-room > strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}
.timeslot-segmented-control {
  align-items: stretch;
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius-sm);
  display: grid;
  margin-top: 0.35rem;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}
.timeslot-segment {
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  color: #31547d;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  min-height: 2.5rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}
.timeslot-segment:first-child {
  border-top: 0;
}
.timeslot-segment:hover {
  background: #f3f7fb;
  color: var(--wr-navy);
}
.timeslot-segment strong {
  color: var(--wr-navy);
  font-size: 0.9rem;
  line-height: 1.15;
}
.timeslot-segment span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}
.room-action-toolbar {
  margin-top: 0.75rem;
}
.room-action-toolbar .btn {
  font-size: 0.9rem;
}
.inline-select-action {
  align-items: end;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0.75rem;
}
.inline-select-action select {
  margin: 0;
}
.inline-select-action .btn {
  min-height: 2.7rem;
  white-space: nowrap;
}
.week-table {
  table-layout: fixed;
}
.week-table th,
.week-table td {
  border-left: 1px solid #d0d5dd;
}
.week-table th:first-child,
.week-table td:first-child {
  border-left: 0;
}
.week-table td {
  vertical-align: top;
}
.week-room {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}
.week-room strong {
  display: block;
  margin-bottom: 0.35rem;
}
.status-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  text-transform: capitalize;
}
.status-free {
  background: #dcfce7;
  color: #166534;
}
.status-partial {
  background: #fef3c7;
  color: #92400e;
}
.status-full {
  background: #fee2e2;
  color: #991b1b;
}
.status-none {
  background: #e5e7eb;
  color: #374151;
}
.billing-notice {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #b26a00;
  border-radius: 0.45rem;
  background: #fff4d6;
  color: #553200;
}

.billing-notice a {
  color: inherit;
  font-weight: 700;
}

.error {
  background: #fef3f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  color: #b42318;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}
.danger-card {
  background: #fef3f2;
  border-color: #fecaca;
  color: #7a271a;
}
.danger-card .muted {
  color: #b42318;
}
.danger-card a {
  color: #991b1b;
}
.danger-action-strip {
  align-items: center;
  background: #fff8f7;
  border: 1px solid #fecdca;
  border-radius: var(--wr-radius-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.9rem;
}
.danger-action-strip h2 {
  color: #7a271a;
  font-size: 1.1rem;
  margin: 0;
}
.danger-action-strip p {
  color: #7a271a;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.2rem 0 0;
}
.danger-action-strip a.btn.btn-danger,
.danger-action-strip button.btn.btn-danger {
  align-items: center;
  background: #fff;
  border-color: #f1b7b2;
  border-radius: 6px;
  color: #b42318;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 760;
  gap: 0.5rem;
  justify-content: center;
  line-height: 1.1;
  min-height: 2.55rem;
  padding: 0.65rem 0.9rem;
}
.danger-action-strip a.btn.btn-danger:hover,
.danger-action-strip button.btn.btn-danger:hover {
  background: #fff8f7;
  border-color: #fecdca;
  color: #912018;
}
.danger-action-strip .btn-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.1rem;
  justify-content: center;
  width: 1.1rem;
}
.danger-action-strip .btn-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
table {
  --bs-table-bg: transparent;
  background: #fff;
  border-radius: 0.85rem;
  overflow: hidden;
  width: 100%;
}
th {
  background: #f8fafc;
  color: #475467;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
th, td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.7rem;
  text-align: left;
}
.table-wrap {
  overflow-x: auto;
}
.logout-form {
  margin: 0;
}
.logout-form button {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 0.8rem;
}
.navbar-standard {
  background: #183153;
}
.navbar-superadmin {
  background: #111;
  --bs-navbar-color: #d4af37;
  --bs-navbar-hover-color: #f0c040;
  --bs-navbar-active-color: #f0c040;
  --bs-navbar-brand-color: #d4af37;
  --bs-navbar-brand-hover-color: #f0c040;
  --bs-navbar-toggler-border-color: rgba(212,175,55,0.4);
}
.navbar-superadmin .nav-link.active {
  background: rgba(212, 175, 55, 0.16);
  color: #f0c040;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 0.75rem 0 0.25rem;
  }
  .navbar .navbar-nav {
    align-items: stretch !important;
    gap: 0.2rem;
  }
  .navbar .nav-link {
    padding: 0.65rem 0.75rem;
  }
  .navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    margin: 0.2rem 0 0.45rem;
  }
  .nav-user-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 0.35rem;
  }
}
.home-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  padding: 2rem 0 1rem;
}
.home-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1;
  margin-bottom: 1rem;
}
.home-lede {
  color: #344054;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 44rem;
}
.home-visual {
  background: #f8fafc;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  box-shadow: 0 16px 40px rgba(24, 49, 83, 0.09);
  overflow: hidden;
}
.home-visual-image {
  display: block;
  height: auto;
  width: 100%;
}
.error-page-image-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  padding: 0 1rem;
}
.error-page-image {
  display: block;
  height: auto;
  max-width: 22rem;
  width: 100%;
}
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  flex: 0 0 auto;
  padding-bottom: var(--wr-floating-control-clearance);
  z-index: 1000;
}
.env-badge {
  background: #1d4ed8;
  border-radius: 0.4rem 0 0 0;
  bottom: 0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 9999;
}
.home-section {
  margin-top: 2rem;
}
.home-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.home-feature {
  border-left: 4px solid #2563eb;
}
.home-feature h3 {
  margin-bottom: 0.4rem;
}
@media (max-width: 720px) {
  .pagination-shell {
    gap: 0.75rem;
  }
  .pagination-shell nav {
    max-width: 100%;
  }
  .pagination {
    border-radius: 0.55rem;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .pagination .page-link {
    font-size: 0.85rem;
    min-height: 2.35rem;
    min-width: 2rem;
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
  }
  .pagination .page-item:first-child .page-link,
  .pagination .page-item:last-child .page-link {
    min-width: 4.2rem;
  }
  .pagination .page-item:first-child .page-link {
    border-bottom-left-radius: 0.55rem;
    border-top-left-radius: 0.55rem;
  }
  .pagination .page-item:last-child .page-link {
    border-bottom-right-radius: 0.55rem;
    border-top-right-radius: 0.55rem;
  }
  .pagination-summary {
    font-size: 0.95rem;
  }
  .calendar-page-header.has-request-mode {
    padding-right: 0;
  }
  .calendar-page-request-mode {
    align-self: flex-start;
    position: static;
  }
  .entity-page-header {
    align-items: stretch;
    flex-direction: column;
  }
  .entity-page-identity {
    align-items: stretch;
  }
  .entity-page-actions {
    align-self: flex-start;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 0;
    justify-content: flex-start;
    padding: 0;
  }
  .entity-page-actions .btn,
  .entity-page-actions button {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--wr-navy);
    display: inline;
    flex: 0 0 auto;
    min-height: 0;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    transform: none;
  }
  .entity-page-actions .btn + .btn::before,
  .entity-page-actions .btn + button::before,
  .entity-page-actions button + .btn::before,
  .entity-page-actions button + button::before {
    color: #667085;
    content: "|";
    display: inline-block;
    margin: 0 0.55rem;
    text-decoration: none;
  }
  .detail-page-grid,
  .room-info-summary-grid,
  .admin-page-layout,
  .calendar-setup-layout,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .admin-page-aside {
    position: static;
  }
  .form-action-bar,
  .danger-zone {
    align-items: stretch;
    flex-direction: column;
  }
  .form-action-bar .btn,
  .danger-zone .btn {
    text-align: center;
    width: 100%;
  }
  .inline-select-action {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .inline-select-action .btn,
  .danger-card .btn,
  .danger-action-strip .btn {
    text-align: center;
    width: 100%;
  }
  .danger-action-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .detail-link-list li {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  .page-header-actions {
    align-self: flex-start;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 0;
    justify-content: flex-start;
    padding: 0;
  }
  .page-header-actions a.btn.btn,
  .page-header-actions button.btn.btn,
  .page-header-actions button {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--wr-navy);
    display: inline;
    font: inherit;
    font-weight: 760;
    line-height: 1.35;
    min-height: 0;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    transform: none;
    white-space: normal;
  }
  .page-header-actions a.btn.btn:hover,
  .page-header-actions a.btn.btn:active,
  .page-header-actions button.btn.btn:hover,
  .page-header-actions button.btn.btn:active,
  .page-header-actions button:hover,
  .page-header-actions button:active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--wr-navy);
    transform: none;
  }
  .page-header-actions a.btn.btn:focus-visible,
  .page-header-actions button.btn.btn:focus-visible,
  .page-header-actions button:focus-visible {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--wr-navy);
    outline-offset: 0.18rem;
  }
  .page-header-actions .btn + .btn::before,
  .page-header-actions .btn + button::before,
  .page-header-actions button + .btn::before,
  .page-header-actions button + button::before {
    color: #667085;
    content: "|";
    display: inline-block;
    margin: 0 0.55rem;
    text-decoration: none;
  }
  .content-section {
    padding: 1rem;
  }
  .entity-list-item,
  .entity-list-main {
    align-items: stretch;
    flex-direction: column;
  }
  .entity-list-actions {
    justify-content: flex-start;
  }
  .building-action-list {
    flex-basis: 100%;
    width: 100%;
  }
  .building-action-line {
    grid-template-columns: 2.1rem 1fr;
  }
  .building-action-chevron {
    display: none;
  }
  .entity-list-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .card {
    border-radius: 5px;
    padding: 1rem;
  }
  .message-list-item-row {
    flex-direction: column;
  }
  .messages-bulk-toolbar {
    align-items: stretch;
  }
  .messages-bulk-toolbar .btn {
    width: 100%;
  }
  .message-list-item-shell {
    gap: 0.65rem;
  }
  .message-list-item-date {
    align-self: flex-start;
    white-space: normal !important;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
  th, td {
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .bookings-results-content .pagination-shell {
    padding: 1rem 0.5rem;
  }
  .pagination .page-link {
    font-size: 0.78rem;
    min-height: 2.15rem;
    min-width: 1.75rem;
    padding: 0.35rem 0.3rem;
  }
  .pagination .page-item:first-child .page-link,
  .pagination .page-item:last-child .page-link {
    min-width: 3.65rem;
  }
  .pagination-summary {
    font-size: 0.9rem;
  }
}

.calendar-move-modal[hidden] {
  display: none;
}

.calendar-move-modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 1100;
}

.calendar-move-modal-panel {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.28);
  max-width: 30rem;
  padding: 1.25rem;
  width: 100%;
}

.calendar-move-modal-panel h2 {
  margin-bottom: 0.35rem;
}

.calendar-modal-heading {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.calendar-modal-heading-link {
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.calendar-booking-choice-options {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.calendar-booking-choice-option {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  color: #0f172a;
  display: block;
  font-weight: 700;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
}

.calendar-booking-choice-option:focus,
.calendar-booking-choice-option:hover {
  background: #eef2ff;
  border-color: #818cf8;
  color: #1e1b4b;
}

.calendar-move-modal-handle {
  cursor: move;
  touch-action: none;
  user-select: none;
}

.calendar-move-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.65rem;
  color: #9a3412;
  font-weight: 700;
  margin: 1rem 0;
  padding: 0.7rem 0.8rem;
}

.calendar-move-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

.is-past-move-blocked {
  cursor: not-allowed;
}

.calendar-book-team-field {
  margin-bottom: 0.5rem;
}

.week-board-event,
.month-grid-event {
  position: relative;
}
.booking-status-dot {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  height: 0.5rem;
  left: 0.18rem;
  position: absolute;
  top: 0.18rem;
  width: 0.5rem;
  z-index: 5;
}
.booking-status-dot.is-requested {
  background: #f59e0b;
}
.booking-status-dot.is-confirmed {
  background: #10b981;
}
.grid-event-line {
  display: block;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}
.month-grid-event.is-requested {
  white-space: normal;
}
.day-schedule-block.is-requested span {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
}
.day-request-line {
  align-items: center;
  display: flex !important;
  gap: 0.35rem;
  justify-content: space-between;
}
.day-request-line.is-movable,
.calendar-request-line.is-movable {
  cursor: grab;
}
.day-request-line.is-movable:active,
.calendar-request-line.is-movable:active {
  cursor: grabbing;
}
.request-cancelable {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 0.68rem;
  padding: 0;
  text-decoration: underline;
}
.request-cancelable:hover {
  background: transparent;
  color: inherit;
}
/* A requested slot with no confirmed booking is still bookable, so it shows the
   same blue hover surround as an empty slot. */
.day-schedule-block.is-requested.is-bookable {
  cursor: pointer;
}
.day-schedule-block.is-requested.is-bookable:hover {
  box-shadow: inset 0 0 0 2px #2563eb;
}
.day-schedule-block.is-requested .request-cancelable {
  cursor: pointer;
  text-decoration: underline;
}
.calendar-request-legend {
  color: #40526a;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 650;
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
}
.calendar-request-legend-item {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}
.calendar-legend-dot {
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 0.7rem;
  width: 0.7rem;
}
.calendar-legend-dot.is-confirmed {
  background: #10b981;
}
.calendar-legend-dot.is-requested {
  background: #f59e0b;
}
.month-utility-ping {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  width: 100%;
}

.calendar-drag-drop-notice {
  background: #f8fafc;
  border: 1px solid #d8e0eb;
  border-radius: 0.75rem;
  color: #40526a;
  font-size: 0.9rem;
  font-weight: 650;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
}

.ai-chat {
  bottom: 1rem;
  left: 5px;
  position: fixed;
  z-index: 1060;
}
.ai-chat.is-dragging,
.ai-chat.is-dragging * {
  user-select: none;
}
.ai-chat-toggle {
  align-items: center;
  background: #19324f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.25);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.55rem 0.85rem;
}
.ai-chat-toggle-icon {
  align-items: center;
  background: #f4c542;
  border-radius: 50%;
  color: #1b2433;
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}
.ai-chat-panel {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  bottom: 3.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  display: flex;
  flex-direction: column;
  height: min(34rem, calc(100vh - 6rem));
  overflow: hidden;
  overscroll-behavior: contain;
  position: absolute;
  left: 0;
  touch-action: pan-y;
  width: min(42rem, calc(100vw - 2rem));
}
.ai-chat-header {
  align-items: center;
  background: #19324f;
  color: #fff;
  cursor: grab;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem;
  touch-action: none;
}
.ai-chat.is-dragging .ai-chat-header {
  cursor: grabbing;
}
.ai-chat-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ai-chat-actions {
  display: flex;
  gap: 0.4rem;
}
.ai-chat-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}
.ai-chat-body {
  display: grid;
  flex: 1;
  grid-template-columns: 12rem minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}
.ai-chat-conversations {
  background: #f8fafc;
  border-right: 1px solid #d8dee8;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem;
  touch-action: pan-y;
}
.ai-chat-conversation {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #334155;
  display: block;
  font-size: 0.85rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  overflow: hidden;
  padding: 0.55rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.ai-chat-conversation[aria-pressed="true"],
.ai-chat-conversation:hover {
  background: #e8eef6;
  color: #14243a;
}
.ai-chat-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.ai-chat-messages {
  background: #fff;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.85rem;
  touch-action: pan-y;
}
.ai-chat-empty {
  color: #64748b;
  font-size: 0.9rem;
  margin: auto;
  text-align: center;
}
.ai-chat-message {
  border-radius: 8px;
  line-height: 1.4;
  max-width: 86%;
  overflow-wrap: anywhere;
  padding: 0.65rem 0.75rem;
  white-space: pre-wrap;
}
.ai-chat-message p,
.ai-chat-message h1,
.ai-chat-message h2,
.ai-chat-message h3 {
  margin: 0;
}
.ai-chat-message p + p,
.ai-chat-message p + h1,
.ai-chat-message p + h2,
.ai-chat-message p + h3,
.ai-chat-message h1 + p,
.ai-chat-message h2 + p,
.ai-chat-message h3 + p {
  margin-top: 0.45rem;
}
.ai-chat-message h1,
.ai-chat-message h2,
.ai-chat-message h3 {
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}
.ai-chat-message.is-user {
  align-self: flex-end;
  background: #2563eb;
  color: #fff;
}
.ai-chat-message.is-assistant {
  align-self: flex-start;
  background: #eef2f7;
  color: #1f2937;
}
.ai-chat-message.is-pending {
  color: #64748b;
  font-style: italic;
}
.ai-chat-form {
  align-items: end;
  border-top: 1px solid #d8dee8;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.75rem;
}
.ai-chat-input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  resize: vertical;
}
.ai-chat-send {
  background: #19324f;
  border: 1px solid #19324f;
  border-radius: 6px;
  color: #fff;
  font-weight: 750;
  min-height: 2.75rem;
  padding: 0 0.85rem;
}

.multi-room-combo-marker {
  align-items: center;
  background: #111827;
  color: #fff;
  display: flex;
  font-size: 0.52rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  text-transform: lowercase;
  z-index: 2;
}
.day-schedule-block.is-multi-room-combo {
  padding-bottom: 1rem;
}
.day-schedule-block .multi-room-combo-marker {
  border-radius: 0;
  bottom: 0;
  display: flex !important;
  font-size: 0.52rem;
  height: 0.78rem;
  left: 0;
  min-width: 0;
  padding: 0 0.2rem;
  right: 0;
}
.week-board-event.is-multi-room-combo,
.month-grid-event.is-multi-room-combo {
  padding-right: 1rem;
}
.week-board-event .multi-room-combo-marker,
.month-grid-event .multi-room-combo-marker {
  bottom: 0;
  font-size: 0.5rem;
  padding: 0.12rem 0;
  right: 0;
  top: 0;
  transform: none;
  width: 0.78rem;
  writing-mode: vertical-rl;
}

@media (max-width: 640px) {
  .ai-chat {
    bottom: 0.75rem;
    left: 5px;
  }
  .ai-chat-panel {
    bottom: 3.5rem;
    height: min(36rem, calc(100vh - 5rem));
    width: calc(100vw - 1.5rem);
  }
  .ai-chat-body {
    grid-template-columns: 1fr;
  }
  .ai-chat-conversations {
    border-bottom: 1px solid #d8dee8;
    border-right: 0;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.45rem;
  }
  .ai-chat-conversation {
    flex: 0 0 9rem;
    margin-bottom: 0;
  }
}
