/* SMV ASTRO V207 — consolidated visual system.
   Presentation only: no display-state, auth, payment, Firebase, calculation or data-flow logic. */
:root{
  --smv207-red:#dfbd73;
  --smv207-red-strong:#b28a48;
  --smv207-red-soft:#f2d79a;
  --smv207-gold:#e5c37d;
  --smv207-gold-text:#e5c77d;
  --smv207-gold-soft:#ae8b50;
  --smv207-ivory:#fffaf0;
  --smv207-paper:#fff8e7;
  --smv207-surface:#fff8e7;
  --smv207-ink:#30251b;
  --smv207-muted:#6b6257;
  --smv207-line:rgba(110,80,30,.20);
  --smv207-success:#74d7a5;
  --smv207-danger:#ff8994;
  --smv207-info:#a0bce8;
  --smv207-form-surface:#fffaf0;
  --smv207-form-magenta-deep:#8f0043;
  --smv207-form-white:#ffffff;
  --smv207-form-ink:#30251b;
  --smv207-radius-sm:0;
  --smv207-radius:0;
  --smv207-radius-lg:0;
  --smv207-shadow-sm:none;
  --smv207-shadow:none;
  --smv207-content:1180px;
  --smv207-reading:840px;
  --smv207-space-1:4px;
  --smv207-space-2:8px;
  --smv207-space-3:12px;
  --smv207-space-4:16px;
  --smv207-space-5:20px;
  --smv207-space-6:24px;
  --smv207-space-7:32px;
  --smv207-space-8:40px;
  --smv207-body:clamp(15px,.25vw + 14px,16px);
  --smv207-small:clamp(12px,.18vw + 11px,14px);
  --smv207-h1:clamp(30px,3.1vw,46px);
  --smv207-h2:clamp(23px,1.8vw,31px);
  --smv207-h3:clamp(18px,1vw,22px);
  --smv207-h4:clamp(16px,.65vw,19px);
  /* Shared dashboard typography scale: used by Customer, Astrologer and Admin. */
  --smv-dashboard-title:clamp(25px,calc(2vw + 18px),30px);
  --smv-dashboard-section:clamp(20px,calc(1vw + 18px),22px);
  --smv-dashboard-subsection:clamp(17px,calc(.7vw + 15px),18px);
  --smv-dashboard-emphasis:17px;
  --smv-dashboard-body:15px;
  --smv-dashboard-support:14px;
  --smv-dashboard-label:13px;
  --smv-dashboard-meta:12px;
  --smv-dashboard-control:12px;
  --smv-dashboard-metric:clamp(24px,calc(2.2vw + 16px),32px);
  --smv-dashboard-heading-line:1.3;
  --smv-dashboard-emphasis-line:1.5;
  --smv-dashboard-body-line:1.6;
  --smv-dashboard-meta-line:1.5;
}

