/* PYQ presentation v1.9.57: scoped styles, readable glass surfaces and compact navigation. */
.pyq-library-page #main,.pyq-quiz-page #main{font-family:Inter,"Segoe UI",system-ui,sans-serif;background:radial-gradient(ellipse at 8% 25%,#d8ebff80,transparent 48%),radial-gradient(ellipse at 94% 60%,#f4e1af70,transparent 48%),#f5f8fc;color:#172b46}
.pyq-library-page h1,.pyq-quiz-page h1{font-size:clamp(25px,3vw,38px);letter-spacing:-.035em;line-height:1.2}
.pyq-library-page h2,.pyq-quiz-page h2{letter-spacing:-.025em}.pyq-guide p{font-size:15px;line-height:1.75}.pyq-guide-grid h3{font-size:19px}.pyq-guide-grid article{padding:22px}
:is(.pyq-library-page,.pyq-quiz-page) :is(.pyq-exam-card,.pyq-year-card,.pyq-group-tab,.pyq-library-mode,.pyq-pdf-card,.pyq-quiz-library-card,.pyq-test-type-card,.pyq-workspace-card),.pyq-guide-grid article,.pyq-year-links a{background:linear-gradient(135deg,#ffffffed,#e6effbc9);border:1px solid #b7cbe2;border-radius:16px;box-shadow:inset 0 1px 0 #fff,0 6px 22px #193d6510;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#172d4b;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.pyq-year-links a{font-size:14px;padding:12px 16px}.pyq-guide-grid article:nth-child(2){background:linear-gradient(130deg,#fffdf7ed,#f8ebc8b8)}.pyq-guide-grid article:nth-child(3){background:linear-gradient(130deg,#fffcffed,#eae0f8c9)}
.pyq-library-page :is(.pyq-year-list button,.pyq-stage-tab),.pyq-quiz-page .pyq-quiz-test-type-card{background:linear-gradient(135deg,#ffffffed,#e6effbc9);border:1px solid #b7cbe2;border-radius:12px;box-shadow:inset 0 1px 0 #fff,0 5px 16px #193d6510;backdrop-filter:blur(14px);color:#172d4b;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.pyq-library-page :is(.pyq-year-list button,.pyq-stage-tab).active{background:linear-gradient(135deg,#fff6d9,#ebcb79);border-color:#ad812b;color:#392a0a}
.pyq-workspace-card[data-pyq-intent="browse"]{background:linear-gradient(135deg,#f5fffbed,#d5f0e4c9)}.pyq-workspace-card[data-pyq-intent="history"]{background:linear-gradient(135deg,#fdfaffed,#e8ddf7c9)}.pyq-workspace-card[data-pyq-intent="bank"]{background:linear-gradient(135deg,#fffaf8ed,#f8dfd6c9)}
:is(.pyq-library-page,.pyq-quiz-page) :is(.pyq-exam-card,.pyq-year-card,.pyq-group-tab,.pyq-library-mode).active,.pyq-workspace-card.is-selected{border-color:#ad812b;background:linear-gradient(135deg,#fff6d9,#ebcb79);color:#392a0a;box-shadow:0 0 0 2px #d6ad4740,0 6px 18px #72541a15}
:is(.pyq-library-page,.pyq-quiz-page) :is(button,a):focus-visible{outline:3px solid #3268a5;outline-offset:3px}
.pyq-live-question-card .pyq-question-number{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:44px;padding:8px 15px;border:1px solid #b0c8e2;border-radius:12px;background:linear-gradient(135deg,#edf6ff,#dceafb);color:#173e6a;font:800 21px/1.2 Inter,"Segoe UI",system-ui,sans-serif;box-shadow:inset 0 1px 0 white,0 3px 9px #193d6510}
body.pyq-test-active .pyq-test-body{grid-template-columns:minmax(0,1fr) 338px!important}
.pyq-question-map .pyq-question-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;padding:3px;flex:0 1 auto}
.pyq-question-map .pyq-grid-question{min-width:0;width:100%;height:28px;min-height:28px;aspect-ratio:auto;padding:0;border-radius:6px;font:600 11px/1 system-ui,sans-serif}
.pyq-grid-question[aria-current="true"]{outline:2px solid #a77919;outline-offset:0;box-shadow:inset 0 0 0 1px #fff}
.pyq-question-legend{grid-template-columns:1fr 1fr;gap:6px;margin-top:12px;padding-top:10px}
.pyq-live-stat.set{justify-content:center}.pyq-live-stat.set b{font-size:clamp(13px,1.4vw,19px);white-space:nowrap}
.pyq-subject-dock{flex:none;max-height:180px;overflow:auto;padding:10px 18px;border-top:1px solid #d3deeb;background:linear-gradient(135deg,#ffffffef,#ebf2fbdc);color:#213b59}
.pyq-subject-dock-heading{font-size:12px;font-weight:750;margin-bottom:6px}.pyq-subject-dock-heading span{font-weight:400;font-size:11px;margin-left:8px;color:#566b84}
.pyq-subject-dock .pyq-live-breakdown{display:flex;flex-wrap:wrap;overflow:visible;max-height:none;padding:0;gap:6px}
.pyq-subject-card{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:6px 9px;min-height:32px;border:1px solid #aac8e5;border-radius:9px;background:#e6f1ff;color:#184777;font:600 11px/1.3 Inter,"Segoe UI",system-ui,sans-serif;text-align:left;cursor:pointer}
.pyq-subject-card span{overflow-wrap:anywhere}.pyq-subject-card b{display:grid;place-items:center;min-width:23px;height:22px;padding:0 4px;border-radius:6px;background:#ffffffad;font-size:12px}
.pyq-subject-tone-1{background:#e1f5eb;border-color:#a1d0b7;color:#185139}.pyq-subject-tone-2{background:#eee6fc;border-color:#c5b1e5;color:#543579}.pyq-subject-tone-3{background:#fff0d4;border-color:#dec18a;color:#725018}.pyq-subject-tone-4{background:#fbe4ed;border-color:#dfb0c2;color:#79364f}.pyq-subject-tone-5{background:#e0f3f3;border-color:#99cdce;color:#20565a}
.pyq-subject-card[aria-pressed="true"]{border-color:#99701b;box-shadow:0 0 0 2px #e0b94770;background:#ffedb3;color:#49340b}
.pyq-subject-questions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid #cbd8e7}.pyq-subject-selected-label{font-size:11px;margin-right:6px}.pyq-subject-questions button{width:30px;height:28px;min-width:30px;min-height:28px;padding:0;font-size:11px}
@media(max-width:1050px) and (min-width:651px){body.pyq-test-active .pyq-test-body{grid-template-columns:minmax(0,1fr) 300px!important}.pyq-question-map{padding:7px}.pyq-question-map .pyq-question-grid{gap:3px}.pyq-question-map .pyq-grid-question{height:25px;min-height:25px}}
@media(max-width:650px){body.pyq-test-active .pyq-test-body{grid-template-columns:1fr!important;grid-template-rows:80px minmax(0,1fr)}.pyq-question-map{height:80px}.pyq-question-map .pyq-question-grid{display:flex;overflow-x:auto;overflow-y:hidden}.pyq-question-map .pyq-grid-question{width:30px;flex:0 0 30px;height:30px}.pyq-subject-dock{max-height:120px;padding:7px 10px}.pyq-subject-dock-heading span{display:none}.pyq-live-question-card .pyq-question-number{font-size:19px;min-height:38px}.pyq-guide p{font-size:14px}}
@media(max-height:650px){.pyq-subject-dock{max-height:110px}}
@media(prefers-reduced-transparency:reduce){.pyq-guide-grid article,.pyq-year-links a,.pyq-workspace-card{backdrop-filter:none;background-color:#f0f5fb}}

/* v1.9.58: subject navigation belongs below the map legend. */
.pyq-question-map{overflow-y:auto;overscroll-behavior:contain}
.pyq-question-map .pyq-question-grid{flex:none;overflow:visible}
.pyq-question-map .pyq-subject-dock{margin-top:16px;flex:none;max-height:none;overflow:visible;padding:12px 0 4px;background:none}
.pyq-question-map .pyq-subject-dock-heading span{display:block;margin:4px 0 0;line-height:1.4}
.pyq-question-map .pyq-live-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.pyq-question-map .pyq-subject-card{width:100%;justify-content:space-between;min-width:0;font-size:10px;padding:7px}
@media(max-width:650px){body.pyq-test-active .pyq-test-body{grid-template-rows:minmax(0,170px) minmax(0,1fr)}.pyq-question-map{height:170px;max-height:170px;overflow:auto}.pyq-question-map .pyq-question-grid{overflow-x:auto;overflow-y:hidden;flex:none}.pyq-question-map .pyq-subject-dock{margin-top:5px;padding-top:6px}.pyq-question-map .pyq-live-breakdown{display:flex;flex-wrap:wrap}.pyq-question-map .pyq-subject-card{width:auto}.pyq-question-map .pyq-subject-dock-heading span{display:none}}
