.sb-pandit-intro {
  text-align: center;
}

.sb-pandit-greeting {
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}
.sb-pandit-setup {
  position: fixed;
  inset: 0;
  z-index: 1750;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sb-pandit-setup[hidden] {
  display: none;
}

.sb-pandit-setup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(48, 29, 18, 0.58);
  backdrop-filter: blur(3px);
}

.sb-pandit-setup-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 13px 18px max(20px, env(safe-area-inset-bottom));
  border: 1px solid #e5c79e;
  border-radius: 25px 25px 0 0;
  background: #fffaf2;
  box-shadow: 0 -18px 45px rgba(51, 27, 13, 0.25);
}

.sb-pandit-setup-panel h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 21px;
}

.sb-pandit-setup-panel > p {
  margin: 5px 0 15px;
  color: #876a56;
  font-size: 10px;
  line-height: 1.55;
}

.sb-pandit-setup-panel label {
  display: block;
  margin-top: 10px;
  color: #80563b;
  font-size: 9px;
  font-weight: 800;
}

.sb-pandit-setup-panel input {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid #dfc7a8;
  border-radius: 11px;
  background: #fff;
  color: #4f301e;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.sb-pandit-setup-panel input[type="hidden"] {
  display: none;
}

.sb-pandit-setup-panel input:focus {
  border-color: #b96b36;
  box-shadow: 0 0 0 3px rgba(185, 107, 54, 0.1);
}

.sb-pandit-location-search {
  position: relative;
  display: block;
}

.sb-pandit-location-search > i {
  position: absolute;
  top: 20px;
  left: 12px;
  z-index: 1;
  color: #a36b45;
}

.sb-pandit-location-search > input[type="search"] {
  padding-left: 34px;
}

.sb-pandit-location-search [role="listbox"] {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: calc(100% + 5px);
  left: 0;
  max-height: 190px;
  overflow-y: auto;
  border: 1px solid #dfc7a8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(62, 34, 17, 0.14);
}

.sb-pandit-location-search [role="listbox"][hidden] {
  display: none;
}

.sb-pandit-location-search [role="option"] {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #f1e6d9;
  background: #fff;
  color: #583723;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.sb-pandit-location-search [role="option"]:last-child {
  border-bottom: 0;
}

.sb-pandit-setup-error {
  margin: 8px 0 0;
  color: #aa3f31;
  font-size: 9px;
}

.sb-pandit-setup-panel > button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: #a95025;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sb-pandit-sheet {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sb-pandit-sheet[hidden] {
  display: none;
}

.sb-pandit-sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(48, 29, 18, 0.58);
  backdrop-filter: blur(3px);
}

.sb-pandit-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: 92dvh;
  padding: 10px 12px max(14px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid #e5c79e;
  border-radius: 22px 22px 0 0;
  background: #fffaf2;
  box-shadow: 0 -18px 45px rgba(51, 27, 13, 0.25);
  scrollbar-width: none;
}

.sb-pandit-sheet-panel::-webkit-scrollbar { display: none; }

.sb-pandit-sheet-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 4;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3e6d7;
  color: #76513c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sb-pandit-user-line {
  width: fit-content;
  max-width: 88%;
  margin: 37px 38px 7px auto;
  padding: 8px 11px;
  border-radius: 13px 13px 4px 13px;
  background: #ad5127;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
}

.sb-pandit-thinking {
  display: flex;
  width: fit-content;
  padding: 11px 13px;
  align-items: center;
  gap: 4px;
  border: 1px solid #ead6bb;
  border-radius: 4px 15px 15px 15px;
  background: #fff;
  color: #7d604d;
  font-size: 10px;
}

.sb-pandit-thinking[hidden] {
  display: none;
}

.sb-pandit-thinking i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b36b39;
  animation: sbPanditDot 1s infinite ease-in-out;
}

.sb-pandit-thinking i:nth-of-type(2) {
  animation-delay: 0.15s;
}
.sb-pandit-thinking i:nth-of-type(3) {
  animation-delay: 0.3s;
}

.sb-pandit-answer {
  margin-top: 5px;
  animation: sbPanditAnswerIn 0.35s ease both;
}

.sb-pandit-answer[hidden] {
  display: none;
}

