.patient-portal-body {
  --portal-blue: #0f78ee;
  --portal-blue-dark: #0965d5;
  --portal-blue-soft: #edf5ff;
  --portal-green: #21b866;
  --portal-green-soft: #eaf9f1;
  --portal-red: #e53c3c;
  --portal-text: #111827;
  --portal-muted: #657187;
  --portal-line: #e2e9f2;
  --portal-surface: #ffffff;
  --portal-background: #f5f8fc;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background: var(--portal-background);
  color: var(--portal-text);
  overflow: visible;
}

.portal-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.patient-portal-body svg {
  display: block;
}

.patient-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 232px;
  height: 100vh;
  padding: 23px 14px 18px;
  border-right: 1px solid var(--portal-line);
  background: #ffffff;
}

.patient-brand,
.patient-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111827;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.7px;
}

.patient-brand {
  margin: 0 13px 38px;
}

.patient-brand img,
.patient-mobile-brand img {
  width: 34px;
  height: 42px;
  object-fit: contain;
}

.patient-nav {
  display: grid;
  gap: 6px;
}

.patient-nav a,
.patient-nav button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #55627a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.patient-nav a:hover,
.patient-nav button:hover {
  background: #f4f7fb;
  color: var(--portal-blue);
}

.patient-nav a.is-active {
  background: linear-gradient(135deg, #f1f6ff, #edf4ff);
  color: var(--portal-blue-dark);
  font-weight: 800;
}

.patient-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.patient-nav b {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--portal-red);
  color: #fff;
  font-size: 10px;
}

.sidebar-support {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 17px 15px 15px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f5f8ff, #edf4ff);
}

.sidebar-support strong {
  font-size: 14px;
}

.sidebar-support p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 12px;
}

.sidebar-support a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  margin-top: 6px;
  border: 1px solid #a8cefb;
  border-radius: 7px;
  background: #fff;
  color: var(--portal-blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.sidebar-support svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.patient-app {
  min-width: 0;
}

.patient-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 69px;
  padding: 0 34px;
  border-bottom: 1px solid var(--portal-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(26, 48, 78, 0.025);
  backdrop-filter: blur(14px);
}

.patient-mobile-brand {
  display: none;
}

.patient-user-tools {
  display: flex;
  align-items: center;
  gap: 11px;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  list-style: none;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu > div {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  z-index: 30;
  display: grid;
  width: 160px;
  padding: 7px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(27, 53, 86, 0.13);
}

.user-menu > div a,
.user-menu > div button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #445168;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.user-menu > div a:hover,
.user-menu > div button:hover {
  background: #f2f6fb;
  color: var(--portal-blue-dark);
}

.user-menu > div svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-right: 12px;
  border: 0;
  background: transparent;
  color: #42506a;
  cursor: pointer;
}

.notification-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-button b {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--portal-red);
  color: #fff;
  font-size: 9px;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f78ee, #074d9e);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.user-name {
  display: grid;
  gap: 2px;
  min-width: 101px;
}

.user-name strong {
  font-size: 13px;
  font-weight: 750;
}

.user-name small {
  color: var(--portal-muted);
  font-size: 11px;
}

.user-chevron {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #66748c;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.user-menu[open] .user-chevron {
  transform: rotate(90deg);
}

.patient-main {
  width: min(100%, 1150px);
  margin: 0 auto;
  padding: 40px 34px 30px;
}

.portal-preview-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 8px 18px;
  padding: 12px 14px;
  border: 1px solid #f0c875;
  border-radius: 8px;
  background: #fff8e6;
  color: #6f4b08;
  font-size: 12px;
  line-height: 1.45;
}

