*{box-sizing:border-box}:root{--blue:#1769ff;--navy:#0f245f;--green:#16a34a;--text:#14204a;--muted:#63708f;--border:#dfe6f2;--page:#f8faff}body{margin:0;font:14px Inter,Arial,sans-serif;background:var(--page);color:var(--text)}button,input{font:inherit}button{cursor:pointer}a{color:inherit}svg{width:19px;height:19px;stroke-width:1.9}.app{min-height:100vh;display:flex}
.sidebar{position:fixed;inset:0 auto 0 0;width:258px;padding:22px 18px;background:#fff;border-right:1px solid var(--border);z-index:20;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#b8c2d2 transparent;transition:width .25s}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#b8c2d2;border-radius:20px}.sidebar::-webkit-scrollbar-thumb:hover{background:#8f9db2}.brand{display:flex;align-items:center;min-height:78px;padding:2px 6px 18px;flex:none}.brand a{display:inline-flex;align-items:center;border-radius:8px}.brand-logo{display:block;width:175px;max-width:100%;height:auto}.brand-mark{display:none}.sidebar nav{padding:0;display:flex;flex-direction:column;gap:6px;flex:none}.sidebar nav a{padding:12px;border-radius:7px;display:flex;align-items:center;gap:15px;font-size:14px;font-weight:500;line-height:1.2;text-decoration:none;position:relative;flex:none}.sidebar nav a>i:first-child{width:19px;text-align:center;font-size:17px}.sidebar nav a:hover{background:#f5f8fd}.sidebar nav a.active{color:#0d57de;background:#edf5ff;font-weight:600}.sidebar nav a.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#1467f3}.sidebar nav hr{width:calc(100% - 16px);border:0;border-top:1px solid var(--border);margin:10px 8px;flex:none}.notify b{position:absolute;right:12px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e92c2c;color:#fff;font-size:11px}
.sidebar.collapsed{width:78px;padding:12px;overflow:visible}.sidebar.collapsed .brand{justify-content:center;min-height:58px;padding:0 0 12px}.sidebar.collapsed .brand a{display:grid;place-items:center;width:44px;height:44px}.sidebar.collapsed .brand-logo{display:none}.sidebar.collapsed .brand-mark{display:block;width:38px;height:38px;object-fit:contain}.sidebar.collapsed nav{padding:0;gap:4px}.sidebar.collapsed nav a{justify-content:center;gap:0;padding:10px}.sidebar.collapsed nav a span,.sidebar.collapsed .notify b{display:none}.sidebar.collapsed nav hr{margin:8px}.sidebar.collapsed nav a::after{content:attr(data-tooltip);position:absolute;left:calc(100% + 13px);top:50%;z-index:200;transform:translate(6px,-50%);padding:8px 11px;border-radius:6px;background:var(--navy);color:#fff;font-size:12px;line-height:1;white-space:nowrap;box-shadow:0 6px 18px rgba(11,31,94,.2);opacity:0;visibility:hidden;pointer-events:none;transition:.15s}.sidebar.collapsed nav a:hover::after,.sidebar.collapsed nav a:focus-visible::after{opacity:1;visibility:visible;transform:translate(0,-50%)}
.shell{width:calc(100% - 258px);margin-left:258px;transition:width .25s,margin-left .25s}.shell.sidebar-collapsed{width:calc(100% - 78px);margin-left:78px}.shell header{position:sticky;top:0;z-index:15;height:74px;padding:0 30px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:28px}.round{border:0;background:transparent;color:var(--navy);padding:9px;display:grid;place-items:center}.search{margin:auto;width:min(540px,50vw);height:42px;border:1px solid #d8e0ed;border-radius:8px;background:#fff;display:flex;align-items:center;gap:14px;padding:0 16px}.search input{width:100%;border:0;outline:0;background:transparent}.header-actions{display:flex;align-items:center;gap:14px}.bell{position:relative;border:0;background:#fff;text-decoration:none;padding:8px;color:var(--navy)}.bell b{position:absolute;right:0;top:0;width:17px;height:17px;border-radius:50%;background:#e8262e;color:#fff;font-size:9px;display:grid;place-items:center}.profile-wrap{position:relative}.profile-trigger{border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:5px 7px;border-radius:9px;color:var(--navy);text-align:left}.profile-trigger:hover{background:#f2f6ff}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2268f5,#3d8cff);color:#fff;overflow:hidden}.avatar img{display:none;width:100%;height:100%;object-fit:cover}.profile-copy{display:flex;flex-direction:column;gap:3px;min-width:80px}.profile-copy strong{font-size:12px}.profile-copy small{font-size:10px;color:var(--muted)}.profile-chevron{width:14px;transition:transform .2s}.profile-trigger[aria-expanded=true] .profile-chevron{transform:rotate(180deg)}.profile-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);width:210px;padding:8px;background:#fff;border:1px solid var(--border);border-radius:9px;box-shadow:0 12px 35px rgba(12,31,83,.15);z-index:100}.profile-menu.open{display:block}.profile-menu a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;text-decoration:none;color:var(--navy);font-size:13px;font-weight:500}.profile-menu a:hover{background:#f2f6ff}.profile-menu hr{border:0;border-top:1px solid var(--border);margin:6px 0}.profile-menu .danger{color:#d93035}
main{padding:22px 31px 40px}.crumb{display:flex;align-items:center;gap:8px;margin-bottom:13px;color:var(--muted);font-size:11px}.crumb svg{width:14px}.crumb a{text-decoration:none}.crumb a:hover{color:var(--blue)}.page-title h1{margin:0;font-size:26px;color:#101a3f}.page-title p{margin:8px 0 0;color:var(--muted);font-size:12px}.page-tabs{margin-top:18px;border-bottom:1px solid var(--border);display:flex;gap:7px}.page-tabs button{height:48px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:#66708c;font-weight:600}.page-tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.tab-view{display:none}.tab-view.active{display:block}.empty-card{margin-top:20px;min-height:390px;padding:40px 24px;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(23,44,92,.04);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-icon{position:relative;width:72px;height:62px;margin-bottom:22px;border:2px solid #73a7ff;border-radius:11px 11px 15px 15px;background:#dbe9ff;color:#5a97ff;display:grid;place-items:center}.empty-icon:before{content:"";position:absolute;top:-39px;width:35px;height:42px;border:2px solid #73a7ff;border-bottom:0;border-radius:6px 6px 0 0;background:#fff}.empty-icon svg{position:absolute;top:-29px}.empty-card h2{margin:0;font-size:19px}.empty-card>p{margin:13px 0 0;color:var(--muted)}.empty-actions{margin-top:22px;display:flex;flex-direction:column;align-items:center;gap:12px}.primary,.demo-button,.free-button{min-height:44px;padding:0 22px;border-radius:7px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.primary{border:1px solid var(--blue);background:var(--blue);color:#fff}.demo-button{min-width:204px;border:1px solid #8fb6ff;background:#fff;color:var(--blue)}.empty-card small{margin-top:21px;color:var(--muted);font-size:10px}
.free-test{margin-top:18px;min-height:132px;padding:22px 25px;border:1px solid #cfe9d8;border-radius:11px;background:#f2fbf5;display:grid;grid-template-columns:90px minmax(190px,1fr) minmax(240px,1.1fr) 145px;gap:22px;align-items:center}.free-icon{position:relative;width:64px;height:64px;border:4px solid #18a352;border-radius:10px;color:#18a352;display:grid;place-items:center}.free-icon>svg{width:32px;height:32px}.free-icon span{position:absolute;right:-17px;bottom:-13px;width:37px;height:37px;border:4px solid #315ca8;border-radius:50%;background:#fff;display:grid;place-items:center;color:#315ca8}.free-icon span svg{width:18px}.free-test h2,.free-test h3{margin:0}.free-test h2{font-size:15px;color:#0b9442}.free-test h3{font-size:13px}.free-test p{margin:9px 0 0;font-size:11px;line-height:1.55;color:#34415f}.free-details p span{margin:0 8px}.free-button{border:1px solid var(--green);background:var(--green);color:#fff}.explore-card{margin-top:20px;min-height:390px;padding:35px;border:1px solid var(--border);border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.explore-card>svg{width:56px;height:56px;color:var(--blue)}.explore-card h2{margin:18px 0 0}.explore-card p{color:var(--muted)}.overlay{display:none}.toast{display:none}
.student-tests-section{margin-top:18px;padding:22px;border:1px solid var(--border);border-radius:11px;background:#fff}.student-tests-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.student-tests-head h2{margin:0;font-size:17px}.student-tests-head p{margin:6px 0 0;color:var(--muted);font-size:11px}.student-tests-head>a,.student-tests-head>span{color:var(--blue);font-size:12px;font-weight:700;text-decoration:none}.student-tests-list{display:grid;gap:12px}.student-test-row{padding:16px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}.student-test-row h3{margin:0 0 7px;font-size:14px}.student-test-row p{margin:0;color:var(--muted);font-size:11px}.student-test-row .test-status{display:inline-flex;align-items:center;gap:5px;margin-top:9px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700}.student-test-row .test-status i{font-size:11px}.student-test-row .test-status.ready{background:#e9f2ff;color:#1761d6}.student-test-row .test-status.completed{background:#e4f7eb;color:#087d42}.student-test-actions{display:flex;gap:8px}.student-test-actions button,.student-test-actions a{min-height:38px;padding:0 15px;border:1px solid var(--blue);border-radius:7px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center}.student-test-actions .secondary{background:#fff;color:var(--blue)}.tests-message{margin:0;padding:25px;text-align:center;color:var(--muted)}
.available-test-row{grid-template-columns:42px minmax(0,1fr) auto}.available-test-icon{width:40px;height:40px;border-radius:10px;background:#edf4ff;color:#1769ff;display:grid;place-items:center;font-size:17px}.available-test-row.is-completed .available-test-icon{background:#e5f7ec;color:#0c914d}.available-test-copy{min-width:0}
@media(max-width:1040px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.overlay.show{display:block;position:fixed;inset:0;background:#0c173359;z-index:18}.shell,.shell.sidebar-collapsed{width:100%;margin:0}.free-test{grid-template-columns:70px 1fr 1fr}.free-button{grid-column:2/4;justify-self:start}}
@media(max-width:760px){.shell header{height:72px;padding:0 14px;gap:10px}.search{flex:1;width:auto}.profile-copy,.profile-chevron{display:none}main{padding:18px 14px}.page-title h1{font-size:22px}.empty-card{min-height:355px;padding:35px 18px}.empty-card h2{font-size:17px}.free-test{grid-template-columns:1fr;padding:22px}.free-icon{margin:auto}.free-copy,.free-details{text-align:center}.free-button{grid-column:auto;justify-self:center}.avatar{width:36px;height:36px}}
@media(max-width:760px){.student-test-row{grid-template-columns:1fr}.available-test-row{grid-template-columns:40px minmax(0,1fr)}.available-test-row .student-test-actions{grid-column:2}.student-test-actions{flex-wrap:wrap}.student-tests-head{align-items:flex-start}.student-tests-section{padding:16px}}

.empty-card[hidden],.student-tests-section[hidden]{display:none!important}
.purchase-loading-card{min-height:128px;margin-top:20px;padding:24px 28px;display:flex;align-items:center;justify-content:center;gap:16px;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(23,44,92,.04);color:#101a3f}.purchase-loading-card[hidden]{display:none!important}.purchase-loading-card h2{margin:0 0 6px;font-size:15px;font-weight:600}.purchase-loading-card p{margin:0;color:var(--muted);font-size:12px}.purchase-loader{width:34px;height:34px;flex:0 0 34px;border:3px solid #dce8fb;border-top-color:var(--blue);border-radius:50%;animation:purchase-spin .8s linear infinite}.purchase-loading-card.error{border-color:#f1d2d2;background:#fffafa}.purchase-loading-card.error .purchase-loader{display:grid;place-items:center;border:0;background:#feecec;color:#c83b3b;animation:none}.purchase-loading-card.error .purchase-loader i{font-size:14px}@keyframes purchase-spin{to{transform:rotate(360deg)}}

/* Common student profile avatar */
.profile-avatar,.avatar{width:39px!important;height:39px!important;min-width:39px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#2268f5,#3d8cff)!important;color:#fff!important}
.profile-avatar>img,.avatar>img{width:100%!important;height:100%!important;border-radius:50%;object-fit:cover}
.profile-avatar>i,.avatar>i{font-size:17px;line-height:1;color:#fff}
@media(max-width:760px){.profile-avatar,.avatar{width:36px!important;height:36px!important;min-width:36px}}

/* Shared student profile dropdown standard */
.profile-menu,.dashboard-profile-menu{width:210px!important;padding:8px!important;border:1px solid #dfe6f1!important;border-radius:9px!important;background:#fff!important;box-shadow:0 12px 35px rgba(12,31,83,.15)!important}
.profile-menu a,.dashboard-profile-menu a{display:flex!important;align-items:center!important;gap:12px!important;min-height:42px;padding:10px!important;border-radius:6px!important;color:#071f5b!important;font-size:13px!important;font-weight:500!important;line-height:1.2!important;text-decoration:none!important}
.profile-menu a>svg,.dashboard-profile-menu a>svg{width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;color:#071f5b!important;stroke-width:2.2!important}
.profile-menu a:hover,.dashboard-profile-menu a:hover{background:#f2f6ff!important}
.profile-menu hr,.dashboard-profile-menu hr{border:0!important;border-top:1px solid #dfe6f1!important;margin:6px 0!important}
.profile-menu .danger,.dashboard-profile-menu .danger,.profile-menu .danger>svg,.dashboard-profile-menu .danger>svg{color:#d93035!important}
/* Shared header notification control */
.bell,.bell-button,.notification-button,.notification-btn,.bell-btn{position:relative;width:38px;height:38px;padding:8px;border:0;border-radius:8px;background:transparent;color:#0b1f5e;text-decoration:none;display:grid;place-items:center;flex:0 0 38px}
.bell:hover,.bell-button:hover,.notification-button:hover,.notification-btn:hover,.bell-btn:hover{background:#f2f6ff}
.bell>i,.bell-button>i,.notification-button>i,.notification-btn>i,.bell-btn>i{font-size:19px;line-height:1;color:#0b1f5e}
.bell>svg,.bell-button>svg,.notification-button>svg,.notification-btn>svg,.bell-btn>svg{width:19px;height:19px;stroke-width:2}
.bell>b,.bell-button>b,.notification-button>span,.notification-btn>.notification-dot,.notification-btn>.top-badge,.bell-btn>span{position:absolute;right:-2px;top:-2px;width:18px;min-width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;background:#ef3030;color:#fff;font-size:10px;font-weight:700;line-height:14px;display:grid;place-items:center}
/* Premium purchased-series and completed-test presentation */
.student-tests-section{padding:24px;border-radius:14px;box-shadow:0 5px 20px rgba(20,45,90,.035)}
.student-tests-head{margin-bottom:16px}.student-tests-head h2{color:#102653;font-size:18px;letter-spacing:-.02em}.student-tests-head p{font-size:12px;line-height:1.5}.student-tests-head>a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:7px}.student-tests-head>a:hover{background:#edf4ff}
.purchased-series-card,.completed-test-card{position:relative;grid-template-columns:52px minmax(0,1fr) auto;padding:22px;border:1px solid #dbe5f3;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 3px 12px rgba(15,36,95,.04);transition:transform .18s ease,box-shadow .18s ease}
.purchased-series-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,36,95,.08);border-color:#cbd5e1}
.purchased-series-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3.5px;background:linear-gradient(180deg,#1769ff,#7047eb)}
.series-card-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;color:#1769ff;font-size:19px;flex-shrink:0;overflow:hidden}
.series-card-icon img{max-width:42px;max-height:42px;width:auto;height:auto;object-fit:contain;object-position:center;display:block}
.series-card-fallback-icon{width:100%;height:100%;display:grid;place-items:center}
.test-card-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#e8f1ff,#f2edff);color:#1769ff;font-size:18px}.completed-icon{background:#e8f8ef;color:#109451}
.test-card-copy{min-width:0}
.test-card-top-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.test-card-status{display:inline-flex;align-items:center;gap:7px;color:#475569;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.active-dot{width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px #dcfce7;flex-shrink:0}
.purchased-series-card .active-dot{animation:package-status-pulse 2s infinite ease-in-out}
@keyframes package-status-pulse{
  0%{transform:scale(.95);opacity:.8;box-shadow:0 0 0 0 rgba(16,185,129,.7)}
  70%{transform:scale(1);opacity:1;box-shadow:0 0 0 7px rgba(16,185,129,0)}
  100%{transform:scale(.95);opacity:.8;box-shadow:0 0 0 0 rgba(16,185,129,0)}
}
@media(prefers-reduced-motion:reduce){.purchased-series-card .active-dot{animation:none}}
.access-source-badge{display:inline-flex;align-items:center;gap:5px;padding:3.5px 10px;border-radius:6px;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.access-source-badge i{font-size:10.5px}
.access-source-badge.direct-purchase{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.access-source-badge.unlocked-all-pass{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.access-source-badge.unlocked-category-pass{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.test-card-copy h3{margin:0 0 6px;color:#0f172a;font-size:16px;line-height:1.35;font-weight:700;letter-spacing:-.01em}
.series-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;color:#64748b;font-size:11.5px}
.series-meta span{display:inline-flex;align-items:center;gap:6px}
.series-meta i{color:#94a3b8;font-size:12px}
.series-meta strong{color:#1e293b}
.series-progress{display:flex;align-items:center;gap:10px;margin-top:13px}
.series-progress>span{width:min(270px,45%);height:5px;border-radius:99px;background:#e8edf5;overflow:hidden}
.series-progress>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769ff,#6b51e8)}
.series-progress small{color:#738198;font-size:10.5px}
.series-action{min-width:135px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.active-purchase-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#16a34a;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.active-purchase-badge i{font-size:12px}
.open-series-btn,.series-action>a{min-height:38px;padding:0 16px;border-radius:8px;border:1px solid #1769ff;background:#1769ff;color:#fff;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 14px rgba(23,105,255,.2);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.open-series-btn:hover,.series-action>a:hover{background:#0f58de;border-color:#0f58de;transform:translateY(-1px);box-shadow:0 6px 18px rgba(23,105,255,.28)}
.completed-test-card{background:linear-gradient(90deg,#fff 0%,#fbfdff 100%)}.completed-metrics{display:flex;flex-wrap:wrap;gap:8px 0;margin-top:10px}.completed-metrics>span{min-width:92px;padding:0 14px;border-left:1px solid #e4eaf2}.completed-metrics>span:first-child{padding-left:0;border-left:0}.completed-metrics small{display:block;margin-bottom:3px;color:#7d8aa0;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.completed-metrics strong{color:#19345f;font-size:12px}.completed-test-card .student-test-actions a{gap:7px;justify-content:center}.completed-test-card .icon-action{width:38px;min-width:38px;padding:0}
.tests-message{border:1px dashed #d8e2ef;border-radius:10px;background:#fafcff}
@media(max-width:860px){.purchased-series-card,.completed-test-card{grid-template-columns:46px 1fr}.series-action,.completed-test-card .student-test-actions{grid-column:2;justify-self:start;flex-direction:row;align-items:center}.active-purchase-badge{padding-right:8px}.series-progress>span{width:min(260px,60%)}}
@media(max-width:560px){.student-tests-section{padding:16px}.purchased-series-card,.completed-test-card{grid-template-columns:1fr;padding:17px}.series-card-icon,.test-card-icon{width:40px;height:40px}.series-action,.completed-test-card .student-test-actions{grid-column:1}.series-action{width:100%;flex-direction:column;align-items:stretch}.series-action>a{width:100%}.test-card-top-bar{flex-direction:column;align-items:flex-start;gap:6px}.series-meta{display:grid;grid-template-columns:1fr}.series-progress>span{width:55%}.completed-metrics{display:grid;grid-template-columns:1fr 1fr}.completed-metrics>span,.completed-metrics>span:first-child{padding:7px 9px;border:0;border-radius:7px;background:#f5f8fc}}

/* Updated, scheduled and unavailable test states */
.student-test-row .test-status.updated{background:#fff2dc;color:#975800}
.student-test-row .test-status.scheduled{background:#f2edff;color:#6941c6}
.available-test-row.is-updated .available-test-icon{background:#fff1d6;color:#b66800}
.student-test-actions button:disabled{border-color:#d8e0ed;background:#f4f6f9;color:#7a879b;cursor:not-allowed;box-shadow:none}

/* Active Passes Section & Cards */
.pass-crown-icon{color:#f59e0b;margin-right:8px;font-size:16px;vertical-align:middle}
.active-passes-section{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border:1px solid #dbe6f7}
.passes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}
.active-pass-card{position:relative;padding:24px;border-radius:14px;background:#fff;border:1.5px solid #dbe6f5;box-shadow:0 4px 18px rgba(15,36,95,.05);display:flex;flex-direction:column;justify-content:space-between;gap:18px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.active-pass-card:hover{transform:translateY(-2px);box-shadow:0 8px 26px rgba(15,36,95,.08)}
.active-pass-card.master-pass-card{background:linear-gradient(145deg,#091a48 0%,#0e2974 55%,#183e9b 100%);border-color:rgba(245,158,11,.4);color:#fff;box-shadow:0 8px 28px rgba(9,26,72,.18)}
.active-pass-card.master-pass-card::after{content:"";position:absolute;top:-40px;right:-40px;width:160px;height:160px;background:radial-gradient(circle,rgba(245,158,11,.18) 0%,transparent 70%);pointer-events:none}
.active-pass-card.category-pass-card{background:linear-gradient(145deg,#0c3325 0%,#0f4935 55%,#156247 100%);border-color:rgba(34,197,94,.4);color:#fff;box-shadow:0 8px 28px rgba(12,51,37,.18)}
.active-pass-card.category-pass-card::after{content:"";position:absolute;top:-40px;right:-40px;width:160px;height:160px;background:radial-gradient(circle,rgba(52,211,153,.2) 0%,transparent 70%);pointer-events:none}
.pass-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pass-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.master-pass-card .pass-badge{background:rgba(245,158,11,.2);color:#fbbf24;border:1px solid rgba(245,158,11,.4)}
.category-pass-card .pass-badge{background:rgba(52,211,153,.2);color:#6ee7b7;border:1px solid rgba(52,211,153,.4)}
.pass-title{margin:10px 0 6px;font-size:18px;font-weight:700;line-height:1.35;letter-spacing:-.01em}
.master-pass-card .pass-title,.category-pass-card .pass-title{color:#fff}
.pass-subtitle{margin:0;font-size:12px;line-height:1.5;color:rgba(255,255,255,.75)}
.pass-stat-pills{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:14px}
.pass-stat-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);font-size:11px;color:#f1f5f9}
.pass-stat-pill strong{color:#fff;font-weight:700}
.pass-stat-pill i{font-size:12px;color:rgba(255,255,255,.8)}
.pass-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:6px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);flex-wrap:wrap}
.pass-dates{display:flex;flex-direction:column;gap:3px;font-size:11px;color:rgba(255,255,255,.8)}
.pass-dates strong{color:#fff}
.pass-cta-btn{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 16px;border-radius:8px;border:0;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.12);transition:all .18s ease;text-decoration:none}
.pass-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.master-pass-card .pass-cta-btn{background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);color:#0f172a}
.master-pass-card .pass-cta-btn:hover{background:linear-gradient(135deg,#fcd34d 0%,#fbbf24 100%)}
.category-pass-card .pass-cta-btn{background:linear-gradient(135deg,#34d399 0%,#10b981 100%);color:#064e3b}
.category-pass-card .pass-cta-btn:hover{background:linear-gradient(135deg,#6ee7b7 0%,#34d399 100%)}
.series-filter-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px;overflow-x:auto;padding-bottom:4px}
.series-filter-btn{border:1px solid #d8e2ef;background:#fff;color:#475569;padding:6px 14px;border-radius:999px;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s ease}
.series-filter-btn:hover{background:#f1f5f9;color:#0f172a}
.series-filter-btn.active{background:#0f245f;border-color:#0f245f;color:#fff}
.unlocked-tag{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:2px 7px;border-radius:4px;background:#f1f5f9;color:#475569;font-size:9px;font-weight:700;letter-spacing:.02em}
.unlocked-tag.master{background:#fef3c7;color:#92400e}
.unlocked-tag.category{background:#dcfce7;color:#166534}
@media(max-width:760px){.passes-grid{grid-template-columns:1fr}.pass-footer{flex-direction:column;align-items:stretch}.pass-cta-btn{width:100%;justify-content:center}}
/* Shared ExamTier test-row title hierarchy */
#freeTests h3,
#freeTests h4,
#freeTestsList h3,
#freeTestsList h4,
.free-tests h3,
.free-tests h4,
.free-test-card h3,
.free-test-card h4,
.test-card__title {
  color: #08245c !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em;
}
/* Purchased series: larger unframed logos and prominent readable titles. */
.purchased-series-card{grid-template-columns:68px minmax(0,1fr) auto;column-gap:18px}
.purchased-series-card .series-card-icon{width:64px;height:64px;border:0;border-radius:0;background:transparent;overflow:visible}
.purchased-series-card .series-card-icon img{width:64px;height:64px;max-width:64px;max-height:64px;object-fit:contain}
.purchased-series-card .test-card-copy h3{font-size:19px;line-height:1.45;font-weight:600;margin:0 0 9px;color:#0f172a}
@media(max-width:860px){.purchased-series-card{grid-template-columns:68px minmax(0,1fr)}}
@media(max-width:560px){.purchased-series-card{grid-template-columns:52px minmax(0,1fr);column-gap:12px}.purchased-series-card .series-card-icon,.purchased-series-card .series-card-icon img{width:48px;height:48px;max-width:48px;max-height:48px}.purchased-series-card .test-card-copy h3{font-size:17px}.purchased-series-card .series-action{grid-column:1/-1}}
/* Purchase metadata stays readable without competing with the title. */
.purchased-series-card .series-meta{font-size:13px;line-height:1.65;color:#354052;gap:8px 20px;margin-top:8px}
.purchased-series-card .series-meta>span{gap:6px;flex-wrap:wrap}
.purchased-series-card .series-meta i{color:#596b84;font-size:12px}
.purchased-series-card .series-meta strong{color:#202b3b;font-weight:600}
@media(max-width:480px){.available-test-row.is-updated .student-test-actions{width:100%;flex-direction:column;align-items:stretch;gap:8px}.available-test-row.is-updated .student-test-actions>button,.available-test-row.is-updated .student-test-actions>a{width:100%;min-width:0;white-space:normal;line-height:1.4;justify-content:center;box-sizing:border-box}}

/* Direct entry from the public hero keeps the free-test heading visible. */
#freeTestsSection{scroll-margin-top:100px}#freeTestsSection:focus{outline:none}#freeTestsSection:focus-visible{outline:2px solid #1769ff;outline-offset:4px}
