/* Lax Medical — public patient product */

:root {
  --lm-navy: #0b2744;
  --lm-navy-2: #12375c;
  --lm-blue: #3475ba;
  --lm-green: #2f9e46;
  --lm-green-2: #47af50;
  --lm-ink: #102033;
  --lm-muted: #5b6b7c;
  --lm-line: #e4ebf2;
  --lm-line-2: #d3dde8;
  --lm-paper: #ffffff;
  --lm-canvas: #f3f6fa;
  --lm-shadow: 0 10px 28px rgb(11 39 68 / 0.08);
  --lm-shadow-sm: 0 4px 14px rgb(11 39 68 / 0.06);
  --lm-radius: 14px;
  --lm-radius-sm: 10px;
}

.lm-body {
  background: var(--lm-canvas);
  color: var(--lm-ink);
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 60;
  border-radius: 0.75rem;
  background: #3475ba;
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.lm-body ::selection {
  background: rgb(52 117 186 / 0.22);
}

/* Header */

.lm-header {
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid rgb(228 235 242 / 0.9);
  backdrop-filter: blur(18px);
}

.lm-header.is-scrolled {
  box-shadow: 0 10px 30px rgb(11 39 68 / 0.08);
}

.lm-header-inner {
  min-height: 56px;
}

.lm-nav a {
  color: #3d4d5f;
  font-size: 0.84rem;
}

.lm-nav a:hover,
.lm-nav a.is-active {
  color: var(--lm-blue);
}

.lm-mobile-menu {
  background: #fff;
  border-top: 1px solid var(--lm-line);
}

.lm-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 650;
}

.lm-mobile-menu a.is-active {
  background: rgb(52 117 186 / 0.1);
  color: var(--lm-blue);
}

/* Hero */

.lm-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgb(71 175 80 / 0.22), transparent 58%),
    radial-gradient(720px 380px at 8% 110%, rgb(52 117 186 / 0.35), transparent 60%),
    linear-gradient(160deg, #0a223c 0%, #12375c 55%, #0e4a3a 140%);
}

.lm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/pattern-plus.svg");
  background-size: 56px 56px;
  opacity: 0.55;
  pointer-events: none;
}

.lm-hero-inner {
  position: relative;
  z-index: 1;
}

.lm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d7ecff;
}

.lm-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lm-green-2);
  box-shadow: 0 0 0 4px rgb(71 175 80 / 0.25);
}

.lm-hero h1 {
  color: #fff;
  letter-spacing: -0.042em !important;
}

.lm-hero-lead {
  max-width: 34rem;
  color: rgb(226 236 247 / 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
}

.lm-hero-stage {
  position: relative;
  min-height: 210px;
  padding-bottom: 12px;
}

.lm-hero-card {
  position: relative;
  width: min(100%, 22.5rem);
  margin-left: auto;
  border-radius: 22px;
  background: #fff;
  color: var(--lm-ink);
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.28);
  overflow: hidden;
}

.lm-hero-card-banner {
  height: 88px;
  display: flex;
  align-items: flex-end;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, #1d5a93 0%, #2f9e46 120%),
    url("/static/images/pattern-plus.svg");
  color: #fff;
  font-weight: 800;
}

.lm-hero-card-body {
  padding: 16px 18px 18px;
}

.lm-hero-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.lm-hero-day {
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 12px;
  background: #f3f7fb;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b6b7c;
}

.lm-hero-day strong {
  display: block;
  font-size: 1.05rem;
  color: var(--lm-ink);
}

.lm-hero-day.is-on {
  background: rgb(47 158 70 / 0.12);
  color: var(--lm-green);
  box-shadow: inset 0 0 0 1.5px rgb(47 158 70 / 0.35);
}

.lm-hero-float {
  position: absolute;
  right: 8px;
  bottom: -14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--lm-ink);
  font-size: 0.82rem;
  font-weight: 750;
  box-shadow: var(--lm-shadow);
}

.lm-hero-float span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lm-green);
}

/* Search */

.lm-search-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.35rem;
}

.lm-search {
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #fff;
  box-shadow: var(--lm-shadow);
}

@media (min-width: 1024px) {
  .lm-search {
    grid-template-columns: 1.4fr 1fr auto;
  }

  .lm-search.is-simple {
    grid-template-columns: 1fr auto;
  }
}

.lm-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 14px;
}

.lm-search-field + .lm-search-field {
  border-top: 1px solid var(--lm-line);
}

@media (min-width: 1024px) {
  .lm-search-field + .lm-search-field {
    border-top: 0;
    border-left: 1px solid var(--lm-line);
  }
}

