.pyq-main{max-width:1280px;margin:0 auto;padding:0 28px 70px}.pyq-hero{margin:26px 0 42px;border-radius:24px;overflow:hidden;background:#101d49;color:#fff;display:grid;grid-template-columns:1.3fr .7fr;min-height:390px;padding:52px 5.5%;position:relative}.pyq-hero-inner{max-width:700px;z-index:1}.pyq-hero .eyebrow{margin-bottom:18px}.pyq-hero h1{font:700 clamp(42px,5.3vw,66px)/1.03 'Space Grotesk',sans-serif;letter-spacing:-.045em;margin:0 0 18px}.pyq-hero h1 span{color:#ff861c}.pyq-hero-inner>p:not(.eyebrow){max-width:550px;color:#d2dcf2;line-height:1.65}.pyq-search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:7px 10px;margin:25px 0 20px;max-width:620px;color:#15244a}.pyq-search>span{font-size:24px;padding-left:6px}.pyq-search input{border:0;outline:0;flex:1;min-width:0;padding:10px;font:inherit}.pyq-search button{border:0;border-radius:8px;background:#ff861c;padding:11px 15px;font-weight:700;cursor:pointer}.pyq-stats{display:flex;gap:34px;margin-top:22px}.pyq-stats div{display:flex;flex-direction:column;gap:4px}.pyq-stats strong{font-size:18px}.pyq-stats span{font-size:12px;color:#b9c6df}.pyq-hero-art{display:grid;place-items:center;position:relative;min-width:230px}.pyq-paper{background:#fff;color:#13234a;width:210px;height:260px;border-radius:12px;box-shadow:0 22px 60px #0005;transform:rotate(7deg);padding:24px;display:flex;flex-direction:column;gap:18px}.pyq-paper>span{font-size:10px;font-weight:800;letter-spacing:.2em;color:#ff861c}.pyq-paper>b{font:800 26px/1.05 'Space Grotesk',sans-serif}.pyq-paper>i{color:#ff861c;font-style:normal;font-size:20px}.pyq-paper>small{margin-top:auto;color:#62708b;font-size:10px}.pyq-bubble{position:absolute;right:6%;bottom:6%;border-radius:50%;width:90px;height:90px;background:#ff861c;color:#15244a;display:grid;place-content:center;text-align:center;font-weight:900;box-shadow:0 8px 24px #0003;transform:rotate(-9deg)}.pyq-bubble strong{font-size:22px}.pyq-section{background:#fff;border:1px solid #e4e9f3;border-radius:20px;padding:34px 32px}.pyq-section-head h2{font:700 32px 'Space Grotesk',sans-serif;margin:0 0 8px;letter-spacing:-.03em}.pyq-section-head p:not(.eyebrow){color:#68758d;margin:0}.pyq-filter-row{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.pyq-filter-row button{border:1px solid #e2e8f2;background:#f7f9fd;border-radius:100px;padding:10px 16px;font:600 13px 'DM Sans',sans-serif;color:#53617b;cursor:pointer}.pyq-filter-row button.active{background:#101d49;color:#fff;border-color:#101d49}.pyq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pyq-card{border:1px solid #e4e9f3;border-radius:15px;padding:20px;display:flex;flex-direction:column;min-height:200px;transition:transform .18s,box-shadow .18s}.pyq-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #14213d10}.pyq-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.pyq-chip{background:#fff3e6;color:#b65b0b;border-radius:50px;padding:6px 10px;font-size:11px;font-weight:800}.pyq-filetype{font-size:10px;font-weight:800;color:#8792a8}.pyq-card h3{font:700 19px 'Space Grotesk',sans-serif;line-height:1.25;margin:18px 0 8px}.pyq-card p{color:#68758d;font-size:13px;line-height:1.5;margin:0 0 20px}.pyq-open{margin-top:auto;color:#c7610a;font-weight:800;font-size:13px}.pyq-empty{grid-column:1/-1;border:1px dashed #d9e1ef;background:#f8faff;border-radius:14px;padding:35px 20px;text-align:center;color:#66748e}.pyq-note{margin:22px 0 0;color:#6b7890;font-size:12px;line-height:1.6}@media(max-width:900px){.pyq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pyq-hero{grid-template-columns:1fr .65fr;padding:38px 5%}.pyq-hero-art{transform:scale(.85)}}@media(max-width:650px){.pyq-main{padding:0 14px 45px}.pyq-hero{grid-template-columns:1fr;margin:16px 0 25px;padding:30px 22px;min-height:0}.pyq-hero h1{font-size:42px}.pyq-hero-art{display:none}.pyq-stats{gap:20px}.pyq-section{padding:22px 16px}.pyq-section-head h2{font-size:26px}.pyq-grid{grid-template-columns:1fr}.pyq-card{min-height:165px}.pyq-search button{padding:10px}.pyq-filter-row{gap:7px}.pyq-filter-row button{padding:9px 13px}}
/* Mobile touch-target and keyboard-focus improvements for PYQ controls. */
.pyq-search input,.pyq-search button,.pyq-filter-row button{min-height:44px}
.pyq-search input:focus-visible,.pyq-search button:focus-visible,.pyq-filter-row button:focus-visible,.pyq-card a:focus-visible{outline:3px solid #ffb66d;outline-offset:2px}
@media(max-width:650px){.pyq-search input,.pyq-search button,.pyq-filter-row button{min-height:46px}.pyq-filter-row{row-gap:9px}}

/* Mobile card/grid audit: keep hero columns and card content shrinkable. */
.pyq-hero{grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr)}
.pyq-hero-inner,.pyq-hero-art,.pyq-card,.pyq-card-top{min-width:0}
.pyq-card h3,.pyq-card p,.pyq-chip,.pyq-filetype{overflow-wrap:anywhere}
.pyq-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.pyq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pyq-grid{grid-template-columns:minmax(0,1fr)}}

