.jcb-app,
.jcb-app * {
  box-sizing: border-box;
}

body.jcb-site-takeover {
  background: #eef5f2;
  margin: 0;
}

.jcb-site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.jcb-site-topbar {
  background: #f4c42b;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 7px 18px;
  text-align: center;
  text-transform: uppercase;
}

.jcb-site-nav {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(16, 32, 39, 0.06);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 54px);
}

.jcb-site-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
}

.jcb-site-brand img {
  display: block;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

.jcb-site-brand strong {
  align-items: center;
  color: #050505;
  display: inline-flex;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 950;
  gap: 7px;
  line-height: 1;
}

.jcb-site-brand strong i {
  background: #f4c42b;
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  margin-top: 12px;
  width: 10px;
}

.jcb-site-menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.jcb-site-nav a {
  border-radius: 999px;
  color: #050505;
  font-size: 0.96rem;
  font-weight: 900;
  padding: 11px 15px;
  text-decoration: none;
}

.jcb-site-menu a:hover,
.jcb-site-menu a.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #050505;
  color: #050505;
}

.jcb-site-menu-toggle {
  align-items: center;
  background: #050505;
  border: 1px solid #050505;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: none;
  font-weight: 900;
  gap: 3px 8px;
  grid-template-columns: 16px auto;
  padding: 9px 12px;
}

.jcb-site-menu-toggle span {
  background: #fff;
  border-radius: 999px;
  display: block;
  grid-column: 1;
  height: 2px;
  width: 16px;
}

.jcb-site-menu-toggle em {
  grid-column: 2;
  grid-row: 1 / span 3;
  font-style: normal;
}

.jcb-site-cta {
  background: #050505;
  color: #fff !important;
  flex: 0 0 auto;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.jcb-site-cta:hover {
  background: #242424;
  color: #fff !important;
}

.jcb-site-main {
  margin: 0 auto;
  max-width: 1440px;
  min-height: 100vh;
  padding: 18px;
}

.jcb-app {
  --jcb-ink: #102027;
  --jcb-muted: #647078;
  --jcb-line: rgba(16, 32, 39, 0.12);
  --jcb-panel: rgba(255, 255, 255, 0.76);
  --jcb-primary: #0f766e;
  --jcb-primary-dark: #115e59;
  --jcb-accent: #d99b35;
  --jcb-good: #11845b;
  --jcb-bad: #b42318;
  --jcb-bg: #eef5f2;
  color: var(--jcb-ink);
  display: grid;
  gap: 24px;
  font-family: inherit;
  isolation: isolate;
  margin: 28px 0;
  position: relative;
}

body.jcb-site-takeover .jcb-app {
  margin: 0;
}

.jcb-app::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 155, 53, 0.20), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(15, 118, 110, 0.22), transparent 30%),
    linear-gradient(135deg, #f7faf8 0%, var(--jcb-bg) 55%, #f4efe7 100%);
  border-radius: 24px;
  content: "";
  inset: -20px;
  position: absolute;
  z-index: -1;
}

.jcb-hero {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 34px 28px 12px;
}

