/* ==========================================================================
   LEXIVO — Legal Intelligence Engine
   CSS v2.0 — Minimalist Monochrome Editorial Edition
   ========================================================================== */

/* 1. FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important; /* Force strict 90-degree corners globally */
}

/* 2. DESIGN TOKENS */
:root {
  --background:       #FFFFFF; /* Pure White */
  --foreground:       #000000; /* Pure Black */
  --muted:            #F5F5F5; /* Off-White */
  --muted-foreground: #525252; /* Muted Gray */
  --border:           #000000; /* Black borders */
  --border-light:     #E5E5E5; /* Light gray dividers */
  --accent-b:         #000000; /* Re-map accent colors to monochrome */
  --accent-r:         #000000;
  --accent-g:         #000000;
  --accent-y:         #000000;
  
  --gold:             #000000; 
  --gold-light:       #000000;
  --gold-dim:         #000000;
  
  --sidebar-w:        300px;
  --font-head:        'Playfair Display', Georgia, serif;
  --font-body:        'Source Serif 4', Georgia, serif;
  --font-mono:        'JetBrains Mono', monospace;
}

/* 3. GLOBAL BASE STYLES & PAPER TEXTURE */
html, body {
  height: 100%;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.625;
  overflow: hidden;
}

body {
  display: flex;
  height: 100vh;
  position: relative;
}

/* Overlay Paper Noise and Subtle Lines globally on body */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  /* Paper SVG Noise Texture + Tiny Horizontal Hairlines */
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, transparent, transparent 3px, #000000 3px, #000000 4px);
  background-size: auto, 100% 4px;
  opacity: 0.02; /* Muted opacity to keep text crisp */
}

/* 4. LAYOUT PRIMITIVES */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--background);
  border-right: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 10;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
}

/* 5. SIDEBAR DESIGN */
.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
  color: var(--foreground);
  flex-shrink: 0;
  font-weight: 400;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: 1.5px;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted-foreground);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.sidebar-nav {
  padding: 1.5rem 0;
  flex: 1;
}

.nav-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 1.5rem 1.5rem 0.5rem;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: all 100ms steps(1); /* Binary instant feeling */
}

.nav-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.nav-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}

.nav-desc {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 1px;
}

/* Sidebar item hover: Invert completely */
.nav-item:hover {
  background: var(--foreground) !important;
  color: var(--background) !important;
}
.nav-item:hover .nav-name,
.nav-item:hover .nav-desc,
.nav-item:hover .nav-icon {
  color: var(--background) !important;
}

.nav-item-sm {
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 2px solid var(--border);
  background: var(--background);
}

.firm-badge {
  border: 1px solid var(--border);
  padding: 1rem;
}

.firm-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 4px;
}

.firm-loc {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.firm-link {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--foreground);
  text-decoration: underline;
  font-weight: 700;
}
.firm-link:hover {
  background: var(--foreground);
  color: var(--background);
}

/* 6. TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--background);
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
}

.topbar-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--foreground);
}

.topbar-ver {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--foreground);
  margin-left: 10px;
  border: 1px solid var(--border);
  padding: 2px 6px;
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.topbar-sep {
  color: var(--border-light);
}

.btn-clear, .btn-admin {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 100ms steps(1);
}
.btn-clear:hover, .btn-admin:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

/* 7. RESPONSE AREA & WELCOME EDITORIAL LAYOUT */
.response-area {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  background: var(--background);
}

/* Welcome Area */
.welcome {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.welcome-icon {
  font-size: 56px;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: block;
}

.welcome-title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.welcome-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted-foreground);
  margin-bottom: 3.5rem;
}

.welcome-engine-header {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 2rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  text-align: left;
}

/* Grid layout with vertical columns separated by border lines */
.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.welcome-card {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 100ms steps(1); /* Binary hover */
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}

.wcard-icon {
  font-size: 24px;
}

.wcard-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--foreground);
}

.wcard-query {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Welcome Card Inversion Hover */
.welcome-card:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}
.welcome-card:hover .wcard-title,
.welcome-card:hover .wcard-query {
  color: var(--background);
}

