/* Unified mr.pharmacist identity: no sequence numbers, no per-suite color changes. */

:root {
  --mrph-unified-navy-950: #041321;
  --mrph-unified-navy-900: #061b2f;
  --mrph-unified-navy-800: #0a2c48;
  --mrph-unified-navy-700: #0e4661;
  --mrph-unified-cyan: #21c9e6;
  --mrph-unified-cyan-strong: #11b8d6;
  --mrph-unified-cyan-soft: #e8f9fc;
  --mrph-unified-line: #d9e8ee;
  --mrph-unified-paper: #f4f9fb;
  --mrph-unified-text: #13273a;
  --mrph-unified-muted: #687b8e;
  --mrph-unified-shadow: 0 18px 52px rgba(5, 28, 47, .09);
}

/* Hard removal of all visual sequence-number elements. */
.mrph-suite-rank,
.mrph-suite-rank-large,
[data-mrph-rank]::before,
[data-mrph-rank]::after {
  display: none !important;
  content: none !important;
}

body.app-body {
  color: var(--mrph-unified-text);
  background:
    radial-gradient(circle at 90% 6%, rgba(33, 201, 230, .08), transparent 25rem),
    linear-gradient(180deg, #fbfdfe 0%, var(--mrph-unified-paper) 100%);
}

/* Sidebar: one consistent mr.pharmacist navy/cyan system. */
.sidebar {
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 201, 230, .11), transparent 15rem),
    linear-gradient(180deg, var(--mrph-unified-navy-950), var(--mrph-unified-navy-900));
  border-inline-color: rgba(255, 255, 255, .07);
}

.sidebar .nav-group[data-mrph-group="primary"] {
  display: grid;
  gap: 8px;
  margin: 2px 0 18px;
}

.sidebar .nav-group[data-mrph-group="primary"] > .nav-title {
  padding: 8px 12px 10px;
  color: #9fc7d3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sidebar .nav-group[data-mrph-group="primary"] .nav-item {
  position: relative;
  min-height: 64px;
  padding: 11px 13px;
  color: #d8e8ef;
  background: linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  border: 1px solid rgba(116, 207, 222, .10);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 18px rgba(0,0,0,.06);
  transform: none;
  overflow: hidden;
}

.sidebar .nav-group[data-mrph-group="primary"] .nav-item::after {
  content: "";
  position: absolute;
  inset-block: 11px;
  inset-inline-end: 7px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(to bottom, transparent, rgba(33, 201, 230, .38), transparent);
  opacity: .65;
}

.sidebar .nav-group[data-mrph-group="primary"] .nav-item:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(33, 201, 230, .11), rgba(255,255,255,.055));
  border-color: rgba(87, 213, 232, .24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 13px 28px rgba(0,0,0,.11);
  transform: translateY(-1px);
}

.sidebar .nav-group[data-mrph-group="primary"] .nav-item.active {
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(33, 201, 230, .19), transparent 8rem),
    linear-gradient(100deg, rgba(33, 201, 230, .18), rgba(255,255,255,.075));
  border-color: rgba(87, 213, 232, .36);
  box-shadow: inset 3px 0 0 var(--mrph-unified-cyan), inset 0 1px 0 rgba(255,255,255,.10), 0 15px 32px rgba(0,0,0,.15);
  transform: none;
}

[dir="rtl"] .sidebar .nav-group[data-mrph-group="primary"] .nav-item.active {
  box-shadow: inset -3px 0 0 var(--mrph-unified-cyan), inset 0 1px 0 rgba(255,255,255,.10), 0 15px 32px rgba(0,0,0,.15);
}

.sidebar .nav-group[data-mrph-group="primary"] .nav-left {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mrph-suite-mark {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: rgba(33, 201, 230, .56);
  box-shadow: 0 0 0 4px rgba(33, 201, 230, .07), 0 0 14px rgba(33, 201, 230, .20);
}

.nav-item:hover .mrph-suite-mark,
.nav-item.active .mrph-suite-mark {
  background: #68e0f2;
  box-shadow: 0 0 0 4px rgba(33, 201, 230, .13), 0 0 17px rgba(33, 201, 230, .45);
}

.mrph-suite-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: start;
}

