:root {
  color-scheme: dark;
  --bg: #05070a;
  --ink: #f8efd6;
  --muted: #a9a18f;
  --panel: rgba(13, 18, 24, 0.94);
  --panel-2: rgba(18, 23, 31, 0.88);
  --line: rgba(214, 174, 75, 0.24);
  --line-strong: rgba(214, 174, 75, 0.54);
  --accent: #4ec88a;
  --accent-dark: #4ec88a;
  --gold: #d6ae4b;
  --gold-2: #f6db7d;
  --rose: #d25f9e;
  --mulank: #7c3aed;
  --bhagyank: #c2410c;
  --kua: #4ec88a;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --soft-accent: rgba(78, 200, 138, 0.1);
  --soft-gold: rgba(214, 174, 75, 0.12);
  --soft-rose: rgba(210, 95, 158, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 24% 0%, rgba(214, 174, 75, 0.12), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(210, 95, 158, 0.12), transparent 28%),
    linear-gradient(135deg, #05070a 0%, #081018 52%, #030406 100%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.auth-locked {
  overflow: hidden;
}

body.auth-locked .app-shell {
  display: none;
}

button,
input,
select {
  font: inherit;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 174, 75, 0.2), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(210, 95, 158, 0.12), transparent 26%),
    linear-gradient(135deg, #05070a 0%, #0a1118 56%, #030406 100%);
}

.auth-screen[hidden] {
  display: none;
}

.auth-card {
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid rgba(214, 174, 75, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(13, 18, 24, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.auth-card h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1;
}

.auth-card p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-error {
  min-height: 22px;
  margin: 0;
  color: var(--rose);
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-card > a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.auth-noscript {
  width: min(100% - 32px, 520px);
  margin: 24px auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--rose);
  font-weight: 800;
}

.practice-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.practice-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 8%, rgba(214, 174, 75, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.98), rgba(8, 13, 17, 0.96));
  overflow-y: auto;
  z-index: 5;
}

.brand-block {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  padding: 0 12px 22px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.brand-seal {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(246, 219, 125, 0.42), rgba(214, 174, 75, 0.16));
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 800;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(214, 174, 75, 0.22);
}

.brand-block strong {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.1;
}

.brand-block span,
.sidebar-note span,
.dashboard-overview span,
.future-workspace span,
.widget-heading span,
.report-preview-widget span,
.practice-stats span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.side-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.side-nav a span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 174, 75, 0.24);
  border-radius: 8px;
  color: var(--gold-2);
  font-size: 0.66rem;
  font-weight: 900;
}

.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a.is-active {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(214, 174, 75, 0.22), rgba(214, 174, 75, 0.06));
  outline: 0;
}

.sidebar-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(214, 174, 75, 0.08);
}

.sidebar-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.practice-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.practice-topbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-actions a,
.topbar-actions > span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.top-search {
  width: min(100%, 560px);
  position: relative;
}

.top-search span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  pointer-events: none;
}

.top-search input {
  min-height: 54px;
  padding-left: 76px;
  border-color: rgba(214, 174, 75, 0.22);
  background: rgba(6, 9, 12, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.notification-pill {
  width: 34px;
  min-width: 34px;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e65050, #a9234f) !important;
  color: #fff !important;
}

.profile-chip {
  min-height: 54px;
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  column-gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-chip img {
  width: 40px;
  height: 40px;
  grid-row: span 2;
  border-radius: 50%;
  object-fit: cover;
}

.profile-chip strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
}

.profile-chip small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.app-shell {
  width: 100%;
  margin: 0;
  padding: 26px 28px 40px;
}

.app-main {
  display: flex;
  flex-direction: column;
}

.intro-panel {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 200px;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 219, 125, 0.18), rgba(255, 255, 255, 0.02) 28%, rgba(6, 9, 12, 0.88) 68%),
    radial-gradient(circle at 82% 20%, rgba(214, 174, 75, 0.32), transparent 24%),
    linear-gradient(145deg, rgba(16, 18, 23, 0.96), rgba(5, 7, 10, 0.92));
  color: var(--ink);
  border: 1px solid rgba(214, 174, 75, 0.32);
  box-shadow: var(--shadow);
}

.intro-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(246, 219, 125, 0.16);
  border-radius: 8px;
}