/* 8. CHAT INTERACTION DESIGN */
.message {
  display: flex;
  gap: 16px;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.user-avatar {
  background: var(--background);
  color: var(--foreground);
  border: 2px solid var(--border);
}

.ai-avatar {
  background: var(--foreground);
  color: var(--background);
  border: 2px solid var(--foreground);
}

.msg-bubble {
  flex: 1;
  min-width: 0;
}

.user-bubble {
  background: var(--background);
  border: 2px solid var(--border);
  padding: 1rem 1.5rem;
  color: var(--foreground);
  font-size: 14px;
  max-width: 750px;
  line-height: 1.6;
}

.ai-bubble {
  width: 100%;
}

/* Typing Dot Indicator (Monochrome) */
.typing-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--foreground);
  margin: 0 3px;
  animation: blink 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.2} 40%{opacity:1} }

/* 9. INPUT PANEL & CONSOLE DESIGN */
.input-area {
  background: var(--background);
  border-top: 2px solid var(--border);
  padding: 1.5rem 2rem;
  flex-shrink: 0;
}

/* Active Engine Status Banner */
.active-engine-banner {
  border: 2px solid var(--border);
  background: var(--background);
}

/* Domain chips styling */
.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  transition: all 100ms steps(1);
}
.chip:hover, .chip.active {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.query-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Boxed bottom-only text input */
.query-input {
  width: 100%;
  background: var(--background);
  border: 2px solid var(--border);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 1rem;
  resize: none;
  line-height: 1.6;
  transition: border-width 100ms;
}
.query-input:focus {
  outline: none;
  border-width: 3px;
}
.query-input::placeholder {
  color: var(--muted-foreground);
  font-style: italic;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.user-type-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.user-type-select select {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 6px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
}

.user-type-select select:focus {
  outline: 2px solid var(--border);
}

/* Primary Monochrome Button */
.btn-submit {
  background: var(--foreground);
  border: none;
  color: var(--background);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 100ms steps(1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-submit:hover {
  background: var(--background);
  color: var(--foreground);
  outline: 2px solid var(--border);
}
.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Accessibility Focus States */
.btn-submit:focus-visible, 
.btn-clear:focus-visible, 
.btn-admin:focus-visible {
  outline: 3px solid var(--foreground) !important;
  outline-offset: 3px !important;
}

.disclaimer {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   10. LEXIVO REPORT — Stark Editorial Theme
   ========================================================================== */

.lexivo-report {
  width: 100%;
}

.report-section {
  background: var(--background);
  border: 2px solid var(--border);
  margin-bottom: 20px;
  position: relative;
}

/* Header line separates sections with ultra-clean bold look */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.875rem 1.25rem;
  background: var(--foreground); /* Invert: Black header */
  color: var(--background); /* White text */
  border-bottom: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-num {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border: 1px solid var(--border);
}

.section-body {
  padding: 1.5rem 1.75rem;
}

.section-body p {
  font-size: 14px;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.section-body p:last-child {
  margin-bottom: 0;
}

/* Executive Summary Special Contrast */
.exec-summary {
  border-width: 4px; /* Thicker borders */
}
.exec-summary .section-body p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

/* Assessment Grid */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.assess-item {
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 1rem;
}

.assess-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--foreground);
  font-weight: 700;
  margin-bottom: 6px;
}

.assess-item p {
  font-size: 13px;
  margin: 0;
}

/* Engine Tags */
.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.etag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  text-transform: uppercase;
}

/* Risk Progress Bars */
.risk-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.risk-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  width: 150px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.risk-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Pure Black Risk Bar */
.risk-bar {
  height: 100%;
  background: var(--foreground);
  transition: width 400ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* Diagonal stripe pattern for secondary risk metrics (documentation / evidence) */
.risk-bar-doc {
  background-image: repeating-linear-gradient(
    45deg,
    #000000,
    #000000 4px,
    #FFFFFF 4px,
    #FFFFFF 8px
  );
}

.risk-bar-urgency {
  background-image: repeating-linear-gradient(
    -45deg,
    #000000,
    #000000 4px,
    #FFFFFF 4px,
    #FFFFFF 8px
  );
}

.risk-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--foreground);
  width: 55px;
  text-align: right;
  flex-shrink: 0;
}

/* LIS Core Score block */
.lis-score {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lis-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--foreground);
  font-family: var(--font-mono);
}

.lis-max {
  font-size: 14px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
}

/* Stark Lists */
.findings-list, .doc-list, .timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.findings-list li, .doc-list li, .timeline-list li {
  font-size: 13.5px;
  color: var(--foreground);
  padding-left: 20px;
  position: relative;
}
.findings-list li::before, .doc-list li::before, .timeline-list li::before {
  content: '■'; /* Minimalist square marker */
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 8px;
  color: var(--foreground);
}

/* Hidden Risks (Stark severity classification) */
.danger-section {
  border-width: 3px;
}

.risk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-list li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.risk-severity {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  flex-shrink: 0;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.risk-severity.high {
  background: var(--foreground);
  color: var(--background);
}
.risk-severity.med {
  background: var(--background);
  color: var(--foreground);
  border-width: 2px;
}
.risk-severity.low {
  background: var(--background);
  color: var(--muted-foreground);
  border-color: var(--border-light);
}

/* Opportunities */
.opp-section {
  border-width: 3px;
}

.opp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opp-list li {
  font-size: 13.5px;
  padding-left: 24px;
  position: relative;
}
.opp-list li::before {
  content: '◇'; /* Stark diamond bullet */
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 1px;
  color: var(--foreground);
  font-weight: 700;
}

/* Immediate Actions Timeline steps */
.action-list {
  list-style: none;
  counter-reset: actions;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.action-list li {
  counter-increment: actions;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
}
.action-list li::before {
  content: counter(actions);
  background: var(--foreground);
  color: var(--background);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Strategic Moves (Chess Engine) */
.moves {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.move {
  display: flex;
  gap: 14px;
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 1rem;
}

.move-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--background);
  background: var(--foreground);
  padding: 4px 10px;
  height: fit-content;
  text-transform: uppercase;
}

.move-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.move-action {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.move-purpose {
  font-size: 13px;
  color: var(--muted-foreground);
}
.move-doc {
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: underline;
  font-weight: 700;
}

/* Future Scenarios */
.scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.scenario {
  padding: 1rem;
  border: 1px solid var(--border);
}
/* Invert worst case for dramatic emphasis */
.scenario.best  { background: var(--muted); border-width: 1px; }
.scenario.likely { background: var(--background); border-width: 2px; }
.scenario.worst  { background: var(--foreground); color: var(--background); border-color: var(--foreground); }

.sc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.best .sc-label { color: var(--foreground); }
.likely .sc-label { color: var(--foreground); text-decoration: underline; }
.worst .sc-label { color: var(--background); }

.scenario p {
  font-size: 12.5px;
  margin: 0;
}
.worst p {
  color: var(--background);
}

/* Forum list */
.forum-list li {
  font-size: 13.5px;
  padding-left: 20px;
  position: relative;
}
.forum-list li::before {
  content: '🏛';
  position: absolute;
  left: 0;
  font-size: 11px;
  top: 2px;
}

/* Litigation ROI Matrix */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}

.roi-item {
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 1rem;
}
.roi-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}
.roi-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

.roi-rec {
  font-size: 13.5px;
  border-top: 1px dashed var(--border);
  padding-top: 8px;
}

/* Confidence level indicator */
.conf-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  margin-right: 8px;
}
.conf-high  { background: var(--foreground); color: var(--background); }
.conf-med   { background: var(--background); color: var(--foreground); border-width: 2px; }
.conf-low   { background: var(--background); color: var(--muted-foreground); border-color: var(--border-light); }

/* Next Step 24 hour indicator */
.next-step-section {
  border-width: 4px;
}

.next-step-text {
  font-family: var(--font-head);
  font-size: 16px !important;
  font-weight: 700;
  border-left: 4px solid var(--border);
  padding-left: 1.25rem !important;
}

/* 11. SCROLLBARS */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--foreground);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* 12. RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .topbar-right .active-model-tag,
  .topbar-right .topbar-sep {
    display: none;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
  }
  .welcome-title {
    font-size: 32px;
  }
  .response-area {
    padding: 1.5rem;
  }
}
