/* WorkFlow design system tokens applied over the Space, Station and Private pages.
   Source: workflow-design/colors_and_type.css. Linked last so it wins over the inline page styles. */
:root {
  --dark: #0e0c0c;
  --light: #fbfcf8;
  --border: #d4d3cc;
  --paper-border: #d4d3cc;
  --blue: #0f54ba;
  --blue2: #0f54ba;
  --wf-yellow: #ffde21;
  --wf-ease-out: cubic-bezier(.22, 1, .36, 1);
  /* Editorial content stays close to square. Pills are for buttons. */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
}
::selection { background: var(--wf-yellow); color: var(--dark); }

/* Pill buttons, house hover is an opacity drop, press is a small scale. */
.btn, .dl-btn, .app-main-btn, .tab-btn, .filter-chip, .cal-btn { border-radius: 9999px !important; }
.btn, .dl-btn, .app-main-btn, .tab-btn, .filter-chip { transition: opacity 160ms var(--wf-ease-out), transform 160ms var(--wf-ease-out); }
.btn:hover, .dl-btn:hover, .app-main-btn:hover, .tab-btn:hover, .filter-chip:hover { opacity: .7; }
.btn:active, .dl-btn:active, .tab-btn:active, .filter-chip:active { transform: scale(.98); }

/* Flat panels with a hairline border. */
.space-card, .mb-card, .mb-wide, .bz-card, .prc-card, .prc-plan, .prc-type, .branch-card, .location-banner, .office-card, .form-control { border-radius: 8px !important; }
.space-card, .office-card, .location-banner { box-shadow: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .btn, .dl-btn, .app-main-btn, .tab-btn, .filter-chip { transition: none; } }

