/* ============================================================
   SISTEM TRIASE DESA — mengikuti satyaxbt.xyz:
   latar krem #f4f3ef, heading hitam besar UPPERCASE, nav pill,
   aksen biru elektrik #1438ff, panel gelap #171717 sbg kontras,
   font Space Grotesk.
   ============================================================ */

:root {
  --bg: #f5f6fa;              /* biru/krem super pudar, bersih */
  --bg-card: #ffffff;
  --bg-dark: #171717;         
  --bg-dark-2: #1c1c1c;
  --border: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.15);
  --text: #1a1a1a;
  --text-dim: #4b5563;
  --text-faint: #6b7280;

  --accent: #0033a0;          /* biru tua medis korporat */
  --accent-soft: #3b82f6;     
  --accent-dim: rgba(0, 51, 160, 0.08);
  --danger: #dc2626;          
  --danger-soft: #f87171;
  --danger-dim: rgba(220, 38, 38, 0.08);
  --warn: #b45309;            
  --warn-soft: #fbbf24;
  --warn-dim: rgba(180, 83, 9, 0.10);

  --radius: 12px;
  --font: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Topbar: Full width flat navbar (Desain Baru) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 0 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  gap: 2rem;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.brand:hover { opacity: 0.85; }
.brand-thin { font-weight: 600; color: var(--accent); }
.brand-mark {
  width: 26px; height: 26px;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  border: 2px solid var(--accent);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.brand-mark::before { width: 2px; height: 12px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand-mark::after  { width: 12px; height: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Center nav */
.nav {
  display: flex;
  gap: 1.5rem;
  height: 100%;
  margin-left: 2rem;
  margin-right: auto;
}
.nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--accent);
}
.nav a.active {
  color: var(--accent);
  font-weight: 700;
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

/* Right cluster */
.status-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  white-space: nowrap;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}
.dot.online { background: #16a34a; box-shadow: 0 0 6px rgba(22, 163, 74, 0.6); }
.dot.offline { background: var(--danger); box-shadow: 0 0 6px rgba(220, 38, 38, 0.6); }
.dot.pending { background: var(--warn-soft); box-shadow: 0 0 6px rgba(251, 191, 36, 0.7); animation: pulse 1.4s infinite; }

@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Layout ---------- */
.container {
  width: calc(100% - 3rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.2rem 0 3.5rem;
  flex: 1;
}

/* Dua kolom di layar lebar — kiri form/konten, kanan daftar/panel */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}
@media (min-width: 1100px) {
  .split { grid-template-columns: 3fr 2fr; }
  .split > * > .card:last-child { margin-bottom: 0; }
}

/* Animasi masuk halus saat halaman dirender */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
#app > * { animation: fadeUp 0.45s ease both; }
#app > *:nth-child(2) { animation-delay: 0.06s; }
#app > *:nth-child(3) { animation-delay: 0.12s; }
#app > *:nth-child(4) { animation-delay: 0.18s; }
#app > *:nth-child(5) { animation-delay: 0.24s; }

/* Header halaman dlm kartu putih, spt hero "PROJECTS I BUILT" di referensi */
.page-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.4rem 2.7rem;
  margin-bottom: 1.6rem;
}
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);          /* label kecil biru, spt "ABOUT" */
  margin-bottom: 0.8rem;
}
.page-title {
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 700;
  text-transform: uppercase;     /* heading hitam raksasa */
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.page-title .accent { color: var(--accent); }
.page-title::after { content: "."; color: var(--accent); }
.page-sub { color: var(--text-dim); margin-top: 1rem; max-width: 36rem; font-size: 1.02rem; }

/* ---------- Statistik: panel gelap kontras (pola "PROFILE") ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1.6rem;
}
.stat {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--border-dark);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f4f3ef;
}
.stat-value.accent { color: var(--accent-soft); }
.stat-value.danger { color: var(--danger-soft); }
.stat-value.warn { color: var(--warn-soft); }
.stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-top: 0.4rem;
}

/* ---------- Kartu & form ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.6rem;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.16);
}
.card-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}

/* Panel gelap utk tanda vital (pola tabel PROFILE) */
.card-dark {
  background: var(--bg-dark);
  border-color: transparent;
  color: #f4f3ef;
}
.card-dark .card-title { color: #9ca3af; }
.card-dark .detail-grid { display: block; }
.card-dark .detail-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.card-dark .detail-field:last-child { border-bottom: none; }
.card-dark .detail-field .k { color: #9ca3af; }
.card-dark .detail-field .v {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0;
}

/* Grid 12 kolom eksplisit — tiap baris selalu penuh, tanpa sel kosong.
   Desktop : Nama(6) Usia(3) Jenis(3) · 6 tanda vital(2×6) dlm satu baris
   Tablet  : Nama(12) · Usia(6) Jenis(6) · vital 3 per baris
   Ponsel  : vital 2 per baris                                        */
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid .span-6 { grid-column: span 6; }
.form-grid .span-3 { grid-column: span 3; }
.form-grid .span-2 { grid-column: span 2; }

@media (max-width: 900px) {
  .form-grid .span-6 { grid-column: 1 / -1; }
  .form-grid .span-3 { grid-column: span 6; }
  .form-grid .span-2 { grid-column: span 4; }
}
@media (max-width: 560px) {
  .form-grid .span-2 { grid-column: span 6; }
}

label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

input, select, textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: #a8a8a2; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea { resize: vertical; min-height: 90px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  border-radius: 999px;              /* pill, spt tombol situs referensi */
  background: var(--bg-card);
  color: var(--text);
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, border-color 0.15s;
  min-height: 52px; /* target sentuh besar utk kondisi darurat */
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(0.98); }
.btn-accent {
  background: var(--text);            /* tombol hitam pekat */
  border-color: var(--text);
  color: #fff;
}
.btn-accent:hover { background: var(--accent); border-color: var(--accent); }
.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-block { width: 100%; }
.btn-xl { font-size: 1.05rem; padding: 1.1rem 2rem; min-height: 62px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Daftar pasien ---------- */
.patient-list { display: flex; flex-direction: column; gap: 0.8rem; }

.patient-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.patient-item:hover {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.patient-item.kritis { border-left: 4px solid var(--danger); }

.patient-info { flex: 1; min-width: 0; }
.patient-name { font-weight: 700; font-size: 1.05rem; }
.patient-meta { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.15rem; }

.badges { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-kritis  { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(220,38,38,0.25); }
.badge-sedang  { background: var(--warn-dim);   color: var(--warn);   border: 1px solid rgba(180,83,9,0.25); }
.badge-ringan  { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(20,56,255,0.25); }
.badge-neutral { background: var(--bg);         color: var(--text-dim); border: 1px solid var(--border); }
.badge-synced  { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(20,56,255,0.25); }
.badge-pending { background: var(--warn-dim);   color: var(--warn);   border: 1px solid rgba(180,83,9,0.25); }

.empty-state {
  text-align: center;
  color: var(--text-faint);
  padding: 2.2rem 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
}
.card-dark .empty-state { border-color: var(--border-dark); color: #9ca3af; }

/* ---------- Detail pasien ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.detail-field .k {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.detail-field .v { font-size: 1.05rem; font-weight: 700; margin-top: 0.15rem; }

/* Pratinjau foto yang diunggah — dipakai di alur triase */
.retina-preview {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 0.8rem;
}

/* Tampilan kode akses pasien — besar, mudah dibacakan lisan */
.code-display {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--bg-dark-2);
  border: 1px dashed var(--border-dark);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-align: center;
}

.ai-box {
  border-left: 4px solid var(--accent);
  padding-left: 1.2rem;
}
.ai-box.kritis { border-left-color: var(--danger); }
.ai-reasoning { color: var(--text-dim); margin: 0.6rem 0 1rem; }
.ai-recs { list-style: none; }
.ai-recs li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.ai-recs li:last-child { border-bottom: none; }
.ai-recs li::before { content: "→ "; color: var(--accent); font-weight: 700; }

.instruction-history { display: flex; flex-direction: column; gap: 0.8rem; }
.instruction-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.instruction-bubble .who {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}

/* ---------- Lock overlay ---------- */
.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 23, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lock-card {
  max-width: 520px;
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--danger);
  border-radius: 22px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}
.lock-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--danger);
  background: var(--danger-dim);
  border: 1px solid rgba(220, 38, 38, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  animation: pulse 1.4s infinite;
}
.lock-card h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.lock-doctor { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.3rem; }
.lock-instruction {
  background: var(--bg-dark);
  color: #f4f3ef;
  border-radius: 14px;
  padding: 1.3rem;
  margin: 1.4rem 0;
  font-size: 1.12rem;
  font-weight: 500;
  text-align: left;
  white-space: pre-wrap;
}
.lock-note { color: var(--text-faint); font-size: 0.82rem; margin-bottom: 1.4rem; }
.lock-card .btn-accent { background: var(--danger); border-color: var(--danger); }
.lock-card .btn-accent:hover { background: #b91c1c; border-color: #b91c1c; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--bg-dark);
  color: #f4f3ef;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  max-width: 90vw;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  width: calc(100% - 2.8rem);          /* sejajar dgn konten & topbar */
  margin: 0 auto;
  padding: 1.3rem 0.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-label { font-weight: 700; letter-spacing: 0.18em; }

.hidden { display: none !important; }

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 0.5rem 0.6rem; border-radius: 24px; }
  .status-cluster { width: 100%; justify-content: flex-start; }
  .nav { margin-left: auto; }
  .container { padding-top: 1.6rem; }
  .card { padding: 1.4rem; }
  .page-header { padding: 1.6rem 1.4rem 1.8rem; }
  .page-sub { font-size: 0.95rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border-dark); padding: 1.1rem 1.2rem; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-dark); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-value { font-size: 1.9rem; }
}

/* ============================================================
   INDIKATOR REKAM MEDIS — kartu hasil triase, skala urgensi,
   ring keyakinan AI, probabilitas kondisi, timeline pasien.
   Skala status 4 tingkat (kontras teks ≥ 4.3:1 di permukaan terang):
   rendah hijau · sedang amber · tinggi oranye · kritis merah.
   ============================================================ */
:root {
  --u-low:  #15803d; --u-low-dim:  rgba(21, 128, 61, 0.10);  --u-low-line:  rgba(21, 128, 61, 0.30);
  --u-med:  #b45309; --u-med-dim:  rgba(180, 83, 9, 0.10);   --u-med-line:  rgba(180, 83, 9, 0.30);
  --u-high: #c2410c; --u-high-dim: rgba(194, 65, 12, 0.10);  --u-high-line: rgba(194, 65, 12, 0.30);
  --u-crit: #dc2626; --u-crit-dim: rgba(220, 38, 38, 0.10);  --u-crit-line: rgba(220, 38, 38, 0.30);
  --track: rgba(0, 0, 0, 0.08);      /* jalur meter yang belum terisi */
}
.u-low  { --uc: var(--u-low);  --uc-dim: var(--u-low-dim);  --uc-line: var(--u-low-line); }
.u-med  { --uc: var(--u-med);  --uc-dim: var(--u-med-dim);  --uc-line: var(--u-med-line); }
.u-high { --uc: var(--u-high); --uc-dim: var(--u-high-dim); --uc-line: var(--u-high-line); }
.u-crit { --uc: var(--u-crit); --uc-dim: var(--u-crit-dim); --uc-line: var(--u-crit-line); }

.badge-tinggi { background: var(--u-high-dim); color: var(--u-high); border: 1px solid var(--u-high-line); }

/* ---------- Kartu rekam (rc) — pita warna urgensi di tepi atas ---------- */
.rc { position: relative; overflow: hidden; }
.rc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--uc, var(--accent));
}

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}
.rc-date { font-size: 0.84rem; color: var(--text-dim); }

