﻿/* SD Headquarters · Oficina inmersiva. Only the office route occupies the viewport. */
html.office-route,
html.office-route body {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}
.office-route #app {
  height: 100dvh;
}
.office-route .workspace {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.office-route .topbar {
  height: 65px;
  min-height: 65px;
  flex: 0 0 65px;
}
.office-route .prototype-ribbon,
.office-route .main-footer {
  display: none;
}
.office-route .design-b2 #main,
.office-route #main {
  padding: 0 !important;
  margin: 0;
  max-width: none;
  flex: 1;
  height: auto;
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.office-scene {
  --office-glass: #182437ed;
  --office-edge: #93a4c22b;
  --office-label: #182336ee;
  --office-label-ink: #f3f4fb;
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 54% 42%,
    #303c51 0%,
    #202b3d 45%,
    #121b2a 100%
  );
  color: var(--text);
}
[data-theme="light"] .office-scene {
  --office-glass: #ffffffed;
  --office-edge: #65728f32;
  --office-label: #fffffff2;
  --office-label-ink: #27334a;
  background: radial-gradient(
    ellipse at 54% 40%,
    #f9fafc 0%,
    #eef1f7 50%,
    #e1e7f0 100%
  );
}
.office-scene .campus-stage,
.office-scene .campus-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.office-scene .campus-host canvas {
  display: block;
  touch-action: none;
  background: transparent;
  outline-offset: -4px;
}
.office-scene .office-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
.office-heading {
  position: absolute;
  left: 24px;
  top: 20px;
  pointer-events: none;
  z-index: 3;
}
.office-heading > p {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 650;
}
.office-heading > p > span {
  color: var(--muted);
  font-weight: 450;
}
.office-heading h1 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.65px;
  margin: 5px 0 7px;
}
.office-heading > div {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.office-heading > div > span {
  opacity: 0.8;
}
.office-simulation-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a99ac9;
  display: inline-block;
}
.office-departments {
  position: absolute;
  top: 25px;
  right: 24px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 65%;
  z-index: 4;
}
.office-departments button {
  border: 1px solid var(--office-edge);
  background: var(--office-glass);
  color: var(--muted);
  font-size: 11px;
  padding: 8px 11px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.office-departments button:hover {
  color: var(--text);
  background: var(--hover);
}
[data-department] {
  --dept-color: #b6a2ed;
}
[data-department="investments"] {
  --dept-color: #80afe5;
}
[data-department="lfg"] {
  --dept-color: #d5b17c;
}
[data-department="connect"] {
  --dept-color: #7ebcaf;
}
[data-department="web"] {
  --dept-color: #d79db4;
}
.office-departments i,
.office-label > i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--dept-color);
  border-radius: 50%;
}
.office-team,
.office-context,
.office-minimap,
.office-dock,
.office-settings-panel {
  border: 1px solid var(--office-edge);
  background: var(--office-glass);
  box-shadow: 0 14px 48px #00000020;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.office-team {
  position: absolute;
  left: 20px;
  top: 114px;
  width: 266px;
  max-height: calc(100% - 228px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  z-index: 5;
}
.office-team > header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 13px 14px;
  border-bottom: 1px solid var(--office-edge);
}
.office-eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 600;
}
.office-team h2 {
  font-size: 13px;
  margin-top: 3px;
}
.office-team h2 > b {
  font-size: 10px;
  background: var(--violet-bg);
  color: var(--accent);
  border-radius: 5px;
  padding: 1px 5px;
  margin-left: 4px;
}
.office-team-list {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 5px;
  scrollbar-width: thin;
}
.office-person {
  width: 100%;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 7px;
  text-align: left;
  color: var(--text);
  margin: 2px 0;
}
.office-person:hover {
  background: var(--hover);
}
.office-person[aria-pressed="true"] {
  background: var(--violet-bg);
  border-color: var(--accent);
}
.office-person > .avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}
.office-person > span {
  min-width: 0;
  flex: 1;
}
.office-person strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.office-person small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.65;
}
.office-person em {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-style: normal;
  font-size: 10px;
  line-height: 1.7;
  color: var(--dept-color);
}
.office-person em > b {
  font-size: 9px;
  font-weight: 450;
  color: var(--muted);
  border: 1px solid var(--office-edge);
  border-radius: 4px;
  padding: 0 4px;
}
.office-team > footer {
  font-size: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--office-edge);
  color: var(--muted);
}
.team-collapsed .office-team {
  display: none;
}
.office-icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px;
}
.office-icon-button:hover {
  background: var(--hover);
  color: var(--text);
}
.office-context {
  position: absolute;
  right: 20px;
  top: 94px;
  width: 278px;
  max-height: calc(100% - 212px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 16px;
  border-radius: 14px;
  z-index: 6;
  scrollbar-width: thin;
}
.office-context[hidden] {
  display: none !important;
}
.office-close-context {
  position: absolute;
  right: 7px;
  top: 8px;
}
.office-context .eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
  margin-right: 20px;
}
.office-context h2 {
  font-size: 22px;
  margin: 12px 0 8px;
  letter-spacing: -0.7px;
}
.office-context p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.office-context .detail-list {
  margin: 16px 0 12px;
  font-size: 11px;
}
.office-context .detail-list div {
  gap: 8px;
}
.office-context .detail-list code {
  word-break: break-word;
}
.office-context small {
  font-size: 11px;
  color: var(--muted);
}
.office-context .campus-ambient-state {
  font-size: 12px;
  color: var(--text);
}
.office-context .button {
  font-size: 12px;
  padding: 8px 11px;
  line-height: 1.5;
  white-space: normal;
}
.office-context .campus-command-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 14px 0;
}
.office-context a.button {
  margin: 12px 0;
  display: flex;
  justify-content: center;
}
.office-context button:disabled {
  font-size: 10px;
}
.office-context label {
  font-size: 11px;
  margin-top: 14px;
}
.office-context select {
  padding: 7px;
  font-size: 11px;
}
.office-dock {
  position: absolute;
  bottom: 29px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  border-radius: 14px;
  padding: 7px;
  z-index: 8;
  max-width: calc(100% - 46px);
}
.office-camera-group {
  display: flex;
  gap: 2px;
}
.office-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  min-height: 38px;
  border-radius: 9px;
}
.office-control:hover {
  color: var(--text);
  background: var(--hover);
}
.office-control[aria-pressed="true"] {
  background: var(--violet-bg);
  color: var(--accent);
}
.office-control:disabled {
  opacity: 0.35;
}
.office-dock-separator {
  width: 1px;
  height: 22px;
  background: var(--office-edge);
  margin: 0 5px;
}
.office-dock .office-quality select {
  background: transparent;
  border: 1px solid var(--office-edge);
  font-size: 11px;
  padding: 8px 5px;
  max-width: 112px;
}
.office-dock .office-quality {
  display: block;
}
.office-settings {
  position: relative;
}
.office-settings > summary {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
  color: var(--muted);
}
.office-settings > summary::-webkit-details-marker {
  display: none;
}
.office-settings[open] > summary {
  color: var(--accent);
  background: var(--violet-bg);
}
.office-settings-panel {
  position: absolute;
  bottom: 54px;
  right: 0;
  width: 266px;
  max-height: min(490px, 60dvh);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 12px;
  padding: 17px;
}
.office-settings-panel h3 {
  font-size: 14px;
  margin-bottom: 15px;
}
.office-settings-panel label {
  font-size: 12px;
  margin: 14px 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.office-settings-panel select {
  font-size: 11px;
  padding: 7px;
  width: 155px;
}
.office-settings-panel input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent-fill);
}
.office-setting-row,
.office-settings-panel .campus-command-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.office-settings-panel button {
  font-size: 11px;
  padding: 7px;
  background: var(--panel-raised);
  border: 1px solid var(--office-edge);
  color: var(--text);
}
.office-settings-panel .campus-local-controls {
  font-size: 12px;
  border-top: 1px solid var(--office-edge);
  padding-top: 12px;
}
.office-settings-panel .campus-command-grid {
  margin: 12px 0;
}
.office-settings-panel small {
  font-size: 10px;
  color: var(--muted);
}
.office-minimap {
  position: absolute;
  left: 20px;
  bottom: 112px;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  z-index: 7;
}
.office-minimap:not([open]) {
  display: none;
}
.office-minimap summary {
  font-size: 11px;
  cursor: pointer;
  list-style: none;
}
.office-minimap svg {
  width: 100%;
  height: auto;
  max-height: 180px;
}
.office-minimap [data-room] {
  cursor: pointer;
}
.office-minimap p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.office-footnote {
  position: absolute;
  bottom: 8px;
  left: 23px;
  right: 23px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
  pointer-events: none;
  z-index: 7;
}
.office-footnote > a {
  pointer-events: auto;
}
.office-zoom {
  position: absolute;
  right: 20px;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  background: var(--office-glass);
  border: 1px solid var(--office-edge);
  border-radius: 9px;
  overflow: hidden;
  z-index: 7;
}
.office-zoom button {
  display: grid;
  place-items: center;
  width: 33px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 19px;
}
.office-zoom button:hover {
  background: var(--hover);
}
.office-scene .campus-status {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  font-size: 11px;
  color: var(--muted);
  background: var(--office-glass);
  padding: 8px 12px;
  border: 1px solid var(--office-edge);
  border-radius: 8px;
  z-index: 7;
  pointer-events: none;
}
.office-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.office-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 148px;
  height: 36px;
  padding: 5px 9px 5px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 0;
  border: 1px solid var(--office-edge);
  border-radius: 8px;
  background: var(--office-label);
  color: var(--office-label-ink);
  box-shadow: 0 3px 14px #0002;
  pointer-events: auto;
  transition: transform 90ms linear;
  will-change: transform;
  cursor: pointer;
  line-height: 1.3;
}
.office-label[hidden] {
  display: none !important;
}
.office-label.is-selected {
  width: 168px;
  height: 46px;
  border-color: var(--accent);
}
.office-label > i {
  position: absolute;
  left: 7px;
  top: 10px;
}
.office-label strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 600;
}
.office-label.is-selected strong {
  font-size: 13px;
}
.office-label small {
  font-size: 9px;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.office-label:hover {
  border-color: var(--accent);
}
.office-scene:fullscreen,
.office-scene.campus-expanded {
  width: 100vw;
  height: 100dvh !important;
  position: fixed;
  inset: 0;
  border-radius: 0;
  z-index: 500;
}
.office-scene button:focus-visible,
.office-scene select:focus-visible,
.office-scene summary:focus-visible,
.office-scene a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.campus-link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1500px) {
  .office-dock .office-control > span {
    display: none;
  }
  .office-dock .office-control {
    padding: 9px;
  }
  .office-departments button {
    font-size: 10px;
    padding: 8px;
  }
  .office-heading h1 {
    font-size: 21px;
  }
}
@media (max-width: 1100px) {
  .office-heading {
    left: 18px;
    top: 17px;
  }
  .office-heading > div > span {
    display: none;
  }
  .office-departments {
    right: 16px;
    top: 18px;
    max-width: 60%;
  }
  .office-departments button {
    max-width: 115px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .office-team {
    left: 16px;
    width: 250px;
  }
  .office-context {
    right: 16px;
    width: 258px;
  }
  .office-dock {
    max-width: calc(100% - 32px);
    padding: 6px;
  }
  .office-control {
    min-height: 35px;
  }
  .office-dock .office-quality select {
    max-width: 96px;
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .office-scene {
    --office-glass: #182437f5;
    --office-label: #182336f5;
  }
  [data-theme="light"] .office-scene {
    --office-glass: #fffffff7;
    --office-label: #fffffff7;
  }
  .office-heading {
    top: 14px;
    left: 14px;
  }
  .office-heading > p {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .office-heading h1 {
    font-size: 19px;
    margin: 3px 0 4px;
  }
  .office-heading > div {
    font-size: 10px;
  }
  .office-departments {
    top: 16px;
    right: 12px;
    max-width: 38%;
    max-height: 74px;
    overflow: auto;
    gap: 4px;
  }
  .office-departments button {
    font-size: 9px;
    padding: 5px 6px;
    max-width: 110px;
  }
  .office-departments i {
    display: none;
  }
  .office-team {
    top: 96px;
    bottom: 142px;
    max-height: none;
    left: 12px;
    width: min(300px, calc(100% - 24px));
  }
  .office-team,
  .office-context,
  .office-minimap,
  .office-dock,
  .office-settings-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .office-team > header {
    padding: 12px;
  }
  .office-person {
    padding: 8px;
  }
  .office-context {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 143px;
    width: auto;
    max-height: 36%;
    padding: 15px;
    border-radius: 13px;
  }
  .office-context h2 {
    font-size: 20px;
    margin: 8px 0;
  }
  .office-context .detail-list {
    display: none;
  }
  .office-context p {
    font-size: 11px;
  }
  .office-context .campus-command-grid {
    margin: 8px 0;
  }
  .office-context a.button {
    margin: 8px 0;
  }
  .office-context button:disabled {
    display: none;
  }
  .office-context .eyebrow {
    font-size: 8px;
  }
  .office-context small {
    font-size: 10px;
  }
  .office-dock {
    bottom: 26px;
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px;
    gap: 3px;
    border-radius: 13px;
  }
  .office-dock .office-control > span {
    display: none;
  }
  .office-dock .office-control {
    padding: 8px;
    min-height: 34px;
  }
  .office-dock .office-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
  .office-dock-separator {
    display: none;
  }
  .office-dock .office-quality select {
    max-width: 83px;
    padding: 7px 3px;
    font-size: 10px;
  }
  .office-settings-panel {
    position: fixed;
    right: 12px;
    bottom: 143px;
    width: 266px;
    max-height: calc(100dvh - 330px);
  }
  .office-settings > summary {
    width: 32px;
    height: 32px;
  }
  .office-minimap {
    left: 12px;
    bottom: 142px;
    width: 175px;
  }
  .office-zoom {
    right: 12px;
    bottom: 145px;
  }
  .office-zoom button {
    width: 30px;
    height: 30px;
  }
  .office-footnote {
    left: 14px;
    right: 14px;
    bottom: 7px;
    font-size: 8px;
  }
  .office-footnote > a {
    display: none;
  }
  .office-scene .campus-status {
    top: 98px;
    font-size: 10px;
    max-width: calc(100% - 28px);
    width: max-content;
  }
  .office-label {
    width: 126px;
  }
  .office-label.is-selected {
    width: 126px;
  }
  .office-label strong {
    font-size: 11px;
  }
  .office-label small {
    font-size: 8px;
  }
  .office-label.is-selected strong {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-label {
    transition: none;
  }
  .office-scene * {
    scroll-behavior: auto;
  }
}
/* Compact professional directory; avatars never compete with the text column. */
.office-person > .agent-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.office-person > span:not(.agent-avatar) {
  flex: 1;
  min-width: 0;
}
.office-person {
  padding: 7px;
  margin: 1px 0;
}
.office-person strong {
  font-size: 12.5px;
  line-height: 1.3;
}
.office-person small {
  font-size: 10.5px;
  line-height: 1.5;
}
.office-person em {
  font-size: 9.5px;
  line-height: 1.5;
}
.office-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 12px;
}
.office-profile-name > .agent-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}
.office-profile-name h2 {
  font-size: 21px;
  margin: 0 0 3px;
}
.office-profile-name p {
  font-size: 11px;
  line-height: 1.5;
}
.office-department-name {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--office-edge);
  margin-bottom: 12px;
}
.office-identity {
  font-size: 10px;
  margin: 10px 0;
  color: var(--muted);
}
.office-identity summary {
  cursor: pointer;
}
.office-context .office-identity .detail-list {
  display: block;
  margin: 8px 0;
}
.office-label {
  height: 40px;
}
.office-label strong {
  font-size: 12px;
}
.office-label.is-selected strong {
  font-size: 14px;
}
.office-label.is-selected small {
  font-size: 10px;
}
@media (max-width: 760px) {
  .office-label.is-selected strong {
    font-size: 12px;
  }
  .office-profile-name {
    margin: 10px 0 7px;
  }
  .office-profile-name h2 {
    font-size: 20px;
  }
  .office-context .office-identity .detail-list {
    display: block;
  }
  .office-context .office-department-name {
    margin-bottom: 7px;
    padding: 4px 0;
  }
}
.office-minimap {
  left: auto;
  right: 66px;
}
@media (max-width: 760px) {
  .office-minimap {
    left: auto;
    right: 58px;
  }
}
.office-settings:not([open]) > .office-settings-panel {
  display: none !important;
}
.office-heading {
  background: var(--office-glass);
  border: 1px solid var(--office-edge);
  border-radius: 11px;
  padding: 8px 11px;
  box-shadow: 0 3px 16px #00000008;
}
.office-area-toggle {
  display: none !important;
}
@media (max-width: 760px) {
  .office-heading {
    top: 12px;
    padding: 8px 10px;
  }
  .office-team {
    top: 112px;
  }
  .office-zoom {
    top: 110px;
    bottom: auto;
  }
  .office-departments {
    top: 14px;
    right: 12px;
    max-width: none;
    max-height: none;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
  }
  .office-departments > button[data-office-room] {
    display: none;
  }
  .office-departments > .office-area-toggle {
    display: flex !important;
    font-size: 10px;
    padding: 8px;
    align-items: center;
    gap: 5px;
    max-width: none;
  }
  .office-area-toggle .office-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
  .office-areas-open .office-departments {
    background: var(--office-glass);
    padding: 6px;
    border: 1px solid var(--office-edge);
    border-radius: 10px;
    box-shadow: 0 10px 30px #0002;
  }
  .office-areas-open .office-departments > button[data-office-room] {
    display: flex;
    max-width: none;
    min-height: 28px;
    padding: 7px 9px;
    font-size: 11px;
    border-color: transparent;
    background: none;
  }
  .office-areas-open .office-departments > .office-area-toggle {
    color: var(--accent);
  }
}
