/* DKA Static Site — Redesigned CSS (orange/teal WordPress theme match) */

/* ===== 1. Design Tokens ===== */
:root {
  --primary: #007ba7;
  --primary-dark: #005d82;
  --primary-light: #e8f4f8;
  --accent: #d4952a;
  --accent-light: #e8b04a;
  --dark: #0b1220;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --surface: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --radius: 16px;
  --max: 1200px;
}

/* ===== 2. Reset & Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 3. Layout ===== */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .5rem .75rem;
  z-index: 9999;
}
.skip-link:focus { left: .75rem; top: .75rem; }

/* ===== 4. Home Page ===== */
.home-page {
  background: #f7f3ed;
}

.home-page .container {
  width: min(100% - 5rem, 1660px);
}

.home-header {
  position: relative;
  z-index: 80;
  background: #f7f3ed;
  padding: .95rem 0 .8rem;
}

.home-header-inner {
  position: relative;
  z-index: 81;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-brand img {
  width: min(100%, 250px);
  height: auto;
  display: block;
  margin: -22px -34px -23px -25px;
}

.home-header-main {
  position: relative;
  z-index: 82;
  min-width: 0;
}

.home-utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 92px;
  flex-wrap: wrap;
  padding: .3rem 0 .35rem;
  border-bottom: 1px solid rgba(0, 123, 167, .7);
}

.home-utility-links {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}

.home-utility-links a {
  color: #006c9a;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.home-utility-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-utility-links a[aria-current="page"] {
  color: #f59b00;
  font-weight: 700;
  text-decoration: none;
}

.home-phone-pill {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  min-height: 40px;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-phone-pill:hover {
  text-decoration: none;
  background: #ea9200;
}

.home-phone-icon {
  display: grid;
  place-items: center;
  width: 40px;
  align-self: stretch;
  font-size: 1rem;
  background: rgba(0, 0, 0, .08);
}

.home-phone-pill span:last-child {
  padding: 0 1.45rem;
}

.home-menu-btn {
  margin-top: 1rem;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: .7rem;
}

.home-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.home-nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.home-nav-submenu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 320px;
  padding: .7rem 0;
  border: 1px solid rgba(4, 95, 132, .12);
  border-radius: 16px;
  background: rgba(255, 252, 247, .98);
  box-shadow: 0 20px 38px rgba(20, 54, 72, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 20;
}

.home-nav-submenu-locations {
  min-width: 430px;
  columns: 2;
  column-gap: 0;
}

.home-nav-submenu-locations a {
  break-inside: avoid;
}

.home-nav-dropdown:hover .home-nav-submenu,
.home-nav-dropdown:focus-within .home-nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-nav-submenu a {
  display: block;
  padding: .78rem 1.15rem;
  color: #0b6b96;
  font-size: .92rem !important;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

.home-nav-submenu a:hover {
  background: rgba(245, 155, 0, .08);
}

.home-nav-submenu a[aria-current='page'] {
  background: rgba(245, 155, 0, .08);
  color: #0a4f72;
  font-weight: 600;
}

.home-nav a {
  color: #006d98;
  font-size: 1.08rem !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.1;
  text-decoration: none;
  padding: 0;
}

.home-nav .home-nav-submenu a {
  text-transform: none;
}

.home-nav a[aria-current="page"] {
  color: #f59b00;
}

.home-nav a:hover {
  color: #f59b00;
  text-decoration: none;
}

.home-nav span {
  font-size: .9em;
}

.home-hero {
  position: relative;
  min-height: 814px;
  background:
    linear-gradient(90deg, rgba(225, 236, 244, .94) 0%, rgba(225, 236, 244, .82) 24%, rgba(225, 236, 244, .5) 46%, rgba(225, 236, 244, .14) 68%, rgba(225, 236, 244, 0) 100%),
    linear-gradient(180deg, #d9e7f0 0%, #eef5fa 34%, #d6e2eb 70%, #c2d1dc 100%);
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(240, 248, 252, .18) 0%, rgba(240, 248, 252, .05) 30%, rgba(240, 248, 252, 0) 52%),
    url("../img/Asset-2-300x129.png") right center / cover no-repeat;
  transform: none;
  filter: none;
}

.home-hero-inner {
  position: relative;
  min-height: 814px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.home-hero-copy {
  max-width: 760px;
  padding-left: 6.2%;
  padding-top: 0;
  transform: translateY(-10%);
  position: relative;
}

.home-hero-kicker {
  margin: 0 0 1.6rem;
  color: #0a6f9b;
  font-size: 1.53rem;
  font-weight: 500;
}

.home-hero-title {
  margin: 0;
  color: #0a5f86;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 4.05vw, 4.65rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.025em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  max-width: 930px;
}

.home-hero-title-accent {
  color: #f59b00;
}

.home-hero-nowrap {
  white-space: nowrap;
}

.home-hero-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 2.05rem;
  padding: .86rem 1.65rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.home-hero-button:hover {
  background: #ea9200;
  text-decoration: none;
}

.home-info-band {
  display: grid;
  grid-template-columns: 33.2% 36.4% 30.4%;
}

.home-info-panel {
  min-height: 570px;
}

.home-info-panel-left {
  background: #f59b00;
  color: #fff;
}

.home-info-panel-center,
.home-info-panel-right {
  position: relative;
  background: #005f88;
  color: #fff;
  overflow: hidden;
}

.home-info-panel-center::before,
.home-info-panel-right::before {
  content: "";
  position: absolute;
  inset: -8% -20% -18% auto;
  width: 120%;
  background:
    radial-gradient(circle at 16% 26%, rgba(13, 84, 115, .95) 0 33%, transparent 33.5%),
    radial-gradient(circle at 88% 40%, rgba(19, 109, 147, .8) 0 28%, transparent 28.5%),
    radial-gradient(circle at 54% 94%, rgba(9, 76, 104, .72) 0 18%, transparent 18.5%);
  pointer-events: none;
}

.home-info-panel-right::after {
  content: "";
  position: absolute;
  inset: -20% -34% -12% 26%;
  background:
    radial-gradient(circle at 42% 28%, transparent 0 34%, rgba(21, 121, 160, .42) 34.5% 47%, transparent 47.5%),
    radial-gradient(circle at 86% 70%, transparent 0 42%, rgba(18, 101, 136, .45) 42.5% 56%, transparent 56.5%);
  pointer-events: none;
}

.home-info-content {
  position: relative;
  z-index: 1;
  max-width: 672px;
  padding: 5rem 4.2rem 4.25rem;
}

.home-info-content-left {
  max-width: 440px;
  padding-left: 5.3rem;
  padding-top: 6.7rem;
}

.home-info-kicker {
  margin: 0 0 1.35rem;
  color: #ffb238;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
}

.home-info-panel-left .home-info-kicker {
  color: #0a6a95;
}

.home-info-title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
}

.home-info-panel-left .home-info-title {
  font-size: clamp(2rem, 2.4vw, 3.2rem);
  line-height: 1.04;
}

.home-info-panel-left .home-info-text {
  font-size: 1.12rem;
  line-height: 1.85;
}

.home-info-text {
  margin: 0;
  color: rgba(255, 255, 255, .98);
  font-size: 1rem;
  line-height: 1.95;
}

.home-info-text-secondary {
  margin-top: 1.5rem;
}

.home-info-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 9rem 10.1% 4rem 8.8%;
}

.home-info-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  padding: 1.25rem 0 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, .75);
  color: rgba(195, 232, 244, .95);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 1.9vw, 2.3rem);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.home-info-links a:hover {
  color: #fff;
  text-decoration: none;
}

.home-info-links span {
  color: #f59b00;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  flex-shrink: 0;
}

.home-diagnosis-banner {
  position: relative;
  min-height: 812px;
  background:
    linear-gradient(90deg, rgba(55, 55, 55, .58) 0%, rgba(55, 55, 55, .48) 28%, rgba(55, 55, 55, .56) 100%),
    url("../img/Asset-4-300x130.png") center center / cover fixed no-repeat;
  overflow: hidden;
  z-index: 0;
}

.home-diagnosis-image {
  display: none;
}

.home-diagnosis-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, .08);
  z-index: -1;
}

.home-diagnosis-inner {
  position: relative;
  z-index: 1;
  min-height: 812px;
  display: flex;
  align-items: center;
}

.home-diagnosis-copy {
  max-width: 980px;
  padding: 5.25rem 2rem 2rem 8.4%;
}

.home-diagnosis-title {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 4.05vw, 4.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 860px;
}

.home-diagnosis-title span {
  color: #f59b00;
  margin-left: .14em;
}

.home-diagnosis-text {
  margin: 1.45rem 0 0;
  max-width: 820px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.home-providers-intro {
  position: relative;
  background: #f8f5f0;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 72px;
  z-index: 2;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, .08);
}

.home-providers-intro::before,
.home-providers-intro::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.home-providers-intro::before {
  width: 620px;
  height: 620px;
  left: -210px;
  top: -40px;
  background:
    radial-gradient(circle, transparent 0 56%, rgba(236, 231, 223, .7) 56.5% 71%, transparent 71.5%);
}

.home-providers-intro::after {
  width: 760px;
  height: 760px;
  right: -230px;
  top: -120px;
  background:
    radial-gradient(circle, transparent 0 56%, rgba(236, 231, 223, .55) 56.5% 72%, transparent 72.5%);
}

.home-providers-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4.75rem 0 3.5rem;
  color: #0b6b96;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.home-providers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3rem 2rem;
  padding: 0 11% 5rem;
}

.home-provider-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-provider-card img {
  width: 176px;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 7px;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  background: #d8d8d8;
}

.home-provider-card h3 {
  margin: 0;
  color: #0c6d96;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.08;
  min-height: 2.6em;
}

.home-provider-card h3 span {
  color: #f59b00;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.home-provider-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 170px;
  margin-top: .45rem;
  padding: 0.50rem 1.35rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-provider-card a:hover {
  background: #ea9200;
  text-decoration: none;
}

.home-provider-card a span {
  font-size: 1.15rem;
  line-height: 1;
}

.home-new-patient {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  overflow: hidden;
}

.home-new-patient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/Asset-6-300x200.png") center center / cover fixed no-repeat;
  z-index: 0;
}

.home-new-patient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 243, 237, .1) 0%, rgba(247, 243, 237, .18) 40%, rgba(247, 243, 237, .52) 60%, rgba(247, 243, 237, .76) 100%);
  z-index: 1;
}

.home-new-patient-image {
  position: relative;
  z-index: 2;
  background: transparent;
}

.home-new-patient-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.home-new-patient-copy-inner {
  max-width: 620px;
  padding: 3rem 2rem;
  text-align: center;
}

.home-new-patient-copy h2 {
  margin: 0 0 1.5rem;
  color: #084f72;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 3.1vw, 4.1rem);
  font-weight: 400;
  line-height: 1.06;
  text-shadow: 0 2px 10px rgba(255, 255, 255, .42);
}

.home-new-patient-copy p {
  margin: 0 auto;
  max-width: 540px;
  color: #064d6f;
  font-size: 1.16rem;
  line-height: 1.86;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(255, 255, 255, .34);
}

.home-new-patient-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.15rem;
  min-width: 164px;
  padding: .58rem 1.2rem;
  border-radius: 999px;
  background: #94b80f;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.home-new-patient-copy a:hover {
  background: #88a90d;
  text-decoration: none;
}

.home-new-patient-copy a span {
  font-size: 1.15rem;
}

.home-footer {
  background: #045f84;
  color: #fff;
  padding: 3.3rem 0 2.8rem;
}

.home-footer-inner {
  display: grid;
  grid-template-columns: 1.08fr .96fr 1.2fr;
  gap: 2.25rem;
  align-items: start;
}

.home-footer h3 {
  margin: 0 0 1.35rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.1vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.home-footer-logo {
  width: 320px;
  height: 210px;
  margin-bottom: 2.35rem;
  background: url("../img/homepage-mockup1-07-300x229.png") left center / contain no-repeat;
}

.home-footer-office h3 {
  margin-bottom: .85rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.home-footer-office p {
  margin: 0 0 .55rem;
  color: rgba(255, 255, 255, .95);
  font-size: 1.02rem;
  line-height: 1.55;
}

.home-footer-brand > a {
  display: inline-block;
  margin-top: 1.35rem;
  color: #f59b00;
  font-size: 1rem;
  text-decoration: none;
}

.home-footer-brand > a:hover {
  color: #ffb83d;
  text-decoration: none;
}

.home-footer-links-wrap {
  padding-top: 8.7rem;
}

.home-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.9rem;
}

.home-footer-links div {
  display: grid;
  gap: 1.05rem;
}

.home-footer-links a {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 400;
  text-decoration: none;
}

.home-footer-links a.is-active {
  color: #f59b00;
}

.home-footer-links a:hover {
  color: #f59b00;
  text-decoration: none;
}

.home-footer-map-wrap {
  padding-top: 8.7rem;
}

.home-footer-map-card {
  width: 100%;
  max-width: 632px;
  overflow: hidden;
  background: #dbe4ec;
  border: 0;
}

.home-footer-map-card iframe,
.home-footer-map-card img {
  width: 100%;
  height: 278px;
  display: block;
  border: 0;
}

.home-footer-map-card img {
  object-fit: cover;
}

/* ===== 4A. About Page ===== */
.about-page {
  background: #f7f3ed;
}

.about-page .home-nav a[aria-current="page"] {
  color: #f59b00;
}

.about-hero {
  position: relative;
  padding: 5.75rem 0 3rem;
  overflow: hidden;
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-hero::before {
  width: 720px;
  height: 720px;
  left: -260px;
  top: -180px;
  background:
    radial-gradient(circle, transparent 0 57%, rgba(232, 224, 214, .76) 57.5% 73%, transparent 73.5%);
}

.about-hero::after {
  width: 820px;
  height: 820px;
  right: -300px;
  top: -120px;
  background:
    radial-gradient(circle, transparent 0 58%, rgba(232, 224, 214, .52) 58.5% 73%, transparent 73.5%);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
  gap: 2.5rem;
  align-items: start;
}

.about-detail-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.about-hero-copy {
  max-width: 900px;
}

.about-kicker {
  margin: 0 0 1rem;
  color: #0a6c97;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-hero-copy h1 {
  margin: 0 0 1.35rem;
  color: #0a678f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 4vw, 4.9rem);
  font-weight: 400;
  line-height: 1.02;
}

.about-hero-copy p {
  margin: 0;
  color: #225066;
  font-size: 1.15rem;
  line-height: 1.95;
  max-width: 900px;
}

.about-hero-copy p + p {
  margin-top: 1rem;
}

.about-hero-lede {
  color: #0d4560;
  font-weight: 400;
}

.about-mission-card {
  padding: 2.25rem 2rem;
  border: 1px solid rgba(5, 95, 132, .13);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(248, 243, 235, .95));
  box-shadow: 0 24px 60px rgba(21, 58, 79, .08);
}

.about-mission-card h2 {
  margin: 0 0 .85rem;
  color: #0a678f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.about-mission-card p {
  margin: 0;
  color: #285769;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-links-section {
  padding: 1.1rem 0 5.5rem;
}

.about-detail-section {
  padding-top: 0;
}

.about-detail-card {
  max-width: 1040px;
  padding: 2rem 2.1rem 2.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
}

.about-detail-card h2 {
  margin: 0 0 1.25rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.3vw, 2.9rem);
  font-weight: 400;
}

