/* STRUCTiO Core Design System & Theme */

:root {
  --bg-dark: #06080d;
  --bg-panel: rgba(13, 18, 30, 0.65);
  --bg-card: rgba(22, 30, 49, 0.45);
  --border-color: rgba(255, 255, 255, 0.05);
  --border-focus: rgba(6, 182, 212, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  /* Neon Accents */
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #0891b2;
  --accent-purple: #8b5cf6;
  --accent-purple-hover: #7c3aed;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --panel-radius: 14px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

/* Ambient glow orbs */
.ambient-glow {
  position: absolute;
  width: 50vw;
  height: 50vh;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
}

.orb-cyan {
  top: -10%;
  left: -10%;
  background: var(--accent-cyan);
}

.orb-purple {
  bottom: -10%;
  right: -10%;
  background: var(--accent-purple);
}

.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 20px 20px;
  z-index: -1;
  pointer-events: none;
}

/* Header styling */
header {
  height: 64px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  z-index: 10;
}

.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  animation: pulse-laser 2.5s infinite alternate;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--accent-cyan);
}

.version-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  margin-left: 0.75rem;
}

.session-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
}

/* App Main Layout */
.app-container {
  flex: 1;
  display: flex;
  overflow: hidden;
  padding: 1rem;
  gap: 1rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
}

/* Sidebar styling */
.sidebar {
  width: 320px;
  flex-shrink: 0;
  padding: 1.25rem;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.sidebar-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat-mini-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

.text-purple {
  color: var(--accent-purple) !important;
}

.claim-search {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.claim-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.55rem 0.75rem 0.55rem 2.2rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.claim-search input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
}

.claims-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-right: 0.25rem;
}

.claims-list::-webkit-scrollbar {
  width: 4px;
}
.claims-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.empty-list-placeholder {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 3rem;
  padding: 1rem;
  line-height: 1.5;
}

/* Claim Card Item in List */
.claim-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.claim-item-card:hover {
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(22, 30, 49, 0.65);
}

.claim-item-card.active {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.claim-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.claim-id-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.severity-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.severity-pill.minor { background: rgba(16, 185, 129, 0.15); color: #86efac; }
.severity-pill.moderate { background: rgba(245, 158, 11, 0.15); color: #fde047; }
.severity-pill.severe { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.severity-pill.critical { background: rgba(239, 68, 68, 0.3); color: #f87171; animation: flash-alert 1.5s infinite; }

.claim-client-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.claim-address-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim-meta-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}

/* Workspace Panels */
.workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.workspace-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.active-claim-info h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.active-claim-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.workspace-panels {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .workspace-panels {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
}

.viewer-column {
  overflow: hidden;
  position: relative;
}

.panel-header {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-title-group h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.panel-title-group .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Canvas styling */
.canvas-container {
  flex: 1;
  position: relative;
  background: #020305;
  overflow: hidden;
}

#canvas-3d-viewport {
  width: 100%;
  height: 100%;
}

.viewport-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 8, 0.95);
  z-index: 5;
  padding: 2rem;
  text-align: center;
  gap: 0.75rem;
}

.placeholder-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.viewport-placeholder h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}

.viewport-placeholder p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 0.75rem;
}

/* Viewer Controls Overlay */
.viewer-controls {
  display: flex;
  gap: 0.4rem;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tool-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.tool-btn.active {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
}

.tool-btn .material-symbols-outlined {
  font-size: 1.15rem;
}

/* HUD HUD HUD */
.viewer-hud {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 8, 13, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  pointer-events: none;
  z-index: 4;
}

.hud-item {
  display: flex;
  gap: 0.5rem;
}

.hud-label {
  color: var(--text-muted);
}

/* Data adjust details column (Right Column) */
.data-column {
  overflow-y: auto;
  max-height: 100%;
}

.data-column::-webkit-scrollbar {
  width: 4px;
}
.data-column::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
}

.diagnostics-form {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input[readonly] {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 500;
  background: rgba(6, 182, 212, 0.02);
  border-color: rgba(6, 182, 212, 0.08);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
}

/* Assessments Feed List (Measurements & 3D logs) */
.assessments-feed-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.005);
  overflow: hidden;
  margin-top: 0.5rem;
}

.feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.feed-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.feed-tab-btn:hover {
  color: var(--text-main);
}

.feed-tab-btn.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 2px solid var(--accent-cyan);
}

.feed-content {
  padding: 0.75rem;
}

.feed-pane {
  display: none;
  max-height: 140px;
  overflow-y: auto;
}

.feed-pane::-webkit-scrollbar {
  width: 4px;
}
.feed-pane::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
}

.feed-pane.active {
  display: block;
}

.feed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feed-list li {
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.empty-feed-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem !important;
  text-align: center;
  padding: 1.5rem !important;
  border: none !important;
  background: transparent !important;
}

