/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/components/AgentDetailPanel.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
/* ============================
   Agent Detail Panel — slides in from right
   ============================ */
.AgentDetailPanel_overlay__3abHW {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  animation: AgentDetailPanel_overlayFadeIn__dcW75 0.2s ease;
}

.AgentDetailPanel_panel__Ja_MM {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: AgentDetailPanel_slideIn__UJXe6 0.2s ease;
}

.AgentDetailPanel_panelHeader__zqXZ1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.AgentDetailPanel_panelHeaderLeft__T0Rb_ {
  display: flex;
  align-items: center;
  gap: 12px;
}

.AgentDetailPanel_panelAvatar__2J2rC {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--border);
}

.AgentDetailPanel_panelName__nAQ0c {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.AgentDetailPanel_panelRole__jkYlK {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 1px;
}

.AgentDetailPanel_closeBtn__WZiTm {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
.AgentDetailPanel_closeBtn__WZiTm:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Sections */
.AgentDetailPanel_section__bZtn2 {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.AgentDetailPanel_sectionTitle__yhbVK {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Status badges row */
.AgentDetailPanel_badgeRow__fZZkJ {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.AgentDetailPanel_badge__326rX {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.AgentDetailPanel_badgeDot__zNYRF {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.AgentDetailPanel_badgeOnline__D_ffS { background: var(--success); box-shadow: 0 0 4px var(--success); }
.AgentDetailPanel_badgeWorking__QkMd8 { background: var(--warning); box-shadow: 0 0 4px var(--warning); }
.AgentDetailPanel_badgeOffline__Q0Ck2 { background: var(--idle); }
.AgentDetailPanel_badgeError__Ulvmj { background: var(--error); box-shadow: 0 0 4px var(--error); }

/* Session info */
.AgentDetailPanel_sessionCard__7TbP6 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
}

.AgentDetailPanel_sessionTask__pVfbb {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  word-break: break-word;
}

.AgentDetailPanel_sessionMeta__PJKp6 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
}

.AgentDetailPanel_sessionMetaItem__GGroF {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Streaming text */
.AgentDetailPanel_streamBox__7A54s {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-primary);
  max-height: 120px;
  overflow-y: auto;
  font-family: var(--font-mono);
  word-break: break-all;
}

/* Sub-agents list */
.AgentDetailPanel_subAgentItem__8LNxf {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.AgentDetailPanel_subAgentItem__8LNxf:last-child { border-bottom: none; }

.AgentDetailPanel_subAgentDot__OVAEK {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.AgentDetailPanel_subAgentName__XSruK {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 60px;
}

.AgentDetailPanel_subAgentTask__kffhC {
  font-size: 11px;
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Schedule / agent list */
.AgentDetailPanel_scheduleItem__z09hp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 11px;
}

.AgentDetailPanel_scheduleName__42TNM {
  color: var(--text-primary);
}

.AgentDetailPanel_scheduleInterval__O5vzE {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.AgentDetailPanel_scheduleDisabled__ywHW5 {
  opacity: 0.4;
}

/* Organization */
.AgentDetailPanel_orgItem__CYVw4 {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 2px 0;
}

.AgentDetailPanel_orgName__dtRsp {
  color: var(--text-primary);
  font-weight: 500;
}

/* Instruction form */
.AgentDetailPanel_instructionForm__1YOhG {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.AgentDetailPanel_instructionInput__MLhjl {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-primary);
  resize: vertical;
  min-height: 50px;
  font-family: var(--font-main);
  outline: none;
}
.AgentDetailPanel_instructionInput__MLhjl:focus {
  border-color: var(--accent);
}
.AgentDetailPanel_instructionInput__MLhjl::placeholder {
  color: var(--text-secondary);
}

.AgentDetailPanel_sendBtn__Bevcw {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.AgentDetailPanel_sendBtn__Bevcw:hover { background: var(--accent-dim); }
.AgentDetailPanel_sendBtn__Bevcw:disabled { opacity: 0.5; cursor: not-allowed; }

.AgentDetailPanel_sendSuccess__ip0sK {
  font-size: 11px;
  color: var(--success);
  text-align: right;
}

/* Memo text */
.AgentDetailPanel_memoText__odwuL {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================
   Deliverables
   ============================ */
.AgentDetailPanel_deliverableGroup__nyAZk {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.AgentDetailPanel_deliverableGroup__nyAZk:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.AgentDetailPanel_deliverableTaskName__oSYu7 {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.AgentDetailPanel_deliverableItem__ohYn_ {
  margin-bottom: 6px;
}

.AgentDetailPanel_deliverableImage__SjnK1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.AgentDetailPanel_deliverableThumbnail__6mEAb {
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.15s;
}

.AgentDetailPanel_deliverableThumbnail__6mEAb:hover {
  opacity: 0.8;
}

.AgentDetailPanel_deliverableName__nP30H {
  font-size: 10px;
  color: var(--text-secondary);
}

.AgentDetailPanel_deliverableText__L24bR {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.AgentDetailPanel_deliverableTextHeader__2Ww66 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-primary);
}

.AgentDetailPanel_deliverableToggle__D_puT {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 10px;
  cursor: pointer;
  padding: 2px 4px;
}

.AgentDetailPanel_deliverableToggle__D_puT:hover {
  text-decoration: underline;
}

.AgentDetailPanel_deliverablePreview__pIZwI {
  padding: 8px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  margin: 0;
}

.AgentDetailPanel_deliverableFile__xw_Y_ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-primary);
}

.AgentDetailPanel_deliverableDownload__iNR7_ {
  color: var(--accent);
  font-size: 10px;
  text-decoration: none;
}

.AgentDetailPanel_deliverableDownload__iNR7_:hover {
  text-decoration: underline;
}

/* Lightbox */
.AgentDetailPanel_lightboxOverlay__ygieQ {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
}

.AgentDetailPanel_lightbox__RZoHj {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
}

.AgentDetailPanel_lightboxImage___PZM_ {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.AgentDetailPanel_lightboxClose__33vzI {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.AgentDetailPanel_lightboxClose__33vzI:hover {
  background: var(--error);
  color: #fff;
}

/* Animations */
@keyframes AgentDetailPanel_slideIn__UJXe6 {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes AgentDetailPanel_overlayFadeIn__dcW75 {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================
   Mobile — ≤ 600px: bottom sheet
   ============================ */
@media (max-width: 600px) {
  .AgentDetailPanel_panel__Ja_MM {
    width: 100%;
    height: 60vh;
    top: auto;
    bottom: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
    animation: AgentDetailPanel_slideUp__DCReW 0.2s ease;
  }

  .AgentDetailPanel_panelHeader__zqXZ1 {
    padding: 12px 16px;
  }

  .AgentDetailPanel_section__bZtn2 {
    padding: 10px 16px;
  }
}

@keyframes AgentDetailPanel_slideUp__DCReW {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/app/office/office.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.office_container__unUqC {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: calc(100vh - 50px);
}

/* Office header bar */
.office_officeBar__AryRN {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.office_officeTitle___2jEk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* .buildingIcon removed */

.office_officeStats__Rf9_9 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.office_miniStat__vGAlq {
  display: flex;
  align-items: center;
  gap: 4px;
}

.office_greenDot__PRg0M {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 4px var(--success);
}

.office_clock__w5Kj4 {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-secondary);
}

.office_loadingBar__gQvmj {
  text-align: center;
  color: var(--warning);
  font-size: 13px;
  animation: office_blink__Gt_JA 1s infinite;
}

/* ============================
   THE FLOOR — Canvas TileMap + overlays
   ============================ */
.office_floorWrapper__jJ2iF {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: auto;
  padding: 8px;
}

.office_floor__9f_Ql {
  position: relative;
  image-rendering: pixelated;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px var(--border),
    0 4px 16px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

/* ============================
   WALKING CHARACTER
   ============================ */
.office_agent__S_WdY {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  transition: z-index 0s;
  transform: translate(-18px, -30px);
}

.office_charSprite__T0UQS {
  transition: transform 0.1s;
}

.office_charSprite__T0UQS.office_walking__JL1Yv {
  animation: office_walkBounce__ojBhp 0.3s ease-in-out infinite;
}

.office_charSprite__T0UQS[data-facing="left"] {
  transform: scaleX(-1);
}

/* Info block below character — name, role, task, session */
.office_infoBlock__N_cd8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: -2px;
}

.office_nameTag__23yUG {
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.office_roleTag__SBgVV {
  font-size: 8px;
  font-weight: normal;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 4px;
  border-radius: 2px;
  letter-spacing: 0;
}

.office_taskDetail__zf8Sr {
  font-size: 8px;
  color: var(--accent, #58a6ff);
  background: rgba(0, 0, 0, 0.8);
  padding: 1px 6px;
  border-radius: 2px;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(88, 166, 255, 0.2);
}

.office_sessionMeta__FcDoh {
  font-size: 7px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
  display: flex;
  gap: 6px;
  max-width: 200px;
}

.office_stepText__FuEyN {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}

.office_modelBadge__V8mfD {
  color: var(--accent, #58a6ff);
  font-weight: bold;
}

.office_elapsedBadge__6mpid {
  color: var(--warning, #d29922);
  font-family: monospace;
  font-weight: bold;
}

/* ============================
   ROOM OVERLAY — per-room stats
   ============================ */
.office_roomOverlay__QU3OM {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.office_roomOverlayLabel__Fu_0D {
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  font-size: 8px;
}

.office_roomOverlayStat__DZtsI {
  display: flex;
  align-items: center;
  gap: 3px;
}

.office_roomOverlayDot__moAeN {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.office_roomOverlayDotOnline__jgpPE {
  background: var(--success);
  box-shadow: 0 0 3px var(--success);
}

.office_roomOverlayDotIdle__xGF6N {
  background: var(--idle, #666);
}

/* Speech bubble on walking character */
.office_speechBubble__O6QlA {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 4px;
  background: rgba(10, 10, 15, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  max-width: 500px;
  min-width: 120px;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.office_speechBubble__O6QlA::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.3);
}

.office_speechText__072U9 {
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
  word-break: break-all;
  max-height: 52px;
  overflow: hidden;
}

.office_speechMeta__0bcrp {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Status dot on name tag */
.office_statusDot__aPPXh {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.office_statusDot__aPPXh[data-status="streaming"] {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: office_statusPulse___EtuK 1s ease-in-out infinite;
}
.office_statusDot__aPPXh[data-status="thinking"] {
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning);
  animation: office_statusPulse___EtuK 2s ease-in-out infinite;
}
.office_statusDot__aPPXh[data-status="idle"] {
  background: var(--idle);
}
.office_statusDot__aPPXh[data-status="offline"] {
  background: #555;
}
.office_statusDot__aPPXh[data-status="error"] {
  background: var(--error);
  box-shadow: 0 0 6px var(--error);
}

/* Sub-agent (slightly smaller, dashed border) */
.office_subAgent__0QlEd {
  transform: translate(-14px, -24px) scale(0.85);
  opacity: 0.92;
}
.office_subAgent__0QlEd .office_nameTag__23yUG {
  font-size: 9px;
  padding: 1px 5px;
  border-style: dashed;
  border-width: 1px;
}
.office_subAgent__0QlEd .office_taskDetail__zf8Sr {
  font-size: 7px;
  max-width: 140px;
}
.office_subAgent__0QlEd .office_sessionMeta__FcDoh {
  font-size: 6px;
}

/* Agent state modifiers */
.office_agentOffline__bEuC0 {
  opacity: 1;
}
.office_agentError__zKumv .office_charSprite__T0UQS {
  animation: office_shakeError__tPi67 0.4s ease-in-out infinite !important;
}

/* Task label above character (replaces emoji) */
.office_taskLabel__0ui_q {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  animation: office_thinkPulse__3zUrB 2s ease-in-out infinite;
  margin-bottom: 2px;
}
.office_taskLabelText__3BGRD {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.8);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Task header inside speech bubble */
.office_taskHeader__Ycoac {
  font-size: 9px;
  font-weight: bold;
  color: var(--accent, #58a6ff);
  padding-bottom: 3px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Typing dots indicator */
.office_typingDots__3pQ0W {
  display: flex;
  gap: 3px;
  justify-content: flex-end;
  margin-top: 3px;
}
.office_typingDots__3pQ0W span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
  animation: office_typingBounce__rIulf 1.2s ease-in-out infinite;
}
.office_typingDots__3pQ0W span:nth-child(2) { animation-delay: 0.2s; }
.office_typingDots__3pQ0W span:nth-child(3) { animation-delay: 0.4s; }

/* .idleEmoji removed — replaced by .taskLabel */

/* ============================
   MEETING ROOM — ghost avatars
   ============================ */
.office_meetingGhost__9q7yP {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  transform: translate(-14px, -14px);
}

.office_ghostSprite__AQaNQ {
  opacity: 0.85;
  animation: office_gentleBob__E4uxm 2s ease-in-out infinite;
}

.office_ghostName__LfjlK {
  font-size: 10px;
  font-weight: bold;
  margin-top: -1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

/* Meeting speech bubbles */
.office_meetingSpeech__SpEqX {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  background: rgba(10, 10, 15, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 5px 8px;
  max-width: 400px;
  min-width: 100px;
  pointer-events: none;
  z-index: 100;
  animation: office_speechFadeIn__LotPj 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.office_meetingSpeech__SpEqX::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255, 255, 255, 0.3);
}

.office_meetingSpeech__SpEqX span {
  font-size: 10px;
  line-height: 1.4;
  color: #fff;
  word-break: break-all;
  display: block;
  max-height: 40px;
  overflow: hidden;
}

.office_meetingActive__GdaPZ {
  position: absolute;
  font-size: 8px;
  color: var(--warning);
  white-space: nowrap;
  z-index: 4;
  transform: translateX(-50%);
  animation: office_meetingPulse__1F2TH 2s ease-in-out infinite;
}

/* ============================
   ACTIVITY BAR
   ============================ */
.office_activityBar__oruMj {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 10px 16px;
  color: var(--text-primary);
}

.office_activityHeader__EhIEt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.office_activityLabel__HvexO {
  font-size: 10px;
  font-weight: bold;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.office_activityCount__iX9la {
  font-size: 9px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.office_activityFilter__a3vgD {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.office_activityFilter__a3vgD:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.office_activityScroll__yPnnO {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 240px;
  overflow-y: auto;
}

.office_activityItem__n9I1l {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  animation: office_logFadeIn__srhrY 0.3s ease;
}

.office_activityTime__Mk_Iq {
  font-size: 9px;
  color: var(--text-secondary);
  font-family: monospace;
  flex-shrink: 0;
  min-width: 56px;
  padding-top: 1px;
}

.office_activityTypeBadge__WqLyY {
  font-size: 7px;
  font-weight: bold;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 4px;
  border-radius: 2px;
  flex-shrink: 0;
  min-width: 28px;
  text-align: center;
  margin-top: 1px;
}

.office_activityTypeWork__QO0ys {
  color: var(--success);
  background: rgba(63, 185, 80, 0.1);
}

.office_activityTypeError__tV7k0 {
  color: var(--error);
  background: rgba(248, 81, 73, 0.15);
}

.office_activityDot__m8vXo {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.office_activityName__Waa8J {
  font-weight: bold;
  flex-shrink: 0;
  min-width: 50px;
  font-size: 10px;
}

.office_activityText__rl6iA {
  color: var(--text-primary);
  font-size: 10px;
  flex: 1;
  line-height: 1.5;
  word-break: break-all;
}

.office_activityEmpty__COiuU {
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes office_blink__Gt_JA {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes office_walkBounce__ojBhp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes office_floatUp__IDnvP {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(-8px); opacity: 1; }
}

@keyframes office_gentleBob__E4uxm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes office_speechFadeIn__LotPj {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes office_meetingPulse__1F2TH {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes office_logFadeIn__srhrY {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes office_statusPulse___EtuK {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes office_thinkPulse__3zUrB {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(-4px); opacity: 1; }
}

@keyframes office_typingBounce__rIulf {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes office_shakeError__tPi67 {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

/* ============================
   Mobile Responsive — ≤ 600px
   ============================ */
@media (max-width: 600px) {
  .office_container__unUqC {
    padding: 8px;
    gap: 8px;
  }

  .office_officeBar__AryRN {
    padding: 6px 10px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .office_officeTitle___2jEk {
    font-size: 12px;
    gap: 4px;
  }

  .office_buildingIcon__7RUhX {
    font-size: 16px;
  }

  .office_officeStats__Rf9_9 {
    gap: 8px;
    font-size: 10px;
  }

  .office_clock__w5Kj4 {
    font-size: 10px;
  }

  /* Floor wrapper — fit scaled content within viewport */
  .office_floorWrapper__jJ2iF {
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  /* Smaller characters on mobile */
  .office_agent__S_WdY {
    transform: translate(-12px, -20px);
  }

  .office_nameTag__23yUG {
    font-size: 8px;
    padding: 1px 4px;
  }

  .office_speechBubble__O6QlA {
    max-width: 200px;
    min-width: 80px;
    padding: 4px 6px;
  }

  .office_speechText__072U9 {
    font-size: 9px;
    max-height: 36px;
  }

  .office_taskLabelText__3BGRD {
    font-size: 7px;
    max-width: 100px;
    padding: 1px 4px;
  }

  .office_roleTag__SBgVV {
    font-size: 6px;
  }

  .office_taskDetail__zf8Sr {
    font-size: 6px;
    max-width: 120px;
  }

  .office_sessionMeta__FcDoh {
    display: none; /* hide on mobile */
  }

  .office_roomOverlay__QU3OM {
    display: none; /* hide on mobile */
  }

  /* Activity bar */
  .office_activityBar__oruMj {
    padding: 6px 10px;
  }

  .office_activityHeader__EhIEt {
    gap: 4px;
    margin-bottom: 4px;
  }

  .office_activityLabel__HvexO {
    font-size: 9px;
  }

  .office_activityFilter__a3vgD {
    font-size: 8px;
    padding: 1px 4px;
  }

  .office_activityScroll__yPnnO {
    max-height: 150px;
  }

  .office_activityItem__n9I1l {
    font-size: 10px;
    padding: 3px 0;
  }

  .office_activityTime__Mk_Iq {
    font-size: 8px;
    min-width: 46px;
  }

  .office_activityTypeBadge__WqLyY {
    font-size: 6px;
    min-width: 22px;
    padding: 0 3px;
  }

  .office_activityName__Waa8J {
    font-size: 9px;
    min-width: 40px;
  }

  .office_activityText__rl6iA {
    font-size: 9px;
  }
}

