html {
  scroll-behavior: smooth;
}

body.eyakho-index-meddash {
  --ink: #061923;
  --muted: #08324A;
  --line: #0B5C6B;
  --panel: #ffffff;
  --surface: #ffffff;
  --cyan: #0A6F78;
  --blue: #0B5C6B;
  --sky: #EAF7F8;
  --mist: #F4FBFC;
  --lavender: #EAF7F8;
  --purple: #08324A;
  --acid: #52C7BD;
  --green: #007C89;
  --green-soft: #ffffff;
  --deep-purple: #0B5C6B;
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 88% 10%, #0A6F78 0 18%, transparent 42%),
    linear-gradient(135deg, #0B5C6B 0%, #061923 68%, #0A6F78 100%);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

body.eyakho-index-meddash,
body.eyakho-index-meddash * {
  box-sizing: border-box;
}

body.eyakho-index-meddash a {
  color: inherit;
  text-decoration: none;
}

body.eyakho-index-meddash a:focus-visible,
body.eyakho-index-meddash button:focus-visible,
body.eyakho-index-meddash input:focus-visible {
  outline: 3px solid rgba(54, 119, 189, 0.38);
  outline-offset: 3px;
}

body.eyakho-index-meddash img {
  display: block;
  max-width: 100%;
}

body.eyakho-index-meddash .eyakho-skip-link {
  position: absolute;
  left: 14px;
  top: 10px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

body.eyakho-index-meddash .eyakho-skip-link:focus {
  transform: translateY(0);
}

body.eyakho-index-meddash .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;
}

.meddash-mobilebar {
  display: none;
}

.meddash-app {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  min-height: 100dvh;
}

.meddash-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 30px 20px;
  background: #ffffff;
  border-right: 2px solid #0B5C6B;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 4;
}

.meddash-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
}

.meddash-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #007C89;
  color: #ffffff;
  box-shadow: none;
}

.meddash-side-nav {
  display: grid;
  gap: 8px;
}

.meddash-side-nav span,
.meddash-side-card span,
.meddash-section-title span,
.meddash-kicker,
.meddash-trust-copy span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meddash-side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: #08324A;
  font-size: 0.88rem;
  font-weight: 700;
}

.meddash-side-nav a i {
  width: 18px;
  text-align: center;
  color: #08324A;
}

.meddash-side-nav a.is-active,
.meddash-side-nav a:hover {
  background: #007C89;
  color: #ffffff;
}

.meddash-side-nav a.is-active i,
.meddash-side-nav a:hover i {
  color: #ffffff;
}

.meddash-side-card {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  border: 2px solid #0B5C6B;
  background: #ffffff;
  box-shadow: none;
}

.meddash-side-card strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.meddash-side-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  background: #007C89;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.meddash-main {
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: 8px clamp(18px, 3vw, 34px) 24px;
}

.meddash-topline {
  display: grid;
  grid-template-columns: minmax(260px, 580px) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 21.75px;
}

.meddash-global-search {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  background: #ffffff;
  border: 2px solid #0B5C6B;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  font-size: 15px;
  line-height: 21.75px;
}

.meddash-global-search i {
  color: var(--blue);
  width: 15px;
  font-size: 15px;
  line-height: 1;
}

.meddash-global-search input {
  width: 100%;
  min-height: 42px;
  min-width: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink);
  font: inherit;
  font-size: 14.72px;
  line-height: 21.344px;
}

.meddash-global-search button,
.meddash-add-button,
.meddash-icon-link {
  min-height: 38px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 19.952px;
  cursor: pointer;
}

.meddash-global-search button {
  min-height: 40px;
  border-radius: 999px;
  padding: 7.68px 15.2px;
  font-weight: 850;
  line-height: 15.824px;
}

.meddash-global-search button,
.meddash-add-button {
  background: var(--ink) !important;
  color: #ffffff !important;
}

.meddash-account-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.meddash-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border: 1px solid #007C89;
  color: #0B5C6B;
}

.meddash-icon-link i,
.meddash-icon-link span {
  color: #0B5C6B !important;
}

.meddash-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 108px;
  color: #ffffff !important;
}

.meddash-add-button i,
.meddash-add-button span {
  color: #ffffff !important;
}

.meddash-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 26px;
  align-items: stretch;
  min-height: calc(100dvh - 304px);
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #08324A 0%, #061923 58%, #0A6F78 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.meddash-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 34%;
  height: 7px;
  background: linear-gradient(90deg, #007C89, #0A6F78, #52C7BD);
}

.meddash-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.meddash-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #007C89;
  color: #ffffff;
}

.meddash-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.05rem, 3.55vw, 3.75rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.meddash-hero p {
  max-width: 52ch;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.5;
}

.meddash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.meddash-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.meddash-hero-actions a:first-child {
  background: #007C89;
  color: #ffffff;
}

.meddash-hero-actions a:last-child {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #061923;
}

.meddash-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.meddash-search-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #061923;
  font-size: 0.74rem;
  font-weight: 800;
}

.meddash-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.meddash-hero-visual img {
  width: min(760px, 116%);
  max-width: none;
  margin-right: -8%;
  filter: drop-shadow(0 28px 34px rgba(24, 33, 52, 0.18));
}

.meddash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.meddash-stat {
  position: relative;
  min-height: 146px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.36), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(82, 199, 189, 0.54), transparent 38%),
    linear-gradient(135deg, #0B5C6B 0%, #007C89 52%, #52C7BD 100%);
  box-shadow: 0 20px 48px rgba(6, 25, 35, 0.22);
}