.lm-search-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgb(52 117 186 / 0.1);
  color: var(--lm-blue);
  flex-shrink: 0;
}

.lm-search-field:nth-child(2) .lm-search-ico {
  background: rgb(47 158 70 / 0.1);
  color: var(--lm-green);
}

.lm-search-field label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a97a6;
}

.lm-search-field input {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lm-ink);
}

.lm-search-field input:focus {
  outline: none;
}

.lm-search-field input::placeholder {
  font-weight: 550;
  color: #9aa8b6;
}

.lm-search-go {
  display: flex;
  align-items: stretch;
  padding: 8px;
}

@media (min-width: 1024px) {
  .lm-search-go .lm-btn {
    min-width: 140px;
    min-height: 42px;
  }
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  appearance: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lm-btn:hover {
  transform: translateY(-1px);
}

.lm-btn-green {
  background: var(--lm-green);
  color: #fff;
  box-shadow: 0 10px 22px rgb(47 158 70 / 0.28);
}

.lm-btn-green:hover {
  background: #278a3c;
  color: #fff;
}

.lm-btn-blue {
  background: var(--lm-blue);
  color: #fff;
}

.lm-btn-blue:hover {
  background: #2c64a3;
  color: #fff;
}

.lm-btn-ghost {
  background: #fff;
  color: var(--lm-ink);
  border: 1px solid var(--lm-line-2);
}

.lm-btn-ghost:hover {
  border-color: var(--lm-blue);
  color: var(--lm-blue);
}

.lm-btn-full {
  width: 100%;
}

.lm-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #5b6b7c;
  font-size: 0.9rem;
}

.lm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid var(--lm-line);
}

.lm-chip:hover {
  border-color: rgb(52 117 186 / 0.45);
  color: var(--lm-blue);
}

.lm-chip.is-on {
  background: var(--lm-blue);
  border-color: var(--lm-blue);
  color: #fff;
}

/* Shortcuts */

.lm-shortcuts {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .lm-shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lm-shortcuts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lm-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lm-line);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lm-shortcut:hover {
  transform: translateY(-3px);
  border-color: rgb(52 117 186 / 0.28);
  box-shadow: var(--lm-shadow-sm);
}

.lm-shortcut-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.lm-shortcut p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--lm-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lm-shortcut > span:last-child > span {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--lm-muted);
  letter-spacing: 0;
}

/* Trust */

.lm-trust {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

@media (min-width: 768px) {
  .lm-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.lm-trust article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lm-trust strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lm-ink);
}

.lm-trust p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--lm-muted);
}

/* Place cards */

.lm-place-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .lm-place-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .lm-place-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lm-place-grid.is-market {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lm-place-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lm-line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lm-place-card:hover {
  transform: translateY(-4px);
  border-color: rgb(52 117 186 / 0.3);
  box-shadow: var(--lm-shadow-sm);
}

.lm-cover {
  position: relative;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, #1e5c96, #3475ba 70%);
}

.lm-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/pattern-plus.svg");
  background-size: 44px 44px;
  opacity: 0.9;
}

.lm-cover-letter {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.22);
  font-size: 1.35rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.lm-cover.has-logo {
  background: #fff !important;
}

.lm-cover.has-logo::before {
  display: none;
}

.lm-cover-logo {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.lm-place-grid .lm-place-card:nth-child(6n + 2) .lm-cover {
  background: linear-gradient(145deg, #1a6b4a, #2f9e46 78%);
}

.lm-place-grid .lm-place-card:nth-child(6n + 3) .lm-cover {
  background: linear-gradient(145deg, #164e7a, #3d8fd4 78%);
}

.lm-place-grid .lm-place-card:nth-child(6n + 4) .lm-cover {
  background: linear-gradient(145deg, #2a4a6a, #4b6d8c 78%);
}

.lm-place-grid .lm-place-card:nth-child(6n + 5) .lm-cover {
  background: linear-gradient(145deg, #0f5f62, #1f9aa0 78%);
}

.lm-place-grid .lm-place-card:nth-child(6n + 6) .lm-cover {
  background: linear-gradient(145deg, #1c4f86, #5b8fc9 78%);
}

.lm-pharma-grid .lm-cover {
  background: linear-gradient(145deg, #1a6b4a, #2f9e46 78%) !important;
}

.lm-place-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  min-height: 0;
}

.lm-place-kind {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a97a6;
}

.lm-place-name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--lm-ink);
  letter-spacing: -0.025em;
}

.lm-place-card:hover .lm-place-name {
  color: var(--lm-blue);
}

.lm-place-meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--lm-muted);
}

.lm-place-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--lm-green);
}

.lm-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #6b7c8d;
}