/* Status hero: ikon + tingkat + deskripsi + kategori tindakan */
.rc-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.rc-status-icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 16px;
  background: var(--uc-dim);
  color: var(--uc);
  border: 1px solid var(--uc-line);
}
.rc-status-level {
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--uc);
}
.rc-status-desc { font-size: 0.86rem; color: var(--text-dim); }
.rc-action { margin-left: auto; }

/* Skala urgensi 4 segmen — segmen terisi memakai warna tingkat aktif */
.uscale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 0 0 1.4rem;
}
.uscale-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--track);
  transition: background 0.2s;
}
.uscale-step.on .uscale-bar { background: var(--uc); }
.uscale-step.now .uscale-bar { box-shadow: 0 0 0 3px var(--uc-dim); }
.uscale-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.45rem;
}
.uscale-step.now .uscale-label { color: var(--uc); }

/* Ring keyakinan AI — angka memakai tinta teks, warna dibawa ring */
.conf { text-align: center; flex-shrink: 0; }
.conf-ring { position: relative; width: 72px; height: 72px; margin: 0 auto; }
.conf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.conf-track { fill: none; stroke: var(--accent-dim); stroke-width: 7; }
.conf-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
}
.conf-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.conf-num span { font-size: 0.68rem; font-weight: 700; color: var(--text-faint); margin-left: 1px; }
.conf-cap {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-top: 0.4rem;
}