.about-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 2.5rem;
}


.contact-address-row {
  grid-column: 1 / -1;
}

.about-content-grid {
  display: grid;
  gap: 1.4rem;
}

.resource-hub-section {
  padding: 1.1rem 0 5.5rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 92px;
  padding: 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
}

.resource-card h2,
.resource-article h2 {
  margin: 0;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.resource-card p,
.resource-article p,
.resource-article li {
  margin: 0;
  color: #35576c;
  font-size: 1.02rem;
  line-height: 1.75;
}

.resource-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .82rem 1.24rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.resource-card a:hover {
  background: #de8d00;
}

.resource-article-section {
  padding: 1.1rem 0 5.5rem;
}

.resource-article {
  display: grid;
  gap: 1.5rem;
}

.resource-article-block {
  padding: 2rem 2.1rem 2.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
}

.resource-article-block h2 {
  margin: 0 0 1rem;
}

.resource-article-block h3 {
  margin: 1.45rem 0 .75rem;
  color: #0e4157;
  font-size: 1.15rem;
  font-weight: 700;
}

.resource-article-block ul {
  margin: .75rem 0 0;
  padding-left: 1.25rem;
}

.dialysis-partners-section {
  margin-bottom: 1.8rem;
  padding: 1.8rem 1.9rem 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
  text-align: center;
}

.dialysis-partners-section h2,
.dialysis-partners-section h3,
.dialysis-partner-card h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.dialysis-partners-section h2 {
  margin: 0 0 1.2rem;
  color: #172b4d;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
}

.dialysis-partners-image {
  display: block;
  width: min(100%, 380px);
  margin: 0 auto 1.4rem;
  height: auto;
}

.dialysis-partners-section h3 {
  margin: 0 0 1.4rem;
  color: #172b4d;
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
}

.dialysis-partners-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .9fr;
  gap: 1.8rem;
  align-items: start;
  text-align: left;
}

.dialysis-partner-card {
  padding: 1.3rem 1.4rem 1.45rem;
  border-left: 1px solid rgba(11, 104, 145, .45);
  background: rgba(248, 249, 252, .95);
  box-shadow: 0 12px 24px rgba(17, 40, 63, .10);
}

.dialysis-partner-card h4 {
  margin: 0 0 .9rem;
  color: #172b4d;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.25;
}

.dialysis-partner-card ul {
  columns: 2;
  column-gap: 1.6rem;
  margin: 0;
  padding-left: 1.15rem;
  color: #2a4f63;
}

.dialysis-partner-card li {
  break-inside: avoid;
  margin: 0 0 .38rem;
  font-size: .95rem;
  line-height: 1.45;
}

.dialysis-partner-card:nth-child(2) ul,
.dialysis-partner-card:nth-child(3) ul {
  columns: 1;
}
.join-team-recruitment {
  display: grid;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
  padding: 1.8rem 1.9rem 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
}

.join-team-recruitment-image {
  display: block;
  width: min(100%, 820px);
  margin: 0 auto;
  height: auto;
}

.join-team-recruitment-copy h2 {
  margin: 0 0 1.2rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.08;
}

.join-team-recruitment-copy p {
  margin: 0;
  color: #29596c;
  font-size: 1rem;
  line-height: 1.8;
}

.join-team-recruitment-copy p + p {
  margin-top: .95rem;
}

.join-team-contact {
  margin-top: 1.5rem;
}

.join-team-contact h3 {
  margin: 0 0 .9rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 400;
}

.join-team-contact a {
  color: #29596c;
  text-decoration: none;
}

.join-team-contact a:hover {
  text-decoration: underline;
}
.about-panel {
  padding: 1.5rem 1.45rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 36px rgba(16, 54, 72, .08);
}

.about-panel h2,
.about-panel h3 {
  margin: 0 0 .8rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.08;
}

.about-panel p {
  margin: 0;
  color: #29596c;
  font-size: 1rem;
  line-height: 1.8;
}

.about-panel p + p {
  margin-top: .9rem;
}

.about-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #29596c;
}

.about-panel li {
  margin: .45rem 0;
  line-height: 1.7;
}

.about-callout {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(5, 95, 132, .96), rgba(12, 114, 151, .92));
  color: #fff;
  box-shadow: 0 20px 36px rgba(7, 62, 85, .18);
}

.about-callout > div {
  flex: 1 1 auto;
  min-width: 0;
}

.about-callout strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

.about-callout .home-hero-button {
  margin-top: 0;
  flex-shrink: 0;
  align-self: center;
}

.paperwork-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1rem;
}

.paperwork-choice-actions .home-hero-button {
  margin-top: 0;
}

.paperwork-online-button {
  background: #0b6c99;
}

.paperwork-online-button:hover {
  background: #095879;
}

.paperwork-choice-actions-inline {
  margin-top: 0;
  justify-content: flex-end;
}

.about-callout-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.about-callout-phone {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.about-callout-phone:hover {
  text-decoration: underline;
}
.about-faq-list {
  display: grid;
  gap: 1rem;
}

.about-faq-item {
  border-radius: 0;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 32px rgba(16, 54, 72, .08);
  overflow: hidden;
}

.about-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.35rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.about-faq-item summary::-webkit-details-marker {
  display: none;
}

.about-faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.35rem;
  color: #2b596a;
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== 4B. Patient Paperwork ===== */
.paperwork-page {
  background: #f5f5f5;
}

.paperwork-intro-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.paperwork-intro-main {
  min-height: 100vh;
  padding: 2rem 0 0;
}

.paperwork-screen {
  display: none;
}

.paperwork-screen-active {
  display: block;
}

.paperwork-intro-header {
  width: min(100% - 3rem, 1450px);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.paperwork-intro-brand img {
  width: 250px;
  max-width: 100%;
}

.paperwork-intro-contact {
  text-align: right;
  color: #232d39;
  font-size: 1rem;
  line-height: 1.55;
}

.paperwork-form-header {
  width: 100%;
  margin-bottom: 3rem;
  padding-top: .25rem;
}

.paperwork-intro-contact p {
  margin: 0;
}

.paperwork-intro-contact a {
  color: #2f74bb;
  text-decoration: none;
}

.paperwork-intro-card {
  width: min(100% - 8rem, 1460px);
  min-height: 525px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .16);
}

.paperwork-intro-form {
  width: min(100%, 430px);
  display: grid;
  gap: 1.15rem;
}

.paperwork-intro-form p {
  margin: 0 0 1rem;
  color: #212a36;
  font-size: 1.42rem;
  line-height: 1.45;
  text-align: center;
}

.paperwork-intro-field {
  position: relative;
}

.paperwork-intro-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 2.4rem 0 1.1rem;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background: #fff;
  color: #2c3949;
  font-size: 1.05rem;
}

.paperwork-intro-required {
  position: absolute;
  top: 50%;
  right: .9rem;
  transform: translateY(-50%);
  color: #d92d20;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.paperwork-intro-field.is-valid .paperwork-intro-required {
  display: none;
}

.paperwork-intro-form button {
  justify-self: center;
}

.paperwork-intro-footer {
  padding: 2.4rem 0 1rem;
  text-align: center;
  color: #7d7d7d;
  font-size: 1rem;
}

.paperwork-hidden-flow {
  position: relative;
  margin-top: 4rem;
}

.paperwork-hidden-flow-visible {
  margin-top: 0;
}

.paperwork-identity-overlay {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  background: rgba(0, 0, 0, .45);
  z-index: 30;
}

.paperwork-identity-modal {
  width: min(100% - 2rem, 1280px);
  border: 1px solid #d4d4d4;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .22);
}

.paperwork-identity-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e2e2e2;
}

.paperwork-identity-icon,
.paperwork-identity-header h2 {
  color: #2f79b5;
}

.paperwork-identity-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.paperwork-identity-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
}

.paperwork-identity-body {
  padding: 1.9rem 1.2rem 2rem;
}

.paperwork-identity-required {
  margin: 0 0 .65rem;
  color: #8a8a8a;
  font-size: .92rem;
}

.paperwork-identity-body p {
  margin: 0 0 1.6rem;
  color: #383838;
  font-size: 1.35rem;
  line-height: 1.4;
}

.paperwork-identity-body label {
  display: block;
  margin: 0 0 1.45rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
}

.paperwork-identity-extra {
  display: none !important;
  cursor: default !important;
}

.paperwork-identity-extra.is-visible {
  display: grid !important;
  gap: .45rem;
}

.paperwork-identity-extra span {
  color: #37465a;
  font-size: 1rem;
  font-weight: 500;
}

.paperwork-identity-extra input {
  width: 100%;
  min-height: 44px;
  padding: .65rem .85rem;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  color: #253244;
  font: inherit;
}

.paperwork-identity-body input {
  margin-right: .55rem;
}

.paperwork-identity-body small {
  color: #999;
  font-size: .78em;
}

