/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg-0: #020610;
  --bg-1: #080f1e;
  --bg-2: #0d1a30;
  --text: #e8f0ff;
  --muted: #7da0cc;
  --accent-a: #2dd4bf;
  --accent-b: #60a5fa;
  --accent-c: #a78bfa;
  --danger: #fda4af;

  /* glass layers */
  --glass-bg:     rgba(8, 16, 34, 0.38);
  --glass-strong: rgba(10, 22, 44, 0.58);
  --glass-border: rgba(140, 200, 255, 0.18);
  --glass-inner:  rgba(180, 220, 255, 0.06);

  /* shadows */
  --shadow-1: 0 24px 60px rgba(1, 6, 18, 0.65);
  --shadow-2: 0 0 80px rgba(45, 212, 191, 0.12), 0 0 40px rgba(96, 165, 250, 0.10);
  --glow-teal:   0 0 20px rgba(45, 212, 191, 0.35);
  --glow-blue:   0 0 24px rgba(96, 165, 250, 0.30);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%,   rgba(22, 78, 159, 0.50), transparent),
    radial-gradient(ellipse 70% 55% at 92% 100%,  rgba(13, 118, 110, 0.38), transparent),
    radial-gradient(ellipse 60% 40% at 50% 50%,   rgba(60, 20, 120, 0.22), transparent),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, var(--bg-2));
  font-family: Inter, system-ui, Arial, sans-serif;
}

a {
  color: #8bbeff;
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover { color: #c0e0ff; text-decoration: underline; }

button, input, textarea { font: inherit; }

/* ── inputs ───────────────────────────────────────────────── */
input, textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(140, 200, 255, 0.18);
  padding: 10px 14px;
  background: rgba(6, 13, 28, 0.62);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: rgba(45, 212, 191, 0.60);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14), var(--glow-teal);
}

/* ── buttons ──────────────────────────────────────────────── */
button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-b) 0%, var(--accent-a) 100%);
  box-shadow: 0 8px 24px rgba(32, 112, 214, 0.38), var(--glow-blue);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.10);
  box-shadow: 0 12px 32px rgba(32, 112, 214, 0.48), var(--glow-teal);
}

button:active { transform: translateY(0); }

button:focus-visible {
  outline: 2px solid rgba(123, 245, 229, 0.9);
  outline-offset: 2px;
}

/* ── app shell ────────────────────────────────────────────── */
.app-shell {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 24px auto;
  padding: 16px;
}

/* ── glassmorphic card ────────────────────────────────────── */
.glass-shell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    148deg,
    rgba(8, 16, 34, 0.42) 0%,
    rgba(12, 24, 48, 0.36) 60%,
    rgba(16, 32, 60, 0.30) 100%
  );
  backdrop-filter: blur(32px) saturate(160%) brightness(1.05);
  -webkit-backdrop-filter: blur(32px) saturate(160%) brightness(1.05);
  box-shadow: var(--shadow-1), var(--shadow-2),
              inset 0 1px 0 rgba(180, 220, 255, 0.10);
  animation: slide-up 340ms cubic-bezier(.22,.68,0,1.2) both;
}

.glass {
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(180, 220, 255, 0.07);
}

.glass-strong { background: var(--glass-strong); }

.glass-card { padding: var(--space-3); }

/* ── animated gradient border ────────────────────────────── */
.animated-border { position: relative; }

.animated-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    125deg,
    rgba(45, 212, 191, 0.55),
    rgba(96, 165, 250, 0.40),
    rgba(167, 139, 250, 0.50),
    rgba(45, 212, 191, 0.55)
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: border-flow 5s linear infinite;
}

@keyframes border-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── layout helpers ───────────────────────────────────────── */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.page-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #e8f4ff 0%, var(--accent-a) 55%, var(--accent-c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.muted { color: var(--muted); }

/* ── top nav ──────────────────────────────────────────────── */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(140, 200, 255, 0.09);
  flex-shrink: 0;
}

.top-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Ghost pill — Session & Report links */
.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid rgba(140, 200, 255, 0.20);
  background: rgba(10, 22, 46, 0.45);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  text-decoration: none !important;
}

.nav-pill:hover {
  background: rgba(30, 60, 110, 0.58);
  border-color: rgba(96, 165, 250, 0.40);
  color: var(--text) !important;
}

/* Danger-tinted logout pill */
.btn-logout {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(253, 164, 175, 0.10);
  border: 1px solid rgba(253, 164, 175, 0.24);
  color: var(--danger);
  box-shadow: none;
}

.btn-logout:hover {
  background: rgba(253, 164, 175, 0.20);
  border-color: rgba(253, 164, 175, 0.44);
  color: #fecdd3;
  transform: none;
  filter: none;
  box-shadow: 0 4px 16px rgba(253, 164, 175, 0.14);
}