.jcb-kicker,
.jcb-section-title span,
.jcb-panel-heading span {
  color: var(--jcb-primary-dark);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.jcb-hero h2 {
  color: var(--jcb-ink);
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 8px 0 14px;
  max-width: 880px;
}

.jcb-hero p {
  color: var(--jcb-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.jcb-hero-stat {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 32, 39, 0.10);
  display: grid;
  justify-items: center;
  min-width: 136px;
  padding: 20px;
}

.jcb-hero-stat strong {
  color: var(--jcb-primary-dark);
  font-size: 3rem;
  line-height: 1;
}

.jcb-hero-stat span {
  color: var(--jcb-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.jcb-main-flow {
  display: grid;
  gap: 22px;
  padding: 0 28px 32px;
}

.jcb-category-panel,
.jcb-detail-panel,
.jcb-booking-panel,
.jcb-history {
  backdrop-filter: blur(18px);
  background: var(--jcb-panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 22px 70px rgba(16, 32, 39, 0.12);
}

.jcb-category-panel,
.jcb-detail-panel {
  padding: 18px;
}

.jcb-category-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jcb-category-card,
.jcb-submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.jcb-category-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 32, 39, 0.10);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(16, 32, 39, 0.08);
  color: inherit;
  display: grid;
  gap: 0;
  min-height: 236px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jcb-category-card:hover,
.jcb-category-card.is-selected {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 22px 58px rgba(15, 118, 110, 0.16);
  transform: translateY(-4px);
}

.jcb-category-card > .jcb-category-copy span {
  color: var(--jcb-primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jcb-category-card > .jcb-category-copy strong {
  color: var(--jcb-ink);
  font-size: 1.7rem;
  line-height: 1.05;
}

.jcb-category-image,
.jcb-option-thumb {
  display: block;
  overflow: hidden;
}

.jcb-category-image {
  aspect-ratio: 1.45;
  background: #e9f2ef;
}

.jcb-category-image img,
.jcb-option-thumb img,
.jcb-gallery-main img,
.jcb-gallery-thumbs img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.jcb-category-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.jcb-category-copy span {
  color: var(--jcb-primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jcb-category-copy strong {
  color: var(--jcb-ink);
  font-size: 1.7rem;
  line-height: 1.05;
}

.jcb-category-copy em {
  color: var(--jcb-muted);
  font-size: 0.93rem;
  font-style: normal;
  line-height: 1.45;
}

.jcb-space-card[hidden],
.jcb-hero[hidden],
.jcb-category-panel[hidden],
.jcb-detail-panel[hidden],
.jcb-calendar[hidden],
.jcb-booking-panel[hidden],
.jcb-requirement-panel[hidden],
.jcb-field-row[hidden],
label[hidden] {
  display: none !important;
}

.jcb-space-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.jcb-space-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(217, 155, 53, 0.08));
  border: 1px solid rgba(16, 32, 39, 0.10);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 32, 39, 0.08);
  color: inherit;
  cursor: pointer;
  display: none;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  padding: 0 16px 16px;
  text-align: left;
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jcb-space-card.is-visible {
  display: grid;
}

.jcb-option-thumb {
  aspect-ratio: 1.75;
  border-radius: 15px 15px 8px 8px;
  margin: 0 -16px 2px;
}

.jcb-space-card:hover,
.jcb-space-card.is-selected {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.16);
  transform: translateY(-3px);
}

.jcb-card-topline,
.jcb-card-meta,
.jcb-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jcb-card-topline span,
.jcb-card-meta span,
.jcb-amenities span,
.jcb-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.jcb-card-topline span {
  background: rgba(15, 118, 110, 0.10);
  color: var(--jcb-primary-dark);
}

.jcb-space-card strong {
  color: var(--jcb-ink);
  font-size: 1.26rem;
  line-height: 1.2;
}

.jcb-card-description {
  color: var(--jcb-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.jcb-card-meta span {
  background: rgba(16, 32, 39, 0.07);
  color: var(--jcb-ink);
}

.jcb-amenities span {
  background: rgba(217, 155, 53, 0.15);
  color: #805719;
}

.jcb-selected-space {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  margin-bottom: 18px;
}

.jcb-gallery-card,
.jcb-space-summary {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--jcb-line);
  border-radius: 18px;
  padding: 14px;
}

.jcb-gallery-card {
  display: grid;
  gap: 10px;
}

.jcb-gallery-main {
  aspect-ratio: 1.9;
  border-radius: 14px;
  overflow: hidden;
}

.jcb-gallery-thumbs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jcb-gallery-thumbs button {
  appearance: none;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, transform 180ms ease;
}

.jcb-gallery-thumbs button:hover,
.jcb-gallery-thumbs button.is-active {
  border-color: var(--jcb-primary);
  transform: translateY(-1px);
}

.jcb-gallery-thumbs img {
  aspect-ratio: 1.8;
}

.jcb-book-now {
  justify-self: start;
  padding: 0 22px;
}

.jcb-space-summary {
  align-content: center;
  display: grid;
  gap: 12px;
}

.jcb-space-summary h3 {
  color: var(--jcb-ink);
  font-size: 2rem;
  line-height: 1.05;
  margin: 0;
}

.jcb-space-summary p {
  color: var(--jcb-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.jcb-booking-panel {
  padding: 22px;
}

.jcb-panel-heading {
  border-bottom: 1px solid var(--jcb-line);
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.jcb-panel-heading strong {
  color: var(--jcb-ink);
  font-size: 1.45rem;
}

.jcb-form {
  display: grid;
  gap: 14px;
}

.jcb-form-steps {
  position: relative;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--jcb-line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 7px;
}

.jcb-progress-track {
  background: rgba(16, 32, 39, 0.08);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
}

.jcb-progress-track span {
  background: linear-gradient(90deg, var(--jcb-primary), var(--jcb-accent));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 220ms ease;
  width: 33.333%;
}

.jcb-form-steps button,
.jcb-secondary-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.jcb-form-steps button {
  background: transparent;
  border-radius: 10px;
  color: var(--jcb-muted);
  font-size: 0.86rem;
  font-weight: 900;
  min-height: 40px;
  padding: 8px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.jcb-form-steps button:hover,
.jcb-form-steps button.is-active {
  background: var(--jcb-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.jcb-form-step {
  animation: jcbStepIn 220ms ease both;
  display: grid;
  gap: 14px;
}

.jcb-form-step[hidden] {
  display: none !important;
}

.jcb-form-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.jcb-secondary-button {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--jcb-line);
  border-radius: 14px;
  color: var(--jcb-ink);
  font-weight: 900;
  min-height: 50px;
  padding: 0 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jcb-secondary-button:hover {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 12px 26px rgba(16, 32, 39, 0.08);
  transform: translateY(-1px);
}

.jcb-smart-panel {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--jcb-line);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.jcb-price-estimate {
  align-items: center;
  background: rgba(217, 155, 53, 0.13);
  border: 1px solid rgba(217, 155, 53, 0.28);
  border-radius: 16px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.jcb-price-estimate[hidden] {
  display: none !important;
}

.jcb-price-estimate span {
  color: #805719;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jcb-price-estimate strong {
  color: var(--jcb-ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.jcb-price-estimate em {
  color: var(--jcb-muted);
  font-style: normal;
  font-weight: 700;
}

.jcb-booking-summary {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--jcb-line);
  border-radius: 16px;
  display: grid;
  gap: 9px;
  padding: 14px;
}

.jcb-booking-summary-compact {
  background: #fff;
  border-style: dashed;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.jcb-booking-summary-compact > strong {
  grid-column: 1 / -1;
}

.jcb-booking-summary-compact span {
  background: #fffdf8;
  border: 1px solid rgba(222, 218, 210, 0.72);
  border-radius: 8px;
  padding: 9px 10px;
}

.jcb-booking-summary > strong {
  color: var(--jcb-ink);
  font-size: 1rem;
}

.jcb-booking-summary span {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.jcb-booking-summary em {
  color: var(--jcb-muted);
  font-style: normal;
  font-weight: 800;
}

.jcb-booking-summary b {
  color: var(--jcb-ink);
  min-width: 0;
  text-align: right;
  word-break: break-word;
}

.jcb-smart-panel > strong {
  color: var(--jcb-ink);
  font-size: 1rem;
}

.jcb-smart-panel > span {
  color: var(--jcb-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.jcb-consent {
  align-items: start;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 14px;
  display: flex !important;
  gap: 10px;
  padding: 13px;
}

.jcb-consent input {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 3px;
  min-height: auto;
  width: 18px;
}

.jcb-consent span {
  color: var(--jcb-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.jcb-lease-app {
  max-width: 1180px;
}

.jcb-lease-hero h2 {
  max-width: 760px;
}

.jcb-lease-panel {
  max-width: 1040px;
}

.jcb-application-switch {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jcb-application-switch label {
  cursor: pointer;
}

.jcb-application-switch input {
  inline-size: 1px;
  opacity: 0;
  position: absolute;
}

.jcb-application-switch label > span {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--jcb-line);
  border-radius: 16px;
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jcb-application-switch input:checked + span {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.15);
  transform: translateY(-2px);
}

.jcb-application-switch strong {
  color: var(--jcb-ink);
  font-size: 1.05rem;
}

.jcb-application-switch em {
  color: var(--jcb-muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.4;
}

.jcb-requirement-panel {
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid var(--jcb-line);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.jcb-requirement-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jcb-file-field {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 32, 39, 0.10);
  border-radius: 14px;
  min-height: 112px;
  padding: 13px;
}

.jcb-file-field span {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.jcb-file-field em {
  background: rgba(16, 32, 39, 0.07);
  border-radius: 999px;
  color: var(--jcb-muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.jcb-file-field small {
  color: var(--jcb-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.jcb-file-field input[type="file"] {
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  padding: 9px;
}

.jcb-field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jcb-field-row.is-single {
  grid-template-columns: 1fr;
}

.jcb-form label {
  color: var(--jcb-ink);
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.jcb-form label span {
  font-size: 0.82rem;
}

.jcb-form input,
.jcb-form select,
.jcb-form textarea {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--jcb-line);
  border-radius: 12px;
  color: var(--jcb-ink);
  font: inherit;
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.jcb-form textarea {
  resize: vertical;
}

.jcb-form input:focus,
.jcb-form select:focus,
.jcb-form textarea:focus {
  border-color: var(--jcb-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.jcb-availability,
.jcb-message,
.jcb-login-note,
.jcb-empty {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--jcb-line);
  border-radius: 14px;
  color: var(--jcb-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 12px 14px;
}

.jcb-lease-confirmation,
.jcb-submission-confirmation {
  animation: jcb-rise-in 420ms ease both;
  background: rgba(17, 132, 91, 0.10);
  border: 1px solid rgba(17, 132, 91, 0.28);
  border-radius: 18px;
  color: var(--jcb-good);
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 22px;
}

.jcb-lease-confirmation span,
.jcb-submission-confirmation span {
  color: var(--jcb-primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jcb-lease-confirmation strong,
.jcb-submission-confirmation strong {
  color: var(--jcb-ink);
  font-size: 1.7rem;
  line-height: 1.1;
}

.jcb-lease-confirmation p,
.jcb-submission-confirmation p {
  color: var(--jcb-good);
  margin: 0;
}

.jcb-calendar {
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid var(--jcb-line);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.jcb-calendar-title {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.jcb-calendar-title strong {
  font-size: 0.98rem;
}

.jcb-calendar-title span {
  color: var(--jcb-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.jcb-calendar-days,
.jcb-calendar-slots {
  display: grid;
  gap: 8px;
}

.jcb-calendar-days {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.jcb-calendar-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jcb-calendar button {
  appearance: none;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 39, 0.10);
  border-radius: 12px;
  color: var(--jcb-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 44px;
  padding: 9px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.jcb-calendar-days button {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.jcb-calendar-days button span {
  color: var(--jcb-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.jcb-calendar-days button strong {
  font-size: 1rem;
}

.jcb-calendar button:hover,
.jcb-calendar button.is-active {
  background: var(--jcb-primary-dark);
  border-color: var(--jcb-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.jcb-calendar button:hover span,
.jcb-calendar button.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

.jcb-calendar button.is-unavailable,
.jcb-calendar button[aria-disabled="true"],
.jcb-calendar button:disabled {
  background: rgba(180, 35, 24, 0.10);
  border-color: rgba(180, 35, 24, 0.30);
  color: var(--jcb-bad);
  cursor: not-allowed;
  transform: none;
}

.jcb-availability[data-state="available"],
.jcb-message[data-state="available"] {
  background: rgba(17, 132, 91, 0.10);
  border-color: rgba(17, 132, 91, 0.28);
  color: var(--jcb-good);
}

.jcb-availability[data-state="unavailable"],
.jcb-message[data-state="unavailable"] {
  background: rgba(180, 35, 24, 0.10);
  border-color: rgba(180, 35, 24, 0.28);
  color: var(--jcb-bad);
}

.jcb-availability[data-state="checking"],
.jcb-message[data-state="checking"] {
  color: var(--jcb-primary-dark);
}

.jcb-submit {
  background: linear-gradient(135deg, var(--jcb-primary), var(--jcb-primary-dark));
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.26);
  color: #fff;
  font-weight: 900;
  min-height: 50px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.jcb-submit:hover {
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.34);
  transform: translateY(-2px);
}

@keyframes jcbStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jcb-rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jcb-history-wrap {
  padding: 0 28px 32px;
}

.jcb-client-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.jcb-client-stats .jcb-admin-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--jcb-line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 16px;
}

.jcb-client-stats .jcb-admin-stat span {
  color: var(--jcb-muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jcb-client-stats .jcb-admin-stat strong {
  color: var(--jcb-primary-dark);
  font-size: 2rem;
}

.jcb-client-book-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
}

.jcb-history {
  padding: 20px;
}

.jcb-section-title {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.jcb-section-title strong {
  font-size: 1.45rem;
}

.jcb-history-list {
  display: grid;
  gap: 10px;
}

.jcb-history-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid var(--jcb-line);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.jcb-history-item div {
  display: grid;
  gap: 4px;
}

.jcb-history-item span {
  color: var(--jcb-muted);
  font-size: 0.9rem;
}

.jcb-status-pending {
  background: rgba(217, 155, 53, 0.18);
  color: #805719;
}

.jcb-status-application {
  background: rgba(15, 118, 110, 0.12);
  color: var(--jcb-primary-dark);
}

.jcb-status-confirmed,
.jcb-status-completed {
  background: rgba(17, 132, 91, 0.12);
  color: var(--jcb-good);
}

.jcb-status-cancelled {
  background: rgba(180, 35, 24, 0.10);
  color: var(--jcb-bad);
}

/* Joina City live-site visual alignment */
body.jcb-site-takeover {
  background: #fffdf8;
  color: #111;
  font-family: Figtree, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jcb-site-header {
  box-shadow: 0 12px 35px rgba(23, 25, 29, 0.08);
}

.jcb-site-header *,
.jcb-site-footer * {
  box-sizing: border-box;
}

.jcb-site-topbar {
  align-items: center;
  background: #f2c230;
  color: #111;
  display: flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  min-height: 28px;
  overflow: hidden;
  padding: 0 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jcb-site-nav {
  border-bottom: 0;
  gap: 12px;
  min-height: 80px;
  padding: 16px clamp(24px, 4vw, 56px);
}

.jcb-site-brand strong,
.jcb-site-footer-wordmark {
  color: #111;
  font-family: Figtree, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
}

.jcb-site-brand {
  padding: 0 !important;
}

.jcb-site-menu {
  gap: 2px;
  flex-wrap: nowrap;
}

.jcb-site-nav a {
  border-radius: 999px;
  color: #111;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 10px 11px;
}

.jcb-site-menu a:hover,
.jcb-site-menu a.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 1px #111;
}

.jcb-site-cta,
.jcb-site-menu-toggle {
  background: #111;
  border-color: #111;
  color: #fff !important;
}

.jcb-site-main {
  max-width: none;
  padding: 0;
  width: 100%;
}

.jcb-app {
  --jcb-ink: #111;
  --jcb-muted: #536179;
  --jcb-line: #dedad2;
  --jcb-panel: #fff;
  --jcb-primary: #111;
  --jcb-primary-dark: #111;
  --jcb-accent: #f2c230;
  --jcb-good: #11845b;
  --jcb-bad: #b61f2a;
  --jcb-bg: #fffdf8;
  gap: 0;
  margin: 0;
  max-width: none;
  min-height: calc(100vh - 108px);
  width: 100%;
}

.jcb-app::before {
  display: none;
}

.jcb-hero {
  background: #111;
  color: #fff;
  margin: 0;
  min-height: 360px;
  padding: clamp(72px, 10vw, 116px) clamp(24px, 5vw, 64px) clamp(54px, 7vw, 86px);
  position: relative;
}

.jcb-hero::after {
  background: #f2c230;
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
}

.jcb-kicker,
.jcb-section-title span,
.jcb-panel-heading span {
  color: #b61f2a;
  font-size: 0.84rem;
  font-weight: 900;
}

.jcb-hero .jcb-kicker {
  color: #f2c230;
}

.jcb-hero h2 {
  color: #fff;
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  max-width: 980px;
}

.jcb-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
  max-width: 660px;
}

.jcb-home-slider {
  display: block;
  min-height: clamp(620px, 72vh, 760px);
  overflow: hidden;
  padding: 0;
}

.jcb-home-slides {
  min-height: clamp(500px, 60vh, 620px);
  position: relative;
  z-index: 1;
}

.jcb-home-slide {
  align-items: center;
  display: flex;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  padding: clamp(42px, 8vw, 86px) clamp(24px, 7vw, 96px);
  pointer-events: none;
  position: absolute;
  transform: translateX(34px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.jcb-home-slide::after {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.78) 42%, rgba(17, 17, 17, 0.2) 76%, rgba(17, 17, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.34), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.jcb-home-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.jcb-home-slide-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.jcb-home-slide-copy h2,
.jcb-home-slide-copy p {
  margin: 0;
}

.jcb-home-slide-action {
  justify-self: start;
}

.jcb-home-slide-media {
  background: #f6f4ef;
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.jcb-home-slide-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.jcb-home-slider-controls {
  align-items: center;
  bottom: clamp(28px, 5vw, 46px);
  display: flex;
  gap: 18px;
  left: clamp(24px, 5vw, 64px);
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  z-index: 2;
}

.jcb-home-slider-dots {
  align-items: center;
  background: rgba(17, 17, 17, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 8px;
}

.jcb-home-slider-dots button {
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
  transition: background 180ms ease, color 180ms ease;
}

.jcb-home-slider-dots button.is-active,
.jcb-home-slider-dots button:hover {
  background: #f2c230;
  color: #111;
}

.jcb-home-slider-progress {
  background: rgba(255, 255, 255, 0.16);
  display: block;
  flex: 1;
  height: 5px;
  min-width: 120px;
  overflow: hidden;
}

.jcb-home-slider-progress i {
  background: #f2c230;
  display: block;
  height: 100%;
  width: 0%;
}

.jcb-hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: none;
}

.jcb-home-slider .jcb-hero-stat {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  top: clamp(34px, 6vw, 74px);
  z-index: 2;
}

.jcb-hero-stat strong {
  color: #f2c230;
}

.jcb-hero-stat span {
  color: rgba(255, 255, 255, 0.78);
}

.jcb-main-flow,
.jcb-history-wrap {
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  width: 100%;
}

.jcb-category-panel,
.jcb-detail-panel,
.jcb-booking-panel,
.jcb-history,
.jcb-gallery-card,
.jcb-space-summary,
.jcb-smart-panel,
.jcb-booking-summary,
.jcb-calendar,
.jcb-availability,
.jcb-message,
.jcb-login-note,
.jcb-empty,
.jcb-client-stats .jcb-admin-stat,
.jcb-lease-confirmation,
.jcb-submission-confirmation {
  backdrop-filter: none;
  background: #fff;
  border: 1px solid #dedad2;
  border-radius: 8px;
  box-shadow: none;
}

.jcb-category-panel,
.jcb-detail-panel {
  padding: clamp(18px, 3vw, 28px);
  scroll-margin-top: 126px;
}

.jcb-booking-panel,
.jcb-selected-space,
.jcb-space-grid {
  scroll-margin-top: 126px;
}

.jcb-section-title {
  margin-bottom: 18px;
}

.jcb-section-title strong,
.jcb-panel-heading strong {
  color: #111;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 950;
  line-height: 1;
}

.jcb-category-card,
.jcb-space-card {
  background: #fff;
  border: 1px solid #dedad2;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.jcb-category-card:hover,
.jcb-category-card.is-selected,
.jcb-space-card:hover,
.jcb-space-card.is-selected {
  border-color: #111;
  box-shadow: none;
  transform: translateY(-3px);
}

.jcb-category-card.is-selected,
.jcb-space-card.is-selected {
  outline: 3px solid rgba(242, 194, 48, 0.36);
}

.jcb-category-image,
.jcb-option-thumb,
.jcb-gallery-main {
  background: #f6f4ef;
}

.jcb-option-thumb {
  border-radius: 0;
}

.jcb-category-copy,
.jcb-space-card {
  gap: 12px;
}

.jcb-category-copy {
  padding: 18px;
}

.jcb-category-copy span,
.jcb-category-card > .jcb-category-copy span,
.jcb-card-topline span {
  color: #536179;
  font-size: 0.78rem;
  font-weight: 900;
}

.jcb-category-copy strong,
.jcb-category-card > .jcb-category-copy strong,
.jcb-space-card strong,
.jcb-space-summary h3 {
  color: #111;
  font-weight: 950;
}

.jcb-category-copy strong {
  font-size: 2rem;
}

.jcb-category-copy em,
.jcb-card-description,
.jcb-space-summary p {
  color: #536179;
}

.jcb-card-topline span,
.jcb-card-meta span,
.jcb-amenities span,
.jcb-status {
  background: #f6f4ef;
  border-radius: 999px;
  color: #111;
}

.jcb-card-topline span:first-child {
  background: #111;
  color: #fff;
}

.jcb-card-meta span:last-child,
.jcb-amenities span {
  background: rgba(242, 194, 48, 0.22);
  color: #111;
}

.jcb-gallery-card,
.jcb-space-summary {
  border-radius: 8px;
}

.jcb-gallery-main,
.jcb-gallery-thumbs button {
  border-radius: 4px;
}

.jcb-gallery-thumbs button:hover,
.jcb-gallery-thumbs button.is-active {
  border-color: #111;
}

.jcb-form-steps,
.jcb-price-estimate,
.jcb-consent,
.jcb-file-field,
.jcb-application-switch label > span {
  background: #fffdf8;
  border: 1px solid #dedad2;
  border-radius: 8px;
}

.jcb-progress-track span {
  background: #f2c230;
}

.jcb-form-steps button:hover,
.jcb-form-steps button.is-active,
.jcb-calendar button:hover,
.jcb-calendar button.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.jcb-form input,
.jcb-form select,
.jcb-form textarea {
  background: #fff;
  border-color: #dedad2;
  border-radius: 4px;
}

.jcb-form input:focus,
.jcb-form select:focus,
.jcb-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.30);
}

.jcb-submit {
  background: #f2c230;
  border: 1px solid #f2c230;
  border-radius: 4px;
  box-shadow: none;
  color: #111;
  font-weight: 900;
  min-height: 44px;
  padding: 0 18px;
}

.jcb-submit:hover {
  background: #111;
  border-color: #111;
  box-shadow: none;
  color: #fff;
  transform: translateY(-1px);
}

.jcb-secondary-button {
  background: #fff;
  border-color: #111;
  border-radius: 4px;
  color: #111;
  min-height: 44px;
}

.jcb-client-book-link {
  color: #111;
}

.jcb-site-footer {
  background: #111;
  color: #fff;
  font-family: Figtree, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jcb-site-footer-main {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, 1fr));
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(54px, 8vw, 80px) clamp(24px, 5vw, 64px);
}

.jcb-site-footer-wordmark {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: clamp(2rem, 3.6vw, 3rem);
  gap: 7px;
  line-height: 1;
  margin-bottom: 18px;
  text-decoration: none;
}

.jcb-site-footer-wordmark i {
  background: #f2c230;
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  margin-top: 14px;
  width: 10px;
}

.jcb-site-footer p,
.jcb-site-footer span,
.jcb-site-footer a {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.jcb-site-footer a {
  text-decoration: none;
}

.jcb-site-footer a:hover {
  color: #f2c230;
}

.jcb-site-footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.jcb-site-footer-column strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.jcb-site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto;
  max-width: 1280px;
  padding: 22px clamp(24px, 5vw, 64px);
}

@media (prefers-reduced-motion: reduce) {
  .jcb-app *,
  .jcb-app *::before,
  .jcb-app *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .jcb-hero,
  .jcb-selected-space {
    grid-template-columns: 1fr;
  }

  .jcb-home-slide {
    padding-bottom: 96px;
  }

  .jcb-home-slide-media {
    aspect-ratio: auto;
    max-height: none;
  }

  .jcb-category-grid,
  .jcb-space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jcb-site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jcb-requirement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jcb-site-nav {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .jcb-site-brand span {
    display: none;
  }

  .jcb-site-brand img {
    max-width: 118px;
  }

  .jcb-site-brand strong {
    font-size: 1.8rem;
  }

  .jcb-site-menu-toggle {
    display: grid;
  }

  .jcb-site-cta {
    display: none;
  }

  .jcb-site-menu {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 32, 39, 0.10);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(16, 32, 39, 0.12);
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 10px;
  }

  .jcb-site-menu.is-open {
    display: grid;
  }

  .jcb-site-menu a,
  .jcb-site-menu .jcb-site-nav-user {
    display: block;
    width: 100%;
  }

  .jcb-home-slider {
    min-height: 680px;
  }

  .jcb-home-slides {
    min-height: 500px;
  }

  .jcb-home-slider .jcb-hero-stat {
    display: none;
  }

  .jcb-home-slider-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .jcb-home-slider-dots {
    border-radius: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .jcb-home-slider-progress {
    flex: 0 0 5px;
    width: 100%;
  }

  .jcb-app::before {
    border-radius: 18px;
    inset: -12px;
  }

  .jcb-hero,
  .jcb-main-flow,
  .jcb-history-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .jcb-category-grid,
  .jcb-space-grid,
  .jcb-site-footer-main,
  .jcb-client-stats,
  .jcb-application-switch,
  .jcb-booking-summary-compact,
  .jcb-form-steps,
  .jcb-field-row,
  .jcb-history-item,
  .jcb-calendar-slots {
    grid-template-columns: 1fr;
  }

  .jcb-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .jcb-form-actions > * {
    width: 100%;
  }

  .jcb-calendar-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jcb-hero-stat {
    aspect-ratio: auto;
    justify-items: start;
    min-width: 0;
  }
}
