:root {
  --ink: #102331;
  --muted: #6f8292;
  --mint: #86f1cf;
  --deep: #001a1c;
  --line: #e4ebee;
  --card: #fff;
}

* {
  box-sizing: border-box;
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

::-webkit-scrollbar,
*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.chat-main::-webkit-scrollbar,
.artifact-body::-webkit-scrollbar,
.side-nav-body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #040a0c;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

/* LANDING PAGE CONTAINER */
.landing {
  color: #fff;
  position: relative;
  overflow-x: hidden;
  background: transparent;
}

/* INTRO SPLASH VIDEO OVERLAY (PRE-SITE LAUNCH) */
.intro-video-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #02080a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  overflow: hidden;
}

.intro-video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.intro-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-branding {
  position: absolute;
  top: 28px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.intro-branding .planet {
  color: #85efd0;
  font-size: 20px;
}

.intro-controls {
  position: absolute;
  bottom: 36px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.intro-skip-btn, .intro-sound-btn {
  background: rgba(2, 18, 22, 0.75);
  border: 1px solid rgba(134, 241, 207, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 15px rgba(134,241,207,0.15);
  transition: all 0.25s ease;
}

.intro-skip-btn:hover, .intro-sound-btn:hover {
  background: rgba(134, 241, 207, 0.25);
  border-color: #85efd0;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(134,241,207,0.4);
}

.intro-skip-btn span {
  font-size: 16px;
  color: #85efd0;
  transition: transform 0.2s;
}

.intro-skip-btn:hover span {
  transform: translateX(3px);
}

/* CINEMATIC HERO & VIDEO BACKGROUND */
.cinematic-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.video-frame, .hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: #040a0c url('satellite-hero.png') center/cover no-repeat;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  transform: none;
  will-change: transform;
}

.bg-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.atmosphere {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 12, 0.18) 0%, transparent 50%, rgba(4, 10, 12, 0.2) 100%);
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(4, 8, 9, 0.5) 100%);
  pointer-events: none;
}

.watermark-cover {
  position: fixed;
  right: -25px;
  bottom: -25px;
  width: 440px;
  height: 340px;
  background: radial-gradient(ellipse at 100% 100%, rgba(4, 10, 12, 0.92) 0%, rgba(4, 10, 12, 0.72) 35%, rgba(4, 10, 12, 0.42) 65%, rgba(4, 10, 12, 0.18) 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0 0, transparent 0%, transparent 80%, black 94%, black 100%);
  mask-image: radial-gradient(ellipse 100% 100% at 0 0, transparent 0%, transparent 80%, black 94%, black 100%);
  pointer-events: none;
  z-index: 4;
}

.grain {
  position: absolute;
  inset: -40%;
  z-index: 1;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  animation: grain .75s steps(3) infinite;
}

@keyframes grain {
  0% { transform: translate(0,0); }
  25% { transform: translate(2%,-3%); }
  50% { transform: translate(-2%,3%); }
  75% { transform: translate(4%,1%); }
  100% { transform: translate(0,0); }
}

/* TOP NAVIGATION */
.navigation {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px 18px 24px;
  backdrop-filter: blur(12px);
  background: rgba(4, 12, 14, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform, opacity;
}

/* CONTINUOUS SECTIONS CONTAINER */
.continuous-experience {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
}

.navigation .brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin: 0;
}

.nav-links a {
  position: relative;
  font: 600 15px 'DM Sans', sans-serif;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color .3s;
}

.nav-links a:hover {
  color: #86f1cf;
}

/* BUTTONS */
.button {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.mint {
  background: var(--mint);
  color: #05272b;
  box-shadow: 0 9px 25px rgba(109, 255, 211, 0.18);
}

.outline {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.light {
  background: #fff;
  color: #17303c;
}

/* STORY PANELS */
.story-panels {
  position: relative;
  z-index: 10;
  height: 100%;
  pointer-events: none;
}

.story-panel {
  position: absolute;
  left: 7vw;
  top: 38%;
  width: min(920px, 90vw);
  transform: translate3d(0, -38%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.story-panel.opening-panel {
  opacity: 1;
  visibility: visible;
}

.eyebrow {
  font: 700 13px 'DM Mono', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #86f1cf;
}

.story-panel h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
}

.heading-line {
  white-space: nowrap;
  display: inline-block;
  color: #ffffff !important;
}

.heading-line.highlight {
  color: #86f1cf !important;
}

.story-panel .hero-copy {
  font-size: 17px;
  line-height: 1.55;
  color: #cbe2de;
  max-width: 500px;
  margin: 14px 0 22px;
  font-family: 'DM Sans', sans-serif;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  z-index: 4;
  right: 4vw;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  color: #fff;
}

.scroll-indicator span {
  font: 600 12px 'DM Mono', monospace;
  letter-spacing: .16em;
  opacity: .8;
}

.scroll-indicator i {
  display: block;
  position: relative;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, .5);
  overflow: hidden;
}

.scroll-indicator i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #86f1cf;
  animation: scanIndicator 1.8s ease-in-out infinite;
}

@keyframes scanIndicator {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}

/* AFTERGLOW / SECTION 2 - PLATFORM CAPABILITIES OVERLAY */
.afterglow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 80px 7vw 30px;
  background: transparent;
  border-top: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.afterglow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  opacity: 0.25;
  filter: blur(60px);
  background: radial-gradient(circle, #166352 0%, #092621 40%, transparent 70%);
  pointer-events: none;
}

.afterglow-header {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: 40px;
}

.afterglow-header h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.afterglow-header h2 em {
  font-style: normal;
  color: #86f1cf;
}

.afterglow-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #e1f5f2;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.afterglow .feature-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
}

.feature-card {
  background: rgba(3, 25, 28, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(134, 241, 207, 0.15);
  border-color: #86f1cf;
  transform: translateY(-4px);
}

.feature-card i {
  font-style: normal;
  color: #86f1cf;
  font-size: 24px;
  margin-bottom: 4px;
}

.feature-card strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: 'Manrope', sans-serif;
}

.feature-card span {
  font-size: 13px;
  color: #d0ebe7;
  line-height: 1.4;
}

.afterglow-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

/* SECTION 3: WORKSPACE & CHAT ASSISTANT OVERLAY (WATERFALL) */
.workspace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
}