/* Hero photos sit side by side. No photo covers another and none is cut. */
.hero-collage.wf-grid { display: grid !important; gap: 12px; height: auto !important; width: 100% !important; max-width: 592px !important; aspect-ratio: auto !important; align-self: center; position: static !important; margin: 0 auto; }
.hero-collage.wf-grid img { position: static !important; display: block; width: 100% !important; height: auto !important; border-radius: 8px !important; object-fit: cover; box-shadow: none !important; transform: none !important; margin: 0; }
.wf-grid .hc-main { grid-column: 1; grid-row: 1 / span 2; }
.wf-grid .hc-a { grid-column: 2; grid-row: 1; }
.wf-grid .hc-b { grid-column: 2; grid-row: 2; align-self: end; }
.wf-grid.wf-private { grid-template-columns: 399fr 169fr; }
.wf-grid.wf-private .hc-main { aspect-ratio: 3 / 2 !important; }
.wf-grid.wf-private .hc-a, .wf-grid.wf-private .hc-b { aspect-ratio: 4 / 3 !important; }
.wf-grid.wf-station { grid-template-columns: 8fr 9fr; max-width: 500px !important; }
.wf-grid.wf-station .hc-main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 3 / 2 !important; }
.wf-grid.wf-station .hc-a { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3 !important; }
.wf-grid.wf-station .hc-b { grid-column: 2; grid-row: 2; aspect-ratio: 3 / 2 !important; }
.wf-grid.wf-space { grid-template-columns: 1fr 1fr; max-width: 540px !important; }
.wf-grid.wf-space .hc-main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1272 / 768 !important; }
.wf-grid.wf-space .hc-a { grid-column: 1; grid-row: 2; aspect-ratio: 17 / 10 !important; }
.wf-grid.wf-space .hc-b { grid-column: 2; grid-row: 2; aspect-ratio: 17 / 10 !important; }
@media (min-width: 1025px) {
  .hero:has(.wf-grid) { height: auto !important; min-height: 0 !important; padding-bottom: 72px !important; }
  .hero:has(.wf-grid) .hero-grid { align-items: center; padding-top: 48px; }
  .hero-collage.wf-grid { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 1024px) { .hero-collage.wf-grid { order: 2; } }
.photo-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-mosaic .p-main { height: auto !important; aspect-ratio: 3 / 2; }
.photo-mosaic .p-sub { height: auto !important; aspect-ratio: 4 / 3; }
.space-card-img-wrap { height: auto !important; aspect-ratio: 4 / 3; }
/* All five space cards share one size. The last two sit centred. */
@media (min-width: 901px) {
  #spaces .spaces-grid:not(.stn-filtered) .space-card.col-2 { grid-column: span 2; }
  #spaces .spaces-grid:not(.stn-filtered) .space-card.col-2:nth-last-child(2) { grid-column: 2 / span 2; }
}
@media (min-width: 901px) { .spaces-grid.stn-solo .space-card.stn-match .space-card-img-wrap { aspect-ratio: auto; height: auto !important; } }
.location-thumb { width: 240px; height: 160px !important; flex: none; }
@media (max-width: 900px) { .location-thumb { width: 100%; height: auto !important; aspect-ratio: 3 / 2; } }
.product img.photo.wf-43, img.hero-photo.wf-43 { height: auto !important; aspect-ratio: 4 / 3 !important; }
#room-explorer .rx-stage { aspect-ratio: 4 / 3; }
/* Room detail: two columns on desktop, every photo reachable. */
#roomModal .modal-card { max-width: 980px; max-height: calc(100vh - 48px); overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.modal-gallery { padding: 16px; background: var(--light); min-width: 0; align-self: center; }
.modal-stage { position: relative; aspect-ratio: 4 / 3; background: var(--dark); border-radius: 4px; overflow: hidden; }
#modalImg { width: 100%; height: 100% !important; object-fit: contain; }
.modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(14, 12, 12, .7); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.modal-arrow.prev { left: 10px; }
.modal-arrow.next { right: 10px; }
.modal-count { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 9999px; background: rgba(14, 12, 12, .75); color: #fff; font-size: 12px; }
.modal-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 2px; overflow-x: auto; }
.modal-thumbs button { flex: 0 0 76px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; }
.modal-thumbs button[aria-current="true"] { border-color: var(--dark); }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-gallery.is-single .modal-arrow, .modal-gallery.is-single .modal-count, .modal-gallery.is-single .modal-thumbs { display: none; }
#roomModal .modal-features li[hidden] { display: none; }
@media (max-width: 860px) { #roomModal .modal-card { grid-template-columns: minmax(0, 1fr); } }


/* ---- FAQ: one presentation on every page ---- */
.faq, .faq-sec, .partner-faq { padding: 88px 0 !important; background: var(--light); }
.faq .kicker, .faq-sec .stx-eyebrow, .faq-sec .dl-note { display: none; }
.faq .section-head, .faq-sec .section-head, .partner-faq .section-head, .faq-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin: 0 !important; }
.faq h2, .faq-sec h2, .partner-faq h2 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: clamp(40px, 5vw, 64px) !important; line-height: .95 !important; margin: 0; }
.faq h2 img, .faq-sec h2 img, .partner-faq h2 img { height: .8em; width: auto; }
.faq .sub-eyebrow, .faq-sec .sub-eyebrow, .partner-faq .sub-eyebrow, .faq-sub { margin: 13px 0 0 !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.4 !important; color: #5e5c58 !important; }
.faq .faq-grid, .faq-sec .faq-wrap, .partner-faq .faq-list { display: block !important; max-width: none !important; margin: 40px 0 0 !important; padding: 0 !important; }
.faq .acc-item, .faq-sec .acc-item, .partner-faq .acc-item { margin: 0 0 12px !important; padding: 0 !important; background: #fff !important; border: 1px solid var(--border) !important; border-radius: 8px !important; box-shadow: none !important; }
.faq .acc-item.open, .faq-sec .acc-item.open, .partner-faq .acc-item.open { border-color: var(--dark) !important; }
.faq .acc-head, .faq-sec .acc-head, .partner-faq .acc-head { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 18px 22px !important; cursor: pointer; }
.faq .acc-head .t, .faq-sec .acc-head .t, .partner-faq .acc-head .t { flex: 1; margin: 0 !important; font-family: var(--font-body) !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4 !important; color: var(--dark) !important; }
.faq .acc-body, .faq-sec .acc-body, .partner-faq .acc-body { padding: 0 22px 20px !important; margin: 0 !important; font-size: 15px !important; line-height: 1.6 !important; color: #3e3c3a !important; }
.faq .acc-item:not(.open) .acc-body, .faq-sec .acc-item:not(.open) .acc-body, .partner-faq .acc-item:not(.open) .acc-body { display: none !important; }
.faq .acc-item.open .acc-body, .faq-sec .acc-item.open .acc-body, .partner-faq .acc-item.open .acc-body { display: block !important; max-height: none !important; opacity: 1 !important; }
.faq .chev, .faq-sec .chev, .partner-faq .chev { flex: none; width: 8px !important; height: 8px !important; margin: 0 4px 0 0; background: none !important; border: solid var(--dark) !important; border-width: 0 1.5px 1.5px 0 !important; transform: rotate(45deg) !important; }
.faq .open .chev, .faq-sec .open .chev, .partner-faq .open .chev { transform: rotate(-135deg) !important; }
.faq .chev::before, .faq .chev::after, .faq-sec .chev::before, .faq-sec .chev::after, .partner-faq .chev::before, .partner-faq .chev::after { content: none !important; }
.partner-faq .faq-list { counter-reset: wfq; }
.partner-faq .acc-head .t::before { counter-increment: wfq; content: counter(wfq) ". "; }
@media (max-width: 700px) { .faq, .faq-sec, .partner-faq { padding: 56px 0 !important; } .faq .acc-head, .faq-sec .acc-head, .partner-faq .acc-head { padding: 16px !important; } .faq .acc-body, .faq-sec .acc-body, .partner-faq .acc-body { padding: 0 16px 16px !important; } }

/* ---- Forms: the contact forms follow the tour form on the Private page ---- */
.wf-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 34px; align-self: start; }
@media (min-width: 1025px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 560px !important; gap: 48px; } }
.wf-form .form-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px !important; margin: 0 0 16px !important; position: relative; }
.wf-form .form-row.is-open, #tour-form .form-grid.is-open { z-index: 20; }
.wf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.wf-field label, #tour-form .form-group > label { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--dark); }
.wf-field label .req { color: #dc2626; }
.wf-form .form-control, #tour-form .form-control, .wf-form .custom-select-trigger, #tour-form .custom-select-trigger { box-sizing: border-box; width: 100% !important; min-height: 48px; border: 1px solid var(--border) !important; border-radius: 8px !important; background-color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--dark); }
.wf-form input.form-control, #tour-form input.form-control, .wf-form .custom-select-trigger, #tour-form .custom-select-trigger { height: 48px !important; padding: 0 16px !important; }
.wf-form input.form-control::placeholder, .wf-form textarea.form-control::placeholder { color: #8a8884; opacity: 1; }
.wf-form textarea.form-control { min-height: 112px; padding: 12px 16px; resize: vertical; }
.wf-form .form-control:focus, #tour-form .form-control:focus, .wf-form .custom-select-trigger.open { border-color: var(--dark) !important; outline: 2px solid var(--blue); outline-offset: 1px; }
.wf-form .form-submit, #tour-form #btnSubmit { display: flex !important; width: 100% !important; min-height: 48px; height: 48px !important; margin: 4px 0 0 !important; justify-content: center; align-items: center; font-size: 15px !important; }
.wf-form .select-wrap { position: static; }
.wf-form .select-wrap::after { content: none !important; }
.wf-form select[hidden] { display: none !important; }

/* Dropdown: the same parts as on the Private page. */
.wf-form .custom-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; user-select: none; }
.custom-select-trigger > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.wf-form .custom-select-trigger.is-empty > span { color: #8a8884; }
.wf-form .trigger-chevron { width: 14px; height: 14px; flex: none; color: #5e5c58; transition: transform .2s; }
.wf-form .custom-select-trigger.open .trigger-chevron { transform: rotate(180deg); }
.wf-form .custom-popover { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1000; padding: 8px; background: #fff; }
.wf-form .custom-popover.open { display: block; }
.custom-popover { border: 1px solid var(--border) !important; border-radius: 8px !important; box-shadow: 0 14px 38px rgba(14, 12, 12, .12) !important; }
.wf-form .popover-header { padding: 8px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5e5c58; }
.wf-form .popover-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.wf-form .popover-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 4px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--dark); cursor: pointer; }
.popover-item { border-radius: 4px !important; }
.wf-form .popover-item:hover, .wf-form .popover-item.selected { background: #f4f4f0; }
.wf-form .popover-item.selected { font-weight: 600; }
.wf-form .popover-item-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wf-form .popover-status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.wf-form .dot-green { background: #10b981; }
.wf-form .dot-yellow { background: #f59e0b; }
.wf-form .dot-blue { background: #3b82f6; }
.wf-form .dot-gray { background: #9ca3af; }
.wf-form .popover-check { width: 16px; height: 16px; flex: none; color: var(--blue); opacity: 0; }
.wf-form .popover-item.selected .popover-check { opacity: 1; }
#tour-form .form-grid { align-items: end; position: relative; }
@media (min-width: 1025px) { img.hero-photo.wf-43 { width: 600px; margin-top: 40px; } }
@media (min-width: 700px) { #tour-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
#tour-form .form-group { min-width: 0; }
@media (max-width: 600px) { .wf-form { padding: 20px; } }
/* ---- Partnership: smaller, finer components ---- */
@media (min-width: 1025px) {
  .page-partnership .display-96 { font-size: 60px !important; letter-spacing: -1.2px !important; line-height: .92 !important; }
  .page-partnership .display-76, .page-partnership .display-56, .page-partnership .partner-faq h2 { font-size: 48px !important; letter-spacing: -.6px !important; line-height: .96 !important; }
  .page-partnership h1 img, .page-partnership h2 img.title-icon, .page-partnership .partner h2 img, .page-partnership .contact h2 img { height: .72em !important; width: auto; margin-left: 10px; }
  .page-partnership section.product, .page-partnership section.features, .page-partnership section.module, .page-partnership section.tech, .page-partnership section.partner, .page-partnership section.opportunity, .page-partnership section.steps, .page-partnership section.contact, .page-partnership .st-loc-sec, .page-partnership .partner-faq { padding: 64px 0 !important; }
  .page-partnership .btn { min-height: 40px; height: auto; padding: 9px 20px; font-size: 14px; }
  .page-partnership .tag { height: 34px; font-size: 13px; border-radius: 9999px; }

  .page-partnership .hero { height: auto; padding: 86px 0 0; }
  .page-partnership .hero-grid { grid-template-columns: minmax(0, 1fr) 520px; column-gap: 56px; padding: 56px 0 64px; align-content: center; }
  .page-partnership img.hero-photo { width: 520px; margin: 0; align-self: center; }
  .page-partnership .hero p.desc { margin-top: 20px; font-size: 15px; max-width: 460px; }
  .page-partnership .hero .tag-row { margin-top: 20px; }
  .page-partnership .hero-cta { margin-top: 28px; }

  .page-partnership .value, .page-partnership .value-visual { height: 400px; }
  .page-partnership .value-grid { grid-template-columns: minmax(0, 1fr) 560px; }
  .page-partnership .value-left { padding-top: 64px; }
  .page-partnership .stats { gap: 44px; margin-top: 40px; }
  .page-partnership .stat .num { font-size: 24px; }
  .page-partnership .value .note { margin-top: 20px; }

  .page-partnership .product-body, .page-partnership .module-body { grid-template-columns: minmax(0, 360px) 500px; justify-content: space-between; margin-top: 32px; align-items: center; }
  .page-partnership .product-body .photo-wrap, .page-partnership .module-body .photo-wrap { width: 500px; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
  .page-partnership .product-body img.photo, .page-partnership .module-body img.photo { width: 100%; height: 100% !important; object-fit: contain; }
  .page-partnership .product-body .prod-desc { align-self: end; }
  .page-partnership .product-body .tag-col { align-self: start; margin-top: 24px; }
  .page-partnership .module .price { font-size: 24px; }

  .page-partnership .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
  .page-partnership .ft-card { height: auto; padding: 24px; text-align: left; border-radius: 8px; border-color: #3e3c3a; }
  .page-partnership .ft-card h5 { margin: 0; max-width: none; font-size: 18px; min-height: 40px; }
  .page-partnership .ft-card img { width: 40px; height: 40px; margin: 16px 0; }
  .page-partnership .ft-card p { margin: 0; max-width: none; font-size: 14px; line-height: 1.55; }
  .page-partnership .features .strip { margin-top: 24px; font-size: 14px; }

  .page-partnership .tech-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .page-partnership .tech-left { padding-bottom: 0; justify-content: flex-start; }
  .page-partnership .tech .acc-item { border-radius: 8px; margin-bottom: 8px; box-shadow: none; }
  .page-partnership .tech .acc-item.open { border-color: var(--dark); }
  .page-partnership .tech .acc-head { height: 48px; }
  .page-partnership .tech .acc-head img { width: 22px; height: 22px; }
  .page-partnership .tech .acc-head .t { font-size: 17px; }
  .page-partnership .tech .acc-head .t span { font-size: 13px; }
  .page-partnership .tech .acc-body { font-size: 14px; padding: 0 20px 16px 57px; }

  .page-partnership .pt-grid { grid-template-columns: repeat(2, 380px); gap: 16px; margin-top: 32px; }
  .page-partnership .pt-card { min-height: 0; padding: 24px; border-radius: 8px; }
  .page-partnership .pt-card h5 { font-size: 19px; letter-spacing: -.3px; min-height: 42px; }
  .page-partnership .pt-card .big { font-size: 44px; letter-spacing: -1.4px; margin-top: 12px; }
  .page-partnership .pt-card .big small { font-size: 18px; letter-spacing: -.3px; }
  .page-partnership .pt-card ul.perks { margin-top: 16px; }
  .page-partnership .pt-card ul.perks li { font-size: 15px; letter-spacing: 0; line-height: 1.7; }
  .page-partnership .pt-card ul.checks { margin-top: 14px; }
  .page-partnership .pt-card ul.checks li { font-size: 14px; line-height: 1.6; }
  .page-partnership .pt-card .btn { border-radius: 9999px; align-self: stretch; text-align: center; justify-content: center; }

  .page-partnership .op-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; margin-top: 32px; align-items: start; }
  .page-partnership .aud { gap: 24px 32px; }
  .page-partnership .aud .a h5 { font-size: 17px; }
  .page-partnership .aud .a p { font-size: 14px; margin-top: 6px; }
  .page-partnership .stats2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .page-partnership .st-card { height: auto; padding: 14px 16px; border-width: 1px; border-radius: 8px; }
  .page-partnership .st-card .lbl { font-size: 13px; }
  .page-partnership .st-card .num { font-size: 32px; letter-spacing: -1px; }

  .page-partnership .step-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
  .page-partnership .step-card { height: auto; padding: 20px; border-radius: 8px; border-color: var(--border); }
  .page-partnership .step-card .head { font-size: 19px; letter-spacing: -.3px; }
  .page-partnership .step-card .time { top: 20px; }
  .page-partnership .step-card ul { position: static; margin-top: 20px; }
  .page-partnership .step-card ul li { font-size: 14px; line-height: 1.7; }

  .page-partnership .contact h2 { line-height: .95; }
}

/* ---- Banners and large photos: show the whole picture, at a calmer size ---- */
/* The Private banner photo is 4:3, so it sits beside the heading instead of being stretched behind it. */
.page-private .banner { height: 440px !important; background: #0e0c0c url('private/parc-mall-room-11-view.png') right max(24px, calc((100vw - 1120px) / 2)) center / auto 360px no-repeat !important; }
.page-private .banner::before { content: none !important; }
.page-private .banner .container { align-items: center !important; padding-bottom: 0 !important; }
@media (max-width: 1024px) {
  .page-private .banner { height: auto !important; min-height: 0 !important; display: block !important; padding: 32px 0 calc((100vw - 32px) * .75 + 32px) !important; background-position: center bottom 16px !important; background-size: calc(100vw - 32px) auto !important; }
  .page-private .banner .container { padding: 0 20px !important; }
  .banner:not(.page-private .banner) { min-height: 0 !important; height: auto !important; aspect-ratio: 1920 / 683; }
}
@media (min-width: 1025px) {
  .page-space .product-body { grid-template-columns: 351px 546px !important; align-items: center; margin-top: 40px !important; }
  .page-space .product-body .photo-wrap { width: 546px !important; height: auto !important; aspect-ratio: 7 / 5; border-radius: 8px; overflow: hidden; }
  .page-space .branch-card { flex-basis: 480px !important; }
  .hero-collage.wf-grid.wf-space { max-width: 500px !important; }
}
.stx-thumb { width: 112px !important; height: 84px !important; }
.page-space .branch-card { height: auto !important; aspect-ratio: 3 / 2; }
.page-space .branch-card img[src$="branch-1.png"], .page-space .branch-card img[src$="branch-2.png"] { object-fit: contain !important; background: #e8e8e2; }

/* Phones: header fits, long dropdown values wrap, hero photos keep their shape. */
@media (max-width: 420px) {
  .nav-inner { gap: 6px !important; }
  .nav .nav-logo, .nav .nav-logo img { width: 112px !important; height: auto !important; }
}
@media (max-width: 699px) {
  #tour-form .custom-select-trigger { height: auto !important; padding-top: 8px; padding-bottom: 8px; }
  #tour-form .custom-select-trigger > span { white-space: normal; }
}

/* 3:2 photos keep their own frame */
/* A 4:3 and a 3:2 photo share a row at the same height when the columns are 8 to 9. */
.photo-mosaic:has(.p-sub[src$="fnb.jpg"]) { grid-template-columns: 8fr 9fr !important; }
.photo-mosaic:has(.p-sub[src$="fnb.jpg"]) .p-sub { height: auto !important; aspect-ratio: 4 / 3; }
.photo-mosaic .p-sub[src$="fnb.jpg"] { aspect-ratio: 3 / 2 !important; }
.space-card img[src$="space-coworking.jpg"] { object-fit: contain !important; background: #e8e8e2; }

/* Station list thumbnails follow the narrower grid on small screens */
@media (max-width: 1024px) { .stx-item .stx-thumb { width: 96px !important; height: 72px !important; } }
@media (max-width: 640px) { .stx-item .stx-thumb { width: 84px !important; height: 68px !important; } }
@media (max-width: 1024px) { #station-alt-module { height: auto !important; aspect-ratio: 7 / 4; } }
@media (max-width: 640px) { .app-visual img.av-top { height: auto !important; aspect-ratio: 4 / 3; } }

/* ---- One dropdown everywhere: forms, tour form and Station filters ---- */
/* The scroll reveal clips each row to its own box, which hid the open list. */
.wf-form .form-row, .wf-form [data-reveal], #tour-form .form-grid, #tour-form .form-group, #tour-form [data-reveal], .stx-toolbar, .stx-toolbar [data-reveal] { clip-path: none !important; }
.popover-status-dot { display: none !important; }
:is(.wf-form, #tour-form, .wf-drop) .custom-popover:not(.calendar-popover) { width: 100% !important; min-width: 100% !important; max-width: none !important; box-sizing: border-box; padding: 8px; background: #fff; }
:is(.wf-form, #tour-form, .wf-drop) .popover-header { padding: 8px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5e5c58; }
:is(.wf-form, #tour-form, .wf-drop) .popover-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
:is(.wf-form, #tour-form, .wf-drop) .popover-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; white-space: normal; cursor: pointer; color: var(--dark); }
:is(.wf-form, #tour-form, .wf-drop) .popover-item:hover, :is(.wf-form, #tour-form, .wf-drop) .popover-item.selected { background: #f4f4f0; }
:is(.wf-form, #tour-form, .wf-drop) .popover-item-left { display: block; min-width: 0; white-space: normal; overflow: visible; }
.pi-text { display: block; }
.pi-text b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pi-text small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; line-height: 1.35; color: #5e5c58; }
.pi-text small:empty { display: none; }
:is(.wf-form, #tour-form, .wf-drop) .popover-check { width: 16px; height: 16px; flex: none; color: var(--blue); opacity: 0; }
:is(.wf-form, #tour-form, .wf-drop) .popover-item.selected .popover-check { opacity: 1; }
#tour-form .custom-select-trigger > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stx-toolbar { position: relative; z-index: 1100; }
.stx-select.wf-drop { position: relative; min-width: 200px; }
.stx-select.wf-drop::after { content: none !important; }
.wf-drop select[hidden] { display: none !important; }
.wf-drop .custom-select-trigger { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.wf-drop .custom-select-trigger.open { border-color: var(--dark); outline: 2px solid var(--blue); outline-offset: 1px; }
.wf-drop .trigger-chevron { width: 14px; height: 14px; flex: none; color: #5e5c58; transition: transform .2s; }
.wf-drop .custom-select-trigger.open .trigger-chevron { transform: rotate(180deg); }
.wf-drop .custom-popover { display: none; position: absolute; top: calc(100% + 6px); right: 0; left: auto; z-index: 1200; }
.wf-drop .custom-popover.open { display: block; }
.stx-toolbar .stx-search input, .stx-toolbar .stx-search { height: 48px; box-sizing: border-box; }
@media (max-width: 640px) { .stx-select.wf-drop { min-width: 0; } .stx-select.wf-drop:first-of-type .custom-popover { left: 0; right: auto; } :is(.wf-drop) .custom-popover { width: 240px !important; min-width: 100% !important; } }

/* Choice chips look the same on every page: one pill per name, wrapping as whole chips */
@media (min-width: 701px) {
  :is(.product-body, .module-body) .tag-col { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px; }
  :is(.product-body, .module-body) .tag-row { display: contents !important; }
  :is(.product-body, .module-body) .tag-col .tag { flex: none; white-space: nowrap; height: 38px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--border); }
  :is(.product-body, .module-body) .tag-col .tag-active { border-color: var(--dark); }
  /* The four member benefits share one size */
  .page-space .bn-chips { display: grid !important; grid-template-columns: repeat(2, minmax(0, 232px)); gap: 16px !important; justify-content: center; align-content: center; }
  .page-space .bn-chips .bn-chip { width: auto !important; margin: 0 !important; box-sizing: border-box; }
}

/* Filter lists stay readable when their trigger is half of a phone screen */
.stx-select.wf-drop .custom-popover { min-width: min(240px, calc(100vw - 32px)); }
.stx-toolbar .stx-select.wf-drop:last-child .custom-popover { left: auto; right: 0; }
/* Blue text is unreadable on Oil Black, so the dark plan card shows its price in brand yellow */
.page-space .bz-card.dark .price .p { color: #FFDE21 !important; }

/* ============ One type and component system, taken from the Private room view ============
   Imbue regular for titles, Libre Franklin for everything else, hairline borders, small pills. */
:root { --font-ui: var(--font-body); --wf-muted: #5e5c58; }
body :is(h1, h2):not(.rx-h) { font-family: var(--font-display) !important; font-weight: 400 !important; letter-spacing: -.01em !important; }
body h1, body .contact h2, body #app-title { font-size: 72px !important; line-height: .98 !important; }
body h2:not(.rx-h):not(#app-title):not(.contact h2) { font-size: 48px !important; line-height: 1.02 !important; }
body :is(.service-card h3, .spx-card h3, h3.stn-model-h, .prc-plan h3, .stn-side-body h4) { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 40px !important; line-height: 1 !important; letter-spacing: -.01em !important; }
body :is(.location-meta h3, .amenity-box-header h3, .beyond-card h3, h4.visual-card-title, .space-card-body h4, .prc-table-head h4, .step-card .head) { font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 18px !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
body :is(p.eyebrow, p.sub-eyebrow, p.stx-eyebrow, p.wf-eyebrow, p.hero-kicker, .service-card p.sub, p.faq-sub) { font-family: var(--font-body) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: .02em !important; }
body :is(.hero p.desc, p.hero-desc, p.prod-desc, .service-card p.desc, .banner p.desc, p.lead, .bz-card p.desc, .branch-card p, .acc-body p, p.spx-sub, p.app-sub, p.stn-model-p, .ft-card p, .beyond-card p, .module-left > p:not(.price):not(.area), .location-address, .amenity-box-header p, p.stn-ask) { font-family: var(--font-body) !important; font-size: 14.5px !important; font-weight: 400 !important; line-height: 1.65 !important; letter-spacing: 0 !important; }
body .acc-head .t { font-family: var(--font-body) !important; font-size: 15px !important; font-weight: 600 !important; }

/* Prices read the same way everywhere. */
body :is(.pk p.price, .mb-card .headline, .mb-wide .headline, .bz-card p.price, .module-left p.price) { font-family: var(--font-body) !important; font-weight: 700 !important; font-size: 24px !important; letter-spacing: -.01em !important; }
body :is(.pt-card p.big, .st-card p.num) { font-weight: 700 !important; }
body .st-card p.num { font-size: 26px !important; }

/* Buttons and choice chips: one font, one size. */
body :is(.btn, .dl-btn) { font-family: var(--font-body) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; height: 40px !important; min-height: 40px; }
body :is(.nav .btn, .nav-links .btn) { height: 36px !important; min-height: 36px; }
body :is(.wf-form .btn, #tour-form .btn, button[type="submit"].btn, #btnSubmit) { height: 46px !important; }
body .tag { font-family: var(--font-body) !important; font-size: 12.5px !important; font-weight: 600 !important; height: 34px !important; border-width: 1px !important; }
body :is(.product-body, .module-body) .tag-col .tag { height: 34px; }

/* Panels: hairline, square corners, no drop shadow. */
body :is(.mb-card, .mb-wide, .bz-card, .beyond-card, .form-card, .visual-card, .app-cta-card, .stx-map-wrap, .prc-card, .space-card, .spx-card, .ft-card, .st-card, .step-card, .pt-card) { border-radius: 8px !important; box-shadow: none !important; }
body :is(.mb-card, .mb-wide, .bz-card) { border-width: 1px !important; }

@media (max-width: 1024px) {
  body h1, body .contact h2, body #app-title { font-size: 56px !important; }
  body h2:not(.rx-h):not(#app-title):not(.contact h2) { font-size: 40px !important; }
}
@media (max-width: 700px) {
  body h1, body .contact h2, body #app-title { font-size: 44px !important; }
  body h2:not(.rx-h):not(#app-title):not(.contact h2) { font-size: 32px !important; }
  body :is(.service-card h3, .spx-card h3, h3.stn-model-h, .prc-plan h3, .stn-side-body h4) { font-size: 30px !important; }
  body :is(.location-meta h3, .amenity-box-header h3, .beyond-card h3, h4.visual-card-title, .space-card-body h4, .prc-table-head h4, .step-card .head) { font-size: 16px !important; }
  body :is(.hero p.desc, p.hero-desc, p.prod-desc, .service-card p.desc, .banner p.desc, p.lead, .bz-card p.desc, .branch-card p, .acc-body p, p.spx-sub, p.app-sub, p.stn-model-p, .ft-card p, .beyond-card p) { font-size: 13.5px !important; }
}
/* Title logos follow the new title sizes. */
body :is(h1, h2) img[src$="icon-logo.png"] { height: .68em !important; width: auto !important; }
/* My Office shows two prices side by side, so they take the smaller price size. */
body .mb-card .mb-office-prices .headline { font-size: 18px !important; }
/* Large titles shrink with the window, so long names never leave their column. */
@media (min-width: 1025px) { body h1, body .contact h2, body #app-title { font-size: min(64px, 4.3vw) !important; } }
@media (min-width: 1025px) and (max-width: 1380px) {
  body :is(.mb-card .headline, .mb-wide .headline) { font-size: 19px !important; }
  body .mb-card .mb-office-prices .headline { font-size: 15px !important; }
}
@media (max-width: 700px) {
  body h1, body .contact h2, body #app-title { font-size: min(44px, 10vw) !important; }
  body :is(.mb-card .headline, .mb-wide .headline, .bz-card p.price) { font-size: 17px !important; }
  body .mb-card .mb-office-prices .headline { font-size: 13px !important; }
}
body h1 { white-space: normal !important; }
@media (max-width: 700px) { body .mb-card .mb-unlimited-price, body .mb-card [id="mb-unlimited-price"] { font-size: 15px !important; } }

/* narrow desktop: keep the logo clear of the nav links */
@media (min-width:1025px) and (max-width:1280px){
  .nav-inner{padding-left:32px !important;padding-right:32px !important;gap:32px}
  .nav-links{gap:26px !important;margin-left:auto}
}
/* membership cards: height follows content */
.page-space .mb-card{min-height:0 !important;height:auto !important;padding-bottom:28px !important}

/* phones: compact nav button so the menu icon stays on screen, EN and VI */
@media (max-width:700px){
  body .nav .nav-links .btn{font-size:11.5px !important;height:32px !important;min-height:32px;padding:0 11px !important;white-space:nowrap}
  .nav .nav-inner{padding-left:16px !important;padding-right:16px !important}
  .nav .nav-logo,.nav .nav-logo img{width:96px !important}
}

/* one menu breakpoint on every page: full links from 1025px */
@media (min-width:1025px) and (max-width:1280px){
  .nav .nav-links a:not(.btn){display:inline-block !important}
  .nav .nav-toggle{display:none !important}
}