.mrph-suite-title {
  overflow: hidden;
  color: inherit;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mrph-suite-subtitle {
  overflow: hidden;
  color: #829cad;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item:hover .mrph-suite-subtitle,
.nav-item.active .mrph-suite-subtitle {
  color: #bcecf3;
}

.sidebar .nav-group[data-mrph-group="secondary"] {
  display: grid;
  gap: 2px;
  margin: 0 0 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar .nav-group[data-mrph-group="secondary"] > .nav-title {
  padding: 7px 12px 6px;
  color: #6f8798;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sidebar .nav-group[data-mrph-group="secondary"] .nav-item {
  min-height: 39px;
  padding: 8px 12px;
  color: #9fb2c0;
  background: transparent;
  border-color: transparent;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: none;
  transform: none;
}

.sidebar .nav-group[data-mrph-group="secondary"] .nav-item:hover,
.sidebar .nav-group[data-mrph-group="secondary"] .nav-item.active {
  color: #eef9fb;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.055);
  box-shadow: none;
  transform: none;
}

/* Independent pages: the same refined navy/cyan identity for every section. */
.mrph-independent-suite-page {
  --suite-accent: var(--mrph-unified-cyan) !important;
  --suite-accent-rgb: 33, 201, 230 !important;
  margin-top: 0 !important;
}

.mrph-suite-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 30px;
  align-items: stretch;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(33, 201, 230, .25), transparent 22rem),
    radial-gradient(circle at 42% 120%, rgba(78, 167, 191, .16), transparent 24rem),
    linear-gradient(118deg, var(--mrph-unified-navy-950) 0%, var(--mrph-unified-navy-800) 58%, #0b6175 100%) !important;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 24px 68px rgba(4, 24, 42, .20);
}

.mrph-suite-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  bottom: -58%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(109, 225, 240, .18);
  box-shadow: inset 0 0 75px rgba(33, 201, 230, .08);
  pointer-events: none;
}

.mrph-suite-hero-main,
.mrph-suite-hero-aside {
  position: relative;
  z-index: 1;
}

.mrph-suite-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #bceef5;
  background: rgba(33, 201, 230, .10);
  border: 1px solid rgba(100, 223, 239, .20);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.mrph-suite-hero h2 {
  max-width: 850px;
  margin: 24px 0 12px;
  color: #fff;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.mrph-suite-subtitle-large {
  margin: 0 0 14px;
  color: #74d7e6 !important;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 750;
}

.mrph-suite-intro {
  max-width: 780px;
  margin: 0;
  color: rgba(226, 242, 246, .75) !important;
  font-size: 15px;
  line-height: 1.8;
}

.mrph-suite-hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
}

.mrph-suite-hero-aside > span {
  color: #a9cad4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mrph-suite-hero-aside > strong {
  margin: 10px 0 22px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.mrph-suite-directory-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 11px;
  color: #083247;
  background: linear-gradient(145deg, #f8feff, #dff8fc);
  box-shadow: 0 12px 28px rgba(2, 19, 32, .18);
  font-weight: 800;
}

.mrph-suite-content-frame {
  overflow: hidden;
  margin-top: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--mrph-unified-line);
  box-shadow: var(--mrph-unified-shadow);
}

.mrph-suite-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--mrph-unified-line);
  background:
    radial-gradient(circle at 94% 0%, rgba(33,201,230,.08), transparent 15rem),
    linear-gradient(180deg, #fff, #fbfdfe);
}

.mrph-suite-content-head > div > span {
  color: #7291a0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mrph-suite-content-head h3 {
  margin: 6px 0 0;
  color: var(--mrph-unified-text);
  font-size: 25px;
  font-weight: 800;
}

.mrph-suite-content-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: #116274;
  background: var(--mrph-unified-cyan-soft);
  border: 1px solid #cceef3;
  font-size: 11px;
  font-weight: 800;
}

.mrph-suite-content-body {
  min-height: 430px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(33,201,230,.045), transparent 20rem),
    #fff;
}

.mrph-suite-content-body > #contentArea {
  min-height: 380px;
}

.mrph-suite-content-body .empty-state,
.mrph-suite-content-body .locked-state {
  min-height: 380px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfeff, #f7fbfc);
  border: 1px solid #e0ebef;
  box-shadow: none;
}

.mrph-suite-content-body .empty-icon,
.mrph-suite-content-body .locked-icon {
  color: var(--mrph-unified-cyan-strong);
  background: #effbfc;
  border-color: #d8f1f5;
}

@media (max-width: 1050px) {
  .mrph-suite-hero {
    grid-template-columns: 1fr;
  }
  .mrph-suite-hero-aside {
    max-width: none;
  }
}

@media (max-width: 880px) {
  .sidebar .nav-group[data-mrph-group="primary"] .nav-item {
    min-height: 60px;
  }
  .mrph-suite-hero {
    padding: 28px;
    border-radius: 20px;
  }
  .mrph-suite-hero h2 {
    font-size: clamp(36px, 9vw, 56px);
  }
}

@media (max-width: 640px) {
  .mrph-suite-hero {
    padding: 23px;
  }
  .mrph-suite-content-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .mrph-suite-content-body {
    padding: 16px;
  }
}
