/* ========================================================================= */
/* STROYNA AI AGENT OFFICE — SCOPED PRODUCTION STYLES                       */
/* Zero bleeding: All styles scoped under #ai-office-root and .ai-office-*  */
/* ========================================================================= */

:root {
  --aio-bg-main: #07111F;
  --aio-bg-card: rgba(17, 29, 48, 0.88);
  --aio-bg-card-hover: rgba(23, 38, 59, 0.95);
  --aio-bg-glass: rgba(14, 25, 42, 0.75);
  
  --aio-border: rgba(40, 66, 91, 0.8);
  --aio-border-glow: rgba(56, 189, 248, 0.35);
  
  --aio-cyan: #38bdf8;
  --aio-emerald: #10b981;
  --aio-mint: #2dd4bf;
  --aio-amber: #f59e0b;
  --aio-rose: #f43f5e;
  --aio-purple: #a855f7;
  
  --aio-text-main: #f8fafc;
  --aio-text-muted: #94a3b8;
  --aio-text-dim: #64748b;
  
  --aio-radius-xl: 20px;
  --aio-radius-lg: 16px;
  --aio-radius-md: 12px;
  --aio-radius-sm: 8px;
}

/* ========================================================================= */
/* 1. FLOATING LAUNCHER (Disabled in favor of unified Right Dock card)       */
/* ========================================================================= */
#ai-office-root .ai-office-launcher,
#aiOfficeLauncher {
  display: none !important;
}

#ai-office-root .ai-office-launcher:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--aio-cyan);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.45);
}

#ai-office-root .ai-office-launcher:active {
  transform: scale(0.96);
}

.ai-office-launcher-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(16, 185, 129, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aio-cyan);
  font-size: 1.35rem;
  margin-bottom: 5px;
  position: relative;
}

.ai-office-launcher-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.ai-office-launcher-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--aio-mint);
  background: rgba(45, 212, 191, 0.12);
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.ai-office-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aio-mint);
  box-shadow: 0 0 8px var(--aio-mint);
  animation: aioPulse 2s infinite ease-in-out;
}

@keyframes aioPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Approval Alert Tag on Launcher */
.ai-office-approval-tag {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  border: 2px solid var(--aio-bg-main);
}

/* ========================================================================= */
/* 2. EXPANDED VIRTUAL OFFICE DRAWER                                         */
/* Anchor left: 320px — 100% PRESERVATION OF THE 320px LEFT SIDEBAR         */
/* ========================================================================= */
#ai-office-root .ai-office-drawer {
  position: fixed;
  top: 0;
  left: 320px;
  right: 150px;
  bottom: 0;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 980;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7), 15px 0 45px rgba(0, 0, 0, 0.7);
  border-left: 1px solid var(--aio-border);
  border-right: 1px solid var(--aio-border);
  border-radius: 0 16px 16px 0;
}

#ai-office-root .ai-office-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Drawer Header */
.ai-office-header {
  height: 68px;
  min-height: 68px;
  background: rgba(14, 25, 42, 0.85);
  border-bottom: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}

.ai-office-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-office-header-title h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}

.ai-office-header-title span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--aio-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}

.ai-office-header-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-office-metric-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--aio-border);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--aio-text-muted);
}

.ai-office-metric-chip strong {
  color: #fff;
}

/* Inactivity Auto-Collapse Countdown Chip */
.ai-office-inactivity-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--aio-text-muted);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 12px;
  border-radius: 12px;
}

