:root{font-family:system-ui,-apple-system,sans-serif;color:#142740;background:#edf3f9;line-height:1.65;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;padding:clamp(0px,3vw,28px)}
.reader-shell{max-width:960px;margin:auto;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 12px 48px #14274012}
.reader-header{background:linear-gradient(120deg,#0a1c35,#12385a);color:#fff;padding:clamp(22px,6vw,48px)}
.reader-header a{color:#fff;text-decoration:none;font-weight:850;letter-spacing:.07em}
.reader-header span{display:block;color:#f4cf78;letter-spacing:.11em;font-size:.72rem}
h1{margin:.8rem 0 0;line-height:1.22;font-size:clamp(1.65rem,5vw,2.65rem)}
.reader-body{padding:clamp(16px,5vw,42px)}
.reader-body a{color:#115884}
.reading-intro{margin-top:0;color:#415773}
.chapter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin:24px 0 0}
.ebook-btn,button{font:inherit;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:.64rem 1rem;min-height:44px;text-decoration:none;font-weight:750;border-radius:9px;border:1px solid transparent;cursor:pointer}
.reader-body .primary,button{color:#fff;background:#12446b}
.reader-body .secondary{background:#eef5fc;border-color:#d8e5f3;color:#174066}
.reader-body .chapter-btn{justify-content:flex-start;background:#f2f7fc;border-color:#dbe7f4;min-height:64px;text-align:left}
.ebook-btn:hover,button:hover{filter:brightness(.93)}
:focus-visible{outline:3px solid #ad5500;outline-offset:3px}
.reader-nav{display:flex;gap:.65rem;flex-wrap:wrap}
.questions h2{border-bottom:1px solid #dfebf5;padding:.55rem 0}
.questions>p{line-height:1.72}
.questions details{background:#eef6fc;padding:.55rem .85rem;border-radius:8px;margin-bottom:1.25rem}
summary{cursor:pointer;min-height:36px;font-weight:750;color:#12446b}
.lang-en{display:block;color:#385575;font-size:.95em;margin:.15em 0 .45em;padding-left:.65em;border-left:2px solid #c5d9eb}
input{min-height:44px;padding:.4rem .6rem;border:1px solid #b9cce0;border-radius:6px;font:inherit}
code{overflow-wrap:anywhere}
@media(max-width:560px){body{padding:0}.reader-shell{min-height:100dvh;border-radius:0}.chapter-grid{grid-template-columns:minmax(0,1fr)}.reader-nav .ebook-btn{flex:1}}
.reader-account{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.05rem}
.reader-account a{display:inline-block;font-size:.88rem;letter-spacing:0;padding:.38rem .68rem;border:1px solid #ffffff66;border-radius:8px}
.account-tabs{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1.3rem}
.account-panel{max-width:540px;border:1px solid #dbe7f4;background:#f7fbff;border-radius:12px;padding:clamp(16px,4vw,26px)}
.account-form{display:grid;gap:1rem}
.account-form label{display:grid;gap:.34rem;font-weight:650}
.account-form p{margin:0}
.account-form .account-remember{display:flex;align-items:center;font-size:.92rem;gap:.5rem}
.account-remember input{width:1.1rem;min-height:1.1rem;accent-color:#12446b}
.account-form button{justify-self:start}
.account-help{color:#415773}
.account-notice{background:#fff8e7;border-left:3px solid #b18018;padding:.65rem .9rem}
.account-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:1rem;margin:1.25rem 0}
.account-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #dbe7f4;border-radius:12px;padding:1.12rem;background:#f7fbff}
.account-card h2{font-size:1.22rem;line-height:1.35;margin:0}
.account-card p{margin:.45rem 0 .8rem}
.account-card .account-owned{color:#14603a;font-weight:750}
.account-card .ebook-btn{margin-top:auto}
.account-empty{padding:1.1rem 1.2rem;background:#f7fbff;border:1px solid #dbe7f4;border-radius:12px;margin:1.25rem 0}
.purchase-overview{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;background:#f4f8fd;border:1px solid #dbe7f4;border-radius:14px;padding:clamp(16px,4vw,26px);margin-bottom:1.35rem}
.purchase-overview>div:first-child{flex:1 1 280px}
.purchase-overview h2{margin:0;line-height:1.3}
.purchase-overview p{margin:.45em 0 0;color:#415773}
.purchase-price{display:grid;align-content:center;border-left:3px solid #c49738;padding:.25rem .85rem}
.purchase-price strong{font-size:clamp(1.85rem,6vw,2.55rem);line-height:1.15}
.purchase-price span{color:#415773}
.reader-header .reader-shop{background:#f4cf78;color:#142740;border-color:#f4cf78}
.pyq-intro{margin-top:1rem}
.pyq-key{padding:1rem;background:#f4f8fd;border:1px solid #dbe7f4;border-radius:10px}
.pyq-key p{margin:.4rem 0}
.pyq-key dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:.45rem;margin:1rem 0 0}
.pyq-key dl div{display:flex;justify-content:space-between;gap:.2rem;background:#fff;padding:.2rem .34rem;border-radius:4px}
.pyq-key dt{color:#415773}
.pyq-key dd{font-weight:750;margin:0}
.pyq-subjects{margin:.7rem 0 0;max-width:420px}
.pyq-subjects div{display:flex;justify-content:space-between;gap:1rem;padding:.2rem 0}
.pyq-subjects dd{margin:0;font-weight:750;font-variant-numeric:tabular-nums}

.pyq-question,.pyq-directions{margin:1rem 0 1.4rem;padding:clamp(.85rem,2vw,1.35rem);border:1px solid #dbe7f4;border-radius:14px}
.pyq-question h2{margin:0 0 .85rem;font-size:1.25rem;color:#123758}
.pyq-question:target{border-color:#36678e;box-shadow:0 0 0 2px #e2edf6}
.pyq-directions{background:#f3f7fc;border-inline-start:4px solid #c39744}
.pyq-directions p{margin:.35rem 0;line-height:1.6}
.pyq-directions p+p{padding-top:.55rem;border-top:1px solid #dbe7f4}
.pyq-languages{display:grid;gap:1rem}
.pyq-language{min-width:0;overflow-wrap:anywhere}
.pyq-language-label{margin:0 0 .4rem;font-size:.78rem;font-weight:750;color:#486681}
.pyq-stem{margin:0 0 .6rem;font-weight:650;line-height:1.55}
.pyq-options{margin:.2rem 0;padding-inline-start:1.8rem}
.pyq-options li{padding-inline-start:.25rem;margin:.25rem 0}
.pyq-options li::marker{font-weight:700;color:#244f73}
.pyq-geometry{display:block;width:100%;height:auto;max-width:29rem;color:#182b40}
.pyq-svg-latin{font-family:Georgia,"Times New Roman",serif;fill:currentColor}
.pyq-svg-hindi{font-family:"Noto Sans Devanagari","Nirmala UI",Mangal,serif;fill:currentColor}
.pyq-answer{margin-top:.85rem;padding:.55rem .7rem;background:#eaf3fa;color:#114465;border-radius:8px}
.pyq-answer summary,.pyq-key summary{font-weight:750;cursor:pointer}
.pyq-answer p{margin:.4rem 0 0;padding-inline-start:1rem}
@media(min-width:760px){.pyq-languages:has(>.pyq-language+.pyq-language){grid-template-columns:1fr 1fr}}
@media(max-width:759px){.pyq-language+.pyq-language{border-top:1px solid #dbe7f4;padding-top:.75rem}}