.lm-views svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.lm-views-hero {
  margin-top: 10px;
  color: rgb(226 236 247 / 0.88);
  font-size: 0.9rem;
}

.lm-views-hero svg {
  width: 16px;
  height: 16px;
}

/* Listing rows */

.lm-rows {
  display: grid;
  gap: 10px;
}

.lm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--lm-line);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lm-row:hover {
  border-color: rgb(52 117 186 / 0.3);
  box-shadow: var(--lm-shadow-sm);
  transform: translateY(-1px);
}

.lm-row .lm-cover {
  width: 56px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
}

.lm-row .lm-cover-logo {
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
}

.lm-row .lm-cover-letter {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
}

.lm-rows .lm-row:nth-child(6n + 2) .lm-cover {
  background: linear-gradient(145deg, #1a6b4a, #2f9e46 78%);
}

.lm-rows .lm-row:nth-child(6n + 3) .lm-cover {
  background: linear-gradient(145deg, #164e7a, #3d8fd4 78%);
}

.lm-rows .lm-row:nth-child(6n + 4) .lm-cover {
  background: linear-gradient(145deg, #2a4a6a, #4b6d8c 78%);
}

.lm-rows .lm-row:nth-child(6n + 5) .lm-cover {
  background: linear-gradient(145deg, #0f5f62, #1f9aa0 78%);
}

.lm-row-copy {
  min-width: 0;
  flex: 1;
}

.lm-row-cta {
  display: none;
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--lm-green);
}

@media (min-width: 640px) {
  .lm-row-cta {
    display: inline;
  }
}

/* Sections */

.lm-section {
  padding: 2.4rem 0;
}

.lm-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .lm-section-head {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}

.lm-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lm-blue);
}

.lm-section h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--lm-ink);
}

.lm-more {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--lm-blue);
}

.lm-more:hover {
  color: #2c64a3;
}

/* Steps */

.lm-steps {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .lm-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lm-step {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lm-line);
  min-height: 100%;
}

.lm-step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--lm-navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.lm-step h3 {
  margin: 14px 0 6px;
  font-size: 1.15rem;
}

.lm-step p {
  margin: 0;
  color: var(--lm-muted);
  font-size: 0.95rem;
}

/* Help band */

.lm-help {
  background:
    radial-gradient(700px 240px at 90% 0%, rgb(71 175 80 / 0.18), transparent 55%),
    linear-gradient(160deg, #0b2744, #12375c);
  color: #fff;
}

.lm-help h2,
.lm-help p {
  color: #fff;
}

.lm-help p {
  color: rgb(226 236 247 / 0.82);
}

.lm-help .lm-btn-ghost {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.18);
}

.lm-help .lm-btn-ghost:hover {
  background: #fff;
  color: var(--lm-navy);
  border-color: #fff;
}

/* Page shells */

.lm-page-hero {
  padding: 1.6rem 0 3.4rem;
  color: #fff;
  background:
    radial-gradient(700px 280px at 90% -20%, rgb(71 175 80 / 0.18), transparent 55%),
    linear-gradient(160deg, #0b2744, #15416b);
}

.lm-page-hero h1 {
  color: #fff;
}

.lm-page-hero p {
  color: rgb(226 236 247 / 0.82);
}

.lm-page-hero .lm-search-wrap {
  margin-top: 1.4rem;
}

.lm-sheet {
  margin-top: -2.15rem;
  padding-bottom: 2.5rem;
}

.lm-panel {
  border-radius: var(--lm-radius);
  background: #fff;
  border: 1px solid var(--lm-line);
  box-shadow: var(--lm-shadow-sm);
}

.lm-empty {
  padding: 2.4rem 1.2rem;
  text-align: center;
  color: var(--lm-muted);
  background: #fff;
  border: 1px dashed var(--lm-line-2);
  border-radius: 18px;
}

.lm-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7e8;
  border: 1px solid #f3ddb0;
  color: #7a5410;
  font-size: 0.9rem;
}

.lm-error {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.9rem;
}

/* Forms */

.lm-field {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.lm-input,
.lm-body input[type="text"],
.lm-body input[type="email"],
.lm-body input[type="tel"],
.lm-body input[type="password"],
.lm-body input[type="date"],
.lm-body textarea,
.lm-body select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--lm-radius-sm);
  border: 1px solid var(--lm-line-2);
  background: #fff;
  color: var(--lm-ink);
  font-size: 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.lm-body textarea {
  min-height: 120px;
  resize: vertical;
}

.lm-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.lm-body textarea:focus,
.lm-body select:focus {
  outline: none;
  border-color: var(--lm-blue);
  box-shadow: 0 0 0 4px rgb(52 117 186 / 0.15);
}