.portal-preview-banner strong {
  flex: 0 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 8px 29px;
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--portal-blue-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-welcome h1 {
  margin: 0;
  color: #0b0f16;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.dashboard-welcome p {
  margin: 8px 0 0;
  color: #566176;
  font-size: 15px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0f7df2, #0969de);
  box-shadow: 0 8px 18px rgba(15, 120, 238, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 22px rgba(15, 120, 238, 0.27);
}

.primary-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-card {
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  background: var(--portal-surface);
  box-shadow: 0 4px 18px rgba(35, 58, 91, 0.045);
}

.tracking-card {
  padding: 25px 27px 26px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-heading h2,
.dashboard-card h2 {
  margin: 0;
  color: #11151c;
  font-size: 16px;
  letter-spacing: -0.15px;
}

.card-heading p {
  margin: 6px 0 0;
  color: var(--portal-muted);
  font-size: 12px;
}

.estimate-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #eef5ff;
  color: #33415a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.estimate-pill svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--portal-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kit-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 37px 0 2px;
  padding: 0;
  list-style: none;
}

.kit-timeline li {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.kit-timeline li::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 18px);
  z-index: 0;
  width: calc(100% - 36px);
  height: 3px;
  background: #dce4ee;
}

.kit-timeline li.is-complete::after {
  background: #b8eccf;
}

.kit-timeline li:last-child::after {
  display: none;
}

.kit-timeline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #aab7c9;
  border-radius: 50%;
  background: #fff;
  color: #8d9bae;
}

.kit-timeline li > span svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kit-timeline li.is-complete > span {
  border-color: var(--portal-green);
  background: var(--portal-green);
  box-shadow: 0 3px 10px rgba(33, 184, 102, 0.18);
  color: #fff;
}

.kit-timeline li.is-current > span {
  width: 42px;
  height: 42px;
  margin-top: -3px;
  border-color: var(--portal-blue);
  background: var(--portal-blue);
  box-shadow: 0 5px 13px rgba(15, 120, 238, 0.25);
  color: #fff;
}

.kit-timeline strong,
.kit-timeline small {
  display: block;
}

.kit-timeline strong {
  max-width: 118px;
  margin-top: 17px;
  color: #202632;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.kit-timeline small {
  margin-top: 6px;
  color: #788397;
  font-size: 10px;
}

.kit-timeline li.is-current small {
  color: var(--portal-blue);
  font-weight: 750;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-top: 17px;
}

.dashboard-grid-primary {
  grid-template-columns: 1.07fr 1.13fr 0.9fr;
}

.dashboard-grid-primary > article {
  min-width: 0;
  padding: 26px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.feature-icon.blue {
  background: #eaf3ff;
  color: var(--portal-blue);
}

.feature-icon.green {
  background: #e2f8ef;
  color: #09b67d;
}

.feature-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kit-detail-card dl {
  display: grid;
  gap: 15px;
  margin: 0 0 22px;
}

.kit-detail-card dl div {
  display: grid;
  grid-template-columns: minmax(82px, 0.8fr) minmax(0, 1.3fr);
  gap: 10px;
  align-items: start;
  font-size: 11px;
}

.kit-detail-card dt {
  color: var(--portal-muted);
}

.kit-detail-card dd {
  min-width: 0;
  margin: 0;
  color: #1b2330;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.kit-detail-card dd a {
  color: var(--portal-blue-dark);
}

.outline-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border: 1px solid #9dc8fa;
  border-radius: 6px;
  background: #fff;
  color: var(--portal-blue-dark);
  font-size: 11px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease;
}

.outline-button:hover {
  border-color: var(--portal-blue);
  background: #f4f9ff;
}

.outline-button.green {
  border-color: #9ee7c1;
  color: #10a95d;
}

.outline-button.green:hover {
  background: #effcf5;
}

.next-card h2,
.help-card h2 {
  margin-bottom: 11px;
}

.next-card > p,
.help-card > p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 11px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 21px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #252d3b;
  font-size: 10.5px;
  line-height: 1.4;
}