html{scroll-behavior:smooth;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body.smv-v12-theme,
body.smv-legal-page,
.seo-page{
  color:var(--smv207-ink);
  font-family:Inter,"Noto Sans Tamil","Noto Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:var(--smv207-body);
  line-height:1.6;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
html[lang="ta"] body{
  font-family:"Noto Sans Tamil","Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  line-height:1.78;
  --smv-dashboard-body:16px;
  --smv-dashboard-support:14px;
  --smv-dashboard-meta:13px;
  --smv-dashboard-heading-line:1.42;
  --smv-dashboard-emphasis-line:1.65;
  --smv-dashboard-body-line:1.78;
  --smv-dashboard-meta-line:1.62;
}
body.smv-v12-theme{background:#fff8e7;}

/* Content rhythm — intentionally excludes premium photographic header/hero typography. */
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation,.smv-consult-dedicated-shell) :where(h1,h2,h3,h4),
body.smv-legal-page :where(h1,h2,h3),
.seo-page :where(h1,h2,h3){
  color:var(--smv207-ink);
  font-family:inherit;
  text-wrap:balance;
  overflow-wrap:anywhere;
}
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) h2,
body.smv-legal-page h1,.seo-page h1{font-weight:850;letter-spacing:-.018em}
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) h2{font-size:var(--smv207-h2)!important;line-height:1.22!important;margin-block:0 var(--smv207-space-3)!important}
body.smv-v12-theme :where(#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) h3{font-size:var(--smv207-h3)!important;line-height:1.28!important;font-weight:800!important;margin-block:var(--smv207-space-3) var(--smv207-space-2)!important}
body.smv-v12-theme :where(#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) h4{font-size:var(--smv207-h4)!important;line-height:1.3!important;font-weight:800!important}
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) p{max-width:76ch}
body.smv-v12-theme .small{font-size:var(--smv207-small);line-height:1.5;color:var(--smv207-muted)}

/* Section spacing */
body.smv-v12-theme :where(.feature-section,#askNowSection,#about,#faq,#smv-content-hub,#dashboard,#admin,#register-flow,#astro-register-form,#ask-flow,#contact){scroll-margin-top:88px}
body.smv-v12-theme :where(#askNowSection,#about,#faq,#smv-content-hub){margin-block:clamp(20px,3vw,38px)}
body.smv-v12-theme :where(#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact){max-width:var(--smv207-content);margin-inline:auto;padding-inline:clamp(10px,2.4vw,24px)}

/* Cards / panels */
body.smv-v12-theme :where(.card,.stat,.registration-option,.feature-tile,.admin-content-row,.admin-blog-row,.astro-public-card){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.smv-v12-theme :where(.card,.registration-option,.admin-content-row,.admin-blog-row,.astro-public-card){background:transparent!important}
body.smv-v12-theme :where(.card,.registration-option,.admin-content-row,.admin-blog-row,.astro-public-card) :where(p,li,.small){overflow-wrap:anywhere}
body.smv-v12-theme .card::before{content:none!important;display:none!important}
body.smv-v12-theme .stat{background:transparent!important;padding:18px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.smv-v12-theme .stat b{color:#6b4b1e!important;font-size:var(--smv-dashboard-metric)!important;line-height:1.1!important;letter-spacing:-.03em!important}

/* Forms */
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) label{color:var(--smv207-ink);font-weight:650;line-height:1.4}
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea){
  width:100%;
  max-width:100%;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px;border:1px solid rgba(223,189,115,.32)!important;border-radius:0!important;background:var(--smv207-form-surface)!important;color:var(--smv207-form-ink)!important;
  font:inherit;
  line-height:1.35;box-shadow:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
-webkit-text-fill-color:var(--smv207-form-ink)!important;caret-color:var(--smv207-form-ink)!important;}
body.smv-v12-theme :where(#smv-public-page,#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact,#private-consultation) textarea{min-height:92px;resize:vertical}
body.smv-v12-theme :where(input,select,textarea)::placeholder{color:#6b6257!important;opacity:1;-webkit-text-fill-color:#6b6257!important;}
body.smv-v12-theme :where(input,select,textarea):focus-visible{
  outline:0!important;
  border-color:var(--smv207-red)!important;
  box-shadow:0 0 0 3px rgba(139,23,23,.13)!important;
}
body.smv-v12-theme :where(input,select,textarea):disabled{background:var(--smv207-form-surface)!important;color:#6b6257!important;cursor:not-allowed;-webkit-text-fill-color:#6b6257!important;border-color:rgba(223,189,115,.18)!important;}
body.smv-v12-theme .grid{gap:clamp(10px,1.35vw,16px)!important}

/* Registration, login and question forms — use the existing Cosmic Violet theme. */
body.smv-v12-theme #modal.auth-modal-active .modalbox,
body.smv-v12-theme #modal.auth-modal-active .auth-shell,
body.smv-v12-theme #astro-register-form > .card,
body.smv-v12-theme #smvPublicQuestionWindow,
body.smv-v12-theme #smvPublicQuestionWindow #ask-flow > .card,
body.smv-v12-theme #privateConsultationQuestionCard{
  background:var(--smv207-form-surface)!important;
  color:var(--smv207-form-ink)!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
  border:0!important;
  box-shadow:none!important;
}
body.smv-v12-theme #modal.auth-modal-active .auth-shell :where(h2,h3,p,label,.small,.auth-note,.auth-divider),
body.smv-v12-theme #astro-register-form > .card :where(h2,h3,p,label,.small),
body.smv-v12-theme #smvPublicQuestionWindow #ask-flow :where(h2,h3,p,label,.small),
body.smv-v12-theme #privateConsultationQuestionCard :where(h3,p,label,.small,.success,.error){
  color:var(--smv207-form-ink)!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
}
body.smv-v12-theme #modal.auth-modal-active .auth-field,
body.smv-v12-theme #astro-register-form #astroRegistrationForm :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
body.smv-v12-theme #smvPublicQuestionWindow #ask-flow :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
body.smv-v12-theme #privateConsultationQuestionCard :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  background:var(--smv207-form-surface)!important;
  color:var(--smv207-form-ink)!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
  caret-color:var(--smv207-form-ink)!important;
  border:1px solid rgba(223,189,115,.55)!important;
}
body.smv-v12-theme #modal.auth-modal-active :where(input,select,textarea)::placeholder,
body.smv-v12-theme #astro-register-form :where(input,select,textarea)::placeholder,
body.smv-v12-theme #smvPublicQuestionWindow :where(input,select,textarea)::placeholder,
body.smv-v12-theme #privateConsultationQuestionCard :where(input,select,textarea)::placeholder{
  color:#6b6257!important;
  -webkit-text-fill-color:#6b6257!important;
  opacity:1!important;
}
/* Chromium autofill paints a pale field unless its inset fill and text are set explicitly. */
body.smv-v12-theme #modal.auth-modal-active input:-webkit-autofill,
body.smv-v12-theme #modal.auth-modal-active input:-webkit-autofill:hover,
body.smv-v12-theme #modal.auth-modal-active input:-webkit-autofill:focus,
body.smv-v12-theme #astro-register-form input:-webkit-autofill,
body.smv-v12-theme #astro-register-form input:-webkit-autofill:hover,
body.smv-v12-theme #astro-register-form input:-webkit-autofill:focus,
body.smv-v12-theme #smvPublicQuestionWindow input:-webkit-autofill,
body.smv-v12-theme #smvPublicQuestionWindow input:-webkit-autofill:hover,
body.smv-v12-theme #smvPublicQuestionWindow input:-webkit-autofill:focus,
body.smv-v12-theme #privateConsultationQuestionCard input:-webkit-autofill,
body.smv-v12-theme #privateConsultationQuestionCard input:-webkit-autofill:hover,
body.smv-v12-theme #privateConsultationQuestionCard input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px var(--smv207-form-surface) inset!important;
  box-shadow:0 0 0 1000px var(--smv207-form-surface) inset!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
  caret-color:var(--smv207-form-ink)!important;
}
/* Keep the Astrologer and Ask Now back-navigation controls visible on the theme surface. */
body.smv-v12-theme #astro-register-form #astroRegBackBtn,
body.smv-v12-theme #smvPublicQuestionWindow #askNowBackBtn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  margin:0 0 14px!important;
  padding:9px 14px!important;
  background:var(--smv207-form-magenta-deep)!important;
  color:var(--smv207-form-white)!important;
  -webkit-text-fill-color:var(--smv207-form-white)!important;
  border:0!important;
  box-shadow:none!important;
}
body.smv-v12-theme #modal.auth-modal-active .auth-shell .btn:not(.auth-google),
body.smv-v12-theme #astro-register-form #astroRegistrationForm :where(button[type="submit"],.btn),
body.smv-v12-theme #smvPublicQuestionWindow #ask-flow :where(button[type="submit"],.btn),
body.smv-v12-theme #privateConsultationQuestionCard :where(button[type="submit"],.btn),
body.smv-v12-theme #modal.auth-modal-active #googleAuthBtn{
  background:var(--smv207-form-magenta-deep)!important;
  color:var(--smv207-form-white)!important;
  -webkit-text-fill-color:var(--smv207-form-white)!important;
  border:0!important;
  box-shadow:none!important;
}
body.smv-v12-theme #astro-register-form #astroRegistrationForm input[type="file"]{
  color:var(--smv207-form-ink)!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
  max-width:100%!important;
}
html body.smv-v12-theme #modal.auth-modal-active .modalbox > button[aria-label="Close"]{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  font:700 24px/1 Arial,sans-serif!important;
  color:var(--smv207-form-ink)!important;
  -webkit-text-fill-color:var(--smv207-form-ink)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Buttons */