.paperwork-identity-body button {
  margin: 1.6rem auto 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paperwork-main {
  padding: 2rem 0 5.5rem;
}

.paperwork-shell {
  width: min(100% - 3rem, 1450px);
}

.paperwork-title {
  margin: 0 0 .9rem;
  color: #2f84c5;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
}

.paperwork-title-secondary {
  margin-top: 2.3rem;
}

.paperwork-form-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.paperwork-top-actions {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.paperwork-print-btn {
  border: 1px solid #2f84c5;
  border-radius: 4px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 400;
  padding: .45rem .8rem;
  cursor: pointer;
  flex-shrink: 0;
}

.paperwork-print-btn:hover,
.paperwork-print-btn:focus-visible {
  background: #2f84c5;
  color: #fff;
}

.paperwork-jump-btn {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 2px solid #0f7a34;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 122, 52, .28);
}

.paperwork-jump-btn:hover,
.paperwork-jump-btn:focus-visible {
  border-color: #0b5f28;
  background: #0f7a34;
  color: #fff;
}

.paperwork-form {
  display: grid;
  gap: 1.45rem;
}

.paperwork-required-missing {
  background: #fff2a8 !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .35);
}

.paperwork-form label.paperwork-required-missing,
.paperwork-field.paperwork-required-missing,
.paperwork-options.paperwork-required-missing {
  background: #fff2a8 !important;
}

.paperwork-form input.paperwork-required-missing,
.paperwork-form select.paperwork-required-missing,
.paperwork-form textarea.paperwork-required-missing {
  border-color: #d97706 !important;
  background-color: #fff8c9 !important;
}

.paperwork-form label.paperwork-required-missing,
.paperwork-field.paperwork-required-missing,
.paperwork-options.paperwork-required-missing {
  border-radius: 4px;
  padding: .45rem;
}

.paperwork-signature.paperwork-required-missing {
  border-color: #f59e0b;
  background: #fff7cc;
}

.paperwork-doc-item.paperwork-required-missing {
  background: linear-gradient(90deg, #fff7cc, transparent 55%) !important;
  box-shadow: none;
}

.paperwork-required-complete {
  box-shadow: none;
}

.paperwork-validation-error {
  background: #ffe4e6 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .28);
}

.paperwork-form input.paperwork-validation-error,
.paperwork-form select.paperwork-validation-error,
.paperwork-form textarea.paperwork-validation-error {
  border-color: #dc2626 !important;
  background-color: #ffe4e6 !important;
}

.paperwork-form label.paperwork-validation-error,
.paperwork-field.paperwork-validation-error,
.paperwork-options.paperwork-validation-error {
  border-radius: 4px;
  padding: .45rem;
}

.paperwork-step,
.paperwork-docs {
  padding: 0 1rem 1.5rem;
  border: 1px solid #d7d7d7;
  background: #fff;
}

.paperwork-step-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .35rem 0 1.4rem;
}

.paperwork-step-header h2 {
  margin: 0;
  color: #1f2a37;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
}

.paperwork-step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #bababa;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.paperwork-grid {
  display: grid;
  gap: 1.2rem 1.25rem;
  margin-bottom: 1rem;
}

.paperwork-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.paperwork-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.paperwork-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.paperwork-grid-5 { grid-template-columns: 1.45fr .9fr 1.05fr .7fr .7fr; }
.paperwork-social-followup-row {
  grid-template-columns: minmax(16rem, max-content) minmax(0, 1fr);
  column-gap: 1.5rem;
  align-items: end;
}
.paperwork-span-12 { grid-column: 1 / -1; }
.paperwork-step > .paperwork-span-12 {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
}

.paperwork-step > .paperwork-span-12 textarea {
  width: 100%;
  min-height: 5rem;
  resize: vertical;
}
.paperwork-name-grid { grid-template-columns: 3fr 2fr 3fr 4fr; }
.paperwork-gender-marital-grid { grid-template-columns: 3fr 9fr; }

.paperwork-gender-marital-grid .paperwork-options {
  min-width: 0;
}

.paperwork-gender-marital-grid .paperwork-options:last-child {
  column-gap: 1.45rem;
}

.paperwork-field,
.paperwork-grid label {
  display: grid;
  gap: .45rem;
}

.paperwork-field > span,
.paperwork-grid label > span,
.paperwork-options legend {
  color: #37465a;
  font-size: 1.04rem;
  font-weight: 500;
}

.paperwork-field em,
.paperwork-grid label em,
.paperwork-step-header em {
  color: #ff8da0;
  font-style: normal;
}

.paperwork-grid input,
.paperwork-grid select,
.paperwork-table input {
  width: 100%;
  min-height: 43px;
  padding: .65rem .85rem;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  color: #253244;
  font: inherit;
}

.paperwork-date {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paperwork-date select {
  border-radius: 0;
}

.paperwork-date select:first-child { border-top-left-radius: 3px; border-bottom-left-radius: 3px; }
.paperwork-date select:last-child { border-top-right-radius: 3px; border-bottom-right-radius: 3px; }

.paperwork-options {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.paperwork-options label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #2c3949;
  font-size: 1rem;
}

.paperwork-options input[type="radio"],
.paperwork-options input[type="checkbox"],
.paperwork-check-columns input[type="checkbox"] {
  flex: 0 0 17px !important;
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  accent-color: #0f7f9f;
}

.paperwork-upload {
  padding: .4rem 0 1rem 3.5rem;
}

.paperwork-file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.paperwork-upload-btn,
.paperwork-add-row,
.paperwork-remove-row,
.paperwork-sign-btn,
.paperwork-privacy-submit,
.paperwork-intro-form button,
.paperwork-identity-body button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .45rem .8rem;
  min-height: 0;
  height: auto;
  max-height: 2.4rem;
  cursor: pointer;
}

.paperwork-upload-btn:hover,
.paperwork-upload-btn:focus-visible,
.paperwork-add-row:hover,
.paperwork-add-row:focus-visible,
.paperwork-sign-btn:hover,
.paperwork-sign-btn:focus-visible,
.paperwork-privacy-submit:hover,
.paperwork-privacy-submit:focus-visible,
.paperwork-intro-form button:hover,
.paperwork-intro-form button:focus-visible,
.paperwork-identity-body button:hover,
.paperwork-identity-body button:focus-visible {
  background: #3498db;
  color: #fff;
}

.paperwork-remove-row {
  border-color: #d92d20;
  color: #b42318;
}

.paperwork-remove-row:hover,
.paperwork-remove-row:focus-visible {
  background: #d92d20;
  color: #fff;
}

.paperwork-file-list {
  margin-top: .8rem;
  color: #4a5967;
  font-size: .95rem;
  line-height: 1.6;
}

.paperwork-signature {
  width: min(100%, 500px);
  margin: 1rem auto;
  padding: 1.5rem;
  border: 1px solid #cbcbcb;
  background: #fff;
}

.paperwork-signature h2 {
  margin: 0 0 .8rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.paperwork-signature-note {
  padding: .8rem 1rem;
  border-left: 3px solid #f5b327;
  background: #f6f6f6;
  color: #2a3646;
  font-size: 1rem;
  line-height: 1.45;
}

.paperwork-signature-actions {
  display: flex;
  justify-content: space-between;
  margin: .9rem 0 .55rem;
  color: #3176c6;
}

.paperwork-signature-link {
  border: 0;
  background: transparent;
  color: #3176c6;
  font: inherit;
  cursor: pointer;
}

.paperwork-signature-draw,
.paperwork-signature-type {
  display: none;
}

.paperwork-signature-draw.is-active,
.paperwork-signature-type.is-active {
  display: block;
}

.paperwork-signature-canvas {
  width: 100%;
  height: 132px;
  border: 1px solid #767676;
  background: linear-gradient(180deg, transparent calc(100% - 34px), #c8c8c8 calc(100% - 33px), #c8c8c8 calc(100% - 31px), transparent calc(100% - 30px));
  touch-action: none;
}

.paperwork-signature-type-label {
  display: grid;
  gap: .45rem;
}

.paperwork-signature-type-label span {
  color: #2a3646;
  font-size: .96rem;
}

.paperwork-signature-type-label input {
  min-height: 46px;
  padding: .7rem .85rem;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font: inherit;
}

.paperwork-signature-status {
  margin-top: .85rem;
  min-height: 1.2rem;
  color: #2f7d32;
  font-size: .94rem;
  font-weight: 400;
}

.paperwork-sign-btn { margin-top: 1.15rem; }

.paperwork-signature p {
  margin: 1rem 0 0;
  color: #8a8a8a;
  line-height: 1.45;
}

.paperwork-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 .8rem;
}

.paperwork-table th,
.paperwork-table td {
  border: 1px solid #d9d9d9;
  padding: .7rem;
  vertical-align: middle;
}

.paperwork-table th {
  color: #1e2d3f;
  font-size: .98rem;
  font-weight: 700;
  text-align: center;
  background: #fff;
}

.paperwork-table input[type="text"] {
  border: 0;
  border-bottom: 1px solid #b8b8b8;
  border-radius: 0;
}

.paperwork-table-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 0;
  padding: .45rem 0 0;
}

.paperwork-table-actions .paperwork-add-row,
.paperwork-table-actions .paperwork-remove-row {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 2.25rem;
}

.paperwork-check-columns {
  display: grid;
  gap: .9rem 2rem;
  padding: .45rem 1.9rem 1.1rem;
}

.paperwork-check-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paperwork-check-columns label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #263444;
  font-size: 1rem;
}

.paperwork-family-table td:not(:first-child),
.paperwork-family-table th:not(:first-child) {
  text-align: center;
}

.paperwork-family-table {
  table-layout: fixed;
  font-size: .9rem;
  line-height: 1.18;
}

.paperwork-family-table th,
.paperwork-family-table td {
  padding: .32rem .45rem;
  height: 2rem;
}

.paperwork-family-table th:first-child,
.paperwork-family-table td:first-child {
  width: 42%;
}

.paperwork-family-table th:nth-child(2),
.paperwork-family-table td:nth-child(2),
.paperwork-family-table th:nth-child(3),
.paperwork-family-table td:nth-child(3) {
  width: 14%;
}

.paperwork-family-table th:nth-child(4),
.paperwork-family-table td:nth-child(4) {
  width: 30%;
}

.paperwork-family-table td:not(:first-child) {
  padding-left: .25rem;
  padding-right: .25rem;
}

.paperwork-family-table input[type="checkbox"] {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  accent-color: #0f7f9f;
}

.paperwork-docs {
  position: relative;
  padding: 1.25rem 1.45rem 1.25rem 2rem;
}

.paperwork-docs-bar {
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 3px;
  background:
    linear-gradient(#16a34a, #16a34a) 0 0 / 100% var(--paperwork-doc-progress, 0%) no-repeat,
    #ff1b1b;
}

.paperwork-docs-bar.is-complete {
  background: #16a34a;
}

.paperwork-docs h2 {
  margin: 0 0 1rem;
  color: #222d3a;
  font-size: 1.15rem;
  font-weight: 400;
}

.paperwork-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: .45rem 0;
  border-top: 1px solid #dedede;
}

.paperwork-doc-item span {
  color: #2f74bb;
  font-size: 1rem;
}

.paperwork-doc-item.is-complete {
  background: linear-gradient(90deg, rgba(22, 163, 74, .12), transparent 55%);
}

.paperwork-doc-item.is-complete span {
  color: #166534;
  font-weight: 600;
}

.paperwork-doc-item.is-complete span::before {
  content: "\2713";
  display: inline-block;
  margin-right: .7rem;
  color: #108a12;
  font-weight: 700;
}

.paperwork-doc-item.is-complete a,
.paperwork-doc-item.is-complete button {
  border-color: #15803d;
  background: #15803d;
  color: #fff;
  font-weight: 600;
  cursor: default;
}

.paperwork-doc-item a,
.paperwork-doc-item button {
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .92rem;
  padding: .42rem .75rem;
  min-width: 112px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.paperwork-doc-item a:hover,
.paperwork-doc-item a:focus-visible,
.paperwork-doc-item button:hover,
.paperwork-doc-item button:focus-visible {
  background: #3498db;
  color: #fff;
}

[data-paperwork-draft-warning] {
  color: #fff8d8 !important;
  font-size: .92rem !important;
  line-height: 1.45;
  max-width: 280px;
}

[data-paperwork-submit-status] {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 520px;
  padding: .55rem .85rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: #0b3950;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

[data-paperwork-submit-status]:empty {
  display: none;
}

[data-paperwork-submit-status].is-error {
  color: #7f1d1d;
}

.paperwork-doc-page {
  margin: 0;
  background: #efefef;
  font-family: Inter, system-ui, sans-serif;
}

.paperwork-doc-page-privacy {
  background: #f2f2f2;
}

.paperwork-doc-shell {
  padding: 1.4rem;
}

.paperwork-doc-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1480px;
  padding: 1.4rem 1rem 1rem;
  background: #f7f7f7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.paperwork-doc-back {
  color: #6d6d6d;
  font-size: 1.08rem;
  line-height: 1;
  text-decoration: none;
}

.paperwork-doc-badge {
  margin-right: auto;
  padding: .35rem .7rem;
  border-radius: 4px;
  background: #58b6d7;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.paperwork-doc-continue {
  padding: .7rem 1rem;
  border-radius: 4px;
  background: #318bcb;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.paperwork-doc-frame {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  background: #ededed;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.paperwork-privacy-shell {
  padding: 0 0 3rem;
}

.paperwork-privacy-header {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.8rem 2rem 1.4rem;
}

.paperwork-privacy-topbar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 1.6rem 0 .8rem;
}

.paperwork-privacy-banner {
  max-width: 1180px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  padding: 1.25rem 1.25rem;
  border: 1px solid #afd5ec;
  border-radius: 4px;
  background: #cfe8f7;
}

.paperwork-privacy-banner span,
.paperwork-privacy-banner a {
  color: #2f84c5;
  font-size: 1rem;
  text-decoration: none;
}

.paperwork-privacy-card {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 2.2rem;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.paperwork-privacy-copy {
  padding: 1.8rem 5rem 0;
}

.paperwork-privacy-copy h1 {
  margin: .4rem auto 2.2rem;
  max-width: 900px;
  color: #252f3f;
  font-size: 2.05rem;
  line-height: 1.38;
  text-align: center;
}

.paperwork-privacy-copy h2 {
  margin: 0 auto 1.5rem;
  max-width: 760px;
  color: #252f3f;
  font-size: 1.08rem;
  line-height: 1;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.paperwork-privacy-copy h3 {
  margin: 2rem 0 1rem;
  color: #1f2a37;
  font-size: 1.05rem;
  font-weight: 800;
}

.paperwork-privacy-copy p {
  margin: 0 0 1.4rem;
  color: #243246;
  font-size: 1.05rem;
  line-height: 1.55;
}

.paperwork-privacy-lead {
  margin: 0 0 1rem 1.45rem;
}

.paperwork-privacy-lead li {
  color: #243246;
  font-size: 1.05rem;
  line-height: 1.45;
}

.paperwork-privacy-ackline {
  margin-top: 1.8rem;
}

.paperwork-privacy-ackform {
  margin-top: 1rem;
}

.paperwork-privacy-name-label {
  margin-bottom: .7rem;
  color: #2d3a48;
  font-size: 1.1rem;
}

.paperwork-privacy-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-height: 92px;
}

.paperwork-privacy-dob-wrap {
  position: relative;
  padding-right: 1.6rem;
}

.paperwork-privacy-dob-grid {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(72px, 1fr) minmax(92px, 1.25fr);
  gap: .75rem;
}

.paperwork-privacy-input-wrap {
  position: relative;
  display: block;
}

.paperwork-privacy-labeled-input {
  padding-top: 1.35rem;
}

.paperwork-privacy-field-label {
  position: absolute;
  top: 0;
  left: .1rem;
  color: #2d3a48;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
}

.paperwork-privacy-input-wrap input {
  width: 100%;
  min-height: 50px;
  padding: .8rem 2.5rem .8rem .95rem;
  border: 0;
  border-bottom: 2px solid #efbb4b;
  background: #f8f8f8;
  color: #425466;
  font: inherit;
  font-size: 1rem;
}

.paperwork-privacy-dob-grid .paperwork-privacy-input-wrap input {
  padding-right: .95rem;
  text-align: center;
}

.paperwork-privacy-check,
.paperwork-privacy-required {
  position: absolute;
  top: 50%;
  right: .9rem;
  transform: translateY(-50%);
  font-size: 1.55rem;
  font-weight: 700;
}

.paperwork-privacy-check {
  color: #25b0bb;
  display: none;
}

.paperwork-privacy-required {
  right: 0;
  color: #ff4c35;
}

.paperwork-privacy-input-wrap.is-filled .paperwork-privacy-check,
.paperwork-privacy-dob-wrap.is-filled .paperwork-privacy-required {
  display: none;
}

.paperwork-privacy-sign-card {
  width: min(100%, 500px);
  margin: 4rem auto 0;
  padding: 1.5rem 1.5rem 1.8rem;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.paperwork-privacy-sign-card h4 {
  margin: 0 0 1.4rem;
  color: #202c39;
  font-size: 1.05rem;
  font-weight: 400;
}

.paperwork-privacy-sign-switch {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.paperwork-privacy-sign-switch span {
  color: #4c5c6f;
}

.paperwork-privacy-sign-switch button {
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .45rem .8rem;
  text-decoration: none;
  cursor: pointer;
}

.paperwork-privacy-sign-switch button:hover,
.paperwork-privacy-sign-switch button:focus-visible,
.paperwork-privacy-sign-switch button.is-active {
  background: #3498db;
  color: #fff;
}

.paperwork-privacy-clear-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .2rem;
}

.paperwork-privacy-clear {
  border: 0;
  background: transparent;
  color: #3c8ed3;
  font: inherit;
  cursor: pointer;
}

.paperwork-privacy-canvas {
  height: 165px;
  border-radius: 0;
}

.paperwork-privacy-type-label {
  margin-bottom: 1rem;
}

.paperwork-privacy-sign-warning {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #f0e2b0;
  border-radius: 4px;
  background: #fbf3d8;
  color: #a87f23;
}

.paperwork-privacy-sign-warning.is-visible {
  display: block;
}

.paperwork-privacy-sign-actions {
  margin-top: 1.15rem;
}

.paperwork-privacy-submit {
  margin-top: 0;
}

.paperwork-privacy-sign-card p {
  margin-top: 1rem;
  color: #6d737d;
  font-size: .94rem;
  line-height: 1.5;
}

.paperwork-hipaa-copy {
  padding-top: 1rem;
}

.paperwork-hipaa-title {
  display: inline-block;
  margin: 0 auto 1.4rem;
  padding: .05rem .25rem;
  background: #d2d2d2;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.paperwork-hipaa-form {
  display: grid;
  gap: 2.8rem;
}

.paperwork-hipaa-section {
  display: grid;
  gap: 1.1rem;
}

.paperwork-hipaa-section-title {
  margin: 0;
  color: #1f2a37;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.paperwork-hipaa-people {
  display: grid;
  gap: 1rem;
  min-height: 92px;
}

.paperwork-hipaa-person-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.35fr) auto minmax(0, 1.2fr) auto minmax(0, 1.25fr);
  gap: .7rem;
  align-items: center;
}