.lm-body .lm-search-field input,
.lm-body .lm-search-field input:focus {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Hospital detail */

.lm-hospital-hero {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 0 2.2rem;
  color: #fff;
  background:
    radial-gradient(800px 300px at 80% -20%, rgb(71 175 80 / 0.2), transparent 55%),
    linear-gradient(160deg, #0b2744, #1a5a93);
}

.lm-hospital-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/pattern-plus.svg");
  opacity: 0.5;
}

.lm-crumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: rgb(226 236 247 / 0.7);
}

.lm-crumb a {
  color: #d7ecff;
}

.lm-crumb a:hover {
  color: #fff;
}

.lm-hospital-title {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 0.9rem;
}

.lm-hospital-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.2);
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.lm-hospital-mark.has-logo {
  background: #fff;
  padding: 8px;
}

.lm-hospital-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lm-panel .lm-hospital-mark.has-logo {
  border: 1px solid var(--lm-line);
}

.lm-hospital-hero h1 {
  color: #fff;
}

.lm-hospital-hero .lm-place-kind {
  color: #9fd0ff;
}

.lm-contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--lm-line);
}

.lm-contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.lm-ico-box {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.lm-sticky-cta {
  position: sticky;
  top: 72px;
}

.lm-mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.94);
  border-top: 1px solid var(--lm-line);
  backdrop-filter: blur(16px);
}

@media (min-width: 1024px) {
  .lm-mobile-bar {
    display: none;
  }
}

/* Blog */

.lm-post-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lm-line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lm-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lm-shadow-sm);
}

.lm-post-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #d9e8f6, #dff3e4);
}

.lm-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Account */

.lm-account-nav a,
.lm-account-nav button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #4b5c6e;
  font-weight: 700;
  text-align: left;
}

.lm-account-nav a:hover,
.lm-account-nav button:hover,
.lm-account-nav a.is-active,
.lm-account-nav .is-active {
  background: rgb(52 117 186 / 0.1);
  color: var(--lm-blue);
}

.lm-dash-card {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lm-line);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lm-dash-card:hover {
  transform: translateY(-2px);
  border-color: rgb(52 117 186 / 0.3);
  box-shadow: var(--lm-shadow-sm);
}

/* Footer */

.lm-footer {
  background: #081c32;
  color: #c5d4e3;
  border-top: 0;
}

.lm-footer a {
  color: #d7e4f0;
}

.lm-footer a:hover {
  color: #fff;
}

.lm-footer-brand {
  color: #fff;
  font-weight: 800;
}

.lm-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lm-footer-copy {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: #8aa0b5;
}

.lm-faq {
  display: grid;
  gap: 0.45rem;
}

.lm-faq details {
  border: 1px solid var(--lm-line);
  border-radius: var(--lm-radius-sm);
  background: #fff;
  padding: 0.7rem 0.9rem;
}

.lm-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--lm-ink);
  list-style: none;
}

.lm-faq summary::-webkit-details-marker {
  display: none;
}

.lm-faq details p {
  margin-top: 0.7rem;
  color: var(--lm-muted);
  line-height: 1.65;
}

/* Reveal already in layout */

@media (prefers-reduced-motion: reduce) {
  .lm-shortcut:hover,
  .lm-place-card:hover,
  .lm-row:hover,
  .lm-btn:hover,
  .lm-post-card:hover,
  .lm-dash-card:hover {
    transform: none;
  }
}

/* Compact type — pages that still use large Tailwind headings */

.lm-body main h1 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.lm-body main .text-6xl,
.lm-body main .sm\:text-6xl,
.lm-body main .text-5xl,
.lm-body main .sm\:text-5xl,
.lm-body main .lg\:text-\[3\.55rem\],
.lm-body main .text-4xl,
.lm-body main .sm\:text-4xl {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem) !important;
  line-height: 1.15 !important;
}

.lm-body main .text-3xl,
.lm-body main .sm\:text-3xl {
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

.lm-body main .py-20,
.lm-body main .lg\:py-24 {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.lm-body main .py-16 {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.lm-body main .pb-16 {
  padding-bottom: 1.75rem !important;
}

.lm-body main .pt-16 {
  padding-top: 1.75rem !important;
}

.lm-body main .gap-12 {
  gap: 1.5rem !important;
}

.lm-body .lm-search-ico svg,
.lm-body .lm-shortcut-ico svg,
.lm-body .lm-ico-box svg {
  width: 18px;
  height: 18px;
}

.lm-faq summary {
  font-size: 0.92rem;
}

.lm-faq summary::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0.55;
}

.lm-faq details[open] summary::before {
  transform: rotate(45deg) translateY(-1px);
}