/* keep old class as alias in case it's referenced elsewhere */
.top-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── chat timeline ────────────────────────────────────────── */
.chat-timeline-wrap {
  flex: 1 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.chat-timeline {
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  border-radius: var(--radius-md);
  scroll-behavior: smooth;
}

.btn-scroll-bottom {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 24, 50, 0.80);
  border: 1px solid rgba(96, 165, 250, 0.40);
  box-shadow: 0 4px 16px rgba(0,0,0,0.40), var(--glow-blue);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: fade-in 180ms ease both;
  z-index: 10;
}

.btn-scroll-bottom:hover {
  background: rgba(30, 60, 110, 0.90);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.50), var(--glow-teal);
}

.chat-timeline::-webkit-scrollbar {
  width: 5px;
}
.chat-timeline::-webkit-scrollbar-track {
  background: transparent;
}
.chat-timeline::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.30);
  border-radius: 8px;
}

/* ── message bubbles ──────────────────────────────────────── */
.message-row {
  display: flex;
  margin-bottom: 10px;
  animation: fade-in 250ms cubic-bezier(.22,.68,0,1.2) both;
}

.message-row.user { justify-content: flex-end; }

.message-bubble {
  max-width: min(78ch, 82%);
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(140, 200, 255, 0.16);
  background: rgba(10, 22, 46, 0.62);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  line-height: 1.55;
  box-shadow: 0 4px 20px rgba(1, 6, 18, 0.35),
              inset 0 1px 0 rgba(180, 220, 255, 0.08);
}

.message-bubble.user {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.42) 0%,
    rgba(20, 184, 166, 0.35) 100%
  );
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.12),
              inset 0 1px 0 rgba(180, 255, 240, 0.10);
}

.message-bubble.researcher {
  border-color: rgba(45, 212, 191, 0.40);
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.15),
              inset 0 1px 0 rgba(45, 212, 191, 0.06);
}

.message-meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 196, 250, 0.80);
  margin-bottom: 5px;
  font-weight: 600;
}

/* ── typing indicator (3-dot bounce) ─────────────────────── */
.typing-bubble {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}

.typing-dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-a);
  opacity: 0.85;
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.5; }
  30%           { transform: translateY(-7px); opacity: 1;   }
}

/* ── composer bar ─────────────────────────────────────────── */
.composer {
  flex-shrink: 0;
  padding: 12px;
  border-radius: var(--radius-md);
}

.hitl-prompt {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--accent-a);
  line-height: 1.5;
  padding: 8px 10px;
  border-left: 2px solid var(--accent-a);
  background: rgba(45, 212, 191, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.composer-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.composer-row textarea {
  flex: 1 1;
  resize: none;
}

.composer-row button {
  flex-shrink: 0;
  align-self: flex-end;
  padding: 10px 20px;
}

/* ── auth pages ───────────────────────────────────────────── */
.auth-shell {
  max-width: 520px;
  margin: 8vh auto 0;
}

/* ── report ───────────────────────────────────────────────── */
.report-code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  max-height: 62vh;
}

.btn-report-toggle {
  flex-shrink: 0;
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(167,139,250,0.55), rgba(96,165,250,0.45));
  box-shadow: 0 4px 16px rgba(167,139,250,0.25);
  font-size: 0.88rem;
  padding: 8px 16px;
}

.report-drawer {
  position: relative;
  flex-shrink: 0;
  max-height: 40vh;
  overflow-y: auto;
  overflow-x: hidden;
  animation: fade-in 200ms ease both;
}

.report-drawer::-webkit-scrollbar { width: 4px; }
.report-drawer::-webkit-scrollbar-track { background: transparent; }
.report-drawer::-webkit-scrollbar-thumb {
  background: rgba(167,139,250,0.30);
  border-radius: 6px;
}

.btn-report-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.80rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(140,200,255,0.18);
  box-shadow: none;
  border-radius: 50%;
  line-height: 1;
}

.btn-report-close:hover {
  background: rgba(253,164,175,0.20);
  border-color: rgba(253,164,175,0.40);
  transform: none;
  filter: none;
}

/* ── error ────────────────────────────────────────────────── */
.error-text { color: var(--danger); }

/* ── chat layout (main area only — sidebar is a fixed drawer) ─ */
.chat-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  height: calc(100vh - 64px);
}

/* ── sidebar drawer ───────────────────────────────────────── */
.chat-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 270px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px;
  border-right: 1px solid rgba(140, 200, 255, 0.18);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  background: rgba(5, 11, 26, 0.88);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.55), var(--glow-blue);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 300ms cubic-bezier(.22, .68, 0, 1.2);
  will-change: transform;
}

.chat-sidebar.sidebar-open {
  transform: translateX(0);
}

/* Backdrop that appears behind the open drawer */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 3, 10, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade-in-bg 200ms ease both;
}