.ai-office-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-office-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.ai-office-btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.ai-office-btn-collapse {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--aio-border);
  color: var(--aio-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.ai-office-btn-collapse:hover {
  background: rgba(244, 63, 94, 0.15);
  color: var(--aio-rose);
  border-color: rgba(244, 63, 94, 0.3);
}

/* Drawer Navigation Tabs */
.ai-office-tabs-nav {
  height: 48px;
  background: rgba(11, 20, 36, 0.95);
  border-bottom: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 8px;
}

.ai-office-tab-btn {
  background: transparent;
  border: none;
  color: var(--aio-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.ai-office-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.ai-office-tab-btn.active {
  color: var(--aio-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Drawer Content Body */
.ai-office-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
  display: flex;
}

/* ========================================================================= */
/* 3. 2.5D ISOMETRIC VIRTUAL OFFICE WORLD & ANIMATED AI CHARACTERS           */
/* ========================================================================= */
.ai-office-canvas-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #0d1a2d 0%, #050b14 100%);
  position: relative;
}

/* Isometric Navigation & Control Toolbar */
.aio-iso-toolbar {
  padding: 12px 20px;
  background: rgba(11, 22, 38, 0.95);
  border-bottom: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.aio-iso-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.aio-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--aio-text-muted);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.aio-filter-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.3);
}

.aio-filter-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(14, 165, 233, 0.35) 100%);
  color: var(--aio-cyan);
  border-color: var(--aio-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.aio-iso-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aio-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--aio-border);
  color: var(--aio-text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aio-tool-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Isometric World Viewport Container */
.aio-iso-viewport {
  flex: 1;
  position: relative;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
  perspective: 1400px;
}

/* 2.5D Isometric Floor Plan */
.aio-iso-floorplan {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Realistic Isometric Rooms */
.aio-iso-room {
  background: linear-gradient(145deg, rgba(16, 29, 48, 0.85) 0%, rgba(9, 18, 31, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.aio-iso-room:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.15);
}

.aio-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aio-room-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.aio-room-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--aio-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Floor Grid & Conduits inside Room */
.aio-room-floor {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 12px, transparent 12px, transparent 24px);
  border-radius: 12px;
  padding: 14px;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 180px;
}

/* Furniture Elements */
.aio-furniture-plant {
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 28px;
  height: 38px;
  pointer-events: none;
  opacity: 0.85;
}

.aio-furniture-serverrack {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 60px;
  background: #08111d;
  border: 1px solid #1e3a5f;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 4px;
  gap: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.aio-server-led {
  height: 3px;
  border-radius: 2px;
  background: var(--aio-cyan);
  animation: aioLedBlink 1.4s infinite alternate;
}

@keyframes aioLedBlink {
  0% { opacity: 0.3; background: #0284c7; }
  50% { opacity: 1; background: #38bdf8; }
  100% { opacity: 0.5; background: #10b981; }
}

/* Conference Table */
.aio-conf-table {
  width: 85%;
  height: 80px;
  border-radius: 36px;
  background: linear-gradient(135deg, #132438 0%, #0d1a29 100%);
  border: 2px solid #29496d;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6), inset 0 0 20px rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aio-conf-holo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aio-cyan);
  font-size: 1.1rem;
  animation: aioSpin 10s linear infinite;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* ========================================================================= */
/* 2.5D ISOMETRIC AI EMPLOYEE WORKSTATION DESK & ANIMATED CHARACTER          */
/* ========================================================================= */
.aio-workstation {
  width: 220px;
  background: rgba(13, 25, 43, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.aio-workstation:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--aio-cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.3);
}

.aio-workstation.running {
  border-color: var(--aio-mint);
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.35), inset 0 0 12px rgba(45, 212, 191, 0.15);
}

.aio-workstation.waiting {
  border-color: var(--aio-amber);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
  animation: aioPulseBeacon 1.6s infinite;
}

@keyframes aioPulseBeacon {
  0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 28px rgba(245, 158, 11, 0.6); }
  100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
}

/* Reactive Floating Thought Bubble */
.aio-thought-bubble {
  position: absolute;
  top: -24px;
  background: rgba(14, 27, 46, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--aio-cyan);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 5;
  animation: aioFloatThought 2.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 5px;
}

.aio-thought-bubble.running {
  border-color: var(--aio-mint);
  color: var(--aio-mint);
}

.aio-thought-bubble.waiting {
  border-color: var(--aio-amber);
  color: var(--aio-amber);
}

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

/* Isometric Character Stage */
.aio-character-stage {
  width: 140px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* Animated Character SVG and Accessories */
.aio-char-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Character Animation Classes */
.aio-typing-arms {
  transform-origin: center;
}

.running .aio-typing-arms {
  animation: aioTypingFast 0.35s infinite alternate ease-in-out;
}

@keyframes aioTypingFast {
  0% { transform: rotate(-3deg) translateY(0); }
  100% { transform: rotate(3deg) translateY(-2px); }
}

.aio-char-body {
  transform-origin: bottom center;
  animation: aioBreathing 3s infinite ease-in-out;
}

@keyframes aioBreathing {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.02) translateY(-1px); }
}

.running .aio-screen-glow {
  animation: aioMonitorFlicker 0.4s infinite alternate;
}

@keyframes aioMonitorFlicker {
  0% { filter: drop-shadow(0 0 4px #38bdf8); }
  100% { filter: drop-shadow(0 0 12px #2dd4bf); }
}

/* Character Desk Title & Role Card */
.aio-desk-footer {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.aio-desk-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.aio-desk-role {
  font-size: 0.7rem;
  color: var(--aio-text-muted);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aio-desk-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.aio-desk-status-pill.idle {
  background: rgba(16, 185, 129, 0.15);
  color: var(--aio-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.aio-desk-status-pill.running {
  background: rgba(45, 212, 191, 0.2);
  color: var(--aio-mint);
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.aio-desk-status-pill.waiting {
  background: rgba(245, 158, 11, 0.2);
  color: var(--aio-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* ========================================================================= */
/* SLIDE-OVER EMPLOYEE DOSSIER & CONTROL PANEL                               */
/* ========================================================================= */
.aio-dossier-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  background: rgba(11, 20, 36, 0.96);
  border-left: 1px solid var(--aio-border-glow);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.aio-dossier-overlay.open {
  transform: translateX(0);
}

.aio-dossier-header {
  padding: 20px;
  background: rgba(17, 30, 49, 0.9);
  border-bottom: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aio-dossier-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--aio-border);
  color: var(--aio-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.aio-dossier-close:hover {
  background: rgba(244, 63, 94, 0.2);
  color: var(--aio-rose);
}

.aio-dossier-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aio-dossier-card {
  background: rgba(15, 27, 44, 0.7);
  border: 1px solid var(--aio-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aio-dossier-card h4 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Real Progress Bar */
.aio-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.aio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aio-cyan) 0%, var(--aio-mint) 100%);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Step Log Item */
.aio-step-log-item {
  padding: 8px 10px;
  background: rgba(7, 16, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.74rem;
}

/* ========================================================================= */
/* 4. MODALS & FORMS (WIZARD, TASK COMPOSER, APPROVALS)                      */
/* ========================================================================= */
.ai-office-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.85);
  backdrop-filter: blur(16px);
  z-index: 995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ai-office-modal-card {
  width: 100%;
  max-width: 680px;
  background: #0d1a2d;
  border: 1px solid var(--aio-border-glow);
  border-radius: var(--aio-radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.ai-office-modal-header {
  padding: 18px 24px;
  background: rgba(17, 30, 49, 0.95);
  border-bottom: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-office-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.ai-office-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-office-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-office-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aio-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-office-input {
  background: rgba(14, 25, 42, 0.75);
  border: 1px solid var(--aio-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
}

.ai-office-input:focus {
  border-color: var(--aio-cyan);
  background: rgba(14, 25, 42, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.ai-office-modal-footer {
  padding: 16px 24px;
  background: rgba(17, 30, 49, 0.95);
  border-top: 1px solid var(--aio-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive behavior */
@media (max-width: 1024px) {
  #ai-office-root .ai-office-drawer {
    left: 0;
  }
}
