.company-landing-header {
  position: relative;
  min-height: 400px;
  height: 65vh;
  max-height: 700px;
  overflow: hidden;
  margin-top: 80px;
}

.company-landing-header-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background-color: #000;
}

.company-landing-header-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.company-landing-title-section {
  position: relative;
  z-index: 2;
}

.company-landing-logo-inline {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.company-landing-chip {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(193, 255, 114, 0.42);
  background: rgba(193, 255, 114, 0.12);
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  font-weight: 700;
}

.company-landing-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.btn-cta-outline {
  background: transparent !important;
  border: 2px solid rgba(193, 255, 114, 0.6) !important;
  color: #d9ff9c !important;
}

.company-landing-content {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .company-landing-header {
    min-height: 250px;
    height: 40vh;
    max-height: 400px;
  }
}

.company-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 1rem;
}

.company-landing-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.company-landing-side {
  position: sticky;
  top: 100px;
  align-self: start;
}

.company-events-placeholder-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.company-events-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #d9ff9c;
  background: rgba(193, 255, 114, 0.13);
  border: 1px solid rgba(193, 255, 114, 0.35);
}

.company-events-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.9rem;
}

.company-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.company-events-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.company-events-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(193, 255, 114, 0.14);
  border: 1px solid rgba(193, 255, 114, 0.38);
  color: #d9ff9c;
  font-size: 0.78rem;
  font-weight: 700;
}

.company-events-see-all {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.company-events-see-all:hover,
.company-events-see-all:focus {
  border-color: rgba(193, 255, 114, 0.45);
  background: rgba(193, 255, 114, 0.12);
  color: #e7ffb8;
  text-decoration: none;
}

.company-events-list {
  display: grid;
  gap: 0.65rem;
}

.company-event-mini-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.65rem;
  align-items: stretch;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  color: inherit;
  text-decoration: none;
}

.company-event-mini-card:link,
.company-event-mini-card:visited,
.company-event-mini-card:hover,
.company-event-mini-card:active {
  color: inherit;
  text-decoration: none;
}

.company-event-mini-card:hover {
  transform: translateY(-1px);
  border-color: rgba(193, 255, 114, 0.42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.company-event-mini-card-image {
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.company-event-mini-card-body {
  min-width: 0;
  padding: 0.55rem 0.6rem 0.55rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.company-event-mini-card-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-event-mini-card-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.28;
  word-break: break-word;
}

.company-event-mini-card-price {
  color: #d9ff9c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.company-events-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.company-landing-custom {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.95rem;
}

.company-landing-custom h1,
.company-landing-custom h2,
.company-landing-custom h3,
.company-landing-custom h4,
.company-landing-custom h5 {
  margin-top: 0;
}

.private-gate-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
}

.private-gate-icon {
  font-size: 2.4rem;
  color: var(--text-secondary);
}

.private-gate-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.company-landing-footer {
  margin-top: 2rem;
  padding: 2.2rem 0 1.4rem;
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.4) 0%, rgba(7, 13, 24, 0.86) 18%, rgba(7, 13, 24, 0.97) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.company-footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr 1fr;
  gap: 1.1rem;
  padding-bottom: 1rem;
}

.company-footer-col {
  min-width: 0;
}

.company-footer-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.company-footer-subtitle {
  margin: 0.2rem 0 0.7rem;
  color: #b4f56f;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.company-footer-text {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.55;
}

.company-footer-heading {
  margin: 0 0 0.7rem;
  font-size: 0.96rem;
  font-weight: 700;
}

.company-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.company-footer-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.45rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.company-footer-list li i {
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.14rem;
}

.company-footer-data-item {
  grid-template-columns: 16px minmax(0, 1fr) !important;
}

.company-footer-data-label {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.2;
}

.company-footer-data-value {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.company-footer-data-role {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
}

.company-footer-list li span {
  color: rgba(255, 255, 255, 0.58);
}

.company-footer-list--links a {
  color: #9fd6ff;
  text-decoration: none;
  word-break: break-word;
}

.company-footer-list--links a:hover {
  text-decoration: underline;
}

.company-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.company-footer-follow-wrap {
  margin-top: 1rem;
}

.company-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.62rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f7fbff;
  text-decoration: none;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.04);
}