.check-list svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  padding: 2px;
  border: 1.5px solid var(--portal-blue);
  border-radius: 50%;
  fill: none;
  stroke: var(--portal-blue);
  stroke-width: 2.4;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  border-radius: 7px;
  background: #eef5ff;
  color: #2760a4;
  font-size: 10px;
  line-height: 1.4;
}

.notice svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--portal-blue);
  stroke-width: 1.8;
}

.help-card {
  display: flex;
  flex-direction: column;
}

.help-card .outline-button {
  margin-top: auto;
}

.dashboard-grid-secondary {
  grid-template-columns: minmax(0, 2.24fr) minmax(250px, 1fr);
}

.dashboard-grid-secondary > article {
  padding: 24px 26px;
}

.card-heading.compact {
  margin-bottom: 22px;
}

.card-heading.compact a {
  color: var(--portal-blue-dark);
  font-size: 11px;
  font-weight: 800;
}

.order-row {
  display: grid;
  grid-template-columns: 47px minmax(165px, 1.6fr) minmax(74px, 0.7fr) minmax(75px, 0.8fr) 18px;
  gap: 16px;
  align-items: center;
  color: #283142;
}

.order-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 8px;
  background: #f3f6fa;
  color: #657187;
}

.order-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-title {
  display: grid;
  gap: 4px;
}

.order-title strong {
  font-size: 11.5px;
}

.order-title small,
.order-row time {
  color: var(--portal-muted);
  font-size: 10px;
}

.status-badge {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 5px;
  background: #e8faef;
  color: #10a457;
  font-size: 9.5px;
  font-weight: 750;
}

.row-chevron {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #788397;
  stroke-width: 1.8;
}

.account-summary-card h2 {
  margin-bottom: 21px;
}

.account-summary-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.account-summary-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5d687c;
  font-size: 10.5px;
}

.account-summary-card dd {
  margin: 0;
  color: #384459;
  font-weight: 700;
}

.updates-banner {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  min-height: 137px;
  margin-top: 17px;
  padding: 21px 31px;
  overflow: hidden;
  border: 1px solid #e0eaf7;
  border-radius: 9px;
  background:
    radial-gradient(circle at 10% 100%, rgba(42, 139, 248, 0.13), transparent 12rem),
    linear-gradient(108deg, #f6faff, #edf5ff 70%, #f8fbff);
}

.updates-phone {
  position: relative;
  width: 76px;
  height: 118px;
  align-self: end;
  justify-self: center;
  margin-bottom: -25px;
  padding: 15px 9px;
  border: 4px solid #202a37;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  background: #fff;
  box-shadow: 0 10px 20px rgba(28, 54, 88, 0.14);
  transform: rotate(-2deg);
}

.updates-phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 23px;
  height: 4px;
  border-radius: 4px;
  background: #202a37;
  transform: translateX(-50%);
}

.updates-phone span {
  display: block;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0f78ee, #62c9ef);
}

.updates-phone i {
  display: block;
  height: 12px;
  margin: 6px 0;
  border-radius: 4px;
  background: #edf3fb;
}

.updates-banner h2 {
  margin: 0;
  color: #10151d;
  font-size: 17px;
}

.updates-banner p {
  max-width: 420px;
  margin: 7px 0 0;
  color: #4e5b70;
  font-size: 12px;
  line-height: 1.55;
}

.updates-actions {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.updates-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 15px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 10.5px;
  font-weight: 750;
}

.updates-actions a svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.updates-actions span {
  color: #6a7589;
  font-size: 9.5px;
}

