.cp-wrap{max-width:780px;margin:24px auto;padding:24px;border:1px solid #e7dfd2;border-radius:18px;background:#fffaf2;box-shadow:0 8px 28px rgba(52,39,18,.08);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#2f2a22}.cp-header{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.cp-kicker{margin:0 0 6px;font-weight:700;letter-spacing:.04em}.cp-header h2{margin:0 0 8px;font-size:clamp(24px,4vw,34px)}.cp-header p{margin:0;color:#665c4d}.cp-location{white-space:nowrap;padding:7px 10px;border-radius:999px;background:#f0e4d0;font-size:13px;font-weight:700}.cp-form{display:flex;gap:12px;align-items:flex-end;margin:24px 0}.cp-form label{display:grid;gap:6px;font-weight:700;flex:1}.cp-form input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cbbda8;border-radius:10px;background:white;color:#2f2a22}.cp-form button{border:0;border-radius:10px;padding:12px 18px;background:#6d3f13;color:#fff;font-weight:700;cursor:pointer}.cp-form button:hover{filter:brightness(1.08)}.cp-status{min-height:22px;margin:6px 0;font-weight:600}.cp-status.is-error{color:#a12622}.cp-card{overflow:hidden;border:1px solid #e6d8c4;border-radius:14px;background:#fff}.cp-date{padding:14px 16px;background:#f4eadb;font-size:18px;font-weight:800}.cp-row{display:grid;grid-template-columns:minmax(130px,1fr) 1.5fr;gap:14px;padding:12px 16px;border-top:1px solid #eee4d5}.cp-row span{color:#756956}.cp-row strong{text-align:right}.cp-festivals{padding:14px 16px;border-top:1px solid #eee4d5}.cp-festivals h3{margin:0 0 8px;font-size:16px}.cp-festivals ul{margin:0;padding-left:20px}@media(max-width:600px){.cp-wrap{padding:18px}.cp-header{display:block}.cp-location{display:inline-block;margin-top:12px}.cp-form{display:grid}.cp-row{grid-template-columns:1fr}.cp-row strong{text-align:left}}

/* Fullscreen mode.
 * The Panchang becomes a fixed viewport layer, so it works independently
 * of the active WordPress theme's header/footer HTML structure.
 */
html:has(body.cp-panchang-fullscreen-page),
body.cp-panchang-fullscreen-page{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
}

/* Keep common theme chrome hidden as an extra safeguard. */
body.cp-panchang-fullscreen-page header,
body.cp-panchang-fullscreen-page footer,
body.cp-panchang-fullscreen-page nav:not(.cp-wrap nav),
body.cp-panchang-fullscreen-page .site-header,
body.cp-panchang-fullscreen-page #masthead,
body.cp-panchang-fullscreen-page .site-footer,
body.cp-panchang-fullscreen-page #colophon,
body.cp-panchang-fullscreen-page .widget-area,
body.cp-panchang-fullscreen-page #secondary,
body.cp-panchang-fullscreen-page .sidebar,
body.cp-panchang-fullscreen-page .page-header,
body.cp-panchang-fullscreen-page .entry-header,
body.cp-panchang-fullscreen-page .post-navigation,
body.cp-panchang-fullscreen-page .comments-area,
body.cp-panchang-fullscreen-page .footer-widgets{
  display:none!important;
}

/* The fixed layer itself guarantees the theme cannot remain visible. */
.cp-wrap.cp-fullscreen{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:100vh!important;
  margin:0!important;
  padding:clamp(28px,4vw,56px) var(--cp-side-padding,10%)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fffaf2!important;
  overscroll-behavior:contain;
}

/* Keep the inner content comfortably readable on very wide screens. */
.cp-wrap.cp-fullscreen > *{
  width:100%;
  box-sizing:border-box;
}

/* The shortcode side padding is desktop-only.
 * Tablet and mobile ignore --cp-side-padding and use a small responsive gutter.
 */
@media(max-width:1024px){
  .cp-wrap.cp-fullscreen{
    padding:24px 16px!important;
  }
}
@media(max-width:600px){
  .cp-wrap.cp-fullscreen{
    padding:18px 12px!important;
  }
  .cp-header h2{font-size:clamp(22px,7vw,30px)}
  .cp-card{border-radius:10px}
  .cp-row{padding:11px 12px}
}

.cp-note{margin:0;padding:14px 16px;border-top:1px solid #eee4d5;color:#756956;font-size:13px}.cp-result{margin-top:8px}.cp-card{margin-bottom:24px}

.cp-row.cp-row-puja{background:#fff2c7;border-top:2px solid #d6a23a;border-bottom:1px solid #ead39b}.cp-row.cp-row-puja span{color:#5d4300;font-weight:800}.cp-row.cp-row-puja strong{color:#5d4300;font-size:1.08em}

/* Multi-land selector */
.cp-form-multiland .cp-country-field{flex:.65}
.cp-form-multiland .cp-date-field{flex:1}
.cp-form select{width:100%;box-sizing:border-box;padding:11px 38px 11px 12px;border:1px solid #cbbda8;border-radius:10px;background:#fff;color:#2f2a22;font:inherit;min-height:43px}
@media(max-width:760px){.cp-form-multiland{display:grid;grid-template-columns:1fr}.cp-form-multiland button{width:100%}}

/* Compact country/date controls - v2.6.0 */
.cp-form.cp-form-multiland{
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(190px,260px) auto;
  gap:10px;
  align-items:end;
  justify-content:start;
  margin:20px 0 24px;
}
.cp-form.cp-form-multiland label{
  display:grid;
  gap:5px;
  flex:none;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
}
.cp-form.cp-form-multiland select,
.cp-form.cp-form-multiland input[type="date"]{
  height:40px;
  min-height:40px;
  padding:7px 11px;
  border-radius:9px;
  font-size:15px;
  line-height:1.2;
}
.cp-form.cp-form-multiland select{
  padding-right:34px;
}
.cp-form.cp-form-multiland button{
  height:40px;
  min-height:40px;
  padding:0 16px;
  border-radius:9px;
  font-size:14px;
  line-height:40px;
  white-space:nowrap;
}
.cp-form-multiland .cp-country-field,
.cp-form-multiland .cp-date-field{
  width:100%;
}
@media(max-width:760px){
  .cp-form.cp-form-multiland{
    grid-template-columns:1fr 1fr;
  }
  .cp-form.cp-form-multiland button{
    grid-column:1 / -1;
    width:auto;
    justify-self:start;
  }
}
@media(max-width:520px){
  .cp-form.cp-form-multiland{
    grid-template-columns:1fr;
  }
  .cp-form.cp-form-multiland button{
    grid-column:auto;
    width:100%;
  }
}

/* Mobile/tablet fullscreen scrolling fix - v2.8.0
 * Avoid fixed 100vh/100dvh clipping behind browser UI and home indicators.
 */
@media(max-width:1024px){
  html:has(body.cp-panchang-fullscreen-page),
  body.cp-panchang-fullscreen-page{
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
  }
  .cp-wrap.cp-fullscreen{
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:auto;
    touch-action:pan-y;
    padding:24px 16px calc(56px + env(safe-area-inset-bottom, 0px))!important;
  }
  .cp-wrap.cp-fullscreen .cp-card{
    margin-bottom:0!important;
  }
}
@media(max-width:600px){
  .cp-wrap.cp-fullscreen{
    padding:18px 12px calc(64px + env(safe-area-inset-bottom, 0px))!important;
  }
}

/* Puja guidance rows - v3.0.0 */
.cp-row.cp-row-guidance{background:#fbf7ef}.cp-row.cp-row-guidance span{color:#5d4300;font-weight:750}.cp-row.cp-row-guidance strong{color:#3d3020}

/* Deity list: never truncate on tablet/mobile - v3.1.0 */
.cp-row.cp-row-deities{
  overflow:visible!important;
  min-width:0!important;
}
.cp-row.cp-row-deities > span{
  min-width:0!important;
}
.cp-row.cp-row-deities .cp-deity-list{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:6px 8px!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  word-break:normal!important;
}
.cp-row.cp-row-deities .cp-deity-chip{
  display:inline-block!important;
  flex:0 0 auto!important;
  max-width:100%!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  background:#f3eadc!important;
  color:#3d3020!important;
  font-weight:650!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:1024px){
  .cp-row.cp-row-deities .cp-deity-list{
    justify-content:flex-start!important;
    width:100%!important;
  }
}
@media(max-width:600px){
  .cp-row.cp-row-deities{
    display:block!important;
  }
  .cp-row.cp-row-deities > span{
    display:block!important;
    margin-bottom:8px!important;
  }
  .cp-row.cp-row-deities .cp-deity-list{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
  }
}


/* Deities mobile/tablet hard fix - v3.2.0
 * Use a true stacked list below the label on <=1024px. This avoids theme grid,
 * overflow and old nowrap rules from hiding the final deity names.
 */
@media(max-width:1024px){
  .cp-row.cp-row-deities{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding-top:14px!important;
    padding-bottom:14px!important;
  }
  .cp-row.cp-row-deities > span:first-child{
    display:block!important;
    width:100%!important;
    margin:0 0 10px 0!important;
    padding:0!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  .cp-row.cp-row-deities .cp-deity-list{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .cp-row.cp-row-deities .cp-deity-chip{
    display:block!important;
    width:fit-content!important;
    max-width:100%!important;
    margin:0 0 7px 0!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .cp-row.cp-row-deities .cp-deity-chip:last-child{
    margin-bottom:0!important;
  }
}

/* v3.3.0: standalone mobile/tablet deity block. */
.cp-deities-mobile{display:none!important}
@media(max-width:1024px){
  .cp-row-deities{display:none!important}
  .cp-deities-mobile{display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:14px 16px 18px!important;box-sizing:border-box!important;border-top:1px solid #eee4d5!important;background:#fbf7ef!important}
  .cp-deities-mobile-label{display:block!important;margin:0 0 8px!important;font-weight:800!important;color:#5d4300!important}
  .cp-deities-mobile-list{display:block!important;margin:0!important;padding:0!important;list-style:none!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important}
  .cp-deities-mobile-list li{display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 7px!important;padding:6px 10px!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;background:#f3eadc!important;border-radius:8px!important;color:#3d3020!important;font-weight:650!important;line-height:1.4!important}
}

/* Mantra section */
.cp-mantra-section{padding:18px 16px 20px;background:#fffaf0;border-top:2px solid #d5aa35;box-sizing:border-box;overflow:visible}
.cp-mantra-title{font-weight:800;color:#5d4300;font-size:1.05rem;margin:0 0 12px}
.cp-mantra-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cp-mantra-item{background:#f7efe0;border:1px solid #eadbc0;border-radius:10px;padding:11px 12px;min-width:0;overflow:visible}
.cp-mantra-deity{font-weight:800;color:#4a3420;margin-bottom:4px;overflow-wrap:anywhere}
.cp-mantra-text{font-size:.96rem;line-height:1.45;color:#2f2a23;overflow-wrap:anywhere;word-break:normal;white-space:normal}
.cp-mantra-note{margin-top:10px;font-size:.78rem;line-height:1.4;color:#776b5e}
@media (max-width:1024px){
  .cp-mantra-section{width:100%;max-width:100%;height:auto;max-height:none;overflow:visible;padding:16px 14px 22px}
  .cp-mantra-list{display:block;width:100%;height:auto;overflow:visible}
  .cp-mantra-item{display:block;width:100%;max-width:100%;box-sizing:border-box;margin:0 0 9px;height:auto;max-height:none;overflow:visible}
  .cp-mantra-item:last-child{margin-bottom:0}
  .cp-mantra-deity,.cp-mantra-text{display:block;width:100%;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
}

/* Tabs + birth horoscope - v4.0.0 */
.cp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 4px;border-bottom:1px solid #e6d9c5;padding-bottom:8px}
.cp-tab{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:10px;text-decoration:none!important;color:#584633!important;background:#f3eadc;font-weight:700;font-size:14px}
.cp-tab.is-active{background:#81470e;color:#fff!important}
.cp-birth-form{display:grid;grid-template-columns:minmax(160px,200px) minmax(130px,170px) minmax(190px,240px) auto;gap:10px;align-items:end;justify-content:start;margin:20px 0 24px}
.cp-birth-form label{display:grid;gap:5px;font-size:15px;line-height:1.2;font-weight:700;min-width:0}
.cp-birth-form input,.cp-birth-form select{width:100%;box-sizing:border-box;height:40px;min-height:40px;padding:7px 11px;border:1px solid #cbbda8;border-radius:9px;background:#fff;color:#2f2a22;font:inherit;font-size:15px}
.cp-birth-form button{height:40px;min-height:40px;padding:0 16px;border-radius:9px;white-space:nowrap}
.cp-birth-intro{padding:18px;border:1px solid #eadfce;border-radius:12px;background:#fbf7ef;color:#5d5142;line-height:1.5}
.cp-horo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#eadfce;border-bottom:1px solid #eadfce}
.cp-horo-stat{background:#fff;padding:15px 16px;min-width:0}.cp-horo-stat span{display:block;color:#766956;font-size:13px;margin-bottom:5px}.cp-horo-stat strong{display:block;color:#2f2a22;font-size:17px;overflow-wrap:anywhere}
.cp-dasha-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;background:#fffaf2}
.cp-dasha-box{border:1px solid #e2d4bf;border-radius:12px;padding:16px;background:#fff}.cp-dasha-main{background:#fff2c7;border-color:#dab15a}.cp-dasha-label{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#6a5a43}.cp-dasha-lord{font-size:24px;font-weight:800;color:#56380c;margin:6px 0}.cp-dasha-dates{font-size:14px;color:#5c5143}.cp-dasha-remaining{margin-top:8px;font-size:14px;font-weight:700;color:#77500f}
.cp-horo-section{padding:18px 16px;border-top:1px solid #eadfce;background:#fff}.cp-horo-section h3{margin:0 0 10px;font-size:18px;color:#3f3326}.cp-horo-section p{margin:0;line-height:1.65;color:#493f34}
.cp-shanti-section{background:#fbf7ef}.cp-shanti-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cp-shanti-card{min-width:0;padding:14px;border:1px solid #e4d5bf;border-radius:12px;background:#fff;line-height:1.55;color:#493f34}.cp-shanti-card>div{margin:4px 0;overflow-wrap:anywhere}.cp-shanti-graha{font-size:18px;font-weight:800;color:#5d4300;margin-bottom:8px!important}.cp-shanti-mantra{font-weight:800;color:#7a430b}.cp-horo-note{margin:0;padding:14px 16px;background:#f5eddf;border-top:1px solid #eadfce;color:#756956;font-size:12px;line-height:1.5}
@media(max-width:900px){.cp-birth-form{grid-template-columns:1fr 1fr}.cp-birth-form label:nth-of-type(3){grid-column:1/-1}.cp-birth-form button{grid-column:1/-1;justify-self:start}.cp-horo-grid{grid-template-columns:1fr}.cp-dasha-grid,.cp-shanti-grid{grid-template-columns:1fr}}
@media(max-width:560px){.cp-tabs{display:grid;grid-template-columns:1fr 1fr}.cp-tab{padding:8px 7px;font-size:13px}.cp-birth-form{grid-template-columns:1fr}.cp-birth-form label:nth-of-type(3),.cp-birth-form button{grid-column:auto}.cp-birth-form button{width:100%}.cp-dasha-grid{padding:12px}.cp-dasha-lord{font-size:21px}.cp-horo-section{padding:16px 12px}}

/* Janma Kundli - v4.2.0 */
.cp-kundli-section{background:#fffaf2}
.cp-kundli-meta{margin:0 0 14px;color:#6b5d4c;font-size:13px;line-height:1.5}
.cp-kundli-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.cp-kundli-house{min-width:0;border:1px solid #e4d5bf;border-radius:12px;background:#fff;padding:12px;box-sizing:border-box}
.cp-kundli-house.is-lagna{background:#fff2c7;border-color:#d5aa35;box-shadow:inset 0 0 0 1px rgba(213,170,53,.18)}
.cp-house-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #eee2d0}
.cp-house-head span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#766956}
.cp-house-head strong{font-size:14px;color:#56380c;text-align:right;overflow-wrap:anywhere}
.cp-house-planets{display:flex;flex-wrap:wrap;gap:6px;min-height:26px;align-items:flex-start}
.cp-graha-chip{display:inline-flex;max-width:100%;padding:5px 7px;border-radius:8px;background:#f3eadc;color:#49380f;font-size:12px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
.cp-house-empty{color:#b5aa9b}
.cp-graha-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e4d5bf;border-radius:12px;background:#fff}
.cp-graha-table{width:100%;border-collapse:collapse;min-width:500px}
.cp-graha-table th,.cp-graha-table td{padding:10px 12px;border-bottom:1px solid #eee3d3;text-align:left;font-size:13px;color:#493f34}
.cp-graha-table th{background:#f7efe0;color:#5d4300;font-weight:800}
.cp-graha-table tr:last-child td{border-bottom:0}
@media(max-width:1024px){.cp-kundli-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cp-kundli-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-kundli-house{padding:10px}.cp-house-head{display:block}.cp-house-head strong{display:block;text-align:left;margin-top:3px}}
@media(max-width:420px){.cp-kundli-grid{grid-template-columns:1fr}.cp-graha-table{min-width:460px}}


/* North Indian Janma Kundli visual - v4.3.0 */
.cp-kundli-visual-wrap{margin:10px 0 14px}
.cp-kundli-visual{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;border-radius:18px}
.cp-kundli-legend{margin:10px 0 16px;color:#6b5d4c;font-size:13px;line-height:1.55}
.cp-kundli-visual .cp-kundli-house-no{font-size:22px;font-weight:800;fill:#a24f0d;letter-spacing:.02em}
.cp-kundli-visual .cp-kundli-node.is-lagna .cp-kundli-house-no{fill:#8a5a00}
.cp-kundli-visual .cp-kundli-rashi{font-size:28px;font-weight:800;fill:#3b2b1e}
.cp-kundli-visual .cp-kundli-graha-line{font-size:23px;font-weight:700;fill:#284e9b}
@media(max-width:700px){
  .cp-kundli-visual{max-width:100%}
  .cp-kundli-legend{font-size:12px}
}


/* Janma Kundli compact cleanup - v4.3.1 */
.cp-kundli-meta{max-width:640px}
.cp-kundli-visual-wrap{margin:8px 0 12px}
.cp-kundli-visual{max-width:560px!important}
.cp-kundli-legend{max-width:640px;margin:8px auto 14px;color:#6b5d4c;font-size:12px;line-height:1.5}
.cp-kundli-visual .cp-kundli-house-no{font-size:18px;font-weight:800;fill:#a24f0d;letter-spacing:.02em}
.cp-kundli-visual .cp-kundli-sign-no{font-size:34px;font-weight:800;fill:#3b2b1e}
.cp-kundli-visual .cp-kundli-node.is-lagna .cp-kundli-sign-no{fill:#7c5404}
.cp-kundli-visual .cp-kundli-graha-line{font-size:19px;font-weight:700;fill:#284e9b}
@media(max-width:700px){
  .cp-kundli-visual{max-width:100%!important}
  .cp-kundli-visual .cp-kundli-house-no{font-size:17px}
  .cp-kundli-visual .cp-kundli-sign-no{font-size:30px}
  .cp-kundli-visual .cp-kundli-graha-line{font-size:17px}
}
@media(max-width:460px){
  .cp-kundli-visual .cp-kundli-house-no{font-size:16px}
  .cp-kundli-visual .cp-kundli-sign-no{font-size:26px}
  .cp-kundli-visual .cp-kundli-graha-line{font-size:15px}
}


/* Clean 12-house Janma Kundli - v4.3.2 */
.cp-kundli-clean-wrap{margin:10px 0 12px}
.cp-kundli-clean-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:760px;margin:0 auto}
.cp-kundli-clean-house{min-width:0;border:1px solid #dfd1bb;border-radius:14px;background:#fff;padding:12px;box-sizing:border-box;min-height:118px}
.cp-kundli-clean-house.is-lagna{background:#fff2c7;border-color:#d4a84d;box-shadow:inset 0 0 0 1px rgba(212,168,77,.18)}
.cp-kundli-clean-head{display:flex;flex-direction:column;gap:4px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #eee2d0}
.cp-kundli-clean-head span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#94611a}
.cp-kundli-clean-head strong{font-size:18px;font-weight:800;color:#3b2b1e;overflow-wrap:anywhere}
.cp-kundli-clean-body{display:grid;gap:6px}
.cp-kundli-clean-line{font-size:14px;font-weight:700;line-height:1.35;color:#284e9b;overflow-wrap:anywhere}
@media(max-width:900px){.cp-kundli-clean-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.cp-kundli-clean-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-kundli-clean-house{min-height:104px;padding:10px}.cp-kundli-clean-head strong{font-size:16px}.cp-kundli-clean-line{font-size:13px}}
@media(max-width:420px){.cp-kundli-clean-grid{grid-template-columns:1fr}}


/* Example-style North Indian chart - v4.3.3 */
.cp-kundli-chart-wrap{margin:10px 0 14px}
.cp-kundli-chart{display:block;width:100%;height:auto;max-width:620px;margin:0 auto}
.cp-kundli-chart-label{fill:#a24f0d;font-size:18px;font-weight:800;letter-spacing:.02em}
.cp-kundli-chart-house.is-lagna .cp-kundli-chart-label{fill:#7f5607}
.cp-kundli-chart-rashi{fill:#1f1f1f;font-size:44px;font-weight:800}
.cp-kundli-chart-graha{fill:#2c58a2;font-size:28px;font-weight:700}
.cp-kundli-legend{max-width:700px;margin:10px auto 14px;color:#6b5d4c;font-size:12px;line-height:1.5}
@media(max-width:700px){
  .cp-kundli-chart{max-width:100%}
  .cp-kundli-chart-label{font-size:16px}
  .cp-kundli-chart-rashi{font-size:38px}
  .cp-kundli-chart-graha{font-size:24px}
}
@media(max-width:480px){
  .cp-kundli-chart-label{font-size:14px}
  .cp-kundli-chart-rashi{font-size:32px}
  .cp-kundli-chart-graha{font-size:20px}
}


/* Rectangular kundli chart - v4.3.4 */
.cp-kundli-chart-wrap-rect{margin:10px 0 14px}
.cp-kundli-chart-rect{max-width:760px!important}
@media(max-width:700px){
  .cp-kundli-chart-rect{max-width:100%!important}
}


/* Gotra field - v4.4.0 */
.cp-birth-form{grid-template-columns:minmax(145px,185px) minmax(115px,150px) minmax(170px,215px) minmax(165px,215px) auto}
.cp-gotra-field small{font-size:11px;font-weight:600;color:#7b6e5c}
.cp-gotra-stat small{display:block;margin-top:5px;color:#857662;font-size:11px;line-height:1.35}
@media(max-width:1100px){.cp-birth-form{grid-template-columns:1fr 1fr}.cp-birth-form .cp-gotra-field{grid-column:auto}.cp-birth-form button{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.cp-birth-form{grid-template-columns:1fr}.cp-birth-form .cp-gotra-field,.cp-birth-form button{grid-column:auto}}


/* Daily row explanations - v4.4.1 */
.cp-row-meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.cp-row-label{display:block;color:#756956;font-weight:400}
.cp-row-help{display:block;font-size:12px;line-height:1.45;color:#8a7b67}
.cp-row strong{align-self:center}
.cp-row.cp-row-puja .cp-row-help{color:#715511}
.cp-row.cp-row-guidance .cp-row-help{color:#746145}
@media(max-width:600px){
  .cp-row-meta{margin-bottom:2px}
  .cp-row-help{font-size:11px}
  .cp-row strong{align-self:flex-start}
}


/* Explanations on value side too - v4.4.2 */
.cp-row-value{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}
.cp-row-value strong{text-align:right;align-self:auto}
.cp-row-value-help{display:block;font-size:12px;line-height:1.45;color:#8a7b67;text-align:right;max-width:420px}
.cp-row.cp-row-puja .cp-row-value-help{color:#715511}
.cp-row.cp-row-guidance .cp-row-value-help{color:#746145}
@media(max-width:600px){
  .cp-row-value{align-items:flex-start}
  .cp-row-value strong{text-align:left}
  .cp-row-value-help{text-align:left;font-size:11px;max-width:none}
}