.paperwork-hipaa-person-row-emergency {
  grid-template-columns: auto minmax(0, 1.7fr) auto minmax(0, 1.6fr);
}

.paperwork-hipaa-person-row span,
.paperwork-hipaa-inline-field span,
.paperwork-hipaa-wide-row span,
.paperwork-hipaa-checkbox span {
  color: #263445;
  font-size: 1rem;
}

.paperwork-hipaa-person-row input,
.paperwork-hipaa-inline-field input,
.paperwork-hipaa-wide-row input {
  min-height: 38px;
  padding: .55rem .75rem;
  border: 0;
  border-bottom: 2px solid #efbb4b;
  background: #f8f8f8;
  color: #425466;
  font: inherit;
}

.paperwork-hipaa-checkbox {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.paperwork-hipaa-checkbox input,
.paperwork-hipaa-radio-row input {
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: #0f7f9f;
}

.paperwork-hipaa-wide-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  max-width: 820px;
}

.paperwork-hipaa-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 840px;
}

.paperwork-hipaa-inline-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
}

.paperwork-hipaa-radio-row {
  display: flex;
  gap: 1.2rem;
}

.paperwork-hipaa-radio-row label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #263445;
  font-size: 1rem;
}

.paperwork-hipaa-acknowledgement {
  font-size: 1.15rem;
}

.paperwork-consent-copy {
  padding-top: 1.25rem;
}

.paperwork-consent-title {
  margin: 0 auto 2.2rem;
  color: #253142;
  font-size: 1.7rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.paperwork-consent-form {
  display: grid;
  gap: 2.8rem;
}

.paperwork-consent-identity {
  display: grid;
  gap: .85rem;
}

.paperwork-consent-identity-label,
.paperwork-consent-dob-label {
  color: #1f2a37;
  font-size: 1rem;
  font-weight: 700;
}

.paperwork-consent-name-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
}

.paperwork-consent-text {
  display: grid;
  gap: 1.55rem;
}

.paperwork-consent-text p {
  margin: 0;
  color: #1f2a37;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.42;
}

.paperwork-doc-paper {
  width: min(100%, 1060px);
  min-height: 1100px;
  margin: 0 auto;
  padding: 1.8rem 5.3rem 3rem;
  border-left: 1px solid #b8b8b8;
  border-right: 1px solid #b8b8b8;
  background: #fff;
}

.paperwork-doc-header {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.paperwork-doc-header img {
  width: 280px;
  max-width: 100%;
}

.paperwork-doc-header-privacy {
  grid-template-columns: 320px 1fr;
}

.paperwork-doc-providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.paperwork-doc-providers p {
  margin: 0 0 .2rem;
  color: #212121;
  font-size: .92rem;
  line-height: 1.28;
}

.paperwork-doc-contact {
  justify-self: end;
  text-align: right;
}

.paperwork-doc-contact p {
  margin: 0 0 .45rem;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.35;
}

.paperwork-doc-copy {
  max-width: 760px;
  margin-top: 4rem;
}

.paperwork-doc-copy p {
  margin: 0 0 1.6rem;
  color: #111;
  font-size: 1rem;
  line-height: 1.85;
}

.paperwork-doc-copy p:first-child,
.paperwork-doc-copy p:nth-child(2) {
  font-size: 1.05rem;
  font-weight: 700;
}

.paperwork-doc-signoff {
  margin-top: 4rem;
  font-weight: 700;
}

.paperwork-doc-paper-privacy {
  min-height: 1400px;
}

.paperwork-doc-copy-privacy {
  max-width: 900px;
}

.paperwork-doc-copy-privacy h2 {
  margin: 2rem 0 .8rem;
  color: #1e2f44;
  font-size: 1.18rem;
  font-weight: 700;
}

.paperwork-doc-copy-privacy ul {
  margin: 0 0 1.4rem 1.2rem;
  padding: 0;
}

.paperwork-doc-copy-privacy li {
  margin: 0 0 .6rem;
  color: #111;
  font-size: 1rem;
  line-height: 1.7;
}

.paperwork-doc-form-privacy {
  margin-top: 3.8rem;
}

.paperwork-doc-form {
  max-width: 470px;
  margin-top: 6rem;
  display: grid;
  gap: 3.1rem;
}

.paperwork-doc-confirm {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding-top: 1.4rem;
  background: rgba(0, 0, 0, .42);
  z-index: 5;
}

.paperwork-doc-confirm.is-visible {
  display: flex;
}

.paperwork-doc-confirm-card {
  width: min(100% - 2rem, 1360px);
  padding: 2.2rem 1.5rem 2.8rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.paperwork-doc-confirm-card h2 {
  margin: 0 0 1.25rem;
  color: #1f2a37;
  font-size: 1.08rem;
  font-weight: 400;
}

.paperwork-doc-confirm-card p {
  margin: 0 0 1.8rem;
  color: #2d3a48;
  font-size: 1rem;
}

.paperwork-doc-confirm-agree {
  display: inline-block;
  padding: .8rem 1.35rem;
  border-radius: 3px;
  background: #3498db;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}

.paperwork-doc-confirm-edit {
  display: block;
  margin: 1.25rem auto 0;
  border: 0;
  background: transparent;
  color: #919191;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
}

.paperwork-sign-modal {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .42);
  z-index: 7;
}

.paperwork-sign-modal.is-visible {
  display: flex;
}

.paperwork-sign-dialog {
  width: min(100% - 2rem, 760px);
  padding: 1.2rem 1.2rem 1.35rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.paperwork-sign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  margin-bottom: 1rem;
}

.paperwork-sign-header h2 {
  margin: 0;
  color: #202c39;
  font-size: 1.35rem;
  font-weight: 400;
}

.paperwork-sign-close {
  border: 0;
  background: transparent;
  color: #7a7a7a;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.paperwork-sign-mode {
  display: flex;
  gap: .6rem;
  margin-bottom: 1rem;
}

.paperwork-sign-mode button {
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .45rem .8rem;
  cursor: pointer;
}

.paperwork-sign-mode button:hover,
.paperwork-sign-mode button:focus-visible,
.paperwork-sign-mode button.is-active {
  background: #3498db;
  color: #fff;
}

.paperwork-sign-panel {
  display: none;
}

.paperwork-sign-panel.is-active {
  display: block;
}

.paperwork-sign-canvas {
  width: 100%;
  height: 220px;
  border: 1px solid #c8d0d9;
  border-radius: 8px;
  background: #fff;
  touch-action: none;
}

.paperwork-sign-tools {
  margin-top: .7rem;
}

.paperwork-sign-tools button,
.paperwork-sign-save {
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .45rem .8rem;
  cursor: pointer;
}

.paperwork-sign-tools button:hover,
.paperwork-sign-tools button:focus-visible,
.paperwork-sign-save:hover,
.paperwork-sign-save:focus-visible {
  background: #3498db;
  color: #fff;
}

.paperwork-sign-type-label {
  display: grid;
  gap: .45rem;
}

.paperwork-sign-type-label span {
  color: #36495b;
  font-size: .98rem;
  font-weight: 500;
}

.paperwork-sign-type-label input {
  width: 100%;
  min-height: 46px;
  padding: .7rem .85rem;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font: inherit;
}

.paperwork-sign-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.paperwork-doc-error {
  display: none;
  margin-bottom: -.8rem;
  color: #c7372f;
  font-size: .92rem;
  font-weight: 400;
}

.paperwork-doc-error.is-visible {
  display: block;
}

.paperwork-doc-form label {
  display: grid;
  grid-template-columns: 115px 1fr;
  align-items: center;
  gap: 0;
}

.paperwork-doc-form span {
  color: #222;
  font-size: .95rem;
}

.paperwork-doc-form input {
  height: 29px;
  border: 1px solid #aca400;
  background: #fff200;
  font: inherit;
  padding: .3rem .5rem;
}

.paperwork-doc-form button {
  min-height: 0;
  height: 2.25rem;
  border: 1px solid #3498db;
  border-radius: 3px;
  background: transparent;
  color: #2f84c5;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .45rem .8rem;
  cursor: pointer;
}

.paperwork-doc-form button:hover,
.paperwork-doc-form button:focus-visible {
  background: #3498db;
  color: #fff;
}

.paperwork-doc-form button.is-signed {
  color: #157f2e;
  font-weight: 700;
}

.paperwork-doc-date input {
  border: 0;
  border-bottom: 1px solid #8d8d8d;
  background: transparent;
  text-align: center;
  color: #2f63af;
}

.paperwork-sticky {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: .35rem .9rem;
  background: #2d89c9;
  color: #fff;
}

.paperwork-sticky > a {
  color: #fff;
  font-size: .92rem;
  font-weight: 400;
  text-decoration: none;
}

.paperwork-jump-actions {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.paperwork-jump-actions .paperwork-jump-btn,
.paperwork-jump-actions button {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.paperwork-jump-actions button:hover,
.paperwork-jump-actions button:focus-visible {
  background: #0f7a34;
}

.paperwork-progress {
  display: grid;
  gap: .2rem;
  justify-items: center;
  min-width: min(100%, 260px);
}

.paperwork-progress span {
  font-weight: 700;
}

.paperwork-progress div {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .78);
}

.paperwork-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #58d39a;
  transition: width .2s ease;
}

.paperwork-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
}

.paperwork-saved,
.paperwork-submit {
  border: 1px solid currentColor;
  background: transparent;
  font: inherit;
  font-size: .92rem;
  color: #fff;
  padding: .48rem .85rem;
  min-height: 38px;
  border-radius: 3px;
  cursor: pointer;
}

.paperwork-saved {
  color: #fff;
}

.paperwork-submit {
  color: #fff;
}

.paperwork-submit.is-ready {
  border-color: #0f7a34;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  min-width: 156px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 8px 20px rgba(15, 122, 52, .34);
}

.paperwork-saved:hover,
.paperwork-saved:focus-visible {
  border-color: #78bc66;
  background: #78bc66;
}

.paperwork-submit:hover,
.paperwork-submit:focus-visible {
  border-color: #f66c12;
  background: #f66c12;
}

.paperwork-submit.is-ready:hover,
.paperwork-submit.is-ready:focus-visible {
  border-color: #0b5f28;
  background: #0f7a34;
}

.paperwork-submit:disabled {
  border-color: rgba(255, 255, 255, .45);
  background: transparent;
  color: rgba(255, 255, 255, .65);
  cursor: not-allowed;
}

.about-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.about-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.about-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(16, 54, 72, .12);
  text-decoration: none;
}

.about-link-body {
  display: grid;
  gap: .7rem;
  padding: 1.55rem 1.35rem .9rem;
}

.about-link-title {
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.08;
}

.about-link-text {
  color: #406173;
  font-size: .98rem;
  line-height: 1.72;
}