.portal-preview-note {
  margin: 16px 0 0;
  color: #8792a4;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1100px) {
  .patient-portal-body {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .patient-sidebar {
    width: 205px;
  }

  .patient-main {
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .help-card {
    grid-column: 1 / -1;
  }

  .help-card .outline-button {
    width: min(230px, 100%);
    margin-top: 22px;
  }

  .kit-timeline strong {
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  .portal-preview-banner {
    align-items: flex-start;
    flex-direction: column;
    margin-right: 0;
    margin-left: 0;
  }

  .patient-portal-body {
    display: block;
    padding-bottom: 73px;
  }

  .patient-sidebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    display: block;
    width: 100%;
    height: 73px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--portal-line);
    border-right: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -6px 20px rgba(27, 53, 86, 0.08);
    backdrop-filter: blur(16px);
  }

  .patient-brand,
  .sidebar-support {
    display: none;
  }

  .patient-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }

  .patient-nav a,
  .patient-nav button {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
    min-height: 57px;
    padding: 5px 2px;
    border-radius: 7px;
    font-size: 9px;
    text-align: center;
  }

  .patient-nav a:nth-child(n + 6),
  .patient-nav button {
    display: none;
  }

  .patient-nav svg {
    width: 20px;
    height: 20px;
  }

  .patient-nav b {
    display: none;
  }

  .patient-topbar {
    justify-content: space-between;
    min-height: 63px;
    padding: 0 18px;
  }

  .patient-mobile-brand {
    display: inline-flex;
    gap: 7px;
    font-size: 18px;
  }

  .patient-mobile-brand img {
    width: 27px;
    height: 34px;
  }

  .notification-button {
    margin-right: 2px;
  }

  .user-name,
  .user-chevron {
    display: none;
  }

  .patient-main {
    padding: 25px 16px 24px;
  }

  .dashboard-welcome {
    margin: 0 0 22px;
  }

  .dashboard-welcome .eyebrow {
    display: none;
  }

  .dashboard-welcome h1 {
    font-size: 26px;
  }

  .dashboard-welcome p {
    font-size: 13px;
  }

  .primary-action {
    width: 43px;
    min-width: 43px;
    height: 43px;
    padding: 0;
    font-size: 0;
  }

  .primary-action svg {
    display: none;
  }

  .primary-action svg:first-child {
    display: block;
  }

  .tracking-card {
    padding: 20px 17px 18px;
  }

  .tracking-heading {
    display: grid;
  }

  .estimate-pill {
    justify-self: start;
    white-space: normal;
  }

  .kit-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 25px;
  }

  .kit-timeline li {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    justify-items: start;
    min-height: 61px;
    text-align: left;
  }

  .kit-timeline li::after {
    top: 36px;
    left: 17px;
    width: 3px;
    height: calc(100% - 34px);
  }

  .kit-timeline li > span,
  .kit-timeline li.is-current > span {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .kit-timeline strong {
    align-self: end;
    max-width: none;
    margin: 0 0 2px 11px;
    font-size: 12px;
  }

  .kit-timeline small {
    grid-column: 2;
    margin: 2px 0 0 11px;
    font-size: 10px;
  }

  .dashboard-grid-primary,
  .dashboard-grid-secondary {
    grid-template-columns: 1fr;
  }

  .help-card {
    grid-column: auto;
  }

  .dashboard-grid-primary > article,
  .dashboard-grid-secondary > article {
    padding: 22px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .order-row {
    grid-template-columns: 45px minmax(0, 1fr) 16px;
    gap: 11px;
  }

  .order-title {
    min-width: 0;
  }

  .status-badge {
    grid-column: 2;
    justify-self: start;
  }

  .order-row time {
    display: none;
  }

  .row-chevron {
    grid-column: 3;
    grid-row: 1;
  }

  .updates-banner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .updates-phone {
    width: 60px;
    height: 99px;
  }

  .updates-actions {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media (max-width: 430px) {
  .patient-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .dashboard-welcome h1 {
    font-size: 23px;
  }

  .dashboard-welcome p {
    max-width: 230px;
  }

  .tracking-card,
  .dashboard-grid-primary > article,
  .dashboard-grid-secondary > article {
    padding-right: 18px;
    padding-left: 18px;
  }

  .updates-banner {
    grid-template-columns: 1fr;
  }

  .updates-phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .patient-portal-body *,
  .patient-portal-body *::before,
  .patient-portal-body *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