/* Compact in-sheet Panchang presentation. The standalone Panchang page keeps
   its roomier layout; only the answer popup receives this hierarchy. */
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero {
  padding: 14px;
  border-color: rgba(181, 107, 47, 0.22);
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(91, 63, 35, 0.07);
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-top > span {
  padding: 5px 8px;
  font-size: 9px;
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero h1 {
  margin-top: 9px;
  font-size: 22px;
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero > p { font-size: 10px; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-grid {
  gap: 7px;
  margin-top: 11px;
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-grid > div {
  padding: 9px;
  border-radius: 12px;
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-grid small { font-size: 8px; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-grid strong { font-size: 14px; line-height: 1.25; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-hero-grid span { font-size: 8px; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-section {
  margin-top: 9px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(74, 48, 24, 0.045);
}
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-section-head { padding: 10px 11px 7px; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-section-head .sb-pan-icon { width: 29px; height: 29px; border-radius: 9px; font-size: 14px; }
.sb-pandit-answer .sb-pandit-result--panchang .sb-pan-section-head h2 { font-size: 13px; }

.sb-pandit-result {
	padding: 15px;
  border: 1px solid #ead4b4;
  border-radius: 18px;
  background: #fff;
	box-shadow: 0 7px 18px rgba(74, 40, 20, 0.06);
	font-family: "Noto Sans Devanagari", Arial, sans-serif;
}

.sb-pandit-result button,
.sb-pandit-result input,
.sb-pandit-result select { font-family: inherit; }

.sb-pan-module {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sb-pan-module .sb-pan-hero,
.sb-pan-module .sb-pan-section {
  margin-right: 0;
  margin-left: 0;
}

.sb-pandit-result-lead {
  margin: 0 0 13px;
  color: #654531;
  font-size: 12px;
  line-height: 1.75;
}

.sb-pandit-energy {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 15px;
  background: #fff5e6;
}

.sb-pandit-score,
.sb-pandit-small-score {
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 57%, transparent 59%),
    conic-gradient(#c96c2d calc(var(--score) * 1%), #eadfce 0);
}

.sb-pandit-score {
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 1;
}

.sb-pandit-score strong {
  font-size: 23px;
  line-height: 1;
}
.sb-pandit-score small,
.sb-pandit-small-score small {
  font-size: 8px;
}
.sb-pandit-energy > div:last-child > small {
  color: #a97754;
  font-size: 9px;
}
.sb-pandit-energy > div:last-child > strong {
  display: block;
  margin-top: 2px;
  color: #874621;
  font-size: 17px;
}
.sb-pandit-energy p {
  margin: 3px 0 0;
  color: #9a775e;
  font-size: 9px;
}

.sb-pandit-energy--compact {
  margin-bottom: 15px;
}

.sb-pandit-score-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.sb-pandit-score-list > div {
  --score-tone: #238249;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #76513b;
  font-size: 9px;
}

.sb-pandit-score-list i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee0ce;
}

.sb-pandit-score-list b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--score-tone);
}

.sb-pandit-score-row--medium,
.sb-pandit-guidance--medium {
  --score-tone: #bd741f;
}

.sb-pandit-score-row--low,
.sb-pandit-guidance--low {
  --score-tone: #bd453b;
}

.sb-pandit-subtitle {
  margin: 17px 0 8px;
  color: #63371f;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 13px;
}

.sb-pandit-subtitle--center {
  margin-bottom: 7px;
  text-align: center;
}

.sb-pandit-mini-grid,
.sb-pandit-sun-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.sb-pandit-mini-grid--three {
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
}

.sb-pandit-lucky-color {
  background: #fffaf3 !important;
}

.sb-pandit-lucky-color i {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--lucky-color);
  box-shadow: 0 0 0 1px #d9c6ae;
}

.sb-pandit-lucky-number {
  background: #f7ecdc !important;
}

.sb-pandit-section {
  padding: 17px 0;
  border-top: 1px solid #ead8c1;
}

.sb-pandit-section:first-of-type {
  margin-top: 4px;
}

.sb-pandit-section .sb-pandit-subtitle {
  margin-top: 0;
}

.sb-pandit-guidance-list > section {
  padding: 13px 0;
  border-bottom: 1px solid #eee1d1;
}

.sb-pandit-guidance-list > section:last-child {
  border-bottom: 0;
}

.sb-pandit-guidance-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sb-pandit-guidance-list h4 {
  margin: 0;
  color: #56321f;
  font-size: 13px;
}

.sb-pandit-guidance-list header strong {
  color: var(--score-tone, #20834a);
  font-size: 17px;
}

.sb-pandit-guidance-list header strong small {
  font-size: 8px;
}

.sb-pandit-guidance-list p {
  margin: 7px 0 0;
  color: #745746;
  font-size: 10px;
  line-height: 1.65;
}

.sb-pandit-mini-grid > div,
.sb-pandit-sun-row > div {
  padding: 11px;
  border: 1px solid #eee0cd;
  border-radius: 13px;
  background: #fffaf3;
  text-align: center;
}

.sb-pandit-mini-grid small,
.sb-pandit-mini-grid strong,
.sb-pandit-sun-row small,
.sb-pandit-sun-row strong {
  display: block;
}
.sb-pandit-mini-grid small,
.sb-pandit-sun-row small {
  color: #9b7860;
  font-size: 9px;
}
.sb-pandit-mini-grid strong,
.sb-pandit-sun-row strong {
  margin-top: 3px;
  font-size: 14px;
}

.sb-pandit-mini-grid--three {
  gap: 0;
  overflow: hidden;
  border: 1px solid #ead5b8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf2, #fbf1e3);
  box-shadow: 0 7px 18px rgba(84, 48, 24, 0.05);
}

.sb-pandit-mini-grid--three > div {
  min-width: 0;
  min-height: 82px;
  padding: 13px 8px;
  border: 0;
  border-left: 1px solid #eadbc7;
  border-radius: 0;
  background: transparent !important;
}

.sb-pandit-mini-grid--three > div:first-child {
  border-left: 0;
}

.sb-pandit-mini-grid--three small {
  color: #9a7256;
}

.sb-pandit-mini-grid--three strong {
  color: #50301e;
}

.sb-pandit-mini-grid--three > div:last-child strong {
  font-size: 12px;
  white-space: nowrap;
}

/* Daily guidance: three distinct signals, with the actual lucky colour rendered safely. */
.sb-pandit-mini-grid--three {
  gap: 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sb-pandit-mini-grid--three > div {
  min-height: 70px;
  padding: 14px 8px;
  border: 1px solid #ead5b8;
  border-radius: 15px;
}

.sb-pandit-mini-grid--three > div:first-child {
  border-left: 1px solid #ead5b8;
}

.sb-pandit-mini-grid--three .sb-pandit-lucky-color {
  background: var(--lucky-color) !important;
}

.sb-pandit-lucky-color.is-dark small,
.sb-pandit-lucky-color.is-dark strong {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.sb-pandit-mini-grid--three .sb-pandit-lucky-number {
  background: #f8dda5 !important;
}

.sb-pandit-mini-grid--three .sb-pandit-lucky-time {
  background: #f7e8d2 !important;
}

.sb-pandit-mini-grid--three small {
  font-size: 10px;
}

.sb-pandit-mini-grid--three strong {
  margin-top: 5px;
  font-size: 17px;
}

.sb-pandit-mini-grid--three > div:last-child strong {
  font-size: 12px;
}

.sb-pandit-result-lead {
  font-size: 13px;
  line-height: 1.8;
}

.sb-pandit-subtitle {
  font-size: 15px;
}

.sb-pandit-score-list > div {
  font-size: 10px;
}

.sb-pandit-score-list > .sb-pandit-score-row--medium {
  --score-tone: #bd741f;
}

.sb-pandit-score-list > .sb-pandit-score-row--low {
  --score-tone: #bd453b;
}

.sb-pandit-guidance-list h4 {
  font-size: 15px;
}

.sb-pandit-guidance-list header strong {
  font-size: 19px;
}

.sb-pandit-guidance-list header strong small {
  color: inherit;
  font-size: 9px;
}

.sb-pandit-guidance-list p {
  font-size: 12px;
  line-height: 1.7;
}

.sb-pandit-factors span {
  font-size: 9px;
}

.sb-pandit-keywords,
.sb-pandit-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.sb-pandit-keywords {
  justify-content: center;
}

.sb-pandit-keywords span,
.sb-pandit-factors span {
  padding: 5px 7px;
  border-radius: 999px;
  background: #f6e6cf;
  color: #855739;
  font-size: 8px;
}

.sb-pandit-dimensions,
.sb-pandit-time-stack {
  display: grid;
  gap: 9px;
}

.sb-pandit-dimension {
  --dimension: #b26c2e;
  padding: 12px;
  border: 1px solid #e3cdb2;
  border: 1px solid color-mix(in srgb, var(--dimension), white 62%);
  border-radius: 14px;
  background: #fff8ef;
  background: color-mix(in srgb, var(--dimension), white 92%);
}

.sb-pandit-dimension--good {
  --dimension: #27864b;
}
.sb-pandit-dimension--medium {
  --dimension: #bb751f;
}
.sb-pandit-dimension--low {
  --dimension: #bd453b;
}
.sb-pandit-dimension header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sb-pandit-dimension h3 {
  margin: 0;
  font-size: 14px;
}
.sb-pandit-dimension > b {
  display: block;
  margin-top: 4px;
  color: var(--dimension);
  font-size: 10px;
}
.sb-pandit-dimension > p {
  margin: 7px 0 0;
  color: #735747;
  font-size: 10px;
  line-height: 1.65;
}

.sb-pandit-small-score {
  width: 50px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #fff 0 57%, transparent 59%),
    conic-gradient(var(--dimension) calc(var(--score) * 1%), #e2e5dd 0);
}

.sb-pandit-small-score strong {
  color: var(--dimension);
  font-size: 15px;
  line-height: 1;
}

.sb-pandit-time {
  padding: 13px;
  border: 1px solid #ead7bd;
  border-radius: 14px;
  background: #fffaf3;
}

.sb-pandit-time--current {
  border-color: #b5dcbc;
  background: #f1faf2;
}
.sb-pandit-time--good {
  border-color: #e8cf99;
  background: #fff8e8;
}
.sb-pandit-time--caution {
  border-color: #e9c6bf;
  background: #fff4f1;
}
.sb-pandit-time small {
  color: #9d765b;
  font-size: 8px;
  font-weight: 800;
}
.sb-pandit-time h3 {
  margin: 3px 0 1px;
  font-size: 16px;
}
.sb-pandit-time strong {
  color: #8b4d29;
  font-size: 12px;
}
.sb-pandit-time p {
  margin: 5px 0 0;
  color: #785b48;
  font-size: 9px;
  line-height: 1.55;
}

.sb-pandit-sun-row {
  margin: 0 0 9px;
}
.sb-pandit-sun-row span {
  font-size: 19px;
}
.sb-pandit-panchang-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.sb-pandit-panchang-list > div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #efe2d1;
  border-radius: 12px;
  background: #fffaf5;
}
.sb-pandit-panchang-list small,
.sb-pandit-panchang-list strong,
.sb-pandit-panchang-list span {
  display: block;
}
.sb-pandit-panchang-list small {
  color: #9d7c67;
  font-size: 8px;
}
.sb-pandit-panchang-list strong {
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.sb-pandit-panchang-list span {
  margin-top: 2px;
  color: #a17f69;
  font-size: 7px;
}

.sb-pandit-full-link {
  display: flex;
  margin-top: 11px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  background: #9f4e28;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
}

.sb-pandit-error {
  margin: 13px 0 0;
  padding: 11px;
  border-radius: 12px;
  background: #fff0ed;
  color: #a33f31;
  font-size: 11px;
}

.sb-pandit-sheet-panel > footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.sb-pandit-sheet-panel > footer[hidden] {
  display: none;
}
.sb-pandit-sheet-panel > footer button {
  min-height: 41px;
  padding: 8px;
  border: 1px solid #dfc5a5;
  border-radius: 11px;
  background: #fff;
  color: #7a472b;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.sb-pandit-sheet-panel > footer button:first-child {
  border-color: #b76032;
  background: #ad5127;
  color: #fff;
}
.sb-pandit-sheet-open {
  overflow: hidden;
}

@keyframes sbPanditDot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes sbPanditAnswerIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sbPanditContextPulse {
  50% {
    box-shadow: 0 0 0 4px rgba(198, 92, 60, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-pandit-thinking i,
  .sb-pandit-answer,
  .sb-pandit-context.is-required {
    animation: none;
  }
}

.sb-astro-page {
  padding-bottom: 30px;
}

.sb-astro-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.sb-astro-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff8ec 0%, #fdecd6 100%);
  box-shadow:
    0 0 0 1px rgba(216, 141, 49, 0.15),
    0 4px 12px rgba(95, 48, 20, 0.07);
  text-decoration: none;
}

.sb-astro-service-icon {
  font-size: 28px;
}

.sb-astro-service-title {
  font-family: Georgia, "Times New Roman", "Noto Serif Devanagari", serif;
  font-size: 15px;
  font-weight: 700;
  color: #8a3c1d;
}

.sb-astro-service-desc {
  font-size: 12px;
  color: #a9846c;
  line-height: 1.4;
}

.sb-astro-service-header {
  text-align: center;
  margin-bottom: 18px;
}

.sb-astro-service-header .sb-astro-service-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 6px;
}

.sb-astro-kundli-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-astro-kundli-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8ed;
  border: 1px solid rgba(216, 141, 49, 0.3);
  text-align: left;
  text-decoration: none;
}

.sb-astro-kundli-name {
  font-weight: 700;
  color: #3a1e0c;
  font-size: 14px;
}

.sb-astro-kundli-meta {
  font-size: 12px;
  color: #a9846c;
}

.sb-astro-result-card {
  margin-bottom: 16px;
}

.sb-astro-result-rows {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-astro-result-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ed;
  font-size: 13px;
}

.sb-astro-result-label {
  color: #a9846c;
}

.sb-astro-result-value {
  font-weight: 700;
  color: #3a1e0c;
  text-align: right;
}

.sb-astro-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.sb-astro-change-kundli {
  display: inline-block;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: #d78d31;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.sb-astro-add-kundli summary {
  cursor: pointer;
  list-style: none;
}

.sb-astro-add-kundli summary::-webkit-details-marker {
  display: none;
}

.sb-astro-kundli-form {
  margin-top: 16px;
  text-align: left;
}

.sb-astro-form-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #8a3c1d;
}

.sb-astro-place-wrap {
  position: relative;
}

.sb-astro-country-check {
  display: block;
  margin: -2px 0 12px;
  font-size: 12px;
  color: #a9846c;
}

.sb-astro-form-error {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #b23b2e;
  text-align: center;
}

.sb-astro-popup-card {
  max-height: 88vh;
  overflow-y: auto;
}

.sb-astro-popup-card .sb-astro-kundli-form {
  margin-top: 16px;
}

.sb-astro-popup-card .sb-astro-kundli-list {
  margin-top: 16px;
}

.sb-astro-advanced {
  margin-top: 14px;
  text-align: left;
}

.sb-astro-advanced summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #d78d31;
  text-align: center;
  list-style: none;
}

.sb-astro-advanced summary::-webkit-details-marker {
  display: none;
}

.sb-astro-advanced .sb-astro-result-rows {
  margin-top: 10px;
}

.sb-astro-chat-page {
  position: relative;
  overflow: hidden;
}

.sb-astro-chat-page::before {
  position: absolute;
  top: -90px;
  right: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(142, 87, 181, 0.13),
    transparent 68%
  );
  content: "";
  pointer-events: none;
}
.sb-astro-chat-intro {
  position: relative;
  padding: 14px 4px 24px;
}
.sb-astro-chat-intro a {
  color: #a56435;
  font-size: 13px;
}
.sb-astro-chat-intro h1 {
  font-size: 27px;
  margin: 20px 0 10px;
  line-height: 1.4;
}
.sb-astro-chat-intro p {
  max-width: 350px;
  margin: 0 0 7px;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}
.sb-astro-chat-intro small,
.sb-astro-chat-note {
  font-size: 11px;
  line-height: 1.7;
  color: #93715b;
}
.sb-astro-onboarding,
.sb-astro-profile {
  position: relative;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #e8cfad;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(91, 50, 24, 0.09);
}

.sb-astro-form-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7e2bd, #ead7f5);
  color: #7b4c93;
  font-size: 19px;
}

.sb-astro-onboarding h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 24px;
  line-height: 1.35;
}
.sb-astro-onboarding h2,
.sb-astro-conversation h2 {
  margin: 0 0 12px;
  font-size: 19px;
}
.sb-astro-onboarding p,
.sb-astro-profile p {
  font-size: 13px;
  line-height: 1.8;
}
.sb-astro-chat-page input:not([type="checkbox"]),
.sb-astro-chat-page select,
.sb-astro-composer textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #dfc5a5;
  border-radius: 13px;
  background: #fffdf9;
  color: #513320;
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sb-astro-chat-page input:not([type="checkbox"]):focus,
.sb-astro-chat-page select:focus,
.sb-astro-composer textarea:focus {
  border-color: #aa6337;
  box-shadow: 0 0 0 4px rgba(170, 99, 55, 0.11);
}
.sb-astro-chat-page label {
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}
.sb-astro-birth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sb-astro-profile-actions {
  display: flex;
  gap: 18px;
  font-size: 12px;
}
.sb-astro-profile-actions a {
  color: #a45b22;
}
.sb-astro-primary {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #9b4f26, #bb6b35);
  box-shadow: 0 9px 20px rgba(146, 80, 39, 0.2);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sb-astro-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
}

.sb-astro-profile span,
.sb-astro-profile small,
.sb-astro-profile strong {
  grid-column: 1;
}

.sb-astro-profile span {
  color: #a16b48;
  font-size: 9px;
  font-weight: 700;
}

.sb-astro-profile strong {
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 19px;
}

.sb-astro-profile small {
  color: #8f725f;
  font-size: 10px;
}

.sb-astro-profile > a {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f7ead9;
  color: #8b4d2b;
  font-size: 10px;
  text-decoration: none;
}
.sb-astro-primary:disabled {
  opacity: 0.45;
  cursor: default;
}
.sb-astro-consent {
  font-size: 11px !important;
  line-height: 1.6;
}
.sb-astro-insights {
  display: grid;
  gap: 8px;
  margin: 12px 0 20px;
}
.sb-astro-insights details {
  padding: 12px;
  border: 1px solid #eedbbf;
  border-radius: 12px;
  background: #fff6e7;
}
.sb-astro-insights summary {
  font-weight: 700;
  cursor: pointer;
}
.sb-astro-insights p {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.sb-astro-data-status {
  font-size: 11px;
  line-height: 1.7;
}
.sb-astro-conversation {
  border: 1px solid #e7d1b5;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}
.sb-astro-conversation header > span {
  font-size: 12px;
  color: #a25d29;
}
.sb-astro-suggestions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 0;
}
.sb-astro-suggestions button {
  flex-shrink: 0;
  max-width: 240px;
  border: 1px solid #ecd2ad;
  border-radius: 18px;
  background: #fff6e5;
  padding: 8px 12px;
  font-size: 11px;
  color: #795034;
}
.sb-astro-messages {
  height: 48dvh;
  min-height: 260px;
  overflow-y: auto;
  padding: 12px 0;
  overscroll-behavior: contain;
}
.sb-astro-bubble {
  width: fit-content;
  max-width: 93%;
  padding: 11px 13px;
  margin: 0 0 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sb-astro-bubble--user {
  margin-left: auto;
  background: #f4dbb4;
}
.sb-astro-bubble--assistant {
  background: #f6f3ed;
}
.sb-astro-composer {
  display: flex;
  gap: 8px;
  align-items: end;
  border-top: 1px solid #eee1cf;
  padding-top: 12px;
}
.sb-astro-composer textarea {
  resize: vertical;
  font-size: 14px;
}
.sb-astro-paywall,
.sb-astro-alert,
[data-astro-chat-error] {
  padding: 12px;
  background: #fff0d7;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}
.sb-astro-chat-page [hidden] {
  display: none !important;
}

.sb-panchang-page {
  max-width: 440px;
  margin: auto;
  padding: 22px 16px 120px;
  background: #fffaf2;
  color: #613a25;
}
.sb-panchang-intro h1 {
  margin: 22px 0 8px;
  font-size: 28px;
  color: #7d3f21;
}
.sb-panchang-intro p {
  font-size: 14px;
  line-height: 1.8;
  color: #94715b;
}
.sb-panchang-picker {
  padding: 17px;
  border: 1px solid #ecd2ad;
  border-radius: 18px;
  background: #fff;
}
.sb-panchang-picker label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}
.sb-panchang-picker input {
  width: 100%;
  padding: 11px;
  border: 1px solid #dfc4a0;
  border-radius: 10px;
  font-size: 14px;
}
.sb-panchang-picker button {
  width: 100%;
  margin-top: 12px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: #985126;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.sb-panchang-picker p {
  margin: 9px 0 0;
  font-size: 12px;
  color: #a34927;
}
.sb-panchang-result-head {
  margin: 22px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ecd4b7;
}
.sb-panchang-result-head h2 {
  margin: 0 0 5px;
  font-size: 21px;
}
.sb-panchang-result-head p {
  margin: 0;
  font-size: 12px;
  color: #96725a;
}
.sb-panchang-card {
  margin: 10px 0;
  padding: 14px;
  border: 1px solid #ecd8bf;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(110, 69, 35, 0.05);
}
.sb-panchang-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #8b471f;
}
.sb-panchang-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #f0dfca;
  font-size: 12px;
}
.sb-panchang-fact:last-child {
  border-bottom: 0;
}
.sb-panchang-fact strong {
  text-align: right;
  font-weight: 600;
}
.sb-panchang-sub {
  margin-top: 8px;
  font-size: 12px;
}
.sb-panchang-sub > b {
  display: block;
  margin-bottom: 3px;
  color: #9b6a4b;
}
.sb-panchang-page [hidden] {
  display: none !important;
}

.sb-profile-truecaller-login,
.sb-astro-secondary-login {
  background: #188038 !important;
  color: #fff !important;
}
.sb-astro-secondary-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  text-decoration: none;
}

/* Astro dashboard hierarchy: profile identity → quick facts → insights → chat. */
.sb-astro-profile-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -2px 14px;
  padding: 12px 10px;
  border-bottom: 1px solid #ead9c5;
}
.sb-astro-profile-hero > a:first-child {
  font-size: 28px;
  line-height: 1;
  color: #7b4a2e;
  text-decoration: none;
}
.sb-astro-profile-hero > div {
  flex: 1;
  min-width: 0;
}
.sb-astro-profile-hero small {
  color: #a07b62;
  font-size: 11px;
}
.sb-astro-profile-hero h2 {
  margin: 2px 0 2px;
  font-size: 21px;
  color: #53301e;
}
.sb-astro-profile-hero p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #98755e;
  font-size: 11px;
}
.sb-astro-wallet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #dfc39e;
  border-radius: 12px;
  color: #8d4c27;
  text-decoration: none;
  font-size: 22px;
  background: #fff6e6;
}
.sb-astro-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}
.sb-astro-quick-fact {
  min-height: 58px;
  padding: 9px 8px;
  border: 1px solid #eadbc8;
  border-radius: 12px;
  background: #fff;
}
.sb-astro-quick-fact small {
  display: block;
  color: #a07b62;
  font-size: 10px;
}
.sb-astro-quick-fact strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5e3925;
  font-size: 13px;
}
.sb-astro-insight-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f7e5d1;
  color: #5d3824;
}
.sb-astro-insight-banner small {
  font-size: 10px;
  color: #ad633d;
}
.sb-astro-insight-banner strong {
  font-size: 14px;
  line-height: 1.5;
}
.sb-astro-insights {
  margin: 0 0 18px;
}
.sb-astro-insight-card {
  border-radius: 13px !important;
  background: #fff !important;
}
.sb-astro-insight-card summary {
  padding: 2px 0;
  color: #643a22;
}
.sb-astro-conversation {
  box-shadow: 0 5px 18px rgba(99, 58, 27, 0.06);
}
@media (max-width: 360px) {
  .sb-astro-quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Horoscope result: compact type scale (overrides custom.css bloat) ───── */

/* Base font */
.sb-pandit-result { font-size: 13px; }

/* Hero */
.sb-pandit-result .sb-pan-hero h1,
.sb-pandit-result--horoscope .sb-pan-hero h1 { font-size: 20px; letter-spacing: 0; }
.sb-pandit-result--horoscope .sb-pan-hero > p { font-size: 12px; line-height: 1.65; margin-top: 5px; }

/* Section header: icon + h2 + badge */
.sb-pandit-result--horoscope .sb-pan-section-head { padding: 11px 14px 8px; gap: 9px; }
.sb-pandit-result--horoscope .sb-pan-icon { width: 30px; height: 30px; font-size: 14px; border-radius: 10px; }
.sb-pandit-result--horoscope .sb-pan-section-head h2 { font-size: 13px; }
.sb-pandit-result--horoscope .sb-pan-section-head > b { font-size: 10px; padding: 4px 9px; }

/* Lucky signs grid */
.sb-pandit-result--horoscope .sb-horoscope-popup__lucky { padding: 0 14px 13px; gap: 8px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__lucky > div { padding: 10px 7px; border-radius: 12px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__lucky small { font-size: 9px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__lucky strong { font-size: 12px; margin-top: 4px; }

/* Keywords chips */
.sb-pandit-result--horoscope .sb-horoscope-popup__keywords { padding: 0 14px 12px; gap: 6px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__keywords span { padding: 5px 10px; font-size: 11px; }

/* Score cards */
.sb-pandit-result--horoscope .sb-horoscope-popup__scores { padding: 0 14px 13px; gap: 8px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__scores > div { padding: 10px 10px 11px 13px; border-radius: 12px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__scores span { font-size: 11px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__scores strong { font-size: 18px; margin: 3px 0 6px; }
.sb-pandit-result--horoscope .sb-horoscope-popup__scores i { height: 5px; }

/* Guidance rows */
.sb-pandit-result--horoscope .sb-pan-rows { padding: 0 14px 12px; }
.sb-pandit-result--horoscope .sb-pan-row { padding: 11px 2px 11px 12px; gap: 10px; }
.sb-pandit-result--horoscope .sb-pan-row > div small { font-size: 12px; }
.sb-pandit-result--horoscope .sb-pan-row > div strong { font-size: 11px; margin-top: 4px; line-height: 1.6; }
.sb-pandit-result--horoscope .sb-pan-row > aside b { font-size: 11px; padding: 4px 8px; }

/* ── Pandit page visual fixes ────────────────────────────────────────────── */

/* 1. Icon containers: give each tone a coloured rounded-square background */
.sb-pandit-question .action-row-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 9px;
  border-radius: 13px;
  background: #f5e6d0;
  color: #9b4f26;
}

.sb-pandit-question--sun .action-row-icon {
  background: #fff3cc;
  color: #9a7000;
}

.sb-pandit-question--time .action-row-icon {
  background: #fdebd8;
  color: #a04020;
}

.sb-pandit-question--panchang .action-row-icon {
  background: #e5ede5;
  color: #2e6e2e;
}

.sb-pandit-question--kundli .action-row-icon {
  background: #eee6f8;
  color: #6040a0;
}

.sb-pandit-question--moon .action-row-icon {
  background: #e6ecf8;
  color: #3a4f9a;
}

/* Featured card: semi-transparent white icon bubble */
.action-row--featured.sb-pandit-question .action-row-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 2. Cards: break out of the merged action-list into individual lifted cards */
.sb-pandit-question-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.sb-pandit-question {
  border-bottom: 0 !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(80, 40, 10, 0.07);
  padding: 16px;
}

.sb-pandit-question:last-child {
  border-bottom: 0 !important;
}

/* Alternating highlight on active (non-disabled) cards: 2nd, 4th, ... */
.sb-pandit-question--highlight {
  background: #fdf4e6;
}

/* Featured card keeps its own bg */
.action-row--featured.sb-pandit-question {
  background: #a95025;
  box-shadow: 0 6px 18px rgba(120, 50, 15, 0.22);
}

/* 3. Profile bar: make the placeholder dashes look intentional */
.sb-pandit-intro .profile-label {
  padding: 7px 14px;
  border: 1px solid #e2cdb0;
  border-radius: 999px;
  background: #fff8ef;
  color: #7a4e2e;
  font-size: 12px;
  min-height: 0;
}

/* Reuse the standalone Rashifal score-card composition inside the popup. */
.sb-pandit-answer .sb-rashifal-score-copy{padding:14px;border:1px solid #ead8bd;border-radius:18px;background:#fffaf2;box-shadow:0 5px 16px rgba(74,48,24,.05)}
.sb-pandit-answer .sb-rashifal-score-copy>.title{margin:0 0 12px;color:#4a2c1d;font-size:17px}
.sb-pandit-answer .sb-rashifal-score-copy .score-main{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.sb-pandit-answer .sb-rashifal-score-copy .score-ring{display:flex;position:relative;flex:0 0 78px;width:78px;height:78px;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;background:conic-gradient(#c87536 calc(var(--score)*1%),#eddfce 0);color:#754321}
.sb-pandit-answer .sb-rashifal-score-copy .score-ring::after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fffaf2}.sb-pandit-answer .sb-rashifal-score-copy .score-ring>*{position:relative;z-index:1}.sb-pandit-answer .sb-rashifal-score-copy .score-ring strong{font-size:25px;line-height:1}.sb-pandit-answer .sb-rashifal-score-copy .score-ring small{font-size:9px}
.sb-pandit-answer .sb-rashifal-score-copy .score-ring.sb-energy-ring--good{background:conic-gradient(#5ca66d calc(var(--score)*1%),#e2eee4 0);color:#3f7950}.sb-pandit-answer .sb-rashifal-score-copy .score-ring.sb-energy-ring--low{background:conic-gradient(#c86558 calc(var(--score)*1%),#f2e1de 0);color:#9f4a40}
.sb-pandit-answer .sb-rashifal-score-copy .score-main>div:last-child{min-width:0}.sb-pandit-answer .sb-rashifal-score-copy .score-main>div:last-child>strong{display:block;color:#704528;font-size:16px}.sb-pandit-answer .sb-rashifal-score-copy .score-main p{margin:4px 0 0;color:#806f61;font-size:10px;line-height:1.5}
.sb-pandit-answer .sb-rashifal-score-copy .score-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.sb-pandit-answer .sb-rashifal-score-copy .score-list>div{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;min-height:78px;padding:11px;border:1px solid #ead8bd;border-radius:13px;background:#fffdf9;align-items:center}.sb-pandit-answer .sb-rashifal-score-copy .score-list span{grid-column:1/-1;color:#704528;font-size:11px;font-weight:700}.sb-pandit-answer .sb-rashifal-score-copy .score-list i{display:block;height:5px;overflow:hidden;border-radius:999px;background:#eee2d3}.sb-pandit-answer .sb-rashifal-score-copy .score-list i b{display:block;height:100%;border-radius:inherit;background:#cf913a}.sb-pandit-answer .sb-rashifal-score-copy .score-list strong{grid-column:2;grid-row:2;color:#704528;font-size:21px;line-height:1}.sb-pandit-answer .sb-rashifal-score-copy .score-list strong small{font-size:8px}.sb-pandit-answer .sb-rashifal-score-copy .score-list i{grid-column:1;grid-row:2;align-self:center;margin-right:8px}.sb-pandit-answer .sb-rashifal-score-copy .score-list>div.sb-energy-score--good i b{background:#5ca66d}.sb-pandit-answer .sb-rashifal-score-copy .score-list>div.sb-energy-score--good strong{color:#3f7950}.sb-pandit-answer .sb-rashifal-score-copy .score-list>div.sb-energy-score--low i b{background:#c86558}.sb-pandit-answer .sb-rashifal-score-copy .score-list>div.sb-energy-score--low strong{color:#9f4a40}

.sb-pandit-answer .sb-horoscope-energy-main{display:flex;align-items:center;gap:15px;padding:6px 14px 13px}
.sb-pandit-answer .sb-horoscope-energy-main>div:last-child{min-width:0}
.sb-pandit-answer .sb-horoscope-energy-main>div:last-child>strong{display:block;color:#704528;font-size:15px}
.sb-pandit-answer .sb-horoscope-energy-main p{margin:4px 0 0;color:#806f61;font-size:10px;line-height:1.5}
.sb-pandit-answer .sb-horoscope-energy-ring{display:flex;position:relative;flex:0 0 78px;width:78px;height:78px;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;background:conic-gradient(#c47a3b calc(var(--score)*1%),#eee2d3 0);color:#704528}
.sb-pandit-answer .sb-horoscope-energy-ring::after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fffaf2}
.sb-pandit-answer .sb-horoscope-energy-ring strong,.sb-pandit-answer .sb-horoscope-energy-ring small{position:relative;z-index:1}.sb-pandit-answer .sb-horoscope-energy-ring strong{font-size:25px;line-height:1}.sb-pandit-answer .sb-horoscope-energy-ring small{font-size:9px}
.sb-pandit-answer .sb-horoscope-energy-ring--good{background:conic-gradient(#5ca66d calc(var(--score)*1%),#e2eee4 0);color:#3f7950}.sb-pandit-answer .sb-horoscope-energy-ring--bad{background:conic-gradient(#c86558 calc(var(--score)*1%),#f2e1de 0);color:#9f4a40}
.sb-pandit-answer .sb-horoscope-popup__scores--rows{display:grid;grid-template-columns:1fr;padding:0 14px 13px;gap:0}
.sb-pandit-answer .sb-horoscope-popup__scores--rows>div{display:grid;grid-template-columns:72px 1fr 40px;min-height:0;padding:8px 0;align-items:center;gap:8px;border:0;border-top:1px solid #f0e4d7;border-radius:0;background:transparent}
.sb-pandit-answer .sb-horoscope-popup__scores--rows>div:before{display:none}.sb-pandit-answer .sb-horoscope-popup__scores--rows span{font-size:11px;color:#704528!important}.sb-pandit-answer .sb-horoscope-popup__scores--rows strong{margin:0;font-size:14px;text-align:right;color:#704528!important}.sb-pandit-answer .sb-horoscope-popup__scores--rows i{grid-column:2;grid-row:1;height:6px}.sb-pandit-answer .sb-horoscope-popup__scores--rows strong+i{grid-column:2;grid-row:1;margin-top:17px}.sb-pandit-answer .sb-horoscope-popup__scores--rows b{background:#c47a3b!important}.sb-pandit-answer .sb-horoscope-popup__scores--rows>div.sb-energy-score--good b{background:#5ca66d!important}.sb-pandit-answer .sb-horoscope-popup__scores--rows>div.sb-energy-score--bad b{background:#c86558!important}

/* Horoscope popup: one calm devotional palette instead of four competing
   accent systems. */
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero,
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section{border-color:#ead8bd;background:#fffaf2;box-shadow:0 5px 16px rgba(74,48,24,.05)}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero{background:linear-gradient(145deg,#f8ead7,#fffaf3);}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero-top>span{border-color:#ead8bd;background:#f7ecdd;color:#8b4d27}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero-top>span i{background:#b86b32}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero h1,.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head h2{color:#4a2c1d}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero>p{color:#806f61}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head .sb-pan-icon{background:#f5e5cf;color:#8b4d27;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head>b{border-color:#e3c79f;background:#f8ead6;color:#8b4d27;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky>div{border-color:#ead8bd;background:#fffdf9;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky small{color:#9a806c}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky strong{color:#633b23!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky>div:first-child strong:before{background:#b7bec7;box-shadow:0 0 0 2px #fff,0 1px 3px rgba(0,0,0,.15)}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__keywords span{border-color:#ead8bd!important;background:#f8ead7!important;color:#765039!important;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores>div{border-color:#ead8bd;background:#fffdf9;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores>div:before{background:#b86b32!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores span,.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores strong{color:#704528!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores i{background:#efe3d3}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores b{background:#c47a3b!important;box-shadow:none}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--good:before{background:#4d9561!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--good strong,.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--good span{color:#3f7950!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--good b{background:#5ca66d!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--neutral:before{background:#c18432!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--neutral strong,.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--neutral span{color:#94601f!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--neutral b{background:#cf913a!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--bad:before{background:#bf5a4e!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--bad strong,.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--bad span{color:#9f4a40!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-score--bad b{background:#c86558!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-badge--good{border-color:#b9d8be!important;background:#e8f3e9!important;color:#3f7950!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-badge--neutral{border-color:#ead0a1!important;background:#fbf0dd!important;color:#94601f!important}.sb-pandit-answer .sb-pandit-result--horoscope .sb-energy-badge--bad{border-color:#e5bcb7!important;background:#fae8e6!important;color:#9f4a40!important}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>div small{color:#704528}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>div strong{color:#806f61}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>aside b{border:1px solid #e3c79f;background:#f8ead6;color:#8b4d27!important}

/* Compact, equal-card शुभ/सावधानी popup treatment. */
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-hero{padding:15px 16px;border-radius:18px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-hero h1{margin:9px 0 4px;font-size:22px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-hero>p{margin-top:5px;font-size:12px;line-height:1.6}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-section{margin-top:9px;border-radius:16px;box-shadow:0 5px 16px rgba(74,48,24,.06)}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-current{margin:0;padding:12px 13px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-current strong{font-size:19px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-current p{font-size:12px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-rahu{margin:0;padding:12px 13px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-rahu strong{font-size:14px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-rahu small{font-size:10px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-rahu>b{padding:6px 9px;font-size:11px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-tabs{gap:6px;padding:8px 10px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-tabs button{padding:8px 5px;border-radius:10px;font-size:10px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-periods{padding:0 10px 7px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-period{grid-template-columns:23px 1fr auto;gap:7px;padding:8px 1px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-period>b{width:22px;height:22px;font-size:9px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-period>div strong{font-size:12px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-period>div small{font-size:9px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-period>span{padding:4px 7px;font-size:8px}
.sb-pandit-answer .sb-pandit-result--shubh-samay .sb-pan-chaugh-legend{padding:8px 10px 9px;gap:6px;font-size:8px}

/* Compact, equal-card daily guidance inside the answer sheet. */
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero{padding:15px 16px;border-radius:18px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero h1{margin:9px 0 4px;font-size:22px;letter-spacing:0}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero>p{margin-top:5px;font-size:12px;line-height:1.6}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero>.sb-horoscope-popup__lucky{margin-top:12px;padding:0;gap:6px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero>.sb-horoscope-popup__lucky>div{min-height:64px;padding:8px 4px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-hero .sb-horoscope-direct-text{margin:0;color:#6f6054;font-size:13px;line-height:1.72}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section{margin-top:9px;border-radius:16px;box-shadow:0 5px 16px rgba(74,48,24,.06)}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head{padding:10px 12px 7px;gap:8px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head h2{font-size:14px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-icon{width:31px;height:31px;border-radius:10px;font-size:15px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-section-head>b{padding:4px 8px;font-size:10px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 12px 12px;gap:6px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky>div{display:flex;min-height:70px;padding:8px 4px;flex-direction:column;align-items:center;justify-content:center;border-radius:12px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky small{font-size:9px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__lucky strong{margin-top:4px;font-size:12px;line-height:1.3}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__keywords{padding:0 12px 12px;gap:6px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__keywords span{padding:6px 10px;font-size:10px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores{display:grid;grid-template-columns:1fr 1fr;padding:0 12px 12px;gap:6px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores>div{min-height:84px;padding:10px 10px 10px 13px;border-radius:12px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores span{font-size:10px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores strong{margin:4px 0 7px;font-size:19px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-horoscope-popup__scores i{height:5px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-rows{padding:0 12px 12px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row{gap:9px;padding:11px 2px 11px 10px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>div small{font-size:11px}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>div strong{margin-top:4px;font-size:11px;line-height:1.55}
.sb-pandit-answer .sb-pandit-result--horoscope .sb-pan-row>aside b{padding:4px 7px;font-size:10px}