.btn-delete-node {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.btn-delete-node:hover {
  color: var(--danger);
}

/* Cost Adjuster */
.cost-estimator-box {
  background: rgba(139, 92, 246, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  padding: 0.9rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cost-estimator-box h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-purple);
  letter-spacing: 0.05em;
}

.cost-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cost-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cost-input-group label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cost-input-group input {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  color: var(--text-main);
  font-size: 0.8rem;
  outline: none;
  width: 100%;
}

.cost-input-group input:focus {
  border-color: var(--accent-purple);
}

.cost-totals {
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.total-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.total-item strong {
  font-family: var(--font-mono);
  color: var(--text-main);
}

.grand-total {
  font-size: 0.95rem;
  color: var(--text-main);
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}

.submit-claim-btn {
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Button systems */
.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* MODAL: Simulated LiDAR Scanner Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.3s ease-out;
}

.scanner-card {
  width: 680px;
  max-width: 90%;
  padding: 1.5rem;
  background: rgba(13, 18, 30, 0.9);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scanner-viewport-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  background: #020305;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

#scanner-video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* Laser/Radar Scanned HUD elements */
.lidar-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.laser-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: sweep-down 3s infinite linear;
}

.laser-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-cyan);
}
.corner-tl { top: 1.25rem; left: 1.25rem; border-right: none; border-bottom: none; }
.corner-tr { top: 1.25rem; right: 1.25rem; border-left: none; border-bottom: none; }
.corner-bl { bottom: 1.25rem; left: 1.25rem; border-right: none; border-top: none; }
.corner-br { bottom: 1.25rem; right: 1.25rem; border-left: none; border-top: none; }

.hud-coordinate-stats {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(3, 5, 8, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hud-mapping-matrix {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 15px;
  opacity: 0.35;
}

.matrix-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite alternate;
}
.matrix-dot:nth-child(even) { animation-delay: 0.3s; }
.matrix-dot:nth-child(3) { animation-delay: 0.6s; }

.scanner-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.scanner-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-cyan);
}

.scanner-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.scanner-progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scanner-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: width 0.1s linear;
}

.progress-percentage-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  min-width: 32px;
  text-align: right;
}

.scanner-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sweep-down {
  0% { top: 0%; }
  100% { top: 100%; }
}

@keyframes pulse-laser {
  0% { opacity: 0.7; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px var(--accent-cyan); }
}

@keyframes flash-alert {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* PRINT-ONLY CSS STYLING OVERLAYS */
@media print {
  body {
    background: white !important;
    color: black !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  header, .sidebar, .viewer-controls, .cost-estimator-box input, .cost-estimator-box button, .submit-claim-btn, .workspace-actions {
    display: none !important;
  }
  
  .app-container {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  
  .workspace {
    overflow: visible !important;
  }
  
  .workspace-panels {
    grid-template-columns: 1fr !important;
    display: block !important;
  }
  
  .viewer-column {
    height: 400px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 2rem !important;
    page-break-after: avoid;
  }
  
  .glass-panel {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }
  
  /* Print layout report format style sheet */
  .print-only {
    display: block !important;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
  }
  
  .print-header {
    border-bottom: 3px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  
  .print-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
  }
  
  .print-header-meta {
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .print-section {
    margin-bottom: 2.5rem;
    page-break-inside: avoid;
  }
  
  .print-section h3 {
    border-bottom: 1.5px solid #666;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .print-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .print-data-row {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
  }
  
  .print-data-row label {
    font-weight: bold;
    display: inline-block;
    width: 140px;
    color: #444;
  }
  
  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  
  .print-table th, .print-table td {
    border: 1px solid #ccc;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    text-align: left;
  }
  
  .print-table th {
    background: #f0f0f0;
    font-weight: bold;
  }
  
  .print-notes {
    font-size: 0.9rem;
    line-height: 1.6;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 6px;
  }
}

/* --- LOGIN & LANDING GATEWAY SCREEN --- */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.login-left {
  flex: 1.2;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(13, 18, 30, 0.9) 0%, rgba(6, 8, 13, 0.95) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.login-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-brand .logo-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  animation: pulse-glow 2s infinite ease-in-out;
}

.login-brand h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.login-brand h1 span {
  color: var(--accent-cyan);
}

.login-pitch {
  margin: 2rem 0;
}

.login-pitch h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #fff;
}

.login-pitch h2 span {
  color: var(--accent-cyan);
}

.login-pitch p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.feature-item span.icon {
  color: var(--accent-cyan);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.feature-item div {
  font-size: 0.88rem;
}

.feature-item strong {
  display: block;
  color: #fff;
  margin-bottom: 0.1rem;
}

.feature-item p {
  color: var(--text-muted);
  margin: 0;
}

.login-left-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.login-right {
  flex: 0.8;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(6, 8, 13, 0.4);
}

.login-right h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.login-right p.subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.login-form-group {
  margin-bottom: 1.25rem;
}

.login-form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap span.icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  pointer-events: none;
}

.login-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.login-input-wrap input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.03);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.login-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--accent-cyan);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  margin-top: 1.5rem;
}

.login-btn:hover {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
}

.login-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.8rem;
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.3)); }
  50% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.8)); }
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }
  .login-left {
    padding: 2rem;
  }
  .login-right {
    padding: 2rem;
  }
  .login-pitch h2 {
    font-size: 1.3rem;
  }
}