.about-link-card::after {
  content: "Learn More \2192";
  margin: auto 1.25rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: .74rem 1.15rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ===== 4. Top Bar ===== */
.topbar {
  position: relative;
  z-index: 51;
  background: #fff;
  font-size: .85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.topbar .container {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  flex-wrap: wrap;
}
.topbar a, .topbar .links span { color: var(--text); transition: font-size .2s ease, color .2s ease; cursor: pointer; }
.topbar a:hover, .topbar .links span:hover { color: var(--primary); font-size: 1.05rem; }
.topbar .links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: .85rem;
}
.btn-appointment {
  display: none;
}

/* ===== 5. Header & Navigation ===== */
.header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  gap: 1rem;
  min-height: 92px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 180px;
}
.brand img {
  width: 200px;
  height: auto;
  object-fit: contain;
}
.brand .title {
  display: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav a {
  color: var(--primary);
  font-weight: 400;
  font-size: .78rem;
  padding: .5rem .65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.nav a[aria-current="page"] {
  color: var(--accent);
}
.nav a:hover {
  text-decoration: none;
  color: var(--accent);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: .55rem .7rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.menu-btn:focus { outline: 3px solid rgba(0,123,167,.25); outline-offset: 2px; }

/* Other pages without hero: solid header */
body:not(:has(.hero)) .topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
body:not(:has(.hero)) .header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* ===== 6. Hero Section ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url(../img/esther-ann-glpYh1cWf0o-unsplash-1-300x200.jpg) center calc(100% + 100px)/cover no-repeat;
  filter: blur(1px);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(200,220,235,.75) 0%, rgba(200,220,235,.45) 35%, rgba(255,255,255,.1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 550px;
  margin-right: auto;
}
.hero-kicker {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 .75rem;
}
.hero-heading {
  font-size: clamp(2.2rem, 3.85vw, 3.08rem);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--dark);
}
.hero-heading .text-accent {
  color: var(--accent);
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff !important;
  padding: .6rem 1.4rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none !important;
}
.btn-hero:hover { background: #c07e22; }

/* ===== 7. Split Section ===== */
.split-section {
  display: flex;
  width: 100%;
}
.split-left {
  flex: 0 0 33%;
  background: var(--accent);
  color: #fff;
  display: flex;
  justify-content: center;
}
.split-left-inner {
  padding: 3rem 2rem;
}
.split-left-inner .kicker {
  color: rgba(255,255,255,.8);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: .9rem;
}
.split-left-inner h3 {
  margin: .5rem 0 .75rem;
  font-size: 1.5rem;
}
.split-left-inner p {
  margin: 0;
  font-size: .9rem;
  opacity: .9;
  line-height: 1.7;
}
.split-divider {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: 1.25rem 0;
}
.split-middle {
  flex: 0 0 42%;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
}
.split-middle-inner {
  padding: 3rem 2.5rem;
}
.split-middle-inner .kicker {
  color: rgba(255,255,255,.7);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: .9rem;
}
.split-middle-inner h2 {
  margin: .5rem 0 1rem;
  font-size: 1.5rem;
  color: #fff;
}

.physicians-hero {
  padding: 3.4rem 0 2.4rem;
  background:
    radial-gradient(circle at 15% 12%, rgba(233, 242, 247, .95), transparent 30%),
    linear-gradient(180deg, #fbf8f2 0%, #f8f4ed 100%);
}

.physicians-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  gap: 2rem;
  align-items: start;
}

.physicians-hero-copy h1 {
  margin: 0 0 1rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.02;
}

.physicians-hero-copy p:last-child {
  max-width: 760px;
  margin: 0;
  color: #35576c;
  font-size: 1.02rem;
  line-height: 1.8;
}

.physicians-hero-card {
  display: grid;
  gap: .9rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(14, 106, 145, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 40px rgba(16, 54, 72, .08);
}

.physicians-hero-card h2 {
  margin: 0 0 .2rem;
  color: #1e2f44;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.physicians-hero-card a {
  color: #0b6891;
  font-size: 1rem;
  text-decoration: none;
}

.physicians-hero-card a:hover {
  text-decoration: underline;
}

.physicians-directory {
  padding: 2rem 0 4.2rem;
  background: #faf7f1;
}

.physicians-group + .physicians-group {
  margin-top: 3rem;
}

.physicians-group h2 {
  margin: 0 0 1.45rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
}

.physicians-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.physician-directory-card {
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 1.15rem 1rem 1.3rem;
  border: 1px solid rgba(14, 106, 145, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 26px rgba(16, 54, 72, .06);
  text-align: center;
}

.physician-directory-card img,
.physician-directory-photo {
  width: 160px;
  height: 200px;
  box-sizing: border-box;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  transition: transform .22s ease;
}

.physician-directory-photo-crop {
  width: 160px;
  height: 200px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: visible;
  background: transparent;
}

.physician-directory-photo-crop img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  transform-origin: center 24%;
}

.physician-directory-card:hover img {
  transform: scale(1.08);
}

.physician-directory-placeholder {
  display: grid;
  place-items: center;
  color: #0b6891;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ecf3f7, #d7e7f0);
}

.physician-directory-card h3 {
  min-height: 3.4rem;
  margin: 0;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.28;
}

.physician-directory-card h3 span {
  color: #f59b00;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.physician-directory-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 170px;
  padding: 0.50rem 1.35rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}
.physician-directory-link span {
  font-size: 1.15rem;
  line-height: 1;
}




.physician-directory-link:hover {
  background: #ea9200;
  text-decoration: none;
}

.physicians-empty-card {
  max-width: 720px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(14, 106, 145, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 54, 72, .05);
}

.physicians-empty-card p {
  margin: 0;
  color: #35576c;
  font-size: 1rem;
  line-height: 1.75;
}

.locations-hero {
  background:
    linear-gradient(135deg, rgba(246, 248, 250, 0.96), rgba(241, 245, 248, 0.92)),
    radial-gradient(circle at top left, rgba(12, 114, 159, 0.1), transparent 38%);
  padding: 5.5rem 0 3.5rem;
}

.locations-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 2.5rem;
  align-items: start;
}

.locations-hero-copy h1 {
  margin: 0;
  color: #0b6c99;
  font-size: clamp(2.55rem, 4vw, 4.15rem);
  line-height: 1.03;
}

.locations-hero-copy p:last-child {
  max-width: 48rem;
  margin-top: 1.3rem;
  color: #4a5d69;
  font-size: 1.12rem;
  line-height: 1.8;
}

.locations-hero-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px)) minmax(0, 1fr);
  gap: 1rem;
  min-height: 92px;
  align-items: stretch;
  margin-top: 2rem;
}

.locations-hero-stat,
.locations-hero-list {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 108, 153, 0.12);
  border-radius: 1.2rem;
  box-shadow: 0 14px 28px rgba(8, 64, 89, 0.06);
}

.locations-hero-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.2rem;
}

.locations-hero-stat strong {
  color: #0b6c99;
  font-size: 1.08rem;
  line-height: 1;
}

.locations-hero-stat span {
  margin-top: 0.55rem;
  color: #5c6d78;
  font-size: 0.97rem;
  line-height: 1.45;
}

.locations-hero-list {
  padding: 1.2rem 1.25rem;
}

.locations-hero-list h2 {
  margin: 0 0 0.9rem;
  color: #0b6c99;
  font-size: 1.1rem;
}

.locations-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.locations-hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(11, 108, 153, 0.08);
  color: #0b6c99;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.locations-hero-links a:hover {
  background: rgba(11, 108, 153, 0.14);
}

.locations-feature-card {
  background: #fff;
  border: 1px solid #dfe7ec;
  box-shadow: 0 18px 40px rgba(8, 64, 89, 0.08);
  border-radius: 1.5rem;
  padding: 2rem 2rem 2.15rem;
}

.locations-feature-image {
  display: block;
  width: 100%;
  height: 185px;
  margin: 0 0 1.2rem;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 26px rgba(8, 64, 89, 0.12);
}

.locations-feature-card h2 {
  margin: 0 0 1rem;
  color: #0b6c99;
  font-size: 1.7rem;
}

.locations-feature-card p {
  margin: 0 0 0.45rem;
  color: #4a5d69;
  font-size: 1rem;
}

.locations-feature-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.42rem 1.45rem;
  border-radius: 999px;
  background: #f5a000;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.locations-feature-card a:hover {
  background: #db9000;
}

.locations-directory {
  padding: 0 0 5rem;
}

.locations-directory-head {
  padding: 1.5rem 0 2rem;
}

.locations-directory-head h2 {
  margin: 0;
  color: #0b6c99;
  font-size: 2.2rem;
}

.locations-directory-head p {
  margin: 0.65rem 0 0;
  color: #5a6f7d;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  scroll-margin-top: 9rem;
  background: #fff;
  border: 1px solid #dfe7ec;
  border-radius: 1.25rem;
  box-shadow: 0 14px 30px rgba(8, 64, 89, 0.07);
  padding: 1.55rem 1.45rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.location-card.is-highlighted,
.location-card:target {
  border-color: rgba(245, 160, 0, 0.85);
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.95), #fff);
  box-shadow: 0 20px 40px rgba(245, 160, 0, 0.18);
  transform: translateY(-2px);
}

.location-card h3 {
  margin: 0 0 0.75rem;
  color: #0b6c99;
  font-size: 1.33rem;
  line-height: 1.25;
}

.location-card p {
  margin: 0 0 0.55rem;
  color: #4b5d69;
  line-height: 1.65;
}

.location-card-phone {
  color: #f29b00 !important;
  font-weight: 700;
}

.location-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-start;
  padding: 0.42rem 1.35rem;
  border-radius: 999px;
  background: #0b6c99;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.location-card a:hover {
  background: #095878;
}

.office-location-hero {
  background:
    linear-gradient(135deg, rgba(7, 88, 123, 0.98), rgba(11, 99, 138, 0.97)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%);
  padding: 1.45rem 0 1.9rem;
  color: #fff;
}

.office-location-hero-panel {
  max-width: 58rem;
}

.office-location-hero-panel h1 {
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
}

.office-location-address {
  margin: 0.9rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 1.01rem;
  font-weight: 400;
}

.office-location-contact-list {
  display: grid;
  gap: 0.78rem;
  max-width: 34rem;
}

.office-location-contact-list p {
  margin: 0;
  color: #fff;
  font-size: .98rem;
  font-weight: 400;
}

.office-location-contact-list span {
  display: inline-block;
  width: 1.4rem;
  margin-right: 0.35rem;
  color: #fff;
}

.office-location-contact-list a {
  color: #f5a000;
  text-decoration: none;
}

.office-location-note {
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: none;
  white-space: normal;
}

.office-location-sections {
  padding: 1.9rem 0 4rem;
  background: #fff;
}

.office-location-sections-inner {
  display: grid;
  gap: 0;
}

.office-location-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 1.9rem 0;
  border-bottom: 1px solid #e5edf2;
}

.office-location-row:first-child {
  padding-top: 0.5rem;
}

.office-location-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #0b6c99;
  font-size: 1.15rem;
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", serif;
  text-align: left;
}

.office-location-content {
  min-width: 0;
}

.office-location-row:first-child .office-location-content {
  display: flex;
  justify-content: flex-start;
}

.office-location-row:nth-child(2) .office-location-content {
  display: flex;
  justify-content: flex-start;
}

.office-location-row:nth-child(3) .office-location-content {
  display: flex;
  justify-content: flex-start;
}

.office-provider-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.office-location-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 2.4rem;
  justify-content: flex-start;
  width: 100%;
}

.office-provider-card-single {
  padding-left: 1rem;
}

.office-provider-card img {
  width: 94px;
  height: 126px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(8, 64, 89, 0.12);
}

.office-provider-placeholder {
  display: grid;
  place-items: center;
  width: 92px;
  height: 124px;
  color: #0b6891;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ecf3f7, #d7e7f0);
  box-shadow: 0 10px 24px rgba(8, 64, 89, 0.12);
  border-radius: 7px;
}

.office-provider-card h2 {
  margin: 0.9rem 0 0.25rem;
  color: #0b6c99;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

.office-provider-card p {
  margin: 0 0 0.8rem;
  color: #f59b00;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

.office-provider-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 142px;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: #f59b00;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
}

.office-provider-card a span {
  font-size: 1.15rem;
  line-height: 1;
}

.office-provider-card a:hover {
  background: #ea9200;
  text-decoration: none;
}

.office-location-services {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #35576c;
  max-width: 32rem;
  font-size: .9rem;
  line-height: 1.7;
  width: 100%;
}

.office-location-map {
  margin: 0;
  max-width: 590px;
  border: 1px solid #dfe7ec;
}

.office-location-map iframe {
  display: block;
  width: 100%;
  height: 286px;
  border: 0;
}

.provider-bio-top {
  padding: 4.6rem 0 4rem;
  background: #f3f2f0;
}

.provider-bio-top-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 4.8rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.provider-bio-image-wrap {
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 1.9rem;
}

.provider-bio-image-wrap img,
.provider-bio-image {
  display: block;
  width: 118px;
  height: 150px;
  object-fit: contain;
  object-position: center top;
  border-radius: 7px;
  background: #d9e8f0;
}

.provider-bio-image-wrap [hidden] {
  display: none !important;
}

.provider-profile-placeholder {
  display: grid;
  place-items: center;
  color: #0b6891;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: linear-gradient(135deg, #ecf3f7, #d7e7f0);
}

.provider-bio-summary h1 {
  margin: 0 0 1.7rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.08;
}

.provider-bio-services-kicker {
  margin: 0 0 .65rem;
  color: #f59b00;
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
}

.provider-bio-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.8rem;
}

.provider-bio-service-item {
  min-height: 3.3rem;
  padding: .15rem 1.2rem .75rem 0;
  color: #1f2f3d;
  font-size: .92rem;
  line-height: 1.75;
}

.provider-bio-service-item:not(:nth-child(4n)) {
  border-right: 1px solid rgba(31, 47, 61, .12);
  padding-right: 1.8rem;
}