.company-footer-social a:hover {
  background: rgba(255, 255, 255, 0.11);
}

.company-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.company-footer-actions--stack {
  display: grid;
  margin-top: 0.25rem;
}

.company-footer-map-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 130px;
  text-decoration: none;
}

.company-footer-map-thumb iframe {
  width: 100%;
  height: 130px;
  border: 0;
  pointer-events: none;
}

.company-footer-map-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.company-footer-actions--map {
  margin-top: 0;
}

.company-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4fbff;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
}

.company-footer-btn--accent {
  border-color: rgba(193, 255, 114, 0.56);
  background: rgba(193, 255, 114, 0.14);
  color: #dcffaa;
}

.company-footer-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.company-landing-footer-bottom {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .company-landing-grid {
    grid-template-columns: 1fr;
  }

  .company-landing-header {
    min-height: 48vh;
  }

  .company-footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .company-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .company-event-mini-card {
    grid-template-columns: 76px 1fr;
  }

  .company-event-mini-card-image {
    min-height: 70px;
  }
}

/* ---------- Agenda publica (reserva de servico / locacao) ---------- */

.company-agenda-card {
  margin-bottom: 1rem;
}

.company-agenda-card--wide {
  width: 100%;
}

.company-agenda-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.35;
}

.company-agenda-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.company-agenda-month-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.company-agenda-month {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 768px) {
  .company-agenda-months {
    grid-template-columns: 1fr;
  }
}

.company-agenda-weekdays,
.company-agenda-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.company-agenda-weekdays span {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.company-agenda-day {
  aspect-ratio: 1 / 1;
  min-height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.company-agenda-day.is-outside {
  background: transparent;
  border-color: transparent;
  color: transparent;
  pointer-events: none;
}

.company-agenda-day.is-past {
  opacity: 0.3;
  cursor: not-allowed;
}

.company-agenda-day.is-today {
  border-color: rgba(255, 255, 255, 0.32);
}

.company-agenda-day.is-available {
  background: rgba(193, 255, 114, 0.14);
  border-color: rgba(193, 255, 114, 0.42);
  color: #d9ff9c;
  cursor: pointer;
}

.company-agenda-day.is-available:hover {
  transform: translateY(-1px);
  background: rgba(193, 255, 114, 0.24);
}

.company-agenda-day.is-busy {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  cursor: not-allowed;
}

.company-agenda-legend {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.company-agenda-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.company-agenda-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.company-agenda-dot.is-available {
  background: rgba(193, 255, 114, 0.5);
  border: 1px solid rgba(193, 255, 114, 0.7);
}

.company-agenda-dot.is-busy {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

/* Um ponto por tipo de reserva disponivel no dia. */
.company-agenda-dot.is-service,
.company-agenda-day-dot.is-service {
  background: rgba(193, 255, 114, 0.85);
  border: 1px solid rgba(193, 255, 114, 0.9);
}

.company-agenda-dot.is-space-whole,
.company-agenda-day-dot.is-space-whole {
  background: rgba(125, 184, 255, 0.85);
  border: 1px solid rgba(125, 184, 255, 0.9);
}

.company-agenda-dot.is-space-units,
.company-agenda-day-dot.is-space-units {
  background: rgba(255, 196, 107, 0.85);
  border: 1px solid rgba(255, 196, 107, 0.9);
}

.company-agenda-day-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.company-agenda-day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.company-agenda-slot-badge.is-space-whole {
  background: rgba(125, 184, 255, 0.14);
  border-color: rgba(125, 184, 255, 0.4);
  color: #bcd9ff;
}

.company-agenda-slot-badge.is-space-units {
  background: rgba(255, 196, 107, 0.14);
  border-color: rgba(255, 196, 107, 0.4);
  color: #ffdda6;
}

.company-agenda-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.35;
}

.company-agenda-cards-img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0.35rem 0 0.85rem;
}

.company-agenda-modal {
  background: #14161c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.company-agenda-modal .modal-header,
.company-agenda-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.company-agenda-modal .form-control,
.company-agenda-modal .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.company-agenda-modal .form-control:focus,
.company-agenda-modal .form-select:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(193, 255, 114, 0.5);
  box-shadow: none;
  color: #ffffff;
}

.company-agenda-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.company-agenda-modal .form-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.company-agenda-slot-list {
  display: grid;
  gap: 1rem;
}

.company-agenda-space-group {
  display: grid;
  gap: 0.55rem;
}

.company-agenda-space-name {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.company-agenda-period-list {
  display: grid;
  gap: 0.45rem;
}

.company-agenda-period-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.company-agenda-period-name {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.company-agenda-period-time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.3;
}

.company-agenda-period-row .btn-cta {
  white-space: nowrap;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.company-agenda-booking-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-agenda-booking-party {
  min-width: 140px;
}

.company-agenda-booking-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.company-agenda-booking-tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.company-agenda-booking-tab.is-active {
  background: #c1ff72;
  color: #14161c;
}

.company-agenda-booking-list {
  display: grid;
  gap: 0.5rem;
}

.company-agenda-booking-unit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  color: inherit;
}

.company-agenda-booking-unit:hover,
.company-agenda-booking-unit:focus-visible {
  border-color: rgba(193, 255, 114, 0.45);
  background: rgba(193, 255, 114, 0.06);
  outline: none;
}

.company-agenda-booking-unit-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-agenda-booking-unit-icon svg {
  width: 40px;
  height: 40px;
}

.company-agenda-booking-unit-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.company-agenda-booking-unit-copy strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
}

.company-agenda-booking-unit-cta {
  pointer-events: none;
  white-space: nowrap;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.company-agenda-booking-empty {
  padding: 1.1rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 0.9rem;
}

.company-agenda-slot-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.company-agenda-slot-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.company-agenda-slot-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.3;
}

.company-agenda-slot-price {
  color: #d9ff9c;
  font-size: 0.92rem;
  font-weight: 700;
}

.company-agenda-slot-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
}

.company-agenda-slot-summary {
  background: rgba(193, 255, 114, 0.08);
  border: 1px solid rgba(193, 255, 114, 0.28);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.9rem;
}

.company-agenda-slot-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 158px;
}

