/* Birth chart: the book as six questions (assets/kundli-book.js). Site colours: night ground, gold, the book's own blues. 3 px corners, 40 px taps on phones. */
/* the old inline book stays in the page (every control keeps working) but out of sight, unless the reader asked to view the whole chart */
html.kd-book2:not(.p15-all) [data-ms="inside"], html.kd-book2:not(.p15-all) #kd-astroAll{visibility:hidden;height:0;min-height:0;overflow:hidden;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
html.kd-book2:not(.p15-all) .kd-slot#kdStory, html.kd-book2:not(.p15-all) .kd-slot#kdAstro{margin:0!important;padding:0!important}
/* ---------------------------------------------------------------- the cover */
.kb{margin:18px 0 6px;padding:26px 24px 22px;border:1px solid #34306A;border-radius:3px;background:radial-gradient(120% 90% at 12% 0%,#2a2470 0%,#1b1850 52%,#14123A 100%)}
.kb-hd{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 20px;margin-bottom:16px}
.kb-k{margin:0;font:600 12px/1.3 var(--mono,'IBM Plex Mono',monospace);letter-spacing:.16em;text-transform:uppercase;color:#F2C46B}
.kb-h{margin:4px 0 0;font:600 clamp(28px,3.4vw,38px)/1.12 'Cormorant Garamond',Georgia,serif;color:#F4EEDF;text-wrap:balance}
.kb-cont{all:unset;cursor:pointer;min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid #F2C46B;border-radius:3px;color:#F2C46B;font:500 14px var(--body,'IBM Plex Sans',sans-serif)}
.kb-qs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kb-q{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-rows:auto auto 1fr auto;gap:8px;min-width:0;padding:18px 18px 14px;border:1px solid #34306A;border-radius:3px;background:rgba(20,18,58,.72)}
.kb-q:hover,.kb-q:focus-visible{border-color:#F2C46B;background:rgba(42,37,96,.82)}.kb-q:focus-visible,.kb-lib:focus-visible,.kb-cont:focus-visible{outline:2px solid #F2C46B;outline-offset:2px}
.kb-mi svg{height:28px;width:auto;display:block}
.kb-qt{font:600 24px/1.15 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}
.kb-qa{font-size:15px;line-height:1.55;color:#E9E4FF}
.kb-qf{border-top:1px solid #34306A;padding-top:10px;font:500 12.5px var(--mono,'IBM Plex Mono',monospace);color:#F2C46B}
.kb-lib{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;width:100%;margin-top:14px;padding:14px 18px;min-height:44px;border:1px dashed #4a3f86;border-radius:3px;background:rgba(16,14,48,.6)}
.kb-lib b{font:600 20px 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}.kb-lib span{font-size:14px;color:#C3ABFF}.kb-lib:hover{border-color:#C3ABFF}
html[lang=hi] .kb-k{letter-spacing:0;text-transform:none;font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);font-size:13px}
/* ---------------------------------------------------------------- the reader: a question, a chapter or a table over the whole page */
html.kbr-on,html.kbr-on body{overflow:hidden}
.kbr-ov,.kd .kbr-cur{position:fixed!important;inset:0;z-index:9500;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#1B1850 0,#14123A 420px)!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:1!important;transform:none!important;visibility:visible!important;display:flex!important;flex-direction:column}
.kbr-ov[hidden]{display:none!important}
.kd .kbr-cur>.chh{display:none!important}
.kd .kbr-cur>.chb{display:block!important;flex:1;width:100%;max-width:1180px;margin:0 auto;padding:18px 24px 26px!important;box-sizing:border-box}
.kbr-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-height:56px;padding:8px max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px));background:#100E30;border-bottom:1px solid #34306A;font-size:14px;color:#B9B4D6}
.kbr-trail{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px}.kbr-trail b{color:#F4EEDF;font-weight:600}
.kbr-tl{all:unset;cursor:pointer;color:#B9B4D6;padding:6px 2px;min-height:28px}.kbr-tl:hover{color:#F2C46B}.kbr-tl:focus-visible{outline:2px solid #F2C46B}
.kbr-tools{display:flex;align-items:center;gap:8px}
.kbr-sw{display:inline-flex;border:1px solid #34306A;border-radius:3px;overflow:hidden}.kbr-sw button{all:unset;cursor:pointer;padding:0 12px;min-height:36px;font-size:13.5px;color:#A7A2C8}.kbr-sw button[aria-pressed="true"]{background:#22345a;color:#F4EEDF}
.kbr-x,.kbr-bk{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid #F2C46B;border-radius:3px;color:#F2C46B;font-weight:600;font-size:14px;white-space:nowrap}
.kbr-bk{border-color:#34306A;color:#F4EEDF}.kbr-x:focus-visible,.kbr-bk:focus-visible,.kbr-sw button:focus-visible{outline:2px solid #F2C46B;outline-offset:2px}
.kbr-prog{display:flex;gap:3px;padding:7px max(16px,env(safe-area-inset-left,0px));background:#100E30;border-bottom:1px solid #2a2660;position:sticky;top:56px;z-index:2}
.kbr-prog i{flex:1;height:4px;border-radius:2px;background:#2c2862}.kbr-prog i.rd{background:#7a6a35}.kbr-prog i.on{background:#F2C46B}.kbr-prog b{flex:0 0 8px}
.kbr-pin{margin:14px auto 0;width:100%;max-width:1180px;box-sizing:border-box;padding:0 24px;font:600 12px/1.3 var(--mono,'IBM Plex Mono',monospace);letter-spacing:.14em;text-transform:uppercase;color:#F2C46B}
html[lang=hi] .kbr-pin{letter-spacing:0;text-transform:none;font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);font-size:13px}
.kd .kbr-cur>.chb>p.lead.s{font:600 clamp(21px,2.4vw,26px)/1.35 'Cormorant Garamond',Georgia,serif;color:#F4EEDF;max-width:none}
.kbr-more{margin:22px 0 4px;font:600 12px/1.3 var(--mono,'IBM Plex Mono',monospace);letter-spacing:.14em;text-transform:uppercase;color:#F2C46B}
details.kbr-fold{border-bottom:1px solid #34306A}details.kbr-fold>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:6px 2px;font:600 17px/1.3 var(--body,'IBM Plex Sans',sans-serif);color:#F4EEDF}
details.kbr-fold>summary::-webkit-details-marker{display:none}details.kbr-fold>summary::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid #B9B4D6;border-bottom:2px solid #B9B4D6;transform:rotate(45deg);margin-right:6px}
details.kbr-fold[open]>summary::after{transform:rotate(-135deg)}details.kbr-fold>summary:hover{color:#F2C46B}details.kbr-fold>summary:focus-visible{outline:2px solid #F2C46B}
details.kbr-fold.src>summary{font-size:15px;color:#B9B4D6}.kbr-fb{padding:4px 0 18px}
.kd .kbr-hide{display:none!important}.kd .kbr-deeper{margin-top:18px}
.kbr-foot{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin-top:auto;padding:8px max(16px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#100E30;border-top:1px solid #34306A;font:500 13px var(--mono,'IBM Plex Mono',monospace);color:#A7A2C8}
.kbr-foot button{all:unset;cursor:pointer;min-height:40px;display:inline-flex;align-items:center;color:#B9B4D6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.kbr-foot .kbr-nx{justify-self:end;color:#F2C46B}.kbr-foot button:hover{color:#F4EEDF}.kbr-foot button:focus-visible{outline:2px solid #F2C46B}.kbr-pos{text-align:center}
/* a question's page and the library */
.kbr-in{flex:1;width:100%;max-width:1180px;margin:0 auto;padding:6px 24px 28px;box-sizing:border-box}.kbr-ov .kbr-pin{padding:0}
.kbr-big{margin:6px 0 12px;font:600 clamp(28px,3.6vw,40px)/1.15 'Cormorant Garamond',Georgia,serif;color:#F4EEDF;text-wrap:balance}
.kbr-lead{font-size:16.5px;color:#E9E4FF;margin:0 0 12px}
.kbr-rows{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid #34306A}
.kbr-rows button{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:56px;padding:14px 4px;border-bottom:1px solid #34306A}
.kbr-rows button:hover b,.kbr-rows button:focus-visible b{color:#F2C46B}.kbr-rows button:focus-visible{outline:2px solid #F2C46B;outline-offset:-2px}
.kbr-rows .n{font:600 24px 'Cormorant Garamond',Georgia,serif;color:#F2C46B}.kbr-rows b{display:block;font-size:17px;color:#F4EEDF}.kbr-rows small{display:block;margin-top:2px;font-size:14.5px;line-height:1.5;color:#B9B4D6}
.kbr-rows .m{font:500 12.5px var(--mono,'IBM Plex Mono',monospace);color:#F2C46B;white-space:nowrap}
.kbr-find{display:block;margin-top:6px}.kbr-find input{width:100%;box-sizing:border-box;min-height:46px;padding:12px 14px;background:#100e30;border:1px solid #4a3f86;border-radius:3px;color:#F4EEDF;font:400 16px var(--body,'IBM Plex Sans',sans-serif)}
.kbr-find input:focus{outline:2px solid #C3ABFF;outline-offset:1px}.kbr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.kbr-count{margin:8px 0 2px;font:500 12.5px var(--mono,'IBM Plex Mono',monospace);color:#A7A2C8}
.kbr-libg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 28px}
.kbr-lg h3{margin:16px 0 4px;padding-bottom:5px;border-bottom:1px solid #34306A;font:600 20px 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}.kbr-lg h3 span{font:500 12px var(--mono,'IBM Plex Mono',monospace);color:#A7A2C8;margin-left:6px}
.kbr-lg ul{list-style:none;margin:0;padding:0}.kbr-lg li[hidden],.kbr-lg[hidden]{display:none}
.kbr-lg button{all:unset;box-sizing:border-box;cursor:pointer;display:grid;width:100%;min-height:44px;padding:9px 2px;border-bottom:1px solid #26225c}
.kbr-lg button b{font-weight:500;font-size:15.5px;color:#F4EEDF}.kbr-lg button small{font:500 12px var(--mono,'IBM Plex Mono',monospace);color:#C3ABFF}.kbr-lg button span{font-size:13.5px;color:#A7A2C8}
.kbr-lg button:hover b{color:#F2C46B}.kbr-lg button:focus-visible{outline:2px solid #F2C46B;outline-offset:-2px}
@media (max-width:1000px){.kb-qs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.kb{padding:20px 14px 16px}.kb-qs{grid-template-columns:1fr}.kb-qt{font-size:22px}
  .kbr-bar{flex-wrap:wrap;row-gap:4px;min-height:52px}.kbr-tools{margin-left:auto}.kbr-trail{order:3;flex:1 1 100%;font-size:12.5px}.kbr-prog{position:static}.kbr-sw button{min-width:48px;min-height:40px;padding:0 8px;text-align:center}.kd .kbr-cur>.chb{padding:14px 16px 22px!important}.kbr-in{padding:4px 16px 24px}.kbr-pin{padding:0 16px}
  .kbr-libg{grid-template-columns:1fr}.kbr-foot{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.kbr-pos{display:none}.kbr-rows button{grid-template-columns:28px minmax(0,1fr)}.kbr-rows .m{grid-column:2}}
@media (prefers-reduced-motion:no-preference){.kb-q{transition:border-color .15s,background .15s}}
/* the bar holds the six questions and the library: it wraps to a second row on narrow screens rather than widening the page */
html.kd-book2 .kd-onebar .kd-ob-go{flex-wrap:wrap}
@media (max-width:820px){html.kd-book2 .kd-onebar .kd-ob-go button,html.kd-book2 .kd-onebar .kd-ob-go .kd-ob-desk{flex:1 1 auto;min-width:40px;padding:0 8px;white-space:nowrap;line-height:1}}
/* inside the reader the table's own back link and its old previous/next row give way to the reader's bar and foot */
.kd .kbr-cur>.chb>.back,.kd .kbr-cur .cnav{display:none!important}
/* in the reader column nothing shrinks: the page scrolls instead (a two-row bar on phones kept its height) */
.kbr-cur>.kbr-bar,.kbr-cur>.kbr-prog,.kbr-cur>.kbr-pin,.kbr-cur>.kbr-foot,.kbr-cur>.chb,.kbr-ov>*{flex-shrink:0}
/* View the whole chart: every chapter and table shows at once (the fade-in on scroll left blank gaps in a long page and in pictures of it) */
html.p15-all .kd.icjs .inside2.r4 .ipart .ip-grid>.ch,html.p15-all .kd.icjs .rest2.r4 .rpart .rgrid>.ch{opacity:1;transform:none}
.kd .kbr-cur>.kbr-pin{margin:14px auto 0}
/* the three pictures (rethink step 4): the Line (when), the Wheel (where), the Ladder (how strong); one sentence under each says what to look at */
.kd .kbp{margin:18px 0 6px;padding:0;border:0}
.kd .kbp-svg{display:block;width:100%;height:auto;border-radius:3px}
.kd .kbp-wheel .kbp-svg{max-width:440px;margin:0 auto}
.kd .kbp-cap{margin:10px 0 0;font-size:14.5px;line-height:1.5;color:#C9C4E4}
.kbp-rl{fill:#8E89B8;font-family:var(--mono,'IBM Plex Mono',monospace);letter-spacing:.06em}.kbp-rl.on{fill:#F4EEDF}
.kbp-rn{fill:#14123A;font-weight:600;font-family:Inter,system-ui,sans-serif}
.kbp-rt{fill:#A7A2C8;font-family:var(--mono,'IBM Plex Mono',monospace)}.kbp-ra{fill:#77729E;font-family:var(--mono,'IBM Plex Mono',monospace)}
.kbp-now{fill:#F2C46B;font-weight:600;font-family:Inter,system-ui,sans-serif}
.kbp-wh{fill:#77729E;font:600 12px var(--mono,'IBM Plex Mono',monospace)}.kbp-wh.on{fill:#F2C46B}
.kbp-ws{fill:#A7A2C8;font:500 11px Inter,system-ui,sans-serif}.kbp-wc{fill:#F2C46B;font:600 13px Inter,system-ui,sans-serif}
.kbp-pa{font:700 12px Inter,system-ui,sans-serif}.kbp-tag{fill:#F4EEDF;font:600 10px var(--mono,'IBM Plex Mono',monospace)}
html[lang=hi] .kbp-ws,html[lang=hi] .kbp-pa,html[lang=hi] .kbp-wc,html[lang=hi] .kbp-rl,html[lang=hi] .kbp-now,html[lang=hi] .kbp-rn{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);letter-spacing:0}
.kd .kbp-lad{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.kd .kbp-lad li.kl{display:grid;grid-template-columns:26px minmax(0,1.3fr) minmax(0,1fr) 172px;gap:12px;align-items:center;min-height:40px;padding:4px 0;border-bottom:1px solid #26225c}
.kd .kbp-lad .kl-r{font:600 13px var(--mono,'IBM Plex Mono',monospace);color:#77729E;text-align:right}.kd .kbp-lad li.kl-top .kl-r{color:#F2C46B}
.kd .kbp-lad .kl-n{font-size:15px;color:#F4EEDF;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.kd .kbp-lad .kl-n small{font-size:12px;color:#A7A2C8}
.kd .kbp-lad .kl-n i{width:10px;height:10px;border-radius:50%;flex:none}
.kd .kbp-lad .kl-b{position:relative;height:8px;border-radius:3px;background:#26225c}.kd .kbp-lad .kl-b.none{background:none}
.kd .kbp-lad .kl-b b{position:absolute;inset:0 auto 0 0;border-radius:3px;background:#6FD3CC;opacity:.75}.kd .kbp-lad li.kl-top .kl-b b{background:#F2C46B;opacity:1}
.kd .kbp-lad .kl-b em{position:absolute;top:-4px;bottom:-4px;width:2px;background:#F4EEDF;opacity:.8}
.kd .kbp-lad .kl-p{font:500 12.5px var(--mono,'IBM Plex Mono',monospace);color:#C9C4E4;white-space:nowrap}
@media (max-width:640px){.kd .kbp-lad li.kl{grid-template-columns:22px minmax(0,1fr) auto;row-gap:4px}.kd .kbp-lad .kl-b{grid-column:2/4;grid-row:2}.kd .kbp-lad .kl-b.none{display:none}}

.kd .kbp-lad li.kl{position:static;background:none;margin:0}.kd .kbp-lad li.kl::before,.kd .kbp-lad li.kl::marker{content:none}.kd .kbp-lad .kl-n,.kd .kbp-lad .kl-r,.kd .kbp-lad .kl-p{position:static}
.kbp-ti{fill:#14123A;font:700 9px Inter,system-ui,sans-serif}html[lang=hi] .kbp-ti{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif)}
.kd .kbp-lad .kl-p{text-align:right}
/* View the whole chart, in the book's own design (owner 2 Nov 2026 20:1x): the eighteen chapters in the order of the six questions, one long read */
html.kbr-whole #kdAstro{display:none!important}
html.kbr-whole .kd .inside2{display:flex!important;flex-direction:column;gap:22px}
html.kbr-whole .kd .inside2>.ipart,html.kbr-whole .kd .inside2 .ip-grid{display:contents!important}
html.kbr-whole .kd .inside2 .ip-h,html.kbr-whole .kd .inside2 section.ch>.chh,html.kbr-whole .kd .inside2 section.ch .cnav{display:none!important}
html.kbr-whole .kd .inside2 section.ch{opacity:1!important;transform:none!important;margin:0!important;border:1px solid #2c2862!important;border-radius:3px;background:#17144a!important;box-shadow:none!important}
html.kbr-whole .kd .inside2 section.ch>.chb{display:block!important;padding:4px 24px 22px!important}
html.kbr-whole .kd .kbw-h{padding:18px 24px 0}
html.kbr-whole .kd .kbw-h .kbr-pin,html.kbr-whole .kd .kbw-q .kbr-pin{margin:0;padding:0;max-width:none}
html.kbr-whole .kd .kbw-t{margin:6px 0 0;font:500 clamp(24px,2.6vw,30px)/1.2 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}
html.kbr-whole .kd .kbw-q{margin-top:18px;padding:22px 0 4px;border-top:1px solid #F2C46B66}
html.kbr-whole .kd .kbw-q:first-child{margin-top:0}
html.kbr-whole .kd .kbw-qt{margin:6px 0 8px;font:500 clamp(30px,3.4vw,40px)/1.15 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}
html.kbr-whole .kd .kbw-qa{margin:0;font:400 clamp(18px,1.9vw,22px)/1.5 'Cormorant Garamond',Georgia,serif;color:#D9D4F0}
html.kbr-whole .kd .kbw-lib .kb-lib{width:100%}
html[lang=hi].kbr-whole .kd .kbw-t,html[lang=hi].kbr-whole .kd .kbw-qt,html[lang=hi].kbr-whole .kd .kbw-qa{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif)}
@media (max-width:640px){html.kbr-whole .kd .inside2 section.ch>.chb{padding:4px 14px 18px!important}html.kbr-whole .kd .kbw-h{padding:14px 14px 0}}
html.kbr-whole .kd #kd-msb-inside>p.subt{display:none}
/* ===== pages (owner 2 Nov 2026 21:11: read a chapter like a book, page by page with ‹ ›) ===== */
.kd .kbr-cur .chb>.kbpg{display:none}
.kd .kbr-cur .chb>.kbpg.on{display:block;animation:kbpgIn .22s ease-out}
@keyframes kbpgIn{from{opacity:.25;transform:translateX(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.kd .kbr-cur .chb>.kbpg.on{animation:none}}
.kd .kbpg-sec{margin:0 0 26px}
.kd .kbpg-t{margin:6px 0 14px;font:500 clamp(24px,2.6vw,32px)/1.2 'Cormorant Garamond',Georgia,serif;color:#F4EEDF;text-wrap:balance}
.kd .kbpg-sec.src .kbpg-t{font-size:20px}
.kd .kbpg-sec>.kbr-hide{display:none}
html[lang=hi] .kd .kbpg-t{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif)}
.kd .kbpg-next{margin:26px 0 8px}
.kd .kbpg-nc{all:unset;box-sizing:border-box;cursor:pointer;display:grid;gap:4px;width:100%;padding:18px 20px;border:1px solid #F2C46B88;border-radius:3px;background:#221d55}
.kd .kbpg-nc small{font:500 11px var(--mono,'IBM Plex Mono',monospace);letter-spacing:.14em;text-transform:uppercase;color:#F2C46B}
.kd .kbpg-nc b{font:500 26px/1.2 'Cormorant Garamond',Georgia,serif;color:#F4EEDF}.kd .kbpg-nc span{color:#C9C4E4;font-size:15px}
.kd .kbpg-nc:hover,.kd .kbpg-nc:focus-visible{border-color:#F2C46B;outline:none}
html[lang=hi] .kd .kbpg-nc small{letter-spacing:0;text-transform:none;font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif)}
.kbpg-foot .kbpg-dots{display:flex;gap:2px;justify-content:center;flex-wrap:wrap;max-width:50vw}
.kbpg-foot .kbpg-d{all:unset;cursor:pointer;width:24px;height:40px;display:inline-flex;align-items:center;justify-content:center}
.kbpg-foot .kbpg-d::before{content:"";width:8px;height:8px;border-radius:50%;background:#3a3670}
.kbpg-foot .kbpg-d.rd::before{background:#7a6a35}.kbpg-foot .kbpg-d.on::before{background:#F2C46B;width:10px;height:10px}
.kbpg-foot .kbpg-d:focus-visible{outline:2px solid #F2C46B}
.kbpg-foot .kbr-pv span,.kbpg-foot .kbr-nx span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbpg-tocb span{margin-left:4px}
/* Contents */
.kd .kbpg-toc{position:fixed;z-index:9600;top:0;bottom:0;left:0;width:min(420px,92vw);overflow-y:auto;background:#100E30;border-right:1px solid #34306A;box-shadow:12px 0 40px rgba(3,4,22,.6);padding:0 18px 28px;animation:kbtIn .18s ease-out}
@keyframes kbtIn{from{transform:translateX(-16px);opacity:.4}to{transform:none;opacity:1}}
.kd .kbpg-toch{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:12px 0;background:#100E30;border-bottom:1px solid #34306A;font-size:16px;color:#F4EEDF}
.kd .kbpg-toc h4{margin:16px 0 4px;font:500 11px var(--mono,'IBM Plex Mono',monospace);letter-spacing:.12em;text-transform:uppercase;color:#F2C46B}
html[lang=hi] .kd .kbpg-toc h4{letter-spacing:0;text-transform:none;font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);font-size:13px}
.kd .kbpg-toc ul,.kd .kbpg-toc ol{list-style:none;margin:0;padding:0}
.kd .kbpg-toc li>button{all:unset;box-sizing:border-box;cursor:pointer;display:block;width:100%;min-height:40px;padding:9px 8px;border-bottom:1px solid #26225c;color:#E2DDF4;font-size:15px}
.kd .kbpg-toc li.rd>button::before{content:"✓ ";color:#6FD3CC}.kd .kbpg-toc li.on>button{color:#F2C46B;font-weight:600}
.kd .kbpg-toc ol{padding-left:14px;border-left:2px solid #F2C46B55;margin:2px 0 6px}.kd .kbpg-toc ol li>button{font-size:14px;color:#C9C4E4}
.kd .kbpg-toc li>button:hover,.kd .kbpg-toc li>button:focus-visible{background:#1b1850;outline:none}
@media (max-width:640px){.kd .kbpg-toc{top:auto;left:0;right:0;width:auto;max-height:78vh;border-right:0;border-top:1px solid #34306A;border-radius:3px 3px 0 0;animation-name:kbtUp}
  @keyframes kbtUp{from{transform:translateY(20px);opacity:.4}to{transform:none;opacity:1}}
  .kbpg-tocb span{display:none}.kbpg-foot{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}.kbpg-foot .kbr-pv span{display:none}.kbpg-foot .kbpg-dots{max-width:56vw}.kbpg-foot .kbpg-d{width:16px}}
/* the whole chart (View the whole chart): every page shown, one after another */
html.kbr-whole .kd .chb>.kbpg{display:block!important;animation:none}
html.kbr-whole .kd .kbpg-next{display:none}
.kd .kbr-cur>.kbr-pin{align-self:center;width:min(1180px,100%)!important;max-width:none!important;margin:14px 0 0!important}
.kbpg-foot .kbr-pv,.kbpg-foot .kbr-nx{gap:6px}
.kbpg-foot .kbpg-n{font:500 13px var(--mono,'IBM Plex Mono',monospace);color:#C9C4E4;white-space:nowrap}
@media (max-width:640px){.kbpg-foot{padding-top:4px!important;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))!important}.kbpg-foot .kbr-pv{min-width:44px}.kbpg-foot .kbr-nx{min-width:0;max-width:44vw}}
/* whose chart (owner 2 Nov 21:51 "who is this chart for, name must display at the top"): the person's initial, name and birth line lead the reader's bar */
.kbr-who{display:inline-flex;align-items:center;gap:10px;min-width:0;padding-right:14px;margin-right:4px;border-right:1px solid #34306A}
.kbr-av{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#F29BC4,#F2C46B);color:#1b1442;font:700 16px Inter,system-ui,sans-serif;font-style:normal;box-shadow:0 0 0 2px #100E30,0 0 0 3px #F2C46B66}
.kbr-wn{display:grid;min-width:0;line-height:1.2}
.kbr-wn b{font:600 19px/1.15 'Cormorant Garamond',Georgia,serif;color:#F4EEDF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kbr-wn small{font:500 11.5px var(--mono,'IBM Plex Mono',monospace);letter-spacing:.06em;color:#A7A2C8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[lang=hi] .kbr-wn b,html[lang=hi] .kbr-wn small{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);letter-spacing:0}
.kbr-bar .kbr-trail{font-size:13.5px}
/* Previous: … and Next: … (owner 2 Nov 21:50) */
.kbpg-foot .kbr-pv,.kbpg-foot .kbr-nx{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:10px;min-height:48px;max-width:100%;padding:6px 14px;border:1px solid #34306A;border-radius:3px;background:#17144a}
.kbpg-foot .kbr-nx{justify-self:end;border-color:#F2C46B;background:#2a2458}
.kbpg-foot .kbr-pv i,.kbpg-foot .kbr-nx i{font-style:normal;font-size:22px;line-height:1;color:#F2C46B}
.kbpg-foot .kbr-pv>span,.kbpg-foot .kbr-nx>span{display:grid;min-width:0;text-align:left;line-height:1.2}.kbpg-foot .kbr-nx>span{text-align:right}
.kbpg-foot small{font:500 10.5px var(--mono,'IBM Plex Mono',monospace);letter-spacing:.14em;text-transform:uppercase;color:#A7A2C8}
.kbpg-foot .kbr-nx small{color:#F2C46B}
.kbpg-foot em{font-style:normal;font-size:14.5px;font-weight:500;color:#F4EEDF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[lang=hi] .kbpg-foot small{letter-spacing:0;text-transform:none;font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif);font-size:12px}
.kbpg-foot .kbr-pv:hover,.kbpg-foot .kbr-pv:focus-visible{border-color:#F2C46B;outline:none}.kbpg-foot .kbr-nx:hover,.kbpg-foot .kbr-nx:focus-visible{background:#352d6e;outline:none}
.kbpg-foot{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
@media (max-width:640px){.kbr-who{border-right:0;padding-right:0;margin-right:0;flex:1 1 auto}.kbr-av{width:30px;height:30px;font-size:14px}.kbr-wn b{font-size:17px}.kbr-wn small{font-size:10.5px}
  .kbpg-foot .kbr-pv,.kbpg-foot .kbr-nx{min-height:44px;padding:4px 10px;gap:6px}.kbpg-foot .kbr-pv em{display:none}.kbpg-foot em{font-size:13px}.kbpg-foot .kbr-nx{max-width:100%}}
.kbpg-foot .kbr-pv{justify-self:start}
.kbpg-foot em,.kbpg-foot small{display:block}
.kbpg-foot em{font-family:Inter,system-ui,sans-serif}
html[lang=hi] .kbpg-foot em{font-family:var(--f-hi,"Noto Sans Devanagari",sans-serif)}
@media (max-width:640px){.kbpg-foot .kbr-pv em{display:none}.kbpg-foot .kbr-pv small{display:block;color:#C9C4E4}.kbr-bar .kbr-trail{font-size:12px}}
@media (max-width:640px){.kbpg-foot .kbr-pv>span{display:grid!important}}
/* owner 2 Nov 2026 22:17 "Two rows": on phones row 1 = Contents, the name, Close; row 2 = question › chapter with Simple | Vedic at the right */
@media (max-width:640px){
  .kbr-bar{flex-wrap:wrap;column-gap:10px;row-gap:6px}
  .kbr-bar>.kbr-tools{display:contents}
  .kbr-bar>.kbr-bk{order:1;flex:none}
  .kbr-bar>.kbr-who{order:2;flex:1 1 0;min-width:0;overflow:hidden}
  .kbr-bar .kbr-wn{min-width:0}.kbr-bar .kbr-wn b,.kbr-bar .kbr-wn small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
  .kbr-bar .kbr-x{order:3;flex:none;margin-left:auto}
  .kbr-bar>.kbr-trail{order:4;flex:1 1 calc(100% - 132px);min-width:0}
  .kbr-bar .kbr-sw{order:5;flex:none;margin-left:auto}
}
/* 16.0.2 (owner 8 Nov 06:57 "notice the spaces between these two sections ... these must be consistent"): inside the page's own column the sections keep
   the page's one gap; the book's own outer margins (18 px under the brief, 18 px over the cover) made 84 px there against 36 px elsewhere */
.p15-main>.p15-slot>.kd-slot{margin-bottom:0}
.p15-main>.p15-slot .kb-slot>.kb{margin-top:0;margin-bottom:0}
.p15-main>.p15-slot>.kd-slot .kd-main{padding-bottom:0}
.p15-main>.p15-slot>.kd-slot .kd-main>.panel:last-child{margin-bottom:0}
.p15-main>.p15-slot>.kd-slot .kd-main>.panel:first-child{margin-top:0}