.provider-bio-details {
  padding: 3rem 0 4.25rem;
  background: #fff;
}

.provider-bio-details-inner {
  max-width: 910px;
  margin: 0 auto;
}

.provider-bio-detail-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 4.6rem;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid rgba(31, 47, 61, .14);
}

.provider-bio-detail-label {
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.4;
}

.provider-bio-detail-content p {
  max-width: 640px;
  margin: 0;
  color: #1f2f3d;
  font-size: .98rem;
  line-height: 1.95;
}

.provider-bio-detail-content p + p {
  margin-top: .85rem;
}

.provider-bio-location-item h3 {
  margin: 0 0 .6rem;
  color: #0b6891;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
}

.provider-bio-location-item p {
  color: #f59b00;
  font-size: .94rem;
  font-weight: 500;
}

.provider-bio-location-item p.provider-bio-location-note {
  margin: .35rem 0 0;
  color: #000;
  font-size: .78rem;
  font-style: italic;
  line-height: 1.45;
}
.split-middle-inner p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.split-right {
  flex: 0 0 25%;
  background: #fff;
  display: flex;
  align-items: center;
}
.split-right-inner {
  padding: 3rem 1.5rem;
  width: 100%;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
  font-weight: 400;
  font-size: .9rem;
}
.sidebar-links a:first-child { border-top: 1px solid var(--border); }
.sidebar-links a:hover { text-decoration: none; color: var(--accent); }
.sidebar-links a::after {
  content: '\2192';
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== 8. CKD Banner ===== */
.ckd-banner {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
}
.ckd-banner::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url(../img/matheus-ferrero-yfmjALh1S6s-unsplash-300x200.jpg) center/cover no-repeat;
  filter: blur(2px);
  z-index: 0;
}
.ckd-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,18,32,.78);
  z-index: 1;
}
.ckd-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.ckd-banner-content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.ckd-banner-content p {
  color: rgba(255,255,255,.8);
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
}
.text-orange { color: var(--accent); }