.pyq-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;flex-wrap:wrap}.pyq-preview-button{border:0;border-radius:9px;padding:10px 13px;background:#101d49;color:#fff;font:700 12px "DM Sans",sans-serif;cursor:pointer}.pyq-preview-button:hover{background:#1b2d65}.pyq-open{display:inline-flex;margin-top:0}.pyq-preview-dialog{width:min(1100px,94vw);height:min(88vh,900px);max-width:94vw;max-height:88vh;padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px #08132b66}.pyq-preview-dialog::backdrop{background:#08132bcc}.pyq-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#101d49;color:#fff}.pyq-preview-header h2{font-size:16px;margin:0;overflow-wrap:anywhere}.pyq-preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pyq-preview-actions a,.pyq-preview-actions button{border:0;border-radius:8px;padding:9px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.pyq-preview-actions a{background:#ff861c;color:#17213b;text-decoration:none}.pyq-preview-actions button{background:#e9eef8;color:#17213b}.pyq-preview-dialog iframe{display:block;width:100%;height:calc(100% - 58px);border:0;background:#f3f5f9}@media(max-width:600px){.pyq-preview-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}.pyq-preview-header{align-items:flex-start;flex-direction:column}.pyq-preview-dialog iframe{height:calc(100% - 100px)}}

.pyq-advanced-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-8px 0 22px}.pyq-advanced-controls label{display:flex;flex-direction:column;gap:7px;color:#52617b;font-size:12px;font-weight:700}.pyq-advanced-controls select{width:100%;min-width:0;border:1px solid #e0e7f2;border-radius:10px;padding:11px 12px;background:#fff;color:#17254b;font:500 13px "DM Sans",sans-serif}.pyq-advanced-controls select:focus{outline:3px solid #ff861c35;border-color:#ff861c}@media(max-width:650px){.pyq-advanced-controls{grid-template-columns:1fr;gap:9px}}

.pyq-personal-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 16px}.pyq-personal-tabs button{border:1px solid #e2e8f2;background:#fff;border-radius:100px;padding:10px 15px;color:#52617b;font:700 13px "DM Sans",sans-serif;cursor:pointer}.pyq-personal-tabs button.active{background:#101d49;border-color:#101d49;color:#fff}.pyq-personal-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:4px;padding:0 5px;border-radius:20px;background:#f0f3f9;color:#52617b;font-size:11px}.pyq-personal-tabs button.active span{background:#fff;color:#101d49}.pyq-bookmark-button{border:1px solid #e1e7f1;border-radius:9px;padding:10px 12px;background:#fff;color:#4e5d78;font:700 12px "DM Sans",sans-serif;cursor:pointer}.pyq-bookmark-button.is-saved{background:#fff3e6;border-color:#ffd7ae;color:#a94e00}.pyq-card-actions{justify-content:flex-start}.pyq-card-actions .pyq-open{margin-left:auto}@media(max-width:650px){.pyq-personal-tabs{gap:7px}.pyq-personal-tabs button{padding:9px 11px;font-size:12px}.pyq-card-actions .pyq-open{margin-left:0}}
