﻿body.curavault-lock {
  overflow: hidden !important;
}

.curavault-nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(55,111,61,.12), rgba(120,166,109,.10));
  color: #24492b !important;
  border: 1px solid rgba(55,111,61,.16);
  font-weight: 950;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(31,58,34,.08);
  transition: 160ms ease;
}

.curavault-nav-tab:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #376f3d, #24492b);
  color: white !important;
}

#curavault-root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 16%, rgba(55,111,61,.20), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(226,240,217,.95), transparent 34%),
    radial-gradient(circle at 48% 108%, rgba(120,166,109,.20), transparent 36%),
    linear-gradient(135deg, rgba(248,251,245,.97), rgba(235,247,233,.96));
  backdrop-filter: blur(22px);
  overflow: auto;
  color: #17351f;
}

.cv-ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
  opacity: .54;
}

.cv-a1 {
  width: 230px;
  height: 230px;
  left: 8%;
  bottom: 8%;
  background: rgba(55,111,61,.18);
}

.cv-a2 {
  width: 210px;
  height: 210px;
  right: 8%;
  top: 8%;
  background: rgba(255,255,255,.75);
}

.cv-shell {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 32px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(247,252,246,.92));
  box-shadow:
    0 30px 90px rgba(28,52,31,.22),
    inset 0 1px 0 rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.82);
}

.cv-shell.compact {
  width: min(840px, 94vw);
}

.cv-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.cv-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(55,111,61,.09);
  color: #376f3d;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.cv-topline h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: .96;
  letter-spacing: -.045em;
  color: #24492b;
}

.cv-topline p {
  margin: 8px 0 0;
  color: #667268;
  max-width: 660px;
  font-size: 14px;
  line-height: 1.45;
}

.cv-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(55,111,61,.14);
  background: rgba(238,248,239,.88);
  color: #376f3d;
  font-size: 24px;
  cursor: pointer;
  transition: 160ms ease;
}

.cv-close:hover {
  transform: rotate(5deg) scale(1.04);
  background: white;
}

.cv-passport-row {
  display: grid;
  grid-template-columns: 1.6fr .75fr .85fr;
  gap: 12px;
  margin-bottom: 14px;
}

.cv-passport-card,
.cv-score-card,
.cv-status-card {
  border-radius: 24px;
  padding: 17px;
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 12px 30px rgba(31,58,34,.07);
}

.cv-passport-card {
  background: linear-gradient(135deg, #24492b, #376f3d);
  color: white;
}

.cv-passport-mini,
.cv-score-card span,
.cv-status-card span {
  display: block;
  font-size: 12px;
  font-weight: 850;
  opacity: .75;
}

.cv-passport-id {
  font-size: clamp(25px, 3.6vw, 38px);
  font-weight: 950;
  letter-spacing: -.04em;
  margin: 4px 0;
}

.cv-passport-note,
.cv-score-card small,
.cv-status-card small {
  display: block;
  font-size: 12.5px;
  opacity: .82;
  line-height: 1.35;
}

.cv-score-card,
.cv-status-card {
  background: rgba(255,255,255,.72);
}

.cv-score-card strong,
.cv-status-card strong {
  display: block;
  margin: 4px 0 6px;
  color: #24492b;
  font-size: 28px;
  letter-spacing: -.04em;
}

.cv-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(55,111,61,.10);
  overflow: hidden;
  margin: 7px 0;
}

.cv-meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #376f3d, #78a66d);
}

.cv-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(55,111,61,.07);
  overflow: auto;
}

.cv-tabs button {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: #466147;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.cv-tabs button.active {
  background: white;
  color: #24492b;
  box-shadow: 0 8px 22px rgba(31,58,34,.08);
}

.cv-tab-panel {
  display: none;
}

.cv-tab-panel.active {
  display: block;
}

.cv-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.cv-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-card,
.cv-mini-card,
.cv-records {
  border-radius: 23px;
  padding: 17px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 12px 30px rgba(31,58,34,.055);
}

.cv-card.gold {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,250,237,.86));
}

.cv-card.emergency {
  background: linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,245,242,.86));
}

.cv-card-head,
.cv-section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cv-card h2,
.cv-section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #24492b;
  font-size: 22px;
  letter-spacing: -.03em;
}

.cv-card p,
.cv-section-title p {
  color: #667268;
  line-height: 1.42;
  margin: 7px 0 0;
  font-size: 13.5px;
}