/* ===== 9. Physicians Grid ===== */
.physicians-section {
  padding: 3rem 0;
  background: var(--surface);
}
.section-heading {
  text-align: center;
  font-size: 1.4rem;
  margin: 0 0 2rem;
  color: var(--primary);
}
.physicians-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
  text-align: center;
}
.physician img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,123,167,.15);
}
.physician strong {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
}
.physician span {
  color: var(--muted);
  font-size: .8rem;
}
.btn-bio {
  display: inline-block;
  margin-top: .4rem;
  padding: .3rem .9rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 400;
  text-decoration: none !important;
}
.btn-bio:hover { background: #c07e22; }

/* ===== 10. Shared Page Components ===== */
.page-header {
  padding: 2.25rem 0 1.25rem;
  background: linear-gradient(180deg, rgba(0,123,167,.08), rgba(255,255,255,0));
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin: 0 0 .5rem; }
.page-header p { margin: 0; color: #334155; }

.section {
  padding: 2.75rem 0;
}
.section h2 {
  margin: 0 0 .75rem;
  font-size: 1.75rem;
}
.section p.lede {
  margin: 0 0 1.5rem;
  color: #334155;
}
.kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary {
  background: #fff;
  border-color: var(--border);
  color: #111827;
}
.btn.secondary:hover { background: var(--surface); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  min-height: 92px;
}
.cards .card {
  grid-column: span 4;
  padding: 1.25rem;
}
.cards .card h3 { margin: 0 0 .35rem; }
.cards .card p { margin: 0; color: var(--muted); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-height: 92px;
}

.people {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  min-height: 92px;
}
.person {
  grid-column: span 3;
  padding: 1rem;
  text-align: center;
}
.person img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid rgba(0,123,167,.15);
}
.person strong { display: block; margin-top: .6rem; }
.person span { color: var(--muted); font-size: .95rem; }

.notice {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0,123,167,.08);
  border: 1px solid rgba(0,123,167,.18);
  color: #0b3950;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.table th, .table td {
  padding: .75rem .8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.table th {
  background: var(--surface);
  font-size: .95rem;
}
.table tr:last-child td { border-bottom: 0; }

/* ===== 11. Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--dark);
  color: #cbd5e1;
  padding: 2rem 0;
}
.footer a { color: #cbd5e1; }
.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  min-height: 92px;
  align-items: start;
}
.footer h3 { margin: 0 0 .5rem; color: #fff; }
.footer p { margin: 0; color: #cbd5e1; }
.footer small { color: #94a3b8; }
.footer .list {
  display: grid;
  gap: .35rem;
}

/* ===== 12. Responsive ===== */
@media (max-width: 1500px) {
  .home-header {
    padding: .45rem 0 .55rem;
  }
  .home-header-inner {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
  }
  .home-brand {
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
  }
  .home-brand img {
    width: min(100%, 104px);
    margin: -9px -14px -10px -9px;
  }
  .home-header-main {
    align-self: start;
    padding-top: .15rem;
  }
  .home-utility-row {
    align-items: center;
    gap: .65rem;
    padding-top: 0;
    padding-bottom: .35rem;
  }
  .home-utility-links {
    gap: .45rem 1rem;
  }
  .home-phone-pill {
    margin-left: auto;
    width: auto;
    max-width: none;
    align-self: auto;
  }
  .home-nav {
    margin-top: .25rem;
    gap: .65rem 1.8rem;
  }
  .home-hero,
  .home-hero-inner {
    min-height: 760px;
  }
  .home-hero {
    background:
      linear-gradient(90deg, rgba(243, 248, 252, .99) 0%, rgba(243, 248, 252, .97) 25%, rgba(243, 248, 252, .88) 40%, rgba(243, 248, 252, .56) 54%, rgba(243, 248, 252, .18) 66%, rgba(243, 248, 252, 0) 76%),
      linear-gradient(180deg, #e5edf4 0%, #eef4f8 100%);
  }
  .home-hero-media {
    background:
      linear-gradient(90deg, rgba(247, 251, 253, .28) 0%, rgba(247, 251, 253, .12) 30%, rgba(247, 251, 253, 0) 50%),
      url("../img/Asset-2-300x129.png") 94% center / auto 100% no-repeat;
  }
  .home-hero-copy {
    max-width: 520px;
    padding-left: 1.6rem;
    transform: translateY(-3%);
  }
  .home-hero-kicker {
    margin: 0 0 1rem;
    font-size: 1rem;
  }
  .home-hero-title {
    max-width: 540px;
    font-size: clamp(2.7rem, 4.2vw, 3.9rem);
    line-height: 1.01;
  }
  .home-hero-button {
    margin-top: 1.45rem;
    padding: .78rem 1.4rem;
  }  .home-providers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
    padding: 0 4% 4rem;
  }
  .home-provider-card a {
    min-width: 150px;
    padding: 0.46rem 1rem;
    font-size: .9rem;
  }
}

@media (max-width: 1200px) {
  .home-header {
    padding: .45rem 0 .55rem;
  }
  .home-header-inner {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
  }
  .home-brand {
    justify-content: flex-start;
    align-items: center;
  }
  .home-brand img {
    width: min(100%, 104px);
    margin: -9px -14px -10px -9px;
  }
  .home-header-main {
    align-self: start;
    padding-top: .15rem;
  }
  .home-hero,
  .home-hero-inner {
    min-height: 700px;
  }
  .home-hero {
    background:
      linear-gradient(90deg, rgba(241, 247, 251, .98) 0%, rgba(241, 247, 251, .95) 26%, rgba(241, 247, 251, .82) 42%, rgba(241, 247, 251, .42) 57%, rgba(241, 247, 251, .08) 70%, rgba(241, 247, 251, 0) 80%),
      linear-gradient(180deg, #e4edf4 0%, #edf4f8 100%);
  }
  .home-hero-media {
    background:
      linear-gradient(90deg, rgba(245, 250, 253, .34) 0%, rgba(245, 250, 253, .18) 28%, rgba(245, 250, 253, 0) 52%),
      url("../img/Asset-2-300x129.png") 86% center / cover no-repeat;
  }
  .home-hero-copy {
    max-width: 540px;
    padding-left: 1.6rem;
    transform: translateY(-2%);
  }
  .home-hero-kicker {
    margin: 0 0 1.05rem;
    font-size: 1rem;
  }
  .home-hero-title {
    max-width: 560px;
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    line-height: 1.02;
  }
  .home-hero-button {
    margin-top: 1.5rem;
    padding: .78rem 1.4rem;
  }
  .home-utility-row {
    align-items: center;
    gap: .65rem;
    padding-top: 0;
    padding-bottom: .35rem;
  }
  .home-utility-links {
    gap: .45rem 1rem;
    flex-wrap: wrap;
  }
  .home-phone-pill {
    width: auto;
    max-width: none;
    margin-left: auto;
    align-self: auto;
    justify-content: center;
  }
  .menu-btn,
  .home-menu-btn {
    display: none;
  }
  .nav {
    display: flex;
    position: static;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: transparent;
  }
  .home-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: .35rem;
    padding-top: 0;
    gap: .7rem 1.4rem;
  }
  .nav a { color: var(--text); }
  .home-nav a {
    color: #006d98;
    padding: .1rem 0;
  }
  .home-nav-dropdown {
    display: flex;
    width: auto;
  }
  .home-nav-dropdown > a {
    width: auto;
    justify-content: flex-start;
  }
  .home-nav-submenu {
    position: absolute;
    min-width: 280px;
    margin-top: 0;
    padding: .7rem 0;
    border: 1px solid rgba(4, 95, 132, .12);
    border-radius: 16px;
    background: rgba(255, 252, 247, .98);
    box-shadow: 0 20px 38px rgba(20, 54, 72, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
  }
  .home-nav-submenu a {
    padding: .78rem 1.15rem;
    font-size: .92rem !important;
  }
  .home-nav-submenu a:hover {
    background: rgba(245, 155, 0, .08);
  }
  .home-nav-submenu a[aria-current='page'] {
    background: rgba(245, 155, 0, .08);
    color: #0a4f72;
    font-weight: 600;
  }
  .nav.open { display: flex; }
}
@media (max-width: 900px) {
  .physicians-hero-inner {
    grid-template-columns: 1fr;
  }
  .locations-hero-inner {
    grid-template-columns: 1fr;
  }
  .locations-hero-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .locations-hero-list {
    grid-column: 1 / -1;
  }
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .office-location-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  min-height: 92px;
  }
  .physicians-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .provider-bio-top-inner,
  .provider-bio-detail-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .provider-bio-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .provider-bio-service-item:not(:nth-child(4n)) {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }
  .provider-bio-service-item:not(:nth-child(2n)) {
    border-right: 1px solid rgba(31, 47, 61, .12);
    padding-right: 1.2rem;
    margin-right: 1.2rem;
  }
  .home-page .container {
    width: min(100% - 2rem, 1660px);
  }
  .home-info-band {
    grid-template-columns: 1fr;
  }
  .home-info-panel {
    min-height: 0;
  }
  .home-info-content,
  .home-info-content-left {
    max-width: none;
    padding: 3rem 2rem;
  }
  .home-info-links {
    padding: 2rem;
  }
  .home-diagnosis-copy {
    padding: 3rem 1rem 3rem 0;
  }
  .home-providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 0 4rem;
  }
  .home-new-patient {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-new-patient-image {
    min-height: 420px;
  }
  .home-footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-footer-links-wrap,
  .home-footer-map-wrap {
    padding-top: 0;
  }
  .home-header {
    padding: .45rem 0 .55rem;
  }
  .home-header-inner {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
  }
  .home-brand {
    justify-content: flex-start;
    align-items: center;
  }
  .home-brand img {
    width: min(100%, 104px);
    margin: -9px -14px -10px -9px;
  }
  .home-header-main {
    align-self: start;
    padding-top: .15rem;
  }
  .home-hero,
  .home-hero-inner {
    min-height: 700px;
  }
  .home-hero {
    background:
      linear-gradient(90deg, rgba(241, 247, 251, .98) 0%, rgba(241, 247, 251, .95) 26%, rgba(241, 247, 251, .82) 42%, rgba(241, 247, 251, .42) 57%, rgba(241, 247, 251, .08) 70%, rgba(241, 247, 251, 0) 80%),
      linear-gradient(180deg, #e4edf4 0%, #edf4f8 100%);
  }
  .home-hero-media {
    background:
      linear-gradient(90deg, rgba(245, 250, 253, .34) 0%, rgba(245, 250, 253, .18) 28%, rgba(245, 250, 253, 0) 52%),
      url("../img/Asset-2-300x129.png") 86% center / cover no-repeat;
  }
  .home-hero-copy {
    max-width: 540px;
    padding-left: 1.6rem;
    transform: translateY(-2%);
  }
  .home-hero-kicker {
    margin: 0 0 1.05rem;
    font-size: 1rem;
  }
  .home-hero-title {
    max-width: 560px;
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    line-height: 1.02;
  }
  .home-hero-button {
    margin-top: 1.5rem;
    padding: .78rem 1.4rem;
  }
  .home-utility-row {
    align-items: center;
    gap: .65rem;
    padding-top: 0;
    padding-bottom: .35rem;
  }
  .home-utility-links {
    gap: .45rem 1rem;
    flex-wrap: wrap;
  }
  .home-phone-pill {
    width: auto;
    max-width: none;
    margin-left: auto;
    align-self: auto;
    justify-content: center;
  }
  .menu-btn,
  .home-menu-btn {
    display: none;
  }
  .nav {
    display: flex;
    position: static;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: transparent;
  }
  .home-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: .35rem;
    padding-top: 0;
    gap: .7rem 1.4rem;
  }
  .nav a { color: var(--text); }
  .home-nav a {
    color: #006d98;
    padding: .1rem 0;
  }
  .home-nav-dropdown {
    display: flex;
    width: auto;
  }
  .home-nav-dropdown > a {
    width: auto;
    justify-content: flex-start;
  }
  .home-nav-submenu {
    position: absolute;
    min-width: 280px;
    margin-top: 0;
    padding: .7rem 0;
    border: 1px solid rgba(4, 95, 132, .12);
    border-radius: 16px;
    background: rgba(255, 252, 247, .98);
    box-shadow: 0 20px 38px rgba(20, 54, 72, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
  }
  .home-nav-submenu a {
    padding: .78rem 1.15rem;
    font-size: .92rem !important;
  }
  .home-nav-submenu a:hover {
    background: rgba(245, 155, 0, .08);
  }
  .home-nav-submenu a[aria-current='page'] {
    background: rgba(245, 155, 0, .08);
    color: #0a4f72;
    font-weight: 600;
  }
  .nav.open { display: flex; }
  .home-hero,
  .home-hero-inner {
    min-height: 620px;
  }
  .home-hero-copy {
    padding-left: 0;
    max-width: 640px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
  }
  .about-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-detail-list {
    grid-template-columns: 1fr;
  }
  .dialysis-partners-section {
  margin-bottom: 1.8rem;
  padding: 1.8rem 1.9rem 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(16, 54, 72, .08);
  text-align: center;
}

.dialysis-partners-section h2,
.dialysis-partners-section h3,
.dialysis-partner-card h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.dialysis-partners-section h2 {
  margin: 0 0 1.2rem;
  color: #172b4d;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
}

.dialysis-partners-image {
  display: block;
  width: min(100%, 380px);
  margin: 0 auto 1.4rem;
  height: auto;
}

.dialysis-partners-section h3 {
  margin: 0 0 1.4rem;
  color: #172b4d;
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
}

.dialysis-partners-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .9fr;
  gap: 1.8rem;
  align-items: start;
  text-align: left;
}

.dialysis-partner-card {
  padding: 1.3rem 1.4rem 1.45rem;
  border-left: 1px solid rgba(11, 104, 145, .45);
  background: rgba(248, 249, 252, .95);
  box-shadow: 0 12px 24px rgba(17, 40, 63, .10);
}

.dialysis-partner-card h4 {
  margin: 0 0 .9rem;
  color: #172b4d;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.25;
}

.dialysis-partner-card ul {
  columns: 2;
  column-gap: 1.6rem;
  margin: 0;
  padding-left: 1.15rem;
  color: #2a4f63;
}

.dialysis-partner-card li {
  break-inside: avoid;
  margin: 0 0 .38rem;
  font-size: .95rem;
  line-height: 1.45;
}

.dialysis-partner-card:nth-child(2) ul,
.dialysis-partner-card:nth-child(3) ul {
  columns: 1;
}
  .join-team-recruitment {
    padding: 1.5rem;
  }
}
@media print {
  @page {
    size: letter;
    margin: .45in;
  }

  html,
  body {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff !important;
    color: #000 !important;
    font: 11pt Arial, Helvetica, sans-serif;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .paperwork-print-btn,
  .paperwork-jump-btn,
  .paperwork-privacy-topbar,
  .paperwork-privacy-banner,
  .paperwork-sticky,
  .paperwork-identity-overlay,
  .paperwork-intro-header,
  .paperwork-intro-card,
  .paperwork-intro-footer,
  .paperwork-upload-btn,
  .paperwork-file-list,
  .paperwork-signature-actions,
  .paperwork-sign-btn {
    display: none !important;
  }

  .paperwork-screen,
  .paperwork-hidden-flow,
  .paperwork-hidden-flow-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  .paperwork-screen[data-paperwork-screen="intro"],
  .paperwork-screen[data-paperwork-screen="identity"] {
    display: none !important;
  }

  .paperwork-intro-main,
  .paperwork-shell,
  .paperwork-privacy-shell,
  .paperwork-privacy-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .paperwork-privacy-card {
    border: 0 !important;
  }

  .paperwork-privacy-copy {
    max-width: none !important;
    margin: 0 !important;
  }

  .paperwork-privacy-copy h1 {
    margin: .12in 0 .18in !important;
    font-size: 19pt !important;
    line-height: 1.18 !important;
  }

  .paperwork-privacy-copy h2,
  .paperwork-privacy-copy h3 {
    margin: .18in 0 .08in !important;
    font-size: 12pt !important;
    line-height: 1.2 !important;
  }

  .paperwork-privacy-copy p,
  .paperwork-privacy-copy li {
    margin-bottom: .1in !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
  }

  .paperwork-privacy-ackform {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-privacy-name-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1.25fr 1.6fr !important;
    gap: .12in !important;
    min-height: 0 !important;
    align-items: end;
  }

  .paperwork-privacy-dob-wrap {
    padding-right: .16in !important;
  }

  .paperwork-privacy-dob-grid {
    display: grid !important;
    grid-template-columns: .55in .55in .72in !important;
    gap: .07in !important;
  }

  .paperwork-privacy-input-wrap input,
  .paperwork-privacy-dob-grid .paperwork-privacy-input-wrap input {
    min-height: .26in !important;
    padding: 2px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #777 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 10pt !important;
    text-align: left !important;
  }

  .paperwork-privacy-check {
    display: none !important;
  }

  .paperwork-privacy-required {
    right: 0 !important;
    font-size: 12pt !important;
  }

  .paperwork-privacy-sign-card {
    width: 4.9in !important;
    margin: .22in auto 0 !important;
    padding: .18in !important;
    border: 1px solid #777 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-privacy-sign-card h4,
  .paperwork-privacy-sign-card p {
    color: #000 !important;
  }

  .paperwork-privacy-sign-switch,
  .paperwork-privacy-clear-row,
  .paperwork-privacy-sign-actions {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-privacy-canvas {
    width: 100% !important;
    height: 1.5in !important;
  }

  .paperwork-hipaa-copy {
    padding-top: 0 !important;
  }

  .paperwork-hipaa-title {
    display: block !important;
    width: fit-content !important;
    margin: .12in auto .22in !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 19pt !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .paperwork-hipaa-form {
    display: grid !important;
    gap: .18in !important;
  }

  .paperwork-hipaa-section {
    display: grid !important;
    gap: .08in !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-hipaa-section-title {
    margin: 0 !important;
    color: #000 !important;
    font-size: 10pt !important;
    line-height: 1.32 !important;
  }

  .paperwork-hipaa-people {
    display: grid !important;
    gap: .07in !important;
    min-height: 0 !important;
  }

  .paperwork-hipaa-person-row {
    display: grid !important;
    grid-template-columns: auto minmax(1.35in, 1.5fr) auto minmax(1.05in, 1.15fr) auto minmax(1.3in, 1.25fr) !important;
    gap: .06in .08in !important;
    align-items: end !important;
  }

  .paperwork-hipaa-person-row-emergency {
    grid-template-columns: auto minmax(2.05in, 1.5fr) auto minmax(1.55in, 1fr) !important;
  }

  .paperwork-hipaa-person-row span,
  .paperwork-hipaa-inline-field span,
  .paperwork-hipaa-wide-row span,
  .paperwork-hipaa-checkbox span,
  .paperwork-hipaa-radio-row label {
    color: #000 !important;
    font-size: 9.5pt !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .paperwork-hipaa-person-row input,
  .paperwork-hipaa-inline-field input,
  .paperwork-hipaa-wide-row input {
    min-width: 0 !important;
    min-height: .24in !important;
    padding: 1px 3px !important;
    border: 0 !important;
    border-bottom: 1px solid #777 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 9.5pt !important;
  }

  .paperwork-hipaa-wide-row,
  .paperwork-hipaa-inline-field {
    gap: .07in !important;
  }

  .paperwork-hipaa-contact-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .16in !important;
    max-width: none !important;
  }

  .paperwork-hipaa-radio-row {
    gap: .2in !important;
  }

  .paperwork-hipaa-acknowledgement {
    font-size: 10pt !important;
  }

  .paperwork-consent-copy {
    padding-top: 0 !important;
  }

  .paperwork-consent-title {
    margin: .12in auto .22in !important;
    font-size: 19pt !important;
    line-height: 1.15 !important;
  }

  .paperwork-consent-form {
    display: grid !important;
    gap: .2in !important;
  }

  .paperwork-consent-identity {
    gap: .08in !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-consent-name-grid {
    display: grid !important;
    grid-template-columns: 1.25in 1.25in .55in 1.2in !important;
    gap: .08in !important;
    align-items: end !important;
  }

  .paperwork-consent-identity-label,
  .paperwork-consent-dob-label {
    color: #000 !important;
    font-size: 10pt !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .paperwork-consent-text {
    display: grid !important;
    gap: .1in !important;
  }

  .paperwork-consent-text p {
    color: #000 !important;
    font-size: 10pt !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  .paperwork-form-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: .25in;
    margin: 0 0 .2in !important;
    padding: 0 0 .12in !important;
    border-bottom: 1px solid #000;
  }

  .paperwork-intro-brand img {
    width: 1.4in !important;
    max-height: .75in !important;
    object-fit: contain;
  }

  .paperwork-intro-contact {
    font-size: 9.5pt !important;
    line-height: 1.25 !important;
    text-align: right;
  }

  .paperwork-intro-contact p {
    margin: 0 0 2px !important;
  }

  .paperwork-form-topbar {
    display: block !important;
    min-height: 0 !important;
    margin: 0 0 .12in !important;
  }

  .paperwork-title,
  .paperwork-title-secondary {
    margin: 0 0 .12in !important;
    color: #000 !important;
    font: 700 15pt Arial, Helvetica, sans-serif !important;
    text-align: left !important;
  }

  .paperwork-form {
    display: block !important;
  }

  .paperwork-step,
  .paperwork-docs {
    margin: 0 0 .16in !important;
    padding: .1in !important;
    border: 1px solid #777 !important;
    background: #fff !important;
    break-inside: auto;
    page-break-inside: auto;
  }

  .paperwork-step-header {
    display: flex !important;
    align-items: center;
    gap: .08in;
    margin: 0 0 .08in !important;
    padding: 0 !important;
  }

  .paperwork-step-header h2 {
    color: #000 !important;
    font: 700 11.5pt Arial, Helvetica, sans-serif !important;
  }

  .paperwork-step-num {
    width: .22in !important;
    height: .22in !important;
    min-width: .22in !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 8pt !important;
  }

  .paperwork-grid,
  .paperwork-grid-2,
  .paperwork-grid-3,
  .paperwork-grid-4,
  .paperwork-grid-5 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .07in .1in !important;
    margin-bottom: .08in !important;
  }

  .paperwork-field,
  .paperwork-grid label {
    gap: 2px !important;
  }

  .paperwork-field > span,
  .paperwork-grid label > span,
  .paperwork-options legend {
    color: #000 !important;
    font-size: 10pt !important;
    font-weight: 700 !important;
  }

  .paperwork-grid input,
  .paperwork-grid select,
  .paperwork-table input,
  .paperwork-date select,
  textarea {
    min-height: .24in !important;
    padding: 2px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #777 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 10.5pt !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .paperwork-table input[type="text"],
  .paperwork-table textarea {
    min-height: .22in !important;
    line-height: 1.15 !important;
  }

  .paperwork-date {
    display: grid !important;
    grid-template-columns: 1fr .7fr .8fr !important;
    gap: 3px !important;
  }

  .paperwork-options {
    margin: 0 !important;
    padding: .02in 0 .05in !important;
    border: 0 !important;
    border-bottom: 1px solid #777 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-options label {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin: 0 .08in .03in 0 !important;
    font-size: 10pt !important;
  }

  .paperwork-options input[type="radio"],
  .paperwork-options input[type="checkbox"] {
    width: 10px !important;
    height: 10px !important;
  }

  .paperwork-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9.5pt !important;
  }

  .paperwork-table th,
  .paperwork-table td {
    border: 0 !important;
    padding: 1px 2px !important;
  }

  .paperwork-add-row,
  .paperwork-remove-row,
  .paperwork-trim-rows,
  .paperwork-table-actions {
    display: none !important;
  }

  .paperwork-signature {
    max-width: 4.9in !important;
    margin: .16in auto !important;
    padding: .18in !important;
    border: 1px solid #777 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .paperwork-signature-draw,
  .paperwork-signature-type-panel {
    border: 0 !important;
    border-bottom: 1px solid #777 !important;
    min-height: .55in !important;
    background: #fff !important;
  }

  .paperwork-signature-canvas {
    width: 100% !important;
    height: .55in !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}



/* Refer-a-patient: reason for referral layout */
.required-star {
  color: #d92d20;
  font-weight: 700;
  margin-left: .2rem;
}

.required-star.is-hidden {
  display: none;
}

.success-toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 9999;
  max-width: min(92vw, 360px);
  width: max-content;
  padding: 1rem 1.35rem;
  border-radius: 8px;
  background: #0f8a4b;
  color: #fff;
  border: 2px solid #b7f7cc;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  opacity: 0;
  transform: translate(-50%, -16px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.success-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.referral-reason-card {
  margin-bottom: 1.75rem;
  padding: 1.4rem;
  border: 2px solid #0b6c99;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(232, 246, 252, .65) 100%);
  box-shadow: 0 14px 28px rgba(9, 76, 109, .12);
}

.referral-section-title {
  margin: 0;
  text-align: center;
  color: #0a5578;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 400;
}

.referral-reason-intro {
  margin: .55rem 0 1.2rem;
  text-align: center;
  color: #285769;
  font-size: .97rem;
}

.referral-reason-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: stretch;
}

.referral-reason-options {
  display: grid;
  gap: .7rem;
}

.referral-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .8rem;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(11, 108, 153, .22);
  color: #13485d;
  line-height: 1.45;
}

.referral-option input {
  margin-top: .2rem;
  accent-color: #0b6c99;
}

.referral-option span {
  font-size: .98rem;
}

.referral-reason-other {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  gap: .5rem;
  padding: .9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(11, 108, 153, .18);
  height: 100%;
}

.referral-reason-other label {
  color: #0a5578;
}

.referral-reason-other textarea {
  width: 100%;
  min-height: 220px;
  padding: .78rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  resize: vertical;
  font: inherit;
  line-height: 1.45;
}

.referral-reason-other small {
  color: #406576;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .referral-reason-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .referral-reason-card {
    padding: 1.15rem;
  }
}

@media screen and (max-width: 900px) {
  .paperwork-docs {
    padding-left: 1.65rem !important;
    overflow: visible !important;
  }

  .paperwork-docs-bar {
    left: -.35rem !important;
    width: 2px !important;
  }
}






@media (min-width: 900px) {
  #referralForm .referral-field-span-2 {
    grid-column: span 2;
  }
}





































































.pay-online-form {
  display: grid;
  gap: 0.85rem;
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: left;
}

.pay-online-launch-note {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(176, 0, 32, 0.35);
  border-radius: 6px;
  color: #b00020;
  background: #fff1f3;
  font-weight: 700;
}

.pay-online-form label {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.pay-online-form label > span {
  font-size: 1.08rem;
  color: #173454;
}

.pay-online-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c3ccd6;
  border-radius: 10px;
  font: inherit;
  color: #173454;
  background: #fff;
}

.pay-online-form input:focus {
  outline: 2px solid rgba(11, 104, 145, 0.22);
  outline-offset: 1px;
  border-color: #0b6891;
}

.pay-online-form .btn.primary {
  width: 100%;
}

.pay-online-form small {
  display: block;
  text-align: center;
}

@media (max-width: 760px) {
  .pay-online-form label {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .pay-online-form label > span {
    font-size: 1rem;
  }
}



@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    .home-new-patient::before {
      background-attachment: scroll;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
    }
  }
}





@media (max-width: 900px) {
  .dialysis-partners-grid {
    grid-template-columns: 1fr;
  }

  .dialysis-partner-card ul {
    columns: 1;
  }
}
@media (max-width: 767px) {
  .about-callout {
    flex-wrap: wrap;
    min-height: 0;
  }
}

@media (max-width: 1200px) {
  .paperwork-grid-3,
  .paperwork-grid-4,
  .paperwork-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paperwork-date {
    grid-template-columns: repeat(3, minmax(4.75rem, 1fr));
  }

  .paperwork-date select {
    padding-inline: .55rem;
  }
}

@media (max-width: 900px) {
  .paperwork-intro-header {
    width: min(100% - 2rem, 1450px);
    align-items: flex-start;
    gap: 1rem;
  }

  .paperwork-intro-brand img {
    width: clamp(150px, 38vw, 230px);
  }

  .paperwork-intro-contact {
    font-size: .95rem;
  }

  .paperwork-shell {
    width: min(100% - 1.5rem, 1450px);
  }

  .paperwork-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.1;
  }

  .paperwork-form-topbar {
    align-items: center;
    gap: .75rem;
  }

  .paperwork-step,
  .paperwork-docs {
    padding: 0 .75rem 1.1rem;
  }

  .paperwork-grid,
  .paperwork-grid-2,
  .paperwork-grid-3,
  .paperwork-grid-4,
  .paperwork-grid-5 {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
  }

  .paperwork-options {
    gap: .5rem .85rem;
  }

  .paperwork-table {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .paperwork-table thead {
    display: none;
  }

  .paperwork-table tbody,
  .paperwork-table tr,
  .paperwork-table td {
    display: block;
    width: 100%;
  }

  .paperwork-table tr {
    margin-bottom: .8rem;
    padding: .75rem;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
  }

  .paperwork-table td {
    border: 0;
    padding: .45rem 0;
  }

  .paperwork-table td:empty {
    display: none;
  }

  .paperwork-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .25rem;
    color: #37465a;
    font-size: .94rem;
    font-weight: 700;
  }

  .paperwork-table td[data-label=""]::before {
    display: none;
  }

  .paperwork-family-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem .65rem;
  }

  .paperwork-family-table td {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .45rem;
    padding: .25rem 0;
  }

  .paperwork-family-table td:first-child {
    grid-column: 1 / -1;
    font-weight: 700;
  }

  .paperwork-family-table td:first-child::before {
    display: none;
  }

  .paperwork-family-table td:not(:first-child)::before {
    margin: 0;
    font-weight: 500;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .paperwork-intro-main {
    padding: 1.25rem 0 0;
  }

  .paperwork-intro-header {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .paperwork-intro-brand,
  .paperwork-intro-contact {
    text-align: center;
  }

  .paperwork-intro-card {
    width: min(100% - 1.25rem, 560px);
    min-height: 0;
    padding: 1.35rem 1rem;
  }

  .paperwork-shell {
    width: min(100% - 1rem, 1450px);
  }

  .paperwork-form-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .paperwork-print-btn {
    align-self: center;
  }

  .paperwork-step-header {
    align-items: flex-start;
    gap: .65rem;
  }

  .paperwork-step-header h2 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .paperwork-step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .paperwork-grid input,
  .paperwork-grid select,
  .paperwork-table input {
    min-height: 42px;
    padding: .55rem .65rem;
  }

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

  .paperwork-date select {
    min-width: 0;
    padding-left: .4rem;
    padding-right: .35rem;
    font-size: .9rem;
  }

  .paperwork-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .paperwork-options label {
    font-size: .96rem;
  }

  .paperwork-sticky {
    position: sticky;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    width: 100%;
    min-height: 0;
    padding: .7rem .65rem;
  }

  .paperwork-sticky > a {
    max-width: 4.25rem;
    overflow-wrap: anywhere;
  }

  .paperwork-progress {
    min-width: 0;
    width: 100%;
  }

  .paperwork-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: .45rem;
    min-height: 0;
  }

  .paperwork-saved,
  .paperwork-submit {
    min-height: 36px;
    padding: .42rem .6rem;
    font-size: .88rem;
  }
}

@media (max-width: 420px) {
  .paperwork-form-topbar {
    grid-template-columns: 1fr;
  }

  .paperwork-print-btn {
    justify-self: start;
  }

  .paperwork-date {
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
  }

  .paperwork-date select,
  .paperwork-date select:first-child,
  .paperwork-date select:last-child {
    border-radius: 3px;
  }

  .paperwork-sticky {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .paperwork-sticky > a,
  .paperwork-progress,
  .paperwork-actions {
    width: 100%;
  }

  .paperwork-sticky > a {
    max-width: none;
  }

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

  .paperwork-docs {
    padding-left: 1.35rem;
  }

  .paperwork-docs-bar {
    left: .35rem;
  }

  .paperwork-doc-item {
    gap: .65rem;
  }

  .paperwork-doc-item span {
    line-height: 1.25;
  }

  [data-paperwork-draft-warning] {
    max-width: none;
    padding: .55rem .65rem;
    border-radius: 6px;
    background: rgba(4, 40, 63, .28);
  }
}

@media screen and (max-width: 900px) {
  .paperwork-docs {
    padding-left: 1.35rem !important;
  }

  .paperwork-docs-bar {
    left: .35rem !important;
  }

  .paperwork-step {
    overflow-x: visible !important;
  }

  .paperwork-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
  }

  .paperwork-table thead,
  .paperwork-table th {
    display: none !important;
  }

  .paperwork-table tbody,
  .paperwork-table tr,
  .paperwork-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .paperwork-table tr {
    margin: 0 0 .75rem !important;
    padding: .7rem !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  .paperwork-table td {
    border: 0 !important;
    padding: .45rem 0 !important;
  }

  .paperwork-table td:empty {
    display: none !important;
  }

  .paperwork-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .25rem;
    color: #37465a;
    font-size: .94rem;
    font-weight: 700;
  }

  .paperwork-table td[data-label=""]::before {
    display: none;
  }

  .paperwork-table input[type="text"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  .paperwork-table-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
    justify-items: stretch !important;
  }

  .paperwork-table-actions .paperwork-add-row,
  .paperwork-table-actions .paperwork-remove-row {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-inline: .5rem !important;
    font-size: .88rem !important;
    white-space: normal !important;
  }

  .paperwork-family-table tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .paperwork-family-table td:first-child {
    grid-column: 1 / -1 !important;
  }

  .paperwork-doc-shell {
    padding: .8rem;
  }

  .paperwork-doc-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .6rem;
  }

  .paperwork-doc-frame,
  .paperwork-privacy-card {
    max-width: 100%;
  }

  .paperwork-privacy-card {
    padding: 1.25rem;
  }

  .paperwork-privacy-shell {
    padding-bottom: 1.5rem;
  }

  .paperwork-privacy-header {
    grid-template-columns: 1fr;
  }

  .paperwork-privacy-topbar,
  .paperwork-privacy-banner {
    width: min(100% - 1.5rem, 1180px);
  }

  .paperwork-privacy-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: .45rem;
    padding: .75rem .9rem;
  }

  .paperwork-privacy-copy {
    padding: 1rem 0 0;
  }

  .paperwork-privacy-copy h1,
  .paperwork-privacy-copy h2,
  .paperwork-consent-title {
    max-width: 100%;
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    line-height: 1.2;
  }

  .paperwork-privacy-copy p,
  .paperwork-privacy-copy li,
  .paperwork-consent-text p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .paperwork-privacy-dob-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  .paperwork-privacy-input-wrap input {
    min-height: 44px;
    padding: .65rem 2rem .65rem .75rem;
  }

  .paperwork-consent-form {
    gap: 1.8rem;
  }

  .paperwork-consent-name-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  .paperwork-consent-dob-label {
    margin-top: .25rem;
  }

  .paperwork-doc-paper {
    width: 100%;
    min-height: 0;
    padding: 1.25rem;
  }

  .paperwork-doc-header,
  .paperwork-doc-header-privacy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .paperwork-doc-header img {
    width: min(220px, 65vw);
  }

  .paperwork-doc-providers {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .paperwork-doc-copy {
    max-width: 100%;
    margin-top: 2rem;
  }

  .paperwork-doc-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .paperwork-doc-signoff {
    margin-top: 2rem;
  }

  .paperwork-doc-form {
    max-width: 100%;
    margin-top: 2rem;
  }

  .paperwork-doc-form label {
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }

  .paperwork-doc-form input {
    width: 100%;
    height: auto;
    min-height: 40px;
  }

  .paperwork-sign-dialog {
    width: min(100% - 1rem, 760px);
    padding: 1rem;
  }

  .paperwork-sign-canvas {
    width: 100%;
    height: 180px;
  }

  .paperwork-doc-confirm {
    padding: .75rem;
  }

  .paperwork-doc-confirm-card {
    width: 100%;
    padding: 1.4rem 1rem;
  }

  .paperwork-hipaa-copy {
    padding-top: .25rem;
  }

  .paperwork-hipaa-title {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.2rem;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.15;
    text-align: center;
  }

  .paperwork-hipaa-form {
    gap: 1.8rem;
  }

  .paperwork-hipaa-section {
    gap: .9rem;
  }

  .paperwork-hipaa-section-title {
    font-size: 1rem;
    line-height: 1.45;
  }

  .paperwork-hipaa-people {
    gap: .8rem;
    min-height: 0;
  }

  .paperwork-hipaa-person-row,
  .paperwork-hipaa-person-row-emergency,
  .paperwork-hipaa-wide-row,
  .paperwork-hipaa-contact-row,
  .paperwork-hipaa-inline-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
  }

  .paperwork-hipaa-person-row {
    padding: .8rem;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    background: #fff;
  }

  .paperwork-hipaa-person-row span,
  .paperwork-hipaa-inline-field span,
  .paperwork-hipaa-wide-row span,
  .paperwork-hipaa-checkbox span {
    font-size: .95rem;
    font-weight: 600;
  }

  .paperwork-hipaa-person-row input,
  .paperwork-hipaa-inline-field input,
  .paperwork-hipaa-wide-row input {
    width: 100%;
    min-height: 42px;
    padding: .6rem .7rem;
  }

  .paperwork-hipaa-checkbox {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .paperwork-hipaa-radio-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: .8rem;
  }

  .paperwork-privacy-name-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  .paperwork-privacy-sign-card {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
  }

  .paperwork-privacy-sign-switch {
    flex-wrap: wrap;
  }

  .paperwork-privacy-sign-canvas {
    width: 100%;
    height: 180px;
  }
}

@media screen and (max-width: 520px) {
  .paperwork-doc-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .paperwork-doc-continue,
  .paperwork-doc-topbar a {
    justify-self: start;
  }

  .paperwork-privacy-card {
    padding: 1rem .85rem;
  }

  .paperwork-privacy-topbar,
  .paperwork-privacy-banner {
    width: min(100% - 1rem, 1180px);
  }

  .paperwork-privacy-dob-grid {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .paperwork-privacy-required {
    top: auto;
    bottom: .6rem;
    transform: none;
  }

  .paperwork-doc-paper {
    padding: 1rem .85rem;
  }

  .paperwork-doc-providers p,
  .paperwork-doc-contact p {
    font-size: .92rem;
  }

  .paperwork-doc-form button {
    width: 100%;
  }

  .paperwork-hipaa-title {
    font-size: clamp(1.55rem, 9vw, 2rem);
  }

  .paperwork-hipaa-radio-row {
    grid-template-columns: 1fr;
  }
}









