/* First contact + onboarding, app style (loads after broder_agents.css for tokens). */
.bs-body { background: var(--bc-bg); }
.bs-signout { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 16px; z-index: 40; }
.bs-body--authenticated .bs-head { padding-right: 100px; }
.bs-app { height: 100dvh; }
.bs-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bc-canvas);
  transition: transform 460ms var(--bc-ease), opacity 320ms ease, visibility 0s linear 460ms;
}
.bs-screen[data-state='before'] { transform: translateX(-22%); opacity: 0; visibility: hidden; }
.bs-screen[data-state='after'] { transform: translateX(100%); visibility: hidden; }
.bs-screen[data-state='active'] { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.bs-screen:not([data-state]) { visibility: hidden; }

.bs-head { flex: none; display: flex; align-items: center; min-height: 64px; padding: calc(12px + var(--bc-safe-top)) 20px 0; }
.bs-content { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 18px 24px 16px; }
.bs-title { margin: 6px 0 0; font: 500 32px/1.1 var(--bc-display); letter-spacing: -0.02em; }
.bs-title--center, .bs-copy--center { text-align: center; }
.bs-copy { margin: 10px 0 22px; color: var(--bc-ink-2); font-size: 16px; line-height: 1.5; }
.bs-label { display: block; margin: 16px 0 8px; font-size: 13.5px; font-weight: 600; color: var(--bc-ink-2); }
.bs-input {
  display: block; width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 18px; outline: 0;
  background: var(--bc-inset); color: var(--bc-ink); font-size: 17px; box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow 160ms ease, background-color 160ms ease;
}
.bs-input::placeholder { color: var(--bc-ink-3); }
.bs-input:focus { background: var(--bc-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc-accent) 70%, transparent), 0 0 0 2px color-mix(in srgb, var(--bc-accent) 10%, transparent); }
.bs-input[hidden] { display: none; }
.bs-error { margin: 12px 2px 0; color: var(--bc-red); font-size: 14px; line-height: 1.4; }
.bs-error:not([hidden]) { animation: bs-error-enter 220ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes bs-error-enter {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.bs-phone-field { position: relative; }
.bs-phone-field > span { position: absolute; z-index: 1; left: 17px; top: 50%; transform: translateY(-50%); color: var(--bc-ink-2); pointer-events: none; }
.bs-phone-field .bs-input { padding-left: 32px; }
.bs-note { margin: 18px 4px 0; color: var(--bc-ink-3); font-size: 13.5px; line-height: 1.5; text-align: center; }
.bs-foot { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 24px calc(18px + var(--bc-safe-bottom)); background: linear-gradient(transparent, var(--bc-canvas) 30%); }
.bs-link { padding: 8px 12px; border: 0; background: transparent; color: var(--bc-ink-2); font: 600 14.5px var(--bc-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bs-link:hover { color: var(--bc-ink); }
.bs-link[hidden] { display: none; }

/* Intro */
.bs-screen--intro { background: #141416; color: #fff; overflow: hidden; }
.bs-hero { position: relative; flex: 1 1 56%; min-height: 0; }
.bs-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bs-hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 20 22 / 10%) 0%, rgb(20 20 22 / 0%) 35%, #141416 100%); }
.bs-lang { position: absolute; top: calc(12px + var(--bc-safe-top)); right: 16px; z-index: 2; }
.bs-lang .broder-language-selector { margin: 0; }
.bs-lang select { height: 36px; padding: 0 28px 0 12px; border: 0; border-radius: 999px; background-color: rgb(20 20 22 / 55%); color: #fff; font-size: 13px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
/* Own chevron: the native arrow ignores the padding and sits on the pill's rounded edge. */
body .bs-lang .broder-language-selector > select.form-select {
  appearance: none; -webkit-appearance: none; padding: 0 34px 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 14px 14px !important;
}
.bs-lang .visually-hidden, .bs-lang .broder-language-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bs-intro-copy { flex: none; padding: 0 28px; text-align: center; }
.bs-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 500 22px var(--bc-display); }
.bs-brand b { font-weight: 500; }
.bs-intro-copy h1 { margin: 0; font: 500 33px/1.1 var(--bc-display); letter-spacing: -0.02em; text-wrap: balance; }
.bs-intro-copy p { margin: 12px auto 0; max-width: 30ch; color: rgb(255 255 255 / 72%); font-size: 15.5px; line-height: 1.45; }
.bs-intro-actions { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 24px calc(16px + var(--bc-safe-bottom)); }
.bs-btn-glass { background: rgb(255 255 255 / 14%); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bs-btn-glass:hover { background: rgb(255 255 255 / 22%); }
.bs-intro-actions .bs-link { color: rgb(255 255 255 / 70%); }
.bs-intro-actions .bs-link:hover { color: #fff; }

/* Students */
.bs-add { display: flex; gap: 10px; }
.bs-add .bs-input { flex: 1; min-width: 0; }
.bs-add .bc-btn { height: 56px; min-height: 56px; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.bs-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--bc-inset); font-size: 15px; animation: bc-pop-in 260ms var(--bc-ease) both; }
.bs-chip button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; border-radius: 999px; background: var(--bc-hover-2); color: var(--bc-ink-2); font-size: 16px; line-height: 1; cursor: pointer; }

/* Tiles and cards */
.bs-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bs-tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 0; border-radius: 18px; background: var(--bc-inset); color: var(--bc-ink); font: 600 14.5px/1.2 var(--bc-font); text-align: left; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.bs-tile:active { transform: scale(0.97); }
.bs-tile span { min-width: 0; overflow-wrap: anywhere; }
.bs-tile .broder-icon { flex: none; width: 24px; height: 24px; color: var(--bc-ink-2); transition: color 160ms ease, transform 260ms var(--bc-ease); }
.bs-tile.is-on { background: color-mix(in srgb, var(--bc-accent) 22%, var(--bc-surface)); box-shadow: inset 0 0 0 2px var(--bc-accent); }
.bs-tile.is-on .broder-icon { color: var(--bc-ink); transform: scale(1.1); }
.bs-other { margin-top: 22px; animation: bc-fade-up 260ms var(--bc-ease) both; }
.bs-cards { display: flex; flex-direction: column; gap: 10px; }
.bs-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 0; border-radius: 22px; background: var(--bc-inset); color: var(--bc-ink); text-align: left; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; }
.bs-card.is-on { background: color-mix(in srgb, var(--bc-accent) 22%, var(--bc-surface)); box-shadow: inset 0 0 0 2px var(--bc-accent); }
.bs-card-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 16px; background: var(--bc-surface); box-shadow: var(--bc-shadow-btn); }
.bs-card-icon .broder-icon { width: 22px; height: 22px; }
.bs-card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.bs-card-copy strong { font-size: 16px; font-weight: 650; }
.bs-card-copy small { color: var(--bc-ink-2); font-size: 13.5px; }
.bs-check { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: transparent; color: transparent; box-shadow: inset 0 0 0 1.5px var(--bc-line-strong); transition: background-color 160ms ease, color 160ms ease; }
.bs-card.is-on .bs-check, .bs-agent.is-on .bs-check { background: var(--bc-ink); color: var(--bc-canvas); box-shadow: none; }

/* Team */
.bs-team { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bs-agent { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 22px; background: var(--bc-inset); animation: bc-fade-up 520ms var(--bc-ease) both; animation-delay: calc(var(--bc-i, 0) * 70ms + 160ms); }
.bs-agent.is-on { background: color-mix(in srgb, var(--bc-accent) 16%, var(--bc-surface)); }
.bs-agent .bc-mascot { margin-bottom: 8px; }
.bs-agent .bs-check { position: absolute; top: 12px; right: 12px; }
.bs-agent.is-on .bs-check { animation: bc-pop-in 420ms var(--bc-ease) both; animation-delay: calc(var(--bc-i, 0) * 70ms + 520ms); }
.bs-agent strong { font-size: 16px; font-weight: 650; }
.bs-agent small { color: var(--bc-ink-2); font-size: 13px; line-height: 1.35; }

/* Review */
.bs-screen[data-screen='review'] .bs-content { display: flex; flex-direction: column; justify-content: center; padding-bottom: 8px; }
.bs-screen[data-screen='review'][data-state='active'] [data-review-reveal] {
  animation: bs-review-reveal 280ms cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: calc(var(--reveal-order) * 65ms);
}
@keyframes bs-review-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bs-orbit-stage { position: relative; flex: none; --orbit-size: clamp(46px, 14vw, 62px); padding-block: calc(var(--orbit-size) + 14px); }
.bs-orbit-stage .bs-title { margin: 0; }
.bs-orbit { position: absolute; inset: 0; pointer-events: none; }
.bs-orbit-item { position: absolute; top: 50%; left: 50%; width: var(--orbit-size); height: var(--orbit-size); margin: calc(var(--orbit-size) / -2) 0 0 calc(var(--orbit-size) / -2); }
.bs-orbit .bc-mascot { --bc-size: var(--orbit-size) !important; opacity: 0; will-change: transform, opacity; }
/* While the team runs round the headline the rest of the review waits; it then appears as it always did. */
.bs-screen[data-screen='review'] .bs-content[data-orbit='running'] [data-review-reveal]:not([data-review-title]), .bs-screen[data-screen='review'] .bs-content[data-orbit='running'] .bs-summary { opacity: 0; animation: none; }
.bs-summary { margin: 8px 0 0; border-radius: 22px; background: var(--bc-inset); overflow: hidden; }
.bs-summary > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px 18px; }
.bs-summary > div + div { border-top: 1px solid var(--bc-line); }
.bs-summary dt { color: var(--bc-ink-3); font-size: 14px; }
.bs-summary dd { margin: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.bs-roster { display: flex; flex-wrap: wrap; gap: 6px; max-height: 176px; margin: 8px 0 0; padding: 0; overflow-y: auto; list-style: none; }
.bs-roster:empty { display: none; }
.bs-roster li { padding: 4px 11px; border-radius: 999px; background: var(--bc-surface); box-shadow: var(--bc-shadow-btn); font-size: 14px; font-weight: 500; }
.bs-confetti { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.bs-confetti i { position: absolute; top: -16px; left: var(--x); display: block; border-radius: 2px; opacity: 0; animation: bs-confetti var(--fall) cubic-bezier(0.25, 0.6, 0.4, 1) var(--delay) both; }
@keyframes bs-confetti {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 105dvh, 0) rotate(var(--spin)); }
}

/* Sheets */
.bs-sheet .bs-pane { display: flex; flex-direction: column; gap: 10px; }
.bs-sheet .bs-pane[hidden] { display: none; }
.bs-sheet h2 { margin: 6px 0 0; font: 500 26px/1.1 var(--bc-display); letter-spacing: -0.015em; }
.bs-sheet-copy { margin: 0 0 6px; color: var(--bc-ink-2); font-size: 15.5px; line-height: 1.45; }
.bs-sheet-hint { margin: -4px 2px 0; color: var(--bc-ink-3); font-size: 13px; line-height: 1.45; }
.bs-provider { gap: 10px; font-size: 16px; }
.bs-provider img, .bs-provider .broder-icon { width: 20px; height: 20px; }
.bs-google-form { margin: 0; }
.bs-or { display: flex; align-items: center; gap: 12px; color: var(--bc-ink-3); font-size: 13px; }
.bs-or::before, .bs-or::after { content: ''; flex: 1; height: 1px; background: var(--bc-line); }
.bs-legal { margin: 4px 0 0; color: var(--bc-ink-3); font-size: 12.5px; line-height: 1.5; text-align: center; }
.bs-legal a { color: var(--bc-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.bs-login-form { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bs-login-form .bs-input { height: 52px; }
.bs-login-form .bc-btn { margin-top: 10px; }
.bs-sheet .bs-input { height: 52px; font-size: 16px; }
.bs-sheet .bs-label { margin: 6px 0 4px; }
.bs-sheet .bs-link { align-self: center; }

@media (prefers-reduced-motion: reduce) {
  .bs-screen { transition: none; }
  .bs-error:not([hidden]) { animation: none; }
  .bs-screen[data-screen='review'][data-state='active'] [data-review-reveal] { animation: none; }
  .bs-agent, .bs-chip, .bs-other { animation: none; }
  .bs-confetti { display: none; }
}
@media (max-height: 640px) { .bs-title { font-size: 28px; } .bs-orbit-stage { --orbit-size: 40px; padding-block: 52px; } }
.bs-lang--inline { position: static; margin-left: auto; }
.bs-lang--inline select { background-color: var(--bc-inset); color: var(--bc-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* The flow never scrolls sideways; long words wrap instead. */
.bs-body { overflow-x: clip; }
.bs-app, .bs-screen, .bs-content { max-width: 100%; overflow-x: clip; }

/* Desktop: the photo and the team stay on the left, one question at a time on the right. */
.bs-aside { display: none; }
@media (min-width: 900px) {
  .bs-body { display: grid; place-items: center; min-height: 100dvh; padding: 32px; }
  .bs-app { max-width: 1080px; height: min(780px, calc(100dvh - 64px)); min-height: 560px; border-radius: 32px; box-shadow: var(--bc-shadow-overlay); overflow: hidden; }
  .bs-aside { position: absolute; inset: 0 auto 0 0; z-index: 1; display: block; width: 42%; overflow: hidden; background: #141416; color: #fff; }
  .bs-aside { background: radial-gradient(120% 80% at 20% 0%, #2a2d33 0%, #141416 70%); }
  .bs-aside .bs-hero-photo { object-position: 50% 45%; }
  /* The panel follows <body data-ui-theme>: neutral is a clean surface, sol the footvolley photo, the rest their art. */
  .bs-aside .bs-aside-photo, .bs-aside .bs-aside-art { display: none; }
  body[data-ui-theme='sol'] .bs-aside .bs-aside-photo { display: block; }
  .bs-aside .bs-aside-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
  body[data-ui-theme='ocean'] .bs-aside .bs-aside-art[data-aside-art='ocean'] { display: block; }
  body[data-ui-theme='sunset'] .bs-aside .bs-aside-art[data-aside-art='sunset'] { display: block; }
  body[data-ui-theme='teal'] .bs-aside .bs-aside-art[data-aside-art='teal'] { display: block; }
  body[data-ui-theme='beach_tennis'] .bs-aside .bs-aside-art[data-aside-art='beach_tennis'] { display: block; }
  body[data-ui-theme='surf'] .bs-aside .bs-aside-art[data-aside-art='surf'] { display: block; }
  body[data-ui-theme='personal'] .bs-aside .bs-aside-art[data-aside-art='personal'] { display: block; }
  body[data-ui-theme='nutri'] .bs-aside .bs-aside-art[data-aside-art='nutri'] { display: block; }
  body[data-ui-theme='manicure'] .bs-aside .bs-aside-art[data-aside-art='manicure'] { display: block; }
  body[data-ui-theme='yoga'] .bs-aside .bs-aside-art[data-aside-art='yoga'] { display: block; }
  .bs-aside .bs-hero-fade { background: linear-gradient(180deg, rgb(20 20 22 / 25%) 0%, rgb(20 20 22 / 20%) 35%, rgb(20 20 22 / 92%) 100%); }
  .bs-aside-copy { position: absolute; inset: auto 36px 40px; }
  .bs-aside-copy p { margin: 12px 0 0; max-width: 20ch; font: 500 28px/1.15 var(--bc-display); letter-spacing: -0.02em; text-wrap: balance; }
  .bs-screen { inset: 0 0 0 42%; }
  .bs-screen--intro { background: var(--bc-canvas); color: var(--bc-ink); justify-content: center; }
  .bs-screen--intro .bs-hero { display: none; }
  .bs-screen--intro .bs-brand { display: none; }
  .bs-screen--intro .bs-intro-copy { padding: 0 48px; text-align: left; }
  .bs-screen--intro .bs-intro-copy h1 { font-size: 40px; }
  .bs-screen--intro .bs-intro-copy p { margin-left: 0; max-width: 34ch; color: var(--bc-ink-2); font-size: 17px; }
  .bs-screen--intro .bs-intro-actions { align-items: stretch; padding: 28px 48px 0; }
  .bs-screen--intro .bs-btn-glass { background: var(--bc-inset); color: var(--bc-ink); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bs-screen--intro .bs-btn-glass:hover { background: var(--bc-hover-2); }
  .bs-screen--intro .bs-intro-actions .bs-link { color: var(--bc-ink-2); align-self: center; }
  .bs-lang { top: 20px; right: 24px; }
  .bs-lang select { background-color: var(--bc-inset); color: var(--bc-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bs-head { padding-inline: 32px; padding-top: 24px; }
  .bs-content { padding: 18px 48px 16px; }
  .bs-foot { padding: 12px 48px 32px; }
  .bs-title { font-size: 36px; }
}

/* ── Student flow ───────────────────────────────────────────────────────── */
.bs-welcome-mark {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 8px;
  background: linear-gradient(145deg, #383838, #080808 78%); border-radius: 50%; color: white;
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 24%);
}
.bs-welcome-mark svg { width: 70%; }
@media (prefers-reduced-motion: no-preference) {
  .bs-screen[data-state="active"] .bs-welcome-mark svg { animation: bs-cap-greeting 620ms ease-out both; }
  @keyframes bs-cap-greeting {
    from { opacity: 0; transform: translateY(3px) rotate(-12deg) scale(.88); }
    65% { transform: rotate(4deg) scale(1.02); }
    to { opacity: 1; transform: none; }
  }
}
.bs-content--center { display: flex; flex-direction: column; align-items: center; }
.bs-mascot-hero { display: inline-flex; margin: 8px 0 6px; animation: bc-pop-in 520ms var(--bc-ease) both; }
.bs-mascot-hero--review { display: flex; justify-content: center; margin: 12px 0 4px; }
[data-group-picked] .bs-sheet-hint, [data-group-search] .bs-sheet-hint { margin-top: 10px; }
.bs-promises { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.bs-promises li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--bc-inset); font-size: 15px; line-height: 1.35; animation: bc-fade-up 420ms var(--bc-ease) both; }
.bs-promises li:nth-child(2) { animation-delay: 80ms; }
.bs-promises li:nth-child(3) { animation-delay: 160ms; }
.bs-promises .bs-check { background: var(--bc-accent); color: var(--bc-ink); box-shadow: none; }

.bs-rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bs-rhythm-option { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 104px; padding: 12px 6px; border: 0; border-radius: 22px; background: var(--bc-inset); color: var(--bc-ink); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.bs-rhythm-option strong { font: 500 34px/1 var(--bc-display); }
.bs-rhythm-option small { color: var(--bc-ink-2); font-size: 12.5px; text-align: center; }
.bs-rhythm-option:active { transform: scale(0.97); }
.bs-rhythm-option.is-on { background: color-mix(in srgb, var(--bc-accent) 22%, var(--bc-surface)); box-shadow: inset 0 0 0 2px var(--bc-accent); }

.bs-tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bs-tiles--three .bs-tile { flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
.bs-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bs-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 999px; background: var(--bc-inset); color: var(--bc-ink); font: 600 15px var(--bc-font); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; }
.bs-day.is-on, .bs-tile[aria-pressed="true"] { background: color-mix(in srgb, var(--bc-accent) 22%, var(--bc-surface)); box-shadow: inset 0 0 0 2px var(--bc-accent); }

.bs-groups { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.bs-group-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name pick" "meta pick"; align-items: center; column-gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--bc-inset); color: var(--bc-ink); text-align: left; cursor: pointer; animation: bc-fade-up 260ms var(--bc-ease) both; }
.bs-group-result strong { grid-area: name; font-size: 15.5px; overflow-wrap: anywhere; }
.bs-group-result small { grid-area: meta; color: var(--bc-ink-2); font-size: 13px; overflow-wrap: anywhere; }
.bs-group-pick { grid-area: pick; padding: 7px 12px; border-radius: 999px; background: var(--bc-surface); box-shadow: var(--bc-shadow-btn); font-size: 13.5px; font-weight: 600; }
.bs-group-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: color-mix(in srgb, var(--bc-accent) 18%, var(--bc-surface)); box-shadow: inset 0 0 0 2px var(--bc-accent); animation: bc-pop-in 320ms var(--bc-ease) both; }
.bs-group-card .bs-card-copy { flex: 1; min-width: 0; }
.bs-group-card .bs-card-copy strong, .bs-group-card .bs-card-copy small { overflow-wrap: anywhere; }

/* Activity screen: a small two-colour dot previews the theme the activity picks. */
.bs-swatch { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14); }
.bs-tile.is-on .bs-swatch { transform: scale(1.1); transition: transform 260ms var(--bc-ease); }

/* Landing logo (BroderLogoHelper) in the /start brand lockups. */
.bs-brand .broder-logo-mark { height: 32px; width: auto; }
.bs-brand .broder-logo-word { height: 17px; width: auto; }
.bs-brand { display: inline-flex; align-items: center; gap: 8px; }

/* Language pill: our own chevron, as far from the right edge as the text is from the left. */
.bs-lang .broder-language-selector { position: relative; }
.bs-lang .broder-language-selector::after { position: absolute; top: 13px; right: 17px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; content: ''; opacity: .65; pointer-events: none; transform: rotate(45deg); }
body .bs-lang .broder-language-selector > select.form-select.form-select { padding: 0 40px 0 16px !important; background-image: none !important; }

/* "i" notes beside the address label */
.bs-label-row { position: relative; display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
.bs-label-row .bs-label { margin: 0; }
.bs-info summary { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--bc-line-strong); border-radius: 999px; color: var(--bc-ink-2); font: italic 600 12px/1 Georgia, serif; list-style: none; cursor: pointer; }
.bs-info summary::-webkit-details-marker { display: none; }
.bs-info__panel { position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 0; width: min(340px, 100%); box-sizing: border-box; padding: 14px 16px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 18px; background: rgb(28 29 32 / 92%); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 70%); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: #f2f1ef; font-size: 13px; line-height: 1.5; text-align: left; }
.bs-info__panel p { margin: 0; }
.bs-info__panel p + p { margin-top: 10px; color: rgb(242 241 239 / 70%); }

/* The address was just filled for you */
.bs-input.is-filled { animation: bs-filled 1.3s ease-out 1; }
@keyframes bs-filled { 0%, 100% { outline: 2px solid transparent; outline-offset: 0; } 25% { outline: 2px solid #3ddc84; outline-offset: 2px; background-color: rgb(61 220 132 / 22%); } }

/* Side panel: activities dissolving into one another */
.bs-loop { display: none; position: absolute; inset: 0; overflow: hidden; perspective: 1200px; }
body:is(:not([data-ui-theme]), [data-ui-theme='neutral'], [data-ui-theme='off']) .bs-aside .bs-loop { display: block; }
.bs-loop__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(26px) brightness(1.35) saturate(1.25); transform: scale(1.16) rotateY(-14deg); transform-origin: 50% 50%; transition: opacity 1.7s cubic-bezier(.4, 0, .2, 1), filter 1.9s cubic-bezier(.22, 1, .36, 1), transform 2.1s cubic-bezier(.22, 1, .36, 1); }
.bs-loop__shot.is-current { z-index: 2; opacity: 1; filter: none; transform: none; animation: bs-drift 6.5s linear both; }
.bs-loop__shot.is-leaving { z-index: 1; opacity: 0; filter: blur(22px) brightness(1.1); transform: scale(1.04) rotateY(12deg); animation: bs-drift 6.5s linear both; }
/* Wide pictures are framed on their subject inside the tall panel. */
.bs-loop__shot--futevolei { object-position: 31% 50%; }
.bs-loop__shot--surf { object-position: 88% 50%; }
.bs-loop__shot--personal { object-position: 59% 50%; }
.bs-loop__shot--violao { object-position: 41% 50%; }
.bs-loop__shot--pilates { object-position: 78% 50%; }
.bs-loop__shot--fotografo { object-position: 14% 50%; }
@keyframes bs-drift { from { scale: 1; } to { scale: 1.09; } }
@media (prefers-reduced-motion: reduce) { .bs-loop__shot { transition: none; } .bs-loop__shot.is-current { animation: none; } .bs-input.is-filled { animation-duration: .01s; } }