.cv-pill,
.cv-soft-badge {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(100,116,139,.10);
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.cv-pill.on,
.cv-soft-badge {
  background: rgba(55,111,61,.12);
  color: #376f3d;
}

.cv-switchline,
.cv-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: #24492b;
  font-size: 13.5px;
}

.cv-switchline input,
.cv-check input {
  accent-color: #376f3d;
}

.cv-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cv-mini-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(55,111,61,.08);
  color: #376f3d;
  font-size: 12px;
  font-weight: 850;
}

.cv-mini-list.big span {
  background: white;
  border: 1px solid rgba(55,111,61,.10);
}

.cv-mini-card {
  min-height: 106px;
}

.cv-mini-card div {
  font-size: 22px;
  margin-bottom: 8px;
}

.cv-mini-card span {
  display: block;
  color: #667268;
  font-size: 12px;
  font-weight: 850;
}

.cv-mini-card strong {
  display: block;
  margin-top: 5px;
  color: #24492b;
  font-size: 14px;
  line-height: 1.35;
}

.cv-upload {
  display: grid;
  grid-template-columns: 1fr 190px 145px;
  gap: 9px;
  margin-top: 14px;
}

.cv-upload input,
.cv-upload select,
.cv-upload textarea {
  border: 1px solid rgba(55,111,61,.14);
  border-radius: 15px;
  padding: 11px 12px;
  background: rgba(255,255,255,.78);
  color: #17351f;
  outline: none;
  font-size: 13px;
}

.cv-upload textarea {
  grid-column: 1 / 3;
  min-height: 68px;
  resize: vertical;
}

.cv-file {
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px dashed rgba(55,111,61,.28);
  background: rgba(239,248,238,.74);
  color: #376f3d;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cv-file input {
  display: none;
}

.cv-upload button {
  grid-column: 1 / -1;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 950;
  color: white;
  background: linear-gradient(135deg, #376f3d, #24492b);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(55,111,61,.22);
}

.cv-record-list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.cv-record,
.cv-empty {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 17px;
  background: rgba(239,248,238,.56);
  border: 1px solid rgba(55,111,61,.09);
}

.cv-record-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: white;
}

.cv-record strong {
  display: block;
  color: #24492b;
  font-size: 14px;
}

.cv-record span,
.cv-record small {
  display: block;
  color: #667268;
  margin-top: 2px;
  font-size: 12px;
}

.cv-record em {
  color: #376f3d;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 900;
  white-space: nowrap;
}

.cv-empty {
  display: block;
  color: #667268;
  font-weight: 750;
}

.cv-emergency-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  color: #7a4b20;
  background: rgba(255,244,222,.72);
  font-size: 13px;
  line-height: 1.4;
}

.cv-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.cv-skeleton-grid div {
  height: 130px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(55,111,61,.06), rgba(255,255,255,.75), rgba(55,111,61,.06));
  animation: cvPulse 1.2s ease-in-out infinite;
}

@keyframes cvPulse {
  0%,100% { opacity: .55; }
  50% { opacity: 1; }
}

@media (max-width: 940px) {
  .cv-passport-row,
  .cv-grid.two,
  .cv-grid.three,
  .cv-upload {
    grid-template-columns: 1fr;
  }

  .cv-upload textarea,
  .cv-upload button {
    grid-column: auto;
  }

  .cv-shell {
    padding: 16px;
    border-radius: 26px;
  }

  .cv-record {
    grid-template-columns: 42px 1fr;
  }

  .cv-record em {
    grid-column: 2;
  }
}

.cv-link-action {
  margin-top: 10px;
  border: 1px solid rgba(55,111,61,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #376f3d;
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 950;
  cursor: pointer;
  transition: 160ms ease;
}

.cv-link-action:hover {
  transform: translateY(-1px);
  background: rgba(55,111,61,.10);
}

.cv-vitals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 14px 0;
}

.cv-vital-tile {
  border-radius: 20px;
  padding: 14px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 10px 26px rgba(31,58,34,.055);
}

.cv-vital-tile span {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.cv-vital-tile b {
  display: block;
  color: #24492b;
  font-size: 23px;
  letter-spacing: -.04em;
}

.cv-vital-tile small {
  color: #667268;
  font-size: 12px;
  font-weight: 850;
}

.cv-vitals-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 22px;
  background: rgba(239,248,238,.52);
  border: 1px solid rgba(55,111,61,.10);
}

.cv-vitals-form input,
.cv-vitals-form textarea {
  border: 1px solid rgba(55,111,61,.14);
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255,255,255,.82);
  color: #17351f;
  outline: none;
  font-size: 13px;
}

