/* SelectionMitr — app skin for the Bank section (phones / installed app only: html.smapp is set by ../appnav.js).
   Makes the old bank screens match the new app: light header, brighter blue, rounder cards, Plus Jakarta Sans. */
html.smapp:not([data-theme=dark]){color-scheme:light}
html.smapp{--blue:#1d4ed8;--blue2:light-dark(#eff6ff,#13314d);--bg:light-dark(#f5f7fb,#0e141b);--line:light-dark(#e2e8f0,#26333f);--acc:#f97316}
html.smapp body{font-family:"Plus Jakarta Sans","Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
/* header: light, one row */
html.smapp .top{background:light-dark(#fff,#16202b)!important;color:var(--ink)!important;box-shadow:none!important;border-bottom:1px solid var(--line);padding:10px 14px!important}
html.smapp .top a,html.smapp .top b,html.smapp #brandName{color:var(--ink)!important}
html.smapp .top .brand img{border-radius:9px}
html.smapp .top .brand b{font-size:17px!important;font-weight:800}
html.smapp #acct{background:light-dark(#eff6ff,#13314d)!important;color:var(--blue)!important;border:0!important;border-radius:12px!important;min-height:40px;font-weight:700}
/* page rhythm */
html.smapp .wrap{padding:14px 16px 24px}
html.smapp h1{font-size:26px!important;line-height:1.2!important;font-weight:800;letter-spacing:-.02em;margin:4px 0 6px!important}
html.smapp h2,html.smapp h2.hd{font-size:18px!important;font-weight:800;margin:20px 0 10px!important}
html.smapp .lead{font-size:14px;line-height:1.5;margin:0 0 12px}
/* buttons */
html.smapp .btn{border-radius:12px;font-weight:700}
html.smapp .btn.pri,html.smapp .pri{background:var(--blue);border-color:var(--blue);color:#fff}
html.smapp .btn.acc,html.smapp .acc{background:var(--acc);border-color:var(--acc);color:#1c1917}
html.smapp button[data-home]{min-height:40px;padding:0 14px}
/* cards */
html.smapp .tpc,html.smapp .mc,html.smapp .qi,html.smapp .stat{border-radius:16px!important;border-color:var(--line)!important}
html.smapp .tpc{padding:14px 16px}
html.smapp .tpc b{font-weight:700;font-size:15.5px}
html.smapp .tpc small{font-size:12.5px}
html.smapp .tlist .tpc{border-left:4px solid var(--blue)!important}
html.smapp .tlist .tpc:active,html.smapp .mc:active{transform:scale(.99)}
/* mock cards: compact, start + PDF on one row */
html.smapp .mc{padding:14px 16px;gap:6px;flex-direction:row!important;flex-wrap:wrap;align-items:center}
html.smapp .mc>*{flex-basis:100%}
html.smapp .mc h3{font-size:16.5px!important;font-weight:800}
html.smapp .mc>.btn{flex:1 1 0;min-height:46px;margin-top:4px}
html.smapp .mc>div:last-child:has([data-pdf]){flex:0 0 auto;margin-top:4px!important}
html.smapp .mc [data-pdf],html.smapp .mc [data-rw]{min-height:46px;border-radius:12px}
html.smapp .tag{border-radius:6px!important;font-size:11px!important;letter-spacing:.03em}
/* bank home hero: flat navy like the app */
html.smapp .hero{background:#0b1f5c!important;box-shadow:none!important;border-radius:20px}
html.smapp .qi{padding:12px 4px}
/* practice question screen */
html.smapp .op,html.smapp label.op,html.smapp .prop{border-radius:14px!important}
/* test screen: one sticky row — logo, timer, A−/A+, pause, palette */
html.smapp body.intest .top{position:sticky!important;top:0;z-index:35;padding:6px 10px!important;gap:6px!important;flex-wrap:nowrap!important}
html.smapp body.intest .top .brand span,html.smapp body.intest #acct,html.smapp body.intest .top>.sp{display:none!important}
html.smapp body.intest .top .brand img{width:28px;height:28px}
html.smapp body.intest #topx{flex:1;display:flex!important;align-items:center;gap:6px;overflow:visible!important;min-width:0}
html.smapp body.intest #topx .tchip{margin-right:auto;font-size:17px;font-weight:800;white-space:nowrap;background:none;padding:0}
html.smapp body.intest #topx .btn{min-height:38px;min-width:38px;padding:0 9px!important;margin:0!important;border-radius:10px;font-size:14px;flex:none}
html.smapp body.intest .tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:6px}
html.smapp body.intest .tabs::-webkit-scrollbar{display:none}
html.smapp body.intest .tabs>*{flex:none;white-space:nowrap}
/* practice: after answering, keep "Next question" always reachable */
html.smapp button[data-prn="1"]{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 8px 20px rgba(29,78,216,.35);border-radius:14px}
/* no exam-pattern paragraphs at the top of lists */
html.smapp h2+p.note{display:none!important}
/* bank home in the app: the app's own exam page already has the hero, exam switch and quick tiles */
html.smapp .hero,html.smapp .exrow,html.smapp .qgrid,html.smapp h2.hd:has(+.qgrid){display:none!important}
html.smapp .wrap>.today{display:none!important}
html.smapp .tpg{border-radius:16px!important;border-left:4px solid var(--blue)!important}
html.smapp .tpg>.tpc{border-left:0!important}
html.smapp .tpch .btn{color:var(--blue)}
/* inside a practice folder: only subject tabs, level and the folder's topics */
html.smapp .infold>h1,html.smapp .infold>.lead,html.smapp .infold>.hsc.tools,html.smapp .infold>button[data-home]{display:none!important}
html.smapp .fcard{border-radius:16px!important;min-height:84px}
html.smapp .fcard .fic{background:#eff6ff}

.qtchip{background:#eff6ff!important;color:#1d4ed8!important;border:1px solid #bfdbfe!important}