.meddash-stat::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(234, 247, 248, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.meddash-stat > * {
  position: relative;
  z-index: 1;
}

.meddash-stat span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--ink);
}

.meddash-stat strong {
  font-size: 1.02rem;
  color: #061923;
}

.meddash-stat p {
  margin: 0;
  color: #08324A;
  font-size: 0.82rem;
  line-height: 1.45;
}

.meddash-stat-purple {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.38), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(82, 199, 189, 0.58), transparent 38%),
    linear-gradient(135deg, #0B5C6B 0%, #007C89 52%, #52C7BD 100%);
}

.meddash-stat-blue {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 255, 255, 0.3), transparent 32%),
    radial-gradient(circle at 12% 80%, rgba(82, 199, 189, 0.5), transparent 38%),
    linear-gradient(135deg, #061923 0%, #0B5C6B 54%, #0A6F78 100%);
}

.meddash-stat-yellow {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.34), transparent 34%),
    radial-gradient(circle at 96% 20%, rgba(82, 199, 189, 0.64), transparent 38%),
    linear-gradient(135deg, #08324A 0%, #007C89 56%, #52C7BD 100%);
}

.meddash-stat-mist {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.32), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(82, 199, 189, 0.44), transparent 38%),
    linear-gradient(135deg, #0B5C6B 0%, #061923 58%, #0A6F78 100%);
}

.meddash-routes,
.meddash-flow,
.meddash-trust {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(54, 119, 189, 0.08);
}

.meddash-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.meddash-section-title h2,
.meddash-trust-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 800;
}

.meddash-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.meddash-route-grid a {
  min-height: 156px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.meddash-route-grid a:hover {
  border-color: rgba(54, 119, 189, 0.35);
  box-shadow: 0 16px 32px rgba(54, 119, 189, 0.12);
}

.meddash-route-grid i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
}

.meddash-route-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.meddash-route-grid strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.meddash-flow-board {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
}

.meddash-flow-board ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meddash-flow-board li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
}

.meddash-flow-board li span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
}

.meddash-flow-board li strong {
  font-size: 0.96rem;
}

.meddash-flow-board li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.meddash-appointment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.meddash-appointment-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.meddash-appointment-card > div span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.meddash-appointment-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.meddash-appointment-card th,
.meddash-appointment-card td {
  padding: 13px 16px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.meddash-appointment-card th {
  background: var(--mist);
  color: #08324A;
}

.meddash-appointment-card td {
  color: #08324A;
}

.meddash-trust {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #061923, #061923 68%, #061923);
  color: #ffffff;
}

.meddash-trust-copy span,
.meddash-trust-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.meddash-trust-copy h2 {
  color: #ffffff;
}

.meddash-trust-copy p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.meddash-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.meddash-trust-grid span {
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.meddash-trust-grid i {
  color: var(--acid);
}

.meddash-trust-grid strong {
  font-size: 0.95rem;
}

.meddash-trust-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.meddash-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 2px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.meddash-footer span {
  color: var(--ink);
  font-weight: 800;
}

.meddash-footer p {
  margin: 0;
}

@media (max-width: 1160px) {
  .meddash-app {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .meddash-sidebar {
    padding-inline: 14px;
  }

  .meddash-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .meddash-hero-visual {
    justify-content: center;
    max-height: 330px;
  }

  .meddash-hero-visual img {
    width: min(760px, 105%);
    margin-right: 0;
  }

  .meddash-route-grid,
  .meddash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meddash-flow-board,
  .meddash-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.eyakho-index-meddash {
    background:
      radial-gradient(circle at 92% 10%, #0A6F78 0 18%, transparent 44%),
      linear-gradient(135deg, #0B5C6B 0%, #061923 72%, #0A6F78 100%);
  }

  .meddash-mobilebar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .meddash-menu-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
  }

  .meddash-mobile-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
  }

  .meddash-mobile-nav.is-open {
    display: grid;
  }

  .meddash-mobile-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .meddash-mobile-nav .meddash-mobile-primary {
    background: var(--ink);
    color: #ffffff;
  }

  .meddash-app {
    display: block;
    min-height: 0;
  }

  .meddash-sidebar {
    display: none;
  }

  .meddash-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 14px 14px 26px;
  }

  .meddash-topline {
    order: 1;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .meddash-global-search {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }

  .meddash-global-search button {
    display: none;
  }

  .meddash-hero {
    order: 2;
  }

  .meddash-stats {
    order: 3;
  }

  .meddash-routes {
    order: 4;
  }

  .meddash-flow {
    order: 5;
  }

  .meddash-trust {
    order: 6;
  }

  .meddash-footer {
    order: 7;
  }

  .meddash-account-actions {
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .meddash-icon-link,
  .meddash-add-button {
    justify-content: center;
  }

  .meddash-hero {
    padding: 20px;
    min-height: calc(100dvh - 232px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .meddash-hero h1 {
    font-size: 2.05rem;
  }

  .meddash-hero p {
    font-size: 0.92rem;
  }

  .meddash-hero-visual {
    max-height: 250px;
    overflow: hidden;
  }

  .meddash-stats,
  .meddash-route-grid,
  .meddash-trust-grid {
    grid-template-columns: 1fr;
  }

  .meddash-section-title {
    display: grid;
    gap: 8px;
  }

  .meddash-routes,
  .meddash-flow,
  .meddash-trust {
    padding: 18px;
  }

  .meddash-appointment-card {
    overflow-x: auto;
  }

  .meddash-appointment-card table {
    min-width: 480px;
  }

  .meddash-footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .meddash-hero-actions a {
    width: 100%;
  }

  .meddash-search-tags a {
    flex: 1 1 130px;
    justify-content: center;
  }
}