.cv-vitals-form textarea {
  grid-column: 1 / 3;
  min-height: 64px;
  resize: vertical;
}

.cv-vitals-form button {
  border: none;
  border-radius: 999px;
  padding: 12px 17px;
  font-weight: 950;
  color: white;
  background: linear-gradient(135deg, #376f3d, #24492b);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(55,111,61,.20);
}

.cv-graph-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin: 14px 0;
}

.cv-chart-card {
  border-radius: 22px;
  padding: 15px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 10px 26px rgba(31,58,34,.055);
  color: #376f3d;
}

.cv-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.cv-chart-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #24492b;
  font-size: 19px;
  letter-spacing: -.03em;
}

.cv-chart-head span {
  color: #24492b;
  font-weight: 950;
}

.cv-chart {
  width: 100%;
  height: 130px;
  margin-top: 8px;
  color: #376f3d;
}

.cv-chart circle {
  fill: white;
  stroke: currentColor;
  stroke-width: 3;
}

.cv-chart-card small,
.cv-chart-empty {
  display: block;
  color: #667268;
  font-size: 12px;
  margin-top: 6px;
}

.cv-chart-empty {
  padding: 36px 0;
  text-align: center;
  border-radius: 16px;
  background: rgba(239,248,238,.54);
}

@media (max-width: 940px) {
  .cv-vitals-grid,
  .cv-vitals-form,
  .cv-graph-wrap {
    grid-template-columns: 1fr;
  }

  .cv-vitals-form textarea {
    grid-column: auto;
  }
}

.cv-profile-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.cv-form-section {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 10px 26px rgba(31,58,34,.05);
}

.cv-form-section.allergy {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,248,238,.86));
}

.cv-form-section h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: #24492b;
  letter-spacing: -.03em;
}

.cv-form-help {
  margin: -2px 0 9px;
  color: #667268;
  font-size: 12.5px;
}

.cv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.cv-form-grid label,
.cv-form-section label {
  display: grid;
  gap: 6px;
  color: #466147;
  font-size: 12.5px;
  font-weight: 900;
}

.cv-form-grid input,
.cv-form-grid textarea,
.cv-wide-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(55,111,61,.14);
  border-radius: 15px;
  padding: 11px 12px;
  background: rgba(255,255,255,.86);
  color: #17351f;
  outline: none;
  font-size: 13px;
  resize: vertical;
}

.cv-form-grid textarea {
  min-height: 76px;
}

.cv-wide-textarea {
  min-height: 84px;
}

.cv-save-profile {
  justify-self: end;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  color: white;
  background: linear-gradient(135deg, #376f3d, #24492b);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(55,111,61,.22);
}

@media (max-width: 940px) {
  .cv-form-grid {
    grid-template-columns: 1fr;
  }

  .cv-save-profile {
    justify-self: stretch;
  }
}

.cv-intelligence-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.cv-intel-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 24px;
  padding: 17px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.40), transparent 40%),
    linear-gradient(135deg, rgba(55,111,61,.95), rgba(36,73,43,.96));
  color: white;
  box-shadow: 0 16px 38px rgba(36,73,43,.18);
}

.cv-intel-main span {
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 5px;
}

.cv-intel-main strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.cv-intel-main small {
  display: block;
  margin-top: 7px;
  opacity: .78;
  line-height: 1.35;
}

.cv-intel-main em {
  min-width: 78px;
  text-align: center;
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.16);
  font-style: normal;
  font-weight: 950;
}

.cv-intel-flags {
  display: grid;
  gap: 8px;
}

.cv-intel-flag {
  border-radius: 18px;
  padding: 11px 13px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(55,111,61,.10);
  box-shadow: 0 10px 24px rgba(31,58,34,.045);
}

.cv-intel-flag.high {
  background: rgba(255,245,242,.92);
  border-color: rgba(180,80,60,.12);
}

.cv-intel-flag.medium {
  background: rgba(255,250,237,.92);
}

.cv-intel-flag b {
  display: block;
  color: #24492b;
  font-size: 13px;
}

.cv-intel-flag span {
  display: block;
  color: #667268;
  font-size: 12px;
  margin-top: 2px;
}

.cv-recommendations {
  margin-top: 12px;
}

.cv-section-title.mini h2 {
  font-size: 20px;
}

.cv-reco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}

.cv-reco-card {
  border-radius: 18px;
  padding: 13px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(55,111,61,.10);
}