.rc-summary { color: var(--text-dim); font-size: 0.95rem; }

/* Label seksi dengan garis pemisah */
.rc-sec {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  margin: 1.5rem 0 0.8rem;
}
.rc-sec::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Kemungkinan kondisi + indikator probabilitas 3 titik */
.cond-list { display: flex; flex-direction: column; gap: 0.7rem; }
.cond {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.cond-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.cond-name { font-weight: 700; }
.cond-note { color: var(--text-dim); font-size: 0.88rem; }

.prob { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.prob i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--track);
}
.prob i.on { background: var(--uc); }
.prob b {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--uc);
  margin-left: 0.35rem;
}

/* Chip tanda bahaya */
.danger-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.danger-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--u-crit);
  background: var(--u-crit-dim);
  border: 1px solid var(--u-crit-line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
}

/* Rencana tindakan bernomor */
.plan {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.plan li {
  position: relative;
  counter-increment: step;
  padding: 0.8rem 1rem 0.8rem 3.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
}
.plan li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Panel protokol kegawatdaruratan — dua kolom lakukan / jangan */
.rc-emg {
  background: var(--u-crit-dim);
  border: 1px solid var(--u-crit-line);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  margin-top: 1.5rem;
}
.rc-emg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.rc-emg-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--u-crit);
}
.golden-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--u-crit);
  background: var(--bg-card);
  border: 1px solid var(--u-crit-line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  animation: pulse 1.6s infinite;
}
.rc-emg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.rc-emg-sub {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.emg-list { list-style: none; }
.emg-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}
.emg-list li:last-child { border-bottom: none; }
.emg-list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.emg-list.do li::before { content: "✓"; color: var(--u-low); }
.emg-list.dont li::before { content: "✕"; color: var(--u-crit); }