body.smv-v12-theme .btn:not(.smv-modal-action),
.seo-page :where(.seo-action,.related-links a){
  min-height:44px;
  border-radius:var(--smv207-radius-sm)!important;
  font-family:inherit;
  font-weight:800!important;
  letter-spacing:.005em;
  line-height:1.15;
  text-decoration:none;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
body.smv-v12-theme .btn:not(.smv-modal-action){border:1px solid #dfbd73!important;border-radius:0!important;background:#dfbd73!important;color:#10172b!important;-webkit-text-fill-color:#10172b!important;box-shadow:none!important;font-weight:800!important}
body.smv-v12-theme .btn.gray:not(.smv-modal-action){background:transparent!important;color:var(--smv207-ink)!important;border:1px solid rgba(223,189,115,.42)!important;box-shadow:none!important}
body.smv-v12-theme .btn:where(:hover,:focus-visible),.seo-page :where(.seo-action,.related-links a):where(:hover,:focus-visible){filter:brightness(.97);transform:translateY(-1px)}
body.smv-v12-theme .btn:focus-visible,.seo-page a:focus-visible,body.smv-legal-page a:focus-visible{outline:3px solid rgba(184,137,53,.35)!important;outline-offset:2px}
body.smv-v12-theme .btn:disabled{opacity:.58;transform:none!important;box-shadow:none!important;cursor:not-allowed}
body.smv-v12-theme .action-row{gap:var(--smv207-space-2)!important;align-items:center;flex-wrap:wrap}

/* Dashboard — preserve compact information hierarchy while making it consistent. */
#dashboardTitle,.admin-dashboard-title{
  text-align:center!important;color:#6b4b1e!important;letter-spacing:.015em!important;
  font-family:Georgia,"Noto Sans Tamil",serif!important;font-size:var(--smv-dashboard-title)!important;
  line-height:1.25!important;font-weight:750!important;
}
#dashboardContent :where(.card,.stat),#admin :where(.card,.stat,.admin-content-row){min-width:0}

/* Customer Dashboard consultation card: semantic layout independent of generic .grid rules. */
.smv-customer-book-chat-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:14px}
.smv-customer-book-chat-copy{min-width:0}
.smv-customer-book-chat-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media (min-width:900px){
  #dashboardContent .smv-customer-book-chat-layout{grid-template-columns:minmax(0,1fr) auto}
  #dashboardContent #smvCustomerBookChat{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;width:max-content;min-width:0;max-width:230px;height:42px;min-height:42px;padding:9px 14px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.15;white-space:nowrap}
}
#dashboardContent :where(label),#admin :where(label){
  font-size:var(--smv-dashboard-label)!important;font-weight:600!important;line-height:1.4!important;
}
#dashboardContent :where(.small),#admin :where(.small){
  font-size:var(--smv-dashboard-support)!important;font-weight:400!important;
  line-height:var(--smv-dashboard-body-line)!important;
}
#dashboardContent :where(.result,.meta,.timestamp,.status-text){
  font-size:var(--smv-dashboard-meta)!important;font-weight:400!important;
  line-height:var(--smv-dashboard-meta-line)!important;
}
#dashboardContent :where(.smv-customer-question-text,.smv-question-text,.smv-astro-question-text){
  font-size:var(--smv-dashboard-emphasis)!important;font-weight:600!important;line-height:1.5!important;
}
#dashboardContent .smv-customer-answer-text{
  font-size:var(--smv-dashboard-body)!important;font-weight:400!important;
  line-height:var(--smv-dashboard-body-line)!important;
}
#dashboard :where(h2,h3),#admin :where(h2,h3){
  font-size:var(--smv-dashboard-section)!important;line-height:var(--smv-dashboard-heading-line)!important;
}
#dashboard :where(h4),#admin :where(h4){
  font-size:var(--smv-dashboard-subsection)!important;line-height:1.35!important;
}
#dashboardContent :where(.smv-dashboard-metric),#admin :where(.smv-dashboard-metric){
  font-size:var(--smv-dashboard-metric)!important;line-height:1.15!important;font-weight:800!important;
}
#dashboardContent :where(.badge,[class*="status-"]),#admin :where(.badge,[class*="status-"]){border-radius:999px!important;font-weight:800!important;line-height:1.2!important}
#admin > :where(.card,.admin-content-row){margin-block:10px}
#adminSummary{margin-top:16px}
#admin :where(h3){padding-bottom:0;border-bottom:0}
#admin .action-row[style*="space-between"]{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
#astroRegistrationForm :where(input,select,textarea){width:100%;box-sizing:border-box;padding:10px 12px;margin:5px 0;border:1px solid #d8cbb8;border-radius:var(--smv207-radius-sm)}