.cv-reco-card.good {
  background: rgba(239,248,238,.70);
}

.cv-reco-card b {
  display: block;
  color: #24492b;
  font-size: 13px;
}

.cv-reco-card span {
  display: block;
  color: #667268;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

.cv-record-beauty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 14px 0;
}

.cv-record-category {
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.62), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(239,248,238,.62));
  border: 1px solid rgba(55,111,61,.10);
  box-shadow: 0 12px 28px rgba(31,58,34,.055);
  min-height: 158px;
}

.cv-record-category-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
}

.cv-record-category-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 18px rgba(31,58,34,.06);
  font-size: 21px;
}

.cv-record-category-head b {
  display: block;
  color: #24492b;
  font-size: 14px;
}

.cv-record-category-head small {
  display: block;
  color: #667268;
  font-size: 12px;
}

.cv-record-category-body {
  display: grid;
  gap: 7px;
}

.cv-doc-chip {
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(55,111,61,.08);
}

.cv-doc-chip strong {
  display: block;
  color: #24492b;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv-doc-chip small,
.cv-doc-empty {
  display: block;
  color: #667268;
  font-size: 11.5px;
  margin-top: 2px;
}

.cv-doc-empty {
  padding: 18px 6px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,.48);
}

@media (max-width: 940px) {
  .cv-intelligence-strip,
  .cv-reco-grid,
  .cv-record-beauty-grid {
    grid-template-columns: 1fr;
  }
}

.cv-upload {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.cv-upload textarea {
  grid-column: 1 / 3;
}

.cv-upload .cv-file {
  min-height: 48px;
}

@media (max-width: 940px) {
  .cv-upload {
    grid-template-columns: 1fr !important;
  }

  .cv-upload textarea {
    grid-column: auto;
  }
}

.cv-card.qr {
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(239,248,238,.78));
}

.cv-qr-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 13px;
  align-items: center;
  margin: 14px 0;
  padding: 13px;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(55,111,61,.10);
}