/* Meta penutup kartu */
.rc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}
.rc-meta .v { font-weight: 500; font-size: 0.92rem; }

/* Titik urgensi kecil — dipakai di panel profil / daftar */
.udot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--uc, var(--text-faint));
  margin-right: 0.45rem;
}

/* Timeline riwayat triase pasien */
.tl { position: relative; padding-left: 1.9rem; }
.tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.1);
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1.9rem + 1px);
  top: 24px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--uc, var(--accent));
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border);
  z-index: 1;
}

@media (max-width: 640px) {
  .rc-status-icon { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 13px; }
  .rc-status-level { font-size: 1.35rem; }
  .rc-action { margin-left: 0; width: 100%; }
  .conf-ring { width: 62px; height: 62px; }
  .conf-num { font-size: 1rem; }
  .rc-emg-cols, .rc-meta { grid-template-columns: 1fr; }
  .tl { padding-left: 1.5rem; }
  .tl-item::before { left: calc(-1.5rem + 1px); }
}

/* ---------- Floating Dark Card Footer ---------- */
.footer-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 2.2rem;
  width: calc(100% - 3rem);
  max-width: 1400px;
  margin: 2rem auto 1.2rem auto;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-desc {
  color: #9ca3af;
  font-size: 0.95rem;
  max-width: 32rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.footer-links a:hover {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}

/* ============================================================
   DASHBOARD KLINIS (HASIL TRIASE)
   ============================================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Kartu Dashboard */
.dash-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  margin-bottom: 1.5rem;
}

.dash-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Header Pasien */
.patient-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.patient-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.4rem;
}
.patient-meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.patient-meta-pill {
  background: #f4f3ef;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.75rem;
  color: #111;
}

