/* The team panorama spans the page; its six introductions sit underneath. */
#team-office.team-showcase { display: flex; flex-direction: column; gap: 24px; width: 100%; min-width: 0; }
#team-office > #team-room { width: 100%; margin: 0; }
#team-office > .team-card { width: 100%; min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.team-intro-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 3px 0 20px; }
.team-intro-heading h2 { font-size: 25px; letter-spacing: -.7px; margin-top: 6px; }
.team-intro-heading > p { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: right; }
#office-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#office-team > .bap-snapshot-private { grid-column: 1 / -1; }
.team-person-card { --team-accent: #a488c4; --team-tint: #f2eafa; display: flex; flex-direction: column; min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.team-person-card[data-tone="sky"] { --team-accent: #7faebf; --team-tint: #eaf6fa; }
.team-person-card[data-tone="peach"] { --team-accent: #d5a179; --team-tint: #fcf0e6; }
.team-person-card[data-tone="violet"] { --team-accent: #9b87c6; --team-tint: #eee9f9; }
.team-person-card[data-tone="mint"] { --team-accent: #7da992; --team-tint: #eaf5ed; }
.team-person-card[data-tone="rose"] { --team-accent: #c793ad; --team-tint: #f9edf3; }
.team-person-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.team-person-top > div:last-child { min-width: 0; }
.team-person-avatar { flex: 0 0 82px; width: 82px; height: 82px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--team-accent) 18%, transparent); border-radius: 23px; background: var(--team-tint); }
.team-person-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.team-person-card h3 { color: var(--ink); font-size: 23px; line-height: 1.2; letter-spacing: -.6px; overflow-wrap: anywhere; }
.team-person-role { margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.5; }
.team-person-intro { margin-top: 17px; margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.team-person-activity { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.team-person-status { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; }
.team-person-status i { flex: 0 0 5px; width: 5px; height: 5px; margin-top: 5px; border-radius: 50%; background: #b5abba; }
.team-person-card[data-state="working"] .team-person-status { color: #38805e; }
.team-person-card[data-state="working"] .team-person-status i { background: #59a77f; }
.team-person-card[data-state="error"] .team-person-status { color: #ac6676; }
.team-person-card[data-state="error"] .team-person-status i { background: #bd7b89; }
.team-person-stats { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.team-person-stats strong { color: var(--ink); font-weight: 650; }
.team-person-source, .team-person-observed { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.7; overflow-wrap: anywhere; }
.team-person-source > small { display: block; font: inherit; }
#team-office .team-footnote { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
[data-theme=dark] .team-person-avatar { background: color-mix(in srgb, var(--team-accent) 18%, var(--card)); }
[data-theme=dark] .team-person-card[data-state="working"] .team-person-status { color: #8bc6a6; }
[data-theme=dark] .team-person-card[data-state="error"] .team-person-status { color: #dc9aaa; }
@media (max-width: 850px) {
  #office-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .team-person-card { padding: 20px; }
}
@media (max-width: 540px) {
  #team-office.team-showcase { gap: 21px; }
  .team-intro-heading { display: block; margin-bottom: 16px; }
  .team-intro-heading h2 { font-size: 23px; }
  .team-intro-heading > p { margin-top: 8px; font-size: 11px; text-align: left; }
  #office-team { gap: 11px; }
  .team-person-card { padding: 15px; border-radius: 15px; }
  .team-person-top { display: block; }
  .team-person-avatar { width: 76px; height: 76px; margin-bottom: 12px; border-radius: 21px; }
  .team-person-card h3 { font-size: 21px; }
  .team-person-role { font-size: 10px; margin-top: 5px; }
  .team-person-intro { font-size: 11px; line-height: 1.75; margin: 13px 0 15px; }
  .team-person-status, .team-person-stats { font-size: 9px; }
}
@media (max-width: 350px) {
  #office-team { grid-template-columns: 1fr; }
  .team-person-top { display: flex; }
  .team-person-avatar { margin-bottom: 0; }
}

/* These styles apply only to the six-person team illustration. */
.bap-team-room.public-studio-room {
  aspect-ratio: auto;
  background: #f9f5fc;
  border: 1px solid #e8dfef;
}
.bap-team-scene { position: relative; width: 100%; aspect-ratio: 2009 / 783; overflow: hidden; container-type: inline-size; }
.bap-team-art, .bap-team-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.bap-team-canvas[hidden] { display: none; }
.bap-team-ready .bap-team-art { visibility: hidden; }
.bap-team-css-layer { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.bap-team-css-head {
  position: absolute;
  overflow: hidden;
  transform-origin: 50% 90%;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 47%, transparent 97%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 47%, transparent 97%);
  animation: bap-team-css-breathe var(--team-breathe-duration) ease-in-out var(--team-breathe-delay) infinite;
  animation-play-state: paused;
}
.bap-team-css-crop { position: absolute; display: block; max-width: none !important; max-height: none !important; object-fit: fill; pointer-events: none; user-select: none; }
.bap-team-css-eye {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--team-skin);
  transform: scaleY(0);
  transform-origin: center;
  animation: bap-team-css-blink var(--team-blink-duration) linear var(--team-blink-delay) infinite;
  animation-play-state: paused;
}
.bap-team-css-eye::after { content: ''; position: absolute; left: 9%; right: 9%; top: 41%; height: 18%; border-bottom: max(.65px, .07cqw) solid #54333f; border-radius: 50%; }
.bap-team-room[data-team-animation="running"] .bap-team-css-head,
.bap-team-room[data-team-animation="running"] .bap-team-css-eye { animation-play-state: running; }
@keyframes bap-team-css-breathe {
  0%, 100% { transform: translate(0, 0) rotate(-.07deg); }
  50% { transform: translate(var(--team-sway), -.09cqw) rotate(.12deg); }
}
@keyframes bap-team-css-blink {
  0%, 82%, 89%, 100% { transform: scaleY(0); }
  84%, 87% { transform: scaleY(1); }
}
.bap-team-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; min-height: 34px; padding: 8px 11px; color: #81738e; font-size: 10px; line-height: 1.5; }
.bap-team-toolbar > span { flex: 1 1 180px; }
.bap-team-motion-toggle { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #dacde8; border-radius: 8px; background: #fff; color: #73588e; font: inherit; cursor: pointer; }
.bap-team-motion-toggle:hover { background: #f1eaf9; }
.bap-team-motion-toggle:focus-visible { outline: 2px solid #8a61b5; outline-offset: 2px; }
.bap-team-motion-toggle:disabled { cursor: default; opacity: .7; }
.bap-team-motion-toggle[hidden] { display: none; }
[data-theme=dark] .bap-team-room { border-color: #46374f; background: #2c2435; }
[data-theme=dark] .bap-team-toolbar { color: #bba9cc; }
[data-theme=dark] .bap-team-motion-toggle { border-color: #5a446d; background: #382a45; color: #dbc7ed; }
@media (max-width: 540px) {
  .bap-team-toolbar { font-size: 9px; padding: 7px 9px; }
  .bap-team-toolbar > span { flex-basis: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .bap-team-css-head, .bap-team-css-eye { animation: none !important; }
  .bap-team-css-head { transform: none; }
  .bap-team-css-eye { transform: scaleY(0); }
}

.public-studio-room{border-radius:var(--r);overflow:hidden;background:#f9f5fc}
.team-showcase{display:flex;flex-direction:column;gap:24px}
.team-card{padding:0;background:transparent;border:0;box-shadow:none}
.team-person-brain{display:inline-flex;align-items:center;gap:5px;margin-top:9px;background:var(--team-tint);color:color-mix(in srgb,var(--team-accent) 70%,#2a2140);border-radius:999px;padding:3px 10px;font-size:10px;font-weight:700}
[data-theme=dark] .team-person-brain{color:#e9e1f5}