.cv-fake-qr {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, #24492b 10px, transparent 10px) 0 0/22px 22px,
    linear-gradient(#376f3d 10px, transparent 10px) 0 0/22px 22px,
    white;
  border: 8px solid white;
  box-shadow: 0 10px 26px rgba(31,58,34,.10);
  color: #24492b;
  text-align: center;
}

.cv-fake-qr span {
  display: block;
  padding: 3px 7px;
  border-radius: 999px;
  background: white;
  font-size: 10px;
  font-weight: 900;
}

.cv-fake-qr b {
  display: block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #24492b;
  color: white;
  font-size: 14px;
}

.cv-qr-box strong {
  display: block;
  color: #24492b;
  font-size: 12.5px;
  line-height: 1.35;
  word-break: break-all;
}

.cv-qr-box small {
  display: block;
  color: #667268;
  margin-top: 6px;
  line-height: 1.35;
}

.cv-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cv-qr-actions button {
  border: 1px solid rgba(55,111,61,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  color: #376f3d;
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 950;
  cursor: pointer;
}

.cv-qr-actions button:first-child {
  background: linear-gradient(135deg,#376f3d,#24492b);
  color: white;
  border: none;
}

.cv-notification-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cv-notification {
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(239,248,238,.58);
  border: 1px solid rgba(55,111,61,.08);
}

.cv-notification b {
  display: block;
  color: #24492b;
  font-size: 13px;
}

.cv-notification span,
.cv-notification small {
  display: block;
  color: #667268;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

@media (max-width: 740px) {
  .cv-qr-box {
    grid-template-columns: 1fr;
  }
}

.cv-qr-box.real {
  grid-template-columns: 138px 1fr;
}

.cv-real-qr-frame {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(55,111,61,.14);
  box-shadow: 0 12px 30px rgba(31,58,34,.12);
  padding: 8px;
}

.cv-real-qr-frame img {
  width: 112px;
  height: 112px;
  display: block;
}

@media (max-width: 740px) {
  .cv-qr-box.real {
    grid-template-columns: 1fr;
  }
}

.cv-record-actions {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.cv-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(55,111,61,.10);
  color: #376f3d !important;
  text-decoration: none !important;
  font-size: 11.5px;
  font-weight: 950;
  border: 1px solid rgba(55,111,61,.12);
}

.cv-download-link:hover {
  background: linear-gradient(135deg,#376f3d,#24492b);
  color: white !important;
}

.cv-consent-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cv-consent-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(55,111,61,.12);
  box-shadow: 0 10px 26px rgba(31,58,34,.05);
}

.cv-consent-card.pending {
  background: linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,250,237,.86));
}

.cv-consent-card.approved {
  background: rgba(239,248,238,.72);
}

.cv-consent-card.denied {
  background: rgba(255,245,242,.82);
}

.cv-consent-card b {
  display: block;
  color: #24492b;
  font-size: 15px;
}

.cv-consent-card span,
.cv-consent-card small {
  display: block;
  color: #667268;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
}

.cv-consent-card em {
  font-style: normal;
  font-weight: 950;
  color: #376f3d;
  text-transform: capitalize;
}

.cv-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cv-consent-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 13px;
  background: linear-gradient(135deg,#376f3d,#24492b);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.cv-consent-actions button.danger {
  background: white;
  color: #9f3730;
  border: 1px solid rgba(159,55,48,.18);
}

@media (max-width: 760px) {
  .cv-consent-card {
    display: grid;
  }
}

.cura-prescription-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  margin: 0 4px;
  padding: 0;
  border: 1px solid rgba(44, 91, 53, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #285d38;
  cursor: pointer;
  font: inherit;
  transition: .18s ease;
  z-index: 20;
}

.cura-prescription-bell:hover,
.cura-prescription-bell:focus-visible {
  background: #e8f0e6;
  border-color: rgba(44, 91, 53, .36);
  transform: translateY(-1px);
  outline: none;
}

.cura-prescription-bell__icon {
  font-size: 17px;
  line-height: 1;
}

.cura-prescription-bell__badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #b43d32;
  color: #fff;
  font: 700 10px/16px Arial, sans-serif;
  text-align: center;
}

.cura-prescription-panel {
  position: fixed;
  top: 76px;
  right: 24px;
  z-index: 100000;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(44, 91, 53, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 50px rgba(26, 53, 32, .18);
  color: #24372a;
}

.cura-prescription-panel__title {
  margin-bottom: 12px;
  color: #285d38;
  font: 700 15px/1.2 Arial, sans-serif;
}

.cura-prescription-panel__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(44, 91, 53, .1);
  font-size: 13px;
}

.cura-prescription-panel__item span,
.cura-prescription-panel__empty,
.cura-prescription-panel__loading {
  color: #6c776e;
  font-size: 12px;
}

.cura-prescription-panel__link {
  display: inline-block;
  margin-top: 12px;
  color: #285d38;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.cura-prescription-add {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(44, 91, 53, .12);
  border-radius: 12px;
  background: #f5f8f3;
}

.cura-prescription-add__copy {
  display: grid;
  flex: 1;
  gap: 3px;
}

.cura-prescription-add__copy strong {
  color: #285d38;
  font-size: 12px;
}

.cura-prescription-add__copy span,
.cura-prescription-review span,
.cura-prescription-review small {
  color: #6c776e;
  font-size: 11px;
  line-height: 1.4;
}

.cura-prescription-add__button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #285d38;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.cura-prescription-add__button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.cura-prescription-review {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

.cura-prescription-review--success {
  color: #285d38;
}

.cura-prescription-review--error,
.cura-prescription-review__warning {
  color: #a33f35;
}

.cura-prescription-medicine-list {
  display: grid;
  gap: 7px;
  max-height: 220px;
  overflow: auto;
}

.cura-prescription-medicine {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(44, 91, 53, .12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.cura-prescription-medicine span {
  display: grid;
  gap: 3px;
}

.cura-prescription-medicine small {
  color: #6c776e;
  font-size: 10px;
  line-height: 1.35;
}

.cura-prescription-review__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cura-prescription-review__cancel {
  border: 0;
  background: transparent;
  color: #6c776e;
  cursor: pointer;
  font-size: 11px;
}

.cura-prescription-active-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(44, 91, 53, .12);
}

.cura-prescription-active-list__title {
  margin-bottom: 7px;
  color: #285d38;
  font-size: 12px;
  font-weight: 700;
}

.cura-prescription-active-list__loading,
.cura-prescription-active-list__empty {
  color: #6c776e;
  font-size: 11px;
}

.cura-prescription-active-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(44, 91, 53, .08);
}

.cura-prescription-active-row span {
  display: grid;
  gap: 3px;
}

.cura-prescription-active-row small {
  color: #6c776e;
  font-size: 10px;
}

.cura-prescription-active-row button {
  border: 0;
  background: transparent;
  color: #a33f35;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