.company-agenda-slot-actions .btn-cta,
.company-agenda-slot-actions .btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.company-agenda-modal .btn-cta-outline {
  background: transparent !important;
  border: 2px solid rgba(193, 255, 114, 0.55) !important;
  color: #d9ff9c !important;
}

.company-agenda-modal-dialog.is-booking {
  max-width: min(96vw, 720px);
  width: 96vw;
  margin: 0.75rem auto;
}

.company-agenda-modal-dialog.is-booking .modal-content {
  height: calc(100vh - 1.5rem);
  max-height: calc(100vh - 1.5rem);
}

.company-agenda-modal-dialog.is-booking .modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.company-agenda-modal-dialog.is-booking #agendaBookingStep {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.company-agenda-modal-dialog.is-booking #agendaBookingListPane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.company-agenda-modal-dialog.is-map,
.company-agenda-modal-dialog.is-booking.is-map {
  max-width: min(96vw, 1280px);
  width: 96vw;
  margin: 1.25rem auto;
}

.company-agenda-modal-dialog.is-map .modal-content,
.company-agenda-modal-dialog.is-booking.is-map .modal-content {
  height: calc(100vh - 2.5rem);
  max-height: calc(100vh - 2.5rem);
}

.company-agenda-modal-dialog.is-map .modal-body,
.company-agenda-modal-dialog.is-booking.is-map .modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.company-agenda-modal-dialog.is-booking.is-map #agendaBookingStep {
  flex: 0 0 auto;
}

.company-agenda-modal-dialog.is-map #agendaMapStep,
.company-agenda-modal-dialog.is-booking.is-map #agendaMapStep {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.company-agenda-modal.has-unit-sheet .modal-body {
  position: relative;
}

