:root {
  /* Color Palette - Industrial Corporate Aesthetic */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --accent-primary: #1a365d; /* Deep Navy */
  --accent-secondary: #c53030; /* Corporate Red */
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --grid-line: rgba(26, 54, 93, 0.05);
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Typography */
  --font-family: 'JetBrains Mono', monospace; /* Technical, precise feel */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Layout Blueprint Container */
.blueprint-container {
  width: 100%;
  min-height: 100vh;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Header Section */
.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: var(--spacing-md);
}

.project-title {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.project-title h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.project-meta {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floor Plan Grid */
.floor-plan-wrapper {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(20, 40px);
  gap: 2px;
  min-width: 1200px;
  margin: 0 auto;
}

/* Architectural Elements */
.wall {
  background: #2d3748;
}

.room {
  border: 1px solid #cbd5e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  position: relative;
  transition: all 0.2s ease;
}

.room:hover {
  background: rgba(26, 54, 93, 0.03);
  border-color: var(--accent-primary);
}

.room-label {
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 2px;
}

.room-sub {
  color: var(--text-muted);
  font-size: 0.6rem;
}

.room-dim {
  font-size: 0.55rem;
  color: var(--accent-secondary);
  font-weight: 700;
  margin-top: 2px;
  opacity: 0.9;
}

/* Specific Room Types */
.chamber { background: rgba(26, 54, 93, 0.05); border-left: 4px solid var(--accent-primary); }
.open-office { background: #fff; border-style: dashed; }
.core { background: #edf2f7; }
.service { background: #fffaf0; }

/* Icon Placeholders */
.icon-desk {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  margin: 2px;
  display: inline-block;
}

/* Legend */
.legend {
  display: flex;
  gap: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-top: var(--spacing-lg);
  font-size: 0.7rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.legend-color {
  width: 12px;
  height: 12px;
  border: 1px solid var(--border-color);
}

/* Corridor System */
.corridor {
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Compass */
.compass {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

/* Navigation & Interaction */
.nav-tabs {
  display: flex;
  gap: var(--spacing-sm);
}

.btn-tab {
  padding: var(--spacing-sm) var(--spacing-md);
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-tab.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Annotations */
.annotation {
  position: absolute;
  font-size: 0.6rem;
  color: var(--accent-secondary);
  font-weight: bold;
}
