/* src/style.css */
:root {
  --brand: #1a6b5c;
  --brand-dark: #125144;
  --page: #ffffff;
  --bg: #f7f5f1;
  --ink: #1d1b18;
  --ink2: #6b655c;
  --line: #e5e0d8;
  --red: #b3261e;
}
.bmch-root {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    "Noto Sans",
    sans-serif;
}
.bmch-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}
.splash {
  min-height: 100vh;
  background: #0c0c0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  cursor: pointer;
}
.splash-logo {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 28px;
  background: #ffffff;
}
.splash-brand {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
}
.splash-tag {
  color: #c9c4bb;
  font-size: 14px;
}
.splash-btn {
  margin-top: 18px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}
.lang-screen {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.lang-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
}
.lang-title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}
.lang-screen .svc-grid {
  width: 100%;
  max-width: 380px;
}
.lang-big {
  justify-content: center !important;
  font-size: 18px !important;
  padding: 18px !important;
}
.center {
  text-align: center;
}
.hero {
  position: relative;
  min-height: 200px;
  display: flex;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(10, 30, 26, 0.05) 0%,
      rgba(10, 30, 26, 0.30) 55%,
      rgba(10, 30, 26, 0.66) 100%);
  padding: 30px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}
.hero-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.hero-sub {
  color: #f0ede7;
  font-size: 13.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.lang-bar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.lang-pill {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--ink2);
  cursor: pointer;
}
.lang-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.banner {
  background: #eef4f2;
  border: 1px solid #cfe0da;
  color: #2c4f47;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 14px 0 0;
}
.callout {
  background: #f2efe8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
  margin: 12px 0;
}
.callout.warn {
  background: #fdf0ef;
  border-color: #eec6c3;
  color: var(--red);
}
.lead {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.fine-note {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.5;
  margin: 8px 0 0;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.form input,
.form textarea,
.form select,
.row-actions input,
.row-actions select {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  color: inherit;
  width: 100%;
  box-sizing: border-box;
}
.or-line {
  text-align: center;
  color: var(--ink2);
  font-size: 13px;
  margin: 4px 0;
}
.primary-btn {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  width: 100%;
}
.primary-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.ghost-btn {
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.ghost-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.link-btn {
  font: inherit;
  font-size: 13px;
  background: none;
  border: none;
  color: var(--ink2);
  cursor: pointer;
  padding: 6px 0;
  margin-bottom: 10px;
}
.loc-note {
  font-size: 13px;
  color: var(--ink2);
}
.ack {
  text-align: center;
  padding: 24px 8px;
}
.ack-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.ack h3 {
  margin: 0 0 8px;
}
.ack p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
}
.track-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
  text-align: left;
  background: var(--page);
}
.track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.panel {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.panel-title {
  margin: 0 0 10px;
  font-size: 16px;
}
.stat-row {
  display: flex;
  gap: 10px;
}
.stat {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat b {
  font-size: 22px;
}
.stat span {
  font-size: 12px;
  color: var(--ink2);
}
.rowline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.rowline:last-child {
  border-bottom: none;
}
.rowline > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.visit-meta {
  font-size: 12px;
  color: var(--ink2);
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mini-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--page);
}
.mini-btn.ok {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.mini-btn.ok:disabled {
  opacity: 0.45;
}
.mini-btn.no {
  color: var(--red);
}
.status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3ede2;
  color: #6b5420;
  white-space: nowrap;
}
.status.done {
  background: #e2f0ea;
  color: var(--brand);
}
.status.no {
  background: #f9e3e1;
  color: var(--red);
}
.status.enroute {
  background: #e3ecfa;
  color: #1d4fa0;
}
.sample-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #8a6d1f;
  background: #f7ecc8;
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.visit-card,
.query-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 14px 12px;
  margin-bottom: 10px;
  background: var(--page);
}
.visit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 12px 0;
  text-align: left;
  min-height: 44px;
}
.visit-head > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.visit-name {
  font-weight: 600;
  font-size: 15px;
}
.visit-body {
  padding-bottom: 8px;
}
.visit-row {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 6px;
}
.svc-chev {
  color: var(--ink2);
  font-size: 22px;
  line-height: 1;
  flex: none;
}
.supplies {
  font-size: 13px;
}
.supplies-section {
  font-weight: 600;
  margin: 8px 0 4px;
}
.supplies ul {
  margin: 4px 0 8px;
  padding-left: 20px;
}
.supplies li {
  margin-bottom: 4px;
  line-height: 1.5;
}
.edit-list {
  margin: 4px 0 8px;
  padding-left: 20px;
  font-size: 13px;
}
.edit-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.edit-list .mini-btn {
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 12px;
}
.pay-box {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}
.qr-slot {
  border: 1px dashed var(--line);
  border-radius: 12px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink2);
  font-size: 13px;
  padding: 14px;
  margin: 8px 0;
}
.svc-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-pick {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  color: inherit;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
}
.chosen-svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  background: var(--page);
}
.chosen-svc .link-btn {
  margin-bottom: 0;
  flex: none;
}
.svc-pick-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.svc-pick-sub {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.4;
}
.emerg-card {
  border: 1px solid var(--line);
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}
.emerg-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
}
.emerg-btn {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 13px;
  border-radius: 12px;
  background: var(--brand, #0f766e);
  color: #fff;
  text-decoration: none;
}
.emerg-fine {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.5;
  margin-top: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.dl-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 8px;
}
.loc-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc-line {
  font-size: 13px;
  line-height: 1.5;
}
.stale {
  color: var(--red);
}
@media (min-width: 768px) {
  .svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .svc-pick {
    padding: 16px 18px;
  }
  .hero-overlay {
    padding: 60px 16px 30px;
  }
}
.emerg-admins {
  margin-top: 10px;
}
.emerg-admins-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 6px;
}
.emerg-btn.secondary {
  background: #fff;
  color: var(--brand, #0f766e);
  border: 1.5px solid var(--brand, #0f766e);
  font-size: 14px;
  padding: 11px;
  margin-bottom: 6px;
}
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.cat-card {
  font: inherit;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card, #fff);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.cat-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.cat-img-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--brand, #0f766e);
  background: var(--page);
}
.cat-name {
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 12px 2px;
  color: var(--ink);
}
.cat-sub {
  font-size: 12px;
  color: var(--ink2);
  padding: 0 12px 12px;
  line-height: 1.4;
}
@media (min-width: 720px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.pol-link {
  display: block;
  margin: 12px auto 0;
}
.pol-root {
  text-align: left;
}
.pol-draft {
  font-size: 12px;
  color: #b3261e;
  font-weight: 700;
  margin-left: 8px;
}
.pol-sec {
  margin: 14px 0;
}
.pol-sec h4 {
  margin: 0 0 6px;
  color: #125144;
  font-size: 15px;
}
.pol-sec ul {
  margin: 0;
  padding-left: 20px;
}
.pol-sec li {
  margin-bottom: 5px;
  font-size: 13.5px;
  line-height: 1.55;
}
.price-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}
.price-row input {
  flex: 1;
  min-width: 0;
}
.price-row .price-in {
  flex: 0 0 88px;
}
.mini-toggle {
  border: 1.5px solid var(--brand, #0f766e);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
}
.mini-toggle.pill-on {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}
.mini-toggle.pill-off {
  background: #f1f5f9;
  color: #64748b;
  border-color: #cbd5e1;
}
.qstatus {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.qstatus.pill-on {
  background: #dcfce7;
  color: #166534;
}
.qstatus.pill-off {
  background: #fee2e2;
  color: #991b1b;
}
.qstatus.pill-wait {
  background: #fef9c3;
  color: #854d0e;
}
.quote-box {
  border: 1.5px dashed #94a3b8;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
  background: #f8fafc;
}
.quote-line {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.quote-line span {
  flex: 1;
  min-width: 0;
}
.btn-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.quote-cust {
  border: 2px solid #0f766e;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
.fld input {
  font-weight: 400;
}
.chat-box {
  margin-top: 8px;
}
.chat-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #f1f5f9;
  border-radius: 10px;
}
.chat-msg {
  max-width: 85%;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13.5px;
}
.chat-msg.doctor {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.chat-msg.patient {
  align-self: flex-end;
  background: #0f766e;
  color: #fff;
}
.chat-in {
  flex: 1;
  min-width: 0;
}
.rx-box {
  margin-top: 10px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rx-box textarea {
  min-height: 70px;
}
.rx-view {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px;
  white-space: pre-wrap;
  font-size: 13.5px;
}
.gate-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0;
  font-size: 12.5px;
  font-weight: 600;
}
.gate-ok {
  color: #166534;
}
.gate-no {
  color: #9a3412;
}
.gate-lock {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px;
}
.svc-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f2f8f5;
  border: 1px solid #cfe0da;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.svc-info-img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.svc-info-body {
  flex: 1;
  min-width: 0;
}
.svc-info-desc {
  margin: 4px 0 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #3c3833;
}
.svc-sup summary {
  cursor: pointer;
  color: #125144;
  font-weight: 600;
  font-size: 12.5px;
}
.svc-sup ul {
  margin: 6px 0 4px 18px;
  padding: 0;
  font-size: 12.5px;
  color: #3c3833;
}
.svc-sup-sec {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: #125144;
}
.svc-info-fig {
  margin: 0;
  flex-shrink: 0;
  width: 92px;
}
.svc-info-fig .svc-info-img {
  width: 92px;
  height: 92px;
}
.svc-info-cap {
  font-size: 10px;
  color: #8a857d;
  margin-top: 3px;
  line-height: 1.3;
  text-align: center;
}
.staff-card {
  background: #f4f6fb;
  border: 1px solid #d5dcee;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0;
}
.staff-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.staff-badge {
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
}
.staff-badge.ok {
  background: #e2f3e7;
  color: #1d6b3a;
}
.staff-badge.warn {
  background: #fdf0dc;
  color: #8a5a13;
}
.resume-doc {
  background: #fff;
  border: 1px dashed #c9c2b8;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 6px;
}
.resume-doc-head {
  font-weight: 700;
  margin-bottom: 6px;
}
.resume-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  padding: 3px 0;
}
.resume-k {
  min-width: 96px;
  color: #6b655c;
  font-weight: 600;
}
.resume-row.redacted span:last-child {
  color: #8a5a13;
}
.med-item {
  margin: 6px 0;
}
.med-item summary {
  cursor: pointer;
  font-weight: 600;
}
.med-detail {
  padding: 6px 10px;
}
.med-detail b {
  display: block;
  margin-top: 6px;
}
.med-detail ul {
  margin: 4px 0;
  padding-left: 18px;
}
.med-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0;
}
.med-row .med-item {
  flex: 1;
  margin: 0;
}
.med-pick {
  border: 1px solid #0b7285;
  background: #fff;
  color: #0b7285;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
  white-space: nowrap;
}
.med-pick.on {
  background: #0b7285;
  color: #fff;
}
.file-line input {
  display: block;
  margin-top: 6px;
}
.check-line {
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel label {
  display: block;
  margin: 8px 0;
}
.panel label input[type=text],
.panel label input:not([type]) {
  display: block;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
}
.svc-icon {
  color: #0b7285;
  vertical-align: -7px;
}
.svc-title-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.med-search-box {
  padding: 10px;
}
.med-search {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #b2d8d8;
  border-radius: 10px;
  margin: 6px 0 8px;
  box-sizing: border-box;
}
.test-item {
  flex: 1;
  padding: 6px 0;
}
.test-name {
  font-weight: 600;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #b2d8d8;
  background: #fff;
  font-size: 14px;
}
.chip.on {
  background: #0b7285;
  color: #fff;
  border-color: #0b7285;
}
.panel-sub {
  margin: 14px 0 6px;
  font-size: 15px;
  color: #854d0e;
}
.app-dl-top {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e0f2f1;
  border: 1px solid #b2d8d8;
  border-radius: 12px;
  padding: 8px 12px;
  margin: 8px 0 4px;
  flex-wrap: wrap;
}
.dl-top-btn {
  display: inline-block;
  background: #0b7285;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.role-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  margin: 8px 0 12px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.role-chip b {
  font-size: 16px;
  display: block;
}
.role-chip span {
  font-size: 12px;
  opacity: .92;
}
.role-chip .svc-icon {
  stroke: #fff;
}
.rc-admin {
  background:
    linear-gradient(
      135deg,
      #0b7285,
      #1098ad);
}
.rc-customer {
  background:
    linear-gradient(
      135deg,
      #2b6cb0,
      #4299e1);
}
.rc-caregiver {
  background:
    linear-gradient(
      135deg,
      #2f7d4f,
      #48bb78);
}
.rc-provider {
  background:
    linear-gradient(
      135deg,
      #7b4fa6,
      #9f7aea);
}
.ver-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.ver-chip {
  background: #0b7285;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
}
.ver-at {
  font-size: 12px;
  color: #555;
}
.ver-changes {
  margin: 6px 0;
  padding-left: 18px;
  font-size: 13px;
  color: #333;
}
.ver-hist {
  margin: 6px 0;
  font-size: 13px;
}
.ver-hist summary {
  cursor: pointer;
  font-weight: 600;
  color: #0b7285;
}
.ver-row {
  margin-top: 8px;
  border-top: 1px dashed #b2d8d8;
  padding-top: 6px;
}
.app-dl-top.off {
  background: #fdf0d5;
  border-color: #e8c468;
}
body {
  background:
    linear-gradient(
      180deg,
      #f0fafa 0%,
      #f7fbff 40%,
      #fff 100%);
}
.dl-top-btn {
  animation: dlGlow 2.6s ease-in-out infinite;
}
@keyframes dlGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 114, 133, .45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(11, 114, 133, 0);
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dl-top-btn {
    animation: none;
  }
}
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(4px);
  padding: 4px 0;
  margin-bottom: 2px;
}
.bmch-body {
  background:
    radial-gradient(
      1200px 500px at 80% -10%,
      rgba(13, 148, 136, .14),
      transparent 60%),
    radial-gradient(
      900px 420px at -10% 30%,
      rgba(136, 19, 55, .10),
      transparent 55%),
    linear-gradient(
      180deg,
      #f7fbf9 0%,
      #eef6f2 100%);
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}
.role-pick {
  font: inherit;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fff;
  text-align: left;
  box-shadow: 0 6px 18px rgba(10, 40, 36, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: rp-in .5s ease both;
}
.role-pick b {
  font-size: 17px;
  letter-spacing: .2px;
}
.rp-sub {
  font-size: 12px;
  opacity: .92;
  line-height: 1.35;
}
.rp-icon {
  background: rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 10px;
  display: inline-flex;
  margin-bottom: 4px;
}
.rp-icon .svc-icon {
  stroke: #fff;
}
.rp-customer {
  background:
    linear-gradient(
      135deg,
      #0d9488,
      #115e59);
}
.rp-caregiver {
  background:
    linear-gradient(
      135deg,
      #9f1239,
      #881337);
}
.rp-provider {
  background:
    linear-gradient(
      135deg,
      #1d4ed8,
      #1e3a8a);
}
.rp-admin {
  background:
    linear-gradient(
      135deg,
      #6d28d9,
      #4c1d95);
}
.role-pick:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 40, 36, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.role-pick:active {
  transform: scale(.97);
}
.role-pick:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}
@keyframes rp-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-logo-card {
  display: inline-block;
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  animation: hero-float 5s ease-in-out infinite;
}
.hero-logo {
  display: block;
  width: 96px;
  height: auto;
}
@keyframes hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .role-pick {
    animation: none;
    transition: none;
  }
  .hero-logo-card {
    animation: none;
  }
}
.splash {
  background:
    radial-gradient(
      1000px 480px at 70% 10%,
      rgba(13, 148, 136, .18),
      transparent 60%),
    radial-gradient(
      800px 400px at 10% 85%,
      rgba(136, 19, 55, .12),
      transparent 55%),
    linear-gradient(
      180deg,
      #f7fbf9 0%,
      #e9f4ee 100%) !important;
}
.splash-brand {
  color: #134e4a !important;
}
.splash-tag {
  color: #3f6212 !important;
}
.splash-logo {
  width: 150px;
  height: auto;
  display: block;
}
.lang-logo {
  width: 130px;
  height: auto;
  display: block;
}
.bmch-root {
  font-family:
    "Noto Sans Devanagari",
    "Noto Sans",
    system-ui,
    sans-serif;
}
.hero-logo {
  width: 150px !important;
}
.hero-logo-card {
  padding: 12px 16px;
}
.splash-logo {
  width: 180px !important;
}
.lang-logo {
  width: 160px !important;
}
@media (min-width: 700px) {
  .hero-logo {
    width: 170px !important;
  }
}
body {
  font-family:
    "Noto Sans Devanagari",
    "Noto Sans",
    system-ui,
    sans-serif;
}
.app-dl-top.slim {
  padding: 8px 12px;
}
.app-dl-top.slim .ver-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-dl-top.slim .dl-top-btn {
  margin: 0 0 0 auto;
  padding: 6px 14px;
  font-size: 14px;
}
.app-dl-top.slim .ver-hist summary {
  font-size: 13px;
}
.top-nav {
  order: -1;
}