/* Saved reports remain deliberately compact. */
#smvSavedReports.smv-saved-reports{max-width:980px!important;margin:6px auto 12px!important;padding:4px 8px!important;border:0!important;background:transparent!important;box-shadow:none!important}
#smvSavedReports .smv-saved-group{padding:4px 0!important}
#smvSavedReports .smv-saved-group h3{font-size:.9rem!important;line-height:1.2!important;margin:0 0 3px!important}
#smvSavedReports .smv-saved-row{grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:4px!important;min-height:31px!important;padding:4px 0!important;border-top:1px solid rgba(216,189,120,.32)!important}
#smvSavedReports .smv-saved-row b{font-size:.78rem!important;line-height:1.18!important}
#smvSavedReports .smv-saved-row small{font-size:.62rem!important;line-height:1.15!important}
#smvSavedReports .smv-saved-row button{min-width:42px!important;min-height:28px!important;padding:4px 6px!important;border-radius:6px!important;font-size:.65rem!important}

/* Public content / FAQ */
#smv-content-hub .home-rule,#about .home-rule,#faq .home-rule{margin-bottom:var(--smv207-space-4)}
#smv-content-hub :where(.feature-tile,.card){height:100%}
.faq-list details{border-color:var(--smv207-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border:0!important;}
.faq-list summary{font-weight:750;cursor:pointer;color:#f3d99b}
.faq-list details[open] summary{color:#FF2D93!important;-webkit-text-fill-color:#FF2D93!important;font-weight:900!important}

/* Keep Astrology Insights & Media on the same content width and rhythm as About/FAQ. */
html body.smv-v12-theme #smv-content-hub{
  width:100%!important;
  max-width:1160px!important;
  margin:34px auto!important;
  padding:0 16px!important;
  box-sizing:border-box!important;
  scroll-margin-top:16px!important;
}
html body.smv-v12-theme #smv-content-hub .home-rule{
  display:flex!important;
  margin-bottom:var(--smv207-space-4)!important;
}
html body.smv-v12-theme #smv-content-hub > .feature-shell.card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html body.smv-v12-theme #smv-content-hub .feature-top{
  display:block!important;
  margin:0 0 var(--smv207-space-4)!important;
}
html body.smv-v12-theme #smv-content-hub .feature-top > div:first-child{
  min-width:0!important;
  width:100%!important;
  flex:none!important;
}
html body.smv-v12-theme #smv-content-hub .feature-top h2{
  margin:0 0 var(--smv207-space-3)!important;
  font-family:inherit!important;
  font-size:var(--smv207-h2)!important;
  line-height:1.22!important;
  font-weight:900!important;
  letter-spacing:-.018em!important;
  color:#20170f!important;
  -webkit-text-fill-color:#20170f!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}