.intro-panel::after {
  content: "4 9 2   3 5 7   8 1 6";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(246, 219, 125, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.intro-panel > div {
  position: relative;
  z-index: 1;
}

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

.practice-stats article {
  min-height: 112px;
  padding: 17px 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 75, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.07), rgba(255, 255, 255, 0.025) 44%, transparent),
    rgba(13, 18, 24, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.practice-stats article:nth-child(1)::before { content: "CL"; }
.practice-stats article:nth-child(2)::before { content: "RP"; }
.practice-stats article:nth-child(3)::before { content: "FU"; }
.practice-stats article:nth-child(4)::before { content: "₹"; }

.practice-stats article::before {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(214, 174, 75, 0.3);
  border-radius: 8px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.practice-stats article::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(214, 174, 75, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 174, 75, 0.14), transparent 66%);
}

.practice-stats span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.practice-stats strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.practice-stats p {
  margin: 0;
  color: #70d985;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-overview,
.future-workspace {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.dashboard-overview {
  order: 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-workspace {
  order: 9;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-overview article,
.future-workspace article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.08), rgba(255, 255, 255, 0.025) 42%, transparent),
    var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.dashboard-overview strong {
  display: block;
  margin: 7px 0 6px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.dashboard-number-card {
  position: relative;
  overflow: hidden;
}

.dashboard-number-card::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -26px;
  top: -28px;
  border: 1px solid rgba(214, 174, 75, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 219, 125, 0.18), transparent 62%);
}

.hero-brand-card {
  width: min(30vw, 240px);
  min-width: 178px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(246, 219, 125, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 16, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 22px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.hero-brand-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(214, 174, 75, 0.34);
}

.hero-brand-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-brand-card strong {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-widgets {
  order: 7;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(320px, 1.2fr) minmax(240px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.premium-visuals {
  order: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.premium-visuals article,
.consultant-management article,
.pdf-ready-layout {
  padding: 18px;
  border: 1px solid rgba(214, 174, 75, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.07), rgba(255, 255, 255, 0.025) 44%, transparent),
    rgba(13, 18, 24, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.premium-visuals span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-visuals strong {
  display: block;
  min-height: 54px;
  margin: 12px 0 8px;
  color: var(--gold-2);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.premium-visuals p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.loshu-preview-card,
.report-preview-widget,
.recent-reports-widget,
.followup-widget,
.yearly-guidance-widget,
.energy-balance-card,
.element-balance-card,
.chakra-balance-card {
  min-height: 246px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.075), rgba(255, 255, 255, 0.025) 44%, transparent),
    rgba(13, 18, 24, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.recent-reports-widget,
.followup-widget,
.yearly-guidance-widget {
  min-height: 190px;
}

.insight-dashboard {
  order: 4;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr) minmax(320px, 1.35fr);
  gap: 14px;
  margin-top: 14px;
}

.energy-balance-card,
.element-balance-card,
.chakra-balance-card {
  min-height: 270px;
}

.energy-dial {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(8, 12, 16, 0.94) 0 50%, transparent 51%),
    conic-gradient(var(--gold-2) 0 78%, rgba(255, 255, 255, 0.08) 78% 100%);
  box-shadow: 0 0 34px rgba(214, 174, 75, 0.22);
}

.energy-dial strong {
  color: var(--gold-2);
  font-size: 2.4rem;
  line-height: 1;
}

.energy-dial span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.energy-balance-card p,
.yearly-guidance-widget p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}

.element-bars {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.element-bars div {
  display: grid;
  grid-template-columns: 64px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.element-bars span,
.element-bars em {
  color: var(--ink);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.element-bars em {
  color: var(--muted);
  text-align: right;
}

.element-bars b {
  height: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.element-bars b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 20px rgba(214, 174, 75, 0.26);
}

.chakra-visual {
  display: grid;
  grid-template-columns: minmax(150px, 0.95fr) minmax(170px, 1fr);
  align-items: center;
  gap: 20px;
}

.chakra-silhouette {
  min-height: 250px;
  position: relative;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(124, 58, 237, 0.2), transparent 22%),
    radial-gradient(ellipse at 50% 74%, rgba(214, 174, 75, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(2, 8, 14, 0.88), rgba(9, 14, 18, 0.96));
  border: 1px solid rgba(214, 174, 75, 0.18);
  overflow: hidden;
  box-shadow:
    inset 0 0 38px rgba(214, 174, 75, 0.06),
    0 18px 45px rgba(0, 0, 0, 0.28);
}

.chakra-silhouette::before {
  content: "";
  position: absolute;
  inset: 16px 18px;
  border: 1px solid rgba(246, 219, 125, 0.12);
  border-radius: 50% 50% 42% 42%;
  box-shadow: inset 0 0 28px rgba(14, 165, 233, 0.07);
}

.chakra-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 190px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 50%;
  border-bottom: 2px solid rgba(214, 174, 75, 0.36);
  background: radial-gradient(ellipse, rgba(214, 174, 75, 0.18), transparent 68%);
}

.premium-chakra-figure > span {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.chakra-aura {
  left: 50%;
  top: 20px;
  width: 150px;
  height: 205px;
  transform: translateX(-50%);
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 48% 48% 38% 38%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(34, 211, 238, 0.14), transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(214, 174, 75, 0.12), transparent 54%);
  box-shadow:
    0 0 28px rgba(34, 211, 238, 0.2),
    0 0 54px rgba(124, 58, 237, 0.12);
}

.chakra-head {
  left: 50%;
  top: 39px;
  width: 36px;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(13, 25, 29, 0.96), rgba(5, 12, 15, 0.98));
  border: 1px solid rgba(246, 219, 125, 0.3);
  box-shadow: 0 0 22px rgba(214, 174, 75, 0.14);
}

.chakra-hair {
  left: 50%;
  top: 34px;
  width: 50px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 52% 52% 46% 46%;
  background: linear-gradient(180deg, rgba(2, 7, 10, 0.96), rgba(9, 19, 21, 0.86));
  border-top: 1px solid rgba(214, 174, 75, 0.22);
}

.chakra-torso {
  left: 50%;
  top: 79px;
  width: 72px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 45% 45% 34% 34%;
  background:
    linear-gradient(180deg, rgba(7, 25, 25, 0.86), rgba(6, 14, 17, 0.95)),
    radial-gradient(ellipse at 50% 20%, rgba(78, 200, 138, 0.12), transparent 52%);
  border: 1px solid rgba(78, 200, 138, 0.23);
}

.chakra-arm {
  top: 116px;
  width: 74px;
  height: 82px;
  border-bottom: 2px solid rgba(214, 174, 75, 0.42);
  border-radius: 0 0 64% 64%;
}

.chakra-arm.left {
  left: calc(50% - 88px);
  transform: rotate(-18deg);
  border-left: 1px solid rgba(14, 165, 233, 0.24);
}

.chakra-arm.right {
  right: calc(50% - 88px);
  transform: rotate(18deg);
  border-right: 1px solid rgba(14, 165, 233, 0.24);
}

.chakra-leg {
  bottom: 28px;
  width: 104px;
  height: 58px;
  border-bottom: 2px solid rgba(214, 174, 75, 0.4);
}

.chakra-leg.left {
  left: calc(50% - 112px);
  border-radius: 64% 22% 58% 42%;
  transform: rotate(-8deg);
  border-left: 1px solid rgba(34, 211, 238, 0.18);
}

.chakra-leg.right {
  right: calc(50% - 112px);
  border-radius: 22% 64% 42% 58%;
  transform: rotate(8deg);
  border-right: 1px solid rgba(34, 211, 238, 0.18);
}

.chakra-dot {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 12px currentColor,
    0 0 28px currentColor,
    inset 0 0 9px rgba(255, 255, 255, 0.5);
}

.chakra-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.58);
}

.chakra-dot.crown { top: 22px; color: #c084fc; background: #c084fc; }
.chakra-dot.third-eye { top: 58px; color: #4f46e5; background: #4f46e5; }
.chakra-dot.throat { top: 88px; color: #0ea5e9; background: #0ea5e9; }
.chakra-dot.heart { top: 119px; color: #22c55e; background: #22c55e; }
.chakra-dot.solar { top: 151px; color: #facc15; background: #facc15; }
.chakra-dot.sacral { top: 183px; color: #f97316; background: #f97316; }
.chakra-dot.root { top: 214px; color: #ef4444; background: #ef4444; }

.chakra-visual ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chakra-visual li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.chakra-visual b {
  color: var(--ink);
}

.chakra-visual i {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  border: 1px solid rgba(214, 174, 75, 0.32);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 0.66rem;
  font-style: normal;
  cursor: help;
}

.chakra-image-frame {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 75, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 42% 48%, rgba(214, 174, 75, 0.22), transparent 46%),
    linear-gradient(145deg, rgba(8, 4, 1, 0.96), rgba(10, 14, 18, 0.98));
  box-shadow:
    inset 0 0 46px rgba(214, 174, 75, 0.08),
    0 0 28px rgba(214, 174, 75, 0.12),
    0 18px 46px rgba(0, 0, 0, 0.34);
}

.chakra-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(246, 219, 125, 0.14);
}

.chakra-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: 29% center;
  filter: saturate(1.04) contrast(1.03);
}

.chakra-list-icon.crown { fill: #c084fc; color: #c084fc; background: #c084fc; }

.chakra-list-icon.third-eye { fill: #4f46e5; color: #4f46e5; background: #4f46e5; }

.chakra-list-icon.throat { fill: #0ea5e9; color: #0ea5e9; background: #0ea5e9; }

.chakra-list-icon.heart { fill: #22c55e; color: #22c55e; background: #22c55e; }

.chakra-list-icon.solar { fill: #facc15; color: #facc15; background: #facc15; }

.chakra-list-icon.sacral { fill: #f97316; color: #f97316; background: #f97316; }

.chakra-list-icon.root { fill: #ef4444; color: #ef4444; background: #ef4444; }

.chakra-list-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 12px currentColor,
    0 0 26px color-mix(in srgb, currentColor 45%, transparent);
}

.chakra-list-icon::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.chakra-visual li span {
  display: inline-flex;
  align-items: center;
}

.chakra-visual li {
  min-height: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214, 174, 75, 0.12);
}

.chakra-visual li:last-child {
  border-bottom: 0;
}

.chakra-report-visual {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(214, 174, 75, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 174, 75, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(5, 9, 13, 0.96), rgba(11, 17, 22, 0.92));
}

.chakra-report-visual .chakra-silhouette {
  min-height: 270px;
}

.chakra-report-visual .chakra-image-frame,
.chakra-report-visual .chakra-image-frame img {
  min-height: 320px;
}

.widget-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.widget-heading strong {
  color: var(--ink);
  font-size: 1rem;
  text-align: right;
}

.mini-loshu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mini-loshu-grid div {
  min-height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(214, 174, 75, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.mini-loshu-grid strong {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.mini-loshu-grid span,
.recent-reports-widget small,
.followup-widget small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.report-preview-widget {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.report-preview-widget img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(246, 219, 125, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.report-preview-widget h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.report-preview-widget p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.report-preview-widget button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(214, 174, 75, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(248, 239, 214, 0.62);
  font-weight: 800;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-actions a,
.preview-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(214, 174, 75, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(214, 174, 75, 0.2), rgba(214, 174, 75, 0.07));
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.preview-actions button {
  color: rgba(248, 239, 214, 0.62);
}

.yearly-orb {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 14px auto;
  border: 1px solid rgba(246, 219, 125, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(246, 219, 125, 0.28), rgba(214, 174, 75, 0.06) 62%, transparent 63%),
    rgba(255, 255, 255, 0.025);
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 900;
  box-shadow: 0 0 38px rgba(214, 174, 75, 0.26);
}

.consultant-management {
  order: 8;
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 1fr) minmax(300px, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.client-search {
  margin-bottom: 14px;
}

.client-search span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-rows,
.consultant-note-list,
.followup-status-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-rows div,
.consultant-note-list div,
.followup-status-panel li {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(214, 174, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.client-rows b,
.followup-status-panel b,
.consultant-note-list dt {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.client-rows span,
.consultant-note-list dd,
.followup-status-panel small {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.client-rows small {
  color: var(--gold);
  font-weight: 800;
}

.status-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.status-pipeline span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(214, 174, 75, 0.22);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.pdf-ready-layout {
  order: 10;
  margin-top: 14px;
}

.pdf-ready-layout ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  counter-reset: pdf-section;
  list-style: none;
}

.pdf-ready-layout li {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(214, 174, 75, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.025);
}

.pdf-ready-layout li::before {
  counter-increment: pdf-section;
  content: counter(pdf-section, decimal-leading-zero);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
}

.recent-reports-widget ul,
.followup-widget ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-reports-widget li,
.followup-widget li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 174, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.recent-reports-widget b,
.followup-widget b {
  color: var(--ink);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .practice-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .practice-stats,
  .dashboard-overview,
  .insight-dashboard,
  .premium-visuals,
  .consultant-management,
  .future-workspace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-ready-layout ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .chakra-balance-card {
    grid-column: 1 / -1;
  }
}

.future-workspace h3 {
  margin: 8px 0;
  color: var(--ink);
}

.dashboard-overview p,
.future-workspace p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

.intro-contact {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
}

.intro-contact a {
  color: #fff;
  text-decoration: none;
}

.report-studio {
  order: 6;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(214, 174, 75, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.07), rgba(255, 255, 255, 0.02) 34%, transparent),
    rgba(8, 12, 16, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.report-studio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.report-studio-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.studio-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(214, 174, 75, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.studio-tabs span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.studio-tabs span:first-child {
  background: rgba(214, 174, 75, 0.18);
  color: var(--ink);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 22px;
  margin-top: 0;
}

.client-form,
.report-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.client-form {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.form-header,
.report-heading,
.section-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.form-header h2,
.report-heading h2,
.section-title h3,
.numbers-breakdown h3 {
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.concern-fieldset,
.number-check-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.number-check-fieldset,
.compatibility-fieldset {
  grid-template-columns: 1fr;
}

.concern-fieldset legend,
.number-check-fieldset legend,
.compatibility-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.number-check-fieldset label,
.compatibility-fieldset label {
  color: var(--ink);
  font-size: 0.86rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 9, 12, 0.72);
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}

input::placeholder {
  color: rgba(248, 239, 214, 0.42);
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 174, 75, 0.16);
}

.primary-button,
.ghost-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  border: 1px solid rgba(214, 174, 75, 0.46);
  background: linear-gradient(135deg, rgba(214, 174, 75, 0.34), rgba(96, 65, 19, 0.72));
  color: var(--ink);
}

.primary-button:hover {
  background: linear-gradient(135deg, rgba(246, 219, 125, 0.42), rgba(96, 65, 19, 0.82));
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 16px;
}

.backend-login-panel {
  border: 1px solid rgba(214, 174, 75, 0.22);
  border-radius: 10px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(214, 174, 75, 0.08), rgba(255, 255, 255, 0.025));
}

.backend-login-panel legend {
  padding: 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.backend-login-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.backend-login-row input {
  min-height: 40px;
  border: 1px solid rgba(214, 174, 75, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.backend-login-row button {
  min-height: 40px;
  border: 1px solid rgba(214, 174, 75, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.backend-login-row button:first-of-type {
  background: linear-gradient(135deg, rgba(214, 174, 75, 0.28), rgba(96, 65, 19, 0.56));
}

.backend-login-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-placeholder-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-placeholder-actions button {
  min-height: 40px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-weight: 800;
}

.form-placeholder-actions button:not(:disabled) {
  cursor: pointer;
  border-style: solid;
  color: var(--ink);
}

.backend-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.backend-status[data-status="success"] {
  color: #70d985;
}

.backend-status[data-status="error"] {
  color: var(--rose);
}

.backend-list[hidden] {
  display: none;
}

.backend-list:empty::before {
  content: "Login to load database records.";
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.backend-list button,
.backend-action-link,
.management-actions button,
.management-form button {
  min-height: 34px;
  border: 1px solid rgba(214, 174, 75, 0.3);
  border-radius: 8px;
  background: rgba(214, 174, 75, 0.12);
  color: var(--ink);
  padding: 0 10px;
  font-weight: 900;
  cursor: pointer;
}

.backend-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.notes-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.notes-list div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(214, 174, 75, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.notes-list b,
.payment-panel b {
  color: var(--ink);
}

.notes-list span,
.notes-list small,
.payment-panel small {
  color: var(--muted);
}

.client-rows.backend-list div {
  align-items: start;
  gap: 4px;
}

.client-rows.backend-list button {
  justify-self: start;
  margin-top: 4px;
}

.lead-row {
  border-color: rgba(214, 174, 75, 0.24) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(214, 174, 75, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035) !important;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.lead-actions button,
.lead-actions .backend-action-link {
  margin-top: 0 !important;
}

.management-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.management-form label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.management-form input,
.management-form select,
.management-form textarea {
  width: 100%;
  min-height: 38px;
  margin-top: 5px;
  border: 1px solid rgba(214, 174, 75, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 8px 10px;
  font-weight: 800;
}

.management-form textarea,
.management-actions,
.management-form > button {
  grid-column: 1 / -1;
}

.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.saved-report-viewer {
  order: 10;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(214, 174, 75, 0.24);
  border-radius: 8px;
  background: rgba(13, 18, 24, 0.82);
  box-shadow: var(--shadow);
}

.saved-report-frame {
  max-height: 640px;
  overflow: auto;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(214, 174, 75, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #071015;
}

.recent-reports-widget li,
.followup-widget li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.recent-reports-widget li small,
.followup-widget li small {
  display: block;
  grid-column: 1 / -1;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.report-panel {
  padding: 24px;
}

.report-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.report-heading .eyebrow {
  color: var(--gold);
}

.report-heading h2 {
  margin-bottom: 2px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.1;
}

#report-meta {
  margin-bottom: 0;
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.metric-card {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.metric-card,
.summary-card,
.phase3-personality-card,
.phase3-career-card,
.phase3-relationship-card,
.phase3-health-card,
.phase3-overall-card,
.consultation-note-card,
.personal-year-card,
.friendly-card,
.number-check-card,
.compatibility-card,
.name-alignment-card,
.direction-card,
.loshu-cell,
.yoga-card,
.missing-impact-card,
.repetitive-impact-card,
.special-diagnostic-card,
.remedy-focus-card,
.remedy-schedule-card,
.client-prescription-card,
.chakra-support-card {
  break-inside: avoid;
  page-break-inside: avoid;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  color: var(--gold-2);
  font-size: 4rem;
  line-height: 1;
}

.metric-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.kua-section,
.summary-section,
.phase3-personality-section,
.phase3-career-section,
.phase3-relationship-section,
.phase3-health-section,
.phase3-overall-section,
.consultation-note-section,
.personal-year-section,
.friendly-section,
.number-check-section,
.compatibility-section,
.name-section,
.name-correction-section,
.loshu-section,
.yoga-section,
.missing-impact-section,
.repetitive-impact-section,
.special-diagnostic-section,
.remedy-focus-section,
.remedy-schedule-section,
.remedies-section,
.element-remedies-section,
.yantra-remedies-section,
.repetitive-remedies-section,
.remedy-checklist-section,
.client-prescription-section,
.chakra-support-section,
.remedy-disclaimer-section,
.numbers-breakdown {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.kua-section h3,
.summary-section h3,
.phase3-personality-section h3,
.phase3-career-section h3,
.phase3-relationship-section h3,
.phase3-health-section h3,
.phase3-overall-section h3,
.consultation-note-section h3,
.personal-year-section h3,
.friendly-section h3,
.number-check-section h3,
.compatibility-section h3,
.name-section h3,
.name-correction-section h3,
.yoga-section h3,
.missing-impact-section h3 {
  margin-bottom: 14px;
}

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

.summary-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: var(--soft-accent);
}

.summary-card h4 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 1rem;
}

.summary-card p,
.planet-summary p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.planet-summary {
  display: grid;
  gap: 10px;
}

.planet-summary b {
  color: var(--accent-dark);
}

.phase3-personality-grid,
.phase3-career-grid,
.phase3-relationship-grid,
.phase3-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.phase3-personality-card,
.phase3-career-card,
.phase3-relationship-card,
.phase3-health-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: #fbfefd;
}

.phase3-personality-wide,
.phase3-career-wide,
.phase3-relationship-wide,
.phase3-health-wide {
  grid-column: 1 / -1;
}

.phase3-personality-card span,
.phase3-career-card span,
.phase3-relationship-card span,
.phase3-health-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.phase3-personality-card h4,
.phase3-career-card h4,
.phase3-relationship-card h4,
.phase3-health-card h4 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 1.06rem;
}

.phase3-personality-card p,
.phase3-career-card p,
.phase3-relationship-card p,
.phase3-health-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.58;
}

.phase3-personality-card p:last-child,
.phase3-career-card p:last-child,
.phase3-relationship-card p:last-child,
.phase3-health-card p:last-child {
  margin-bottom: 0;
}

.phase3-personality-card b,
.phase3-career-card b,
.phase3-relationship-card b,
.phase3-health-card b {
  color: var(--ink);
}

.phase3-overall-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #fbfefd;
}

.phase3-overall-note {
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: #fff;
}

.phase3-overall-wide {
  grid-column: 1 / -1;
}

.phase3-overall-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.phase3-overall-note p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.58;
}

.phase3-overall-note p:last-child {
  margin-bottom: 0;
}

.phase3-overall-note b {
  color: var(--ink);
}

.consultation-note-card {
  padding: 18px;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: 8px;
  background: #fffaf1;
}

.consultation-note-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.62;
}

.consultation-note-card p:last-child {
  margin-bottom: 0;
}

.consultation-note-card b {
  color: var(--ink);
}

.personal-year-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #fbfefd;
}

.personal-year-heading {
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.personal-year-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.personal-year-heading strong {
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
}

.personal-year-heading small {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.personal-year-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.58;
}

.personal-year-body b {
  color: var(--ink);
}

.personal-year-body dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.personal-year-body dl div {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) 1fr;
  gap: 12px;
}

.personal-year-body dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.personal-year-body dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.personal-month-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.personal-month-row b {
  color: var(--accent-dark);
}

.repetitive-impact-section h3,
.special-diagnostic-section h3,
.remedy-focus-section h3,
.remedy-schedule-section h3,
.remedies-section h3,
.element-remedies-section h3,
.yantra-remedies-section h3,
.repetitive-remedies-section h3,
.remedy-checklist-section h3,
.client-prescription-section h3,
.chakra-support-section h3 {
  margin-bottom: 14px;
}

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

.number-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.number-check-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.number-check-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.number-check-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.number-check-heading strong {
  color: var(--accent-dark);
  font-size: 1.05rem;
  text-align: right;
}

.number-check-card dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.number-check-card dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.number-check-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.number-check-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
  word-break: break-word;
}

.number-check-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.number-check-best,
.number-check-good {
  border-color: rgba(15, 118, 110, 0.28);
  background: var(--soft-accent);
}

.number-check-avoid {
  border-color: rgba(168, 70, 85, 0.28);
  background: var(--soft-rose);
}

.number-check-avoid .number-check-heading strong {
  color: var(--rose);
}

.number-check-careful,
.number-check-neutral,
.number-check-empty {
  border-color: rgba(181, 121, 36, 0.28);
  background: var(--soft-gold);
}

.number-check-careful .number-check-heading strong,
.number-check-neutral .number-check-heading strong,
.number-check-empty .number-check-heading strong {
  color: var(--gold);
}

.compatibility-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #fbfefd;
}

.compatibility-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.18);
}

.compatibility-score span {
  color: var(--accent-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

.compatibility-score strong {
  color: var(--accent);
  font-size: 2.7rem;
  line-height: 1;
}

.compatibility-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compatibility-people article {
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: #fff;
}

.compatibility-people span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-weight: 900;
}

.compatibility-people p,
.compatibility-note,
.compatibility-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.compatibility-people b,
.compatibility-detail-list b {
  color: var(--ink);
}

.compatibility-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.compatibility-detail-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 12px;
}

.compatibility-detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.compatibility-detail-list dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.friendly-card {
  padding: 16px;
  border: 1px solid rgba(181, 121, 36, 0.25);
  border-radius: 8px;
  background: var(--soft-gold);
}

.friendly-card-wide {
  grid-column: 1 / -1;
}

.friendly-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(181, 121, 36, 0.22);
}

.friendly-card-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.friendly-card-heading strong {
  color: var(--gold);
  font-size: 1.25rem;
}

.friendly-detail-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.friendly-detail-list div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(90px, 1fr);
  gap: 10px;
}

.friendly-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.friendly-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.lucky-usage-card {
  display: grid;
  gap: 10px;
}

.lucky-usage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lucky-usage-card b {
  color: var(--ink);
}

.name-alignment-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: var(--soft-accent);
}

.name-alignment-heading {
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: center;
}

.name-alignment-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.name-alignment-heading strong {
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
}

.name-alignment-body p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.name-alignment-body p b {
  color: var(--accent-dark);
}

.name-alignment-body dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.name-alignment-body dl div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(80px, 1fr);
  gap: 10px;
}

.name-alignment-body dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.name-alignment-body dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.name-status-not-recommended {
  border-color: rgba(168, 70, 85, 0.28);
  background: var(--soft-rose);
}

.name-status-not-recommended .name-alignment-heading strong,
.name-status-not-recommended .name-alignment-body p b {
  color: var(--rose);
}

.name-correction-card {
  padding: 16px;
  border: 1px solid rgba(181, 121, 36, 0.25);
  border-radius: 8px;
  background: var(--soft-gold);
  break-inside: avoid;
  page-break-inside: avoid;
}

.name-correction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.name-correction-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.name-correction-panel p {
  margin-bottom: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.name-correction-panel p b {
  color: var(--ink);
}

.name-correction-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.name-correction-panel dl div {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(80px, 1fr);
  gap: 10px;
}

.name-correction-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.name-correction-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.name-correction-note {
  padding-top: 8px;
  border-top: 1px solid rgba(181, 121, 36, 0.22);
}

.name-suggestion-panel {
  grid-column: 1 / -1;
}

.name-suggestion-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.name-suggestion-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #fff;
}

.name-suggestion-row strong {
  color: var(--ink);
}

.name-suggestion-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.name-suggestion-row em {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.name-suggestion-best-aligned em {
  color: var(--mulank);
}

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

.kua-guidance {
  max-width: 760px;
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.direction-card {
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.direction-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.direction-card strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 1.5rem;
}

.direction-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.yoga-list {
  display: grid;
  gap: 12px;
}

.yoga-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: var(--soft-accent);
}

.yoga-card-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 9px;
}

.yoga-card-heading span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.yoga-card-heading strong {
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.yoga-card p,
.empty-note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.missing-impact-list {
  display: grid;
  gap: 10px;
}

.missing-impact-card {
  padding: 15px 16px;
  border: 1px solid rgba(168, 70, 85, 0.24);
  border-radius: 8px;
  background: var(--soft-rose);
}

.missing-impact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rose);
}

.missing-impact-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.missing-master-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.missing-master-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.missing-master-card {
  overflow: hidden;
  border: 1px solid rgba(214, 174, 75, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 219, 125, 0.08), rgba(255, 255, 255, 0.02) 42%, transparent),
    rgba(255, 250, 241, 0.96);
  break-inside: avoid;
  page-break-inside: avoid;
}

.missing-master-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(181, 121, 36, 0.22);
  background: rgba(181, 121, 36, 0.08);
}

.missing-master-heading span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.missing-master-heading strong {
  color: var(--accent-dark);
  font-size: 1.45rem;
}

.missing-master-body {
  padding: 14px 16px 16px;
}

.missing-master-body dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.missing-master-body div {
  display: grid;
  gap: 5px;
}

.missing-master-body dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.missing-master-body dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.missing-master-body ul {
  margin: 0;
  padding-left: 18px;
}

.repetitive-impact-list {
  display: grid;
  gap: 10px;
}

.repetitive-impact-card {
  padding: 15px 16px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 8px;
  background: #f8f5ff;
}

.repetitive-impact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mulank);
}

.repetitive-impact-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.special-diagnostic-list {
  display: grid;
  gap: 10px;
}

.special-diagnostic-card {
  padding: 15px 16px;
  border: 1px solid rgba(181, 121, 36, 0.28);
  border-radius: 8px;
  background: var(--soft-gold);
}

.special-diagnostic-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.special-diagnostic-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.remedy-focus-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: var(--soft-accent);
  break-inside: avoid;
  page-break-inside: avoid;
}

.remedy-focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.remedy-focus-card b {
  color: var(--accent-dark);
}

.remedy-schedule-list {
  display: grid;
  gap: 10px;
}

.remedy-schedule-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(181, 121, 36, 0.28);
  border-radius: 8px;
  background: var(--soft-gold);
}

.remedy-schedule-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.remedy-schedule-card strong {
  color: var(--accent-dark);
  font-size: 1.02rem;
}

.remedy-schedule-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.remedies-list {
  display: grid;
  gap: 12px;
}

.remedy-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: var(--soft-accent);
  break-inside: avoid;
  page-break-inside: avoid;
}

.remedy-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.18);
}

.remedy-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.remedy-heading strong {
  color: var(--accent-dark);
  font-size: 1.2rem;
}

.remedy-detail-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.remedy-detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1.3fr);
  gap: 12px;
}

.remedy-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.remedy-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.element-remedies-list {
  display: grid;
  gap: 12px;
}

.element-remedy-card {
  padding: 16px;
  border: 1px solid rgba(181, 121, 36, 0.3);
  border-radius: 8px;
  background: var(--soft-gold);
  break-inside: avoid;
  page-break-inside: avoid;
}

.element-remedy-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(181, 121, 36, 0.24);
}

.element-remedy-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.element-remedy-heading strong {
  color: var(--gold);
  font-size: 1.2rem;
  text-align: right;
}

.element-remedy-detail-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.element-remedy-detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1.3fr);
  gap: 12px;
}

.element-remedy-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.element-remedy-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.yantra-remedies-list {
  display: grid;
  gap: 12px;
}

.yantra-remedy-card {
  padding: 16px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 8px;
  background: #f8f5ff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.yantra-remedy-card.is-optional {
  border-color: rgba(181, 121, 36, 0.28);
  background: var(--soft-gold);
}

.yantra-remedy-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}

.yantra-remedy-card.is-optional .yantra-remedy-heading {
  border-bottom-color: rgba(181, 121, 36, 0.24);
}

.yantra-remedy-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.yantra-remedy-heading strong {
  color: var(--mulank);
  font-size: 1.2rem;
  text-align: right;
}

.yantra-remedy-card.is-optional .yantra-remedy-heading strong {
  color: var(--gold);
}

.yantra-remedy-detail-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.yantra-remedy-detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1.3fr);
  gap: 12px;
}

.yantra-remedy-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.yantra-remedy-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.repetitive-remedies-list {
  display: grid;
  gap: 12px;
}

.repetitive-remedy-card {
  padding: 16px;
  border: 1px solid rgba(168, 70, 85, 0.24);
  border-radius: 8px;
  background: var(--soft-rose);
  break-inside: avoid;
  page-break-inside: avoid;
}

.repetitive-remedy-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(168, 70, 85, 0.2);
}

.repetitive-remedy-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.repetitive-remedy-heading strong {
  color: var(--rose);
  font-size: 1.2rem;
  text-align: right;
}

.repetitive-remedy-card p {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.55;
}

.repetitive-remedy-detail-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.repetitive-remedy-detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1.3fr);
  gap: 12px;
}

