﻿
/* Vector Icons & Text Badges */
.code-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-red {
  background: rgba(255, 51, 102, 0.18);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
}

.badge-yellow {
  background: rgba(255, 183, 3, 0.18);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
}

.badge-green {
  background: rgba(0, 230, 118, 0.18);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.status-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid currentColor;
}

.status-indicator-box.red .status-code { color: var(--accent-red); }
.status-indicator-box.yellow .status-code { color: var(--accent-yellow); }
.status-indicator-box.green .status-code { color: var(--accent-green); }

.dept-icon svg {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4));
  transition: transform 0.25s ease;
}

.dept-card:hover .dept-icon svg {
  transform: scale(1.15);
}

h1, h2, h3, .modal-header h3, .emergency-left h2 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}:root {
  --bg-main: #060e17;
  --bg-card: #0d1b2a;
  --bg-card-hover: #13273c;
  --bg-elevated: #19324c;
  --accent-cyan: #00d2ff;
  --accent-cyan-light: #5ce1e6;
  --accent-red: #ff3366;
  --accent-red-light: #ff6b8b;
  --accent-yellow: #ffb703;
  --accent-green: #00e676;
  --text-main: #f0f6fc;
  --text-muted: #94a8be;
  --text-dim: #5a738e;
  --border: rgba(0, 210, 255, 0.16);
  --border-focus: rgba(0, 210, 255, 0.45);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-display: 'Cinzel', serif;
  --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-smooth: 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0c2338 0%, #060e17 65%);
  min-height: 100vh;
}

/* Live ECG Canvas */
.live-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Topbar */
.topbar {
  background: rgba(6, 14, 23, 0.94);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.sos-label {
  color: var(--accent-red);
  font-weight: 600;
  margin-right: 6px;
}

.topbar-tel {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
}

.topbar-tel:hover {
  color: var(--accent-cyan);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(6, 14, 23, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d3b66, #06192e);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.3);
}

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

.brand-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: #fff;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-cyan {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--accent-cyan), #0096c7);
  box-shadow: 0 6px 26px rgba(0, 210, 255, 0.5);
}

.btn-emergency {
  background: linear-gradient(135deg, #e63946, #b51724);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 22px rgba(230, 57, 70, 0.4);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #ff4d5e, #c71f2d);
  box-shadow: 0 6px 28px rgba(255, 51, 102, 0.6);
}

.btn-outline-cyan {
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid var(--border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline-cyan:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(19, 39, 60, 0.85);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 940px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 35, 56, 0.75);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.cyan-gradient {
  background: linear-gradient(135deg, #00d2ff, #5ce1e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid var(--border);
  padding: 24px 32px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.metric-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections General */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Triage Card */
.triage-card {
  background: rgba(13, 27, 42, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.triage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
}

.cfg-group {
  margin-bottom: 28px;
}

.cfg-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

/* Urgency Buttons */
.triage-urgency-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.urgency-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.urgency-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.urgency-siren {
  font-size: 1.2rem;
}

.urgency-btn strong {
  font-size: 0.95rem;
}

.urgency-btn small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-left: 32px;
}

.urgency-btn:hover {
  background: var(--bg-card-hover);
}

.urgency-btn.red.active {
  background: rgba(255, 51, 102, 0.12);
  border-color: var(--accent-red);
  box-shadow: 0 0 16px rgba(255, 51, 102, 0.3);
}

.urgency-btn.yellow.active {
  background: rgba(255, 183, 3, 0.12);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 16px rgba(255, 183, 3, 0.25);
}

.urgency-btn.green.active {
  background: rgba(0, 230, 118, 0.12);
  border-color: var(--accent-green);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.25);
}

/* Weight Selector */
.weight-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.weight-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.weight-btn:hover {
  background: var(--bg-card-hover);
}

.weight-btn.active {
  background: #12304d;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

/* Addons */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.addon-item:hover {
  background: var(--bg-card-hover);
}

.addon-item input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  margin-top: 4px;
  width: 16px;
  height: 16px;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-info strong {
  font-size: 0.88rem;
  color: #fff;
}

.addon-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Summary Box */
.summary-frame {
  background: #08121d;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.summary-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
}

.summary-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.status-indicator-box {
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid var(--accent-yellow);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.status-indicator-box.red {
  background: rgba(255, 51, 102, 0.1);
  border-color: var(--accent-red);
}

.status-indicator-box.green {
  background: rgba(0, 230, 118, 0.1);
  border-color: var(--accent-green);
}

.status-icon {
  font-size: 1.8rem;
}

.status-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-meta strong {
  font-size: 0.95rem;
  color: #fff;
}

.status-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.protocol-checklist {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.chk-row span {
  color: var(--text-muted);
}

.chk-row strong {
  color: #fff;
  text-align: right;
  font-weight: 500;
}

.cost-block {
  margin-bottom: 20px;
}

.cost-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.cost-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.cost-big {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.cost-curr {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.cost-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 8px;
}

/* Departments Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  transition: var(--transition-smooth);
}

.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15);
}

.dept-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.dept-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.dept-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Surgeon Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.surgeon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.surgeon-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.surgeon-photo-box {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  background: #0d1b2a;
}

.surgeon-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.surgeon-card:hover .surgeon-photo {
  transform: scale(1.04);
}

.surgeon-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 14, 23, 0.85);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.surgeon-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.surgeon-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.surgeon-title {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-bottom: 14px;
  display: block;
}

.surgeon-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.surgeon-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.surgeon-tags span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Emergency Banner */
.emergency-banner {
  background: linear-gradient(135deg, #2b0b14 0%, #0e1520 100%);
  border: 1px solid var(--accent-red);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(255, 51, 102, 0.25);
}

.emergency-left {
  max-width: 650px;
}

.banner-siren {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.emergency-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.emergency-left p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #040910;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 6px;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  display: block;
}

.footer-back-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-back-link:hover {
  text-decoration: underline;
  color: var(--accent-cyan-light);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 9, 16, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0a1726;
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 210, 255, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 8px;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: #060e17;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.form-checkbox input {
  accent-color: var(--accent-cyan);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .triage-grid {
    grid-template-columns: 1fr;
  }
  .dept-grid {
    grid-template-columns: 1fr 1fr;
  }
  .emergency-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
    line-height: 1.25;
  }
  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  }
  .modal-card {
    padding: 22px 16px !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 94vw !important;
  }
  .modal-header h3 {
    font-size: 1.2rem;
  }
  .modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 8px;
  }
  .btn {
    min-height: 44px;
  }
  .weight-selector {
    grid-template-columns: 1fr;
  }
  .urgency-btn small {
    margin-left: 0;
    margin-top: 4px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .dept-grid {
    grid-template-columns: 1fr;
  }
  .weight-selector {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .metric-sep {
    width: 60px;
    height: 1px;
  }
  .triage-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
  .topbar-right {
    display: none;
  }
}