html body.smv-v12-theme #smv-content-hub .smv-v173-subregion{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html body.smv-v12-theme #smv-content-hub .smv-v173-subregion + .smv-v173-subregion{
  margin-top:var(--smv207-space-4)!important;
}
html body.smv-v12-theme #smv-content-hub .smv-v173-subhead{
  min-height:30px!important;
  margin:0 0 var(--smv207-space-3)!important;
  padding:2px 0!important;
  font-family:inherit!important;
  font-size:var(--smv207-body)!important;
  line-height:1.6!important;
  font-weight:900!important;
  color:#6b4b1e!important;
  -webkit-text-fill-color:#6b4b1e!important;
  border:0!important;
  border-bottom:1px solid var(--smv207-line)!important;
  border-radius:0!important;
  background:transparent!important;
}
html body.smv-v12-theme #smv-content-hub .smv-v173-sub-collapse{
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  color:#6b4b1e!important;
  -webkit-text-fill-color:#6b4b1e!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body.smv-v12-theme #smv-content-hub .blog-card h3,
html body.smv-v12-theme #smv-content-hub .media-card h3{
  font-family:inherit!important;
  font-size:var(--smv207-h3)!important;
  line-height:1.3!important;
  font-weight:800!important;
}
html body.smv-v12-theme #smv-content-hub :where(.blog-content,.blog-card p,.blog-card li,.media-card p,.media-card li,.media-card .small){
  font-family:inherit!important;
  font-size:var(--smv207-body)!important;
  line-height:1.75!important;
  letter-spacing:normal!important;
  color:var(--smv207-ink)!important;
  -webkit-text-fill-color:var(--smv207-ink)!important;
}
@media(max-width:760px){
  html body.smv-v12-theme #smv-content-hub{
    width:100%!important;
    max-width:1160px!important;
    margin:34px auto!important;
    padding:0 16px!important;
  }
}
@media(max-width:640px){
  html body.smv-v12-theme #smv-content-hub{
    padding-left:4px!important;
    padding-right:4px!important;
  }
}