.company-agenda-modal .map-preview-stage {
  flex: 1;
  min-height: 360px;
  max-height: none;
  background: #0f1117;
  border-color: rgba(255, 255, 255, 0.1);
}

.company-agenda-modal .map-preview-nav-hint {
  color: rgba(255, 255, 255, 0.55);
}

.company-agenda-modal .map-preview-tools .btn.active {
  color: #14161c;
  background: #c1ff72;
  border-color: #c1ff72;
}

.company-agenda-modal .map-preview-empty {
  color: rgba(255, 255, 255, 0.45);
}

.company-agenda-modal-heading {
  min-width: 0;
  padding-right: 8px;
}

.company-agenda-modal-heading .modal-title {
  line-height: 1.25;
  font-size: 1.02rem;
  word-break: break-word;
}

.company-agenda-map-by {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.3;
}

.company-agenda-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 600;
}

.company-agenda-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.company-agenda-map-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.company-agenda-map-swatch.is-available { background: #22c55e; }
.company-agenda-map-swatch.is-pending { background: #f59e0b; }
.company-agenda-map-swatch.is-busy { background: #94a3b8; }

.company-agenda-map-hint {
  margin: 0 0 8px;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 0.8rem;
}

.company-agenda-modal-dialog.is-map #agendaMapStep {
  position: relative;
}

.agenda-unit-sheet {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.agenda-unit-sheet-backdrop {
  display: none;
}

.agenda-unit-sheet-panel {
  pointer-events: auto;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  max-height: min(78vh, 620px);
  overflow: auto;
  background: #171a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px 22px 16px 16px;
  padding: 6px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.5);
  -webkit-overflow-scrolling: touch;
}

.agenda-unit-sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  margin: 6px auto 12px;
}

.agenda-unit-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.agenda-unit-sheet-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.agenda-unit-sheet-icon svg {
  width: 40px;
  height: 40px;
}

.agenda-unit-sheet-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.agenda-unit-sheet-places {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  white-space: pre-wrap;
}

.agenda-unit-sheet-actions {
  display: flex;
  gap: 8px;
}

.agenda-unit-sheet-actions .btn,
.agenda-unit-sheet-actions .btn-cta {
  flex: 1;
  min-height: 44px;
}

.agenda-unit-sheet.is-form .agenda-unit-peek-actions {
  display: none;
}

.agenda-unit-stepper {
  margin-bottom: 12px;
}

.agenda-unit-stepper-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-unit-stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.agenda-unit-stepper-btn:disabled {
  opacity: 0.35;
}

.agenda-unit-party {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.agenda-unit-done {
  text-align: center;
  padding: 8px 4px 4px;
}

.agenda-unit-done-icon {
  font-size: 2rem;
  color: #c1ff72;
  margin-bottom: 8px;
}

.agenda-unit-done-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin: 6px 0 12px;
}

.agenda-unit-locator {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(193, 255, 114, 0.1);
  border: 1px solid rgba(193, 255, 114, 0.28);
  color: #d9ff9c;
  font-size: 0.78rem;
}

.agenda-unit-locator strong {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

@media (min-width: 900px) {
  .agenda-unit-sheet-panel {
    left: auto;
    right: 16px;
    top: 12px;
    bottom: 12px;
    width: min(380px, 40%);
    max-height: none;
    border-radius: 18px;
  }

  .agenda-unit-sheet-handle {
    display: none;
  }
}

@media (max-width: 520px) {
  .company-agenda-slot-item,
  .company-agenda-period-row,
  .company-agenda-booking-unit {
    grid-template-columns: 1fr;
  }

  .company-agenda-period-row .btn-cta,
  .company-agenda-booking-unit-cta {
    width: 100%;
    justify-content: center;
  }

  .company-agenda-booking-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .company-agenda-booking-tabs {
    width: 100%;
  }

  .company-agenda-booking-tab {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .company-agenda-modal-heading .modal-title {
    font-size: 0.9rem;
  }

  .company-agenda-map-by {
    font-size: 0.74rem;
  }

  .company-agenda-modal .map-preview-stage {
    min-height: 220px;
  }

  .company-agenda-modal .map-preview-nav-hint {
    display: none;
  }
}