.workspace.active-workspace {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* SIDE NAV & ACCOUNT CARD */
.side-nav {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  background: rgba(2, 10, 13, 0.45);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(134, 241, 207, 0.2);
  padding: 16px 12px 18px 12px;
  color: #fff;
  z-index: 10;
}

.side-nav-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.brand.dark {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
}

.brand.dark small {
  display: block;
  font: 10px 'DM Sans', sans-serif;
  color: #86f1cf;
  margin-top: 2px;
}

.chatgpt-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-link {
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  background: transparent;
  padding: 10px 11px;
  border-radius: 8px;
  color: #cbe2de;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.side-link:hover {
  background: rgba(134, 241, 207, 0.15);
  color: #86f1cf;
  transform: translateX(3px);
}

.side-link span {
  font-size: 16px;
}

.side-link.selected {
  background: rgba(134, 241, 207, 0.22);
  color: #86f1cf;
}

.sidebar-section {
  margin-top: 23px;
}

.sidebar-section small {
  display: block;
  color: #86f1cf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 10px 8px;
}

.history-item, .library-item {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 7px;
  color: #b0cac5;
  font-size: 12px;
  padding: 9px 11px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.history-item:hover, .library-item:hover {
  background: rgba(134, 241, 207, 0.12);
  color: #fff;
}

.library-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.library-item span {
  font-size: 15px;
}

.library-item b {
  margin-left: auto;
  font-size: 11px;
  background: rgba(134, 241, 207, 0.2);
  color: #86f1cf;
  border-radius: 8px;
  padding: 2px 7px;
}

/* ACCOUNT HOLDER CARD */
.account-card {
  background: rgba(4, 18, 22, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(134, 241, 207, 0.25);
  border-radius: 9px;
  padding: 10px;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.account-card:hover {
  background: rgba(134, 241, 207, 0.15);
  border-color: #86f1cf;
}

.account-avatar, .profile-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #10332d, #86f1cf);
  color: #041214;
  border-radius: 50%;
  font-weight: 800;
}

.account-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.account-card b {
  font-size: 12px;
  color: #fff;
}

.account-card small {
  font-size: 10px;
  color: #86f1cf;
  margin-top: 2px;
}

.account-card i {
  margin-left: auto;
  font-style: normal;
  color: #86f1cf;
}

/* QUERY AREA & CHAT WORKSPACE */
.query-area {
  display: flex;
  flex-direction: row;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(to right, rgba(2, 10, 13, 0.45) 0%, rgba(3, 15, 18, 0.75) 45%, rgba(2, 10, 12, 0.96) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}

.chat-pane {
  flex: 1;
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr) auto;
  height: 100%;
  min-width: 0;
  transition: flex 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  background: transparent;
}

.chat-pane.hidden {
  display: none !important;
}

/* CLAUDE-STYLE ARTIFACT SIDE PANEL */
.artifact-pane {
  width: 0;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  background: rgba(2, 12, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(134, 241, 207, 0.22);
  height: 100%;
  box-sizing: border-box;
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
  position: relative;
  z-index: 15;
}

.artifact-pane.open {
  width: 600px;
  max-width: 52%;
  opacity: 1;
  pointer-events: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.7);
}

.artifact-pane.fullscreen {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1;
}

.artifact-header {
  height: 60px;
  border-bottom: 1px solid rgba(134, 241, 207, 0.18);
  background: rgba(3, 18, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.artifact-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.artifact-badge {
  font: 9px 'DM Mono', monospace;
  letter-spacing: 1px;
  color: #85efd0;
  text-transform: uppercase;
  background: rgba(134, 241, 207, 0.15);
  border: 1px solid rgba(134, 241, 207, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
}

.artifact-meta h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.artifact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.artifact-actions button {
  background: rgba(134, 241, 207, 0.1);
  border: 1px solid rgba(134, 241, 207, 0.28);
  color: #85efd0;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.artifact-actions button:hover {
  background: rgba(134, 241, 207, 0.25);
  border-color: #85efd0;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(134, 241, 207, 0.3);
}

.artifact-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.artifact-body::-webkit-scrollbar {
  width: 6px;
}
.artifact-body::-webkit-scrollbar-track {
  background: rgba(2, 10, 13, 0.3);
}
.artifact-body::-webkit-scrollbar-thumb {
  background: rgba(134, 241, 207, 0.25);
  border-radius: 3px;
}
.artifact-body::-webkit-scrollbar-thumb:hover {
  background: rgba(134, 241, 207, 0.45);
}

/* CLAUDE-STYLE ARTIFACT CARD IN CHAT THREAD */
.claude-artifact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 20, 24, 0.7);
  border: 1px solid rgba(134, 241, 207, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 12px rgba(134, 241, 207, 0.1);
  transition: all 0.25s ease;
}

.claude-artifact-card:hover {
  background: rgba(6, 32, 38, 0.85);
  border-color: #85efd0;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(134, 241, 207, 0.3);
}

.artifact-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.artifact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(134, 241, 207, 0.15);
  border: 1px solid rgba(134, 241, 207, 0.3);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.artifact-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.artifact-card-kind {
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #85efd0;
}

.artifact-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.artifact-card-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #85efd0;
  font-size: 12px;
  font-weight: 600;
}

.artifact-pill-status {
  background: rgba(134, 241, 207, 0.12);
  border: 1px solid rgba(134, 241, 207, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.artifact-pill-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.claude-artifact-card:hover .artifact-pill-arrow {
  transform: translateX(3px);
}

/* CLAUDE CHAT RESPONSE FORMATTING */
.ai-message .claude-chat-body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #e2f4f1;
  letter-spacing: 0.1px;
}

.ai-message .claude-chat-body p {
  margin: 0 0 12px;
}

.ai-message .claude-chat-body p:last-child {
  margin-bottom: 0;
}

.ai-message .claude-chat-body strong,
.ai-message .claude-chat-body b {
  color: #ffffff;
  font-weight: 700;
}

.ai-message .claude-chat-body ul,
.ai-message .claude-chat-body ol {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.ai-message .claude-chat-body li {
  margin-bottom: 6px;
  color: #d1eae6;
}

.ai-message .claude-chat-body .claude-takeaway {
  background: rgba(3, 24, 28, 0.6);
  border: 1px solid rgba(134, 241, 207, 0.25);
  border-left: 4px solid #85efd0;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 13.5px;
  color: #c9ede6;
}

.work-header {
  height: 60px;
  border-bottom: 1px solid rgba(134, 241, 207, 0.14);
  background: rgba(2, 10, 13, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: relative;
  z-index: 10;
}

.chat-title b {
  display: block;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.chat-title span {
  display: block;
  font-size: 11px;
  color: #86f1cf;
  margin-top: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme {
  background: transparent;
  color: #86f1cf;
  font-size: 20px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #10332d, #86f1cf);
  color: #041214;
  font-size: 11px;
  font-weight: 800;
}

.chat-main {
  overflow-y: auto;
  min-height: 0;
  padding: 24px 28px 24px;
  background: transparent;
}

.welcome {
  max-width: 840px;
  margin: 3vh auto 20px;
  text-align: center;
  padding-bottom: 30px;
}

.welcome[hidden] {
  display: none;
}

.welcome-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: rgba(134, 241, 207, 0.22);
  color: #86f1cf;
  border: 1px solid rgba(134, 241, 207, 0.4);
  box-shadow: 0 0 25px rgba(134, 241, 207, 0.35);
  font-size: 32px;
  transform: rotate(-28deg);
}

.welcome, .welcome h1, .welcome p, .welcome-logo {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  caret-color: transparent;
}

.welcome h1 {
  font: 800 clamp(25px, 3vw, 37px)/1.2 'Manrope', sans-serif;
  margin: 0;
  color: #fff;
}

.welcome h1.gaming-heading {
  font-family: 'Cinzel Decorative', 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.3;
  color: #86f1cf;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 auto;
  text-align: center;
  display: inline-block;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  caret-color: transparent;
  text-shadow: 0 0 16px #86f1cf, 0 0 35px rgba(134, 241, 207, 0.8), 0 4px 20px rgba(0, 0, 0, 0.9);
  animation: gamingFloat 3.5s ease-in-out infinite;
}

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

.game-cursor {
  display: inline-block;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  color: #86f1cf;
  margin-left: 4px;
  vertical-align: baseline;
  text-shadow: 0 0 16px #86f1cf, 0 0 35px rgba(134, 241, 207, 0.8);
  animation: gameBlink 0.6s infinite;
}

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

.welcome p {
  color: #d1eae4;
  font-size: 16px;
  margin: 16px auto 32px;
  opacity: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.95);
  background: rgba(2, 12, 15, 0.45);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(134, 241, 207, 0.2);
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: opacity 0.5s ease;
}

.suggestions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.suggestions button {
  border: 1px solid rgba(134, 241, 207, 0.35);
  background: rgba(3, 18, 20, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  min-height: 88px;
  text-align: left;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(134, 241, 207, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.3s ease;
}

.suggestions button.revealed {
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: 0 0 25px rgba(134, 241, 207, 0.4), 0 6px 20px rgba(0,0,0,0.4);
}

.suggestions button:hover {
  background: rgba(134, 241, 207, 0.22);
  border-color: #86f1cf;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(134, 241, 207, 0.5), 0 0 25px rgba(134, 241, 207, 0.7);
}

.chat-thread {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 28px;
}

.message {
  margin: 0 0 26px;
}

.message-label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}

.message-label i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dff6ec;
  color: #087156;
  font-style: normal;
  transform: rotate(-30deg);
}

.message-label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
  color: #86f1cf;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.message-label i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(134, 241, 207, 0.25);
  color: #86f1cf;
  font-style: normal;
  border: 1px solid rgba(134, 241, 207, 0.4);
  transform: rotate(-30deg);
}

.message-label span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(134, 241, 207, 0.8);
  margin-left: 3px;
}

.message-label .processing {
  margin-left: auto;
  color: #86f1cf;
  background: rgba(134, 241, 207, 0.2);
  border: 1px solid rgba(134, 241, 207, 0.4);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.message p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.user-message {
  margin-left: 70px;
  background: rgba(134, 241, 207, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-radius: 12px;
  padding: 13px 16px;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ai-message {
  background: rgba(134, 241, 207, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chat-result {
  margin-top: 16px;
  background: rgba(6, 20, 24, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(134, 241, 207, 0.28);
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.result-image {
  min-height: 215px;
  position: relative;
  background: linear-gradient(135deg, rgba(2, 49, 39, 0.28), transparent), url('satellite-hero.png') center/cover;
}

.image-chip {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  color: #fff;
  background: rgba(0, 36, 38, 0.83);
  padding: 7px 11px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}

.result-mask {
  position: absolute;
  z-index: 1;
  width: 42%;
  height: 53%;
  right: 15%;
  top: 21%;
  background: rgba(31, 121, 255, 0.55);
  clip-path: polygon(27% 0, 72% 14%, 100% 38%, 71% 58%, 64% 100%, 29% 85%, 0 51%);
  filter: drop-shadow(0 0 11px #1b9cff);
}

.result-details {
  padding: 16px;
}

.score {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(134, 241, 207, 0.2);
  padding-bottom: 11px;
}

.score span {
  font-size: 12px;
  color: #a4c9c2;
}

.score b {
  font: 800 27px 'Manrope', sans-serif;
  color: #86f1cf;
}

.score em {
  grid-column: 2;
  font-size: 11px;
  color: #86f1cf;
  font-style: normal;
}

.result-details dl {
  margin: 12px 0;
}

.result-details dl div {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 7px;
  padding: 5px 0;
}

.result-details dt {
  font-size: 12px;
  color: #86f1cf;
}

.result-details dd {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
}

.report-button {
  width: 100%;
  border: 1px solid rgba(134, 241, 207, 0.35);
  border-radius: 6px;
  background: rgba(134, 241, 207, 0.15);
  color: #86f1cf;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.report-button:hover {
  background: rgba(134, 241, 207, 0.3);
  border-color: #86f1cf;
}

/* COMPOSER */
.composer-wrap {
  padding: 12px 24px 14px;
  background: transparent;
  backdrop-filter: none;
  border-top: none;
  position: relative;
  z-index: 10;
}

.location-row, .composer, .composer-note, .attachment-status {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.location-row {
  display: flex;
  align-items: center;
  background: rgba(2, 10, 13, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 10px 14px;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.location-row label {
  font-size: 12px;
  font-weight: 700;
  color: #86f1cf;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.location-row label em {
  font-size: 10px;
  font-style: normal;
  color: #ff8b8b;
  background: rgba(255, 70, 70, 0.18);
  border: 1px solid rgba(255, 100, 100, 0.3);
  padding: 3px 7px;
  border-radius: 5px;
  margin-left: 5px;
}

.location-row input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.location-row input::placeholder {
  color: rgba(134, 241, 207, 0.6);
}

.location-row button {
  background: rgba(134, 241, 207, 0.18);
  color: #86f1cf;
  border: 1px solid rgba(134, 241, 207, 0.4);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.location-row button:hover {
  background: rgba(134, 241, 207, 0.35);
  border-color: #86f1cf;
  box-shadow: 0 0 12px rgba(134, 241, 207, 0.4);
}

.composer {
  display: flex;
  align-items: flex-end;
  background: rgba(2, 10, 13, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-radius: 0 0 12px 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.composer textarea {
  height: 48px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 10px 8px;
  font: 14px 'DM Sans', sans-serif;
  line-height: 1.4;
  width: 100%;
  resize: none;
  outline: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.composer textarea::placeholder {
  color: rgba(200, 230, 225, 0.6);
}

.attach {
  font-size: 22px;
  width: 32px;
  color: #86f1cf;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.attach:hover {
  opacity: 1;
  transform: scale(1.1);
}

.send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #86f1cf;
  color: #041417;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(134, 241, 207, 0.4);
  transition: all 0.25s ease;
}

.send:hover {
  background: #a3f7dd;
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(134, 241, 207, 0.7);
}

.attachment-status {
  font-size: 11px;
  color: #86f1cf;
  padding: 6px 4px 0;
  min-height: 17px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.composer-note {
  color: #86f1cf;
  font-size: 11px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  background: rgba(0, 8, 11, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 14px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* SETTINGS DRAWER & BACKDROP */
.settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 18, 22, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.settings-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.settings-drawer {
  position: fixed;
  z-index: 1001;
  right: 0;
  top: 0;
  width: min(380px, 94vw);
  height: 100vh;
  background: #fafbfc;
  box-shadow: -20px 0 55px rgba(5, 33, 39, 0.22);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 23px;
  box-sizing: border-box;
}

.settings-drawer.open {
  transform: translateX(0) !important;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #132735;
}

.drawer-head button, .close-modal, .close-search {
  position: absolute;
  right: 17px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #38535e;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  border: none;
  transition: background 0.2s ease;
}

.drawer-head button:hover, .close-modal:hover, .close-search:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #111;
}

.profile {
  margin: 31px 0 22px;
  padding: 16px;
  background: #eef5f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10332d, #86f1cf);
  color: #041214 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0;
  overflow: hidden;
}

.profile > div > b, .profile > div > span {
  display: block;
}

.profile > div > b {
  font-size: 14px;
  color: #132735;
}

.profile > div > span {
  color: #6d818d;
  font-size: 11px;
  margin-top: 2px;
}

.profile i {
  font-style: normal;
  color: #13755e;
  font-size: 10px;
  background: #daf4e9;
  padding: 5px 7px;
  border-radius: 7px;
  margin-left: auto;
}

.settings-list {
  border-top: 1px solid #e8eeee;
}

.settings-list button {
  width: 100%;
  padding: 15px 0;
  background: #fafbfc;
  border: none;
  border-bottom: 1px solid #e8eeee;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #294854;
  transition: background 0.2s ease;
}

.settings-list button:hover {
  background: #eef5f2;
}

.settings-list > button > span {
  font-size: 17px;
  width: 26px;
  text-align: center;
}

.settings-list b, .settings-list small {
  display: block;
}

.settings-list b {
  font-size: 13px;
}

.settings-list small {
  font-size: 11px;
  color: #78909b;
  margin-top: 4px;
}

.settings-list em {
  margin-left: auto;
  font-size: 18px;
  color: #8a9da6;
  font-style: normal;
}

.logout {
  width: 100%;
  margin-top: 21px;
  border: 1px solid #f0c6c2;
  background: #fff7f6;
  color: #b44641;
  padding: 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 12px;
}

/* OTHER MODALS & OVERLAYS */
.pipeline-modal, .search-sheet {
  position: fixed;
  z-index: 1005;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 19, 25, .7);
  backdrop-filter: blur(8px);
}

.pipeline-modal.open, .search-sheet.open {
  display: flex;
}

.pipeline-panel {
  width: min(980px, 100%);
  border: 1px solid rgba(144, 248, 211, .28);
  border-radius: 18px;
  padding: 44px 48px;
  color: #eafafa;
  background: radial-gradient(circle at 12% 85%, rgba(11, 147, 114, .25), transparent 28%), #062629;
  box-shadow: 0 30px 90px #0009;
  position: relative;
  overflow: hidden;
}

.search-card {
  width: min(570px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 23px;
  position: relative;
  box-shadow: 0 20px 70px #001c20aa;
}

.search-card label {
  font: 700 15px 'Manrope', sans-serif;
  display: block;
  margin-bottom: 12px;
}

.search-card input {
  width: 100%;
  border: 1px solid #cddedf;
  border-radius: 8px;
  padding: 13px;
  font: 13px 'DM Sans', sans-serif;
  outline-color: #51af96;
}

.search-card small {
  display: block;
  margin: 20px 0 7px;
  color: #85959f;
  font-size: 10px;
  letter-spacing: 1px;
}

.search-card div button {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  text-align: left;
  padding: 9px;
  color: #3f5a67;
  font-size: 12px;
}

.search-card div button:hover {
  background: #f0f8f6;
}

/* WOW TELEMETRY MODAL & HUD FLIGHT STAGE */
.wow-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 16, 22, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #e6f8f6;
  font-family: 'DM Sans', sans-serif;
}

.wow-overlay.open {
  display: flex;
}

.wow-hud {
  width: min(1100px, 96vw);
  background: radial-gradient(circle at 50% 0%, rgba(14, 84, 70, 0.3), rgba(1, 19, 25, 0.92));
  border: 1px solid rgba(134, 241, 207, 0.3);
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(134, 241, 207, 0.1);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.wow-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(134, 241, 207, 0.2);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.wow-brand {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86f1cf;
}

.wow-status-badge {
  background: rgba(134, 241, 207, 0.15);
  border: 1px solid #86f1cf;
  color: #86f1cf;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  animation: pulseBadge 2s infinite;
}

.wow-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.wow-map-stage {
  position: relative;
  height: 380px;
  background: #03181d;
  border: 1px solid rgba(134, 241, 207, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.wow-grid-layer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(134, 241, 207, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(134, 241, 207, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
  pointer-events: none;
}

.wow-sat-image {
  position: absolute;
  inset: -20%;
  background: url('satellite-hero.png') center/cover no-repeat;
  transform: scale(1.8);
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.9) contrast(1.1);
}

.wow-sat-image.zoomed {
  transform: scale(1);
}

/* PULSING RADAR LOCATION MARKER */
.wow-target-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.pin-core {
  width: 14px;
  height: 14px;
  background: #86f1cf;
  border-radius: 50%;
  box-shadow: 0 0 20px #86f1cf, 0 0 40px #1f79ff;
  position: relative;
}

.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid #86f1cf;
  border-radius: 50%;
  animation: sonarPulse 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.radar-ring.r1 {
  width: 50px;
  height: 50px;
  animation-delay: 0s;
}

.radar-ring.r2 {
  width: 90px;
  height: 90px;
  animation-delay: 0.6s;
}

.crosshair-h {
  position: absolute;
  top: 50%;
  left: -40px;
  right: -40px;
  height: 1px;
  background: rgba(134, 241, 207, 0.5);
}

.crosshair-v {
  position: absolute;
  left: 50%;
  top: -40px;
  bottom: -40px;
  width: 1px;
  background: rgba(134, 241, 207, 0.5);
}

.target-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 24, 30, 0.88);
  border: 1px solid #86f1cf;
  color: #86f1cf;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* LASER SCAN BEAM */
.wow-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #86f1cf 20%, #ffffff 50%, #1f79ff 80%, transparent);
  box-shadow: 0 0 20px #86f1cf, 0 0 35px #1f79ff;
  z-index: 6;
  opacity: 0;
}

.wow-laser-beam.active {
  opacity: 1;
  animation: laserScan 2.4s ease-in-out infinite;
}

/* AI NEURAL NODES */
.wow-ai-nodes {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 7;
}

.wow-ai-nodes .node {
  flex: 1;
  background: rgba(0, 25, 32, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(134, 241, 207, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #c0e3de;
}

.wow-ai-nodes .node i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f79ff;
  box-shadow: 0 0 8px #1f79ff;
}

.wow-ai-nodes .node.active i {
  background: #86f1cf;
  box-shadow: 0 0 10px #86f1cf;
  animation: nodePulse 1s infinite alternate;
}

/* TELEMETRY PANEL */
.wow-telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wow-card {
  background: rgba(1, 24, 30, 0.7);
  border: 1px solid rgba(134, 241, 207, 0.2);
  border-radius: 12px;
  padding: 18px;
}

.wow-card h3 {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #86f1cf;
  margin: 0 0 8px;
  font-weight: 700;
}

.hud-coords {
  font-family: monospace;
  font-size: 11px;
  color: #54c4ff;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.wow-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.wow-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1f79ff, #86f1cf);
  transition: width 0.3s ease;
}

.telemetry-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #7e9c9a;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: 0.3s;
}

.step-item span {
  font-weight: 800;
  font-size: 9px;
  color: #357166;
}

.step-item.active {
  background: rgba(134, 241, 207, 0.12);
  color: #86f1cf;
  border-left: 3px solid #86f1cf;
}

.step-item.active span {
  color: #86f1cf;
}

.wow-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.m-box {
  background: rgba(1, 24, 30, 0.7);
  border: 1px solid rgba(134, 241, 207, 0.15);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.m-box small {
  display: block;
  font-size: 8px;
  color: #70908e;
  letter-spacing: 1px;
}

.m-box b {
  display: block;
  font-size: 14px;
  color: #86f1cf;
  margin-top: 4px;
  font-family: 'Manrope', sans-serif;
}

/* INTERACTIVE BEFORE VS AFTER SPLIT SLIDER */
.before-after-slider {
  position: relative;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #72998b;
  margin-top: 16px;
  user-select: none;
  touch-action: none;
}

.slider-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.before-img {
  background-image: linear-gradient(135deg, rgba(7, 49, 39, 0.3), transparent), url('satellite-hero.png');
  z-index: 1;
}

.after-img {
  background-image: linear-gradient(135deg, rgba(7, 49, 39, 0.3), transparent), url('satellite-hero.png');
  filter: hue-rotate(14deg) saturate(1.3);
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-img span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: rgba(0, 25, 30, 0.85);
  backdrop-filter: blur(4px);
  color: #86f1cf;
  font-size: 9px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 4;
  letter-spacing: 0.5px;
}

.after-img span {
  left: auto;
  right: 10px;
}

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #86f1cf;
  z-index: 5;
  transform: translateX(-50%);
  box-shadow: 0 0 10px #86f1cf, 0 0 20px #1f79ff;
  pointer-events: none;
}

.slider-handle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #86f1cf;
  color: #021d1e;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(134, 241, 207, 0.8);
}

.slider-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 6;
  cursor: ew-resize;
}

/* MULTI-SENSOR BAND SELECTOR */
.band-selector {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.band-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #a8c4c3;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
}

.band-btn:hover {
  background: rgba(134, 241, 207, 0.15);
  color: #86f1cf;
  border-color: #86f1cf;
}

.band-btn.active {
  background: #86f1cf;
  color: #032123;
  border-color: #86f1cf;
  box-shadow: 0 4px 15px rgba(134, 241, 207, 0.3);
}

.band-btn.gradcam-btn.active {
  background: linear-gradient(135deg, #ff5252, #ff7b00);
  color: #fff;
  border-color: #ff7b00;
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

/* BOX 4 MULTI-LABEL CLASS DETECTION */
.multilabel-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  margin-top: 16px;
}

.multilabel-box h4 {
  margin: 0 0 12px;
  font-size: 11px;
  color: #a8c6c4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
}

.class-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #d0e6e4;
}

.class-row span {
  width: 130px;
  white-space: nowrap;
}

.class-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.class-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f79ff, #86f1cf);
  border-radius: 4px;
  transition: width 1s ease;
}

.class-row b {
  font-size: 11px;
  color: #86f1cf;
  width: 32px;
  text-align: right;
}

/* CHARTS & METRICS */
.chart-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  margin-top: 16px;
}

.chart-box h4 {
  margin: 0 0 12px;
  font-size: 11px;
  color: #a8c6c4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 85px;
  padding-top: 12px;
}

.bar-group {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.bar-fill {
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, #1f79ff, rgba(31, 121, 255, 0.3));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar-fill.highlight {
  background: linear-gradient(180deg, #86f1cf, rgba(134, 241, 207, 0.3));
  box-shadow: 0 0 15px rgba(134, 241, 207, 0.4);
}

.bar-fill span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #cde5e3;
  white-space: nowrap;
  font-weight: 700;
}

.delta-tag {
  background: rgba(134, 241, 207, 0.15);
  color: #86f1cf;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
  display: inline-block;
}

/* TOAST NOTIFICATIONS */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #0a3837;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: .25s;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ANIMATIONS */
@keyframes sonarPulse {
  0% { width: 20px; height: 20px; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

@keyframes laserScan {
  0% { top: 0%; }
  50% { top: 95%; }
  100% { top: 0%; }
}

@keyframes pulseBadge {
  50% { box-shadow: 0 0 15px rgba(134, 241, 207, 0.5); }
}

@keyframes nodePulse {
  from { transform: scale(1); }
  to { transform: scale(1.4); }
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 760px) {
  .navigation {
    padding: 14px 16px;
  }
  .nav-links {
    display: none;
  }
  .story-panel {
    left: 5vw;
    width: 90vw;
  }
  .story-panel h1 {
    font-size: 36px;
  }
  .afterglow .feature-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .wow-stage {
    grid-template-columns: 1fr;
  }
  .wow-map-stage {
    height: 250px;
  }
  .before-after-slider {
    height: 180px;
  }
  .chat-result {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PORTED RESULT & EVIDENCE STYLES
   ========================================================================== */

.query-main h2,.result h2{font:800 22px Manrope;margin:0 0 18px}
.card,.recent{background:white;border:1px solid #e4eaed;border-radius:9px;padding:14px;box-shadow:0 7px 20px rgba(50,82,90,.025)}
.segmented{display:flex;border:1px solid #deeaeb;border-radius:5px;overflow:hidden;margin-bottom:10px}
.segmented button{flex:1;background:#fff;padding:8px;font-size:11px;font-weight:600;color:#536773}
.segmented .active{background:#e5f7ef;color:#14534a}
.drop-zone{height:108px;border:1px dashed #ccdae1;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#677f91;gap:3px;text-align:center;font-size:12px}
.drop-zone .cloud{font-size:30px;line-height:22px;color:#7591a3}
.drop-zone strong{font-size:12px;margin-top:5px}
.drop-zone small,.drop-zone em{font-size:10px;font-style:normal}
.drop-zone em{color:#8294a2;margin-top:6px}
.file-row{display:flex;gap:8px;align-items:center;border:1px solid #e7edef;border-radius:6px;margin-top:10px;padding:9px;font-size:11px;color:#26719c}
.file-row b{color:#536a78;flex:1}
.file-row small{color:#637e92}
.file-row strong{color:#148267}
.chips{display:flex;flex-wrap:wrap;gap:5px}
.chips button{background:#eaf4ff;color:#4e7193;border-radius:8px;padding:6px 10px;font-size:11px}
.recent{margin-top:14px;padding:12px}
.recent-title{display:flex;justify-content:space-between;font-size:12px}
.recent-title button{background:transparent;color:#527186;font-size:11px}
.recent-list{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.recent-list button{display:flex;align-items:center;text-align:left;gap:8px;background:#fff;border:1px solid #e8eef0;border-radius:6px;padding:7px;font-size:11px;color:#2f4859}
.recent-list b{font-size:11px}
.recent-list small{display:block;color:#718596;font-weight:400;margin-top:3px;font-size:10px}
.result{background:linear-gradient(120deg,#001c1d,#002827 58%,#061716);color:#eff8f8;min-height:100vh}
.result-nav{height:54px;border-bottom:1px solid rgba(255,255,255,.11);padding:0 3%}
.result-nav .nav-links{margin-right:24px;gap:27px}
.result-wrap{max-width:1090px;margin:0 auto;padding:18px 36px 45px}
.result-head{display:flex;justify-content:space-between;align-items:center}
.result h2{font-size:22px;margin:0}
.confidence{display:flex;align-items:center;gap:12px}
.confidence span{font-size:11px;background:#0b644d;color:#b9f1db;padding:8px 14px;border-radius:18px;font-weight:600}
.confidence b{font-size:19px}
.tabs{border-bottom:1px solid rgba(203,237,235,.17);display:flex;gap:38px;margin:18px 0 12px}
.tabs button{color:#99b7b7;background:transparent;padding:10px 0;font-size:12px;font-weight:600}
.tabs .active{color:#82ecc9;border-bottom:2px solid #84f1cf}
.answer-layout{display:grid;grid-template-columns:1fr 280px;gap:28px}
.answer-card>p{font-size:15px;line-height:1.6;max-width:560px;margin-top:8px}
.compare{height:200px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #72998b;border-radius:6px;overflow:hidden;margin-top:17px;max-width:520px}
.before,.after{position:relative;background:linear-gradient(135deg,rgba(7,49,39,.42),rgba(0,0,0,.1)),url('satellite-hero.png') center/cover}
.after{filter:hue-rotate(13deg) saturate(1.25);border-left:1px solid rgba(255,255,255,.35)}
.compare span{position:absolute;top:8px;left:8px;padding:5px 8px;background:rgba(0,28,28,.75);font-size:11px;border-radius:3px}
.flood-mask{position:absolute;inset:30px 16px 20px 25px;background:rgba(33,121,255,.54);clip-path:polygon(32% 0,60% 12%,80% 28%,92% 56%,66% 63%,54% 96%,30% 82%,13% 57%,0 35%);filter:drop-shadow(0 0 9px rgba(40,138,255,.8))}
.scan-beam{position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,#86f1cf,#1f79ff,transparent);box-shadow:0 0 15px #86f1cf,0 0 25px #1f79ff;z-index:5;pointer-events:none}
.result-image{position:relative;overflow:hidden}
.hud-tag{position:absolute;top:10px;right:10px;background:rgba(0,20,25,.75);backdrop-filter:blur(6px);color:#86f1cf;font-family:monospace;font-size:10px;padding:5px 9px;border-radius:4px;border:1px solid rgba(134,241,207,.3);letter-spacing:1px;z-index:4}
.chat-result{box-shadow:0 12px 35px rgba(12,45,40,0.08);border:1px solid #d4e2e4;transition:all 0.3s ease}
.meta{background:rgba(180,213,215,.08);border:1px solid rgba(218,241,239,.1);border-radius:7px;padding:10px 16px}
.meta dl{margin:0}
.meta dl div{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.meta dl div:last-child{border:none}
.meta dt{font-size:11px;color:#b2cbcb}
.meta dd{font-size:12px;line-height:1.4;margin:0;color:#f3fafa;font-weight:600}
.result-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
.result-actions .button{padding:12px 22px;font-size:13px}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#0a3837;color:white;padding:12px 18px;border-radius:8px;font-size:13px;font-weight:600;transition:.25s;z-index:10;box-shadow:0 10px 30px #0004}
.toast.show{opacity:1;transform:translate(-50%,0)}
.query-grid,.answer-layout{grid-template-columns:1fr}
.recent-list{grid-template-columns:1fr}
.result-wrap{padding:18px}
.result-head{align-items:flex-start;gap:15px}
.result h2{font-size:18px}
.confidence{flex-direction:column-reverse;gap:4px}
.tabs{gap:17px;overflow:auto}
.tabs button{white-space:nowrap}
.result-actions{justify-content:stretch}
.result-actions .button{flex:1;padding:11px 8px}


/* ==========================================================================
   MODALS & AUTH STYLES
   ========================================================================== */


/* Modal Base & Container */
.pipeline-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 19, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pipeline-modal.open {
  display: flex !important;
}
.pipeline-panel {
  width: min(980px, 100%);
  border: 1px solid rgba(144, 248, 211, 0.28);
  border-radius: 18px;
  padding: 44px 48px;
  color: #eafafa;
  background: radial-gradient(circle at 12% 85%, rgba(11, 147, 114, 0.25), transparent 28%), #062629;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}
.pipeline-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 36%, rgba(116, 255, 218, 0.06) 48%, transparent 58%);
  pointer-events: none;
}
.close-modal {
  position: absolute;
  right: 17px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #dff5f1;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.pipeline-copy {
  max-width: 550px;
  color: #b4d1cf;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 8px 0 20px;
}
.auth-tab-content, .account-tab-content {
  display: block;
}
.key-input-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.quota-progress-section, .specialist-access-box {
  margin-top: 16px;
}


/* ==========================================================================
   SPECIALIST REPORT & INTERACTIVE STYLES
   ========================================================================== */

/* INTERACTIVE BEFORE VS AFTER SPLIT SLIDER */
.before-after-slider{position:relative;height:240px;border-radius:10px;overflow:hidden;border:1px solid #72998b;margin-top:16px;user-select:none;touch-action:none}
.slider-img{position:absolute;inset:0;background-size:cover;background-position:center}
.before-img{background-image:linear-gradient(135deg,rgba(7,49,39,0.3),transparent),url('satellite-hero.png');z-index:1}
.after-img{background-image:linear-gradient(135deg,rgba(7,49,39,0.3),transparent),url('satellite-hero.png');filter:hue-rotate(14deg) saturate(1.3);z-index:2;clip-path:polygon(50% 0, 100% 0, 100% 100%, 50% 100%)}
.slider-img span{position:absolute;top:10px;left:10px;padding:5px 8px;background:rgba(0,25,30,0.85);backdrop-filter:blur(4px);color:#86f1cf;font-size:9px;font-weight:700;border-radius:4px;z-index:4;letter-spacing:0.5px}
.after-img span{left:auto;right:10px}
.slider-divider{position:absolute;top:0;bottom:0;left:50%;width:2px;background:#86f1cf;z-index:5;transform:translateX(-50%);box-shadow:0 0 10px #86f1cf,0 0 20px #1f79ff;pointer-events:none}
.slider-handle{width:28px;height:28px;border-radius:50%;background:#86f1cf;color:#021d1e;display:grid;place-items:center;font-weight:800;font-size:11px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 15px rgba(134,241,207,0.8)}
.slider-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:6;cursor:ew-resize}

/* MULTI-SENSOR BAND SELECTOR & GRAD-CAM */
.band-selector{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.band-btn{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.18);color:#a8c4c3;padding:8px 14px;border-radius:6px;font-size:12px;font-weight:700;transition:all 0.25s ease;cursor:pointer}
.band-btn:hover{background:rgba(134,241,207,0.15);color:#86f1cf;border-color:#86f1cf}
.band-btn.active{background:#86f1cf;color:#032123;border-color:#86f1cf;box-shadow:0 4px 15px rgba(134,241,207,0.3)}
.band-btn.gradcam-btn.active{background:linear-gradient(135deg,#ff5252,#ff7b00);color:#fff;border-color:#ff7b00;box-shadow:0 4px 15px rgba(255,123,0,0.4)}

/* BOX 4 MULTI-LABEL CLASS DETECTION */
.multilabel-box{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:8px;padding:14px;margin-top:16px}
.multilabel-box h4{margin:0 0 12px;font-size:11px;color:#a8c6c4;letter-spacing:0.8px;text-transform:uppercase;font-weight:700}
.class-row{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:12px;color:#d0e6e4}
.class-row span{width:130px;white-space:nowrap}
.class-track{flex:1;height:8px;background:rgba(255,255,255,0.1);border-radius:4px;overflow:hidden}
.class-fill{height:100%;background:linear-gradient(90deg,#1f79ff,#86f1cf);border-radius:4px;transition:width 1s ease}
.class-row b{font-size:11px;color:#86f1cf;width:32px;text-align:right}

/* ANIMATED CHARTS & METRICS */
.chart-box{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:8px;padding:14px;margin-top:16px}
.chart-box h4{margin:0 0 12px;font-size:11px;color:#a8c6c4;letter-spacing:0.8px;text-transform:uppercase;font-weight:700}
.bar-chart{display:flex;align-items:flex-end;gap:14px;height:85px;padding-top:12px}
.bar-group{flex:1;height:100%;display:flex;align-items:flex-end;position:relative}
.bar-fill{width:100%;height:var(--h);background:linear-gradient(180deg,#1f79ff,rgba(31,121,255,0.3));border-radius:4px 4px 0 0;position:relative;transition:height 1s cubic-bezier(0.2,0.8,0.2,1)}
.bar-fill.highlight{background:linear-gradient(180deg,#86f1cf,rgba(134,241,207,0.3));box-shadow:0 0 15px rgba(134,241,207,0.4)}
.bar-fill span{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:10px;color:#cde5e3;white-space:nowrap;font-weight:700}
.delta-tag{background:rgba(134,241,207,0.15);color:#86f1cf;padding:4px 9px;border-radius:4px;font-size:11px;font-weight:700;margin-left:8px;display:inline-block}

/* MICRO-INTERACTIONS & ANIMATIONS */
.button,.side-link,.history-item,.library-item,.suggestions button,.account-card{transition:transform 0.25s ease,box-shadow 0.25s ease,background 0.25s ease}
.button:active,.send:active{transform:scale(0.95)!important}
.side-link:hover{transform:translateX(3px)}
.suggestions button:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(37,75,83,0.08)!important}

@keyframes sonarPulse{0%{width:20px;height:20px;opacity:1}100%{width:120px;height:120px;opacity:0}}
@keyframes laserScan{0%{top:0%}50%{top:95%}100%{top:0%}}
@keyframes pulseBadge{50%{box-shadow:0 0 15px rgba(134,241,207,0.5)}}
@keyframes nodePulse{from{transform:scale(1)}to{transform:scale(1.4)}}

@media(max-width:760px){
  .wow-stage{grid-template-columns:1fr}
  .wow-map-stage{height:250px}
  .before-after-slider{height:180px}
}

/* HONEST CONFIDENCE STYLING */
.score-container{display:flex;flex-direction:column;gap:4px;padding-bottom:12px;border-bottom:1px solid #edf1f1}
.score-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:700;width:fit-content}
.score-badge.calibrated{background:#dcfce7;color:#15803d;border:1px solid #86efac}
.score-badge.uncalibrated{background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}
.score-badge.uncalibrated::before{content:"⚠";font-size:11px}
.score-badge.calibrated::before{content:"✓";font-weight:800}
.score-detail{font-size:11px;color:#64748b;line-height:1.4;margin-top:2px}

/* DYNAMIC EVIDENCE MAPS & GROUNDING OVERLAYS */
.evidence-container{position:relative;width:100%;border-radius:8px;overflow:hidden;border:1px solid #cbdcde;margin-top:14px;background:#03181d}
.evidence-img-wrapper{position:relative;width:100%;min-height:220px;display:flex;align-items:center;justify-content:center;background:#061b20}
.evidence-img{width:100%;max-height:360px;object-fit:contain;display:block}
.gradcam-overlay-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:opacity 0.3s ease}
.gradcam-overlay-img.sub-threshold{opacity:0.65;filter:contrast(1.15) brightness(0.95)}
.subthreshold-heatmap-pill{position:absolute;top:10px;right:10px;background:rgba(15,23,42,0.88);border:1px solid rgba(251,191,36,0.7);color:#fbbf24;font-size:11px;font-weight:700;padding:4px 10px;border-radius:6px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:10;display:flex;align-items:center;gap:5px;box-shadow:0 4px 12px rgba(0,0,0,0.4)}
.bounding-box-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.bbox-rect{stroke:#10b981;stroke-width:2.5;fill:rgba(16,185,129,0.18);filter:drop-shadow(0 0 4px rgba(16,185,129,0.8));vector-effect:non-scaling-stroke}
.bbox-label{font-family:Manrope,sans-serif;font-size:11px;font-weight:700;fill:#fff;text-shadow:0 1px 3px rgba(0,0,0,0.9)}
.bbox-bg{fill:rgba(16,185,129,0.9);rx:3;ry:3}

/* PRESET SUGGESTIONS GRID - IDENTICAL DARK GLASSMORPHISM TO SUGGESTIONS */
.preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:16px;margin-bottom:14px}
.preset-card{border:1px solid rgba(134,241,207,0.35);background:rgba(3,18,20,0.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:14px;padding:16px 18px;text-align:left;cursor:pointer;color:#ffffff;box-shadow:0 4px 20px rgba(0,0,0,0.4),0 0 15px rgba(134,241,207,0.15);transition:transform 0.35s ease,box-shadow 0.35s ease,border-color 0.35s ease,background 0.3s ease;position:relative;overflow:hidden}
.preset-card:hover{background:rgba(134,241,207,0.22);border-color:#86f1cf;transform:translateY(-4px) scale(1.02);box-shadow:0 8px 30px rgba(134,241,207,0.5),0 0 25px rgba(134,241,207,0.7)}
.preset-card.active{background:rgba(134,241,207,0.25);border-color:#85efd0;box-shadow:0 0 25px rgba(134,241,207,0.6),inset 0 0 15px rgba(134,241,207,0.2);transform:translateY(-2px)}
.preset-card b{display:block;font-size:13.5px;font-weight:700;color:#ffffff;margin-bottom:5px;text-shadow:0 2px 8px rgba(0,0,0,0.95);font-family:'DM Sans',sans-serif}
.preset-card span{display:block;font-size:12px;color:#9ebdb9;line-height:1.4}
.preset-card .tag{display:inline-block;font-size:10px;font-weight:700;padding:3px 8px;border-radius:6px;margin-top:10px;background:rgba(134,241,207,0.12);color:#85efd0;border:1px solid rgba(134,241,207,0.28);letter-spacing:0.3px}


/* LOADING & SWAP NOTIFICATION */
.loading-telemetry{display:inline-flex;align-items:center;gap:8px;color:#0d7a64;font-size:12px;font-weight:600}
.pulse-spinner{width:12px;height:12px;border:2px solid #0d7a64;border-top-color:transparent;border-radius:50%;animation:spin 0.8s linear infinite}
.swap-alert{background:#fef3c7;border:1px solid #f59e0b;color:#92400e;font-size:11px;padding:6px 10px;border-radius:6px;margin:8px 0;display:flex;align-items:center;gap:6px}

/* ==========================================================================
   AUTHENTICATION & ACCOUNT MANAGEMENT STYLES
   ========================================================================== */
.avatar-mini{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#184e42,#73cfb3);color:#fff;font-size:10px;font-weight:700;margin-right:6px}
.avatar-pill-btn{background:transparent;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;transition:transform 0.2s}
.avatar-pill-btn:hover{transform:scale(1.08)}

/* Auth & Account Modal Panels */
.auth-panel,.account-panel{max-width:580px;background:radial-gradient(circle at 85% 15%,rgba(16,185,129,0.15),transparent 40%),#072429;border:1px solid rgba(133,239,208,0.3);box-shadow:0 25px 80px rgba(0,0,0,0.65)}

/* Tabs */
.auth-tabs{display:flex;gap:8px;margin:22px 0 18px;border-bottom:1px solid rgba(133,239,208,0.2);padding-bottom:10px}
.auth-tab-btn,.account-tab-btn{background:transparent;border:none;color:#9bb8b5;font-size:13px;font-weight:700;padding:8px 14px;border-radius:6px;cursor:pointer;transition:all 0.2s}
.auth-tab-btn:hover,.account-tab-btn:hover{color:#fff;background:rgba(255,255,255,0.06)}
.auth-tab-btn.active,.account-tab-btn.active{color:#85efd0;background:rgba(16,185,129,0.18);box-shadow:0 0 12px rgba(16,185,129,0.2)}

/* Persona Switcher Grid */
.persona-grid{display:flex;flex-direction:column;gap:10px}
.persona-card{display:flex;align-items:center;gap:14px;background:rgba(2,18,22,0.6);border:1px solid rgba(133,239,208,0.2);border-radius:10px;padding:12px 14px;cursor:pointer;transition:all 0.25s ease}
.persona-card:hover{border-color:#85efd0;background:rgba(16,185,129,0.12);transform:translateX(3px)}
.persona-card.active-persona{border-color:#10b981;box-shadow:0 0 14px rgba(16,185,129,0.3);background:rgba(16,185,129,0.15)}
.persona-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:16px;font-weight:700;flex-shrink:0}
.persona-info{flex:1}
.persona-info b{display:block;font-size:13px;color:#fff}
.persona-info span{display:block;font-size:11px;color:#8baaa7;margin-top:2px}
.persona-info small{display:block;font-size:10px;color:#85efd0;margin-top:2px;font-weight:600}
.persona-select-btn{background:rgba(255,255,255,0.08);border:1px solid rgba(133,239,208,0.2);color:#d1fae5;font-size:11px;font-weight:600;padding:6px 10px;border-radius:6px;cursor:pointer;transition:all 0.2s}
.persona-card:hover .persona-select-btn{background:#10b981;color:#062629;border-color:#10b981}

/* Form inputs in Modals */
.auth-form,.account-form{display:flex;flex-direction:column;gap:14px}
.form-group{display:flex;flex-direction:column;gap:5px;flex:1}
.form-group label{font-size:11px;font-weight:700;letter-spacing:0.5px;color:#9bb8b5;text-transform:uppercase}
.form-group input{width:100%;box-sizing:border-box;background:rgba(2,18,22,0.8);border:1px solid rgba(133,239,208,0.25);border-radius:8px;padding:11px 13px;color:#fff;font-size:13px;font-family:inherit;outline:none;transition:border-color 0.2s}
.form-group input:focus{border-color:#85efd0;box-shadow:0 0 10px rgba(16,185,129,0.25)}
.form-row-2{display:flex;gap:12px}

/* Quota Container */
.quota-container{background:rgba(2,18,22,0.5);border:1px solid rgba(133,239,208,0.2);border-radius:10px;padding:18px}
.quota-header{display:flex;justify-content:space-between;align-items:center}
.plan-badge-pill{background:#10b981;color:#052427;font-size:10px;font-weight:800;letter-spacing:0.5px;padding:4px 9px;border-radius:20px;text-transform:uppercase}
.quota-bar-track{width:100%;height:8px;background:rgba(255,255,255,0.1);border-radius:4px;overflow:hidden;margin-top:6px}
.quota-bar-fill{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:4px;transition:width 0.4s ease}
.specialist-tags-list{display:flex;flex-wrap:wrap;gap:8px}
.spec-pill{font-size:11px;padding:5px 10px;border-radius:6px;background:rgba(16,185,129,0.12);color:#a7f3d0;border:1px solid rgba(16,185,129,0.3)}

/* Feedback */
.auth-feedback{margin-top:12px;padding:10px 12px;border-radius:6px;font-size:12px}
.auth-feedback.error{background:rgba(239,68,68,0.2);border:1px solid #ef4444;color:#fca5a5}
.auth-feedback.success{background:rgba(16,185,129,0.2);border:1px solid #10b981;color:#a7f3d0}

/* ==========================================================================
   STRUCTURED GEOSPATIAL INTELLIGENCE REPORT CARDS (DARK GLASSMORPHISM)
   ========================================================================== */
.report-card{font-size:13.5px;line-height:1.6;color:#d1eae6;margin-bottom:12px}
.report-card .report-header{border-bottom:1px solid rgba(134,241,207,0.2);padding-bottom:12px;margin-bottom:14px}
.report-card .report-title{font-size:16.5px;font-weight:800;color:#ffffff;margin:0 0 4px;display:flex;align-items:center;gap:8px;text-shadow:0 2px 8px rgba(0,0,0,0.8)}
.report-card .report-subtitle{font-size:12px;color:#85efd0;font-weight:600}

.report-card .discrepancy-box{background:rgba(38,10,18,0.7);border:1px solid rgba(244,63,94,0.4);border-left:4px solid #f43f5e;border-radius:10px;padding:14px 18px;margin:12px 0 16px;box-shadow:0 4px 18px rgba(0,0,0,0.4);color:#fecdd3}
.report-card .discrepancy-box b{color:#fb7185;font-size:12.5px;display:block;margin-bottom:6px;text-transform:uppercase;letter-spacing:0.5px}
.report-card .discrepancy-box p{margin:0;color:#fecdd3;font-size:13px;line-height:1.55}

.report-card .simple-words-box{background:rgba(3,22,26,0.65);border:1px solid rgba(16,185,129,0.35);border-left:4px solid #10b981;border-radius:10px;padding:14px 18px;margin:12px 0 16px;box-shadow:0 4px 20px rgba(0,0,0,0.4),0 0 15px rgba(16,185,129,0.15)}
.report-card .simple-words-box b{color:#85efd0;font-size:12.5px;display:block;margin-bottom:6px;text-transform:uppercase;letter-spacing:0.5px;font-weight:700}
.report-card .simple-words-box p{margin:0;color:#e2f4f1;font-size:13.5px;line-height:1.6}

.report-card .visual-legend-box{background:rgba(3,22,26,0.55);border:1px solid rgba(134,241,207,0.25);border-radius:10px;padding:12px 16px;margin:12px 0 16px}
.report-card .visual-legend-box b{color:#85efd0;font-size:12px;display:block;margin-bottom:8px;text-transform:uppercase;letter-spacing:0.5px;font-weight:700}
.report-card .legend-item{display:flex;align-items:center;gap:10px;font-size:12.5px;margin:6px 0;color:#c5dedb}
.report-card .legend-dot{width:11px;height:11px;border-radius:50%;display:inline-block;flex-shrink:0;box-shadow:0 0 8px currentColor}

.report-card .report-section-title{font-size:13px;font-weight:800;color:#85efd0;margin:16px 0 8px;text-transform:uppercase;letter-spacing:0.5px}
.report-card .report-list{margin:6px 0 10px;padding:0;list-style:none}
.report-card .report-list li{margin:6px 0;display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#c5dedb}
.report-card .report-list li span.bullet{color:#85efd0;font-weight:800}

.report-card .advisory-box{background:rgba(36,24,6,0.7);border:1px solid rgba(245,158,11,0.4);border-left:4px solid #f59e0b;border-radius:10px;padding:12px 16px;margin:14px 0 10px;color:#fde68a;font-size:13px}
.report-card .advisory-box b{display:block;margin-bottom:4px;font-size:12px;text-transform:uppercase;letter-spacing:0.5px;color:#fbbf24}

/* Dark Glassmorphism Overrides for Any Remaining Light Containers */
.report-card div[style*="background:#f8fafb"],
.report-card div[style*="background: #f8fafb"],
.report-card div[style*="background:#f8fafc"],
.report-card div[style*="background: #f8fafc"],
.report-card div[style*="background:#f0fdf9"],
.report-card div[style*="background: #f0fdf9"] {
  background: rgba(2, 20, 24, 0.75) !important;
  border: 1px solid rgba(134, 241, 207, 0.28) !important;
  color: #e2f4f1 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  border-radius: 10px !important;
}

.report-card div[style*="color:#2c4b50"],
.report-card div[style*="color: #2c4b50"] {
  color: #d1eae6 !important;
}

.report-card * {
  border-color: rgba(134, 241, 207, 0.22);
}

.score-container {
  background: rgba(3, 20, 24, 0.6) !important;
  border: 1px solid rgba(134, 241, 207, 0.28) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
}

.score-container div {
  color: #85efd0 !important;
}

.score-container .score-detail {
  color: #a9c6c3 !important;
}

/* Edge Status Pill & Architecture Verification Styles */
.edge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 20, 24, 0.7);
  border: 1px solid rgba(134, 241, 207, 0.35);
  border-radius: 20px;
  padding: 4px 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.edge-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85efd0;
  box-shadow: 0 0 8px #85efd0;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.edge-status-pill .pill-text {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: #c9ede5;
  letter-spacing: 0.2px;
}

.watch-video-btn {
  background: linear-gradient(135deg, #184e42, #1f6b5b);
  color: #85efd0 !important;
  border: 1px solid rgba(134, 241, 207, 0.5);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.watch-video-btn:hover {
  background: linear-gradient(135deg, #1f6b5b, #2a8a76);
  box-shadow: 0 0 12px rgba(133, 239, 208, 0.4);
  transform: translateY(-1px);
}