/* Private consultation — V190 layout migrated out of inline page CSS. */
#privateConsultationQuestionCard{position:relative}
#privateConsultationQuestionClose{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px;color:var(--smv207-red)}
#privateConsultationQuestionCard h3{padding-right:42px}
#sessionNotice{margin:8px 0 14px}

/* Contact page / forms */
#contact{max-width:900px;margin:30px auto;padding:28px clamp(14px,2.4vw,24px)}
#contactForm{display:grid;gap:12px;margin-top:18px}
#questionText{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}

/* Legal pages */
body.smv-legal-page{margin:0;background:radial-gradient(ellipse at 12% 5%,rgba(91,102,171,.20),transparent 34%),linear-gradient(155deg,#070d1e,#101b32 52%,#0a1124);color:#f2eddf}
body.smv-legal-page>header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px clamp(14px,4vw,36px);border-bottom:1px solid rgba(223,189,115,.18);background:rgba(9,16,34,.96);backdrop-filter:none}
body.smv-legal-page>header .brand{color:var(--smv207-red)!important;font-weight:900;text-decoration:none;letter-spacing:.03em}
body.smv-legal-page>header nav{display:flex;gap:8px;flex-wrap:wrap}
body.smv-legal-page>header nav a{color:#f2eddf;text-decoration:none;font-weight:700;padding:7px 9px;border-radius:0}
body.smv-legal-page>main{max-width:var(--smv207-reading);margin:0 auto;padding:clamp(28px,5vw,54px) clamp(16px,4vw,32px)}
body.smv-legal-page h1{font-size:var(--smv207-h1);line-height:1.08;margin:.18em 0 .25em}
body.smv-legal-page h2{font-size:var(--smv207-h3);line-height:1.3;color:var(--smv207-red);margin:1.7em 0 .5em}
body.smv-legal-page p,body.smv-legal-page li{line-height:1.75}
body.smv-legal-page .eyebrow{color:var(--smv207-gold-text);font-weight:850;letter-spacing:.09em;text-transform:uppercase}
body.smv-legal-page .updated{color:var(--smv207-muted)}
body.smv-legal-page .contents{margin:24px 0 30px;padding:16px 18px;border:0;border-radius:0;background:transparent;border-top:1px solid rgba(223,189,115,.22);border-bottom:1px solid rgba(223,189,115,.22);}
body.smv-legal-page .contents ol{columns:2;column-gap:28px;padding-left:22px}
body.smv-legal-page a{color:var(--smv207-red-strong);text-underline-offset:3px}
body.smv-legal-page .contact{margin-top:34px;padding:20px;border:0;border-radius:0;background:transparent;border-top:1px solid rgba(223,189,115,.22);}
body.smv-legal-page>footer{text-align:center;padding:24px 16px;border-top:1px solid rgba(223,189,115,.22);color:#c4ccdc;background:transparent}

/* SEO landing pages */
body.smv-seo-page{margin:0;background:radial-gradient(ellipse at 12% 5%,rgba(91,102,171,.20),transparent 34%),linear-gradient(155deg,#070d1e,#101b32 52%,#0a1124);color:#f2eddf}
.seo-page{max-width:920px!important;padding:clamp(26px,5vw,54px) clamp(16px,4vw,28px)!important;line-height:1.68!important}
.seo-page header{padding:clamp(20px,4vw,34px);border:0;border-radius:0;background:transparent;box-shadow:none}
.seo-page .brand{color:var(--smv207-red)!important;font-weight:900!important;letter-spacing:.09em!important}
.seo-page h1{font-size:var(--smv207-h1)!important;line-height:1.08!important;margin:.3em 0 .4em!important}
.seo-page h2{font-size:var(--smv207-h3)!important;color:var(--smv207-red)!important;margin-bottom:.4em!important}
.seo-page section{padding:0 4px;margin-block:30px!important}
.seo-page :where(.seo-action,.related-links a){display:inline-flex!important;align-items:center;justify-content:center;padding:10px 14px!important;border:1px solid rgba(223,189,115,.40)!important;color:#f2eddf!important;background:transparent!important;border-radius:0!important;}
.seo-page .seo-action:first-child{background:#dfbd73!important;color:#10172b!important;border-color:#dfbd73!important}
.seo-page footer{border-top-color:var(--smv207-line)!important;color:var(--smv207-muted)}
.seo-page a{color:var(--smv207-red-strong)!important}

/* V188 mobile header/footer correction migrated from inline HTML. */
@media(max-width:899px){
  #smvPremiumHeaderV9:where(:not(.hidden)){background-color:transparent!important}
  #smvPremiumHeaderV9 .smv9-menu{background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  #smvPremiumHeaderV9 .smv9-brand,#smvPremiumHeaderV9 .smv9-brand>span,#smvPremiumHeaderV9 .smv9-brand strong,#smvPremiumHeaderV9 .smv9-brand small{text-align:center!important;margin-left:auto!important;margin-right:auto!important}
  #smv24-footer .smv24-brand{width:100%!important;margin-inline:auto!important;align-items:center!important;text-align:center!important}
  #smv24-footer .smv24-brand :where(h2,p,small,em){width:100%!important;text-align:center!important;margin-inline:auto!important}
}

/* V190 private consultation mobile correction migrated from inline HTML. */
@media(max-width:700px){
  .smv-consult-dedicated-shell{width:100vw!important;max-width:none!important;margin:0!important;padding:6px 4px 18px!important;box-sizing:border-box!important}
  #private-consultation{width:100%!important;max-width:none!important;padding-top:2px!important}
  #private-consultation>.wrap{width:100%!important;max-width:none!important;padding-inline:4px!important;margin-inline:0!important;box-sizing:border-box!important}
  #privateConsultationQuestionCard{width:100%!important;max-width:none!important;margin:4px 0!important;padding:10px 12px 12px!important;border-radius:14px!important;box-sizing:border-box!important}
  #privateConsultationQuestionCard h3{margin:0 0 2px!important;padding-right:36px!important;font-size:21px!important;line-height:1.2!important}
  #privateConsultationSelected{margin:0 0 4px!important;line-height:1.3!important}
  #privateConsultationQuestionForm{display:block!important;margin:0!important;padding:0!important}
  #privateConsultationQuestionForm>label{display:block!important;margin:5px 0 0!important;line-height:1.25!important}
  #privateConsultationQuestionForm>label>:where(input,select,textarea){width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:3px 0 0!important;padding:8px 10px!important;min-height:42px!important}
  #privateConsultQuestion{min-height:80px!important;height:80px!important;resize:vertical!important}
  #privateConsultPaymentSummary{margin:5px 0 2px!important}
  
  #privateConsultationQuestionClose{top:5px!important;right:7px!important}
}

@media(max-width:760px){
  :root{--smv207-h2:clamp(21px,5.8vw,26px);--smv207-h3:clamp(17px,4.6vw,21px)}
  body.smv-v12-theme :where(#dashboard,#admin,#register-flow,#astro-register-form,#astro-flow,#ask-flow,#contact){padding-inline:8px}
  body.smv-v12-theme :where(.card,.registration-option,.admin-content-row,.admin-blog-row,.astro-public-card){background:transparent!important}
  body.smv-v12-theme .action-row>.btn{flex:1 1 auto;min-width:min(140px,100%)}
  #smvSavedReports .smv-saved-row{grid-template-columns:minmax(0,1fr) auto auto auto!important}
  body.smv-legal-page>header{position:static;align-items:flex-start;flex-direction:column;background:rgba(9,16,34,.96);border-bottom:1px solid rgba(223,189,115,.18);backdrop-filter:none;}
  body.smv-legal-page .contents ol{columns:1}
  .seo-page .seo-actions{display:grid!important;grid-template-columns:1fr!important}
}

@media(max-width:420px){
  body.smv-v12-theme .btn{min-height:44px}
  #smvSavedReports.smv-saved-reports{padding-inline:2px!important}
  #smvSavedReports .smv-saved-row{gap:3px!important}
  #smvSavedReports .smv-saved-row button{min-width:38px!important;padding-inline:5px!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Registration choices retain semantic distinction inside the unified system. */
body.smv-v12-theme .registration-option.customer-option{background:transparent!important;border-color:transparent!important;border:0!important;box-shadow:none!important;color:var(--smv207-ink)!important;-webkit-text-fill-color:var(--smv207-ink)!important;}
body.smv-v12-theme .registration-option.astrologer-option{background:transparent!important;border-color:transparent!important;border:0!important;box-shadow:none!important;color:var(--smv207-ink)!important;-webkit-text-fill-color:var(--smv207-ink)!important;}

/* Semantic button variants — preserve meaning and the official Google-style control. */
body.smv-v12-theme .btn.alt:not(.smv-modal-action){background:#fffaf0!important;color:var(--smv207-red)!important;border-color:var(--smv207-red)!important;box-shadow:none!important}
body.smv-v12-theme .btn.danger:not(.smv-modal-action),body.smv-v12-theme .smv-dialog-actions .btn.danger:not(.smv-modal-action){background:var(--smv207-danger)!important;color:#fff!important;border-color:#7e1e1e!important}
body.smv-v12-theme .btn.auth-google:not(.smv-modal-action){display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;background:#fffaf0!important;color:#2b241d!important;border:1px solid #cfc4b2!important;box-shadow:0 4px 12px rgba(44,31,20,.08)!important}
body.smv-v12-theme .btn.auth-google:not(.smv-modal-action):hover{background:#faf7f0!important}
body.smv-v12-theme .smv-withdraw-btn.is-green{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important}
body.smv-v12-theme .smv-withdraw-btn.is-red,body.smv-v12-theme .smv-withdraw-btn.is-red:disabled{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;opacity:1!important}

/* Accessible heading level without changing the compact install-card appearance. */
.smv-install-app-copy h2{margin:0 0 4px!important;font-size:18px!important;line-height:1.25!important;color:#6b4b1e!important;-webkit-text-fill-color:#6b4b1e!important;font-weight:800!important;text-transform:uppercase!important}
@media(max-width:760px){.smv-install-app-copy h2{font-size:clamp(12px,4.5vw,16px)!important;white-space:nowrap!important;text-align:center!important;width:calc(100% + 66px)!important;margin-left:-66px!important}}

.smv-install-app-section.smv-apk-release-active .smv-install-app-btn{width:min(100%,280px);min-width:0;margin:0 auto}

/* Remaining structural presentation migrated from inline homepage markup. */
#smv-content-hub .smv-v173-subregion+.smv-v173-subregion,#adminBlogsMedia{margin-top:14px}
#dashboard,#admin{margin-top:45px}
#dashboard>div:first-child,#admin>.card:first-child>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

/* SMV ASTRO dialogs: keep the logo inside the existing small circular badge. */
body.smv-v12-theme .smv-dialog-icon-brand{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.smv-v12-theme .smv-dialog-brand{
  display:block!important;
  width:44px!important;
  height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:50%!important;
  background:#24103f!important;
  box-shadow:none!important;
}
body.smv-v12-theme .smv-dialog-actions .btn.gray{
  background:#fffaf0!important;
  border:1px solid #dfbd73!important;
  color:#701a32!important;
  -webkit-text-fill-color:#701a32!important;
  box-shadow:none!important;
}
body.smv-v12-theme .smv-dialog-actions .btn.danger{
  background:linear-gradient(135deg,#8d2020,#b43d3d)!important;
  border:1px solid #761818!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* Mobile hero kicker: keep the brand line dark on the cream hero surface. */
@media(max-width:899px){
  html body.smv-v12-theme #home .smv33-mobile-head .smv33-kicker{
    color:#20170f!important;
    -webkit-text-fill-color:#20170f!important;
    font-weight:900!important;
    opacity:1!important;
    filter:none!important;
    text-shadow:none!important;
  }
}