.score-row {
  display: flex;
  gap: 2rem;
}
.score-box {
  display: flex;
  flex-direction: column;
}
.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}
.score-val {
  font-size: 1.25rem;
  font-weight: 700;
}
.score-val.good { color: #059669; }
.score-val.warn { color: #d97706; }
.score-val.danger { color: #dc2626; }
.score-val.blue { color: #1438ff; }

/* DR Result Card */
.dr-result-card {
  border: 1px solid #10b981;
  border-left: 5px solid #10b981;
}
.dr-result-card.warn {
  border-color: #f59e0b;
}
.dr-result-card.danger {
  border-color: #ef4444;
}

.dr-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.dr-status {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dr-status.good { color: #059669; }
.dr-status.warn { color: #d97706; }
.dr-status.danger { color: #dc2626; }

.dr-conf-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #1438ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111;
}
.dr-conf-label {
  text-align: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-faint);
  margin-top: 0.2rem;
}

.dr-desc {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.dr-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.dr-chip {
  background: #f4f3ef;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #333;
}

/* Segmented Bar */
.dr-bar-container {
  margin-top: 1.5rem;
}
.dr-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-faint);
}
.dr-bar {
  display: flex;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}
.dr-bar-segment {
  flex: 1;
  background: #e5e7eb;
  position: relative;
}
.dr-bar-segment.active {
  background: #10b981;
}
.dr-bar-segment.active.warn {
  background: #f59e0b;
}
.dr-bar-segment.active.danger {
  background: #ef4444;
}

/* Penalaran & Saran Panel */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .split-panels {
    grid-template-columns: 1fr;
  }
}

.clinical-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clinical-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.numbered-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}
.num-badge {
  background: #1f2937;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Penampil Fundus (Right Column) */
.fundus-viewer {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.fundus-viewer img {
  width: 100%;
  display: block;
}
.fundus-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.viewer-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.viewer-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.2rem;
}
.viewer-btn:hover {
  color: #111;
}

.viewer-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}
.v-tab {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}
.v-tab.active {
  border-color: #1438ff;
  color: #1438ff;
  background: #f0f3ff;
}

/* Catatan Textarea */
.clinical-notes {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 100px;
  background: #f9fafb;
}
.clinical-notes:focus {
  outline: none;
  border-color: #1438ff;
  background: #fff;
}

/* Action Buttons Grid */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-outline {
  background: #fff;
  border: 1px solid #1438ff;
  color: #1438ff;
  color: #333;
}

/* Segmented Bar */
.dr-bar-container {
  margin-top: 1.5rem;
}
.dr-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-faint);
}
.dr-bar {
  display: flex;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}
.dr-bar-segment {
  flex: 1;
  background: #e5e7eb;
  position: relative;
}
.dr-bar-segment.active {
  background: #10b981;
}
.dr-bar-segment.active.warn {
  background: #f59e0b;
}
.dr-bar-segment.active.danger {
  background: #ef4444;
}

/* Penalaran & Saran Panel */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .split-panels {
    grid-template-columns: 1fr;
  }
}

.clinical-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clinical-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.numbered-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}
.num-badge {
  background: #1f2937;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Penampil Fundus (Right Column) */
.fundus-viewer {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.fundus-viewer img {
  width: 100%;
  display: block;
}
.fundus-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.viewer-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.viewer-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.2rem;
}
.viewer-btn:hover {
  color: #111;
}

.viewer-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}
.v-tab {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}
.v-tab.active {
  border-color: #1438ff;
  color: #1438ff;
  background: #f0f3ff;
}

/* Catatan Textarea */
.clinical-notes {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 100px;
  background: #f9fafb;
}
.clinical-notes:focus {
  outline: none;
  border-color: #1438ff;
  background: #fff;
}

/* Action Buttons Grid */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-outline {
  background: #fff;
  border: 1px solid #1438ff;
  color: #1438ff;
  font-weight: 600;
}
.btn-outline:hover {
  background: #f0f3ff;
}
.btn-full {
  grid-column: 1 / -1;
}

/* Tabel Lesi */
.lesion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.lesion-table th, .lesion-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.lesion-table th {
  background: #f9fafb;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}
.lesion-table tbody tr:last-child td {
  border-bottom: none;
}
.badge-sev {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-sev.none { background: #f3f4f6; color: #6b7280; }
.badge-sev.mild { background: #fef3c7; color: #92400e; }
.badge-sev.moderate { background: #fed7aa; color: #c2410c; }
.badge-sev.severe { background: #fee2e2; color: #991b1b; }

/* Differential Bar */
.diff-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}
.diff-label {
  width: 45%;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 1rem;
}
.diff-bar-bg {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-right: 1rem;
}
.diff-bar-fill {
  height: 100%;
  border-radius: 999px;
}
.diff-pct {
  width: 40px;
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}

/* Risk Gauge */
.risk-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gauge-svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}
.gauge-circle-bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 8;
}
.gauge-circle-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}
.gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111;
}
.gauge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.2;
}

/* Rec Badge */
.rec-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: auto;
}
.rec-badge.indicated { background: #dcfce7; color: #166534; }
.rec-badge.optional { background: #f3f4f6; color: #4b5563; }
.rec-badge.not-recommended { background: #fee2e2; color: #991b1b; }