@keyframes fade-in-bg {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── hamburger button ─────────────────────────────────────── */
.btn-hamburger {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  background: rgba(10, 22, 46, 0.60);
  border: 1px solid rgba(140, 200, 255, 0.18);
  box-shadow: none;
  border-radius: var(--radius-sm);
}

.btn-hamburger:hover {
  background: rgba(20, 44, 90, 0.75);
  border-color: rgba(96, 165, 250, 0.35);
  transform: none;
  filter: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}

/* ── sidebar close button ─────────────────────────────────── */
.btn-sidebar-close {
  align-self: flex-end;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(140, 200, 255, 0.18);
  box-shadow: none;
  border-radius: 50%;
  margin-bottom: 4px;
}

.btn-sidebar-close:hover {
  background: rgba(253, 164, 175, 0.18);
  border-color: rgba(253, 164, 175, 0.38);
  transform: none;
  filter: none;
  box-shadow: none;
}

.chat-main {
  flex: 1 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow: hidden;
}

/* ── conversations panel ──────────────────────────────────── */
.conv-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.conv-panel-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn-new-conv {
  padding: 6px 14px;
  font-size: 0.82rem;
  background: linear-gradient(135deg, rgba(96,165,250,0.55), rgba(45,212,191,0.50));
  box-shadow: 0 4px 14px rgba(45,212,191,0.20);
}

.conv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.conv-list::-webkit-scrollbar { width: 4px; }
.conv-list::-webkit-scrollbar-track { background: transparent; }
.conv-list::-webkit-scrollbar-thumb {
  background: rgba(96,165,250,0.28);
  border-radius: 6px;
}

.conv-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(10, 20, 42, 0.45);
  border: 1px solid rgba(140, 200, 255, 0.12);
  text-align: left;
  font-size: 0.90rem;
  color: var(--muted);
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.conv-item:hover {
  background: rgba(20, 40, 80, 0.60);
  border-color: rgba(96, 165, 250, 0.30);
  color: var(--text);
  transform: none;
  filter: none;
  box-shadow: none;
}

.conv-item--active {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.38) 0%,
    rgba(45, 212, 191, 0.30) 100%
  );
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--text);
  box-shadow: 0 2px 14px rgba(45,212,191,0.15),
              inset 0 1px 0 rgba(180, 255, 240, 0.08);
}

.conv-item-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.35);
  transition: background 160ms ease;
}

.conv-item--active .conv-item-dot {
  background: var(--accent-a);
  box-shadow: 0 0 6px var(--accent-a);
}

.conv-item-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1 1;
}

/* ── 3-D shader wrapper (behind chat card) ────────────────── */
.chat-shader-wrap {
  position: relative;
}

.chat-shader-canvas-box {
  position: absolute;
  inset: -28px;
  z-index: 0;
  border-radius: calc(var(--radius-lg) + 10px);
  overflow: hidden;
  pointer-events: none;
  /* soft edge fade so shader doesn't hard-clip */
  mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, black 60%, transparent 100%);
}

.glass-shell-above {
  position: relative;
  z-index: 1;
}

/* ── keyframes ────────────────────────────────────────────── */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── prevent horizontal overflow ──────────────────────────── */
html { overflow-x: hidden; }

/* ── performance hints ────────────────────────────────────── */
.glass-shell { contain: layout style; }

/* ── responsive: tablet (769 – 1024px) ───────────────────── */
@media (max-width: 1024px) {
  .app-shell { margin: 12px auto; }
}

/* ── responsive: mobile (≤ 768px) ────────────────────────── */
@media (max-width: 768px) {
  /* Full-bleed shell — no wasted margin on small screens */
  .app-shell {
    margin: 0;
    padding: 0;
  }

  /* Chat card fills full viewport edge-to-edge */
  .chat-shader-wrap { border-radius: 0; }

  /* Kill the WebGL shader on mobile — saves battery and eliminates jank */
  .chat-shader-canvas-box { display: none; }

  .glass-shell { border-radius: 0; }

  .chat-layout {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    border-radius: 0;
  }

  /* Sidebar drawer is narrower and flush on mobile */
  .chat-sidebar {
    width: 82vw;
    max-width: 300px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }

  .chat-main {
    padding: 10px;
    gap: 8px;
  }

  .top-nav { flex-wrap: wrap; padding-bottom: 8px; margin-bottom: 4px; }
  .top-nav-actions { gap: 6px; flex-wrap: wrap; }
  .nav-pill, .btn-logout { padding: 5px 11px; font-size: 0.78rem; }

  /* Wider bubbles on narrow screens */
  .message-bubble { max-width: 90%; }

  /* 16 px prevents iOS from auto-zooming on input focus */
  input, textarea { font-size: 16px; }

  /* Auth pages — card stays inside viewport with a safe margin */
  .auth-shell {
    max-width: calc(100vw - 32px);
    margin: 5vh auto 0;
    border-radius: var(--radius-lg);
  }
}

/* ── responsive: small mobile (≤ 480px) ──────────────────── */
@media (max-width: 480px) {
  /* Auth card goes full-bleed */
  .auth-shell {
    max-width: 100%;
    margin: 0;
    min-height: 100svh;
    min-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Tighter title on very small screens */
  .page-title { font-size: 1.3rem; }

  /* Shrink report drawer so it doesn't fill the screen */
  .report-drawer { max-height: 55vh; }
}