.repetitive-remedy-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.repetitive-remedy-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.remedy-checklist-list {
  display: grid;
  gap: 10px;
}

.remedy-checklist-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: var(--soft-accent);
  break-inside: avoid;
  page-break-inside: avoid;
}

.remedy-checklist-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.remedy-checklist-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.remedy-checklist-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
}

.remedy-checklist-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.client-prescription-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #fbfefd;
}

.client-prescription-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.18);
}

.client-prescription-heading strong {
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.client-prescription-heading span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.client-prescription-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.client-prescription-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(220px, 1.45fr);
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.client-prescription-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.client-prescription-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.client-prescription-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.client-prescription-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 118, 110, 0.18);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.chakra-support-list {
  display: grid;
  gap: 12px;
}

.chakra-support-card {
  padding: 16px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 8px;
  background: #f8f5ff;
}

.chakra-support-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.16);
}

.chakra-support-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.chakra-support-heading strong {
  color: var(--mulank);
  font-size: 1.12rem;
  text-align: right;
}

.chakra-support-card > p {
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.chakra-step-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.chakra-step-list div {
  display: grid;
  grid-template-columns: minmax(145px, 0.8fr) 52px minmax(220px, 1.2fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 8px;
  background: #fff;
}

.chakra-step-list strong {
  color: var(--accent-dark);
}

.chakra-step-list span {
  color: var(--gold);
  font-weight: 900;
}

.chakra-step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.chakra-closing,
.chakra-duration {
  font-weight: 700;
}

.remedy-disclaimer-section {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.remedy-disclaimer-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.remedy-disclaimer-section b {
  color: var(--accent-dark);
}

.section-title p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--rose);
  font-weight: 800;
  text-align: right;
}

.grid-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.grid-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.grid-legend i {
  display: inline-block;
  width: 17px;
  height: 17px;
  border-radius: 999px;
}

.legend-date {
  background: var(--accent);
}

.legend-mulank {
  background: var(--mulank);
}

.legend-bhagyank {
  background: var(--bhagyank);
}

.legend-kua {
  border: 2px dotted var(--kua);
  background: #fff;
}

.loshu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.loshu-cell {
  display: grid;
  place-items: center;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.loshu-cell.is-missing {
  background: var(--soft-rose);
  border-color: rgba(168, 70, 85, 0.35);
}

.loshu-number {
  color: var(--accent);
  font-weight: 900;
}

.loshu-number-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 40px;
}

.loshu-date-digits,
.loshu-empty {
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.loshu-overlay {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.loshu-overlay-mulank {
  background: var(--mulank);
}

.loshu-overlay-bhagyank {
  background: var(--bhagyank);
}

.loshu-overlay-kua {
  border: 2px dotted var(--kua);
  background: #fff;
  color: var(--kua);
}

.loshu-label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.digit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.digit-pill {
  min-width: 42px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #e8f3f1;
  color: var(--accent-dark);
  font-weight: 900;
  text-align: center;
}

.report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.report-footer strong {
  display: block;
  color: var(--gold);
}

.report-footer a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.summary-card,
.phase3-personality-card,
.phase3-career-card,
.phase3-relationship-card,
.phase3-health-card,
.phase3-overall-card,
.consultation-note-card,
.personal-year-card,
.friendly-card,
.number-check-card,
.compatibility-card,
.name-alignment-card,
.name-correction-panel,
.direction-card,
.loshu-cell,
.yoga-card,
.missing-impact-card,
.repetitive-impact-card,
.special-diagnostic-card,
.remedy-focus-card,
.remedy-schedule-card,
.remedy-card,
.element-remedy-card,
.yantra-remedy-card,
.repetitive-remedy-card,
.remedy-checklist-card,
.client-prescription-card,
.chakra-support-card,
.remedy-disclaimer-section,
.digit-pill {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel-2);
  color: var(--ink);
}

.summary-card h4,
.friendly-card h4,
.number-check-card h4,
.name-correction-panel h4,
.remedy-card h4,
.element-remedy-card h4,
.yantra-remedy-card h4,
.repetitive-remedy-card h4,
.client-prescription-card h4,
.chakra-support-card h4,
.loshu-label,
.report-footer strong,
.report-footer a {
  color: var(--gold-2);
}

.kua-section h3,
.summary-section h3,
.phase3-personality-section h3,
.phase3-career-section h3,
.phase3-relationship-section h3,
.phase3-health-section h3,
.phase3-overall-section h3,
.consultation-note-section h3,
.personal-year-section h3,
.friendly-section h3,
.number-check-section h3,
.compatibility-section h3,
.name-section h3,
.name-correction-section h3,
.loshu-section h3,
.yoga-section h3,
.missing-impact-section h3,
.repetitive-impact-section h3,
.special-diagnostic-section h3,
.remedy-focus-section h3,
.remedy-schedule-section h3,
.remedies-section h3,
.element-remedies-section h3,
.yantra-remedies-section h3,
.repetitive-remedies-section h3,
.remedy-checklist-section h3,
.client-prescription-section h3,
.chakra-support-section h3,
.numbers-breakdown h3 {
  color: var(--ink);
}

.loshu-date-digits,
.loshu-empty {
  color: var(--gold-2);
}

.loshu-overlay-kua {
  background: rgba(6, 9, 12, 0.72);
}

.grid-legend span {
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.missing-impact-card,
.repetitive-impact-card,
.special-diagnostic-card {
  border-color: rgba(214, 174, 75, 0.32);
}

.missing-summary,
#missing-summary {
  color: var(--rose);
}

@media (max-width: 840px) {
  .practice-shell {
    grid-template-columns: 1fr;
  }

  .practice-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

  .brand-block {
    grid-template-columns: 48px 1fr;
    justify-items: start;
    padding: 0 0 14px;
    text-align: left;
  }

  .brand-seal {
    width: 48px;
    height: 48px;
  }

  .brand-block strong {
    font-size: 1.2rem;
  }

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

  .side-nav a {
    min-height: 40px;
    font-size: 0.86rem;
  }

  .sidebar-note {
    display: none;
  }

  .app-shell {
    width: 100%;
    padding: 18px 12px;
  }

  .practice-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    justify-content: start;
  }

  .top-search {
    width: 100%;
  }

  .profile-chip {
    min-height: 48px;
  }

  .intro-panel {
    align-items: start;
    min-height: 0;
    padding: 24px;
  }

  .intro-panel::after,
  .hero-brand-card {
    display: none;
  }

  .practice-stats,
  .dashboard-overview,
  .insight-dashboard,
  .premium-visuals,
  .consultant-management,
  .future-workspace,
  .dashboard-widgets {
    grid-template-columns: 1fr;
  }

  .chakra-balance-card {
    grid-column: auto;
  }

  .chakra-visual {
    grid-template-columns: 1fr;
  }

  .chakra-silhouette {
    min-height: 245px;
  }

  .chakra-report-visual .chakra-silhouette {
    min-height: 255px;
  }

  .chakra-visual ul {
    max-width: 360px;
    width: 100%;
    margin-inline: auto;
  }

  .pdf-ready-layout ol,
  .missing-master-list {
    grid-template-columns: 1fr;
  }

  .report-studio {
    padding: 14px;
  }

  .report-studio-heading {
    align-items: start;
    flex-direction: column;
  }

  .studio-tabs {
    width: 100%;
  }

  .studio-tabs span {
    flex: 1;
    justify-content: center;
  }

  .report-preview-widget {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .report-preview-widget img {
    align-self: start;
  }

  .workspace,
  .result-grid,
  .summary-grid,
  .phase3-personality-grid,
  .phase3-career-grid,
  .phase3-relationship-grid,
  .phase3-health-grid,
  .phase3-overall-card,
  .consultation-note-card,
  .personal-year-card,
  .number-check-grid,
  .compatibility-people,
  .name-correction-grid,
  .friendly-grid,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .friendly-detail-list div {
    grid-template-columns: 1fr;
  }

  .friendly-detail-list dd,
  .number-check-card dd {
    text-align: left;
  }

  .name-alignment-card,
  .personal-year-card,
  .personal-year-body dl div,
  .name-alignment-body dl div,
  .number-check-card dl div,
  .compatibility-detail-list div,
  .name-correction-panel dl div,
  .name-suggestion-row,
  .remedy-detail-list div,
  .element-remedy-detail-list div,
  .yantra-remedy-detail-list div,
  .repetitive-remedy-detail-list div,
  .client-prescription-list div,
  .chakra-step-list div,
  .backend-login-row,
  .management-form,
  .recent-reports-widget li,
  .followup-widget li {
    grid-template-columns: 1fr;
  }

  .name-alignment-body dd,
  .personal-year-body dd,
  .compatibility-detail-list dd,
  .name-correction-panel dd,
  .remedy-detail-list dd,
  .element-remedy-detail-list dd,
  .yantra-remedy-detail-list dd,
  .repetitive-remedy-detail-list dd,
  .client-prescription-list dd {
    text-align: left;
  }

  .form-header,
  .report-heading,
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .section-title p {
    text-align: left;
  }

  .loshu-grid {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
  }

  .loshu-cell {
    min-height: 78px;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  html,
  body {
    background: #fff;
    font-size: 11px;
  }

  .intro-panel,
  .auth-screen,
  .practice-sidebar,
  .practice-topbar,
  .practice-stats,
  .dashboard-overview,
  .insight-dashboard,
  .premium-visuals,
  .dashboard-widgets,
  .consultant-management,
  .future-workspace,
  .pdf-ready-layout,
  .report-studio-heading,
  .client-form,
  .form-placeholder-actions,
  .ghost-button {
    display: none;
  }

  .practice-shell {
    display: block;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .report-studio {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .workspace {
    display: block;
  }

  .report-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .report-heading {
    padding-bottom: 12px;
  }

  .report-heading h2 {
    font-size: 1.55rem;
  }

  .result-grid {
    gap: 8px;
    margin-top: 12px;
  }

  .metric-card {
    min-height: 118px;
    padding: 12px;
  }

  .metric-card strong {
    margin: 4px 0;
    font-size: 2.8rem;
  }

  .kua-section,
  .summary-section,
  .phase3-personality-section,
  .phase3-career-section,
  .phase3-relationship-section,
  .phase3-health-section,
  .phase3-overall-section,
  .consultation-note-section,
  .personal-year-section,
  .friendly-section,
  .number-check-section,
  .compatibility-section,
  .name-section,
  .loshu-section,
  .yoga-section,
  .missing-impact-section,
  .repetitive-impact-section,
  .special-diagnostic-section,
  .remedy-focus-section,
  .remedy-schedule-section,
  .remedies-section,
  .element-remedies-section,
  .yantra-remedies-section,
  .repetitive-remedies-section,
  .remedy-checklist-section,
  .client-prescription-section,
  .chakra-support-section,
  .remedy-disclaimer-section,
  .numbers-breakdown {
    margin-top: 14px;
    padding-top: 12px;
  }

  .kua-section h3,
  .summary-section h3,
  .phase3-personality-section h3,
  .phase3-career-section h3,
  .phase3-relationship-section h3,
  .phase3-health-section h3,
  .phase3-overall-section h3,
  .consultation-note-section h3,
  .personal-year-section h3,
  .friendly-section h3,
  .number-check-section h3,
  .compatibility-section h3,
  .name-section h3,
  .yoga-section h3,
  .missing-impact-section h3,
  .missing-master-section h3,
  .repetitive-impact-section h3,
  .special-diagnostic-section h3,
  .remedy-focus-section h3,
  .remedy-schedule-section h3,
  .remedies-section h3,
  .element-remedies-section h3,
  .yantra-remedies-section h3,
  .repetitive-remedies-section h3,
  .remedy-checklist-section h3,
  .client-prescription-section h3,
  .chakra-support-section h3,
  .numbers-breakdown h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
  }

  .summary-card,
  .phase3-personality-card,
  .phase3-career-card,
  .phase3-relationship-card,
  .phase3-health-card,
  .phase3-overall-card,
  .consultation-note-card,
  .personal-year-card,
  .friendly-card,
  .number-check-card,
  .compatibility-card,
  .name-alignment-card,
  .name-correction-card,
  .direction-card,
  .yoga-card,
  .missing-impact-card,
  .missing-master-card,
  .repetitive-impact-card,
  .special-diagnostic-card,
  .remedy-focus-card,
  .remedy-schedule-card,
  .remedy-card,
  .element-remedy-card,
  .yantra-remedy-card,
  .repetitive-remedy-card,
  .remedy-checklist-card,
  .client-prescription-card,
  .chakra-support-card,
  .remedy-disclaimer-section {
    padding: 10px;
  }

  .name-alignment-heading strong {
    font-size: 2.8rem;
  }

  .personal-year-heading strong {
    font-size: 2.8rem;
  }

  .direction-card {
    min-height: 96px;
  }

  .loshu-grid {
    gap: 8px;
    margin-top: 10px;
  }

  .loshu-cell {
    min-height: 76px;
  }

  .loshu-date-digits,
  .loshu-empty {
    font-size: 1.55rem;
  }

  .loshu-overlay {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .grid-legend {
    gap: 7px;
    margin-top: 8px;
  }

  .grid-legend span {
    min-height: 24px;
    padding: 4px 8px;
  }

  .digit-pill {
    min-width: 32px;
    padding: 6px 8px;
  }

  .report-footer {
    margin-top: 16px;
    padding-top: 10px;
    font-size: 0.78rem;
  }

  .loshu-overlay {
    background-clip: padding-box;
  }

  .loshu-overlay-mulank {
    border: 2px solid var(--mulank);
    background: var(--mulank) !important;
    color: #fff !important;
  }

  .loshu-overlay-bhagyank {
    border: 2px solid var(--bhagyank);
    background: var(--bhagyank) !important;
    color: #fff !important;
  }

  .loshu-overlay-kua {
    border: 2px dotted var(--kua) !important;
    background: #fff !important;
    color: var(--kua) !important;
  }

  .legend-mulank {
    border: 2px solid var(--mulank);
    background: var(--mulank) !important;
  }

  .legend-bhagyank {
    border: 2px solid var(--bhagyank);
    background: var(--bhagyank) !important;
  }

  .legend-kua {
    border: 2px dotted var(--kua) !important;
    background: #fff !important;
  }

  body.print-prescription-only .result-grid,
  body.print-prescription-only .kua-section,
  body.print-prescription-only .summary-section,
  body.print-prescription-only .phase3-personality-section,
  body.print-prescription-only .phase3-career-section,
  body.print-prescription-only .phase3-relationship-section,
  body.print-prescription-only .phase3-health-section,
  body.print-prescription-only .phase3-overall-section,
  body.print-prescription-only .consultation-note-section,
  body.print-prescription-only .personal-year-section,
  body.print-prescription-only .friendly-section,
  body.print-prescription-only .number-check-section,
  body.print-prescription-only .compatibility-section,
  body.print-prescription-only .name-section,
  body.print-prescription-only .name-correction-section,
  body.print-prescription-only .loshu-section,
  body.print-prescription-only .yoga-section,
  body.print-prescription-only .missing-impact-section,
  body.print-prescription-only .missing-master-section,
  body.print-prescription-only .repetitive-impact-section,
  body.print-prescription-only .special-diagnostic-section,
  body.print-prescription-only .remedy-focus-section,
  body.print-prescription-only .remedy-schedule-section,
  body.print-prescription-only .remedies-section,
  body.print-prescription-only .element-remedies-section,
  body.print-prescription-only .yantra-remedies-section,
  body.print-prescription-only .repetitive-remedies-section,
  body.print-prescription-only .remedy-checklist-section,
  body.print-prescription-only .chakra-support-section,
  body.print-prescription-only .numbers-breakdown {
    display: none !important;
  }

  body.print-prescription-only .client-prescription-section {
    display: block !important;
    margin-top: 16px;
    padding-top: 14px;
  }

  body.print-prescription-only .remedy-disclaimer-section {
    display: block !important;
    margin-top: 12px;
    padding: 10px;
  }

  body.print-prescription-only .client-prescription-card {
    padding: 16px;
  }
}
